]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_core_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / gtk / _core_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
a41e16b6 3 * Version 1.3.22
d14a1e28
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
c9c7117a
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
d14a1e28
RD
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
cc6dd355
RD
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
d14a1e28 82#else
cc6dd355
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
cc6dd355 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
cc6dd355 90# define SWIGRUNTIME(a) static a
d14a1e28
RD
91#endif
92
d14a1e28
RD
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
cc6dd355 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
cc6dd355 104 void *clientdata;
d14a1e28
RD
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
cc6dd355
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
120
121
122#ifdef __cplusplus
123}
124#endif
125
126/***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
d14a1e28
RD
136#include "Python.h"
137
138#ifdef __cplusplus
139extern "C" {
140#endif
141
142#define SWIG_PY_INT 1
143#define SWIG_PY_FLOAT 2
144#define SWIG_PY_STRING 3
145#define SWIG_PY_POINTER 4
146#define SWIG_PY_BINARY 5
147
148/* Flags for pointer conversion */
149
150#define SWIG_POINTER_EXCEPTION 0x1
151#define SWIG_POINTER_DISOWN 0x2
152
153/* Exception handling in wrappers */
154#define SWIG_fail goto fail
155
156/* Constant information structure */
157typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164} swig_const_info;
165
d14a1e28
RD
166/* Common SWIG API */
167#define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169#define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171#define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
a41e16b6 173
d14a1e28
RD
174/* Python-specific SWIG API */
175#define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177#define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
181#define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183#define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
994141e6 186typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 187
cc6dd355
RD
188SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 196
d14a1e28
RD
197
198/* Contract support */
199
9d1d5697 200#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 201
d14a1e28
RD
202#ifdef __cplusplus
203}
204#endif
205
206
d14a1e28
RD
207/* -------- TYPES TABLE (BEGIN) -------- */
208
209#define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
210#define SWIGTYPE_p_wxRealPoint swig_types[1]
211#define SWIGTYPE_p_wxSizerItem swig_types[2]
212#define SWIGTYPE_p_wxGBSizerItem swig_types[3]
213#define SWIGTYPE_p_wxScrollEvent swig_types[4]
214#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
215#define SWIGTYPE_p_wxSizer swig_types[6]
216#define SWIGTYPE_p_wxBoxSizer swig_types[7]
217#define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
218#define SWIGTYPE_p_wxGridBagSizer swig_types[9]
219#define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
220#define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
221#define SWIGTYPE_p_wxMenu swig_types[12]
222#define SWIGTYPE_p_wxEvent swig_types[13]
223#define SWIGTYPE_p_wxGridSizer swig_types[14]
224#define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
225#define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
226#define SWIGTYPE_p_wxItemContainer swig_types[17]
227#define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
228#define SWIGTYPE_p_wxPaintEvent swig_types[19]
229#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
230#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
231#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
232#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
233#define SWIGTYPE_p_wxControl swig_types[24]
234#define SWIGTYPE_p_wxFont swig_types[25]
235#define SWIGTYPE_p_wxMenuBarBase swig_types[26]
236#define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
237#define SWIGTYPE_p_wxFSFile swig_types[28]
238#define SWIGTYPE_p_wxCaret swig_types[29]
239#define SWIGTYPE_p_wxRegion swig_types[30]
240#define SWIGTYPE_p_wxPoint2D swig_types[31]
241#define SWIGTYPE_p_int swig_types[32]
242#define SWIGTYPE_p_wxSize swig_types[33]
243#define SWIGTYPE_p_wxDC swig_types[34]
244#define SWIGTYPE_p_wxPySizer swig_types[35]
74a57fcd
RD
245#define SWIGTYPE_p_wxVisualAttributes swig_types[36]
246#define SWIGTYPE_p_wxNotifyEvent swig_types[37]
247#define SWIGTYPE_p_wxPyEvent swig_types[38]
248#define SWIGTYPE_p_wxPropagationDisabler swig_types[39]
249#define SWIGTYPE_p_wxAppTraits swig_types[40]
250#define SWIGTYPE_p_wxArrayString swig_types[41]
251#define SWIGTYPE_p_wxShowEvent swig_types[42]
252#define SWIGTYPE_p_wxToolTip swig_types[43]
253#define SWIGTYPE_p_wxMaximizeEvent swig_types[44]
254#define SWIGTYPE_p_wxIconizeEvent swig_types[45]
255#define SWIGTYPE_p_wxActivateEvent swig_types[46]
256#define SWIGTYPE_p_wxMoveEvent swig_types[47]
257#define SWIGTYPE_p_wxSizeEvent swig_types[48]
258#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[49]
259#define SWIGTYPE_p_wxWindowCreateEvent swig_types[50]
260#define SWIGTYPE_p_wxIdleEvent swig_types[51]
261#define SWIGTYPE_p_wxMenuItem swig_types[52]
262#define SWIGTYPE_p_wxStaticBox swig_types[53]
263#define SWIGTYPE_p_long swig_types[54]
264#define SWIGTYPE_p_wxTIFFHandler swig_types[55]
265#define SWIGTYPE_p_wxXPMHandler swig_types[56]
266#define SWIGTYPE_p_wxPNMHandler swig_types[57]
267#define SWIGTYPE_p_wxJPEGHandler swig_types[58]
268#define SWIGTYPE_p_wxPCXHandler swig_types[59]
269#define SWIGTYPE_p_wxGIFHandler swig_types[60]
270#define SWIGTYPE_p_wxPNGHandler swig_types[61]
271#define SWIGTYPE_p_wxANIHandler swig_types[62]
272#define SWIGTYPE_p_wxMemoryFSHandler swig_types[63]
273#define SWIGTYPE_p_wxEvtHandler swig_types[64]
274#define SWIGTYPE_p_wxCURHandler swig_types[65]
275#define SWIGTYPE_p_wxICOHandler swig_types[66]
276#define SWIGTYPE_p_wxBMPHandler swig_types[67]
277#define SWIGTYPE_p_wxImageHandler swig_types[68]
278#define SWIGTYPE_p_wxFileSystemHandler swig_types[69]
279#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[70]
280#define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
281#define SWIGTYPE_p_wxZipFSHandler swig_types[72]
282#define SWIGTYPE_p_wxRect swig_types[73]
283#define SWIGTYPE_p_wxGBSpan swig_types[74]
284#define SWIGTYPE_p_wxPropagateOnce swig_types[75]
285#define SWIGTYPE_p_wxAcceleratorTable swig_types[76]
286#define SWIGTYPE_p_char swig_types[77]
287#define SWIGTYPE_p_wxGBPosition swig_types[78]
288#define SWIGTYPE_p_wxImage swig_types[79]
289#define SWIGTYPE_p_wxFrame swig_types[80]
290#define SWIGTYPE_p_wxScrollWinEvent swig_types[81]
291#define SWIGTYPE_p_wxImageHistogram swig_types[82]
292#define SWIGTYPE_p_byte swig_types[83]
293#define SWIGTYPE_p_wxPoint swig_types[84]
294#define SWIGTYPE_p_wxCursor swig_types[85]
295#define SWIGTYPE_p_wxObject swig_types[86]
296#define SWIGTYPE_p_wxPyInputStream swig_types[87]
297#define SWIGTYPE_p_wxOutputStream swig_types[88]
298#define SWIGTYPE_p_wxInputStream swig_types[89]
299#define SWIGTYPE_p_wxDateTime swig_types[90]
300#define SWIGTYPE_p_wxKeyEvent swig_types[91]
301#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
302#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[93]
303#define SWIGTYPE_p_wxWindow swig_types[94]
304#define SWIGTYPE_p_wxMenuBar swig_types[95]
305#define SWIGTYPE_p_wxFileSystem swig_types[96]
306#define SWIGTYPE_p_wxBitmap swig_types[97]
307#define SWIGTYPE_p_wxMenuEvent swig_types[98]
308#define SWIGTYPE_p_wxContextMenuEvent swig_types[99]
309#define SWIGTYPE_p_unsigned_char swig_types[100]
310#define SWIGTYPE_p_wxCloseEvent swig_types[101]
311#define SWIGTYPE_p_wxEraseEvent swig_types[102]
312#define SWIGTYPE_p_wxMouseEvent swig_types[103]
313#define SWIGTYPE_p_wxPyApp swig_types[104]
314#define SWIGTYPE_p_wxCommandEvent swig_types[105]
315#define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
316#define SWIGTYPE_p_wxPyDropTarget swig_types[107]
317#define SWIGTYPE_p_wxChildFocusEvent swig_types[108]
318#define SWIGTYPE_p_wxFocusEvent swig_types[109]
319#define SWIGTYPE_p_wxDropFilesEvent swig_types[110]
320#define SWIGTYPE_p_wxControlWithItems swig_types[111]
321#define SWIGTYPE_p_wxColour swig_types[112]
322#define SWIGTYPE_p_wxValidator swig_types[113]
323#define SWIGTYPE_p_wxPyValidator swig_types[114]
324static swig_type_info *swig_types[116];
d14a1e28
RD
325
326/* -------- TYPES TABLE (END) -------- */
327
328
329/*-----------------------------------------------
54f9ee45 330 @(target):= _core_.so
d14a1e28 331 ------------------------------------------------*/
54f9ee45 332#define SWIG_init init_core_
d14a1e28 333
54f9ee45 334#define SWIG_name "_core_"
d14a1e28 335
15afbcd0 336/* Auxiliar swig macros */
994141e6 337
994141e6 338#ifdef __cplusplus
15afbcd0 339#define SWIGSTATICINLINE(a) static inline a
994141e6 340#define SWIGSTATIC(a) static a
15afbcd0
RD
341#define swig_new_array(type, size) (new type[(size)])
342#define swig_delete_array(cptr) delete[] cptr
343#define swig_const_cast(type,a) const_cast<type>(a)
344#define swig_static_cast(type,a) static_cast<type>(a)
345#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
994141e6 346
994141e6 347#ifdef HAVE_NUMERIC_CAST
15afbcd0 348#define swig_numeric_cast(type,a) numeric_cast<type>(a)
994141e6 349#else
15afbcd0 350#define swig_numeric_cast(type,a) static_cast<type>(a)
994141e6
RD
351#endif
352
15afbcd0
RD
353#else /* C case */
354
355#define SWIGSTATICINLINE(a) static a
356#define SWIGSTATIC(a) static a
357#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
358#define swig_delete_array(cptr) free((char*)cptr)
359#define swig_const_cast(type,a) (type)(a)
360#define swig_static_cast(type,a) (type)(a)
361#define swig_reinterpret_cast(type,a) (type)(a)
362#define swig_numeric_cast(type,a) (type)(a)
363
364#endif /* __cplusplus */
994141e6
RD
365
366
15afbcd0
RD
367#define SWIG_FromSignedChar PyInt_FromLong
368#define SWIG_FromUnsignedChar PyInt_FromLong
369#define SWIG_FromShort PyInt_FromLong
370#define SWIG_FromUnsignedShort PyInt_FromLong
371#define SWIG_FromInt PyInt_FromLong
372#define SWIG_FromLong PyInt_FromLong
373#define SWIG_FromFloat PyFloat_FromDouble
374#define SWIG_FromDouble PyFloat_FromDouble
375#define SWIG_FromFloat PyFloat_FromDouble
376#define SWIG_FromDouble PyFloat_FromDouble
994141e6
RD
377
378
d14a1e28
RD
379#include "wx/wxPython/wxPython_int.h"
380#include "wx/wxPython/pyclasses.h"
381
382
383#ifndef wxPyUSE_EXPORT
384// Helper functions for dealing with SWIG objects and such. These are
385// located here so they know about the SWIG types and functions declared
386// in the wrapper code.
387
388#include <wx/hashmap.h>
389WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap );
390
391
392// Maintains a hashmap of className to swig_type_info pointers. Given the
393// name of a class either looks up the type info in the cache, or scans the
394// SWIG tables for it.
395extern PyObject* wxPyPtrTypeMap;
396static
397swig_type_info* wxPyFindSwigType(const wxChar* className) {
398
399 static wxPyTypeInfoHashMap* typeInfoCache = NULL;
400
401 if (typeInfoCache == NULL)
402 typeInfoCache = new wxPyTypeInfoHashMap;
403
404 wxString name(className);
405 swig_type_info* swigType = (*typeInfoCache)[name];
406
407 if (! swigType) {
408 // it wasn't in the cache, so look it up from SWIG
409 name.Append(wxT(" *"));
410 swigType = SWIG_Python_TypeQuery(name.mb_str());
411
412 // if it still wasn't found, try looking for a mapped name
413 if (!swigType) {
414 PyObject* item;
415 name = className;
416
417 if ((item = PyDict_GetItemString(wxPyPtrTypeMap,
418 (char*)(const char*)name.mbc_str())) != NULL) {
419 name = wxString(PyString_AsString(item), *wxConvCurrent);
420 name.Append(wxT(" *"));
421 swigType = SWIG_Python_TypeQuery(name.mb_str());
422 }
423 }
424 if (swigType) {
425 // and add it to the map if found
426 (*typeInfoCache)[className] = swigType;
427 }
428 }
429 return swigType;
430}
431
432
433// Check if a class name is a type known to SWIG
434bool wxPyCheckSwigType(const wxChar* className) {
435
436 swig_type_info* swigType = wxPyFindSwigType(className);
437 return swigType != NULL;
438}
439
440
441// Given a pointer to a C++ object and a class name, construct a Python proxy
442// object for it.
443PyObject* wxPyConstructObject(void* ptr,
444 const wxChar* className,
445 int setThisOwn) {
446
447 swig_type_info* swigType = wxPyFindSwigType(className);
448 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConstructObject"));
449
450 return SWIG_Python_NewPointerObj(ptr, swigType, setThisOwn);
451}
452
453
454// Extract a pointer to the wrapped C++ object from a Python proxy object.
455// Ensures that the proxy object is of the specified (or derived) type. If
456// not able to perform the conversion then a Python exception is set and the
e811c8ce 457// error should be handled properly in the caller. Returns True on success.
d14a1e28
RD
458bool wxPyConvertSwigPtr(PyObject* obj, void **ptr,
459 const wxChar* className) {
460
461 swig_type_info* swigType = wxPyFindSwigType(className);
e811c8ce 462 wxCHECK_MSG(swigType != NULL, False, wxT("Unknown type in wxPyConvertSwigPtr"));
d14a1e28
RD
463
464 return SWIG_Python_ConvertPtr(obj, ptr, swigType, SWIG_POINTER_EXCEPTION) != -1;
465}
466
467
468// Make a SWIGified pointer object suitable for a .this attribute
469PyObject* wxPyMakeSwigPtr(void* ptr, const wxChar* className) {
470
471 PyObject* robj = NULL;
472
473 swig_type_info* swigType = wxPyFindSwigType(className);
474 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConvertSwigPtr"));
475
476#ifdef SWIG_COBJECT_TYPES
477 robj = PyCObject_FromVoidPtrAndDesc((void *) ptr, (char *) swigType->name, NULL);
478#else
479 {
480 char result[1024];
481 char *r = result;
482 *(r++) = '_';
483 r = SWIG_Python_PackData(r, &ptr, sizeof(void *));
484 strcpy(r, swigType->name);
485 robj = PyString_FromString(result);
486 }
487#endif
488
489 return robj;
490}
491
492
493
494
495// Export a C API in a struct. Other modules will be able to load this from
121b9a67
RD
496// the wx._core_ module and will then have safe access to these functions,
497// even if they are located in another shared library.
d14a1e28
RD
498static wxPyCoreAPI API = {
499
500 (p_SWIG_Python_TypeRegister_t)SWIG_Python_TypeRegister,
501 (p_SWIG_Python_TypeCheck_t)SWIG_Python_TypeCheck,
502 (p_SWIG_Python_TypeCast_t)SWIG_Python_TypeCast,
503 (p_SWIG_Python_TypeDynamicCast_t)SWIG_Python_TypeDynamicCast,
504 (p_SWIG_Python_TypeName_t)SWIG_Python_TypeName,
505 (p_SWIG_Python_TypeQuery_t)SWIG_Python_TypeQuery,
506 (p_SWIG_Python_TypeClientData_t)SWIG_Python_TypeClientData,
507 (p_SWIG_Python_newvarlink_t)SWIG_Python_newvarlink,
508 (p_SWIG_Python_addvarlink_t)SWIG_Python_addvarlink,
509 (p_SWIG_Python_ConvertPtr_t)SWIG_Python_ConvertPtr,
510 (p_SWIG_Python_ConvertPacked_t)SWIG_Python_ConvertPacked,
511 (p_SWIG_Python_PackData_t)SWIG_Python_PackData,
512 (p_SWIG_Python_UnpackData_t)SWIG_Python_UnpackData,
513 (p_SWIG_Python_NewPointerObj_t)SWIG_Python_NewPointerObj,
514 (p_SWIG_Python_NewPackedObj_t)SWIG_Python_NewPackedObj,
515 (p_SWIG_Python_InstallConstants_t)SWIG_Python_InstallConstants,
516 (p_SWIG_Python_MustGetPtr_t)SWIG_Python_MustGetPtr,
517
518 wxPyCheckSwigType,
519 wxPyConstructObject,
520 wxPyConvertSwigPtr,
521 wxPyMakeSwigPtr,
522
523 wxPyBeginAllowThreads,
524 wxPyEndAllowThreads,
525 wxPyBeginBlockThreads,
526 wxPyEndBlockThreads,
527
528 wxPy_ConvertList,
529
530 wxString_in_helper,
531 Py2wxString,
532 wx2PyString,
533
534 byte_LIST_helper,
535 int_LIST_helper,
536 long_LIST_helper,
537 string_LIST_helper,
538 wxPoint_LIST_helper,
539 wxBitmap_LIST_helper,
540 wxString_LIST_helper,
541 wxAcceleratorEntry_LIST_helper,
542
543 wxSize_helper,
544 wxPoint_helper,
545 wxRealPoint_helper,
546 wxRect_helper,
547 wxColour_helper,
548 wxPoint2D_helper,
549
550 wxPySimple_typecheck,
551 wxColour_typecheck,
552
553 wxPyCBH_setCallbackInfo,
554 wxPyCBH_findCallback,
555 wxPyCBH_callCallback,
556 wxPyCBH_callCallbackObj,
557 wxPyCBH_delete,
558
559 wxPyMake_wxObject,
560 wxPyMake_wxSizer,
561 wxPyPtrTypeMap_Add,
562 wxPy2int_seq_helper,
563 wxPy4int_seq_helper,
564 wxArrayString2PyList_helper,
565 wxArrayInt2PyList_helper,
566
567 wxPyClientData_dtor,
568 wxPyUserData_dtor,
569 wxPyOORClientData_dtor,
570
571 wxPyCBInputStream_create,
572
573 wxPyInstance_Check,
574 wxPySwigInstance_Check
575
576};
577
578#endif
579
580
d14a1e28
RD
581#if ! wxUSE_HOTKEY
582enum wxHotkeyModifier
583{
584 wxMOD_NONE = 0,
585 wxMOD_ALT = 1,
586 wxMOD_CONTROL = 2,
587 wxMOD_SHIFT = 4,
588 wxMOD_WIN = 8
589};
590#define wxEVT_HOTKEY 9999
591#endif
592
196addbf 593 static const wxString wxPyEmptyString(wxEmptyString);
d14a1e28
RD
594wxString wxObject_GetClassName(wxObject *self){
595 return self->GetClassInfo()->GetClassName();
596 }
597void wxObject_Destroy(wxObject *self){
598 delete self;
599 }
600
601#ifndef __WXMAC__
602#define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
603#endif
604
994141e6 605
15afbcd0
RD
606#include <limits.h>
607
608
609SWIGSTATICINLINE(long)
610SWIG_CheckLongInRange(long value, const char* type,
611 long min_value, long max_value)
612{
613 if (!PyErr_Occurred()) {
614 if (value < min_value) {
615 PyObject *err =
616 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
617 value, type, min_value);
618
619 PyErr_SetObject(PyExc_OverflowError, err);
620 Py_DECREF(err);
621 } else if (value > max_value) {
622 PyObject *err =
623 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
624 value, type, max_value);
625 PyErr_SetObject(PyExc_OverflowError, err);
626 Py_DECREF(err);
627 }
628 }
629 return value;
630}
631
632
633SWIGSTATICINLINE(long)
634SWIG_AsLong(PyObject * obj)
635{
69223c70
RD
636 if (PyNumber_Check(obj))
637 return PyInt_AsLong(obj);
638 else {
639 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
640 obj->ob_type->tp_name);
641 PyErr_SetObject(PyExc_TypeError, errmsg);
642 Py_DECREF(errmsg);
643 return 0;
644 }
15afbcd0
RD
645}
646
647
648#if INT_MAX != LONG_MAX
649SWIGSTATICINLINE(int)
650SWIG_AsInt(PyObject *obj)
994141e6 651{
15afbcd0
RD
652 return swig_numeric_cast(int,
653 SWIG_CheckLongInRange(SWIG_AsLong(obj),
654 "int", INT_MIN, INT_MAX));
655}
656#else
657#define SWIG_AsInt SWIG_AsLong
658#endif
659
660
661SWIGSTATICINLINE(int)
662SWIG_CheckInt(PyObject* obj)
663{
664 SWIG_AsInt(obj);
665 if (PyErr_Occurred()) {
666 PyErr_Clear();
667 return 0;
668 } else {
669 return 1;
670 }
994141e6
RD
671}
672
e811c8ce 673PyObject *wxSize_Get(wxSize *self){
4f89f6a3 674 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
675 PyObject* tup = PyTuple_New(2);
676 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
677 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
4f89f6a3 678 wxPyEndBlockThreads(blocked);
d14a1e28
RD
679 return tup;
680 }
994141e6 681
15afbcd0
RD
682SWIGSTATICINLINE(double)
683SWIG_AsDouble(PyObject *obj)
994141e6 684{
69223c70
RD
685 if (PyNumber_Check(obj))
686 return PyFloat_AsDouble(obj);
687 else {
688 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
689 obj->ob_type->tp_name);
690 PyErr_SetObject(PyExc_TypeError, errmsg);
691 Py_DECREF(errmsg);
692 return 0;
693 }
15afbcd0
RD
694}
695
696
697SWIGSTATICINLINE(int)
698SWIG_CheckDouble(PyObject* obj)
699{
700 SWIG_AsDouble(obj);
701 if (PyErr_Occurred()) {
702 PyErr_Clear();
703 return 0;
704 } else {
705 return 1;
706 }
994141e6
RD
707}
708
d14a1e28
RD
709void wxRealPoint_Set(wxRealPoint *self,double x,double y){
710 self->x = x;
711 self->y = y;
712 }
e811c8ce 713PyObject *wxRealPoint_Get(wxRealPoint *self){
4f89f6a3 714 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
715 PyObject* tup = PyTuple_New(2);
716 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x));
717 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
4f89f6a3 718 wxPyEndBlockThreads(blocked);
d14a1e28
RD
719 return tup;
720 }
994141e6 721
15afbcd0
RD
722SWIGSTATICINLINE(int)
723SWIG_CheckLong(PyObject* obj)
994141e6 724{
15afbcd0
RD
725 SWIG_AsLong(obj);
726 if (PyErr_Occurred()) {
727 PyErr_Clear();
728 return 0;
729 } else {
730 return 1;
731 }
994141e6
RD
732}
733
d14a1e28
RD
734void wxPoint_Set(wxPoint *self,long x,long y){
735 self->x = x;
736 self->y = y;
737 }
e811c8ce 738PyObject *wxPoint_Get(wxPoint *self){
4f89f6a3 739 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
740 PyObject* tup = PyTuple_New(2);
741 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
742 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
4f89f6a3 743 wxPyEndBlockThreads(blocked);
d14a1e28
RD
744 return tup;
745 }
746void wxRect_Set(wxRect *self,int x,int y,int width,int height){
747 self->x = x;
748 self->y = y;
749 self->width = width;
750 self->height = height;
751 }
e811c8ce 752PyObject *wxRect_Get(wxRect *self){
4f89f6a3 753 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
754 PyObject* tup = PyTuple_New(4);
755 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
756 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
757 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(self->width));
758 PyTuple_SET_ITEM(tup, 3, PyInt_FromLong(self->height));
4f89f6a3 759 wxPyEndBlockThreads(blocked);
d14a1e28
RD
760 return tup;
761 }
762
763 PyObject* wxIntersectRect(wxRect* r1, wxRect* r2) {
764 wxRegion reg1(*r1);
765 wxRegion reg2(*r2);
766 wxRect dest(0,0,0,0);
767 PyObject* obj;
768
769 reg1.Intersect(reg2);
770 dest = reg1.GetBox();
771
772 if (dest != wxRect(0,0,0,0)) {
4f89f6a3 773 bool blocked = wxPyBeginBlockThreads();
d14a1e28 774 wxRect* newRect = new wxRect(dest);
e811c8ce 775 obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), True);
4f89f6a3 776 wxPyEndBlockThreads(blocked);
d14a1e28
RD
777 return obj;
778 }
779 Py_INCREF(Py_None);
780 return Py_None;
781 }
782
783
784static PyObject* t_output_helper(PyObject* target, PyObject* o) {
785 PyObject* o2;
786 PyObject* o3;
787
788 if (!target) {
789 target = o;
790 } else if (target == Py_None) {
791 Py_DECREF(Py_None);
792 target = o;
793 } else {
794 if (!PyTuple_Check(target)) {
795 o2 = target;
796 target = PyTuple_New(1);
797 PyTuple_SetItem(target, 0, o2);
798 }
799 o3 = PyTuple_New(1);
800 PyTuple_SetItem(o3, 0, o);
801
802 o2 = target;
803 target = PySequence_Concat(o2, o3);
804 Py_DECREF(o2);
805 Py_DECREF(o3);
806 }
807 return target;
808}
809
810void wxPoint2D_Set(wxPoint2D *self,double x,double y){
811 self->m_x = x;
812 self->m_y = y;
813 }
e811c8ce 814PyObject *wxPoint2D_Get(wxPoint2D *self){
4f89f6a3 815 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
816 PyObject* tup = PyTuple_New(2);
817 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->m_x));
818 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->m_y));
4f89f6a3 819 wxPyEndBlockThreads(blocked);
d14a1e28
RD
820 return tup;
821 }
822
823#include "wx/wxPython/pyistream.h"
824
825wxPyInputStream *new_wxPyInputStream(PyObject *p){
826 wxInputStream* wxis = wxPyCBInputStream::create(p);
827 if (wxis)
828 return new wxPyInputStream(wxis);
829 else
830 return NULL;
831 }
994141e6 832
15afbcd0
RD
833SWIGSTATICINLINE(PyObject*)
834SWIG_FromChar(char c)
994141e6
RD
835{
836 return PyString_FromStringAndSize(&c,1);
837}
838
839
15afbcd0
RD
840SWIGSTATICINLINE(PyObject* )
841SWIG_FromUnsignedLong(unsigned long value)
842{
843 return (value > LONG_MAX) ?
844 PyLong_FromUnsignedLong(value)
845 : PyInt_FromLong(swig_numeric_cast(long,value));
846}
847
848
849/* returns '1' if the input is a raw char*, '0' if is a PyString */
850SWIGSTATIC(int)
851SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* size)
994141e6 852{
15afbcd0
RD
853 static swig_type_info* pchar_info = 0;
854 int psize = 0;
855 if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
856
857 if (SWIG_ConvertPtr(obj, swig_reinterpret_cast(void **,cptr), pchar_info, 0) == -1) {
858 PyErr_Clear();
859 PyString_AsStringAndSize(obj, cptr, &psize);
860 if (PyErr_Occurred()) {
861 PyErr_Clear();
862 PyErr_SetString(PyExc_TypeError,"a string is expected");
863 }
864 if (size) *size = psize;
865 return 0;
866 } else {
867 if (size) *size = (*cptr) ? (strlen(*cptr) + 1) : 0;
868 return 1;
869 }
994141e6
RD
870}
871
872
15afbcd0
RD
873SWIGSTATIC(void)
874SWIG_AsCharArray(PyObject *obj, char* carray, size_t size)
875{
876 char* cptr; size_t csize;
877 SWIG_AsCharPtrAndSize(obj, &cptr, &csize);
878 if (PyErr_Occurred()) {
879 PyErr_Clear();
880 PyObject *err =
881 PyString_FromFormat("a char array of size %d is expected", size);
882 PyErr_SetObject(PyExc_TypeError, err);
883 Py_DECREF(err);
884 } else {
885 /* in C (but not in C++) you can do:
886
887 char x[5] = "hello";
888
889 ie, assing the array using an extra '0' char.
890 */
891#ifndef __cplusplus
892 if ((csize == size + 1) && !(cptr[csize-1])) --csize;
893#endif
894 if (csize > size) {
895 PyObject *err =
896 PyString_FromFormat("a char array of maximum size %d is expected",
897 size);
898 PyErr_SetObject(PyExc_TypeError, err);
899 Py_DECREF(err);
900 } else {
901 if (csize) memcpy(carray, cptr, csize);
902 if (csize < size) memset(carray + csize, 0, size - csize);
903 }
904 }
905}
906
907
908SWIGSTATICINLINE(char)
909SWIG_AsChar(PyObject *obj)
994141e6
RD
910{
911 char c = 0;
912 if (PyInt_Check(obj) || PyLong_Check(obj)) {
15afbcd0
RD
913 c = swig_numeric_cast(char,
914 SWIG_CheckLongInRange(SWIG_AsLong(obj),
915 "char", CHAR_MIN, CHAR_MAX));
994141e6 916 } else {
15afbcd0
RD
917 SWIG_AsCharArray(obj, &c, 1);
918 if (PyErr_Occurred()) {
919 PyErr_Clear();
994141e6
RD
920 PyErr_SetString(PyExc_TypeError, "a char is expected");
921 }
922 }
923 return c;
924}
925
15afbcd0
RD
926
927SWIGSTATICINLINE(int)
928SWIG_CheckChar(PyObject* obj)
929{
930 SWIG_AsChar(obj);
931 if (PyErr_Occurred()) {
932 PyErr_Clear();
933 return 0;
934 } else {
935 return 1;
936 }
937}
938
d14a1e28
RD
939void wxOutputStream_write(wxOutputStream *self,PyObject *obj){
940 // We use only strings for the streams, not unicode
941 PyObject* str = PyObject_Str(obj);
942 if (! str) {
943 PyErr_SetString(PyExc_TypeError, "Unable to convert to string");
944 return;
945 }
946 self->Write(PyString_AS_STRING(str),
947 PyString_GET_SIZE(str));
948 Py_DECREF(str);
949 }
950
951#include "wx/wxPython/pyistream.h"
952
953
954class wxPyFileSystemHandler : public wxFileSystemHandler
955{
956public:
957 wxPyFileSystemHandler() : wxFileSystemHandler() {}
958
959 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen);
960 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile);
961 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst);
962 DEC_PYCALLBACK_STRING__pure(FindNext);
963
964 wxString GetProtocol(const wxString& location) {
965 return wxFileSystemHandler::GetProtocol(location);
966 }
967
968 wxString GetLeftLocation(const wxString& location) {
969 return wxFileSystemHandler::GetLeftLocation(location);
970 }
971
972 wxString GetAnchor(const wxString& location) {
973 return wxFileSystemHandler::GetAnchor(location);
974 }
975
976 wxString GetRightLocation(const wxString& location) {
977 return wxFileSystemHandler::GetRightLocation(location);
978 }
979
980 wxString GetMimeTypeFromExt(const wxString& location) {
981 return wxFileSystemHandler::GetMimeTypeFromExt(location);
982 }
983
984 PYPRIVATE;
985};
986
987
988IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, CanOpen);
989IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, OpenFile);
990IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler, wxFileSystemHandler, FindFirst);
991IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler, wxFileSystemHandler, FindNext);
992
993
15afbcd0
RD
994SWIGSTATICINLINE(bool)
995SWIG_AsBool(PyObject *obj)
994141e6
RD
996{
997 return PyObject_IsTrue(obj) ? true : false;
998}
999
1000
15afbcd0
RD
1001SWIGSTATICINLINE(int)
1002SWIG_CheckBool(PyObject* obj)
1003{
1004 SWIG_AsBool(obj);
1005 if (PyErr_Occurred()) {
1006 PyErr_Clear();
1007 return 0;
1008 } else {
1009 return 1;
1010 }
1011}
1012
1013
d14a1e28
RD
1014 wxString wxFileSystem_URLToFileName(const wxString& url) {
1015 wxFileName fname = wxFileSystem::URLToFileName(url);
1016 return fname.GetFullPath();
1017 }
1018
1019
1020 void __wxMemoryFSHandler_AddFile_wxImage(const wxString& filename,
1021 wxImage& image,
1022 long type) {
1023 wxMemoryFSHandler::AddFile(filename, image, type);
1024 }
1025
1026 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString& filename,
1027 const wxBitmap& bitmap,
1028 long type) {
1029 wxMemoryFSHandler::AddFile(filename, bitmap, type);
1030 }
1031
1032 void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
1033 PyObject* data) {
1034 wxMemoryFSHandler::AddFile(filename,
1035 // TODO: Verify data type
1036 (void*)PyString_AsString(data),
1037 (size_t)PyString_Size(data));
1038 }
1039
1040
1041#include "wx/wxPython/pyistream.h"
1042
994141e6 1043
15afbcd0
RD
1044SWIGSTATICINLINE(unsigned long)
1045SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
1046 unsigned long max_value)
1047{
1048 if (!PyErr_Occurred()) {
1049 if (value > max_value) {
1050 PyObject *err =
1051 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
1052 value, type, max_value);
1053 PyErr_SetObject(PyExc_OverflowError, err);
1054 Py_DECREF(err);
1055 }
1056 }
1057 return value;
1058}
1059
1060
1061SWIGSTATICINLINE(unsigned long)
1062SWIG_AsUnsignedLong(PyObject * obj)
1063{
1064 if (PyLong_Check(obj)) {
1065 return PyLong_AsUnsignedLong(obj);
1066 } else {
69223c70 1067 long i = SWIG_AsLong(obj);
15afbcd0 1068 if ( !PyErr_Occurred() && (i < 0)) {
69223c70 1069 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
15afbcd0
RD
1070 }
1071 return i;
1072 }
1073}
1074
1075
1076SWIGSTATICINLINE(unsigned char)
1077SWIG_AsUnsignedChar(PyObject *obj)
994141e6 1078{
15afbcd0
RD
1079 return swig_numeric_cast(unsigned char,
1080 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
1081 "unsigned char", UCHAR_MAX));
1082}
1083
1084
1085SWIGSTATICINLINE(int)
1086SWIG_CheckUnsignedChar(PyObject* obj)
1087{
1088 SWIG_AsUnsignedChar(obj);
1089 if (PyErr_Occurred()) {
1090 PyErr_Clear();
1091 return 0;
1092 } else {
1093 return 1;
1094 }
994141e6
RD
1095}
1096
66c033b4 1097wxImage *new_wxImage(int width,int height,bool clear){
d14a1e28
RD
1098 if (width > 0 && height > 0)
1099 return new wxImage(width, height, clear);
1100 else
1101 return new wxImage;
1102 }
1103wxImage *new_wxImage(wxBitmap const &bitmap){
1104 return new wxImage(bitmap.ConvertToImage());
1105 }
1106wxImage *new_wxImage(int width,int height,unsigned char *data){
1107 // Copy the source data so the wxImage can clean it up later
1108 unsigned char* copy = (unsigned char*)malloc(width*height*3);
1109 if (copy == NULL) {
1110 PyErr_NoMemory();
1111 return NULL;
1112 }
1113 memcpy(copy, data, width*height*3);
e811c8ce 1114 return new wxImage(width, height, copy, False);
d14a1e28 1115 }
b2df227b
RD
1116wxSize wxImage_GetSize(wxImage *self){
1117 wxSize size(self->GetWidth(), self->GetHeight());
1118 return size;
1119 }
d14a1e28
RD
1120PyObject *wxImage_GetData(wxImage *self){
1121 unsigned char* data = self->GetData();
1122 int len = self->GetWidth() * self->GetHeight() * 3;
1123 PyObject* rv;
1124 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len));
1125 return rv;
1126 }
1127void wxImage_SetData(wxImage *self,PyObject *data){
1128 unsigned char* dataPtr;
1129
1130 if (! PyString_Check(data)) {
1131 PyErr_SetString(PyExc_TypeError, "Expected string object");
1132 return /* NULL */ ;
1133 }
1134
1135 size_t len = self->GetWidth() * self->GetHeight() * 3;
1136 dataPtr = (unsigned char*) malloc(len);
1137 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1138 self->SetData(dataPtr);
1139 // wxImage takes ownership of dataPtr...
1140 }
1141PyObject *wxImage_GetDataBuffer(wxImage *self){
1142 unsigned char* data = self->GetData();
1143 int len = self->GetWidth() * self->GetHeight() * 3;
1144 PyObject* rv;
1145 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1146 return rv;
1147 }
1148void wxImage_SetDataBuffer(wxImage *self,PyObject *data){
1149 unsigned char* buffer;
1150 int size;
1151
4f89f6a3 1152 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1153 if (!PyArg_Parse(data, "t#", &buffer, &size))
1154 goto done;
1155
1156 if (size != self->GetWidth() * self->GetHeight() * 3) {
1157 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1158 goto done;
1159 }
1160 self->SetData(buffer);
1161 done:
4f89f6a3 1162 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1163 }
1164PyObject *wxImage_GetAlphaData(wxImage *self){
1165 unsigned char* data = self->GetAlpha();
1166 if (! data) {
1167 RETURN_NONE();
1168 } else {
1169 int len = self->GetWidth() * self->GetHeight();
1170 PyObject* rv;
1171 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len) );
1172 return rv;
1173 }
1174 }
1175void wxImage_SetAlphaData(wxImage *self,PyObject *data){
1176 unsigned char* dataPtr;
1177
1178 if (! PyString_Check(data)) {
1179 PyErr_SetString(PyExc_TypeError, "Expected string object");
1180 return /* NULL */ ;
1181 }
1182
1183 size_t len = self->GetWidth() * self->GetHeight();
1184 dataPtr = (unsigned char*) malloc(len);
1185 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1186 self->SetAlpha(dataPtr);
1187 // wxImage takes ownership of dataPtr...
1188 }
1189PyObject *wxImage_GetAlphaBuffer(wxImage *self){
1190 unsigned char* data = self->GetAlpha();
1191 int len = self->GetWidth() * self->GetHeight();
1192 PyObject* rv;
1193 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1194 return rv;
1195 }
1196void wxImage_SetAlphaBuffer(wxImage *self,PyObject *data){
1197 unsigned char* buffer;
1198 int size;
1199
4f89f6a3 1200 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1201 if (!PyArg_Parse(data, "t#", &buffer, &size))
1202 goto done;
1203
1204 if (size != self->GetWidth() * self->GetHeight()) {
1205 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1206 goto done;
1207 }
1208 self->SetAlpha(buffer);
1209 done:
4f89f6a3 1210 wxPyEndBlockThreads(blocked);
d14a1e28 1211 }
15afbcd0
RD
1212
1213SWIGSTATICINLINE(int)
1214SWIG_CheckUnsignedLong(PyObject* obj)
1215{
1216 SWIG_AsUnsignedLong(obj);
1217 if (PyErr_Occurred()) {
1218 PyErr_Clear();
1219 return 0;
1220 } else {
1221 return 1;
1222 }
1223}
1224
d14a1e28
RD
1225wxBitmap wxImage_ConvertToBitmap(wxImage *self){
1226 wxBitmap bitmap(*self);
1227 return bitmap;
1228 }
1229wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,unsigned char red,unsigned char green,unsigned char blue){
1230 wxImage mono = self->ConvertToMono( red, green, blue );
1231 wxBitmap bitmap( mono, 1 );
1232 return bitmap;
1233 }
1234 static const wxString wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT);
1235 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X);
1236 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y);
1237 static const wxString wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION);
1238 static const wxString wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT);
1239void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject *func){
1240 if (PyCallable_Check(func)) {
1241 self->Connect(id, lastId, eventType,
1242 (wxObjectEventFunction) &wxPyCallback::EventThunker,
1243 new wxPyCallback(func));
1244 }
1245 else if (func == Py_None) {
1246 self->Disconnect(id, lastId, eventType,
1247 (wxObjectEventFunction)
1248 &wxPyCallback::EventThunker);
1249 }
1250 else {
a95a7133
RD
1251 wxPyBLOCK_THREADS(
1252 PyErr_SetString(PyExc_TypeError, "Expected callable object or None."));
d14a1e28
RD
1253 }
1254 }
1255bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType){
1256 return self->Disconnect(id, lastId, eventType,
1257 (wxObjectEventFunction)
1258 &wxPyCallback::EventThunker);
1259 }
1260void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject *_self){
1261 if (_self && _self != Py_None) {
1262 self->SetClientObject(new wxPyOORClientData(_self));
1263 }
1264 else {
1265 wxPyOORClientData* data = (wxPyOORClientData*)self->GetClientObject();
1266 if (data) {
1267 self->SetClientObject(NULL); // This will delete it too
1268 }
1269 }
1270 }
1271int wxKeyEvent_GetUniChar(wxKeyEvent *self){
3b7224dc
RD
1272 #if wxUSE_UNICODE
1273 return self->m_uniChar;
1274 #else
d14a1e28 1275 return 0;
3b7224dc 1276 #endif
d14a1e28 1277 }
994141e6 1278
15afbcd0
RD
1279#if UINT_MAX < LONG_MAX
1280#define SWIG_FromUnsignedInt SWIG_FromLong
1281#else
1282#define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1283#endif
994141e6
RD
1284
1285
15afbcd0
RD
1286#if UINT_MAX != ULONG_MAX
1287SWIGSTATICINLINE(unsigned int)
1288SWIG_AsUnsignedInt(PyObject *obj)
994141e6 1289{
15afbcd0
RD
1290 return swig_numeric_cast(unsigned int,
1291 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
1292 "unsigned int", UINT_MAX));
1293}
1294#else
1295#define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1296#endif
1297
1298
1299SWIGSTATICINLINE(int)
1300SWIG_CheckUnsignedInt(PyObject* obj)
1301{
1302 SWIG_AsUnsignedInt(obj);
1303 if (PyErr_Occurred()) {
1304 PyErr_Clear();
1305 return 0;
1306 } else {
1307 return 1;
1308 }
994141e6
RD
1309}
1310
d14a1e28
RD
1311void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){
1312 self->m_size = size;
1313 }
1314void wxMoveEvent_SetPosition(wxMoveEvent *self,wxPoint pos){
1315 self->m_pos = pos;
1316 }
1317PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
1318 int count = self->GetNumberOfFiles();
1319 wxString* files = self->GetFiles();
1320 PyObject* list = PyList_New(count);
1321
1322 if (!list) {
1323 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
1324 return NULL;
1325 }
1326
1327 for (int i=0; i<count; i++) {
1fc9204a 1328 PyList_SetItem(list, i, wx2PyString(files[i]));
d14a1e28
RD
1329 }
1330 return list;
1331 }
1332
1333
1334wxPyApp *new_wxPyApp(){
1335 wxPythonApp = new wxPyApp();
1336 return wxPythonApp;
1337 }
39f61e25 1338int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
d14a1e28
RD
1339
1340 void wxApp_CleanUp() {
1341 __wxPyCleanup();
1342 }
1343
1344
1345 wxPyApp* wxGetApp() {
1346 return (wxPyApp*)wxTheApp;
1347 }
1348
1349
1350
e811c8ce 1351 static const wxString wxPyPanelNameStr(wxPanelNameStr);
74a57fcd
RD
1352wxVisualAttributes *new_wxVisualAttributes(){ return new wxVisualAttributes; }
1353void delete_wxVisualAttributes(wxVisualAttributes *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
994141e6 1459
15afbcd0
RD
1460#include <float.h>
1461
994141e6 1462SWIGSTATIC(float)
15afbcd0
RD
1463SWIG_FloatCast(double value)
1464{
1465 float f = 0;
1466 if (!PyErr_Occurred()) {
1467 if (value < FLT_MIN) {
1468 PyObject *err =
1469 PyString_FromFormat("value %g is less than float minimum %g",
1470 value, FLT_MIN);
1471 PyErr_SetObject(PyExc_OverflowError, err);
1472 Py_DECREF(err);
1473 } else if (value > FLT_MAX) {
1474 PyObject *err =
1475 PyString_FromFormat("value %g is greater than float maximum %g",
1476 value, FLT_MAX);
1477 PyErr_SetObject(PyExc_OverflowError, err);
1478 Py_DECREF(err);
1479 } else {
1480 f = swig_numeric_cast(float, value);
1481 }
1482 }
1483 return f;
1484}
1485
1486
1487SWIGSTATICINLINE(float)
1488SWIG_AsFloat(PyObject *obj)
994141e6 1489{
15afbcd0
RD
1490 return SWIG_FloatCast(SWIG_AsDouble(obj));
1491}
1492
1493
1494SWIGSTATICINLINE(int)
1495SWIG_CheckFloat(PyObject* obj)
1496{
1497 SWIG_AsFloat(obj);
1498 if (PyErr_Occurred()) {
1499 PyErr_Clear();
1500 return 0;
1501 } else {
1502 return 1;
1503 }
994141e6
RD
1504}
1505
d14a1e28
RD
1506PyObject *wxSizerItem_GetUserData(wxSizerItem *self){
1507 wxPyUserData* data = (wxPyUserData*)self->GetUserData();
1508 if (data) {
1509 Py_INCREF(data->m_obj);
1510 return data->m_obj;
1511 } else {
1512 Py_INCREF(Py_None);
1513 return Py_None;
1514 }
1515 }
1516
1517// Figure out the type of the sizer item
1518
1519struct wxPySizerItemInfo {
1520 wxPySizerItemInfo()
e811c8ce
RD
1521 : window(NULL), sizer(NULL), gotSize(False),
1522 size(wxDefaultSize), gotPos(False), pos(-1)
d14a1e28
RD
1523 {}
1524
1525 wxWindow* window;
1526 wxSizer* sizer;
1527 bool gotSize;
1528 wxSize size;
1529 bool gotPos;
1530 int pos;
1531};
1532
1533static wxPySizerItemInfo wxPySizerItemTypeHelper(PyObject* item, bool checkSize, bool checkIdx ) {
1534
1535 wxPySizerItemInfo info;
1536 wxSize size;
1537 wxSize* sizePtr = &size;
1538
1539 // Find out what the type of the item is
1540 // try wxWindow
1541 if ( ! wxPyConvertSwigPtr(item, (void**)&info.window, wxT("wxWindow")) ) {
1542 PyErr_Clear();
1543 info.window = NULL;
1544
1545 // try wxSizer
1546 if ( ! wxPyConvertSwigPtr(item, (void**)&info.sizer, wxT("wxSizer")) ) {
1547 PyErr_Clear();
1548 info.sizer = NULL;
1549
1550 // try wxSize or (w,h)
1551 if ( checkSize && wxSize_helper(item, &sizePtr)) {
1552 info.size = *sizePtr;
e811c8ce 1553 info.gotSize = True;
d14a1e28
RD
1554 }
1555
1556 // or a single int
1557 if (checkIdx && PyInt_Check(item)) {
1558 info.pos = PyInt_AsLong(item);
e811c8ce 1559 info.gotPos = True;
d14a1e28
RD
1560 }
1561 }
1562 }
1563
1564 if ( !(info.window || info.sizer || (checkSize && info.gotSize) || (checkIdx && info.gotPos)) ) {
1565 // no expected type, figure out what kind of error message to generate
1566 if ( !checkSize && !checkIdx )
1567 PyErr_SetString(PyExc_TypeError, "wxWindow or wxSizer expected for item");
1568 else if ( checkSize && !checkIdx )
1569 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1570 else if ( !checkSize && checkIdx)
1571 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer or int (position) expected for item");
1572 else
1573 // can this one happen?
1574 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1575 }
1576
1577 return info;
1578}
1579
1580void wxSizer__setOORInfo(wxSizer *self,PyObject *_self){
1581 self->SetClientObject(new wxPyOORClientData(_self));
1582 }
1583void wxSizer_Add(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1584
1585 wxPyUserData* data = NULL;
4f89f6a3 1586 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1587 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1588 if ( userData && (info.window || info.sizer || info.gotSize) )
1589 data = new wxPyUserData(userData);
4f89f6a3 1590 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1591
1592 // Now call the real Add method if a valid item type was found
1593 if ( info.window )
1594 self->Add(info.window, proportion, flag, border, data);
1595 else if ( info.sizer )
1596 self->Add(info.sizer, proportion, flag, border, data);
1597 else if (info.gotSize)
1598 self->Add(info.size.GetWidth(), info.size.GetHeight(),
1599 proportion, flag, border, data);
1600 }
1601void wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1602
1603 wxPyUserData* data = NULL;
4f89f6a3 1604 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1605 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1606 if ( userData && (info.window || info.sizer || info.gotSize) )
1607 data = new wxPyUserData(userData);
4f89f6a3 1608 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1609
1610 // Now call the real Insert method if a valid item type was found
1611 if ( info.window )
1612 self->Insert(before, info.window, proportion, flag, border, data);
1613 else if ( info.sizer )
1614 self->Insert(before, info.sizer, proportion, flag, border, data);
1615 else if (info.gotSize)
1616 self->Insert(before, info.size.GetWidth(), info.size.GetHeight(),
1617 proportion, flag, border, data);
1618 }
1619void wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1620
1621 wxPyUserData* data = NULL;
4f89f6a3 1622 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1623 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1624 if ( userData && (info.window || info.sizer || info.gotSize) )
1625 data = new wxPyUserData(userData);
4f89f6a3 1626 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1627
1628 // Now call the real Prepend method if a valid item type was found
1629 if ( info.window )
1630 self->Prepend(info.window, proportion, flag, border, data);
1631 else if ( info.sizer )
1632 self->Prepend(info.sizer, proportion, flag, border, data);
1633 else if (info.gotSize)
1634 self->Prepend(info.size.GetWidth(), info.size.GetHeight(),
1635 proportion, flag, border, data);
1636 }
1637bool wxSizer_Remove(wxSizer *self,PyObject *item){
4f89f6a3 1638 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1639 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
4f89f6a3 1640 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1641 if ( info.window )
1642 return self->Remove(info.window);
1643 else if ( info.sizer )
1644 return self->Remove(info.sizer);
1645 else if ( info.gotPos )
1646 return self->Remove(info.pos);
1647 else
e811c8ce 1648 return False;
d14a1e28 1649 }
e811c8ce 1650void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){
4f89f6a3 1651 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1652 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
4f89f6a3 1653 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1654 if ( info.window )
1655 self->SetItemMinSize(info.window, size);
1656 else if ( info.sizer )
1657 self->SetItemMinSize(info.sizer, size);
1658 else if ( info.gotPos )
1659 self->SetItemMinSize(info.pos, size);
1660 }
1661PyObject *wxSizer_GetChildren(wxSizer *self){
1662 wxSizerItemList& list = self->GetChildren();
1663 return wxPy_ConvertList(&list);
1664 }
1665void wxSizer_Show(wxSizer *self,PyObject *item,bool show){
e811c8ce 1666 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d14a1e28
RD
1667 if ( info.window )
1668 self->Show(info.window, show);
1669 else if ( info.sizer )
1670 self->Show(info.sizer, show);
1671 }
1672void wxSizer_Hide(wxSizer *self,PyObject *item){
e811c8ce 1673 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d14a1e28
RD
1674 if ( info.window )
1675 self->Hide(info.window);
1676 else if ( info.sizer )
1677 self->Hide(info.sizer);
1678 }
1679bool wxSizer_IsShown(wxSizer *self,PyObject *item){
e811c8ce 1680 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d14a1e28
RD
1681 if ( info.window )
1682 return self->IsShown(info.window);
1683 else if ( info.sizer )
1684 return self->IsShown(info.sizer);
1685 else
e811c8ce 1686 return False;
d14a1e28
RD
1687 }
1688
1689// See pyclasses.h
1690IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
1691IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
1692IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
1693
1694
1695
1696
1697bool wxGBPosition_helper(PyObject* source, wxGBPosition** obj)
1698{
4f89f6a3
RD
1699 if (source == Py_None) {
1700 **obj = wxGBPosition(-1,-1);
1701 return True;
1702 }
d14a1e28
RD
1703 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBPosition"));
1704}
1705
1706bool wxGBSpan_helper(PyObject* source, wxGBSpan** obj)
1707{
4f89f6a3
RD
1708 if (source == Py_None) {
1709 **obj = wxGBSpan(-1,-1);
1710 return True;
1711 }
d14a1e28
RD
1712 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBSpan"));
1713}
1714
1715
e811c8ce
RD
1716void wxGBPosition_Set(wxGBPosition *self,int row,int col){
1717 self->SetRow(row);
1718 self->SetCol(col);
1719 }
1720PyObject *wxGBPosition_Get(wxGBPosition *self){
4f89f6a3 1721 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1722 PyObject* tup = PyTuple_New(2);
1723 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1724 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
4f89f6a3 1725 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1726 return tup;
1727 }
e811c8ce
RD
1728void wxGBSpan_Set(wxGBSpan *self,int rowspan,int colspan){
1729 self->SetRowspan(rowspan);
1730 self->SetColspan(colspan);
1731 }
1732PyObject *wxGBSpan_Get(wxGBSpan *self){
4f89f6a3 1733 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1734 PyObject* tup = PyTuple_New(2);
1735 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRowspan()));
1736 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetColspan()));
4f89f6a3 1737 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1738 return tup;
1739 }
1740bool wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1741
1742 wxPyUserData* data = NULL;
4f89f6a3 1743 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1744 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1745 if ( userData && (info.window || info.sizer || info.gotSize) )
1746 data = new wxPyUserData(userData);
4f89f6a3 1747 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1748
1749 // Now call the real Add method if a valid item type was found
1750 if ( info.window )
1751 return self->Add(info.window, pos, span, flag, border, data);
1752 else if ( info.sizer )
1753 return self->Add(info.sizer, pos, span, flag, border, data);
1754 else if (info.gotSize)
1755 return self->Add(info.size.GetWidth(), info.size.GetHeight(),
1756 pos, span, flag, border, data);
e811c8ce 1757 return False;
d14a1e28
RD
1758 }
1759
1760
1761#ifdef __cplusplus
1762extern "C" {
1763#endif
196addbf
RD
1764static int _wrap_EmptyString_set(PyObject *_val) {
1765 PyErr_SetString(PyExc_TypeError,"Variable EmptyString is read-only.");
1766 return 1;
1767}
1768
1769
1770static PyObject *_wrap_EmptyString_get() {
1771 PyObject *pyobj;
1772
1773 {
1774#if wxUSE_UNICODE
1775 pyobj = PyUnicode_FromWideChar((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1776#else
1777 pyobj = PyString_FromStringAndSize((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1778#endif
1779 }
1780 return pyobj;
1781}
1782
1783
d14a1e28
RD
1784static PyObject *_wrap_Object_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
1785 PyObject *resultobj;
1786 wxObject *arg1 = (wxObject *) 0 ;
1787 wxString result;
1788 PyObject * obj0 = 0 ;
1789 char *kwnames[] = {
1790 (char *) "self", NULL
1791 };
1792
1793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_GetClassName",kwnames,&obj0)) goto fail;
15afbcd0
RD
1794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
1795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1796 {
1797 PyThreadState* __tstate = wxPyBeginAllowThreads();
1798 result = wxObject_GetClassName(arg1);
1799
1800 wxPyEndAllowThreads(__tstate);
1801 if (PyErr_Occurred()) SWIG_fail;
1802 }
1803 {
1804#if wxUSE_UNICODE
1805 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1806#else
1807 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1808#endif
1809 }
1810 return resultobj;
1811 fail:
1812 return NULL;
1813}
1814
1815
1816static PyObject *_wrap_Object_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
1817 PyObject *resultobj;
1818 wxObject *arg1 = (wxObject *) 0 ;
1819 PyObject * obj0 = 0 ;
1820 char *kwnames[] = {
1821 (char *) "self", NULL
1822 };
1823
1824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
1825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
1826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1827 {
1828 PyThreadState* __tstate = wxPyBeginAllowThreads();
1829 wxObject_Destroy(arg1);
1830
1831 wxPyEndAllowThreads(__tstate);
1832 if (PyErr_Occurred()) SWIG_fail;
1833 }
1834 Py_INCREF(Py_None); resultobj = Py_None;
1835 return resultobj;
1836 fail:
1837 return NULL;
1838}
1839
1840
1841static PyObject * Object_swigregister(PyObject *self, PyObject *args) {
1842 PyObject *obj;
1843 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1844 SWIG_TypeClientData(SWIGTYPE_p_wxObject, obj);
1845 Py_INCREF(obj);
1846 return Py_BuildValue((char *)"");
1847}
1848static PyObject *_wrap_Size_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1849 PyObject *resultobj;
1850 wxSize *arg1 = (wxSize *) 0 ;
1851 int arg2 ;
1852 PyObject * obj0 = 0 ;
994141e6 1853 PyObject * obj1 = 0 ;
d14a1e28
RD
1854 char *kwnames[] = {
1855 (char *) "self",(char *) "x", NULL
1856 };
1857
994141e6 1858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_width_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1861 arg2 = (int) SWIG_AsInt(obj1);
1862 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1863 if (arg1) (arg1)->x = arg2;
1864
1865 Py_INCREF(Py_None); resultobj = Py_None;
1866 return resultobj;
1867 fail:
1868 return NULL;
1869}
1870
1871
1872static PyObject *_wrap_Size_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1873 PyObject *resultobj;
1874 wxSize *arg1 = (wxSize *) 0 ;
1875 int result;
1876 PyObject * obj0 = 0 ;
1877 char *kwnames[] = {
1878 (char *) "self", NULL
1879 };
1880
1881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_width_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
1882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1884 result = (int) ((arg1)->x);
1885
15afbcd0 1886 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1887 return resultobj;
1888 fail:
1889 return NULL;
1890}
1891
1892
1893static PyObject *_wrap_Size_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1894 PyObject *resultobj;
1895 wxSize *arg1 = (wxSize *) 0 ;
1896 int arg2 ;
1897 PyObject * obj0 = 0 ;
994141e6 1898 PyObject * obj1 = 0 ;
d14a1e28
RD
1899 char *kwnames[] = {
1900 (char *) "self",(char *) "y", NULL
1901 };
1902
994141e6 1903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_height_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1906 arg2 = (int) SWIG_AsInt(obj1);
1907 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1908 if (arg1) (arg1)->y = arg2;
1909
1910 Py_INCREF(Py_None); resultobj = Py_None;
1911 return resultobj;
1912 fail:
1913 return NULL;
1914}
1915
1916
1917static PyObject *_wrap_Size_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1918 PyObject *resultobj;
1919 wxSize *arg1 = (wxSize *) 0 ;
1920 int result;
1921 PyObject * obj0 = 0 ;
1922 char *kwnames[] = {
1923 (char *) "self", NULL
1924 };
1925
1926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_height_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
1927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1929 result = (int) ((arg1)->y);
1930
15afbcd0 1931 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1932 return resultobj;
1933 fail:
1934 return NULL;
1935}
1936
1937
1938static PyObject *_wrap_new_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
1939 PyObject *resultobj;
1940 int arg1 = (int) 0 ;
1941 int arg2 = (int) 0 ;
1942 wxSize *result;
994141e6
RD
1943 PyObject * obj0 = 0 ;
1944 PyObject * obj1 = 0 ;
d14a1e28
RD
1945 char *kwnames[] = {
1946 (char *) "w",(char *) "h", NULL
1947 };
1948
994141e6
RD
1949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Size",kwnames,&obj0,&obj1)) goto fail;
1950 if (obj0) {
15afbcd0
RD
1951 arg1 = (int) SWIG_AsInt(obj0);
1952 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
1953 }
1954 if (obj1) {
15afbcd0
RD
1955 arg2 = (int) SWIG_AsInt(obj1);
1956 if (PyErr_Occurred()) SWIG_fail;
994141e6 1957 }
d14a1e28
RD
1958 {
1959 PyThreadState* __tstate = wxPyBeginAllowThreads();
1960 result = (wxSize *)new wxSize(arg1,arg2);
1961
1962 wxPyEndAllowThreads(__tstate);
1963 if (PyErr_Occurred()) SWIG_fail;
1964 }
15afbcd0 1965 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
1966 return resultobj;
1967 fail:
1968 return NULL;
1969}
1970
1971
1972static PyObject *_wrap_delete_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
1973 PyObject *resultobj;
1974 wxSize *arg1 = (wxSize *) 0 ;
1975 PyObject * obj0 = 0 ;
1976 char *kwnames[] = {
1977 (char *) "self", NULL
1978 };
1979
1980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Size",kwnames,&obj0)) goto fail;
15afbcd0
RD
1981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1983 {
1984 PyThreadState* __tstate = wxPyBeginAllowThreads();
1985 delete arg1;
1986
1987 wxPyEndAllowThreads(__tstate);
1988 if (PyErr_Occurred()) SWIG_fail;
1989 }
1990 Py_INCREF(Py_None); resultobj = Py_None;
1991 return resultobj;
1992 fail:
1993 return NULL;
1994}
1995
1996
1997static PyObject *_wrap_Size___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
1998 PyObject *resultobj;
1999 wxSize *arg1 = (wxSize *) 0 ;
2000 wxSize *arg2 = 0 ;
2001 bool result;
2002 wxSize temp2 ;
2003 PyObject * obj0 = 0 ;
2004 PyObject * obj1 = 0 ;
2005 char *kwnames[] = {
2006 (char *) "self",(char *) "sz", NULL
2007 };
2008
2009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2012 {
2013 arg2 = &temp2;
2014 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2015 }
2016 {
2017 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2018 result = (bool)(arg1)->operator ==((wxSize const &)*arg2);
d14a1e28
RD
2019
2020 wxPyEndAllowThreads(__tstate);
2021 if (PyErr_Occurred()) SWIG_fail;
2022 }
4f89f6a3
RD
2023 {
2024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2025 }
d14a1e28
RD
2026 return resultobj;
2027 fail:
2028 return NULL;
2029}
2030
2031
2032static PyObject *_wrap_Size___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2033 PyObject *resultobj;
2034 wxSize *arg1 = (wxSize *) 0 ;
2035 wxSize *arg2 = 0 ;
2036 bool result;
2037 wxSize temp2 ;
2038 PyObject * obj0 = 0 ;
2039 PyObject * obj1 = 0 ;
2040 char *kwnames[] = {
2041 (char *) "self",(char *) "sz", NULL
2042 };
2043
2044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2047 {
2048 arg2 = &temp2;
2049 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2050 }
2051 {
2052 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2053 result = (bool)(arg1)->operator !=((wxSize const &)*arg2);
d14a1e28
RD
2054
2055 wxPyEndAllowThreads(__tstate);
2056 if (PyErr_Occurred()) SWIG_fail;
2057 }
4f89f6a3
RD
2058 {
2059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2060 }
d14a1e28
RD
2061 return resultobj;
2062 fail:
2063 return NULL;
2064}
2065
2066
2067static PyObject *_wrap_Size___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2068 PyObject *resultobj;
2069 wxSize *arg1 = (wxSize *) 0 ;
2070 wxSize *arg2 = 0 ;
2071 wxSize result;
2072 wxSize temp2 ;
2073 PyObject * obj0 = 0 ;
2074 PyObject * obj1 = 0 ;
2075 char *kwnames[] = {
2076 (char *) "self",(char *) "sz", NULL
2077 };
2078
2079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2082 {
2083 arg2 = &temp2;
2084 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2085 }
2086 {
2087 PyThreadState* __tstate = wxPyBeginAllowThreads();
2088 result = (arg1)->operator +((wxSize const &)*arg2);
2089
2090 wxPyEndAllowThreads(__tstate);
2091 if (PyErr_Occurred()) SWIG_fail;
2092 }
2093 {
2094 wxSize * resultptr;
2095 resultptr = new wxSize((wxSize &) result);
15afbcd0 2096 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2097 }
2098 return resultobj;
2099 fail:
2100 return NULL;
2101}
2102
2103
2104static PyObject *_wrap_Size___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2105 PyObject *resultobj;
2106 wxSize *arg1 = (wxSize *) 0 ;
2107 wxSize *arg2 = 0 ;
2108 wxSize result;
2109 wxSize temp2 ;
2110 PyObject * obj0 = 0 ;
2111 PyObject * obj1 = 0 ;
2112 char *kwnames[] = {
2113 (char *) "self",(char *) "sz", NULL
2114 };
2115
2116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___sub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2119 {
2120 arg2 = &temp2;
2121 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2122 }
2123 {
2124 PyThreadState* __tstate = wxPyBeginAllowThreads();
2125 result = (arg1)->operator -((wxSize const &)*arg2);
2126
2127 wxPyEndAllowThreads(__tstate);
2128 if (PyErr_Occurred()) SWIG_fail;
2129 }
2130 {
2131 wxSize * resultptr;
2132 resultptr = new wxSize((wxSize &) result);
15afbcd0 2133 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2134 }
2135 return resultobj;
2136 fail:
2137 return NULL;
2138}
2139
2140
2141static PyObject *_wrap_Size_IncTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2142 PyObject *resultobj;
2143 wxSize *arg1 = (wxSize *) 0 ;
2144 wxSize *arg2 = 0 ;
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_IncTo",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 (arg1)->IncTo((wxSize const &)*arg2);
2162
2163 wxPyEndAllowThreads(__tstate);
2164 if (PyErr_Occurred()) SWIG_fail;
2165 }
2166 Py_INCREF(Py_None); resultobj = Py_None;
2167 return resultobj;
2168 fail:
2169 return NULL;
2170}
2171
2172
2173static PyObject *_wrap_Size_DecTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2174 PyObject *resultobj;
2175 wxSize *arg1 = (wxSize *) 0 ;
2176 wxSize *arg2 = 0 ;
2177 wxSize temp2 ;
2178 PyObject * obj0 = 0 ;
2179 PyObject * obj1 = 0 ;
2180 char *kwnames[] = {
2181 (char *) "self",(char *) "sz", NULL
2182 };
2183
2184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_DecTo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2187 {
2188 arg2 = &temp2;
2189 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2190 }
2191 {
2192 PyThreadState* __tstate = wxPyBeginAllowThreads();
2193 (arg1)->DecTo((wxSize const &)*arg2);
2194
2195 wxPyEndAllowThreads(__tstate);
2196 if (PyErr_Occurred()) SWIG_fail;
2197 }
2198 Py_INCREF(Py_None); resultobj = Py_None;
2199 return resultobj;
2200 fail:
2201 return NULL;
2202}
2203
2204
2205static PyObject *_wrap_Size_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2206 PyObject *resultobj;
2207 wxSize *arg1 = (wxSize *) 0 ;
2208 int arg2 ;
2209 int arg3 ;
2210 PyObject * obj0 = 0 ;
994141e6
RD
2211 PyObject * obj1 = 0 ;
2212 PyObject * obj2 = 0 ;
d14a1e28 2213 char *kwnames[] = {
e811c8ce 2214 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
2215 };
2216
994141e6 2217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Size_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2220 arg2 = (int) SWIG_AsInt(obj1);
2221 if (PyErr_Occurred()) SWIG_fail;
2222 arg3 = (int) SWIG_AsInt(obj2);
2223 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2224 {
2225 PyThreadState* __tstate = wxPyBeginAllowThreads();
2226 (arg1)->Set(arg2,arg3);
2227
2228 wxPyEndAllowThreads(__tstate);
2229 if (PyErr_Occurred()) SWIG_fail;
2230 }
2231 Py_INCREF(Py_None); resultobj = Py_None;
2232 return resultobj;
2233 fail:
2234 return NULL;
2235}
2236
2237
2238static PyObject *_wrap_Size_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2239 PyObject *resultobj;
2240 wxSize *arg1 = (wxSize *) 0 ;
2241 int arg2 ;
2242 PyObject * obj0 = 0 ;
994141e6 2243 PyObject * obj1 = 0 ;
d14a1e28
RD
2244 char *kwnames[] = {
2245 (char *) "self",(char *) "w", NULL
2246 };
2247
994141e6 2248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2251 arg2 = (int) SWIG_AsInt(obj1);
2252 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2253 {
2254 PyThreadState* __tstate = wxPyBeginAllowThreads();
2255 (arg1)->SetWidth(arg2);
2256
2257 wxPyEndAllowThreads(__tstate);
2258 if (PyErr_Occurred()) SWIG_fail;
2259 }
2260 Py_INCREF(Py_None); resultobj = Py_None;
2261 return resultobj;
2262 fail:
2263 return NULL;
2264}
2265
2266
2267static PyObject *_wrap_Size_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2268 PyObject *resultobj;
2269 wxSize *arg1 = (wxSize *) 0 ;
2270 int arg2 ;
2271 PyObject * obj0 = 0 ;
994141e6 2272 PyObject * obj1 = 0 ;
d14a1e28
RD
2273 char *kwnames[] = {
2274 (char *) "self",(char *) "h", NULL
2275 };
2276
994141e6 2277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2280 arg2 = (int) SWIG_AsInt(obj1);
2281 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2282 {
2283 PyThreadState* __tstate = wxPyBeginAllowThreads();
2284 (arg1)->SetHeight(arg2);
2285
2286 wxPyEndAllowThreads(__tstate);
2287 if (PyErr_Occurred()) SWIG_fail;
2288 }
2289 Py_INCREF(Py_None); resultobj = Py_None;
2290 return resultobj;
2291 fail:
2292 return NULL;
2293}
2294
2295
2296static PyObject *_wrap_Size_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2297 PyObject *resultobj;
2298 wxSize *arg1 = (wxSize *) 0 ;
2299 int result;
2300 PyObject * obj0 = 0 ;
2301 char *kwnames[] = {
2302 (char *) "self", NULL
2303 };
2304
2305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
2306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2308 {
2309 PyThreadState* __tstate = wxPyBeginAllowThreads();
2310 result = (int)((wxSize const *)arg1)->GetWidth();
2311
2312 wxPyEndAllowThreads(__tstate);
2313 if (PyErr_Occurred()) SWIG_fail;
2314 }
15afbcd0 2315 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2316 return resultobj;
2317 fail:
2318 return NULL;
2319}
2320
2321
2322static PyObject *_wrap_Size_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2323 PyObject *resultobj;
2324 wxSize *arg1 = (wxSize *) 0 ;
2325 int result;
2326 PyObject * obj0 = 0 ;
2327 char *kwnames[] = {
2328 (char *) "self", NULL
2329 };
2330
2331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
2332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2334 {
2335 PyThreadState* __tstate = wxPyBeginAllowThreads();
2336 result = (int)((wxSize const *)arg1)->GetHeight();
2337
2338 wxPyEndAllowThreads(__tstate);
2339 if (PyErr_Occurred()) SWIG_fail;
2340 }
15afbcd0 2341 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2342 return resultobj;
2343 fail:
2344 return NULL;
2345}
2346
2347
74a57fcd
RD
2348static PyObject *_wrap_Size_IsFullySpecified(PyObject *self, PyObject *args, PyObject *kwargs) {
2349 PyObject *resultobj;
2350 wxSize *arg1 = (wxSize *) 0 ;
2351 bool result;
2352 PyObject * obj0 = 0 ;
2353 char *kwnames[] = {
2354 (char *) "self", NULL
2355 };
2356
2357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_IsFullySpecified",kwnames,&obj0)) goto fail;
2358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2360 {
2361 PyThreadState* __tstate = wxPyBeginAllowThreads();
2362 result = (bool)((wxSize const *)arg1)->IsFullySpecified();
2363
2364 wxPyEndAllowThreads(__tstate);
2365 if (PyErr_Occurred()) SWIG_fail;
2366 }
2367 {
2368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2369 }
2370 return resultobj;
2371 fail:
2372 return NULL;
2373}
2374
2375
2376static PyObject *_wrap_Size_SetDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
2377 PyObject *resultobj;
2378 wxSize *arg1 = (wxSize *) 0 ;
2379 wxSize *arg2 = 0 ;
2380 wxSize temp2 ;
2381 PyObject * obj0 = 0 ;
2382 PyObject * obj1 = 0 ;
2383 char *kwnames[] = {
2384 (char *) "self",(char *) "size", NULL
2385 };
2386
2387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetDefaults",kwnames,&obj0,&obj1)) goto fail;
2388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2390 {
2391 arg2 = &temp2;
2392 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2393 }
2394 {
2395 PyThreadState* __tstate = wxPyBeginAllowThreads();
2396 (arg1)->SetDefaults((wxSize const &)*arg2);
2397
2398 wxPyEndAllowThreads(__tstate);
2399 if (PyErr_Occurred()) SWIG_fail;
2400 }
2401 Py_INCREF(Py_None); resultobj = Py_None;
2402 return resultobj;
2403 fail:
2404 return NULL;
2405}
2406
2407
e811c8ce 2408static PyObject *_wrap_Size_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2409 PyObject *resultobj;
2410 wxSize *arg1 = (wxSize *) 0 ;
2411 PyObject *result;
2412 PyObject * obj0 = 0 ;
2413 char *kwnames[] = {
2414 (char *) "self", NULL
2415 };
2416
e811c8ce 2417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2420 {
2421 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2422 result = (PyObject *)wxSize_Get(arg1);
d14a1e28
RD
2423
2424 wxPyEndAllowThreads(__tstate);
2425 if (PyErr_Occurred()) SWIG_fail;
2426 }
2427 resultobj = result;
2428 return resultobj;
2429 fail:
2430 return NULL;
2431}
2432
2433
2434static PyObject * Size_swigregister(PyObject *self, PyObject *args) {
2435 PyObject *obj;
2436 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2437 SWIG_TypeClientData(SWIGTYPE_p_wxSize, obj);
2438 Py_INCREF(obj);
2439 return Py_BuildValue((char *)"");
2440}
2441static PyObject *_wrap_RealPoint_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2442 PyObject *resultobj;
2443 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2444 double arg2 ;
2445 PyObject * obj0 = 0 ;
994141e6 2446 PyObject * obj1 = 0 ;
d14a1e28
RD
2447 char *kwnames[] = {
2448 (char *) "self",(char *) "x", NULL
2449 };
2450
994141e6 2451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2454 arg2 = (double) SWIG_AsDouble(obj1);
2455 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2456 if (arg1) (arg1)->x = arg2;
2457
2458 Py_INCREF(Py_None); resultobj = Py_None;
2459 return resultobj;
2460 fail:
2461 return NULL;
2462}
2463
2464
2465static PyObject *_wrap_RealPoint_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2466 PyObject *resultobj;
2467 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2468 double result;
2469 PyObject * obj0 = 0 ;
2470 char *kwnames[] = {
2471 (char *) "self", NULL
2472 };
2473
2474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2477 result = (double) ((arg1)->x);
2478
15afbcd0 2479 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
2480 return resultobj;
2481 fail:
2482 return NULL;
2483}
2484
2485
2486static PyObject *_wrap_RealPoint_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2487 PyObject *resultobj;
2488 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2489 double arg2 ;
2490 PyObject * obj0 = 0 ;
994141e6 2491 PyObject * obj1 = 0 ;
d14a1e28
RD
2492 char *kwnames[] = {
2493 (char *) "self",(char *) "y", NULL
2494 };
2495
994141e6 2496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2499 arg2 = (double) SWIG_AsDouble(obj1);
2500 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2501 if (arg1) (arg1)->y = arg2;
2502
2503 Py_INCREF(Py_None); resultobj = Py_None;
2504 return resultobj;
2505 fail:
2506 return NULL;
2507}
2508
2509
2510static PyObject *_wrap_RealPoint_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2511 PyObject *resultobj;
2512 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2513 double result;
2514 PyObject * obj0 = 0 ;
2515 char *kwnames[] = {
2516 (char *) "self", NULL
2517 };
2518
2519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2522 result = (double) ((arg1)->y);
2523
15afbcd0 2524 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
2525 return resultobj;
2526 fail:
2527 return NULL;
2528}
2529
2530
2531static PyObject *_wrap_new_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2532 PyObject *resultobj;
2533 double arg1 = (double) 0.0 ;
2534 double arg2 = (double) 0.0 ;
2535 wxRealPoint *result;
994141e6
RD
2536 PyObject * obj0 = 0 ;
2537 PyObject * obj1 = 0 ;
d14a1e28
RD
2538 char *kwnames[] = {
2539 (char *) "x",(char *) "y", NULL
2540 };
2541
994141e6
RD
2542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RealPoint",kwnames,&obj0,&obj1)) goto fail;
2543 if (obj0) {
15afbcd0
RD
2544 arg1 = (double) SWIG_AsDouble(obj0);
2545 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
2546 }
2547 if (obj1) {
15afbcd0
RD
2548 arg2 = (double) SWIG_AsDouble(obj1);
2549 if (PyErr_Occurred()) SWIG_fail;
994141e6 2550 }
d14a1e28
RD
2551 {
2552 PyThreadState* __tstate = wxPyBeginAllowThreads();
2553 result = (wxRealPoint *)new wxRealPoint(arg1,arg2);
2554
2555 wxPyEndAllowThreads(__tstate);
2556 if (PyErr_Occurred()) SWIG_fail;
2557 }
15afbcd0 2558 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRealPoint, 1);
d14a1e28
RD
2559 return resultobj;
2560 fail:
2561 return NULL;
2562}
2563
2564
2565static PyObject *_wrap_delete_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2566 PyObject *resultobj;
2567 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2568 PyObject * obj0 = 0 ;
2569 char *kwnames[] = {
2570 (char *) "self", NULL
2571 };
2572
2573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RealPoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
2574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2576 {
2577 PyThreadState* __tstate = wxPyBeginAllowThreads();
2578 delete arg1;
2579
2580 wxPyEndAllowThreads(__tstate);
2581 if (PyErr_Occurred()) SWIG_fail;
2582 }
2583 Py_INCREF(Py_None); resultobj = Py_None;
2584 return resultobj;
2585 fail:
2586 return NULL;
2587}
2588
2589
e811c8ce 2590static PyObject *_wrap_RealPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2591 PyObject *resultobj;
2592 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2593 wxRealPoint *arg2 = 0 ;
e811c8ce 2594 bool result;
d14a1e28
RD
2595 wxRealPoint temp2 ;
2596 PyObject * obj0 = 0 ;
2597 PyObject * obj1 = 0 ;
2598 char *kwnames[] = {
2599 (char *) "self",(char *) "pt", NULL
2600 };
2601
e811c8ce 2602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2605 {
2606 arg2 = &temp2;
2607 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2608 }
2609 {
2610 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2611 result = (bool)(arg1)->operator ==((wxRealPoint const &)*arg2);
d14a1e28
RD
2612
2613 wxPyEndAllowThreads(__tstate);
2614 if (PyErr_Occurred()) SWIG_fail;
2615 }
4f89f6a3
RD
2616 {
2617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2618 }
d14a1e28
RD
2619 return resultobj;
2620 fail:
2621 return NULL;
2622}
2623
2624
e811c8ce 2625static PyObject *_wrap_RealPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2626 PyObject *resultobj;
2627 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2628 wxRealPoint *arg2 = 0 ;
e811c8ce 2629 bool result;
d14a1e28
RD
2630 wxRealPoint temp2 ;
2631 PyObject * obj0 = 0 ;
2632 PyObject * obj1 = 0 ;
2633 char *kwnames[] = {
2634 (char *) "self",(char *) "pt", NULL
2635 };
2636
e811c8ce 2637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2640 {
2641 arg2 = &temp2;
2642 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2643 }
2644 {
2645 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2646 result = (bool)(arg1)->operator !=((wxRealPoint const &)*arg2);
d14a1e28
RD
2647
2648 wxPyEndAllowThreads(__tstate);
2649 if (PyErr_Occurred()) SWIG_fail;
2650 }
4f89f6a3
RD
2651 {
2652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2653 }
d14a1e28
RD
2654 return resultobj;
2655 fail:
2656 return NULL;
2657}
2658
2659
e811c8ce 2660static PyObject *_wrap_RealPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2661 PyObject *resultobj;
2662 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2663 wxRealPoint *arg2 = 0 ;
e811c8ce 2664 wxRealPoint result;
d14a1e28
RD
2665 wxRealPoint temp2 ;
2666 PyObject * obj0 = 0 ;
2667 PyObject * obj1 = 0 ;
2668 char *kwnames[] = {
2669 (char *) "self",(char *) "pt", NULL
2670 };
2671
e811c8ce 2672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2675 {
2676 arg2 = &temp2;
2677 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2678 }
2679 {
2680 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2681 result = (arg1)->operator +((wxRealPoint const &)*arg2);
d14a1e28
RD
2682
2683 wxPyEndAllowThreads(__tstate);
2684 if (PyErr_Occurred()) SWIG_fail;
2685 }
e811c8ce
RD
2686 {
2687 wxRealPoint * resultptr;
2688 resultptr = new wxRealPoint((wxRealPoint &) result);
15afbcd0 2689 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
e811c8ce 2690 }
d14a1e28
RD
2691 return resultobj;
2692 fail:
2693 return NULL;
2694}
2695
2696
e811c8ce 2697static PyObject *_wrap_RealPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2698 PyObject *resultobj;
2699 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2700 wxRealPoint *arg2 = 0 ;
e811c8ce 2701 wxRealPoint result;
d14a1e28
RD
2702 wxRealPoint temp2 ;
2703 PyObject * obj0 = 0 ;
2704 PyObject * obj1 = 0 ;
2705 char *kwnames[] = {
2706 (char *) "self",(char *) "pt", NULL
2707 };
2708
e811c8ce 2709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2712 {
2713 arg2 = &temp2;
2714 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2715 }
2716 {
2717 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2718 result = (arg1)->operator -((wxRealPoint const &)*arg2);
d14a1e28
RD
2719
2720 wxPyEndAllowThreads(__tstate);
2721 if (PyErr_Occurred()) SWIG_fail;
2722 }
e811c8ce
RD
2723 {
2724 wxRealPoint * resultptr;
2725 resultptr = new wxRealPoint((wxRealPoint &) result);
15afbcd0 2726 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
e811c8ce 2727 }
d14a1e28
RD
2728 return resultobj;
2729 fail:
2730 return NULL;
2731}
2732
2733
2734static PyObject *_wrap_RealPoint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2735 PyObject *resultobj;
2736 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2737 double arg2 ;
2738 double arg3 ;
2739 PyObject * obj0 = 0 ;
994141e6
RD
2740 PyObject * obj1 = 0 ;
2741 PyObject * obj2 = 0 ;
d14a1e28
RD
2742 char *kwnames[] = {
2743 (char *) "self",(char *) "x",(char *) "y", NULL
2744 };
2745
994141e6 2746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RealPoint_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2749 arg2 = (double) SWIG_AsDouble(obj1);
2750 if (PyErr_Occurred()) SWIG_fail;
2751 arg3 = (double) SWIG_AsDouble(obj2);
2752 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2753 {
2754 PyThreadState* __tstate = wxPyBeginAllowThreads();
2755 wxRealPoint_Set(arg1,arg2,arg3);
2756
2757 wxPyEndAllowThreads(__tstate);
2758 if (PyErr_Occurred()) SWIG_fail;
2759 }
2760 Py_INCREF(Py_None); resultobj = Py_None;
2761 return resultobj;
2762 fail:
2763 return NULL;
2764}
2765
2766
e811c8ce 2767static PyObject *_wrap_RealPoint_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2768 PyObject *resultobj;
2769 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2770 PyObject *result;
2771 PyObject * obj0 = 0 ;
2772 char *kwnames[] = {
2773 (char *) "self", NULL
2774 };
2775
e811c8ce 2776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2779 {
2780 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2781 result = (PyObject *)wxRealPoint_Get(arg1);
d14a1e28
RD
2782
2783 wxPyEndAllowThreads(__tstate);
2784 if (PyErr_Occurred()) SWIG_fail;
2785 }
2786 resultobj = result;
2787 return resultobj;
2788 fail:
2789 return NULL;
2790}
2791
2792
2793static PyObject * RealPoint_swigregister(PyObject *self, PyObject *args) {
2794 PyObject *obj;
2795 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2796 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint, obj);
2797 Py_INCREF(obj);
2798 return Py_BuildValue((char *)"");
2799}
2800static PyObject *_wrap_Point_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2801 PyObject *resultobj;
2802 wxPoint *arg1 = (wxPoint *) 0 ;
2803 int arg2 ;
2804 PyObject * obj0 = 0 ;
994141e6 2805 PyObject * obj1 = 0 ;
d14a1e28
RD
2806 char *kwnames[] = {
2807 (char *) "self",(char *) "x", NULL
2808 };
2809
994141e6 2810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2813 arg2 = (int) SWIG_AsInt(obj1);
2814 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2815 if (arg1) (arg1)->x = arg2;
2816
2817 Py_INCREF(Py_None); resultobj = Py_None;
2818 return resultobj;
2819 fail:
2820 return NULL;
2821}
2822
2823
2824static PyObject *_wrap_Point_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2825 PyObject *resultobj;
2826 wxPoint *arg1 = (wxPoint *) 0 ;
2827 int result;
2828 PyObject * obj0 = 0 ;
2829 char *kwnames[] = {
2830 (char *) "self", NULL
2831 };
2832
2833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2836 result = (int) ((arg1)->x);
2837
15afbcd0 2838 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2839 return resultobj;
2840 fail:
2841 return NULL;
2842}
2843
2844
2845static PyObject *_wrap_Point_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2846 PyObject *resultobj;
2847 wxPoint *arg1 = (wxPoint *) 0 ;
2848 int arg2 ;
2849 PyObject * obj0 = 0 ;
994141e6 2850 PyObject * obj1 = 0 ;
d14a1e28
RD
2851 char *kwnames[] = {
2852 (char *) "self",(char *) "y", NULL
2853 };
2854
994141e6 2855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2858 arg2 = (int) SWIG_AsInt(obj1);
2859 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2860 if (arg1) (arg1)->y = arg2;
2861
2862 Py_INCREF(Py_None); resultobj = Py_None;
2863 return resultobj;
2864 fail:
2865 return NULL;
2866}
2867
2868
2869static PyObject *_wrap_Point_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2870 PyObject *resultobj;
2871 wxPoint *arg1 = (wxPoint *) 0 ;
2872 int result;
2873 PyObject * obj0 = 0 ;
2874 char *kwnames[] = {
2875 (char *) "self", NULL
2876 };
2877
2878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2881 result = (int) ((arg1)->y);
2882
15afbcd0 2883 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2884 return resultobj;
2885 fail:
2886 return NULL;
2887}
2888
2889
2890static PyObject *_wrap_new_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2891 PyObject *resultobj;
2892 int arg1 = (int) 0 ;
2893 int arg2 = (int) 0 ;
2894 wxPoint *result;
994141e6
RD
2895 PyObject * obj0 = 0 ;
2896 PyObject * obj1 = 0 ;
d14a1e28
RD
2897 char *kwnames[] = {
2898 (char *) "x",(char *) "y", NULL
2899 };
2900
994141e6
RD
2901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point",kwnames,&obj0,&obj1)) goto fail;
2902 if (obj0) {
15afbcd0
RD
2903 arg1 = (int) SWIG_AsInt(obj0);
2904 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
2905 }
2906 if (obj1) {
15afbcd0
RD
2907 arg2 = (int) SWIG_AsInt(obj1);
2908 if (PyErr_Occurred()) SWIG_fail;
994141e6 2909 }
d14a1e28
RD
2910 {
2911 PyThreadState* __tstate = wxPyBeginAllowThreads();
2912 result = (wxPoint *)new wxPoint(arg1,arg2);
2913
2914 wxPyEndAllowThreads(__tstate);
2915 if (PyErr_Occurred()) SWIG_fail;
2916 }
15afbcd0 2917 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
2918 return resultobj;
2919 fail:
2920 return NULL;
2921}
2922
2923
2924static PyObject *_wrap_delete_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2925 PyObject *resultobj;
2926 wxPoint *arg1 = (wxPoint *) 0 ;
2927 PyObject * obj0 = 0 ;
2928 char *kwnames[] = {
2929 (char *) "self", NULL
2930 };
2931
2932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Point",kwnames,&obj0)) goto fail;
15afbcd0
RD
2933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2935 {
2936 PyThreadState* __tstate = wxPyBeginAllowThreads();
2937 delete arg1;
2938
2939 wxPyEndAllowThreads(__tstate);
2940 if (PyErr_Occurred()) SWIG_fail;
2941 }
2942 Py_INCREF(Py_None); resultobj = Py_None;
2943 return resultobj;
2944 fail:
2945 return NULL;
2946}
2947
2948
2949static PyObject *_wrap_Point___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
2950 PyObject *resultobj;
2951 wxPoint *arg1 = (wxPoint *) 0 ;
2952 wxPoint *arg2 = 0 ;
2953 bool result;
2954 wxPoint temp2 ;
2955 PyObject * obj0 = 0 ;
2956 PyObject * obj1 = 0 ;
2957 char *kwnames[] = {
e811c8ce 2958 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2959 };
2960
2961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2964 {
2965 arg2 = &temp2;
2966 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2967 }
2968 {
2969 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2970 result = (bool)(arg1)->operator ==((wxPoint const &)*arg2);
d14a1e28
RD
2971
2972 wxPyEndAllowThreads(__tstate);
2973 if (PyErr_Occurred()) SWIG_fail;
2974 }
4f89f6a3
RD
2975 {
2976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2977 }
d14a1e28
RD
2978 return resultobj;
2979 fail:
2980 return NULL;
2981}
2982
2983
2984static PyObject *_wrap_Point___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2985 PyObject *resultobj;
2986 wxPoint *arg1 = (wxPoint *) 0 ;
2987 wxPoint *arg2 = 0 ;
2988 bool result;
2989 wxPoint temp2 ;
2990 PyObject * obj0 = 0 ;
2991 PyObject * obj1 = 0 ;
2992 char *kwnames[] = {
e811c8ce 2993 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2994 };
2995
2996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2999 {
3000 arg2 = &temp2;
3001 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3002 }
3003 {
3004 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3005 result = (bool)(arg1)->operator !=((wxPoint const &)*arg2);
d14a1e28
RD
3006
3007 wxPyEndAllowThreads(__tstate);
3008 if (PyErr_Occurred()) SWIG_fail;
3009 }
4f89f6a3
RD
3010 {
3011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3012 }
d14a1e28
RD
3013 return resultobj;
3014 fail:
3015 return NULL;
3016}
3017
3018
3019static PyObject *_wrap_Point___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
3020 PyObject *resultobj;
3021 wxPoint *arg1 = (wxPoint *) 0 ;
3022 wxPoint *arg2 = 0 ;
3023 wxPoint result;
3024 wxPoint temp2 ;
3025 PyObject * obj0 = 0 ;
3026 PyObject * obj1 = 0 ;
3027 char *kwnames[] = {
e811c8ce 3028 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3029 };
3030
3031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3034 {
3035 arg2 = &temp2;
3036 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3037 }
3038 {
3039 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3040 result = (arg1)->operator +((wxPoint const &)*arg2);
d14a1e28
RD
3041
3042 wxPyEndAllowThreads(__tstate);
3043 if (PyErr_Occurred()) SWIG_fail;
3044 }
3045 {
3046 wxPoint * resultptr;
3047 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3048 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3049 }
3050 return resultobj;
3051 fail:
3052 return NULL;
3053}
3054
3055
3056static PyObject *_wrap_Point___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
3057 PyObject *resultobj;
3058 wxPoint *arg1 = (wxPoint *) 0 ;
3059 wxPoint *arg2 = 0 ;
3060 wxPoint result;
3061 wxPoint temp2 ;
3062 PyObject * obj0 = 0 ;
3063 PyObject * obj1 = 0 ;
3064 char *kwnames[] = {
e811c8ce 3065 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3066 };
3067
3068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3071 {
3072 arg2 = &temp2;
3073 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3074 }
3075 {
3076 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3077 result = (arg1)->operator -((wxPoint const &)*arg2);
d14a1e28
RD
3078
3079 wxPyEndAllowThreads(__tstate);
3080 if (PyErr_Occurred()) SWIG_fail;
3081 }
3082 {
3083 wxPoint * resultptr;
3084 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3085 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3086 }
3087 return resultobj;
3088 fail:
3089 return NULL;
3090}
3091
3092
3093static PyObject *_wrap_Point___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
3094 PyObject *resultobj;
3095 wxPoint *arg1 = (wxPoint *) 0 ;
3096 wxPoint *arg2 = 0 ;
3097 wxPoint *result;
3098 wxPoint temp2 ;
3099 PyObject * obj0 = 0 ;
3100 PyObject * obj1 = 0 ;
3101 char *kwnames[] = {
e811c8ce 3102 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3103 };
3104
3105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3108 {
3109 arg2 = &temp2;
3110 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3111 }
3112 {
3113 PyThreadState* __tstate = wxPyBeginAllowThreads();
3114 {
3115 wxPoint &_result_ref = (arg1)->operator +=((wxPoint const &)*arg2);
3116 result = (wxPoint *) &_result_ref;
3117 }
3118
3119 wxPyEndAllowThreads(__tstate);
3120 if (PyErr_Occurred()) SWIG_fail;
3121 }
15afbcd0 3122 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
3123 return resultobj;
3124 fail:
3125 return NULL;
3126}
3127
3128
3129static PyObject *_wrap_Point___isub__(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___isub__",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();
3150 {
3151 wxPoint &_result_ref = (arg1)->operator -=((wxPoint const &)*arg2);
3152 result = (wxPoint *) &_result_ref;
3153 }
3154
3155 wxPyEndAllowThreads(__tstate);
3156 if (PyErr_Occurred()) SWIG_fail;
3157 }
15afbcd0 3158 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
3159 return resultobj;
3160 fail:
3161 return NULL;
3162}
3163
3164
3165static PyObject *_wrap_Point_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
3166 PyObject *resultobj;
3167 wxPoint *arg1 = (wxPoint *) 0 ;
3168 long arg2 ;
3169 long arg3 ;
3170 PyObject * obj0 = 0 ;
994141e6
RD
3171 PyObject * obj1 = 0 ;
3172 PyObject * obj2 = 0 ;
d14a1e28
RD
3173 char *kwnames[] = {
3174 (char *) "self",(char *) "x",(char *) "y", NULL
3175 };
3176
994141e6 3177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Point_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3180 arg2 = (long) SWIG_AsLong(obj1);
3181 if (PyErr_Occurred()) SWIG_fail;
3182 arg3 = (long) SWIG_AsLong(obj2);
3183 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3184 {
3185 PyThreadState* __tstate = wxPyBeginAllowThreads();
3186 wxPoint_Set(arg1,arg2,arg3);
3187
3188 wxPyEndAllowThreads(__tstate);
3189 if (PyErr_Occurred()) SWIG_fail;
3190 }
3191 Py_INCREF(Py_None); resultobj = Py_None;
3192 return resultobj;
3193 fail:
3194 return NULL;
3195}
3196
3197
e811c8ce 3198static PyObject *_wrap_Point_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3199 PyObject *resultobj;
3200 wxPoint *arg1 = (wxPoint *) 0 ;
3201 PyObject *result;
3202 PyObject * obj0 = 0 ;
3203 char *kwnames[] = {
3204 (char *) "self", NULL
3205 };
3206
e811c8ce 3207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
3208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3210 {
3211 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3212 result = (PyObject *)wxPoint_Get(arg1);
d14a1e28
RD
3213
3214 wxPyEndAllowThreads(__tstate);
3215 if (PyErr_Occurred()) SWIG_fail;
3216 }
3217 resultobj = result;
3218 return resultobj;
3219 fail:
3220 return NULL;
3221}
3222
3223
3224static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
3225 PyObject *obj;
3226 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3227 SWIG_TypeClientData(SWIGTYPE_p_wxPoint, obj);
3228 Py_INCREF(obj);
3229 return Py_BuildValue((char *)"");
3230}
3231static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
3232 PyObject *resultobj;
3233 int arg1 = (int) 0 ;
3234 int arg2 = (int) 0 ;
3235 int arg3 = (int) 0 ;
3236 int arg4 = (int) 0 ;
3237 wxRect *result;
994141e6
RD
3238 PyObject * obj0 = 0 ;
3239 PyObject * obj1 = 0 ;
3240 PyObject * obj2 = 0 ;
3241 PyObject * obj3 = 0 ;
d14a1e28
RD
3242 char *kwnames[] = {
3243 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3244 };
3245
994141e6
RD
3246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Rect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3247 if (obj0) {
15afbcd0
RD
3248 arg1 = (int) SWIG_AsInt(obj0);
3249 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3250 }
3251 if (obj1) {
15afbcd0
RD
3252 arg2 = (int) SWIG_AsInt(obj1);
3253 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3254 }
3255 if (obj2) {
15afbcd0
RD
3256 arg3 = (int) SWIG_AsInt(obj2);
3257 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3258 }
3259 if (obj3) {
15afbcd0
RD
3260 arg4 = (int) SWIG_AsInt(obj3);
3261 if (PyErr_Occurred()) SWIG_fail;
994141e6 3262 }
d14a1e28
RD
3263 {
3264 PyThreadState* __tstate = wxPyBeginAllowThreads();
3265 result = (wxRect *)new wxRect(arg1,arg2,arg3,arg4);
3266
3267 wxPyEndAllowThreads(__tstate);
3268 if (PyErr_Occurred()) SWIG_fail;
3269 }
15afbcd0 3270 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3271 return resultobj;
3272 fail:
3273 return NULL;
3274}
3275
3276
3277static PyObject *_wrap_new_RectPP(PyObject *self, PyObject *args, PyObject *kwargs) {
3278 PyObject *resultobj;
3279 wxPoint *arg1 = 0 ;
3280 wxPoint *arg2 = 0 ;
3281 wxRect *result;
3282 wxPoint temp1 ;
3283 wxPoint temp2 ;
3284 PyObject * obj0 = 0 ;
3285 PyObject * obj1 = 0 ;
3286 char *kwnames[] = {
3287 (char *) "topLeft",(char *) "bottomRight", NULL
3288 };
3289
3290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPP",kwnames,&obj0,&obj1)) goto fail;
3291 {
3292 arg1 = &temp1;
3293 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3294 }
3295 {
3296 arg2 = &temp2;
3297 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3298 }
3299 {
3300 PyThreadState* __tstate = wxPyBeginAllowThreads();
3301 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxPoint const &)*arg2);
3302
3303 wxPyEndAllowThreads(__tstate);
3304 if (PyErr_Occurred()) SWIG_fail;
3305 }
15afbcd0 3306 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3307 return resultobj;
3308 fail:
3309 return NULL;
3310}
3311
3312
3313static PyObject *_wrap_new_RectPS(PyObject *self, PyObject *args, PyObject *kwargs) {
3314 PyObject *resultobj;
3315 wxPoint *arg1 = 0 ;
3316 wxSize *arg2 = 0 ;
3317 wxRect *result;
3318 wxPoint temp1 ;
3319 wxSize temp2 ;
3320 PyObject * obj0 = 0 ;
3321 PyObject * obj1 = 0 ;
3322 char *kwnames[] = {
3323 (char *) "pos",(char *) "size", NULL
3324 };
3325
3326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPS",kwnames,&obj0,&obj1)) goto fail;
3327 {
3328 arg1 = &temp1;
3329 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3330 }
3331 {
3332 arg2 = &temp2;
3333 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3334 }
3335 {
3336 PyThreadState* __tstate = wxPyBeginAllowThreads();
3337 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxSize const &)*arg2);
3338
3339 wxPyEndAllowThreads(__tstate);
3340 if (PyErr_Occurred()) SWIG_fail;
3341 }
15afbcd0 3342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3343 return resultobj;
3344 fail:
3345 return NULL;
3346}
3347
3348
3349static PyObject *_wrap_delete_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
3350 PyObject *resultobj;
3351 wxRect *arg1 = (wxRect *) 0 ;
3352 PyObject * obj0 = 0 ;
3353 char *kwnames[] = {
3354 (char *) "self", NULL
3355 };
3356
3357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Rect",kwnames,&obj0)) goto fail;
15afbcd0
RD
3358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3360 {
3361 PyThreadState* __tstate = wxPyBeginAllowThreads();
3362 delete arg1;
3363
3364 wxPyEndAllowThreads(__tstate);
3365 if (PyErr_Occurred()) SWIG_fail;
3366 }
3367 Py_INCREF(Py_None); resultobj = Py_None;
3368 return resultobj;
3369 fail:
3370 return NULL;
3371}
3372
3373
3374static PyObject *_wrap_Rect_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3375 PyObject *resultobj;
3376 wxRect *arg1 = (wxRect *) 0 ;
3377 int result;
3378 PyObject * obj0 = 0 ;
3379 char *kwnames[] = {
3380 (char *) "self", NULL
3381 };
3382
3383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
3384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3386 {
3387 PyThreadState* __tstate = wxPyBeginAllowThreads();
3388 result = (int)((wxRect const *)arg1)->GetX();
3389
3390 wxPyEndAllowThreads(__tstate);
3391 if (PyErr_Occurred()) SWIG_fail;
3392 }
15afbcd0 3393 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3394 return resultobj;
3395 fail:
3396 return NULL;
3397}
3398
3399
3400static PyObject *_wrap_Rect_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3401 PyObject *resultobj;
3402 wxRect *arg1 = (wxRect *) 0 ;
3403 int arg2 ;
3404 PyObject * obj0 = 0 ;
994141e6 3405 PyObject * obj1 = 0 ;
d14a1e28
RD
3406 char *kwnames[] = {
3407 (char *) "self",(char *) "x", NULL
3408 };
3409
994141e6 3410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3413 arg2 = (int) SWIG_AsInt(obj1);
3414 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3415 {
3416 PyThreadState* __tstate = wxPyBeginAllowThreads();
3417 (arg1)->SetX(arg2);
3418
3419 wxPyEndAllowThreads(__tstate);
3420 if (PyErr_Occurred()) SWIG_fail;
3421 }
3422 Py_INCREF(Py_None); resultobj = Py_None;
3423 return resultobj;
3424 fail:
3425 return NULL;
3426}
3427
3428
3429static PyObject *_wrap_Rect_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3430 PyObject *resultobj;
3431 wxRect *arg1 = (wxRect *) 0 ;
3432 int result;
3433 PyObject * obj0 = 0 ;
3434 char *kwnames[] = {
3435 (char *) "self", NULL
3436 };
3437
3438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
3439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3441 {
3442 PyThreadState* __tstate = wxPyBeginAllowThreads();
3443 result = (int)(arg1)->GetY();
3444
3445 wxPyEndAllowThreads(__tstate);
3446 if (PyErr_Occurred()) SWIG_fail;
3447 }
15afbcd0 3448 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3449 return resultobj;
3450 fail:
3451 return NULL;
3452}
3453
3454
3455static PyObject *_wrap_Rect_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3456 PyObject *resultobj;
3457 wxRect *arg1 = (wxRect *) 0 ;
3458 int arg2 ;
3459 PyObject * obj0 = 0 ;
994141e6 3460 PyObject * obj1 = 0 ;
d14a1e28
RD
3461 char *kwnames[] = {
3462 (char *) "self",(char *) "y", NULL
3463 };
3464
994141e6 3465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3468 arg2 = (int) SWIG_AsInt(obj1);
3469 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3470 {
3471 PyThreadState* __tstate = wxPyBeginAllowThreads();
3472 (arg1)->SetY(arg2);
3473
3474 wxPyEndAllowThreads(__tstate);
3475 if (PyErr_Occurred()) SWIG_fail;
3476 }
3477 Py_INCREF(Py_None); resultobj = Py_None;
3478 return resultobj;
3479 fail:
3480 return NULL;
3481}
3482
3483
3484static PyObject *_wrap_Rect_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3485 PyObject *resultobj;
3486 wxRect *arg1 = (wxRect *) 0 ;
3487 int result;
3488 PyObject * obj0 = 0 ;
3489 char *kwnames[] = {
3490 (char *) "self", NULL
3491 };
3492
3493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
3494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3496 {
3497 PyThreadState* __tstate = wxPyBeginAllowThreads();
3498 result = (int)((wxRect const *)arg1)->GetWidth();
3499
3500 wxPyEndAllowThreads(__tstate);
3501 if (PyErr_Occurred()) SWIG_fail;
3502 }
15afbcd0 3503 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3504 return resultobj;
3505 fail:
3506 return NULL;
3507}
3508
3509
3510static PyObject *_wrap_Rect_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3511 PyObject *resultobj;
3512 wxRect *arg1 = (wxRect *) 0 ;
3513 int arg2 ;
3514 PyObject * obj0 = 0 ;
994141e6 3515 PyObject * obj1 = 0 ;
d14a1e28
RD
3516 char *kwnames[] = {
3517 (char *) "self",(char *) "w", NULL
3518 };
3519
994141e6 3520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3523 arg2 = (int) SWIG_AsInt(obj1);
3524 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3525 {
3526 PyThreadState* __tstate = wxPyBeginAllowThreads();
3527 (arg1)->SetWidth(arg2);
3528
3529 wxPyEndAllowThreads(__tstate);
3530 if (PyErr_Occurred()) SWIG_fail;
3531 }
3532 Py_INCREF(Py_None); resultobj = Py_None;
3533 return resultobj;
3534 fail:
3535 return NULL;
3536}
3537
3538
3539static PyObject *_wrap_Rect_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3540 PyObject *resultobj;
3541 wxRect *arg1 = (wxRect *) 0 ;
3542 int result;
3543 PyObject * obj0 = 0 ;
3544 char *kwnames[] = {
3545 (char *) "self", NULL
3546 };
3547
3548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
3549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3551 {
3552 PyThreadState* __tstate = wxPyBeginAllowThreads();
3553 result = (int)((wxRect const *)arg1)->GetHeight();
3554
3555 wxPyEndAllowThreads(__tstate);
3556 if (PyErr_Occurred()) SWIG_fail;
3557 }
15afbcd0 3558 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3559 return resultobj;
3560 fail:
3561 return NULL;
3562}
3563
3564
3565static PyObject *_wrap_Rect_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3566 PyObject *resultobj;
3567 wxRect *arg1 = (wxRect *) 0 ;
3568 int arg2 ;
3569 PyObject * obj0 = 0 ;
994141e6 3570 PyObject * obj1 = 0 ;
d14a1e28
RD
3571 char *kwnames[] = {
3572 (char *) "self",(char *) "h", NULL
3573 };
3574
994141e6 3575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3578 arg2 = (int) SWIG_AsInt(obj1);
3579 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3580 {
3581 PyThreadState* __tstate = wxPyBeginAllowThreads();
3582 (arg1)->SetHeight(arg2);
3583
3584 wxPyEndAllowThreads(__tstate);
3585 if (PyErr_Occurred()) SWIG_fail;
3586 }
3587 Py_INCREF(Py_None); resultobj = Py_None;
3588 return resultobj;
3589 fail:
3590 return NULL;
3591}
3592
3593
3594static PyObject *_wrap_Rect_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3595 PyObject *resultobj;
3596 wxRect *arg1 = (wxRect *) 0 ;
3597 wxPoint result;
3598 PyObject * obj0 = 0 ;
3599 char *kwnames[] = {
3600 (char *) "self", NULL
3601 };
3602
3603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
3604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3606 {
3607 PyThreadState* __tstate = wxPyBeginAllowThreads();
3608 result = ((wxRect const *)arg1)->GetPosition();
3609
3610 wxPyEndAllowThreads(__tstate);
3611 if (PyErr_Occurred()) SWIG_fail;
3612 }
3613 {
3614 wxPoint * resultptr;
3615 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3616 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3617 }
3618 return resultobj;
3619 fail:
3620 return NULL;
3621}
3622
3623
3624static PyObject *_wrap_Rect_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3625 PyObject *resultobj;
3626 wxRect *arg1 = (wxRect *) 0 ;
3627 wxPoint *arg2 = 0 ;
3628 wxPoint temp2 ;
3629 PyObject * obj0 = 0 ;
3630 PyObject * obj1 = 0 ;
3631 char *kwnames[] = {
3632 (char *) "self",(char *) "p", NULL
3633 };
3634
3635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3638 {
3639 arg2 = &temp2;
3640 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3641 }
3642 {
3643 PyThreadState* __tstate = wxPyBeginAllowThreads();
3644 (arg1)->SetPosition((wxPoint const &)*arg2);
3645
3646 wxPyEndAllowThreads(__tstate);
3647 if (PyErr_Occurred()) SWIG_fail;
3648 }
3649 Py_INCREF(Py_None); resultobj = Py_None;
3650 return resultobj;
3651 fail:
3652 return NULL;
3653}
3654
3655
3656static PyObject *_wrap_Rect_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3657 PyObject *resultobj;
3658 wxRect *arg1 = (wxRect *) 0 ;
3659 wxSize result;
3660 PyObject * obj0 = 0 ;
3661 char *kwnames[] = {
3662 (char *) "self", NULL
3663 };
3664
3665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
3666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3668 {
3669 PyThreadState* __tstate = wxPyBeginAllowThreads();
3670 result = ((wxRect const *)arg1)->GetSize();
3671
3672 wxPyEndAllowThreads(__tstate);
3673 if (PyErr_Occurred()) SWIG_fail;
3674 }
3675 {
3676 wxSize * resultptr;
3677 resultptr = new wxSize((wxSize &) result);
15afbcd0 3678 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
3679 }
3680 return resultobj;
3681 fail:
3682 return NULL;
3683}
3684
3685
3686static PyObject *_wrap_Rect_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3687 PyObject *resultobj;
3688 wxRect *arg1 = (wxRect *) 0 ;
3689 wxSize *arg2 = 0 ;
3690 wxSize temp2 ;
3691 PyObject * obj0 = 0 ;
3692 PyObject * obj1 = 0 ;
3693 char *kwnames[] = {
3694 (char *) "self",(char *) "s", NULL
3695 };
3696
3697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3700 {
3701 arg2 = &temp2;
3702 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3703 }
3704 {
3705 PyThreadState* __tstate = wxPyBeginAllowThreads();
3706 (arg1)->SetSize((wxSize const &)*arg2);
3707
3708 wxPyEndAllowThreads(__tstate);
3709 if (PyErr_Occurred()) SWIG_fail;
3710 }
3711 Py_INCREF(Py_None); resultobj = Py_None;
3712 return resultobj;
3713 fail:
3714 return NULL;
3715}
3716
3717
c9c7117a
RD
3718static PyObject *_wrap_Rect_GetTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3719 PyObject *resultobj;
3720 wxRect *arg1 = (wxRect *) 0 ;
3721 wxPoint result;
3722 PyObject * obj0 = 0 ;
3723 char *kwnames[] = {
3724 (char *) "self", NULL
3725 };
3726
3727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTopLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
3728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
3730 {
3731 PyThreadState* __tstate = wxPyBeginAllowThreads();
3732 result = ((wxRect const *)arg1)->GetTopLeft();
3733
3734 wxPyEndAllowThreads(__tstate);
3735 if (PyErr_Occurred()) SWIG_fail;
3736 }
3737 {
3738 wxPoint * resultptr;
3739 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3740 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
c9c7117a
RD
3741 }
3742 return resultobj;
3743 fail:
3744 return NULL;
3745}
3746
3747
3748static PyObject *_wrap_Rect_SetTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3749 PyObject *resultobj;
3750 wxRect *arg1 = (wxRect *) 0 ;
3751 wxPoint *arg2 = 0 ;
3752 wxPoint temp2 ;
3753 PyObject * obj0 = 0 ;
3754 PyObject * obj1 = 0 ;
3755 char *kwnames[] = {
3756 (char *) "self",(char *) "p", NULL
3757 };
3758
3759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTopLeft",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
3762 {
3763 arg2 = &temp2;
3764 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3765 }
3766 {
3767 PyThreadState* __tstate = wxPyBeginAllowThreads();
3768 (arg1)->SetTopLeft((wxPoint const &)*arg2);
3769
3770 wxPyEndAllowThreads(__tstate);
3771 if (PyErr_Occurred()) SWIG_fail;
3772 }
3773 Py_INCREF(Py_None); resultobj = Py_None;
3774 return resultobj;
3775 fail:
3776 return NULL;
3777}
3778
3779
3780static PyObject *_wrap_Rect_GetBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3781 PyObject *resultobj;
3782 wxRect *arg1 = (wxRect *) 0 ;
3783 wxPoint result;
3784 PyObject * obj0 = 0 ;
3785 char *kwnames[] = {
3786 (char *) "self", NULL
3787 };
3788
3789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottomRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
3790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
3792 {
3793 PyThreadState* __tstate = wxPyBeginAllowThreads();
3794 result = ((wxRect const *)arg1)->GetBottomRight();
3795
3796 wxPyEndAllowThreads(__tstate);
3797 if (PyErr_Occurred()) SWIG_fail;
3798 }
3799 {
3800 wxPoint * resultptr;
3801 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3802 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
c9c7117a
RD
3803 }
3804 return resultobj;
3805 fail:
3806 return NULL;
3807}
3808
3809
3810static PyObject *_wrap_Rect_SetBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3811 PyObject *resultobj;
3812 wxRect *arg1 = (wxRect *) 0 ;
3813 wxPoint *arg2 = 0 ;
3814 wxPoint temp2 ;
3815 PyObject * obj0 = 0 ;
3816 PyObject * obj1 = 0 ;
3817 char *kwnames[] = {
3818 (char *) "self",(char *) "p", NULL
3819 };
3820
3821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottomRight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
3824 {
3825 arg2 = &temp2;
3826 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3827 }
3828 {
3829 PyThreadState* __tstate = wxPyBeginAllowThreads();
3830 (arg1)->SetBottomRight((wxPoint const &)*arg2);
3831
3832 wxPyEndAllowThreads(__tstate);
3833 if (PyErr_Occurred()) SWIG_fail;
3834 }
3835 Py_INCREF(Py_None); resultobj = Py_None;
3836 return resultobj;
3837 fail:
3838 return NULL;
3839}
3840
3841
d14a1e28
RD
3842static PyObject *_wrap_Rect_GetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3843 PyObject *resultobj;
3844 wxRect *arg1 = (wxRect *) 0 ;
3845 int result;
3846 PyObject * obj0 = 0 ;
3847 char *kwnames[] = {
3848 (char *) "self", NULL
3849 };
3850
3851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
3852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3854 {
3855 PyThreadState* __tstate = wxPyBeginAllowThreads();
3856 result = (int)((wxRect const *)arg1)->GetLeft();
3857
3858 wxPyEndAllowThreads(__tstate);
3859 if (PyErr_Occurred()) SWIG_fail;
3860 }
15afbcd0 3861 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3862 return resultobj;
3863 fail:
3864 return NULL;
3865}
3866
3867
3868static PyObject *_wrap_Rect_GetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
3869 PyObject *resultobj;
3870 wxRect *arg1 = (wxRect *) 0 ;
3871 int result;
3872 PyObject * obj0 = 0 ;
3873 char *kwnames[] = {
3874 (char *) "self", NULL
3875 };
3876
3877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTop",kwnames,&obj0)) goto fail;
15afbcd0
RD
3878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3880 {
3881 PyThreadState* __tstate = wxPyBeginAllowThreads();
3882 result = (int)((wxRect const *)arg1)->GetTop();
3883
3884 wxPyEndAllowThreads(__tstate);
3885 if (PyErr_Occurred()) SWIG_fail;
3886 }
15afbcd0 3887 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3888 return resultobj;
3889 fail:
3890 return NULL;
3891}
3892
3893
3894static PyObject *_wrap_Rect_GetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
3895 PyObject *resultobj;
3896 wxRect *arg1 = (wxRect *) 0 ;
3897 int result;
3898 PyObject * obj0 = 0 ;
3899 char *kwnames[] = {
3900 (char *) "self", NULL
3901 };
3902
3903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottom",kwnames,&obj0)) goto fail;
15afbcd0
RD
3904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3906 {
3907 PyThreadState* __tstate = wxPyBeginAllowThreads();
3908 result = (int)((wxRect const *)arg1)->GetBottom();
3909
3910 wxPyEndAllowThreads(__tstate);
3911 if (PyErr_Occurred()) SWIG_fail;
3912 }
15afbcd0 3913 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3914 return resultobj;
3915 fail:
3916 return NULL;
3917}
3918
3919
3920static PyObject *_wrap_Rect_GetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3921 PyObject *resultobj;
3922 wxRect *arg1 = (wxRect *) 0 ;
3923 int result;
3924 PyObject * obj0 = 0 ;
3925 char *kwnames[] = {
3926 (char *) "self", NULL
3927 };
3928
3929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
3930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3932 {
3933 PyThreadState* __tstate = wxPyBeginAllowThreads();
3934 result = (int)((wxRect const *)arg1)->GetRight();
3935
3936 wxPyEndAllowThreads(__tstate);
3937 if (PyErr_Occurred()) SWIG_fail;
3938 }
15afbcd0 3939 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3940 return resultobj;
3941 fail:
3942 return NULL;
3943}
3944
3945
3946static PyObject *_wrap_Rect_SetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3947 PyObject *resultobj;
3948 wxRect *arg1 = (wxRect *) 0 ;
3949 int arg2 ;
3950 PyObject * obj0 = 0 ;
994141e6 3951 PyObject * obj1 = 0 ;
d14a1e28
RD
3952 char *kwnames[] = {
3953 (char *) "self",(char *) "left", NULL
3954 };
3955
994141e6 3956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetLeft",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3959 arg2 = (int) SWIG_AsInt(obj1);
3960 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3961 {
3962 PyThreadState* __tstate = wxPyBeginAllowThreads();
3963 (arg1)->SetLeft(arg2);
3964
3965 wxPyEndAllowThreads(__tstate);
3966 if (PyErr_Occurred()) SWIG_fail;
3967 }
3968 Py_INCREF(Py_None); resultobj = Py_None;
3969 return resultobj;
3970 fail:
3971 return NULL;
3972}
3973
3974
3975static PyObject *_wrap_Rect_SetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3976 PyObject *resultobj;
3977 wxRect *arg1 = (wxRect *) 0 ;
3978 int arg2 ;
3979 PyObject * obj0 = 0 ;
994141e6 3980 PyObject * obj1 = 0 ;
d14a1e28
RD
3981 char *kwnames[] = {
3982 (char *) "self",(char *) "right", NULL
3983 };
3984
994141e6 3985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetRight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3988 arg2 = (int) SWIG_AsInt(obj1);
3989 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3990 {
3991 PyThreadState* __tstate = wxPyBeginAllowThreads();
3992 (arg1)->SetRight(arg2);
3993
3994 wxPyEndAllowThreads(__tstate);
3995 if (PyErr_Occurred()) SWIG_fail;
3996 }
3997 Py_INCREF(Py_None); resultobj = Py_None;
3998 return resultobj;
3999 fail:
4000 return NULL;
4001}
4002
4003
4004static PyObject *_wrap_Rect_SetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
4005 PyObject *resultobj;
4006 wxRect *arg1 = (wxRect *) 0 ;
4007 int arg2 ;
4008 PyObject * obj0 = 0 ;
994141e6 4009 PyObject * obj1 = 0 ;
d14a1e28
RD
4010 char *kwnames[] = {
4011 (char *) "self",(char *) "top", NULL
4012 };
4013
994141e6 4014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTop",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4017 arg2 = (int) SWIG_AsInt(obj1);
4018 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4019 {
4020 PyThreadState* __tstate = wxPyBeginAllowThreads();
4021 (arg1)->SetTop(arg2);
4022
4023 wxPyEndAllowThreads(__tstate);
4024 if (PyErr_Occurred()) SWIG_fail;
4025 }
4026 Py_INCREF(Py_None); resultobj = Py_None;
4027 return resultobj;
4028 fail:
4029 return NULL;
4030}
4031
4032
4033static PyObject *_wrap_Rect_SetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
4034 PyObject *resultobj;
4035 wxRect *arg1 = (wxRect *) 0 ;
4036 int arg2 ;
4037 PyObject * obj0 = 0 ;
994141e6 4038 PyObject * obj1 = 0 ;
d14a1e28
RD
4039 char *kwnames[] = {
4040 (char *) "self",(char *) "bottom", NULL
4041 };
4042
994141e6 4043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottom",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4046 arg2 = (int) SWIG_AsInt(obj1);
4047 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4048 {
4049 PyThreadState* __tstate = wxPyBeginAllowThreads();
4050 (arg1)->SetBottom(arg2);
4051
4052 wxPyEndAllowThreads(__tstate);
4053 if (PyErr_Occurred()) SWIG_fail;
4054 }
4055 Py_INCREF(Py_None); resultobj = Py_None;
4056 return resultobj;
4057 fail:
4058 return NULL;
4059}
4060
4061
4062static PyObject *_wrap_Rect_Inflate(PyObject *self, PyObject *args, PyObject *kwargs) {
4063 PyObject *resultobj;
4064 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
4065 int arg2 ;
4066 int arg3 ;
d14a1e28
RD
4067 wxRect *result;
4068 PyObject * obj0 = 0 ;
994141e6
RD
4069 PyObject * obj1 = 0 ;
4070 PyObject * obj2 = 0 ;
d14a1e28
RD
4071 char *kwnames[] = {
4072 (char *) "self",(char *) "dx",(char *) "dy", NULL
4073 };
4074
994141e6 4075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Inflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4078 arg2 = (int) SWIG_AsInt(obj1);
4079 if (PyErr_Occurred()) SWIG_fail;
4080 arg3 = (int) SWIG_AsInt(obj2);
4081 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4082 {
4083 PyThreadState* __tstate = wxPyBeginAllowThreads();
4084 {
4085 wxRect &_result_ref = (arg1)->Inflate(arg2,arg3);
4086 result = (wxRect *) &_result_ref;
4087 }
4088
4089 wxPyEndAllowThreads(__tstate);
4090 if (PyErr_Occurred()) SWIG_fail;
4091 }
15afbcd0 4092 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4093 return resultobj;
4094 fail:
4095 return NULL;
4096}
4097
4098
4099static PyObject *_wrap_Rect_Deflate(PyObject *self, PyObject *args, PyObject *kwargs) {
4100 PyObject *resultobj;
4101 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
4102 int arg2 ;
4103 int arg3 ;
d14a1e28
RD
4104 wxRect *result;
4105 PyObject * obj0 = 0 ;
994141e6
RD
4106 PyObject * obj1 = 0 ;
4107 PyObject * obj2 = 0 ;
d14a1e28
RD
4108 char *kwnames[] = {
4109 (char *) "self",(char *) "dx",(char *) "dy", NULL
4110 };
4111
994141e6 4112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Deflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4115 arg2 = (int) SWIG_AsInt(obj1);
4116 if (PyErr_Occurred()) SWIG_fail;
4117 arg3 = (int) SWIG_AsInt(obj2);
4118 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4119 {
4120 PyThreadState* __tstate = wxPyBeginAllowThreads();
4121 {
4122 wxRect &_result_ref = (arg1)->Deflate(arg2,arg3);
4123 result = (wxRect *) &_result_ref;
4124 }
4125
4126 wxPyEndAllowThreads(__tstate);
4127 if (PyErr_Occurred()) SWIG_fail;
4128 }
15afbcd0 4129 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4130 return resultobj;
4131 fail:
4132 return NULL;
4133}
4134
4135
4136static PyObject *_wrap_Rect_OffsetXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4137 PyObject *resultobj;
4138 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
4139 int arg2 ;
4140 int arg3 ;
d14a1e28 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_OffsetXY",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 (arg1)->Offset(arg2,arg3);
4158
4159 wxPyEndAllowThreads(__tstate);
4160 if (PyErr_Occurred()) SWIG_fail;
4161 }
4162 Py_INCREF(Py_None); resultobj = Py_None;
4163 return resultobj;
4164 fail:
4165 return NULL;
4166}
4167
4168
4169static PyObject *_wrap_Rect_Offset(PyObject *self, PyObject *args, PyObject *kwargs) {
4170 PyObject *resultobj;
4171 wxRect *arg1 = (wxRect *) 0 ;
4172 wxPoint *arg2 = 0 ;
4173 wxPoint temp2 ;
4174 PyObject * obj0 = 0 ;
4175 PyObject * obj1 = 0 ;
4176 char *kwnames[] = {
4177 (char *) "self",(char *) "pt", NULL
4178 };
4179
4180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Offset",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4183 {
4184 arg2 = &temp2;
4185 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4186 }
4187 {
4188 PyThreadState* __tstate = wxPyBeginAllowThreads();
4189 (arg1)->Offset((wxPoint const &)*arg2);
4190
4191 wxPyEndAllowThreads(__tstate);
4192 if (PyErr_Occurred()) SWIG_fail;
4193 }
4194 Py_INCREF(Py_None); resultobj = Py_None;
4195 return resultobj;
4196 fail:
4197 return NULL;
4198}
4199
4200
4201static PyObject *_wrap_Rect_Intersect(PyObject *self, PyObject *args, PyObject *kwargs) {
4202 PyObject *resultobj;
4203 wxRect *arg1 = (wxRect *) 0 ;
4204 wxRect *arg2 = 0 ;
4205 wxRect *result;
4206 wxRect temp2 ;
4207 PyObject * obj0 = 0 ;
4208 PyObject * obj1 = 0 ;
4209 char *kwnames[] = {
4210 (char *) "self",(char *) "rect", NULL
4211 };
4212
4213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4216 {
4217 arg2 = &temp2;
4218 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4219 }
4220 {
4221 PyThreadState* __tstate = wxPyBeginAllowThreads();
4222 {
4223 wxRect &_result_ref = (arg1)->Intersect((wxRect const &)*arg2);
4224 result = (wxRect *) &_result_ref;
4225 }
4226
4227 wxPyEndAllowThreads(__tstate);
4228 if (PyErr_Occurred()) SWIG_fail;
4229 }
15afbcd0 4230 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4231 return resultobj;
4232 fail:
4233 return NULL;
4234}
4235
4236
4237static PyObject *_wrap_Rect___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
4238 PyObject *resultobj;
4239 wxRect *arg1 = (wxRect *) 0 ;
4240 wxRect *arg2 = 0 ;
4241 wxRect result;
4242 wxRect temp2 ;
4243 PyObject * obj0 = 0 ;
4244 PyObject * obj1 = 0 ;
4245 char *kwnames[] = {
4246 (char *) "self",(char *) "rect", NULL
4247 };
4248
4249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4252 {
4253 arg2 = &temp2;
4254 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4255 }
4256 {
4257 PyThreadState* __tstate = wxPyBeginAllowThreads();
4258 result = ((wxRect const *)arg1)->operator +((wxRect const &)*arg2);
4259
4260 wxPyEndAllowThreads(__tstate);
4261 if (PyErr_Occurred()) SWIG_fail;
4262 }
4263 {
4264 wxRect * resultptr;
4265 resultptr = new wxRect((wxRect &) result);
15afbcd0 4266 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
4267 }
4268 return resultobj;
4269 fail:
4270 return NULL;
4271}
4272
4273
4274static PyObject *_wrap_Rect___iadd__(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___iadd__",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)->operator +=((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___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
4311 PyObject *resultobj;
4312 wxRect *arg1 = (wxRect *) 0 ;
4313 wxRect *arg2 = 0 ;
4314 bool 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___eq__",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 = (bool)((wxRect const *)arg1)->operator ==((wxRect const &)*arg2);
4332
4333 wxPyEndAllowThreads(__tstate);
4334 if (PyErr_Occurred()) SWIG_fail;
4335 }
4f89f6a3
RD
4336 {
4337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4338 }
d14a1e28
RD
4339 return resultobj;
4340 fail:
4341 return NULL;
4342}
4343
4344
4345static PyObject *_wrap_Rect___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
4346 PyObject *resultobj;
4347 wxRect *arg1 = (wxRect *) 0 ;
4348 wxRect *arg2 = 0 ;
4349 bool result;
4350 wxRect temp2 ;
4351 PyObject * obj0 = 0 ;
4352 PyObject * obj1 = 0 ;
4353 char *kwnames[] = {
4354 (char *) "self",(char *) "rect", NULL
4355 };
4356
4357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4360 {
4361 arg2 = &temp2;
4362 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4363 }
4364 {
4365 PyThreadState* __tstate = wxPyBeginAllowThreads();
4366 result = (bool)((wxRect const *)arg1)->operator !=((wxRect const &)*arg2);
4367
4368 wxPyEndAllowThreads(__tstate);
4369 if (PyErr_Occurred()) SWIG_fail;
4370 }
4f89f6a3
RD
4371 {
4372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4373 }
d14a1e28
RD
4374 return resultobj;
4375 fail:
4376 return NULL;
4377}
4378
4379
4380static PyObject *_wrap_Rect_InsideXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4381 PyObject *resultobj;
4382 wxRect *arg1 = (wxRect *) 0 ;
4383 int arg2 ;
4384 int arg3 ;
4385 bool result;
4386 PyObject * obj0 = 0 ;
994141e6
RD
4387 PyObject * obj1 = 0 ;
4388 PyObject * obj2 = 0 ;
d14a1e28
RD
4389 char *kwnames[] = {
4390 (char *) "self",(char *) "x",(char *) "y", NULL
4391 };
4392
994141e6 4393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_InsideXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4396 arg2 = (int) SWIG_AsInt(obj1);
4397 if (PyErr_Occurred()) SWIG_fail;
4398 arg3 = (int) SWIG_AsInt(obj2);
4399 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4400 {
4401 PyThreadState* __tstate = wxPyBeginAllowThreads();
4402 result = (bool)((wxRect const *)arg1)->Inside(arg2,arg3);
4403
4404 wxPyEndAllowThreads(__tstate);
4405 if (PyErr_Occurred()) SWIG_fail;
4406 }
4f89f6a3
RD
4407 {
4408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4409 }
d14a1e28
RD
4410 return resultobj;
4411 fail:
4412 return NULL;
4413}
4414
4415
4416static PyObject *_wrap_Rect_Inside(PyObject *self, PyObject *args, PyObject *kwargs) {
4417 PyObject *resultobj;
4418 wxRect *arg1 = (wxRect *) 0 ;
4419 wxPoint *arg2 = 0 ;
4420 bool result;
4421 wxPoint temp2 ;
4422 PyObject * obj0 = 0 ;
4423 PyObject * obj1 = 0 ;
4424 char *kwnames[] = {
4425 (char *) "self",(char *) "pt", NULL
4426 };
4427
4428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4431 {
4432 arg2 = &temp2;
4433 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4434 }
4435 {
4436 PyThreadState* __tstate = wxPyBeginAllowThreads();
4437 result = (bool)((wxRect const *)arg1)->Inside((wxPoint const &)*arg2);
4438
4439 wxPyEndAllowThreads(__tstate);
4440 if (PyErr_Occurred()) SWIG_fail;
4441 }
4f89f6a3
RD
4442 {
4443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4444 }
d14a1e28
RD
4445 return resultobj;
4446 fail:
4447 return NULL;
4448}
4449
4450
4451static PyObject *_wrap_Rect_Intersects(PyObject *self, PyObject *args, PyObject *kwargs) {
4452 PyObject *resultobj;
4453 wxRect *arg1 = (wxRect *) 0 ;
4454 wxRect *arg2 = 0 ;
4455 bool result;
4456 wxRect temp2 ;
4457 PyObject * obj0 = 0 ;
4458 PyObject * obj1 = 0 ;
4459 char *kwnames[] = {
4460 (char *) "self",(char *) "rect", NULL
4461 };
4462
4463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersects",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4466 {
4467 arg2 = &temp2;
4468 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4469 }
4470 {
4471 PyThreadState* __tstate = wxPyBeginAllowThreads();
4472 result = (bool)((wxRect const *)arg1)->Intersects((wxRect const &)*arg2);
4473
4474 wxPyEndAllowThreads(__tstate);
4475 if (PyErr_Occurred()) SWIG_fail;
4476 }
4f89f6a3
RD
4477 {
4478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4479 }
d14a1e28
RD
4480 return resultobj;
4481 fail:
4482 return NULL;
4483}
4484
4485
4486static PyObject *_wrap_Rect_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4487 PyObject *resultobj;
4488 wxRect *arg1 = (wxRect *) 0 ;
4489 int arg2 ;
4490 PyObject * obj0 = 0 ;
994141e6 4491 PyObject * obj1 = 0 ;
d14a1e28
RD
4492 char *kwnames[] = {
4493 (char *) "self",(char *) "x", NULL
4494 };
4495
994141e6 4496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4499 arg2 = (int) SWIG_AsInt(obj1);
4500 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4501 if (arg1) (arg1)->x = arg2;
4502
4503 Py_INCREF(Py_None); resultobj = Py_None;
4504 return resultobj;
4505 fail:
4506 return NULL;
4507}
4508
4509
4510static PyObject *_wrap_Rect_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4511 PyObject *resultobj;
4512 wxRect *arg1 = (wxRect *) 0 ;
4513 int result;
4514 PyObject * obj0 = 0 ;
4515 char *kwnames[] = {
4516 (char *) "self", NULL
4517 };
4518
4519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4522 result = (int) ((arg1)->x);
4523
15afbcd0 4524 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4525 return resultobj;
4526 fail:
4527 return NULL;
4528}
4529
4530
4531static PyObject *_wrap_Rect_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4532 PyObject *resultobj;
4533 wxRect *arg1 = (wxRect *) 0 ;
4534 int arg2 ;
4535 PyObject * obj0 = 0 ;
994141e6 4536 PyObject * obj1 = 0 ;
d14a1e28
RD
4537 char *kwnames[] = {
4538 (char *) "self",(char *) "y", NULL
4539 };
4540
994141e6 4541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4544 arg2 = (int) SWIG_AsInt(obj1);
4545 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4546 if (arg1) (arg1)->y = arg2;
4547
4548 Py_INCREF(Py_None); resultobj = Py_None;
4549 return resultobj;
4550 fail:
4551 return NULL;
4552}
4553
4554
4555static PyObject *_wrap_Rect_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4556 PyObject *resultobj;
4557 wxRect *arg1 = (wxRect *) 0 ;
4558 int result;
4559 PyObject * obj0 = 0 ;
4560 char *kwnames[] = {
4561 (char *) "self", NULL
4562 };
4563
4564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4567 result = (int) ((arg1)->y);
4568
15afbcd0 4569 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4570 return resultobj;
4571 fail:
4572 return NULL;
4573}
4574
4575
4576static PyObject *_wrap_Rect_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4577 PyObject *resultobj;
4578 wxRect *arg1 = (wxRect *) 0 ;
4579 int arg2 ;
4580 PyObject * obj0 = 0 ;
994141e6 4581 PyObject * obj1 = 0 ;
d14a1e28
RD
4582 char *kwnames[] = {
4583 (char *) "self",(char *) "width", NULL
4584 };
4585
994141e6 4586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_width_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4589 arg2 = (int) SWIG_AsInt(obj1);
4590 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4591 if (arg1) (arg1)->width = arg2;
4592
4593 Py_INCREF(Py_None); resultobj = Py_None;
4594 return resultobj;
4595 fail:
4596 return NULL;
4597}
4598
4599
4600static PyObject *_wrap_Rect_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4601 PyObject *resultobj;
4602 wxRect *arg1 = (wxRect *) 0 ;
4603 int result;
4604 PyObject * obj0 = 0 ;
4605 char *kwnames[] = {
4606 (char *) "self", NULL
4607 };
4608
4609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_width_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4612 result = (int) ((arg1)->width);
4613
15afbcd0 4614 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4615 return resultobj;
4616 fail:
4617 return NULL;
4618}
4619
4620
4621static PyObject *_wrap_Rect_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4622 PyObject *resultobj;
4623 wxRect *arg1 = (wxRect *) 0 ;
4624 int arg2 ;
4625 PyObject * obj0 = 0 ;
994141e6 4626 PyObject * obj1 = 0 ;
d14a1e28
RD
4627 char *kwnames[] = {
4628 (char *) "self",(char *) "height", NULL
4629 };
4630
994141e6 4631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_height_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4634 arg2 = (int) SWIG_AsInt(obj1);
4635 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4636 if (arg1) (arg1)->height = arg2;
4637
4638 Py_INCREF(Py_None); resultobj = Py_None;
4639 return resultobj;
4640 fail:
4641 return NULL;
4642}
4643
4644
4645static PyObject *_wrap_Rect_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4646 PyObject *resultobj;
4647 wxRect *arg1 = (wxRect *) 0 ;
4648 int result;
4649 PyObject * obj0 = 0 ;
4650 char *kwnames[] = {
4651 (char *) "self", NULL
4652 };
4653
4654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_height_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4657 result = (int) ((arg1)->height);
4658
15afbcd0 4659 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4660 return resultobj;
4661 fail:
4662 return NULL;
4663}
4664
4665
4666static PyObject *_wrap_Rect_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4667 PyObject *resultobj;
4668 wxRect *arg1 = (wxRect *) 0 ;
4669 int arg2 = (int) 0 ;
4670 int arg3 = (int) 0 ;
4671 int arg4 = (int) 0 ;
4672 int arg5 = (int) 0 ;
4673 PyObject * obj0 = 0 ;
994141e6
RD
4674 PyObject * obj1 = 0 ;
4675 PyObject * obj2 = 0 ;
4676 PyObject * obj3 = 0 ;
4677 PyObject * obj4 = 0 ;
d14a1e28
RD
4678 char *kwnames[] = {
4679 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4680 };
4681
994141e6 4682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Rect_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
4683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 4685 if (obj1) {
15afbcd0
RD
4686 arg2 = (int) SWIG_AsInt(obj1);
4687 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4688 }
4689 if (obj2) {
15afbcd0
RD
4690 arg3 = (int) SWIG_AsInt(obj2);
4691 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4692 }
4693 if (obj3) {
15afbcd0
RD
4694 arg4 = (int) SWIG_AsInt(obj3);
4695 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4696 }
4697 if (obj4) {
15afbcd0
RD
4698 arg5 = (int) SWIG_AsInt(obj4);
4699 if (PyErr_Occurred()) SWIG_fail;
994141e6 4700 }
d14a1e28
RD
4701 {
4702 PyThreadState* __tstate = wxPyBeginAllowThreads();
4703 wxRect_Set(arg1,arg2,arg3,arg4,arg5);
4704
4705 wxPyEndAllowThreads(__tstate);
4706 if (PyErr_Occurred()) SWIG_fail;
4707 }
4708 Py_INCREF(Py_None); resultobj = Py_None;
4709 return resultobj;
4710 fail:
4711 return NULL;
4712}
4713
4714
e811c8ce 4715static PyObject *_wrap_Rect_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4716 PyObject *resultobj;
4717 wxRect *arg1 = (wxRect *) 0 ;
4718 PyObject *result;
4719 PyObject * obj0 = 0 ;
4720 char *kwnames[] = {
4721 (char *) "self", NULL
4722 };
4723
e811c8ce 4724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4727 {
4728 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 4729 result = (PyObject *)wxRect_Get(arg1);
d14a1e28
RD
4730
4731 wxPyEndAllowThreads(__tstate);
4732 if (PyErr_Occurred()) SWIG_fail;
4733 }
4734 resultobj = result;
4735 return resultobj;
4736 fail:
4737 return NULL;
4738}
4739
4740
4741static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
4742 PyObject *obj;
4743 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4744 SWIG_TypeClientData(SWIGTYPE_p_wxRect, obj);
4745 Py_INCREF(obj);
4746 return Py_BuildValue((char *)"");
4747}
4748static PyObject *_wrap_IntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4749 PyObject *resultobj;
4750 wxRect *arg1 = (wxRect *) 0 ;
4751 wxRect *arg2 = (wxRect *) 0 ;
4752 PyObject *result;
4753 PyObject * obj0 = 0 ;
4754 PyObject * obj1 = 0 ;
4755 char *kwnames[] = {
4756 (char *) "r1",(char *) "r2", NULL
4757 };
4758
4759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IntersectRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4762 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
4763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4764 {
4765 PyThreadState* __tstate = wxPyBeginAllowThreads();
4766 result = (PyObject *)wxIntersectRect(arg1,arg2);
4767
4768 wxPyEndAllowThreads(__tstate);
4769 if (PyErr_Occurred()) SWIG_fail;
4770 }
4771 resultobj = result;
4772 return resultobj;
4773 fail:
4774 return NULL;
4775}
4776
4777
4778static PyObject *_wrap_new_Point2D(PyObject *self, PyObject *args, PyObject *kwargs) {
4779 PyObject *resultobj;
4780 double arg1 = (double) 0.0 ;
4781 double arg2 = (double) 0.0 ;
4782 wxPoint2D *result;
994141e6
RD
4783 PyObject * obj0 = 0 ;
4784 PyObject * obj1 = 0 ;
d14a1e28
RD
4785 char *kwnames[] = {
4786 (char *) "x",(char *) "y", NULL
4787 };
4788
994141e6
RD
4789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point2D",kwnames,&obj0,&obj1)) goto fail;
4790 if (obj0) {
15afbcd0
RD
4791 arg1 = (double) SWIG_AsDouble(obj0);
4792 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4793 }
4794 if (obj1) {
15afbcd0
RD
4795 arg2 = (double) SWIG_AsDouble(obj1);
4796 if (PyErr_Occurred()) SWIG_fail;
994141e6 4797 }
d14a1e28
RD
4798 {
4799 PyThreadState* __tstate = wxPyBeginAllowThreads();
4800 result = (wxPoint2D *)new wxPoint2D(arg1,arg2);
4801
4802 wxPyEndAllowThreads(__tstate);
4803 if (PyErr_Occurred()) SWIG_fail;
4804 }
15afbcd0 4805 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
4806 return resultobj;
4807 fail:
4808 return NULL;
4809}
4810
4811
4812static PyObject *_wrap_new_Point2DCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
4813 PyObject *resultobj;
4814 wxPoint2D *arg1 = 0 ;
4815 wxPoint2D *result;
4816 wxPoint2D temp1 ;
4817 PyObject * obj0 = 0 ;
4818 char *kwnames[] = {
4819 (char *) "pt", NULL
4820 };
4821
4822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DCopy",kwnames,&obj0)) goto fail;
4823 {
4824 arg1 = &temp1;
4825 if ( ! wxPoint2D_helper(obj0, &arg1)) SWIG_fail;
4826 }
4827 {
4828 PyThreadState* __tstate = wxPyBeginAllowThreads();
4829 result = (wxPoint2D *)new wxPoint2D((wxPoint2D const &)*arg1);
4830
4831 wxPyEndAllowThreads(__tstate);
4832 if (PyErr_Occurred()) SWIG_fail;
4833 }
15afbcd0 4834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
4835 return resultobj;
4836 fail:
4837 return NULL;
4838}
4839
4840
4841static PyObject *_wrap_new_Point2DFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4842 PyObject *resultobj;
4843 wxPoint *arg1 = 0 ;
4844 wxPoint2D *result;
4845 wxPoint temp1 ;
4846 PyObject * obj0 = 0 ;
4847 char *kwnames[] = {
4848 (char *) "pt", NULL
4849 };
4850
4851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DFromPoint",kwnames,&obj0)) goto fail;
4852 {
4853 arg1 = &temp1;
4854 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4855 }
4856 {
4857 PyThreadState* __tstate = wxPyBeginAllowThreads();
4858 result = (wxPoint2D *)new wxPoint2D((wxPoint const &)*arg1);
4859
4860 wxPyEndAllowThreads(__tstate);
4861 if (PyErr_Occurred()) SWIG_fail;
4862 }
15afbcd0 4863 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
4864 return resultobj;
4865 fail:
4866 return NULL;
4867}
4868
4869
4870static PyObject *_wrap_Point2D_GetFloor(PyObject *self, PyObject *args, PyObject *kwargs) {
4871 PyObject *resultobj;
4872 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4873 int *arg2 = (int *) 0 ;
4874 int *arg3 = (int *) 0 ;
4875 int temp2 ;
4876 int temp3 ;
4877 PyObject * obj0 = 0 ;
4878 char *kwnames[] = {
4879 (char *) "self", NULL
4880 };
4881
4882 arg2 = &temp2;
4883 arg3 = &temp3;
4884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetFloor",kwnames,&obj0)) goto fail;
15afbcd0
RD
4885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4887 {
4888 PyThreadState* __tstate = wxPyBeginAllowThreads();
4889 ((wxPoint2D const *)arg1)->GetFloor(arg2,arg3);
4890
4891 wxPyEndAllowThreads(__tstate);
4892 if (PyErr_Occurred()) SWIG_fail;
4893 }
4894 Py_INCREF(Py_None); resultobj = Py_None;
4895 {
4896 PyObject *o = PyInt_FromLong((long) (*arg2));
4897 resultobj = t_output_helper(resultobj,o);
4898 }
4899 {
4900 PyObject *o = PyInt_FromLong((long) (*arg3));
4901 resultobj = t_output_helper(resultobj,o);
4902 }
4903 return resultobj;
4904 fail:
4905 return NULL;
4906}
4907
4908
4909static PyObject *_wrap_Point2D_GetRounded(PyObject *self, PyObject *args, PyObject *kwargs) {
4910 PyObject *resultobj;
4911 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4912 int *arg2 = (int *) 0 ;
4913 int *arg3 = (int *) 0 ;
4914 int temp2 ;
4915 int temp3 ;
4916 PyObject * obj0 = 0 ;
4917 char *kwnames[] = {
4918 (char *) "self", NULL
4919 };
4920
4921 arg2 = &temp2;
4922 arg3 = &temp3;
4923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetRounded",kwnames,&obj0)) goto fail;
15afbcd0
RD
4924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4926 {
4927 PyThreadState* __tstate = wxPyBeginAllowThreads();
4928 ((wxPoint2D const *)arg1)->GetRounded(arg2,arg3);
4929
4930 wxPyEndAllowThreads(__tstate);
4931 if (PyErr_Occurred()) SWIG_fail;
4932 }
4933 Py_INCREF(Py_None); resultobj = Py_None;
4934 {
4935 PyObject *o = PyInt_FromLong((long) (*arg2));
4936 resultobj = t_output_helper(resultobj,o);
4937 }
4938 {
4939 PyObject *o = PyInt_FromLong((long) (*arg3));
4940 resultobj = t_output_helper(resultobj,o);
4941 }
4942 return resultobj;
4943 fail:
4944 return NULL;
4945}
4946
4947
4948static PyObject *_wrap_Point2D_GetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
4949 PyObject *resultobj;
4950 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4951 double result;
4952 PyObject * obj0 = 0 ;
4953 char *kwnames[] = {
4954 (char *) "self", NULL
4955 };
4956
4957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorLength",kwnames,&obj0)) goto fail;
15afbcd0
RD
4958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4960 {
4961 PyThreadState* __tstate = wxPyBeginAllowThreads();
4962 result = (double)((wxPoint2D const *)arg1)->GetVectorLength();
4963
4964 wxPyEndAllowThreads(__tstate);
4965 if (PyErr_Occurred()) SWIG_fail;
4966 }
15afbcd0 4967 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
4968 return resultobj;
4969 fail:
4970 return NULL;
4971}
4972
4973
4974static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
4975 PyObject *resultobj;
4976 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4977 double result;
4978 PyObject * obj0 = 0 ;
4979 char *kwnames[] = {
4980 (char *) "self", NULL
4981 };
4982
4983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorAngle",kwnames,&obj0)) goto fail;
15afbcd0
RD
4984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4986 {
4987 PyThreadState* __tstate = wxPyBeginAllowThreads();
4988 result = (double)((wxPoint2D const *)arg1)->GetVectorAngle();
4989
4990 wxPyEndAllowThreads(__tstate);
4991 if (PyErr_Occurred()) SWIG_fail;
4992 }
15afbcd0 4993 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
4994 return resultobj;
4995 fail:
4996 return NULL;
4997}
4998
4999
5000static PyObject *_wrap_Point2D_SetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
5001 PyObject *resultobj;
5002 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5003 double arg2 ;
5004 PyObject * obj0 = 0 ;
994141e6 5005 PyObject * obj1 = 0 ;
d14a1e28
RD
5006 char *kwnames[] = {
5007 (char *) "self",(char *) "length", NULL
5008 };
5009
994141e6 5010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5013 arg2 = (double) SWIG_AsDouble(obj1);
5014 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5015 {
5016 PyThreadState* __tstate = wxPyBeginAllowThreads();
5017 (arg1)->SetVectorLength(arg2);
5018
5019 wxPyEndAllowThreads(__tstate);
5020 if (PyErr_Occurred()) SWIG_fail;
5021 }
5022 Py_INCREF(Py_None); resultobj = Py_None;
5023 return resultobj;
5024 fail:
5025 return NULL;
5026}
5027
5028
5029static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
5030 PyObject *resultobj;
5031 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5032 double arg2 ;
5033 PyObject * obj0 = 0 ;
994141e6 5034 PyObject * obj1 = 0 ;
d14a1e28
RD
5035 char *kwnames[] = {
5036 (char *) "self",(char *) "degrees", NULL
5037 };
5038
994141e6 5039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorAngle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5042 arg2 = (double) SWIG_AsDouble(obj1);
5043 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5044 {
5045 PyThreadState* __tstate = wxPyBeginAllowThreads();
5046 (arg1)->SetVectorAngle(arg2);
5047
5048 wxPyEndAllowThreads(__tstate);
5049 if (PyErr_Occurred()) SWIG_fail;
5050 }
5051 Py_INCREF(Py_None); resultobj = Py_None;
5052 return resultobj;
5053 fail:
5054 return NULL;
5055}
5056
5057
5058static PyObject *_wrap_Point2D_GetDistance(PyObject *self, PyObject *args, PyObject *kwargs) {
5059 PyObject *resultobj;
5060 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5061 wxPoint2D *arg2 = 0 ;
5062 double result;
5063 wxPoint2D temp2 ;
5064 PyObject * obj0 = 0 ;
5065 PyObject * obj1 = 0 ;
5066 char *kwnames[] = {
5067 (char *) "self",(char *) "pt", NULL
5068 };
5069
5070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistance",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5073 {
5074 arg2 = &temp2;
5075 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5076 }
5077 {
5078 PyThreadState* __tstate = wxPyBeginAllowThreads();
5079 result = (double)((wxPoint2D const *)arg1)->GetDistance((wxPoint2D const &)*arg2);
5080
5081 wxPyEndAllowThreads(__tstate);
5082 if (PyErr_Occurred()) SWIG_fail;
5083 }
15afbcd0 5084 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5085 return resultobj;
5086 fail:
5087 return NULL;
5088}
5089
5090
5091static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *self, PyObject *args, PyObject *kwargs) {
5092 PyObject *resultobj;
5093 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5094 wxPoint2D *arg2 = 0 ;
5095 double result;
5096 wxPoint2D temp2 ;
5097 PyObject * obj0 = 0 ;
5098 PyObject * obj1 = 0 ;
5099 char *kwnames[] = {
5100 (char *) "self",(char *) "pt", NULL
5101 };
5102
5103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistanceSquare",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5106 {
5107 arg2 = &temp2;
5108 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5109 }
5110 {
5111 PyThreadState* __tstate = wxPyBeginAllowThreads();
5112 result = (double)((wxPoint2D const *)arg1)->GetDistanceSquare((wxPoint2D const &)*arg2);
5113
5114 wxPyEndAllowThreads(__tstate);
5115 if (PyErr_Occurred()) SWIG_fail;
5116 }
15afbcd0 5117 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5118 return resultobj;
5119 fail:
5120 return NULL;
5121}
5122
5123
5124static PyObject *_wrap_Point2D_GetDotProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
5125 PyObject *resultobj;
5126 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5127 wxPoint2D *arg2 = 0 ;
5128 double result;
5129 wxPoint2D temp2 ;
5130 PyObject * obj0 = 0 ;
5131 PyObject * obj1 = 0 ;
5132 char *kwnames[] = {
5133 (char *) "self",(char *) "vec", NULL
5134 };
5135
5136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDotProduct",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5139 {
5140 arg2 = &temp2;
5141 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5142 }
5143 {
5144 PyThreadState* __tstate = wxPyBeginAllowThreads();
5145 result = (double)((wxPoint2D const *)arg1)->GetDotProduct((wxPoint2D const &)*arg2);
5146
5147 wxPyEndAllowThreads(__tstate);
5148 if (PyErr_Occurred()) SWIG_fail;
5149 }
15afbcd0 5150 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5151 return resultobj;
5152 fail:
5153 return NULL;
5154}
5155
5156
5157static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
5158 PyObject *resultobj;
5159 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5160 wxPoint2D *arg2 = 0 ;
5161 double result;
5162 wxPoint2D temp2 ;
5163 PyObject * obj0 = 0 ;
5164 PyObject * obj1 = 0 ;
5165 char *kwnames[] = {
5166 (char *) "self",(char *) "vec", NULL
5167 };
5168
5169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetCrossProduct",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5172 {
5173 arg2 = &temp2;
5174 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5175 }
5176 {
5177 PyThreadState* __tstate = wxPyBeginAllowThreads();
5178 result = (double)((wxPoint2D const *)arg1)->GetCrossProduct((wxPoint2D const &)*arg2);
5179
5180 wxPyEndAllowThreads(__tstate);
5181 if (PyErr_Occurred()) SWIG_fail;
5182 }
15afbcd0 5183 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5184 return resultobj;
5185 fail:
5186 return NULL;
5187}
5188
5189
5190static PyObject *_wrap_Point2D___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
5191 PyObject *resultobj;
5192 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5193 wxPoint2D result;
5194 PyObject * obj0 = 0 ;
5195 char *kwnames[] = {
5196 (char *) "self", NULL
5197 };
5198
5199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D___neg__",kwnames,&obj0)) goto fail;
15afbcd0
RD
5200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5202 {
5203 PyThreadState* __tstate = wxPyBeginAllowThreads();
5204 result = (arg1)->operator -();
5205
5206 wxPyEndAllowThreads(__tstate);
5207 if (PyErr_Occurred()) SWIG_fail;
5208 }
5209 {
5210 wxPoint2D * resultptr;
5211 resultptr = new wxPoint2D((wxPoint2D &) result);
15afbcd0 5212 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
5213 }
5214 return resultobj;
5215 fail:
5216 return NULL;
5217}
5218
5219
5220static PyObject *_wrap_Point2D___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
5221 PyObject *resultobj;
5222 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5223 wxPoint2D *arg2 = 0 ;
5224 wxPoint2D *result;
5225 wxPoint2D temp2 ;
5226 PyObject * obj0 = 0 ;
5227 PyObject * obj1 = 0 ;
5228 char *kwnames[] = {
5229 (char *) "self",(char *) "pt", NULL
5230 };
5231
5232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___iadd__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5235 {
5236 arg2 = &temp2;
5237 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5238 }
5239 {
5240 PyThreadState* __tstate = wxPyBeginAllowThreads();
5241 {
5242 wxPoint2D &_result_ref = (arg1)->operator +=((wxPoint2D const &)*arg2);
5243 result = (wxPoint2D *) &_result_ref;
5244 }
5245
5246 wxPyEndAllowThreads(__tstate);
5247 if (PyErr_Occurred()) SWIG_fail;
5248 }
15afbcd0 5249 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5250 return resultobj;
5251 fail:
5252 return NULL;
5253}
5254
5255
5256static PyObject *_wrap_Point2D___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
5257 PyObject *resultobj;
5258 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5259 wxPoint2D *arg2 = 0 ;
5260 wxPoint2D *result;
5261 wxPoint2D temp2 ;
5262 PyObject * obj0 = 0 ;
5263 PyObject * obj1 = 0 ;
5264 char *kwnames[] = {
5265 (char *) "self",(char *) "pt", NULL
5266 };
5267
5268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___isub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5271 {
5272 arg2 = &temp2;
5273 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5274 }
5275 {
5276 PyThreadState* __tstate = wxPyBeginAllowThreads();
5277 {
5278 wxPoint2D &_result_ref = (arg1)->operator -=((wxPoint2D const &)*arg2);
5279 result = (wxPoint2D *) &_result_ref;
5280 }
5281
5282 wxPyEndAllowThreads(__tstate);
5283 if (PyErr_Occurred()) SWIG_fail;
5284 }
15afbcd0 5285 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5286 return resultobj;
5287 fail:
5288 return NULL;
5289}
5290
5291
5292static PyObject *_wrap_Point2D___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
5293 PyObject *resultobj;
5294 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5295 wxPoint2D *arg2 = 0 ;
5296 wxPoint2D *result;
5297 wxPoint2D temp2 ;
5298 PyObject * obj0 = 0 ;
5299 PyObject * obj1 = 0 ;
5300 char *kwnames[] = {
5301 (char *) "self",(char *) "pt", NULL
5302 };
5303
5304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___imul__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5307 {
5308 arg2 = &temp2;
5309 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5310 }
5311 {
5312 PyThreadState* __tstate = wxPyBeginAllowThreads();
5313 {
5314 wxPoint2D &_result_ref = (arg1)->operator *=((wxPoint2D const &)*arg2);
5315 result = (wxPoint2D *) &_result_ref;
5316 }
5317
5318 wxPyEndAllowThreads(__tstate);
5319 if (PyErr_Occurred()) SWIG_fail;
5320 }
15afbcd0 5321 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5322 return resultobj;
5323 fail:
5324 return NULL;
5325}
5326
5327
5328static PyObject *_wrap_Point2D___idiv__(PyObject *self, PyObject *args, PyObject *kwargs) {
5329 PyObject *resultobj;
5330 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5331 wxPoint2D *arg2 = 0 ;
5332 wxPoint2D *result;
5333 wxPoint2D temp2 ;
5334 PyObject * obj0 = 0 ;
5335 PyObject * obj1 = 0 ;
5336 char *kwnames[] = {
5337 (char *) "self",(char *) "pt", NULL
5338 };
5339
5340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___idiv__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5343 {
5344 arg2 = &temp2;
5345 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5346 }
5347 {
5348 PyThreadState* __tstate = wxPyBeginAllowThreads();
5349 {
5350 wxPoint2D &_result_ref = (arg1)->operator /=((wxPoint2D const &)*arg2);
5351 result = (wxPoint2D *) &_result_ref;
5352 }
5353
5354 wxPyEndAllowThreads(__tstate);
5355 if (PyErr_Occurred()) SWIG_fail;
5356 }
15afbcd0 5357 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5358 return resultobj;
5359 fail:
5360 return NULL;
5361}
5362
5363
5364static PyObject *_wrap_Point2D___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
5365 PyObject *resultobj;
5366 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5367 wxPoint2D *arg2 = 0 ;
5368 bool result;
5369 wxPoint2D temp2 ;
5370 PyObject * obj0 = 0 ;
5371 PyObject * obj1 = 0 ;
5372 char *kwnames[] = {
5373 (char *) "self",(char *) "pt", NULL
5374 };
5375
5376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5379 {
5380 arg2 = &temp2;
5381 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5382 }
5383 {
5384 PyThreadState* __tstate = wxPyBeginAllowThreads();
5385 result = (bool)((wxPoint2D const *)arg1)->operator ==((wxPoint2D const &)*arg2);
5386
5387 wxPyEndAllowThreads(__tstate);
5388 if (PyErr_Occurred()) SWIG_fail;
5389 }
4f89f6a3
RD
5390 {
5391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5392 }
d14a1e28
RD
5393 return resultobj;
5394 fail:
5395 return NULL;
5396}
5397
5398
5399static PyObject *_wrap_Point2D___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
5400 PyObject *resultobj;
5401 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5402 wxPoint2D *arg2 = 0 ;
5403 bool result;
5404 wxPoint2D temp2 ;
5405 PyObject * obj0 = 0 ;
5406 PyObject * obj1 = 0 ;
5407 char *kwnames[] = {
5408 (char *) "self",(char *) "pt", NULL
5409 };
5410
5411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5414 {
5415 arg2 = &temp2;
5416 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5417 }
5418 {
5419 PyThreadState* __tstate = wxPyBeginAllowThreads();
5420 result = (bool)((wxPoint2D const *)arg1)->operator !=((wxPoint2D const &)*arg2);
5421
5422 wxPyEndAllowThreads(__tstate);
5423 if (PyErr_Occurred()) SWIG_fail;
5424 }
4f89f6a3
RD
5425 {
5426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5427 }
d14a1e28
RD
5428 return resultobj;
5429 fail:
5430 return NULL;
5431}
5432
5433
d14a1e28
RD
5434static PyObject *_wrap_Point2D_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5435 PyObject *resultobj;
5436 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5437 double arg2 ;
5438 PyObject * obj0 = 0 ;
994141e6 5439 PyObject * obj1 = 0 ;
d14a1e28
RD
5440 char *kwnames[] = {
5441 (char *) "self",(char *) "m_x", NULL
5442 };
5443
994141e6 5444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5447 arg2 = (double) SWIG_AsDouble(obj1);
5448 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5449 if (arg1) (arg1)->m_x = arg2;
5450
5451 Py_INCREF(Py_None); resultobj = Py_None;
5452 return resultobj;
5453 fail:
5454 return NULL;
5455}
5456
5457
5458static PyObject *_wrap_Point2D_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5459 PyObject *resultobj;
5460 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5461 double result;
5462 PyObject * obj0 = 0 ;
5463 char *kwnames[] = {
5464 (char *) "self", NULL
5465 };
5466
5467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
5468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5470 result = (double) ((arg1)->m_x);
5471
15afbcd0 5472 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5473 return resultobj;
5474 fail:
5475 return NULL;
5476}
5477
5478
5479static PyObject *_wrap_Point2D_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5480 PyObject *resultobj;
5481 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5482 double arg2 ;
5483 PyObject * obj0 = 0 ;
994141e6 5484 PyObject * obj1 = 0 ;
d14a1e28
RD
5485 char *kwnames[] = {
5486 (char *) "self",(char *) "m_y", NULL
5487 };
5488
994141e6 5489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5492 arg2 = (double) SWIG_AsDouble(obj1);
5493 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5494 if (arg1) (arg1)->m_y = arg2;
5495
5496 Py_INCREF(Py_None); resultobj = Py_None;
5497 return resultobj;
5498 fail:
5499 return NULL;
5500}
5501
5502
5503static PyObject *_wrap_Point2D_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5504 PyObject *resultobj;
5505 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5506 double result;
5507 PyObject * obj0 = 0 ;
5508 char *kwnames[] = {
5509 (char *) "self", NULL
5510 };
5511
5512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
5513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5515 result = (double) ((arg1)->m_y);
5516
15afbcd0 5517 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5518 return resultobj;
5519 fail:
5520 return NULL;
5521}
5522
5523
5524static PyObject *_wrap_Point2D_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5525 PyObject *resultobj;
5526 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5527 double arg2 = (double) 0 ;
5528 double arg3 = (double) 0 ;
5529 PyObject * obj0 = 0 ;
994141e6
RD
5530 PyObject * obj1 = 0 ;
5531 PyObject * obj2 = 0 ;
d14a1e28
RD
5532 char *kwnames[] = {
5533 (char *) "self",(char *) "x",(char *) "y", NULL
5534 };
5535
994141e6 5536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Point2D_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5539 if (obj1) {
15afbcd0
RD
5540 arg2 = (double) SWIG_AsDouble(obj1);
5541 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
5542 }
5543 if (obj2) {
15afbcd0
RD
5544 arg3 = (double) SWIG_AsDouble(obj2);
5545 if (PyErr_Occurred()) SWIG_fail;
994141e6 5546 }
d14a1e28
RD
5547 {
5548 PyThreadState* __tstate = wxPyBeginAllowThreads();
5549 wxPoint2D_Set(arg1,arg2,arg3);
5550
5551 wxPyEndAllowThreads(__tstate);
5552 if (PyErr_Occurred()) SWIG_fail;
5553 }
5554 Py_INCREF(Py_None); resultobj = Py_None;
5555 return resultobj;
5556 fail:
5557 return NULL;
5558}
5559
5560
e811c8ce 5561static PyObject *_wrap_Point2D_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5562 PyObject *resultobj;
5563 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5564 PyObject *result;
5565 PyObject * obj0 = 0 ;
5566 char *kwnames[] = {
5567 (char *) "self", NULL
5568 };
5569
e811c8ce 5570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
5571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5573 {
5574 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5575 result = (PyObject *)wxPoint2D_Get(arg1);
d14a1e28
RD
5576
5577 wxPyEndAllowThreads(__tstate);
5578 if (PyErr_Occurred()) SWIG_fail;
5579 }
5580 resultobj = result;
5581 return resultobj;
5582 fail:
5583 return NULL;
5584}
5585
5586
5587static PyObject * Point2D_swigregister(PyObject *self, PyObject *args) {
5588 PyObject *obj;
5589 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5590 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D, obj);
5591 Py_INCREF(obj);
5592 return Py_BuildValue((char *)"");
5593}
5594static int _wrap_DefaultPosition_set(PyObject *_val) {
5595 PyErr_SetString(PyExc_TypeError,"Variable DefaultPosition is read-only.");
5596 return 1;
5597}
5598
5599
5600static PyObject *_wrap_DefaultPosition_get() {
5601 PyObject *pyobj;
5602
15afbcd0 5603 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultPosition), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
5604 return pyobj;
5605}
5606
5607
5608static int _wrap_DefaultSize_set(PyObject *_val) {
5609 PyErr_SetString(PyExc_TypeError,"Variable DefaultSize is read-only.");
5610 return 1;
5611}
5612
5613
5614static PyObject *_wrap_DefaultSize_get() {
5615 PyObject *pyobj;
5616
15afbcd0 5617 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSize), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
5618 return pyobj;
5619}
5620
5621
5622static PyObject *_wrap_new_InputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
5623 PyObject *resultobj;
5624 PyObject *arg1 = (PyObject *) 0 ;
5625 wxPyInputStream *result;
5626 PyObject * obj0 = 0 ;
5627 char *kwnames[] = {
5628 (char *) "p", NULL
5629 };
5630
5631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_InputStream",kwnames,&obj0)) goto fail;
5632 arg1 = obj0;
5633 {
5634 PyThreadState* __tstate = wxPyBeginAllowThreads();
5635 result = (wxPyInputStream *)new_wxPyInputStream(arg1);
5636
5637 wxPyEndAllowThreads(__tstate);
5638 if (PyErr_Occurred()) SWIG_fail;
5639 }
15afbcd0 5640 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyInputStream, 1);
d14a1e28
RD
5641 return resultobj;
5642 fail:
5643 return NULL;
5644}
5645
5646
5647static PyObject *_wrap_InputStream_close(PyObject *self, PyObject *args, PyObject *kwargs) {
5648 PyObject *resultobj;
5649 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5650 PyObject * obj0 = 0 ;
5651 char *kwnames[] = {
5652 (char *) "self", NULL
5653 };
5654
5655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_close",kwnames,&obj0)) goto fail;
15afbcd0
RD
5656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5658 {
5659 PyThreadState* __tstate = wxPyBeginAllowThreads();
5660 (arg1)->close();
5661
5662 wxPyEndAllowThreads(__tstate);
5663 if (PyErr_Occurred()) SWIG_fail;
5664 }
5665 Py_INCREF(Py_None); resultobj = Py_None;
5666 return resultobj;
5667 fail:
5668 return NULL;
5669}
5670
5671
5672static PyObject *_wrap_InputStream_flush(PyObject *self, PyObject *args, PyObject *kwargs) {
5673 PyObject *resultobj;
5674 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5675 PyObject * obj0 = 0 ;
5676 char *kwnames[] = {
5677 (char *) "self", NULL
5678 };
5679
5680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_flush",kwnames,&obj0)) goto fail;
15afbcd0
RD
5681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5683 {
5684 PyThreadState* __tstate = wxPyBeginAllowThreads();
5685 (arg1)->flush();
5686
5687 wxPyEndAllowThreads(__tstate);
5688 if (PyErr_Occurred()) SWIG_fail;
5689 }
5690 Py_INCREF(Py_None); resultobj = Py_None;
5691 return resultobj;
5692 fail:
5693 return NULL;
5694}
5695
5696
5697static PyObject *_wrap_InputStream_eof(PyObject *self, PyObject *args, PyObject *kwargs) {
5698 PyObject *resultobj;
5699 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5700 bool result;
5701 PyObject * obj0 = 0 ;
5702 char *kwnames[] = {
5703 (char *) "self", NULL
5704 };
5705
5706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_eof",kwnames,&obj0)) goto fail;
15afbcd0
RD
5707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5709 {
5710 PyThreadState* __tstate = wxPyBeginAllowThreads();
5711 result = (bool)(arg1)->eof();
5712
5713 wxPyEndAllowThreads(__tstate);
5714 if (PyErr_Occurred()) SWIG_fail;
5715 }
4f89f6a3
RD
5716 {
5717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5718 }
d14a1e28
RD
5719 return resultobj;
5720 fail:
5721 return NULL;
5722}
5723
5724
5725static PyObject *_wrap_InputStream_read(PyObject *self, PyObject *args, PyObject *kwargs) {
5726 PyObject *resultobj;
5727 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5728 int arg2 = (int) -1 ;
5729 PyObject *result;
5730 PyObject * obj0 = 0 ;
994141e6 5731 PyObject * obj1 = 0 ;
d14a1e28
RD
5732 char *kwnames[] = {
5733 (char *) "self",(char *) "size", NULL
5734 };
5735
994141e6 5736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_read",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5739 if (obj1) {
15afbcd0
RD
5740 arg2 = (int) SWIG_AsInt(obj1);
5741 if (PyErr_Occurred()) SWIG_fail;
994141e6 5742 }
d14a1e28
RD
5743 {
5744 PyThreadState* __tstate = wxPyBeginAllowThreads();
5745 result = (PyObject *)(arg1)->read(arg2);
5746
5747 wxPyEndAllowThreads(__tstate);
5748 if (PyErr_Occurred()) SWIG_fail;
5749 }
5750 resultobj = result;
5751 return resultobj;
5752 fail:
5753 return NULL;
5754}
5755
5756
5757static PyObject *_wrap_InputStream_readline(PyObject *self, PyObject *args, PyObject *kwargs) {
5758 PyObject *resultobj;
5759 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5760 int arg2 = (int) -1 ;
5761 PyObject *result;
5762 PyObject * obj0 = 0 ;
994141e6 5763 PyObject * obj1 = 0 ;
d14a1e28
RD
5764 char *kwnames[] = {
5765 (char *) "self",(char *) "size", NULL
5766 };
5767
994141e6 5768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readline",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5771 if (obj1) {
15afbcd0
RD
5772 arg2 = (int) SWIG_AsInt(obj1);
5773 if (PyErr_Occurred()) SWIG_fail;
994141e6 5774 }
d14a1e28
RD
5775 {
5776 PyThreadState* __tstate = wxPyBeginAllowThreads();
5777 result = (PyObject *)(arg1)->readline(arg2);
5778
5779 wxPyEndAllowThreads(__tstate);
5780 if (PyErr_Occurred()) SWIG_fail;
5781 }
5782 resultobj = result;
5783 return resultobj;
5784 fail:
5785 return NULL;
5786}
5787
5788
5789static PyObject *_wrap_InputStream_readlines(PyObject *self, PyObject *args, PyObject *kwargs) {
5790 PyObject *resultobj;
5791 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5792 int arg2 = (int) -1 ;
5793 PyObject *result;
5794 PyObject * obj0 = 0 ;
994141e6 5795 PyObject * obj1 = 0 ;
d14a1e28
RD
5796 char *kwnames[] = {
5797 (char *) "self",(char *) "sizehint", NULL
5798 };
5799
994141e6 5800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readlines",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5803 if (obj1) {
15afbcd0
RD
5804 arg2 = (int) SWIG_AsInt(obj1);
5805 if (PyErr_Occurred()) SWIG_fail;
994141e6 5806 }
d14a1e28
RD
5807 {
5808 PyThreadState* __tstate = wxPyBeginAllowThreads();
5809 result = (PyObject *)(arg1)->readlines(arg2);
5810
5811 wxPyEndAllowThreads(__tstate);
5812 if (PyErr_Occurred()) SWIG_fail;
5813 }
5814 resultobj = result;
5815 return resultobj;
5816 fail:
5817 return NULL;
5818}
5819
5820
5821static PyObject *_wrap_InputStream_seek(PyObject *self, PyObject *args, PyObject *kwargs) {
5822 PyObject *resultobj;
5823 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5824 int arg2 ;
5825 int arg3 = (int) 0 ;
5826 PyObject * obj0 = 0 ;
994141e6
RD
5827 PyObject * obj1 = 0 ;
5828 PyObject * obj2 = 0 ;
d14a1e28
RD
5829 char *kwnames[] = {
5830 (char *) "self",(char *) "offset",(char *) "whence", NULL
5831 };
5832
994141e6 5833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_seek",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5836 arg2 = (int) SWIG_AsInt(obj1);
5837 if (PyErr_Occurred()) SWIG_fail;
994141e6 5838 if (obj2) {
15afbcd0
RD
5839 arg3 = (int) SWIG_AsInt(obj2);
5840 if (PyErr_Occurred()) SWIG_fail;
994141e6 5841 }
d14a1e28
RD
5842 {
5843 PyThreadState* __tstate = wxPyBeginAllowThreads();
5844 (arg1)->seek(arg2,arg3);
5845
5846 wxPyEndAllowThreads(__tstate);
5847 if (PyErr_Occurred()) SWIG_fail;
5848 }
5849 Py_INCREF(Py_None); resultobj = Py_None;
5850 return resultobj;
5851 fail:
5852 return NULL;
5853}
5854
5855
5856static PyObject *_wrap_InputStream_tell(PyObject *self, PyObject *args, PyObject *kwargs) {
5857 PyObject *resultobj;
5858 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5859 int result;
5860 PyObject * obj0 = 0 ;
5861 char *kwnames[] = {
5862 (char *) "self", NULL
5863 };
5864
5865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_tell",kwnames,&obj0)) goto fail;
15afbcd0
RD
5866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5868 {
5869 PyThreadState* __tstate = wxPyBeginAllowThreads();
5870 result = (int)(arg1)->tell();
5871
5872 wxPyEndAllowThreads(__tstate);
5873 if (PyErr_Occurred()) SWIG_fail;
5874 }
15afbcd0 5875 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5876 return resultobj;
5877 fail:
5878 return NULL;
5879}
5880
5881
5882static PyObject *_wrap_InputStream_Peek(PyObject *self, PyObject *args, PyObject *kwargs) {
5883 PyObject *resultobj;
5884 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5885 char result;
5886 PyObject * obj0 = 0 ;
5887 char *kwnames[] = {
5888 (char *) "self", NULL
5889 };
5890
5891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Peek",kwnames,&obj0)) goto fail;
15afbcd0
RD
5892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5894 {
5895 PyThreadState* __tstate = wxPyBeginAllowThreads();
5896 result = (char)(arg1)->Peek();
5897
5898 wxPyEndAllowThreads(__tstate);
5899 if (PyErr_Occurred()) SWIG_fail;
5900 }
15afbcd0 5901 resultobj = SWIG_FromChar((char)result);
d14a1e28
RD
5902 return resultobj;
5903 fail:
5904 return NULL;
5905}
5906
5907
5908static PyObject *_wrap_InputStream_GetC(PyObject *self, PyObject *args, PyObject *kwargs) {
5909 PyObject *resultobj;
5910 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5911 char result;
5912 PyObject * obj0 = 0 ;
5913 char *kwnames[] = {
5914 (char *) "self", NULL
5915 };
5916
5917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_GetC",kwnames,&obj0)) goto fail;
15afbcd0
RD
5918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5920 {
5921 PyThreadState* __tstate = wxPyBeginAllowThreads();
5922 result = (char)(arg1)->GetC();
5923
5924 wxPyEndAllowThreads(__tstate);
5925 if (PyErr_Occurred()) SWIG_fail;
5926 }
15afbcd0 5927 resultobj = SWIG_FromChar((char)result);
d14a1e28
RD
5928 return resultobj;
5929 fail:
5930 return NULL;
5931}
5932
5933
5934static PyObject *_wrap_InputStream_LastRead(PyObject *self, PyObject *args, PyObject *kwargs) {
5935 PyObject *resultobj;
5936 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5937 size_t result;
5938 PyObject * obj0 = 0 ;
5939 char *kwnames[] = {
5940 (char *) "self", NULL
5941 };
5942
5943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_LastRead",kwnames,&obj0)) goto fail;
15afbcd0
RD
5944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5946 {
5947 PyThreadState* __tstate = wxPyBeginAllowThreads();
5948 result = (size_t)(arg1)->LastRead();
5949
5950 wxPyEndAllowThreads(__tstate);
5951 if (PyErr_Occurred()) SWIG_fail;
5952 }
15afbcd0 5953 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
5954 return resultobj;
5955 fail:
5956 return NULL;
5957}
5958
5959
5960static PyObject *_wrap_InputStream_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
5961 PyObject *resultobj;
5962 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5963 bool result;
5964 PyObject * obj0 = 0 ;
5965 char *kwnames[] = {
5966 (char *) "self", NULL
5967 };
5968
5969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_CanRead",kwnames,&obj0)) goto fail;
15afbcd0
RD
5970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5972 {
5973 PyThreadState* __tstate = wxPyBeginAllowThreads();
5974 result = (bool)(arg1)->CanRead();
5975
5976 wxPyEndAllowThreads(__tstate);
5977 if (PyErr_Occurred()) SWIG_fail;
5978 }
4f89f6a3
RD
5979 {
5980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5981 }
d14a1e28
RD
5982 return resultobj;
5983 fail:
5984 return NULL;
5985}
5986
5987
5988static PyObject *_wrap_InputStream_Eof(PyObject *self, PyObject *args, PyObject *kwargs) {
5989 PyObject *resultobj;
5990 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5991 bool result;
5992 PyObject * obj0 = 0 ;
5993 char *kwnames[] = {
5994 (char *) "self", NULL
5995 };
5996
5997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Eof",kwnames,&obj0)) goto fail;
15afbcd0
RD
5998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6000 {
6001 PyThreadState* __tstate = wxPyBeginAllowThreads();
6002 result = (bool)(arg1)->Eof();
6003
6004 wxPyEndAllowThreads(__tstate);
6005 if (PyErr_Occurred()) SWIG_fail;
6006 }
4f89f6a3
RD
6007 {
6008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6009 }
d14a1e28
RD
6010 return resultobj;
6011 fail:
6012 return NULL;
6013}
6014
6015
6016static PyObject *_wrap_InputStream_Ungetch(PyObject *self, PyObject *args, PyObject *kwargs) {
6017 PyObject *resultobj;
6018 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6019 char arg2 ;
6020 bool result;
6021 PyObject * obj0 = 0 ;
994141e6 6022 PyObject * obj1 = 0 ;
d14a1e28
RD
6023 char *kwnames[] = {
6024 (char *) "self",(char *) "c", NULL
6025 };
6026
994141e6 6027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InputStream_Ungetch",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6030 arg2 = (char) SWIG_AsChar(obj1);
6031 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6032 {
6033 PyThreadState* __tstate = wxPyBeginAllowThreads();
6034 result = (bool)(arg1)->Ungetch(arg2);
6035
6036 wxPyEndAllowThreads(__tstate);
6037 if (PyErr_Occurred()) SWIG_fail;
6038 }
4f89f6a3
RD
6039 {
6040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6041 }
d14a1e28
RD
6042 return resultobj;
6043 fail:
6044 return NULL;
6045}
6046
6047
6048static PyObject *_wrap_InputStream_SeekI(PyObject *self, PyObject *args, PyObject *kwargs) {
6049 PyObject *resultobj;
6050 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6051 long arg2 ;
6052 int arg3 = (int) wxFromStart ;
6053 long result;
6054 PyObject * obj0 = 0 ;
994141e6
RD
6055 PyObject * obj1 = 0 ;
6056 PyObject * obj2 = 0 ;
d14a1e28
RD
6057 char *kwnames[] = {
6058 (char *) "self",(char *) "pos",(char *) "mode", NULL
6059 };
6060
994141e6 6061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_SeekI",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6064 arg2 = (long) SWIG_AsLong(obj1);
6065 if (PyErr_Occurred()) SWIG_fail;
994141e6 6066 if (obj2) {
15afbcd0
RD
6067 arg3 = (wxSeekMode) SWIG_AsInt(obj2);
6068 if (PyErr_Occurred()) SWIG_fail;
994141e6 6069 }
d14a1e28
RD
6070 {
6071 PyThreadState* __tstate = wxPyBeginAllowThreads();
6072 result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3);
6073
6074 wxPyEndAllowThreads(__tstate);
6075 if (PyErr_Occurred()) SWIG_fail;
6076 }
15afbcd0 6077 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
6078 return resultobj;
6079 fail:
6080 return NULL;
6081}
6082
6083
6084static PyObject *_wrap_InputStream_TellI(PyObject *self, PyObject *args, PyObject *kwargs) {
6085 PyObject *resultobj;
6086 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6087 long result;
6088 PyObject * obj0 = 0 ;
6089 char *kwnames[] = {
6090 (char *) "self", NULL
6091 };
6092
6093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_TellI",kwnames,&obj0)) goto fail;
15afbcd0
RD
6094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6096 {
6097 PyThreadState* __tstate = wxPyBeginAllowThreads();
6098 result = (long)(arg1)->TellI();
6099
6100 wxPyEndAllowThreads(__tstate);
6101 if (PyErr_Occurred()) SWIG_fail;
6102 }
15afbcd0 6103 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
6104 return resultobj;
6105 fail:
6106 return NULL;
6107}
6108
6109
6110static PyObject * InputStream_swigregister(PyObject *self, PyObject *args) {
6111 PyObject *obj;
6112 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6113 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream, obj);
6114 Py_INCREF(obj);
6115 return Py_BuildValue((char *)"");
6116}
6117static PyObject *_wrap_OutputStream_write(PyObject *self, PyObject *args, PyObject *kwargs) {
6118 PyObject *resultobj;
6119 wxOutputStream *arg1 = (wxOutputStream *) 0 ;
6120 PyObject *arg2 = (PyObject *) 0 ;
6121 PyObject * obj0 = 0 ;
6122 PyObject * obj1 = 0 ;
6123 char *kwnames[] = {
6124 (char *) "self",(char *) "obj", NULL
6125 };
6126
6127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:OutputStream_write",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOutputStream,
6129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6130 arg2 = obj1;
6131 {
6132 PyThreadState* __tstate = wxPyBeginAllowThreads();
6133 wxOutputStream_write(arg1,arg2);
6134
6135 wxPyEndAllowThreads(__tstate);
6136 if (PyErr_Occurred()) SWIG_fail;
6137 }
6138 Py_INCREF(Py_None); resultobj = Py_None;
6139 return resultobj;
6140 fail:
6141 return NULL;
6142}
6143
6144
6145static PyObject * OutputStream_swigregister(PyObject *self, PyObject *args) {
6146 PyObject *obj;
6147 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6148 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream, obj);
6149 Py_INCREF(obj);
6150 return Py_BuildValue((char *)"");
6151}
6152static PyObject *_wrap_new_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6153 PyObject *resultobj;
6154 wxInputStream *arg1 = (wxInputStream *) 0 ;
6155 wxString *arg2 = 0 ;
6156 wxString *arg3 = 0 ;
6157 wxString *arg4 = 0 ;
6158 wxDateTime arg5 ;
6159 wxFSFile *result;
6160 wxPyInputStream *temp1 ;
6161 bool created1 ;
e811c8ce
RD
6162 bool temp2 = False ;
6163 bool temp3 = False ;
6164 bool temp4 = False ;
d14a1e28
RD
6165 wxDateTime *argp5 ;
6166 PyObject * obj0 = 0 ;
6167 PyObject * obj1 = 0 ;
6168 PyObject * obj2 = 0 ;
6169 PyObject * obj3 = 0 ;
6170 PyObject * obj4 = 0 ;
6171 char *kwnames[] = {
6172 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6173 };
6174
6175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_FSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6176 {
6177 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
6178 arg1 = temp1->m_wxis;
e811c8ce 6179 created1 = False;
d14a1e28
RD
6180 } else {
6181 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 6182 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
6183 if (arg1 == NULL) {
6184 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
6185 SWIG_fail;
6186 }
e811c8ce 6187 created1 = True;
d14a1e28
RD
6188 }
6189 }
6190 {
6191 arg2 = wxString_in_helper(obj1);
6192 if (arg2 == NULL) SWIG_fail;
e811c8ce 6193 temp2 = True;
d14a1e28
RD
6194 }
6195 {
6196 arg3 = wxString_in_helper(obj2);
6197 if (arg3 == NULL) SWIG_fail;
e811c8ce 6198 temp3 = True;
d14a1e28
RD
6199 }
6200 {
6201 arg4 = wxString_in_helper(obj3);
6202 if (arg4 == NULL) SWIG_fail;
e811c8ce 6203 temp4 = True;
d14a1e28 6204 }
15afbcd0
RD
6205 if ((SWIG_ConvertPtr(obj4,(void **)(&argp5),SWIGTYPE_p_wxDateTime,
6206 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6207 arg5 = *argp5;
d14a1e28
RD
6208 {
6209 PyThreadState* __tstate = wxPyBeginAllowThreads();
6210 result = (wxFSFile *)new wxFSFile(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
6211
6212 wxPyEndAllowThreads(__tstate);
6213 if (PyErr_Occurred()) SWIG_fail;
6214 }
6215 {
6216 resultobj = wxPyMake_wxObject(result);
6217 }
6218 {
6219 if (created1)
6220 delete arg1;
6221 }
6222 {
6223 if (temp2)
6224 delete arg2;
6225 }
6226 {
6227 if (temp3)
6228 delete arg3;
6229 }
6230 {
6231 if (temp4)
6232 delete arg4;
6233 }
6234 return resultobj;
6235 fail:
6236 {
6237 if (created1)
6238 delete arg1;
6239 }
6240 {
6241 if (temp2)
6242 delete arg2;
6243 }
6244 {
6245 if (temp3)
6246 delete arg3;
6247 }
6248 {
6249 if (temp4)
6250 delete arg4;
6251 }
6252 return NULL;
6253}
6254
6255
6256static PyObject *_wrap_delete_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6257 PyObject *resultobj;
6258 wxFSFile *arg1 = (wxFSFile *) 0 ;
6259 PyObject * obj0 = 0 ;
6260 char *kwnames[] = {
6261 (char *) "self", NULL
6262 };
6263
6264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FSFile",kwnames,&obj0)) goto fail;
15afbcd0
RD
6265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6267 {
6268 PyThreadState* __tstate = wxPyBeginAllowThreads();
6269 delete arg1;
6270
6271 wxPyEndAllowThreads(__tstate);
6272 if (PyErr_Occurred()) SWIG_fail;
6273 }
6274 Py_INCREF(Py_None); resultobj = Py_None;
6275 return resultobj;
6276 fail:
6277 return NULL;
6278}
6279
6280
6281static PyObject *_wrap_FSFile_GetStream(PyObject *self, PyObject *args, PyObject *kwargs) {
6282 PyObject *resultobj;
6283 wxFSFile *arg1 = (wxFSFile *) 0 ;
6284 wxInputStream *result;
6285 PyObject * obj0 = 0 ;
6286 char *kwnames[] = {
6287 (char *) "self", NULL
6288 };
6289
6290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetStream",kwnames,&obj0)) goto fail;
15afbcd0
RD
6291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6293 {
6294 PyThreadState* __tstate = wxPyBeginAllowThreads();
6295 result = (wxInputStream *)(arg1)->GetStream();
6296
6297 wxPyEndAllowThreads(__tstate);
6298 if (PyErr_Occurred()) SWIG_fail;
6299 }
6300 {
6301 wxPyInputStream * _ptr = NULL;
6302
6303 if (result) {
6304 _ptr = new wxPyInputStream(result);
6305 }
e811c8ce 6306 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
6307 }
6308 return resultobj;
6309 fail:
6310 return NULL;
6311}
6312
6313
6314static PyObject *_wrap_FSFile_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
6315 PyObject *resultobj;
6316 wxFSFile *arg1 = (wxFSFile *) 0 ;
6317 wxString *result;
6318 PyObject * obj0 = 0 ;
6319 char *kwnames[] = {
6320 (char *) "self", NULL
6321 };
6322
6323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetMimeType",kwnames,&obj0)) goto fail;
15afbcd0
RD
6324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6326 {
6327 PyThreadState* __tstate = wxPyBeginAllowThreads();
6328 {
6329 wxString const &_result_ref = (arg1)->GetMimeType();
6330 result = (wxString *) &_result_ref;
6331 }
6332
6333 wxPyEndAllowThreads(__tstate);
6334 if (PyErr_Occurred()) SWIG_fail;
6335 }
cc6dd355
RD
6336 {
6337#if wxUSE_UNICODE
6338 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6339#else
6340 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6341#endif
6342 }
d14a1e28
RD
6343 return resultobj;
6344 fail:
6345 return NULL;
6346}
6347
6348
6349static PyObject *_wrap_FSFile_GetLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6350 PyObject *resultobj;
6351 wxFSFile *arg1 = (wxFSFile *) 0 ;
6352 wxString *result;
6353 PyObject * obj0 = 0 ;
6354 char *kwnames[] = {
6355 (char *) "self", NULL
6356 };
6357
6358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetLocation",kwnames,&obj0)) goto fail;
15afbcd0
RD
6359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6361 {
6362 PyThreadState* __tstate = wxPyBeginAllowThreads();
6363 {
6364 wxString const &_result_ref = (arg1)->GetLocation();
6365 result = (wxString *) &_result_ref;
6366 }
6367
6368 wxPyEndAllowThreads(__tstate);
6369 if (PyErr_Occurred()) SWIG_fail;
6370 }
cc6dd355
RD
6371 {
6372#if wxUSE_UNICODE
6373 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6374#else
6375 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6376#endif
6377 }
d14a1e28
RD
6378 return resultobj;
6379 fail:
6380 return NULL;
6381}
6382
6383
6384static PyObject *_wrap_FSFile_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6385 PyObject *resultobj;
6386 wxFSFile *arg1 = (wxFSFile *) 0 ;
6387 wxString *result;
6388 PyObject * obj0 = 0 ;
6389 char *kwnames[] = {
6390 (char *) "self", NULL
6391 };
6392
6393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetAnchor",kwnames,&obj0)) goto fail;
15afbcd0
RD
6394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6396 {
6397 PyThreadState* __tstate = wxPyBeginAllowThreads();
6398 {
6399 wxString const &_result_ref = (arg1)->GetAnchor();
6400 result = (wxString *) &_result_ref;
6401 }
6402
6403 wxPyEndAllowThreads(__tstate);
6404 if (PyErr_Occurred()) SWIG_fail;
6405 }
cc6dd355
RD
6406 {
6407#if wxUSE_UNICODE
6408 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6409#else
6410 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6411#endif
6412 }
d14a1e28
RD
6413 return resultobj;
6414 fail:
6415 return NULL;
6416}
6417
6418
6419static PyObject *_wrap_FSFile_GetModificationTime(PyObject *self, PyObject *args, PyObject *kwargs) {
6420 PyObject *resultobj;
6421 wxFSFile *arg1 = (wxFSFile *) 0 ;
6422 wxDateTime result;
6423 PyObject * obj0 = 0 ;
6424 char *kwnames[] = {
6425 (char *) "self", NULL
6426 };
6427
6428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetModificationTime",kwnames,&obj0)) goto fail;
15afbcd0
RD
6429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6431 {
6432 PyThreadState* __tstate = wxPyBeginAllowThreads();
6433 result = (arg1)->GetModificationTime();
6434
6435 wxPyEndAllowThreads(__tstate);
6436 if (PyErr_Occurred()) SWIG_fail;
6437 }
6438 {
6439 wxDateTime * resultptr;
6440 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 6441 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
6442 }
6443 return resultobj;
6444 fail:
6445 return NULL;
6446}
6447
6448
6449static PyObject * FSFile_swigregister(PyObject *self, PyObject *args) {
6450 PyObject *obj;
6451 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6452 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile, obj);
6453 Py_INCREF(obj);
6454 return Py_BuildValue((char *)"");
6455}
6456static PyObject * CPPFileSystemHandler_swigregister(PyObject *self, PyObject *args) {
6457 PyObject *obj;
6458 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6459 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler, obj);
6460 Py_INCREF(obj);
6461 return Py_BuildValue((char *)"");
6462}
6463static PyObject *_wrap_new_FileSystemHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6464 PyObject *resultobj;
6465 wxPyFileSystemHandler *result;
6466 char *kwnames[] = {
6467 NULL
6468 };
6469
6470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystemHandler",kwnames)) goto fail;
6471 {
6472 PyThreadState* __tstate = wxPyBeginAllowThreads();
6473 result = (wxPyFileSystemHandler *)new wxPyFileSystemHandler();
6474
6475 wxPyEndAllowThreads(__tstate);
6476 if (PyErr_Occurred()) SWIG_fail;
6477 }
15afbcd0 6478 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileSystemHandler, 1);
d14a1e28
RD
6479 return resultobj;
6480 fail:
6481 return NULL;
6482}
6483
6484
6485static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6486 PyObject *resultobj;
6487 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6488 PyObject *arg2 = (PyObject *) 0 ;
6489 PyObject *arg3 = (PyObject *) 0 ;
6490 PyObject * obj0 = 0 ;
6491 PyObject * obj1 = 0 ;
6492 PyObject * obj2 = 0 ;
6493 char *kwnames[] = {
6494 (char *) "self",(char *) "self",(char *) "_class", NULL
6495 };
6496
6497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6500 arg2 = obj1;
6501 arg3 = obj2;
6502 {
6503 PyThreadState* __tstate = wxPyBeginAllowThreads();
6504 (arg1)->_setCallbackInfo(arg2,arg3);
6505
6506 wxPyEndAllowThreads(__tstate);
6507 if (PyErr_Occurred()) SWIG_fail;
6508 }
6509 Py_INCREF(Py_None); resultobj = Py_None;
6510 return resultobj;
6511 fail:
6512 return NULL;
6513}
6514
6515
6516static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6517 PyObject *resultobj;
6518 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6519 wxString *arg2 = 0 ;
6520 bool result;
e811c8ce 6521 bool temp2 = False ;
d14a1e28
RD
6522 PyObject * obj0 = 0 ;
6523 PyObject * obj1 = 0 ;
6524 char *kwnames[] = {
6525 (char *) "self",(char *) "location", NULL
6526 };
6527
6528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6531 {
6532 arg2 = wxString_in_helper(obj1);
6533 if (arg2 == NULL) SWIG_fail;
e811c8ce 6534 temp2 = True;
d14a1e28
RD
6535 }
6536 {
6537 PyThreadState* __tstate = wxPyBeginAllowThreads();
6538 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6539
6540 wxPyEndAllowThreads(__tstate);
6541 if (PyErr_Occurred()) SWIG_fail;
6542 }
4f89f6a3
RD
6543 {
6544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6545 }
d14a1e28
RD
6546 {
6547 if (temp2)
6548 delete arg2;
6549 }
6550 return resultobj;
6551 fail:
6552 {
6553 if (temp2)
6554 delete arg2;
6555 }
6556 return NULL;
6557}
6558
6559
6560static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6561 PyObject *resultobj;
6562 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6563 wxFileSystem *arg2 = 0 ;
6564 wxString *arg3 = 0 ;
6565 wxFSFile *result;
e811c8ce 6566 bool temp3 = False ;
d14a1e28
RD
6567 PyObject * obj0 = 0 ;
6568 PyObject * obj1 = 0 ;
6569 PyObject * obj2 = 0 ;
6570 char *kwnames[] = {
6571 (char *) "self",(char *) "fs",(char *) "location", NULL
6572 };
6573
6574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6577 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
6578 SWIG_POINTER_EXCEPTION | 0)) == -1)
6579 SWIG_fail;
d14a1e28 6580 if (arg2 == NULL) {
15afbcd0
RD
6581 PyErr_SetString(PyExc_TypeError,"null reference");
6582 SWIG_fail;
d14a1e28
RD
6583 }
6584 {
6585 arg3 = wxString_in_helper(obj2);
6586 if (arg3 == NULL) SWIG_fail;
e811c8ce 6587 temp3 = True;
d14a1e28
RD
6588 }
6589 {
6590 PyThreadState* __tstate = wxPyBeginAllowThreads();
6591 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6592
6593 wxPyEndAllowThreads(__tstate);
6594 if (PyErr_Occurred()) SWIG_fail;
6595 }
6596 {
6597 resultobj = wxPyMake_wxObject(result);
6598 }
6599 {
6600 if (temp3)
6601 delete arg3;
6602 }
6603 return resultobj;
6604 fail:
6605 {
6606 if (temp3)
6607 delete arg3;
6608 }
6609 return NULL;
6610}
6611
6612
6613static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6614 PyObject *resultobj;
6615 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6616 wxString *arg2 = 0 ;
6617 int arg3 = (int) 0 ;
6618 wxString result;
e811c8ce 6619 bool temp2 = False ;
d14a1e28
RD
6620 PyObject * obj0 = 0 ;
6621 PyObject * obj1 = 0 ;
994141e6 6622 PyObject * obj2 = 0 ;
d14a1e28
RD
6623 char *kwnames[] = {
6624 (char *) "self",(char *) "spec",(char *) "flags", NULL
6625 };
6626
994141e6 6627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6630 {
6631 arg2 = wxString_in_helper(obj1);
6632 if (arg2 == NULL) SWIG_fail;
e811c8ce 6633 temp2 = True;
d14a1e28 6634 }
994141e6 6635 if (obj2) {
15afbcd0
RD
6636 arg3 = (int) SWIG_AsInt(obj2);
6637 if (PyErr_Occurred()) SWIG_fail;
994141e6 6638 }
d14a1e28
RD
6639 {
6640 PyThreadState* __tstate = wxPyBeginAllowThreads();
6641 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6642
6643 wxPyEndAllowThreads(__tstate);
6644 if (PyErr_Occurred()) SWIG_fail;
6645 }
6646 {
6647#if wxUSE_UNICODE
6648 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6649#else
6650 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6651#endif
6652 }
6653 {
6654 if (temp2)
6655 delete arg2;
6656 }
6657 return resultobj;
6658 fail:
6659 {
6660 if (temp2)
6661 delete arg2;
6662 }
6663 return NULL;
6664}
6665
6666
6667static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6668 PyObject *resultobj;
6669 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6670 wxString result;
6671 PyObject * obj0 = 0 ;
6672 char *kwnames[] = {
6673 (char *) "self", NULL
6674 };
6675
6676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystemHandler_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
6677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6679 {
6680 PyThreadState* __tstate = wxPyBeginAllowThreads();
6681 result = (arg1)->FindNext();
6682
6683 wxPyEndAllowThreads(__tstate);
6684 if (PyErr_Occurred()) SWIG_fail;
6685 }
6686 {
6687#if wxUSE_UNICODE
6688 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6689#else
6690 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6691#endif
6692 }
6693 return resultobj;
6694 fail:
6695 return NULL;
6696}
6697
6698
6699static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *self, PyObject *args, PyObject *kwargs) {
6700 PyObject *resultobj;
6701 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6702 wxString *arg2 = 0 ;
6703 wxString result;
e811c8ce 6704 bool temp2 = False ;
d14a1e28
RD
6705 PyObject * obj0 = 0 ;
6706 PyObject * obj1 = 0 ;
6707 char *kwnames[] = {
6708 (char *) "self",(char *) "location", NULL
6709 };
6710
6711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetProtocol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6714 {
6715 arg2 = wxString_in_helper(obj1);
6716 if (arg2 == NULL) SWIG_fail;
e811c8ce 6717 temp2 = True;
d14a1e28
RD
6718 }
6719 {
6720 PyThreadState* __tstate = wxPyBeginAllowThreads();
6721 result = (arg1)->GetProtocol((wxString const &)*arg2);
6722
6723 wxPyEndAllowThreads(__tstate);
6724 if (PyErr_Occurred()) SWIG_fail;
6725 }
6726 {
6727#if wxUSE_UNICODE
6728 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6729#else
6730 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6731#endif
6732 }
6733 {
6734 if (temp2)
6735 delete arg2;
6736 }
6737 return resultobj;
6738 fail:
6739 {
6740 if (temp2)
6741 delete arg2;
6742 }
6743 return NULL;
6744}
6745
6746
6747static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6748 PyObject *resultobj;
6749 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6750 wxString *arg2 = 0 ;
6751 wxString result;
e811c8ce 6752 bool temp2 = False ;
d14a1e28
RD
6753 PyObject * obj0 = 0 ;
6754 PyObject * obj1 = 0 ;
6755 char *kwnames[] = {
6756 (char *) "self",(char *) "location", NULL
6757 };
6758
6759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6762 {
6763 arg2 = wxString_in_helper(obj1);
6764 if (arg2 == NULL) SWIG_fail;
e811c8ce 6765 temp2 = True;
d14a1e28
RD
6766 }
6767 {
6768 PyThreadState* __tstate = wxPyBeginAllowThreads();
6769 result = (arg1)->GetLeftLocation((wxString const &)*arg2);
6770
6771 wxPyEndAllowThreads(__tstate);
6772 if (PyErr_Occurred()) SWIG_fail;
6773 }
6774 {
6775#if wxUSE_UNICODE
6776 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6777#else
6778 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6779#endif
6780 }
6781 {
6782 if (temp2)
6783 delete arg2;
6784 }
6785 return resultobj;
6786 fail:
6787 {
6788 if (temp2)
6789 delete arg2;
6790 }
6791 return NULL;
6792}
6793
6794
6795static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6796 PyObject *resultobj;
6797 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6798 wxString *arg2 = 0 ;
6799 wxString result;
e811c8ce 6800 bool temp2 = False ;
d14a1e28
RD
6801 PyObject * obj0 = 0 ;
6802 PyObject * obj1 = 0 ;
6803 char *kwnames[] = {
6804 (char *) "self",(char *) "location", NULL
6805 };
6806
6807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetAnchor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6810 {
6811 arg2 = wxString_in_helper(obj1);
6812 if (arg2 == NULL) SWIG_fail;
e811c8ce 6813 temp2 = True;
d14a1e28
RD
6814 }
6815 {
6816 PyThreadState* __tstate = wxPyBeginAllowThreads();
6817 result = (arg1)->GetAnchor((wxString const &)*arg2);
6818
6819 wxPyEndAllowThreads(__tstate);
6820 if (PyErr_Occurred()) SWIG_fail;
6821 }
6822 {
6823#if wxUSE_UNICODE
6824 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6825#else
6826 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6827#endif
6828 }
6829 {
6830 if (temp2)
6831 delete arg2;
6832 }
6833 return resultobj;
6834 fail:
6835 {
6836 if (temp2)
6837 delete arg2;
6838 }
6839 return NULL;
6840}
6841
6842
6843static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6844 PyObject *resultobj;
6845 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6846 wxString *arg2 = 0 ;
6847 wxString result;
e811c8ce 6848 bool temp2 = False ;
d14a1e28
RD
6849 PyObject * obj0 = 0 ;
6850 PyObject * obj1 = 0 ;
6851 char *kwnames[] = {
6852 (char *) "self",(char *) "location", NULL
6853 };
6854
6855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6858 {
6859 arg2 = wxString_in_helper(obj1);
6860 if (arg2 == NULL) SWIG_fail;
e811c8ce 6861 temp2 = True;
d14a1e28
RD
6862 }
6863 {
6864 PyThreadState* __tstate = wxPyBeginAllowThreads();
6865 result = (arg1)->GetRightLocation((wxString const &)*arg2);
6866
6867 wxPyEndAllowThreads(__tstate);
6868 if (PyErr_Occurred()) SWIG_fail;
6869 }
6870 {
6871#if wxUSE_UNICODE
6872 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6873#else
6874 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6875#endif
6876 }
6877 {
6878 if (temp2)
6879 delete arg2;
6880 }
6881 return resultobj;
6882 fail:
6883 {
6884 if (temp2)
6885 delete arg2;
6886 }
6887 return NULL;
6888}
6889
6890
6891static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *self, PyObject *args, PyObject *kwargs) {
6892 PyObject *resultobj;
6893 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6894 wxString *arg2 = 0 ;
6895 wxString result;
e811c8ce 6896 bool temp2 = False ;
d14a1e28
RD
6897 PyObject * obj0 = 0 ;
6898 PyObject * obj1 = 0 ;
6899 char *kwnames[] = {
6900 (char *) "self",(char *) "location", NULL
6901 };
6902
6903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6906 {
6907 arg2 = wxString_in_helper(obj1);
6908 if (arg2 == NULL) SWIG_fail;
e811c8ce 6909 temp2 = True;
d14a1e28
RD
6910 }
6911 {
6912 PyThreadState* __tstate = wxPyBeginAllowThreads();
6913 result = (arg1)->GetMimeTypeFromExt((wxString const &)*arg2);
6914
6915 wxPyEndAllowThreads(__tstate);
6916 if (PyErr_Occurred()) SWIG_fail;
6917 }
6918 {
6919#if wxUSE_UNICODE
6920 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6921#else
6922 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6923#endif
6924 }
6925 {
6926 if (temp2)
6927 delete arg2;
6928 }
6929 return resultobj;
6930 fail:
6931 {
6932 if (temp2)
6933 delete arg2;
6934 }
6935 return NULL;
6936}
6937
6938
6939static PyObject * FileSystemHandler_swigregister(PyObject *self, PyObject *args) {
6940 PyObject *obj;
6941 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6942 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler, obj);
6943 Py_INCREF(obj);
6944 return Py_BuildValue((char *)"");
6945}
6946static PyObject *_wrap_new_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
6947 PyObject *resultobj;
6948 wxFileSystem *result;
6949 char *kwnames[] = {
6950 NULL
6951 };
6952
6953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystem",kwnames)) goto fail;
6954 {
6955 PyThreadState* __tstate = wxPyBeginAllowThreads();
6956 result = (wxFileSystem *)new wxFileSystem();
6957
6958 wxPyEndAllowThreads(__tstate);
6959 if (PyErr_Occurred()) SWIG_fail;
6960 }
6961 {
6962 resultobj = wxPyMake_wxObject(result);
6963 }
6964 return resultobj;
6965 fail:
6966 return NULL;
6967}
6968
6969
6970static PyObject *_wrap_delete_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
6971 PyObject *resultobj;
6972 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6973 PyObject * obj0 = 0 ;
6974 char *kwnames[] = {
6975 (char *) "self", NULL
6976 };
6977
6978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileSystem",kwnames,&obj0)) goto fail;
15afbcd0
RD
6979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
6980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6981 {
6982 PyThreadState* __tstate = wxPyBeginAllowThreads();
6983 delete arg1;
6984
6985 wxPyEndAllowThreads(__tstate);
6986 if (PyErr_Occurred()) SWIG_fail;
6987 }
6988 Py_INCREF(Py_None); resultobj = Py_None;
6989 return resultobj;
6990 fail:
6991 return NULL;
6992}
6993
6994
6995static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *self, PyObject *args, PyObject *kwargs) {
6996 PyObject *resultobj;
6997 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6998 wxString *arg2 = 0 ;
e811c8ce
RD
6999 bool arg3 = (bool) False ;
7000 bool temp2 = False ;
d14a1e28
RD
7001 PyObject * obj0 = 0 ;
7002 PyObject * obj1 = 0 ;
7003 PyObject * obj2 = 0 ;
7004 char *kwnames[] = {
7005 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7006 };
7007
7008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7011 {
7012 arg2 = wxString_in_helper(obj1);
7013 if (arg2 == NULL) SWIG_fail;
e811c8ce 7014 temp2 = True;
d14a1e28
RD
7015 }
7016 if (obj2) {
15afbcd0
RD
7017 arg3 = (bool) SWIG_AsBool(obj2);
7018 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7019 }
7020 {
7021 PyThreadState* __tstate = wxPyBeginAllowThreads();
7022 (arg1)->ChangePathTo((wxString const &)*arg2,arg3);
7023
7024 wxPyEndAllowThreads(__tstate);
7025 if (PyErr_Occurred()) SWIG_fail;
7026 }
7027 Py_INCREF(Py_None); resultobj = Py_None;
7028 {
7029 if (temp2)
7030 delete arg2;
7031 }
7032 return resultobj;
7033 fail:
7034 {
7035 if (temp2)
7036 delete arg2;
7037 }
7038 return NULL;
7039}
7040
7041
7042static PyObject *_wrap_FileSystem_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
7043 PyObject *resultobj;
7044 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7045 wxString result;
7046 PyObject * obj0 = 0 ;
7047 char *kwnames[] = {
7048 (char *) "self", NULL
7049 };
7050
7051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_GetPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
7052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7054 {
7055 PyThreadState* __tstate = wxPyBeginAllowThreads();
7056 result = (arg1)->GetPath();
7057
7058 wxPyEndAllowThreads(__tstate);
7059 if (PyErr_Occurred()) SWIG_fail;
7060 }
7061 {
7062#if wxUSE_UNICODE
7063 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7064#else
7065 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7066#endif
7067 }
7068 return resultobj;
7069 fail:
7070 return NULL;
7071}
7072
7073
7074static PyObject *_wrap_FileSystem_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7075 PyObject *resultobj;
7076 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7077 wxString *arg2 = 0 ;
7078 wxFSFile *result;
e811c8ce 7079 bool temp2 = False ;
d14a1e28
RD
7080 PyObject * obj0 = 0 ;
7081 PyObject * obj1 = 0 ;
7082 char *kwnames[] = {
7083 (char *) "self",(char *) "location", NULL
7084 };
7085
7086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7089 {
7090 arg2 = wxString_in_helper(obj1);
7091 if (arg2 == NULL) SWIG_fail;
e811c8ce 7092 temp2 = True;
d14a1e28
RD
7093 }
7094 {
7095 PyThreadState* __tstate = wxPyBeginAllowThreads();
7096 result = (wxFSFile *)(arg1)->OpenFile((wxString const &)*arg2);
7097
7098 wxPyEndAllowThreads(__tstate);
7099 if (PyErr_Occurred()) SWIG_fail;
7100 }
7101 {
7102 resultobj = wxPyMake_wxObject(result);
7103 }
7104 {
7105 if (temp2)
7106 delete arg2;
7107 }
7108 return resultobj;
7109 fail:
7110 {
7111 if (temp2)
7112 delete arg2;
7113 }
7114 return NULL;
7115}
7116
7117
7118static PyObject *_wrap_FileSystem_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
7119 PyObject *resultobj;
7120 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7121 wxString *arg2 = 0 ;
7122 int arg3 = (int) 0 ;
7123 wxString result;
e811c8ce 7124 bool temp2 = False ;
d14a1e28
RD
7125 PyObject * obj0 = 0 ;
7126 PyObject * obj1 = 0 ;
994141e6 7127 PyObject * obj2 = 0 ;
d14a1e28
RD
7128 char *kwnames[] = {
7129 (char *) "self",(char *) "spec",(char *) "flags", NULL
7130 };
7131
994141e6 7132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7135 {
7136 arg2 = wxString_in_helper(obj1);
7137 if (arg2 == NULL) SWIG_fail;
e811c8ce 7138 temp2 = True;
d14a1e28 7139 }
994141e6 7140 if (obj2) {
15afbcd0
RD
7141 arg3 = (int) SWIG_AsInt(obj2);
7142 if (PyErr_Occurred()) SWIG_fail;
994141e6 7143 }
d14a1e28
RD
7144 {
7145 PyThreadState* __tstate = wxPyBeginAllowThreads();
7146 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7147
7148 wxPyEndAllowThreads(__tstate);
7149 if (PyErr_Occurred()) SWIG_fail;
7150 }
7151 {
7152#if wxUSE_UNICODE
7153 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7154#else
7155 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7156#endif
7157 }
7158 {
7159 if (temp2)
7160 delete arg2;
7161 }
7162 return resultobj;
7163 fail:
7164 {
7165 if (temp2)
7166 delete arg2;
7167 }
7168 return NULL;
7169}
7170
7171
7172static PyObject *_wrap_FileSystem_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7173 PyObject *resultobj;
7174 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7175 wxString result;
7176 PyObject * obj0 = 0 ;
7177 char *kwnames[] = {
7178 (char *) "self", NULL
7179 };
7180
7181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
7182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7184 {
7185 PyThreadState* __tstate = wxPyBeginAllowThreads();
7186 result = (arg1)->FindNext();
7187
7188 wxPyEndAllowThreads(__tstate);
7189 if (PyErr_Occurred()) SWIG_fail;
7190 }
7191 {
7192#if wxUSE_UNICODE
7193 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7194#else
7195 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7196#endif
7197 }
7198 return resultobj;
7199 fail:
7200 return NULL;
7201}
7202
7203
7204static PyObject *_wrap_FileSystem_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7205 PyObject *resultobj;
7206 wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ;
7207 PyObject * obj0 = 0 ;
7208 char *kwnames[] = {
7209 (char *) "handler", NULL
7210 };
7211
7212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_AddHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
7213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystemHandler,
7214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7215 {
7216 PyThreadState* __tstate = wxPyBeginAllowThreads();
7217 wxFileSystem::AddHandler(arg1);
7218
7219 wxPyEndAllowThreads(__tstate);
7220 if (PyErr_Occurred()) SWIG_fail;
7221 }
7222 Py_INCREF(Py_None); resultobj = Py_None;
7223 return resultobj;
7224 fail:
7225 return NULL;
7226}
7227
7228
7229static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
7230 PyObject *resultobj;
7231 char *kwnames[] = {
7232 NULL
7233 };
7234
7235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FileSystem_CleanUpHandlers",kwnames)) goto fail;
7236 {
7237 PyThreadState* __tstate = wxPyBeginAllowThreads();
7238 wxFileSystem::CleanUpHandlers();
7239
7240 wxPyEndAllowThreads(__tstate);
7241 if (PyErr_Occurred()) SWIG_fail;
7242 }
7243 Py_INCREF(Py_None); resultobj = Py_None;
7244 return resultobj;
7245 fail:
7246 return NULL;
7247}
7248
7249
7250static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *self, PyObject *args, PyObject *kwargs) {
7251 PyObject *resultobj;
7252 wxString *arg1 = 0 ;
7253 wxString result;
e811c8ce 7254 bool temp1 = False ;
d14a1e28
RD
7255 PyObject * obj0 = 0 ;
7256 char *kwnames[] = {
7257 (char *) "filename", NULL
7258 };
7259
7260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FileNameToURL",kwnames,&obj0)) goto fail;
7261 {
7262 arg1 = wxString_in_helper(obj0);
7263 if (arg1 == NULL) SWIG_fail;
e811c8ce 7264 temp1 = True;
d14a1e28
RD
7265 }
7266 {
7267 PyThreadState* __tstate = wxPyBeginAllowThreads();
7268 result = wxFileSystem::FileNameToURL((wxString const &)*arg1);
7269
7270 wxPyEndAllowThreads(__tstate);
7271 if (PyErr_Occurred()) SWIG_fail;
7272 }
7273 {
7274#if wxUSE_UNICODE
7275 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7276#else
7277 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7278#endif
7279 }
7280 {
7281 if (temp1)
7282 delete arg1;
7283 }
7284 return resultobj;
7285 fail:
7286 {
7287 if (temp1)
7288 delete arg1;
7289 }
7290 return NULL;
7291}
7292
7293
7294static PyObject * FileSystem_swigregister(PyObject *self, PyObject *args) {
7295 PyObject *obj;
7296 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7297 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
7298 Py_INCREF(obj);
7299 return Py_BuildValue((char *)"");
7300}
7301static PyObject *_wrap_FileSystem_URLToFileName(PyObject *self, PyObject *args, PyObject *kwargs) {
7302 PyObject *resultobj;
7303 wxString *arg1 = 0 ;
7304 wxString result;
e811c8ce 7305 bool temp1 = False ;
d14a1e28
RD
7306 PyObject * obj0 = 0 ;
7307 char *kwnames[] = {
7308 (char *) "url", NULL
7309 };
7310
7311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_URLToFileName",kwnames,&obj0)) goto fail;
7312 {
7313 arg1 = wxString_in_helper(obj0);
7314 if (arg1 == NULL) SWIG_fail;
e811c8ce 7315 temp1 = True;
d14a1e28
RD
7316 }
7317 {
7318 PyThreadState* __tstate = wxPyBeginAllowThreads();
7319 result = wxFileSystem_URLToFileName((wxString const &)*arg1);
7320
7321 wxPyEndAllowThreads(__tstate);
7322 if (PyErr_Occurred()) SWIG_fail;
7323 }
7324 {
7325#if wxUSE_UNICODE
7326 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7327#else
7328 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7329#endif
7330 }
7331 {
7332 if (temp1)
7333 delete arg1;
7334 }
7335 return resultobj;
7336 fail:
7337 {
7338 if (temp1)
7339 delete arg1;
7340 }
7341 return NULL;
7342}
7343
7344
7345static PyObject *_wrap_new_InternetFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7346 PyObject *resultobj;
7347 wxInternetFSHandler *result;
7348 char *kwnames[] = {
7349 NULL
7350 };
7351
7352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_InternetFSHandler",kwnames)) goto fail;
7353 {
7354 PyThreadState* __tstate = wxPyBeginAllowThreads();
7355 result = (wxInternetFSHandler *)new wxInternetFSHandler();
7356
7357 wxPyEndAllowThreads(__tstate);
7358 if (PyErr_Occurred()) SWIG_fail;
7359 }
15afbcd0 7360 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInternetFSHandler, 1);
d14a1e28
RD
7361 return resultobj;
7362 fail:
7363 return NULL;
7364}
7365
7366
7367static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7368 PyObject *resultobj;
7369 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7370 wxString *arg2 = 0 ;
7371 bool result;
e811c8ce 7372 bool temp2 = False ;
d14a1e28
RD
7373 PyObject * obj0 = 0 ;
7374 PyObject * obj1 = 0 ;
7375 char *kwnames[] = {
7376 (char *) "self",(char *) "location", NULL
7377 };
7378
7379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7382 {
7383 arg2 = wxString_in_helper(obj1);
7384 if (arg2 == NULL) SWIG_fail;
e811c8ce 7385 temp2 = True;
d14a1e28
RD
7386 }
7387 {
7388 PyThreadState* __tstate = wxPyBeginAllowThreads();
7389 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7390
7391 wxPyEndAllowThreads(__tstate);
7392 if (PyErr_Occurred()) SWIG_fail;
7393 }
4f89f6a3
RD
7394 {
7395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7396 }
d14a1e28
RD
7397 {
7398 if (temp2)
7399 delete arg2;
7400 }
7401 return resultobj;
7402 fail:
7403 {
7404 if (temp2)
7405 delete arg2;
7406 }
7407 return NULL;
7408}
7409
7410
7411static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7412 PyObject *resultobj;
7413 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7414 wxFileSystem *arg2 = 0 ;
7415 wxString *arg3 = 0 ;
7416 wxFSFile *result;
e811c8ce 7417 bool temp3 = False ;
d14a1e28
RD
7418 PyObject * obj0 = 0 ;
7419 PyObject * obj1 = 0 ;
7420 PyObject * obj2 = 0 ;
7421 char *kwnames[] = {
7422 (char *) "self",(char *) "fs",(char *) "location", NULL
7423 };
7424
7425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:InternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7428 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7429 SWIG_POINTER_EXCEPTION | 0)) == -1)
7430 SWIG_fail;
d14a1e28 7431 if (arg2 == NULL) {
15afbcd0
RD
7432 PyErr_SetString(PyExc_TypeError,"null reference");
7433 SWIG_fail;
d14a1e28
RD
7434 }
7435 {
7436 arg3 = wxString_in_helper(obj2);
7437 if (arg3 == NULL) SWIG_fail;
e811c8ce 7438 temp3 = True;
d14a1e28
RD
7439 }
7440 {
7441 PyThreadState* __tstate = wxPyBeginAllowThreads();
7442 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7443
7444 wxPyEndAllowThreads(__tstate);
7445 if (PyErr_Occurred()) SWIG_fail;
7446 }
7447 {
7448 resultobj = wxPyMake_wxObject(result);
7449 }
7450 {
7451 if (temp3)
7452 delete arg3;
7453 }
7454 return resultobj;
7455 fail:
7456 {
7457 if (temp3)
7458 delete arg3;
7459 }
7460 return NULL;
7461}
7462
7463
7464static PyObject * InternetFSHandler_swigregister(PyObject *self, PyObject *args) {
7465 PyObject *obj;
7466 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7467 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler, obj);
7468 Py_INCREF(obj);
7469 return Py_BuildValue((char *)"");
7470}
7471static PyObject *_wrap_new_ZipFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7472 PyObject *resultobj;
7473 wxZipFSHandler *result;
7474 char *kwnames[] = {
7475 NULL
7476 };
7477
7478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ZipFSHandler",kwnames)) goto fail;
7479 {
7480 PyThreadState* __tstate = wxPyBeginAllowThreads();
7481 result = (wxZipFSHandler *)new wxZipFSHandler();
7482
7483 wxPyEndAllowThreads(__tstate);
7484 if (PyErr_Occurred()) SWIG_fail;
7485 }
15afbcd0 7486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxZipFSHandler, 1);
d14a1e28
RD
7487 return resultobj;
7488 fail:
7489 return NULL;
7490}
7491
7492
7493static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7494 PyObject *resultobj;
7495 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7496 wxString *arg2 = 0 ;
7497 bool result;
e811c8ce 7498 bool temp2 = False ;
d14a1e28
RD
7499 PyObject * obj0 = 0 ;
7500 PyObject * obj1 = 0 ;
7501 char *kwnames[] = {
7502 (char *) "self",(char *) "location", NULL
7503 };
7504
7505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7508 {
7509 arg2 = wxString_in_helper(obj1);
7510 if (arg2 == NULL) SWIG_fail;
e811c8ce 7511 temp2 = True;
d14a1e28
RD
7512 }
7513 {
7514 PyThreadState* __tstate = wxPyBeginAllowThreads();
7515 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7516
7517 wxPyEndAllowThreads(__tstate);
7518 if (PyErr_Occurred()) SWIG_fail;
7519 }
4f89f6a3
RD
7520 {
7521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7522 }
d14a1e28
RD
7523 {
7524 if (temp2)
7525 delete arg2;
7526 }
7527 return resultobj;
7528 fail:
7529 {
7530 if (temp2)
7531 delete arg2;
7532 }
7533 return NULL;
7534}
7535
7536
7537static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7538 PyObject *resultobj;
7539 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7540 wxFileSystem *arg2 = 0 ;
7541 wxString *arg3 = 0 ;
7542 wxFSFile *result;
e811c8ce 7543 bool temp3 = False ;
d14a1e28
RD
7544 PyObject * obj0 = 0 ;
7545 PyObject * obj1 = 0 ;
7546 PyObject * obj2 = 0 ;
7547 char *kwnames[] = {
7548 (char *) "self",(char *) "fs",(char *) "location", NULL
7549 };
7550
7551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7554 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7555 SWIG_POINTER_EXCEPTION | 0)) == -1)
7556 SWIG_fail;
d14a1e28 7557 if (arg2 == NULL) {
15afbcd0
RD
7558 PyErr_SetString(PyExc_TypeError,"null reference");
7559 SWIG_fail;
d14a1e28
RD
7560 }
7561 {
7562 arg3 = wxString_in_helper(obj2);
7563 if (arg3 == NULL) SWIG_fail;
e811c8ce 7564 temp3 = True;
d14a1e28
RD
7565 }
7566 {
7567 PyThreadState* __tstate = wxPyBeginAllowThreads();
7568 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7569
7570 wxPyEndAllowThreads(__tstate);
7571 if (PyErr_Occurred()) SWIG_fail;
7572 }
7573 {
7574 resultobj = wxPyMake_wxObject(result);
7575 }
7576 {
7577 if (temp3)
7578 delete arg3;
7579 }
7580 return resultobj;
7581 fail:
7582 {
7583 if (temp3)
7584 delete arg3;
7585 }
7586 return NULL;
7587}
7588
7589
7590static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
7591 PyObject *resultobj;
7592 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7593 wxString *arg2 = 0 ;
7594 int arg3 = (int) 0 ;
7595 wxString result;
e811c8ce 7596 bool temp2 = False ;
d14a1e28
RD
7597 PyObject * obj0 = 0 ;
7598 PyObject * obj1 = 0 ;
994141e6 7599 PyObject * obj2 = 0 ;
d14a1e28
RD
7600 char *kwnames[] = {
7601 (char *) "self",(char *) "spec",(char *) "flags", NULL
7602 };
7603
994141e6 7604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7607 {
7608 arg2 = wxString_in_helper(obj1);
7609 if (arg2 == NULL) SWIG_fail;
e811c8ce 7610 temp2 = True;
d14a1e28 7611 }
994141e6 7612 if (obj2) {
15afbcd0
RD
7613 arg3 = (int) SWIG_AsInt(obj2);
7614 if (PyErr_Occurred()) SWIG_fail;
994141e6 7615 }
d14a1e28
RD
7616 {
7617 PyThreadState* __tstate = wxPyBeginAllowThreads();
7618 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7619
7620 wxPyEndAllowThreads(__tstate);
7621 if (PyErr_Occurred()) SWIG_fail;
7622 }
7623 {
7624#if wxUSE_UNICODE
7625 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7626#else
7627 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7628#endif
7629 }
7630 {
7631 if (temp2)
7632 delete arg2;
7633 }
7634 return resultobj;
7635 fail:
7636 {
7637 if (temp2)
7638 delete arg2;
7639 }
7640 return NULL;
7641}
7642
7643
7644static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7645 PyObject *resultobj;
7646 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7647 wxString result;
7648 PyObject * obj0 = 0 ;
7649 char *kwnames[] = {
7650 (char *) "self", NULL
7651 };
7652
7653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ZipFSHandler_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
7654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7656 {
7657 PyThreadState* __tstate = wxPyBeginAllowThreads();
7658 result = (arg1)->FindNext();
7659
7660 wxPyEndAllowThreads(__tstate);
7661 if (PyErr_Occurred()) SWIG_fail;
7662 }
7663 {
7664#if wxUSE_UNICODE
7665 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7666#else
7667 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7668#endif
7669 }
7670 return resultobj;
7671 fail:
7672 return NULL;
7673}
7674
7675
7676static PyObject * ZipFSHandler_swigregister(PyObject *self, PyObject *args) {
7677 PyObject *obj;
7678 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7679 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler, obj);
7680 Py_INCREF(obj);
7681 return Py_BuildValue((char *)"");
7682}
7683static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *self, PyObject *args, PyObject *kwargs) {
7684 PyObject *resultobj;
7685 wxString *arg1 = 0 ;
7686 wxImage *arg2 = 0 ;
7687 long arg3 ;
e811c8ce 7688 bool temp1 = False ;
d14a1e28
RD
7689 PyObject * obj0 = 0 ;
7690 PyObject * obj1 = 0 ;
994141e6 7691 PyObject * obj2 = 0 ;
d14a1e28
RD
7692 char *kwnames[] = {
7693 (char *) "filename",(char *) "image",(char *) "type", NULL
7694 };
7695
994141e6 7696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
7697 {
7698 arg1 = wxString_in_helper(obj0);
7699 if (arg1 == NULL) SWIG_fail;
e811c8ce 7700 temp1 = True;
d14a1e28 7701 }
15afbcd0
RD
7702 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
7703 SWIG_POINTER_EXCEPTION | 0)) == -1)
7704 SWIG_fail;
d14a1e28 7705 if (arg2 == NULL) {
15afbcd0
RD
7706 PyErr_SetString(PyExc_TypeError,"null reference");
7707 SWIG_fail;
994141e6 7708 }
15afbcd0
RD
7709 arg3 = (long) SWIG_AsLong(obj2);
7710 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7711 {
7712 PyThreadState* __tstate = wxPyBeginAllowThreads();
7713 __wxMemoryFSHandler_AddFile_wxImage((wxString const &)*arg1,*arg2,arg3);
7714
7715 wxPyEndAllowThreads(__tstate);
7716 if (PyErr_Occurred()) SWIG_fail;
7717 }
7718 Py_INCREF(Py_None); resultobj = Py_None;
7719 {
7720 if (temp1)
7721 delete arg1;
7722 }
7723 return resultobj;
7724 fail:
7725 {
7726 if (temp1)
7727 delete arg1;
7728 }
7729 return NULL;
7730}
7731
7732
7733static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
7734 PyObject *resultobj;
7735 wxString *arg1 = 0 ;
7736 wxBitmap *arg2 = 0 ;
7737 long arg3 ;
e811c8ce 7738 bool temp1 = False ;
d14a1e28
RD
7739 PyObject * obj0 = 0 ;
7740 PyObject * obj1 = 0 ;
994141e6 7741 PyObject * obj2 = 0 ;
d14a1e28
RD
7742 char *kwnames[] = {
7743 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7744 };
7745
994141e6 7746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
7747 {
7748 arg1 = wxString_in_helper(obj0);
7749 if (arg1 == NULL) SWIG_fail;
e811c8ce 7750 temp1 = True;
d14a1e28 7751 }
15afbcd0
RD
7752 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
7753 SWIG_POINTER_EXCEPTION | 0)) == -1)
7754 SWIG_fail;
d14a1e28 7755 if (arg2 == NULL) {
15afbcd0
RD
7756 PyErr_SetString(PyExc_TypeError,"null reference");
7757 SWIG_fail;
994141e6 7758 }
15afbcd0
RD
7759 arg3 = (long) SWIG_AsLong(obj2);
7760 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7761 {
7762 PyThreadState* __tstate = wxPyBeginAllowThreads();
7763 __wxMemoryFSHandler_AddFile_wxBitmap((wxString const &)*arg1,(wxBitmap const &)*arg2,arg3);
7764
7765 wxPyEndAllowThreads(__tstate);
7766 if (PyErr_Occurred()) SWIG_fail;
7767 }
7768 Py_INCREF(Py_None); resultobj = Py_None;
7769 {
7770 if (temp1)
7771 delete arg1;
7772 }
7773 return resultobj;
7774 fail:
7775 {
7776 if (temp1)
7777 delete arg1;
7778 }
7779 return NULL;
7780}
7781
7782
7783static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *self, PyObject *args, PyObject *kwargs) {
7784 PyObject *resultobj;
7785 wxString *arg1 = 0 ;
7786 PyObject *arg2 = (PyObject *) 0 ;
e811c8ce 7787 bool temp1 = False ;
d14a1e28
RD
7788 PyObject * obj0 = 0 ;
7789 PyObject * obj1 = 0 ;
7790 char *kwnames[] = {
7791 (char *) "filename",(char *) "data", NULL
7792 };
7793
7794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames,&obj0,&obj1)) goto fail;
7795 {
7796 arg1 = wxString_in_helper(obj0);
7797 if (arg1 == NULL) SWIG_fail;
e811c8ce 7798 temp1 = True;
d14a1e28
RD
7799 }
7800 arg2 = obj1;
7801 {
7802 PyThreadState* __tstate = wxPyBeginAllowThreads();
7803 __wxMemoryFSHandler_AddFile_Data((wxString const &)*arg1,arg2);
7804
7805 wxPyEndAllowThreads(__tstate);
7806 if (PyErr_Occurred()) SWIG_fail;
7807 }
7808 Py_INCREF(Py_None); resultobj = Py_None;
7809 {
7810 if (temp1)
7811 delete arg1;
7812 }
7813 return resultobj;
7814 fail:
7815 {
7816 if (temp1)
7817 delete arg1;
7818 }
7819 return NULL;
7820}
7821
7822
7823static PyObject *_wrap_new_MemoryFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7824 PyObject *resultobj;
7825 wxMemoryFSHandler *result;
7826 char *kwnames[] = {
7827 NULL
7828 };
7829
7830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryFSHandler",kwnames)) goto fail;
7831 {
7832 PyThreadState* __tstate = wxPyBeginAllowThreads();
7833 result = (wxMemoryFSHandler *)new wxMemoryFSHandler();
7834
7835 wxPyEndAllowThreads(__tstate);
7836 if (PyErr_Occurred()) SWIG_fail;
7837 }
15afbcd0 7838 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryFSHandler, 1);
d14a1e28
RD
7839 return resultobj;
7840 fail:
7841 return NULL;
7842}
7843
7844
7845static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7846 PyObject *resultobj;
7847 wxString *arg1 = 0 ;
e811c8ce 7848 bool temp1 = False ;
d14a1e28
RD
7849 PyObject * obj0 = 0 ;
7850 char *kwnames[] = {
7851 (char *) "filename", NULL
7852 };
7853
7854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail;
7855 {
7856 arg1 = wxString_in_helper(obj0);
7857 if (arg1 == NULL) SWIG_fail;
e811c8ce 7858 temp1 = True;
d14a1e28
RD
7859 }
7860 {
7861 PyThreadState* __tstate = wxPyBeginAllowThreads();
7862 wxMemoryFSHandler::RemoveFile((wxString const &)*arg1);
7863
7864 wxPyEndAllowThreads(__tstate);
7865 if (PyErr_Occurred()) SWIG_fail;
7866 }
7867 Py_INCREF(Py_None); resultobj = Py_None;
7868 {
7869 if (temp1)
7870 delete arg1;
7871 }
7872 return resultobj;
7873 fail:
7874 {
7875 if (temp1)
7876 delete arg1;
7877 }
7878 return NULL;
7879}
7880
7881
7882static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7883 PyObject *resultobj;
7884 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7885 wxString *arg2 = 0 ;
7886 bool result;
e811c8ce 7887 bool temp2 = False ;
d14a1e28
RD
7888 PyObject * obj0 = 0 ;
7889 PyObject * obj1 = 0 ;
7890 char *kwnames[] = {
7891 (char *) "self",(char *) "location", NULL
7892 };
7893
7894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7897 {
7898 arg2 = wxString_in_helper(obj1);
7899 if (arg2 == NULL) SWIG_fail;
e811c8ce 7900 temp2 = True;
d14a1e28
RD
7901 }
7902 {
7903 PyThreadState* __tstate = wxPyBeginAllowThreads();
7904 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7905
7906 wxPyEndAllowThreads(__tstate);
7907 if (PyErr_Occurred()) SWIG_fail;
7908 }
4f89f6a3
RD
7909 {
7910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7911 }
d14a1e28
RD
7912 {
7913 if (temp2)
7914 delete arg2;
7915 }
7916 return resultobj;
7917 fail:
7918 {
7919 if (temp2)
7920 delete arg2;
7921 }
7922 return NULL;
7923}
7924
7925
7926static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7927 PyObject *resultobj;
7928 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7929 wxFileSystem *arg2 = 0 ;
7930 wxString *arg3 = 0 ;
7931 wxFSFile *result;
e811c8ce 7932 bool temp3 = False ;
d14a1e28
RD
7933 PyObject * obj0 = 0 ;
7934 PyObject * obj1 = 0 ;
7935 PyObject * obj2 = 0 ;
7936 char *kwnames[] = {
7937 (char *) "self",(char *) "fs",(char *) "location", NULL
7938 };
7939
7940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7943 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7944 SWIG_POINTER_EXCEPTION | 0)) == -1)
7945 SWIG_fail;
d14a1e28 7946 if (arg2 == NULL) {
15afbcd0
RD
7947 PyErr_SetString(PyExc_TypeError,"null reference");
7948 SWIG_fail;
d14a1e28
RD
7949 }
7950 {
7951 arg3 = wxString_in_helper(obj2);
7952 if (arg3 == NULL) SWIG_fail;
e811c8ce 7953 temp3 = True;
d14a1e28
RD
7954 }
7955 {
7956 PyThreadState* __tstate = wxPyBeginAllowThreads();
7957 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7958
7959 wxPyEndAllowThreads(__tstate);
7960 if (PyErr_Occurred()) SWIG_fail;
7961 }
7962 {
7963 resultobj = wxPyMake_wxObject(result);
7964 }
7965 {
7966 if (temp3)
7967 delete arg3;
7968 }
7969 return resultobj;
7970 fail:
7971 {
7972 if (temp3)
7973 delete arg3;
7974 }
7975 return NULL;
7976}
7977
7978
7979static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
7980 PyObject *resultobj;
7981 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7982 wxString *arg2 = 0 ;
7983 int arg3 = (int) 0 ;
7984 wxString result;
e811c8ce 7985 bool temp2 = False ;
d14a1e28
RD
7986 PyObject * obj0 = 0 ;
7987 PyObject * obj1 = 0 ;
994141e6 7988 PyObject * obj2 = 0 ;
d14a1e28
RD
7989 char *kwnames[] = {
7990 (char *) "self",(char *) "spec",(char *) "flags", NULL
7991 };
7992
994141e6 7993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7996 {
7997 arg2 = wxString_in_helper(obj1);
7998 if (arg2 == NULL) SWIG_fail;
e811c8ce 7999 temp2 = True;
d14a1e28 8000 }
994141e6 8001 if (obj2) {
15afbcd0
RD
8002 arg3 = (int) SWIG_AsInt(obj2);
8003 if (PyErr_Occurred()) SWIG_fail;
994141e6 8004 }
d14a1e28
RD
8005 {
8006 PyThreadState* __tstate = wxPyBeginAllowThreads();
8007 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
8008
8009 wxPyEndAllowThreads(__tstate);
8010 if (PyErr_Occurred()) SWIG_fail;
8011 }
8012 {
8013#if wxUSE_UNICODE
8014 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8015#else
8016 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8017#endif
8018 }
8019 {
8020 if (temp2)
8021 delete arg2;
8022 }
8023 return resultobj;
8024 fail:
8025 {
8026 if (temp2)
8027 delete arg2;
8028 }
8029 return NULL;
8030}
8031
8032
8033static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
8034 PyObject *resultobj;
8035 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8036 wxString result;
8037 PyObject * obj0 = 0 ;
8038 char *kwnames[] = {
8039 (char *) "self", NULL
8040 };
8041
8042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
8043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8045 {
8046 PyThreadState* __tstate = wxPyBeginAllowThreads();
8047 result = (arg1)->FindNext();
8048
8049 wxPyEndAllowThreads(__tstate);
8050 if (PyErr_Occurred()) SWIG_fail;
8051 }
8052 {
8053#if wxUSE_UNICODE
8054 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8055#else
8056 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8057#endif
8058 }
8059 return resultobj;
8060 fail:
8061 return NULL;
8062}
8063
8064
8065static PyObject * MemoryFSHandler_swigregister(PyObject *self, PyObject *args) {
8066 PyObject *obj;
8067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8068 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler, obj);
8069 Py_INCREF(obj);
8070 return Py_BuildValue((char *)"");
8071}
8072static PyObject *_wrap_ImageHandler_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8073 PyObject *resultobj;
8074 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8075 wxString result;
8076 PyObject * obj0 = 0 ;
8077 char *kwnames[] = {
8078 (char *) "self", NULL
8079 };
8080
8081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetName",kwnames,&obj0)) goto fail;
15afbcd0
RD
8082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8084 {
8085 PyThreadState* __tstate = wxPyBeginAllowThreads();
8086 result = (arg1)->GetName();
8087
8088 wxPyEndAllowThreads(__tstate);
8089 if (PyErr_Occurred()) SWIG_fail;
8090 }
8091 {
8092#if wxUSE_UNICODE
8093 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8094#else
8095 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8096#endif
8097 }
8098 return resultobj;
8099 fail:
8100 return NULL;
8101}
8102
8103
8104static PyObject *_wrap_ImageHandler_GetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
8105 PyObject *resultobj;
8106 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8107 wxString result;
8108 PyObject * obj0 = 0 ;
8109 char *kwnames[] = {
8110 (char *) "self", NULL
8111 };
8112
8113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetExtension",kwnames,&obj0)) goto fail;
15afbcd0
RD
8114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8116 {
8117 PyThreadState* __tstate = wxPyBeginAllowThreads();
8118 result = (arg1)->GetExtension();
8119
8120 wxPyEndAllowThreads(__tstate);
8121 if (PyErr_Occurred()) SWIG_fail;
8122 }
8123 {
8124#if wxUSE_UNICODE
8125 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8126#else
8127 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8128#endif
8129 }
8130 return resultobj;
8131 fail:
8132 return NULL;
8133}
8134
8135
8136static PyObject *_wrap_ImageHandler_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
8137 PyObject *resultobj;
8138 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8139 long result;
8140 PyObject * obj0 = 0 ;
8141 char *kwnames[] = {
8142 (char *) "self", NULL
8143 };
8144
8145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetType",kwnames,&obj0)) goto fail;
15afbcd0
RD
8146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8148 {
8149 PyThreadState* __tstate = wxPyBeginAllowThreads();
8150 result = (long)(arg1)->GetType();
8151
8152 wxPyEndAllowThreads(__tstate);
8153 if (PyErr_Occurred()) SWIG_fail;
8154 }
15afbcd0 8155 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
8156 return resultobj;
8157 fail:
8158 return NULL;
8159}
8160
8161
8162static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
8163 PyObject *resultobj;
8164 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8165 wxString result;
8166 PyObject * obj0 = 0 ;
8167 char *kwnames[] = {
8168 (char *) "self", NULL
8169 };
8170
8171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetMimeType",kwnames,&obj0)) goto fail;
15afbcd0
RD
8172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8174 {
8175 PyThreadState* __tstate = wxPyBeginAllowThreads();
8176 result = (arg1)->GetMimeType();
8177
8178 wxPyEndAllowThreads(__tstate);
8179 if (PyErr_Occurred()) SWIG_fail;
8180 }
8181 {
8182#if wxUSE_UNICODE
8183 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8184#else
8185 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8186#endif
8187 }
8188 return resultobj;
8189 fail:
8190 return NULL;
8191}
8192
8193
8194static PyObject *_wrap_ImageHandler_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
8195 PyObject *resultobj;
8196 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8197 wxString *arg2 = 0 ;
8198 bool result;
e811c8ce 8199 bool temp2 = False ;
d14a1e28
RD
8200 PyObject * obj0 = 0 ;
8201 PyObject * obj1 = 0 ;
8202 char *kwnames[] = {
8203 (char *) "self",(char *) "name", NULL
8204 };
8205
8206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8209 {
8210 arg2 = wxString_in_helper(obj1);
8211 if (arg2 == NULL) SWIG_fail;
e811c8ce 8212 temp2 = True;
d14a1e28
RD
8213 }
8214 {
8215 PyThreadState* __tstate = wxPyBeginAllowThreads();
8216 result = (bool)(arg1)->CanRead((wxString const &)*arg2);
8217
8218 wxPyEndAllowThreads(__tstate);
8219 if (PyErr_Occurred()) SWIG_fail;
8220 }
4f89f6a3
RD
8221 {
8222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8223 }
d14a1e28
RD
8224 {
8225 if (temp2)
8226 delete arg2;
8227 }
8228 return resultobj;
8229 fail:
8230 {
8231 if (temp2)
8232 delete arg2;
8233 }
8234 return NULL;
8235}
8236
8237
8238static PyObject *_wrap_ImageHandler_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8239 PyObject *resultobj;
8240 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8241 wxString *arg2 = 0 ;
e811c8ce 8242 bool temp2 = False ;
d14a1e28
RD
8243 PyObject * obj0 = 0 ;
8244 PyObject * obj1 = 0 ;
8245 char *kwnames[] = {
8246 (char *) "self",(char *) "name", NULL
8247 };
8248
8249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8252 {
8253 arg2 = wxString_in_helper(obj1);
8254 if (arg2 == NULL) SWIG_fail;
e811c8ce 8255 temp2 = True;
d14a1e28
RD
8256 }
8257 {
8258 PyThreadState* __tstate = wxPyBeginAllowThreads();
8259 (arg1)->SetName((wxString const &)*arg2);
8260
8261 wxPyEndAllowThreads(__tstate);
8262 if (PyErr_Occurred()) SWIG_fail;
8263 }
8264 Py_INCREF(Py_None); resultobj = Py_None;
8265 {
8266 if (temp2)
8267 delete arg2;
8268 }
8269 return resultobj;
8270 fail:
8271 {
8272 if (temp2)
8273 delete arg2;
8274 }
8275 return NULL;
8276}
8277
8278
8279static PyObject *_wrap_ImageHandler_SetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
8280 PyObject *resultobj;
8281 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8282 wxString *arg2 = 0 ;
e811c8ce 8283 bool temp2 = False ;
d14a1e28
RD
8284 PyObject * obj0 = 0 ;
8285 PyObject * obj1 = 0 ;
8286 char *kwnames[] = {
8287 (char *) "self",(char *) "extension", NULL
8288 };
8289
8290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8293 {
8294 arg2 = wxString_in_helper(obj1);
8295 if (arg2 == NULL) SWIG_fail;
e811c8ce 8296 temp2 = True;
d14a1e28
RD
8297 }
8298 {
8299 PyThreadState* __tstate = wxPyBeginAllowThreads();
8300 (arg1)->SetExtension((wxString const &)*arg2);
8301
8302 wxPyEndAllowThreads(__tstate);
8303 if (PyErr_Occurred()) SWIG_fail;
8304 }
8305 Py_INCREF(Py_None); resultobj = Py_None;
8306 {
8307 if (temp2)
8308 delete arg2;
8309 }
8310 return resultobj;
8311 fail:
8312 {
8313 if (temp2)
8314 delete arg2;
8315 }
8316 return NULL;
8317}
8318
8319
8320static PyObject *_wrap_ImageHandler_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
8321 PyObject *resultobj;
8322 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8323 long arg2 ;
8324 PyObject * obj0 = 0 ;
994141e6 8325 PyObject * obj1 = 0 ;
d14a1e28
RD
8326 char *kwnames[] = {
8327 (char *) "self",(char *) "type", NULL
8328 };
8329
994141e6 8330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8333 arg2 = (long) SWIG_AsLong(obj1);
8334 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8335 {
8336 PyThreadState* __tstate = wxPyBeginAllowThreads();
8337 (arg1)->SetType(arg2);
8338
8339 wxPyEndAllowThreads(__tstate);
8340 if (PyErr_Occurred()) SWIG_fail;
8341 }
8342 Py_INCREF(Py_None); resultobj = Py_None;
8343 return resultobj;
8344 fail:
8345 return NULL;
8346}
8347
8348
8349static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
8350 PyObject *resultobj;
8351 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8352 wxString *arg2 = 0 ;
e811c8ce 8353 bool temp2 = False ;
d14a1e28
RD
8354 PyObject * obj0 = 0 ;
8355 PyObject * obj1 = 0 ;
8356 char *kwnames[] = {
8357 (char *) "self",(char *) "mimetype", NULL
8358 };
8359
8360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetMimeType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8363 {
8364 arg2 = wxString_in_helper(obj1);
8365 if (arg2 == NULL) SWIG_fail;
e811c8ce 8366 temp2 = True;
d14a1e28
RD
8367 }
8368 {
8369 PyThreadState* __tstate = wxPyBeginAllowThreads();
8370 (arg1)->SetMimeType((wxString const &)*arg2);
8371
8372 wxPyEndAllowThreads(__tstate);
8373 if (PyErr_Occurred()) SWIG_fail;
8374 }
8375 Py_INCREF(Py_None); resultobj = Py_None;
8376 {
8377 if (temp2)
8378 delete arg2;
8379 }
8380 return resultobj;
8381 fail:
8382 {
8383 if (temp2)
8384 delete arg2;
8385 }
8386 return NULL;
8387}
8388
8389
8390static PyObject * ImageHandler_swigregister(PyObject *self, PyObject *args) {
8391 PyObject *obj;
8392 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8393 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler, obj);
8394 Py_INCREF(obj);
8395 return Py_BuildValue((char *)"");
8396}
8397static PyObject *_wrap_new_ImageHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
8398 PyObject *resultobj;
8399 wxImageHistogram *result;
8400 char *kwnames[] = {
8401 NULL
8402 };
8403
8404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ImageHistogram",kwnames)) goto fail;
8405 {
8406 PyThreadState* __tstate = wxPyBeginAllowThreads();
8407 result = (wxImageHistogram *)new wxImageHistogram();
8408
8409 wxPyEndAllowThreads(__tstate);
8410 if (PyErr_Occurred()) SWIG_fail;
8411 }
15afbcd0 8412 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImageHistogram, 1);
d14a1e28
RD
8413 return resultobj;
8414 fail:
8415 return NULL;
8416}
8417
8418
8419static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *self, PyObject *args, PyObject *kwargs) {
8420 PyObject *resultobj;
8421 unsigned char arg1 ;
8422 unsigned char arg2 ;
8423 unsigned char arg3 ;
8424 unsigned long result;
8425 PyObject * obj0 = 0 ;
8426 PyObject * obj1 = 0 ;
8427 PyObject * obj2 = 0 ;
8428 char *kwnames[] = {
8429 (char *) "r",(char *) "g",(char *) "b", NULL
8430 };
8431
8432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8433 arg1 = (unsigned char) SWIG_AsUnsignedChar(obj0);
8434 if (PyErr_Occurred()) SWIG_fail;
8435 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
8436 if (PyErr_Occurred()) SWIG_fail;
8437 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
8438 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8439 {
8440 PyThreadState* __tstate = wxPyBeginAllowThreads();
8441 result = (unsigned long)wxImageHistogram::MakeKey(arg1,arg2,arg3);
8442
8443 wxPyEndAllowThreads(__tstate);
8444 if (PyErr_Occurred()) SWIG_fail;
8445 }
15afbcd0 8446 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
8447 return resultobj;
8448 fail:
8449 return NULL;
8450}
8451
8452
8453static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8454 PyObject *resultobj;
8455 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
8456 unsigned char *arg2 = (unsigned char *) 0 ;
8457 unsigned char *arg3 = (unsigned char *) 0 ;
8458 unsigned char *arg4 = (unsigned char *) 0 ;
8459 unsigned char arg5 = (unsigned char) 1 ;
8460 unsigned char arg6 = (unsigned char) 0 ;
8461 unsigned char arg7 = (unsigned char) 0 ;
8462 bool result;
8463 unsigned char temp2 ;
8464 unsigned char temp3 ;
8465 unsigned char temp4 ;
8466 PyObject * obj0 = 0 ;
8467 PyObject * obj1 = 0 ;
8468 PyObject * obj2 = 0 ;
8469 PyObject * obj3 = 0 ;
8470 char *kwnames[] = {
8471 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8472 };
8473
8474 arg2 = &temp2;
8475 arg3 = &temp3;
8476 arg4 = &temp4;
8477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHistogram,
8479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8480 if (obj1) {
15afbcd0
RD
8481 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj1);
8482 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8483 }
8484 if (obj2) {
15afbcd0
RD
8485 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj2);
8486 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8487 }
8488 if (obj3) {
15afbcd0
RD
8489 arg7 = (unsigned char) SWIG_AsUnsignedChar(obj3);
8490 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8491 }
8492 {
8493 PyThreadState* __tstate = wxPyBeginAllowThreads();
8494 result = (bool)((wxImageHistogram const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
8495
8496 wxPyEndAllowThreads(__tstate);
8497 if (PyErr_Occurred()) SWIG_fail;
8498 }
4f89f6a3
RD
8499 {
8500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8501 }
d14a1e28
RD
8502 {
8503 PyObject *o = PyInt_FromLong((long) (*arg2));
8504 resultobj = t_output_helper(resultobj,o);
8505 }
8506 {
8507 PyObject *o = PyInt_FromLong((long) (*arg3));
8508 resultobj = t_output_helper(resultobj,o);
8509 }
8510 {
8511 PyObject *o = PyInt_FromLong((long) (*arg4));
8512 resultobj = t_output_helper(resultobj,o);
8513 }
8514 return resultobj;
8515 fail:
8516 return NULL;
8517}
8518
8519
8520static PyObject * ImageHistogram_swigregister(PyObject *self, PyObject *args) {
8521 PyObject *obj;
8522 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8523 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram, obj);
8524 Py_INCREF(obj);
8525 return Py_BuildValue((char *)"");
8526}
8527static PyObject *_wrap_new_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
8528 PyObject *resultobj;
8529 wxString *arg1 = 0 ;
8530 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8531 int arg3 = (int) -1 ;
8532 wxImage *result;
e811c8ce 8533 bool temp1 = False ;
d14a1e28 8534 PyObject * obj0 = 0 ;
994141e6
RD
8535 PyObject * obj1 = 0 ;
8536 PyObject * obj2 = 0 ;
d14a1e28
RD
8537 char *kwnames[] = {
8538 (char *) "name",(char *) "type",(char *) "index", NULL
8539 };
8540
994141e6 8541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_Image",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8542 {
8543 arg1 = wxString_in_helper(obj0);
8544 if (arg1 == NULL) SWIG_fail;
e811c8ce 8545 temp1 = True;
d14a1e28 8546 }
994141e6 8547 if (obj1) {
15afbcd0
RD
8548 arg2 = (long) SWIG_AsLong(obj1);
8549 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8550 }
8551 if (obj2) {
15afbcd0
RD
8552 arg3 = (int) SWIG_AsInt(obj2);
8553 if (PyErr_Occurred()) SWIG_fail;
994141e6 8554 }
d14a1e28
RD
8555 {
8556 PyThreadState* __tstate = wxPyBeginAllowThreads();
8557 result = (wxImage *)new wxImage((wxString const &)*arg1,arg2,arg3);
8558
8559 wxPyEndAllowThreads(__tstate);
8560 if (PyErr_Occurred()) SWIG_fail;
8561 }
15afbcd0 8562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8563 {
8564 if (temp1)
8565 delete arg1;
8566 }
8567 return resultobj;
8568 fail:
8569 {
8570 if (temp1)
8571 delete arg1;
8572 }
8573 return NULL;
8574}
8575
8576
8577static PyObject *_wrap_delete_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
8578 PyObject *resultobj;
8579 wxImage *arg1 = (wxImage *) 0 ;
8580 PyObject * obj0 = 0 ;
8581 char *kwnames[] = {
8582 (char *) "self", NULL
8583 };
8584
8585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Image",kwnames,&obj0)) goto fail;
15afbcd0
RD
8586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8588 {
8589 PyThreadState* __tstate = wxPyBeginAllowThreads();
8590 delete arg1;
8591
8592 wxPyEndAllowThreads(__tstate);
8593 if (PyErr_Occurred()) SWIG_fail;
8594 }
8595 Py_INCREF(Py_None); resultobj = Py_None;
8596 return resultobj;
8597 fail:
8598 return NULL;
8599}
8600
8601
8602static PyObject *_wrap_new_ImageFromMime(PyObject *self, PyObject *args, PyObject *kwargs) {
8603 PyObject *resultobj;
8604 wxString *arg1 = 0 ;
8605 wxString *arg2 = 0 ;
8606 int arg3 = (int) -1 ;
8607 wxImage *result;
e811c8ce
RD
8608 bool temp1 = False ;
8609 bool temp2 = False ;
d14a1e28
RD
8610 PyObject * obj0 = 0 ;
8611 PyObject * obj1 = 0 ;
994141e6 8612 PyObject * obj2 = 0 ;
d14a1e28
RD
8613 char *kwnames[] = {
8614 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8615 };
8616
994141e6 8617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8618 {
8619 arg1 = wxString_in_helper(obj0);
8620 if (arg1 == NULL) SWIG_fail;
e811c8ce 8621 temp1 = True;
d14a1e28
RD
8622 }
8623 {
8624 arg2 = wxString_in_helper(obj1);
8625 if (arg2 == NULL) SWIG_fail;
e811c8ce 8626 temp2 = True;
d14a1e28 8627 }
994141e6 8628 if (obj2) {
15afbcd0
RD
8629 arg3 = (int) SWIG_AsInt(obj2);
8630 if (PyErr_Occurred()) SWIG_fail;
994141e6 8631 }
d14a1e28
RD
8632 {
8633 PyThreadState* __tstate = wxPyBeginAllowThreads();
8634 result = (wxImage *)new wxImage((wxString const &)*arg1,(wxString const &)*arg2,arg3);
8635
8636 wxPyEndAllowThreads(__tstate);
8637 if (PyErr_Occurred()) SWIG_fail;
8638 }
15afbcd0 8639 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8640 {
8641 if (temp1)
8642 delete arg1;
8643 }
8644 {
8645 if (temp2)
8646 delete arg2;
8647 }
8648 return resultobj;
8649 fail:
8650 {
8651 if (temp1)
8652 delete arg1;
8653 }
8654 {
8655 if (temp2)
8656 delete arg2;
8657 }
8658 return NULL;
8659}
8660
8661
8662static PyObject *_wrap_new_ImageFromStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8663 PyObject *resultobj;
8664 wxInputStream *arg1 = 0 ;
8665 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8666 int arg3 = (int) -1 ;
8667 wxImage *result;
8668 wxPyInputStream *temp1 ;
8669 bool created1 ;
8670 PyObject * obj0 = 0 ;
994141e6
RD
8671 PyObject * obj1 = 0 ;
8672 PyObject * obj2 = 0 ;
d14a1e28
RD
8673 char *kwnames[] = {
8674 (char *) "stream",(char *) "type",(char *) "index", NULL
8675 };
8676
994141e6 8677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_ImageFromStream",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8678 {
8679 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8680 arg1 = temp1->m_wxis;
e811c8ce 8681 created1 = False;
d14a1e28
RD
8682 } else {
8683 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 8684 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
8685 if (arg1 == NULL) {
8686 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8687 SWIG_fail;
8688 }
e811c8ce 8689 created1 = True;
d14a1e28
RD
8690 }
8691 }
994141e6 8692 if (obj1) {
15afbcd0
RD
8693 arg2 = (long) SWIG_AsLong(obj1);
8694 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8695 }
8696 if (obj2) {
15afbcd0
RD
8697 arg3 = (int) SWIG_AsInt(obj2);
8698 if (PyErr_Occurred()) SWIG_fail;
994141e6 8699 }
d14a1e28
RD
8700 {
8701 PyThreadState* __tstate = wxPyBeginAllowThreads();
8702 result = (wxImage *)new wxImage(*arg1,arg2,arg3);
8703
8704 wxPyEndAllowThreads(__tstate);
8705 if (PyErr_Occurred()) SWIG_fail;
8706 }
15afbcd0 8707 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8708 {
8709 if (created1)
8710 delete arg1;
8711 }
8712 return resultobj;
8713 fail:
8714 {
8715 if (created1)
8716 delete arg1;
8717 }
8718 return NULL;
8719}
8720
8721
8722static PyObject *_wrap_new_ImageFromStreamMime(PyObject *self, PyObject *args, PyObject *kwargs) {
8723 PyObject *resultobj;
8724 wxInputStream *arg1 = 0 ;
8725 wxString *arg2 = 0 ;
8726 int arg3 = (int) -1 ;
8727 wxImage *result;
8728 wxPyInputStream *temp1 ;
8729 bool created1 ;
e811c8ce 8730 bool temp2 = False ;
d14a1e28
RD
8731 PyObject * obj0 = 0 ;
8732 PyObject * obj1 = 0 ;
994141e6 8733 PyObject * obj2 = 0 ;
d14a1e28
RD
8734 char *kwnames[] = {
8735 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8736 };
8737
994141e6 8738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromStreamMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8739 {
8740 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8741 arg1 = temp1->m_wxis;
e811c8ce 8742 created1 = False;
d14a1e28
RD
8743 } else {
8744 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 8745 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
8746 if (arg1 == NULL) {
8747 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8748 SWIG_fail;
8749 }
e811c8ce 8750 created1 = True;
d14a1e28
RD
8751 }
8752 }
8753 {
8754 arg2 = wxString_in_helper(obj1);
8755 if (arg2 == NULL) SWIG_fail;
e811c8ce 8756 temp2 = True;
d14a1e28 8757 }
994141e6 8758 if (obj2) {
15afbcd0
RD
8759 arg3 = (int) SWIG_AsInt(obj2);
8760 if (PyErr_Occurred()) SWIG_fail;
994141e6 8761 }
d14a1e28
RD
8762 {
8763 PyThreadState* __tstate = wxPyBeginAllowThreads();
8764 result = (wxImage *)new wxImage(*arg1,(wxString const &)*arg2,arg3);
8765
8766 wxPyEndAllowThreads(__tstate);
8767 if (PyErr_Occurred()) SWIG_fail;
8768 }
15afbcd0 8769 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8770 {
8771 if (created1)
8772 delete arg1;
8773 }
8774 {
8775 if (temp2)
8776 delete arg2;
8777 }
8778 return resultobj;
8779 fail:
8780 {
8781 if (created1)
8782 delete arg1;
8783 }
8784 {
8785 if (temp2)
8786 delete arg2;
8787 }
8788 return NULL;
8789}
8790
8791
66c033b4 8792static PyObject *_wrap_new_EmptyImage(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8793 PyObject *resultobj;
8794 int arg1 = (int) 0 ;
8795 int arg2 = (int) 0 ;
e811c8ce 8796 bool arg3 = (bool) True ;
d14a1e28 8797 wxImage *result;
994141e6
RD
8798 PyObject * obj0 = 0 ;
8799 PyObject * obj1 = 0 ;
d14a1e28 8800 PyObject * obj2 = 0 ;
66c033b4
RD
8801 char *kwnames[] = {
8802 (char *) "width",(char *) "height",(char *) "clear", NULL
8803 };
d14a1e28 8804
66c033b4 8805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_EmptyImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
994141e6 8806 if (obj0) {
15afbcd0
RD
8807 arg1 = (int) SWIG_AsInt(obj0);
8808 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8809 }
8810 if (obj1) {
15afbcd0
RD
8811 arg2 = (int) SWIG_AsInt(obj1);
8812 if (PyErr_Occurred()) SWIG_fail;
994141e6 8813 }
d14a1e28 8814 if (obj2) {
15afbcd0
RD
8815 arg3 = (bool) SWIG_AsBool(obj2);
8816 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8817 }
8818 {
8819 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 8820 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
d14a1e28
RD
8821
8822 wxPyEndAllowThreads(__tstate);
8823 if (PyErr_Occurred()) SWIG_fail;
8824 }
15afbcd0 8825 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8826 return resultobj;
8827 fail:
8828 return NULL;
8829}
8830
8831
8832static PyObject *_wrap_new_ImageFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8833 PyObject *resultobj;
8834 wxBitmap *arg1 = 0 ;
8835 wxImage *result;
8836 PyObject * obj0 = 0 ;
8837 char *kwnames[] = {
8838 (char *) "bitmap", NULL
8839 };
8840
8841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ImageFromBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
8842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
8843 SWIG_POINTER_EXCEPTION | 0)) == -1)
8844 SWIG_fail;
d14a1e28 8845 if (arg1 == NULL) {
15afbcd0
RD
8846 PyErr_SetString(PyExc_TypeError,"null reference");
8847 SWIG_fail;
d14a1e28
RD
8848 }
8849 {
8850 PyThreadState* __tstate = wxPyBeginAllowThreads();
8851 result = (wxImage *)new_wxImage((wxBitmap const &)*arg1);
8852
8853 wxPyEndAllowThreads(__tstate);
8854 if (PyErr_Occurred()) SWIG_fail;
8855 }
15afbcd0 8856 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8857 return resultobj;
8858 fail:
8859 return NULL;
8860}
8861
8862
8863static PyObject *_wrap_new_ImageFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
8864 PyObject *resultobj;
8865 int arg1 ;
8866 int arg2 ;
8867 unsigned char *arg3 = (unsigned char *) 0 ;
8868 wxImage *result;
994141e6
RD
8869 PyObject * obj0 = 0 ;
8870 PyObject * obj1 = 0 ;
d14a1e28
RD
8871 PyObject * obj2 = 0 ;
8872 char *kwnames[] = {
8873 (char *) "width",(char *) "height",(char *) "data", NULL
8874 };
8875
994141e6 8876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ImageFromData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8877 arg1 = (int) SWIG_AsInt(obj0);
8878 if (PyErr_Occurred()) SWIG_fail;
8879 arg2 = (int) SWIG_AsInt(obj1);
8880 if (PyErr_Occurred()) SWIG_fail;
8881 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_unsigned_char,
8882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8883 {
8884 PyThreadState* __tstate = wxPyBeginAllowThreads();
8885 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
8886
8887 wxPyEndAllowThreads(__tstate);
8888 if (PyErr_Occurred()) SWIG_fail;
8889 }
15afbcd0 8890 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8891 return resultobj;
8892 fail:
8893 return NULL;
8894}
8895
8896
8897static PyObject *_wrap_Image_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8898 PyObject *resultobj;
8899 wxImage *arg1 = (wxImage *) 0 ;
8900 int arg2 ;
8901 int arg3 ;
8902 PyObject * obj0 = 0 ;
994141e6
RD
8903 PyObject * obj1 = 0 ;
8904 PyObject * obj2 = 0 ;
d14a1e28
RD
8905 char *kwnames[] = {
8906 (char *) "self",(char *) "width",(char *) "height", NULL
8907 };
8908
994141e6 8909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8912 arg2 = (int) SWIG_AsInt(obj1);
8913 if (PyErr_Occurred()) SWIG_fail;
8914 arg3 = (int) SWIG_AsInt(obj2);
8915 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8916 {
8917 PyThreadState* __tstate = wxPyBeginAllowThreads();
8918 (arg1)->Create(arg2,arg3);
8919
8920 wxPyEndAllowThreads(__tstate);
8921 if (PyErr_Occurred()) SWIG_fail;
8922 }
8923 Py_INCREF(Py_None); resultobj = Py_None;
8924 return resultobj;
8925 fail:
8926 return NULL;
8927}
8928
8929
8930static PyObject *_wrap_Image_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
8931 PyObject *resultobj;
8932 wxImage *arg1 = (wxImage *) 0 ;
8933 PyObject * obj0 = 0 ;
8934 char *kwnames[] = {
8935 (char *) "self", NULL
8936 };
8937
8938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
8939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8941 {
8942 PyThreadState* __tstate = wxPyBeginAllowThreads();
8943 (arg1)->Destroy();
8944
8945 wxPyEndAllowThreads(__tstate);
8946 if (PyErr_Occurred()) SWIG_fail;
8947 }
8948 Py_INCREF(Py_None); resultobj = Py_None;
8949 return resultobj;
8950 fail:
8951 return NULL;
8952}
8953
8954
8955static PyObject *_wrap_Image_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
8956 PyObject *resultobj;
8957 wxImage *arg1 = (wxImage *) 0 ;
8958 int arg2 ;
8959 int arg3 ;
8960 SwigValueWrapper< wxImage > result;
8961 PyObject * obj0 = 0 ;
994141e6
RD
8962 PyObject * obj1 = 0 ;
8963 PyObject * obj2 = 0 ;
d14a1e28
RD
8964 char *kwnames[] = {
8965 (char *) "self",(char *) "width",(char *) "height", NULL
8966 };
8967
994141e6 8968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8971 arg2 = (int) SWIG_AsInt(obj1);
8972 if (PyErr_Occurred()) SWIG_fail;
8973 arg3 = (int) SWIG_AsInt(obj2);
8974 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8975 {
8976 PyThreadState* __tstate = wxPyBeginAllowThreads();
8977 result = (arg1)->Scale(arg2,arg3);
8978
8979 wxPyEndAllowThreads(__tstate);
8980 if (PyErr_Occurred()) SWIG_fail;
8981 }
8982 {
8983 wxImage * resultptr;
8984 resultptr = new wxImage((wxImage &) result);
15afbcd0 8985 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8986 }
8987 return resultobj;
8988 fail:
8989 return NULL;
8990}
8991
8992
8993static PyObject *_wrap_Image_ShrinkBy(PyObject *self, PyObject *args, PyObject *kwargs) {
8994 PyObject *resultobj;
8995 wxImage *arg1 = (wxImage *) 0 ;
8996 int arg2 ;
8997 int arg3 ;
8998 SwigValueWrapper< wxImage > result;
8999 PyObject * obj0 = 0 ;
994141e6
RD
9000 PyObject * obj1 = 0 ;
9001 PyObject * obj2 = 0 ;
d14a1e28
RD
9002 char *kwnames[] = {
9003 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9004 };
9005
994141e6 9006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_ShrinkBy",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9009 arg2 = (int) SWIG_AsInt(obj1);
9010 if (PyErr_Occurred()) SWIG_fail;
9011 arg3 = (int) SWIG_AsInt(obj2);
9012 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9013 {
9014 PyThreadState* __tstate = wxPyBeginAllowThreads();
9015 result = ((wxImage const *)arg1)->ShrinkBy(arg2,arg3);
9016
9017 wxPyEndAllowThreads(__tstate);
9018 if (PyErr_Occurred()) SWIG_fail;
9019 }
9020 {
9021 wxImage * resultptr;
9022 resultptr = new wxImage((wxImage &) result);
15afbcd0 9023 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9024 }
9025 return resultobj;
9026 fail:
9027 return NULL;
9028}
9029
9030
9031static PyObject *_wrap_Image_Rescale(PyObject *self, PyObject *args, PyObject *kwargs) {
9032 PyObject *resultobj;
9033 wxImage *arg1 = (wxImage *) 0 ;
9034 int arg2 ;
9035 int arg3 ;
9036 wxImage *result;
9037 PyObject * obj0 = 0 ;
994141e6
RD
9038 PyObject * obj1 = 0 ;
9039 PyObject * obj2 = 0 ;
d14a1e28
RD
9040 char *kwnames[] = {
9041 (char *) "self",(char *) "width",(char *) "height", NULL
9042 };
9043
994141e6 9044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Rescale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9047 arg2 = (int) SWIG_AsInt(obj1);
9048 if (PyErr_Occurred()) SWIG_fail;
9049 arg3 = (int) SWIG_AsInt(obj2);
9050 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9051 {
9052 PyThreadState* __tstate = wxPyBeginAllowThreads();
9053 {
9054 wxImage &_result_ref = (arg1)->Rescale(arg2,arg3);
9055 result = (wxImage *) &_result_ref;
9056 }
9057
9058 wxPyEndAllowThreads(__tstate);
9059 if (PyErr_Occurred()) SWIG_fail;
9060 }
15afbcd0 9061 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 0);
d14a1e28
RD
9062 return resultobj;
9063 fail:
9064 return NULL;
9065}
9066
9067
9068static PyObject *_wrap_Image_SetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
9069 PyObject *resultobj;
9070 wxImage *arg1 = (wxImage *) 0 ;
9071 int arg2 ;
9072 int arg3 ;
9073 unsigned char arg4 ;
9074 unsigned char arg5 ;
9075 unsigned char arg6 ;
9076 PyObject * obj0 = 0 ;
994141e6
RD
9077 PyObject * obj1 = 0 ;
9078 PyObject * obj2 = 0 ;
d14a1e28
RD
9079 PyObject * obj3 = 0 ;
9080 PyObject * obj4 = 0 ;
9081 PyObject * obj5 = 0 ;
9082 char *kwnames[] = {
9083 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9084 };
9085
994141e6 9086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Image_SetRGB",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
9087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9089 arg2 = (int) SWIG_AsInt(obj1);
9090 if (PyErr_Occurred()) SWIG_fail;
9091 arg3 = (int) SWIG_AsInt(obj2);
9092 if (PyErr_Occurred()) SWIG_fail;
9093 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
9094 if (PyErr_Occurred()) SWIG_fail;
9095 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj4);
9096 if (PyErr_Occurred()) SWIG_fail;
9097 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj5);
9098 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9099 {
9100 PyThreadState* __tstate = wxPyBeginAllowThreads();
9101 (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
9102
9103 wxPyEndAllowThreads(__tstate);
9104 if (PyErr_Occurred()) SWIG_fail;
9105 }
9106 Py_INCREF(Py_None); resultobj = Py_None;
9107 return resultobj;
9108 fail:
9109 return NULL;
9110}
9111
9112
9113static PyObject *_wrap_Image_GetRed(PyObject *self, PyObject *args, PyObject *kwargs) {
9114 PyObject *resultobj;
9115 wxImage *arg1 = (wxImage *) 0 ;
9116 int arg2 ;
9117 int arg3 ;
9118 unsigned char result;
9119 PyObject * obj0 = 0 ;
994141e6
RD
9120 PyObject * obj1 = 0 ;
9121 PyObject * obj2 = 0 ;
d14a1e28
RD
9122 char *kwnames[] = {
9123 (char *) "self",(char *) "x",(char *) "y", NULL
9124 };
9125
994141e6 9126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetRed",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9129 arg2 = (int) SWIG_AsInt(obj1);
9130 if (PyErr_Occurred()) SWIG_fail;
9131 arg3 = (int) SWIG_AsInt(obj2);
9132 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9133 {
9134 PyThreadState* __tstate = wxPyBeginAllowThreads();
9135 result = (unsigned char)(arg1)->GetRed(arg2,arg3);
9136
9137 wxPyEndAllowThreads(__tstate);
9138 if (PyErr_Occurred()) SWIG_fail;
9139 }
15afbcd0 9140 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9141 return resultobj;
9142 fail:
9143 return NULL;
9144}
9145
9146
9147static PyObject *_wrap_Image_GetGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
9148 PyObject *resultobj;
9149 wxImage *arg1 = (wxImage *) 0 ;
9150 int arg2 ;
9151 int arg3 ;
9152 unsigned char result;
9153 PyObject * obj0 = 0 ;
994141e6
RD
9154 PyObject * obj1 = 0 ;
9155 PyObject * obj2 = 0 ;
d14a1e28
RD
9156 char *kwnames[] = {
9157 (char *) "self",(char *) "x",(char *) "y", NULL
9158 };
9159
994141e6 9160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetGreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9163 arg2 = (int) SWIG_AsInt(obj1);
9164 if (PyErr_Occurred()) SWIG_fail;
9165 arg3 = (int) SWIG_AsInt(obj2);
9166 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9167 {
9168 PyThreadState* __tstate = wxPyBeginAllowThreads();
9169 result = (unsigned char)(arg1)->GetGreen(arg2,arg3);
9170
9171 wxPyEndAllowThreads(__tstate);
9172 if (PyErr_Occurred()) SWIG_fail;
9173 }
15afbcd0 9174 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9175 return resultobj;
9176 fail:
9177 return NULL;
9178}
9179
9180
9181static PyObject *_wrap_Image_GetBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
9182 PyObject *resultobj;
9183 wxImage *arg1 = (wxImage *) 0 ;
9184 int arg2 ;
9185 int arg3 ;
9186 unsigned char result;
9187 PyObject * obj0 = 0 ;
994141e6
RD
9188 PyObject * obj1 = 0 ;
9189 PyObject * obj2 = 0 ;
d14a1e28
RD
9190 char *kwnames[] = {
9191 (char *) "self",(char *) "x",(char *) "y", NULL
9192 };
9193
994141e6 9194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetBlue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9197 arg2 = (int) SWIG_AsInt(obj1);
9198 if (PyErr_Occurred()) SWIG_fail;
9199 arg3 = (int) SWIG_AsInt(obj2);
9200 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9201 {
9202 PyThreadState* __tstate = wxPyBeginAllowThreads();
9203 result = (unsigned char)(arg1)->GetBlue(arg2,arg3);
9204
9205 wxPyEndAllowThreads(__tstate);
9206 if (PyErr_Occurred()) SWIG_fail;
9207 }
15afbcd0 9208 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9209 return resultobj;
9210 fail:
9211 return NULL;
9212}
9213
9214
9215static PyObject *_wrap_Image_SetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9216 PyObject *resultobj;
9217 wxImage *arg1 = (wxImage *) 0 ;
9218 int arg2 ;
9219 int arg3 ;
9220 unsigned char arg4 ;
9221 PyObject * obj0 = 0 ;
994141e6
RD
9222 PyObject * obj1 = 0 ;
9223 PyObject * obj2 = 0 ;
d14a1e28
RD
9224 PyObject * obj3 = 0 ;
9225 char *kwnames[] = {
9226 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9227 };
9228
994141e6 9229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9232 arg2 = (int) SWIG_AsInt(obj1);
9233 if (PyErr_Occurred()) SWIG_fail;
9234 arg3 = (int) SWIG_AsInt(obj2);
9235 if (PyErr_Occurred()) SWIG_fail;
9236 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
9237 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9238 {
9239 PyThreadState* __tstate = wxPyBeginAllowThreads();
9240 (arg1)->SetAlpha(arg2,arg3,arg4);
9241
9242 wxPyEndAllowThreads(__tstate);
9243 if (PyErr_Occurred()) SWIG_fail;
9244 }
9245 Py_INCREF(Py_None); resultobj = Py_None;
9246 return resultobj;
9247 fail:
9248 return NULL;
9249}
9250
9251
9252static PyObject *_wrap_Image_GetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9253 PyObject *resultobj;
9254 wxImage *arg1 = (wxImage *) 0 ;
9255 int arg2 ;
9256 int arg3 ;
9257 unsigned char result;
9258 PyObject * obj0 = 0 ;
994141e6
RD
9259 PyObject * obj1 = 0 ;
9260 PyObject * obj2 = 0 ;
d14a1e28
RD
9261 char *kwnames[] = {
9262 (char *) "self",(char *) "x",(char *) "y", NULL
9263 };
9264
994141e6 9265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetAlpha",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9268 arg2 = (int) SWIG_AsInt(obj1);
9269 if (PyErr_Occurred()) SWIG_fail;
9270 arg3 = (int) SWIG_AsInt(obj2);
9271 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9272 {
9273 PyThreadState* __tstate = wxPyBeginAllowThreads();
9274 result = (unsigned char)(arg1)->GetAlpha(arg2,arg3);
9275
9276 wxPyEndAllowThreads(__tstate);
9277 if (PyErr_Occurred()) SWIG_fail;
9278 }
15afbcd0 9279 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9280 return resultobj;
9281 fail:
9282 return NULL;
9283}
9284
9285
9286static PyObject *_wrap_Image_HasAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9287 PyObject *resultobj;
9288 wxImage *arg1 = (wxImage *) 0 ;
9289 bool result;
9290 PyObject * obj0 = 0 ;
9291 char *kwnames[] = {
9292 (char *) "self", NULL
9293 };
9294
9295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail;
15afbcd0
RD
9296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9298 {
9299 PyThreadState* __tstate = wxPyBeginAllowThreads();
9300 result = (bool)(arg1)->HasAlpha();
9301
9302 wxPyEndAllowThreads(__tstate);
9303 if (PyErr_Occurred()) SWIG_fail;
9304 }
4f89f6a3
RD
9305 {
9306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9307 }
d14a1e28
RD
9308 return resultobj;
9309 fail:
9310 return NULL;
9311}
9312
9313
9314static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9315 PyObject *resultobj;
9316 wxImage *arg1 = (wxImage *) 0 ;
9317 byte *arg2 = (byte *) 0 ;
9318 byte *arg3 = (byte *) 0 ;
9319 byte *arg4 = (byte *) 0 ;
9320 byte arg5 = (byte) 0 ;
9321 byte arg6 = (byte) 0 ;
9322 byte arg7 = (byte) 0 ;
9323 bool result;
9324 byte temp2 ;
9325 byte temp3 ;
9326 byte temp4 ;
9327 PyObject * obj0 = 0 ;
9328 PyObject * obj1 = 0 ;
9329 PyObject * obj2 = 0 ;
9330 PyObject * obj3 = 0 ;
9331 char *kwnames[] = {
9332 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9333 };
9334
9335 arg2 = &temp2;
9336 arg3 = &temp3;
9337 arg4 = &temp4;
9338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 9341 if (obj1) {
15afbcd0
RD
9342 arg5 = (byte) SWIG_AsUnsignedChar(obj1);
9343 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9344 }
9345 if (obj2) {
15afbcd0
RD
9346 arg6 = (byte) SWIG_AsUnsignedChar(obj2);
9347 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9348 }
9349 if (obj3) {
15afbcd0
RD
9350 arg7 = (byte) SWIG_AsUnsignedChar(obj3);
9351 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9352 }
9353 {
9354 PyThreadState* __tstate = wxPyBeginAllowThreads();
9355 result = (bool)((wxImage const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
9356
9357 wxPyEndAllowThreads(__tstate);
9358 if (PyErr_Occurred()) SWIG_fail;
9359 }
4f89f6a3
RD
9360 {
9361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9362 }
d14a1e28
RD
9363 {
9364 PyObject *o = PyInt_FromLong((long) (*arg2));
9365 resultobj = t_output_helper(resultobj,o);
9366 }
9367 {
9368 PyObject *o = PyInt_FromLong((long) (*arg3));
9369 resultobj = t_output_helper(resultobj,o);
9370 }
9371 {
9372 PyObject *o = PyInt_FromLong((long) (*arg4));
9373 resultobj = t_output_helper(resultobj,o);
9374 }
9375 return resultobj;
9376 fail:
9377 return NULL;
9378}
9379
9380
9381static PyObject *_wrap_Image_SetMaskFromImage(PyObject *self, PyObject *args, PyObject *kwargs) {
9382 PyObject *resultobj;
9383 wxImage *arg1 = (wxImage *) 0 ;
9384 wxImage *arg2 = 0 ;
9385 byte arg3 ;
9386 byte arg4 ;
9387 byte arg5 ;
9388 bool result;
9389 PyObject * obj0 = 0 ;
9390 PyObject * obj1 = 0 ;
9391 PyObject * obj2 = 0 ;
9392 PyObject * obj3 = 0 ;
9393 PyObject * obj4 = 0 ;
9394 char *kwnames[] = {
9395 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9396 };
9397
9398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
9399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9401 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
9402 SWIG_POINTER_EXCEPTION | 0)) == -1)
9403 SWIG_fail;
d14a1e28 9404 if (arg2 == NULL) {
15afbcd0
RD
9405 PyErr_SetString(PyExc_TypeError,"null reference");
9406 SWIG_fail;
a41e16b6 9407 }
15afbcd0
RD
9408 arg3 = (byte) SWIG_AsUnsignedChar(obj2);
9409 if (PyErr_Occurred()) SWIG_fail;
9410 arg4 = (byte) SWIG_AsUnsignedChar(obj3);
9411 if (PyErr_Occurred()) SWIG_fail;
9412 arg5 = (byte) SWIG_AsUnsignedChar(obj4);
9413 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9414 {
9415 PyThreadState* __tstate = wxPyBeginAllowThreads();
9416 result = (bool)(arg1)->SetMaskFromImage((wxImage const &)*arg2,arg3,arg4,arg5);
9417
9418 wxPyEndAllowThreads(__tstate);
9419 if (PyErr_Occurred()) SWIG_fail;
9420 }
4f89f6a3
RD
9421 {
9422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9423 }
d14a1e28
RD
9424 return resultobj;
9425 fail:
9426 return NULL;
9427}
9428
9429
9430static PyObject *_wrap_Image_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
9431 PyObject *resultobj;
9432 wxString *arg1 = 0 ;
9433 bool result;
e811c8ce 9434 bool temp1 = False ;
d14a1e28
RD
9435 PyObject * obj0 = 0 ;
9436 char *kwnames[] = {
9437 (char *) "name", NULL
9438 };
9439
9440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
9441 {
9442 arg1 = wxString_in_helper(obj0);
9443 if (arg1 == NULL) SWIG_fail;
e811c8ce 9444 temp1 = True;
d14a1e28
RD
9445 }
9446 {
9447 PyThreadState* __tstate = wxPyBeginAllowThreads();
9448 result = (bool)wxImage::CanRead((wxString const &)*arg1);
9449
9450 wxPyEndAllowThreads(__tstate);
9451 if (PyErr_Occurred()) SWIG_fail;
9452 }
4f89f6a3
RD
9453 {
9454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9455 }
d14a1e28
RD
9456 {
9457 if (temp1)
9458 delete arg1;
9459 }
9460 return resultobj;
9461 fail:
9462 {
9463 if (temp1)
9464 delete arg1;
9465 }
9466 return NULL;
9467}
9468
9469
9470static PyObject *_wrap_Image_GetImageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9471 PyObject *resultobj;
9472 wxString *arg1 = 0 ;
9473 long arg2 = (long) wxBITMAP_TYPE_ANY ;
9474 int result;
e811c8ce 9475 bool temp1 = False ;
d14a1e28 9476 PyObject * obj0 = 0 ;
994141e6 9477 PyObject * obj1 = 0 ;
d14a1e28
RD
9478 char *kwnames[] = {
9479 (char *) "name",(char *) "type", NULL
9480 };
9481
994141e6 9482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_GetImageCount",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
9483 {
9484 arg1 = wxString_in_helper(obj0);
9485 if (arg1 == NULL) SWIG_fail;
e811c8ce 9486 temp1 = True;
d14a1e28 9487 }
994141e6 9488 if (obj1) {
15afbcd0
RD
9489 arg2 = (long) SWIG_AsLong(obj1);
9490 if (PyErr_Occurred()) SWIG_fail;
994141e6 9491 }
d14a1e28
RD
9492 {
9493 PyThreadState* __tstate = wxPyBeginAllowThreads();
9494 result = (int)wxImage::GetImageCount((wxString const &)*arg1,arg2);
9495
9496 wxPyEndAllowThreads(__tstate);
9497 if (PyErr_Occurred()) SWIG_fail;
9498 }
15afbcd0 9499 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9500 {
9501 if (temp1)
9502 delete arg1;
9503 }
9504 return resultobj;
9505 fail:
9506 {
9507 if (temp1)
9508 delete arg1;
9509 }
9510 return NULL;
9511}
9512
9513
9514static PyObject *_wrap_Image_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9515 PyObject *resultobj;
9516 wxImage *arg1 = (wxImage *) 0 ;
9517 wxString *arg2 = 0 ;
9518 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9519 int arg4 = (int) -1 ;
9520 bool result;
e811c8ce 9521 bool temp2 = False ;
d14a1e28
RD
9522 PyObject * obj0 = 0 ;
9523 PyObject * obj1 = 0 ;
994141e6
RD
9524 PyObject * obj2 = 0 ;
9525 PyObject * obj3 = 0 ;
d14a1e28
RD
9526 char *kwnames[] = {
9527 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9528 };
9529
994141e6 9530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9533 {
9534 arg2 = wxString_in_helper(obj1);
9535 if (arg2 == NULL) SWIG_fail;
e811c8ce 9536 temp2 = True;
d14a1e28 9537 }
994141e6 9538 if (obj2) {
15afbcd0
RD
9539 arg3 = (long) SWIG_AsLong(obj2);
9540 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9541 }
9542 if (obj3) {
15afbcd0
RD
9543 arg4 = (int) SWIG_AsInt(obj3);
9544 if (PyErr_Occurred()) SWIG_fail;
994141e6 9545 }
d14a1e28
RD
9546 {
9547 PyThreadState* __tstate = wxPyBeginAllowThreads();
9548 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3,arg4);
9549
9550 wxPyEndAllowThreads(__tstate);
9551 if (PyErr_Occurred()) SWIG_fail;
9552 }
4f89f6a3
RD
9553 {
9554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9555 }
d14a1e28
RD
9556 {
9557 if (temp2)
9558 delete arg2;
9559 }
9560 return resultobj;
9561 fail:
9562 {
9563 if (temp2)
9564 delete arg2;
9565 }
9566 return NULL;
9567}
9568
9569
9570static PyObject *_wrap_Image_LoadMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9571 PyObject *resultobj;
9572 wxImage *arg1 = (wxImage *) 0 ;
9573 wxString *arg2 = 0 ;
9574 wxString *arg3 = 0 ;
9575 int arg4 = (int) -1 ;
9576 bool result;
e811c8ce
RD
9577 bool temp2 = False ;
9578 bool temp3 = False ;
d14a1e28
RD
9579 PyObject * obj0 = 0 ;
9580 PyObject * obj1 = 0 ;
9581 PyObject * obj2 = 0 ;
994141e6 9582 PyObject * obj3 = 0 ;
d14a1e28
RD
9583 char *kwnames[] = {
9584 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9585 };
9586
994141e6 9587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9590 {
9591 arg2 = wxString_in_helper(obj1);
9592 if (arg2 == NULL) SWIG_fail;
e811c8ce 9593 temp2 = True;
d14a1e28
RD
9594 }
9595 {
9596 arg3 = wxString_in_helper(obj2);
9597 if (arg3 == NULL) SWIG_fail;
e811c8ce 9598 temp3 = True;
d14a1e28 9599 }
994141e6 9600 if (obj3) {
15afbcd0
RD
9601 arg4 = (int) SWIG_AsInt(obj3);
9602 if (PyErr_Occurred()) SWIG_fail;
994141e6 9603 }
d14a1e28
RD
9604 {
9605 PyThreadState* __tstate = wxPyBeginAllowThreads();
9606 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9607
9608 wxPyEndAllowThreads(__tstate);
9609 if (PyErr_Occurred()) SWIG_fail;
9610 }
4f89f6a3
RD
9611 {
9612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9613 }
d14a1e28
RD
9614 {
9615 if (temp2)
9616 delete arg2;
9617 }
9618 {
9619 if (temp3)
9620 delete arg3;
9621 }
9622 return resultobj;
9623 fail:
9624 {
9625 if (temp2)
9626 delete arg2;
9627 }
9628 {
9629 if (temp3)
9630 delete arg3;
9631 }
9632 return NULL;
9633}
9634
9635
9636static PyObject *_wrap_Image_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9637 PyObject *resultobj;
9638 wxImage *arg1 = (wxImage *) 0 ;
9639 wxString *arg2 = 0 ;
9640 int arg3 ;
9641 bool result;
e811c8ce 9642 bool temp2 = False ;
d14a1e28
RD
9643 PyObject * obj0 = 0 ;
9644 PyObject * obj1 = 0 ;
994141e6 9645 PyObject * obj2 = 0 ;
d14a1e28
RD
9646 char *kwnames[] = {
9647 (char *) "self",(char *) "name",(char *) "type", NULL
9648 };
9649
994141e6 9650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9653 {
9654 arg2 = wxString_in_helper(obj1);
9655 if (arg2 == NULL) SWIG_fail;
e811c8ce 9656 temp2 = True;
d14a1e28 9657 }
15afbcd0
RD
9658 arg3 = (int) SWIG_AsInt(obj2);
9659 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9660 {
9661 PyThreadState* __tstate = wxPyBeginAllowThreads();
9662 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
9663
9664 wxPyEndAllowThreads(__tstate);
9665 if (PyErr_Occurred()) SWIG_fail;
9666 }
4f89f6a3
RD
9667 {
9668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9669 }
d14a1e28
RD
9670 {
9671 if (temp2)
9672 delete arg2;
9673 }
9674 return resultobj;
9675 fail:
9676 {
9677 if (temp2)
9678 delete arg2;
9679 }
9680 return NULL;
9681}
9682
9683
9684static PyObject *_wrap_Image_SaveMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9685 PyObject *resultobj;
9686 wxImage *arg1 = (wxImage *) 0 ;
9687 wxString *arg2 = 0 ;
9688 wxString *arg3 = 0 ;
9689 bool result;
e811c8ce
RD
9690 bool temp2 = False ;
9691 bool temp3 = False ;
d14a1e28
RD
9692 PyObject * obj0 = 0 ;
9693 PyObject * obj1 = 0 ;
9694 PyObject * obj2 = 0 ;
9695 char *kwnames[] = {
9696 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9697 };
9698
9699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9702 {
9703 arg2 = wxString_in_helper(obj1);
9704 if (arg2 == NULL) SWIG_fail;
e811c8ce 9705 temp2 = True;
d14a1e28
RD
9706 }
9707 {
9708 arg3 = wxString_in_helper(obj2);
9709 if (arg3 == NULL) SWIG_fail;
e811c8ce 9710 temp3 = True;
d14a1e28
RD
9711 }
9712 {
9713 PyThreadState* __tstate = wxPyBeginAllowThreads();
9714 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxString const &)*arg3);
9715
9716 wxPyEndAllowThreads(__tstate);
9717 if (PyErr_Occurred()) SWIG_fail;
9718 }
4f89f6a3
RD
9719 {
9720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9721 }
d14a1e28
RD
9722 {
9723 if (temp2)
9724 delete arg2;
9725 }
9726 {
9727 if (temp3)
9728 delete arg3;
9729 }
9730 return resultobj;
9731 fail:
9732 {
9733 if (temp2)
9734 delete arg2;
9735 }
9736 {
9737 if (temp3)
9738 delete arg3;
9739 }
9740 return NULL;
9741}
9742
9743
9744static PyObject *_wrap_Image_CanReadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9745 PyObject *resultobj;
9746 wxInputStream *arg1 = 0 ;
9747 bool result;
9748 wxPyInputStream *temp1 ;
9749 bool created1 ;
9750 PyObject * obj0 = 0 ;
9751 char *kwnames[] = {
9752 (char *) "stream", NULL
9753 };
9754
9755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail;
9756 {
9757 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
9758 arg1 = temp1->m_wxis;
e811c8ce 9759 created1 = False;
d14a1e28
RD
9760 } else {
9761 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 9762 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
9763 if (arg1 == NULL) {
9764 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9765 SWIG_fail;
9766 }
e811c8ce 9767 created1 = True;
d14a1e28
RD
9768 }
9769 }
9770 {
9771 PyThreadState* __tstate = wxPyBeginAllowThreads();
9772 result = (bool)wxImage::CanRead(*arg1);
9773
9774 wxPyEndAllowThreads(__tstate);
9775 if (PyErr_Occurred()) SWIG_fail;
9776 }
4f89f6a3
RD
9777 {
9778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9779 }
d14a1e28
RD
9780 {
9781 if (created1)
9782 delete arg1;
9783 }
9784 return resultobj;
9785 fail:
9786 {
9787 if (created1)
9788 delete arg1;
9789 }
9790 return NULL;
9791}
9792
9793
9794static PyObject *_wrap_Image_LoadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9795 PyObject *resultobj;
9796 wxImage *arg1 = (wxImage *) 0 ;
9797 wxInputStream *arg2 = 0 ;
9798 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9799 int arg4 = (int) -1 ;
9800 bool result;
9801 wxPyInputStream *temp2 ;
9802 bool created2 ;
9803 PyObject * obj0 = 0 ;
9804 PyObject * obj1 = 0 ;
994141e6
RD
9805 PyObject * obj2 = 0 ;
9806 PyObject * obj3 = 0 ;
d14a1e28
RD
9807 char *kwnames[] = {
9808 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9809 };
9810
994141e6 9811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9814 {
9815 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9816 arg2 = temp2->m_wxis;
e811c8ce 9817 created2 = False;
d14a1e28
RD
9818 } else {
9819 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 9820 arg2 = wxPyCBInputStream_create(obj1, False);
d14a1e28
RD
9821 if (arg2 == NULL) {
9822 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9823 SWIG_fail;
9824 }
e811c8ce 9825 created2 = True;
d14a1e28
RD
9826 }
9827 }
994141e6 9828 if (obj2) {
15afbcd0
RD
9829 arg3 = (long) SWIG_AsLong(obj2);
9830 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9831 }
9832 if (obj3) {
15afbcd0
RD
9833 arg4 = (int) SWIG_AsInt(obj3);
9834 if (PyErr_Occurred()) SWIG_fail;
994141e6 9835 }
d14a1e28
RD
9836 {
9837 PyThreadState* __tstate = wxPyBeginAllowThreads();
9838 result = (bool)(arg1)->LoadFile(*arg2,arg3,arg4);
9839
9840 wxPyEndAllowThreads(__tstate);
9841 if (PyErr_Occurred()) SWIG_fail;
9842 }
4f89f6a3
RD
9843 {
9844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9845 }
d14a1e28
RD
9846 {
9847 if (created2)
9848 delete arg2;
9849 }
9850 return resultobj;
9851 fail:
9852 {
9853 if (created2)
9854 delete arg2;
9855 }
9856 return NULL;
9857}
9858
9859
9860static PyObject *_wrap_Image_LoadMimeStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9861 PyObject *resultobj;
9862 wxImage *arg1 = (wxImage *) 0 ;
9863 wxInputStream *arg2 = 0 ;
9864 wxString *arg3 = 0 ;
9865 int arg4 = (int) -1 ;
9866 bool result;
9867 wxPyInputStream *temp2 ;
9868 bool created2 ;
e811c8ce 9869 bool temp3 = False ;
d14a1e28
RD
9870 PyObject * obj0 = 0 ;
9871 PyObject * obj1 = 0 ;
9872 PyObject * obj2 = 0 ;
994141e6 9873 PyObject * obj3 = 0 ;
d14a1e28
RD
9874 char *kwnames[] = {
9875 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9876 };
9877
994141e6 9878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9881 {
9882 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9883 arg2 = temp2->m_wxis;
e811c8ce 9884 created2 = False;
d14a1e28
RD
9885 } else {
9886 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 9887 arg2 = wxPyCBInputStream_create(obj1, False);
d14a1e28
RD
9888 if (arg2 == NULL) {
9889 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9890 SWIG_fail;
9891 }
e811c8ce 9892 created2 = True;
d14a1e28
RD
9893 }
9894 }
9895 {
9896 arg3 = wxString_in_helper(obj2);
9897 if (arg3 == NULL) SWIG_fail;
e811c8ce 9898 temp3 = True;
d14a1e28 9899 }
994141e6 9900 if (obj3) {
15afbcd0
RD
9901 arg4 = (int) SWIG_AsInt(obj3);
9902 if (PyErr_Occurred()) SWIG_fail;
994141e6 9903 }
d14a1e28
RD
9904 {
9905 PyThreadState* __tstate = wxPyBeginAllowThreads();
9906 result = (bool)(arg1)->LoadFile(*arg2,(wxString const &)*arg3,arg4);
9907
9908 wxPyEndAllowThreads(__tstate);
9909 if (PyErr_Occurred()) SWIG_fail;
9910 }
4f89f6a3
RD
9911 {
9912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9913 }
d14a1e28
RD
9914 {
9915 if (created2)
9916 delete arg2;
9917 }
9918 {
9919 if (temp3)
9920 delete arg3;
9921 }
9922 return resultobj;
9923 fail:
9924 {
9925 if (created2)
9926 delete arg2;
9927 }
9928 {
9929 if (temp3)
9930 delete arg3;
9931 }
9932 return NULL;
9933}
9934
9935
9936static PyObject *_wrap_Image_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
9937 PyObject *resultobj;
9938 wxImage *arg1 = (wxImage *) 0 ;
9939 bool result;
9940 PyObject * obj0 = 0 ;
9941 char *kwnames[] = {
9942 (char *) "self", NULL
9943 };
9944
9945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
9946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9948 {
9949 PyThreadState* __tstate = wxPyBeginAllowThreads();
9950 result = (bool)(arg1)->Ok();
9951
9952 wxPyEndAllowThreads(__tstate);
9953 if (PyErr_Occurred()) SWIG_fail;
9954 }
4f89f6a3
RD
9955 {
9956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9957 }
d14a1e28
RD
9958 return resultobj;
9959 fail:
9960 return NULL;
9961}
9962
9963
9964static PyObject *_wrap_Image_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9965 PyObject *resultobj;
9966 wxImage *arg1 = (wxImage *) 0 ;
9967 int result;
9968 PyObject * obj0 = 0 ;
9969 char *kwnames[] = {
9970 (char *) "self", NULL
9971 };
9972
9973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
9974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9976 {
9977 PyThreadState* __tstate = wxPyBeginAllowThreads();
9978 result = (int)(arg1)->GetWidth();
9979
9980 wxPyEndAllowThreads(__tstate);
9981 if (PyErr_Occurred()) SWIG_fail;
9982 }
15afbcd0 9983 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9984 return resultobj;
9985 fail:
9986 return NULL;
9987}
9988
9989
9990static PyObject *_wrap_Image_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
9991 PyObject *resultobj;
9992 wxImage *arg1 = (wxImage *) 0 ;
9993 int result;
9994 PyObject * obj0 = 0 ;
9995 char *kwnames[] = {
9996 (char *) "self", NULL
9997 };
9998
9999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
10000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10002 {
10003 PyThreadState* __tstate = wxPyBeginAllowThreads();
10004 result = (int)(arg1)->GetHeight();
10005
10006 wxPyEndAllowThreads(__tstate);
10007 if (PyErr_Occurred()) SWIG_fail;
10008 }
15afbcd0 10009 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10010 return resultobj;
10011 fail:
10012 return NULL;
10013}
10014
10015
b2df227b
RD
10016static PyObject *_wrap_Image_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10017 PyObject *resultobj;
10018 wxImage *arg1 = (wxImage *) 0 ;
10019 wxSize result;
10020 PyObject * obj0 = 0 ;
10021 char *kwnames[] = {
10022 (char *) "self", NULL
10023 };
10024
10025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetSize",kwnames,&obj0)) goto fail;
10026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10028 {
10029 PyThreadState* __tstate = wxPyBeginAllowThreads();
10030 result = wxImage_GetSize(arg1);
10031
10032 wxPyEndAllowThreads(__tstate);
10033 if (PyErr_Occurred()) SWIG_fail;
10034 }
10035 {
10036 wxSize * resultptr;
10037 resultptr = new wxSize((wxSize &) result);
10038 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
10039 }
10040 return resultobj;
10041 fail:
10042 return NULL;
10043}
10044
10045
d14a1e28
RD
10046static PyObject *_wrap_Image_GetSubImage(PyObject *self, PyObject *args, PyObject *kwargs) {
10047 PyObject *resultobj;
10048 wxImage *arg1 = (wxImage *) 0 ;
10049 wxRect *arg2 = 0 ;
10050 SwigValueWrapper< wxImage > result;
10051 wxRect temp2 ;
10052 PyObject * obj0 = 0 ;
10053 PyObject * obj1 = 0 ;
10054 char *kwnames[] = {
10055 (char *) "self",(char *) "rect", NULL
10056 };
10057
10058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10061 {
10062 arg2 = &temp2;
10063 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10064 }
10065 {
10066 PyThreadState* __tstate = wxPyBeginAllowThreads();
10067 result = (arg1)->GetSubImage((wxRect const &)*arg2);
10068
10069 wxPyEndAllowThreads(__tstate);
10070 if (PyErr_Occurred()) SWIG_fail;
10071 }
10072 {
10073 wxImage * resultptr;
10074 resultptr = new wxImage((wxImage &) result);
15afbcd0 10075 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10076 }
10077 return resultobj;
10078 fail:
10079 return NULL;
10080}
10081
10082
10083static PyObject *_wrap_Image_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
10084 PyObject *resultobj;
10085 wxImage *arg1 = (wxImage *) 0 ;
10086 SwigValueWrapper< wxImage > result;
10087 PyObject * obj0 = 0 ;
10088 char *kwnames[] = {
10089 (char *) "self", NULL
10090 };
10091
10092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail;
15afbcd0
RD
10093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10095 {
10096 PyThreadState* __tstate = wxPyBeginAllowThreads();
10097 result = (arg1)->Copy();
10098
10099 wxPyEndAllowThreads(__tstate);
10100 if (PyErr_Occurred()) SWIG_fail;
10101 }
10102 {
10103 wxImage * resultptr;
10104 resultptr = new wxImage((wxImage &) result);
15afbcd0 10105 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10106 }
10107 return resultobj;
10108 fail:
10109 return NULL;
10110}
10111
10112
10113static PyObject *_wrap_Image_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
10114 PyObject *resultobj;
10115 wxImage *arg1 = (wxImage *) 0 ;
10116 wxImage *arg2 = 0 ;
10117 int arg3 ;
10118 int arg4 ;
10119 PyObject * obj0 = 0 ;
10120 PyObject * obj1 = 0 ;
994141e6
RD
10121 PyObject * obj2 = 0 ;
10122 PyObject * obj3 = 0 ;
d14a1e28
RD
10123 char *kwnames[] = {
10124 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10125 };
10126
994141e6 10127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_Paste",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10130 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
10131 SWIG_POINTER_EXCEPTION | 0)) == -1)
10132 SWIG_fail;
d14a1e28 10133 if (arg2 == NULL) {
15afbcd0
RD
10134 PyErr_SetString(PyExc_TypeError,"null reference");
10135 SWIG_fail;
994141e6 10136 }
15afbcd0
RD
10137 arg3 = (int) SWIG_AsInt(obj2);
10138 if (PyErr_Occurred()) SWIG_fail;
10139 arg4 = (int) SWIG_AsInt(obj3);
10140 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10141 {
10142 PyThreadState* __tstate = wxPyBeginAllowThreads();
10143 (arg1)->Paste((wxImage const &)*arg2,arg3,arg4);
10144
10145 wxPyEndAllowThreads(__tstate);
10146 if (PyErr_Occurred()) SWIG_fail;
10147 }
10148 Py_INCREF(Py_None); resultobj = Py_None;
10149 return resultobj;
10150 fail:
10151 return NULL;
10152}
10153
10154
10155static PyObject *_wrap_Image_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
10156 PyObject *resultobj;
10157 wxImage *arg1 = (wxImage *) 0 ;
10158 PyObject *result;
10159 PyObject * obj0 = 0 ;
10160 char *kwnames[] = {
10161 (char *) "self", NULL
10162 };
10163
10164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
10165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10167 {
10168 PyThreadState* __tstate = wxPyBeginAllowThreads();
10169 result = (PyObject *)wxImage_GetData(arg1);
10170
10171 wxPyEndAllowThreads(__tstate);
10172 if (PyErr_Occurred()) SWIG_fail;
10173 }
10174 resultobj = result;
10175 return resultobj;
10176 fail:
10177 return NULL;
10178}
10179
10180
10181static PyObject *_wrap_Image_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
10182 PyObject *resultobj;
10183 wxImage *arg1 = (wxImage *) 0 ;
10184 PyObject *arg2 = (PyObject *) 0 ;
10185 PyObject * obj0 = 0 ;
10186 PyObject * obj1 = 0 ;
10187 char *kwnames[] = {
10188 (char *) "self",(char *) "data", NULL
10189 };
10190
10191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10194 arg2 = obj1;
10195 {
10196 PyThreadState* __tstate = wxPyBeginAllowThreads();
10197 wxImage_SetData(arg1,arg2);
10198
10199 wxPyEndAllowThreads(__tstate);
10200 if (PyErr_Occurred()) SWIG_fail;
10201 }
10202 Py_INCREF(Py_None); resultobj = Py_None;
10203 return resultobj;
10204 fail:
10205 return NULL;
10206}
10207
10208
10209static PyObject *_wrap_Image_GetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10210 PyObject *resultobj;
10211 wxImage *arg1 = (wxImage *) 0 ;
10212 PyObject *result;
10213 PyObject * obj0 = 0 ;
10214 char *kwnames[] = {
10215 (char *) "self", NULL
10216 };
10217
10218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail;
15afbcd0
RD
10219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10221 {
10222 PyThreadState* __tstate = wxPyBeginAllowThreads();
10223 result = (PyObject *)wxImage_GetDataBuffer(arg1);
10224
10225 wxPyEndAllowThreads(__tstate);
10226 if (PyErr_Occurred()) SWIG_fail;
10227 }
10228 resultobj = result;
10229 return resultobj;
10230 fail:
10231 return NULL;
10232}
10233
10234
10235static PyObject *_wrap_Image_SetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10236 PyObject *resultobj;
10237 wxImage *arg1 = (wxImage *) 0 ;
10238 PyObject *arg2 = (PyObject *) 0 ;
10239 PyObject * obj0 = 0 ;
10240 PyObject * obj1 = 0 ;
10241 char *kwnames[] = {
10242 (char *) "self",(char *) "data", NULL
10243 };
10244
10245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10248 arg2 = obj1;
10249 {
10250 PyThreadState* __tstate = wxPyBeginAllowThreads();
10251 wxImage_SetDataBuffer(arg1,arg2);
10252
10253 wxPyEndAllowThreads(__tstate);
10254 if (PyErr_Occurred()) SWIG_fail;
10255 }
10256 Py_INCREF(Py_None); resultobj = Py_None;
10257 return resultobj;
10258 fail:
10259 return NULL;
10260}
10261
10262
10263static PyObject *_wrap_Image_GetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
10264 PyObject *resultobj;
10265 wxImage *arg1 = (wxImage *) 0 ;
10266 PyObject *result;
10267 PyObject * obj0 = 0 ;
10268 char *kwnames[] = {
10269 (char *) "self", NULL
10270 };
10271
10272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail;
15afbcd0
RD
10273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10275 {
10276 PyThreadState* __tstate = wxPyBeginAllowThreads();
10277 result = (PyObject *)wxImage_GetAlphaData(arg1);
10278
10279 wxPyEndAllowThreads(__tstate);
10280 if (PyErr_Occurred()) SWIG_fail;
10281 }
10282 resultobj = result;
10283 return resultobj;
10284 fail:
10285 return NULL;
10286}
10287
10288
10289static PyObject *_wrap_Image_SetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
10290 PyObject *resultobj;
10291 wxImage *arg1 = (wxImage *) 0 ;
10292 PyObject *arg2 = (PyObject *) 0 ;
10293 PyObject * obj0 = 0 ;
10294 PyObject * obj1 = 0 ;
10295 char *kwnames[] = {
10296 (char *) "self",(char *) "data", NULL
10297 };
10298
10299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10302 arg2 = obj1;
10303 {
10304 PyThreadState* __tstate = wxPyBeginAllowThreads();
10305 wxImage_SetAlphaData(arg1,arg2);
10306
10307 wxPyEndAllowThreads(__tstate);
10308 if (PyErr_Occurred()) SWIG_fail;
10309 }
10310 Py_INCREF(Py_None); resultobj = Py_None;
10311 return resultobj;
10312 fail:
10313 return NULL;
10314}
10315
10316
10317static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10318 PyObject *resultobj;
10319 wxImage *arg1 = (wxImage *) 0 ;
10320 PyObject *result;
10321 PyObject * obj0 = 0 ;
10322 char *kwnames[] = {
10323 (char *) "self", NULL
10324 };
10325
10326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail;
15afbcd0
RD
10327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10329 {
10330 PyThreadState* __tstate = wxPyBeginAllowThreads();
10331 result = (PyObject *)wxImage_GetAlphaBuffer(arg1);
10332
10333 wxPyEndAllowThreads(__tstate);
10334 if (PyErr_Occurred()) SWIG_fail;
10335 }
10336 resultobj = result;
10337 return resultobj;
10338 fail:
10339 return NULL;
10340}
10341
10342
10343static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10344 PyObject *resultobj;
10345 wxImage *arg1 = (wxImage *) 0 ;
10346 PyObject *arg2 = (PyObject *) 0 ;
10347 PyObject * obj0 = 0 ;
10348 PyObject * obj1 = 0 ;
10349 char *kwnames[] = {
10350 (char *) "self",(char *) "data", NULL
10351 };
10352
10353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10356 arg2 = obj1;
10357 {
10358 PyThreadState* __tstate = wxPyBeginAllowThreads();
10359 wxImage_SetAlphaBuffer(arg1,arg2);
10360
10361 wxPyEndAllowThreads(__tstate);
10362 if (PyErr_Occurred()) SWIG_fail;
10363 }
10364 Py_INCREF(Py_None); resultobj = Py_None;
10365 return resultobj;
10366 fail:
10367 return NULL;
10368}
10369
10370
10371static PyObject *_wrap_Image_SetMaskColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10372 PyObject *resultobj;
10373 wxImage *arg1 = (wxImage *) 0 ;
10374 unsigned char arg2 ;
10375 unsigned char arg3 ;
10376 unsigned char arg4 ;
10377 PyObject * obj0 = 0 ;
10378 PyObject * obj1 = 0 ;
10379 PyObject * obj2 = 0 ;
10380 PyObject * obj3 = 0 ;
10381 char *kwnames[] = {
10382 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10383 };
10384
10385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10388 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10389 if (PyErr_Occurred()) SWIG_fail;
10390 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10391 if (PyErr_Occurred()) SWIG_fail;
10392 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10393 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10394 {
10395 PyThreadState* __tstate = wxPyBeginAllowThreads();
10396 (arg1)->SetMaskColour(arg2,arg3,arg4);
10397
10398 wxPyEndAllowThreads(__tstate);
10399 if (PyErr_Occurred()) SWIG_fail;
10400 }
10401 Py_INCREF(Py_None); resultobj = Py_None;
10402 return resultobj;
10403 fail:
10404 return NULL;
10405}
10406
10407
10408static PyObject *_wrap_Image_GetMaskRed(PyObject *self, PyObject *args, PyObject *kwargs) {
10409 PyObject *resultobj;
10410 wxImage *arg1 = (wxImage *) 0 ;
10411 unsigned char result;
10412 PyObject * obj0 = 0 ;
10413 char *kwnames[] = {
10414 (char *) "self", NULL
10415 };
10416
10417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail;
15afbcd0
RD
10418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10420 {
10421 PyThreadState* __tstate = wxPyBeginAllowThreads();
10422 result = (unsigned char)(arg1)->GetMaskRed();
10423
10424 wxPyEndAllowThreads(__tstate);
10425 if (PyErr_Occurred()) SWIG_fail;
10426 }
15afbcd0 10427 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10428 return resultobj;
10429 fail:
10430 return NULL;
10431}
10432
10433
10434static PyObject *_wrap_Image_GetMaskGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
10435 PyObject *resultobj;
10436 wxImage *arg1 = (wxImage *) 0 ;
10437 unsigned char result;
10438 PyObject * obj0 = 0 ;
10439 char *kwnames[] = {
10440 (char *) "self", NULL
10441 };
10442
10443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail;
15afbcd0
RD
10444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10446 {
10447 PyThreadState* __tstate = wxPyBeginAllowThreads();
10448 result = (unsigned char)(arg1)->GetMaskGreen();
10449
10450 wxPyEndAllowThreads(__tstate);
10451 if (PyErr_Occurred()) SWIG_fail;
10452 }
15afbcd0 10453 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10454 return resultobj;
10455 fail:
10456 return NULL;
10457}
10458
10459
10460static PyObject *_wrap_Image_GetMaskBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
10461 PyObject *resultobj;
10462 wxImage *arg1 = (wxImage *) 0 ;
10463 unsigned char result;
10464 PyObject * obj0 = 0 ;
10465 char *kwnames[] = {
10466 (char *) "self", NULL
10467 };
10468
10469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail;
15afbcd0
RD
10470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10472 {
10473 PyThreadState* __tstate = wxPyBeginAllowThreads();
10474 result = (unsigned char)(arg1)->GetMaskBlue();
10475
10476 wxPyEndAllowThreads(__tstate);
10477 if (PyErr_Occurred()) SWIG_fail;
10478 }
15afbcd0 10479 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10480 return resultobj;
10481 fail:
10482 return NULL;
10483}
10484
10485
10486static PyObject *_wrap_Image_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
10487 PyObject *resultobj;
10488 wxImage *arg1 = (wxImage *) 0 ;
e811c8ce 10489 bool arg2 = (bool) True ;
d14a1e28
RD
10490 PyObject * obj0 = 0 ;
10491 PyObject * obj1 = 0 ;
10492 char *kwnames[] = {
10493 (char *) "self",(char *) "mask", NULL
10494 };
10495
10496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10499 if (obj1) {
15afbcd0
RD
10500 arg2 = (bool) SWIG_AsBool(obj1);
10501 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10502 }
10503 {
10504 PyThreadState* __tstate = wxPyBeginAllowThreads();
10505 (arg1)->SetMask(arg2);
10506
10507 wxPyEndAllowThreads(__tstate);
10508 if (PyErr_Occurred()) SWIG_fail;
10509 }
10510 Py_INCREF(Py_None); resultobj = Py_None;
10511 return resultobj;
10512 fail:
10513 return NULL;
10514}
10515
10516
10517static PyObject *_wrap_Image_HasMask(PyObject *self, PyObject *args, PyObject *kwargs) {
10518 PyObject *resultobj;
10519 wxImage *arg1 = (wxImage *) 0 ;
10520 bool result;
10521 PyObject * obj0 = 0 ;
10522 char *kwnames[] = {
10523 (char *) "self", NULL
10524 };
10525
10526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
10527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10529 {
10530 PyThreadState* __tstate = wxPyBeginAllowThreads();
10531 result = (bool)(arg1)->HasMask();
10532
10533 wxPyEndAllowThreads(__tstate);
10534 if (PyErr_Occurred()) SWIG_fail;
10535 }
4f89f6a3
RD
10536 {
10537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10538 }
d14a1e28
RD
10539 return resultobj;
10540 fail:
10541 return NULL;
10542}
10543
10544
10545static PyObject *_wrap_Image_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
10546 PyObject *resultobj;
10547 wxImage *arg1 = (wxImage *) 0 ;
10548 double arg2 ;
10549 wxPoint *arg3 = 0 ;
e811c8ce 10550 bool arg4 = (bool) True ;
d14a1e28
RD
10551 wxPoint *arg5 = (wxPoint *) NULL ;
10552 SwigValueWrapper< wxImage > result;
10553 wxPoint temp3 ;
10554 PyObject * obj0 = 0 ;
994141e6 10555 PyObject * obj1 = 0 ;
d14a1e28
RD
10556 PyObject * obj2 = 0 ;
10557 PyObject * obj3 = 0 ;
10558 PyObject * obj4 = 0 ;
10559 char *kwnames[] = {
10560 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10561 };
10562
994141e6 10563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Image_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
10564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10566 arg2 = (double) SWIG_AsDouble(obj1);
10567 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10568 {
10569 arg3 = &temp3;
10570 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10571 }
10572 if (obj3) {
15afbcd0
RD
10573 arg4 = (bool) SWIG_AsBool(obj3);
10574 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10575 }
10576 if (obj4) {
15afbcd0
RD
10577 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPoint,
10578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10579 }
10580 {
10581 PyThreadState* __tstate = wxPyBeginAllowThreads();
10582 result = ((wxImage const *)arg1)->Rotate(arg2,(wxPoint const &)*arg3,arg4,arg5);
10583
10584 wxPyEndAllowThreads(__tstate);
10585 if (PyErr_Occurred()) SWIG_fail;
10586 }
10587 {
10588 wxImage * resultptr;
10589 resultptr = new wxImage((wxImage &) result);
15afbcd0 10590 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10591 }
10592 return resultobj;
10593 fail:
10594 return NULL;
10595}
10596
10597
10598static PyObject *_wrap_Image_Rotate90(PyObject *self, PyObject *args, PyObject *kwargs) {
10599 PyObject *resultobj;
10600 wxImage *arg1 = (wxImage *) 0 ;
e811c8ce 10601 bool arg2 = (bool) True ;
d14a1e28
RD
10602 SwigValueWrapper< wxImage > result;
10603 PyObject * obj0 = 0 ;
10604 PyObject * obj1 = 0 ;
10605 char *kwnames[] = {
10606 (char *) "self",(char *) "clockwise", NULL
10607 };
10608
10609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10612 if (obj1) {
15afbcd0
RD
10613 arg2 = (bool) SWIG_AsBool(obj1);
10614 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10615 }
10616 {
10617 PyThreadState* __tstate = wxPyBeginAllowThreads();
10618 result = (arg1)->Rotate90(arg2);
10619
10620 wxPyEndAllowThreads(__tstate);
10621 if (PyErr_Occurred()) SWIG_fail;
10622 }
10623 {
10624 wxImage * resultptr;
10625 resultptr = new wxImage((wxImage &) result);
15afbcd0 10626 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10627 }
10628 return resultobj;
10629 fail:
10630 return NULL;
10631}
10632
10633
10634static PyObject *_wrap_Image_Mirror(PyObject *self, PyObject *args, PyObject *kwargs) {
10635 PyObject *resultobj;
10636 wxImage *arg1 = (wxImage *) 0 ;
e811c8ce 10637 bool arg2 = (bool) True ;
d14a1e28
RD
10638 SwigValueWrapper< wxImage > result;
10639 PyObject * obj0 = 0 ;
10640 PyObject * obj1 = 0 ;
10641 char *kwnames[] = {
10642 (char *) "self",(char *) "horizontally", NULL
10643 };
10644
10645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10648 if (obj1) {
15afbcd0
RD
10649 arg2 = (bool) SWIG_AsBool(obj1);
10650 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10651 }
10652 {
10653 PyThreadState* __tstate = wxPyBeginAllowThreads();
10654 result = (arg1)->Mirror(arg2);
10655
10656 wxPyEndAllowThreads(__tstate);
10657 if (PyErr_Occurred()) SWIG_fail;
10658 }
10659 {
10660 wxImage * resultptr;
10661 resultptr = new wxImage((wxImage &) result);
15afbcd0 10662 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10663 }
10664 return resultobj;
10665 fail:
10666 return NULL;
10667}
10668
10669
10670static PyObject *_wrap_Image_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
10671 PyObject *resultobj;
10672 wxImage *arg1 = (wxImage *) 0 ;
10673 unsigned char arg2 ;
10674 unsigned char arg3 ;
10675 unsigned char arg4 ;
10676 unsigned char arg5 ;
10677 unsigned char arg6 ;
10678 unsigned char arg7 ;
10679 PyObject * obj0 = 0 ;
10680 PyObject * obj1 = 0 ;
10681 PyObject * obj2 = 0 ;
10682 PyObject * obj3 = 0 ;
10683 PyObject * obj4 = 0 ;
10684 PyObject * obj5 = 0 ;
10685 PyObject * obj6 = 0 ;
10686 char *kwnames[] = {
10687 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10688 };
10689
10690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
10691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10693 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10694 if (PyErr_Occurred()) SWIG_fail;
10695 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10696 if (PyErr_Occurred()) SWIG_fail;
10697 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10698 if (PyErr_Occurred()) SWIG_fail;
10699 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj4);
10700 if (PyErr_Occurred()) SWIG_fail;
10701 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj5);
10702 if (PyErr_Occurred()) SWIG_fail;
10703 arg7 = (unsigned char) SWIG_AsUnsignedChar(obj6);
10704 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10705 {
10706 PyThreadState* __tstate = wxPyBeginAllowThreads();
10707 (arg1)->Replace(arg2,arg3,arg4,arg5,arg6,arg7);
10708
10709 wxPyEndAllowThreads(__tstate);
10710 if (PyErr_Occurred()) SWIG_fail;
10711 }
10712 Py_INCREF(Py_None); resultobj = Py_None;
10713 return resultobj;
10714 fail:
10715 return NULL;
10716}
10717
10718
10719static PyObject *_wrap_Image_ConvertToMono(PyObject *self, PyObject *args, PyObject *kwargs) {
10720 PyObject *resultobj;
10721 wxImage *arg1 = (wxImage *) 0 ;
10722 unsigned char arg2 ;
10723 unsigned char arg3 ;
10724 unsigned char arg4 ;
10725 SwigValueWrapper< wxImage > result;
10726 PyObject * obj0 = 0 ;
10727 PyObject * obj1 = 0 ;
10728 PyObject * obj2 = 0 ;
10729 PyObject * obj3 = 0 ;
10730 char *kwnames[] = {
10731 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10732 };
10733
10734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10737 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10738 if (PyErr_Occurred()) SWIG_fail;
10739 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10740 if (PyErr_Occurred()) SWIG_fail;
10741 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10742 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10743 {
10744 PyThreadState* __tstate = wxPyBeginAllowThreads();
10745 result = ((wxImage const *)arg1)->ConvertToMono(arg2,arg3,arg4);
10746
10747 wxPyEndAllowThreads(__tstate);
10748 if (PyErr_Occurred()) SWIG_fail;
10749 }
10750 {
10751 wxImage * resultptr;
10752 resultptr = new wxImage((wxImage &) result);
15afbcd0 10753 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10754 }
10755 return resultobj;
10756 fail:
10757 return NULL;
10758}
10759
10760
10761static PyObject *_wrap_Image_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10762 PyObject *resultobj;
10763 wxImage *arg1 = (wxImage *) 0 ;
10764 wxString *arg2 = 0 ;
10765 wxString *arg3 = 0 ;
e811c8ce
RD
10766 bool temp2 = False ;
10767 bool temp3 = False ;
d14a1e28
RD
10768 PyObject * obj0 = 0 ;
10769 PyObject * obj1 = 0 ;
10770 PyObject * obj2 = 0 ;
10771 char *kwnames[] = {
10772 (char *) "self",(char *) "name",(char *) "value", NULL
10773 };
10774
10775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10778 {
10779 arg2 = wxString_in_helper(obj1);
10780 if (arg2 == NULL) SWIG_fail;
e811c8ce 10781 temp2 = True;
d14a1e28
RD
10782 }
10783 {
10784 arg3 = wxString_in_helper(obj2);
10785 if (arg3 == NULL) SWIG_fail;
e811c8ce 10786 temp3 = True;
d14a1e28
RD
10787 }
10788 {
10789 PyThreadState* __tstate = wxPyBeginAllowThreads();
10790 (arg1)->SetOption((wxString const &)*arg2,(wxString const &)*arg3);
10791
10792 wxPyEndAllowThreads(__tstate);
10793 if (PyErr_Occurred()) SWIG_fail;
10794 }
10795 Py_INCREF(Py_None); resultobj = Py_None;
10796 {
10797 if (temp2)
10798 delete arg2;
10799 }
10800 {
10801 if (temp3)
10802 delete arg3;
10803 }
10804 return resultobj;
10805 fail:
10806 {
10807 if (temp2)
10808 delete arg2;
10809 }
10810 {
10811 if (temp3)
10812 delete arg3;
10813 }
10814 return NULL;
10815}
10816
10817
10818static PyObject *_wrap_Image_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
10819 PyObject *resultobj;
10820 wxImage *arg1 = (wxImage *) 0 ;
10821 wxString *arg2 = 0 ;
10822 int arg3 ;
e811c8ce 10823 bool temp2 = False ;
d14a1e28
RD
10824 PyObject * obj0 = 0 ;
10825 PyObject * obj1 = 0 ;
994141e6 10826 PyObject * obj2 = 0 ;
d14a1e28
RD
10827 char *kwnames[] = {
10828 (char *) "self",(char *) "name",(char *) "value", NULL
10829 };
10830
994141e6 10831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOptionInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10834 {
10835 arg2 = wxString_in_helper(obj1);
10836 if (arg2 == NULL) SWIG_fail;
e811c8ce 10837 temp2 = True;
d14a1e28 10838 }
15afbcd0
RD
10839 arg3 = (int) SWIG_AsInt(obj2);
10840 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10841 {
10842 PyThreadState* __tstate = wxPyBeginAllowThreads();
10843 (arg1)->SetOption((wxString const &)*arg2,arg3);
10844
10845 wxPyEndAllowThreads(__tstate);
10846 if (PyErr_Occurred()) SWIG_fail;
10847 }
10848 Py_INCREF(Py_None); resultobj = Py_None;
10849 {
10850 if (temp2)
10851 delete arg2;
10852 }
10853 return resultobj;
10854 fail:
10855 {
10856 if (temp2)
10857 delete arg2;
10858 }
10859 return NULL;
10860}
10861
10862
10863static PyObject *_wrap_Image_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10864 PyObject *resultobj;
10865 wxImage *arg1 = (wxImage *) 0 ;
10866 wxString *arg2 = 0 ;
10867 wxString result;
e811c8ce 10868 bool temp2 = False ;
d14a1e28
RD
10869 PyObject * obj0 = 0 ;
10870 PyObject * obj1 = 0 ;
10871 char *kwnames[] = {
10872 (char *) "self",(char *) "name", NULL
10873 };
10874
10875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10878 {
10879 arg2 = wxString_in_helper(obj1);
10880 if (arg2 == NULL) SWIG_fail;
e811c8ce 10881 temp2 = True;
d14a1e28
RD
10882 }
10883 {
10884 PyThreadState* __tstate = wxPyBeginAllowThreads();
10885 result = ((wxImage const *)arg1)->GetOption((wxString const &)*arg2);
10886
10887 wxPyEndAllowThreads(__tstate);
10888 if (PyErr_Occurred()) SWIG_fail;
10889 }
10890 {
10891#if wxUSE_UNICODE
10892 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10893#else
10894 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10895#endif
10896 }
10897 {
10898 if (temp2)
10899 delete arg2;
10900 }
10901 return resultobj;
10902 fail:
10903 {
10904 if (temp2)
10905 delete arg2;
10906 }
10907 return NULL;
10908}
10909
10910
10911static PyObject *_wrap_Image_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
10912 PyObject *resultobj;
10913 wxImage *arg1 = (wxImage *) 0 ;
10914 wxString *arg2 = 0 ;
10915 int result;
e811c8ce 10916 bool temp2 = False ;
d14a1e28
RD
10917 PyObject * obj0 = 0 ;
10918 PyObject * obj1 = 0 ;
10919 char *kwnames[] = {
10920 (char *) "self",(char *) "name", NULL
10921 };
10922
10923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10926 {
10927 arg2 = wxString_in_helper(obj1);
10928 if (arg2 == NULL) SWIG_fail;
e811c8ce 10929 temp2 = True;
d14a1e28
RD
10930 }
10931 {
10932 PyThreadState* __tstate = wxPyBeginAllowThreads();
10933 result = (int)((wxImage const *)arg1)->GetOptionInt((wxString const &)*arg2);
10934
10935 wxPyEndAllowThreads(__tstate);
10936 if (PyErr_Occurred()) SWIG_fail;
10937 }
15afbcd0 10938 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10939 {
10940 if (temp2)
10941 delete arg2;
10942 }
10943 return resultobj;
10944 fail:
10945 {
10946 if (temp2)
10947 delete arg2;
10948 }
10949 return NULL;
10950}
10951
10952
10953static PyObject *_wrap_Image_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10954 PyObject *resultobj;
10955 wxImage *arg1 = (wxImage *) 0 ;
10956 wxString *arg2 = 0 ;
10957 bool result;
e811c8ce 10958 bool temp2 = False ;
d14a1e28
RD
10959 PyObject * obj0 = 0 ;
10960 PyObject * obj1 = 0 ;
10961 char *kwnames[] = {
10962 (char *) "self",(char *) "name", NULL
10963 };
10964
10965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10968 {
10969 arg2 = wxString_in_helper(obj1);
10970 if (arg2 == NULL) SWIG_fail;
e811c8ce 10971 temp2 = True;
d14a1e28
RD
10972 }
10973 {
10974 PyThreadState* __tstate = wxPyBeginAllowThreads();
10975 result = (bool)((wxImage const *)arg1)->HasOption((wxString const &)*arg2);
10976
10977 wxPyEndAllowThreads(__tstate);
10978 if (PyErr_Occurred()) SWIG_fail;
10979 }
4f89f6a3
RD
10980 {
10981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10982 }
d14a1e28
RD
10983 {
10984 if (temp2)
10985 delete arg2;
10986 }
10987 return resultobj;
10988 fail:
10989 {
10990 if (temp2)
10991 delete arg2;
10992 }
10993 return NULL;
10994}
10995
10996
10997static PyObject *_wrap_Image_CountColours(PyObject *self, PyObject *args, PyObject *kwargs) {
10998 PyObject *resultobj;
10999 wxImage *arg1 = (wxImage *) 0 ;
11000 unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
11001 unsigned long result;
11002 PyObject * obj0 = 0 ;
11003 PyObject * obj1 = 0 ;
11004 char *kwnames[] = {
11005 (char *) "self",(char *) "stopafter", NULL
11006 };
11007
11008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11011 if (obj1) {
15afbcd0
RD
11012 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
11013 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11014 }
11015 {
11016 PyThreadState* __tstate = wxPyBeginAllowThreads();
11017 result = (unsigned long)(arg1)->CountColours(arg2);
11018
11019 wxPyEndAllowThreads(__tstate);
11020 if (PyErr_Occurred()) SWIG_fail;
11021 }
15afbcd0 11022 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
11023 return resultobj;
11024 fail:
11025 return NULL;
11026}
11027
11028
11029static PyObject *_wrap_Image_ComputeHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
11030 PyObject *resultobj;
11031 wxImage *arg1 = (wxImage *) 0 ;
11032 wxImageHistogram *arg2 = 0 ;
11033 unsigned long result;
11034 PyObject * obj0 = 0 ;
11035 PyObject * obj1 = 0 ;
11036 char *kwnames[] = {
11037 (char *) "self",(char *) "h", NULL
11038 };
11039
11040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",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;
11043 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageHistogram,
11044 SWIG_POINTER_EXCEPTION | 0)) == -1)
11045 SWIG_fail;
d14a1e28 11046 if (arg2 == NULL) {
15afbcd0
RD
11047 PyErr_SetString(PyExc_TypeError,"null reference");
11048 SWIG_fail;
d14a1e28
RD
11049 }
11050 {
11051 PyThreadState* __tstate = wxPyBeginAllowThreads();
11052 result = (unsigned long)(arg1)->ComputeHistogram(*arg2);
11053
11054 wxPyEndAllowThreads(__tstate);
11055 if (PyErr_Occurred()) SWIG_fail;
11056 }
15afbcd0 11057 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
11058 return resultobj;
11059 fail:
11060 return NULL;
11061}
11062
11063
11064static PyObject *_wrap_Image_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11065 PyObject *resultobj;
11066 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
11067 PyObject * obj0 = 0 ;
11068 char *kwnames[] = {
11069 (char *) "handler", NULL
11070 };
11071
11072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
11073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
11074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11075 {
11076 PyThreadState* __tstate = wxPyBeginAllowThreads();
11077 wxImage::AddHandler(arg1);
11078
11079 wxPyEndAllowThreads(__tstate);
11080 if (PyErr_Occurred()) SWIG_fail;
11081 }
11082 Py_INCREF(Py_None); resultobj = Py_None;
11083 return resultobj;
11084 fail:
11085 return NULL;
11086}
11087
11088
11089static PyObject *_wrap_Image_InsertHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11090 PyObject *resultobj;
11091 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
11092 PyObject * obj0 = 0 ;
11093 char *kwnames[] = {
11094 (char *) "handler", NULL
11095 };
11096
11097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
11098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
11099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11100 {
11101 PyThreadState* __tstate = wxPyBeginAllowThreads();
11102 wxImage::InsertHandler(arg1);
11103
11104 wxPyEndAllowThreads(__tstate);
11105 if (PyErr_Occurred()) SWIG_fail;
11106 }
11107 Py_INCREF(Py_None); resultobj = Py_None;
11108 return resultobj;
11109 fail:
11110 return NULL;
11111}
11112
11113
11114static PyObject *_wrap_Image_RemoveHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11115 PyObject *resultobj;
11116 wxString *arg1 = 0 ;
11117 bool result;
e811c8ce 11118 bool temp1 = False ;
d14a1e28
RD
11119 PyObject * obj0 = 0 ;
11120 char *kwnames[] = {
11121 (char *) "name", NULL
11122 };
11123
11124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail;
11125 {
11126 arg1 = wxString_in_helper(obj0);
11127 if (arg1 == NULL) SWIG_fail;
e811c8ce 11128 temp1 = True;
d14a1e28
RD
11129 }
11130 {
11131 PyThreadState* __tstate = wxPyBeginAllowThreads();
11132 result = (bool)wxImage::RemoveHandler((wxString const &)*arg1);
11133
11134 wxPyEndAllowThreads(__tstate);
11135 if (PyErr_Occurred()) SWIG_fail;
11136 }
4f89f6a3
RD
11137 {
11138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11139 }
d14a1e28
RD
11140 {
11141 if (temp1)
11142 delete arg1;
11143 }
11144 return resultobj;
11145 fail:
11146 {
11147 if (temp1)
11148 delete arg1;
11149 }
11150 return NULL;
11151}
11152
11153
11154static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11155 PyObject *resultobj;
11156 wxString result;
11157 char *kwnames[] = {
11158 NULL
11159 };
11160
11161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail;
11162 {
11163 PyThreadState* __tstate = wxPyBeginAllowThreads();
11164 result = wxImage::GetImageExtWildcard();
11165
11166 wxPyEndAllowThreads(__tstate);
11167 if (PyErr_Occurred()) SWIG_fail;
11168 }
11169 {
11170#if wxUSE_UNICODE
11171 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11172#else
11173 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11174#endif
11175 }
11176 return resultobj;
11177 fail:
11178 return NULL;
11179}
11180
11181
11182static PyObject *_wrap_Image_ConvertToBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11183 PyObject *resultobj;
11184 wxImage *arg1 = (wxImage *) 0 ;
11185 wxBitmap result;
11186 PyObject * obj0 = 0 ;
11187 char *kwnames[] = {
11188 (char *) "self", NULL
11189 };
11190
11191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_ConvertToBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
11192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11194 {
11195 PyThreadState* __tstate = wxPyBeginAllowThreads();
11196 result = wxImage_ConvertToBitmap(arg1);
11197
11198 wxPyEndAllowThreads(__tstate);
11199 if (PyErr_Occurred()) SWIG_fail;
11200 }
11201 {
11202 wxBitmap * resultptr;
11203 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 11204 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
11205 }
11206 return resultobj;
11207 fail:
11208 return NULL;
11209}
11210
11211
11212static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11213 PyObject *resultobj;
11214 wxImage *arg1 = (wxImage *) 0 ;
11215 unsigned char arg2 ;
11216 unsigned char arg3 ;
11217 unsigned char arg4 ;
11218 wxBitmap result;
11219 PyObject * obj0 = 0 ;
11220 PyObject * obj1 = 0 ;
11221 PyObject * obj2 = 0 ;
11222 PyObject * obj3 = 0 ;
11223 char *kwnames[] = {
11224 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11225 };
11226
11227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11230 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
11231 if (PyErr_Occurred()) SWIG_fail;
11232 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
11233 if (PyErr_Occurred()) SWIG_fail;
11234 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
11235 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11236 {
11237 PyThreadState* __tstate = wxPyBeginAllowThreads();
11238 result = wxImage_ConvertToMonoBitmap(arg1,arg2,arg3,arg4);
11239
11240 wxPyEndAllowThreads(__tstate);
11241 if (PyErr_Occurred()) SWIG_fail;
11242 }
11243 {
11244 wxBitmap * resultptr;
11245 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 11246 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
11247 }
11248 return resultobj;
11249 fail:
11250 return NULL;
11251}
11252
11253
11254static PyObject * Image_swigregister(PyObject *self, PyObject *args) {
11255 PyObject *obj;
11256 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11257 SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj);
11258 Py_INCREF(obj);
11259 return Py_BuildValue((char *)"");
11260}
11261static PyObject *_wrap_InitAllImageHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
11262 PyObject *resultobj;
11263 char *kwnames[] = {
11264 NULL
11265 };
11266
11267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":InitAllImageHandlers",kwnames)) goto fail;
11268 {
11269 PyThreadState* __tstate = wxPyBeginAllowThreads();
11270 wxInitAllImageHandlers();
11271
11272 wxPyEndAllowThreads(__tstate);
11273 if (PyErr_Occurred()) SWIG_fail;
11274 }
11275 Py_INCREF(Py_None); resultobj = Py_None;
11276 return resultobj;
11277 fail:
11278 return NULL;
11279}
11280
11281
11282static int _wrap_NullImage_set(PyObject *_val) {
11283 PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only.");
11284 return 1;
11285}
11286
11287
11288static PyObject *_wrap_NullImage_get() {
11289 PyObject *pyobj;
11290
15afbcd0 11291 pyobj = SWIG_NewPointerObj((void *)(&wxNullImage), SWIGTYPE_p_wxImage, 0);
d14a1e28
RD
11292 return pyobj;
11293}
11294
11295
11296static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *_val) {
11297 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11298 return 1;
11299}
11300
11301
11302static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11303 PyObject *pyobj;
11304
11305 {
11306#if wxUSE_UNICODE
11307 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11308#else
11309 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11310#endif
11311 }
11312 return pyobj;
11313}
11314
11315
11316static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *_val) {
11317 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11318 return 1;
11319}
11320
11321
11322static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11323 PyObject *pyobj;
11324
11325 {
11326#if wxUSE_UNICODE
11327 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11328#else
11329 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11330#endif
11331 }
11332 return pyobj;
11333}
11334
11335
11336static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *_val) {
11337 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11338 return 1;
11339}
11340
11341
11342static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11343 PyObject *pyobj;
11344
11345 {
11346#if wxUSE_UNICODE
11347 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11348#else
11349 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11350#endif
11351 }
11352 return pyobj;
11353}
11354
11355
11356static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *_val) {
11357 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11358 return 1;
11359}
11360
11361
11362static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get() {
11363 PyObject *pyobj;
11364
11365 {
11366#if wxUSE_UNICODE
11367 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11368#else
11369 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11370#endif
11371 }
11372 return pyobj;
11373}
11374
11375
11376static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *_val) {
11377 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11378 return 1;
11379}
11380
11381
11382static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11383 PyObject *pyobj;
11384
11385 {
11386#if wxUSE_UNICODE
11387 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11388#else
11389 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11390#endif
11391 }
11392 return pyobj;
11393}
11394
11395
11396static PyObject *_wrap_new_BMPHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11397 PyObject *resultobj;
11398 wxBMPHandler *result;
11399 char *kwnames[] = {
11400 NULL
11401 };
11402
11403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail;
11404 {
11405 PyThreadState* __tstate = wxPyBeginAllowThreads();
11406 result = (wxBMPHandler *)new wxBMPHandler();
11407
11408 wxPyEndAllowThreads(__tstate);
11409 if (PyErr_Occurred()) SWIG_fail;
11410 }
15afbcd0 11411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBMPHandler, 1);
d14a1e28
RD
11412 return resultobj;
11413 fail:
11414 return NULL;
11415}
11416
11417
11418static PyObject * BMPHandler_swigregister(PyObject *self, PyObject *args) {
11419 PyObject *obj;
11420 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11421 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj);
11422 Py_INCREF(obj);
11423 return Py_BuildValue((char *)"");
11424}
11425static PyObject *_wrap_new_ICOHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11426 PyObject *resultobj;
11427 wxICOHandler *result;
11428 char *kwnames[] = {
11429 NULL
11430 };
11431
11432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail;
11433 {
11434 PyThreadState* __tstate = wxPyBeginAllowThreads();
11435 result = (wxICOHandler *)new wxICOHandler();
11436
11437 wxPyEndAllowThreads(__tstate);
11438 if (PyErr_Occurred()) SWIG_fail;
11439 }
15afbcd0 11440 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxICOHandler, 1);
d14a1e28
RD
11441 return resultobj;
11442 fail:
11443 return NULL;
11444}
11445
11446
11447static PyObject * ICOHandler_swigregister(PyObject *self, PyObject *args) {
11448 PyObject *obj;
11449 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11450 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj);
11451 Py_INCREF(obj);
11452 return Py_BuildValue((char *)"");
11453}
11454static PyObject *_wrap_new_CURHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11455 PyObject *resultobj;
11456 wxCURHandler *result;
11457 char *kwnames[] = {
11458 NULL
11459 };
11460
11461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail;
11462 {
11463 PyThreadState* __tstate = wxPyBeginAllowThreads();
11464 result = (wxCURHandler *)new wxCURHandler();
11465
11466 wxPyEndAllowThreads(__tstate);
11467 if (PyErr_Occurred()) SWIG_fail;
11468 }
15afbcd0 11469 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCURHandler, 1);
d14a1e28
RD
11470 return resultobj;
11471 fail:
11472 return NULL;
11473}
11474
11475
11476static PyObject * CURHandler_swigregister(PyObject *self, PyObject *args) {
11477 PyObject *obj;
11478 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11479 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj);
11480 Py_INCREF(obj);
11481 return Py_BuildValue((char *)"");
11482}
11483static PyObject *_wrap_new_ANIHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11484 PyObject *resultobj;
11485 wxANIHandler *result;
11486 char *kwnames[] = {
11487 NULL
11488 };
11489
11490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail;
11491 {
11492 PyThreadState* __tstate = wxPyBeginAllowThreads();
11493 result = (wxANIHandler *)new wxANIHandler();
11494
11495 wxPyEndAllowThreads(__tstate);
11496 if (PyErr_Occurred()) SWIG_fail;
11497 }
15afbcd0 11498 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxANIHandler, 1);
d14a1e28
RD
11499 return resultobj;
11500 fail:
11501 return NULL;
11502}
11503
11504
11505static PyObject * ANIHandler_swigregister(PyObject *self, PyObject *args) {
11506 PyObject *obj;
11507 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11508 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj);
11509 Py_INCREF(obj);
11510 return Py_BuildValue((char *)"");
11511}
11512static PyObject *_wrap_new_PNGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11513 PyObject *resultobj;
11514 wxPNGHandler *result;
11515 char *kwnames[] = {
11516 NULL
11517 };
11518
11519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail;
11520 {
11521 PyThreadState* __tstate = wxPyBeginAllowThreads();
11522 result = (wxPNGHandler *)new wxPNGHandler();
11523
11524 wxPyEndAllowThreads(__tstate);
11525 if (PyErr_Occurred()) SWIG_fail;
11526 }
15afbcd0 11527 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNGHandler, 1);
d14a1e28
RD
11528 return resultobj;
11529 fail:
11530 return NULL;
11531}
11532
11533
11534static PyObject * PNGHandler_swigregister(PyObject *self, PyObject *args) {
11535 PyObject *obj;
11536 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11537 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj);
11538 Py_INCREF(obj);
11539 return Py_BuildValue((char *)"");
11540}
11541static PyObject *_wrap_new_GIFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11542 PyObject *resultobj;
11543 wxGIFHandler *result;
11544 char *kwnames[] = {
11545 NULL
11546 };
11547
11548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail;
11549 {
11550 PyThreadState* __tstate = wxPyBeginAllowThreads();
11551 result = (wxGIFHandler *)new wxGIFHandler();
11552
11553 wxPyEndAllowThreads(__tstate);
11554 if (PyErr_Occurred()) SWIG_fail;
11555 }
15afbcd0 11556 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGIFHandler, 1);
d14a1e28
RD
11557 return resultobj;
11558 fail:
11559 return NULL;
11560}
11561
11562
11563static PyObject * GIFHandler_swigregister(PyObject *self, PyObject *args) {
11564 PyObject *obj;
11565 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11566 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj);
11567 Py_INCREF(obj);
11568 return Py_BuildValue((char *)"");
11569}
11570static PyObject *_wrap_new_PCXHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11571 PyObject *resultobj;
11572 wxPCXHandler *result;
11573 char *kwnames[] = {
11574 NULL
11575 };
11576
11577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail;
11578 {
11579 PyThreadState* __tstate = wxPyBeginAllowThreads();
11580 result = (wxPCXHandler *)new wxPCXHandler();
11581
11582 wxPyEndAllowThreads(__tstate);
11583 if (PyErr_Occurred()) SWIG_fail;
11584 }
15afbcd0 11585 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPCXHandler, 1);
d14a1e28
RD
11586 return resultobj;
11587 fail:
11588 return NULL;
11589}
11590
11591
11592static PyObject * PCXHandler_swigregister(PyObject *self, PyObject *args) {
11593 PyObject *obj;
11594 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11595 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj);
11596 Py_INCREF(obj);
11597 return Py_BuildValue((char *)"");
11598}
11599static PyObject *_wrap_new_JPEGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11600 PyObject *resultobj;
11601 wxJPEGHandler *result;
11602 char *kwnames[] = {
11603 NULL
11604 };
11605
11606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail;
11607 {
11608 PyThreadState* __tstate = wxPyBeginAllowThreads();
11609 result = (wxJPEGHandler *)new wxJPEGHandler();
11610
11611 wxPyEndAllowThreads(__tstate);
11612 if (PyErr_Occurred()) SWIG_fail;
11613 }
15afbcd0 11614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJPEGHandler, 1);
d14a1e28
RD
11615 return resultobj;
11616 fail:
11617 return NULL;
11618}
11619
11620
11621static PyObject * JPEGHandler_swigregister(PyObject *self, PyObject *args) {
11622 PyObject *obj;
11623 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11624 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj);
11625 Py_INCREF(obj);
11626 return Py_BuildValue((char *)"");
11627}
11628static PyObject *_wrap_new_PNMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11629 PyObject *resultobj;
11630 wxPNMHandler *result;
11631 char *kwnames[] = {
11632 NULL
11633 };
11634
11635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail;
11636 {
11637 PyThreadState* __tstate = wxPyBeginAllowThreads();
11638 result = (wxPNMHandler *)new wxPNMHandler();
11639
11640 wxPyEndAllowThreads(__tstate);
11641 if (PyErr_Occurred()) SWIG_fail;
11642 }
15afbcd0 11643 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNMHandler, 1);
d14a1e28
RD
11644 return resultobj;
11645 fail:
11646 return NULL;
11647}
11648
11649
11650static PyObject * PNMHandler_swigregister(PyObject *self, PyObject *args) {
11651 PyObject *obj;
11652 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11653 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj);
11654 Py_INCREF(obj);
11655 return Py_BuildValue((char *)"");
11656}
11657static PyObject *_wrap_new_XPMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11658 PyObject *resultobj;
11659 wxXPMHandler *result;
11660 char *kwnames[] = {
11661 NULL
11662 };
11663
11664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail;
11665 {
11666 PyThreadState* __tstate = wxPyBeginAllowThreads();
11667 result = (wxXPMHandler *)new wxXPMHandler();
11668
11669 wxPyEndAllowThreads(__tstate);
11670 if (PyErr_Occurred()) SWIG_fail;
11671 }
15afbcd0 11672 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXPMHandler, 1);
d14a1e28
RD
11673 return resultobj;
11674 fail:
11675 return NULL;
11676}
11677
11678
11679static PyObject * XPMHandler_swigregister(PyObject *self, PyObject *args) {
11680 PyObject *obj;
11681 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11682 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj);
11683 Py_INCREF(obj);
11684 return Py_BuildValue((char *)"");
11685}
11686static PyObject *_wrap_new_TIFFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11687 PyObject *resultobj;
11688 wxTIFFHandler *result;
11689 char *kwnames[] = {
11690 NULL
11691 };
11692
11693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail;
11694 {
11695 PyThreadState* __tstate = wxPyBeginAllowThreads();
11696 result = (wxTIFFHandler *)new wxTIFFHandler();
11697
11698 wxPyEndAllowThreads(__tstate);
11699 if (PyErr_Occurred()) SWIG_fail;
11700 }
15afbcd0 11701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTIFFHandler, 1);
d14a1e28
RD
11702 return resultobj;
11703 fail:
11704 return NULL;
11705}
11706
11707
11708static PyObject * TIFFHandler_swigregister(PyObject *self, PyObject *args) {
11709 PyObject *obj;
11710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11711 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj);
11712 Py_INCREF(obj);
11713 return Py_BuildValue((char *)"");
11714}
11715static PyObject *_wrap_new_EvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11716 PyObject *resultobj;
11717 wxEvtHandler *result;
11718 char *kwnames[] = {
11719 NULL
11720 };
11721
11722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail;
11723 {
11724 PyThreadState* __tstate = wxPyBeginAllowThreads();
11725 result = (wxEvtHandler *)new wxEvtHandler();
11726
11727 wxPyEndAllowThreads(__tstate);
11728 if (PyErr_Occurred()) SWIG_fail;
11729 }
11730 {
11731 resultobj = wxPyMake_wxObject(result);
11732 }
11733 return resultobj;
11734 fail:
11735 return NULL;
11736}
11737
11738
11739static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11740 PyObject *resultobj;
11741 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11742 wxEvtHandler *result;
11743 PyObject * obj0 = 0 ;
11744 char *kwnames[] = {
11745 (char *) "self", NULL
11746 };
11747
11748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
11749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11751 {
11752 PyThreadState* __tstate = wxPyBeginAllowThreads();
11753 result = (wxEvtHandler *)(arg1)->GetNextHandler();
11754
11755 wxPyEndAllowThreads(__tstate);
11756 if (PyErr_Occurred()) SWIG_fail;
11757 }
11758 {
11759 resultobj = wxPyMake_wxObject(result);
11760 }
11761 return resultobj;
11762 fail:
11763 return NULL;
11764}
11765
11766
11767static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11768 PyObject *resultobj;
11769 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11770 wxEvtHandler *result;
11771 PyObject * obj0 = 0 ;
11772 char *kwnames[] = {
11773 (char *) "self", NULL
11774 };
11775
11776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
11777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11779 {
11780 PyThreadState* __tstate = wxPyBeginAllowThreads();
11781 result = (wxEvtHandler *)(arg1)->GetPreviousHandler();
11782
11783 wxPyEndAllowThreads(__tstate);
11784 if (PyErr_Occurred()) SWIG_fail;
11785 }
11786 {
11787 resultobj = wxPyMake_wxObject(result);
11788 }
11789 return resultobj;
11790 fail:
11791 return NULL;
11792}
11793
11794
11795static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11796 PyObject *resultobj;
11797 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11798 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11799 PyObject * obj0 = 0 ;
11800 PyObject * obj1 = 0 ;
11801 char *kwnames[] = {
11802 (char *) "self",(char *) "handler", NULL
11803 };
11804
11805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11808 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
11809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11810 {
11811 PyThreadState* __tstate = wxPyBeginAllowThreads();
11812 (arg1)->SetNextHandler(arg2);
11813
11814 wxPyEndAllowThreads(__tstate);
11815 if (PyErr_Occurred()) SWIG_fail;
11816 }
11817 Py_INCREF(Py_None); resultobj = Py_None;
11818 return resultobj;
11819 fail:
11820 return NULL;
11821}
11822
11823
11824static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11825 PyObject *resultobj;
11826 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11827 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11828 PyObject * obj0 = 0 ;
11829 PyObject * obj1 = 0 ;
11830 char *kwnames[] = {
11831 (char *) "self",(char *) "handler", NULL
11832 };
11833
11834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11837 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
11838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11839 {
11840 PyThreadState* __tstate = wxPyBeginAllowThreads();
11841 (arg1)->SetPreviousHandler(arg2);
11842
11843 wxPyEndAllowThreads(__tstate);
11844 if (PyErr_Occurred()) SWIG_fail;
11845 }
11846 Py_INCREF(Py_None); resultobj = Py_None;
11847 return resultobj;
11848 fail:
11849 return NULL;
11850}
11851
11852
11853static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11854 PyObject *resultobj;
11855 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11856 bool result;
11857 PyObject * obj0 = 0 ;
11858 char *kwnames[] = {
11859 (char *) "self", NULL
11860 };
11861
11862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
11863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11865 {
11866 PyThreadState* __tstate = wxPyBeginAllowThreads();
11867 result = (bool)(arg1)->GetEvtHandlerEnabled();
11868
11869 wxPyEndAllowThreads(__tstate);
11870 if (PyErr_Occurred()) SWIG_fail;
11871 }
4f89f6a3
RD
11872 {
11873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11874 }
d14a1e28
RD
11875 return resultobj;
11876 fail:
11877 return NULL;
11878}
11879
11880
11881static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11882 PyObject *resultobj;
11883 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11884 bool arg2 ;
11885 PyObject * obj0 = 0 ;
11886 PyObject * obj1 = 0 ;
11887 char *kwnames[] = {
11888 (char *) "self",(char *) "enabled", NULL
11889 };
11890
11891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11894 arg2 = (bool) SWIG_AsBool(obj1);
11895 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11896 {
11897 PyThreadState* __tstate = wxPyBeginAllowThreads();
11898 (arg1)->SetEvtHandlerEnabled(arg2);
11899
11900 wxPyEndAllowThreads(__tstate);
11901 if (PyErr_Occurred()) SWIG_fail;
11902 }
11903 Py_INCREF(Py_None); resultobj = Py_None;
11904 return resultobj;
11905 fail:
11906 return NULL;
11907}
11908
11909
11910static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11911 PyObject *resultobj;
11912 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11913 wxEvent *arg2 = 0 ;
11914 bool result;
11915 PyObject * obj0 = 0 ;
11916 PyObject * obj1 = 0 ;
11917 char *kwnames[] = {
11918 (char *) "self",(char *) "event", NULL
11919 };
11920
11921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11924 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
11925 SWIG_POINTER_EXCEPTION | 0)) == -1)
11926 SWIG_fail;
d14a1e28 11927 if (arg2 == NULL) {
15afbcd0
RD
11928 PyErr_SetString(PyExc_TypeError,"null reference");
11929 SWIG_fail;
d14a1e28
RD
11930 }
11931 {
11932 PyThreadState* __tstate = wxPyBeginAllowThreads();
11933 result = (bool)(arg1)->ProcessEvent(*arg2);
11934
11935 wxPyEndAllowThreads(__tstate);
11936 if (PyErr_Occurred()) SWIG_fail;
11937 }
4f89f6a3
RD
11938 {
11939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11940 }
d14a1e28
RD
11941 return resultobj;
11942 fail:
11943 return NULL;
11944}
11945
11946
11947static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11948 PyObject *resultobj;
11949 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11950 wxEvent *arg2 = 0 ;
11951 PyObject * obj0 = 0 ;
11952 PyObject * obj1 = 0 ;
11953 char *kwnames[] = {
11954 (char *) "self",(char *) "event", NULL
11955 };
11956
11957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11960 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
11961 SWIG_POINTER_EXCEPTION | 0)) == -1)
11962 SWIG_fail;
d14a1e28 11963 if (arg2 == NULL) {
15afbcd0
RD
11964 PyErr_SetString(PyExc_TypeError,"null reference");
11965 SWIG_fail;
d14a1e28
RD
11966 }
11967 {
11968 PyThreadState* __tstate = wxPyBeginAllowThreads();
11969 (arg1)->AddPendingEvent(*arg2);
11970
11971 wxPyEndAllowThreads(__tstate);
11972 if (PyErr_Occurred()) SWIG_fail;
11973 }
11974 Py_INCREF(Py_None); resultobj = Py_None;
11975 return resultobj;
11976 fail:
11977 return NULL;
11978}
11979
11980
11981static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
11982 PyObject *resultobj;
11983 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11984 PyObject * obj0 = 0 ;
11985 char *kwnames[] = {
11986 (char *) "self", NULL
11987 };
11988
11989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail;
15afbcd0
RD
11990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11992 {
11993 PyThreadState* __tstate = wxPyBeginAllowThreads();
11994 (arg1)->ProcessPendingEvents();
11995
11996 wxPyEndAllowThreads(__tstate);
11997 if (PyErr_Occurred()) SWIG_fail;
11998 }
11999 Py_INCREF(Py_None); resultobj = Py_None;
12000 return resultobj;
12001 fail:
12002 return NULL;
12003}
12004
12005
12006static PyObject *_wrap_EvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
12007 PyObject *resultobj;
12008 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12009 int arg2 ;
12010 int arg3 ;
12011 int arg4 ;
12012 PyObject *arg5 = (PyObject *) 0 ;
12013 PyObject * obj0 = 0 ;
994141e6
RD
12014 PyObject * obj1 = 0 ;
12015 PyObject * obj2 = 0 ;
12016 PyObject * obj3 = 0 ;
d14a1e28
RD
12017 PyObject * obj4 = 0 ;
12018 char *kwnames[] = {
12019 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12020 };
12021
994141e6 12022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:EvtHandler_Connect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
12023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12025 arg2 = (int) SWIG_AsInt(obj1);
12026 if (PyErr_Occurred()) SWIG_fail;
12027 arg3 = (int) SWIG_AsInt(obj2);
12028 if (PyErr_Occurred()) SWIG_fail;
12029 arg4 = (int) SWIG_AsInt(obj3);
12030 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12031 arg5 = obj4;
12032 {
12033 PyThreadState* __tstate = wxPyBeginAllowThreads();
12034 wxEvtHandler_Connect(arg1,arg2,arg3,arg4,arg5);
12035
12036 wxPyEndAllowThreads(__tstate);
12037 if (PyErr_Occurred()) SWIG_fail;
12038 }
12039 Py_INCREF(Py_None); resultobj = Py_None;
12040 return resultobj;
12041 fail:
12042 return NULL;
12043}
12044
12045
12046static PyObject *_wrap_EvtHandler_Disconnect(PyObject *self, PyObject *args, PyObject *kwargs) {
12047 PyObject *resultobj;
12048 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12049 int arg2 ;
12050 int arg3 = (int) -1 ;
12051 wxEventType arg4 = (wxEventType) wxEVT_NULL ;
12052 bool result;
12053 PyObject * obj0 = 0 ;
994141e6
RD
12054 PyObject * obj1 = 0 ;
12055 PyObject * obj2 = 0 ;
12056 PyObject * obj3 = 0 ;
d14a1e28
RD
12057 char *kwnames[] = {
12058 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12059 };
12060
994141e6 12061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:EvtHandler_Disconnect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
12062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12064 arg2 = (int) SWIG_AsInt(obj1);
12065 if (PyErr_Occurred()) SWIG_fail;
994141e6 12066 if (obj2) {
15afbcd0
RD
12067 arg3 = (int) SWIG_AsInt(obj2);
12068 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12069 }
12070 if (obj3) {
15afbcd0
RD
12071 arg4 = (wxEventType) SWIG_AsInt(obj3);
12072 if (PyErr_Occurred()) SWIG_fail;
994141e6 12073 }
d14a1e28
RD
12074 {
12075 PyThreadState* __tstate = wxPyBeginAllowThreads();
12076 result = (bool)wxEvtHandler_Disconnect(arg1,arg2,arg3,arg4);
12077
12078 wxPyEndAllowThreads(__tstate);
12079 if (PyErr_Occurred()) SWIG_fail;
12080 }
4f89f6a3
RD
12081 {
12082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12083 }
d14a1e28
RD
12084 return resultobj;
12085 fail:
12086 return NULL;
12087}
12088
12089
12090static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12091 PyObject *resultobj;
12092 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12093 PyObject *arg2 = (PyObject *) 0 ;
12094 PyObject * obj0 = 0 ;
12095 PyObject * obj1 = 0 ;
12096 char *kwnames[] = {
12097 (char *) "self",(char *) "_self", NULL
12098 };
12099
12100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12103 arg2 = obj1;
12104 {
12105 PyThreadState* __tstate = wxPyBeginAllowThreads();
12106 wxEvtHandler__setOORInfo(arg1,arg2);
12107
12108 wxPyEndAllowThreads(__tstate);
12109 if (PyErr_Occurred()) SWIG_fail;
12110 }
12111 Py_INCREF(Py_None); resultobj = Py_None;
12112 return resultobj;
12113 fail:
12114 return NULL;
12115}
12116
12117
12118static PyObject * EvtHandler_swigregister(PyObject *self, PyObject *args) {
12119 PyObject *obj;
12120 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12121 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj);
12122 Py_INCREF(obj);
12123 return Py_BuildValue((char *)"");
12124}
12125static PyObject *_wrap_NewEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12126 PyObject *resultobj;
12127 wxEventType result;
12128 char *kwnames[] = {
12129 NULL
12130 };
12131
12132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail;
12133 {
12134 PyThreadState* __tstate = wxPyBeginAllowThreads();
12135 result = (wxEventType)wxNewEventType();
12136
12137 wxPyEndAllowThreads(__tstate);
12138 if (PyErr_Occurred()) SWIG_fail;
12139 }
15afbcd0 12140 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12141 return resultobj;
12142 fail:
12143 return NULL;
12144}
12145
12146
12147static PyObject *_wrap_delete_Event(PyObject *self, PyObject *args, PyObject *kwargs) {
12148 PyObject *resultobj;
12149 wxEvent *arg1 = (wxEvent *) 0 ;
12150 PyObject * obj0 = 0 ;
12151 char *kwnames[] = {
12152 (char *) "self", NULL
12153 };
12154
12155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail;
15afbcd0
RD
12156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12158 {
12159 PyThreadState* __tstate = wxPyBeginAllowThreads();
12160 delete arg1;
12161
12162 wxPyEndAllowThreads(__tstate);
12163 if (PyErr_Occurred()) SWIG_fail;
12164 }
12165 Py_INCREF(Py_None); resultobj = Py_None;
12166 return resultobj;
12167 fail:
12168 return NULL;
12169}
12170
12171
12172static PyObject *_wrap_Event_SetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12173 PyObject *resultobj;
12174 wxEvent *arg1 = (wxEvent *) 0 ;
12175 wxEventType arg2 ;
12176 PyObject * obj0 = 0 ;
994141e6 12177 PyObject * obj1 = 0 ;
d14a1e28
RD
12178 char *kwnames[] = {
12179 (char *) "self",(char *) "typ", NULL
12180 };
12181
994141e6 12182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12185 arg2 = (wxEventType) SWIG_AsInt(obj1);
12186 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12187 {
12188 PyThreadState* __tstate = wxPyBeginAllowThreads();
12189 (arg1)->SetEventType(arg2);
12190
12191 wxPyEndAllowThreads(__tstate);
12192 if (PyErr_Occurred()) SWIG_fail;
12193 }
12194 Py_INCREF(Py_None); resultobj = Py_None;
12195 return resultobj;
12196 fail:
12197 return NULL;
12198}
12199
12200
12201static PyObject *_wrap_Event_GetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12202 PyObject *resultobj;
12203 wxEvent *arg1 = (wxEvent *) 0 ;
12204 wxEventType result;
12205 PyObject * obj0 = 0 ;
12206 char *kwnames[] = {
12207 (char *) "self", NULL
12208 };
12209
12210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail;
15afbcd0
RD
12211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12213 {
12214 PyThreadState* __tstate = wxPyBeginAllowThreads();
12215 result = (wxEventType)((wxEvent const *)arg1)->GetEventType();
12216
12217 wxPyEndAllowThreads(__tstate);
12218 if (PyErr_Occurred()) SWIG_fail;
12219 }
15afbcd0 12220 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12221 return resultobj;
12222 fail:
12223 return NULL;
12224}
12225
12226
12227static PyObject *_wrap_Event_GetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
12228 PyObject *resultobj;
12229 wxEvent *arg1 = (wxEvent *) 0 ;
12230 wxObject *result;
12231 PyObject * obj0 = 0 ;
12232 char *kwnames[] = {
12233 (char *) "self", NULL
12234 };
12235
12236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail;
15afbcd0
RD
12237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12239 {
12240 PyThreadState* __tstate = wxPyBeginAllowThreads();
12241 result = (wxObject *)((wxEvent const *)arg1)->GetEventObject();
12242
12243 wxPyEndAllowThreads(__tstate);
12244 if (PyErr_Occurred()) SWIG_fail;
12245 }
12246 {
12247 resultobj = wxPyMake_wxObject(result);
12248 }
12249 return resultobj;
12250 fail:
12251 return NULL;
12252}
12253
12254
12255static PyObject *_wrap_Event_SetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
12256 PyObject *resultobj;
12257 wxEvent *arg1 = (wxEvent *) 0 ;
12258 wxObject *arg2 = (wxObject *) 0 ;
12259 PyObject * obj0 = 0 ;
12260 PyObject * obj1 = 0 ;
12261 char *kwnames[] = {
12262 (char *) "self",(char *) "obj", NULL
12263 };
12264
12265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12268 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
12269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12270 {
12271 PyThreadState* __tstate = wxPyBeginAllowThreads();
12272 (arg1)->SetEventObject(arg2);
12273
12274 wxPyEndAllowThreads(__tstate);
12275 if (PyErr_Occurred()) SWIG_fail;
12276 }
12277 Py_INCREF(Py_None); resultobj = Py_None;
12278 return resultobj;
12279 fail:
12280 return NULL;
12281}
12282
12283
12284static PyObject *_wrap_Event_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
12285 PyObject *resultobj;
12286 wxEvent *arg1 = (wxEvent *) 0 ;
12287 long result;
12288 PyObject * obj0 = 0 ;
12289 char *kwnames[] = {
12290 (char *) "self", NULL
12291 };
12292
12293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail;
15afbcd0
RD
12294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12296 {
12297 PyThreadState* __tstate = wxPyBeginAllowThreads();
12298 result = (long)((wxEvent const *)arg1)->GetTimestamp();
12299
12300 wxPyEndAllowThreads(__tstate);
12301 if (PyErr_Occurred()) SWIG_fail;
12302 }
15afbcd0 12303 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
12304 return resultobj;
12305 fail:
12306 return NULL;
12307}
12308
12309
12310static PyObject *_wrap_Event_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
12311 PyObject *resultobj;
12312 wxEvent *arg1 = (wxEvent *) 0 ;
12313 long arg2 = (long) 0 ;
12314 PyObject * obj0 = 0 ;
994141e6 12315 PyObject * obj1 = 0 ;
d14a1e28
RD
12316 char *kwnames[] = {
12317 (char *) "self",(char *) "ts", NULL
12318 };
12319
994141e6 12320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_SetTimestamp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 12323 if (obj1) {
15afbcd0
RD
12324 arg2 = (long) SWIG_AsLong(obj1);
12325 if (PyErr_Occurred()) SWIG_fail;
994141e6 12326 }
d14a1e28
RD
12327 {
12328 PyThreadState* __tstate = wxPyBeginAllowThreads();
12329 (arg1)->SetTimestamp(arg2);
12330
12331 wxPyEndAllowThreads(__tstate);
12332 if (PyErr_Occurred()) SWIG_fail;
12333 }
12334 Py_INCREF(Py_None); resultobj = Py_None;
12335 return resultobj;
12336 fail:
12337 return NULL;
12338}
12339
12340
12341static PyObject *_wrap_Event_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12342 PyObject *resultobj;
12343 wxEvent *arg1 = (wxEvent *) 0 ;
12344 int result;
12345 PyObject * obj0 = 0 ;
12346 char *kwnames[] = {
12347 (char *) "self", NULL
12348 };
12349
12350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
12351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12353 {
12354 PyThreadState* __tstate = wxPyBeginAllowThreads();
12355 result = (int)((wxEvent const *)arg1)->GetId();
12356
12357 wxPyEndAllowThreads(__tstate);
12358 if (PyErr_Occurred()) SWIG_fail;
12359 }
15afbcd0 12360 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12361 return resultobj;
12362 fail:
12363 return NULL;
12364}
12365
12366
12367static PyObject *_wrap_Event_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12368 PyObject *resultobj;
12369 wxEvent *arg1 = (wxEvent *) 0 ;
12370 int arg2 ;
12371 PyObject * obj0 = 0 ;
994141e6 12372 PyObject * obj1 = 0 ;
d14a1e28
RD
12373 char *kwnames[] = {
12374 (char *) "self",(char *) "Id", NULL
12375 };
12376
994141e6 12377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12380 arg2 = (int) SWIG_AsInt(obj1);
12381 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12382 {
12383 PyThreadState* __tstate = wxPyBeginAllowThreads();
12384 (arg1)->SetId(arg2);
12385
12386 wxPyEndAllowThreads(__tstate);
12387 if (PyErr_Occurred()) SWIG_fail;
12388 }
12389 Py_INCREF(Py_None); resultobj = Py_None;
12390 return resultobj;
12391 fail:
12392 return NULL;
12393}
12394
12395
12396static PyObject *_wrap_Event_IsCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12397 PyObject *resultobj;
12398 wxEvent *arg1 = (wxEvent *) 0 ;
12399 bool result;
12400 PyObject * obj0 = 0 ;
12401 char *kwnames[] = {
12402 (char *) "self", NULL
12403 };
12404
12405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_IsCommandEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
12406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12408 {
12409 PyThreadState* __tstate = wxPyBeginAllowThreads();
12410 result = (bool)((wxEvent const *)arg1)->IsCommandEvent();
12411
12412 wxPyEndAllowThreads(__tstate);
12413 if (PyErr_Occurred()) SWIG_fail;
12414 }
4f89f6a3
RD
12415 {
12416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12417 }
d14a1e28
RD
12418 return resultobj;
12419 fail:
12420 return NULL;
12421}
12422
12423
12424static PyObject *_wrap_Event_Skip(PyObject *self, PyObject *args, PyObject *kwargs) {
12425 PyObject *resultobj;
12426 wxEvent *arg1 = (wxEvent *) 0 ;
e811c8ce 12427 bool arg2 = (bool) True ;
d14a1e28
RD
12428 PyObject * obj0 = 0 ;
12429 PyObject * obj1 = 0 ;
12430 char *kwnames[] = {
12431 (char *) "self",(char *) "skip", NULL
12432 };
12433
12434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 12437 if (obj1) {
15afbcd0
RD
12438 arg2 = (bool) SWIG_AsBool(obj1);
12439 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12440 }
12441 {
12442 PyThreadState* __tstate = wxPyBeginAllowThreads();
12443 (arg1)->Skip(arg2);
12444
12445 wxPyEndAllowThreads(__tstate);
12446 if (PyErr_Occurred()) SWIG_fail;
12447 }
12448 Py_INCREF(Py_None); resultobj = Py_None;
12449 return resultobj;
12450 fail:
12451 return NULL;
12452}
12453
12454
12455static PyObject *_wrap_Event_GetSkipped(PyObject *self, PyObject *args, PyObject *kwargs) {
12456 PyObject *resultobj;
12457 wxEvent *arg1 = (wxEvent *) 0 ;
12458 bool result;
12459 PyObject * obj0 = 0 ;
12460 char *kwnames[] = {
12461 (char *) "self", NULL
12462 };
12463
12464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail;
15afbcd0
RD
12465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12467 {
12468 PyThreadState* __tstate = wxPyBeginAllowThreads();
12469 result = (bool)((wxEvent const *)arg1)->GetSkipped();
12470
12471 wxPyEndAllowThreads(__tstate);
12472 if (PyErr_Occurred()) SWIG_fail;
12473 }
4f89f6a3
RD
12474 {
12475 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12476 }
d14a1e28
RD
12477 return resultobj;
12478 fail:
12479 return NULL;
12480}
12481
12482
12483static PyObject *_wrap_Event_ShouldPropagate(PyObject *self, PyObject *args, PyObject *kwargs) {
12484 PyObject *resultobj;
12485 wxEvent *arg1 = (wxEvent *) 0 ;
12486 bool result;
12487 PyObject * obj0 = 0 ;
12488 char *kwnames[] = {
12489 (char *) "self", NULL
12490 };
12491
12492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_ShouldPropagate",kwnames,&obj0)) goto fail;
15afbcd0
RD
12493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12495 {
12496 PyThreadState* __tstate = wxPyBeginAllowThreads();
12497 result = (bool)((wxEvent const *)arg1)->ShouldPropagate();
12498
12499 wxPyEndAllowThreads(__tstate);
12500 if (PyErr_Occurred()) SWIG_fail;
12501 }
4f89f6a3
RD
12502 {
12503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12504 }
d14a1e28
RD
12505 return resultobj;
12506 fail:
12507 return NULL;
12508}
12509
12510
12511static PyObject *_wrap_Event_StopPropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
12512 PyObject *resultobj;
12513 wxEvent *arg1 = (wxEvent *) 0 ;
12514 int result;
12515 PyObject * obj0 = 0 ;
12516 char *kwnames[] = {
12517 (char *) "self", NULL
12518 };
12519
12520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",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 = (int)(arg1)->StopPropagation();
12526
12527 wxPyEndAllowThreads(__tstate);
12528 if (PyErr_Occurred()) SWIG_fail;
12529 }
15afbcd0 12530 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12531 return resultobj;
12532 fail:
12533 return NULL;
12534}
12535
12536
12537static PyObject *_wrap_Event_ResumePropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
12538 PyObject *resultobj;
12539 wxEvent *arg1 = (wxEvent *) 0 ;
12540 int arg2 ;
12541 PyObject * obj0 = 0 ;
994141e6 12542 PyObject * obj1 = 0 ;
d14a1e28
RD
12543 char *kwnames[] = {
12544 (char *) "self",(char *) "propagationLevel", NULL
12545 };
12546
994141e6 12547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_ResumePropagation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12550 arg2 = (int) SWIG_AsInt(obj1);
12551 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12552 {
12553 PyThreadState* __tstate = wxPyBeginAllowThreads();
12554 (arg1)->ResumePropagation(arg2);
12555
12556 wxPyEndAllowThreads(__tstate);
12557 if (PyErr_Occurred()) SWIG_fail;
12558 }
12559 Py_INCREF(Py_None); resultobj = Py_None;
12560 return resultobj;
12561 fail:
12562 return NULL;
12563}
12564
12565
12566static PyObject *_wrap_Event_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
12567 PyObject *resultobj;
12568 wxEvent *arg1 = (wxEvent *) 0 ;
12569 wxEvent *result;
12570 PyObject * obj0 = 0 ;
12571 char *kwnames[] = {
12572 (char *) "self", NULL
12573 };
12574
12575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
12576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12578 {
12579 PyThreadState* __tstate = wxPyBeginAllowThreads();
12580 result = (wxEvent *)(arg1)->Clone();
12581
12582 wxPyEndAllowThreads(__tstate);
12583 if (PyErr_Occurred()) SWIG_fail;
12584 }
15afbcd0 12585 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
d14a1e28
RD
12586 return resultobj;
12587 fail:
12588 return NULL;
12589}
12590
12591
12592static PyObject * Event_swigregister(PyObject *self, PyObject *args) {
12593 PyObject *obj;
12594 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12595 SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj);
12596 Py_INCREF(obj);
12597 return Py_BuildValue((char *)"");
12598}
12599static PyObject *_wrap_new_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
12600 PyObject *resultobj;
12601 wxEvent *arg1 = 0 ;
12602 wxPropagationDisabler *result;
12603 PyObject * obj0 = 0 ;
12604 char *kwnames[] = {
12605 (char *) "event", NULL
12606 };
12607
12608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail;
15afbcd0
RD
12609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12610 SWIG_POINTER_EXCEPTION | 0)) == -1)
12611 SWIG_fail;
d14a1e28 12612 if (arg1 == NULL) {
15afbcd0
RD
12613 PyErr_SetString(PyExc_TypeError,"null reference");
12614 SWIG_fail;
d14a1e28
RD
12615 }
12616 {
12617 PyThreadState* __tstate = wxPyBeginAllowThreads();
12618 result = (wxPropagationDisabler *)new wxPropagationDisabler(*arg1);
12619
12620 wxPyEndAllowThreads(__tstate);
12621 if (PyErr_Occurred()) SWIG_fail;
12622 }
15afbcd0 12623 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagationDisabler, 1);
d14a1e28
RD
12624 return resultobj;
12625 fail:
12626 return NULL;
12627}
12628
12629
12630static PyObject *_wrap_delete_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
12631 PyObject *resultobj;
12632 wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
12633 PyObject * obj0 = 0 ;
12634 char *kwnames[] = {
12635 (char *) "self", NULL
12636 };
12637
12638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail;
15afbcd0
RD
12639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagationDisabler,
12640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12641 {
12642 PyThreadState* __tstate = wxPyBeginAllowThreads();
12643 delete arg1;
12644
12645 wxPyEndAllowThreads(__tstate);
12646 if (PyErr_Occurred()) SWIG_fail;
12647 }
12648 Py_INCREF(Py_None); resultobj = Py_None;
12649 return resultobj;
12650 fail:
12651 return NULL;
12652}
12653
12654
12655static PyObject * PropagationDisabler_swigregister(PyObject *self, PyObject *args) {
12656 PyObject *obj;
12657 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12658 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj);
12659 Py_INCREF(obj);
12660 return Py_BuildValue((char *)"");
12661}
12662static PyObject *_wrap_new_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
12663 PyObject *resultobj;
12664 wxEvent *arg1 = 0 ;
12665 wxPropagateOnce *result;
12666 PyObject * obj0 = 0 ;
12667 char *kwnames[] = {
12668 (char *) "event", NULL
12669 };
12670
12671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail;
15afbcd0
RD
12672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12673 SWIG_POINTER_EXCEPTION | 0)) == -1)
12674 SWIG_fail;
d14a1e28 12675 if (arg1 == NULL) {
15afbcd0
RD
12676 PyErr_SetString(PyExc_TypeError,"null reference");
12677 SWIG_fail;
d14a1e28
RD
12678 }
12679 {
12680 PyThreadState* __tstate = wxPyBeginAllowThreads();
12681 result = (wxPropagateOnce *)new wxPropagateOnce(*arg1);
12682
12683 wxPyEndAllowThreads(__tstate);
12684 if (PyErr_Occurred()) SWIG_fail;
12685 }
15afbcd0 12686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagateOnce, 1);
d14a1e28
RD
12687 return resultobj;
12688 fail:
12689 return NULL;
12690}
12691
12692
12693static PyObject *_wrap_delete_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
12694 PyObject *resultobj;
12695 wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
12696 PyObject * obj0 = 0 ;
12697 char *kwnames[] = {
12698 (char *) "self", NULL
12699 };
12700
12701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail;
15afbcd0
RD
12702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagateOnce,
12703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12704 {
12705 PyThreadState* __tstate = wxPyBeginAllowThreads();
12706 delete arg1;
12707
12708 wxPyEndAllowThreads(__tstate);
12709 if (PyErr_Occurred()) SWIG_fail;
12710 }
12711 Py_INCREF(Py_None); resultobj = Py_None;
12712 return resultobj;
12713 fail:
12714 return NULL;
12715}
12716
12717
12718static PyObject * PropagateOnce_swigregister(PyObject *self, PyObject *args) {
12719 PyObject *obj;
12720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12721 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj);
12722 Py_INCREF(obj);
12723 return Py_BuildValue((char *)"");
12724}
12725static PyObject *_wrap_new_CommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12726 PyObject *resultobj;
12727 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12728 int arg2 = (int) 0 ;
12729 wxCommandEvent *result;
994141e6
RD
12730 PyObject * obj0 = 0 ;
12731 PyObject * obj1 = 0 ;
d14a1e28
RD
12732 char *kwnames[] = {
12733 (char *) "commandType",(char *) "winid", NULL
12734 };
12735
994141e6
RD
12736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CommandEvent",kwnames,&obj0,&obj1)) goto fail;
12737 if (obj0) {
15afbcd0
RD
12738 arg1 = (wxEventType) SWIG_AsInt(obj0);
12739 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12740 }
12741 if (obj1) {
15afbcd0
RD
12742 arg2 = (int) SWIG_AsInt(obj1);
12743 if (PyErr_Occurred()) SWIG_fail;
994141e6 12744 }
d14a1e28
RD
12745 {
12746 PyThreadState* __tstate = wxPyBeginAllowThreads();
12747 result = (wxCommandEvent *)new wxCommandEvent(arg1,arg2);
12748
12749 wxPyEndAllowThreads(__tstate);
12750 if (PyErr_Occurred()) SWIG_fail;
12751 }
15afbcd0 12752 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCommandEvent, 1);
d14a1e28
RD
12753 return resultobj;
12754 fail:
12755 return NULL;
12756}
12757
12758
12759static PyObject *_wrap_CommandEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12760 PyObject *resultobj;
12761 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12762 int result;
12763 PyObject * obj0 = 0 ;
12764 char *kwnames[] = {
12765 (char *) "self", NULL
12766 };
12767
12768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
12769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12771 {
12772 PyThreadState* __tstate = wxPyBeginAllowThreads();
12773 result = (int)((wxCommandEvent const *)arg1)->GetSelection();
12774
12775 wxPyEndAllowThreads(__tstate);
12776 if (PyErr_Occurred()) SWIG_fail;
12777 }
15afbcd0 12778 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12779 return resultobj;
12780 fail:
12781 return NULL;
12782}
12783
12784
12785static PyObject *_wrap_CommandEvent_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12786 PyObject *resultobj;
12787 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12788 wxString *arg2 = 0 ;
e811c8ce 12789 bool temp2 = False ;
d14a1e28
RD
12790 PyObject * obj0 = 0 ;
12791 PyObject * obj1 = 0 ;
12792 char *kwnames[] = {
12793 (char *) "self",(char *) "s", NULL
12794 };
12795
12796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12799 {
12800 arg2 = wxString_in_helper(obj1);
12801 if (arg2 == NULL) SWIG_fail;
e811c8ce 12802 temp2 = True;
d14a1e28
RD
12803 }
12804 {
12805 PyThreadState* __tstate = wxPyBeginAllowThreads();
12806 (arg1)->SetString((wxString const &)*arg2);
12807
12808 wxPyEndAllowThreads(__tstate);
12809 if (PyErr_Occurred()) SWIG_fail;
12810 }
12811 Py_INCREF(Py_None); resultobj = Py_None;
12812 {
12813 if (temp2)
12814 delete arg2;
12815 }
12816 return resultobj;
12817 fail:
12818 {
12819 if (temp2)
12820 delete arg2;
12821 }
12822 return NULL;
12823}
12824
12825
12826static PyObject *_wrap_CommandEvent_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12827 PyObject *resultobj;
12828 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12829 wxString result;
12830 PyObject * obj0 = 0 ;
12831 char *kwnames[] = {
12832 (char *) "self", NULL
12833 };
12834
12835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) goto fail;
15afbcd0
RD
12836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12838 {
12839 PyThreadState* __tstate = wxPyBeginAllowThreads();
12840 result = ((wxCommandEvent const *)arg1)->GetString();
12841
12842 wxPyEndAllowThreads(__tstate);
12843 if (PyErr_Occurred()) SWIG_fail;
12844 }
12845 {
12846#if wxUSE_UNICODE
12847 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12848#else
12849 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12850#endif
12851 }
12852 return resultobj;
12853 fail:
12854 return NULL;
12855}
12856
12857
12858static PyObject *_wrap_CommandEvent_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
12859 PyObject *resultobj;
12860 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12861 bool result;
12862 PyObject * obj0 = 0 ;
12863 char *kwnames[] = {
12864 (char *) "self", NULL
12865 };
12866
12867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
12868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12870 {
12871 PyThreadState* __tstate = wxPyBeginAllowThreads();
12872 result = (bool)((wxCommandEvent const *)arg1)->IsChecked();
12873
12874 wxPyEndAllowThreads(__tstate);
12875 if (PyErr_Occurred()) SWIG_fail;
12876 }
4f89f6a3
RD
12877 {
12878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12879 }
d14a1e28
RD
12880 return resultobj;
12881 fail:
12882 return NULL;
12883}
12884
12885
12886static PyObject *_wrap_CommandEvent_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12887 PyObject *resultobj;
12888 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12889 bool result;
12890 PyObject * obj0 = 0 ;
12891 char *kwnames[] = {
12892 (char *) "self", NULL
12893 };
12894
12895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
12896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12898 {
12899 PyThreadState* __tstate = wxPyBeginAllowThreads();
12900 result = (bool)((wxCommandEvent const *)arg1)->IsSelection();
12901
12902 wxPyEndAllowThreads(__tstate);
12903 if (PyErr_Occurred()) SWIG_fail;
12904 }
4f89f6a3
RD
12905 {
12906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12907 }
d14a1e28
RD
12908 return resultobj;
12909 fail:
12910 return NULL;
12911}
12912
12913
12914static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
12915 PyObject *resultobj;
12916 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12917 long arg2 ;
12918 PyObject * obj0 = 0 ;
994141e6 12919 PyObject * obj1 = 0 ;
d14a1e28
RD
12920 char *kwnames[] = {
12921 (char *) "self",(char *) "extraLong", NULL
12922 };
12923
994141e6 12924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetExtraLong",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12927 arg2 = (long) SWIG_AsLong(obj1);
12928 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12929 {
12930 PyThreadState* __tstate = wxPyBeginAllowThreads();
12931 (arg1)->SetExtraLong(arg2);
12932
12933 wxPyEndAllowThreads(__tstate);
12934 if (PyErr_Occurred()) SWIG_fail;
12935 }
12936 Py_INCREF(Py_None); resultobj = Py_None;
12937 return resultobj;
12938 fail:
12939 return NULL;
12940}
12941
12942
12943static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
12944 PyObject *resultobj;
12945 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12946 long result;
12947 PyObject * obj0 = 0 ;
12948 char *kwnames[] = {
12949 (char *) "self", NULL
12950 };
12951
12952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail;
15afbcd0
RD
12953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12955 {
12956 PyThreadState* __tstate = wxPyBeginAllowThreads();
12957 result = (long)((wxCommandEvent const *)arg1)->GetExtraLong();
12958
12959 wxPyEndAllowThreads(__tstate);
12960 if (PyErr_Occurred()) SWIG_fail;
12961 }
15afbcd0 12962 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
12963 return resultobj;
12964 fail:
12965 return NULL;
12966}
12967
12968
12969static PyObject *_wrap_CommandEvent_SetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
12970 PyObject *resultobj;
12971 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12972 int arg2 ;
12973 PyObject * obj0 = 0 ;
994141e6 12974 PyObject * obj1 = 0 ;
d14a1e28
RD
12975 char *kwnames[] = {
12976 (char *) "self",(char *) "i", NULL
12977 };
12978
994141e6 12979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetInt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12982 arg2 = (int) SWIG_AsInt(obj1);
12983 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12984 {
12985 PyThreadState* __tstate = wxPyBeginAllowThreads();
12986 (arg1)->SetInt(arg2);
12987
12988 wxPyEndAllowThreads(__tstate);
12989 if (PyErr_Occurred()) SWIG_fail;
12990 }
12991 Py_INCREF(Py_None); resultobj = Py_None;
12992 return resultobj;
12993 fail:
12994 return NULL;
12995}
12996
12997
12998static PyObject *_wrap_CommandEvent_GetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
12999 PyObject *resultobj;
13000 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13001 long result;
13002 PyObject * obj0 = 0 ;
13003 char *kwnames[] = {
13004 (char *) "self", NULL
13005 };
13006
13007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail;
15afbcd0
RD
13008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13010 {
13011 PyThreadState* __tstate = wxPyBeginAllowThreads();
13012 result = (long)((wxCommandEvent const *)arg1)->GetInt();
13013
13014 wxPyEndAllowThreads(__tstate);
13015 if (PyErr_Occurred()) SWIG_fail;
13016 }
15afbcd0 13017 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
13018 return resultobj;
13019 fail:
13020 return NULL;
13021}
13022
13023
13024static PyObject *_wrap_CommandEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
13025 PyObject *resultobj;
13026 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13027 wxEvent *result;
13028 PyObject * obj0 = 0 ;
13029 char *kwnames[] = {
13030 (char *) "self", NULL
13031 };
13032
13033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
13034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13036 {
13037 PyThreadState* __tstate = wxPyBeginAllowThreads();
13038 result = (wxEvent *)((wxCommandEvent const *)arg1)->Clone();
13039
13040 wxPyEndAllowThreads(__tstate);
13041 if (PyErr_Occurred()) SWIG_fail;
13042 }
15afbcd0 13043 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
d14a1e28
RD
13044 return resultobj;
13045 fail:
13046 return NULL;
13047}
13048
13049
13050static PyObject * CommandEvent_swigregister(PyObject *self, PyObject *args) {
13051 PyObject *obj;
13052 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13053 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj);
13054 Py_INCREF(obj);
13055 return Py_BuildValue((char *)"");
13056}
13057static PyObject *_wrap_new_NotifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13058 PyObject *resultobj;
13059 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13060 int arg2 = (int) 0 ;
13061 wxNotifyEvent *result;
994141e6
RD
13062 PyObject * obj0 = 0 ;
13063 PyObject * obj1 = 0 ;
d14a1e28
RD
13064 char *kwnames[] = {
13065 (char *) "commandType",(char *) "winid", NULL
13066 };
13067
994141e6
RD
13068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_NotifyEvent",kwnames,&obj0,&obj1)) goto fail;
13069 if (obj0) {
15afbcd0
RD
13070 arg1 = (wxEventType) SWIG_AsInt(obj0);
13071 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13072 }
13073 if (obj1) {
15afbcd0
RD
13074 arg2 = (int) SWIG_AsInt(obj1);
13075 if (PyErr_Occurred()) SWIG_fail;
994141e6 13076 }
d14a1e28
RD
13077 {
13078 PyThreadState* __tstate = wxPyBeginAllowThreads();
13079 result = (wxNotifyEvent *)new wxNotifyEvent(arg1,arg2);
13080
13081 wxPyEndAllowThreads(__tstate);
13082 if (PyErr_Occurred()) SWIG_fail;
13083 }
15afbcd0 13084 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotifyEvent, 1);
d14a1e28
RD
13085 return resultobj;
13086 fail:
13087 return NULL;
13088}
13089
13090
13091static PyObject *_wrap_NotifyEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
13092 PyObject *resultobj;
13093 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13094 PyObject * obj0 = 0 ;
13095 char *kwnames[] = {
13096 (char *) "self", NULL
13097 };
13098
13099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail;
15afbcd0
RD
13100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13102 {
13103 PyThreadState* __tstate = wxPyBeginAllowThreads();
13104 (arg1)->Veto();
13105
13106 wxPyEndAllowThreads(__tstate);
13107 if (PyErr_Occurred()) SWIG_fail;
13108 }
13109 Py_INCREF(Py_None); resultobj = Py_None;
13110 return resultobj;
13111 fail:
13112 return NULL;
13113}
13114
13115
13116static PyObject *_wrap_NotifyEvent_Allow(PyObject *self, PyObject *args, PyObject *kwargs) {
13117 PyObject *resultobj;
13118 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13119 PyObject * obj0 = 0 ;
13120 char *kwnames[] = {
13121 (char *) "self", NULL
13122 };
13123
13124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail;
15afbcd0
RD
13125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13127 {
13128 PyThreadState* __tstate = wxPyBeginAllowThreads();
13129 (arg1)->Allow();
13130
13131 wxPyEndAllowThreads(__tstate);
13132 if (PyErr_Occurred()) SWIG_fail;
13133 }
13134 Py_INCREF(Py_None); resultobj = Py_None;
13135 return resultobj;
13136 fail:
13137 return NULL;
13138}
13139
13140
13141static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
13142 PyObject *resultobj;
13143 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13144 bool result;
13145 PyObject * obj0 = 0 ;
13146 char *kwnames[] = {
13147 (char *) "self", NULL
13148 };
13149
13150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail;
15afbcd0
RD
13151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13153 {
13154 PyThreadState* __tstate = wxPyBeginAllowThreads();
13155 result = (bool)(arg1)->IsAllowed();
13156
13157 wxPyEndAllowThreads(__tstate);
13158 if (PyErr_Occurred()) SWIG_fail;
13159 }
4f89f6a3
RD
13160 {
13161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13162 }
d14a1e28
RD
13163 return resultobj;
13164 fail:
13165 return NULL;
13166}
13167
13168
13169static PyObject * NotifyEvent_swigregister(PyObject *self, PyObject *args) {
13170 PyObject *obj;
13171 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13172 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj);
13173 Py_INCREF(obj);
13174 return Py_BuildValue((char *)"");
13175}
13176static PyObject *_wrap_new_ScrollEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13177 PyObject *resultobj;
13178 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13179 int arg2 = (int) 0 ;
13180 int arg3 = (int) 0 ;
13181 int arg4 = (int) 0 ;
13182 wxScrollEvent *result;
994141e6
RD
13183 PyObject * obj0 = 0 ;
13184 PyObject * obj1 = 0 ;
13185 PyObject * obj2 = 0 ;
13186 PyObject * obj3 = 0 ;
d14a1e28
RD
13187 char *kwnames[] = {
13188 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13189 };
13190
994141e6
RD
13191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ScrollEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13192 if (obj0) {
15afbcd0
RD
13193 arg1 = (wxEventType) SWIG_AsInt(obj0);
13194 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13195 }
13196 if (obj1) {
15afbcd0
RD
13197 arg2 = (int) SWIG_AsInt(obj1);
13198 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13199 }
13200 if (obj2) {
15afbcd0
RD
13201 arg3 = (int) SWIG_AsInt(obj2);
13202 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13203 }
13204 if (obj3) {
15afbcd0
RD
13205 arg4 = (int) SWIG_AsInt(obj3);
13206 if (PyErr_Occurred()) SWIG_fail;
994141e6 13207 }
d14a1e28
RD
13208 {
13209 PyThreadState* __tstate = wxPyBeginAllowThreads();
13210 result = (wxScrollEvent *)new wxScrollEvent(arg1,arg2,arg3,arg4);
13211
13212 wxPyEndAllowThreads(__tstate);
13213 if (PyErr_Occurred()) SWIG_fail;
13214 }
15afbcd0 13215 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollEvent, 1);
d14a1e28
RD
13216 return resultobj;
13217 fail:
13218 return NULL;
13219}
13220
13221
13222static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13223 PyObject *resultobj;
13224 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13225 int result;
13226 PyObject * obj0 = 0 ;
13227 char *kwnames[] = {
13228 (char *) "self", NULL
13229 };
13230
13231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
13232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13234 {
13235 PyThreadState* __tstate = wxPyBeginAllowThreads();
13236 result = (int)((wxScrollEvent const *)arg1)->GetOrientation();
13237
13238 wxPyEndAllowThreads(__tstate);
13239 if (PyErr_Occurred()) SWIG_fail;
13240 }
15afbcd0 13241 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13242 return resultobj;
13243 fail:
13244 return NULL;
13245}
13246
13247
13248static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13249 PyObject *resultobj;
13250 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13251 int result;
13252 PyObject * obj0 = 0 ;
13253 char *kwnames[] = {
13254 (char *) "self", NULL
13255 };
13256
13257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
13258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13260 {
13261 PyThreadState* __tstate = wxPyBeginAllowThreads();
13262 result = (int)((wxScrollEvent const *)arg1)->GetPosition();
13263
13264 wxPyEndAllowThreads(__tstate);
13265 if (PyErr_Occurred()) SWIG_fail;
13266 }
15afbcd0 13267 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13268 return resultobj;
13269 fail:
13270 return NULL;
13271}
13272
13273
13274static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13275 PyObject *resultobj;
13276 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13277 int arg2 ;
13278 PyObject * obj0 = 0 ;
994141e6 13279 PyObject * obj1 = 0 ;
d14a1e28
RD
13280 char *kwnames[] = {
13281 (char *) "self",(char *) "orient", NULL
13282 };
13283
994141e6 13284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13287 arg2 = (int) SWIG_AsInt(obj1);
13288 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13289 {
13290 PyThreadState* __tstate = wxPyBeginAllowThreads();
13291 (arg1)->SetOrientation(arg2);
13292
13293 wxPyEndAllowThreads(__tstate);
13294 if (PyErr_Occurred()) SWIG_fail;
13295 }
13296 Py_INCREF(Py_None); resultobj = Py_None;
13297 return resultobj;
13298 fail:
13299 return NULL;
13300}
13301
13302
13303static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13304 PyObject *resultobj;
13305 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13306 int arg2 ;
13307 PyObject * obj0 = 0 ;
994141e6 13308 PyObject * obj1 = 0 ;
d14a1e28
RD
13309 char *kwnames[] = {
13310 (char *) "self",(char *) "pos", NULL
13311 };
13312
994141e6 13313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13316 arg2 = (int) SWIG_AsInt(obj1);
13317 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13318 {
13319 PyThreadState* __tstate = wxPyBeginAllowThreads();
13320 (arg1)->SetPosition(arg2);
13321
13322 wxPyEndAllowThreads(__tstate);
13323 if (PyErr_Occurred()) SWIG_fail;
13324 }
13325 Py_INCREF(Py_None); resultobj = Py_None;
13326 return resultobj;
13327 fail:
13328 return NULL;
13329}
13330
13331
13332static PyObject * ScrollEvent_swigregister(PyObject *self, PyObject *args) {
13333 PyObject *obj;
13334 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13335 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj);
13336 Py_INCREF(obj);
13337 return Py_BuildValue((char *)"");
13338}
13339static PyObject *_wrap_new_ScrollWinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13340 PyObject *resultobj;
13341 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13342 int arg2 = (int) 0 ;
13343 int arg3 = (int) 0 ;
13344 wxScrollWinEvent *result;
994141e6
RD
13345 PyObject * obj0 = 0 ;
13346 PyObject * obj1 = 0 ;
13347 PyObject * obj2 = 0 ;
d14a1e28
RD
13348 char *kwnames[] = {
13349 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13350 };
13351
994141e6
RD
13352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ScrollWinEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
13353 if (obj0) {
15afbcd0
RD
13354 arg1 = (wxEventType) SWIG_AsInt(obj0);
13355 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13356 }
13357 if (obj1) {
15afbcd0
RD
13358 arg2 = (int) SWIG_AsInt(obj1);
13359 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13360 }
13361 if (obj2) {
15afbcd0
RD
13362 arg3 = (int) SWIG_AsInt(obj2);
13363 if (PyErr_Occurred()) SWIG_fail;
994141e6 13364 }
d14a1e28
RD
13365 {
13366 PyThreadState* __tstate = wxPyBeginAllowThreads();
13367 result = (wxScrollWinEvent *)new wxScrollWinEvent(arg1,arg2,arg3);
13368
13369 wxPyEndAllowThreads(__tstate);
13370 if (PyErr_Occurred()) SWIG_fail;
13371 }
15afbcd0 13372 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollWinEvent, 1);
d14a1e28
RD
13373 return resultobj;
13374 fail:
13375 return NULL;
13376}
13377
13378
13379static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13380 PyObject *resultobj;
13381 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13382 int result;
13383 PyObject * obj0 = 0 ;
13384 char *kwnames[] = {
13385 (char *) "self", NULL
13386 };
13387
13388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
13389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13391 {
13392 PyThreadState* __tstate = wxPyBeginAllowThreads();
13393 result = (int)((wxScrollWinEvent const *)arg1)->GetOrientation();
13394
13395 wxPyEndAllowThreads(__tstate);
13396 if (PyErr_Occurred()) SWIG_fail;
13397 }
15afbcd0 13398 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13399 return resultobj;
13400 fail:
13401 return NULL;
13402}
13403
13404
13405static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13406 PyObject *resultobj;
13407 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13408 int result;
13409 PyObject * obj0 = 0 ;
13410 char *kwnames[] = {
13411 (char *) "self", NULL
13412 };
13413
13414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
13415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13417 {
13418 PyThreadState* __tstate = wxPyBeginAllowThreads();
13419 result = (int)((wxScrollWinEvent const *)arg1)->GetPosition();
13420
13421 wxPyEndAllowThreads(__tstate);
13422 if (PyErr_Occurred()) SWIG_fail;
13423 }
15afbcd0 13424 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13425 return resultobj;
13426 fail:
13427 return NULL;
13428}
13429
13430
13431static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13432 PyObject *resultobj;
13433 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13434 int arg2 ;
13435 PyObject * obj0 = 0 ;
994141e6 13436 PyObject * obj1 = 0 ;
d14a1e28
RD
13437 char *kwnames[] = {
13438 (char *) "self",(char *) "orient", NULL
13439 };
13440
994141e6 13441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13444 arg2 = (int) SWIG_AsInt(obj1);
13445 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13446 {
13447 PyThreadState* __tstate = wxPyBeginAllowThreads();
13448 (arg1)->SetOrientation(arg2);
13449
13450 wxPyEndAllowThreads(__tstate);
13451 if (PyErr_Occurred()) SWIG_fail;
13452 }
13453 Py_INCREF(Py_None); resultobj = Py_None;
13454 return resultobj;
13455 fail:
13456 return NULL;
13457}
13458
13459
13460static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13461 PyObject *resultobj;
13462 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13463 int arg2 ;
13464 PyObject * obj0 = 0 ;
994141e6 13465 PyObject * obj1 = 0 ;
d14a1e28
RD
13466 char *kwnames[] = {
13467 (char *) "self",(char *) "pos", NULL
13468 };
13469
994141e6 13470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13473 arg2 = (int) SWIG_AsInt(obj1);
13474 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13475 {
13476 PyThreadState* __tstate = wxPyBeginAllowThreads();
13477 (arg1)->SetPosition(arg2);
13478
13479 wxPyEndAllowThreads(__tstate);
13480 if (PyErr_Occurred()) SWIG_fail;
13481 }
13482 Py_INCREF(Py_None); resultobj = Py_None;
13483 return resultobj;
13484 fail:
13485 return NULL;
13486}
13487
13488
13489static PyObject * ScrollWinEvent_swigregister(PyObject *self, PyObject *args) {
13490 PyObject *obj;
13491 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13492 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj);
13493 Py_INCREF(obj);
13494 return Py_BuildValue((char *)"");
13495}
13496static PyObject *_wrap_new_MouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13497 PyObject *resultobj;
13498 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13499 wxMouseEvent *result;
994141e6 13500 PyObject * obj0 = 0 ;
d14a1e28
RD
13501 char *kwnames[] = {
13502 (char *) "mouseType", NULL
13503 };
13504
994141e6
RD
13505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MouseEvent",kwnames,&obj0)) goto fail;
13506 if (obj0) {
15afbcd0
RD
13507 arg1 = (wxEventType) SWIG_AsInt(obj0);
13508 if (PyErr_Occurred()) SWIG_fail;
994141e6 13509 }
d14a1e28
RD
13510 {
13511 PyThreadState* __tstate = wxPyBeginAllowThreads();
13512 result = (wxMouseEvent *)new wxMouseEvent(arg1);
13513
13514 wxPyEndAllowThreads(__tstate);
13515 if (PyErr_Occurred()) SWIG_fail;
13516 }
13517 {
13518 resultobj = wxPyMake_wxObject(result);
13519 }
13520 return resultobj;
13521 fail:
13522 return NULL;
13523}
13524
13525
13526static PyObject *_wrap_MouseEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13527 PyObject *resultobj;
13528 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13529 bool result;
13530 PyObject * obj0 = 0 ;
13531 char *kwnames[] = {
13532 (char *) "self", NULL
13533 };
13534
13535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsButton",kwnames,&obj0)) goto fail;
15afbcd0
RD
13536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13538 {
13539 PyThreadState* __tstate = wxPyBeginAllowThreads();
13540 result = (bool)((wxMouseEvent const *)arg1)->IsButton();
13541
13542 wxPyEndAllowThreads(__tstate);
13543 if (PyErr_Occurred()) SWIG_fail;
13544 }
4f89f6a3
RD
13545 {
13546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13547 }
d14a1e28
RD
13548 return resultobj;
13549 fail:
13550 return NULL;
13551}
13552
13553
13554static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13555 PyObject *resultobj;
13556 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13557 int arg2 = (int) wxMOUSE_BTN_ANY ;
13558 bool result;
13559 PyObject * obj0 = 0 ;
994141e6 13560 PyObject * obj1 = 0 ;
d14a1e28
RD
13561 char *kwnames[] = {
13562 (char *) "self",(char *) "but", NULL
13563 };
13564
994141e6 13565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 13568 if (obj1) {
15afbcd0
RD
13569 arg2 = (int) SWIG_AsInt(obj1);
13570 if (PyErr_Occurred()) SWIG_fail;
994141e6 13571 }
d14a1e28
RD
13572 {
13573 PyThreadState* __tstate = wxPyBeginAllowThreads();
13574 result = (bool)((wxMouseEvent const *)arg1)->ButtonDown(arg2);
13575
13576 wxPyEndAllowThreads(__tstate);
13577 if (PyErr_Occurred()) SWIG_fail;
13578 }
4f89f6a3
RD
13579 {
13580 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13581 }
d14a1e28
RD
13582 return resultobj;
13583 fail:
13584 return NULL;
13585}
13586
13587
13588static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13589 PyObject *resultobj;
13590 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13591 int arg2 = (int) wxMOUSE_BTN_ANY ;
13592 bool result;
13593 PyObject * obj0 = 0 ;
994141e6 13594 PyObject * obj1 = 0 ;
d14a1e28
RD
13595 char *kwnames[] = {
13596 (char *) "self",(char *) "but", NULL
13597 };
13598
994141e6 13599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDClick",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 13602 if (obj1) {
15afbcd0
RD
13603 arg2 = (int) SWIG_AsInt(obj1);
13604 if (PyErr_Occurred()) SWIG_fail;
994141e6 13605 }
d14a1e28
RD
13606 {
13607 PyThreadState* __tstate = wxPyBeginAllowThreads();
13608 result = (bool)((wxMouseEvent const *)arg1)->ButtonDClick(arg2);
13609
13610 wxPyEndAllowThreads(__tstate);
13611 if (PyErr_Occurred()) SWIG_fail;
13612 }
4f89f6a3
RD
13613 {
13614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13615 }
d14a1e28
RD
13616 return resultobj;
13617 fail:
13618 return NULL;
13619}
13620
13621
13622static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
13623 PyObject *resultobj;
13624 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13625 int arg2 = (int) wxMOUSE_BTN_ANY ;
13626 bool result;
13627 PyObject * obj0 = 0 ;
994141e6 13628 PyObject * obj1 = 0 ;
d14a1e28
RD
13629 char *kwnames[] = {
13630 (char *) "self",(char *) "but", NULL
13631 };
13632
994141e6 13633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 13636 if (obj1) {
15afbcd0
RD
13637 arg2 = (int) SWIG_AsInt(obj1);
13638 if (PyErr_Occurred()) SWIG_fail;
994141e6 13639 }
d14a1e28
RD
13640 {
13641 PyThreadState* __tstate = wxPyBeginAllowThreads();
13642 result = (bool)((wxMouseEvent const *)arg1)->ButtonUp(arg2);
13643
13644 wxPyEndAllowThreads(__tstate);
13645 if (PyErr_Occurred()) SWIG_fail;
13646 }
4f89f6a3
RD
13647 {
13648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13649 }
d14a1e28
RD
13650 return resultobj;
13651 fail:
13652 return NULL;
13653}
13654
13655
13656static PyObject *_wrap_MouseEvent_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
13657 PyObject *resultobj;
13658 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13659 int arg2 ;
13660 bool result;
13661 PyObject * obj0 = 0 ;
994141e6 13662 PyObject * obj1 = 0 ;
d14a1e28
RD
13663 char *kwnames[] = {
13664 (char *) "self",(char *) "but", NULL
13665 };
13666
994141e6 13667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_Button",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13670 arg2 = (int) SWIG_AsInt(obj1);
13671 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13672 {
13673 PyThreadState* __tstate = wxPyBeginAllowThreads();
13674 result = (bool)((wxMouseEvent const *)arg1)->Button(arg2);
13675
13676 wxPyEndAllowThreads(__tstate);
13677 if (PyErr_Occurred()) SWIG_fail;
13678 }
4f89f6a3
RD
13679 {
13680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13681 }
d14a1e28
RD
13682 return resultobj;
13683 fail:
13684 return NULL;
13685}
13686
13687
13688static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13689 PyObject *resultobj;
13690 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13691 int arg2 ;
13692 bool result;
13693 PyObject * obj0 = 0 ;
994141e6 13694 PyObject * obj1 = 0 ;
d14a1e28
RD
13695 char *kwnames[] = {
13696 (char *) "self",(char *) "but", NULL
13697 };
13698
994141e6 13699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13702 arg2 = (int) SWIG_AsInt(obj1);
13703 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13704 {
13705 PyThreadState* __tstate = wxPyBeginAllowThreads();
13706 result = (bool)((wxMouseEvent const *)arg1)->ButtonIsDown(arg2);
13707
13708 wxPyEndAllowThreads(__tstate);
13709 if (PyErr_Occurred()) SWIG_fail;
13710 }
4f89f6a3
RD
13711 {
13712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13713 }
d14a1e28
RD
13714 return resultobj;
13715 fail:
13716 return NULL;
13717}
13718
13719
13720static PyObject *_wrap_MouseEvent_GetButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13721 PyObject *resultobj;
13722 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13723 int result;
13724 PyObject * obj0 = 0 ;
13725 char *kwnames[] = {
13726 (char *) "self", NULL
13727 };
13728
13729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail;
15afbcd0
RD
13730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13732 {
13733 PyThreadState* __tstate = wxPyBeginAllowThreads();
13734 result = (int)((wxMouseEvent const *)arg1)->GetButton();
13735
13736 wxPyEndAllowThreads(__tstate);
13737 if (PyErr_Occurred()) SWIG_fail;
13738 }
15afbcd0 13739 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13740 return resultobj;
13741 fail:
13742 return NULL;
13743}
13744
13745
13746static PyObject *_wrap_MouseEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13747 PyObject *resultobj;
13748 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13749 bool result;
13750 PyObject * obj0 = 0 ;
13751 char *kwnames[] = {
13752 (char *) "self", NULL
13753 };
13754
13755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13758 {
13759 PyThreadState* __tstate = wxPyBeginAllowThreads();
13760 result = (bool)((wxMouseEvent const *)arg1)->ControlDown();
13761
13762 wxPyEndAllowThreads(__tstate);
13763 if (PyErr_Occurred()) SWIG_fail;
13764 }
4f89f6a3
RD
13765 {
13766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13767 }
d14a1e28
RD
13768 return resultobj;
13769 fail:
13770 return NULL;
13771}
13772
13773
13774static PyObject *_wrap_MouseEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13775 PyObject *resultobj;
13776 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13777 bool result;
13778 PyObject * obj0 = 0 ;
13779 char *kwnames[] = {
13780 (char *) "self", NULL
13781 };
13782
13783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13786 {
13787 PyThreadState* __tstate = wxPyBeginAllowThreads();
13788 result = (bool)((wxMouseEvent const *)arg1)->MetaDown();
13789
13790 wxPyEndAllowThreads(__tstate);
13791 if (PyErr_Occurred()) SWIG_fail;
13792 }
4f89f6a3
RD
13793 {
13794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13795 }
d14a1e28
RD
13796 return resultobj;
13797 fail:
13798 return NULL;
13799}
13800
13801
13802static PyObject *_wrap_MouseEvent_AltDown(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_AltDown",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)->AltDown();
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_ShiftDown(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_ShiftDown",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)->ShiftDown();
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_LeftDown(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_LeftDown",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)->LeftDown();
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_MiddleDown(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_MiddleDown",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)->MiddleDown();
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
13914static PyObject *_wrap_MouseEvent_RightDown(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_RightDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13926 {
13927 PyThreadState* __tstate = wxPyBeginAllowThreads();
13928 result = (bool)((wxMouseEvent const *)arg1)->RightDown();
13929
13930 wxPyEndAllowThreads(__tstate);
13931 if (PyErr_Occurred()) SWIG_fail;
13932 }
4f89f6a3
RD
13933 {
13934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13935 }
d14a1e28
RD
13936 return resultobj;
13937 fail:
13938 return NULL;
13939}
13940
13941
13942static PyObject *_wrap_MouseEvent_LeftUp(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_LeftUp",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)->LeftUp();
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_MiddleUp(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_MiddleUp",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)->MiddleUp();
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_RightUp(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_RightUp",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)->RightUp();
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_LeftDClick(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_LeftDClick",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)->LeftDClick();
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_MiddleDClick(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_MiddleDClick",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)->MiddleDClick();
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_RightDClick(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_RightDClick",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)->RightDClick();
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_LeftIsDown(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_LeftIsDown",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)(arg1)->LeftIsDown();
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_MiddleIsDown(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_MiddleIsDown",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)(arg1)->MiddleIsDown();
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_RightIsDown(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_RightIsDown",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)(arg1)->RightIsDown();
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_Dragging(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_Dragging",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)((wxMouseEvent const *)arg1)->Dragging();
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_Moving(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_Moving",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)((wxMouseEvent const *)arg1)->Moving();
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_Entering(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_Entering",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)((wxMouseEvent const *)arg1)->Entering();
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_Leaving(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_Leaving",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)->Leaving();
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_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14307 PyObject *resultobj;
14308 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14309 wxPoint result;
14310 PyObject * obj0 = 0 ;
14311 char *kwnames[] = {
14312 (char *) "self", NULL
14313 };
14314
14315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",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 = (arg1)->GetPosition();
14321
14322 wxPyEndAllowThreads(__tstate);
14323 if (PyErr_Occurred()) SWIG_fail;
14324 }
14325 {
14326 wxPoint * resultptr;
14327 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14328 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14329 }
14330 return resultobj;
14331 fail:
14332 return NULL;
14333}
14334
14335
14336static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
14337 PyObject *resultobj;
14338 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14339 long *arg2 = (long *) 0 ;
14340 long *arg3 = (long *) 0 ;
14341 long temp2 ;
14342 long temp3 ;
14343 PyObject * obj0 = 0 ;
14344 char *kwnames[] = {
14345 (char *) "self", NULL
14346 };
14347
14348 arg2 = &temp2;
14349 arg3 = &temp3;
14350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
14351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14353 {
14354 PyThreadState* __tstate = wxPyBeginAllowThreads();
14355 (arg1)->GetPosition(arg2,arg3);
14356
14357 wxPyEndAllowThreads(__tstate);
14358 if (PyErr_Occurred()) SWIG_fail;
14359 }
14360 Py_INCREF(Py_None); resultobj = Py_None;
14361 {
14362 PyObject *o = PyInt_FromLong((long) (*arg2));
14363 resultobj = t_output_helper(resultobj,o);
14364 }
14365 {
14366 PyObject *o = PyInt_FromLong((long) (*arg3));
14367 resultobj = t_output_helper(resultobj,o);
14368 }
14369 return resultobj;
14370 fail:
14371 return NULL;
14372}
14373
14374
14375static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14376 PyObject *resultobj;
14377 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14378 wxDC *arg2 = 0 ;
14379 wxPoint result;
14380 PyObject * obj0 = 0 ;
14381 PyObject * obj1 = 0 ;
14382 char *kwnames[] = {
14383 (char *) "self",(char *) "dc", NULL
14384 };
14385
14386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14389 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14390 SWIG_POINTER_EXCEPTION | 0)) == -1)
14391 SWIG_fail;
d14a1e28 14392 if (arg2 == NULL) {
15afbcd0
RD
14393 PyErr_SetString(PyExc_TypeError,"null reference");
14394 SWIG_fail;
d14a1e28
RD
14395 }
14396 {
14397 PyThreadState* __tstate = wxPyBeginAllowThreads();
14398 result = ((wxMouseEvent const *)arg1)->GetLogicalPosition((wxDC const &)*arg2);
14399
14400 wxPyEndAllowThreads(__tstate);
14401 if (PyErr_Occurred()) SWIG_fail;
14402 }
14403 {
14404 wxPoint * resultptr;
14405 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14406 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14407 }
14408 return resultobj;
14409 fail:
14410 return NULL;
14411}
14412
14413
14414static PyObject *_wrap_MouseEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
14415 PyObject *resultobj;
14416 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14417 int result;
d14a1e28
RD
14418 PyObject * obj0 = 0 ;
14419 char *kwnames[] = {
14420 (char *) "self", NULL
14421 };
14422
14423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
14424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14426 {
14427 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14428 result = (int)((wxMouseEvent const *)arg1)->GetX();
d14a1e28
RD
14429
14430 wxPyEndAllowThreads(__tstate);
14431 if (PyErr_Occurred()) SWIG_fail;
14432 }
15afbcd0 14433 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14434 return resultobj;
14435 fail:
14436 return NULL;
14437}
14438
14439
14440static PyObject *_wrap_MouseEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
14441 PyObject *resultobj;
14442 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14443 int result;
d14a1e28
RD
14444 PyObject * obj0 = 0 ;
14445 char *kwnames[] = {
14446 (char *) "self", NULL
14447 };
14448
14449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
14450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14452 {
14453 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14454 result = (int)((wxMouseEvent const *)arg1)->GetY();
d14a1e28
RD
14455
14456 wxPyEndAllowThreads(__tstate);
14457 if (PyErr_Occurred()) SWIG_fail;
14458 }
15afbcd0 14459 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14460 return resultobj;
14461 fail:
14462 return NULL;
14463}
14464
14465
14466static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
14467 PyObject *resultobj;
14468 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14469 int result;
14470 PyObject * obj0 = 0 ;
14471 char *kwnames[] = {
14472 (char *) "self", NULL
14473 };
14474
14475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail;
15afbcd0
RD
14476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14478 {
14479 PyThreadState* __tstate = wxPyBeginAllowThreads();
14480 result = (int)((wxMouseEvent const *)arg1)->GetWheelRotation();
14481
14482 wxPyEndAllowThreads(__tstate);
14483 if (PyErr_Occurred()) SWIG_fail;
14484 }
15afbcd0 14485 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14486 return resultobj;
14487 fail:
14488 return NULL;
14489}
14490
14491
14492static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *self, PyObject *args, PyObject *kwargs) {
14493 PyObject *resultobj;
14494 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14495 int result;
14496 PyObject * obj0 = 0 ;
14497 char *kwnames[] = {
14498 (char *) "self", NULL
14499 };
14500
14501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail;
15afbcd0
RD
14502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14504 {
14505 PyThreadState* __tstate = wxPyBeginAllowThreads();
14506 result = (int)((wxMouseEvent const *)arg1)->GetWheelDelta();
14507
14508 wxPyEndAllowThreads(__tstate);
14509 if (PyErr_Occurred()) SWIG_fail;
14510 }
15afbcd0 14511 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14512 return resultobj;
14513 fail:
14514 return NULL;
14515}
14516
14517
14518static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *self, PyObject *args, PyObject *kwargs) {
14519 PyObject *resultobj;
14520 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14521 int result;
14522 PyObject * obj0 = 0 ;
14523 char *kwnames[] = {
14524 (char *) "self", NULL
14525 };
14526
14527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail;
15afbcd0
RD
14528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14530 {
14531 PyThreadState* __tstate = wxPyBeginAllowThreads();
14532 result = (int)((wxMouseEvent const *)arg1)->GetLinesPerAction();
14533
14534 wxPyEndAllowThreads(__tstate);
14535 if (PyErr_Occurred()) SWIG_fail;
14536 }
15afbcd0 14537 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14538 return resultobj;
14539 fail:
14540 return NULL;
14541}
14542
14543
14544static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
14545 PyObject *resultobj;
14546 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14547 bool result;
14548 PyObject * obj0 = 0 ;
14549 char *kwnames[] = {
14550 (char *) "self", NULL
14551 };
14552
14553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsPageScroll",kwnames,&obj0)) goto fail;
15afbcd0
RD
14554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14556 {
14557 PyThreadState* __tstate = wxPyBeginAllowThreads();
14558 result = (bool)((wxMouseEvent const *)arg1)->IsPageScroll();
14559
14560 wxPyEndAllowThreads(__tstate);
14561 if (PyErr_Occurred()) SWIG_fail;
14562 }
4f89f6a3
RD
14563 {
14564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14565 }
d14a1e28
RD
14566 return resultobj;
14567 fail:
14568 return NULL;
14569}
14570
14571
14572static PyObject *_wrap_MouseEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14573 PyObject *resultobj;
14574 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14575 int arg2 ;
d14a1e28 14576 PyObject * obj0 = 0 ;
994141e6 14577 PyObject * obj1 = 0 ;
d14a1e28
RD
14578 char *kwnames[] = {
14579 (char *) "self",(char *) "m_x", NULL
14580 };
14581
994141e6 14582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14585 arg2 = (int) SWIG_AsInt(obj1);
14586 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14587 if (arg1) (arg1)->m_x = arg2;
14588
14589 Py_INCREF(Py_None); resultobj = Py_None;
14590 return resultobj;
14591 fail:
14592 return NULL;
14593}
14594
14595
14596static PyObject *_wrap_MouseEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14597 PyObject *resultobj;
14598 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14599 int result;
d14a1e28
RD
14600 PyObject * obj0 = 0 ;
14601 char *kwnames[] = {
14602 (char *) "self", NULL
14603 };
14604
14605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 14608 result = (int) ((arg1)->m_x);
d14a1e28 14609
15afbcd0 14610 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14611 return resultobj;
14612 fail:
14613 return NULL;
14614}
14615
14616
14617static PyObject *_wrap_MouseEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14618 PyObject *resultobj;
14619 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14620 int arg2 ;
d14a1e28 14621 PyObject * obj0 = 0 ;
994141e6 14622 PyObject * obj1 = 0 ;
d14a1e28
RD
14623 char *kwnames[] = {
14624 (char *) "self",(char *) "m_y", NULL
14625 };
14626
994141e6 14627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14630 arg2 = (int) SWIG_AsInt(obj1);
14631 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14632 if (arg1) (arg1)->m_y = arg2;
14633
14634 Py_INCREF(Py_None); resultobj = Py_None;
14635 return resultobj;
14636 fail:
14637 return NULL;
14638}
14639
14640
14641static PyObject *_wrap_MouseEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14642 PyObject *resultobj;
14643 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14644 int result;
d14a1e28
RD
14645 PyObject * obj0 = 0 ;
14646 char *kwnames[] = {
14647 (char *) "self", NULL
14648 };
14649
14650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 14653 result = (int) ((arg1)->m_y);
d14a1e28 14654
15afbcd0 14655 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14656 return resultobj;
14657 fail:
14658 return NULL;
14659}
14660
14661
14662static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14663 PyObject *resultobj;
14664 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14665 bool arg2 ;
14666 PyObject * obj0 = 0 ;
14667 PyObject * obj1 = 0 ;
14668 char *kwnames[] = {
14669 (char *) "self",(char *) "m_leftDown", NULL
14670 };
14671
14672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14675 arg2 = (bool) SWIG_AsBool(obj1);
14676 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14677 if (arg1) (arg1)->m_leftDown = arg2;
14678
14679 Py_INCREF(Py_None); resultobj = Py_None;
14680 return resultobj;
14681 fail:
14682 return NULL;
14683}
14684
14685
14686static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14687 PyObject *resultobj;
14688 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14689 bool result;
14690 PyObject * obj0 = 0 ;
14691 char *kwnames[] = {
14692 (char *) "self", NULL
14693 };
14694
14695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14698 result = (bool) ((arg1)->m_leftDown);
14699
4f89f6a3
RD
14700 {
14701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14702 }
d14a1e28
RD
14703 return resultobj;
14704 fail:
14705 return NULL;
14706}
14707
14708
14709static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14710 PyObject *resultobj;
14711 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14712 bool arg2 ;
14713 PyObject * obj0 = 0 ;
14714 PyObject * obj1 = 0 ;
14715 char *kwnames[] = {
14716 (char *) "self",(char *) "m_middleDown", NULL
14717 };
14718
14719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14722 arg2 = (bool) SWIG_AsBool(obj1);
14723 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14724 if (arg1) (arg1)->m_middleDown = arg2;
14725
14726 Py_INCREF(Py_None); resultobj = Py_None;
14727 return resultobj;
14728 fail:
14729 return NULL;
14730}
14731
14732
14733static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14734 PyObject *resultobj;
14735 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14736 bool result;
14737 PyObject * obj0 = 0 ;
14738 char *kwnames[] = {
14739 (char *) "self", NULL
14740 };
14741
14742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14745 result = (bool) ((arg1)->m_middleDown);
14746
4f89f6a3
RD
14747 {
14748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14749 }
d14a1e28
RD
14750 return resultobj;
14751 fail:
14752 return NULL;
14753}
14754
14755
14756static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14757 PyObject *resultobj;
14758 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14759 bool arg2 ;
14760 PyObject * obj0 = 0 ;
14761 PyObject * obj1 = 0 ;
14762 char *kwnames[] = {
14763 (char *) "self",(char *) "m_rightDown", NULL
14764 };
14765
14766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14769 arg2 = (bool) SWIG_AsBool(obj1);
14770 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14771 if (arg1) (arg1)->m_rightDown = arg2;
14772
14773 Py_INCREF(Py_None); resultobj = Py_None;
14774 return resultobj;
14775 fail:
14776 return NULL;
14777}
14778
14779
14780static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14781 PyObject *resultobj;
14782 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14783 bool result;
14784 PyObject * obj0 = 0 ;
14785 char *kwnames[] = {
14786 (char *) "self", NULL
14787 };
14788
14789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14792 result = (bool) ((arg1)->m_rightDown);
14793
4f89f6a3
RD
14794 {
14795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14796 }
d14a1e28
RD
14797 return resultobj;
14798 fail:
14799 return NULL;
14800}
14801
14802
14803static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14804 PyObject *resultobj;
14805 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14806 bool arg2 ;
14807 PyObject * obj0 = 0 ;
14808 PyObject * obj1 = 0 ;
14809 char *kwnames[] = {
14810 (char *) "self",(char *) "m_controlDown", NULL
14811 };
14812
14813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14816 arg2 = (bool) SWIG_AsBool(obj1);
14817 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14818 if (arg1) (arg1)->m_controlDown = arg2;
14819
14820 Py_INCREF(Py_None); resultobj = Py_None;
14821 return resultobj;
14822 fail:
14823 return NULL;
14824}
14825
14826
14827static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14828 PyObject *resultobj;
14829 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14830 bool result;
14831 PyObject * obj0 = 0 ;
14832 char *kwnames[] = {
14833 (char *) "self", NULL
14834 };
14835
14836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14839 result = (bool) ((arg1)->m_controlDown);
14840
4f89f6a3
RD
14841 {
14842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14843 }
d14a1e28
RD
14844 return resultobj;
14845 fail:
14846 return NULL;
14847}
14848
14849
14850static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14851 PyObject *resultobj;
14852 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14853 bool arg2 ;
14854 PyObject * obj0 = 0 ;
14855 PyObject * obj1 = 0 ;
14856 char *kwnames[] = {
14857 (char *) "self",(char *) "m_shiftDown", NULL
14858 };
14859
14860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14863 arg2 = (bool) SWIG_AsBool(obj1);
14864 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14865 if (arg1) (arg1)->m_shiftDown = arg2;
14866
14867 Py_INCREF(Py_None); resultobj = Py_None;
14868 return resultobj;
14869 fail:
14870 return NULL;
14871}
14872
14873
14874static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14875 PyObject *resultobj;
14876 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14877 bool result;
14878 PyObject * obj0 = 0 ;
14879 char *kwnames[] = {
14880 (char *) "self", NULL
14881 };
14882
14883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14886 result = (bool) ((arg1)->m_shiftDown);
14887
4f89f6a3
RD
14888 {
14889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14890 }
d14a1e28
RD
14891 return resultobj;
14892 fail:
14893 return NULL;
14894}
14895
14896
14897static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14898 PyObject *resultobj;
14899 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14900 bool arg2 ;
14901 PyObject * obj0 = 0 ;
14902 PyObject * obj1 = 0 ;
14903 char *kwnames[] = {
14904 (char *) "self",(char *) "m_altDown", NULL
14905 };
14906
14907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14910 arg2 = (bool) SWIG_AsBool(obj1);
14911 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14912 if (arg1) (arg1)->m_altDown = arg2;
14913
14914 Py_INCREF(Py_None); resultobj = Py_None;
14915 return resultobj;
14916 fail:
14917 return NULL;
14918}
14919
14920
14921static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14922 PyObject *resultobj;
14923 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14924 bool result;
14925 PyObject * obj0 = 0 ;
14926 char *kwnames[] = {
14927 (char *) "self", NULL
14928 };
14929
14930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14933 result = (bool) ((arg1)->m_altDown);
14934
4f89f6a3
RD
14935 {
14936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14937 }
d14a1e28
RD
14938 return resultobj;
14939 fail:
14940 return NULL;
14941}
14942
14943
14944static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14945 PyObject *resultobj;
14946 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14947 bool arg2 ;
14948 PyObject * obj0 = 0 ;
14949 PyObject * obj1 = 0 ;
14950 char *kwnames[] = {
14951 (char *) "self",(char *) "m_metaDown", NULL
14952 };
14953
14954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14957 arg2 = (bool) SWIG_AsBool(obj1);
14958 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14959 if (arg1) (arg1)->m_metaDown = arg2;
14960
14961 Py_INCREF(Py_None); resultobj = Py_None;
14962 return resultobj;
14963 fail:
14964 return NULL;
14965}
14966
14967
14968static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14969 PyObject *resultobj;
14970 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14971 bool result;
14972 PyObject * obj0 = 0 ;
14973 char *kwnames[] = {
14974 (char *) "self", NULL
14975 };
14976
14977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14980 result = (bool) ((arg1)->m_metaDown);
14981
4f89f6a3
RD
14982 {
14983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14984 }
d14a1e28
RD
14985 return resultobj;
14986 fail:
14987 return NULL;
14988}
14989
14990
14991static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14992 PyObject *resultobj;
14993 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14994 int arg2 ;
14995 PyObject * obj0 = 0 ;
994141e6 14996 PyObject * obj1 = 0 ;
d14a1e28
RD
14997 char *kwnames[] = {
14998 (char *) "self",(char *) "m_wheelRotation", NULL
14999 };
15000
994141e6 15001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15004 arg2 = (int) SWIG_AsInt(obj1);
15005 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15006 if (arg1) (arg1)->m_wheelRotation = arg2;
15007
15008 Py_INCREF(Py_None); resultobj = Py_None;
15009 return resultobj;
15010 fail:
15011 return NULL;
15012}
15013
15014
15015static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15016 PyObject *resultobj;
15017 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15018 int result;
15019 PyObject * obj0 = 0 ;
15020 char *kwnames[] = {
15021 (char *) "self", NULL
15022 };
15023
15024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15027 result = (int) ((arg1)->m_wheelRotation);
15028
15afbcd0 15029 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15030 return resultobj;
15031 fail:
15032 return NULL;
15033}
15034
15035
15036static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15037 PyObject *resultobj;
15038 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15039 int arg2 ;
15040 PyObject * obj0 = 0 ;
994141e6 15041 PyObject * obj1 = 0 ;
d14a1e28
RD
15042 char *kwnames[] = {
15043 (char *) "self",(char *) "m_wheelDelta", NULL
15044 };
15045
994141e6 15046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15049 arg2 = (int) SWIG_AsInt(obj1);
15050 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15051 if (arg1) (arg1)->m_wheelDelta = arg2;
15052
15053 Py_INCREF(Py_None); resultobj = Py_None;
15054 return resultobj;
15055 fail:
15056 return NULL;
15057}
15058
15059
15060static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15061 PyObject *resultobj;
15062 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15063 int result;
15064 PyObject * obj0 = 0 ;
15065 char *kwnames[] = {
15066 (char *) "self", NULL
15067 };
15068
15069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15072 result = (int) ((arg1)->m_wheelDelta);
15073
15afbcd0 15074 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15075 return resultobj;
15076 fail:
15077 return NULL;
15078}
15079
15080
15081static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15082 PyObject *resultobj;
15083 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15084 int arg2 ;
15085 PyObject * obj0 = 0 ;
994141e6 15086 PyObject * obj1 = 0 ;
d14a1e28
RD
15087 char *kwnames[] = {
15088 (char *) "self",(char *) "m_linesPerAction", NULL
15089 };
15090
994141e6 15091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15094 arg2 = (int) SWIG_AsInt(obj1);
15095 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15096 if (arg1) (arg1)->m_linesPerAction = arg2;
15097
15098 Py_INCREF(Py_None); resultobj = Py_None;
15099 return resultobj;
15100 fail:
15101 return NULL;
15102}
15103
15104
15105static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15106 PyObject *resultobj;
15107 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15108 int result;
15109 PyObject * obj0 = 0 ;
15110 char *kwnames[] = {
15111 (char *) "self", NULL
15112 };
15113
15114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15117 result = (int) ((arg1)->m_linesPerAction);
15118
15afbcd0 15119 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15120 return resultobj;
15121 fail:
15122 return NULL;
15123}
15124
15125
15126static PyObject * MouseEvent_swigregister(PyObject *self, PyObject *args) {
15127 PyObject *obj;
15128 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15129 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj);
15130 Py_INCREF(obj);
15131 return Py_BuildValue((char *)"");
15132}
15133static PyObject *_wrap_new_SetCursorEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15134 PyObject *resultobj;
e811c8ce
RD
15135 int arg1 = (int) 0 ;
15136 int arg2 = (int) 0 ;
d14a1e28 15137 wxSetCursorEvent *result;
994141e6
RD
15138 PyObject * obj0 = 0 ;
15139 PyObject * obj1 = 0 ;
d14a1e28
RD
15140 char *kwnames[] = {
15141 (char *) "x",(char *) "y", NULL
15142 };
15143
994141e6
RD
15144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SetCursorEvent",kwnames,&obj0,&obj1)) goto fail;
15145 if (obj0) {
15afbcd0
RD
15146 arg1 = (int) SWIG_AsInt(obj0);
15147 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15148 }
15149 if (obj1) {
15afbcd0
RD
15150 arg2 = (int) SWIG_AsInt(obj1);
15151 if (PyErr_Occurred()) SWIG_fail;
994141e6 15152 }
d14a1e28
RD
15153 {
15154 PyThreadState* __tstate = wxPyBeginAllowThreads();
15155 result = (wxSetCursorEvent *)new wxSetCursorEvent(arg1,arg2);
15156
15157 wxPyEndAllowThreads(__tstate);
15158 if (PyErr_Occurred()) SWIG_fail;
15159 }
15afbcd0 15160 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSetCursorEvent, 1);
d14a1e28
RD
15161 return resultobj;
15162 fail:
15163 return NULL;
15164}
15165
15166
15167static PyObject *_wrap_SetCursorEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
15168 PyObject *resultobj;
15169 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
e811c8ce 15170 int result;
d14a1e28
RD
15171 PyObject * obj0 = 0 ;
15172 char *kwnames[] = {
15173 (char *) "self", NULL
15174 };
15175
15176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
15177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15179 {
15180 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15181 result = (int)((wxSetCursorEvent const *)arg1)->GetX();
d14a1e28
RD
15182
15183 wxPyEndAllowThreads(__tstate);
15184 if (PyErr_Occurred()) SWIG_fail;
15185 }
15afbcd0 15186 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15187 return resultobj;
15188 fail:
15189 return NULL;
15190}
15191
15192
15193static PyObject *_wrap_SetCursorEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
15194 PyObject *resultobj;
15195 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
e811c8ce 15196 int result;
d14a1e28
RD
15197 PyObject * obj0 = 0 ;
15198 char *kwnames[] = {
15199 (char *) "self", NULL
15200 };
15201
15202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
15203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15205 {
15206 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15207 result = (int)((wxSetCursorEvent const *)arg1)->GetY();
d14a1e28
RD
15208
15209 wxPyEndAllowThreads(__tstate);
15210 if (PyErr_Occurred()) SWIG_fail;
15211 }
15afbcd0 15212 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15213 return resultobj;
15214 fail:
15215 return NULL;
15216}
15217
15218
15219static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15220 PyObject *resultobj;
15221 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15222 wxCursor *arg2 = 0 ;
15223 PyObject * obj0 = 0 ;
15224 PyObject * obj1 = 0 ;
15225 char *kwnames[] = {
15226 (char *) "self",(char *) "cursor", NULL
15227 };
15228
15229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15232 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
15233 SWIG_POINTER_EXCEPTION | 0)) == -1)
15234 SWIG_fail;
d14a1e28 15235 if (arg2 == NULL) {
15afbcd0
RD
15236 PyErr_SetString(PyExc_TypeError,"null reference");
15237 SWIG_fail;
d14a1e28
RD
15238 }
15239 {
15240 PyThreadState* __tstate = wxPyBeginAllowThreads();
15241 (arg1)->SetCursor((wxCursor const &)*arg2);
15242
15243 wxPyEndAllowThreads(__tstate);
15244 if (PyErr_Occurred()) SWIG_fail;
15245 }
15246 Py_INCREF(Py_None); resultobj = Py_None;
15247 return resultobj;
15248 fail:
15249 return NULL;
15250}
15251
15252
15253static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15254 PyObject *resultobj;
15255 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15256 wxCursor *result;
15257 PyObject * obj0 = 0 ;
15258 char *kwnames[] = {
15259 (char *) "self", NULL
15260 };
15261
15262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
15263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15265 {
15266 PyThreadState* __tstate = wxPyBeginAllowThreads();
15267 {
15268 wxCursor const &_result_ref = ((wxSetCursorEvent const *)arg1)->GetCursor();
15269 result = (wxCursor *) &_result_ref;
15270 }
15271
15272 wxPyEndAllowThreads(__tstate);
15273 if (PyErr_Occurred()) SWIG_fail;
15274 }
4276dc52
RD
15275 {
15276 wxCursor* resultptr = new wxCursor(*result);
15277 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
15278 }
d14a1e28
RD
15279 return resultobj;
15280 fail:
15281 return NULL;
15282}
15283
15284
15285static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15286 PyObject *resultobj;
15287 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15288 bool result;
15289 PyObject * obj0 = 0 ;
15290 char *kwnames[] = {
15291 (char *) "self", NULL
15292 };
15293
15294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
15295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15297 {
15298 PyThreadState* __tstate = wxPyBeginAllowThreads();
15299 result = (bool)((wxSetCursorEvent const *)arg1)->HasCursor();
15300
15301 wxPyEndAllowThreads(__tstate);
15302 if (PyErr_Occurred()) SWIG_fail;
15303 }
4f89f6a3
RD
15304 {
15305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15306 }
d14a1e28
RD
15307 return resultobj;
15308 fail:
15309 return NULL;
15310}
15311
15312
15313static PyObject * SetCursorEvent_swigregister(PyObject *self, PyObject *args) {
15314 PyObject *obj;
15315 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15316 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj);
15317 Py_INCREF(obj);
15318 return Py_BuildValue((char *)"");
15319}
15320static PyObject *_wrap_new_KeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15321 PyObject *resultobj;
15322 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15323 wxKeyEvent *result;
994141e6 15324 PyObject * obj0 = 0 ;
d14a1e28
RD
15325 char *kwnames[] = {
15326 (char *) "keyType", NULL
15327 };
15328
994141e6
RD
15329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail;
15330 if (obj0) {
15afbcd0
RD
15331 arg1 = (wxEventType) SWIG_AsInt(obj0);
15332 if (PyErr_Occurred()) SWIG_fail;
994141e6 15333 }
d14a1e28
RD
15334 {
15335 PyThreadState* __tstate = wxPyBeginAllowThreads();
15336 result = (wxKeyEvent *)new wxKeyEvent(arg1);
15337
15338 wxPyEndAllowThreads(__tstate);
15339 if (PyErr_Occurred()) SWIG_fail;
15340 }
15afbcd0 15341 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 1);
d14a1e28
RD
15342 return resultobj;
15343 fail:
15344 return NULL;
15345}
15346
15347
15348static PyObject *_wrap_KeyEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15349 PyObject *resultobj;
15350 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15351 bool result;
15352 PyObject * obj0 = 0 ;
15353 char *kwnames[] = {
15354 (char *) "self", NULL
15355 };
15356
15357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15360 {
15361 PyThreadState* __tstate = wxPyBeginAllowThreads();
15362 result = (bool)((wxKeyEvent const *)arg1)->ControlDown();
15363
15364 wxPyEndAllowThreads(__tstate);
15365 if (PyErr_Occurred()) SWIG_fail;
15366 }
4f89f6a3
RD
15367 {
15368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15369 }
d14a1e28
RD
15370 return resultobj;
15371 fail:
15372 return NULL;
15373}
15374
15375
15376static PyObject *_wrap_KeyEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15377 PyObject *resultobj;
15378 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15379 bool result;
15380 PyObject * obj0 = 0 ;
15381 char *kwnames[] = {
15382 (char *) "self", NULL
15383 };
15384
15385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15388 {
15389 PyThreadState* __tstate = wxPyBeginAllowThreads();
15390 result = (bool)((wxKeyEvent const *)arg1)->MetaDown();
15391
15392 wxPyEndAllowThreads(__tstate);
15393 if (PyErr_Occurred()) SWIG_fail;
15394 }
4f89f6a3
RD
15395 {
15396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15397 }
d14a1e28
RD
15398 return resultobj;
15399 fail:
15400 return NULL;
15401}
15402
15403
15404static PyObject *_wrap_KeyEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15405 PyObject *resultobj;
15406 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15407 bool result;
15408 PyObject * obj0 = 0 ;
15409 char *kwnames[] = {
15410 (char *) "self", NULL
15411 };
15412
15413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15416 {
15417 PyThreadState* __tstate = wxPyBeginAllowThreads();
15418 result = (bool)((wxKeyEvent const *)arg1)->AltDown();
15419
15420 wxPyEndAllowThreads(__tstate);
15421 if (PyErr_Occurred()) SWIG_fail;
15422 }
4f89f6a3
RD
15423 {
15424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15425 }
d14a1e28
RD
15426 return resultobj;
15427 fail:
15428 return NULL;
15429}
15430
15431
15432static PyObject *_wrap_KeyEvent_ShiftDown(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_ShiftDown",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)->ShiftDown();
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_HasModifiers(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_HasModifiers",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)->HasModifiers();
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_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
15489 PyObject *resultobj;
15490 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15491 int result;
15492 PyObject * obj0 = 0 ;
15493 char *kwnames[] = {
15494 (char *) "self", NULL
15495 };
15496
15497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",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 = (int)((wxKeyEvent const *)arg1)->GetKeyCode();
15503
15504 wxPyEndAllowThreads(__tstate);
15505 if (PyErr_Occurred()) SWIG_fail;
15506 }
15afbcd0 15507 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15508 return resultobj;
15509 fail:
15510 return NULL;
15511}
15512
15513
15514static PyObject *_wrap_KeyEvent_GetUniChar(PyObject *self, PyObject *args, PyObject *kwargs) {
15515 PyObject *resultobj;
15516 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15517 int result;
15518 PyObject * obj0 = 0 ;
15519 char *kwnames[] = {
15520 (char *) "self", NULL
15521 };
15522
15523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUniChar",kwnames,&obj0)) goto fail;
15afbcd0
RD
15524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15526 {
15527 PyThreadState* __tstate = wxPyBeginAllowThreads();
15528 result = (int)wxKeyEvent_GetUniChar(arg1);
15529
15530 wxPyEndAllowThreads(__tstate);
15531 if (PyErr_Occurred()) SWIG_fail;
15532 }
15afbcd0 15533 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15534 return resultobj;
15535 fail:
15536 return NULL;
15537}
15538
15539
15540static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
15541 PyObject *resultobj;
15542 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15543 unsigned int result;
d14a1e28
RD
15544 PyObject * obj0 = 0 ;
15545 char *kwnames[] = {
15546 (char *) "self", NULL
15547 };
15548
15549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
15550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15552 {
15553 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15554 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode();
d14a1e28
RD
15555
15556 wxPyEndAllowThreads(__tstate);
15557 if (PyErr_Occurred()) SWIG_fail;
15558 }
15afbcd0 15559 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
15560 return resultobj;
15561 fail:
15562 return NULL;
15563}
15564
15565
15566static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
15567 PyObject *resultobj;
15568 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15569 unsigned int result;
d14a1e28
RD
15570 PyObject * obj0 = 0 ;
15571 char *kwnames[] = {
15572 (char *) "self", NULL
15573 };
15574
15575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
15576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15578 {
15579 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15580 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags();
d14a1e28
RD
15581
15582 wxPyEndAllowThreads(__tstate);
15583 if (PyErr_Occurred()) SWIG_fail;
15584 }
15afbcd0 15585 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
15586 return resultobj;
15587 fail:
15588 return NULL;
15589}
15590
15591
15592static PyObject *_wrap_KeyEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15593 PyObject *resultobj;
15594 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15595 wxPoint result;
15596 PyObject * obj0 = 0 ;
15597 char *kwnames[] = {
15598 (char *) "self", NULL
15599 };
15600
15601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
15602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15604 {
15605 PyThreadState* __tstate = wxPyBeginAllowThreads();
15606 result = (arg1)->GetPosition();
15607
15608 wxPyEndAllowThreads(__tstate);
15609 if (PyErr_Occurred()) SWIG_fail;
15610 }
15611 {
15612 wxPoint * resultptr;
15613 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 15614 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
15615 }
15616 return resultobj;
15617 fail:
15618 return NULL;
15619}
15620
15621
15622static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
15623 PyObject *resultobj;
15624 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15625 long *arg2 = (long *) 0 ;
15626 long *arg3 = (long *) 0 ;
15627 long temp2 ;
15628 long temp3 ;
15629 PyObject * obj0 = 0 ;
15630 char *kwnames[] = {
15631 (char *) "self", NULL
15632 };
15633
15634 arg2 = &temp2;
15635 arg3 = &temp3;
15636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
15637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15639 {
15640 PyThreadState* __tstate = wxPyBeginAllowThreads();
15641 (arg1)->GetPosition(arg2,arg3);
15642
15643 wxPyEndAllowThreads(__tstate);
15644 if (PyErr_Occurred()) SWIG_fail;
15645 }
15646 Py_INCREF(Py_None); resultobj = Py_None;
15647 {
15648 PyObject *o = PyInt_FromLong((long) (*arg2));
15649 resultobj = t_output_helper(resultobj,o);
15650 }
15651 {
15652 PyObject *o = PyInt_FromLong((long) (*arg3));
15653 resultobj = t_output_helper(resultobj,o);
15654 }
15655 return resultobj;
15656 fail:
15657 return NULL;
15658}
15659
15660
15661static PyObject *_wrap_KeyEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
15662 PyObject *resultobj;
15663 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15664 int result;
d14a1e28
RD
15665 PyObject * obj0 = 0 ;
15666 char *kwnames[] = {
15667 (char *) "self", NULL
15668 };
15669
15670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
15671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15673 {
15674 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15675 result = (int)((wxKeyEvent const *)arg1)->GetX();
d14a1e28
RD
15676
15677 wxPyEndAllowThreads(__tstate);
15678 if (PyErr_Occurred()) SWIG_fail;
15679 }
15afbcd0 15680 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15681 return resultobj;
15682 fail:
15683 return NULL;
15684}
15685
15686
15687static PyObject *_wrap_KeyEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
15688 PyObject *resultobj;
15689 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15690 int result;
d14a1e28
RD
15691 PyObject * obj0 = 0 ;
15692 char *kwnames[] = {
15693 (char *) "self", NULL
15694 };
15695
15696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
15697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15699 {
15700 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15701 result = (int)((wxKeyEvent const *)arg1)->GetY();
d14a1e28
RD
15702
15703 wxPyEndAllowThreads(__tstate);
15704 if (PyErr_Occurred()) SWIG_fail;
15705 }
15afbcd0 15706 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15707 return resultobj;
15708 fail:
15709 return NULL;
15710}
15711
15712
15713static PyObject *_wrap_KeyEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15714 PyObject *resultobj;
15715 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15716 int arg2 ;
d14a1e28 15717 PyObject * obj0 = 0 ;
994141e6 15718 PyObject * obj1 = 0 ;
d14a1e28
RD
15719 char *kwnames[] = {
15720 (char *) "self",(char *) "m_x", NULL
15721 };
15722
994141e6 15723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15726 arg2 = (int) SWIG_AsInt(obj1);
15727 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15728 if (arg1) (arg1)->m_x = arg2;
15729
15730 Py_INCREF(Py_None); resultobj = Py_None;
15731 return resultobj;
15732 fail:
15733 return NULL;
15734}
15735
15736
15737static PyObject *_wrap_KeyEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15738 PyObject *resultobj;
15739 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15740 int result;
d14a1e28
RD
15741 PyObject * obj0 = 0 ;
15742 char *kwnames[] = {
15743 (char *) "self", NULL
15744 };
15745
15746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 15749 result = (int) ((arg1)->m_x);
d14a1e28 15750
15afbcd0 15751 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15752 return resultobj;
15753 fail:
15754 return NULL;
15755}
15756
15757
15758static PyObject *_wrap_KeyEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15759 PyObject *resultobj;
15760 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15761 int arg2 ;
d14a1e28 15762 PyObject * obj0 = 0 ;
994141e6 15763 PyObject * obj1 = 0 ;
d14a1e28
RD
15764 char *kwnames[] = {
15765 (char *) "self",(char *) "m_y", NULL
15766 };
15767
994141e6 15768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15771 arg2 = (int) SWIG_AsInt(obj1);
15772 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15773 if (arg1) (arg1)->m_y = arg2;
15774
15775 Py_INCREF(Py_None); resultobj = Py_None;
15776 return resultobj;
15777 fail:
15778 return NULL;
15779}
15780
15781
15782static PyObject *_wrap_KeyEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15783 PyObject *resultobj;
15784 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15785 int result;
d14a1e28
RD
15786 PyObject * obj0 = 0 ;
15787 char *kwnames[] = {
15788 (char *) "self", NULL
15789 };
15790
15791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 15794 result = (int) ((arg1)->m_y);
d14a1e28 15795
15afbcd0 15796 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15797 return resultobj;
15798 fail:
15799 return NULL;
15800}
15801
15802
15803static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15804 PyObject *resultobj;
15805 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15806 long arg2 ;
15807 PyObject * obj0 = 0 ;
994141e6 15808 PyObject * obj1 = 0 ;
d14a1e28
RD
15809 char *kwnames[] = {
15810 (char *) "self",(char *) "m_keyCode", NULL
15811 };
15812
994141e6 15813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_keyCode_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15816 arg2 = (long) SWIG_AsLong(obj1);
15817 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15818 if (arg1) (arg1)->m_keyCode = arg2;
15819
15820 Py_INCREF(Py_None); resultobj = Py_None;
15821 return resultobj;
15822 fail:
15823 return NULL;
15824}
15825
15826
15827static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15828 PyObject *resultobj;
15829 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15830 long result;
15831 PyObject * obj0 = 0 ;
15832 char *kwnames[] = {
15833 (char *) "self", NULL
15834 };
15835
15836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15839 result = (long) ((arg1)->m_keyCode);
15840
15afbcd0 15841 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
15842 return resultobj;
15843 fail:
15844 return NULL;
15845}
15846
15847
15848static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15849 PyObject *resultobj;
15850 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15851 bool arg2 ;
15852 PyObject * obj0 = 0 ;
15853 PyObject * obj1 = 0 ;
15854 char *kwnames[] = {
15855 (char *) "self",(char *) "m_controlDown", NULL
15856 };
15857
15858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15861 arg2 = (bool) SWIG_AsBool(obj1);
15862 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15863 if (arg1) (arg1)->m_controlDown = arg2;
15864
15865 Py_INCREF(Py_None); resultobj = Py_None;
15866 return resultobj;
15867 fail:
15868 return NULL;
15869}
15870
15871
15872static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15873 PyObject *resultobj;
15874 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15875 bool result;
15876 PyObject * obj0 = 0 ;
15877 char *kwnames[] = {
15878 (char *) "self", NULL
15879 };
15880
15881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15884 result = (bool) ((arg1)->m_controlDown);
15885
4f89f6a3
RD
15886 {
15887 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15888 }
d14a1e28
RD
15889 return resultobj;
15890 fail:
15891 return NULL;
15892}
15893
15894
15895static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15896 PyObject *resultobj;
15897 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15898 bool arg2 ;
15899 PyObject * obj0 = 0 ;
15900 PyObject * obj1 = 0 ;
15901 char *kwnames[] = {
15902 (char *) "self",(char *) "m_shiftDown", NULL
15903 };
15904
15905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15908 arg2 = (bool) SWIG_AsBool(obj1);
15909 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15910 if (arg1) (arg1)->m_shiftDown = arg2;
15911
15912 Py_INCREF(Py_None); resultobj = Py_None;
15913 return resultobj;
15914 fail:
15915 return NULL;
15916}
15917
15918
15919static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15920 PyObject *resultobj;
15921 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15922 bool result;
15923 PyObject * obj0 = 0 ;
15924 char *kwnames[] = {
15925 (char *) "self", NULL
15926 };
15927
15928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15931 result = (bool) ((arg1)->m_shiftDown);
15932
4f89f6a3
RD
15933 {
15934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15935 }
d14a1e28
RD
15936 return resultobj;
15937 fail:
15938 return NULL;
15939}
15940
15941
15942static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15943 PyObject *resultobj;
15944 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15945 bool arg2 ;
15946 PyObject * obj0 = 0 ;
15947 PyObject * obj1 = 0 ;
15948 char *kwnames[] = {
15949 (char *) "self",(char *) "m_altDown", NULL
15950 };
15951
15952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15955 arg2 = (bool) SWIG_AsBool(obj1);
15956 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15957 if (arg1) (arg1)->m_altDown = arg2;
15958
15959 Py_INCREF(Py_None); resultobj = Py_None;
15960 return resultobj;
15961 fail:
15962 return NULL;
15963}
15964
15965
15966static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15967 PyObject *resultobj;
15968 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15969 bool result;
15970 PyObject * obj0 = 0 ;
15971 char *kwnames[] = {
15972 (char *) "self", NULL
15973 };
15974
15975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15978 result = (bool) ((arg1)->m_altDown);
15979
4f89f6a3
RD
15980 {
15981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15982 }
d14a1e28
RD
15983 return resultobj;
15984 fail:
15985 return NULL;
15986}
15987
15988
15989static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15990 PyObject *resultobj;
15991 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15992 bool arg2 ;
15993 PyObject * obj0 = 0 ;
15994 PyObject * obj1 = 0 ;
15995 char *kwnames[] = {
15996 (char *) "self",(char *) "m_metaDown", NULL
15997 };
15998
15999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16002 arg2 = (bool) SWIG_AsBool(obj1);
16003 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16004 if (arg1) (arg1)->m_metaDown = arg2;
16005
16006 Py_INCREF(Py_None); resultobj = Py_None;
16007 return resultobj;
16008 fail:
16009 return NULL;
16010}
16011
16012
16013static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16014 PyObject *resultobj;
16015 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16016 bool result;
16017 PyObject * obj0 = 0 ;
16018 char *kwnames[] = {
16019 (char *) "self", NULL
16020 };
16021
16022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16025 result = (bool) ((arg1)->m_metaDown);
16026
4f89f6a3
RD
16027 {
16028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16029 }
d14a1e28
RD
16030 return resultobj;
16031 fail:
16032 return NULL;
16033}
16034
16035
16036static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16037 PyObject *resultobj;
16038 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16039 bool arg2 ;
16040 PyObject * obj0 = 0 ;
16041 PyObject * obj1 = 0 ;
16042 char *kwnames[] = {
16043 (char *) "self",(char *) "m_scanCode", NULL
16044 };
16045
16046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16049 arg2 = (bool) SWIG_AsBool(obj1);
16050 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16051 if (arg1) (arg1)->m_scanCode = arg2;
16052
16053 Py_INCREF(Py_None); resultobj = Py_None;
16054 return resultobj;
16055 fail:
16056 return NULL;
16057}
16058
16059
16060static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16061 PyObject *resultobj;
16062 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16063 bool result;
16064 PyObject * obj0 = 0 ;
16065 char *kwnames[] = {
16066 (char *) "self", NULL
16067 };
16068
16069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16072 result = (bool) ((arg1)->m_scanCode);
16073
4f89f6a3
RD
16074 {
16075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16076 }
d14a1e28
RD
16077 return resultobj;
16078 fail:
16079 return NULL;
16080}
16081
16082
16083static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16084 PyObject *resultobj;
16085 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16086 unsigned int arg2 ;
d14a1e28
RD
16087 PyObject * obj0 = 0 ;
16088 PyObject * obj1 = 0 ;
16089 char *kwnames[] = {
16090 (char *) "self",(char *) "m_rawCode", NULL
16091 };
16092
16093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16096 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
16097 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16098 if (arg1) (arg1)->m_rawCode = arg2;
16099
16100 Py_INCREF(Py_None); resultobj = Py_None;
16101 return resultobj;
16102 fail:
16103 return NULL;
16104}
16105
16106
16107static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16108 PyObject *resultobj;
16109 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16110 unsigned int result;
d14a1e28
RD
16111 PyObject * obj0 = 0 ;
16112 char *kwnames[] = {
16113 (char *) "self", NULL
16114 };
16115
16116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 16119 result = (unsigned int) ((arg1)->m_rawCode);
d14a1e28 16120
15afbcd0 16121 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
16122 return resultobj;
16123 fail:
16124 return NULL;
16125}
16126
16127
16128static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16129 PyObject *resultobj;
16130 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16131 unsigned int arg2 ;
d14a1e28
RD
16132 PyObject * obj0 = 0 ;
16133 PyObject * obj1 = 0 ;
16134 char *kwnames[] = {
16135 (char *) "self",(char *) "m_rawFlags", NULL
16136 };
16137
16138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16141 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
16142 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16143 if (arg1) (arg1)->m_rawFlags = arg2;
16144
16145 Py_INCREF(Py_None); resultobj = Py_None;
16146 return resultobj;
16147 fail:
16148 return NULL;
16149}
16150
16151
16152static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16153 PyObject *resultobj;
16154 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16155 unsigned int result;
d14a1e28
RD
16156 PyObject * obj0 = 0 ;
16157 char *kwnames[] = {
16158 (char *) "self", NULL
16159 };
16160
16161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 16164 result = (unsigned int) ((arg1)->m_rawFlags);
d14a1e28 16165
15afbcd0 16166 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
16167 return resultobj;
16168 fail:
16169 return NULL;
16170}
16171
16172
16173static PyObject * KeyEvent_swigregister(PyObject *self, PyObject *args) {
16174 PyObject *obj;
16175 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16176 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj);
16177 Py_INCREF(obj);
16178 return Py_BuildValue((char *)"");
16179}
16180static PyObject *_wrap_new_SizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16181 PyObject *resultobj;
16182 wxSize const &arg1_defvalue = wxDefaultSize ;
16183 wxSize *arg1 = (wxSize *) &arg1_defvalue ;
16184 int arg2 = (int) 0 ;
16185 wxSizeEvent *result;
16186 wxSize temp1 ;
16187 PyObject * obj0 = 0 ;
994141e6 16188 PyObject * obj1 = 0 ;
d14a1e28
RD
16189 char *kwnames[] = {
16190 (char *) "sz",(char *) "winid", NULL
16191 };
16192
994141e6 16193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SizeEvent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
16194 if (obj0) {
16195 {
16196 arg1 = &temp1;
16197 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
16198 }
16199 }
994141e6 16200 if (obj1) {
15afbcd0
RD
16201 arg2 = (int) SWIG_AsInt(obj1);
16202 if (PyErr_Occurred()) SWIG_fail;
994141e6 16203 }
d14a1e28
RD
16204 {
16205 PyThreadState* __tstate = wxPyBeginAllowThreads();
16206 result = (wxSizeEvent *)new wxSizeEvent((wxSize const &)*arg1,arg2);
16207
16208 wxPyEndAllowThreads(__tstate);
16209 if (PyErr_Occurred()) SWIG_fail;
16210 }
15afbcd0 16211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizeEvent, 1);
d14a1e28
RD
16212 return resultobj;
16213 fail:
16214 return NULL;
16215}
16216
16217
16218static PyObject *_wrap_SizeEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16219 PyObject *resultobj;
16220 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16221 wxSize result;
16222 PyObject * obj0 = 0 ;
16223 char *kwnames[] = {
16224 (char *) "self", NULL
16225 };
16226
16227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16230 {
16231 PyThreadState* __tstate = wxPyBeginAllowThreads();
16232 result = ((wxSizeEvent const *)arg1)->GetSize();
16233
16234 wxPyEndAllowThreads(__tstate);
16235 if (PyErr_Occurred()) SWIG_fail;
16236 }
16237 {
16238 wxSize * resultptr;
16239 resultptr = new wxSize((wxSize &) result);
15afbcd0 16240 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16241 }
16242 return resultobj;
16243 fail:
16244 return NULL;
16245}
16246
16247
16248static PyObject *_wrap_SizeEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16249 PyObject *resultobj;
16250 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16251 wxRect result;
16252 PyObject * obj0 = 0 ;
16253 char *kwnames[] = {
16254 (char *) "self", NULL
16255 };
16256
16257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
16258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16260 {
16261 PyThreadState* __tstate = wxPyBeginAllowThreads();
16262 result = ((wxSizeEvent const *)arg1)->GetRect();
16263
16264 wxPyEndAllowThreads(__tstate);
16265 if (PyErr_Occurred()) SWIG_fail;
16266 }
16267 {
16268 wxRect * resultptr;
16269 resultptr = new wxRect((wxRect &) result);
15afbcd0 16270 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
16271 }
16272 return resultobj;
16273 fail:
16274 return NULL;
16275}
16276
16277
16278static PyObject *_wrap_SizeEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16279 PyObject *resultobj;
16280 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16281 wxRect arg2 ;
16282 wxRect *argp2 ;
16283 PyObject * obj0 = 0 ;
16284 PyObject * obj1 = 0 ;
16285 char *kwnames[] = {
16286 (char *) "self",(char *) "rect", NULL
16287 };
16288
16289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16292 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16293 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16294 arg2 = *argp2;
d14a1e28
RD
16295 {
16296 PyThreadState* __tstate = wxPyBeginAllowThreads();
16297 (arg1)->SetRect(arg2);
16298
16299 wxPyEndAllowThreads(__tstate);
16300 if (PyErr_Occurred()) SWIG_fail;
16301 }
16302 Py_INCREF(Py_None); resultobj = Py_None;
16303 return resultobj;
16304 fail:
16305 return NULL;
16306}
16307
16308
16309static PyObject *_wrap_SizeEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16310 PyObject *resultobj;
16311 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16312 wxSize arg2 ;
16313 wxSize *argp2 ;
16314 PyObject * obj0 = 0 ;
16315 PyObject * obj1 = 0 ;
16316 char *kwnames[] = {
16317 (char *) "self",(char *) "size", NULL
16318 };
16319
16320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16323 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
16324 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16325 arg2 = *argp2;
d14a1e28
RD
16326 {
16327 PyThreadState* __tstate = wxPyBeginAllowThreads();
16328 wxSizeEvent_SetSize(arg1,arg2);
16329
16330 wxPyEndAllowThreads(__tstate);
16331 if (PyErr_Occurred()) SWIG_fail;
16332 }
16333 Py_INCREF(Py_None); resultobj = Py_None;
16334 return resultobj;
16335 fail:
16336 return NULL;
16337}
16338
16339
16340static PyObject *_wrap_SizeEvent_m_size_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16341 PyObject *resultobj;
16342 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16343 wxSize *arg2 = (wxSize *) 0 ;
16344 PyObject * obj0 = 0 ;
16345 PyObject * obj1 = 0 ;
16346 char *kwnames[] = {
16347 (char *) "self",(char *) "m_size", NULL
16348 };
16349
16350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16353 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSize,
16354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16355 if (arg1) (arg1)->m_size = *arg2;
16356
16357 Py_INCREF(Py_None); resultobj = Py_None;
16358 return resultobj;
16359 fail:
16360 return NULL;
16361}
16362
16363
16364static PyObject *_wrap_SizeEvent_m_size_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16365 PyObject *resultobj;
16366 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16367 wxSize *result;
16368 PyObject * obj0 = 0 ;
16369 char *kwnames[] = {
16370 (char *) "self", NULL
16371 };
16372
16373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16376 result = (wxSize *)& ((arg1)->m_size);
16377
15afbcd0 16378 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
16379 return resultobj;
16380 fail:
16381 return NULL;
16382}
16383
16384
16385static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16386 PyObject *resultobj;
16387 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16388 wxRect *arg2 = (wxRect *) 0 ;
16389 PyObject * obj0 = 0 ;
16390 PyObject * obj1 = 0 ;
16391 char *kwnames[] = {
16392 (char *) "self",(char *) "m_rect", NULL
16393 };
16394
16395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16398 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16400 if (arg1) (arg1)->m_rect = *arg2;
16401
16402 Py_INCREF(Py_None); resultobj = Py_None;
16403 return resultobj;
16404 fail:
16405 return NULL;
16406}
16407
16408
16409static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16410 PyObject *resultobj;
16411 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16412 wxRect *result;
16413 PyObject * obj0 = 0 ;
16414 char *kwnames[] = {
16415 (char *) "self", NULL
16416 };
16417
16418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16421 result = (wxRect *)& ((arg1)->m_rect);
16422
15afbcd0 16423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
16424 return resultobj;
16425 fail:
16426 return NULL;
16427}
16428
16429
16430static PyObject * SizeEvent_swigregister(PyObject *self, PyObject *args) {
16431 PyObject *obj;
16432 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16433 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj);
16434 Py_INCREF(obj);
16435 return Py_BuildValue((char *)"");
16436}
16437static PyObject *_wrap_new_MoveEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16438 PyObject *resultobj;
16439 wxPoint const &arg1_defvalue = wxDefaultPosition ;
16440 wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
16441 int arg2 = (int) 0 ;
16442 wxMoveEvent *result;
16443 wxPoint temp1 ;
16444 PyObject * obj0 = 0 ;
994141e6 16445 PyObject * obj1 = 0 ;
d14a1e28
RD
16446 char *kwnames[] = {
16447 (char *) "pos",(char *) "winid", NULL
16448 };
16449
994141e6 16450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MoveEvent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
16451 if (obj0) {
16452 {
16453 arg1 = &temp1;
16454 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
16455 }
16456 }
994141e6 16457 if (obj1) {
15afbcd0
RD
16458 arg2 = (int) SWIG_AsInt(obj1);
16459 if (PyErr_Occurred()) SWIG_fail;
994141e6 16460 }
d14a1e28
RD
16461 {
16462 PyThreadState* __tstate = wxPyBeginAllowThreads();
16463 result = (wxMoveEvent *)new wxMoveEvent((wxPoint const &)*arg1,arg2);
16464
16465 wxPyEndAllowThreads(__tstate);
16466 if (PyErr_Occurred()) SWIG_fail;
16467 }
15afbcd0 16468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMoveEvent, 1);
d14a1e28
RD
16469 return resultobj;
16470 fail:
16471 return NULL;
16472}
16473
16474
16475static PyObject *_wrap_MoveEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16476 PyObject *resultobj;
16477 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16478 wxPoint result;
16479 PyObject * obj0 = 0 ;
16480 char *kwnames[] = {
16481 (char *) "self", NULL
16482 };
16483
16484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
16485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16487 {
16488 PyThreadState* __tstate = wxPyBeginAllowThreads();
16489 result = ((wxMoveEvent const *)arg1)->GetPosition();
16490
16491 wxPyEndAllowThreads(__tstate);
16492 if (PyErr_Occurred()) SWIG_fail;
16493 }
16494 {
16495 wxPoint * resultptr;
16496 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 16497 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
16498 }
16499 return resultobj;
16500 fail:
16501 return NULL;
16502}
16503
16504
16505static PyObject *_wrap_MoveEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16506 PyObject *resultobj;
16507 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16508 wxRect result;
16509 PyObject * obj0 = 0 ;
16510 char *kwnames[] = {
16511 (char *) "self", NULL
16512 };
16513
16514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
16515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16517 {
16518 PyThreadState* __tstate = wxPyBeginAllowThreads();
16519 result = ((wxMoveEvent const *)arg1)->GetRect();
16520
16521 wxPyEndAllowThreads(__tstate);
16522 if (PyErr_Occurred()) SWIG_fail;
16523 }
16524 {
16525 wxRect * resultptr;
16526 resultptr = new wxRect((wxRect &) result);
15afbcd0 16527 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
16528 }
16529 return resultobj;
16530 fail:
16531 return NULL;
16532}
16533
16534
16535static PyObject *_wrap_MoveEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16536 PyObject *resultobj;
16537 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16538 wxRect arg2 ;
16539 wxRect *argp2 ;
16540 PyObject * obj0 = 0 ;
16541 PyObject * obj1 = 0 ;
16542 char *kwnames[] = {
16543 (char *) "self",(char *) "rect", NULL
16544 };
16545
16546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16549 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16550 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16551 arg2 = *argp2;
d14a1e28
RD
16552 {
16553 PyThreadState* __tstate = wxPyBeginAllowThreads();
16554 (arg1)->SetRect(arg2);
16555
16556 wxPyEndAllowThreads(__tstate);
16557 if (PyErr_Occurred()) SWIG_fail;
16558 }
16559 Py_INCREF(Py_None); resultobj = Py_None;
16560 return resultobj;
16561 fail:
16562 return NULL;
16563}
16564
16565
16566static PyObject *_wrap_MoveEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16567 PyObject *resultobj;
16568 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16569 wxPoint arg2 ;
16570 wxPoint *argp2 ;
16571 PyObject * obj0 = 0 ;
16572 PyObject * obj1 = 0 ;
16573 char *kwnames[] = {
16574 (char *) "self",(char *) "pos", NULL
16575 };
16576
16577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16580 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
16581 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16582 arg2 = *argp2;
d14a1e28
RD
16583 {
16584 PyThreadState* __tstate = wxPyBeginAllowThreads();
16585 wxMoveEvent_SetPosition(arg1,arg2);
16586
16587 wxPyEndAllowThreads(__tstate);
16588 if (PyErr_Occurred()) SWIG_fail;
16589 }
16590 Py_INCREF(Py_None); resultobj = Py_None;
16591 return resultobj;
16592 fail:
16593 return NULL;
16594}
16595
16596
16597static PyObject *_wrap_MoveEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16598 PyObject *resultobj;
16599 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16600 wxPoint *arg2 = (wxPoint *) 0 ;
16601 PyObject * obj0 = 0 ;
16602 PyObject * obj1 = 0 ;
16603 char *kwnames[] = {
16604 (char *) "self",(char *) "m_pos", NULL
16605 };
16606
16607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16610 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
16611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16612 if (arg1) (arg1)->m_pos = *arg2;
16613
16614 Py_INCREF(Py_None); resultobj = Py_None;
16615 return resultobj;
16616 fail:
16617 return NULL;
16618}
16619
16620
16621static PyObject *_wrap_MoveEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16622 PyObject *resultobj;
16623 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16624 wxPoint *result;
16625 PyObject * obj0 = 0 ;
16626 char *kwnames[] = {
16627 (char *) "self", NULL
16628 };
16629
16630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_pos_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16633 result = (wxPoint *)& ((arg1)->m_pos);
16634
15afbcd0 16635 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
16636 return resultobj;
16637 fail:
16638 return NULL;
16639}
16640
16641
16642static PyObject *_wrap_MoveEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16643 PyObject *resultobj;
16644 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16645 wxRect *arg2 = (wxRect *) 0 ;
16646 PyObject * obj0 = 0 ;
16647 PyObject * obj1 = 0 ;
16648 char *kwnames[] = {
16649 (char *) "self",(char *) "m_rect", NULL
16650 };
16651
16652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16655 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16657 if (arg1) (arg1)->m_rect = *arg2;
16658
16659 Py_INCREF(Py_None); resultobj = Py_None;
16660 return resultobj;
16661 fail:
16662 return NULL;
16663}
16664
16665
16666static PyObject *_wrap_MoveEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16667 PyObject *resultobj;
16668 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16669 wxRect *result;
16670 PyObject * obj0 = 0 ;
16671 char *kwnames[] = {
16672 (char *) "self", NULL
16673 };
16674
16675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_rect_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16678 result = (wxRect *)& ((arg1)->m_rect);
16679
15afbcd0 16680 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
16681 return resultobj;
16682 fail:
16683 return NULL;
16684}
16685
16686
16687static PyObject * MoveEvent_swigregister(PyObject *self, PyObject *args) {
16688 PyObject *obj;
16689 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16690 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj);
16691 Py_INCREF(obj);
16692 return Py_BuildValue((char *)"");
16693}
16694static PyObject *_wrap_new_PaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16695 PyObject *resultobj;
16696 int arg1 = (int) 0 ;
16697 wxPaintEvent *result;
994141e6 16698 PyObject * obj0 = 0 ;
d14a1e28
RD
16699 char *kwnames[] = {
16700 (char *) "Id", NULL
16701 };
16702
994141e6
RD
16703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaintEvent",kwnames,&obj0)) goto fail;
16704 if (obj0) {
15afbcd0
RD
16705 arg1 = (int) SWIG_AsInt(obj0);
16706 if (PyErr_Occurred()) SWIG_fail;
994141e6 16707 }
d14a1e28
RD
16708 {
16709 PyThreadState* __tstate = wxPyBeginAllowThreads();
16710 result = (wxPaintEvent *)new wxPaintEvent(arg1);
16711
16712 wxPyEndAllowThreads(__tstate);
16713 if (PyErr_Occurred()) SWIG_fail;
16714 }
15afbcd0 16715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaintEvent, 1);
d14a1e28
RD
16716 return resultobj;
16717 fail:
16718 return NULL;
16719}
16720
16721
16722static PyObject * PaintEvent_swigregister(PyObject *self, PyObject *args) {
16723 PyObject *obj;
16724 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16725 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj);
16726 Py_INCREF(obj);
16727 return Py_BuildValue((char *)"");
16728}
16729static PyObject *_wrap_new_NcPaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16730 PyObject *resultobj;
16731 int arg1 = (int) 0 ;
16732 wxNcPaintEvent *result;
994141e6 16733 PyObject * obj0 = 0 ;
d14a1e28
RD
16734 char *kwnames[] = {
16735 (char *) "winid", NULL
16736 };
16737
994141e6
RD
16738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_NcPaintEvent",kwnames,&obj0)) goto fail;
16739 if (obj0) {
15afbcd0
RD
16740 arg1 = (int) SWIG_AsInt(obj0);
16741 if (PyErr_Occurred()) SWIG_fail;
994141e6 16742 }
d14a1e28
RD
16743 {
16744 PyThreadState* __tstate = wxPyBeginAllowThreads();
16745 result = (wxNcPaintEvent *)new wxNcPaintEvent(arg1);
16746
16747 wxPyEndAllowThreads(__tstate);
16748 if (PyErr_Occurred()) SWIG_fail;
16749 }
15afbcd0 16750 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNcPaintEvent, 1);
d14a1e28
RD
16751 return resultobj;
16752 fail:
16753 return NULL;
16754}
16755
16756
16757static PyObject * NcPaintEvent_swigregister(PyObject *self, PyObject *args) {
16758 PyObject *obj;
16759 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16760 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj);
16761 Py_INCREF(obj);
16762 return Py_BuildValue((char *)"");
16763}
16764static PyObject *_wrap_new_EraseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16765 PyObject *resultobj;
16766 int arg1 = (int) 0 ;
16767 wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
16768 wxEraseEvent *result;
994141e6 16769 PyObject * obj0 = 0 ;
d14a1e28
RD
16770 PyObject * obj1 = 0 ;
16771 char *kwnames[] = {
16772 (char *) "Id",(char *) "dc", NULL
16773 };
16774
994141e6
RD
16775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_EraseEvent",kwnames,&obj0,&obj1)) goto fail;
16776 if (obj0) {
15afbcd0
RD
16777 arg1 = (int) SWIG_AsInt(obj0);
16778 if (PyErr_Occurred()) SWIG_fail;
994141e6 16779 }
d14a1e28 16780 if (obj1) {
15afbcd0
RD
16781 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16783 }
16784 {
16785 PyThreadState* __tstate = wxPyBeginAllowThreads();
16786 result = (wxEraseEvent *)new wxEraseEvent(arg1,arg2);
16787
16788 wxPyEndAllowThreads(__tstate);
16789 if (PyErr_Occurred()) SWIG_fail;
16790 }
15afbcd0 16791 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEraseEvent, 1);
d14a1e28
RD
16792 return resultobj;
16793 fail:
16794 return NULL;
16795}
16796
16797
16798static PyObject *_wrap_EraseEvent_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
16799 PyObject *resultobj;
16800 wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
16801 wxDC *result;
16802 PyObject * obj0 = 0 ;
16803 char *kwnames[] = {
16804 (char *) "self", NULL
16805 };
16806
16807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
16808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEraseEvent,
16809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16810 {
16811 PyThreadState* __tstate = wxPyBeginAllowThreads();
16812 result = (wxDC *)((wxEraseEvent const *)arg1)->GetDC();
16813
16814 wxPyEndAllowThreads(__tstate);
16815 if (PyErr_Occurred()) SWIG_fail;
16816 }
16817 {
16818 resultobj = wxPyMake_wxObject(result);
16819 }
16820 return resultobj;
16821 fail:
16822 return NULL;
16823}
16824
16825
16826static PyObject * EraseEvent_swigregister(PyObject *self, PyObject *args) {
16827 PyObject *obj;
16828 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16829 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj);
16830 Py_INCREF(obj);
16831 return Py_BuildValue((char *)"");
16832}
16833static PyObject *_wrap_new_FocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16834 PyObject *resultobj;
16835 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16836 int arg2 = (int) 0 ;
16837 wxFocusEvent *result;
994141e6
RD
16838 PyObject * obj0 = 0 ;
16839 PyObject * obj1 = 0 ;
d14a1e28
RD
16840 char *kwnames[] = {
16841 (char *) "type",(char *) "winid", NULL
16842 };
16843
994141e6
RD
16844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FocusEvent",kwnames,&obj0,&obj1)) goto fail;
16845 if (obj0) {
15afbcd0
RD
16846 arg1 = (wxEventType) SWIG_AsInt(obj0);
16847 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
16848 }
16849 if (obj1) {
15afbcd0
RD
16850 arg2 = (int) SWIG_AsInt(obj1);
16851 if (PyErr_Occurred()) SWIG_fail;
994141e6 16852 }
d14a1e28
RD
16853 {
16854 PyThreadState* __tstate = wxPyBeginAllowThreads();
16855 result = (wxFocusEvent *)new wxFocusEvent(arg1,arg2);
16856
16857 wxPyEndAllowThreads(__tstate);
16858 if (PyErr_Occurred()) SWIG_fail;
16859 }
15afbcd0 16860 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFocusEvent, 1);
d14a1e28
RD
16861 return resultobj;
16862 fail:
16863 return NULL;
16864}
16865
16866
16867static PyObject *_wrap_FocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16868 PyObject *resultobj;
16869 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
16870 wxWindow *result;
16871 PyObject * obj0 = 0 ;
16872 char *kwnames[] = {
16873 (char *) "self", NULL
16874 };
16875
16876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
16877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
16878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16879 {
16880 PyThreadState* __tstate = wxPyBeginAllowThreads();
16881 result = (wxWindow *)((wxFocusEvent const *)arg1)->GetWindow();
16882
16883 wxPyEndAllowThreads(__tstate);
16884 if (PyErr_Occurred()) SWIG_fail;
16885 }
16886 {
16887 resultobj = wxPyMake_wxObject(result);
16888 }
16889 return resultobj;
16890 fail:
16891 return NULL;
16892}
16893
16894
16895static PyObject *_wrap_FocusEvent_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16896 PyObject *resultobj;
16897 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
16898 wxWindow *arg2 = (wxWindow *) 0 ;
16899 PyObject * obj0 = 0 ;
16900 PyObject * obj1 = 0 ;
16901 char *kwnames[] = {
16902 (char *) "self",(char *) "win", NULL
16903 };
16904
16905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
16907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16908 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16910 {
16911 PyThreadState* __tstate = wxPyBeginAllowThreads();
16912 (arg1)->SetWindow(arg2);
16913
16914 wxPyEndAllowThreads(__tstate);
16915 if (PyErr_Occurred()) SWIG_fail;
16916 }
16917 Py_INCREF(Py_None); resultobj = Py_None;
16918 return resultobj;
16919 fail:
16920 return NULL;
16921}
16922
16923
16924static PyObject * FocusEvent_swigregister(PyObject *self, PyObject *args) {
16925 PyObject *obj;
16926 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16927 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj);
16928 Py_INCREF(obj);
16929 return Py_BuildValue((char *)"");
16930}
16931static PyObject *_wrap_new_ChildFocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16932 PyObject *resultobj;
16933 wxWindow *arg1 = (wxWindow *) NULL ;
16934 wxChildFocusEvent *result;
16935 PyObject * obj0 = 0 ;
16936 char *kwnames[] = {
16937 (char *) "win", NULL
16938 };
16939
16940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail;
16941 if (obj0) {
15afbcd0
RD
16942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16944 }
16945 {
16946 PyThreadState* __tstate = wxPyBeginAllowThreads();
16947 result = (wxChildFocusEvent *)new wxChildFocusEvent(arg1);
16948
16949 wxPyEndAllowThreads(__tstate);
16950 if (PyErr_Occurred()) SWIG_fail;
16951 }
15afbcd0 16952 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChildFocusEvent, 1);
d14a1e28
RD
16953 return resultobj;
16954 fail:
16955 return NULL;
16956}
16957
16958
16959static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16960 PyObject *resultobj;
16961 wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
16962 wxWindow *result;
16963 PyObject * obj0 = 0 ;
16964 char *kwnames[] = {
16965 (char *) "self", NULL
16966 };
16967
16968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
16969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChildFocusEvent,
16970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16971 {
16972 PyThreadState* __tstate = wxPyBeginAllowThreads();
16973 result = (wxWindow *)((wxChildFocusEvent const *)arg1)->GetWindow();
16974
16975 wxPyEndAllowThreads(__tstate);
16976 if (PyErr_Occurred()) SWIG_fail;
16977 }
16978 {
16979 resultobj = wxPyMake_wxObject(result);
16980 }
16981 return resultobj;
16982 fail:
16983 return NULL;
16984}
16985
16986
16987static PyObject * ChildFocusEvent_swigregister(PyObject *self, PyObject *args) {
16988 PyObject *obj;
16989 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16990 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj);
16991 Py_INCREF(obj);
16992 return Py_BuildValue((char *)"");
16993}
16994static PyObject *_wrap_new_ActivateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16995 PyObject *resultobj;
16996 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 16997 bool arg2 = (bool) True ;
d14a1e28
RD
16998 int arg3 = (int) 0 ;
16999 wxActivateEvent *result;
994141e6 17000 PyObject * obj0 = 0 ;
d14a1e28 17001 PyObject * obj1 = 0 ;
994141e6 17002 PyObject * obj2 = 0 ;
d14a1e28
RD
17003 char *kwnames[] = {
17004 (char *) "type",(char *) "active",(char *) "Id", NULL
17005 };
17006
994141e6
RD
17007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ActivateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17008 if (obj0) {
15afbcd0
RD
17009 arg1 = (wxEventType) SWIG_AsInt(obj0);
17010 if (PyErr_Occurred()) SWIG_fail;
994141e6 17011 }
d14a1e28 17012 if (obj1) {
15afbcd0
RD
17013 arg2 = (bool) SWIG_AsBool(obj1);
17014 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17015 }
17016 if (obj2) {
15afbcd0
RD
17017 arg3 = (int) SWIG_AsInt(obj2);
17018 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17019 }
17020 {
17021 PyThreadState* __tstate = wxPyBeginAllowThreads();
17022 result = (wxActivateEvent *)new wxActivateEvent(arg1,arg2,arg3);
17023
17024 wxPyEndAllowThreads(__tstate);
17025 if (PyErr_Occurred()) SWIG_fail;
17026 }
15afbcd0 17027 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxActivateEvent, 1);
d14a1e28
RD
17028 return resultobj;
17029 fail:
17030 return NULL;
17031}
17032
17033
17034static PyObject *_wrap_ActivateEvent_GetActive(PyObject *self, PyObject *args, PyObject *kwargs) {
17035 PyObject *resultobj;
17036 wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
17037 bool result;
17038 PyObject * obj0 = 0 ;
17039 char *kwnames[] = {
17040 (char *) "self", NULL
17041 };
17042
17043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail;
15afbcd0
RD
17044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxActivateEvent,
17045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17046 {
17047 PyThreadState* __tstate = wxPyBeginAllowThreads();
17048 result = (bool)((wxActivateEvent const *)arg1)->GetActive();
17049
17050 wxPyEndAllowThreads(__tstate);
17051 if (PyErr_Occurred()) SWIG_fail;
17052 }
4f89f6a3
RD
17053 {
17054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17055 }
d14a1e28
RD
17056 return resultobj;
17057 fail:
17058 return NULL;
17059}
17060
17061
17062static PyObject * ActivateEvent_swigregister(PyObject *self, PyObject *args) {
17063 PyObject *obj;
17064 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17065 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj);
17066 Py_INCREF(obj);
17067 return Py_BuildValue((char *)"");
17068}
17069static PyObject *_wrap_new_InitDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17070 PyObject *resultobj;
17071 int arg1 = (int) 0 ;
17072 wxInitDialogEvent *result;
994141e6 17073 PyObject * obj0 = 0 ;
d14a1e28
RD
17074 char *kwnames[] = {
17075 (char *) "Id", NULL
17076 };
17077
994141e6
RD
17078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_InitDialogEvent",kwnames,&obj0)) goto fail;
17079 if (obj0) {
15afbcd0
RD
17080 arg1 = (int) SWIG_AsInt(obj0);
17081 if (PyErr_Occurred()) SWIG_fail;
994141e6 17082 }
d14a1e28
RD
17083 {
17084 PyThreadState* __tstate = wxPyBeginAllowThreads();
17085 result = (wxInitDialogEvent *)new wxInitDialogEvent(arg1);
17086
17087 wxPyEndAllowThreads(__tstate);
17088 if (PyErr_Occurred()) SWIG_fail;
17089 }
15afbcd0 17090 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInitDialogEvent, 1);
d14a1e28
RD
17091 return resultobj;
17092 fail:
17093 return NULL;
17094}
17095
17096
17097static PyObject * InitDialogEvent_swigregister(PyObject *self, PyObject *args) {
17098 PyObject *obj;
17099 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17100 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj);
17101 Py_INCREF(obj);
17102 return Py_BuildValue((char *)"");
17103}
17104static PyObject *_wrap_new_MenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17105 PyObject *resultobj;
17106 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17107 int arg2 = (int) 0 ;
17108 wxMenu *arg3 = (wxMenu *) NULL ;
17109 wxMenuEvent *result;
994141e6
RD
17110 PyObject * obj0 = 0 ;
17111 PyObject * obj1 = 0 ;
d14a1e28
RD
17112 PyObject * obj2 = 0 ;
17113 char *kwnames[] = {
17114 (char *) "type",(char *) "winid",(char *) "menu", NULL
17115 };
17116
994141e6
RD
17117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_MenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17118 if (obj0) {
15afbcd0
RD
17119 arg1 = (wxEventType) SWIG_AsInt(obj0);
17120 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17121 }
17122 if (obj1) {
15afbcd0
RD
17123 arg2 = (int) SWIG_AsInt(obj1);
17124 if (PyErr_Occurred()) SWIG_fail;
994141e6 17125 }
d14a1e28 17126 if (obj2) {
15afbcd0
RD
17127 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
17128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17129 }
17130 {
17131 PyThreadState* __tstate = wxPyBeginAllowThreads();
17132 result = (wxMenuEvent *)new wxMenuEvent(arg1,arg2,arg3);
17133
17134 wxPyEndAllowThreads(__tstate);
17135 if (PyErr_Occurred()) SWIG_fail;
17136 }
15afbcd0 17137 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenuEvent, 1);
d14a1e28
RD
17138 return resultobj;
17139 fail:
17140 return NULL;
17141}
17142
17143
17144static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *self, PyObject *args, PyObject *kwargs) {
17145 PyObject *resultobj;
17146 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17147 int result;
17148 PyObject * obj0 = 0 ;
17149 char *kwnames[] = {
17150 (char *) "self", NULL
17151 };
17152
17153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail;
15afbcd0
RD
17154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17156 {
17157 PyThreadState* __tstate = wxPyBeginAllowThreads();
17158 result = (int)((wxMenuEvent const *)arg1)->GetMenuId();
17159
17160 wxPyEndAllowThreads(__tstate);
17161 if (PyErr_Occurred()) SWIG_fail;
17162 }
15afbcd0 17163 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17164 return resultobj;
17165 fail:
17166 return NULL;
17167}
17168
17169
17170static PyObject *_wrap_MenuEvent_IsPopup(PyObject *self, PyObject *args, PyObject *kwargs) {
17171 PyObject *resultobj;
17172 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17173 bool result;
17174 PyObject * obj0 = 0 ;
17175 char *kwnames[] = {
17176 (char *) "self", NULL
17177 };
17178
17179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail;
15afbcd0
RD
17180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17182 {
17183 PyThreadState* __tstate = wxPyBeginAllowThreads();
17184 result = (bool)((wxMenuEvent const *)arg1)->IsPopup();
17185
17186 wxPyEndAllowThreads(__tstate);
17187 if (PyErr_Occurred()) SWIG_fail;
17188 }
4f89f6a3
RD
17189 {
17190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17191 }
d14a1e28
RD
17192 return resultobj;
17193 fail:
17194 return NULL;
17195}
17196
17197
17198static PyObject *_wrap_MenuEvent_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
17199 PyObject *resultobj;
17200 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17201 wxMenu *result;
17202 PyObject * obj0 = 0 ;
17203 char *kwnames[] = {
17204 (char *) "self", NULL
17205 };
17206
17207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
17208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17210 {
17211 PyThreadState* __tstate = wxPyBeginAllowThreads();
17212 result = (wxMenu *)((wxMenuEvent const *)arg1)->GetMenu();
17213
17214 wxPyEndAllowThreads(__tstate);
17215 if (PyErr_Occurred()) SWIG_fail;
17216 }
17217 {
17218 resultobj = wxPyMake_wxObject(result);
17219 }
17220 return resultobj;
17221 fail:
17222 return NULL;
17223}
17224
17225
17226static PyObject * MenuEvent_swigregister(PyObject *self, PyObject *args) {
17227 PyObject *obj;
17228 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17229 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj);
17230 Py_INCREF(obj);
17231 return Py_BuildValue((char *)"");
17232}
17233static PyObject *_wrap_new_CloseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17234 PyObject *resultobj;
17235 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17236 int arg2 = (int) 0 ;
17237 wxCloseEvent *result;
994141e6
RD
17238 PyObject * obj0 = 0 ;
17239 PyObject * obj1 = 0 ;
d14a1e28
RD
17240 char *kwnames[] = {
17241 (char *) "type",(char *) "winid", NULL
17242 };
17243
994141e6
RD
17244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CloseEvent",kwnames,&obj0,&obj1)) goto fail;
17245 if (obj0) {
15afbcd0
RD
17246 arg1 = (wxEventType) SWIG_AsInt(obj0);
17247 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17248 }
17249 if (obj1) {
15afbcd0
RD
17250 arg2 = (int) SWIG_AsInt(obj1);
17251 if (PyErr_Occurred()) SWIG_fail;
994141e6 17252 }
d14a1e28
RD
17253 {
17254 PyThreadState* __tstate = wxPyBeginAllowThreads();
17255 result = (wxCloseEvent *)new wxCloseEvent(arg1,arg2);
17256
17257 wxPyEndAllowThreads(__tstate);
17258 if (PyErr_Occurred()) SWIG_fail;
17259 }
15afbcd0 17260 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCloseEvent, 1);
d14a1e28
RD
17261 return resultobj;
17262 fail:
17263 return NULL;
17264}
17265
17266
17267static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
17268 PyObject *resultobj;
17269 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17270 bool arg2 ;
17271 PyObject * obj0 = 0 ;
17272 PyObject * obj1 = 0 ;
17273 char *kwnames[] = {
17274 (char *) "self",(char *) "logOff", NULL
17275 };
17276
17277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17280 arg2 = (bool) SWIG_AsBool(obj1);
17281 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17282 {
17283 PyThreadState* __tstate = wxPyBeginAllowThreads();
17284 (arg1)->SetLoggingOff(arg2);
17285
17286 wxPyEndAllowThreads(__tstate);
17287 if (PyErr_Occurred()) SWIG_fail;
17288 }
17289 Py_INCREF(Py_None); resultobj = Py_None;
17290 return resultobj;
17291 fail:
17292 return NULL;
17293}
17294
17295
17296static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
17297 PyObject *resultobj;
17298 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17299 bool result;
17300 PyObject * obj0 = 0 ;
17301 char *kwnames[] = {
17302 (char *) "self", NULL
17303 };
17304
17305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail;
15afbcd0
RD
17306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17308 {
17309 PyThreadState* __tstate = wxPyBeginAllowThreads();
17310 result = (bool)((wxCloseEvent const *)arg1)->GetLoggingOff();
17311
17312 wxPyEndAllowThreads(__tstate);
17313 if (PyErr_Occurred()) SWIG_fail;
17314 }
4f89f6a3
RD
17315 {
17316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17317 }
d14a1e28
RD
17318 return resultobj;
17319 fail:
17320 return NULL;
17321}
17322
17323
17324static PyObject *_wrap_CloseEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
17325 PyObject *resultobj;
17326 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
e811c8ce 17327 bool arg2 = (bool) True ;
d14a1e28
RD
17328 PyObject * obj0 = 0 ;
17329 PyObject * obj1 = 0 ;
17330 char *kwnames[] = {
17331 (char *) "self",(char *) "veto", NULL
17332 };
17333
17334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 17337 if (obj1) {
15afbcd0
RD
17338 arg2 = (bool) SWIG_AsBool(obj1);
17339 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17340 }
17341 {
17342 PyThreadState* __tstate = wxPyBeginAllowThreads();
17343 (arg1)->Veto(arg2);
17344
17345 wxPyEndAllowThreads(__tstate);
17346 if (PyErr_Occurred()) SWIG_fail;
17347 }
17348 Py_INCREF(Py_None); resultobj = Py_None;
17349 return resultobj;
17350 fail:
17351 return NULL;
17352}
17353
17354
17355static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17356 PyObject *resultobj;
17357 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17358 bool arg2 ;
17359 PyObject * obj0 = 0 ;
17360 PyObject * obj1 = 0 ;
17361 char *kwnames[] = {
17362 (char *) "self",(char *) "canVeto", NULL
17363 };
17364
17365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17368 arg2 = (bool) SWIG_AsBool(obj1);
17369 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17370 {
17371 PyThreadState* __tstate = wxPyBeginAllowThreads();
17372 (arg1)->SetCanVeto(arg2);
17373
17374 wxPyEndAllowThreads(__tstate);
17375 if (PyErr_Occurred()) SWIG_fail;
17376 }
17377 Py_INCREF(Py_None); resultobj = Py_None;
17378 return resultobj;
17379 fail:
17380 return NULL;
17381}
17382
17383
17384static PyObject *_wrap_CloseEvent_CanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17385 PyObject *resultobj;
17386 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17387 bool result;
17388 PyObject * obj0 = 0 ;
17389 char *kwnames[] = {
17390 (char *) "self", NULL
17391 };
17392
17393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
15afbcd0
RD
17394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17396 {
17397 PyThreadState* __tstate = wxPyBeginAllowThreads();
17398 result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
17399
17400 wxPyEndAllowThreads(__tstate);
17401 if (PyErr_Occurred()) SWIG_fail;
17402 }
4f89f6a3
RD
17403 {
17404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17405 }
d14a1e28
RD
17406 return resultobj;
17407 fail:
17408 return NULL;
17409}
17410
17411
17412static PyObject *_wrap_CloseEvent_GetVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17413 PyObject *resultobj;
17414 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17415 bool result;
17416 PyObject * obj0 = 0 ;
17417 char *kwnames[] = {
17418 (char *) "self", NULL
17419 };
17420
17421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
15afbcd0
RD
17422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17424 {
17425 PyThreadState* __tstate = wxPyBeginAllowThreads();
17426 result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
17427
17428 wxPyEndAllowThreads(__tstate);
17429 if (PyErr_Occurred()) SWIG_fail;
17430 }
4f89f6a3
RD
17431 {
17432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17433 }
d14a1e28
RD
17434 return resultobj;
17435 fail:
17436 return NULL;
17437}
17438
17439
17440static PyObject * CloseEvent_swigregister(PyObject *self, PyObject *args) {
17441 PyObject *obj;
17442 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17443 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj);
17444 Py_INCREF(obj);
17445 return Py_BuildValue((char *)"");
17446}
17447static PyObject *_wrap_new_ShowEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17448 PyObject *resultobj;
17449 int arg1 = (int) 0 ;
e811c8ce 17450 bool arg2 = (bool) False ;
d14a1e28 17451 wxShowEvent *result;
994141e6 17452 PyObject * obj0 = 0 ;
d14a1e28
RD
17453 PyObject * obj1 = 0 ;
17454 char *kwnames[] = {
17455 (char *) "winid",(char *) "show", NULL
17456 };
17457
994141e6
RD
17458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ShowEvent",kwnames,&obj0,&obj1)) goto fail;
17459 if (obj0) {
15afbcd0
RD
17460 arg1 = (int) SWIG_AsInt(obj0);
17461 if (PyErr_Occurred()) SWIG_fail;
994141e6 17462 }
d14a1e28 17463 if (obj1) {
15afbcd0
RD
17464 arg2 = (bool) SWIG_AsBool(obj1);
17465 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17466 }
17467 {
17468 PyThreadState* __tstate = wxPyBeginAllowThreads();
17469 result = (wxShowEvent *)new wxShowEvent(arg1,arg2);
17470
17471 wxPyEndAllowThreads(__tstate);
17472 if (PyErr_Occurred()) SWIG_fail;
17473 }
15afbcd0 17474 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxShowEvent, 1);
d14a1e28
RD
17475 return resultobj;
17476 fail:
17477 return NULL;
17478}
17479
17480
17481static PyObject *_wrap_ShowEvent_SetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
17482 PyObject *resultobj;
17483 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17484 bool arg2 ;
17485 PyObject * obj0 = 0 ;
17486 PyObject * obj1 = 0 ;
17487 char *kwnames[] = {
17488 (char *) "self",(char *) "show", NULL
17489 };
17490
17491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17494 arg2 = (bool) SWIG_AsBool(obj1);
17495 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17496 {
17497 PyThreadState* __tstate = wxPyBeginAllowThreads();
17498 (arg1)->SetShow(arg2);
17499
17500 wxPyEndAllowThreads(__tstate);
17501 if (PyErr_Occurred()) SWIG_fail;
17502 }
17503 Py_INCREF(Py_None); resultobj = Py_None;
17504 return resultobj;
17505 fail:
17506 return NULL;
17507}
17508
17509
17510static PyObject *_wrap_ShowEvent_GetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
17511 PyObject *resultobj;
17512 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17513 bool result;
17514 PyObject * obj0 = 0 ;
17515 char *kwnames[] = {
17516 (char *) "self", NULL
17517 };
17518
17519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail;
15afbcd0
RD
17520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17522 {
17523 PyThreadState* __tstate = wxPyBeginAllowThreads();
17524 result = (bool)((wxShowEvent const *)arg1)->GetShow();
17525
17526 wxPyEndAllowThreads(__tstate);
17527 if (PyErr_Occurred()) SWIG_fail;
17528 }
4f89f6a3
RD
17529 {
17530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17531 }
d14a1e28
RD
17532 return resultobj;
17533 fail:
17534 return NULL;
17535}
17536
17537
17538static PyObject * ShowEvent_swigregister(PyObject *self, PyObject *args) {
17539 PyObject *obj;
17540 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17541 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj);
17542 Py_INCREF(obj);
17543 return Py_BuildValue((char *)"");
17544}
17545static PyObject *_wrap_new_IconizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17546 PyObject *resultobj;
17547 int arg1 = (int) 0 ;
e811c8ce 17548 bool arg2 = (bool) True ;
d14a1e28 17549 wxIconizeEvent *result;
994141e6 17550 PyObject * obj0 = 0 ;
d14a1e28
RD
17551 PyObject * obj1 = 0 ;
17552 char *kwnames[] = {
17553 (char *) "id",(char *) "iconized", NULL
17554 };
17555
994141e6
RD
17556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconizeEvent",kwnames,&obj0,&obj1)) goto fail;
17557 if (obj0) {
15afbcd0
RD
17558 arg1 = (int) SWIG_AsInt(obj0);
17559 if (PyErr_Occurred()) SWIG_fail;
994141e6 17560 }
d14a1e28 17561 if (obj1) {
15afbcd0
RD
17562 arg2 = (bool) SWIG_AsBool(obj1);
17563 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17564 }
17565 {
17566 PyThreadState* __tstate = wxPyBeginAllowThreads();
17567 result = (wxIconizeEvent *)new wxIconizeEvent(arg1,arg2);
17568
17569 wxPyEndAllowThreads(__tstate);
17570 if (PyErr_Occurred()) SWIG_fail;
17571 }
15afbcd0 17572 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconizeEvent, 1);
d14a1e28
RD
17573 return resultobj;
17574 fail:
17575 return NULL;
17576}
17577
17578
17579static PyObject *_wrap_IconizeEvent_Iconized(PyObject *self, PyObject *args, PyObject *kwargs) {
17580 PyObject *resultobj;
17581 wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
17582 bool result;
17583 PyObject * obj0 = 0 ;
17584 char *kwnames[] = {
17585 (char *) "self", NULL
17586 };
17587
17588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail;
15afbcd0
RD
17589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconizeEvent,
17590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17591 {
17592 PyThreadState* __tstate = wxPyBeginAllowThreads();
17593 result = (bool)(arg1)->Iconized();
17594
17595 wxPyEndAllowThreads(__tstate);
17596 if (PyErr_Occurred()) SWIG_fail;
17597 }
4f89f6a3
RD
17598 {
17599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17600 }
d14a1e28
RD
17601 return resultobj;
17602 fail:
17603 return NULL;
17604}
17605
17606
17607static PyObject * IconizeEvent_swigregister(PyObject *self, PyObject *args) {
17608 PyObject *obj;
17609 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17610 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj);
17611 Py_INCREF(obj);
17612 return Py_BuildValue((char *)"");
17613}
17614static PyObject *_wrap_new_MaximizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17615 PyObject *resultobj;
17616 int arg1 = (int) 0 ;
17617 wxMaximizeEvent *result;
994141e6 17618 PyObject * obj0 = 0 ;
d14a1e28
RD
17619 char *kwnames[] = {
17620 (char *) "id", NULL
17621 };
17622
994141e6
RD
17623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MaximizeEvent",kwnames,&obj0)) goto fail;
17624 if (obj0) {
15afbcd0
RD
17625 arg1 = (int) SWIG_AsInt(obj0);
17626 if (PyErr_Occurred()) SWIG_fail;
994141e6 17627 }
d14a1e28
RD
17628 {
17629 PyThreadState* __tstate = wxPyBeginAllowThreads();
17630 result = (wxMaximizeEvent *)new wxMaximizeEvent(arg1);
17631
17632 wxPyEndAllowThreads(__tstate);
17633 if (PyErr_Occurred()) SWIG_fail;
17634 }
15afbcd0 17635 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMaximizeEvent, 1);
d14a1e28
RD
17636 return resultobj;
17637 fail:
17638 return NULL;
17639}
17640
17641
17642static PyObject * MaximizeEvent_swigregister(PyObject *self, PyObject *args) {
17643 PyObject *obj;
17644 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17645 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj);
17646 Py_INCREF(obj);
17647 return Py_BuildValue((char *)"");
17648}
17649static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17650 PyObject *resultobj;
17651 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17652 wxPoint result;
17653 PyObject * obj0 = 0 ;
17654 char *kwnames[] = {
17655 (char *) "self", NULL
17656 };
17657
17658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
17659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17661 {
17662 PyThreadState* __tstate = wxPyBeginAllowThreads();
17663 result = (arg1)->GetPosition();
17664
17665 wxPyEndAllowThreads(__tstate);
17666 if (PyErr_Occurred()) SWIG_fail;
17667 }
17668 {
17669 wxPoint * resultptr;
17670 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 17671 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
17672 }
17673 return resultobj;
17674 fail:
17675 return NULL;
17676}
17677
17678
17679static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
17680 PyObject *resultobj;
17681 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17682 int result;
17683 PyObject * obj0 = 0 ;
17684 char *kwnames[] = {
17685 (char *) "self", NULL
17686 };
17687
17688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail;
15afbcd0
RD
17689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17691 {
17692 PyThreadState* __tstate = wxPyBeginAllowThreads();
17693 result = (int)(arg1)->GetNumberOfFiles();
17694
17695 wxPyEndAllowThreads(__tstate);
17696 if (PyErr_Occurred()) SWIG_fail;
17697 }
15afbcd0 17698 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17699 return resultobj;
17700 fail:
17701 return NULL;
17702}
17703
17704
17705static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
17706 PyObject *resultobj;
17707 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17708 PyObject *result;
17709 PyObject * obj0 = 0 ;
17710 char *kwnames[] = {
17711 (char *) "self", NULL
17712 };
17713
17714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail;
15afbcd0
RD
17715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17717 {
17718 PyThreadState* __tstate = wxPyBeginAllowThreads();
17719 result = (PyObject *)wxDropFilesEvent_GetFiles(arg1);
17720
17721 wxPyEndAllowThreads(__tstate);
17722 if (PyErr_Occurred()) SWIG_fail;
17723 }
17724 resultobj = result;
17725 return resultobj;
17726 fail:
17727 return NULL;
17728}
17729
17730
17731static PyObject * DropFilesEvent_swigregister(PyObject *self, PyObject *args) {
17732 PyObject *obj;
17733 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17734 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj);
17735 Py_INCREF(obj);
17736 return Py_BuildValue((char *)"");
17737}
17738static PyObject *_wrap_new_UpdateUIEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17739 PyObject *resultobj;
e811c8ce 17740 int arg1 = (int) 0 ;
d14a1e28 17741 wxUpdateUIEvent *result;
994141e6 17742 PyObject * obj0 = 0 ;
d14a1e28
RD
17743 char *kwnames[] = {
17744 (char *) "commandId", NULL
17745 };
17746
994141e6
RD
17747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_UpdateUIEvent",kwnames,&obj0)) goto fail;
17748 if (obj0) {
15afbcd0
RD
17749 arg1 = (int) SWIG_AsInt(obj0);
17750 if (PyErr_Occurred()) SWIG_fail;
994141e6 17751 }
d14a1e28
RD
17752 {
17753 PyThreadState* __tstate = wxPyBeginAllowThreads();
17754 result = (wxUpdateUIEvent *)new wxUpdateUIEvent(arg1);
17755
17756 wxPyEndAllowThreads(__tstate);
17757 if (PyErr_Occurred()) SWIG_fail;
17758 }
15afbcd0 17759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxUpdateUIEvent, 1);
d14a1e28
RD
17760 return resultobj;
17761 fail:
17762 return NULL;
17763}
17764
17765
17766static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
17767 PyObject *resultobj;
17768 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17769 bool result;
17770 PyObject * obj0 = 0 ;
17771 char *kwnames[] = {
17772 (char *) "self", NULL
17773 };
17774
17775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
17776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17778 {
17779 PyThreadState* __tstate = wxPyBeginAllowThreads();
17780 result = (bool)((wxUpdateUIEvent const *)arg1)->GetChecked();
17781
17782 wxPyEndAllowThreads(__tstate);
17783 if (PyErr_Occurred()) SWIG_fail;
17784 }
4f89f6a3
RD
17785 {
17786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17787 }
d14a1e28
RD
17788 return resultobj;
17789 fail:
17790 return NULL;
17791}
17792
17793
17794static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17795 PyObject *resultobj;
17796 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17797 bool result;
17798 PyObject * obj0 = 0 ;
17799 char *kwnames[] = {
17800 (char *) "self", NULL
17801 };
17802
17803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
17804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17806 {
17807 PyThreadState* __tstate = wxPyBeginAllowThreads();
17808 result = (bool)((wxUpdateUIEvent const *)arg1)->GetEnabled();
17809
17810 wxPyEndAllowThreads(__tstate);
17811 if (PyErr_Occurred()) SWIG_fail;
17812 }
4f89f6a3
RD
17813 {
17814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17815 }
d14a1e28
RD
17816 return resultobj;
17817 fail:
17818 return NULL;
17819}
17820
17821
17822static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17823 PyObject *resultobj;
17824 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17825 wxString result;
17826 PyObject * obj0 = 0 ;
17827 char *kwnames[] = {
17828 (char *) "self", NULL
17829 };
17830
17831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
17832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17834 {
17835 PyThreadState* __tstate = wxPyBeginAllowThreads();
17836 result = ((wxUpdateUIEvent const *)arg1)->GetText();
17837
17838 wxPyEndAllowThreads(__tstate);
17839 if (PyErr_Occurred()) SWIG_fail;
17840 }
17841 {
17842#if wxUSE_UNICODE
17843 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17844#else
17845 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17846#endif
17847 }
17848 return resultobj;
17849 fail:
17850 return NULL;
17851}
17852
17853
17854static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17855 PyObject *resultobj;
17856 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17857 bool result;
17858 PyObject * obj0 = 0 ;
17859 char *kwnames[] = {
17860 (char *) "self", NULL
17861 };
17862
17863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
17864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17866 {
17867 PyThreadState* __tstate = wxPyBeginAllowThreads();
17868 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetText();
17869
17870 wxPyEndAllowThreads(__tstate);
17871 if (PyErr_Occurred()) SWIG_fail;
17872 }
4f89f6a3
RD
17873 {
17874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17875 }
d14a1e28
RD
17876 return resultobj;
17877 fail:
17878 return NULL;
17879}
17880
17881
17882static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
17883 PyObject *resultobj;
17884 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17885 bool result;
17886 PyObject * obj0 = 0 ;
17887 char *kwnames[] = {
17888 (char *) "self", NULL
17889 };
17890
17891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
17892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17894 {
17895 PyThreadState* __tstate = wxPyBeginAllowThreads();
17896 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetChecked();
17897
17898 wxPyEndAllowThreads(__tstate);
17899 if (PyErr_Occurred()) SWIG_fail;
17900 }
4f89f6a3
RD
17901 {
17902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17903 }
d14a1e28
RD
17904 return resultobj;
17905 fail:
17906 return NULL;
17907}
17908
17909
17910static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17911 PyObject *resultobj;
17912 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17913 bool result;
17914 PyObject * obj0 = 0 ;
17915 char *kwnames[] = {
17916 (char *) "self", NULL
17917 };
17918
17919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
17920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17922 {
17923 PyThreadState* __tstate = wxPyBeginAllowThreads();
17924 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetEnabled();
17925
17926 wxPyEndAllowThreads(__tstate);
17927 if (PyErr_Occurred()) SWIG_fail;
17928 }
4f89f6a3
RD
17929 {
17930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17931 }
d14a1e28
RD
17932 return resultobj;
17933 fail:
17934 return NULL;
17935}
17936
17937
17938static PyObject *_wrap_UpdateUIEvent_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
17939 PyObject *resultobj;
17940 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17941 bool arg2 ;
17942 PyObject * obj0 = 0 ;
17943 PyObject * obj1 = 0 ;
17944 char *kwnames[] = {
17945 (char *) "self",(char *) "check", NULL
17946 };
17947
17948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17951 arg2 = (bool) SWIG_AsBool(obj1);
17952 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17953 {
17954 PyThreadState* __tstate = wxPyBeginAllowThreads();
17955 (arg1)->Check(arg2);
17956
17957 wxPyEndAllowThreads(__tstate);
17958 if (PyErr_Occurred()) SWIG_fail;
17959 }
17960 Py_INCREF(Py_None); resultobj = Py_None;
17961 return resultobj;
17962 fail:
17963 return NULL;
17964}
17965
17966
17967static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
17968 PyObject *resultobj;
17969 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17970 bool arg2 ;
17971 PyObject * obj0 = 0 ;
17972 PyObject * obj1 = 0 ;
17973 char *kwnames[] = {
17974 (char *) "self",(char *) "enable", NULL
17975 };
17976
17977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17980 arg2 = (bool) SWIG_AsBool(obj1);
17981 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17982 {
17983 PyThreadState* __tstate = wxPyBeginAllowThreads();
17984 (arg1)->Enable(arg2);
17985
17986 wxPyEndAllowThreads(__tstate);
17987 if (PyErr_Occurred()) SWIG_fail;
17988 }
17989 Py_INCREF(Py_None); resultobj = Py_None;
17990 return resultobj;
17991 fail:
17992 return NULL;
17993}
17994
17995
17996static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17997 PyObject *resultobj;
17998 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17999 wxString *arg2 = 0 ;
e811c8ce 18000 bool temp2 = False ;
d14a1e28
RD
18001 PyObject * obj0 = 0 ;
18002 PyObject * obj1 = 0 ;
18003 char *kwnames[] = {
18004 (char *) "self",(char *) "text", NULL
18005 };
18006
18007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18010 {
18011 arg2 = wxString_in_helper(obj1);
18012 if (arg2 == NULL) SWIG_fail;
e811c8ce 18013 temp2 = True;
d14a1e28
RD
18014 }
18015 {
18016 PyThreadState* __tstate = wxPyBeginAllowThreads();
18017 (arg1)->SetText((wxString const &)*arg2);
18018
18019 wxPyEndAllowThreads(__tstate);
18020 if (PyErr_Occurred()) SWIG_fail;
18021 }
18022 Py_INCREF(Py_None); resultobj = Py_None;
18023 {
18024 if (temp2)
18025 delete arg2;
18026 }
18027 return resultobj;
18028 fail:
18029 {
18030 if (temp2)
18031 delete arg2;
18032 }
18033 return NULL;
18034}
18035
18036
18037static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
18038 PyObject *resultobj;
18039 long arg1 ;
994141e6 18040 PyObject * obj0 = 0 ;
d14a1e28
RD
18041 char *kwnames[] = {
18042 (char *) "updateInterval", NULL
18043 };
18044
994141e6 18045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames,&obj0)) goto fail;
15afbcd0
RD
18046 arg1 = (long) SWIG_AsLong(obj0);
18047 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18048 {
18049 PyThreadState* __tstate = wxPyBeginAllowThreads();
18050 wxUpdateUIEvent::SetUpdateInterval(arg1);
18051
18052 wxPyEndAllowThreads(__tstate);
18053 if (PyErr_Occurred()) SWIG_fail;
18054 }
18055 Py_INCREF(Py_None); resultobj = Py_None;
18056 return resultobj;
18057 fail:
18058 return NULL;
18059}
18060
18061
18062static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
18063 PyObject *resultobj;
18064 long result;
18065 char *kwnames[] = {
18066 NULL
18067 };
18068
18069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail;
18070 {
18071 PyThreadState* __tstate = wxPyBeginAllowThreads();
18072 result = (long)wxUpdateUIEvent::GetUpdateInterval();
18073
18074 wxPyEndAllowThreads(__tstate);
18075 if (PyErr_Occurred()) SWIG_fail;
18076 }
15afbcd0 18077 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
18078 return resultobj;
18079 fail:
18080 return NULL;
18081}
18082
18083
18084static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *self, PyObject *args, PyObject *kwargs) {
18085 PyObject *resultobj;
18086 wxWindow *arg1 = (wxWindow *) 0 ;
18087 bool result;
18088 PyObject * obj0 = 0 ;
18089 char *kwnames[] = {
18090 (char *) "win", NULL
18091 };
18092
18093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail;
15afbcd0
RD
18094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18096 {
18097 PyThreadState* __tstate = wxPyBeginAllowThreads();
18098 result = (bool)wxUpdateUIEvent::CanUpdate(arg1);
18099
18100 wxPyEndAllowThreads(__tstate);
18101 if (PyErr_Occurred()) SWIG_fail;
18102 }
4f89f6a3
RD
18103 {
18104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18105 }
d14a1e28
RD
18106 return resultobj;
18107 fail:
18108 return NULL;
18109}
18110
18111
18112static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18113 PyObject *resultobj;
18114 char *kwnames[] = {
18115 NULL
18116 };
18117
18118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail;
18119 {
18120 PyThreadState* __tstate = wxPyBeginAllowThreads();
18121 wxUpdateUIEvent::ResetUpdateTime();
18122
18123 wxPyEndAllowThreads(__tstate);
18124 if (PyErr_Occurred()) SWIG_fail;
18125 }
18126 Py_INCREF(Py_None); resultobj = Py_None;
18127 return resultobj;
18128 fail:
18129 return NULL;
18130}
18131
18132
18133static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18134 PyObject *resultobj;
18135 int arg1 ;
994141e6 18136 PyObject * obj0 = 0 ;
d14a1e28
RD
18137 char *kwnames[] = {
18138 (char *) "mode", NULL
18139 };
18140
994141e6 18141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
18142 arg1 = (wxUpdateUIMode) SWIG_AsInt(obj0);
18143 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18144 {
18145 PyThreadState* __tstate = wxPyBeginAllowThreads();
18146 wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1);
18147
18148 wxPyEndAllowThreads(__tstate);
18149 if (PyErr_Occurred()) SWIG_fail;
18150 }
18151 Py_INCREF(Py_None); resultobj = Py_None;
18152 return resultobj;
18153 fail:
18154 return NULL;
18155}
18156
18157
18158static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18159 PyObject *resultobj;
18160 int result;
18161 char *kwnames[] = {
18162 NULL
18163 };
18164
18165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail;
18166 {
18167 PyThreadState* __tstate = wxPyBeginAllowThreads();
18168 result = (int)wxUpdateUIEvent::GetMode();
18169
18170 wxPyEndAllowThreads(__tstate);
18171 if (PyErr_Occurred()) SWIG_fail;
18172 }
15afbcd0 18173 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18174 return resultobj;
18175 fail:
18176 return NULL;
18177}
18178
18179
18180static PyObject * UpdateUIEvent_swigregister(PyObject *self, PyObject *args) {
18181 PyObject *obj;
18182 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18183 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj);
18184 Py_INCREF(obj);
18185 return Py_BuildValue((char *)"");
18186}
18187static PyObject *_wrap_new_SysColourChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18188 PyObject *resultobj;
18189 wxSysColourChangedEvent *result;
18190 char *kwnames[] = {
18191 NULL
18192 };
18193
18194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail;
18195 {
18196 PyThreadState* __tstate = wxPyBeginAllowThreads();
18197 result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent();
18198
18199 wxPyEndAllowThreads(__tstate);
18200 if (PyErr_Occurred()) SWIG_fail;
18201 }
15afbcd0 18202 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSysColourChangedEvent, 1);
d14a1e28
RD
18203 return resultobj;
18204 fail:
18205 return NULL;
18206}
18207
18208
18209static PyObject * SysColourChangedEvent_swigregister(PyObject *self, PyObject *args) {
18210 PyObject *obj;
18211 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18212 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj);
18213 Py_INCREF(obj);
18214 return Py_BuildValue((char *)"");
18215}
18216static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18217 PyObject *resultobj;
e811c8ce 18218 int arg1 = (int) 0 ;
d14a1e28
RD
18219 wxWindow *arg2 = (wxWindow *) NULL ;
18220 wxMouseCaptureChangedEvent *result;
994141e6 18221 PyObject * obj0 = 0 ;
d14a1e28
RD
18222 PyObject * obj1 = 0 ;
18223 char *kwnames[] = {
18224 (char *) "winid",(char *) "gainedCapture", NULL
18225 };
18226
994141e6
RD
18227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames,&obj0,&obj1)) goto fail;
18228 if (obj0) {
15afbcd0
RD
18229 arg1 = (int) SWIG_AsInt(obj0);
18230 if (PyErr_Occurred()) SWIG_fail;
994141e6 18231 }
d14a1e28 18232 if (obj1) {
15afbcd0
RD
18233 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18235 }
18236 {
18237 PyThreadState* __tstate = wxPyBeginAllowThreads();
18238 result = (wxMouseCaptureChangedEvent *)new wxMouseCaptureChangedEvent(arg1,arg2);
18239
18240 wxPyEndAllowThreads(__tstate);
18241 if (PyErr_Occurred()) SWIG_fail;
18242 }
15afbcd0 18243 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseCaptureChangedEvent, 1);
d14a1e28
RD
18244 return resultobj;
18245 fail:
18246 return NULL;
18247}
18248
18249
18250static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18251 PyObject *resultobj;
18252 wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
18253 wxWindow *result;
18254 PyObject * obj0 = 0 ;
18255 char *kwnames[] = {
18256 (char *) "self", NULL
18257 };
18258
18259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseCaptureChangedEvent,
18261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18262 {
18263 PyThreadState* __tstate = wxPyBeginAllowThreads();
18264 result = (wxWindow *)((wxMouseCaptureChangedEvent const *)arg1)->GetCapturedWindow();
18265
18266 wxPyEndAllowThreads(__tstate);
18267 if (PyErr_Occurred()) SWIG_fail;
18268 }
18269 {
18270 resultobj = wxPyMake_wxObject(result);
18271 }
18272 return resultobj;
18273 fail:
18274 return NULL;
18275}
18276
18277
18278static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *self, PyObject *args) {
18279 PyObject *obj;
18280 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18281 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj);
18282 Py_INCREF(obj);
18283 return Py_BuildValue((char *)"");
18284}
18285static PyObject *_wrap_new_DisplayChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18286 PyObject *resultobj;
18287 wxDisplayChangedEvent *result;
18288 char *kwnames[] = {
18289 NULL
18290 };
18291
18292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail;
18293 {
18294 PyThreadState* __tstate = wxPyBeginAllowThreads();
18295 result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent();
18296
18297 wxPyEndAllowThreads(__tstate);
18298 if (PyErr_Occurred()) SWIG_fail;
18299 }
15afbcd0 18300 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplayChangedEvent, 1);
d14a1e28
RD
18301 return resultobj;
18302 fail:
18303 return NULL;
18304}
18305
18306
18307static PyObject * DisplayChangedEvent_swigregister(PyObject *self, PyObject *args) {
18308 PyObject *obj;
18309 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18310 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj);
18311 Py_INCREF(obj);
18312 return Py_BuildValue((char *)"");
18313}
18314static PyObject *_wrap_new_PaletteChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18315 PyObject *resultobj;
e811c8ce 18316 int arg1 = (int) 0 ;
d14a1e28 18317 wxPaletteChangedEvent *result;
994141e6 18318 PyObject * obj0 = 0 ;
d14a1e28
RD
18319 char *kwnames[] = {
18320 (char *) "id", NULL
18321 };
18322
994141e6
RD
18323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaletteChangedEvent",kwnames,&obj0)) goto fail;
18324 if (obj0) {
15afbcd0
RD
18325 arg1 = (int) SWIG_AsInt(obj0);
18326 if (PyErr_Occurred()) SWIG_fail;
994141e6 18327 }
d14a1e28
RD
18328 {
18329 PyThreadState* __tstate = wxPyBeginAllowThreads();
18330 result = (wxPaletteChangedEvent *)new wxPaletteChangedEvent(arg1);
18331
18332 wxPyEndAllowThreads(__tstate);
18333 if (PyErr_Occurred()) SWIG_fail;
18334 }
15afbcd0 18335 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaletteChangedEvent, 1);
d14a1e28
RD
18336 return resultobj;
18337 fail:
18338 return NULL;
18339}
18340
18341
18342static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18343 PyObject *resultobj;
18344 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18345 wxWindow *arg2 = (wxWindow *) 0 ;
18346 PyObject * obj0 = 0 ;
18347 PyObject * obj1 = 0 ;
18348 char *kwnames[] = {
18349 (char *) "self",(char *) "win", NULL
18350 };
18351
18352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18355 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18357 {
18358 PyThreadState* __tstate = wxPyBeginAllowThreads();
18359 (arg1)->SetChangedWindow(arg2);
18360
18361 wxPyEndAllowThreads(__tstate);
18362 if (PyErr_Occurred()) SWIG_fail;
18363 }
18364 Py_INCREF(Py_None); resultobj = Py_None;
18365 return resultobj;
18366 fail:
18367 return NULL;
18368}
18369
18370
18371static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18372 PyObject *resultobj;
18373 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18374 wxWindow *result;
18375 PyObject * obj0 = 0 ;
18376 char *kwnames[] = {
18377 (char *) "self", NULL
18378 };
18379
18380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18383 {
18384 PyThreadState* __tstate = wxPyBeginAllowThreads();
18385 result = (wxWindow *)(arg1)->GetChangedWindow();
18386
18387 wxPyEndAllowThreads(__tstate);
18388 if (PyErr_Occurred()) SWIG_fail;
18389 }
18390 {
18391 resultobj = wxPyMake_wxObject(result);
18392 }
18393 return resultobj;
18394 fail:
18395 return NULL;
18396}
18397
18398
18399static PyObject * PaletteChangedEvent_swigregister(PyObject *self, PyObject *args) {
18400 PyObject *obj;
18401 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18402 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj);
18403 Py_INCREF(obj);
18404 return Py_BuildValue((char *)"");
18405}
18406static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18407 PyObject *resultobj;
e811c8ce 18408 int arg1 = (int) 0 ;
d14a1e28 18409 wxQueryNewPaletteEvent *result;
994141e6 18410 PyObject * obj0 = 0 ;
d14a1e28
RD
18411 char *kwnames[] = {
18412 (char *) "winid", NULL
18413 };
18414
994141e6
RD
18415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryNewPaletteEvent",kwnames,&obj0)) goto fail;
18416 if (obj0) {
15afbcd0
RD
18417 arg1 = (int) SWIG_AsInt(obj0);
18418 if (PyErr_Occurred()) SWIG_fail;
994141e6 18419 }
d14a1e28
RD
18420 {
18421 PyThreadState* __tstate = wxPyBeginAllowThreads();
18422 result = (wxQueryNewPaletteEvent *)new wxQueryNewPaletteEvent(arg1);
18423
18424 wxPyEndAllowThreads(__tstate);
18425 if (PyErr_Occurred()) SWIG_fail;
18426 }
15afbcd0 18427 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryNewPaletteEvent, 1);
d14a1e28
RD
18428 return resultobj;
18429 fail:
18430 return NULL;
18431}
18432
18433
18434static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
18435 PyObject *resultobj;
18436 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18437 bool arg2 ;
18438 PyObject * obj0 = 0 ;
18439 PyObject * obj1 = 0 ;
18440 char *kwnames[] = {
18441 (char *) "self",(char *) "realized", NULL
18442 };
18443
18444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18447 arg2 = (bool) SWIG_AsBool(obj1);
18448 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18449 {
18450 PyThreadState* __tstate = wxPyBeginAllowThreads();
18451 (arg1)->SetPaletteRealized(arg2);
18452
18453 wxPyEndAllowThreads(__tstate);
18454 if (PyErr_Occurred()) SWIG_fail;
18455 }
18456 Py_INCREF(Py_None); resultobj = Py_None;
18457 return resultobj;
18458 fail:
18459 return NULL;
18460}
18461
18462
18463static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
18464 PyObject *resultobj;
18465 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18466 bool result;
18467 PyObject * obj0 = 0 ;
18468 char *kwnames[] = {
18469 (char *) "self", NULL
18470 };
18471
18472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail;
15afbcd0
RD
18473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18475 {
18476 PyThreadState* __tstate = wxPyBeginAllowThreads();
18477 result = (bool)((wxQueryNewPaletteEvent const *)arg1)->GetPaletteRealized();
18478
18479 wxPyEndAllowThreads(__tstate);
18480 if (PyErr_Occurred()) SWIG_fail;
18481 }
4f89f6a3
RD
18482 {
18483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18484 }
d14a1e28
RD
18485 return resultobj;
18486 fail:
18487 return NULL;
18488}
18489
18490
18491static PyObject * QueryNewPaletteEvent_swigregister(PyObject *self, PyObject *args) {
18492 PyObject *obj;
18493 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18494 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj);
18495 Py_INCREF(obj);
18496 return Py_BuildValue((char *)"");
18497}
18498static PyObject *_wrap_new_NavigationKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18499 PyObject *resultobj;
18500 wxNavigationKeyEvent *result;
18501 char *kwnames[] = {
18502 NULL
18503 };
18504
18505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail;
18506 {
18507 PyThreadState* __tstate = wxPyBeginAllowThreads();
18508 result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent();
18509
18510 wxPyEndAllowThreads(__tstate);
18511 if (PyErr_Occurred()) SWIG_fail;
18512 }
15afbcd0 18513 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNavigationKeyEvent, 1);
d14a1e28
RD
18514 return resultobj;
18515 fail:
18516 return NULL;
18517}
18518
18519
18520static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
18521 PyObject *resultobj;
18522 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18523 bool result;
18524 PyObject * obj0 = 0 ;
18525 char *kwnames[] = {
18526 (char *) "self", NULL
18527 };
18528
18529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail;
15afbcd0
RD
18530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18532 {
18533 PyThreadState* __tstate = wxPyBeginAllowThreads();
18534 result = (bool)((wxNavigationKeyEvent const *)arg1)->GetDirection();
18535
18536 wxPyEndAllowThreads(__tstate);
18537 if (PyErr_Occurred()) SWIG_fail;
18538 }
4f89f6a3
RD
18539 {
18540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18541 }
d14a1e28
RD
18542 return resultobj;
18543 fail:
18544 return NULL;
18545}
18546
18547
18548static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
18549 PyObject *resultobj;
18550 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18551 bool arg2 ;
18552 PyObject * obj0 = 0 ;
18553 PyObject * obj1 = 0 ;
18554 char *kwnames[] = {
18555 (char *) "self",(char *) "bForward", NULL
18556 };
18557
18558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18561 arg2 = (bool) SWIG_AsBool(obj1);
18562 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18563 {
18564 PyThreadState* __tstate = wxPyBeginAllowThreads();
18565 (arg1)->SetDirection(arg2);
18566
18567 wxPyEndAllowThreads(__tstate);
18568 if (PyErr_Occurred()) SWIG_fail;
18569 }
18570 Py_INCREF(Py_None); resultobj = Py_None;
18571 return resultobj;
18572 fail:
18573 return NULL;
18574}
18575
18576
18577static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
18578 PyObject *resultobj;
18579 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18580 bool result;
18581 PyObject * obj0 = 0 ;
18582 char *kwnames[] = {
18583 (char *) "self", NULL
18584 };
18585
18586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail;
15afbcd0
RD
18587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18589 {
18590 PyThreadState* __tstate = wxPyBeginAllowThreads();
18591 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsWindowChange();
18592
18593 wxPyEndAllowThreads(__tstate);
18594 if (PyErr_Occurred()) SWIG_fail;
18595 }
4f89f6a3
RD
18596 {
18597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18598 }
d14a1e28
RD
18599 return resultobj;
18600 fail:
18601 return NULL;
18602}
18603
18604
18605static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
18606 PyObject *resultobj;
18607 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18608 bool arg2 ;
18609 PyObject * obj0 = 0 ;
18610 PyObject * obj1 = 0 ;
18611 char *kwnames[] = {
18612 (char *) "self",(char *) "bIs", NULL
18613 };
18614
18615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18618 arg2 = (bool) SWIG_AsBool(obj1);
18619 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18620 {
18621 PyThreadState* __tstate = wxPyBeginAllowThreads();
18622 (arg1)->SetWindowChange(arg2);
18623
18624 wxPyEndAllowThreads(__tstate);
18625 if (PyErr_Occurred()) SWIG_fail;
18626 }
18627 Py_INCREF(Py_None); resultobj = Py_None;
18628 return resultobj;
18629 fail:
18630 return NULL;
18631}
18632
18633
18634static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
18635 PyObject *resultobj;
18636 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18637 wxWindow *result;
18638 PyObject * obj0 = 0 ;
18639 char *kwnames[] = {
18640 (char *) "self", NULL
18641 };
18642
18643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
18644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18646 {
18647 PyThreadState* __tstate = wxPyBeginAllowThreads();
18648 result = (wxWindow *)((wxNavigationKeyEvent const *)arg1)->GetCurrentFocus();
18649
18650 wxPyEndAllowThreads(__tstate);
18651 if (PyErr_Occurred()) SWIG_fail;
18652 }
18653 {
18654 resultobj = wxPyMake_wxObject(result);
18655 }
18656 return resultobj;
18657 fail:
18658 return NULL;
18659}
18660
18661
18662static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
18663 PyObject *resultobj;
18664 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18665 wxWindow *arg2 = (wxWindow *) 0 ;
18666 PyObject * obj0 = 0 ;
18667 PyObject * obj1 = 0 ;
18668 char *kwnames[] = {
18669 (char *) "self",(char *) "win", NULL
18670 };
18671
18672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18675 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18677 {
18678 PyThreadState* __tstate = wxPyBeginAllowThreads();
18679 (arg1)->SetCurrentFocus(arg2);
18680
18681 wxPyEndAllowThreads(__tstate);
18682 if (PyErr_Occurred()) SWIG_fail;
18683 }
18684 Py_INCREF(Py_None); resultobj = Py_None;
18685 return resultobj;
18686 fail:
18687 return NULL;
18688}
18689
18690
18691static PyObject * NavigationKeyEvent_swigregister(PyObject *self, PyObject *args) {
18692 PyObject *obj;
18693 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18694 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj);
18695 Py_INCREF(obj);
18696 return Py_BuildValue((char *)"");
18697}
18698static PyObject *_wrap_new_WindowCreateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18699 PyObject *resultobj;
18700 wxWindow *arg1 = (wxWindow *) NULL ;
18701 wxWindowCreateEvent *result;
18702 PyObject * obj0 = 0 ;
18703 char *kwnames[] = {
18704 (char *) "win", NULL
18705 };
18706
18707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail;
18708 if (obj0) {
15afbcd0
RD
18709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18711 }
18712 {
18713 PyThreadState* __tstate = wxPyBeginAllowThreads();
18714 result = (wxWindowCreateEvent *)new wxWindowCreateEvent(arg1);
18715
18716 wxPyEndAllowThreads(__tstate);
18717 if (PyErr_Occurred()) SWIG_fail;
18718 }
15afbcd0 18719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowCreateEvent, 1);
d14a1e28
RD
18720 return resultobj;
18721 fail:
18722 return NULL;
18723}
18724
18725
18726static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18727 PyObject *resultobj;
18728 wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
18729 wxWindow *result;
18730 PyObject * obj0 = 0 ;
18731 char *kwnames[] = {
18732 (char *) "self", NULL
18733 };
18734
18735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowCreateEvent,
18737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18738 {
18739 PyThreadState* __tstate = wxPyBeginAllowThreads();
18740 result = (wxWindow *)((wxWindowCreateEvent const *)arg1)->GetWindow();
18741
18742 wxPyEndAllowThreads(__tstate);
18743 if (PyErr_Occurred()) SWIG_fail;
18744 }
18745 {
18746 resultobj = wxPyMake_wxObject(result);
18747 }
18748 return resultobj;
18749 fail:
18750 return NULL;
18751}
18752
18753
18754static PyObject * WindowCreateEvent_swigregister(PyObject *self, PyObject *args) {
18755 PyObject *obj;
18756 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18757 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj);
18758 Py_INCREF(obj);
18759 return Py_BuildValue((char *)"");
18760}
18761static PyObject *_wrap_new_WindowDestroyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18762 PyObject *resultobj;
18763 wxWindow *arg1 = (wxWindow *) NULL ;
18764 wxWindowDestroyEvent *result;
18765 PyObject * obj0 = 0 ;
18766 char *kwnames[] = {
18767 (char *) "win", NULL
18768 };
18769
18770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail;
18771 if (obj0) {
15afbcd0
RD
18772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18774 }
18775 {
18776 PyThreadState* __tstate = wxPyBeginAllowThreads();
18777 result = (wxWindowDestroyEvent *)new wxWindowDestroyEvent(arg1);
18778
18779 wxPyEndAllowThreads(__tstate);
18780 if (PyErr_Occurred()) SWIG_fail;
18781 }
15afbcd0 18782 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDestroyEvent, 1);
d14a1e28
RD
18783 return resultobj;
18784 fail:
18785 return NULL;
18786}
18787
18788
18789static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18790 PyObject *resultobj;
18791 wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
18792 wxWindow *result;
18793 PyObject * obj0 = 0 ;
18794 char *kwnames[] = {
18795 (char *) "self", NULL
18796 };
18797
18798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDestroyEvent,
18800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18801 {
18802 PyThreadState* __tstate = wxPyBeginAllowThreads();
18803 result = (wxWindow *)((wxWindowDestroyEvent const *)arg1)->GetWindow();
18804
18805 wxPyEndAllowThreads(__tstate);
18806 if (PyErr_Occurred()) SWIG_fail;
18807 }
18808 {
18809 resultobj = wxPyMake_wxObject(result);
18810 }
18811 return resultobj;
18812 fail:
18813 return NULL;
18814}
18815
18816
18817static PyObject * WindowDestroyEvent_swigregister(PyObject *self, PyObject *args) {
18818 PyObject *obj;
18819 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18820 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj);
18821 Py_INCREF(obj);
18822 return Py_BuildValue((char *)"");
18823}
18824static PyObject *_wrap_new_ContextMenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18825 PyObject *resultobj;
18826 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 18827 int arg2 = (int) 0 ;
d14a1e28
RD
18828 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18829 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18830 wxContextMenuEvent *result;
18831 wxPoint temp3 ;
994141e6
RD
18832 PyObject * obj0 = 0 ;
18833 PyObject * obj1 = 0 ;
d14a1e28
RD
18834 PyObject * obj2 = 0 ;
18835 char *kwnames[] = {
18836 (char *) "type",(char *) "winid",(char *) "pt", NULL
18837 };
18838
994141e6
RD
18839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ContextMenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
18840 if (obj0) {
15afbcd0
RD
18841 arg1 = (wxEventType) SWIG_AsInt(obj0);
18842 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18843 }
18844 if (obj1) {
15afbcd0
RD
18845 arg2 = (int) SWIG_AsInt(obj1);
18846 if (PyErr_Occurred()) SWIG_fail;
994141e6 18847 }
d14a1e28
RD
18848 if (obj2) {
18849 {
18850 arg3 = &temp3;
18851 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18852 }
18853 }
18854 {
18855 PyThreadState* __tstate = wxPyBeginAllowThreads();
18856 result = (wxContextMenuEvent *)new wxContextMenuEvent(arg1,arg2,(wxPoint const &)*arg3);
18857
18858 wxPyEndAllowThreads(__tstate);
18859 if (PyErr_Occurred()) SWIG_fail;
18860 }
15afbcd0 18861 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextMenuEvent, 1);
d14a1e28
RD
18862 return resultobj;
18863 fail:
18864 return NULL;
18865}
18866
18867
18868static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18869 PyObject *resultobj;
18870 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
18871 wxPoint *result;
18872 PyObject * obj0 = 0 ;
18873 char *kwnames[] = {
18874 (char *) "self", NULL
18875 };
18876
18877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
18878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
18879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18880 {
18881 PyThreadState* __tstate = wxPyBeginAllowThreads();
18882 {
18883 wxPoint const &_result_ref = ((wxContextMenuEvent const *)arg1)->GetPosition();
18884 result = (wxPoint *) &_result_ref;
18885 }
18886
18887 wxPyEndAllowThreads(__tstate);
18888 if (PyErr_Occurred()) SWIG_fail;
18889 }
15afbcd0 18890 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
18891 return resultobj;
18892 fail:
18893 return NULL;
18894}
18895
18896
18897static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18898 PyObject *resultobj;
18899 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
18900 wxPoint *arg2 = 0 ;
18901 wxPoint temp2 ;
18902 PyObject * obj0 = 0 ;
18903 PyObject * obj1 = 0 ;
18904 char *kwnames[] = {
18905 (char *) "self",(char *) "pos", NULL
18906 };
18907
18908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
18910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18911 {
18912 arg2 = &temp2;
18913 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18914 }
18915 {
18916 PyThreadState* __tstate = wxPyBeginAllowThreads();
18917 (arg1)->SetPosition((wxPoint const &)*arg2);
18918
18919 wxPyEndAllowThreads(__tstate);
18920 if (PyErr_Occurred()) SWIG_fail;
18921 }
18922 Py_INCREF(Py_None); resultobj = Py_None;
18923 return resultobj;
18924 fail:
18925 return NULL;
18926}
18927
18928
18929static PyObject * ContextMenuEvent_swigregister(PyObject *self, PyObject *args) {
18930 PyObject *obj;
18931 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18932 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj);
18933 Py_INCREF(obj);
18934 return Py_BuildValue((char *)"");
18935}
18936static PyObject *_wrap_new_IdleEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18937 PyObject *resultobj;
18938 wxIdleEvent *result;
18939 char *kwnames[] = {
18940 NULL
18941 };
18942
18943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail;
18944 {
18945 PyThreadState* __tstate = wxPyBeginAllowThreads();
18946 result = (wxIdleEvent *)new wxIdleEvent();
18947
18948 wxPyEndAllowThreads(__tstate);
18949 if (PyErr_Occurred()) SWIG_fail;
18950 }
15afbcd0 18951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIdleEvent, 1);
d14a1e28
RD
18952 return resultobj;
18953 fail:
18954 return NULL;
18955}
18956
18957
18958static PyObject *_wrap_IdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) {
18959 PyObject *resultobj;
18960 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
e811c8ce 18961 bool arg2 = (bool) True ;
d14a1e28
RD
18962 PyObject * obj0 = 0 ;
18963 PyObject * obj1 = 0 ;
18964 char *kwnames[] = {
18965 (char *) "self",(char *) "needMore", NULL
18966 };
18967
18968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
18970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 18971 if (obj1) {
15afbcd0
RD
18972 arg2 = (bool) SWIG_AsBool(obj1);
18973 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18974 }
18975 {
18976 PyThreadState* __tstate = wxPyBeginAllowThreads();
18977 (arg1)->RequestMore(arg2);
18978
18979 wxPyEndAllowThreads(__tstate);
18980 if (PyErr_Occurred()) SWIG_fail;
18981 }
18982 Py_INCREF(Py_None); resultobj = Py_None;
18983 return resultobj;
18984 fail:
18985 return NULL;
18986}
18987
18988
18989static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *self, PyObject *args, PyObject *kwargs) {
18990 PyObject *resultobj;
18991 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
18992 bool result;
18993 PyObject * obj0 = 0 ;
18994 char *kwnames[] = {
18995 (char *) "self", NULL
18996 };
18997
18998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail;
15afbcd0
RD
18999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
19000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19001 {
19002 PyThreadState* __tstate = wxPyBeginAllowThreads();
19003 result = (bool)((wxIdleEvent const *)arg1)->MoreRequested();
19004
19005 wxPyEndAllowThreads(__tstate);
19006 if (PyErr_Occurred()) SWIG_fail;
19007 }
4f89f6a3
RD
19008 {
19009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19010 }
d14a1e28
RD
19011 return resultobj;
19012 fail:
19013 return NULL;
19014}
19015
19016
19017static PyObject *_wrap_IdleEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19018 PyObject *resultobj;
19019 int arg1 ;
994141e6 19020 PyObject * obj0 = 0 ;
d14a1e28
RD
19021 char *kwnames[] = {
19022 (char *) "mode", NULL
19023 };
19024
994141e6 19025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_SetMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
19026 arg1 = (wxIdleMode) SWIG_AsInt(obj0);
19027 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19028 {
19029 PyThreadState* __tstate = wxPyBeginAllowThreads();
19030 wxIdleEvent::SetMode((wxIdleMode )arg1);
19031
19032 wxPyEndAllowThreads(__tstate);
19033 if (PyErr_Occurred()) SWIG_fail;
19034 }
19035 Py_INCREF(Py_None); resultobj = Py_None;
19036 return resultobj;
19037 fail:
19038 return NULL;
19039}
19040
19041
19042static PyObject *_wrap_IdleEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19043 PyObject *resultobj;
19044 int result;
19045 char *kwnames[] = {
19046 NULL
19047 };
19048
19049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail;
19050 {
19051 PyThreadState* __tstate = wxPyBeginAllowThreads();
19052 result = (int)wxIdleEvent::GetMode();
19053
19054 wxPyEndAllowThreads(__tstate);
19055 if (PyErr_Occurred()) SWIG_fail;
19056 }
15afbcd0 19057 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19058 return resultobj;
19059 fail:
19060 return NULL;
19061}
19062
19063
19064static PyObject *_wrap_IdleEvent_CanSend(PyObject *self, PyObject *args, PyObject *kwargs) {
19065 PyObject *resultobj;
19066 wxWindow *arg1 = (wxWindow *) 0 ;
19067 bool result;
19068 PyObject * obj0 = 0 ;
19069 char *kwnames[] = {
19070 (char *) "win", NULL
19071 };
19072
19073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail;
15afbcd0
RD
19074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19076 {
19077 PyThreadState* __tstate = wxPyBeginAllowThreads();
19078 result = (bool)wxIdleEvent::CanSend(arg1);
19079
19080 wxPyEndAllowThreads(__tstate);
19081 if (PyErr_Occurred()) SWIG_fail;
19082 }
4f89f6a3
RD
19083 {
19084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19085 }
d14a1e28
RD
19086 return resultobj;
19087 fail:
19088 return NULL;
19089}
19090
19091
19092static PyObject * IdleEvent_swigregister(PyObject *self, PyObject *args) {
19093 PyObject *obj;
19094 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19095 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj);
19096 Py_INCREF(obj);
19097 return Py_BuildValue((char *)"");
19098}
19099static PyObject *_wrap_new_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19100 PyObject *resultobj;
19101 int arg1 = (int) 0 ;
19102 wxEventType arg2 = (wxEventType) wxEVT_NULL ;
19103 wxPyEvent *result;
994141e6
RD
19104 PyObject * obj0 = 0 ;
19105 PyObject * obj1 = 0 ;
d14a1e28
RD
19106 char *kwnames[] = {
19107 (char *) "winid",(char *) "commandType", NULL
19108 };
19109
994141e6
RD
19110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail;
19111 if (obj0) {
15afbcd0
RD
19112 arg1 = (int) SWIG_AsInt(obj0);
19113 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
19114 }
19115 if (obj1) {
15afbcd0
RD
19116 arg2 = (wxEventType) SWIG_AsInt(obj1);
19117 if (PyErr_Occurred()) SWIG_fail;
994141e6 19118 }
d14a1e28
RD
19119 {
19120 PyThreadState* __tstate = wxPyBeginAllowThreads();
19121 result = (wxPyEvent *)new wxPyEvent(arg1,arg2);
19122
19123 wxPyEndAllowThreads(__tstate);
19124 if (PyErr_Occurred()) SWIG_fail;
19125 }
15afbcd0 19126 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEvent, 1);
d14a1e28
RD
19127 return resultobj;
19128 fail:
19129 return NULL;
19130}
19131
19132
19133static PyObject *_wrap_delete_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19134 PyObject *resultobj;
19135 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19136 PyObject * obj0 = 0 ;
19137 char *kwnames[] = {
19138 (char *) "self", NULL
19139 };
19140
19141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
19142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19144 {
19145 PyThreadState* __tstate = wxPyBeginAllowThreads();
19146 delete arg1;
19147
19148 wxPyEndAllowThreads(__tstate);
19149 if (PyErr_Occurred()) SWIG_fail;
19150 }
19151 Py_INCREF(Py_None); resultobj = Py_None;
19152 return resultobj;
19153 fail:
19154 return NULL;
19155}
19156
19157
19158static PyObject *_wrap_PyEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19159 PyObject *resultobj;
19160 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19161 PyObject *arg2 = (PyObject *) 0 ;
19162 PyObject * obj0 = 0 ;
19163 PyObject * obj1 = 0 ;
19164 char *kwnames[] = {
19165 (char *) "self",(char *) "self", NULL
19166 };
19167
19168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19171 arg2 = obj1;
19172 {
19173 PyThreadState* __tstate = wxPyBeginAllowThreads();
19174 (arg1)->SetSelf(arg2);
19175
19176 wxPyEndAllowThreads(__tstate);
19177 if (PyErr_Occurred()) SWIG_fail;
19178 }
19179 Py_INCREF(Py_None); resultobj = Py_None;
19180 return resultobj;
19181 fail:
19182 return NULL;
19183}
19184
19185
19186static PyObject *_wrap_PyEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19187 PyObject *resultobj;
19188 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19189 PyObject *result;
19190 PyObject * obj0 = 0 ;
19191 char *kwnames[] = {
19192 (char *) "self", NULL
19193 };
19194
19195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
15afbcd0
RD
19196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19198 {
19199 PyThreadState* __tstate = wxPyBeginAllowThreads();
19200 result = (PyObject *)(arg1)->GetSelf();
19201
19202 wxPyEndAllowThreads(__tstate);
19203 if (PyErr_Occurred()) SWIG_fail;
19204 }
19205 resultobj = result;
19206 return resultobj;
19207 fail:
19208 return NULL;
19209}
19210
19211
19212static PyObject * PyEvent_swigregister(PyObject *self, PyObject *args) {
19213 PyObject *obj;
19214 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19215 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj);
19216 Py_INCREF(obj);
19217 return Py_BuildValue((char *)"");
19218}
19219static PyObject *_wrap_new_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19220 PyObject *resultobj;
19221 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19222 int arg2 = (int) 0 ;
19223 wxPyCommandEvent *result;
994141e6
RD
19224 PyObject * obj0 = 0 ;
19225 PyObject * obj1 = 0 ;
d14a1e28
RD
19226 char *kwnames[] = {
19227 (char *) "commandType",(char *) "id", NULL
19228 };
19229
994141e6
RD
19230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail;
19231 if (obj0) {
15afbcd0
RD
19232 arg1 = (wxEventType) SWIG_AsInt(obj0);
19233 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
19234 }
19235 if (obj1) {
15afbcd0
RD
19236 arg2 = (int) SWIG_AsInt(obj1);
19237 if (PyErr_Occurred()) SWIG_fail;
994141e6 19238 }
d14a1e28
RD
19239 {
19240 PyThreadState* __tstate = wxPyBeginAllowThreads();
19241 result = (wxPyCommandEvent *)new wxPyCommandEvent(arg1,arg2);
19242
19243 wxPyEndAllowThreads(__tstate);
19244 if (PyErr_Occurred()) SWIG_fail;
19245 }
15afbcd0 19246 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCommandEvent, 1);
d14a1e28
RD
19247 return resultobj;
19248 fail:
19249 return NULL;
19250}
19251
19252
19253static PyObject *_wrap_delete_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19254 PyObject *resultobj;
19255 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19256 PyObject * obj0 = 0 ;
19257 char *kwnames[] = {
19258 (char *) "self", NULL
19259 };
19260
19261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
19262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19264 {
19265 PyThreadState* __tstate = wxPyBeginAllowThreads();
19266 delete arg1;
19267
19268 wxPyEndAllowThreads(__tstate);
19269 if (PyErr_Occurred()) SWIG_fail;
19270 }
19271 Py_INCREF(Py_None); resultobj = Py_None;
19272 return resultobj;
19273 fail:
19274 return NULL;
19275}
19276
19277
19278static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19279 PyObject *resultobj;
19280 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19281 PyObject *arg2 = (PyObject *) 0 ;
19282 PyObject * obj0 = 0 ;
19283 PyObject * obj1 = 0 ;
19284 char *kwnames[] = {
19285 (char *) "self",(char *) "self", NULL
19286 };
19287
19288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19291 arg2 = obj1;
19292 {
19293 PyThreadState* __tstate = wxPyBeginAllowThreads();
19294 (arg1)->SetSelf(arg2);
19295
19296 wxPyEndAllowThreads(__tstate);
19297 if (PyErr_Occurred()) SWIG_fail;
19298 }
19299 Py_INCREF(Py_None); resultobj = Py_None;
19300 return resultobj;
19301 fail:
19302 return NULL;
19303}
19304
19305
19306static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19307 PyObject *resultobj;
19308 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19309 PyObject *result;
19310 PyObject * obj0 = 0 ;
19311 char *kwnames[] = {
19312 (char *) "self", NULL
19313 };
19314
19315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
15afbcd0
RD
19316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19318 {
19319 PyThreadState* __tstate = wxPyBeginAllowThreads();
19320 result = (PyObject *)(arg1)->GetSelf();
19321
19322 wxPyEndAllowThreads(__tstate);
19323 if (PyErr_Occurred()) SWIG_fail;
19324 }
19325 resultobj = result;
19326 return resultobj;
19327 fail:
19328 return NULL;
19329}
19330
19331
19332static PyObject * PyCommandEvent_swigregister(PyObject *self, PyObject *args) {
19333 PyObject *obj;
19334 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19335 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj);
19336 Py_INCREF(obj);
19337 return Py_BuildValue((char *)"");
19338}
19339static PyObject *_wrap_new_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
19340 PyObject *resultobj;
19341 wxPyApp *result;
19342 char *kwnames[] = {
19343 NULL
19344 };
19345
19346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail;
19347 {
19348 PyThreadState* __tstate = wxPyBeginAllowThreads();
19349 result = (wxPyApp *)new_wxPyApp();
19350
19351 wxPyEndAllowThreads(__tstate);
19352 if (PyErr_Occurred()) SWIG_fail;
19353 }
19354 {
19355 resultobj = wxPyMake_wxObject(result);
19356 }
19357 return resultobj;
19358 fail:
19359 return NULL;
19360}
19361
19362
19363static PyObject *_wrap_delete_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
19364 PyObject *resultobj;
19365 wxPyApp *arg1 = (wxPyApp *) 0 ;
19366 PyObject * obj0 = 0 ;
19367 char *kwnames[] = {
19368 (char *) "self", NULL
19369 };
19370
19371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail;
15afbcd0
RD
19372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19374 {
19375 PyThreadState* __tstate = wxPyBeginAllowThreads();
19376 delete arg1;
19377
19378 wxPyEndAllowThreads(__tstate);
19379 if (PyErr_Occurred()) SWIG_fail;
19380 }
19381 Py_INCREF(Py_None); resultobj = Py_None;
19382 return resultobj;
19383 fail:
19384 return NULL;
19385}
19386
19387
19388static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19389 PyObject *resultobj;
19390 wxPyApp *arg1 = (wxPyApp *) 0 ;
19391 PyObject *arg2 = (PyObject *) 0 ;
19392 PyObject *arg3 = (PyObject *) 0 ;
19393 PyObject * obj0 = 0 ;
19394 PyObject * obj1 = 0 ;
19395 PyObject * obj2 = 0 ;
19396 char *kwnames[] = {
19397 (char *) "self",(char *) "self",(char *) "_class", NULL
19398 };
19399
19400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
19401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19403 arg2 = obj1;
19404 arg3 = obj2;
19405 {
19406 PyThreadState* __tstate = wxPyBeginAllowThreads();
19407 (arg1)->_setCallbackInfo(arg2,arg3);
19408
19409 wxPyEndAllowThreads(__tstate);
19410 if (PyErr_Occurred()) SWIG_fail;
19411 }
19412 Py_INCREF(Py_None); resultobj = Py_None;
19413 return resultobj;
19414 fail:
19415 return NULL;
19416}
19417
19418
19419static PyObject *_wrap_PyApp_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
19420 PyObject *resultobj;
19421 wxPyApp *arg1 = (wxPyApp *) 0 ;
19422 wxString result;
19423 PyObject * obj0 = 0 ;
19424 char *kwnames[] = {
19425 (char *) "self", NULL
19426 };
19427
19428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail;
15afbcd0
RD
19429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19431 {
19432 PyThreadState* __tstate = wxPyBeginAllowThreads();
19433 result = ((wxPyApp const *)arg1)->GetAppName();
19434
19435 wxPyEndAllowThreads(__tstate);
19436 if (PyErr_Occurred()) SWIG_fail;
19437 }
19438 {
19439#if wxUSE_UNICODE
19440 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19441#else
19442 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19443#endif
19444 }
19445 return resultobj;
19446 fail:
19447 return NULL;
19448}
19449
19450
19451static PyObject *_wrap_PyApp_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
19452 PyObject *resultobj;
19453 wxPyApp *arg1 = (wxPyApp *) 0 ;
19454 wxString *arg2 = 0 ;
e811c8ce 19455 bool temp2 = False ;
d14a1e28
RD
19456 PyObject * obj0 = 0 ;
19457 PyObject * obj1 = 0 ;
19458 char *kwnames[] = {
19459 (char *) "self",(char *) "name", NULL
19460 };
19461
19462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19465 {
19466 arg2 = wxString_in_helper(obj1);
19467 if (arg2 == NULL) SWIG_fail;
e811c8ce 19468 temp2 = True;
d14a1e28
RD
19469 }
19470 {
19471 PyThreadState* __tstate = wxPyBeginAllowThreads();
19472 (arg1)->SetAppName((wxString const &)*arg2);
19473
19474 wxPyEndAllowThreads(__tstate);
19475 if (PyErr_Occurred()) SWIG_fail;
19476 }
19477 Py_INCREF(Py_None); resultobj = Py_None;
19478 {
19479 if (temp2)
19480 delete arg2;
19481 }
19482 return resultobj;
19483 fail:
19484 {
19485 if (temp2)
19486 delete arg2;
19487 }
19488 return NULL;
19489}
19490
19491
19492static PyObject *_wrap_PyApp_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
19493 PyObject *resultobj;
19494 wxPyApp *arg1 = (wxPyApp *) 0 ;
19495 wxString result;
19496 PyObject * obj0 = 0 ;
19497 char *kwnames[] = {
19498 (char *) "self", NULL
19499 };
19500
19501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail;
15afbcd0
RD
19502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19504 {
19505 PyThreadState* __tstate = wxPyBeginAllowThreads();
19506 result = ((wxPyApp const *)arg1)->GetClassName();
19507
19508 wxPyEndAllowThreads(__tstate);
19509 if (PyErr_Occurred()) SWIG_fail;
19510 }
19511 {
19512#if wxUSE_UNICODE
19513 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19514#else
19515 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19516#endif
19517 }
19518 return resultobj;
19519 fail:
19520 return NULL;
19521}
19522
19523
19524static PyObject *_wrap_PyApp_SetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
19525 PyObject *resultobj;
19526 wxPyApp *arg1 = (wxPyApp *) 0 ;
19527 wxString *arg2 = 0 ;
e811c8ce 19528 bool temp2 = False ;
d14a1e28
RD
19529 PyObject * obj0 = 0 ;
19530 PyObject * obj1 = 0 ;
19531 char *kwnames[] = {
19532 (char *) "self",(char *) "name", NULL
19533 };
19534
19535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19538 {
19539 arg2 = wxString_in_helper(obj1);
19540 if (arg2 == NULL) SWIG_fail;
e811c8ce 19541 temp2 = True;
d14a1e28
RD
19542 }
19543 {
19544 PyThreadState* __tstate = wxPyBeginAllowThreads();
19545 (arg1)->SetClassName((wxString const &)*arg2);
19546
19547 wxPyEndAllowThreads(__tstate);
19548 if (PyErr_Occurred()) SWIG_fail;
19549 }
19550 Py_INCREF(Py_None); resultobj = Py_None;
19551 {
19552 if (temp2)
19553 delete arg2;
19554 }
19555 return resultobj;
19556 fail:
19557 {
19558 if (temp2)
19559 delete arg2;
19560 }
19561 return NULL;
19562}
19563
19564
19565static PyObject *_wrap_PyApp_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
19566 PyObject *resultobj;
19567 wxPyApp *arg1 = (wxPyApp *) 0 ;
19568 wxString *result;
19569 PyObject * obj0 = 0 ;
19570 char *kwnames[] = {
19571 (char *) "self", NULL
19572 };
19573
19574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail;
15afbcd0
RD
19575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19577 {
19578 PyThreadState* __tstate = wxPyBeginAllowThreads();
19579 {
19580 wxString const &_result_ref = ((wxPyApp const *)arg1)->GetVendorName();
19581 result = (wxString *) &_result_ref;
19582 }
19583
19584 wxPyEndAllowThreads(__tstate);
19585 if (PyErr_Occurred()) SWIG_fail;
19586 }
cc6dd355
RD
19587 {
19588#if wxUSE_UNICODE
19589 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19590#else
19591 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19592#endif
19593 }
d14a1e28
RD
19594 return resultobj;
19595 fail:
19596 return NULL;
19597}
19598
19599
19600static PyObject *_wrap_PyApp_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
19601 PyObject *resultobj;
19602 wxPyApp *arg1 = (wxPyApp *) 0 ;
19603 wxString *arg2 = 0 ;
e811c8ce 19604 bool temp2 = False ;
d14a1e28
RD
19605 PyObject * obj0 = 0 ;
19606 PyObject * obj1 = 0 ;
19607 char *kwnames[] = {
19608 (char *) "self",(char *) "name", NULL
19609 };
19610
19611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19614 {
19615 arg2 = wxString_in_helper(obj1);
19616 if (arg2 == NULL) SWIG_fail;
e811c8ce 19617 temp2 = True;
d14a1e28
RD
19618 }
19619 {
19620 PyThreadState* __tstate = wxPyBeginAllowThreads();
19621 (arg1)->SetVendorName((wxString const &)*arg2);
19622
19623 wxPyEndAllowThreads(__tstate);
19624 if (PyErr_Occurred()) SWIG_fail;
19625 }
19626 Py_INCREF(Py_None); resultobj = Py_None;
19627 {
19628 if (temp2)
19629 delete arg2;
19630 }
19631 return resultobj;
19632 fail:
19633 {
19634 if (temp2)
19635 delete arg2;
19636 }
19637 return NULL;
19638}
19639
19640
19641static PyObject *_wrap_PyApp_GetTraits(PyObject *self, PyObject *args, PyObject *kwargs) {
19642 PyObject *resultobj;
19643 wxPyApp *arg1 = (wxPyApp *) 0 ;
19644 wxAppTraits *result;
19645 PyObject * obj0 = 0 ;
19646 char *kwnames[] = {
19647 (char *) "self", NULL
19648 };
19649
19650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail;
15afbcd0
RD
19651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19653 {
19654 PyThreadState* __tstate = wxPyBeginAllowThreads();
19655 result = (wxAppTraits *)(arg1)->GetTraits();
19656
19657 wxPyEndAllowThreads(__tstate);
19658 if (PyErr_Occurred()) SWIG_fail;
19659 }
15afbcd0 19660 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAppTraits, 0);
d14a1e28
RD
19661 return resultobj;
19662 fail:
19663 return NULL;
19664}
19665
19666
19667static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
19668 PyObject *resultobj;
19669 wxPyApp *arg1 = (wxPyApp *) 0 ;
19670 PyObject * obj0 = 0 ;
19671 char *kwnames[] = {
19672 (char *) "self", NULL
19673 };
19674
19675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail;
15afbcd0
RD
19676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19678 {
19679 PyThreadState* __tstate = wxPyBeginAllowThreads();
19680 (arg1)->ProcessPendingEvents();
19681
19682 wxPyEndAllowThreads(__tstate);
19683 if (PyErr_Occurred()) SWIG_fail;
19684 }
19685 Py_INCREF(Py_None); resultobj = Py_None;
19686 return resultobj;
19687 fail:
19688 return NULL;
19689}
19690
19691
19692static PyObject *_wrap_PyApp_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
19693 PyObject *resultobj;
19694 wxPyApp *arg1 = (wxPyApp *) 0 ;
e811c8ce 19695 bool arg2 = (bool) False ;
d14a1e28
RD
19696 bool result;
19697 PyObject * obj0 = 0 ;
19698 PyObject * obj1 = 0 ;
19699 char *kwnames[] = {
19700 (char *) "self",(char *) "onlyIfNeeded", NULL
19701 };
19702
19703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 19706 if (obj1) {
15afbcd0
RD
19707 arg2 = (bool) SWIG_AsBool(obj1);
19708 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19709 }
19710 {
19711 PyThreadState* __tstate = wxPyBeginAllowThreads();
19712 result = (bool)(arg1)->Yield(arg2);
19713
19714 wxPyEndAllowThreads(__tstate);
19715 if (PyErr_Occurred()) SWIG_fail;
19716 }
4f89f6a3
RD
19717 {
19718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19719 }
d14a1e28
RD
19720 return resultobj;
19721 fail:
19722 return NULL;
19723}
19724
19725
19726static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
19727 PyObject *resultobj;
19728 wxPyApp *arg1 = (wxPyApp *) 0 ;
19729 PyObject * obj0 = 0 ;
19730 char *kwnames[] = {
19731 (char *) "self", NULL
19732 };
19733
19734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail;
15afbcd0
RD
19735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19737 {
19738 PyThreadState* __tstate = wxPyBeginAllowThreads();
19739 (arg1)->WakeUpIdle();
19740
19741 wxPyEndAllowThreads(__tstate);
19742 if (PyErr_Occurred()) SWIG_fail;
19743 }
19744 Py_INCREF(Py_None); resultobj = Py_None;
19745 return resultobj;
19746 fail:
19747 return NULL;
19748}
19749
19750
19751static PyObject *_wrap_PyApp_MainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
19752 PyObject *resultobj;
19753 wxPyApp *arg1 = (wxPyApp *) 0 ;
19754 int result;
19755 PyObject * obj0 = 0 ;
19756 char *kwnames[] = {
19757 (char *) "self", NULL
19758 };
19759
19760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail;
15afbcd0
RD
19761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19763 {
19764 PyThreadState* __tstate = wxPyBeginAllowThreads();
19765 result = (int)(arg1)->MainLoop();
19766
19767 wxPyEndAllowThreads(__tstate);
19768 if (PyErr_Occurred()) SWIG_fail;
19769 }
15afbcd0 19770 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19771 return resultobj;
19772 fail:
19773 return NULL;
19774}
19775
19776
19777static PyObject *_wrap_PyApp_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
19778 PyObject *resultobj;
19779 wxPyApp *arg1 = (wxPyApp *) 0 ;
19780 PyObject * obj0 = 0 ;
19781 char *kwnames[] = {
19782 (char *) "self", NULL
19783 };
19784
19785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail;
15afbcd0
RD
19786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19788 {
19789 PyThreadState* __tstate = wxPyBeginAllowThreads();
19790 (arg1)->Exit();
19791
19792 wxPyEndAllowThreads(__tstate);
19793 if (PyErr_Occurred()) SWIG_fail;
19794 }
19795 Py_INCREF(Py_None); resultobj = Py_None;
19796 return resultobj;
19797 fail:
19798 return NULL;
19799}
19800
19801
19802static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
19803 PyObject *resultobj;
19804 wxPyApp *arg1 = (wxPyApp *) 0 ;
19805 PyObject * obj0 = 0 ;
19806 char *kwnames[] = {
19807 (char *) "self", NULL
19808 };
19809
19810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail;
15afbcd0
RD
19811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19813 {
19814 PyThreadState* __tstate = wxPyBeginAllowThreads();
19815 (arg1)->ExitMainLoop();
19816
19817 wxPyEndAllowThreads(__tstate);
19818 if (PyErr_Occurred()) SWIG_fail;
19819 }
19820 Py_INCREF(Py_None); resultobj = Py_None;
19821 return resultobj;
19822 fail:
19823 return NULL;
19824}
19825
19826
19827static PyObject *_wrap_PyApp_Pending(PyObject *self, PyObject *args, PyObject *kwargs) {
19828 PyObject *resultobj;
19829 wxPyApp *arg1 = (wxPyApp *) 0 ;
19830 bool result;
19831 PyObject * obj0 = 0 ;
19832 char *kwnames[] = {
19833 (char *) "self", NULL
19834 };
19835
19836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail;
15afbcd0
RD
19837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19839 {
19840 PyThreadState* __tstate = wxPyBeginAllowThreads();
19841 result = (bool)(arg1)->Pending();
19842
19843 wxPyEndAllowThreads(__tstate);
19844 if (PyErr_Occurred()) SWIG_fail;
19845 }
4f89f6a3
RD
19846 {
19847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19848 }
d14a1e28
RD
19849 return resultobj;
19850 fail:
19851 return NULL;
19852}
19853
19854
19855static PyObject *_wrap_PyApp_Dispatch(PyObject *self, PyObject *args, PyObject *kwargs) {
19856 PyObject *resultobj;
19857 wxPyApp *arg1 = (wxPyApp *) 0 ;
19858 bool result;
19859 PyObject * obj0 = 0 ;
19860 char *kwnames[] = {
19861 (char *) "self", NULL
19862 };
19863
19864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",kwnames,&obj0)) goto fail;
15afbcd0
RD
19865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19867 {
19868 PyThreadState* __tstate = wxPyBeginAllowThreads();
19869 result = (bool)(arg1)->Dispatch();
19870
19871 wxPyEndAllowThreads(__tstate);
19872 if (PyErr_Occurred()) SWIG_fail;
19873 }
4f89f6a3
RD
19874 {
19875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19876 }
d14a1e28
RD
19877 return resultobj;
19878 fail:
19879 return NULL;
19880}
19881
19882
19883static PyObject *_wrap_PyApp_ProcessIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
19884 PyObject *resultobj;
19885 wxPyApp *arg1 = (wxPyApp *) 0 ;
19886 bool result;
19887 PyObject * obj0 = 0 ;
19888 char *kwnames[] = {
19889 (char *) "self", NULL
19890 };
19891
19892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail;
15afbcd0
RD
19893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19895 {
19896 PyThreadState* __tstate = wxPyBeginAllowThreads();
19897 result = (bool)(arg1)->ProcessIdle();
19898
19899 wxPyEndAllowThreads(__tstate);
19900 if (PyErr_Occurred()) SWIG_fail;
19901 }
4f89f6a3
RD
19902 {
19903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19904 }
d14a1e28
RD
19905 return resultobj;
19906 fail:
19907 return NULL;
19908}
19909
19910
19911static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
19912 PyObject *resultobj;
19913 wxPyApp *arg1 = (wxPyApp *) 0 ;
19914 wxWindow *arg2 = (wxWindow *) 0 ;
19915 wxIdleEvent *arg3 = 0 ;
19916 bool result;
19917 PyObject * obj0 = 0 ;
19918 PyObject * obj1 = 0 ;
19919 PyObject * obj2 = 0 ;
19920 char *kwnames[] = {
19921 (char *) "self",(char *) "win",(char *) "event", NULL
19922 };
19923
19924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
19925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19927 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19929 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxIdleEvent,
19930 SWIG_POINTER_EXCEPTION | 0)) == -1)
19931 SWIG_fail;
d14a1e28 19932 if (arg3 == NULL) {
15afbcd0
RD
19933 PyErr_SetString(PyExc_TypeError,"null reference");
19934 SWIG_fail;
d14a1e28
RD
19935 }
19936 {
19937 PyThreadState* __tstate = wxPyBeginAllowThreads();
19938 result = (bool)(arg1)->SendIdleEvents(arg2,*arg3);
19939
19940 wxPyEndAllowThreads(__tstate);
19941 if (PyErr_Occurred()) SWIG_fail;
19942 }
4f89f6a3
RD
19943 {
19944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19945 }
d14a1e28
RD
19946 return resultobj;
19947 fail:
19948 return NULL;
19949}
19950
19951
d14a1e28
RD
19952static PyObject *_wrap_PyApp_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
19953 PyObject *resultobj;
19954 wxPyApp *arg1 = (wxPyApp *) 0 ;
19955 bool result;
19956 PyObject * obj0 = 0 ;
19957 char *kwnames[] = {
19958 (char *) "self", NULL
19959 };
19960
19961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
15afbcd0
RD
19962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19964 {
19965 PyThreadState* __tstate = wxPyBeginAllowThreads();
19966 result = (bool)((wxPyApp const *)arg1)->IsActive();
19967
19968 wxPyEndAllowThreads(__tstate);
19969 if (PyErr_Occurred()) SWIG_fail;
19970 }
4f89f6a3
RD
19971 {
19972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19973 }
d14a1e28
RD
19974 return resultobj;
19975 fail:
19976 return NULL;
19977}
19978
19979
19980static PyObject *_wrap_PyApp_SetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19981 PyObject *resultobj;
19982 wxPyApp *arg1 = (wxPyApp *) 0 ;
19983 wxWindow *arg2 = (wxWindow *) 0 ;
19984 PyObject * obj0 = 0 ;
19985 PyObject * obj1 = 0 ;
19986 char *kwnames[] = {
19987 (char *) "self",(char *) "win", NULL
19988 };
19989
19990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19993 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19995 {
19996 PyThreadState* __tstate = wxPyBeginAllowThreads();
19997 (arg1)->SetTopWindow(arg2);
19998
19999 wxPyEndAllowThreads(__tstate);
20000 if (PyErr_Occurred()) SWIG_fail;
20001 }
20002 Py_INCREF(Py_None); resultobj = Py_None;
20003 return resultobj;
20004 fail:
20005 return NULL;
20006}
20007
20008
20009static PyObject *_wrap_PyApp_GetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20010 PyObject *resultobj;
20011 wxPyApp *arg1 = (wxPyApp *) 0 ;
20012 wxWindow *result;
20013 PyObject * obj0 = 0 ;
20014 char *kwnames[] = {
20015 (char *) "self", NULL
20016 };
20017
20018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
20019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20021 {
20022 PyThreadState* __tstate = wxPyBeginAllowThreads();
20023 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
20024
20025 wxPyEndAllowThreads(__tstate);
20026 if (PyErr_Occurred()) SWIG_fail;
20027 }
20028 {
20029 resultobj = wxPyMake_wxObject(result);
20030 }
20031 return resultobj;
20032 fail:
20033 return NULL;
20034}
20035
20036
20037static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
20038 PyObject *resultobj;
20039 wxPyApp *arg1 = (wxPyApp *) 0 ;
20040 bool arg2 ;
20041 PyObject * obj0 = 0 ;
20042 PyObject * obj1 = 0 ;
20043 char *kwnames[] = {
20044 (char *) "self",(char *) "flag", NULL
20045 };
20046
20047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20050 arg2 = (bool) SWIG_AsBool(obj1);
20051 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20052 {
20053 PyThreadState* __tstate = wxPyBeginAllowThreads();
20054 (arg1)->SetExitOnFrameDelete(arg2);
20055
20056 wxPyEndAllowThreads(__tstate);
20057 if (PyErr_Occurred()) SWIG_fail;
20058 }
20059 Py_INCREF(Py_None); resultobj = Py_None;
20060 return resultobj;
20061 fail:
20062 return NULL;
20063}
20064
20065
20066static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
20067 PyObject *resultobj;
20068 wxPyApp *arg1 = (wxPyApp *) 0 ;
20069 bool result;
20070 PyObject * obj0 = 0 ;
20071 char *kwnames[] = {
20072 (char *) "self", NULL
20073 };
20074
20075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
15afbcd0
RD
20076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20078 {
20079 PyThreadState* __tstate = wxPyBeginAllowThreads();
20080 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
20081
20082 wxPyEndAllowThreads(__tstate);
20083 if (PyErr_Occurred()) SWIG_fail;
20084 }
4f89f6a3
RD
20085 {
20086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20087 }
d14a1e28
RD
20088 return resultobj;
20089 fail:
20090 return NULL;
20091}
20092
20093
20094static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
20095 PyObject *resultobj;
20096 wxPyApp *arg1 = (wxPyApp *) 0 ;
20097 bool arg2 ;
20098 PyObject * obj0 = 0 ;
20099 PyObject * obj1 = 0 ;
20100 char *kwnames[] = {
20101 (char *) "self",(char *) "flag", NULL
20102 };
20103
20104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20107 arg2 = (bool) SWIG_AsBool(obj1);
20108 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20109 {
20110 PyThreadState* __tstate = wxPyBeginAllowThreads();
20111 (arg1)->SetUseBestVisual(arg2);
20112
20113 wxPyEndAllowThreads(__tstate);
20114 if (PyErr_Occurred()) SWIG_fail;
20115 }
20116 Py_INCREF(Py_None); resultobj = Py_None;
20117 return resultobj;
20118 fail:
20119 return NULL;
20120}
20121
20122
20123static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
20124 PyObject *resultobj;
20125 wxPyApp *arg1 = (wxPyApp *) 0 ;
20126 bool result;
20127 PyObject * obj0 = 0 ;
20128 char *kwnames[] = {
20129 (char *) "self", NULL
20130 };
20131
20132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
15afbcd0
RD
20133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20135 {
20136 PyThreadState* __tstate = wxPyBeginAllowThreads();
20137 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
20138
20139 wxPyEndAllowThreads(__tstate);
20140 if (PyErr_Occurred()) SWIG_fail;
20141 }
4f89f6a3
RD
20142 {
20143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20144 }
d14a1e28
RD
20145 return resultobj;
20146 fail:
20147 return NULL;
20148}
20149
20150
20151static PyObject *_wrap_PyApp_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
20152 PyObject *resultobj;
20153 wxPyApp *arg1 = (wxPyApp *) 0 ;
20154 int arg2 ;
20155 PyObject * obj0 = 0 ;
994141e6 20156 PyObject * obj1 = 0 ;
d14a1e28
RD
20157 char *kwnames[] = {
20158 (char *) "self",(char *) "mode", NULL
20159 };
20160
994141e6 20161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20164 arg2 = (int) SWIG_AsInt(obj1);
20165 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20166 {
20167 PyThreadState* __tstate = wxPyBeginAllowThreads();
20168 (arg1)->SetPrintMode(arg2);
20169
20170 wxPyEndAllowThreads(__tstate);
20171 if (PyErr_Occurred()) SWIG_fail;
20172 }
20173 Py_INCREF(Py_None); resultobj = Py_None;
20174 return resultobj;
20175 fail:
20176 return NULL;
20177}
20178
20179
20180static PyObject *_wrap_PyApp_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
20181 PyObject *resultobj;
20182 wxPyApp *arg1 = (wxPyApp *) 0 ;
20183 int result;
20184 PyObject * obj0 = 0 ;
20185 char *kwnames[] = {
20186 (char *) "self", NULL
20187 };
20188
20189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
20190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20192 {
20193 PyThreadState* __tstate = wxPyBeginAllowThreads();
20194 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
20195
20196 wxPyEndAllowThreads(__tstate);
20197 if (PyErr_Occurred()) SWIG_fail;
20198 }
15afbcd0 20199 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20200 return resultobj;
20201 fail:
20202 return NULL;
20203}
20204
20205
6c3b4aae 20206static PyObject *_wrap_PyApp_SetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20207 PyObject *resultobj;
20208 wxPyApp *arg1 = (wxPyApp *) 0 ;
6c3b4aae 20209 int arg2 ;
d14a1e28 20210 PyObject * obj0 = 0 ;
994141e6 20211 PyObject * obj1 = 0 ;
d14a1e28 20212 char *kwnames[] = {
6c3b4aae 20213 (char *) "self",(char *) "mode", NULL
d14a1e28
RD
20214 };
20215
994141e6 20216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAssertMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20219 arg2 = (int) SWIG_AsInt(obj1);
20220 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20221 {
20222 PyThreadState* __tstate = wxPyBeginAllowThreads();
6c3b4aae 20223 (arg1)->SetAssertMode(arg2);
d14a1e28
RD
20224
20225 wxPyEndAllowThreads(__tstate);
20226 if (PyErr_Occurred()) SWIG_fail;
20227 }
6c3b4aae 20228 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
20229 return resultobj;
20230 fail:
20231 return NULL;
20232}
20233
20234
6c3b4aae 20235static PyObject *_wrap_PyApp_GetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20236 PyObject *resultobj;
20237 wxPyApp *arg1 = (wxPyApp *) 0 ;
6c3b4aae 20238 int result;
d14a1e28
RD
20239 PyObject * obj0 = 0 ;
20240 char *kwnames[] = {
6c3b4aae 20241 (char *) "self", NULL
d14a1e28
RD
20242 };
20243
6c3b4aae 20244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
20245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20247 {
20248 PyThreadState* __tstate = wxPyBeginAllowThreads();
6c3b4aae 20249 result = (int)(arg1)->GetAssertMode();
d14a1e28
RD
20250
20251 wxPyEndAllowThreads(__tstate);
20252 if (PyErr_Occurred()) SWIG_fail;
20253 }
15afbcd0 20254 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20255 return resultobj;
20256 fail:
20257 return NULL;
20258}
20259
20260
20261static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
20262 PyObject *resultobj;
20263 bool result;
20264 char *kwnames[] = {
20265 NULL
20266 };
20267
20268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
20269 {
20270 PyThreadState* __tstate = wxPyBeginAllowThreads();
20271 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20272
20273 wxPyEndAllowThreads(__tstate);
20274 if (PyErr_Occurred()) SWIG_fail;
20275 }
4f89f6a3
RD
20276 {
20277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20278 }
d14a1e28
RD
20279 return resultobj;
20280 fail:
20281 return NULL;
20282}
20283
20284
20285static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20286 PyObject *resultobj;
20287 long result;
20288 char *kwnames[] = {
20289 NULL
20290 };
20291
20292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
20293 {
20294 PyThreadState* __tstate = wxPyBeginAllowThreads();
20295 result = (long)wxPyApp::GetMacAboutMenuItemId();
20296
20297 wxPyEndAllowThreads(__tstate);
20298 if (PyErr_Occurred()) SWIG_fail;
20299 }
15afbcd0 20300 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20301 return resultobj;
20302 fail:
20303 return NULL;
20304}
20305
20306
20307static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20308 PyObject *resultobj;
20309 long result;
20310 char *kwnames[] = {
20311 NULL
20312 };
20313
20314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
20315 {
20316 PyThreadState* __tstate = wxPyBeginAllowThreads();
20317 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
20318
20319 wxPyEndAllowThreads(__tstate);
20320 if (PyErr_Occurred()) SWIG_fail;
20321 }
15afbcd0 20322 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20323 return resultobj;
20324 fail:
20325 return NULL;
20326}
20327
20328
20329static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20330 PyObject *resultobj;
20331 long result;
20332 char *kwnames[] = {
20333 NULL
20334 };
20335
20336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
20337 {
20338 PyThreadState* __tstate = wxPyBeginAllowThreads();
20339 result = (long)wxPyApp::GetMacExitMenuItemId();
20340
20341 wxPyEndAllowThreads(__tstate);
20342 if (PyErr_Occurred()) SWIG_fail;
20343 }
15afbcd0 20344 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20345 return resultobj;
20346 fail:
20347 return NULL;
20348}
20349
20350
20351static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
20352 PyObject *resultobj;
20353 wxString result;
20354 char *kwnames[] = {
20355 NULL
20356 };
20357
20358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
20359 {
20360 PyThreadState* __tstate = wxPyBeginAllowThreads();
20361 result = wxPyApp::GetMacHelpMenuTitleName();
20362
20363 wxPyEndAllowThreads(__tstate);
20364 if (PyErr_Occurred()) SWIG_fail;
20365 }
20366 {
20367#if wxUSE_UNICODE
20368 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20369#else
20370 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20371#endif
20372 }
20373 return resultobj;
20374 fail:
20375 return NULL;
20376}
20377
20378
20379static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
20380 PyObject *resultobj;
20381 bool arg1 ;
20382 PyObject * obj0 = 0 ;
20383 char *kwnames[] = {
20384 (char *) "val", NULL
20385 };
20386
20387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
15afbcd0
RD
20388 arg1 = (bool) SWIG_AsBool(obj0);
20389 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20390 {
20391 PyThreadState* __tstate = wxPyBeginAllowThreads();
20392 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
20393
20394 wxPyEndAllowThreads(__tstate);
20395 if (PyErr_Occurred()) SWIG_fail;
20396 }
20397 Py_INCREF(Py_None); resultobj = Py_None;
20398 return resultobj;
20399 fail:
20400 return NULL;
20401}
20402
20403
20404static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20405 PyObject *resultobj;
20406 long arg1 ;
994141e6 20407 PyObject * obj0 = 0 ;
d14a1e28
RD
20408 char *kwnames[] = {
20409 (char *) "val", NULL
20410 };
20411
994141e6 20412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames,&obj0)) goto fail;
15afbcd0
RD
20413 arg1 = (long) SWIG_AsLong(obj0);
20414 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20415 {
20416 PyThreadState* __tstate = wxPyBeginAllowThreads();
20417 wxPyApp::SetMacAboutMenuItemId(arg1);
20418
20419 wxPyEndAllowThreads(__tstate);
20420 if (PyErr_Occurred()) SWIG_fail;
20421 }
20422 Py_INCREF(Py_None); resultobj = Py_None;
20423 return resultobj;
20424 fail:
20425 return NULL;
20426}
20427
20428
20429static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20430 PyObject *resultobj;
20431 long arg1 ;
994141e6 20432 PyObject * obj0 = 0 ;
d14a1e28
RD
20433 char *kwnames[] = {
20434 (char *) "val", NULL
20435 };
20436
994141e6 20437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames,&obj0)) goto fail;
15afbcd0
RD
20438 arg1 = (long) SWIG_AsLong(obj0);
20439 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20440 {
20441 PyThreadState* __tstate = wxPyBeginAllowThreads();
20442 wxPyApp::SetMacPreferencesMenuItemId(arg1);
20443
20444 wxPyEndAllowThreads(__tstate);
20445 if (PyErr_Occurred()) SWIG_fail;
20446 }
20447 Py_INCREF(Py_None); resultobj = Py_None;
20448 return resultobj;
20449 fail:
20450 return NULL;
20451}
20452
20453
20454static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20455 PyObject *resultobj;
20456 long arg1 ;
994141e6 20457 PyObject * obj0 = 0 ;
d14a1e28
RD
20458 char *kwnames[] = {
20459 (char *) "val", NULL
20460 };
20461
994141e6 20462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames,&obj0)) goto fail;
15afbcd0
RD
20463 arg1 = (long) SWIG_AsLong(obj0);
20464 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20465 {
20466 PyThreadState* __tstate = wxPyBeginAllowThreads();
20467 wxPyApp::SetMacExitMenuItemId(arg1);
20468
20469 wxPyEndAllowThreads(__tstate);
20470 if (PyErr_Occurred()) SWIG_fail;
20471 }
20472 Py_INCREF(Py_None); resultobj = Py_None;
20473 return resultobj;
20474 fail:
20475 return NULL;
20476}
20477
20478
20479static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
20480 PyObject *resultobj;
20481 wxString *arg1 = 0 ;
e811c8ce 20482 bool temp1 = False ;
d14a1e28
RD
20483 PyObject * obj0 = 0 ;
20484 char *kwnames[] = {
20485 (char *) "val", NULL
20486 };
20487
20488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
20489 {
20490 arg1 = wxString_in_helper(obj0);
20491 if (arg1 == NULL) SWIG_fail;
e811c8ce 20492 temp1 = True;
d14a1e28
RD
20493 }
20494 {
20495 PyThreadState* __tstate = wxPyBeginAllowThreads();
20496 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
20497
20498 wxPyEndAllowThreads(__tstate);
20499 if (PyErr_Occurred()) SWIG_fail;
20500 }
20501 Py_INCREF(Py_None); resultobj = Py_None;
20502 {
20503 if (temp1)
20504 delete arg1;
20505 }
20506 return resultobj;
20507 fail:
20508 {
20509 if (temp1)
20510 delete arg1;
20511 }
20512 return NULL;
20513}
20514
20515
20516static PyObject *_wrap_PyApp__BootstrapApp(PyObject *self, PyObject *args, PyObject *kwargs) {
20517 PyObject *resultobj;
20518 wxPyApp *arg1 = (wxPyApp *) 0 ;
20519 PyObject * obj0 = 0 ;
20520 char *kwnames[] = {
20521 (char *) "self", NULL
20522 };
20523
20524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
15afbcd0
RD
20525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20527 {
20528 PyThreadState* __tstate = wxPyBeginAllowThreads();
20529 (arg1)->_BootstrapApp();
20530
20531 wxPyEndAllowThreads(__tstate);
20532 if (PyErr_Occurred()) SWIG_fail;
20533 }
20534 Py_INCREF(Py_None); resultobj = Py_None;
20535 return resultobj;
20536 fail:
20537 return NULL;
20538}
20539
20540
20541static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *self, PyObject *args, PyObject *kwargs) {
20542 PyObject *resultobj;
20543 int result;
20544 char *kwnames[] = {
20545 NULL
20546 };
20547
20548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
20549 {
20550 PyThreadState* __tstate = wxPyBeginAllowThreads();
20551 result = (int)PyApp_GetComCtl32Version();
20552
20553 wxPyEndAllowThreads(__tstate);
20554 if (PyErr_Occurred()) SWIG_fail;
20555 }
15afbcd0 20556 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20557 return resultobj;
20558 fail:
20559 return NULL;
20560}
20561
20562
20563static PyObject * PyApp_swigregister(PyObject *self, PyObject *args) {
20564 PyObject *obj;
20565 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20566 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
20567 Py_INCREF(obj);
20568 return Py_BuildValue((char *)"");
20569}
20570static PyObject *_wrap_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
20571 PyObject *resultobj;
20572 char *kwnames[] = {
20573 NULL
20574 };
20575
20576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
20577 {
20578 PyThreadState* __tstate = wxPyBeginAllowThreads();
20579 wxExit();
20580
20581 wxPyEndAllowThreads(__tstate);
20582 if (PyErr_Occurred()) SWIG_fail;
20583 }
20584 Py_INCREF(Py_None); resultobj = Py_None;
20585 return resultobj;
20586 fail:
20587 return NULL;
20588}
20589
20590
20591static PyObject *_wrap_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
20592 PyObject *resultobj;
20593 bool result;
20594 char *kwnames[] = {
20595 NULL
20596 };
20597
20598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
20599 {
20600 PyThreadState* __tstate = wxPyBeginAllowThreads();
20601 result = (bool)wxYield();
20602
20603 wxPyEndAllowThreads(__tstate);
20604 if (PyErr_Occurred()) SWIG_fail;
20605 }
4f89f6a3
RD
20606 {
20607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20608 }
d14a1e28
RD
20609 return resultobj;
20610 fail:
20611 return NULL;
20612}
20613
20614
20615static PyObject *_wrap_YieldIfNeeded(PyObject *self, PyObject *args, PyObject *kwargs) {
20616 PyObject *resultobj;
20617 bool result;
20618 char *kwnames[] = {
20619 NULL
20620 };
20621
20622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
20623 {
20624 PyThreadState* __tstate = wxPyBeginAllowThreads();
20625 result = (bool)wxYieldIfNeeded();
20626
20627 wxPyEndAllowThreads(__tstate);
20628 if (PyErr_Occurred()) SWIG_fail;
20629 }
4f89f6a3
RD
20630 {
20631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20632 }
d14a1e28
RD
20633 return resultobj;
20634 fail:
20635 return NULL;
20636}
20637
20638
20639static PyObject *_wrap_SafeYield(PyObject *self, PyObject *args, PyObject *kwargs) {
20640 PyObject *resultobj;
20641 wxWindow *arg1 = (wxWindow *) NULL ;
e811c8ce 20642 bool arg2 = (bool) False ;
d14a1e28
RD
20643 bool result;
20644 PyObject * obj0 = 0 ;
20645 PyObject * obj1 = 0 ;
20646 char *kwnames[] = {
20647 (char *) "win",(char *) "onlyIfNeeded", NULL
20648 };
20649
20650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
20651 if (obj0) {
15afbcd0
RD
20652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20654 }
20655 if (obj1) {
15afbcd0
RD
20656 arg2 = (bool) SWIG_AsBool(obj1);
20657 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20658 }
20659 {
20660 PyThreadState* __tstate = wxPyBeginAllowThreads();
20661 result = (bool)wxSafeYield(arg1,arg2);
20662
20663 wxPyEndAllowThreads(__tstate);
20664 if (PyErr_Occurred()) SWIG_fail;
20665 }
4f89f6a3
RD
20666 {
20667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20668 }
d14a1e28
RD
20669 return resultobj;
20670 fail:
20671 return NULL;
20672}
20673
20674
20675static PyObject *_wrap_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
20676 PyObject *resultobj;
20677 char *kwnames[] = {
20678 NULL
20679 };
20680
20681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
20682 {
20683 PyThreadState* __tstate = wxPyBeginAllowThreads();
20684 wxWakeUpIdle();
20685
20686 wxPyEndAllowThreads(__tstate);
20687 if (PyErr_Occurred()) SWIG_fail;
20688 }
20689 Py_INCREF(Py_None); resultobj = Py_None;
20690 return resultobj;
20691 fail:
20692 return NULL;
20693}
20694
20695
20696static PyObject *_wrap_PostEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20697 PyObject *resultobj;
20698 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
20699 wxEvent *arg2 = 0 ;
20700 PyObject * obj0 = 0 ;
20701 PyObject * obj1 = 0 ;
20702 char *kwnames[] = {
20703 (char *) "dest",(char *) "event", NULL
20704 };
20705
20706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
20708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20709 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
20710 SWIG_POINTER_EXCEPTION | 0)) == -1)
20711 SWIG_fail;
d14a1e28 20712 if (arg2 == NULL) {
15afbcd0
RD
20713 PyErr_SetString(PyExc_TypeError,"null reference");
20714 SWIG_fail;
d14a1e28
RD
20715 }
20716 {
20717 PyThreadState* __tstate = wxPyBeginAllowThreads();
20718 wxPostEvent(arg1,*arg2);
20719
20720 wxPyEndAllowThreads(__tstate);
20721 if (PyErr_Occurred()) SWIG_fail;
20722 }
20723 Py_INCREF(Py_None); resultobj = Py_None;
20724 return resultobj;
20725 fail:
20726 return NULL;
20727}
20728
20729
20730static PyObject *_wrap_App_CleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
20731 PyObject *resultobj;
20732 char *kwnames[] = {
20733 NULL
20734 };
20735
20736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
20737 {
20738 PyThreadState* __tstate = wxPyBeginAllowThreads();
20739 wxApp_CleanUp();
20740
20741 wxPyEndAllowThreads(__tstate);
20742 if (PyErr_Occurred()) SWIG_fail;
20743 }
20744 Py_INCREF(Py_None); resultobj = Py_None;
20745 return resultobj;
20746 fail:
20747 return NULL;
20748}
20749
20750
20751static PyObject *_wrap_GetApp(PyObject *self, PyObject *args, PyObject *kwargs) {
20752 PyObject *resultobj;
20753 wxPyApp *result;
20754 char *kwnames[] = {
20755 NULL
20756 };
20757
20758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
20759 {
20760 PyThreadState* __tstate = wxPyBeginAllowThreads();
20761 result = (wxPyApp *)wxGetApp();
20762
20763 wxPyEndAllowThreads(__tstate);
20764 if (PyErr_Occurred()) SWIG_fail;
20765 }
20766 {
20767 resultobj = wxPyMake_wxObject(result);
20768 }
20769 return resultobj;
20770 fail:
20771 return NULL;
20772}
20773
20774
1e0c8722
RD
20775static PyObject *_wrap_new_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
20776 PyObject *resultobj;
20777 int arg1 = (int) 0 ;
20778 int arg2 = (int) 0 ;
20779 int arg3 = (int) 0 ;
1e0c8722 20780 wxAcceleratorEntry *result;
994141e6
RD
20781 PyObject * obj0 = 0 ;
20782 PyObject * obj1 = 0 ;
20783 PyObject * obj2 = 0 ;
1e0c8722 20784 char *kwnames[] = {
66c033b4 20785 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
1e0c8722
RD
20786 };
20787
66c033b4 20788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_AcceleratorEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
994141e6 20789 if (obj0) {
15afbcd0
RD
20790 arg1 = (int) SWIG_AsInt(obj0);
20791 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
20792 }
20793 if (obj1) {
15afbcd0
RD
20794 arg2 = (int) SWIG_AsInt(obj1);
20795 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
20796 }
20797 if (obj2) {
15afbcd0
RD
20798 arg3 = (int) SWIG_AsInt(obj2);
20799 if (PyErr_Occurred()) SWIG_fail;
994141e6 20800 }
1e0c8722
RD
20801 {
20802 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 20803 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3);
1e0c8722
RD
20804
20805 wxPyEndAllowThreads(__tstate);
20806 if (PyErr_Occurred()) SWIG_fail;
20807 }
15afbcd0 20808 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 1);
1e0c8722
RD
20809 return resultobj;
20810 fail:
20811 return NULL;
20812}
20813
20814
20815static PyObject *_wrap_delete_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
20816 PyObject *resultobj;
20817 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20818 PyObject * obj0 = 0 ;
20819 char *kwnames[] = {
20820 (char *) "self", NULL
20821 };
20822
20823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
15afbcd0
RD
20824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
20826 {
20827 PyThreadState* __tstate = wxPyBeginAllowThreads();
20828 delete arg1;
20829
20830 wxPyEndAllowThreads(__tstate);
20831 if (PyErr_Occurred()) SWIG_fail;
20832 }
20833 Py_INCREF(Py_None); resultobj = Py_None;
20834 return resultobj;
20835 fail:
20836 return NULL;
20837}
20838
20839
20840static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
20841 PyObject *resultobj;
20842 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20843 int arg2 ;
20844 int arg3 ;
20845 int arg4 ;
1e0c8722 20846 PyObject * obj0 = 0 ;
994141e6
RD
20847 PyObject * obj1 = 0 ;
20848 PyObject * obj2 = 0 ;
20849 PyObject * obj3 = 0 ;
1e0c8722 20850 char *kwnames[] = {
66c033b4 20851 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
1e0c8722
RD
20852 };
20853
66c033b4 20854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AcceleratorEntry_Set",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
20855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20857 arg2 = (int) SWIG_AsInt(obj1);
20858 if (PyErr_Occurred()) SWIG_fail;
20859 arg3 = (int) SWIG_AsInt(obj2);
20860 if (PyErr_Occurred()) SWIG_fail;
20861 arg4 = (int) SWIG_AsInt(obj3);
20862 if (PyErr_Occurred()) SWIG_fail;
1e0c8722
RD
20863 {
20864 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 20865 (arg1)->Set(arg2,arg3,arg4);
1e0c8722
RD
20866
20867 wxPyEndAllowThreads(__tstate);
20868 if (PyErr_Occurred()) SWIG_fail;
20869 }
20870 Py_INCREF(Py_None); resultobj = Py_None;
20871 return resultobj;
20872 fail:
20873 return NULL;
20874}
20875
20876
1e0c8722
RD
20877static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
20878 PyObject *resultobj;
20879 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20880 int result;
20881 PyObject * obj0 = 0 ;
20882 char *kwnames[] = {
20883 (char *) "self", NULL
20884 };
20885
20886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
20887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
20889 {
20890 PyThreadState* __tstate = wxPyBeginAllowThreads();
20891 result = (int)(arg1)->GetFlags();
20892
20893 wxPyEndAllowThreads(__tstate);
20894 if (PyErr_Occurred()) SWIG_fail;
20895 }
15afbcd0 20896 resultobj = SWIG_FromInt((int)result);
1e0c8722
RD
20897 return resultobj;
20898 fail:
20899 return NULL;
20900}
20901
20902
20903static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20904 PyObject *resultobj;
20905 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20906 int result;
20907 PyObject * obj0 = 0 ;
20908 char *kwnames[] = {
20909 (char *) "self", NULL
20910 };
20911
20912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
20913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
20915 {
20916 PyThreadState* __tstate = wxPyBeginAllowThreads();
20917 result = (int)(arg1)->GetKeyCode();
20918
20919 wxPyEndAllowThreads(__tstate);
20920 if (PyErr_Occurred()) SWIG_fail;
20921 }
15afbcd0 20922 resultobj = SWIG_FromInt((int)result);
1e0c8722
RD
20923 return resultobj;
20924 fail:
20925 return NULL;
20926}
20927
20928
20929static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
20930 PyObject *resultobj;
20931 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20932 int result;
20933 PyObject * obj0 = 0 ;
20934 char *kwnames[] = {
20935 (char *) "self", NULL
20936 };
20937
20938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
15afbcd0
RD
20939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
20941 {
20942 PyThreadState* __tstate = wxPyBeginAllowThreads();
20943 result = (int)(arg1)->GetCommand();
20944
20945 wxPyEndAllowThreads(__tstate);
20946 if (PyErr_Occurred()) SWIG_fail;
20947 }
15afbcd0 20948 resultobj = SWIG_FromInt((int)result);
1e0c8722
RD
20949 return resultobj;
20950 fail:
20951 return NULL;
20952}
20953
20954
20955static PyObject * AcceleratorEntry_swigregister(PyObject *self, PyObject *args) {
20956 PyObject *obj;
20957 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20958 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
20959 Py_INCREF(obj);
20960 return Py_BuildValue((char *)"");
20961}
20962static PyObject *_wrap_new_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
20963 PyObject *resultobj;
20964 int arg1 ;
20965 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
20966 wxAcceleratorTable *result;
20967 PyObject * obj0 = 0 ;
20968 char *kwnames[] = {
20969 (char *) "n", NULL
20970 };
20971
20972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
20973 {
20974 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
20975 if (arg2) arg1 = PyList_Size(obj0);
20976 else arg1 = 0;
20977 }
20978 {
20979 PyThreadState* __tstate = wxPyBeginAllowThreads();
20980 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
20981
20982 wxPyEndAllowThreads(__tstate);
20983 if (PyErr_Occurred()) SWIG_fail;
20984 }
15afbcd0 20985 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 1);
1e0c8722
RD
20986 {
20987 delete [] arg2;
20988 }
20989 return resultobj;
20990 fail:
20991 {
20992 delete [] arg2;
20993 }
20994 return NULL;
20995}
20996
20997
20998static PyObject *_wrap_delete_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
20999 PyObject *resultobj;
21000 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
21001 PyObject * obj0 = 0 ;
21002 char *kwnames[] = {
21003 (char *) "self", NULL
21004 };
21005
21006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
15afbcd0
RD
21007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
21008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21009 {
21010 PyThreadState* __tstate = wxPyBeginAllowThreads();
21011 delete arg1;
21012
21013 wxPyEndAllowThreads(__tstate);
21014 if (PyErr_Occurred()) SWIG_fail;
21015 }
21016 Py_INCREF(Py_None); resultobj = Py_None;
21017 return resultobj;
21018 fail:
21019 return NULL;
21020}
21021
21022
21023static PyObject *_wrap_AcceleratorTable_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21024 PyObject *resultobj;
21025 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
21026 bool result;
21027 PyObject * obj0 = 0 ;
21028 char *kwnames[] = {
21029 (char *) "self", NULL
21030 };
21031
21032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
21033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
21034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21035 {
21036 PyThreadState* __tstate = wxPyBeginAllowThreads();
21037 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
21038
21039 wxPyEndAllowThreads(__tstate);
21040 if (PyErr_Occurred()) SWIG_fail;
21041 }
4f89f6a3
RD
21042 {
21043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21044 }
1e0c8722
RD
21045 return resultobj;
21046 fail:
21047 return NULL;
21048}
21049
21050
21051static PyObject * AcceleratorTable_swigregister(PyObject *self, PyObject *args) {
21052 PyObject *obj;
21053 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21054 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
21055 Py_INCREF(obj);
21056 return Py_BuildValue((char *)"");
21057}
21058static int _wrap_NullAcceleratorTable_set(PyObject *_val) {
21059 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
21060 return 1;
21061}
21062
21063
21064static PyObject *_wrap_NullAcceleratorTable_get() {
21065 PyObject *pyobj;
21066
15afbcd0 21067 pyobj = SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable), SWIGTYPE_p_wxAcceleratorTable, 0);
1e0c8722
RD
21068 return pyobj;
21069}
21070
21071
21072static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) {
21073 PyObject *resultobj;
21074 wxString *arg1 = 0 ;
21075 wxAcceleratorEntry *result;
21076 bool temp1 = False ;
21077 PyObject * obj0 = 0 ;
21078 char *kwnames[] = {
21079 (char *) "label", NULL
21080 };
21081
21082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
21083 {
21084 arg1 = wxString_in_helper(obj0);
21085 if (arg1 == NULL) SWIG_fail;
21086 temp1 = True;
21087 }
21088 {
21089 PyThreadState* __tstate = wxPyBeginAllowThreads();
21090 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
21091
21092 wxPyEndAllowThreads(__tstate);
21093 if (PyErr_Occurred()) SWIG_fail;
21094 }
15afbcd0 21095 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
1e0c8722
RD
21096 {
21097 if (temp1)
21098 delete arg1;
21099 }
21100 return resultobj;
21101 fail:
21102 {
21103 if (temp1)
21104 delete arg1;
21105 }
21106 return NULL;
21107}
21108
21109
e811c8ce
RD
21110static int _wrap_PanelNameStr_set(PyObject *_val) {
21111 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
21112 return 1;
21113}
21114
21115
21116static PyObject *_wrap_PanelNameStr_get() {
21117 PyObject *pyobj;
21118
21119 {
21120#if wxUSE_UNICODE
21121 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21122#else
21123 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21124#endif
21125 }
21126 return pyobj;
21127}
21128
21129
74a57fcd
RD
21130static PyObject *_wrap_new_VisualAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
21131 PyObject *resultobj;
21132 wxVisualAttributes *result;
21133 char *kwnames[] = {
21134 NULL
21135 };
21136
21137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_VisualAttributes",kwnames)) goto fail;
21138 {
21139 PyThreadState* __tstate = wxPyBeginAllowThreads();
21140 result = (wxVisualAttributes *)new_wxVisualAttributes();
21141
21142 wxPyEndAllowThreads(__tstate);
21143 if (PyErr_Occurred()) SWIG_fail;
21144 }
21145 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVisualAttributes, 1);
21146 return resultobj;
21147 fail:
21148 return NULL;
21149}
21150
21151
21152static PyObject *_wrap_delete_VisualAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
21153 PyObject *resultobj;
21154 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21155 PyObject * obj0 = 0 ;
21156 char *kwnames[] = {
21157 (char *) "self", NULL
21158 };
21159
21160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VisualAttributes",kwnames,&obj0)) goto fail;
21161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21163 {
21164 PyThreadState* __tstate = wxPyBeginAllowThreads();
21165 delete_wxVisualAttributes(arg1);
21166
21167 wxPyEndAllowThreads(__tstate);
21168 if (PyErr_Occurred()) SWIG_fail;
21169 }
21170 Py_INCREF(Py_None); resultobj = Py_None;
21171 return resultobj;
21172 fail:
21173 return NULL;
21174}
21175
21176
21177static PyObject *_wrap_VisualAttributes_font_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21178 PyObject *resultobj;
21179 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21180 wxFont *arg2 = (wxFont *) 0 ;
21181 PyObject * obj0 = 0 ;
21182 PyObject * obj1 = 0 ;
21183 char *kwnames[] = {
21184 (char *) "self",(char *) "font", NULL
21185 };
21186
21187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_font_set",kwnames,&obj0,&obj1)) goto fail;
21188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21190 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
21191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21192 if (arg1) (arg1)->font = *arg2;
21193
21194 Py_INCREF(Py_None); resultobj = Py_None;
21195 return resultobj;
21196 fail:
21197 return NULL;
21198}
21199
21200
21201static PyObject *_wrap_VisualAttributes_font_get(PyObject *self, PyObject *args, PyObject *kwargs) {
21202 PyObject *resultobj;
21203 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21204 wxFont *result;
21205 PyObject * obj0 = 0 ;
21206 char *kwnames[] = {
21207 (char *) "self", NULL
21208 };
21209
21210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_font_get",kwnames,&obj0)) goto fail;
21211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21213 result = (wxFont *)& ((arg1)->font);
21214
21215 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
21216 return resultobj;
21217 fail:
21218 return NULL;
21219}
21220
21221
21222static PyObject *_wrap_VisualAttributes_colFg_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21223 PyObject *resultobj;
21224 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21225 wxColour *arg2 = (wxColour *) 0 ;
21226 PyObject * obj0 = 0 ;
21227 PyObject * obj1 = 0 ;
21228 char *kwnames[] = {
21229 (char *) "self",(char *) "colFg", NULL
21230 };
21231
21232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colFg_set",kwnames,&obj0,&obj1)) goto fail;
21233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21235 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColour,
21236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21237 if (arg1) (arg1)->colFg = *arg2;
21238
21239 Py_INCREF(Py_None); resultobj = Py_None;
21240 return resultobj;
21241 fail:
21242 return NULL;
21243}
21244
21245
21246static PyObject *_wrap_VisualAttributes_colFg_get(PyObject *self, PyObject *args, PyObject *kwargs) {
21247 PyObject *resultobj;
21248 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21249 wxColour *result;
21250 PyObject * obj0 = 0 ;
21251 char *kwnames[] = {
21252 (char *) "self", NULL
21253 };
21254
21255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colFg_get",kwnames,&obj0)) goto fail;
21256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21258 result = (wxColour *)& ((arg1)->colFg);
21259
21260 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
21261 return resultobj;
21262 fail:
21263 return NULL;
21264}
21265
21266
21267static PyObject *_wrap_VisualAttributes_colBg_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21268 PyObject *resultobj;
21269 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21270 wxColour *arg2 = (wxColour *) 0 ;
21271 PyObject * obj0 = 0 ;
21272 PyObject * obj1 = 0 ;
21273 char *kwnames[] = {
21274 (char *) "self",(char *) "colBg", NULL
21275 };
21276
21277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colBg_set",kwnames,&obj0,&obj1)) goto fail;
21278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21280 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColour,
21281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21282 if (arg1) (arg1)->colBg = *arg2;
21283
21284 Py_INCREF(Py_None); resultobj = Py_None;
21285 return resultobj;
21286 fail:
21287 return NULL;
21288}
21289
21290
21291static PyObject *_wrap_VisualAttributes_colBg_get(PyObject *self, PyObject *args, PyObject *kwargs) {
21292 PyObject *resultobj;
21293 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21294 wxColour *result;
21295 PyObject * obj0 = 0 ;
21296 char *kwnames[] = {
21297 (char *) "self", NULL
21298 };
21299
21300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colBg_get",kwnames,&obj0)) goto fail;
21301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21303 result = (wxColour *)& ((arg1)->colBg);
21304
21305 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
21306 return resultobj;
21307 fail:
21308 return NULL;
21309}
21310
21311
21312static PyObject * VisualAttributes_swigregister(PyObject *self, PyObject *args) {
21313 PyObject *obj;
21314 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21315 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes, obj);
21316 Py_INCREF(obj);
21317 return Py_BuildValue((char *)"");
21318}
d14a1e28
RD
21319static PyObject *_wrap_new_Window(PyObject *self, PyObject *args, PyObject *kwargs) {
21320 PyObject *resultobj;
21321 wxWindow *arg1 = (wxWindow *) 0 ;
74a57fcd 21322 int arg2 = (int) (int)-1 ;
d14a1e28
RD
21323 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21324 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21325 wxSize const &arg4_defvalue = wxDefaultSize ;
21326 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21327 long arg5 = (long) 0 ;
21328 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21329 wxString *arg6 = (wxString *) &arg6_defvalue ;
21330 wxWindow *result;
21331 wxPoint temp3 ;
21332 wxSize temp4 ;
e811c8ce 21333 bool temp6 = False ;
d14a1e28 21334 PyObject * obj0 = 0 ;
994141e6 21335 PyObject * obj1 = 0 ;
d14a1e28
RD
21336 PyObject * obj2 = 0 ;
21337 PyObject * obj3 = 0 ;
994141e6 21338 PyObject * obj4 = 0 ;
d14a1e28
RD
21339 PyObject * obj5 = 0 ;
21340 char *kwnames[] = {
21341 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21342 };
21343
74a57fcd 21344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Window",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
21345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
74a57fcd
RD
21347 if (obj1) {
21348 arg2 = (int const) SWIG_AsInt(obj1);
21349 if (PyErr_Occurred()) SWIG_fail;
21350 }
d14a1e28
RD
21351 if (obj2) {
21352 {
21353 arg3 = &temp3;
21354 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21355 }
21356 }
21357 if (obj3) {
21358 {
21359 arg4 = &temp4;
21360 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21361 }
21362 }
994141e6 21363 if (obj4) {
15afbcd0
RD
21364 arg5 = (long) SWIG_AsLong(obj4);
21365 if (PyErr_Occurred()) SWIG_fail;
994141e6 21366 }
d14a1e28
RD
21367 if (obj5) {
21368 {
21369 arg6 = wxString_in_helper(obj5);
21370 if (arg6 == NULL) SWIG_fail;
e811c8ce 21371 temp6 = True;
d14a1e28
RD
21372 }
21373 }
21374 {
21375 PyThreadState* __tstate = wxPyBeginAllowThreads();
21376 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21377
21378 wxPyEndAllowThreads(__tstate);
21379 if (PyErr_Occurred()) SWIG_fail;
21380 }
21381 {
21382 resultobj = wxPyMake_wxObject(result);
21383 }
21384 {
21385 if (temp6)
21386 delete arg6;
21387 }
21388 return resultobj;
21389 fail:
21390 {
21391 if (temp6)
21392 delete arg6;
21393 }
21394 return NULL;
21395}
21396
21397
21398static PyObject *_wrap_new_PreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21399 PyObject *resultobj;
21400 wxWindow *result;
21401 char *kwnames[] = {
21402 NULL
21403 };
21404
21405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
21406 {
21407 PyThreadState* __tstate = wxPyBeginAllowThreads();
21408 result = (wxWindow *)new wxWindow();
21409
21410 wxPyEndAllowThreads(__tstate);
21411 if (PyErr_Occurred()) SWIG_fail;
21412 }
21413 {
21414 resultobj = wxPyMake_wxObject(result);
21415 }
21416 return resultobj;
21417 fail:
21418 return NULL;
21419}
21420
21421
21422static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21423 PyObject *resultobj;
21424 wxWindow *arg1 = (wxWindow *) 0 ;
21425 wxWindow *arg2 = (wxWindow *) 0 ;
74a57fcd 21426 int arg3 = (int) (int)-1 ;
d14a1e28
RD
21427 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21428 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21429 wxSize const &arg5_defvalue = wxDefaultSize ;
21430 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21431 long arg6 = (long) 0 ;
21432 wxString const &arg7_defvalue = wxPyPanelNameStr ;
21433 wxString *arg7 = (wxString *) &arg7_defvalue ;
21434 bool result;
21435 wxPoint temp4 ;
21436 wxSize temp5 ;
e811c8ce 21437 bool temp7 = False ;
d14a1e28
RD
21438 PyObject * obj0 = 0 ;
21439 PyObject * obj1 = 0 ;
994141e6 21440 PyObject * obj2 = 0 ;
d14a1e28
RD
21441 PyObject * obj3 = 0 ;
21442 PyObject * obj4 = 0 ;
994141e6 21443 PyObject * obj5 = 0 ;
d14a1e28
RD
21444 PyObject * obj6 = 0 ;
21445 char *kwnames[] = {
21446 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21447 };
21448
74a57fcd 21449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Window_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
21450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21452 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
74a57fcd
RD
21454 if (obj2) {
21455 arg3 = (int const) SWIG_AsInt(obj2);
21456 if (PyErr_Occurred()) SWIG_fail;
21457 }
d14a1e28
RD
21458 if (obj3) {
21459 {
21460 arg4 = &temp4;
21461 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21462 }
21463 }
21464 if (obj4) {
21465 {
21466 arg5 = &temp5;
21467 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21468 }
21469 }
994141e6 21470 if (obj5) {
15afbcd0
RD
21471 arg6 = (long) SWIG_AsLong(obj5);
21472 if (PyErr_Occurred()) SWIG_fail;
994141e6 21473 }
d14a1e28
RD
21474 if (obj6) {
21475 {
21476 arg7 = wxString_in_helper(obj6);
21477 if (arg7 == NULL) SWIG_fail;
e811c8ce 21478 temp7 = True;
d14a1e28
RD
21479 }
21480 }
21481 {
21482 PyThreadState* __tstate = wxPyBeginAllowThreads();
21483 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21484
21485 wxPyEndAllowThreads(__tstate);
21486 if (PyErr_Occurred()) SWIG_fail;
21487 }
4f89f6a3
RD
21488 {
21489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21490 }
d14a1e28
RD
21491 {
21492 if (temp7)
21493 delete arg7;
21494 }
21495 return resultobj;
21496 fail:
21497 {
21498 if (temp7)
21499 delete arg7;
21500 }
21501 return NULL;
21502}
21503
21504
21505static PyObject *_wrap_Window_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
21506 PyObject *resultobj;
21507 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 21508 bool arg2 = (bool) False ;
d14a1e28
RD
21509 bool result;
21510 PyObject * obj0 = 0 ;
21511 PyObject * obj1 = 0 ;
21512 char *kwnames[] = {
21513 (char *) "self",(char *) "force", NULL
21514 };
21515
21516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 21519 if (obj1) {
15afbcd0
RD
21520 arg2 = (bool) SWIG_AsBool(obj1);
21521 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21522 }
21523 {
21524 PyThreadState* __tstate = wxPyBeginAllowThreads();
21525 result = (bool)(arg1)->Close(arg2);
21526
21527 wxPyEndAllowThreads(__tstate);
21528 if (PyErr_Occurred()) SWIG_fail;
21529 }
4f89f6a3
RD
21530 {
21531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21532 }
d14a1e28
RD
21533 return resultobj;
21534 fail:
21535 return NULL;
21536}
21537
21538
21539static PyObject *_wrap_Window_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
21540 PyObject *resultobj;
21541 wxWindow *arg1 = (wxWindow *) 0 ;
21542 bool result;
21543 PyObject * obj0 = 0 ;
21544 char *kwnames[] = {
21545 (char *) "self", NULL
21546 };
21547
21548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
21549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21551 {
21552 PyThreadState* __tstate = wxPyBeginAllowThreads();
21553 result = (bool)(arg1)->Destroy();
21554
21555 wxPyEndAllowThreads(__tstate);
21556 if (PyErr_Occurred()) SWIG_fail;
21557 }
4f89f6a3
RD
21558 {
21559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21560 }
d14a1e28
RD
21561 return resultobj;
21562 fail:
21563 return NULL;
21564}
21565
21566
21567static PyObject *_wrap_Window_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21568 PyObject *resultobj;
21569 wxWindow *arg1 = (wxWindow *) 0 ;
21570 bool result;
21571 PyObject * obj0 = 0 ;
21572 char *kwnames[] = {
21573 (char *) "self", NULL
21574 };
21575
21576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
15afbcd0
RD
21577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21579 {
21580 PyThreadState* __tstate = wxPyBeginAllowThreads();
21581 result = (bool)(arg1)->DestroyChildren();
21582
21583 wxPyEndAllowThreads(__tstate);
21584 if (PyErr_Occurred()) SWIG_fail;
21585 }
4f89f6a3
RD
21586 {
21587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21588 }
d14a1e28
RD
21589 return resultobj;
21590 fail:
21591 return NULL;
21592}
21593
21594
21595static PyObject *_wrap_Window_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
21596 PyObject *resultobj;
21597 wxWindow *arg1 = (wxWindow *) 0 ;
21598 bool result;
21599 PyObject * obj0 = 0 ;
21600 char *kwnames[] = {
21601 (char *) "self", NULL
21602 };
21603
21604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
15afbcd0
RD
21605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21607 {
21608 PyThreadState* __tstate = wxPyBeginAllowThreads();
21609 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
21610
21611 wxPyEndAllowThreads(__tstate);
21612 if (PyErr_Occurred()) SWIG_fail;
21613 }
4f89f6a3
RD
21614 {
21615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21616 }
d14a1e28
RD
21617 return resultobj;
21618 fail:
21619 return NULL;
21620}
21621
21622
21623static PyObject *_wrap_Window_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21624 PyObject *resultobj;
21625 wxWindow *arg1 = (wxWindow *) 0 ;
21626 wxString *arg2 = 0 ;
e811c8ce 21627 bool temp2 = False ;
d14a1e28
RD
21628 PyObject * obj0 = 0 ;
21629 PyObject * obj1 = 0 ;
21630 char *kwnames[] = {
21631 (char *) "self",(char *) "title", NULL
21632 };
21633
21634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21637 {
21638 arg2 = wxString_in_helper(obj1);
21639 if (arg2 == NULL) SWIG_fail;
e811c8ce 21640 temp2 = True;
d14a1e28
RD
21641 }
21642 {
21643 PyThreadState* __tstate = wxPyBeginAllowThreads();
21644 (arg1)->SetTitle((wxString const &)*arg2);
21645
21646 wxPyEndAllowThreads(__tstate);
21647 if (PyErr_Occurred()) SWIG_fail;
21648 }
21649 Py_INCREF(Py_None); resultobj = Py_None;
21650 {
21651 if (temp2)
21652 delete arg2;
21653 }
21654 return resultobj;
21655 fail:
21656 {
21657 if (temp2)
21658 delete arg2;
21659 }
21660 return NULL;
21661}
21662
21663
21664static PyObject *_wrap_Window_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21665 PyObject *resultobj;
21666 wxWindow *arg1 = (wxWindow *) 0 ;
21667 wxString result;
21668 PyObject * obj0 = 0 ;
21669 char *kwnames[] = {
21670 (char *) "self", NULL
21671 };
21672
21673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
15afbcd0
RD
21674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21676 {
21677 PyThreadState* __tstate = wxPyBeginAllowThreads();
21678 result = ((wxWindow const *)arg1)->GetTitle();
21679
21680 wxPyEndAllowThreads(__tstate);
21681 if (PyErr_Occurred()) SWIG_fail;
21682 }
21683 {
21684#if wxUSE_UNICODE
21685 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21686#else
21687 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21688#endif
21689 }
21690 return resultobj;
21691 fail:
21692 return NULL;
21693}
21694
21695
21696static PyObject *_wrap_Window_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21697 PyObject *resultobj;
21698 wxWindow *arg1 = (wxWindow *) 0 ;
21699 wxString *arg2 = 0 ;
e811c8ce 21700 bool temp2 = False ;
d14a1e28
RD
21701 PyObject * obj0 = 0 ;
21702 PyObject * obj1 = 0 ;
21703 char *kwnames[] = {
21704 (char *) "self",(char *) "label", NULL
21705 };
21706
21707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21710 {
21711 arg2 = wxString_in_helper(obj1);
21712 if (arg2 == NULL) SWIG_fail;
e811c8ce 21713 temp2 = True;
d14a1e28
RD
21714 }
21715 {
21716 PyThreadState* __tstate = wxPyBeginAllowThreads();
21717 (arg1)->SetLabel((wxString const &)*arg2);
21718
21719 wxPyEndAllowThreads(__tstate);
21720 if (PyErr_Occurred()) SWIG_fail;
21721 }
21722 Py_INCREF(Py_None); resultobj = Py_None;
21723 {
21724 if (temp2)
21725 delete arg2;
21726 }
21727 return resultobj;
21728 fail:
21729 {
21730 if (temp2)
21731 delete arg2;
21732 }
21733 return NULL;
21734}
21735
21736
21737static PyObject *_wrap_Window_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21738 PyObject *resultobj;
21739 wxWindow *arg1 = (wxWindow *) 0 ;
21740 wxString result;
21741 PyObject * obj0 = 0 ;
21742 char *kwnames[] = {
21743 (char *) "self", NULL
21744 };
21745
21746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
21747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21749 {
21750 PyThreadState* __tstate = wxPyBeginAllowThreads();
21751 result = ((wxWindow const *)arg1)->GetLabel();
21752
21753 wxPyEndAllowThreads(__tstate);
21754 if (PyErr_Occurred()) SWIG_fail;
21755 }
21756 {
21757#if wxUSE_UNICODE
21758 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21759#else
21760 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21761#endif
21762 }
21763 return resultobj;
21764 fail:
21765 return NULL;
21766}
21767
21768
21769static PyObject *_wrap_Window_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
21770 PyObject *resultobj;
21771 wxWindow *arg1 = (wxWindow *) 0 ;
21772 wxString *arg2 = 0 ;
e811c8ce 21773 bool temp2 = False ;
d14a1e28
RD
21774 PyObject * obj0 = 0 ;
21775 PyObject * obj1 = 0 ;
21776 char *kwnames[] = {
21777 (char *) "self",(char *) "name", NULL
21778 };
21779
21780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21783 {
21784 arg2 = wxString_in_helper(obj1);
21785 if (arg2 == NULL) SWIG_fail;
e811c8ce 21786 temp2 = True;
d14a1e28
RD
21787 }
21788 {
21789 PyThreadState* __tstate = wxPyBeginAllowThreads();
21790 (arg1)->SetName((wxString const &)*arg2);
21791
21792 wxPyEndAllowThreads(__tstate);
21793 if (PyErr_Occurred()) SWIG_fail;
21794 }
21795 Py_INCREF(Py_None); resultobj = Py_None;
21796 {
21797 if (temp2)
21798 delete arg2;
21799 }
21800 return resultobj;
21801 fail:
21802 {
21803 if (temp2)
21804 delete arg2;
21805 }
21806 return NULL;
21807}
21808
21809
21810static PyObject *_wrap_Window_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
21811 PyObject *resultobj;
21812 wxWindow *arg1 = (wxWindow *) 0 ;
21813 wxString result;
21814 PyObject * obj0 = 0 ;
21815 char *kwnames[] = {
21816 (char *) "self", NULL
21817 };
21818
21819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
15afbcd0
RD
21820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21822 {
21823 PyThreadState* __tstate = wxPyBeginAllowThreads();
21824 result = ((wxWindow const *)arg1)->GetName();
21825
21826 wxPyEndAllowThreads(__tstate);
21827 if (PyErr_Occurred()) SWIG_fail;
21828 }
21829 {
21830#if wxUSE_UNICODE
21831 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21832#else
21833 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21834#endif
21835 }
21836 return resultobj;
21837 fail:
21838 return NULL;
21839}
21840
21841
4276dc52
RD
21842static PyObject *_wrap_Window_SetWindowVariant(PyObject *self, PyObject *args, PyObject *kwargs) {
21843 PyObject *resultobj;
21844 wxWindow *arg1 = (wxWindow *) 0 ;
21845 int arg2 ;
21846 PyObject * obj0 = 0 ;
21847 PyObject * obj1 = 0 ;
21848 char *kwnames[] = {
21849 (char *) "self",(char *) "variant", NULL
21850 };
21851
21852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowVariant",kwnames,&obj0,&obj1)) goto fail;
21853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21855 arg2 = (wxWindowVariant) SWIG_AsInt(obj1);
21856 if (PyErr_Occurred()) SWIG_fail;
21857 {
21858 PyThreadState* __tstate = wxPyBeginAllowThreads();
21859 (arg1)->SetWindowVariant((wxWindowVariant )arg2);
21860
21861 wxPyEndAllowThreads(__tstate);
21862 if (PyErr_Occurred()) SWIG_fail;
21863 }
21864 Py_INCREF(Py_None); resultobj = Py_None;
21865 return resultobj;
21866 fail:
21867 return NULL;
21868}
21869
21870
21871static PyObject *_wrap_Window_GetWindowVariant(PyObject *self, PyObject *args, PyObject *kwargs) {
21872 PyObject *resultobj;
21873 wxWindow *arg1 = (wxWindow *) 0 ;
21874 int result;
21875 PyObject * obj0 = 0 ;
21876 char *kwnames[] = {
21877 (char *) "self", NULL
21878 };
21879
21880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowVariant",kwnames,&obj0)) goto fail;
21881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21883 {
21884 PyThreadState* __tstate = wxPyBeginAllowThreads();
21885 result = (int)((wxWindow const *)arg1)->GetWindowVariant();
21886
21887 wxPyEndAllowThreads(__tstate);
21888 if (PyErr_Occurred()) SWIG_fail;
21889 }
21890 resultobj = SWIG_FromInt((int)result);
21891 return resultobj;
21892 fail:
21893 return NULL;
21894}
21895
21896
d14a1e28
RD
21897static PyObject *_wrap_Window_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21898 PyObject *resultobj;
21899 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 21900 int arg2 ;
d14a1e28 21901 PyObject * obj0 = 0 ;
994141e6 21902 PyObject * obj1 = 0 ;
d14a1e28
RD
21903 char *kwnames[] = {
21904 (char *) "self",(char *) "winid", NULL
21905 };
21906
994141e6 21907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21910 arg2 = (int) SWIG_AsInt(obj1);
21911 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21912 {
21913 PyThreadState* __tstate = wxPyBeginAllowThreads();
21914 (arg1)->SetId(arg2);
21915
21916 wxPyEndAllowThreads(__tstate);
21917 if (PyErr_Occurred()) SWIG_fail;
21918 }
21919 Py_INCREF(Py_None); resultobj = Py_None;
21920 return resultobj;
21921 fail:
21922 return NULL;
21923}
21924
21925
21926static PyObject *_wrap_Window_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21927 PyObject *resultobj;
21928 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 21929 int result;
d14a1e28
RD
21930 PyObject * obj0 = 0 ;
21931 char *kwnames[] = {
21932 (char *) "self", NULL
21933 };
21934
21935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
21936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21938 {
21939 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 21940 result = (int)((wxWindow const *)arg1)->GetId();
d14a1e28
RD
21941
21942 wxPyEndAllowThreads(__tstate);
21943 if (PyErr_Occurred()) SWIG_fail;
21944 }
15afbcd0 21945 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21946 return resultobj;
21947 fail:
21948 return NULL;
21949}
21950
21951
21952static PyObject *_wrap_Window_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
21953 PyObject *resultobj;
21954 int result;
21955 char *kwnames[] = {
21956 NULL
21957 };
21958
21959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
21960 {
21961 PyThreadState* __tstate = wxPyBeginAllowThreads();
21962 result = (int)wxWindow::NewControlId();
21963
21964 wxPyEndAllowThreads(__tstate);
21965 if (PyErr_Occurred()) SWIG_fail;
21966 }
15afbcd0 21967 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21968 return resultobj;
21969 fail:
21970 return NULL;
21971}
21972
21973
21974static PyObject *_wrap_Window_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
21975 PyObject *resultobj;
21976 int arg1 ;
21977 int result;
994141e6 21978 PyObject * obj0 = 0 ;
d14a1e28
RD
21979 char *kwnames[] = {
21980 (char *) "winid", NULL
21981 };
21982
994141e6 21983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_NextControlId",kwnames,&obj0)) goto fail;
15afbcd0
RD
21984 arg1 = (int) SWIG_AsInt(obj0);
21985 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21986 {
21987 PyThreadState* __tstate = wxPyBeginAllowThreads();
21988 result = (int)wxWindow::NextControlId(arg1);
21989
21990 wxPyEndAllowThreads(__tstate);
21991 if (PyErr_Occurred()) SWIG_fail;
21992 }
15afbcd0 21993 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21994 return resultobj;
21995 fail:
21996 return NULL;
21997}
21998
21999
22000static PyObject *_wrap_Window_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
22001 PyObject *resultobj;
22002 int arg1 ;
22003 int result;
994141e6 22004 PyObject * obj0 = 0 ;
d14a1e28
RD
22005 char *kwnames[] = {
22006 (char *) "winid", NULL
22007 };
22008
994141e6 22009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PrevControlId",kwnames,&obj0)) goto fail;
15afbcd0
RD
22010 arg1 = (int) SWIG_AsInt(obj0);
22011 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22012 {
22013 PyThreadState* __tstate = wxPyBeginAllowThreads();
22014 result = (int)wxWindow::PrevControlId(arg1);
22015
22016 wxPyEndAllowThreads(__tstate);
22017 if (PyErr_Occurred()) SWIG_fail;
22018 }
15afbcd0 22019 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22020 return resultobj;
22021 fail:
22022 return NULL;
22023}
22024
22025
22026static PyObject *_wrap_Window_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22027 PyObject *resultobj;
22028 wxWindow *arg1 = (wxWindow *) 0 ;
22029 wxSize *arg2 = 0 ;
22030 wxSize temp2 ;
22031 PyObject * obj0 = 0 ;
22032 PyObject * obj1 = 0 ;
22033 char *kwnames[] = {
22034 (char *) "self",(char *) "size", NULL
22035 };
22036
22037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22040 {
22041 arg2 = &temp2;
22042 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22043 }
22044 {
22045 PyThreadState* __tstate = wxPyBeginAllowThreads();
22046 (arg1)->SetSize((wxSize const &)*arg2);
22047
22048 wxPyEndAllowThreads(__tstate);
22049 if (PyErr_Occurred()) SWIG_fail;
22050 }
22051 Py_INCREF(Py_None); resultobj = Py_None;
22052 return resultobj;
22053 fail:
22054 return NULL;
22055}
22056
22057
22058static PyObject *_wrap_Window_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
22059 PyObject *resultobj;
22060 wxWindow *arg1 = (wxWindow *) 0 ;
22061 int arg2 ;
22062 int arg3 ;
22063 int arg4 ;
22064 int arg5 ;
22065 int arg6 = (int) wxSIZE_AUTO ;
22066 PyObject * obj0 = 0 ;
994141e6
RD
22067 PyObject * obj1 = 0 ;
22068 PyObject * obj2 = 0 ;
22069 PyObject * obj3 = 0 ;
22070 PyObject * obj4 = 0 ;
22071 PyObject * obj5 = 0 ;
d14a1e28
RD
22072 char *kwnames[] = {
22073 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22074 };
22075
994141e6 22076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetDimensions",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
22077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22079 arg2 = (int) SWIG_AsInt(obj1);
22080 if (PyErr_Occurred()) SWIG_fail;
22081 arg3 = (int) SWIG_AsInt(obj2);
22082 if (PyErr_Occurred()) SWIG_fail;
22083 arg4 = (int) SWIG_AsInt(obj3);
22084 if (PyErr_Occurred()) SWIG_fail;
22085 arg5 = (int) SWIG_AsInt(obj4);
22086 if (PyErr_Occurred()) SWIG_fail;
994141e6 22087 if (obj5) {
15afbcd0
RD
22088 arg6 = (int) SWIG_AsInt(obj5);
22089 if (PyErr_Occurred()) SWIG_fail;
994141e6 22090 }
d14a1e28
RD
22091 {
22092 PyThreadState* __tstate = wxPyBeginAllowThreads();
22093 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
22094
22095 wxPyEndAllowThreads(__tstate);
22096 if (PyErr_Occurred()) SWIG_fail;
22097 }
22098 Py_INCREF(Py_None); resultobj = Py_None;
22099 return resultobj;
22100 fail:
22101 return NULL;
22102}
22103
22104
22105static PyObject *_wrap_Window_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22106 PyObject *resultobj;
22107 wxWindow *arg1 = (wxWindow *) 0 ;
22108 wxRect *arg2 = 0 ;
22109 int arg3 = (int) wxSIZE_AUTO ;
22110 wxRect temp2 ;
22111 PyObject * obj0 = 0 ;
22112 PyObject * obj1 = 0 ;
994141e6 22113 PyObject * obj2 = 0 ;
d14a1e28
RD
22114 char *kwnames[] = {
22115 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22116 };
22117
994141e6 22118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22121 {
22122 arg2 = &temp2;
22123 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22124 }
994141e6 22125 if (obj2) {
15afbcd0
RD
22126 arg3 = (int) SWIG_AsInt(obj2);
22127 if (PyErr_Occurred()) SWIG_fail;
994141e6 22128 }
d14a1e28
RD
22129 {
22130 PyThreadState* __tstate = wxPyBeginAllowThreads();
22131 (arg1)->SetSize((wxRect const &)*arg2,arg3);
22132
22133 wxPyEndAllowThreads(__tstate);
22134 if (PyErr_Occurred()) SWIG_fail;
22135 }
22136 Py_INCREF(Py_None); resultobj = Py_None;
22137 return resultobj;
22138 fail:
22139 return NULL;
22140}
22141
22142
22143static PyObject *_wrap_Window_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
22144 PyObject *resultobj;
22145 wxWindow *arg1 = (wxWindow *) 0 ;
22146 int arg2 ;
22147 int arg3 ;
22148 PyObject * obj0 = 0 ;
994141e6
RD
22149 PyObject * obj1 = 0 ;
22150 PyObject * obj2 = 0 ;
d14a1e28
RD
22151 char *kwnames[] = {
22152 (char *) "self",(char *) "width",(char *) "height", NULL
22153 };
22154
994141e6 22155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22158 arg2 = (int) SWIG_AsInt(obj1);
22159 if (PyErr_Occurred()) SWIG_fail;
22160 arg3 = (int) SWIG_AsInt(obj2);
22161 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22162 {
22163 PyThreadState* __tstate = wxPyBeginAllowThreads();
22164 (arg1)->SetSize(arg2,arg3);
22165
22166 wxPyEndAllowThreads(__tstate);
22167 if (PyErr_Occurred()) SWIG_fail;
22168 }
22169 Py_INCREF(Py_None); resultobj = Py_None;
22170 return resultobj;
22171 fail:
22172 return NULL;
22173}
22174
22175
22176static PyObject *_wrap_Window_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
22177 PyObject *resultobj;
22178 wxWindow *arg1 = (wxWindow *) 0 ;
22179 wxPoint *arg2 = 0 ;
22180 int arg3 = (int) wxSIZE_USE_EXISTING ;
22181 wxPoint temp2 ;
22182 PyObject * obj0 = 0 ;
22183 PyObject * obj1 = 0 ;
994141e6 22184 PyObject * obj2 = 0 ;
d14a1e28
RD
22185 char *kwnames[] = {
22186 (char *) "self",(char *) "pt",(char *) "flags", NULL
22187 };
22188
994141e6 22189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_Move",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22192 {
22193 arg2 = &temp2;
22194 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22195 }
994141e6 22196 if (obj2) {
15afbcd0
RD
22197 arg3 = (int) SWIG_AsInt(obj2);
22198 if (PyErr_Occurred()) SWIG_fail;
994141e6 22199 }
d14a1e28
RD
22200 {
22201 PyThreadState* __tstate = wxPyBeginAllowThreads();
22202 (arg1)->Move((wxPoint const &)*arg2,arg3);
22203
22204 wxPyEndAllowThreads(__tstate);
22205 if (PyErr_Occurred()) SWIG_fail;
22206 }
22207 Py_INCREF(Py_None); resultobj = Py_None;
22208 return resultobj;
22209 fail:
22210 return NULL;
22211}
22212
22213
22214static PyObject *_wrap_Window_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22215 PyObject *resultobj;
22216 wxWindow *arg1 = (wxWindow *) 0 ;
22217 int arg2 ;
22218 int arg3 ;
22219 int arg4 = (int) wxSIZE_USE_EXISTING ;
22220 PyObject * obj0 = 0 ;
994141e6
RD
22221 PyObject * obj1 = 0 ;
22222 PyObject * obj2 = 0 ;
22223 PyObject * obj3 = 0 ;
d14a1e28
RD
22224 char *kwnames[] = {
22225 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22226 };
22227
994141e6 22228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_MoveXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
22229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22231 arg2 = (int) SWIG_AsInt(obj1);
22232 if (PyErr_Occurred()) SWIG_fail;
22233 arg3 = (int) SWIG_AsInt(obj2);
22234 if (PyErr_Occurred()) SWIG_fail;
994141e6 22235 if (obj3) {
15afbcd0
RD
22236 arg4 = (int) SWIG_AsInt(obj3);
22237 if (PyErr_Occurred()) SWIG_fail;
994141e6 22238 }
d14a1e28
RD
22239 {
22240 PyThreadState* __tstate = wxPyBeginAllowThreads();
22241 (arg1)->Move(arg2,arg3,arg4);
22242
22243 wxPyEndAllowThreads(__tstate);
22244 if (PyErr_Occurred()) SWIG_fail;
22245 }
22246 Py_INCREF(Py_None); resultobj = Py_None;
22247 return resultobj;
22248 fail:
22249 return NULL;
22250}
22251
22252
22253static PyObject *_wrap_Window_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
22254 PyObject *resultobj;
22255 wxWindow *arg1 = (wxWindow *) 0 ;
22256 PyObject * obj0 = 0 ;
22257 char *kwnames[] = {
22258 (char *) "self", NULL
22259 };
22260
22261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
22266 (arg1)->Raise();
22267
22268 wxPyEndAllowThreads(__tstate);
22269 if (PyErr_Occurred()) SWIG_fail;
22270 }
22271 Py_INCREF(Py_None); resultobj = Py_None;
22272 return resultobj;
22273 fail:
22274 return NULL;
22275}
22276
22277
22278static PyObject *_wrap_Window_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
22279 PyObject *resultobj;
22280 wxWindow *arg1 = (wxWindow *) 0 ;
22281 PyObject * obj0 = 0 ;
22282 char *kwnames[] = {
22283 (char *) "self", NULL
22284 };
22285
22286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
15afbcd0
RD
22287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22289 {
22290 PyThreadState* __tstate = wxPyBeginAllowThreads();
22291 (arg1)->Lower();
22292
22293 wxPyEndAllowThreads(__tstate);
22294 if (PyErr_Occurred()) SWIG_fail;
22295 }
22296 Py_INCREF(Py_None); resultobj = Py_None;
22297 return resultobj;
22298 fail:
22299 return NULL;
22300}
22301
22302
22303static PyObject *_wrap_Window_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22304 PyObject *resultobj;
22305 wxWindow *arg1 = (wxWindow *) 0 ;
22306 wxSize *arg2 = 0 ;
22307 wxSize temp2 ;
22308 PyObject * obj0 = 0 ;
22309 PyObject * obj1 = 0 ;
22310 char *kwnames[] = {
22311 (char *) "self",(char *) "size", NULL
22312 };
22313
22314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22317 {
22318 arg2 = &temp2;
22319 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22320 }
22321 {
22322 PyThreadState* __tstate = wxPyBeginAllowThreads();
22323 (arg1)->SetClientSize((wxSize const &)*arg2);
22324
22325 wxPyEndAllowThreads(__tstate);
22326 if (PyErr_Occurred()) SWIG_fail;
22327 }
22328 Py_INCREF(Py_None); resultobj = Py_None;
22329 return resultobj;
22330 fail:
22331 return NULL;
22332}
22333
22334
22335static PyObject *_wrap_Window_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
22336 PyObject *resultobj;
22337 wxWindow *arg1 = (wxWindow *) 0 ;
22338 int arg2 ;
22339 int arg3 ;
22340 PyObject * obj0 = 0 ;
994141e6
RD
22341 PyObject * obj1 = 0 ;
22342 PyObject * obj2 = 0 ;
d14a1e28
RD
22343 char *kwnames[] = {
22344 (char *) "self",(char *) "width",(char *) "height", NULL
22345 };
22346
994141e6 22347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetClientSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22350 arg2 = (int) SWIG_AsInt(obj1);
22351 if (PyErr_Occurred()) SWIG_fail;
22352 arg3 = (int) SWIG_AsInt(obj2);
22353 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22354 {
22355 PyThreadState* __tstate = wxPyBeginAllowThreads();
22356 (arg1)->SetClientSize(arg2,arg3);
22357
22358 wxPyEndAllowThreads(__tstate);
22359 if (PyErr_Occurred()) SWIG_fail;
22360 }
22361 Py_INCREF(Py_None); resultobj = Py_None;
22362 return resultobj;
22363 fail:
22364 return NULL;
22365}
22366
22367
22368static PyObject *_wrap_Window_SetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22369 PyObject *resultobj;
22370 wxWindow *arg1 = (wxWindow *) 0 ;
22371 wxRect *arg2 = 0 ;
22372 wxRect temp2 ;
22373 PyObject * obj0 = 0 ;
22374 PyObject * obj1 = 0 ;
22375 char *kwnames[] = {
22376 (char *) "self",(char *) "rect", NULL
22377 };
22378
22379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22382 {
22383 arg2 = &temp2;
22384 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22385 }
22386 {
22387 PyThreadState* __tstate = wxPyBeginAllowThreads();
22388 (arg1)->SetClientSize((wxRect const &)*arg2);
22389
22390 wxPyEndAllowThreads(__tstate);
22391 if (PyErr_Occurred()) SWIG_fail;
22392 }
22393 Py_INCREF(Py_None); resultobj = Py_None;
22394 return resultobj;
22395 fail:
22396 return NULL;
22397}
22398
22399
22400static PyObject *_wrap_Window_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
22401 PyObject *resultobj;
22402 wxWindow *arg1 = (wxWindow *) 0 ;
22403 wxPoint result;
22404 PyObject * obj0 = 0 ;
22405 char *kwnames[] = {
22406 (char *) "self", NULL
22407 };
22408
22409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
22410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22412 {
22413 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 22414 result = (arg1)->GetPosition();
d14a1e28
RD
22415
22416 wxPyEndAllowThreads(__tstate);
22417 if (PyErr_Occurred()) SWIG_fail;
22418 }
22419 {
22420 wxPoint * resultptr;
22421 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 22422 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22423 }
22424 return resultobj;
22425 fail:
22426 return NULL;
22427}
22428
22429
22430static PyObject *_wrap_Window_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22431 PyObject *resultobj;
22432 wxWindow *arg1 = (wxWindow *) 0 ;
22433 int *arg2 = (int *) 0 ;
22434 int *arg3 = (int *) 0 ;
22435 int temp2 ;
22436 int temp3 ;
22437 PyObject * obj0 = 0 ;
22438 char *kwnames[] = {
22439 (char *) "self", NULL
22440 };
22441
22442 arg2 = &temp2;
22443 arg3 = &temp3;
22444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
22445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22447 {
22448 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 22449 (arg1)->GetPosition(arg2,arg3);
d14a1e28
RD
22450
22451 wxPyEndAllowThreads(__tstate);
22452 if (PyErr_Occurred()) SWIG_fail;
22453 }
22454 Py_INCREF(Py_None); resultobj = Py_None;
22455 {
22456 PyObject *o = PyInt_FromLong((long) (*arg2));
22457 resultobj = t_output_helper(resultobj,o);
22458 }
22459 {
22460 PyObject *o = PyInt_FromLong((long) (*arg3));
22461 resultobj = t_output_helper(resultobj,o);
22462 }
22463 return resultobj;
22464 fail:
22465 return NULL;
22466}
22467
22468
22469static PyObject *_wrap_Window_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22470 PyObject *resultobj;
22471 wxWindow *arg1 = (wxWindow *) 0 ;
22472 wxSize result;
22473 PyObject * obj0 = 0 ;
22474 char *kwnames[] = {
22475 (char *) "self", NULL
22476 };
22477
22478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
22479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22481 {
22482 PyThreadState* __tstate = wxPyBeginAllowThreads();
22483 result = ((wxWindow const *)arg1)->GetSize();
22484
22485 wxPyEndAllowThreads(__tstate);
22486 if (PyErr_Occurred()) SWIG_fail;
22487 }
22488 {
22489 wxSize * resultptr;
22490 resultptr = new wxSize((wxSize &) result);
15afbcd0 22491 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22492 }
22493 return resultobj;
22494 fail:
22495 return NULL;
22496}
22497
22498
22499static PyObject *_wrap_Window_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22500 PyObject *resultobj;
22501 wxWindow *arg1 = (wxWindow *) 0 ;
22502 int *arg2 = (int *) 0 ;
22503 int *arg3 = (int *) 0 ;
22504 int temp2 ;
22505 int temp3 ;
22506 PyObject * obj0 = 0 ;
22507 char *kwnames[] = {
22508 (char *) "self", NULL
22509 };
22510
22511 arg2 = &temp2;
22512 arg3 = &temp3;
22513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
22514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22516 {
22517 PyThreadState* __tstate = wxPyBeginAllowThreads();
22518 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
22519
22520 wxPyEndAllowThreads(__tstate);
22521 if (PyErr_Occurred()) SWIG_fail;
22522 }
22523 Py_INCREF(Py_None); resultobj = Py_None;
22524 {
22525 PyObject *o = PyInt_FromLong((long) (*arg2));
22526 resultobj = t_output_helper(resultobj,o);
22527 }
22528 {
22529 PyObject *o = PyInt_FromLong((long) (*arg3));
22530 resultobj = t_output_helper(resultobj,o);
22531 }
22532 return resultobj;
22533 fail:
22534 return NULL;
22535}
22536
22537
22538static PyObject *_wrap_Window_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22539 PyObject *resultobj;
22540 wxWindow *arg1 = (wxWindow *) 0 ;
22541 wxRect result;
22542 PyObject * obj0 = 0 ;
22543 char *kwnames[] = {
22544 (char *) "self", NULL
22545 };
22546
22547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
22548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22550 {
22551 PyThreadState* __tstate = wxPyBeginAllowThreads();
22552 result = ((wxWindow const *)arg1)->GetRect();
22553
22554 wxPyEndAllowThreads(__tstate);
22555 if (PyErr_Occurred()) SWIG_fail;
22556 }
22557 {
22558 wxRect * resultptr;
22559 resultptr = new wxRect((wxRect &) result);
15afbcd0 22560 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
22561 }
22562 return resultobj;
22563 fail:
22564 return NULL;
22565}
22566
22567
22568static PyObject *_wrap_Window_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22569 PyObject *resultobj;
22570 wxWindow *arg1 = (wxWindow *) 0 ;
22571 wxSize result;
22572 PyObject * obj0 = 0 ;
22573 char *kwnames[] = {
22574 (char *) "self", NULL
22575 };
22576
22577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
22578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22580 {
22581 PyThreadState* __tstate = wxPyBeginAllowThreads();
22582 result = ((wxWindow const *)arg1)->GetClientSize();
22583
22584 wxPyEndAllowThreads(__tstate);
22585 if (PyErr_Occurred()) SWIG_fail;
22586 }
22587 {
22588 wxSize * resultptr;
22589 resultptr = new wxSize((wxSize &) result);
15afbcd0 22590 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22591 }
22592 return resultobj;
22593 fail:
22594 return NULL;
22595}
22596
22597
22598static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22599 PyObject *resultobj;
22600 wxWindow *arg1 = (wxWindow *) 0 ;
22601 int *arg2 = (int *) 0 ;
22602 int *arg3 = (int *) 0 ;
22603 int temp2 ;
22604 int temp3 ;
22605 PyObject * obj0 = 0 ;
22606 char *kwnames[] = {
22607 (char *) "self", NULL
22608 };
22609
22610 arg2 = &temp2;
22611 arg3 = &temp3;
22612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
22613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22615 {
22616 PyThreadState* __tstate = wxPyBeginAllowThreads();
22617 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
22618
22619 wxPyEndAllowThreads(__tstate);
22620 if (PyErr_Occurred()) SWIG_fail;
22621 }
22622 Py_INCREF(Py_None); resultobj = Py_None;
22623 {
22624 PyObject *o = PyInt_FromLong((long) (*arg2));
22625 resultobj = t_output_helper(resultobj,o);
22626 }
22627 {
22628 PyObject *o = PyInt_FromLong((long) (*arg3));
22629 resultobj = t_output_helper(resultobj,o);
22630 }
22631 return resultobj;
22632 fail:
22633 return NULL;
22634}
22635
22636
22637static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
22638 PyObject *resultobj;
22639 wxWindow *arg1 = (wxWindow *) 0 ;
22640 wxPoint result;
22641 PyObject * obj0 = 0 ;
22642 char *kwnames[] = {
22643 (char *) "self", NULL
22644 };
22645
22646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
15afbcd0
RD
22647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22649 {
22650 PyThreadState* __tstate = wxPyBeginAllowThreads();
22651 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
22652
22653 wxPyEndAllowThreads(__tstate);
22654 if (PyErr_Occurred()) SWIG_fail;
22655 }
22656 {
22657 wxPoint * resultptr;
22658 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 22659 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22660 }
22661 return resultobj;
22662 fail:
22663 return NULL;
22664}
22665
22666
22667static PyObject *_wrap_Window_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22668 PyObject *resultobj;
22669 wxWindow *arg1 = (wxWindow *) 0 ;
22670 wxRect result;
22671 PyObject * obj0 = 0 ;
22672 char *kwnames[] = {
22673 (char *) "self", NULL
22674 };
22675
22676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
22677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22679 {
22680 PyThreadState* __tstate = wxPyBeginAllowThreads();
22681 result = ((wxWindow const *)arg1)->GetClientRect();
22682
22683 wxPyEndAllowThreads(__tstate);
22684 if (PyErr_Occurred()) SWIG_fail;
22685 }
22686 {
22687 wxRect * resultptr;
22688 resultptr = new wxRect((wxRect &) result);
15afbcd0 22689 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
22690 }
22691 return resultobj;
22692 fail:
22693 return NULL;
22694}
22695
22696
22697static PyObject *_wrap_Window_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22698 PyObject *resultobj;
22699 wxWindow *arg1 = (wxWindow *) 0 ;
22700 wxSize result;
22701 PyObject * obj0 = 0 ;
22702 char *kwnames[] = {
22703 (char *) "self", NULL
22704 };
22705
22706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
22707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22709 {
22710 PyThreadState* __tstate = wxPyBeginAllowThreads();
22711 result = ((wxWindow const *)arg1)->GetBestSize();
22712
22713 wxPyEndAllowThreads(__tstate);
22714 if (PyErr_Occurred()) SWIG_fail;
22715 }
22716 {
22717 wxSize * resultptr;
22718 resultptr = new wxSize((wxSize &) result);
15afbcd0 22719 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22720 }
22721 return resultobj;
22722 fail:
22723 return NULL;
22724}
22725
22726
22727static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22728 PyObject *resultobj;
22729 wxWindow *arg1 = (wxWindow *) 0 ;
22730 int *arg2 = (int *) 0 ;
22731 int *arg3 = (int *) 0 ;
22732 int temp2 ;
22733 int temp3 ;
22734 PyObject * obj0 = 0 ;
22735 char *kwnames[] = {
22736 (char *) "self", NULL
22737 };
22738
22739 arg2 = &temp2;
22740 arg3 = &temp3;
22741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
22742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22744 {
22745 PyThreadState* __tstate = wxPyBeginAllowThreads();
22746 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
22747
22748 wxPyEndAllowThreads(__tstate);
22749 if (PyErr_Occurred()) SWIG_fail;
22750 }
22751 Py_INCREF(Py_None); resultobj = Py_None;
22752 {
22753 PyObject *o = PyInt_FromLong((long) (*arg2));
22754 resultobj = t_output_helper(resultobj,o);
22755 }
22756 {
22757 PyObject *o = PyInt_FromLong((long) (*arg3));
22758 resultobj = t_output_helper(resultobj,o);
22759 }
22760 return resultobj;
22761 fail:
22762 return NULL;
22763}
22764
22765
22766static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22767 PyObject *resultobj;
22768 wxWindow *arg1 = (wxWindow *) 0 ;
22769 wxSize result;
22770 PyObject * obj0 = 0 ;
22771 char *kwnames[] = {
22772 (char *) "self", NULL
22773 };
22774
22775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
22776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22778 {
22779 PyThreadState* __tstate = wxPyBeginAllowThreads();
22780 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
22781
22782 wxPyEndAllowThreads(__tstate);
22783 if (PyErr_Occurred()) SWIG_fail;
22784 }
22785 {
22786 wxSize * resultptr;
22787 resultptr = new wxSize((wxSize &) result);
15afbcd0 22788 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22789 }
22790 return resultobj;
22791 fail:
22792 return NULL;
22793}
22794
22795
22796static PyObject *_wrap_Window_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
22797 PyObject *resultobj;
22798 wxWindow *arg1 = (wxWindow *) 0 ;
22799 int arg2 = (int) wxBOTH ;
22800 PyObject * obj0 = 0 ;
994141e6 22801 PyObject * obj1 = 0 ;
d14a1e28
RD
22802 char *kwnames[] = {
22803 (char *) "self",(char *) "direction", NULL
22804 };
22805
994141e6 22806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Center",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 22809 if (obj1) {
15afbcd0
RD
22810 arg2 = (int) SWIG_AsInt(obj1);
22811 if (PyErr_Occurred()) SWIG_fail;
994141e6 22812 }
d14a1e28
RD
22813 {
22814 PyThreadState* __tstate = wxPyBeginAllowThreads();
22815 (arg1)->Center(arg2);
22816
22817 wxPyEndAllowThreads(__tstate);
22818 if (PyErr_Occurred()) SWIG_fail;
22819 }
22820 Py_INCREF(Py_None); resultobj = Py_None;
22821 return resultobj;
22822 fail:
22823 return NULL;
22824}
22825
22826
22827static PyObject *_wrap_Window_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22828 PyObject *resultobj;
22829 wxWindow *arg1 = (wxWindow *) 0 ;
22830 int arg2 = (int) wxBOTH ;
22831 PyObject * obj0 = 0 ;
994141e6 22832 PyObject * obj1 = 0 ;
d14a1e28
RD
22833 char *kwnames[] = {
22834 (char *) "self",(char *) "dir", NULL
22835 };
22836
994141e6 22837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnScreen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 22840 if (obj1) {
15afbcd0
RD
22841 arg2 = (int) SWIG_AsInt(obj1);
22842 if (PyErr_Occurred()) SWIG_fail;
994141e6 22843 }
d14a1e28
RD
22844 {
22845 PyThreadState* __tstate = wxPyBeginAllowThreads();
22846 (arg1)->CenterOnScreen(arg2);
22847
22848 wxPyEndAllowThreads(__tstate);
22849 if (PyErr_Occurred()) SWIG_fail;
22850 }
22851 Py_INCREF(Py_None); resultobj = Py_None;
22852 return resultobj;
22853 fail:
22854 return NULL;
22855}
22856
22857
22858static PyObject *_wrap_Window_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
22859 PyObject *resultobj;
22860 wxWindow *arg1 = (wxWindow *) 0 ;
22861 int arg2 = (int) wxBOTH ;
22862 PyObject * obj0 = 0 ;
994141e6 22863 PyObject * obj1 = 0 ;
d14a1e28
RD
22864 char *kwnames[] = {
22865 (char *) "self",(char *) "dir", NULL
22866 };
22867
994141e6 22868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnParent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 22871 if (obj1) {
15afbcd0
RD
22872 arg2 = (int) SWIG_AsInt(obj1);
22873 if (PyErr_Occurred()) SWIG_fail;
994141e6 22874 }
d14a1e28
RD
22875 {
22876 PyThreadState* __tstate = wxPyBeginAllowThreads();
22877 (arg1)->CenterOnParent(arg2);
22878
22879 wxPyEndAllowThreads(__tstate);
22880 if (PyErr_Occurred()) SWIG_fail;
22881 }
22882 Py_INCREF(Py_None); resultobj = Py_None;
22883 return resultobj;
22884 fail:
22885 return NULL;
22886}
22887
22888
22889static PyObject *_wrap_Window_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
22890 PyObject *resultobj;
22891 wxWindow *arg1 = (wxWindow *) 0 ;
22892 PyObject * obj0 = 0 ;
22893 char *kwnames[] = {
22894 (char *) "self", NULL
22895 };
22896
22897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
15afbcd0
RD
22898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22900 {
22901 PyThreadState* __tstate = wxPyBeginAllowThreads();
22902 (arg1)->Fit();
22903
22904 wxPyEndAllowThreads(__tstate);
22905 if (PyErr_Occurred()) SWIG_fail;
22906 }
22907 Py_INCREF(Py_None); resultobj = Py_None;
22908 return resultobj;
22909 fail:
22910 return NULL;
22911}
22912
22913
22914static PyObject *_wrap_Window_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
22915 PyObject *resultobj;
22916 wxWindow *arg1 = (wxWindow *) 0 ;
22917 PyObject * obj0 = 0 ;
22918 char *kwnames[] = {
22919 (char *) "self", NULL
22920 };
22921
22922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail;
15afbcd0
RD
22923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22925 {
22926 PyThreadState* __tstate = wxPyBeginAllowThreads();
22927 (arg1)->FitInside();
22928
22929 wxPyEndAllowThreads(__tstate);
22930 if (PyErr_Occurred()) SWIG_fail;
22931 }
22932 Py_INCREF(Py_None); resultobj = Py_None;
22933 return resultobj;
22934 fail:
22935 return NULL;
22936}
22937
22938
74a57fcd 22939static PyObject *_wrap_Window_SetSizeHints__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28
RD
22940 PyObject *resultobj;
22941 wxWindow *arg1 = (wxWindow *) 0 ;
22942 int arg2 ;
22943 int arg3 ;
22944 int arg4 = (int) -1 ;
22945 int arg5 = (int) -1 ;
22946 int arg6 = (int) -1 ;
22947 int arg7 = (int) -1 ;
22948 PyObject * obj0 = 0 ;
994141e6
RD
22949 PyObject * obj1 = 0 ;
22950 PyObject * obj2 = 0 ;
22951 PyObject * obj3 = 0 ;
22952 PyObject * obj4 = 0 ;
22953 PyObject * obj5 = 0 ;
22954 PyObject * obj6 = 0 ;
d14a1e28 22955
74a57fcd 22956 if(!PyArg_ParseTuple(args,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
22957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22959 arg2 = (int) SWIG_AsInt(obj1);
22960 if (PyErr_Occurred()) SWIG_fail;
22961 arg3 = (int) SWIG_AsInt(obj2);
22962 if (PyErr_Occurred()) SWIG_fail;
994141e6 22963 if (obj3) {
15afbcd0
RD
22964 arg4 = (int) SWIG_AsInt(obj3);
22965 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
22966 }
22967 if (obj4) {
15afbcd0
RD
22968 arg5 = (int) SWIG_AsInt(obj4);
22969 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
22970 }
22971 if (obj5) {
15afbcd0
RD
22972 arg6 = (int) SWIG_AsInt(obj5);
22973 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
22974 }
22975 if (obj6) {
15afbcd0
RD
22976 arg7 = (int) SWIG_AsInt(obj6);
22977 if (PyErr_Occurred()) SWIG_fail;
994141e6 22978 }
d14a1e28
RD
22979 {
22980 PyThreadState* __tstate = wxPyBeginAllowThreads();
22981 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
22982
22983 wxPyEndAllowThreads(__tstate);
22984 if (PyErr_Occurred()) SWIG_fail;
22985 }
22986 Py_INCREF(Py_None); resultobj = Py_None;
22987 return resultobj;
22988 fail:
22989 return NULL;
22990}
22991
22992
74a57fcd
RD
22993static PyObject *_wrap_Window_SetSizeHints__SWIG_1(PyObject *self, PyObject *args) {
22994 PyObject *resultobj;
22995 wxWindow *arg1 = (wxWindow *) 0 ;
22996 wxSize *arg2 = 0 ;
22997 wxSize const &arg3_defvalue = wxDefaultSize ;
22998 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
22999 wxSize const &arg4_defvalue = wxDefaultSize ;
23000 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23001 wxSize temp2 ;
23002 wxSize temp3 ;
23003 wxSize temp4 ;
23004 PyObject * obj0 = 0 ;
23005 PyObject * obj1 = 0 ;
23006 PyObject * obj2 = 0 ;
23007 PyObject * obj3 = 0 ;
23008
23009 if(!PyArg_ParseTuple(args,(char *)"OO|OO:Window_SetSizeHints",&obj0,&obj1,&obj2,&obj3)) goto fail;
23010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23012 {
23013 arg2 = &temp2;
23014 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23015 }
23016 if (obj2) {
23017 {
23018 arg3 = &temp3;
23019 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
23020 }
23021 }
23022 if (obj3) {
23023 {
23024 arg4 = &temp4;
23025 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23026 }
23027 }
23028 {
23029 PyThreadState* __tstate = wxPyBeginAllowThreads();
23030 (arg1)->SetSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3,(wxSize const &)*arg4);
23031
23032 wxPyEndAllowThreads(__tstate);
23033 if (PyErr_Occurred()) SWIG_fail;
23034 }
23035 Py_INCREF(Py_None); resultobj = Py_None;
23036 return resultobj;
23037 fail:
23038 return NULL;
23039}
23040
23041
23042static PyObject *_wrap_Window_SetSizeHints(PyObject *self, PyObject *args) {
23043 int argc;
23044 PyObject *argv[8];
23045 int ii;
23046
23047 argc = PyObject_Length(args);
23048 for (ii = 0; (ii < argc) && (ii < 7); ii++) {
23049 argv[ii] = PyTuple_GetItem(args,ii);
23050 }
23051 if ((argc >= 2) && (argc <= 4)) {
23052 int _v;
23053 {
23054 void *ptr;
23055 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23056 _v = 0;
23057 PyErr_Clear();
23058 } else {
23059 _v = 1;
23060 }
23061 }
23062 if (_v) {
23063 {
23064 _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2);
23065 }
23066 if (_v) {
23067 if (argc <= 2) {
23068 return _wrap_Window_SetSizeHints__SWIG_1(self,args);
23069 }
23070 {
23071 _v = wxPySimple_typecheck(argv[2], wxT("wxSize"), 2);
23072 }
23073 if (_v) {
23074 if (argc <= 3) {
23075 return _wrap_Window_SetSizeHints__SWIG_1(self,args);
23076 }
23077 {
23078 _v = wxPySimple_typecheck(argv[3], wxT("wxSize"), 2);
23079 }
23080 if (_v) {
23081 return _wrap_Window_SetSizeHints__SWIG_1(self,args);
23082 }
23083 }
23084 }
23085 }
23086 }
23087 if ((argc >= 3) && (argc <= 7)) {
23088 int _v;
23089 {
23090 void *ptr;
23091 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23092 _v = 0;
23093 PyErr_Clear();
23094 } else {
23095 _v = 1;
23096 }
23097 }
23098 if (_v) {
23099 _v = SWIG_CheckInt(argv[1]);
23100 if (_v) {
23101 _v = SWIG_CheckInt(argv[2]);
23102 if (_v) {
23103 if (argc <= 3) {
23104 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23105 }
23106 _v = SWIG_CheckInt(argv[3]);
23107 if (_v) {
23108 if (argc <= 4) {
23109 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23110 }
23111 _v = SWIG_CheckInt(argv[4]);
23112 if (_v) {
23113 if (argc <= 5) {
23114 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23115 }
23116 _v = SWIG_CheckInt(argv[5]);
23117 if (_v) {
23118 if (argc <= 6) {
23119 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23120 }
23121 _v = SWIG_CheckInt(argv[6]);
23122 if (_v) {
23123 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23124 }
23125 }
23126 }
23127 }
23128 }
23129 }
23130 }
23131 }
23132
23133 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_SetSizeHints'");
23134 return NULL;
23135}
23136
23137
23138static PyObject *_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28
RD
23139 PyObject *resultobj;
23140 wxWindow *arg1 = (wxWindow *) 0 ;
23141 int arg2 ;
23142 int arg3 ;
23143 int arg4 = (int) -1 ;
23144 int arg5 = (int) -1 ;
23145 PyObject * obj0 = 0 ;
994141e6
RD
23146 PyObject * obj1 = 0 ;
23147 PyObject * obj2 = 0 ;
23148 PyObject * obj3 = 0 ;
23149 PyObject * obj4 = 0 ;
d14a1e28 23150
74a57fcd 23151 if(!PyArg_ParseTuple(args,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
23152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23154 arg2 = (int) SWIG_AsInt(obj1);
23155 if (PyErr_Occurred()) SWIG_fail;
23156 arg3 = (int) SWIG_AsInt(obj2);
23157 if (PyErr_Occurred()) SWIG_fail;
994141e6 23158 if (obj3) {
15afbcd0
RD
23159 arg4 = (int) SWIG_AsInt(obj3);
23160 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
23161 }
23162 if (obj4) {
15afbcd0
RD
23163 arg5 = (int) SWIG_AsInt(obj4);
23164 if (PyErr_Occurred()) SWIG_fail;
994141e6 23165 }
d14a1e28
RD
23166 {
23167 PyThreadState* __tstate = wxPyBeginAllowThreads();
23168 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
23169
23170 wxPyEndAllowThreads(__tstate);
23171 if (PyErr_Occurred()) SWIG_fail;
23172 }
23173 Py_INCREF(Py_None); resultobj = Py_None;
23174 return resultobj;
23175 fail:
23176 return NULL;
23177}
23178
23179
74a57fcd
RD
23180static PyObject *_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject *self, PyObject *args) {
23181 PyObject *resultobj;
23182 wxWindow *arg1 = (wxWindow *) 0 ;
23183 wxSize *arg2 = 0 ;
23184 wxSize const &arg3_defvalue = wxDefaultSize ;
23185 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
23186 wxSize temp2 ;
23187 wxSize temp3 ;
23188 PyObject * obj0 = 0 ;
23189 PyObject * obj1 = 0 ;
23190 PyObject * obj2 = 0 ;
23191
23192 if(!PyArg_ParseTuple(args,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0,&obj1,&obj2)) goto fail;
23193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23195 {
23196 arg2 = &temp2;
23197 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23198 }
23199 if (obj2) {
23200 {
23201 arg3 = &temp3;
23202 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
23203 }
23204 }
23205 {
23206 PyThreadState* __tstate = wxPyBeginAllowThreads();
23207 (arg1)->SetVirtualSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3);
23208
23209 wxPyEndAllowThreads(__tstate);
23210 if (PyErr_Occurred()) SWIG_fail;
23211 }
23212 Py_INCREF(Py_None); resultobj = Py_None;
23213 return resultobj;
23214 fail:
23215 return NULL;
23216}
23217
23218
23219static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *self, PyObject *args) {
23220 int argc;
23221 PyObject *argv[6];
23222 int ii;
23223
23224 argc = PyObject_Length(args);
23225 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
23226 argv[ii] = PyTuple_GetItem(args,ii);
23227 }
23228 if ((argc >= 2) && (argc <= 3)) {
23229 int _v;
23230 {
23231 void *ptr;
23232 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23233 _v = 0;
23234 PyErr_Clear();
23235 } else {
23236 _v = 1;
23237 }
23238 }
23239 if (_v) {
23240 {
23241 _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2);
23242 }
23243 if (_v) {
23244 if (argc <= 2) {
23245 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self,args);
23246 }
23247 {
23248 _v = wxPySimple_typecheck(argv[2], wxT("wxSize"), 2);
23249 }
23250 if (_v) {
23251 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self,args);
23252 }
23253 }
23254 }
23255 }
23256 if ((argc >= 3) && (argc <= 5)) {
23257 int _v;
23258 {
23259 void *ptr;
23260 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23261 _v = 0;
23262 PyErr_Clear();
23263 } else {
23264 _v = 1;
23265 }
23266 }
23267 if (_v) {
23268 _v = SWIG_CheckInt(argv[1]);
23269 if (_v) {
23270 _v = SWIG_CheckInt(argv[2]);
23271 if (_v) {
23272 if (argc <= 3) {
23273 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self,args);
23274 }
23275 _v = SWIG_CheckInt(argv[3]);
23276 if (_v) {
23277 if (argc <= 4) {
23278 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self,args);
23279 }
23280 _v = SWIG_CheckInt(argv[4]);
23281 if (_v) {
23282 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self,args);
23283 }
23284 }
23285 }
23286 }
23287 }
23288 }
23289
23290 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23291 return NULL;
23292}
23293
23294
d14a1e28
RD
23295static PyObject *_wrap_Window_GetMinWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
23296 PyObject *resultobj;
23297 wxWindow *arg1 = (wxWindow *) 0 ;
23298 int result;
23299 PyObject * obj0 = 0 ;
23300 char *kwnames[] = {
23301 (char *) "self", NULL
23302 };
23303
23304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
23305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23307 {
23308 PyThreadState* __tstate = wxPyBeginAllowThreads();
23309 result = (int)((wxWindow const *)arg1)->GetMinWidth();
23310
23311 wxPyEndAllowThreads(__tstate);
23312 if (PyErr_Occurred()) SWIG_fail;
23313 }
15afbcd0 23314 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23315 return resultobj;
23316 fail:
23317 return NULL;
23318}
23319
23320
23321static PyObject *_wrap_Window_GetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
23322 PyObject *resultobj;
23323 wxWindow *arg1 = (wxWindow *) 0 ;
23324 int result;
23325 PyObject * obj0 = 0 ;
23326 char *kwnames[] = {
23327 (char *) "self", NULL
23328 };
23329
23330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
23331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23333 {
23334 PyThreadState* __tstate = wxPyBeginAllowThreads();
23335 result = (int)((wxWindow const *)arg1)->GetMinHeight();
23336
23337 wxPyEndAllowThreads(__tstate);
23338 if (PyErr_Occurred()) SWIG_fail;
23339 }
15afbcd0 23340 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23341 return resultobj;
23342 fail:
23343 return NULL;
23344}
23345
23346
23347static PyObject *_wrap_Window_GetMaxWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
23348 PyObject *resultobj;
23349 wxWindow *arg1 = (wxWindow *) 0 ;
23350 int result;
23351 PyObject * obj0 = 0 ;
23352 char *kwnames[] = {
23353 (char *) "self", NULL
23354 };
23355
23356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
23357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23359 {
23360 PyThreadState* __tstate = wxPyBeginAllowThreads();
23361 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
23362
23363 wxPyEndAllowThreads(__tstate);
23364 if (PyErr_Occurred()) SWIG_fail;
23365 }
15afbcd0 23366 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23367 return resultobj;
23368 fail:
23369 return NULL;
23370}
23371
23372
23373static PyObject *_wrap_Window_GetMaxHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
23374 PyObject *resultobj;
23375 wxWindow *arg1 = (wxWindow *) 0 ;
23376 int result;
23377 PyObject * obj0 = 0 ;
23378 char *kwnames[] = {
23379 (char *) "self", NULL
23380 };
23381
23382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
23383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23385 {
23386 PyThreadState* __tstate = wxPyBeginAllowThreads();
23387 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
23388
23389 wxPyEndAllowThreads(__tstate);
23390 if (PyErr_Occurred()) SWIG_fail;
23391 }
15afbcd0 23392 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23393 return resultobj;
23394 fail:
23395 return NULL;
23396}
23397
23398
23399static PyObject *_wrap_Window_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23400 PyObject *resultobj;
23401 wxWindow *arg1 = (wxWindow *) 0 ;
23402 wxSize result;
23403 PyObject * obj0 = 0 ;
23404 char *kwnames[] = {
23405 (char *) "self", NULL
23406 };
23407
23408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23411 {
23412 PyThreadState* __tstate = wxPyBeginAllowThreads();
23413 result = ((wxWindow const *)arg1)->GetMaxSize();
23414
23415 wxPyEndAllowThreads(__tstate);
23416 if (PyErr_Occurred()) SWIG_fail;
23417 }
23418 {
23419 wxSize * resultptr;
23420 resultptr = new wxSize((wxSize &) result);
15afbcd0 23421 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23422 }
23423 return resultobj;
23424 fail:
23425 return NULL;
23426}
23427
23428
74a57fcd
RD
23429static PyObject *_wrap_Window_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23430 PyObject *resultobj;
23431 wxWindow *arg1 = (wxWindow *) 0 ;
23432 wxSize result;
23433 PyObject * obj0 = 0 ;
23434 char *kwnames[] = {
23435 (char *) "self", NULL
23436 };
23437
23438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinSize",kwnames,&obj0)) goto fail;
23439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23441 {
23442 PyThreadState* __tstate = wxPyBeginAllowThreads();
23443 result = ((wxWindow const *)arg1)->GetMinSize();
23444
23445 wxPyEndAllowThreads(__tstate);
23446 if (PyErr_Occurred()) SWIG_fail;
23447 }
23448 {
23449 wxSize * resultptr;
23450 resultptr = new wxSize((wxSize &) result);
23451 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23452 }
23453 return resultobj;
23454 fail:
23455 return NULL;
23456}
23457
23458
d14a1e28
RD
23459static PyObject *_wrap_Window_SetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23460 PyObject *resultobj;
23461 wxWindow *arg1 = (wxWindow *) 0 ;
23462 wxSize *arg2 = 0 ;
23463 wxSize temp2 ;
23464 PyObject * obj0 = 0 ;
23465 PyObject * obj1 = 0 ;
23466 char *kwnames[] = {
23467 (char *) "self",(char *) "size", NULL
23468 };
23469
23470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23473 {
23474 arg2 = &temp2;
23475 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23476 }
23477 {
23478 PyThreadState* __tstate = wxPyBeginAllowThreads();
23479 (arg1)->SetVirtualSize((wxSize const &)*arg2);
23480
23481 wxPyEndAllowThreads(__tstate);
23482 if (PyErr_Occurred()) SWIG_fail;
23483 }
23484 Py_INCREF(Py_None); resultobj = Py_None;
23485 return resultobj;
23486 fail:
23487 return NULL;
23488}
23489
23490
23491static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
23492 PyObject *resultobj;
23493 wxWindow *arg1 = (wxWindow *) 0 ;
23494 int arg2 ;
23495 int arg3 ;
23496 PyObject * obj0 = 0 ;
994141e6
RD
23497 PyObject * obj1 = 0 ;
23498 PyObject * obj2 = 0 ;
d14a1e28
RD
23499 char *kwnames[] = {
23500 (char *) "self",(char *) "w",(char *) "h", NULL
23501 };
23502
994141e6 23503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetVirtualSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23506 arg2 = (int) SWIG_AsInt(obj1);
23507 if (PyErr_Occurred()) SWIG_fail;
23508 arg3 = (int) SWIG_AsInt(obj2);
23509 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23510 {
23511 PyThreadState* __tstate = wxPyBeginAllowThreads();
23512 (arg1)->SetVirtualSize(arg2,arg3);
23513
23514 wxPyEndAllowThreads(__tstate);
23515 if (PyErr_Occurred()) SWIG_fail;
23516 }
23517 Py_INCREF(Py_None); resultobj = Py_None;
23518 return resultobj;
23519 fail:
23520 return NULL;
23521}
23522
23523
23524static PyObject *_wrap_Window_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23525 PyObject *resultobj;
23526 wxWindow *arg1 = (wxWindow *) 0 ;
23527 wxSize result;
23528 PyObject * obj0 = 0 ;
23529 char *kwnames[] = {
23530 (char *) "self", NULL
23531 };
23532
23533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23536 {
23537 PyThreadState* __tstate = wxPyBeginAllowThreads();
23538 result = ((wxWindow const *)arg1)->GetVirtualSize();
23539
23540 wxPyEndAllowThreads(__tstate);
23541 if (PyErr_Occurred()) SWIG_fail;
23542 }
23543 {
23544 wxSize * resultptr;
23545 resultptr = new wxSize((wxSize &) result);
15afbcd0 23546 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23547 }
23548 return resultobj;
23549 fail:
23550 return NULL;
23551}
23552
23553
23554static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
23555 PyObject *resultobj;
23556 wxWindow *arg1 = (wxWindow *) 0 ;
23557 int *arg2 = (int *) 0 ;
23558 int *arg3 = (int *) 0 ;
23559 int temp2 ;
23560 int temp3 ;
23561 PyObject * obj0 = 0 ;
23562 char *kwnames[] = {
23563 (char *) "self", NULL
23564 };
23565
23566 arg2 = &temp2;
23567 arg3 = &temp3;
23568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
23569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23571 {
23572 PyThreadState* __tstate = wxPyBeginAllowThreads();
23573 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
23574
23575 wxPyEndAllowThreads(__tstate);
23576 if (PyErr_Occurred()) SWIG_fail;
23577 }
23578 Py_INCREF(Py_None); resultobj = Py_None;
23579 {
23580 PyObject *o = PyInt_FromLong((long) (*arg2));
23581 resultobj = t_output_helper(resultobj,o);
23582 }
23583 {
23584 PyObject *o = PyInt_FromLong((long) (*arg3));
23585 resultobj = t_output_helper(resultobj,o);
23586 }
23587 return resultobj;
23588 fail:
23589 return NULL;
23590}
23591
23592
23593static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23594 PyObject *resultobj;
23595 wxWindow *arg1 = (wxWindow *) 0 ;
23596 wxSize result;
23597 PyObject * obj0 = 0 ;
23598 char *kwnames[] = {
23599 (char *) "self", NULL
23600 };
23601
23602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23605 {
23606 PyThreadState* __tstate = wxPyBeginAllowThreads();
23607 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
23608
23609 wxPyEndAllowThreads(__tstate);
23610 if (PyErr_Occurred()) SWIG_fail;
23611 }
23612 {
23613 wxSize * resultptr;
23614 resultptr = new wxSize((wxSize &) result);
15afbcd0 23615 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23616 }
23617 return resultobj;
23618 fail:
23619 return NULL;
23620}
23621
23622
23623static PyObject *_wrap_Window_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
23624 PyObject *resultobj;
23625 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 23626 bool arg2 = (bool) True ;
d14a1e28
RD
23627 bool result;
23628 PyObject * obj0 = 0 ;
23629 PyObject * obj1 = 0 ;
23630 char *kwnames[] = {
23631 (char *) "self",(char *) "show", NULL
23632 };
23633
23634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 23637 if (obj1) {
15afbcd0
RD
23638 arg2 = (bool) SWIG_AsBool(obj1);
23639 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23640 }
23641 {
23642 PyThreadState* __tstate = wxPyBeginAllowThreads();
23643 result = (bool)(arg1)->Show(arg2);
23644
23645 wxPyEndAllowThreads(__tstate);
23646 if (PyErr_Occurred()) SWIG_fail;
23647 }
4f89f6a3
RD
23648 {
23649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23650 }
d14a1e28
RD
23651 return resultobj;
23652 fail:
23653 return NULL;
23654}
23655
23656
23657static PyObject *_wrap_Window_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
23658 PyObject *resultobj;
23659 wxWindow *arg1 = (wxWindow *) 0 ;
23660 bool result;
23661 PyObject * obj0 = 0 ;
23662 char *kwnames[] = {
23663 (char *) "self", NULL
23664 };
23665
23666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
15afbcd0
RD
23667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23669 {
23670 PyThreadState* __tstate = wxPyBeginAllowThreads();
23671 result = (bool)(arg1)->Hide();
23672
23673 wxPyEndAllowThreads(__tstate);
23674 if (PyErr_Occurred()) SWIG_fail;
23675 }
4f89f6a3
RD
23676 {
23677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23678 }
d14a1e28
RD
23679 return resultobj;
23680 fail:
23681 return NULL;
23682}
23683
23684
23685static PyObject *_wrap_Window_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
23686 PyObject *resultobj;
23687 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 23688 bool arg2 = (bool) True ;
d14a1e28
RD
23689 bool result;
23690 PyObject * obj0 = 0 ;
23691 PyObject * obj1 = 0 ;
23692 char *kwnames[] = {
23693 (char *) "self",(char *) "enable", NULL
23694 };
23695
23696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 23699 if (obj1) {
15afbcd0
RD
23700 arg2 = (bool) SWIG_AsBool(obj1);
23701 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23702 }
23703 {
23704 PyThreadState* __tstate = wxPyBeginAllowThreads();
23705 result = (bool)(arg1)->Enable(arg2);
23706
23707 wxPyEndAllowThreads(__tstate);
23708 if (PyErr_Occurred()) SWIG_fail;
23709 }
4f89f6a3
RD
23710 {
23711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23712 }
d14a1e28
RD
23713 return resultobj;
23714 fail:
23715 return NULL;
23716}
23717
23718
23719static PyObject *_wrap_Window_Disable(PyObject *self, PyObject *args, PyObject *kwargs) {
23720 PyObject *resultobj;
23721 wxWindow *arg1 = (wxWindow *) 0 ;
23722 bool result;
23723 PyObject * obj0 = 0 ;
23724 char *kwnames[] = {
23725 (char *) "self", NULL
23726 };
23727
23728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
15afbcd0
RD
23729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23731 {
23732 PyThreadState* __tstate = wxPyBeginAllowThreads();
23733 result = (bool)(arg1)->Disable();
23734
23735 wxPyEndAllowThreads(__tstate);
23736 if (PyErr_Occurred()) SWIG_fail;
23737 }
4f89f6a3
RD
23738 {
23739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23740 }
d14a1e28
RD
23741 return resultobj;
23742 fail:
23743 return NULL;
23744}
23745
23746
23747static PyObject *_wrap_Window_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
23748 PyObject *resultobj;
23749 wxWindow *arg1 = (wxWindow *) 0 ;
23750 bool result;
23751 PyObject * obj0 = 0 ;
23752 char *kwnames[] = {
23753 (char *) "self", NULL
23754 };
23755
23756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
15afbcd0
RD
23757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23759 {
23760 PyThreadState* __tstate = wxPyBeginAllowThreads();
23761 result = (bool)((wxWindow const *)arg1)->IsShown();
23762
23763 wxPyEndAllowThreads(__tstate);
23764 if (PyErr_Occurred()) SWIG_fail;
23765 }
4f89f6a3
RD
23766 {
23767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23768 }
d14a1e28
RD
23769 return resultobj;
23770 fail:
23771 return NULL;
23772}
23773
23774
23775static PyObject *_wrap_Window_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
23776 PyObject *resultobj;
23777 wxWindow *arg1 = (wxWindow *) 0 ;
23778 bool result;
23779 PyObject * obj0 = 0 ;
23780 char *kwnames[] = {
23781 (char *) "self", NULL
23782 };
23783
23784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
23785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23787 {
23788 PyThreadState* __tstate = wxPyBeginAllowThreads();
23789 result = (bool)((wxWindow const *)arg1)->IsEnabled();
23790
23791 wxPyEndAllowThreads(__tstate);
23792 if (PyErr_Occurred()) SWIG_fail;
23793 }
4f89f6a3
RD
23794 {
23795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23796 }
d14a1e28
RD
23797 return resultobj;
23798 fail:
23799 return NULL;
23800}
23801
23802
23803static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
23804 PyObject *resultobj;
23805 wxWindow *arg1 = (wxWindow *) 0 ;
23806 long arg2 ;
23807 PyObject * obj0 = 0 ;
994141e6 23808 PyObject * obj1 = 0 ;
d14a1e28
RD
23809 char *kwnames[] = {
23810 (char *) "self",(char *) "style", NULL
23811 };
23812
994141e6 23813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23816 arg2 = (long) SWIG_AsLong(obj1);
23817 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23818 {
23819 PyThreadState* __tstate = wxPyBeginAllowThreads();
23820 (arg1)->SetWindowStyleFlag(arg2);
23821
23822 wxPyEndAllowThreads(__tstate);
23823 if (PyErr_Occurred()) SWIG_fail;
23824 }
23825 Py_INCREF(Py_None); resultobj = Py_None;
23826 return resultobj;
23827 fail:
23828 return NULL;
23829}
23830
23831
23832static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
23833 PyObject *resultobj;
23834 wxWindow *arg1 = (wxWindow *) 0 ;
23835 long result;
23836 PyObject * obj0 = 0 ;
23837 char *kwnames[] = {
23838 (char *) "self", NULL
23839 };
23840
23841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
15afbcd0
RD
23842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23844 {
23845 PyThreadState* __tstate = wxPyBeginAllowThreads();
23846 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
23847
23848 wxPyEndAllowThreads(__tstate);
23849 if (PyErr_Occurred()) SWIG_fail;
23850 }
15afbcd0 23851 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23852 return resultobj;
23853 fail:
23854 return NULL;
23855}
23856
23857
23858static PyObject *_wrap_Window_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
23859 PyObject *resultobj;
23860 wxWindow *arg1 = (wxWindow *) 0 ;
23861 int arg2 ;
23862 bool result;
23863 PyObject * obj0 = 0 ;
994141e6 23864 PyObject * obj1 = 0 ;
d14a1e28
RD
23865 char *kwnames[] = {
23866 (char *) "self",(char *) "flag", NULL
23867 };
23868
994141e6 23869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23872 arg2 = (int) SWIG_AsInt(obj1);
23873 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23874 {
23875 PyThreadState* __tstate = wxPyBeginAllowThreads();
23876 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
23877
23878 wxPyEndAllowThreads(__tstate);
23879 if (PyErr_Occurred()) SWIG_fail;
23880 }
4f89f6a3
RD
23881 {
23882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23883 }
d14a1e28
RD
23884 return resultobj;
23885 fail:
23886 return NULL;
23887}
23888
23889
23890static PyObject *_wrap_Window_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
23891 PyObject *resultobj;
23892 wxWindow *arg1 = (wxWindow *) 0 ;
23893 bool result;
23894 PyObject * obj0 = 0 ;
23895 char *kwnames[] = {
23896 (char *) "self", NULL
23897 };
23898
23899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",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 = (bool)((wxWindow const *)arg1)->IsRetained();
23905
23906 wxPyEndAllowThreads(__tstate);
23907 if (PyErr_Occurred()) SWIG_fail;
23908 }
4f89f6a3
RD
23909 {
23910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23911 }
d14a1e28
RD
23912 return resultobj;
23913 fail:
23914 return NULL;
23915}
23916
23917
23918static PyObject *_wrap_Window_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
23919 PyObject *resultobj;
23920 wxWindow *arg1 = (wxWindow *) 0 ;
23921 long arg2 ;
23922 PyObject * obj0 = 0 ;
994141e6 23923 PyObject * obj1 = 0 ;
d14a1e28
RD
23924 char *kwnames[] = {
23925 (char *) "self",(char *) "exStyle", NULL
23926 };
23927
994141e6 23928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetExtraStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23931 arg2 = (long) SWIG_AsLong(obj1);
23932 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23933 {
23934 PyThreadState* __tstate = wxPyBeginAllowThreads();
23935 (arg1)->SetExtraStyle(arg2);
23936
23937 wxPyEndAllowThreads(__tstate);
23938 if (PyErr_Occurred()) SWIG_fail;
23939 }
23940 Py_INCREF(Py_None); resultobj = Py_None;
23941 return resultobj;
23942 fail:
23943 return NULL;
23944}
23945
23946
23947static PyObject *_wrap_Window_GetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
23948 PyObject *resultobj;
23949 wxWindow *arg1 = (wxWindow *) 0 ;
23950 long result;
23951 PyObject * obj0 = 0 ;
23952 char *kwnames[] = {
23953 (char *) "self", NULL
23954 };
23955
23956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
23957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23959 {
23960 PyThreadState* __tstate = wxPyBeginAllowThreads();
23961 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
23962
23963 wxPyEndAllowThreads(__tstate);
23964 if (PyErr_Occurred()) SWIG_fail;
23965 }
15afbcd0 23966 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23967 return resultobj;
23968 fail:
23969 return NULL;
23970}
23971
23972
23973static PyObject *_wrap_Window_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
23974 PyObject *resultobj;
23975 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 23976 bool arg2 = (bool) True ;
d14a1e28
RD
23977 PyObject * obj0 = 0 ;
23978 PyObject * obj1 = 0 ;
23979 char *kwnames[] = {
23980 (char *) "self",(char *) "modal", NULL
23981 };
23982
23983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 23986 if (obj1) {
15afbcd0
RD
23987 arg2 = (bool) SWIG_AsBool(obj1);
23988 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23989 }
23990 {
23991 PyThreadState* __tstate = wxPyBeginAllowThreads();
23992 (arg1)->MakeModal(arg2);
23993
23994 wxPyEndAllowThreads(__tstate);
23995 if (PyErr_Occurred()) SWIG_fail;
23996 }
23997 Py_INCREF(Py_None); resultobj = Py_None;
23998 return resultobj;
23999 fail:
24000 return NULL;
24001}
24002
24003
24004static PyObject *_wrap_Window_SetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
24005 PyObject *resultobj;
24006 wxWindow *arg1 = (wxWindow *) 0 ;
24007 bool arg2 ;
24008 PyObject * obj0 = 0 ;
24009 PyObject * obj1 = 0 ;
24010 char *kwnames[] = {
24011 (char *) "self",(char *) "enableTheme", NULL
24012 };
24013
24014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24017 arg2 = (bool) SWIG_AsBool(obj1);
24018 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24019 {
24020 PyThreadState* __tstate = wxPyBeginAllowThreads();
24021 (arg1)->SetThemeEnabled(arg2);
24022
24023 wxPyEndAllowThreads(__tstate);
24024 if (PyErr_Occurred()) SWIG_fail;
24025 }
24026 Py_INCREF(Py_None); resultobj = Py_None;
24027 return resultobj;
24028 fail:
24029 return NULL;
24030}
24031
24032
24033static PyObject *_wrap_Window_GetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
24034 PyObject *resultobj;
24035 wxWindow *arg1 = (wxWindow *) 0 ;
24036 bool result;
24037 PyObject * obj0 = 0 ;
24038 char *kwnames[] = {
24039 (char *) "self", NULL
24040 };
24041
24042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
24043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24045 {
24046 PyThreadState* __tstate = wxPyBeginAllowThreads();
24047 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
24048
24049 wxPyEndAllowThreads(__tstate);
24050 if (PyErr_Occurred()) SWIG_fail;
24051 }
4f89f6a3
RD
24052 {
24053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24054 }
d14a1e28
RD
24055 return resultobj;
24056 fail:
24057 return NULL;
24058}
24059
24060
d14a1e28
RD
24061static PyObject *_wrap_Window_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24062 PyObject *resultobj;
24063 wxWindow *arg1 = (wxWindow *) 0 ;
24064 PyObject * obj0 = 0 ;
24065 char *kwnames[] = {
24066 (char *) "self", NULL
24067 };
24068
24069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
24070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24072 {
24073 PyThreadState* __tstate = wxPyBeginAllowThreads();
24074 (arg1)->SetFocus();
24075
24076 wxPyEndAllowThreads(__tstate);
24077 if (PyErr_Occurred()) SWIG_fail;
24078 }
24079 Py_INCREF(Py_None); resultobj = Py_None;
24080 return resultobj;
24081 fail:
24082 return NULL;
24083}
24084
24085
24086static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *self, PyObject *args, PyObject *kwargs) {
24087 PyObject *resultobj;
24088 wxWindow *arg1 = (wxWindow *) 0 ;
24089 PyObject * obj0 = 0 ;
24090 char *kwnames[] = {
24091 (char *) "self", NULL
24092 };
24093
24094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
15afbcd0
RD
24095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24097 {
24098 PyThreadState* __tstate = wxPyBeginAllowThreads();
24099 (arg1)->SetFocusFromKbd();
24100
24101 wxPyEndAllowThreads(__tstate);
24102 if (PyErr_Occurred()) SWIG_fail;
24103 }
24104 Py_INCREF(Py_None); resultobj = Py_None;
24105 return resultobj;
24106 fail:
24107 return NULL;
24108}
24109
24110
24111static PyObject *_wrap_Window_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24112 PyObject *resultobj;
24113 wxWindow *result;
24114 char *kwnames[] = {
24115 NULL
24116 };
24117
24118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
24119 {
24120 PyThreadState* __tstate = wxPyBeginAllowThreads();
24121 result = (wxWindow *)wxWindow::FindFocus();
24122
24123 wxPyEndAllowThreads(__tstate);
24124 if (PyErr_Occurred()) SWIG_fail;
24125 }
24126 {
24127 resultobj = wxPyMake_wxObject(result);
24128 }
24129 return resultobj;
24130 fail:
24131 return NULL;
24132}
24133
24134
24135static PyObject *_wrap_Window_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24136 PyObject *resultobj;
24137 wxWindow *arg1 = (wxWindow *) 0 ;
24138 bool result;
24139 PyObject * obj0 = 0 ;
24140 char *kwnames[] = {
24141 (char *) "self", NULL
24142 };
24143
24144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
24145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24147 {
24148 PyThreadState* __tstate = wxPyBeginAllowThreads();
24149 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
24150
24151 wxPyEndAllowThreads(__tstate);
24152 if (PyErr_Occurred()) SWIG_fail;
24153 }
4f89f6a3
RD
24154 {
24155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24156 }
d14a1e28
RD
24157 return resultobj;
24158 fail:
24159 return NULL;
24160}
24161
24162
24163static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24164 PyObject *resultobj;
24165 wxWindow *arg1 = (wxWindow *) 0 ;
24166 bool result;
24167 PyObject * obj0 = 0 ;
24168 char *kwnames[] = {
24169 (char *) "self", NULL
24170 };
24171
24172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15afbcd0
RD
24173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24175 {
24176 PyThreadState* __tstate = wxPyBeginAllowThreads();
24177 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
24178
24179 wxPyEndAllowThreads(__tstate);
24180 if (PyErr_Occurred()) SWIG_fail;
24181 }
4f89f6a3
RD
24182 {
24183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24184 }
d14a1e28
RD
24185 return resultobj;
24186 fail:
24187 return NULL;
24188}
24189
24190
24191static PyObject *_wrap_Window_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24192 PyObject *resultobj;
24193 wxWindow *arg1 = (wxWindow *) 0 ;
24194 wxWindow *result;
24195 PyObject * obj0 = 0 ;
24196 char *kwnames[] = {
24197 (char *) "self", NULL
24198 };
24199
24200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
24201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24203 {
24204 PyThreadState* __tstate = wxPyBeginAllowThreads();
24205 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
24206
24207 wxPyEndAllowThreads(__tstate);
24208 if (PyErr_Occurred()) SWIG_fail;
24209 }
24210 {
24211 resultobj = wxPyMake_wxObject(result);
24212 }
24213 return resultobj;
24214 fail:
24215 return NULL;
24216}
24217
24218
24219static PyObject *_wrap_Window_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24220 PyObject *resultobj;
24221 wxWindow *arg1 = (wxWindow *) 0 ;
24222 wxWindow *arg2 = (wxWindow *) 0 ;
24223 wxWindow *result;
24224 PyObject * obj0 = 0 ;
24225 PyObject * obj1 = 0 ;
24226 char *kwnames[] = {
24227 (char *) "self",(char *) "child", NULL
24228 };
24229
24230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24233 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24235 {
24236 PyThreadState* __tstate = wxPyBeginAllowThreads();
24237 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
24238
24239 wxPyEndAllowThreads(__tstate);
24240 if (PyErr_Occurred()) SWIG_fail;
24241 }
24242 {
24243 resultobj = wxPyMake_wxObject(result);
24244 }
24245 return resultobj;
24246 fail:
24247 return NULL;
24248}
24249
24250
24251static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24252 PyObject *resultobj;
24253 wxWindow *arg1 = (wxWindow *) 0 ;
24254 wxWindow *arg2 = (wxWindow *) 0 ;
24255 PyObject * obj0 = 0 ;
24256 PyObject * obj1 = 0 ;
24257 char *kwnames[] = {
24258 (char *) "self",(char *) "win", NULL
24259 };
24260
24261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24264 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24266 {
24267 PyThreadState* __tstate = wxPyBeginAllowThreads();
24268 (arg1)->SetTmpDefaultItem(arg2);
24269
24270 wxPyEndAllowThreads(__tstate);
24271 if (PyErr_Occurred()) SWIG_fail;
24272 }
24273 Py_INCREF(Py_None); resultobj = Py_None;
24274 return resultobj;
24275 fail:
24276 return NULL;
24277}
24278
24279
24280static PyObject *_wrap_Window_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24281 PyObject *resultobj;
24282 wxWindow *arg1 = (wxWindow *) 0 ;
24283 PyObject *result;
24284 PyObject * obj0 = 0 ;
24285 char *kwnames[] = {
24286 (char *) "self", NULL
24287 };
24288
24289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
15afbcd0
RD
24290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24292 {
24293 PyThreadState* __tstate = wxPyBeginAllowThreads();
24294 result = (PyObject *)wxWindow_GetChildren(arg1);
24295
24296 wxPyEndAllowThreads(__tstate);
24297 if (PyErr_Occurred()) SWIG_fail;
24298 }
24299 resultobj = result;
24300 return resultobj;
24301 fail:
24302 return NULL;
24303}
24304
24305
24306static PyObject *_wrap_Window_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
24307 PyObject *resultobj;
24308 wxWindow *arg1 = (wxWindow *) 0 ;
24309 wxWindow *result;
24310 PyObject * obj0 = 0 ;
24311 char *kwnames[] = {
24312 (char *) "self", NULL
24313 };
24314
24315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
15afbcd0
RD
24316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24318 {
24319 PyThreadState* __tstate = wxPyBeginAllowThreads();
24320 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
24321
24322 wxPyEndAllowThreads(__tstate);
24323 if (PyErr_Occurred()) SWIG_fail;
24324 }
24325 {
24326 resultobj = wxPyMake_wxObject(result);
24327 }
24328 return resultobj;
24329 fail:
24330 return NULL;
24331}
24332
24333
24334static PyObject *_wrap_Window_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
24335 PyObject *resultobj;
24336 wxWindow *arg1 = (wxWindow *) 0 ;
24337 wxWindow *result;
24338 PyObject * obj0 = 0 ;
24339 char *kwnames[] = {
24340 (char *) "self", NULL
24341 };
24342
24343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
15afbcd0
RD
24344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24346 {
24347 PyThreadState* __tstate = wxPyBeginAllowThreads();
24348 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
24349
24350 wxPyEndAllowThreads(__tstate);
24351 if (PyErr_Occurred()) SWIG_fail;
24352 }
24353 {
24354 resultobj = wxPyMake_wxObject(result);
24355 }
24356 return resultobj;
24357 fail:
24358 return NULL;
24359}
24360
24361
24362static PyObject *_wrap_Window_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
24363 PyObject *resultobj;
24364 wxWindow *arg1 = (wxWindow *) 0 ;
24365 bool result;
24366 PyObject * obj0 = 0 ;
24367 char *kwnames[] = {
24368 (char *) "self", NULL
24369 };
24370
24371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
15afbcd0
RD
24372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24374 {
24375 PyThreadState* __tstate = wxPyBeginAllowThreads();
24376 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
24377
24378 wxPyEndAllowThreads(__tstate);
24379 if (PyErr_Occurred()) SWIG_fail;
24380 }
4f89f6a3
RD
24381 {
24382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24383 }
d14a1e28
RD
24384 return resultobj;
24385 fail:
24386 return NULL;
24387}
24388
24389
24390static PyObject *_wrap_Window_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
24391 PyObject *resultobj;
24392 wxWindow *arg1 = (wxWindow *) 0 ;
24393 wxWindow *arg2 = (wxWindow *) 0 ;
24394 bool result;
24395 PyObject * obj0 = 0 ;
24396 PyObject * obj1 = 0 ;
24397 char *kwnames[] = {
24398 (char *) "self",(char *) "newParent", NULL
24399 };
24400
24401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24404 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24406 {
24407 PyThreadState* __tstate = wxPyBeginAllowThreads();
24408 result = (bool)(arg1)->Reparent(arg2);
24409
24410 wxPyEndAllowThreads(__tstate);
24411 if (PyErr_Occurred()) SWIG_fail;
24412 }
4f89f6a3
RD
24413 {
24414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24415 }
d14a1e28
RD
24416 return resultobj;
24417 fail:
24418 return NULL;
24419}
24420
24421
24422static PyObject *_wrap_Window_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24423 PyObject *resultobj;
24424 wxWindow *arg1 = (wxWindow *) 0 ;
24425 wxWindow *arg2 = (wxWindow *) 0 ;
24426 PyObject * obj0 = 0 ;
24427 PyObject * obj1 = 0 ;
24428 char *kwnames[] = {
24429 (char *) "self",(char *) "child", NULL
24430 };
24431
24432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24435 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24437 {
24438 PyThreadState* __tstate = wxPyBeginAllowThreads();
24439 (arg1)->AddChild(arg2);
24440
24441 wxPyEndAllowThreads(__tstate);
24442 if (PyErr_Occurred()) SWIG_fail;
24443 }
24444 Py_INCREF(Py_None); resultobj = Py_None;
24445 return resultobj;
24446 fail:
24447 return NULL;
24448}
24449
24450
24451static PyObject *_wrap_Window_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24452 PyObject *resultobj;
24453 wxWindow *arg1 = (wxWindow *) 0 ;
24454 wxWindow *arg2 = (wxWindow *) 0 ;
24455 PyObject * obj0 = 0 ;
24456 PyObject * obj1 = 0 ;
24457 char *kwnames[] = {
24458 (char *) "self",(char *) "child", NULL
24459 };
24460
24461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24464 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24466 {
24467 PyThreadState* __tstate = wxPyBeginAllowThreads();
24468 (arg1)->RemoveChild(arg2);
24469
24470 wxPyEndAllowThreads(__tstate);
24471 if (PyErr_Occurred()) SWIG_fail;
24472 }
24473 Py_INCREF(Py_None); resultobj = Py_None;
24474 return resultobj;
24475 fail:
24476 return NULL;
24477}
24478
24479
24480static PyObject *_wrap_Window_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
24481 PyObject *resultobj;
24482 wxWindow *arg1 = (wxWindow *) 0 ;
24483 long arg2 ;
24484 wxWindow *result;
24485 PyObject * obj0 = 0 ;
994141e6 24486 PyObject * obj1 = 0 ;
d14a1e28
RD
24487 char *kwnames[] = {
24488 (char *) "self",(char *) "winid", NULL
24489 };
24490
994141e6 24491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24494 arg2 = (long) SWIG_AsLong(obj1);
24495 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24496 {
24497 PyThreadState* __tstate = wxPyBeginAllowThreads();
24498 result = (wxWindow *)(arg1)->FindWindow(arg2);
24499
24500 wxPyEndAllowThreads(__tstate);
24501 if (PyErr_Occurred()) SWIG_fail;
24502 }
24503 {
24504 resultobj = wxPyMake_wxObject(result);
24505 }
24506 return resultobj;
24507 fail:
24508 return NULL;
24509}
24510
24511
24512static PyObject *_wrap_Window_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
24513 PyObject *resultobj;
24514 wxWindow *arg1 = (wxWindow *) 0 ;
24515 wxString *arg2 = 0 ;
24516 wxWindow *result;
e811c8ce 24517 bool temp2 = False ;
d14a1e28
RD
24518 PyObject * obj0 = 0 ;
24519 PyObject * obj1 = 0 ;
24520 char *kwnames[] = {
24521 (char *) "self",(char *) "name", NULL
24522 };
24523
24524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24527 {
24528 arg2 = wxString_in_helper(obj1);
24529 if (arg2 == NULL) SWIG_fail;
e811c8ce 24530 temp2 = True;
d14a1e28
RD
24531 }
24532 {
24533 PyThreadState* __tstate = wxPyBeginAllowThreads();
24534 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
24535
24536 wxPyEndAllowThreads(__tstate);
24537 if (PyErr_Occurred()) SWIG_fail;
24538 }
24539 {
24540 resultobj = wxPyMake_wxObject(result);
24541 }
24542 {
24543 if (temp2)
24544 delete arg2;
24545 }
24546 return resultobj;
24547 fail:
24548 {
24549 if (temp2)
24550 delete arg2;
24551 }
24552 return NULL;
24553}
24554
24555
24556static PyObject *_wrap_Window_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24557 PyObject *resultobj;
24558 wxWindow *arg1 = (wxWindow *) 0 ;
24559 wxEvtHandler *result;
24560 PyObject * obj0 = 0 ;
24561 char *kwnames[] = {
24562 (char *) "self", NULL
24563 };
24564
24565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
24566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24568 {
24569 PyThreadState* __tstate = wxPyBeginAllowThreads();
24570 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
24571
24572 wxPyEndAllowThreads(__tstate);
24573 if (PyErr_Occurred()) SWIG_fail;
24574 }
24575 {
24576 resultobj = wxPyMake_wxObject(result);
24577 }
24578 return resultobj;
24579 fail:
24580 return NULL;
24581}
24582
24583
24584static PyObject *_wrap_Window_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24585 PyObject *resultobj;
24586 wxWindow *arg1 = (wxWindow *) 0 ;
24587 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24588 PyObject * obj0 = 0 ;
24589 PyObject * obj1 = 0 ;
24590 char *kwnames[] = {
24591 (char *) "self",(char *) "handler", NULL
24592 };
24593
24594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24597 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24599 {
24600 PyThreadState* __tstate = wxPyBeginAllowThreads();
24601 (arg1)->SetEventHandler(arg2);
24602
24603 wxPyEndAllowThreads(__tstate);
24604 if (PyErr_Occurred()) SWIG_fail;
24605 }
24606 Py_INCREF(Py_None); resultobj = Py_None;
24607 return resultobj;
24608 fail:
24609 return NULL;
24610}
24611
24612
24613static PyObject *_wrap_Window_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24614 PyObject *resultobj;
24615 wxWindow *arg1 = (wxWindow *) 0 ;
24616 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24617 PyObject * obj0 = 0 ;
24618 PyObject * obj1 = 0 ;
24619 char *kwnames[] = {
24620 (char *) "self",(char *) "handler", NULL
24621 };
24622
24623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24626 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24628 {
24629 PyThreadState* __tstate = wxPyBeginAllowThreads();
24630 (arg1)->PushEventHandler(arg2);
24631
24632 wxPyEndAllowThreads(__tstate);
24633 if (PyErr_Occurred()) SWIG_fail;
24634 }
24635 Py_INCREF(Py_None); resultobj = Py_None;
24636 return resultobj;
24637 fail:
24638 return NULL;
24639}
24640
24641
24642static PyObject *_wrap_Window_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24643 PyObject *resultobj;
24644 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 24645 bool arg2 = (bool) False ;
d14a1e28
RD
24646 wxEvtHandler *result;
24647 PyObject * obj0 = 0 ;
24648 PyObject * obj1 = 0 ;
24649 char *kwnames[] = {
24650 (char *) "self",(char *) "deleteHandler", NULL
24651 };
24652
24653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 24656 if (obj1) {
15afbcd0
RD
24657 arg2 = (bool) SWIG_AsBool(obj1);
24658 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24659 }
24660 {
24661 PyThreadState* __tstate = wxPyBeginAllowThreads();
24662 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
24663
24664 wxPyEndAllowThreads(__tstate);
24665 if (PyErr_Occurred()) SWIG_fail;
24666 }
24667 {
24668 resultobj = wxPyMake_wxObject(result);
24669 }
24670 return resultobj;
24671 fail:
24672 return NULL;
24673}
24674
24675
24676static PyObject *_wrap_Window_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24677 PyObject *resultobj;
24678 wxWindow *arg1 = (wxWindow *) 0 ;
24679 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24680 bool result;
24681 PyObject * obj0 = 0 ;
24682 PyObject * obj1 = 0 ;
24683 char *kwnames[] = {
24684 (char *) "self",(char *) "handler", NULL
24685 };
24686
24687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24690 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24692 {
24693 PyThreadState* __tstate = wxPyBeginAllowThreads();
24694 result = (bool)(arg1)->RemoveEventHandler(arg2);
24695
24696 wxPyEndAllowThreads(__tstate);
24697 if (PyErr_Occurred()) SWIG_fail;
24698 }
4f89f6a3
RD
24699 {
24700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24701 }
d14a1e28
RD
24702 return resultobj;
24703 fail:
24704 return NULL;
24705}
24706
24707
24708static PyObject *_wrap_Window_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
24709 PyObject *resultobj;
24710 wxWindow *arg1 = (wxWindow *) 0 ;
24711 wxValidator *arg2 = 0 ;
24712 PyObject * obj0 = 0 ;
24713 PyObject * obj1 = 0 ;
24714 char *kwnames[] = {
24715 (char *) "self",(char *) "validator", NULL
24716 };
24717
24718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24721 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxValidator,
24722 SWIG_POINTER_EXCEPTION | 0)) == -1)
24723 SWIG_fail;
d14a1e28 24724 if (arg2 == NULL) {
15afbcd0
RD
24725 PyErr_SetString(PyExc_TypeError,"null reference");
24726 SWIG_fail;
d14a1e28
RD
24727 }
24728 {
24729 PyThreadState* __tstate = wxPyBeginAllowThreads();
24730 (arg1)->SetValidator((wxValidator const &)*arg2);
24731
24732 wxPyEndAllowThreads(__tstate);
24733 if (PyErr_Occurred()) SWIG_fail;
24734 }
24735 Py_INCREF(Py_None); resultobj = Py_None;
24736 return resultobj;
24737 fail:
24738 return NULL;
24739}
24740
24741
24742static PyObject *_wrap_Window_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
24743 PyObject *resultobj;
24744 wxWindow *arg1 = (wxWindow *) 0 ;
24745 wxValidator *result;
24746 PyObject * obj0 = 0 ;
24747 char *kwnames[] = {
24748 (char *) "self", NULL
24749 };
24750
24751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
15afbcd0
RD
24752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24754 {
24755 PyThreadState* __tstate = wxPyBeginAllowThreads();
24756 result = (wxValidator *)(arg1)->GetValidator();
24757
24758 wxPyEndAllowThreads(__tstate);
24759 if (PyErr_Occurred()) SWIG_fail;
24760 }
24761 {
24762 resultobj = wxPyMake_wxObject(result);
24763 }
24764 return resultobj;
24765 fail:
24766 return NULL;
24767}
24768
24769
74a57fcd
RD
24770static PyObject *_wrap_Window_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24771 PyObject *resultobj;
24772 wxWindow *arg1 = (wxWindow *) 0 ;
24773 bool result;
24774 PyObject * obj0 = 0 ;
24775 char *kwnames[] = {
24776 (char *) "self", NULL
24777 };
24778
24779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Validate",kwnames,&obj0)) goto fail;
24780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24782 {
24783 PyThreadState* __tstate = wxPyBeginAllowThreads();
24784 result = (bool)(arg1)->Validate();
24785
24786 wxPyEndAllowThreads(__tstate);
24787 if (PyErr_Occurred()) SWIG_fail;
24788 }
24789 {
24790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24791 }
24792 return resultobj;
24793 fail:
24794 return NULL;
24795}
24796
24797
24798static PyObject *_wrap_Window_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24799 PyObject *resultobj;
24800 wxWindow *arg1 = (wxWindow *) 0 ;
24801 bool result;
24802 PyObject * obj0 = 0 ;
24803 char *kwnames[] = {
24804 (char *) "self", NULL
24805 };
24806
24807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataToWindow",kwnames,&obj0)) goto fail;
24808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24810 {
24811 PyThreadState* __tstate = wxPyBeginAllowThreads();
24812 result = (bool)(arg1)->TransferDataToWindow();
24813
24814 wxPyEndAllowThreads(__tstate);
24815 if (PyErr_Occurred()) SWIG_fail;
24816 }
24817 {
24818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24819 }
24820 return resultobj;
24821 fail:
24822 return NULL;
24823}
24824
24825
24826static PyObject *_wrap_Window_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24827 PyObject *resultobj;
24828 wxWindow *arg1 = (wxWindow *) 0 ;
24829 bool result;
24830 PyObject * obj0 = 0 ;
24831 char *kwnames[] = {
24832 (char *) "self", NULL
24833 };
24834
24835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataFromWindow",kwnames,&obj0)) goto fail;
24836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24838 {
24839 PyThreadState* __tstate = wxPyBeginAllowThreads();
24840 result = (bool)(arg1)->TransferDataFromWindow();
24841
24842 wxPyEndAllowThreads(__tstate);
24843 if (PyErr_Occurred()) SWIG_fail;
24844 }
24845 {
24846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24847 }
24848 return resultobj;
24849 fail:
24850 return NULL;
24851}
24852
24853
24854static PyObject *_wrap_Window_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24855 PyObject *resultobj;
24856 wxWindow *arg1 = (wxWindow *) 0 ;
24857 PyObject * obj0 = 0 ;
24858 char *kwnames[] = {
24859 (char *) "self", NULL
24860 };
24861
24862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InitDialog",kwnames,&obj0)) goto fail;
24863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24865 {
24866 PyThreadState* __tstate = wxPyBeginAllowThreads();
24867 (arg1)->InitDialog();
24868
24869 wxPyEndAllowThreads(__tstate);
24870 if (PyErr_Occurred()) SWIG_fail;
24871 }
24872 Py_INCREF(Py_None); resultobj = Py_None;
24873 return resultobj;
24874 fail:
24875 return NULL;
24876}
24877
24878
d14a1e28
RD
24879static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
24880 PyObject *resultobj;
24881 wxWindow *arg1 = (wxWindow *) 0 ;
24882 wxAcceleratorTable *arg2 = 0 ;
24883 PyObject * obj0 = 0 ;
24884 PyObject * obj1 = 0 ;
24885 char *kwnames[] = {
24886 (char *) "self",(char *) "accel", NULL
24887 };
24888
24889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24892 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorTable,
24893 SWIG_POINTER_EXCEPTION | 0)) == -1)
24894 SWIG_fail;
d14a1e28 24895 if (arg2 == NULL) {
15afbcd0
RD
24896 PyErr_SetString(PyExc_TypeError,"null reference");
24897 SWIG_fail;
d14a1e28
RD
24898 }
24899 {
24900 PyThreadState* __tstate = wxPyBeginAllowThreads();
24901 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
24902
24903 wxPyEndAllowThreads(__tstate);
24904 if (PyErr_Occurred()) SWIG_fail;
24905 }
24906 Py_INCREF(Py_None); resultobj = Py_None;
24907 return resultobj;
24908 fail:
24909 return NULL;
24910}
24911
24912
24913static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
24914 PyObject *resultobj;
24915 wxWindow *arg1 = (wxWindow *) 0 ;
24916 wxAcceleratorTable *result;
24917 PyObject * obj0 = 0 ;
24918 char *kwnames[] = {
24919 (char *) "self", NULL
24920 };
24921
24922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
15afbcd0
RD
24923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24925 {
24926 PyThreadState* __tstate = wxPyBeginAllowThreads();
24927 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
24928
24929 wxPyEndAllowThreads(__tstate);
24930 if (PyErr_Occurred()) SWIG_fail;
24931 }
15afbcd0 24932 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 0);
d14a1e28
RD
24933 return resultobj;
24934 fail:
24935 return NULL;
24936}
24937
24938
24939static PyObject *_wrap_Window_RegisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
24940 PyObject *resultobj;
24941 wxWindow *arg1 = (wxWindow *) 0 ;
24942 int arg2 ;
24943 int arg3 ;
24944 int arg4 ;
24945 bool result;
24946 PyObject * obj0 = 0 ;
994141e6
RD
24947 PyObject * obj1 = 0 ;
24948 PyObject * obj2 = 0 ;
24949 PyObject * obj3 = 0 ;
d14a1e28
RD
24950 char *kwnames[] = {
24951 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
24952 };
24953
994141e6 24954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_RegisterHotKey",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
24955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24957 arg2 = (int) SWIG_AsInt(obj1);
24958 if (PyErr_Occurred()) SWIG_fail;
24959 arg3 = (int) SWIG_AsInt(obj2);
24960 if (PyErr_Occurred()) SWIG_fail;
24961 arg4 = (int) SWIG_AsInt(obj3);
24962 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24963 {
24964 PyThreadState* __tstate = wxPyBeginAllowThreads();
24965 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
24966
24967 wxPyEndAllowThreads(__tstate);
24968 if (PyErr_Occurred()) SWIG_fail;
24969 }
4f89f6a3
RD
24970 {
24971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24972 }
d14a1e28
RD
24973 return resultobj;
24974 fail:
24975 return NULL;
24976}
24977
24978
24979static PyObject *_wrap_Window_UnregisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
24980 PyObject *resultobj;
24981 wxWindow *arg1 = (wxWindow *) 0 ;
24982 int arg2 ;
24983 bool result;
24984 PyObject * obj0 = 0 ;
994141e6 24985 PyObject * obj1 = 0 ;
d14a1e28
RD
24986 char *kwnames[] = {
24987 (char *) "self",(char *) "hotkeyId", NULL
24988 };
24989
994141e6 24990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_UnregisterHotKey",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24993 arg2 = (int) SWIG_AsInt(obj1);
24994 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24995 {
24996 PyThreadState* __tstate = wxPyBeginAllowThreads();
24997 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
24998
24999 wxPyEndAllowThreads(__tstate);
25000 if (PyErr_Occurred()) SWIG_fail;
25001 }
4f89f6a3
RD
25002 {
25003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25004 }
d14a1e28
RD
25005 return resultobj;
25006 fail:
25007 return NULL;
25008}
25009
25010
25011static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
25012 PyObject *resultobj;
25013 wxWindow *arg1 = (wxWindow *) 0 ;
25014 wxPoint *arg2 = 0 ;
25015 wxPoint result;
25016 wxPoint temp2 ;
25017 PyObject * obj0 = 0 ;
25018 PyObject * obj1 = 0 ;
25019 char *kwnames[] = {
25020 (char *) "self",(char *) "pt", NULL
25021 };
25022
25023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25026 {
25027 arg2 = &temp2;
25028 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25029 }
25030 {
25031 PyThreadState* __tstate = wxPyBeginAllowThreads();
25032 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
25033
25034 wxPyEndAllowThreads(__tstate);
25035 if (PyErr_Occurred()) SWIG_fail;
25036 }
25037 {
25038 wxPoint * resultptr;
25039 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 25040 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25041 }
25042 return resultobj;
25043 fail:
25044 return NULL;
25045}
25046
25047
25048static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
25049 PyObject *resultobj;
25050 wxWindow *arg1 = (wxWindow *) 0 ;
25051 wxSize *arg2 = 0 ;
25052 wxSize result;
25053 wxSize temp2 ;
25054 PyObject * obj0 = 0 ;
25055 PyObject * obj1 = 0 ;
25056 char *kwnames[] = {
25057 (char *) "self",(char *) "sz", NULL
25058 };
25059
25060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25063 {
25064 arg2 = &temp2;
25065 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25066 }
25067 {
25068 PyThreadState* __tstate = wxPyBeginAllowThreads();
25069 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
25070
25071 wxPyEndAllowThreads(__tstate);
25072 if (PyErr_Occurred()) SWIG_fail;
25073 }
25074 {
25075 wxSize * resultptr;
25076 resultptr = new wxSize((wxSize &) result);
15afbcd0 25077 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
25078 }
25079 return resultobj;
25080 fail:
25081 return NULL;
25082}
25083
25084
25085static PyObject *_wrap_Window_DLG_PNT(PyObject *self, PyObject *args, PyObject *kwargs) {
25086 PyObject *resultobj;
25087 wxWindow *arg1 = (wxWindow *) 0 ;
25088 wxPoint *arg2 = 0 ;
25089 wxPoint result;
25090 wxPoint temp2 ;
25091 PyObject * obj0 = 0 ;
25092 PyObject * obj1 = 0 ;
25093 char *kwnames[] = {
25094 (char *) "self",(char *) "pt", NULL
25095 };
25096
25097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25100 {
25101 arg2 = &temp2;
25102 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25103 }
25104 {
25105 PyThreadState* __tstate = wxPyBeginAllowThreads();
25106 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
25107
25108 wxPyEndAllowThreads(__tstate);
25109 if (PyErr_Occurred()) SWIG_fail;
25110 }
25111 {
25112 wxPoint * resultptr;
25113 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 25114 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25115 }
25116 return resultobj;
25117 fail:
25118 return NULL;
25119}
25120
25121
25122static PyObject *_wrap_Window_DLG_SZE(PyObject *self, PyObject *args, PyObject *kwargs) {
25123 PyObject *resultobj;
25124 wxWindow *arg1 = (wxWindow *) 0 ;
25125 wxSize *arg2 = 0 ;
25126 wxSize result;
25127 wxSize temp2 ;
25128 PyObject * obj0 = 0 ;
25129 PyObject * obj1 = 0 ;
25130 char *kwnames[] = {
25131 (char *) "self",(char *) "sz", NULL
25132 };
25133
25134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25137 {
25138 arg2 = &temp2;
25139 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25140 }
25141 {
25142 PyThreadState* __tstate = wxPyBeginAllowThreads();
25143 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
25144
25145 wxPyEndAllowThreads(__tstate);
25146 if (PyErr_Occurred()) SWIG_fail;
25147 }
25148 {
25149 wxSize * resultptr;
25150 resultptr = new wxSize((wxSize &) result);
15afbcd0 25151 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
25152 }
25153 return resultobj;
25154 fail:
25155 return NULL;
25156}
25157
25158
25159static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25160 PyObject *resultobj;
25161 wxWindow *arg1 = (wxWindow *) 0 ;
25162 wxPoint *arg2 = 0 ;
25163 wxPoint result;
25164 wxPoint temp2 ;
25165 PyObject * obj0 = 0 ;
25166 PyObject * obj1 = 0 ;
25167 char *kwnames[] = {
25168 (char *) "self",(char *) "pt", NULL
25169 };
25170
25171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25174 {
25175 arg2 = &temp2;
25176 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25177 }
25178 {
25179 PyThreadState* __tstate = wxPyBeginAllowThreads();
25180 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
25181
25182 wxPyEndAllowThreads(__tstate);
25183 if (PyErr_Occurred()) SWIG_fail;
25184 }
25185 {
25186 wxPoint * resultptr;
25187 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 25188 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25189 }
25190 return resultobj;
25191 fail:
25192 return NULL;
25193}
25194
25195
25196static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25197 PyObject *resultobj;
25198 wxWindow *arg1 = (wxWindow *) 0 ;
25199 wxSize *arg2 = 0 ;
25200 wxSize result;
25201 wxSize temp2 ;
25202 PyObject * obj0 = 0 ;
25203 PyObject * obj1 = 0 ;
25204 char *kwnames[] = {
25205 (char *) "self",(char *) "sz", NULL
25206 };
25207
25208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25211 {
25212 arg2 = &temp2;
25213 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25214 }
25215 {
25216 PyThreadState* __tstate = wxPyBeginAllowThreads();
25217 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
25218
25219 wxPyEndAllowThreads(__tstate);
25220 if (PyErr_Occurred()) SWIG_fail;
25221 }
25222 {
25223 wxSize * resultptr;
25224 resultptr = new wxSize((wxSize &) result);
15afbcd0 25225 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
25226 }
25227 return resultobj;
25228 fail:
25229 return NULL;
25230}
25231
25232
25233static PyObject *_wrap_Window_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
25234 PyObject *resultobj;
25235 wxWindow *arg1 = (wxWindow *) 0 ;
25236 int arg2 ;
25237 int arg3 ;
25238 PyObject * obj0 = 0 ;
994141e6
RD
25239 PyObject * obj1 = 0 ;
25240 PyObject * obj2 = 0 ;
d14a1e28
RD
25241 char *kwnames[] = {
25242 (char *) "self",(char *) "x",(char *) "y", NULL
25243 };
25244
994141e6 25245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_WarpPointer",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25248 arg2 = (int) SWIG_AsInt(obj1);
25249 if (PyErr_Occurred()) SWIG_fail;
25250 arg3 = (int) SWIG_AsInt(obj2);
25251 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25252 {
25253 PyThreadState* __tstate = wxPyBeginAllowThreads();
25254 (arg1)->WarpPointer(arg2,arg3);
25255
25256 wxPyEndAllowThreads(__tstate);
25257 if (PyErr_Occurred()) SWIG_fail;
25258 }
25259 Py_INCREF(Py_None); resultobj = Py_None;
25260 return resultobj;
25261 fail:
25262 return NULL;
25263}
25264
25265
25266static PyObject *_wrap_Window_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
25267 PyObject *resultobj;
25268 wxWindow *arg1 = (wxWindow *) 0 ;
25269 PyObject * obj0 = 0 ;
25270 char *kwnames[] = {
25271 (char *) "self", NULL
25272 };
25273
25274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
15afbcd0
RD
25275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25277 {
25278 PyThreadState* __tstate = wxPyBeginAllowThreads();
25279 (arg1)->CaptureMouse();
25280
25281 wxPyEndAllowThreads(__tstate);
25282 if (PyErr_Occurred()) SWIG_fail;
25283 }
25284 Py_INCREF(Py_None); resultobj = Py_None;
25285 return resultobj;
25286 fail:
25287 return NULL;
25288}
25289
25290
25291static PyObject *_wrap_Window_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
25292 PyObject *resultobj;
25293 wxWindow *arg1 = (wxWindow *) 0 ;
25294 PyObject * obj0 = 0 ;
25295 char *kwnames[] = {
25296 (char *) "self", NULL
25297 };
25298
25299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
15afbcd0
RD
25300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25302 {
25303 PyThreadState* __tstate = wxPyBeginAllowThreads();
25304 (arg1)->ReleaseMouse();
25305
25306 wxPyEndAllowThreads(__tstate);
25307 if (PyErr_Occurred()) SWIG_fail;
25308 }
25309 Py_INCREF(Py_None); resultobj = Py_None;
25310 return resultobj;
25311 fail:
25312 return NULL;
25313}
25314
25315
25316static PyObject *_wrap_Window_GetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
25317 PyObject *resultobj;
25318 wxWindow *result;
25319 char *kwnames[] = {
25320 NULL
25321 };
25322
25323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
25324 {
25325 PyThreadState* __tstate = wxPyBeginAllowThreads();
25326 result = (wxWindow *)wxWindow::GetCapture();
25327
25328 wxPyEndAllowThreads(__tstate);
25329 if (PyErr_Occurred()) SWIG_fail;
25330 }
25331 {
25332 resultobj = wxPyMake_wxObject(result);
25333 }
25334 return resultobj;
25335 fail:
25336 return NULL;
25337}
25338
25339
25340static PyObject *_wrap_Window_HasCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
25341 PyObject *resultobj;
25342 wxWindow *arg1 = (wxWindow *) 0 ;
25343 bool result;
25344 PyObject * obj0 = 0 ;
25345 char *kwnames[] = {
25346 (char *) "self", NULL
25347 };
25348
25349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
15afbcd0
RD
25350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25352 {
25353 PyThreadState* __tstate = wxPyBeginAllowThreads();
25354 result = (bool)((wxWindow const *)arg1)->HasCapture();
25355
25356 wxPyEndAllowThreads(__tstate);
25357 if (PyErr_Occurred()) SWIG_fail;
25358 }
4f89f6a3
RD
25359 {
25360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25361 }
d14a1e28
RD
25362 return resultobj;
25363 fail:
25364 return NULL;
25365}
25366
25367
25368static PyObject *_wrap_Window_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
25369 PyObject *resultobj;
25370 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 25371 bool arg2 = (bool) True ;
d14a1e28
RD
25372 wxRect *arg3 = (wxRect *) NULL ;
25373 PyObject * obj0 = 0 ;
25374 PyObject * obj1 = 0 ;
25375 PyObject * obj2 = 0 ;
25376 char *kwnames[] = {
25377 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25378 };
25379
25380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 25383 if (obj1) {
15afbcd0
RD
25384 arg2 = (bool) SWIG_AsBool(obj1);
25385 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25386 }
25387 if (obj2) {
15afbcd0
RD
25388 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
25389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25390 }
25391 {
25392 PyThreadState* __tstate = wxPyBeginAllowThreads();
25393 (arg1)->Refresh(arg2,(wxRect const *)arg3);
25394
25395 wxPyEndAllowThreads(__tstate);
25396 if (PyErr_Occurred()) SWIG_fail;
25397 }
25398 Py_INCREF(Py_None); resultobj = Py_None;
25399 return resultobj;
25400 fail:
25401 return NULL;
25402}
25403
25404
25405static PyObject *_wrap_Window_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25406 PyObject *resultobj;
25407 wxWindow *arg1 = (wxWindow *) 0 ;
25408 wxRect *arg2 = 0 ;
25409 wxRect temp2 ;
25410 PyObject * obj0 = 0 ;
25411 PyObject * obj1 = 0 ;
25412 char *kwnames[] = {
25413 (char *) "self",(char *) "rect", NULL
25414 };
25415
25416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RefreshRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25419 {
25420 arg2 = &temp2;
25421 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
25422 }
25423 {
25424 PyThreadState* __tstate = wxPyBeginAllowThreads();
25425 (arg1)->RefreshRect((wxRect const &)*arg2);
25426
25427 wxPyEndAllowThreads(__tstate);
25428 if (PyErr_Occurred()) SWIG_fail;
25429 }
25430 Py_INCREF(Py_None); resultobj = Py_None;
25431 return resultobj;
25432 fail:
25433 return NULL;
25434}
25435
25436
25437static PyObject *_wrap_Window_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
25438 PyObject *resultobj;
25439 wxWindow *arg1 = (wxWindow *) 0 ;
25440 PyObject * obj0 = 0 ;
25441 char *kwnames[] = {
25442 (char *) "self", NULL
25443 };
25444
25445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
15afbcd0
RD
25446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25448 {
25449 PyThreadState* __tstate = wxPyBeginAllowThreads();
25450 (arg1)->Update();
25451
25452 wxPyEndAllowThreads(__tstate);
25453 if (PyErr_Occurred()) SWIG_fail;
25454 }
25455 Py_INCREF(Py_None); resultobj = Py_None;
25456 return resultobj;
25457 fail:
25458 return NULL;
25459}
25460
25461
25462static PyObject *_wrap_Window_ClearBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
25463 PyObject *resultobj;
25464 wxWindow *arg1 = (wxWindow *) 0 ;
25465 PyObject * obj0 = 0 ;
25466 char *kwnames[] = {
25467 (char *) "self", NULL
25468 };
25469
25470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
15afbcd0
RD
25471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25473 {
25474 PyThreadState* __tstate = wxPyBeginAllowThreads();
25475 (arg1)->ClearBackground();
25476
25477 wxPyEndAllowThreads(__tstate);
25478 if (PyErr_Occurred()) SWIG_fail;
25479 }
25480 Py_INCREF(Py_None); resultobj = Py_None;
25481 return resultobj;
25482 fail:
25483 return NULL;
25484}
25485
25486
25487static PyObject *_wrap_Window_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
25488 PyObject *resultobj;
25489 wxWindow *arg1 = (wxWindow *) 0 ;
25490 PyObject * obj0 = 0 ;
25491 char *kwnames[] = {
25492 (char *) "self", NULL
25493 };
25494
25495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
15afbcd0
RD
25496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25498 {
25499 PyThreadState* __tstate = wxPyBeginAllowThreads();
25500 (arg1)->Freeze();
25501
25502 wxPyEndAllowThreads(__tstate);
25503 if (PyErr_Occurred()) SWIG_fail;
25504 }
25505 Py_INCREF(Py_None); resultobj = Py_None;
25506 return resultobj;
25507 fail:
25508 return NULL;
25509}
25510
25511
25512static PyObject *_wrap_Window_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
25513 PyObject *resultobj;
25514 wxWindow *arg1 = (wxWindow *) 0 ;
25515 PyObject * obj0 = 0 ;
25516 char *kwnames[] = {
25517 (char *) "self", NULL
25518 };
25519
25520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
15afbcd0
RD
25521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25523 {
25524 PyThreadState* __tstate = wxPyBeginAllowThreads();
25525 (arg1)->Thaw();
25526
25527 wxPyEndAllowThreads(__tstate);
25528 if (PyErr_Occurred()) SWIG_fail;
25529 }
25530 Py_INCREF(Py_None); resultobj = Py_None;
25531 return resultobj;
25532 fail:
25533 return NULL;
25534}
25535
25536
25537static PyObject *_wrap_Window_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
25538 PyObject *resultobj;
25539 wxWindow *arg1 = (wxWindow *) 0 ;
25540 wxDC *arg2 = 0 ;
25541 PyObject * obj0 = 0 ;
25542 PyObject * obj1 = 0 ;
25543 char *kwnames[] = {
25544 (char *) "self",(char *) "dc", NULL
25545 };
25546
25547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25550 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25551 SWIG_POINTER_EXCEPTION | 0)) == -1)
25552 SWIG_fail;
d14a1e28 25553 if (arg2 == NULL) {
15afbcd0
RD
25554 PyErr_SetString(PyExc_TypeError,"null reference");
25555 SWIG_fail;
d14a1e28
RD
25556 }
25557 {
25558 PyThreadState* __tstate = wxPyBeginAllowThreads();
25559 (arg1)->PrepareDC(*arg2);
25560
25561 wxPyEndAllowThreads(__tstate);
25562 if (PyErr_Occurred()) SWIG_fail;
25563 }
25564 Py_INCREF(Py_None); resultobj = Py_None;
25565 return resultobj;
25566 fail:
25567 return NULL;
25568}
25569
25570
25571static PyObject *_wrap_Window_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
25572 PyObject *resultobj;
25573 wxWindow *arg1 = (wxWindow *) 0 ;
25574 wxRegion *result;
25575 PyObject * obj0 = 0 ;
25576 char *kwnames[] = {
25577 (char *) "self", NULL
25578 };
25579
25580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
15afbcd0
RD
25581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25583 {
25584 PyThreadState* __tstate = wxPyBeginAllowThreads();
25585 {
25586 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
25587 result = (wxRegion *) &_result_ref;
25588 }
25589
25590 wxPyEndAllowThreads(__tstate);
25591 if (PyErr_Occurred()) SWIG_fail;
25592 }
15afbcd0 25593 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 0);
d14a1e28
RD
25594 return resultobj;
25595 fail:
25596 return NULL;
25597}
25598
25599
25600static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25601 PyObject *resultobj;
25602 wxWindow *arg1 = (wxWindow *) 0 ;
25603 wxRect result;
25604 PyObject * obj0 = 0 ;
25605 char *kwnames[] = {
25606 (char *) "self", NULL
25607 };
25608
25609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
25610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25612 {
25613 PyThreadState* __tstate = wxPyBeginAllowThreads();
25614 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
25615
25616 wxPyEndAllowThreads(__tstate);
25617 if (PyErr_Occurred()) SWIG_fail;
25618 }
25619 {
25620 wxRect * resultptr;
25621 resultptr = new wxRect((wxRect &) result);
15afbcd0 25622 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
25623 }
25624 return resultobj;
25625 fail:
25626 return NULL;
25627}
25628
25629
25630static PyObject *_wrap_Window_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
25631 PyObject *resultobj;
25632 wxWindow *arg1 = (wxWindow *) 0 ;
25633 int arg2 ;
25634 int arg3 ;
25635 int arg4 = (int) 1 ;
25636 int arg5 = (int) 1 ;
25637 bool result;
25638 PyObject * obj0 = 0 ;
994141e6
RD
25639 PyObject * obj1 = 0 ;
25640 PyObject * obj2 = 0 ;
25641 PyObject * obj3 = 0 ;
25642 PyObject * obj4 = 0 ;
d14a1e28
RD
25643 char *kwnames[] = {
25644 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25645 };
25646
994141e6 25647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_IsExposed",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
25648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25650 arg2 = (int) SWIG_AsInt(obj1);
25651 if (PyErr_Occurred()) SWIG_fail;
25652 arg3 = (int) SWIG_AsInt(obj2);
25653 if (PyErr_Occurred()) SWIG_fail;
994141e6 25654 if (obj3) {
15afbcd0
RD
25655 arg4 = (int) SWIG_AsInt(obj3);
25656 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
25657 }
25658 if (obj4) {
15afbcd0
RD
25659 arg5 = (int) SWIG_AsInt(obj4);
25660 if (PyErr_Occurred()) SWIG_fail;
994141e6 25661 }
d14a1e28
RD
25662 {
25663 PyThreadState* __tstate = wxPyBeginAllowThreads();
25664 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
25665
25666 wxPyEndAllowThreads(__tstate);
25667 if (PyErr_Occurred()) SWIG_fail;
25668 }
4f89f6a3
RD
25669 {
25670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25671 }
d14a1e28
RD
25672 return resultobj;
25673 fail:
25674 return NULL;
25675}
25676
25677
25678static PyObject *_wrap_Window_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
25679 PyObject *resultobj;
25680 wxWindow *arg1 = (wxWindow *) 0 ;
25681 wxPoint *arg2 = 0 ;
25682 bool result;
25683 wxPoint temp2 ;
25684 PyObject * obj0 = 0 ;
25685 PyObject * obj1 = 0 ;
25686 char *kwnames[] = {
25687 (char *) "self",(char *) "pt", NULL
25688 };
25689
25690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25693 {
25694 arg2 = &temp2;
25695 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25696 }
25697 {
25698 PyThreadState* __tstate = wxPyBeginAllowThreads();
25699 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
25700
25701 wxPyEndAllowThreads(__tstate);
25702 if (PyErr_Occurred()) SWIG_fail;
25703 }
4f89f6a3
RD
25704 {
25705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25706 }
d14a1e28
RD
25707 return resultobj;
25708 fail:
25709 return NULL;
25710}
25711
25712
4276dc52 25713static PyObject *_wrap_Window_IsExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25714 PyObject *resultobj;
25715 wxWindow *arg1 = (wxWindow *) 0 ;
25716 wxRect *arg2 = 0 ;
25717 bool result;
25718 wxRect temp2 ;
25719 PyObject * obj0 = 0 ;
25720 PyObject * obj1 = 0 ;
25721 char *kwnames[] = {
25722 (char *) "self",(char *) "rect", NULL
25723 };
25724
4276dc52 25725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25728 {
25729 arg2 = &temp2;
25730 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
25731 }
25732 {
25733 PyThreadState* __tstate = wxPyBeginAllowThreads();
25734 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
25735
25736 wxPyEndAllowThreads(__tstate);
25737 if (PyErr_Occurred()) SWIG_fail;
25738 }
4f89f6a3
RD
25739 {
25740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25741 }
d14a1e28
RD
25742 return resultobj;
25743 fail:
25744 return NULL;
25745}
25746
25747
74a57fcd
RD
25748static PyObject *_wrap_Window_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
25749 PyObject *resultobj;
25750 wxWindow *arg1 = (wxWindow *) 0 ;
25751 wxVisualAttributes result;
25752 PyObject * obj0 = 0 ;
25753 char *kwnames[] = {
25754 (char *) "self", NULL
25755 };
25756
25757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultAttributes",kwnames,&obj0)) goto fail;
25758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25760 {
25761 PyThreadState* __tstate = wxPyBeginAllowThreads();
25762 result = ((wxWindow const *)arg1)->GetDefaultAttributes();
25763
25764 wxPyEndAllowThreads(__tstate);
25765 if (PyErr_Occurred()) SWIG_fail;
25766 }
25767 {
25768 wxVisualAttributes * resultptr;
25769 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
25770 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
25771 }
25772 return resultobj;
25773 fail:
25774 return NULL;
25775}
25776
25777
25778static PyObject *_wrap_Window_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
25779 PyObject *resultobj;
25780 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
25781 wxVisualAttributes result;
25782 PyObject * obj0 = 0 ;
25783 char *kwnames[] = {
25784 (char *) "variant", NULL
25785 };
25786
25787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Window_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
25788 if (obj0) {
25789 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
25790 if (PyErr_Occurred()) SWIG_fail;
25791 }
25792 {
25793 PyThreadState* __tstate = wxPyBeginAllowThreads();
25794 result = wxWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
25795
25796 wxPyEndAllowThreads(__tstate);
25797 if (PyErr_Occurred()) SWIG_fail;
25798 }
25799 {
25800 wxVisualAttributes * resultptr;
25801 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
25802 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
25803 }
25804 return resultobj;
25805 fail:
25806 return NULL;
25807}
25808
25809
d14a1e28
RD
25810static PyObject *_wrap_Window_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25811 PyObject *resultobj;
25812 wxWindow *arg1 = (wxWindow *) 0 ;
25813 wxColour *arg2 = 0 ;
25814 bool result;
25815 wxColour temp2 ;
25816 PyObject * obj0 = 0 ;
25817 PyObject * obj1 = 0 ;
25818 char *kwnames[] = {
25819 (char *) "self",(char *) "colour", NULL
25820 };
25821
25822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25825 {
25826 arg2 = &temp2;
25827 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25828 }
25829 {
25830 PyThreadState* __tstate = wxPyBeginAllowThreads();
25831 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
25832
25833 wxPyEndAllowThreads(__tstate);
25834 if (PyErr_Occurred()) SWIG_fail;
25835 }
4f89f6a3
RD
25836 {
25837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25838 }
d14a1e28
RD
25839 return resultobj;
25840 fail:
25841 return NULL;
25842}
25843
25844
b2df227b
RD
25845static PyObject *_wrap_Window_SetDefaultBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25846 PyObject *resultobj;
25847 wxWindow *arg1 = (wxWindow *) 0 ;
25848 wxColour *arg2 = 0 ;
25849 wxColour temp2 ;
25850 PyObject * obj0 = 0 ;
25851 PyObject * obj1 = 0 ;
25852 char *kwnames[] = {
25853 (char *) "self",(char *) "colour", NULL
25854 };
25855
25856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
25857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25859 {
25860 arg2 = &temp2;
25861 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25862 }
25863 {
25864 PyThreadState* __tstate = wxPyBeginAllowThreads();
25865 (arg1)->SetDefaultBackgroundColour((wxColour const &)*arg2);
25866
25867 wxPyEndAllowThreads(__tstate);
25868 if (PyErr_Occurred()) SWIG_fail;
25869 }
25870 Py_INCREF(Py_None); resultobj = Py_None;
25871 return resultobj;
25872 fail:
25873 return NULL;
25874}
25875
25876
d14a1e28
RD
25877static PyObject *_wrap_Window_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25878 PyObject *resultobj;
25879 wxWindow *arg1 = (wxWindow *) 0 ;
25880 wxColour *arg2 = 0 ;
25881 bool result;
25882 wxColour temp2 ;
25883 PyObject * obj0 = 0 ;
25884 PyObject * obj1 = 0 ;
25885 char *kwnames[] = {
25886 (char *) "self",(char *) "colour", NULL
25887 };
25888
25889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25892 {
25893 arg2 = &temp2;
25894 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25895 }
25896 {
25897 PyThreadState* __tstate = wxPyBeginAllowThreads();
25898 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
25899
25900 wxPyEndAllowThreads(__tstate);
25901 if (PyErr_Occurred()) SWIG_fail;
25902 }
4f89f6a3
RD
25903 {
25904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25905 }
d14a1e28
RD
25906 return resultobj;
25907 fail:
25908 return NULL;
25909}
25910
25911
b2df227b
RD
25912static PyObject *_wrap_Window_SetDefaultForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25913 PyObject *resultobj;
25914 wxWindow *arg1 = (wxWindow *) 0 ;
25915 wxColour *arg2 = 0 ;
25916 wxColour temp2 ;
25917 PyObject * obj0 = 0 ;
25918 PyObject * obj1 = 0 ;
25919 char *kwnames[] = {
25920 (char *) "self",(char *) "colour", NULL
25921 };
25922
25923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultForegroundColour",kwnames,&obj0,&obj1)) goto fail;
25924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25926 {
25927 arg2 = &temp2;
25928 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25929 }
25930 {
25931 PyThreadState* __tstate = wxPyBeginAllowThreads();
25932 (arg1)->SetDefaultForegroundColour((wxColour const &)*arg2);
25933
25934 wxPyEndAllowThreads(__tstate);
25935 if (PyErr_Occurred()) SWIG_fail;
25936 }
25937 Py_INCREF(Py_None); resultobj = Py_None;
25938 return resultobj;
25939 fail:
25940 return NULL;
25941}
25942
25943
d14a1e28
RD
25944static PyObject *_wrap_Window_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25945 PyObject *resultobj;
25946 wxWindow *arg1 = (wxWindow *) 0 ;
25947 wxColour result;
25948 PyObject * obj0 = 0 ;
25949 char *kwnames[] = {
25950 (char *) "self", NULL
25951 };
25952
25953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
25954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25956 {
25957 PyThreadState* __tstate = wxPyBeginAllowThreads();
25958 result = ((wxWindow const *)arg1)->GetBackgroundColour();
25959
25960 wxPyEndAllowThreads(__tstate);
25961 if (PyErr_Occurred()) SWIG_fail;
25962 }
25963 {
25964 wxColour * resultptr;
25965 resultptr = new wxColour((wxColour &) result);
15afbcd0 25966 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
25967 }
25968 return resultobj;
25969 fail:
25970 return NULL;
25971}
25972
25973
25974static PyObject *_wrap_Window_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25975 PyObject *resultobj;
25976 wxWindow *arg1 = (wxWindow *) 0 ;
25977 wxColour result;
25978 PyObject * obj0 = 0 ;
25979 char *kwnames[] = {
25980 (char *) "self", NULL
25981 };
25982
25983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
25984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25986 {
25987 PyThreadState* __tstate = wxPyBeginAllowThreads();
25988 result = ((wxWindow const *)arg1)->GetForegroundColour();
25989
25990 wxPyEndAllowThreads(__tstate);
25991 if (PyErr_Occurred()) SWIG_fail;
25992 }
25993 {
25994 wxColour * resultptr;
25995 resultptr = new wxColour((wxColour &) result);
15afbcd0 25996 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
25997 }
25998 return resultobj;
25999 fail:
26000 return NULL;
26001}
26002
26003
26004static PyObject *_wrap_Window_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
26005 PyObject *resultobj;
26006 wxWindow *arg1 = (wxWindow *) 0 ;
26007 wxCursor *arg2 = 0 ;
26008 bool result;
26009 PyObject * obj0 = 0 ;
26010 PyObject * obj1 = 0 ;
26011 char *kwnames[] = {
26012 (char *) "self",(char *) "cursor", NULL
26013 };
26014
26015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26018 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
26019 SWIG_POINTER_EXCEPTION | 0)) == -1)
26020 SWIG_fail;
d14a1e28 26021 if (arg2 == NULL) {
15afbcd0
RD
26022 PyErr_SetString(PyExc_TypeError,"null reference");
26023 SWIG_fail;
d14a1e28
RD
26024 }
26025 {
26026 PyThreadState* __tstate = wxPyBeginAllowThreads();
26027 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
26028
26029 wxPyEndAllowThreads(__tstate);
26030 if (PyErr_Occurred()) SWIG_fail;
26031 }
4f89f6a3
RD
26032 {
26033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26034 }
d14a1e28
RD
26035 return resultobj;
26036 fail:
26037 return NULL;
26038}
26039
26040
26041static PyObject *_wrap_Window_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
26042 PyObject *resultobj;
26043 wxWindow *arg1 = (wxWindow *) 0 ;
26044 wxCursor *result;
26045 PyObject * obj0 = 0 ;
26046 char *kwnames[] = {
26047 (char *) "self", NULL
26048 };
26049
26050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
26051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26053 {
26054 PyThreadState* __tstate = wxPyBeginAllowThreads();
26055 {
26056 wxCursor &_result_ref = (arg1)->GetCursor();
26057 result = (wxCursor *) &_result_ref;
26058 }
26059
26060 wxPyEndAllowThreads(__tstate);
26061 if (PyErr_Occurred()) SWIG_fail;
26062 }
4276dc52
RD
26063 {
26064 wxCursor* resultptr = new wxCursor(*result);
26065 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
26066 }
d14a1e28
RD
26067 return resultobj;
26068 fail:
26069 return NULL;
26070}
26071
26072
26073static PyObject *_wrap_Window_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26074 PyObject *resultobj;
26075 wxWindow *arg1 = (wxWindow *) 0 ;
26076 wxFont *arg2 = 0 ;
26077 bool result;
26078 PyObject * obj0 = 0 ;
26079 PyObject * obj1 = 0 ;
26080 char *kwnames[] = {
26081 (char *) "self",(char *) "font", NULL
26082 };
26083
26084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26087 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
26088 SWIG_POINTER_EXCEPTION | 0)) == -1)
26089 SWIG_fail;
d14a1e28 26090 if (arg2 == NULL) {
15afbcd0
RD
26091 PyErr_SetString(PyExc_TypeError,"null reference");
26092 SWIG_fail;
d14a1e28
RD
26093 }
26094 {
26095 PyThreadState* __tstate = wxPyBeginAllowThreads();
26096 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
26097
26098 wxPyEndAllowThreads(__tstate);
26099 if (PyErr_Occurred()) SWIG_fail;
26100 }
4f89f6a3
RD
26101 {
26102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26103 }
d14a1e28
RD
26104 return resultobj;
26105 fail:
26106 return NULL;
26107}
26108
26109
b2df227b
RD
26110static PyObject *_wrap_Window_SetDefaultFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26111 PyObject *resultobj;
26112 wxWindow *arg1 = (wxWindow *) 0 ;
26113 wxFont *arg2 = 0 ;
26114 PyObject * obj0 = 0 ;
26115 PyObject * obj1 = 0 ;
26116 char *kwnames[] = {
26117 (char *) "self",(char *) "font", NULL
26118 };
26119
26120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultFont",kwnames,&obj0,&obj1)) goto fail;
26121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26123 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
26124 SWIG_POINTER_EXCEPTION | 0)) == -1)
26125 SWIG_fail;
26126 if (arg2 == NULL) {
26127 PyErr_SetString(PyExc_TypeError,"null reference");
26128 SWIG_fail;
26129 }
26130 {
26131 PyThreadState* __tstate = wxPyBeginAllowThreads();
26132 (arg1)->SetDefaultFont((wxFont const &)*arg2);
26133
26134 wxPyEndAllowThreads(__tstate);
26135 if (PyErr_Occurred()) SWIG_fail;
26136 }
26137 Py_INCREF(Py_None); resultobj = Py_None;
26138 return resultobj;
26139 fail:
26140 return NULL;
26141}
26142
26143
d14a1e28
RD
26144static PyObject *_wrap_Window_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26145 PyObject *resultobj;
26146 wxWindow *arg1 = (wxWindow *) 0 ;
26147 wxFont *result;
26148 PyObject * obj0 = 0 ;
26149 char *kwnames[] = {
26150 (char *) "self", NULL
26151 };
26152
26153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
26154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26156 {
26157 PyThreadState* __tstate = wxPyBeginAllowThreads();
26158 {
26159 wxFont &_result_ref = (arg1)->GetFont();
26160 result = (wxFont *) &_result_ref;
26161 }
26162
26163 wxPyEndAllowThreads(__tstate);
26164 if (PyErr_Occurred()) SWIG_fail;
26165 }
4276dc52
RD
26166 {
26167 wxFont* resultptr = new wxFont(*result);
26168 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
26169 }
d14a1e28
RD
26170 return resultobj;
26171 fail:
26172 return NULL;
26173}
26174
26175
26176static PyObject *_wrap_Window_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
26177 PyObject *resultobj;
26178 wxWindow *arg1 = (wxWindow *) 0 ;
26179 wxCaret *arg2 = (wxCaret *) 0 ;
26180 PyObject * obj0 = 0 ;
26181 PyObject * obj1 = 0 ;
26182 char *kwnames[] = {
26183 (char *) "self",(char *) "caret", NULL
26184 };
26185
26186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26189 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCaret,
26190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26191 {
26192 PyThreadState* __tstate = wxPyBeginAllowThreads();
26193 (arg1)->SetCaret(arg2);
26194
26195 wxPyEndAllowThreads(__tstate);
26196 if (PyErr_Occurred()) SWIG_fail;
26197 }
26198 Py_INCREF(Py_None); resultobj = Py_None;
26199 return resultobj;
26200 fail:
26201 return NULL;
26202}
26203
26204
26205static PyObject *_wrap_Window_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
26206 PyObject *resultobj;
26207 wxWindow *arg1 = (wxWindow *) 0 ;
26208 wxCaret *result;
26209 PyObject * obj0 = 0 ;
26210 char *kwnames[] = {
26211 (char *) "self", NULL
26212 };
26213
26214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
15afbcd0
RD
26215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26217 {
26218 PyThreadState* __tstate = wxPyBeginAllowThreads();
26219 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
26220
26221 wxPyEndAllowThreads(__tstate);
26222 if (PyErr_Occurred()) SWIG_fail;
26223 }
15afbcd0 26224 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 0);
d14a1e28
RD
26225 return resultobj;
26226 fail:
26227 return NULL;
26228}
26229
26230
26231static PyObject *_wrap_Window_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
26232 PyObject *resultobj;
26233 wxWindow *arg1 = (wxWindow *) 0 ;
26234 int result;
26235 PyObject * obj0 = 0 ;
26236 char *kwnames[] = {
26237 (char *) "self", NULL
26238 };
26239
26240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
26241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26243 {
26244 PyThreadState* __tstate = wxPyBeginAllowThreads();
26245 result = (int)((wxWindow const *)arg1)->GetCharHeight();
26246
26247 wxPyEndAllowThreads(__tstate);
26248 if (PyErr_Occurred()) SWIG_fail;
26249 }
15afbcd0 26250 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26251 return resultobj;
26252 fail:
26253 return NULL;
26254}
26255
26256
26257static PyObject *_wrap_Window_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
26258 PyObject *resultobj;
26259 wxWindow *arg1 = (wxWindow *) 0 ;
26260 int result;
26261 PyObject * obj0 = 0 ;
26262 char *kwnames[] = {
26263 (char *) "self", NULL
26264 };
26265
26266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
26267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26269 {
26270 PyThreadState* __tstate = wxPyBeginAllowThreads();
26271 result = (int)((wxWindow const *)arg1)->GetCharWidth();
26272
26273 wxPyEndAllowThreads(__tstate);
26274 if (PyErr_Occurred()) SWIG_fail;
26275 }
15afbcd0 26276 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26277 return resultobj;
26278 fail:
26279 return NULL;
26280}
26281
26282
26283static PyObject *_wrap_Window_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
26284 PyObject *resultobj;
26285 wxWindow *arg1 = (wxWindow *) 0 ;
26286 wxString *arg2 = 0 ;
26287 int *arg3 = (int *) 0 ;
26288 int *arg4 = (int *) 0 ;
e811c8ce 26289 bool temp2 = False ;
d14a1e28
RD
26290 int temp3 ;
26291 int temp4 ;
26292 PyObject * obj0 = 0 ;
26293 PyObject * obj1 = 0 ;
26294 char *kwnames[] = {
26295 (char *) "self",(char *) "string", NULL
26296 };
26297
26298 arg3 = &temp3;
26299 arg4 = &temp4;
26300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26303 {
26304 arg2 = wxString_in_helper(obj1);
26305 if (arg2 == NULL) SWIG_fail;
e811c8ce 26306 temp2 = True;
d14a1e28
RD
26307 }
26308 {
26309 PyThreadState* __tstate = wxPyBeginAllowThreads();
26310 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
26311
26312 wxPyEndAllowThreads(__tstate);
26313 if (PyErr_Occurred()) SWIG_fail;
26314 }
26315 Py_INCREF(Py_None); resultobj = Py_None;
26316 {
26317 PyObject *o = PyInt_FromLong((long) (*arg3));
26318 resultobj = t_output_helper(resultobj,o);
26319 }
26320 {
26321 PyObject *o = PyInt_FromLong((long) (*arg4));
26322 resultobj = t_output_helper(resultobj,o);
26323 }
26324 {
26325 if (temp2)
26326 delete arg2;
26327 }
26328 return resultobj;
26329 fail:
26330 {
26331 if (temp2)
26332 delete arg2;
26333 }
26334 return NULL;
26335}
26336
26337
26338static PyObject *_wrap_Window_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
26339 PyObject *resultobj;
26340 wxWindow *arg1 = (wxWindow *) 0 ;
26341 wxString *arg2 = 0 ;
26342 int *arg3 = (int *) 0 ;
26343 int *arg4 = (int *) 0 ;
26344 int *arg5 = (int *) 0 ;
26345 int *arg6 = (int *) 0 ;
26346 wxFont *arg7 = (wxFont *) NULL ;
e811c8ce 26347 bool temp2 = False ;
d14a1e28
RD
26348 int temp3 ;
26349 int temp4 ;
26350 int temp5 ;
26351 int temp6 ;
26352 PyObject * obj0 = 0 ;
26353 PyObject * obj1 = 0 ;
26354 PyObject * obj2 = 0 ;
26355 char *kwnames[] = {
26356 (char *) "self",(char *) "string",(char *) "font", NULL
26357 };
26358
26359 arg3 = &temp3;
26360 arg4 = &temp4;
26361 arg5 = &temp5;
26362 arg6 = &temp6;
26363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26366 {
26367 arg2 = wxString_in_helper(obj1);
26368 if (arg2 == NULL) SWIG_fail;
e811c8ce 26369 temp2 = True;
d14a1e28
RD
26370 }
26371 if (obj2) {
15afbcd0
RD
26372 if ((SWIG_ConvertPtr(obj2,(void **)(&arg7),SWIGTYPE_p_wxFont,
26373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26374 }
26375 {
26376 PyThreadState* __tstate = wxPyBeginAllowThreads();
26377 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
26378
26379 wxPyEndAllowThreads(__tstate);
26380 if (PyErr_Occurred()) SWIG_fail;
26381 }
26382 Py_INCREF(Py_None); resultobj = Py_None;
26383 {
26384 PyObject *o = PyInt_FromLong((long) (*arg3));
26385 resultobj = t_output_helper(resultobj,o);
26386 }
26387 {
26388 PyObject *o = PyInt_FromLong((long) (*arg4));
26389 resultobj = t_output_helper(resultobj,o);
26390 }
26391 {
26392 PyObject *o = PyInt_FromLong((long) (*arg5));
26393 resultobj = t_output_helper(resultobj,o);
26394 }
26395 {
26396 PyObject *o = PyInt_FromLong((long) (*arg6));
26397 resultobj = t_output_helper(resultobj,o);
26398 }
26399 {
26400 if (temp2)
26401 delete arg2;
26402 }
26403 return resultobj;
26404 fail:
26405 {
26406 if (temp2)
26407 delete arg2;
26408 }
26409 return NULL;
26410}
26411
26412
26413static PyObject *_wrap_Window_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26414 PyObject *resultobj;
26415 wxWindow *arg1 = (wxWindow *) 0 ;
26416 int *arg2 = (int *) 0 ;
26417 int *arg3 = (int *) 0 ;
26418 int temp2 ;
26419 int temp3 ;
26420 PyObject * obj0 = 0 ;
26421 PyObject * obj1 = 0 ;
26422 PyObject * obj2 = 0 ;
26423 char *kwnames[] = {
26424 (char *) "self",(char *) "x",(char *) "y", NULL
26425 };
26426
26427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26430 {
26431 temp2 = PyInt_AsLong(obj1);
26432 if (PyErr_Occurred()) SWIG_fail;
26433 arg2 = &temp2;
26434 }
26435 {
26436 temp3 = PyInt_AsLong(obj2);
26437 if (PyErr_Occurred()) SWIG_fail;
26438 arg3 = &temp3;
26439 }
26440 {
26441 PyThreadState* __tstate = wxPyBeginAllowThreads();
26442 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
26443
26444 wxPyEndAllowThreads(__tstate);
26445 if (PyErr_Occurred()) SWIG_fail;
26446 }
26447 Py_INCREF(Py_None); resultobj = Py_None;
26448 {
26449 PyObject *o = PyInt_FromLong((long) (*arg2));
26450 resultobj = t_output_helper(resultobj,o);
26451 }
26452 {
26453 PyObject *o = PyInt_FromLong((long) (*arg3));
26454 resultobj = t_output_helper(resultobj,o);
26455 }
26456 return resultobj;
26457 fail:
26458 return NULL;
26459}
26460
26461
26462static PyObject *_wrap_Window_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26463 PyObject *resultobj;
26464 wxWindow *arg1 = (wxWindow *) 0 ;
26465 int *arg2 = (int *) 0 ;
26466 int *arg3 = (int *) 0 ;
26467 int temp2 ;
26468 int temp3 ;
26469 PyObject * obj0 = 0 ;
26470 PyObject * obj1 = 0 ;
26471 PyObject * obj2 = 0 ;
26472 char *kwnames[] = {
26473 (char *) "self",(char *) "x",(char *) "y", NULL
26474 };
26475
26476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26479 {
26480 temp2 = PyInt_AsLong(obj1);
26481 if (PyErr_Occurred()) SWIG_fail;
26482 arg2 = &temp2;
26483 }
26484 {
26485 temp3 = PyInt_AsLong(obj2);
26486 if (PyErr_Occurred()) SWIG_fail;
26487 arg3 = &temp3;
26488 }
26489 {
26490 PyThreadState* __tstate = wxPyBeginAllowThreads();
26491 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
26492
26493 wxPyEndAllowThreads(__tstate);
26494 if (PyErr_Occurred()) SWIG_fail;
26495 }
26496 Py_INCREF(Py_None); resultobj = Py_None;
26497 {
26498 PyObject *o = PyInt_FromLong((long) (*arg2));
26499 resultobj = t_output_helper(resultobj,o);
26500 }
26501 {
26502 PyObject *o = PyInt_FromLong((long) (*arg3));
26503 resultobj = t_output_helper(resultobj,o);
26504 }
26505 return resultobj;
26506 fail:
26507 return NULL;
26508}
26509
26510
26511static PyObject *_wrap_Window_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
26512 PyObject *resultobj;
26513 wxWindow *arg1 = (wxWindow *) 0 ;
26514 wxPoint *arg2 = 0 ;
26515 wxPoint result;
26516 wxPoint temp2 ;
26517 PyObject * obj0 = 0 ;
26518 PyObject * obj1 = 0 ;
26519 char *kwnames[] = {
26520 (char *) "self",(char *) "pt", NULL
26521 };
26522
26523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26526 {
26527 arg2 = &temp2;
26528 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26529 }
26530 {
26531 PyThreadState* __tstate = wxPyBeginAllowThreads();
26532 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
26533
26534 wxPyEndAllowThreads(__tstate);
26535 if (PyErr_Occurred()) SWIG_fail;
26536 }
26537 {
26538 wxPoint * resultptr;
26539 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 26540 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
26541 }
26542 return resultobj;
26543 fail:
26544 return NULL;
26545}
26546
26547
26548static PyObject *_wrap_Window_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
26549 PyObject *resultobj;
26550 wxWindow *arg1 = (wxWindow *) 0 ;
26551 wxPoint *arg2 = 0 ;
26552 wxPoint result;
26553 wxPoint temp2 ;
26554 PyObject * obj0 = 0 ;
26555 PyObject * obj1 = 0 ;
26556 char *kwnames[] = {
26557 (char *) "self",(char *) "pt", NULL
26558 };
26559
26560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26563 {
26564 arg2 = &temp2;
26565 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26566 }
26567 {
26568 PyThreadState* __tstate = wxPyBeginAllowThreads();
26569 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
26570
26571 wxPyEndAllowThreads(__tstate);
26572 if (PyErr_Occurred()) SWIG_fail;
26573 }
26574 {
26575 wxPoint * resultptr;
26576 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 26577 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
26578 }
26579 return resultobj;
26580 fail:
26581 return NULL;
26582}
26583
26584
26585static PyObject *_wrap_Window_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26586 PyObject *resultobj;
26587 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce
RD
26588 int arg2 ;
26589 int arg3 ;
d14a1e28
RD
26590 int result;
26591 PyObject * obj0 = 0 ;
994141e6
RD
26592 PyObject * obj1 = 0 ;
26593 PyObject * obj2 = 0 ;
d14a1e28
RD
26594 char *kwnames[] = {
26595 (char *) "self",(char *) "x",(char *) "y", NULL
26596 };
26597
994141e6 26598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26601 arg2 = (int) SWIG_AsInt(obj1);
26602 if (PyErr_Occurred()) SWIG_fail;
26603 arg3 = (int) SWIG_AsInt(obj2);
26604 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26605 {
26606 PyThreadState* __tstate = wxPyBeginAllowThreads();
26607 result = (int)((wxWindow const *)arg1)->HitTest(arg2,arg3);
26608
26609 wxPyEndAllowThreads(__tstate);
26610 if (PyErr_Occurred()) SWIG_fail;
26611 }
15afbcd0 26612 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26613 return resultobj;
26614 fail:
26615 return NULL;
26616}
26617
26618
26619static PyObject *_wrap_Window_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
26620 PyObject *resultobj;
26621 wxWindow *arg1 = (wxWindow *) 0 ;
26622 wxPoint *arg2 = 0 ;
26623 int result;
26624 wxPoint temp2 ;
26625 PyObject * obj0 = 0 ;
26626 PyObject * obj1 = 0 ;
26627 char *kwnames[] = {
26628 (char *) "self",(char *) "pt", NULL
26629 };
26630
26631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26634 {
26635 arg2 = &temp2;
26636 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26637 }
26638 {
26639 PyThreadState* __tstate = wxPyBeginAllowThreads();
26640 result = (int)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
26641
26642 wxPyEndAllowThreads(__tstate);
26643 if (PyErr_Occurred()) SWIG_fail;
26644 }
15afbcd0 26645 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26646 return resultobj;
26647 fail:
26648 return NULL;
26649}
26650
26651
15afbcd0 26652static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28
RD
26653 PyObject *resultobj;
26654 wxWindow *arg1 = (wxWindow *) 0 ;
26655 long arg2 ;
26656 int result;
26657 PyObject * obj0 = 0 ;
994141e6 26658 PyObject * obj1 = 0 ;
d14a1e28 26659
15afbcd0
RD
26660 if(!PyArg_ParseTuple(args,(char *)"OO:Window_GetBorder",&obj0,&obj1)) goto fail;
26661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26663 arg2 = (long) SWIG_AsLong(obj1);
26664 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26665 {
26666 PyThreadState* __tstate = wxPyBeginAllowThreads();
26667 result = (int)((wxWindow const *)arg1)->GetBorder(arg2);
26668
26669 wxPyEndAllowThreads(__tstate);
26670 if (PyErr_Occurred()) SWIG_fail;
26671 }
15afbcd0 26672 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26673 return resultobj;
26674 fail:
26675 return NULL;
26676}
26677
26678
15afbcd0 26679static PyObject *_wrap_Window_GetBorder__SWIG_1(PyObject *self, PyObject *args) {
d14a1e28
RD
26680 PyObject *resultobj;
26681 wxWindow *arg1 = (wxWindow *) 0 ;
26682 int result;
26683 PyObject * obj0 = 0 ;
d14a1e28 26684
15afbcd0
RD
26685 if(!PyArg_ParseTuple(args,(char *)"O:Window_GetBorder",&obj0)) goto fail;
26686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26688 {
26689 PyThreadState* __tstate = wxPyBeginAllowThreads();
26690 result = (int)((wxWindow const *)arg1)->GetBorder();
26691
26692 wxPyEndAllowThreads(__tstate);
26693 if (PyErr_Occurred()) SWIG_fail;
26694 }
15afbcd0 26695 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26696 return resultobj;
26697 fail:
26698 return NULL;
26699}
26700
26701
15afbcd0
RD
26702static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args) {
26703 int argc;
26704 PyObject *argv[3];
26705 int ii;
26706
26707 argc = PyObject_Length(args);
26708 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
26709 argv[ii] = PyTuple_GetItem(args,ii);
26710 }
26711 if (argc == 1) {
26712 int _v;
26713 {
26714 void *ptr;
26715 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
26716 _v = 0;
26717 PyErr_Clear();
26718 } else {
26719 _v = 1;
26720 }
26721 }
26722 if (_v) {
26723 return _wrap_Window_GetBorder__SWIG_1(self,args);
26724 }
26725 }
26726 if (argc == 2) {
26727 int _v;
26728 {
26729 void *ptr;
26730 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
26731 _v = 0;
26732 PyErr_Clear();
26733 } else {
26734 _v = 1;
26735 }
26736 }
26737 if (_v) {
26738 _v = SWIG_CheckLong(argv[1]);
26739 if (_v) {
26740 return _wrap_Window_GetBorder__SWIG_0(self,args);
26741 }
26742 }
26743 }
26744
26745 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_GetBorder'");
26746 return NULL;
26747}
26748
26749
d14a1e28
RD
26750static PyObject *_wrap_Window_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
26751 PyObject *resultobj;
26752 wxWindow *arg1 = (wxWindow *) 0 ;
26753 long arg2 = (long) wxUPDATE_UI_NONE ;
26754 PyObject * obj0 = 0 ;
994141e6 26755 PyObject * obj1 = 0 ;
d14a1e28
RD
26756 char *kwnames[] = {
26757 (char *) "self",(char *) "flags", NULL
26758 };
26759
994141e6 26760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_UpdateWindowUI",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 26763 if (obj1) {
15afbcd0
RD
26764 arg2 = (long) SWIG_AsLong(obj1);
26765 if (PyErr_Occurred()) SWIG_fail;
994141e6 26766 }
d14a1e28
RD
26767 {
26768 PyThreadState* __tstate = wxPyBeginAllowThreads();
26769 (arg1)->UpdateWindowUI(arg2);
26770
26771 wxPyEndAllowThreads(__tstate);
26772 if (PyErr_Occurred()) SWIG_fail;
26773 }
26774 Py_INCREF(Py_None); resultobj = Py_None;
26775 return resultobj;
26776 fail:
26777 return NULL;
26778}
26779
26780
26781static PyObject *_wrap_Window_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26782 PyObject *resultobj;
26783 wxWindow *arg1 = (wxWindow *) 0 ;
26784 wxMenu *arg2 = (wxMenu *) 0 ;
26785 int arg3 ;
26786 int arg4 ;
26787 bool result;
26788 PyObject * obj0 = 0 ;
26789 PyObject * obj1 = 0 ;
994141e6
RD
26790 PyObject * obj2 = 0 ;
26791 PyObject * obj3 = 0 ;
d14a1e28
RD
26792 char *kwnames[] = {
26793 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26794 };
26795
994141e6 26796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_PopupMenuXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
26797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26799 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
26800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26801 arg3 = (int) SWIG_AsInt(obj2);
26802 if (PyErr_Occurred()) SWIG_fail;
26803 arg4 = (int) SWIG_AsInt(obj3);
26804 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26805 {
26806 PyThreadState* __tstate = wxPyBeginAllowThreads();
26807 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
26808
26809 wxPyEndAllowThreads(__tstate);
26810 if (PyErr_Occurred()) SWIG_fail;
26811 }
4f89f6a3
RD
26812 {
26813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26814 }
d14a1e28
RD
26815 return resultobj;
26816 fail:
26817 return NULL;
26818}
26819
26820
26821static PyObject *_wrap_Window_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
26822 PyObject *resultobj;
26823 wxWindow *arg1 = (wxWindow *) 0 ;
26824 wxMenu *arg2 = (wxMenu *) 0 ;
26825 wxPoint *arg3 = 0 ;
26826 bool result;
26827 wxPoint temp3 ;
26828 PyObject * obj0 = 0 ;
26829 PyObject * obj1 = 0 ;
26830 PyObject * obj2 = 0 ;
26831 char *kwnames[] = {
26832 (char *) "self",(char *) "menu",(char *) "pos", NULL
26833 };
26834
26835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26838 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
26839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26840 {
26841 arg3 = &temp3;
26842 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26843 }
26844 {
26845 PyThreadState* __tstate = wxPyBeginAllowThreads();
26846 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
26847
26848 wxPyEndAllowThreads(__tstate);
26849 if (PyErr_Occurred()) SWIG_fail;
26850 }
4f89f6a3
RD
26851 {
26852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26853 }
d14a1e28
RD
26854 return resultobj;
26855 fail:
26856 return NULL;
26857}
26858
26859
26860static PyObject *_wrap_Window_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
26861 PyObject *resultobj;
26862 wxWindow *arg1 = (wxWindow *) 0 ;
26863 long result;
26864 PyObject * obj0 = 0 ;
26865 char *kwnames[] = {
26866 (char *) "self", NULL
26867 };
26868
26869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
15afbcd0
RD
26870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26872 {
26873 PyThreadState* __tstate = wxPyBeginAllowThreads();
26874 result = (long)wxWindow_GetHandle(arg1);
26875
26876 wxPyEndAllowThreads(__tstate);
26877 if (PyErr_Occurred()) SWIG_fail;
26878 }
15afbcd0 26879 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
26880 return resultobj;
26881 fail:
26882 return NULL;
26883}
26884
26885
26886static PyObject *_wrap_Window_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
26887 PyObject *resultobj;
26888 wxWindow *arg1 = (wxWindow *) 0 ;
26889 int arg2 ;
26890 bool result;
26891 PyObject * obj0 = 0 ;
994141e6 26892 PyObject * obj1 = 0 ;
d14a1e28
RD
26893 char *kwnames[] = {
26894 (char *) "self",(char *) "orient", NULL
26895 };
26896
994141e6 26897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasScrollbar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26900 arg2 = (int) SWIG_AsInt(obj1);
26901 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26902 {
26903 PyThreadState* __tstate = wxPyBeginAllowThreads();
26904 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
26905
26906 wxPyEndAllowThreads(__tstate);
26907 if (PyErr_Occurred()) SWIG_fail;
26908 }
4f89f6a3
RD
26909 {
26910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26911 }
d14a1e28
RD
26912 return resultobj;
26913 fail:
26914 return NULL;
26915}
26916
26917
26918static PyObject *_wrap_Window_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
26919 PyObject *resultobj;
26920 wxWindow *arg1 = (wxWindow *) 0 ;
26921 int arg2 ;
26922 int arg3 ;
26923 int arg4 ;
26924 int arg5 ;
e811c8ce 26925 bool arg6 = (bool) True ;
d14a1e28 26926 PyObject * obj0 = 0 ;
994141e6
RD
26927 PyObject * obj1 = 0 ;
26928 PyObject * obj2 = 0 ;
26929 PyObject * obj3 = 0 ;
26930 PyObject * obj4 = 0 ;
d14a1e28
RD
26931 PyObject * obj5 = 0 ;
26932 char *kwnames[] = {
15afbcd0 26933 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
d14a1e28
RD
26934 };
26935
994141e6 26936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
26937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26939 arg2 = (int) SWIG_AsInt(obj1);
26940 if (PyErr_Occurred()) SWIG_fail;
26941 arg3 = (int) SWIG_AsInt(obj2);
26942 if (PyErr_Occurred()) SWIG_fail;
26943 arg4 = (int) SWIG_AsInt(obj3);
26944 if (PyErr_Occurred()) SWIG_fail;
26945 arg5 = (int) SWIG_AsInt(obj4);
26946 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 26947 if (obj5) {
15afbcd0
RD
26948 arg6 = (bool) SWIG_AsBool(obj5);
26949 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26950 }
26951 {
26952 PyThreadState* __tstate = wxPyBeginAllowThreads();
26953 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
26954
26955 wxPyEndAllowThreads(__tstate);
26956 if (PyErr_Occurred()) SWIG_fail;
26957 }
26958 Py_INCREF(Py_None); resultobj = Py_None;
26959 return resultobj;
26960 fail:
26961 return NULL;
26962}
26963
26964
26965static PyObject *_wrap_Window_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
26966 PyObject *resultobj;
26967 wxWindow *arg1 = (wxWindow *) 0 ;
26968 int arg2 ;
26969 int arg3 ;
e811c8ce 26970 bool arg4 = (bool) True ;
d14a1e28 26971 PyObject * obj0 = 0 ;
994141e6
RD
26972 PyObject * obj1 = 0 ;
26973 PyObject * obj2 = 0 ;
d14a1e28
RD
26974 PyObject * obj3 = 0 ;
26975 char *kwnames[] = {
15afbcd0 26976 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
d14a1e28
RD
26977 };
26978
994141e6 26979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_SetScrollPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
26980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26982 arg2 = (int) SWIG_AsInt(obj1);
26983 if (PyErr_Occurred()) SWIG_fail;
26984 arg3 = (int) SWIG_AsInt(obj2);
26985 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 26986 if (obj3) {
15afbcd0
RD
26987 arg4 = (bool) SWIG_AsBool(obj3);
26988 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26989 }
26990 {
26991 PyThreadState* __tstate = wxPyBeginAllowThreads();
26992 (arg1)->SetScrollPos(arg2,arg3,arg4);
26993
26994 wxPyEndAllowThreads(__tstate);
26995 if (PyErr_Occurred()) SWIG_fail;
26996 }
26997 Py_INCREF(Py_None); resultobj = Py_None;
26998 return resultobj;
26999 fail:
27000 return NULL;
27001}
27002
27003
27004static PyObject *_wrap_Window_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
27005 PyObject *resultobj;
27006 wxWindow *arg1 = (wxWindow *) 0 ;
27007 int arg2 ;
27008 int result;
27009 PyObject * obj0 = 0 ;
994141e6 27010 PyObject * obj1 = 0 ;
d14a1e28 27011 char *kwnames[] = {
15afbcd0 27012 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
27013 };
27014
994141e6 27015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27018 arg2 = (int) SWIG_AsInt(obj1);
27019 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27020 {
27021 PyThreadState* __tstate = wxPyBeginAllowThreads();
27022 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
27023
27024 wxPyEndAllowThreads(__tstate);
27025 if (PyErr_Occurred()) SWIG_fail;
27026 }
15afbcd0 27027 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
27028 return resultobj;
27029 fail:
27030 return NULL;
27031}
27032
27033
27034static PyObject *_wrap_Window_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
27035 PyObject *resultobj;
27036 wxWindow *arg1 = (wxWindow *) 0 ;
27037 int arg2 ;
27038 int result;
27039 PyObject * obj0 = 0 ;
994141e6 27040 PyObject * obj1 = 0 ;
d14a1e28 27041 char *kwnames[] = {
15afbcd0 27042 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
27043 };
27044
994141e6 27045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollThumb",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27048 arg2 = (int) SWIG_AsInt(obj1);
27049 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27050 {
27051 PyThreadState* __tstate = wxPyBeginAllowThreads();
27052 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
27053
27054 wxPyEndAllowThreads(__tstate);
27055 if (PyErr_Occurred()) SWIG_fail;
27056 }
15afbcd0 27057 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
27058 return resultobj;
27059 fail:
27060 return NULL;
27061}
27062
27063
27064static PyObject *_wrap_Window_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
27065 PyObject *resultobj;
27066 wxWindow *arg1 = (wxWindow *) 0 ;
27067 int arg2 ;
27068 int result;
27069 PyObject * obj0 = 0 ;
994141e6 27070 PyObject * obj1 = 0 ;
d14a1e28 27071 char *kwnames[] = {
15afbcd0 27072 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
27073 };
27074
994141e6 27075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollRange",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27078 arg2 = (int) SWIG_AsInt(obj1);
27079 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27080 {
27081 PyThreadState* __tstate = wxPyBeginAllowThreads();
27082 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
27083
27084 wxPyEndAllowThreads(__tstate);
27085 if (PyErr_Occurred()) SWIG_fail;
27086 }
15afbcd0 27087 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
27088 return resultobj;
27089 fail:
27090 return NULL;
27091}
27092
27093
27094static PyObject *_wrap_Window_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27095 PyObject *resultobj;
27096 wxWindow *arg1 = (wxWindow *) 0 ;
27097 int arg2 ;
27098 int arg3 ;
27099 wxRect *arg4 = (wxRect *) NULL ;
27100 PyObject * obj0 = 0 ;
994141e6
RD
27101 PyObject * obj1 = 0 ;
27102 PyObject * obj2 = 0 ;
d14a1e28
RD
27103 PyObject * obj3 = 0 ;
27104 char *kwnames[] = {
27105 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27106 };
27107
994141e6 27108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_ScrollWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
27109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27111 arg2 = (int) SWIG_AsInt(obj1);
27112 if (PyErr_Occurred()) SWIG_fail;
27113 arg3 = (int) SWIG_AsInt(obj2);
27114 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27115 if (obj3) {
15afbcd0
RD
27116 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
27117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27118 }
27119 {
27120 PyThreadState* __tstate = wxPyBeginAllowThreads();
27121 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
27122
27123 wxPyEndAllowThreads(__tstate);
27124 if (PyErr_Occurred()) SWIG_fail;
27125 }
27126 Py_INCREF(Py_None); resultobj = Py_None;
27127 return resultobj;
27128 fail:
27129 return NULL;
27130}
27131
27132
27133static PyObject *_wrap_Window_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
27134 PyObject *resultobj;
27135 wxWindow *arg1 = (wxWindow *) 0 ;
27136 int arg2 ;
27137 bool result;
27138 PyObject * obj0 = 0 ;
994141e6 27139 PyObject * obj1 = 0 ;
d14a1e28
RD
27140 char *kwnames[] = {
27141 (char *) "self",(char *) "lines", NULL
27142 };
27143
994141e6 27144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27147 arg2 = (int) SWIG_AsInt(obj1);
27148 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27149 {
27150 PyThreadState* __tstate = wxPyBeginAllowThreads();
27151 result = (bool)(arg1)->ScrollLines(arg2);
27152
27153 wxPyEndAllowThreads(__tstate);
27154 if (PyErr_Occurred()) SWIG_fail;
27155 }
4f89f6a3
RD
27156 {
27157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27158 }
d14a1e28
RD
27159 return resultobj;
27160 fail:
27161 return NULL;
27162}
27163
27164
27165static PyObject *_wrap_Window_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
27166 PyObject *resultobj;
27167 wxWindow *arg1 = (wxWindow *) 0 ;
27168 int arg2 ;
27169 bool result;
27170 PyObject * obj0 = 0 ;
994141e6 27171 PyObject * obj1 = 0 ;
d14a1e28
RD
27172 char *kwnames[] = {
27173 (char *) "self",(char *) "pages", NULL
27174 };
27175
994141e6 27176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27179 arg2 = (int) SWIG_AsInt(obj1);
27180 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27181 {
27182 PyThreadState* __tstate = wxPyBeginAllowThreads();
27183 result = (bool)(arg1)->ScrollPages(arg2);
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_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
27198 PyObject *resultobj;
27199 wxWindow *arg1 = (wxWindow *) 0 ;
27200 bool result;
27201 PyObject * obj0 = 0 ;
27202 char *kwnames[] = {
27203 (char *) "self", NULL
27204 };
27205
27206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",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 = (bool)(arg1)->LineUp();
27212
27213 wxPyEndAllowThreads(__tstate);
27214 if (PyErr_Occurred()) SWIG_fail;
27215 }
4f89f6a3
RD
27216 {
27217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27218 }
d14a1e28
RD
27219 return resultobj;
27220 fail:
27221 return NULL;
27222}
27223
27224
27225static PyObject *_wrap_Window_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
27226 PyObject *resultobj;
27227 wxWindow *arg1 = (wxWindow *) 0 ;
27228 bool result;
27229 PyObject * obj0 = 0 ;
27230 char *kwnames[] = {
27231 (char *) "self", NULL
27232 };
27233
27234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
27235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27237 {
27238 PyThreadState* __tstate = wxPyBeginAllowThreads();
27239 result = (bool)(arg1)->LineDown();
27240
27241 wxPyEndAllowThreads(__tstate);
27242 if (PyErr_Occurred()) SWIG_fail;
27243 }
4f89f6a3
RD
27244 {
27245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27246 }
d14a1e28
RD
27247 return resultobj;
27248 fail:
27249 return NULL;
27250}
27251
27252
27253static PyObject *_wrap_Window_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
27254 PyObject *resultobj;
27255 wxWindow *arg1 = (wxWindow *) 0 ;
27256 bool result;
27257 PyObject * obj0 = 0 ;
27258 char *kwnames[] = {
27259 (char *) "self", NULL
27260 };
27261
27262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
27263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27265 {
27266 PyThreadState* __tstate = wxPyBeginAllowThreads();
27267 result = (bool)(arg1)->PageUp();
27268
27269 wxPyEndAllowThreads(__tstate);
27270 if (PyErr_Occurred()) SWIG_fail;
27271 }
4f89f6a3
RD
27272 {
27273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27274 }
d14a1e28
RD
27275 return resultobj;
27276 fail:
27277 return NULL;
27278}
27279
27280
27281static PyObject *_wrap_Window_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
27282 PyObject *resultobj;
27283 wxWindow *arg1 = (wxWindow *) 0 ;
27284 bool result;
27285 PyObject * obj0 = 0 ;
27286 char *kwnames[] = {
27287 (char *) "self", NULL
27288 };
27289
27290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
27291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27293 {
27294 PyThreadState* __tstate = wxPyBeginAllowThreads();
27295 result = (bool)(arg1)->PageDown();
27296
27297 wxPyEndAllowThreads(__tstate);
27298 if (PyErr_Occurred()) SWIG_fail;
27299 }
4f89f6a3
RD
27300 {
27301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27302 }
d14a1e28
RD
27303 return resultobj;
27304 fail:
27305 return NULL;
27306}
27307
27308
27309static PyObject *_wrap_Window_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
27310 PyObject *resultobj;
27311 wxWindow *arg1 = (wxWindow *) 0 ;
27312 wxString *arg2 = 0 ;
e811c8ce 27313 bool temp2 = False ;
d14a1e28
RD
27314 PyObject * obj0 = 0 ;
27315 PyObject * obj1 = 0 ;
27316 char *kwnames[] = {
27317 (char *) "self",(char *) "text", NULL
27318 };
27319
27320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27323 {
27324 arg2 = wxString_in_helper(obj1);
27325 if (arg2 == NULL) SWIG_fail;
e811c8ce 27326 temp2 = True;
d14a1e28
RD
27327 }
27328 {
27329 PyThreadState* __tstate = wxPyBeginAllowThreads();
27330 (arg1)->SetHelpText((wxString const &)*arg2);
27331
27332 wxPyEndAllowThreads(__tstate);
27333 if (PyErr_Occurred()) SWIG_fail;
27334 }
27335 Py_INCREF(Py_None); resultobj = Py_None;
27336 {
27337 if (temp2)
27338 delete arg2;
27339 }
27340 return resultobj;
27341 fail:
27342 {
27343 if (temp2)
27344 delete arg2;
27345 }
27346 return NULL;
27347}
27348
27349
27350static PyObject *_wrap_Window_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
27351 PyObject *resultobj;
27352 wxWindow *arg1 = (wxWindow *) 0 ;
27353 wxString *arg2 = 0 ;
e811c8ce 27354 bool temp2 = False ;
d14a1e28
RD
27355 PyObject * obj0 = 0 ;
27356 PyObject * obj1 = 0 ;
27357 char *kwnames[] = {
27358 (char *) "self",(char *) "text", NULL
27359 };
27360
27361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27364 {
27365 arg2 = wxString_in_helper(obj1);
27366 if (arg2 == NULL) SWIG_fail;
e811c8ce 27367 temp2 = True;
d14a1e28
RD
27368 }
27369 {
27370 PyThreadState* __tstate = wxPyBeginAllowThreads();
27371 (arg1)->SetHelpTextForId((wxString const &)*arg2);
27372
27373 wxPyEndAllowThreads(__tstate);
27374 if (PyErr_Occurred()) SWIG_fail;
27375 }
27376 Py_INCREF(Py_None); resultobj = Py_None;
27377 {
27378 if (temp2)
27379 delete arg2;
27380 }
27381 return resultobj;
27382 fail:
27383 {
27384 if (temp2)
27385 delete arg2;
27386 }
27387 return NULL;
27388}
27389
27390
27391static PyObject *_wrap_Window_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
27392 PyObject *resultobj;
27393 wxWindow *arg1 = (wxWindow *) 0 ;
27394 wxString result;
27395 PyObject * obj0 = 0 ;
27396 char *kwnames[] = {
27397 (char *) "self", NULL
27398 };
27399
27400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
15afbcd0
RD
27401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27403 {
27404 PyThreadState* __tstate = wxPyBeginAllowThreads();
27405 result = ((wxWindow const *)arg1)->GetHelpText();
27406
27407 wxPyEndAllowThreads(__tstate);
27408 if (PyErr_Occurred()) SWIG_fail;
27409 }
27410 {
27411#if wxUSE_UNICODE
27412 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27413#else
27414 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27415#endif
27416 }
27417 return resultobj;
27418 fail:
27419 return NULL;
27420}
27421
27422
27423static PyObject *_wrap_Window_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
27424 PyObject *resultobj;
27425 wxWindow *arg1 = (wxWindow *) 0 ;
27426 wxString *arg2 = 0 ;
e811c8ce 27427 bool temp2 = False ;
d14a1e28
RD
27428 PyObject * obj0 = 0 ;
27429 PyObject * obj1 = 0 ;
27430 char *kwnames[] = {
27431 (char *) "self",(char *) "tip", NULL
27432 };
27433
27434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27437 {
27438 arg2 = wxString_in_helper(obj1);
27439 if (arg2 == NULL) SWIG_fail;
e811c8ce 27440 temp2 = True;
d14a1e28
RD
27441 }
27442 {
27443 PyThreadState* __tstate = wxPyBeginAllowThreads();
27444 (arg1)->SetToolTip((wxString const &)*arg2);
27445
27446 wxPyEndAllowThreads(__tstate);
27447 if (PyErr_Occurred()) SWIG_fail;
27448 }
27449 Py_INCREF(Py_None); resultobj = Py_None;
27450 {
27451 if (temp2)
27452 delete arg2;
27453 }
27454 return resultobj;
27455 fail:
27456 {
27457 if (temp2)
27458 delete arg2;
27459 }
27460 return NULL;
27461}
27462
27463
27464static PyObject *_wrap_Window_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
27465 PyObject *resultobj;
27466 wxWindow *arg1 = (wxWindow *) 0 ;
27467 wxToolTip *arg2 = (wxToolTip *) 0 ;
27468 PyObject * obj0 = 0 ;
27469 PyObject * obj1 = 0 ;
27470 char *kwnames[] = {
27471 (char *) "self",(char *) "tip", NULL
27472 };
27473
27474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27477 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolTip,
27478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27479 {
27480 PyThreadState* __tstate = wxPyBeginAllowThreads();
27481 (arg1)->SetToolTip(arg2);
27482
27483 wxPyEndAllowThreads(__tstate);
27484 if (PyErr_Occurred()) SWIG_fail;
27485 }
27486 Py_INCREF(Py_None); resultobj = Py_None;
27487 return resultobj;
27488 fail:
27489 return NULL;
27490}
27491
27492
27493static PyObject *_wrap_Window_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
27494 PyObject *resultobj;
27495 wxWindow *arg1 = (wxWindow *) 0 ;
27496 wxToolTip *result;
27497 PyObject * obj0 = 0 ;
27498 char *kwnames[] = {
27499 (char *) "self", NULL
27500 };
27501
27502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
15afbcd0
RD
27503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27505 {
27506 PyThreadState* __tstate = wxPyBeginAllowThreads();
27507 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
27508
27509 wxPyEndAllowThreads(__tstate);
27510 if (PyErr_Occurred()) SWIG_fail;
27511 }
27512 {
27513 resultobj = wxPyMake_wxObject(result);
27514 }
27515 return resultobj;
27516 fail:
27517 return NULL;
27518}
27519
27520
27521static PyObject *_wrap_Window_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
27522 PyObject *resultobj;
27523 wxWindow *arg1 = (wxWindow *) 0 ;
7722248d 27524 wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ;
d14a1e28
RD
27525 PyObject * obj0 = 0 ;
27526 PyObject * obj1 = 0 ;
27527 char *kwnames[] = {
27528 (char *) "self",(char *) "dropTarget", NULL
27529 };
27530
27531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27534 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDropTarget,
27535 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
27536 {
27537 PyThreadState* __tstate = wxPyBeginAllowThreads();
27538 (arg1)->SetDropTarget(arg2);
27539
27540 wxPyEndAllowThreads(__tstate);
27541 if (PyErr_Occurred()) SWIG_fail;
27542 }
27543 Py_INCREF(Py_None); resultobj = Py_None;
27544 return resultobj;
27545 fail:
27546 return NULL;
27547}
27548
27549
27550static PyObject *_wrap_Window_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
27551 PyObject *resultobj;
27552 wxWindow *arg1 = (wxWindow *) 0 ;
7722248d 27553 wxPyDropTarget *result;
d14a1e28
RD
27554 PyObject * obj0 = 0 ;
27555 char *kwnames[] = {
27556 (char *) "self", NULL
27557 };
27558
27559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
15afbcd0
RD
27560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27562 {
27563 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722248d 27564 result = (wxPyDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
d14a1e28
RD
27565
27566 wxPyEndAllowThreads(__tstate);
27567 if (PyErr_Occurred()) SWIG_fail;
27568 }
15afbcd0 27569 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 0);
d14a1e28
RD
27570 return resultobj;
27571 fail:
27572 return NULL;
27573}
27574
27575
27576static PyObject *_wrap_Window_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
27577 PyObject *resultobj;
27578 wxWindow *arg1 = (wxWindow *) 0 ;
27579 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
27580 PyObject * obj0 = 0 ;
27581 PyObject * obj1 = 0 ;
27582 char *kwnames[] = {
27583 (char *) "self",(char *) "constraints", NULL
27584 };
27585
27586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27589 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
27590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27591 {
27592 PyThreadState* __tstate = wxPyBeginAllowThreads();
27593 (arg1)->SetConstraints(arg2);
27594
27595 wxPyEndAllowThreads(__tstate);
27596 if (PyErr_Occurred()) SWIG_fail;
27597 }
27598 Py_INCREF(Py_None); resultobj = Py_None;
27599 return resultobj;
27600 fail:
27601 return NULL;
27602}
27603
27604
27605static PyObject *_wrap_Window_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
27606 PyObject *resultobj;
27607 wxWindow *arg1 = (wxWindow *) 0 ;
27608 wxLayoutConstraints *result;
27609 PyObject * obj0 = 0 ;
27610 char *kwnames[] = {
27611 (char *) "self", NULL
27612 };
27613
27614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
15afbcd0
RD
27615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27617 {
27618 PyThreadState* __tstate = wxPyBeginAllowThreads();
27619 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
27620
27621 wxPyEndAllowThreads(__tstate);
27622 if (PyErr_Occurred()) SWIG_fail;
27623 }
15afbcd0 27624 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 0);
d14a1e28
RD
27625 return resultobj;
27626 fail:
27627 return NULL;
27628}
27629
27630
27631static PyObject *_wrap_Window_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
27632 PyObject *resultobj;
27633 wxWindow *arg1 = (wxWindow *) 0 ;
27634 bool arg2 ;
27635 PyObject * obj0 = 0 ;
27636 PyObject * obj1 = 0 ;
27637 char *kwnames[] = {
27638 (char *) "self",(char *) "autoLayout", NULL
27639 };
27640
27641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27644 arg2 = (bool) SWIG_AsBool(obj1);
27645 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27646 {
27647 PyThreadState* __tstate = wxPyBeginAllowThreads();
27648 (arg1)->SetAutoLayout(arg2);
27649
27650 wxPyEndAllowThreads(__tstate);
27651 if (PyErr_Occurred()) SWIG_fail;
27652 }
27653 Py_INCREF(Py_None); resultobj = Py_None;
27654 return resultobj;
27655 fail:
27656 return NULL;
27657}
27658
27659
27660static PyObject *_wrap_Window_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
27661 PyObject *resultobj;
27662 wxWindow *arg1 = (wxWindow *) 0 ;
27663 bool result;
27664 PyObject * obj0 = 0 ;
27665 char *kwnames[] = {
27666 (char *) "self", NULL
27667 };
27668
27669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
15afbcd0
RD
27670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27672 {
27673 PyThreadState* __tstate = wxPyBeginAllowThreads();
27674 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
27675
27676 wxPyEndAllowThreads(__tstate);
27677 if (PyErr_Occurred()) SWIG_fail;
27678 }
4f89f6a3
RD
27679 {
27680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27681 }
d14a1e28
RD
27682 return resultobj;
27683 fail:
27684 return NULL;
27685}
27686
27687
27688static PyObject *_wrap_Window_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
27689 PyObject *resultobj;
27690 wxWindow *arg1 = (wxWindow *) 0 ;
27691 bool result;
27692 PyObject * obj0 = 0 ;
27693 char *kwnames[] = {
27694 (char *) "self", NULL
27695 };
27696
27697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
15afbcd0
RD
27698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27700 {
27701 PyThreadState* __tstate = wxPyBeginAllowThreads();
27702 result = (bool)(arg1)->Layout();
27703
27704 wxPyEndAllowThreads(__tstate);
27705 if (PyErr_Occurred()) SWIG_fail;
27706 }
4f89f6a3
RD
27707 {
27708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27709 }
d14a1e28
RD
27710 return resultobj;
27711 fail:
27712 return NULL;
27713}
27714
27715
27716static PyObject *_wrap_Window_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
27717 PyObject *resultobj;
27718 wxWindow *arg1 = (wxWindow *) 0 ;
27719 wxSizer *arg2 = (wxSizer *) 0 ;
e811c8ce 27720 bool arg3 = (bool) True ;
d14a1e28
RD
27721 PyObject * obj0 = 0 ;
27722 PyObject * obj1 = 0 ;
27723 PyObject * obj2 = 0 ;
27724 char *kwnames[] = {
27725 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27726 };
27727
27728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27731 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
27732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 27733 if (obj2) {
15afbcd0
RD
27734 arg3 = (bool) SWIG_AsBool(obj2);
27735 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27736 }
27737 {
27738 PyThreadState* __tstate = wxPyBeginAllowThreads();
27739 (arg1)->SetSizer(arg2,arg3);
27740
27741 wxPyEndAllowThreads(__tstate);
27742 if (PyErr_Occurred()) SWIG_fail;
27743 }
27744 Py_INCREF(Py_None); resultobj = Py_None;
27745 return resultobj;
27746 fail:
27747 return NULL;
27748}
27749
27750
27751static PyObject *_wrap_Window_SetSizerAndFit(PyObject *self, PyObject *args, PyObject *kwargs) {
27752 PyObject *resultobj;
27753 wxWindow *arg1 = (wxWindow *) 0 ;
27754 wxSizer *arg2 = (wxSizer *) 0 ;
e811c8ce 27755 bool arg3 = (bool) True ;
d14a1e28
RD
27756 PyObject * obj0 = 0 ;
27757 PyObject * obj1 = 0 ;
27758 PyObject * obj2 = 0 ;
27759 char *kwnames[] = {
27760 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27761 };
27762
27763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27766 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
27767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 27768 if (obj2) {
15afbcd0
RD
27769 arg3 = (bool) SWIG_AsBool(obj2);
27770 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27771 }
27772 {
27773 PyThreadState* __tstate = wxPyBeginAllowThreads();
27774 (arg1)->SetSizerAndFit(arg2,arg3);
27775
27776 wxPyEndAllowThreads(__tstate);
27777 if (PyErr_Occurred()) SWIG_fail;
27778 }
27779 Py_INCREF(Py_None); resultobj = Py_None;
27780 return resultobj;
27781 fail:
27782 return NULL;
27783}
27784
27785
27786static PyObject *_wrap_Window_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
27787 PyObject *resultobj;
27788 wxWindow *arg1 = (wxWindow *) 0 ;
27789 wxSizer *result;
27790 PyObject * obj0 = 0 ;
27791 char *kwnames[] = {
27792 (char *) "self", NULL
27793 };
27794
27795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
27796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27798 {
27799 PyThreadState* __tstate = wxPyBeginAllowThreads();
27800 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
27801
27802 wxPyEndAllowThreads(__tstate);
27803 if (PyErr_Occurred()) SWIG_fail;
27804 }
27805 {
27806 resultobj = wxPyMake_wxSizer(result);
27807 }
27808 return resultobj;
27809 fail:
27810 return NULL;
27811}
27812
27813
27814static PyObject *_wrap_Window_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
27815 PyObject *resultobj;
27816 wxWindow *arg1 = (wxWindow *) 0 ;
27817 wxSizer *arg2 = (wxSizer *) 0 ;
27818 PyObject * obj0 = 0 ;
27819 PyObject * obj1 = 0 ;
27820 char *kwnames[] = {
27821 (char *) "self",(char *) "sizer", NULL
27822 };
27823
27824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27827 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
27828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27829 {
27830 PyThreadState* __tstate = wxPyBeginAllowThreads();
27831 (arg1)->SetContainingSizer(arg2);
27832
27833 wxPyEndAllowThreads(__tstate);
27834 if (PyErr_Occurred()) SWIG_fail;
27835 }
27836 Py_INCREF(Py_None); resultobj = Py_None;
27837 return resultobj;
27838 fail:
27839 return NULL;
27840}
27841
27842
27843static PyObject *_wrap_Window_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
27844 PyObject *resultobj;
27845 wxWindow *arg1 = (wxWindow *) 0 ;
27846 wxSizer *result;
27847 PyObject * obj0 = 0 ;
27848 char *kwnames[] = {
27849 (char *) "self", NULL
27850 };
27851
27852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
27853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27855 {
27856 PyThreadState* __tstate = wxPyBeginAllowThreads();
27857 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
27858
27859 wxPyEndAllowThreads(__tstate);
27860 if (PyErr_Occurred()) SWIG_fail;
27861 }
27862 {
27863 resultobj = wxPyMake_wxSizer(result);
27864 }
27865 return resultobj;
27866 fail:
27867 return NULL;
27868}
27869
27870
a95a7133
RD
27871static PyObject *_wrap_Window_InheritAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
27872 PyObject *resultobj;
27873 wxWindow *arg1 = (wxWindow *) 0 ;
27874 PyObject * obj0 = 0 ;
27875 char *kwnames[] = {
27876 (char *) "self", NULL
27877 };
27878
27879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InheritAttributes",kwnames,&obj0)) goto fail;
27880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27882 {
27883 PyThreadState* __tstate = wxPyBeginAllowThreads();
27884 (arg1)->InheritAttributes();
27885
27886 wxPyEndAllowThreads(__tstate);
27887 if (PyErr_Occurred()) SWIG_fail;
27888 }
27889 Py_INCREF(Py_None); resultobj = Py_None;
27890 return resultobj;
27891 fail:
27892 return NULL;
27893}
27894
27895
27896static PyObject *_wrap_Window_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
27897 PyObject *resultobj;
27898 wxWindow *arg1 = (wxWindow *) 0 ;
27899 bool result;
27900 PyObject * obj0 = 0 ;
27901 char *kwnames[] = {
27902 (char *) "self", NULL
27903 };
27904
27905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ShouldInheritColours",kwnames,&obj0)) goto fail;
27906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27908 {
27909 PyThreadState* __tstate = wxPyBeginAllowThreads();
27910 result = (bool)((wxWindow const *)arg1)->ShouldInheritColours();
27911
27912 wxPyEndAllowThreads(__tstate);
27913 if (PyErr_Occurred()) SWIG_fail;
27914 }
27915 {
27916 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27917 }
27918 return resultobj;
27919 fail:
27920 return NULL;
27921}
27922
27923
d14a1e28
RD
27924static PyObject * Window_swigregister(PyObject *self, PyObject *args) {
27925 PyObject *obj;
27926 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27927 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
27928 Py_INCREF(obj);
27929 return Py_BuildValue((char *)"");
27930}
27931static PyObject *_wrap_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
27932 PyObject *resultobj;
27933 long arg1 ;
27934 wxWindow *arg2 = (wxWindow *) NULL ;
27935 wxWindow *result;
994141e6 27936 PyObject * obj0 = 0 ;
d14a1e28
RD
27937 PyObject * obj1 = 0 ;
27938 char *kwnames[] = {
27939 (char *) "id",(char *) "parent", NULL
27940 };
27941
994141e6 27942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27943 arg1 = (long) SWIG_AsLong(obj0);
27944 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27945 if (obj1) {
15afbcd0
RD
27946 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
27947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27948 }
27949 {
27950 PyThreadState* __tstate = wxPyBeginAllowThreads();
27951 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
27952
27953 wxPyEndAllowThreads(__tstate);
27954 if (PyErr_Occurred()) SWIG_fail;
27955 }
27956 {
27957 resultobj = wxPyMake_wxObject(result);
27958 }
27959 return resultobj;
27960 fail:
27961 return NULL;
27962}
27963
27964
27965static PyObject *_wrap_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
27966 PyObject *resultobj;
27967 wxString *arg1 = 0 ;
27968 wxWindow *arg2 = (wxWindow *) NULL ;
27969 wxWindow *result;
e811c8ce 27970 bool temp1 = False ;
d14a1e28
RD
27971 PyObject * obj0 = 0 ;
27972 PyObject * obj1 = 0 ;
27973 char *kwnames[] = {
27974 (char *) "name",(char *) "parent", NULL
27975 };
27976
27977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
27978 {
27979 arg1 = wxString_in_helper(obj0);
27980 if (arg1 == NULL) SWIG_fail;
e811c8ce 27981 temp1 = True;
d14a1e28
RD
27982 }
27983 if (obj1) {
15afbcd0
RD
27984 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
27985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27986 }
27987 {
27988 PyThreadState* __tstate = wxPyBeginAllowThreads();
27989 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
27990
27991 wxPyEndAllowThreads(__tstate);
27992 if (PyErr_Occurred()) SWIG_fail;
27993 }
27994 {
27995 resultobj = wxPyMake_wxObject(result);
27996 }
27997 {
27998 if (temp1)
27999 delete arg1;
28000 }
28001 return resultobj;
28002 fail:
28003 {
28004 if (temp1)
28005 delete arg1;
28006 }
28007 return NULL;
28008}
28009
28010
28011static PyObject *_wrap_FindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28012 PyObject *resultobj;
28013 wxString *arg1 = 0 ;
28014 wxWindow *arg2 = (wxWindow *) NULL ;
28015 wxWindow *result;
e811c8ce 28016 bool temp1 = False ;
d14a1e28
RD
28017 PyObject * obj0 = 0 ;
28018 PyObject * obj1 = 0 ;
28019 char *kwnames[] = {
28020 (char *) "label",(char *) "parent", NULL
28021 };
28022
28023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
28024 {
28025 arg1 = wxString_in_helper(obj0);
28026 if (arg1 == NULL) SWIG_fail;
e811c8ce 28027 temp1 = True;
d14a1e28
RD
28028 }
28029 if (obj1) {
15afbcd0
RD
28030 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28032 }
28033 {
28034 PyThreadState* __tstate = wxPyBeginAllowThreads();
28035 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
28036
28037 wxPyEndAllowThreads(__tstate);
28038 if (PyErr_Occurred()) SWIG_fail;
28039 }
28040 {
28041 resultobj = wxPyMake_wxObject(result);
28042 }
28043 {
28044 if (temp1)
28045 delete arg1;
28046 }
28047 return resultobj;
28048 fail:
28049 {
28050 if (temp1)
28051 delete arg1;
28052 }
28053 return NULL;
28054}
28055
28056
28057static PyObject *_wrap_Window_FromHWND(PyObject *self, PyObject *args, PyObject *kwargs) {
28058 PyObject *resultobj;
4276dc52
RD
28059 wxWindow *arg1 = (wxWindow *) 0 ;
28060 unsigned long arg2 ;
d14a1e28
RD
28061 wxWindow *result;
28062 PyObject * obj0 = 0 ;
4276dc52 28063 PyObject * obj1 = 0 ;
d14a1e28 28064 char *kwnames[] = {
4276dc52 28065 (char *) "parent",(char *) "_hWnd", NULL
d14a1e28
RD
28066 };
28067
4276dc52
RD
28068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FromHWND",kwnames,&obj0,&obj1)) goto fail;
28069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28071 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
15afbcd0 28072 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28073 {
28074 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 28075 result = (wxWindow *)wxWindow_FromHWND(arg1,arg2);
d14a1e28
RD
28076
28077 wxPyEndAllowThreads(__tstate);
28078 if (PyErr_Occurred()) SWIG_fail;
28079 }
28080 {
28081 resultobj = wxPyMake_wxObject(result);
28082 }
28083 return resultobj;
28084 fail:
28085 return NULL;
28086}
28087
28088
28089static PyObject *_wrap_new_Validator(PyObject *self, PyObject *args, PyObject *kwargs) {
28090 PyObject *resultobj;
28091 wxValidator *result;
28092 char *kwnames[] = {
28093 NULL
28094 };
28095
28096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
28097 {
28098 PyThreadState* __tstate = wxPyBeginAllowThreads();
28099 result = (wxValidator *)new wxValidator();
28100
28101 wxPyEndAllowThreads(__tstate);
28102 if (PyErr_Occurred()) SWIG_fail;
28103 }
28104 {
28105 resultobj = wxPyMake_wxObject(result);
28106 }
28107 return resultobj;
28108 fail:
28109 return NULL;
28110}
28111
28112
28113static PyObject *_wrap_Validator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
28114 PyObject *resultobj;
28115 wxValidator *arg1 = (wxValidator *) 0 ;
28116 wxValidator *result;
28117 PyObject * obj0 = 0 ;
28118 char *kwnames[] = {
28119 (char *) "self", NULL
28120 };
28121
28122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
28123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28125 {
28126 PyThreadState* __tstate = wxPyBeginAllowThreads();
28127 result = (wxValidator *)(arg1)->Clone();
28128
28129 wxPyEndAllowThreads(__tstate);
28130 if (PyErr_Occurred()) SWIG_fail;
28131 }
28132 {
28133 resultobj = wxPyMake_wxObject(result);
28134 }
28135 return resultobj;
28136 fail:
28137 return NULL;
28138}
28139
28140
28141static PyObject *_wrap_Validator_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
28142 PyObject *resultobj;
28143 wxValidator *arg1 = (wxValidator *) 0 ;
28144 wxWindow *arg2 = (wxWindow *) 0 ;
28145 bool result;
28146 PyObject * obj0 = 0 ;
28147 PyObject * obj1 = 0 ;
28148 char *kwnames[] = {
28149 (char *) "self",(char *) "parent", NULL
28150 };
28151
28152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28155 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28157 {
28158 PyThreadState* __tstate = wxPyBeginAllowThreads();
28159 result = (bool)(arg1)->Validate(arg2);
28160
28161 wxPyEndAllowThreads(__tstate);
28162 if (PyErr_Occurred()) SWIG_fail;
28163 }
4f89f6a3
RD
28164 {
28165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28166 }
d14a1e28
RD
28167 return resultobj;
28168 fail:
28169 return NULL;
28170}
28171
28172
28173static PyObject *_wrap_Validator_TransferToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28174 PyObject *resultobj;
28175 wxValidator *arg1 = (wxValidator *) 0 ;
28176 bool result;
28177 PyObject * obj0 = 0 ;
28178 char *kwnames[] = {
28179 (char *) "self", NULL
28180 };
28181
28182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
28183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28185 {
28186 PyThreadState* __tstate = wxPyBeginAllowThreads();
28187 result = (bool)(arg1)->TransferToWindow();
28188
28189 wxPyEndAllowThreads(__tstate);
28190 if (PyErr_Occurred()) SWIG_fail;
28191 }
4f89f6a3
RD
28192 {
28193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28194 }
d14a1e28
RD
28195 return resultobj;
28196 fail:
28197 return NULL;
28198}
28199
28200
28201static PyObject *_wrap_Validator_TransferFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28202 PyObject *resultobj;
28203 wxValidator *arg1 = (wxValidator *) 0 ;
28204 bool result;
28205 PyObject * obj0 = 0 ;
28206 char *kwnames[] = {
28207 (char *) "self", NULL
28208 };
28209
28210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
28211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28213 {
28214 PyThreadState* __tstate = wxPyBeginAllowThreads();
28215 result = (bool)(arg1)->TransferFromWindow();
28216
28217 wxPyEndAllowThreads(__tstate);
28218 if (PyErr_Occurred()) SWIG_fail;
28219 }
4f89f6a3
RD
28220 {
28221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28222 }
d14a1e28
RD
28223 return resultobj;
28224 fail:
28225 return NULL;
28226}
28227
28228
28229static PyObject *_wrap_Validator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28230 PyObject *resultobj;
28231 wxValidator *arg1 = (wxValidator *) 0 ;
28232 wxWindow *result;
28233 PyObject * obj0 = 0 ;
28234 char *kwnames[] = {
28235 (char *) "self", NULL
28236 };
28237
28238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
28239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28241 {
28242 PyThreadState* __tstate = wxPyBeginAllowThreads();
28243 result = (wxWindow *)(arg1)->GetWindow();
28244
28245 wxPyEndAllowThreads(__tstate);
28246 if (PyErr_Occurred()) SWIG_fail;
28247 }
28248 {
28249 resultobj = wxPyMake_wxObject(result);
28250 }
28251 return resultobj;
28252 fail:
28253 return NULL;
28254}
28255
28256
28257static PyObject *_wrap_Validator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28258 PyObject *resultobj;
28259 wxValidator *arg1 = (wxValidator *) 0 ;
28260 wxWindow *arg2 = (wxWindow *) 0 ;
28261 PyObject * obj0 = 0 ;
28262 PyObject * obj1 = 0 ;
28263 char *kwnames[] = {
28264 (char *) "self",(char *) "window", NULL
28265 };
28266
28267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28270 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28272 {
28273 PyThreadState* __tstate = wxPyBeginAllowThreads();
28274 (arg1)->SetWindow(arg2);
28275
28276 wxPyEndAllowThreads(__tstate);
28277 if (PyErr_Occurred()) SWIG_fail;
28278 }
28279 Py_INCREF(Py_None); resultobj = Py_None;
28280 return resultobj;
28281 fail:
28282 return NULL;
28283}
28284
28285
28286static PyObject *_wrap_Validator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
28287 PyObject *resultobj;
28288 bool result;
28289 char *kwnames[] = {
28290 NULL
28291 };
28292
28293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
28294 {
28295 PyThreadState* __tstate = wxPyBeginAllowThreads();
28296 result = (bool)wxValidator::IsSilent();
28297
28298 wxPyEndAllowThreads(__tstate);
28299 if (PyErr_Occurred()) SWIG_fail;
28300 }
4f89f6a3
RD
28301 {
28302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28303 }
d14a1e28
RD
28304 return resultobj;
28305 fail:
28306 return NULL;
28307}
28308
28309
28310static PyObject *_wrap_Validator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
28311 PyObject *resultobj;
e811c8ce 28312 int arg1 = (int) True ;
994141e6 28313 PyObject * obj0 = 0 ;
d14a1e28
RD
28314 char *kwnames[] = {
28315 (char *) "doIt", NULL
28316 };
28317
994141e6
RD
28318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Validator_SetBellOnError",kwnames,&obj0)) goto fail;
28319 if (obj0) {
15afbcd0
RD
28320 arg1 = (int) SWIG_AsInt(obj0);
28321 if (PyErr_Occurred()) SWIG_fail;
994141e6 28322 }
d14a1e28
RD
28323 {
28324 PyThreadState* __tstate = wxPyBeginAllowThreads();
28325 wxValidator::SetBellOnError(arg1);
28326
28327 wxPyEndAllowThreads(__tstate);
28328 if (PyErr_Occurred()) SWIG_fail;
28329 }
28330 Py_INCREF(Py_None); resultobj = Py_None;
28331 return resultobj;
28332 fail:
28333 return NULL;
28334}
28335
28336
28337static PyObject * Validator_swigregister(PyObject *self, PyObject *args) {
28338 PyObject *obj;
28339 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28340 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
28341 Py_INCREF(obj);
28342 return Py_BuildValue((char *)"");
28343}
28344static PyObject *_wrap_new_PyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
28345 PyObject *resultobj;
28346 wxPyValidator *result;
28347 char *kwnames[] = {
28348 NULL
28349 };
28350
28351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
28352 {
28353 PyThreadState* __tstate = wxPyBeginAllowThreads();
28354 result = (wxPyValidator *)new wxPyValidator();
28355
28356 wxPyEndAllowThreads(__tstate);
28357 if (PyErr_Occurred()) SWIG_fail;
28358 }
15afbcd0 28359 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyValidator, 1);
d14a1e28
RD
28360 return resultobj;
28361 fail:
28362 return NULL;
28363}
28364
28365
28366static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
28367 PyObject *resultobj;
28368 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
28369 PyObject *arg2 = (PyObject *) 0 ;
28370 PyObject *arg3 = (PyObject *) 0 ;
e811c8ce 28371 int arg4 = (int) True ;
d14a1e28
RD
28372 PyObject * obj0 = 0 ;
28373 PyObject * obj1 = 0 ;
28374 PyObject * obj2 = 0 ;
994141e6 28375 PyObject * obj3 = 0 ;
d14a1e28
RD
28376 char *kwnames[] = {
28377 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28378 };
28379
994141e6 28380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
28381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyValidator,
28382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28383 arg2 = obj1;
28384 arg3 = obj2;
994141e6 28385 if (obj3) {
15afbcd0
RD
28386 arg4 = (int) SWIG_AsInt(obj3);
28387 if (PyErr_Occurred()) SWIG_fail;
994141e6 28388 }
d14a1e28
RD
28389 {
28390 PyThreadState* __tstate = wxPyBeginAllowThreads();
28391 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
28392
28393 wxPyEndAllowThreads(__tstate);
28394 if (PyErr_Occurred()) SWIG_fail;
28395 }
28396 Py_INCREF(Py_None); resultobj = Py_None;
28397 return resultobj;
28398 fail:
28399 return NULL;
28400}
28401
28402
28403static PyObject * PyValidator_swigregister(PyObject *self, PyObject *args) {
28404 PyObject *obj;
28405 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28406 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
28407 Py_INCREF(obj);
28408 return Py_BuildValue((char *)"");
28409}
28410static int _wrap_DefaultValidator_set(PyObject *_val) {
28411 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
28412 return 1;
28413}
28414
28415
28416static PyObject *_wrap_DefaultValidator_get() {
28417 PyObject *pyobj;
28418
15afbcd0 28419 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultValidator), SWIGTYPE_p_wxValidator, 0);
d14a1e28
RD
28420 return pyobj;
28421}
28422
28423
28424static PyObject *_wrap_new_Menu(PyObject *self, PyObject *args, PyObject *kwargs) {
28425 PyObject *resultobj;
28426 wxString const &arg1_defvalue = wxPyEmptyString ;
28427 wxString *arg1 = (wxString *) &arg1_defvalue ;
28428 long arg2 = (long) 0 ;
28429 wxMenu *result;
e811c8ce 28430 bool temp1 = False ;
d14a1e28 28431 PyObject * obj0 = 0 ;
994141e6 28432 PyObject * obj1 = 0 ;
d14a1e28
RD
28433 char *kwnames[] = {
28434 (char *) "title",(char *) "style", NULL
28435 };
28436
994141e6 28437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Menu",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
28438 if (obj0) {
28439 {
28440 arg1 = wxString_in_helper(obj0);
28441 if (arg1 == NULL) SWIG_fail;
e811c8ce 28442 temp1 = True;
d14a1e28
RD
28443 }
28444 }
994141e6 28445 if (obj1) {
15afbcd0
RD
28446 arg2 = (long) SWIG_AsLong(obj1);
28447 if (PyErr_Occurred()) SWIG_fail;
994141e6 28448 }
d14a1e28
RD
28449 {
28450 PyThreadState* __tstate = wxPyBeginAllowThreads();
28451 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
28452
28453 wxPyEndAllowThreads(__tstate);
28454 if (PyErr_Occurred()) SWIG_fail;
28455 }
28456 {
28457 resultobj = wxPyMake_wxObject(result);
28458 }
28459 {
28460 if (temp1)
28461 delete arg1;
28462 }
28463 return resultobj;
28464 fail:
28465 {
28466 if (temp1)
28467 delete arg1;
28468 }
28469 return NULL;
28470}
28471
28472
28473static PyObject *_wrap_Menu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
28474 PyObject *resultobj;
28475 wxMenu *arg1 = (wxMenu *) 0 ;
28476 int arg2 ;
28477 wxString *arg3 = 0 ;
28478 wxString const &arg4_defvalue = wxPyEmptyString ;
28479 wxString *arg4 = (wxString *) &arg4_defvalue ;
28480 int arg5 = (int) wxITEM_NORMAL ;
a41e16b6 28481 wxMenuItem *result;
e811c8ce
RD
28482 bool temp3 = False ;
28483 bool temp4 = False ;
d14a1e28 28484 PyObject * obj0 = 0 ;
994141e6 28485 PyObject * obj1 = 0 ;
d14a1e28
RD
28486 PyObject * obj2 = 0 ;
28487 PyObject * obj3 = 0 ;
994141e6 28488 PyObject * obj4 = 0 ;
d14a1e28 28489 char *kwnames[] = {
242b7b46 28490 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
28491 };
28492
994141e6 28493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
28494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28496 arg2 = (int) SWIG_AsInt(obj1);
28497 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28498 {
28499 arg3 = wxString_in_helper(obj2);
28500 if (arg3 == NULL) SWIG_fail;
e811c8ce 28501 temp3 = True;
d14a1e28
RD
28502 }
28503 if (obj3) {
28504 {
28505 arg4 = wxString_in_helper(obj3);
28506 if (arg4 == NULL) SWIG_fail;
e811c8ce 28507 temp4 = True;
d14a1e28
RD
28508 }
28509 }
994141e6 28510 if (obj4) {
15afbcd0
RD
28511 arg5 = (wxItemKind) SWIG_AsInt(obj4);
28512 if (PyErr_Occurred()) SWIG_fail;
994141e6 28513 }
d14a1e28
RD
28514 {
28515 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28516 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
d14a1e28
RD
28517
28518 wxPyEndAllowThreads(__tstate);
28519 if (PyErr_Occurred()) SWIG_fail;
28520 }
a41e16b6
RD
28521 {
28522 resultobj = wxPyMake_wxObject(result);
28523 }
d14a1e28
RD
28524 {
28525 if (temp3)
28526 delete arg3;
28527 }
28528 {
28529 if (temp4)
28530 delete arg4;
28531 }
28532 return resultobj;
28533 fail:
28534 {
28535 if (temp3)
28536 delete arg3;
28537 }
28538 {
28539 if (temp4)
28540 delete arg4;
28541 }
28542 return NULL;
28543}
28544
28545
28546static PyObject *_wrap_Menu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
28547 PyObject *resultobj;
28548 wxMenu *arg1 = (wxMenu *) 0 ;
a41e16b6 28549 wxMenuItem *result;
d14a1e28
RD
28550 PyObject * obj0 = 0 ;
28551 char *kwnames[] = {
28552 (char *) "self", NULL
28553 };
28554
28555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
28556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28558 {
28559 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28560 result = (wxMenuItem *)(arg1)->AppendSeparator();
d14a1e28
RD
28561
28562 wxPyEndAllowThreads(__tstate);
28563 if (PyErr_Occurred()) SWIG_fail;
28564 }
a41e16b6
RD
28565 {
28566 resultobj = wxPyMake_wxObject(result);
28567 }
d14a1e28
RD
28568 return resultobj;
28569 fail:
28570 return NULL;
28571}
28572
28573
28574static PyObject *_wrap_Menu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28575 PyObject *resultobj;
28576 wxMenu *arg1 = (wxMenu *) 0 ;
28577 int arg2 ;
28578 wxString *arg3 = 0 ;
28579 wxString const &arg4_defvalue = wxPyEmptyString ;
28580 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 28581 wxMenuItem *result;
e811c8ce
RD
28582 bool temp3 = False ;
28583 bool temp4 = False ;
d14a1e28 28584 PyObject * obj0 = 0 ;
994141e6 28585 PyObject * obj1 = 0 ;
d14a1e28
RD
28586 PyObject * obj2 = 0 ;
28587 PyObject * obj3 = 0 ;
28588 char *kwnames[] = {
242b7b46 28589 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
28590 };
28591
994141e6 28592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
28593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28595 arg2 = (int) SWIG_AsInt(obj1);
28596 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28597 {
28598 arg3 = wxString_in_helper(obj2);
28599 if (arg3 == NULL) SWIG_fail;
e811c8ce 28600 temp3 = True;
d14a1e28
RD
28601 }
28602 if (obj3) {
28603 {
28604 arg4 = wxString_in_helper(obj3);
28605 if (arg4 == NULL) SWIG_fail;
e811c8ce 28606 temp4 = True;
d14a1e28
RD
28607 }
28608 }
28609 {
28610 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28611 result = (wxMenuItem *)(arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
28612
28613 wxPyEndAllowThreads(__tstate);
28614 if (PyErr_Occurred()) SWIG_fail;
28615 }
a41e16b6
RD
28616 {
28617 resultobj = wxPyMake_wxObject(result);
28618 }
d14a1e28
RD
28619 {
28620 if (temp3)
28621 delete arg3;
28622 }
28623 {
28624 if (temp4)
28625 delete arg4;
28626 }
28627 return resultobj;
28628 fail:
28629 {
28630 if (temp3)
28631 delete arg3;
28632 }
28633 {
28634 if (temp4)
28635 delete arg4;
28636 }
28637 return NULL;
28638}
28639
28640
28641static PyObject *_wrap_Menu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28642 PyObject *resultobj;
28643 wxMenu *arg1 = (wxMenu *) 0 ;
28644 int arg2 ;
28645 wxString *arg3 = 0 ;
28646 wxString const &arg4_defvalue = wxPyEmptyString ;
28647 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 28648 wxMenuItem *result;
e811c8ce
RD
28649 bool temp3 = False ;
28650 bool temp4 = False ;
d14a1e28 28651 PyObject * obj0 = 0 ;
994141e6 28652 PyObject * obj1 = 0 ;
d14a1e28
RD
28653 PyObject * obj2 = 0 ;
28654 PyObject * obj3 = 0 ;
28655 char *kwnames[] = {
242b7b46 28656 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
28657 };
28658
994141e6 28659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
28660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28662 arg2 = (int) SWIG_AsInt(obj1);
28663 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28664 {
28665 arg3 = wxString_in_helper(obj2);
28666 if (arg3 == NULL) SWIG_fail;
e811c8ce 28667 temp3 = True;
d14a1e28
RD
28668 }
28669 if (obj3) {
28670 {
28671 arg4 = wxString_in_helper(obj3);
28672 if (arg4 == NULL) SWIG_fail;
e811c8ce 28673 temp4 = True;
d14a1e28
RD
28674 }
28675 }
28676 {
28677 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28678 result = (wxMenuItem *)(arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
28679
28680 wxPyEndAllowThreads(__tstate);
28681 if (PyErr_Occurred()) SWIG_fail;
28682 }
a41e16b6
RD
28683 {
28684 resultobj = wxPyMake_wxObject(result);
28685 }
d14a1e28
RD
28686 {
28687 if (temp3)
28688 delete arg3;
28689 }
28690 {
28691 if (temp4)
28692 delete arg4;
28693 }
28694 return resultobj;
28695 fail:
28696 {
28697 if (temp3)
28698 delete arg3;
28699 }
28700 {
28701 if (temp4)
28702 delete arg4;
28703 }
28704 return NULL;
28705}
28706
28707
28708static PyObject *_wrap_Menu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
28709 PyObject *resultobj;
28710 wxMenu *arg1 = (wxMenu *) 0 ;
28711 int arg2 ;
28712 wxString *arg3 = 0 ;
28713 wxMenu *arg4 = (wxMenu *) 0 ;
28714 wxString const &arg5_defvalue = wxPyEmptyString ;
28715 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 28716 wxMenuItem *result;
e811c8ce
RD
28717 bool temp3 = False ;
28718 bool temp5 = False ;
d14a1e28 28719 PyObject * obj0 = 0 ;
994141e6 28720 PyObject * obj1 = 0 ;
d14a1e28
RD
28721 PyObject * obj2 = 0 ;
28722 PyObject * obj3 = 0 ;
28723 PyObject * obj4 = 0 ;
28724 char *kwnames[] = {
242b7b46 28725 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
28726 };
28727
994141e6 28728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_AppendMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
28729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28731 arg2 = (int) SWIG_AsInt(obj1);
28732 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28733 {
28734 arg3 = wxString_in_helper(obj2);
28735 if (arg3 == NULL) SWIG_fail;
e811c8ce 28736 temp3 = True;
d14a1e28 28737 }
15afbcd0
RD
28738 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
28739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28740 if (obj4) {
28741 {
28742 arg5 = wxString_in_helper(obj4);
28743 if (arg5 == NULL) SWIG_fail;
e811c8ce 28744 temp5 = True;
d14a1e28
RD
28745 }
28746 }
28747 {
28748 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28749 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
d14a1e28
RD
28750
28751 wxPyEndAllowThreads(__tstate);
28752 if (PyErr_Occurred()) SWIG_fail;
28753 }
a41e16b6
RD
28754 {
28755 resultobj = wxPyMake_wxObject(result);
28756 }
d14a1e28
RD
28757 {
28758 if (temp3)
28759 delete arg3;
28760 }
28761 {
28762 if (temp5)
28763 delete arg5;
28764 }
28765 return resultobj;
28766 fail:
28767 {
28768 if (temp3)
28769 delete arg3;
28770 }
28771 {
28772 if (temp5)
28773 delete arg5;
28774 }
28775 return NULL;
28776}
28777
28778
28779static PyObject *_wrap_Menu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28780 PyObject *resultobj;
28781 wxMenu *arg1 = (wxMenu *) 0 ;
28782 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
a41e16b6 28783 wxMenuItem *result;
d14a1e28
RD
28784 PyObject * obj0 = 0 ;
28785 PyObject * obj1 = 0 ;
28786 char *kwnames[] = {
28787 (char *) "self",(char *) "item", NULL
28788 };
28789
28790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28793 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
28794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28795 {
28796 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28797 result = (wxMenuItem *)(arg1)->Append(arg2);
d14a1e28
RD
28798
28799 wxPyEndAllowThreads(__tstate);
28800 if (PyErr_Occurred()) SWIG_fail;
28801 }
a41e16b6
RD
28802 {
28803 resultobj = wxPyMake_wxObject(result);
28804 }
d14a1e28
RD
28805 return resultobj;
28806 fail:
28807 return NULL;
28808}
28809
28810
28811static PyObject *_wrap_Menu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
28812 PyObject *resultobj;
28813 wxMenu *arg1 = (wxMenu *) 0 ;
28814 PyObject * obj0 = 0 ;
28815 char *kwnames[] = {
28816 (char *) "self", NULL
28817 };
28818
28819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
15afbcd0
RD
28820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28822 {
28823 PyThreadState* __tstate = wxPyBeginAllowThreads();
28824 (arg1)->Break();
28825
28826 wxPyEndAllowThreads(__tstate);
28827 if (PyErr_Occurred()) SWIG_fail;
28828 }
28829 Py_INCREF(Py_None); resultobj = Py_None;
28830 return resultobj;
28831 fail:
28832 return NULL;
28833}
28834
28835
28836static PyObject *_wrap_Menu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28837 PyObject *resultobj;
28838 wxMenu *arg1 = (wxMenu *) 0 ;
28839 size_t arg2 ;
28840 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
a41e16b6 28841 wxMenuItem *result;
d14a1e28
RD
28842 PyObject * obj0 = 0 ;
28843 PyObject * obj1 = 0 ;
28844 PyObject * obj2 = 0 ;
28845 char *kwnames[] = {
28846 (char *) "self",(char *) "pos",(char *) "item", NULL
28847 };
28848
28849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
28850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28852 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
28853 if (PyErr_Occurred()) SWIG_fail;
28854 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenuItem,
28855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28856 {
28857 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28858 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3);
d14a1e28
RD
28859
28860 wxPyEndAllowThreads(__tstate);
28861 if (PyErr_Occurred()) SWIG_fail;
28862 }
a41e16b6
RD
28863 {
28864 resultobj = wxPyMake_wxObject(result);
28865 }
d14a1e28
RD
28866 return resultobj;
28867 fail:
28868 return NULL;
28869}
28870
28871
28872static PyObject *_wrap_Menu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
28873 PyObject *resultobj;
28874 wxMenu *arg1 = (wxMenu *) 0 ;
28875 size_t arg2 ;
28876 int arg3 ;
28877 wxString *arg4 = 0 ;
28878 wxString const &arg5_defvalue = wxPyEmptyString ;
28879 wxString *arg5 = (wxString *) &arg5_defvalue ;
28880 int arg6 = (int) wxITEM_NORMAL ;
a41e16b6 28881 wxMenuItem *result;
e811c8ce
RD
28882 bool temp4 = False ;
28883 bool temp5 = False ;
d14a1e28
RD
28884 PyObject * obj0 = 0 ;
28885 PyObject * obj1 = 0 ;
994141e6 28886 PyObject * obj2 = 0 ;
d14a1e28
RD
28887 PyObject * obj3 = 0 ;
28888 PyObject * obj4 = 0 ;
994141e6 28889 PyObject * obj5 = 0 ;
d14a1e28 28890 char *kwnames[] = {
242b7b46 28891 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
28892 };
28893
994141e6 28894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Menu_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
28895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28897 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
28898 if (PyErr_Occurred()) SWIG_fail;
28899 arg3 = (int) SWIG_AsInt(obj2);
28900 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28901 {
28902 arg4 = wxString_in_helper(obj3);
28903 if (arg4 == NULL) SWIG_fail;
e811c8ce 28904 temp4 = True;
d14a1e28
RD
28905 }
28906 if (obj4) {
28907 {
28908 arg5 = wxString_in_helper(obj4);
28909 if (arg5 == NULL) SWIG_fail;
e811c8ce 28910 temp5 = True;
d14a1e28
RD
28911 }
28912 }
994141e6 28913 if (obj5) {
15afbcd0
RD
28914 arg6 = (wxItemKind) SWIG_AsInt(obj5);
28915 if (PyErr_Occurred()) SWIG_fail;
994141e6 28916 }
d14a1e28
RD
28917 {
28918 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28919 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
d14a1e28
RD
28920
28921 wxPyEndAllowThreads(__tstate);
28922 if (PyErr_Occurred()) SWIG_fail;
28923 }
a41e16b6
RD
28924 {
28925 resultobj = wxPyMake_wxObject(result);
28926 }
d14a1e28
RD
28927 {
28928 if (temp4)
28929 delete arg4;
28930 }
28931 {
28932 if (temp5)
28933 delete arg5;
28934 }
28935 return resultobj;
28936 fail:
28937 {
28938 if (temp4)
28939 delete arg4;
28940 }
28941 {
28942 if (temp5)
28943 delete arg5;
28944 }
28945 return NULL;
28946}
28947
28948
28949static PyObject *_wrap_Menu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
28950 PyObject *resultobj;
28951 wxMenu *arg1 = (wxMenu *) 0 ;
28952 size_t arg2 ;
a41e16b6 28953 wxMenuItem *result;
d14a1e28
RD
28954 PyObject * obj0 = 0 ;
28955 PyObject * obj1 = 0 ;
28956 char *kwnames[] = {
28957 (char *) "self",(char *) "pos", NULL
28958 };
28959
28960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28963 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
28964 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28965 {
28966 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28967 result = (wxMenuItem *)(arg1)->InsertSeparator(arg2);
d14a1e28
RD
28968
28969 wxPyEndAllowThreads(__tstate);
28970 if (PyErr_Occurred()) SWIG_fail;
28971 }
a41e16b6
RD
28972 {
28973 resultobj = wxPyMake_wxObject(result);
28974 }
d14a1e28
RD
28975 return resultobj;
28976 fail:
28977 return NULL;
28978}
28979
28980
28981static PyObject *_wrap_Menu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28982 PyObject *resultobj;
28983 wxMenu *arg1 = (wxMenu *) 0 ;
28984 size_t arg2 ;
28985 int arg3 ;
28986 wxString *arg4 = 0 ;
28987 wxString const &arg5_defvalue = wxPyEmptyString ;
28988 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 28989 wxMenuItem *result;
e811c8ce
RD
28990 bool temp4 = False ;
28991 bool temp5 = False ;
d14a1e28
RD
28992 PyObject * obj0 = 0 ;
28993 PyObject * obj1 = 0 ;
994141e6 28994 PyObject * obj2 = 0 ;
d14a1e28
RD
28995 PyObject * obj3 = 0 ;
28996 PyObject * obj4 = 0 ;
28997 char *kwnames[] = {
242b7b46 28998 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
28999 };
29000
994141e6 29001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29004 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29005 if (PyErr_Occurred()) SWIG_fail;
29006 arg3 = (int) SWIG_AsInt(obj2);
29007 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29008 {
29009 arg4 = wxString_in_helper(obj3);
29010 if (arg4 == NULL) SWIG_fail;
e811c8ce 29011 temp4 = True;
d14a1e28
RD
29012 }
29013 if (obj4) {
29014 {
29015 arg5 = wxString_in_helper(obj4);
29016 if (arg5 == NULL) SWIG_fail;
e811c8ce 29017 temp5 = True;
d14a1e28
RD
29018 }
29019 }
29020 {
29021 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29022 result = (wxMenuItem *)(arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
d14a1e28
RD
29023
29024 wxPyEndAllowThreads(__tstate);
29025 if (PyErr_Occurred()) SWIG_fail;
29026 }
a41e16b6
RD
29027 {
29028 resultobj = wxPyMake_wxObject(result);
29029 }
d14a1e28
RD
29030 {
29031 if (temp4)
29032 delete arg4;
29033 }
29034 {
29035 if (temp5)
29036 delete arg5;
29037 }
29038 return resultobj;
29039 fail:
29040 {
29041 if (temp4)
29042 delete arg4;
29043 }
29044 {
29045 if (temp5)
29046 delete arg5;
29047 }
29048 return NULL;
29049}
29050
29051
29052static PyObject *_wrap_Menu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29053 PyObject *resultobj;
29054 wxMenu *arg1 = (wxMenu *) 0 ;
29055 size_t arg2 ;
29056 int arg3 ;
29057 wxString *arg4 = 0 ;
29058 wxString const &arg5_defvalue = wxPyEmptyString ;
29059 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 29060 wxMenuItem *result;
e811c8ce
RD
29061 bool temp4 = False ;
29062 bool temp5 = False ;
d14a1e28
RD
29063 PyObject * obj0 = 0 ;
29064 PyObject * obj1 = 0 ;
994141e6 29065 PyObject * obj2 = 0 ;
d14a1e28
RD
29066 PyObject * obj3 = 0 ;
29067 PyObject * obj4 = 0 ;
29068 char *kwnames[] = {
242b7b46 29069 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29070 };
29071
994141e6 29072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29075 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29076 if (PyErr_Occurred()) SWIG_fail;
29077 arg3 = (int) SWIG_AsInt(obj2);
29078 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29079 {
29080 arg4 = wxString_in_helper(obj3);
29081 if (arg4 == NULL) SWIG_fail;
e811c8ce 29082 temp4 = True;
d14a1e28
RD
29083 }
29084 if (obj4) {
29085 {
29086 arg5 = wxString_in_helper(obj4);
29087 if (arg5 == NULL) SWIG_fail;
e811c8ce 29088 temp5 = True;
d14a1e28
RD
29089 }
29090 }
29091 {
29092 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29093 result = (wxMenuItem *)(arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
d14a1e28
RD
29094
29095 wxPyEndAllowThreads(__tstate);
29096 if (PyErr_Occurred()) SWIG_fail;
29097 }
a41e16b6
RD
29098 {
29099 resultobj = wxPyMake_wxObject(result);
29100 }
d14a1e28
RD
29101 {
29102 if (temp4)
29103 delete arg4;
29104 }
29105 {
29106 if (temp5)
29107 delete arg5;
29108 }
29109 return resultobj;
29110 fail:
29111 {
29112 if (temp4)
29113 delete arg4;
29114 }
29115 {
29116 if (temp5)
29117 delete arg5;
29118 }
29119 return NULL;
29120}
29121
29122
29123static PyObject *_wrap_Menu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
29124 PyObject *resultobj;
29125 wxMenu *arg1 = (wxMenu *) 0 ;
29126 size_t arg2 ;
29127 int arg3 ;
29128 wxString *arg4 = 0 ;
29129 wxMenu *arg5 = (wxMenu *) 0 ;
29130 wxString const &arg6_defvalue = wxPyEmptyString ;
29131 wxString *arg6 = (wxString *) &arg6_defvalue ;
a41e16b6 29132 wxMenuItem *result;
e811c8ce
RD
29133 bool temp4 = False ;
29134 bool temp6 = False ;
d14a1e28
RD
29135 PyObject * obj0 = 0 ;
29136 PyObject * obj1 = 0 ;
994141e6 29137 PyObject * obj2 = 0 ;
d14a1e28
RD
29138 PyObject * obj3 = 0 ;
29139 PyObject * obj4 = 0 ;
29140 PyObject * obj5 = 0 ;
29141 char *kwnames[] = {
242b7b46 29142 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
29143 };
29144
994141e6 29145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
29146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29148 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29149 if (PyErr_Occurred()) SWIG_fail;
29150 arg3 = (int) SWIG_AsInt(obj2);
29151 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29152 {
29153 arg4 = wxString_in_helper(obj3);
29154 if (arg4 == NULL) SWIG_fail;
e811c8ce 29155 temp4 = True;
d14a1e28 29156 }
15afbcd0
RD
29157 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMenu,
29158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29159 if (obj5) {
29160 {
29161 arg6 = wxString_in_helper(obj5);
29162 if (arg6 == NULL) SWIG_fail;
e811c8ce 29163 temp6 = True;
d14a1e28
RD
29164 }
29165 }
29166 {
29167 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29168 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
d14a1e28
RD
29169
29170 wxPyEndAllowThreads(__tstate);
29171 if (PyErr_Occurred()) SWIG_fail;
29172 }
a41e16b6
RD
29173 {
29174 resultobj = wxPyMake_wxObject(result);
29175 }
d14a1e28
RD
29176 {
29177 if (temp4)
29178 delete arg4;
29179 }
29180 {
29181 if (temp6)
29182 delete arg6;
29183 }
29184 return resultobj;
29185 fail:
29186 {
29187 if (temp4)
29188 delete arg4;
29189 }
29190 {
29191 if (temp6)
29192 delete arg6;
29193 }
29194 return NULL;
29195}
29196
29197
29198static PyObject *_wrap_Menu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29199 PyObject *resultobj;
29200 wxMenu *arg1 = (wxMenu *) 0 ;
29201 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
a41e16b6 29202 wxMenuItem *result;
d14a1e28
RD
29203 PyObject * obj0 = 0 ;
29204 PyObject * obj1 = 0 ;
29205 char *kwnames[] = {
29206 (char *) "self",(char *) "item", NULL
29207 };
29208
29209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29212 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29214 {
29215 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29216 result = (wxMenuItem *)(arg1)->Prepend(arg2);
d14a1e28
RD
29217
29218 wxPyEndAllowThreads(__tstate);
29219 if (PyErr_Occurred()) SWIG_fail;
29220 }
a41e16b6
RD
29221 {
29222 resultobj = wxPyMake_wxObject(result);
29223 }
d14a1e28
RD
29224 return resultobj;
29225 fail:
29226 return NULL;
29227}
29228
29229
29230static PyObject *_wrap_Menu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
29231 PyObject *resultobj;
29232 wxMenu *arg1 = (wxMenu *) 0 ;
29233 int arg2 ;
29234 wxString *arg3 = 0 ;
29235 wxString const &arg4_defvalue = wxPyEmptyString ;
29236 wxString *arg4 = (wxString *) &arg4_defvalue ;
29237 int arg5 = (int) wxITEM_NORMAL ;
a41e16b6 29238 wxMenuItem *result;
e811c8ce
RD
29239 bool temp3 = False ;
29240 bool temp4 = False ;
d14a1e28 29241 PyObject * obj0 = 0 ;
994141e6 29242 PyObject * obj1 = 0 ;
d14a1e28
RD
29243 PyObject * obj2 = 0 ;
29244 PyObject * obj3 = 0 ;
994141e6 29245 PyObject * obj4 = 0 ;
d14a1e28 29246 char *kwnames[] = {
242b7b46 29247 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
29248 };
29249
994141e6 29250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29253 arg2 = (int) SWIG_AsInt(obj1);
29254 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29255 {
29256 arg3 = wxString_in_helper(obj2);
29257 if (arg3 == NULL) SWIG_fail;
e811c8ce 29258 temp3 = True;
d14a1e28
RD
29259 }
29260 if (obj3) {
29261 {
29262 arg4 = wxString_in_helper(obj3);
29263 if (arg4 == NULL) SWIG_fail;
e811c8ce 29264 temp4 = True;
d14a1e28
RD
29265 }
29266 }
994141e6 29267 if (obj4) {
15afbcd0
RD
29268 arg5 = (wxItemKind) SWIG_AsInt(obj4);
29269 if (PyErr_Occurred()) SWIG_fail;
994141e6 29270 }
d14a1e28
RD
29271 {
29272 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29273 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
d14a1e28
RD
29274
29275 wxPyEndAllowThreads(__tstate);
29276 if (PyErr_Occurred()) SWIG_fail;
29277 }
a41e16b6
RD
29278 {
29279 resultobj = wxPyMake_wxObject(result);
29280 }
d14a1e28
RD
29281 {
29282 if (temp3)
29283 delete arg3;
29284 }
29285 {
29286 if (temp4)
29287 delete arg4;
29288 }
29289 return resultobj;
29290 fail:
29291 {
29292 if (temp3)
29293 delete arg3;
29294 }
29295 {
29296 if (temp4)
29297 delete arg4;
29298 }
29299 return NULL;
29300}
29301
29302
29303static PyObject *_wrap_Menu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
29304 PyObject *resultobj;
29305 wxMenu *arg1 = (wxMenu *) 0 ;
a41e16b6 29306 wxMenuItem *result;
d14a1e28
RD
29307 PyObject * obj0 = 0 ;
29308 char *kwnames[] = {
29309 (char *) "self", NULL
29310 };
29311
29312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
29313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29315 {
29316 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29317 result = (wxMenuItem *)(arg1)->PrependSeparator();
d14a1e28
RD
29318
29319 wxPyEndAllowThreads(__tstate);
29320 if (PyErr_Occurred()) SWIG_fail;
29321 }
a41e16b6
RD
29322 {
29323 resultobj = wxPyMake_wxObject(result);
29324 }
d14a1e28
RD
29325 return resultobj;
29326 fail:
29327 return NULL;
29328}
29329
29330
29331static PyObject *_wrap_Menu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29332 PyObject *resultobj;
29333 wxMenu *arg1 = (wxMenu *) 0 ;
29334 int arg2 ;
29335 wxString *arg3 = 0 ;
29336 wxString const &arg4_defvalue = wxPyEmptyString ;
29337 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 29338 wxMenuItem *result;
e811c8ce
RD
29339 bool temp3 = False ;
29340 bool temp4 = False ;
d14a1e28 29341 PyObject * obj0 = 0 ;
994141e6 29342 PyObject * obj1 = 0 ;
d14a1e28
RD
29343 PyObject * obj2 = 0 ;
29344 PyObject * obj3 = 0 ;
29345 char *kwnames[] = {
242b7b46 29346 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29347 };
29348
994141e6 29349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
29350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29352 arg2 = (int) SWIG_AsInt(obj1);
29353 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29354 {
29355 arg3 = wxString_in_helper(obj2);
29356 if (arg3 == NULL) SWIG_fail;
e811c8ce 29357 temp3 = True;
d14a1e28
RD
29358 }
29359 if (obj3) {
29360 {
29361 arg4 = wxString_in_helper(obj3);
29362 if (arg4 == NULL) SWIG_fail;
e811c8ce 29363 temp4 = True;
d14a1e28
RD
29364 }
29365 }
29366 {
29367 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29368 result = (wxMenuItem *)(arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
29369
29370 wxPyEndAllowThreads(__tstate);
29371 if (PyErr_Occurred()) SWIG_fail;
29372 }
a41e16b6
RD
29373 {
29374 resultobj = wxPyMake_wxObject(result);
29375 }
d14a1e28
RD
29376 {
29377 if (temp3)
29378 delete arg3;
29379 }
29380 {
29381 if (temp4)
29382 delete arg4;
29383 }
29384 return resultobj;
29385 fail:
29386 {
29387 if (temp3)
29388 delete arg3;
29389 }
29390 {
29391 if (temp4)
29392 delete arg4;
29393 }
29394 return NULL;
29395}
29396
29397
29398static PyObject *_wrap_Menu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29399 PyObject *resultobj;
29400 wxMenu *arg1 = (wxMenu *) 0 ;
29401 int arg2 ;
29402 wxString *arg3 = 0 ;
29403 wxString const &arg4_defvalue = wxPyEmptyString ;
29404 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 29405 wxMenuItem *result;
e811c8ce
RD
29406 bool temp3 = False ;
29407 bool temp4 = False ;
d14a1e28 29408 PyObject * obj0 = 0 ;
994141e6 29409 PyObject * obj1 = 0 ;
d14a1e28
RD
29410 PyObject * obj2 = 0 ;
29411 PyObject * obj3 = 0 ;
29412 char *kwnames[] = {
242b7b46 29413 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29414 };
29415
994141e6 29416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
29417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29419 arg2 = (int) SWIG_AsInt(obj1);
29420 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29421 {
29422 arg3 = wxString_in_helper(obj2);
29423 if (arg3 == NULL) SWIG_fail;
e811c8ce 29424 temp3 = True;
d14a1e28
RD
29425 }
29426 if (obj3) {
29427 {
29428 arg4 = wxString_in_helper(obj3);
29429 if (arg4 == NULL) SWIG_fail;
e811c8ce 29430 temp4 = True;
d14a1e28
RD
29431 }
29432 }
29433 {
29434 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29435 result = (wxMenuItem *)(arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
29436
29437 wxPyEndAllowThreads(__tstate);
29438 if (PyErr_Occurred()) SWIG_fail;
29439 }
a41e16b6
RD
29440 {
29441 resultobj = wxPyMake_wxObject(result);
29442 }
d14a1e28
RD
29443 {
29444 if (temp3)
29445 delete arg3;
29446 }
29447 {
29448 if (temp4)
29449 delete arg4;
29450 }
29451 return resultobj;
29452 fail:
29453 {
29454 if (temp3)
29455 delete arg3;
29456 }
29457 {
29458 if (temp4)
29459 delete arg4;
29460 }
29461 return NULL;
29462}
29463
29464
29465static PyObject *_wrap_Menu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
29466 PyObject *resultobj;
29467 wxMenu *arg1 = (wxMenu *) 0 ;
29468 int arg2 ;
29469 wxString *arg3 = 0 ;
29470 wxMenu *arg4 = (wxMenu *) 0 ;
29471 wxString const &arg5_defvalue = wxPyEmptyString ;
29472 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 29473 wxMenuItem *result;
e811c8ce
RD
29474 bool temp3 = False ;
29475 bool temp5 = False ;
d14a1e28 29476 PyObject * obj0 = 0 ;
994141e6 29477 PyObject * obj1 = 0 ;
d14a1e28
RD
29478 PyObject * obj2 = 0 ;
29479 PyObject * obj3 = 0 ;
29480 PyObject * obj4 = 0 ;
29481 char *kwnames[] = {
242b7b46 29482 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
29483 };
29484
994141e6 29485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_PrependMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29488 arg2 = (int) SWIG_AsInt(obj1);
29489 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29490 {
29491 arg3 = wxString_in_helper(obj2);
29492 if (arg3 == NULL) SWIG_fail;
e811c8ce 29493 temp3 = True;
d14a1e28 29494 }
15afbcd0
RD
29495 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
29496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29497 if (obj4) {
29498 {
29499 arg5 = wxString_in_helper(obj4);
29500 if (arg5 == NULL) SWIG_fail;
e811c8ce 29501 temp5 = True;
d14a1e28
RD
29502 }
29503 }
29504 {
29505 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29506 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
d14a1e28
RD
29507
29508 wxPyEndAllowThreads(__tstate);
29509 if (PyErr_Occurred()) SWIG_fail;
29510 }
a41e16b6
RD
29511 {
29512 resultobj = wxPyMake_wxObject(result);
29513 }
d14a1e28
RD
29514 {
29515 if (temp3)
29516 delete arg3;
29517 }
29518 {
29519 if (temp5)
29520 delete arg5;
29521 }
29522 return resultobj;
29523 fail:
29524 {
29525 if (temp3)
29526 delete arg3;
29527 }
29528 {
29529 if (temp5)
29530 delete arg5;
29531 }
29532 return NULL;
29533}
29534
29535
29536static PyObject *_wrap_Menu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
29537 PyObject *resultobj;
29538 wxMenu *arg1 = (wxMenu *) 0 ;
29539 int arg2 ;
29540 wxMenuItem *result;
29541 PyObject * obj0 = 0 ;
994141e6 29542 PyObject * obj1 = 0 ;
d14a1e28 29543 char *kwnames[] = {
242b7b46 29544 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29545 };
29546
994141e6 29547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Remove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29550 arg2 = (int) SWIG_AsInt(obj1);
29551 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29552 {
29553 PyThreadState* __tstate = wxPyBeginAllowThreads();
29554 result = (wxMenuItem *)(arg1)->Remove(arg2);
29555
29556 wxPyEndAllowThreads(__tstate);
29557 if (PyErr_Occurred()) SWIG_fail;
29558 }
29559 {
29560 resultobj = wxPyMake_wxObject(result);
29561 }
29562 return resultobj;
29563 fail:
29564 return NULL;
29565}
29566
29567
29568static PyObject *_wrap_Menu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29569 PyObject *resultobj;
29570 wxMenu *arg1 = (wxMenu *) 0 ;
29571 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29572 wxMenuItem *result;
29573 PyObject * obj0 = 0 ;
29574 PyObject * obj1 = 0 ;
29575 char *kwnames[] = {
29576 (char *) "self",(char *) "item", NULL
29577 };
29578
29579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29582 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29584 {
29585 PyThreadState* __tstate = wxPyBeginAllowThreads();
29586 result = (wxMenuItem *)(arg1)->Remove(arg2);
29587
29588 wxPyEndAllowThreads(__tstate);
29589 if (PyErr_Occurred()) SWIG_fail;
29590 }
29591 {
29592 resultobj = wxPyMake_wxObject(result);
29593 }
29594 return resultobj;
29595 fail:
29596 return NULL;
29597}
29598
29599
29600static PyObject *_wrap_Menu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
29601 PyObject *resultobj;
29602 wxMenu *arg1 = (wxMenu *) 0 ;
29603 int arg2 ;
29604 bool result;
29605 PyObject * obj0 = 0 ;
994141e6 29606 PyObject * obj1 = 0 ;
d14a1e28 29607 char *kwnames[] = {
242b7b46 29608 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29609 };
29610
994141e6 29611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Delete",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29614 arg2 = (int) SWIG_AsInt(obj1);
29615 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29616 {
29617 PyThreadState* __tstate = wxPyBeginAllowThreads();
29618 result = (bool)(arg1)->Delete(arg2);
29619
29620 wxPyEndAllowThreads(__tstate);
29621 if (PyErr_Occurred()) SWIG_fail;
29622 }
4f89f6a3
RD
29623 {
29624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29625 }
d14a1e28
RD
29626 return resultobj;
29627 fail:
29628 return NULL;
29629}
29630
29631
29632static PyObject *_wrap_Menu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29633 PyObject *resultobj;
29634 wxMenu *arg1 = (wxMenu *) 0 ;
29635 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29636 bool result;
29637 PyObject * obj0 = 0 ;
29638 PyObject * obj1 = 0 ;
29639 char *kwnames[] = {
29640 (char *) "self",(char *) "item", NULL
29641 };
29642
29643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29646 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29648 {
29649 PyThreadState* __tstate = wxPyBeginAllowThreads();
29650 result = (bool)(arg1)->Delete(arg2);
29651
29652 wxPyEndAllowThreads(__tstate);
29653 if (PyErr_Occurred()) SWIG_fail;
29654 }
4f89f6a3
RD
29655 {
29656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29657 }
d14a1e28
RD
29658 return resultobj;
29659 fail:
29660 return NULL;
29661}
29662
29663
29664static PyObject *_wrap_Menu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
29665 PyObject *resultobj;
29666 wxMenu *arg1 = (wxMenu *) 0 ;
29667 PyObject * obj0 = 0 ;
29668 char *kwnames[] = {
29669 (char *) "self", NULL
29670 };
29671
29672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
29673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29675 {
29676 PyThreadState* __tstate = wxPyBeginAllowThreads();
29677 wxMenu_Destroy(arg1);
29678
29679 wxPyEndAllowThreads(__tstate);
29680 if (PyErr_Occurred()) SWIG_fail;
29681 }
29682 Py_INCREF(Py_None); resultobj = Py_None;
29683 return resultobj;
29684 fail:
29685 return NULL;
29686}
29687
29688
29689static PyObject *_wrap_Menu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
29690 PyObject *resultobj;
29691 wxMenu *arg1 = (wxMenu *) 0 ;
29692 int arg2 ;
29693 bool result;
29694 PyObject * obj0 = 0 ;
994141e6 29695 PyObject * obj1 = 0 ;
d14a1e28 29696 char *kwnames[] = {
242b7b46 29697 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29698 };
29699
994141e6 29700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29703 arg2 = (int) SWIG_AsInt(obj1);
29704 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29705 {
29706 PyThreadState* __tstate = wxPyBeginAllowThreads();
29707 result = (bool)(arg1)->Destroy(arg2);
29708
29709 wxPyEndAllowThreads(__tstate);
29710 if (PyErr_Occurred()) SWIG_fail;
29711 }
4f89f6a3
RD
29712 {
29713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29714 }
d14a1e28
RD
29715 return resultobj;
29716 fail:
29717 return NULL;
29718}
29719
29720
29721static PyObject *_wrap_Menu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29722 PyObject *resultobj;
29723 wxMenu *arg1 = (wxMenu *) 0 ;
29724 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29725 bool result;
29726 PyObject * obj0 = 0 ;
29727 PyObject * obj1 = 0 ;
29728 char *kwnames[] = {
29729 (char *) "self",(char *) "item", NULL
29730 };
29731
29732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29735 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29737 {
29738 PyThreadState* __tstate = wxPyBeginAllowThreads();
29739 result = (bool)(arg1)->Destroy(arg2);
29740
29741 wxPyEndAllowThreads(__tstate);
29742 if (PyErr_Occurred()) SWIG_fail;
29743 }
4f89f6a3
RD
29744 {
29745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29746 }
d14a1e28
RD
29747 return resultobj;
29748 fail:
29749 return NULL;
29750}
29751
29752
29753static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
29754 PyObject *resultobj;
29755 wxMenu *arg1 = (wxMenu *) 0 ;
29756 size_t result;
29757 PyObject * obj0 = 0 ;
29758 char *kwnames[] = {
29759 (char *) "self", NULL
29760 };
29761
29762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
29763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29765 {
29766 PyThreadState* __tstate = wxPyBeginAllowThreads();
29767 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
29768
29769 wxPyEndAllowThreads(__tstate);
29770 if (PyErr_Occurred()) SWIG_fail;
29771 }
15afbcd0 29772 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
29773 return resultobj;
29774 fail:
29775 return NULL;
29776}
29777
29778
29779static PyObject *_wrap_Menu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
29780 PyObject *resultobj;
29781 wxMenu *arg1 = (wxMenu *) 0 ;
29782 PyObject *result;
29783 PyObject * obj0 = 0 ;
29784 char *kwnames[] = {
29785 (char *) "self", NULL
29786 };
29787
29788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
15afbcd0
RD
29789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29791 {
29792 PyThreadState* __tstate = wxPyBeginAllowThreads();
29793 result = (PyObject *)wxMenu_GetMenuItems(arg1);
29794
29795 wxPyEndAllowThreads(__tstate);
29796 if (PyErr_Occurred()) SWIG_fail;
29797 }
29798 resultobj = result;
29799 return resultobj;
29800 fail:
29801 return NULL;
29802}
29803
29804
29805static PyObject *_wrap_Menu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29806 PyObject *resultobj;
29807 wxMenu *arg1 = (wxMenu *) 0 ;
29808 wxString *arg2 = 0 ;
29809 int result;
e811c8ce 29810 bool temp2 = False ;
d14a1e28
RD
29811 PyObject * obj0 = 0 ;
29812 PyObject * obj1 = 0 ;
29813 char *kwnames[] = {
29814 (char *) "self",(char *) "item", NULL
29815 };
29816
29817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29820 {
29821 arg2 = wxString_in_helper(obj1);
29822 if (arg2 == NULL) SWIG_fail;
e811c8ce 29823 temp2 = True;
d14a1e28
RD
29824 }
29825 {
29826 PyThreadState* __tstate = wxPyBeginAllowThreads();
29827 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
29828
29829 wxPyEndAllowThreads(__tstate);
29830 if (PyErr_Occurred()) SWIG_fail;
29831 }
15afbcd0 29832 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
29833 {
29834 if (temp2)
29835 delete arg2;
29836 }
29837 return resultobj;
29838 fail:
29839 {
29840 if (temp2)
29841 delete arg2;
29842 }
29843 return NULL;
29844}
29845
29846
29847static PyObject *_wrap_Menu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
29848 PyObject *resultobj;
29849 wxMenu *arg1 = (wxMenu *) 0 ;
29850 int arg2 ;
29851 wxMenuItem *result;
29852 PyObject * obj0 = 0 ;
994141e6 29853 PyObject * obj1 = 0 ;
d14a1e28 29854 char *kwnames[] = {
242b7b46 29855 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29856 };
29857
994141e6 29858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29861 arg2 = (int) SWIG_AsInt(obj1);
29862 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29863 {
29864 PyThreadState* __tstate = wxPyBeginAllowThreads();
29865 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
29866
29867 wxPyEndAllowThreads(__tstate);
29868 if (PyErr_Occurred()) SWIG_fail;
29869 }
29870 {
29871 resultobj = wxPyMake_wxObject(result);
29872 }
29873 return resultobj;
29874 fail:
29875 return NULL;
29876}
29877
29878
29879static PyObject *_wrap_Menu_FindItemByPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29880 PyObject *resultobj;
29881 wxMenu *arg1 = (wxMenu *) 0 ;
29882 size_t arg2 ;
29883 wxMenuItem *result;
29884 PyObject * obj0 = 0 ;
29885 PyObject * obj1 = 0 ;
29886 char *kwnames[] = {
29887 (char *) "self",(char *) "position", NULL
29888 };
29889
29890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29893 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29894 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29895 {
29896 PyThreadState* __tstate = wxPyBeginAllowThreads();
29897 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
29898
29899 wxPyEndAllowThreads(__tstate);
29900 if (PyErr_Occurred()) SWIG_fail;
29901 }
29902 {
29903 resultobj = wxPyMake_wxObject(result);
29904 }
29905 return resultobj;
29906 fail:
29907 return NULL;
29908}
29909
29910
29911static PyObject *_wrap_Menu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
29912 PyObject *resultobj;
29913 wxMenu *arg1 = (wxMenu *) 0 ;
29914 int arg2 ;
29915 bool arg3 ;
29916 PyObject * obj0 = 0 ;
994141e6 29917 PyObject * obj1 = 0 ;
d14a1e28
RD
29918 PyObject * obj2 = 0 ;
29919 char *kwnames[] = {
242b7b46 29920 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
29921 };
29922
994141e6 29923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29926 arg2 = (int) SWIG_AsInt(obj1);
29927 if (PyErr_Occurred()) SWIG_fail;
29928 arg3 = (bool) SWIG_AsBool(obj2);
29929 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29930 {
29931 PyThreadState* __tstate = wxPyBeginAllowThreads();
29932 (arg1)->Enable(arg2,arg3);
29933
29934 wxPyEndAllowThreads(__tstate);
29935 if (PyErr_Occurred()) SWIG_fail;
29936 }
29937 Py_INCREF(Py_None); resultobj = Py_None;
29938 return resultobj;
29939 fail:
29940 return NULL;
29941}
29942
29943
29944static PyObject *_wrap_Menu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
29945 PyObject *resultobj;
29946 wxMenu *arg1 = (wxMenu *) 0 ;
29947 int arg2 ;
29948 bool result;
29949 PyObject * obj0 = 0 ;
994141e6 29950 PyObject * obj1 = 0 ;
d14a1e28 29951 char *kwnames[] = {
242b7b46 29952 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29953 };
29954
994141e6 29955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29958 arg2 = (int) SWIG_AsInt(obj1);
29959 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29960 {
29961 PyThreadState* __tstate = wxPyBeginAllowThreads();
29962 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
29963
29964 wxPyEndAllowThreads(__tstate);
29965 if (PyErr_Occurred()) SWIG_fail;
29966 }
4f89f6a3
RD
29967 {
29968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29969 }
d14a1e28
RD
29970 return resultobj;
29971 fail:
29972 return NULL;
29973}
29974
29975
29976static PyObject *_wrap_Menu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
29977 PyObject *resultobj;
29978 wxMenu *arg1 = (wxMenu *) 0 ;
29979 int arg2 ;
29980 bool arg3 ;
29981 PyObject * obj0 = 0 ;
994141e6 29982 PyObject * obj1 = 0 ;
d14a1e28
RD
29983 PyObject * obj2 = 0 ;
29984 char *kwnames[] = {
242b7b46 29985 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
29986 };
29987
994141e6 29988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29991 arg2 = (int) SWIG_AsInt(obj1);
29992 if (PyErr_Occurred()) SWIG_fail;
29993 arg3 = (bool) SWIG_AsBool(obj2);
29994 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29995 {
29996 PyThreadState* __tstate = wxPyBeginAllowThreads();
29997 (arg1)->Check(arg2,arg3);
29998
29999 wxPyEndAllowThreads(__tstate);
30000 if (PyErr_Occurred()) SWIG_fail;
30001 }
30002 Py_INCREF(Py_None); resultobj = Py_None;
30003 return resultobj;
30004 fail:
30005 return NULL;
30006}
30007
30008
30009static PyObject *_wrap_Menu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
30010 PyObject *resultobj;
30011 wxMenu *arg1 = (wxMenu *) 0 ;
30012 int arg2 ;
30013 bool result;
30014 PyObject * obj0 = 0 ;
994141e6 30015 PyObject * obj1 = 0 ;
d14a1e28 30016 char *kwnames[] = {
242b7b46 30017 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30018 };
30019
994141e6 30020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsChecked",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30023 arg2 = (int) SWIG_AsInt(obj1);
30024 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30025 {
30026 PyThreadState* __tstate = wxPyBeginAllowThreads();
30027 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
30028
30029 wxPyEndAllowThreads(__tstate);
30030 if (PyErr_Occurred()) SWIG_fail;
30031 }
4f89f6a3
RD
30032 {
30033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30034 }
d14a1e28
RD
30035 return resultobj;
30036 fail:
30037 return NULL;
30038}
30039
30040
30041static PyObject *_wrap_Menu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
30042 PyObject *resultobj;
30043 wxMenu *arg1 = (wxMenu *) 0 ;
30044 int arg2 ;
30045 wxString *arg3 = 0 ;
e811c8ce 30046 bool temp3 = False ;
d14a1e28 30047 PyObject * obj0 = 0 ;
994141e6 30048 PyObject * obj1 = 0 ;
d14a1e28
RD
30049 PyObject * obj2 = 0 ;
30050 char *kwnames[] = {
242b7b46 30051 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
30052 };
30053
994141e6 30054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30057 arg2 = (int) SWIG_AsInt(obj1);
30058 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30059 {
30060 arg3 = wxString_in_helper(obj2);
30061 if (arg3 == NULL) SWIG_fail;
e811c8ce 30062 temp3 = True;
d14a1e28
RD
30063 }
30064 {
30065 PyThreadState* __tstate = wxPyBeginAllowThreads();
30066 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
30067
30068 wxPyEndAllowThreads(__tstate);
30069 if (PyErr_Occurred()) SWIG_fail;
30070 }
30071 Py_INCREF(Py_None); resultobj = Py_None;
30072 {
30073 if (temp3)
30074 delete arg3;
30075 }
30076 return resultobj;
30077 fail:
30078 {
30079 if (temp3)
30080 delete arg3;
30081 }
30082 return NULL;
30083}
30084
30085
30086static PyObject *_wrap_Menu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
30087 PyObject *resultobj;
30088 wxMenu *arg1 = (wxMenu *) 0 ;
30089 int arg2 ;
30090 wxString result;
30091 PyObject * obj0 = 0 ;
994141e6 30092 PyObject * obj1 = 0 ;
d14a1e28 30093 char *kwnames[] = {
242b7b46 30094 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30095 };
30096
994141e6 30097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30100 arg2 = (int) SWIG_AsInt(obj1);
30101 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30102 {
30103 PyThreadState* __tstate = wxPyBeginAllowThreads();
30104 result = ((wxMenu const *)arg1)->GetLabel(arg2);
30105
30106 wxPyEndAllowThreads(__tstate);
30107 if (PyErr_Occurred()) SWIG_fail;
30108 }
30109 {
30110#if wxUSE_UNICODE
30111 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30112#else
30113 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30114#endif
30115 }
30116 return resultobj;
30117 fail:
30118 return NULL;
30119}
30120
30121
30122static PyObject *_wrap_Menu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
30123 PyObject *resultobj;
30124 wxMenu *arg1 = (wxMenu *) 0 ;
30125 int arg2 ;
30126 wxString *arg3 = 0 ;
e811c8ce 30127 bool temp3 = False ;
d14a1e28 30128 PyObject * obj0 = 0 ;
994141e6 30129 PyObject * obj1 = 0 ;
d14a1e28
RD
30130 PyObject * obj2 = 0 ;
30131 char *kwnames[] = {
242b7b46 30132 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
30133 };
30134
994141e6 30135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30138 arg2 = (int) SWIG_AsInt(obj1);
30139 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30140 {
30141 arg3 = wxString_in_helper(obj2);
30142 if (arg3 == NULL) SWIG_fail;
e811c8ce 30143 temp3 = True;
d14a1e28
RD
30144 }
30145 {
30146 PyThreadState* __tstate = wxPyBeginAllowThreads();
30147 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
30148
30149 wxPyEndAllowThreads(__tstate);
30150 if (PyErr_Occurred()) SWIG_fail;
30151 }
30152 Py_INCREF(Py_None); resultobj = Py_None;
30153 {
30154 if (temp3)
30155 delete arg3;
30156 }
30157 return resultobj;
30158 fail:
30159 {
30160 if (temp3)
30161 delete arg3;
30162 }
30163 return NULL;
30164}
30165
30166
30167static PyObject *_wrap_Menu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
30168 PyObject *resultobj;
30169 wxMenu *arg1 = (wxMenu *) 0 ;
30170 int arg2 ;
30171 wxString result;
30172 PyObject * obj0 = 0 ;
994141e6 30173 PyObject * obj1 = 0 ;
d14a1e28 30174 char *kwnames[] = {
242b7b46 30175 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30176 };
30177
994141e6 30178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30181 arg2 = (int) SWIG_AsInt(obj1);
30182 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30183 {
30184 PyThreadState* __tstate = wxPyBeginAllowThreads();
30185 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
30186
30187 wxPyEndAllowThreads(__tstate);
30188 if (PyErr_Occurred()) SWIG_fail;
30189 }
30190 {
30191#if wxUSE_UNICODE
30192 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30193#else
30194 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30195#endif
30196 }
30197 return resultobj;
30198 fail:
30199 return NULL;
30200}
30201
30202
30203static PyObject *_wrap_Menu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
30204 PyObject *resultobj;
30205 wxMenu *arg1 = (wxMenu *) 0 ;
30206 wxString *arg2 = 0 ;
e811c8ce 30207 bool temp2 = False ;
d14a1e28
RD
30208 PyObject * obj0 = 0 ;
30209 PyObject * obj1 = 0 ;
30210 char *kwnames[] = {
30211 (char *) "self",(char *) "title", NULL
30212 };
30213
30214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30217 {
30218 arg2 = wxString_in_helper(obj1);
30219 if (arg2 == NULL) SWIG_fail;
e811c8ce 30220 temp2 = True;
d14a1e28
RD
30221 }
30222 {
30223 PyThreadState* __tstate = wxPyBeginAllowThreads();
30224 (arg1)->SetTitle((wxString const &)*arg2);
30225
30226 wxPyEndAllowThreads(__tstate);
30227 if (PyErr_Occurred()) SWIG_fail;
30228 }
30229 Py_INCREF(Py_None); resultobj = Py_None;
30230 {
30231 if (temp2)
30232 delete arg2;
30233 }
30234 return resultobj;
30235 fail:
30236 {
30237 if (temp2)
30238 delete arg2;
30239 }
30240 return NULL;
30241}
30242
30243
30244static PyObject *_wrap_Menu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
30245 PyObject *resultobj;
30246 wxMenu *arg1 = (wxMenu *) 0 ;
30247 wxString result;
30248 PyObject * obj0 = 0 ;
30249 char *kwnames[] = {
30250 (char *) "self", NULL
30251 };
30252
30253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
15afbcd0
RD
30254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30256 {
30257 PyThreadState* __tstate = wxPyBeginAllowThreads();
30258 result = ((wxMenu const *)arg1)->GetTitle();
30259
30260 wxPyEndAllowThreads(__tstate);
30261 if (PyErr_Occurred()) SWIG_fail;
30262 }
30263 {
30264#if wxUSE_UNICODE
30265 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30266#else
30267 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30268#endif
30269 }
30270 return resultobj;
30271 fail:
30272 return NULL;
30273}
30274
30275
30276static PyObject *_wrap_Menu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
30277 PyObject *resultobj;
30278 wxMenu *arg1 = (wxMenu *) 0 ;
30279 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
30280 PyObject * obj0 = 0 ;
30281 PyObject * obj1 = 0 ;
30282 char *kwnames[] = {
30283 (char *) "self",(char *) "handler", NULL
30284 };
30285
30286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30289 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
30290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30291 {
30292 PyThreadState* __tstate = wxPyBeginAllowThreads();
30293 (arg1)->SetEventHandler(arg2);
30294
30295 wxPyEndAllowThreads(__tstate);
30296 if (PyErr_Occurred()) SWIG_fail;
30297 }
30298 Py_INCREF(Py_None); resultobj = Py_None;
30299 return resultobj;
30300 fail:
30301 return NULL;
30302}
30303
30304
30305static PyObject *_wrap_Menu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
30306 PyObject *resultobj;
30307 wxMenu *arg1 = (wxMenu *) 0 ;
30308 wxEvtHandler *result;
30309 PyObject * obj0 = 0 ;
30310 char *kwnames[] = {
30311 (char *) "self", NULL
30312 };
30313
30314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
30315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30317 {
30318 PyThreadState* __tstate = wxPyBeginAllowThreads();
30319 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
30320
30321 wxPyEndAllowThreads(__tstate);
30322 if (PyErr_Occurred()) SWIG_fail;
30323 }
30324 {
30325 resultobj = wxPyMake_wxObject(result);
30326 }
30327 return resultobj;
30328 fail:
30329 return NULL;
30330}
30331
30332
30333static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30334 PyObject *resultobj;
30335 wxMenu *arg1 = (wxMenu *) 0 ;
30336 wxWindow *arg2 = (wxWindow *) 0 ;
30337 PyObject * obj0 = 0 ;
30338 PyObject * obj1 = 0 ;
30339 char *kwnames[] = {
30340 (char *) "self",(char *) "win", NULL
30341 };
30342
30343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30346 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30348 {
30349 PyThreadState* __tstate = wxPyBeginAllowThreads();
30350 (arg1)->SetInvokingWindow(arg2);
30351
30352 wxPyEndAllowThreads(__tstate);
30353 if (PyErr_Occurred()) SWIG_fail;
30354 }
30355 Py_INCREF(Py_None); resultobj = Py_None;
30356 return resultobj;
30357 fail:
30358 return NULL;
30359}
30360
30361
30362static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30363 PyObject *resultobj;
30364 wxMenu *arg1 = (wxMenu *) 0 ;
30365 wxWindow *result;
30366 PyObject * obj0 = 0 ;
30367 char *kwnames[] = {
30368 (char *) "self", NULL
30369 };
30370
30371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
30372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30374 {
30375 PyThreadState* __tstate = wxPyBeginAllowThreads();
30376 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
30377
30378 wxPyEndAllowThreads(__tstate);
30379 if (PyErr_Occurred()) SWIG_fail;
30380 }
30381 {
30382 resultobj = wxPyMake_wxObject(result);
30383 }
30384 return resultobj;
30385 fail:
30386 return NULL;
30387}
30388
30389
30390static PyObject *_wrap_Menu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
30391 PyObject *resultobj;
30392 wxMenu *arg1 = (wxMenu *) 0 ;
30393 long result;
30394 PyObject * obj0 = 0 ;
30395 char *kwnames[] = {
30396 (char *) "self", NULL
30397 };
30398
30399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
30400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30402 {
30403 PyThreadState* __tstate = wxPyBeginAllowThreads();
30404 result = (long)((wxMenu const *)arg1)->GetStyle();
30405
30406 wxPyEndAllowThreads(__tstate);
30407 if (PyErr_Occurred()) SWIG_fail;
30408 }
15afbcd0 30409 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
30410 return resultobj;
30411 fail:
30412 return NULL;
30413}
30414
30415
30416static PyObject *_wrap_Menu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
30417 PyObject *resultobj;
30418 wxMenu *arg1 = (wxMenu *) 0 ;
30419 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
30420 PyObject * obj0 = 0 ;
30421 PyObject * obj1 = 0 ;
30422 char *kwnames[] = {
30423 (char *) "self",(char *) "source", NULL
30424 };
30425
30426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 30429 if (obj1) {
15afbcd0
RD
30430 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
30431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30432 }
30433 {
30434 PyThreadState* __tstate = wxPyBeginAllowThreads();
30435 (arg1)->UpdateUI(arg2);
30436
30437 wxPyEndAllowThreads(__tstate);
30438 if (PyErr_Occurred()) SWIG_fail;
30439 }
30440 Py_INCREF(Py_None); resultobj = Py_None;
30441 return resultobj;
30442 fail:
30443 return NULL;
30444}
30445
30446
30447static PyObject *_wrap_Menu_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
30448 PyObject *resultobj;
30449 wxMenu *arg1 = (wxMenu *) 0 ;
30450 wxMenuBar *result;
30451 PyObject * obj0 = 0 ;
30452 char *kwnames[] = {
30453 (char *) "self", NULL
30454 };
30455
30456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
30457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30459 {
30460 PyThreadState* __tstate = wxPyBeginAllowThreads();
30461 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
30462
30463 wxPyEndAllowThreads(__tstate);
30464 if (PyErr_Occurred()) SWIG_fail;
30465 }
30466 {
30467 resultobj = wxPyMake_wxObject(result);
30468 }
30469 return resultobj;
30470 fail:
30471 return NULL;
30472}
30473
30474
30475static PyObject *_wrap_Menu_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
30476 PyObject *resultobj;
30477 wxMenu *arg1 = (wxMenu *) 0 ;
30478 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
30479 PyObject * obj0 = 0 ;
30480 PyObject * obj1 = 0 ;
30481 char *kwnames[] = {
30482 (char *) "self",(char *) "menubar", NULL
30483 };
30484
30485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30488 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBarBase,
30489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30490 {
30491 PyThreadState* __tstate = wxPyBeginAllowThreads();
30492 (arg1)->Attach(arg2);
30493
30494 wxPyEndAllowThreads(__tstate);
30495 if (PyErr_Occurred()) SWIG_fail;
30496 }
30497 Py_INCREF(Py_None); resultobj = Py_None;
30498 return resultobj;
30499 fail:
30500 return NULL;
30501}
30502
30503
30504static PyObject *_wrap_Menu_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
30505 PyObject *resultobj;
30506 wxMenu *arg1 = (wxMenu *) 0 ;
30507 PyObject * obj0 = 0 ;
30508 char *kwnames[] = {
30509 (char *) "self", NULL
30510 };
30511
30512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
15afbcd0
RD
30513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30515 {
30516 PyThreadState* __tstate = wxPyBeginAllowThreads();
30517 (arg1)->Detach();
30518
30519 wxPyEndAllowThreads(__tstate);
30520 if (PyErr_Occurred()) SWIG_fail;
30521 }
30522 Py_INCREF(Py_None); resultobj = Py_None;
30523 return resultobj;
30524 fail:
30525 return NULL;
30526}
30527
30528
30529static PyObject *_wrap_Menu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
30530 PyObject *resultobj;
30531 wxMenu *arg1 = (wxMenu *) 0 ;
30532 bool result;
30533 PyObject * obj0 = 0 ;
30534 char *kwnames[] = {
30535 (char *) "self", NULL
30536 };
30537
30538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
15afbcd0
RD
30539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30541 {
30542 PyThreadState* __tstate = wxPyBeginAllowThreads();
30543 result = (bool)((wxMenu const *)arg1)->IsAttached();
30544
30545 wxPyEndAllowThreads(__tstate);
30546 if (PyErr_Occurred()) SWIG_fail;
30547 }
4f89f6a3
RD
30548 {
30549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30550 }
d14a1e28
RD
30551 return resultobj;
30552 fail:
30553 return NULL;
30554}
30555
30556
30557static PyObject *_wrap_Menu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
30558 PyObject *resultobj;
30559 wxMenu *arg1 = (wxMenu *) 0 ;
30560 wxMenu *arg2 = (wxMenu *) 0 ;
30561 PyObject * obj0 = 0 ;
30562 PyObject * obj1 = 0 ;
30563 char *kwnames[] = {
30564 (char *) "self",(char *) "parent", NULL
30565 };
30566
30567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30570 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
30571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30572 {
30573 PyThreadState* __tstate = wxPyBeginAllowThreads();
30574 (arg1)->SetParent(arg2);
30575
30576 wxPyEndAllowThreads(__tstate);
30577 if (PyErr_Occurred()) SWIG_fail;
30578 }
30579 Py_INCREF(Py_None); resultobj = Py_None;
30580 return resultobj;
30581 fail:
30582 return NULL;
30583}
30584
30585
30586static PyObject *_wrap_Menu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
30587 PyObject *resultobj;
30588 wxMenu *arg1 = (wxMenu *) 0 ;
30589 wxMenu *result;
30590 PyObject * obj0 = 0 ;
30591 char *kwnames[] = {
30592 (char *) "self", NULL
30593 };
30594
30595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
15afbcd0
RD
30596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30598 {
30599 PyThreadState* __tstate = wxPyBeginAllowThreads();
30600 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
30601
30602 wxPyEndAllowThreads(__tstate);
30603 if (PyErr_Occurred()) SWIG_fail;
30604 }
30605 {
30606 resultobj = wxPyMake_wxObject(result);
30607 }
30608 return resultobj;
30609 fail:
30610 return NULL;
30611}
30612
30613
30614static PyObject * Menu_swigregister(PyObject *self, PyObject *args) {
30615 PyObject *obj;
30616 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30617 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
30618 Py_INCREF(obj);
30619 return Py_BuildValue((char *)"");
30620}
30621static PyObject *_wrap_new_MenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
30622 PyObject *resultobj;
30623 long arg1 = (long) 0 ;
30624 wxMenuBar *result;
994141e6 30625 PyObject * obj0 = 0 ;
d14a1e28
RD
30626 char *kwnames[] = {
30627 (char *) "style", NULL
30628 };
30629
994141e6
RD
30630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MenuBar",kwnames,&obj0)) goto fail;
30631 if (obj0) {
15afbcd0
RD
30632 arg1 = (long) SWIG_AsLong(obj0);
30633 if (PyErr_Occurred()) SWIG_fail;
994141e6 30634 }
d14a1e28
RD
30635 {
30636 PyThreadState* __tstate = wxPyBeginAllowThreads();
30637 result = (wxMenuBar *)new wxMenuBar(arg1);
30638
30639 wxPyEndAllowThreads(__tstate);
30640 if (PyErr_Occurred()) SWIG_fail;
30641 }
30642 {
30643 resultobj = wxPyMake_wxObject(result);
30644 }
30645 return resultobj;
30646 fail:
30647 return NULL;
30648}
30649
30650
30651static PyObject *_wrap_MenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
30652 PyObject *resultobj;
30653 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30654 wxMenu *arg2 = (wxMenu *) 0 ;
30655 wxString *arg3 = 0 ;
30656 bool result;
e811c8ce 30657 bool temp3 = False ;
d14a1e28
RD
30658 PyObject * obj0 = 0 ;
30659 PyObject * obj1 = 0 ;
30660 PyObject * obj2 = 0 ;
30661 char *kwnames[] = {
30662 (char *) "self",(char *) "menu",(char *) "title", NULL
30663 };
30664
30665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30668 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
30669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30670 {
30671 arg3 = wxString_in_helper(obj2);
30672 if (arg3 == NULL) SWIG_fail;
e811c8ce 30673 temp3 = True;
d14a1e28
RD
30674 }
30675 {
30676 PyThreadState* __tstate = wxPyBeginAllowThreads();
30677 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
30678
30679 wxPyEndAllowThreads(__tstate);
30680 if (PyErr_Occurred()) SWIG_fail;
30681 }
4f89f6a3
RD
30682 {
30683 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30684 }
d14a1e28
RD
30685 {
30686 if (temp3)
30687 delete arg3;
30688 }
30689 return resultobj;
30690 fail:
30691 {
30692 if (temp3)
30693 delete arg3;
30694 }
30695 return NULL;
30696}
30697
30698
30699static PyObject *_wrap_MenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
30700 PyObject *resultobj;
30701 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30702 size_t arg2 ;
30703 wxMenu *arg3 = (wxMenu *) 0 ;
30704 wxString *arg4 = 0 ;
30705 bool result;
e811c8ce 30706 bool temp4 = False ;
d14a1e28
RD
30707 PyObject * obj0 = 0 ;
30708 PyObject * obj1 = 0 ;
30709 PyObject * obj2 = 0 ;
30710 PyObject * obj3 = 0 ;
30711 char *kwnames[] = {
30712 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30713 };
30714
30715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
30716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30718 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30719 if (PyErr_Occurred()) SWIG_fail;
30720 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
30721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30722 {
30723 arg4 = wxString_in_helper(obj3);
30724 if (arg4 == NULL) SWIG_fail;
e811c8ce 30725 temp4 = True;
d14a1e28
RD
30726 }
30727 {
30728 PyThreadState* __tstate = wxPyBeginAllowThreads();
30729 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
30730
30731 wxPyEndAllowThreads(__tstate);
30732 if (PyErr_Occurred()) SWIG_fail;
30733 }
4f89f6a3
RD
30734 {
30735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30736 }
d14a1e28
RD
30737 {
30738 if (temp4)
30739 delete arg4;
30740 }
30741 return resultobj;
30742 fail:
30743 {
30744 if (temp4)
30745 delete arg4;
30746 }
30747 return NULL;
30748}
30749
30750
30751static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
30752 PyObject *resultobj;
30753 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30754 size_t result;
30755 PyObject * obj0 = 0 ;
30756 char *kwnames[] = {
30757 (char *) "self", NULL
30758 };
30759
30760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
30761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30763 {
30764 PyThreadState* __tstate = wxPyBeginAllowThreads();
30765 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
30766
30767 wxPyEndAllowThreads(__tstate);
30768 if (PyErr_Occurred()) SWIG_fail;
30769 }
15afbcd0 30770 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
30771 return resultobj;
30772 fail:
30773 return NULL;
30774}
30775
30776
30777static PyObject *_wrap_MenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
30778 PyObject *resultobj;
30779 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30780 size_t arg2 ;
30781 wxMenu *result;
30782 PyObject * obj0 = 0 ;
30783 PyObject * obj1 = 0 ;
30784 char *kwnames[] = {
30785 (char *) "self",(char *) "pos", NULL
30786 };
30787
30788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30791 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30792 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30793 {
30794 PyThreadState* __tstate = wxPyBeginAllowThreads();
30795 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
30796
30797 wxPyEndAllowThreads(__tstate);
30798 if (PyErr_Occurred()) SWIG_fail;
30799 }
30800 {
30801 resultobj = wxPyMake_wxObject(result);
30802 }
30803 return resultobj;
30804 fail:
30805 return NULL;
30806}
30807
30808
30809static PyObject *_wrap_MenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
30810 PyObject *resultobj;
30811 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30812 size_t arg2 ;
30813 wxMenu *arg3 = (wxMenu *) 0 ;
30814 wxString *arg4 = 0 ;
30815 wxMenu *result;
e811c8ce 30816 bool temp4 = False ;
d14a1e28
RD
30817 PyObject * obj0 = 0 ;
30818 PyObject * obj1 = 0 ;
30819 PyObject * obj2 = 0 ;
30820 PyObject * obj3 = 0 ;
30821 char *kwnames[] = {
30822 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30823 };
30824
30825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
30826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30828 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30829 if (PyErr_Occurred()) SWIG_fail;
30830 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
30831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30832 {
30833 arg4 = wxString_in_helper(obj3);
30834 if (arg4 == NULL) SWIG_fail;
e811c8ce 30835 temp4 = True;
d14a1e28
RD
30836 }
30837 {
30838 PyThreadState* __tstate = wxPyBeginAllowThreads();
30839 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
30840
30841 wxPyEndAllowThreads(__tstate);
30842 if (PyErr_Occurred()) SWIG_fail;
30843 }
30844 {
30845 resultobj = wxPyMake_wxObject(result);
30846 }
30847 {
30848 if (temp4)
30849 delete arg4;
30850 }
30851 return resultobj;
30852 fail:
30853 {
30854 if (temp4)
30855 delete arg4;
30856 }
30857 return NULL;
30858}
30859
30860
30861static PyObject *_wrap_MenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
30862 PyObject *resultobj;
30863 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30864 size_t arg2 ;
30865 wxMenu *result;
30866 PyObject * obj0 = 0 ;
30867 PyObject * obj1 = 0 ;
30868 char *kwnames[] = {
30869 (char *) "self",(char *) "pos", NULL
30870 };
30871
30872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30875 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30876 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30877 {
30878 PyThreadState* __tstate = wxPyBeginAllowThreads();
30879 result = (wxMenu *)(arg1)->Remove(arg2);
30880
30881 wxPyEndAllowThreads(__tstate);
30882 if (PyErr_Occurred()) SWIG_fail;
30883 }
30884 {
30885 resultobj = wxPyMake_wxObject(result);
30886 }
30887 return resultobj;
30888 fail:
30889 return NULL;
30890}
30891
30892
30893static PyObject *_wrap_MenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
30894 PyObject *resultobj;
30895 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30896 size_t arg2 ;
30897 bool arg3 ;
30898 PyObject * obj0 = 0 ;
30899 PyObject * obj1 = 0 ;
30900 PyObject * obj2 = 0 ;
30901 char *kwnames[] = {
30902 (char *) "self",(char *) "pos",(char *) "enable", NULL
30903 };
30904
30905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30908 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30909 if (PyErr_Occurred()) SWIG_fail;
30910 arg3 = (bool) SWIG_AsBool(obj2);
30911 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30912 {
30913 PyThreadState* __tstate = wxPyBeginAllowThreads();
30914 (arg1)->EnableTop(arg2,arg3);
30915
30916 wxPyEndAllowThreads(__tstate);
30917 if (PyErr_Occurred()) SWIG_fail;
30918 }
30919 Py_INCREF(Py_None); resultobj = Py_None;
30920 return resultobj;
30921 fail:
30922 return NULL;
30923}
30924
30925
30926static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *self, PyObject *args, PyObject *kwargs) {
30927 PyObject *resultobj;
30928 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30929 size_t arg2 ;
30930 bool result;
30931 PyObject * obj0 = 0 ;
30932 PyObject * obj1 = 0 ;
30933 char *kwnames[] = {
30934 (char *) "self",(char *) "pos", NULL
30935 };
30936
30937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30940 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30941 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30942 {
30943 PyThreadState* __tstate = wxPyBeginAllowThreads();
30944 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
30945
30946 wxPyEndAllowThreads(__tstate);
30947 if (PyErr_Occurred()) SWIG_fail;
30948 }
4f89f6a3
RD
30949 {
30950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30951 }
d14a1e28
RD
30952 return resultobj;
30953 fail:
30954 return NULL;
30955}
30956
30957
30958static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
30959 PyObject *resultobj;
30960 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30961 size_t arg2 ;
30962 wxString *arg3 = 0 ;
e811c8ce 30963 bool temp3 = False ;
d14a1e28
RD
30964 PyObject * obj0 = 0 ;
30965 PyObject * obj1 = 0 ;
30966 PyObject * obj2 = 0 ;
30967 char *kwnames[] = {
30968 (char *) "self",(char *) "pos",(char *) "label", NULL
30969 };
30970
30971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30974 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30975 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30976 {
30977 arg3 = wxString_in_helper(obj2);
30978 if (arg3 == NULL) SWIG_fail;
e811c8ce 30979 temp3 = True;
d14a1e28
RD
30980 }
30981 {
30982 PyThreadState* __tstate = wxPyBeginAllowThreads();
30983 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
30984
30985 wxPyEndAllowThreads(__tstate);
30986 if (PyErr_Occurred()) SWIG_fail;
30987 }
30988 Py_INCREF(Py_None); resultobj = Py_None;
30989 {
30990 if (temp3)
30991 delete arg3;
30992 }
30993 return resultobj;
30994 fail:
30995 {
30996 if (temp3)
30997 delete arg3;
30998 }
30999 return NULL;
31000}
31001
31002
31003static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
31004 PyObject *resultobj;
31005 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31006 size_t arg2 ;
31007 wxString result;
31008 PyObject * obj0 = 0 ;
31009 PyObject * obj1 = 0 ;
31010 char *kwnames[] = {
31011 (char *) "self",(char *) "pos", NULL
31012 };
31013
31014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31017 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31018 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31019 {
31020 PyThreadState* __tstate = wxPyBeginAllowThreads();
31021 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
31022
31023 wxPyEndAllowThreads(__tstate);
31024 if (PyErr_Occurred()) SWIG_fail;
31025 }
31026 {
31027#if wxUSE_UNICODE
31028 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31029#else
31030 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31031#endif
31032 }
31033 return resultobj;
31034 fail:
31035 return NULL;
31036}
31037
31038
31039static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
31040 PyObject *resultobj;
31041 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31042 wxString *arg2 = 0 ;
31043 wxString *arg3 = 0 ;
31044 int result;
e811c8ce
RD
31045 bool temp2 = False ;
31046 bool temp3 = False ;
d14a1e28
RD
31047 PyObject * obj0 = 0 ;
31048 PyObject * obj1 = 0 ;
31049 PyObject * obj2 = 0 ;
31050 char *kwnames[] = {
31051 (char *) "self",(char *) "menu",(char *) "item", NULL
31052 };
31053
31054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31057 {
31058 arg2 = wxString_in_helper(obj1);
31059 if (arg2 == NULL) SWIG_fail;
e811c8ce 31060 temp2 = True;
d14a1e28
RD
31061 }
31062 {
31063 arg3 = wxString_in_helper(obj2);
31064 if (arg3 == NULL) SWIG_fail;
e811c8ce 31065 temp3 = True;
d14a1e28
RD
31066 }
31067 {
31068 PyThreadState* __tstate = wxPyBeginAllowThreads();
31069 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
31070
31071 wxPyEndAllowThreads(__tstate);
31072 if (PyErr_Occurred()) SWIG_fail;
31073 }
15afbcd0 31074 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31075 {
31076 if (temp2)
31077 delete arg2;
31078 }
31079 {
31080 if (temp3)
31081 delete arg3;
31082 }
31083 return resultobj;
31084 fail:
31085 {
31086 if (temp2)
31087 delete arg2;
31088 }
31089 {
31090 if (temp3)
31091 delete arg3;
31092 }
31093 return NULL;
31094}
31095
31096
31097static PyObject *_wrap_MenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
31098 PyObject *resultobj;
31099 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31100 int arg2 ;
31101 wxMenuItem *result;
31102 PyObject * obj0 = 0 ;
994141e6 31103 PyObject * obj1 = 0 ;
d14a1e28 31104 char *kwnames[] = {
242b7b46 31105 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31106 };
31107
994141e6 31108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindItemById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31111 arg2 = (int) SWIG_AsInt(obj1);
31112 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31113 {
31114 PyThreadState* __tstate = wxPyBeginAllowThreads();
31115 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
31116
31117 wxPyEndAllowThreads(__tstate);
31118 if (PyErr_Occurred()) SWIG_fail;
31119 }
31120 {
31121 resultobj = wxPyMake_wxObject(result);
31122 }
31123 return resultobj;
31124 fail:
31125 return NULL;
31126}
31127
31128
31129static PyObject *_wrap_MenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31130 PyObject *resultobj;
31131 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31132 wxString *arg2 = 0 ;
31133 int result;
e811c8ce 31134 bool temp2 = False ;
d14a1e28
RD
31135 PyObject * obj0 = 0 ;
31136 PyObject * obj1 = 0 ;
31137 char *kwnames[] = {
31138 (char *) "self",(char *) "title", NULL
31139 };
31140
31141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31144 {
31145 arg2 = wxString_in_helper(obj1);
31146 if (arg2 == NULL) SWIG_fail;
e811c8ce 31147 temp2 = True;
d14a1e28
RD
31148 }
31149 {
31150 PyThreadState* __tstate = wxPyBeginAllowThreads();
31151 result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2);
31152
31153 wxPyEndAllowThreads(__tstate);
31154 if (PyErr_Occurred()) SWIG_fail;
31155 }
15afbcd0 31156 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31157 {
31158 if (temp2)
31159 delete arg2;
31160 }
31161 return resultobj;
31162 fail:
31163 {
31164 if (temp2)
31165 delete arg2;
31166 }
31167 return NULL;
31168}
31169
31170
31171static PyObject *_wrap_MenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
31172 PyObject *resultobj;
31173 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31174 int arg2 ;
31175 bool arg3 ;
31176 PyObject * obj0 = 0 ;
994141e6 31177 PyObject * obj1 = 0 ;
d14a1e28
RD
31178 PyObject * obj2 = 0 ;
31179 char *kwnames[] = {
242b7b46 31180 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
31181 };
31182
994141e6 31183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31186 arg2 = (int) SWIG_AsInt(obj1);
31187 if (PyErr_Occurred()) SWIG_fail;
31188 arg3 = (bool) SWIG_AsBool(obj2);
31189 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31190 {
31191 PyThreadState* __tstate = wxPyBeginAllowThreads();
31192 (arg1)->Enable(arg2,arg3);
31193
31194 wxPyEndAllowThreads(__tstate);
31195 if (PyErr_Occurred()) SWIG_fail;
31196 }
31197 Py_INCREF(Py_None); resultobj = Py_None;
31198 return resultobj;
31199 fail:
31200 return NULL;
31201}
31202
31203
31204static PyObject *_wrap_MenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
31205 PyObject *resultobj;
31206 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31207 int arg2 ;
31208 bool arg3 ;
31209 PyObject * obj0 = 0 ;
994141e6 31210 PyObject * obj1 = 0 ;
d14a1e28
RD
31211 PyObject * obj2 = 0 ;
31212 char *kwnames[] = {
242b7b46 31213 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
31214 };
31215
994141e6 31216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31219 arg2 = (int) SWIG_AsInt(obj1);
31220 if (PyErr_Occurred()) SWIG_fail;
31221 arg3 = (bool) SWIG_AsBool(obj2);
31222 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31223 {
31224 PyThreadState* __tstate = wxPyBeginAllowThreads();
31225 (arg1)->Check(arg2,arg3);
31226
31227 wxPyEndAllowThreads(__tstate);
31228 if (PyErr_Occurred()) SWIG_fail;
31229 }
31230 Py_INCREF(Py_None); resultobj = Py_None;
31231 return resultobj;
31232 fail:
31233 return NULL;
31234}
31235
31236
31237static PyObject *_wrap_MenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
31238 PyObject *resultobj;
31239 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31240 int arg2 ;
31241 bool result;
31242 PyObject * obj0 = 0 ;
994141e6 31243 PyObject * obj1 = 0 ;
d14a1e28 31244 char *kwnames[] = {
242b7b46 31245 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31246 };
31247
994141e6 31248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsChecked",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31251 arg2 = (int) SWIG_AsInt(obj1);
31252 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31253 {
31254 PyThreadState* __tstate = wxPyBeginAllowThreads();
31255 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
31256
31257 wxPyEndAllowThreads(__tstate);
31258 if (PyErr_Occurred()) SWIG_fail;
31259 }
4f89f6a3
RD
31260 {
31261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31262 }
d14a1e28
RD
31263 return resultobj;
31264 fail:
31265 return NULL;
31266}
31267
31268
31269static PyObject *_wrap_MenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
31270 PyObject *resultobj;
31271 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31272 int arg2 ;
31273 bool result;
31274 PyObject * obj0 = 0 ;
994141e6 31275 PyObject * obj1 = 0 ;
d14a1e28 31276 char *kwnames[] = {
242b7b46 31277 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31278 };
31279
994141e6 31280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31283 arg2 = (int) SWIG_AsInt(obj1);
31284 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31285 {
31286 PyThreadState* __tstate = wxPyBeginAllowThreads();
31287 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
31288
31289 wxPyEndAllowThreads(__tstate);
31290 if (PyErr_Occurred()) SWIG_fail;
31291 }
4f89f6a3
RD
31292 {
31293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31294 }
d14a1e28
RD
31295 return resultobj;
31296 fail:
31297 return NULL;
31298}
31299
31300
31301static PyObject *_wrap_MenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
31302 PyObject *resultobj;
31303 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31304 int arg2 ;
31305 wxString *arg3 = 0 ;
e811c8ce 31306 bool temp3 = False ;
d14a1e28 31307 PyObject * obj0 = 0 ;
994141e6 31308 PyObject * obj1 = 0 ;
d14a1e28
RD
31309 PyObject * obj2 = 0 ;
31310 char *kwnames[] = {
242b7b46 31311 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
31312 };
31313
994141e6 31314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31317 arg2 = (int) SWIG_AsInt(obj1);
31318 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31319 {
31320 arg3 = wxString_in_helper(obj2);
31321 if (arg3 == NULL) SWIG_fail;
e811c8ce 31322 temp3 = True;
d14a1e28
RD
31323 }
31324 {
31325 PyThreadState* __tstate = wxPyBeginAllowThreads();
31326 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
31327
31328 wxPyEndAllowThreads(__tstate);
31329 if (PyErr_Occurred()) SWIG_fail;
31330 }
31331 Py_INCREF(Py_None); resultobj = Py_None;
31332 {
31333 if (temp3)
31334 delete arg3;
31335 }
31336 return resultobj;
31337 fail:
31338 {
31339 if (temp3)
31340 delete arg3;
31341 }
31342 return NULL;
31343}
31344
31345
31346static PyObject *_wrap_MenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
31347 PyObject *resultobj;
31348 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31349 int arg2 ;
31350 wxString result;
31351 PyObject * obj0 = 0 ;
994141e6 31352 PyObject * obj1 = 0 ;
d14a1e28 31353 char *kwnames[] = {
242b7b46 31354 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31355 };
31356
994141e6 31357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31360 arg2 = (int) SWIG_AsInt(obj1);
31361 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31362 {
31363 PyThreadState* __tstate = wxPyBeginAllowThreads();
31364 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
31365
31366 wxPyEndAllowThreads(__tstate);
31367 if (PyErr_Occurred()) SWIG_fail;
31368 }
31369 {
31370#if wxUSE_UNICODE
31371 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31372#else
31373 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31374#endif
31375 }
31376 return resultobj;
31377 fail:
31378 return NULL;
31379}
31380
31381
31382static PyObject *_wrap_MenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
31383 PyObject *resultobj;
31384 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31385 int arg2 ;
31386 wxString *arg3 = 0 ;
e811c8ce 31387 bool temp3 = False ;
d14a1e28 31388 PyObject * obj0 = 0 ;
994141e6 31389 PyObject * obj1 = 0 ;
d14a1e28
RD
31390 PyObject * obj2 = 0 ;
31391 char *kwnames[] = {
242b7b46 31392 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
31393 };
31394
994141e6 31395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31398 arg2 = (int) SWIG_AsInt(obj1);
31399 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31400 {
31401 arg3 = wxString_in_helper(obj2);
31402 if (arg3 == NULL) SWIG_fail;
e811c8ce 31403 temp3 = True;
d14a1e28
RD
31404 }
31405 {
31406 PyThreadState* __tstate = wxPyBeginAllowThreads();
31407 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
31408
31409 wxPyEndAllowThreads(__tstate);
31410 if (PyErr_Occurred()) SWIG_fail;
31411 }
31412 Py_INCREF(Py_None); resultobj = Py_None;
31413 {
31414 if (temp3)
31415 delete arg3;
31416 }
31417 return resultobj;
31418 fail:
31419 {
31420 if (temp3)
31421 delete arg3;
31422 }
31423 return NULL;
31424}
31425
31426
31427static PyObject *_wrap_MenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
31428 PyObject *resultobj;
31429 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31430 int arg2 ;
31431 wxString result;
31432 PyObject * obj0 = 0 ;
994141e6 31433 PyObject * obj1 = 0 ;
d14a1e28 31434 char *kwnames[] = {
242b7b46 31435 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31436 };
31437
994141e6 31438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31441 arg2 = (int) SWIG_AsInt(obj1);
31442 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31443 {
31444 PyThreadState* __tstate = wxPyBeginAllowThreads();
31445 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
31446
31447 wxPyEndAllowThreads(__tstate);
31448 if (PyErr_Occurred()) SWIG_fail;
31449 }
31450 {
31451#if wxUSE_UNICODE
31452 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31453#else
31454 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31455#endif
31456 }
31457 return resultobj;
31458 fail:
31459 return NULL;
31460}
31461
31462
31463static PyObject *_wrap_MenuBar_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
31464 PyObject *resultobj;
31465 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31466 wxFrame *result;
31467 PyObject * obj0 = 0 ;
31468 char *kwnames[] = {
31469 (char *) "self", NULL
31470 };
31471
31472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
15afbcd0
RD
31473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31475 {
31476 PyThreadState* __tstate = wxPyBeginAllowThreads();
31477 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
31478
31479 wxPyEndAllowThreads(__tstate);
31480 if (PyErr_Occurred()) SWIG_fail;
31481 }
31482 {
31483 resultobj = wxPyMake_wxObject(result);
31484 }
31485 return resultobj;
31486 fail:
31487 return NULL;
31488}
31489
31490
31491static PyObject *_wrap_MenuBar_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
31492 PyObject *resultobj;
31493 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31494 bool result;
31495 PyObject * obj0 = 0 ;
31496 char *kwnames[] = {
31497 (char *) "self", NULL
31498 };
31499
31500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
15afbcd0
RD
31501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31503 {
31504 PyThreadState* __tstate = wxPyBeginAllowThreads();
31505 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
31506
31507 wxPyEndAllowThreads(__tstate);
31508 if (PyErr_Occurred()) SWIG_fail;
31509 }
4f89f6a3
RD
31510 {
31511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31512 }
d14a1e28
RD
31513 return resultobj;
31514 fail:
31515 return NULL;
31516}
31517
31518
31519static PyObject *_wrap_MenuBar_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
31520 PyObject *resultobj;
31521 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31522 wxFrame *arg2 = (wxFrame *) 0 ;
31523 PyObject * obj0 = 0 ;
31524 PyObject * obj1 = 0 ;
31525 char *kwnames[] = {
31526 (char *) "self",(char *) "frame", NULL
31527 };
31528
31529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31532 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
31533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31534 {
31535 PyThreadState* __tstate = wxPyBeginAllowThreads();
31536 (arg1)->Attach(arg2);
31537
31538 wxPyEndAllowThreads(__tstate);
31539 if (PyErr_Occurred()) SWIG_fail;
31540 }
31541 Py_INCREF(Py_None); resultobj = Py_None;
31542 return resultobj;
31543 fail:
31544 return NULL;
31545}
31546
31547
31548static PyObject *_wrap_MenuBar_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
31549 PyObject *resultobj;
31550 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31551 PyObject * obj0 = 0 ;
31552 char *kwnames[] = {
31553 (char *) "self", NULL
31554 };
31555
31556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
15afbcd0
RD
31557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31559 {
31560 PyThreadState* __tstate = wxPyBeginAllowThreads();
31561 (arg1)->Detach();
31562
31563 wxPyEndAllowThreads(__tstate);
31564 if (PyErr_Occurred()) SWIG_fail;
31565 }
31566 Py_INCREF(Py_None); resultobj = Py_None;
31567 return resultobj;
31568 fail:
31569 return NULL;
31570}
31571
31572
31573static PyObject * MenuBar_swigregister(PyObject *self, PyObject *args) {
31574 PyObject *obj;
31575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31576 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
31577 Py_INCREF(obj);
31578 return Py_BuildValue((char *)"");
31579}
31580static PyObject *_wrap_new_MenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
31581 PyObject *resultobj;
31582 wxMenu *arg1 = (wxMenu *) NULL ;
a95a7133 31583 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
31584 wxString const &arg3_defvalue = wxPyEmptyString ;
31585 wxString *arg3 = (wxString *) &arg3_defvalue ;
31586 wxString const &arg4_defvalue = wxPyEmptyString ;
31587 wxString *arg4 = (wxString *) &arg4_defvalue ;
31588 int arg5 = (int) wxITEM_NORMAL ;
31589 wxMenu *arg6 = (wxMenu *) NULL ;
31590 wxMenuItem *result;
e811c8ce
RD
31591 bool temp3 = False ;
31592 bool temp4 = False ;
d14a1e28 31593 PyObject * obj0 = 0 ;
994141e6 31594 PyObject * obj1 = 0 ;
d14a1e28
RD
31595 PyObject * obj2 = 0 ;
31596 PyObject * obj3 = 0 ;
994141e6 31597 PyObject * obj4 = 0 ;
d14a1e28
RD
31598 PyObject * obj5 = 0 ;
31599 char *kwnames[] = {
31600 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31601 };
31602
994141e6 31603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_MenuItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 31604 if (obj0) {
15afbcd0
RD
31605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 31607 }
994141e6 31608 if (obj1) {
15afbcd0
RD
31609 arg2 = (int) SWIG_AsInt(obj1);
31610 if (PyErr_Occurred()) SWIG_fail;
994141e6 31611 }
d14a1e28
RD
31612 if (obj2) {
31613 {
31614 arg3 = wxString_in_helper(obj2);
31615 if (arg3 == NULL) SWIG_fail;
e811c8ce 31616 temp3 = True;
d14a1e28
RD
31617 }
31618 }
31619 if (obj3) {
31620 {
31621 arg4 = wxString_in_helper(obj3);
31622 if (arg4 == NULL) SWIG_fail;
e811c8ce 31623 temp4 = True;
d14a1e28
RD
31624 }
31625 }
994141e6 31626 if (obj4) {
15afbcd0
RD
31627 arg5 = (wxItemKind) SWIG_AsInt(obj4);
31628 if (PyErr_Occurred()) SWIG_fail;
994141e6 31629 }
d14a1e28 31630 if (obj5) {
15afbcd0
RD
31631 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxMenu,
31632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31633 }
31634 {
31635 PyThreadState* __tstate = wxPyBeginAllowThreads();
31636 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
31637
31638 wxPyEndAllowThreads(__tstate);
31639 if (PyErr_Occurred()) SWIG_fail;
31640 }
31641 {
31642 resultobj = wxPyMake_wxObject(result);
31643 }
31644 {
31645 if (temp3)
31646 delete arg3;
31647 }
31648 {
31649 if (temp4)
31650 delete arg4;
31651 }
31652 return resultobj;
31653 fail:
31654 {
31655 if (temp3)
31656 delete arg3;
31657 }
31658 {
31659 if (temp4)
31660 delete arg4;
31661 }
31662 return NULL;
31663}
31664
31665
31666static PyObject *_wrap_MenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31667 PyObject *resultobj;
31668 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31669 wxMenu *result;
31670 PyObject * obj0 = 0 ;
31671 char *kwnames[] = {
31672 (char *) "self", NULL
31673 };
31674
31675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
31676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31678 {
31679 PyThreadState* __tstate = wxPyBeginAllowThreads();
31680 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
31681
31682 wxPyEndAllowThreads(__tstate);
31683 if (PyErr_Occurred()) SWIG_fail;
31684 }
31685 {
31686 resultobj = wxPyMake_wxObject(result);
31687 }
31688 return resultobj;
31689 fail:
31690 return NULL;
31691}
31692
31693
31694static PyObject *_wrap_MenuItem_SetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31695 PyObject *resultobj;
31696 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31697 wxMenu *arg2 = (wxMenu *) 0 ;
31698 PyObject * obj0 = 0 ;
31699 PyObject * obj1 = 0 ;
31700 char *kwnames[] = {
31701 (char *) "self",(char *) "menu", NULL
31702 };
31703
31704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31707 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
31708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31709 {
31710 PyThreadState* __tstate = wxPyBeginAllowThreads();
31711 (arg1)->SetMenu(arg2);
31712
31713 wxPyEndAllowThreads(__tstate);
31714 if (PyErr_Occurred()) SWIG_fail;
31715 }
31716 Py_INCREF(Py_None); resultobj = Py_None;
31717 return resultobj;
31718 fail:
31719 return NULL;
31720}
31721
31722
31723static PyObject *_wrap_MenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
31724 PyObject *resultobj;
31725 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31726 int arg2 ;
31727 PyObject * obj0 = 0 ;
994141e6 31728 PyObject * obj1 = 0 ;
d14a1e28 31729 char *kwnames[] = {
242b7b46 31730 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31731 };
31732
994141e6 31733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31736 arg2 = (int) SWIG_AsInt(obj1);
31737 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31738 {
31739 PyThreadState* __tstate = wxPyBeginAllowThreads();
31740 (arg1)->SetId(arg2);
31741
31742 wxPyEndAllowThreads(__tstate);
31743 if (PyErr_Occurred()) SWIG_fail;
31744 }
31745 Py_INCREF(Py_None); resultobj = Py_None;
31746 return resultobj;
31747 fail:
31748 return NULL;
31749}
31750
31751
31752static PyObject *_wrap_MenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
31753 PyObject *resultobj;
31754 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31755 int result;
31756 PyObject * obj0 = 0 ;
31757 char *kwnames[] = {
31758 (char *) "self", NULL
31759 };
31760
31761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
31762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31764 {
31765 PyThreadState* __tstate = wxPyBeginAllowThreads();
31766 result = (int)((wxMenuItem const *)arg1)->GetId();
31767
31768 wxPyEndAllowThreads(__tstate);
31769 if (PyErr_Occurred()) SWIG_fail;
31770 }
15afbcd0 31771 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31772 return resultobj;
31773 fail:
31774 return NULL;
31775}
31776
31777
31778static PyObject *_wrap_MenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
31779 PyObject *resultobj;
31780 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31781 bool result;
31782 PyObject * obj0 = 0 ;
31783 char *kwnames[] = {
31784 (char *) "self", NULL
31785 };
31786
31787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
31788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31790 {
31791 PyThreadState* __tstate = wxPyBeginAllowThreads();
31792 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
31793
31794 wxPyEndAllowThreads(__tstate);
31795 if (PyErr_Occurred()) SWIG_fail;
31796 }
4f89f6a3
RD
31797 {
31798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31799 }
d14a1e28
RD
31800 return resultobj;
31801 fail:
31802 return NULL;
31803}
31804
31805
31806static PyObject *_wrap_MenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
31807 PyObject *resultobj;
31808 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31809 wxString *arg2 = 0 ;
e811c8ce 31810 bool temp2 = False ;
d14a1e28
RD
31811 PyObject * obj0 = 0 ;
31812 PyObject * obj1 = 0 ;
31813 char *kwnames[] = {
31814 (char *) "self",(char *) "str", NULL
31815 };
31816
31817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31820 {
31821 arg2 = wxString_in_helper(obj1);
31822 if (arg2 == NULL) SWIG_fail;
e811c8ce 31823 temp2 = True;
d14a1e28
RD
31824 }
31825 {
31826 PyThreadState* __tstate = wxPyBeginAllowThreads();
31827 (arg1)->SetText((wxString const &)*arg2);
31828
31829 wxPyEndAllowThreads(__tstate);
31830 if (PyErr_Occurred()) SWIG_fail;
31831 }
31832 Py_INCREF(Py_None); resultobj = Py_None;
31833 {
31834 if (temp2)
31835 delete arg2;
31836 }
31837 return resultobj;
31838 fail:
31839 {
31840 if (temp2)
31841 delete arg2;
31842 }
31843 return NULL;
31844}
31845
31846
31847static PyObject *_wrap_MenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
31848 PyObject *resultobj;
31849 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31850 wxString result;
31851 PyObject * obj0 = 0 ;
31852 char *kwnames[] = {
31853 (char *) "self", NULL
31854 };
31855
31856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
31857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31859 {
31860 PyThreadState* __tstate = wxPyBeginAllowThreads();
31861 result = ((wxMenuItem const *)arg1)->GetLabel();
31862
31863 wxPyEndAllowThreads(__tstate);
31864 if (PyErr_Occurred()) SWIG_fail;
31865 }
31866 {
31867#if wxUSE_UNICODE
31868 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31869#else
31870 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31871#endif
31872 }
31873 return resultobj;
31874 fail:
31875 return NULL;
31876}
31877
31878
31879static PyObject *_wrap_MenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
31880 PyObject *resultobj;
31881 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31882 wxString *result;
31883 PyObject * obj0 = 0 ;
31884 char *kwnames[] = {
31885 (char *) "self", NULL
31886 };
31887
31888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
31889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31891 {
31892 PyThreadState* __tstate = wxPyBeginAllowThreads();
31893 {
31894 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
31895 result = (wxString *) &_result_ref;
31896 }
31897
31898 wxPyEndAllowThreads(__tstate);
31899 if (PyErr_Occurred()) SWIG_fail;
31900 }
cc6dd355
RD
31901 {
31902#if wxUSE_UNICODE
31903 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
31904#else
31905 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
31906#endif
31907 }
d14a1e28
RD
31908 return resultobj;
31909 fail:
31910 return NULL;
31911}
31912
31913
31914static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
31915 PyObject *resultobj;
31916 wxString *arg1 = 0 ;
31917 wxString result;
e811c8ce 31918 bool temp1 = False ;
d14a1e28
RD
31919 PyObject * obj0 = 0 ;
31920 char *kwnames[] = {
31921 (char *) "text", NULL
31922 };
31923
31924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
31925 {
31926 arg1 = wxString_in_helper(obj0);
31927 if (arg1 == NULL) SWIG_fail;
e811c8ce 31928 temp1 = True;
d14a1e28
RD
31929 }
31930 {
31931 PyThreadState* __tstate = wxPyBeginAllowThreads();
31932 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
31933
31934 wxPyEndAllowThreads(__tstate);
31935 if (PyErr_Occurred()) SWIG_fail;
31936 }
31937 {
31938#if wxUSE_UNICODE
31939 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31940#else
31941 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31942#endif
31943 }
31944 {
31945 if (temp1)
31946 delete arg1;
31947 }
31948 return resultobj;
31949 fail:
31950 {
31951 if (temp1)
31952 delete arg1;
31953 }
31954 return NULL;
31955}
31956
31957
31958static PyObject *_wrap_MenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
31959 PyObject *resultobj;
31960 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31961 int result;
31962 PyObject * obj0 = 0 ;
31963 char *kwnames[] = {
31964 (char *) "self", NULL
31965 };
31966
31967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
15afbcd0
RD
31968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31970 {
31971 PyThreadState* __tstate = wxPyBeginAllowThreads();
31972 result = (int)((wxMenuItem const *)arg1)->GetKind();
31973
31974 wxPyEndAllowThreads(__tstate);
31975 if (PyErr_Occurred()) SWIG_fail;
31976 }
15afbcd0 31977 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31978 return resultobj;
31979 fail:
31980 return NULL;
31981}
31982
31983
a95a7133
RD
31984static PyObject *_wrap_MenuItem_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
31985 PyObject *resultobj;
31986 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31987 int arg2 ;
31988 PyObject * obj0 = 0 ;
31989 PyObject * obj1 = 0 ;
31990 char *kwnames[] = {
31991 (char *) "self",(char *) "kind", NULL
31992 };
31993
31994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetKind",kwnames,&obj0,&obj1)) goto fail;
31995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31997 arg2 = (wxItemKind) SWIG_AsInt(obj1);
31998 if (PyErr_Occurred()) SWIG_fail;
31999 {
32000 PyThreadState* __tstate = wxPyBeginAllowThreads();
32001 (arg1)->SetKind((wxItemKind )arg2);
32002
32003 wxPyEndAllowThreads(__tstate);
32004 if (PyErr_Occurred()) SWIG_fail;
32005 }
32006 Py_INCREF(Py_None); resultobj = Py_None;
32007 return resultobj;
32008 fail:
32009 return NULL;
32010}
32011
32012
d14a1e28
RD
32013static PyObject *_wrap_MenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
32014 PyObject *resultobj;
32015 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32016 bool arg2 ;
32017 PyObject * obj0 = 0 ;
32018 PyObject * obj1 = 0 ;
32019 char *kwnames[] = {
32020 (char *) "self",(char *) "checkable", NULL
32021 };
32022
32023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32026 arg2 = (bool) SWIG_AsBool(obj1);
32027 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32028 {
32029 PyThreadState* __tstate = wxPyBeginAllowThreads();
32030 (arg1)->SetCheckable(arg2);
32031
32032 wxPyEndAllowThreads(__tstate);
32033 if (PyErr_Occurred()) SWIG_fail;
32034 }
32035 Py_INCREF(Py_None); resultobj = Py_None;
32036 return resultobj;
32037 fail:
32038 return NULL;
32039}
32040
32041
32042static PyObject *_wrap_MenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
32043 PyObject *resultobj;
32044 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32045 bool result;
32046 PyObject * obj0 = 0 ;
32047 char *kwnames[] = {
32048 (char *) "self", NULL
32049 };
32050
32051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
15afbcd0
RD
32052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32054 {
32055 PyThreadState* __tstate = wxPyBeginAllowThreads();
32056 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
32057
32058 wxPyEndAllowThreads(__tstate);
32059 if (PyErr_Occurred()) SWIG_fail;
32060 }
4f89f6a3
RD
32061 {
32062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32063 }
d14a1e28
RD
32064 return resultobj;
32065 fail:
32066 return NULL;
32067}
32068
32069
32070static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32071 PyObject *resultobj;
32072 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32073 bool result;
32074 PyObject * obj0 = 0 ;
32075 char *kwnames[] = {
32076 (char *) "self", NULL
32077 };
32078
32079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
32080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32082 {
32083 PyThreadState* __tstate = wxPyBeginAllowThreads();
32084 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
32085
32086 wxPyEndAllowThreads(__tstate);
32087 if (PyErr_Occurred()) SWIG_fail;
32088 }
4f89f6a3
RD
32089 {
32090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32091 }
d14a1e28
RD
32092 return resultobj;
32093 fail:
32094 return NULL;
32095}
32096
32097
32098static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32099 PyObject *resultobj;
32100 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32101 wxMenu *arg2 = (wxMenu *) 0 ;
32102 PyObject * obj0 = 0 ;
32103 PyObject * obj1 = 0 ;
32104 char *kwnames[] = {
32105 (char *) "self",(char *) "menu", NULL
32106 };
32107
32108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32111 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
32112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32113 {
32114 PyThreadState* __tstate = wxPyBeginAllowThreads();
32115 (arg1)->SetSubMenu(arg2);
32116
32117 wxPyEndAllowThreads(__tstate);
32118 if (PyErr_Occurred()) SWIG_fail;
32119 }
32120 Py_INCREF(Py_None); resultobj = Py_None;
32121 return resultobj;
32122 fail:
32123 return NULL;
32124}
32125
32126
32127static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32128 PyObject *resultobj;
32129 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32130 wxMenu *result;
32131 PyObject * obj0 = 0 ;
32132 char *kwnames[] = {
32133 (char *) "self", NULL
32134 };
32135
32136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
32137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32139 {
32140 PyThreadState* __tstate = wxPyBeginAllowThreads();
32141 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
32142
32143 wxPyEndAllowThreads(__tstate);
32144 if (PyErr_Occurred()) SWIG_fail;
32145 }
32146 {
32147 resultobj = wxPyMake_wxObject(result);
32148 }
32149 return resultobj;
32150 fail:
32151 return NULL;
32152}
32153
32154
32155static PyObject *_wrap_MenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
32156 PyObject *resultobj;
32157 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
e811c8ce 32158 bool arg2 = (bool) True ;
d14a1e28
RD
32159 PyObject * obj0 = 0 ;
32160 PyObject * obj1 = 0 ;
32161 char *kwnames[] = {
32162 (char *) "self",(char *) "enable", NULL
32163 };
32164
32165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 32168 if (obj1) {
15afbcd0
RD
32169 arg2 = (bool) SWIG_AsBool(obj1);
32170 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32171 }
32172 {
32173 PyThreadState* __tstate = wxPyBeginAllowThreads();
32174 (arg1)->Enable(arg2);
32175
32176 wxPyEndAllowThreads(__tstate);
32177 if (PyErr_Occurred()) SWIG_fail;
32178 }
32179 Py_INCREF(Py_None); resultobj = Py_None;
32180 return resultobj;
32181 fail:
32182 return NULL;
32183}
32184
32185
32186static PyObject *_wrap_MenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
32187 PyObject *resultobj;
32188 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32189 bool result;
32190 PyObject * obj0 = 0 ;
32191 char *kwnames[] = {
32192 (char *) "self", NULL
32193 };
32194
32195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
32196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32198 {
32199 PyThreadState* __tstate = wxPyBeginAllowThreads();
32200 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
32201
32202 wxPyEndAllowThreads(__tstate);
32203 if (PyErr_Occurred()) SWIG_fail;
32204 }
4f89f6a3
RD
32205 {
32206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32207 }
d14a1e28
RD
32208 return resultobj;
32209 fail:
32210 return NULL;
32211}
32212
32213
32214static PyObject *_wrap_MenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
32215 PyObject *resultobj;
32216 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
e811c8ce 32217 bool arg2 = (bool) True ;
d14a1e28
RD
32218 PyObject * obj0 = 0 ;
32219 PyObject * obj1 = 0 ;
32220 char *kwnames[] = {
32221 (char *) "self",(char *) "check", NULL
32222 };
32223
32224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 32227 if (obj1) {
15afbcd0
RD
32228 arg2 = (bool) SWIG_AsBool(obj1);
32229 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32230 }
32231 {
32232 PyThreadState* __tstate = wxPyBeginAllowThreads();
32233 (arg1)->Check(arg2);
32234
32235 wxPyEndAllowThreads(__tstate);
32236 if (PyErr_Occurred()) SWIG_fail;
32237 }
32238 Py_INCREF(Py_None); resultobj = Py_None;
32239 return resultobj;
32240 fail:
32241 return NULL;
32242}
32243
32244
32245static PyObject *_wrap_MenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
32246 PyObject *resultobj;
32247 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32248 bool result;
32249 PyObject * obj0 = 0 ;
32250 char *kwnames[] = {
32251 (char *) "self", NULL
32252 };
32253
32254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
32255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32257 {
32258 PyThreadState* __tstate = wxPyBeginAllowThreads();
32259 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
32260
32261 wxPyEndAllowThreads(__tstate);
32262 if (PyErr_Occurred()) SWIG_fail;
32263 }
4f89f6a3
RD
32264 {
32265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32266 }
d14a1e28
RD
32267 return resultobj;
32268 fail:
32269 return NULL;
32270}
32271
32272
32273static PyObject *_wrap_MenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
32274 PyObject *resultobj;
32275 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32276 PyObject * obj0 = 0 ;
32277 char *kwnames[] = {
32278 (char *) "self", NULL
32279 };
32280
32281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
15afbcd0
RD
32282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32284 {
32285 PyThreadState* __tstate = wxPyBeginAllowThreads();
32286 (arg1)->Toggle();
32287
32288 wxPyEndAllowThreads(__tstate);
32289 if (PyErr_Occurred()) SWIG_fail;
32290 }
32291 Py_INCREF(Py_None); resultobj = Py_None;
32292 return resultobj;
32293 fail:
32294 return NULL;
32295}
32296
32297
32298static PyObject *_wrap_MenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
32299 PyObject *resultobj;
32300 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32301 wxString *arg2 = 0 ;
e811c8ce 32302 bool temp2 = False ;
d14a1e28
RD
32303 PyObject * obj0 = 0 ;
32304 PyObject * obj1 = 0 ;
32305 char *kwnames[] = {
32306 (char *) "self",(char *) "str", NULL
32307 };
32308
32309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) 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 arg2 = wxString_in_helper(obj1);
32314 if (arg2 == NULL) SWIG_fail;
e811c8ce 32315 temp2 = True;
d14a1e28
RD
32316 }
32317 {
32318 PyThreadState* __tstate = wxPyBeginAllowThreads();
32319 (arg1)->SetHelp((wxString const &)*arg2);
32320
32321 wxPyEndAllowThreads(__tstate);
32322 if (PyErr_Occurred()) SWIG_fail;
32323 }
32324 Py_INCREF(Py_None); resultobj = Py_None;
32325 {
32326 if (temp2)
32327 delete arg2;
32328 }
32329 return resultobj;
32330 fail:
32331 {
32332 if (temp2)
32333 delete arg2;
32334 }
32335 return NULL;
32336}
32337
32338
32339static PyObject *_wrap_MenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
32340 PyObject *resultobj;
32341 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32342 wxString *result;
32343 PyObject * obj0 = 0 ;
32344 char *kwnames[] = {
32345 (char *) "self", NULL
32346 };
32347
32348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
32349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32351 {
32352 PyThreadState* __tstate = wxPyBeginAllowThreads();
32353 {
32354 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
32355 result = (wxString *) &_result_ref;
32356 }
32357
32358 wxPyEndAllowThreads(__tstate);
32359 if (PyErr_Occurred()) SWIG_fail;
32360 }
cc6dd355
RD
32361 {
32362#if wxUSE_UNICODE
32363 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
32364#else
32365 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
32366#endif
32367 }
d14a1e28
RD
32368 return resultobj;
32369 fail:
32370 return NULL;
32371}
32372
32373
32374static PyObject *_wrap_MenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
32375 PyObject *resultobj;
32376 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32377 wxAcceleratorEntry *result;
32378 PyObject * obj0 = 0 ;
32379 char *kwnames[] = {
32380 (char *) "self", NULL
32381 };
32382
32383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
15afbcd0
RD
32384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32386 {
32387 PyThreadState* __tstate = wxPyBeginAllowThreads();
32388 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
32389
32390 wxPyEndAllowThreads(__tstate);
32391 if (PyErr_Occurred()) SWIG_fail;
32392 }
15afbcd0 32393 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
d14a1e28
RD
32394 return resultobj;
32395 fail:
32396 return NULL;
32397}
32398
32399
32400static PyObject *_wrap_MenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
32401 PyObject *resultobj;
32402 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32403 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
32404 PyObject * obj0 = 0 ;
32405 PyObject * obj1 = 0 ;
32406 char *kwnames[] = {
32407 (char *) "self",(char *) "accel", NULL
32408 };
32409
32410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32413 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorEntry,
32414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32415 {
32416 PyThreadState* __tstate = wxPyBeginAllowThreads();
32417 (arg1)->SetAccel(arg2);
32418
32419 wxPyEndAllowThreads(__tstate);
32420 if (PyErr_Occurred()) SWIG_fail;
32421 }
32422 Py_INCREF(Py_None); resultobj = Py_None;
32423 return resultobj;
32424 fail:
32425 return NULL;
32426}
32427
32428
32429static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
32430 PyObject *resultobj;
32431 int result;
32432 char *kwnames[] = {
32433 NULL
32434 };
32435
32436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
32437 {
32438 PyThreadState* __tstate = wxPyBeginAllowThreads();
32439 result = (int)MenuItem_GetDefaultMarginWidth();
32440
32441 wxPyEndAllowThreads(__tstate);
32442 if (PyErr_Occurred()) SWIG_fail;
32443 }
15afbcd0 32444 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32445 return resultobj;
32446 fail:
32447 return NULL;
32448}
32449
32450
32451static PyObject *_wrap_MenuItem_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
32452 PyObject *resultobj;
32453 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32454 wxBitmap *arg2 = 0 ;
32455 PyObject * obj0 = 0 ;
32456 PyObject * obj1 = 0 ;
32457 char *kwnames[] = {
32458 (char *) "self",(char *) "bitmap", NULL
32459 };
32460
32461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32464 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
32465 SWIG_POINTER_EXCEPTION | 0)) == -1)
32466 SWIG_fail;
d14a1e28 32467 if (arg2 == NULL) {
15afbcd0
RD
32468 PyErr_SetString(PyExc_TypeError,"null reference");
32469 SWIG_fail;
d14a1e28
RD
32470 }
32471 {
32472 PyThreadState* __tstate = wxPyBeginAllowThreads();
32473 (arg1)->SetBitmap((wxBitmap const &)*arg2);
32474
32475 wxPyEndAllowThreads(__tstate);
32476 if (PyErr_Occurred()) SWIG_fail;
32477 }
32478 Py_INCREF(Py_None); resultobj = Py_None;
32479 return resultobj;
32480 fail:
32481 return NULL;
32482}
32483
32484
32485static PyObject *_wrap_MenuItem_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
32486 PyObject *resultobj;
32487 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32488 wxBitmap *result;
32489 PyObject * obj0 = 0 ;
32490 char *kwnames[] = {
32491 (char *) "self", NULL
32492 };
32493
32494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
32495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32497 {
32498 PyThreadState* __tstate = wxPyBeginAllowThreads();
32499 {
32500 wxBitmap const &_result_ref = (arg1)->GetBitmap();
32501 result = (wxBitmap *) &_result_ref;
32502 }
32503
32504 wxPyEndAllowThreads(__tstate);
32505 if (PyErr_Occurred()) SWIG_fail;
32506 }
4276dc52
RD
32507 {
32508 wxBitmap* resultptr = new wxBitmap(*result);
32509 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
32510 }
d14a1e28
RD
32511 return resultobj;
32512 fail:
32513 return NULL;
32514}
32515
32516
32517static PyObject * MenuItem_swigregister(PyObject *self, PyObject *args) {
32518 PyObject *obj;
32519 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32520 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
32521 Py_INCREF(obj);
32522 return Py_BuildValue((char *)"");
32523}
b2dc1044
RD
32524static int _wrap_ControlNameStr_set(PyObject *_val) {
32525 PyErr_SetString(PyExc_TypeError,"Variable ControlNameStr is read-only.");
32526 return 1;
32527}
32528
32529
32530static PyObject *_wrap_ControlNameStr_get() {
32531 PyObject *pyobj;
32532
32533 {
32534#if wxUSE_UNICODE
32535 pyobj = PyUnicode_FromWideChar((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
32536#else
32537 pyobj = PyString_FromStringAndSize((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
32538#endif
32539 }
32540 return pyobj;
32541}
32542
32543
d14a1e28
RD
32544static PyObject *_wrap_new_Control(PyObject *self, PyObject *args, PyObject *kwargs) {
32545 PyObject *resultobj;
32546 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 32547 int arg2 ;
d14a1e28
RD
32548 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32549 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32550 wxSize const &arg4_defvalue = wxDefaultSize ;
32551 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32552 long arg5 = (long) 0 ;
32553 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32554 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32555 wxString const &arg7_defvalue = wxPyControlNameStr ;
32556 wxString *arg7 = (wxString *) &arg7_defvalue ;
32557 wxControl *result;
32558 wxPoint temp3 ;
32559 wxSize temp4 ;
e811c8ce 32560 bool temp7 = False ;
d14a1e28 32561 PyObject * obj0 = 0 ;
994141e6 32562 PyObject * obj1 = 0 ;
d14a1e28
RD
32563 PyObject * obj2 = 0 ;
32564 PyObject * obj3 = 0 ;
994141e6 32565 PyObject * obj4 = 0 ;
d14a1e28
RD
32566 PyObject * obj5 = 0 ;
32567 PyObject * obj6 = 0 ;
32568 char *kwnames[] = {
32569 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32570 };
32571
994141e6 32572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_Control",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
32573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
32574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32575 arg2 = (int) SWIG_AsInt(obj1);
32576 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32577 if (obj2) {
32578 {
32579 arg3 = &temp3;
32580 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32581 }
32582 }
32583 if (obj3) {
32584 {
32585 arg4 = &temp4;
32586 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32587 }
32588 }
994141e6 32589 if (obj4) {
15afbcd0
RD
32590 arg5 = (long) SWIG_AsLong(obj4);
32591 if (PyErr_Occurred()) SWIG_fail;
994141e6 32592 }
d14a1e28 32593 if (obj5) {
15afbcd0
RD
32594 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
32595 SWIG_POINTER_EXCEPTION | 0)) == -1)
32596 SWIG_fail;
d14a1e28 32597 if (arg6 == NULL) {
15afbcd0
RD
32598 PyErr_SetString(PyExc_TypeError,"null reference");
32599 SWIG_fail;
d14a1e28
RD
32600 }
32601 }
32602 if (obj6) {
32603 {
32604 arg7 = wxString_in_helper(obj6);
32605 if (arg7 == NULL) SWIG_fail;
e811c8ce 32606 temp7 = True;
d14a1e28
RD
32607 }
32608 }
32609 {
32610 PyThreadState* __tstate = wxPyBeginAllowThreads();
32611 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32612
32613 wxPyEndAllowThreads(__tstate);
32614 if (PyErr_Occurred()) SWIG_fail;
32615 }
32616 {
32617 resultobj = wxPyMake_wxObject(result);
32618 }
32619 {
32620 if (temp7)
32621 delete arg7;
32622 }
32623 return resultobj;
32624 fail:
32625 {
32626 if (temp7)
32627 delete arg7;
32628 }
32629 return NULL;
32630}
32631
32632
32633static PyObject *_wrap_new_PreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
32634 PyObject *resultobj;
32635 wxControl *result;
32636 char *kwnames[] = {
32637 NULL
32638 };
32639
32640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
32641 {
32642 PyThreadState* __tstate = wxPyBeginAllowThreads();
32643 result = (wxControl *)new wxControl();
32644
32645 wxPyEndAllowThreads(__tstate);
32646 if (PyErr_Occurred()) SWIG_fail;
32647 }
32648 {
32649 resultobj = wxPyMake_wxObject(result);
32650 }
32651 return resultobj;
32652 fail:
32653 return NULL;
32654}
32655
32656
32657static PyObject *_wrap_Control_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
32658 PyObject *resultobj;
32659 wxControl *arg1 = (wxControl *) 0 ;
32660 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 32661 int arg3 ;
d14a1e28
RD
32662 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32663 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32664 wxSize const &arg5_defvalue = wxDefaultSize ;
32665 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32666 long arg6 = (long) 0 ;
32667 wxValidator const &arg7_defvalue = wxDefaultValidator ;
32668 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
32669 wxString const &arg8_defvalue = wxPyControlNameStr ;
32670 wxString *arg8 = (wxString *) &arg8_defvalue ;
32671 bool result;
32672 wxPoint temp4 ;
32673 wxSize temp5 ;
e811c8ce 32674 bool temp8 = False ;
d14a1e28
RD
32675 PyObject * obj0 = 0 ;
32676 PyObject * obj1 = 0 ;
994141e6 32677 PyObject * obj2 = 0 ;
d14a1e28
RD
32678 PyObject * obj3 = 0 ;
32679 PyObject * obj4 = 0 ;
994141e6 32680 PyObject * obj5 = 0 ;
d14a1e28
RD
32681 PyObject * obj6 = 0 ;
32682 PyObject * obj7 = 0 ;
32683 char *kwnames[] = {
32684 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32685 };
32686
994141e6 32687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:Control_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
32688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
32689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32690 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
32691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32692 arg3 = (int) SWIG_AsInt(obj2);
32693 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32694 if (obj3) {
32695 {
32696 arg4 = &temp4;
32697 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32698 }
32699 }
32700 if (obj4) {
32701 {
32702 arg5 = &temp5;
32703 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32704 }
32705 }
994141e6 32706 if (obj5) {
15afbcd0
RD
32707 arg6 = (long) SWIG_AsLong(obj5);
32708 if (PyErr_Occurred()) SWIG_fail;
994141e6 32709 }
d14a1e28 32710 if (obj6) {
15afbcd0
RD
32711 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
32712 SWIG_POINTER_EXCEPTION | 0)) == -1)
32713 SWIG_fail;
d14a1e28 32714 if (arg7 == NULL) {
15afbcd0
RD
32715 PyErr_SetString(PyExc_TypeError,"null reference");
32716 SWIG_fail;
d14a1e28
RD
32717 }
32718 }
32719 if (obj7) {
32720 {
32721 arg8 = wxString_in_helper(obj7);
32722 if (arg8 == NULL) SWIG_fail;
e811c8ce 32723 temp8 = True;
d14a1e28
RD
32724 }
32725 }
32726 {
32727 PyThreadState* __tstate = wxPyBeginAllowThreads();
32728 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
32729
32730 wxPyEndAllowThreads(__tstate);
32731 if (PyErr_Occurred()) SWIG_fail;
32732 }
4f89f6a3
RD
32733 {
32734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32735 }
d14a1e28
RD
32736 {
32737 if (temp8)
32738 delete arg8;
32739 }
32740 return resultobj;
32741 fail:
32742 {
32743 if (temp8)
32744 delete arg8;
32745 }
32746 return NULL;
32747}
32748
32749
32750static PyObject *_wrap_Control_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
32751 PyObject *resultobj;
32752 wxControl *arg1 = (wxControl *) 0 ;
32753 wxCommandEvent *arg2 = 0 ;
32754 PyObject * obj0 = 0 ;
32755 PyObject * obj1 = 0 ;
32756 char *kwnames[] = {
32757 (char *) "self",(char *) "event", NULL
32758 };
32759
32760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
32762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32763 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCommandEvent,
32764 SWIG_POINTER_EXCEPTION | 0)) == -1)
32765 SWIG_fail;
d14a1e28 32766 if (arg2 == NULL) {
15afbcd0
RD
32767 PyErr_SetString(PyExc_TypeError,"null reference");
32768 SWIG_fail;
d14a1e28
RD
32769 }
32770 {
32771 PyThreadState* __tstate = wxPyBeginAllowThreads();
32772 (arg1)->Command(*arg2);
32773
32774 wxPyEndAllowThreads(__tstate);
32775 if (PyErr_Occurred()) SWIG_fail;
32776 }
32777 Py_INCREF(Py_None); resultobj = Py_None;
32778 return resultobj;
32779 fail:
32780 return NULL;
32781}
32782
32783
32784static PyObject *_wrap_Control_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
32785 PyObject *resultobj;
32786 wxControl *arg1 = (wxControl *) 0 ;
32787 wxString result;
32788 PyObject * obj0 = 0 ;
32789 char *kwnames[] = {
32790 (char *) "self", NULL
32791 };
32792
32793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
32794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
32795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32796 {
32797 PyThreadState* __tstate = wxPyBeginAllowThreads();
32798 result = (arg1)->GetLabel();
32799
32800 wxPyEndAllowThreads(__tstate);
32801 if (PyErr_Occurred()) SWIG_fail;
32802 }
32803 {
32804#if wxUSE_UNICODE
32805 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32806#else
32807 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32808#endif
32809 }
32810 return resultobj;
32811 fail:
32812 return NULL;
32813}
32814
32815
32816static PyObject *_wrap_Control_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
32817 PyObject *resultobj;
32818 wxControl *arg1 = (wxControl *) 0 ;
32819 wxString *arg2 = 0 ;
e811c8ce 32820 bool temp2 = False ;
d14a1e28
RD
32821 PyObject * obj0 = 0 ;
32822 PyObject * obj1 = 0 ;
32823 char *kwnames[] = {
32824 (char *) "self",(char *) "label", NULL
32825 };
32826
32827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
32829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32830 {
32831 arg2 = wxString_in_helper(obj1);
32832 if (arg2 == NULL) SWIG_fail;
e811c8ce 32833 temp2 = True;
d14a1e28
RD
32834 }
32835 {
32836 PyThreadState* __tstate = wxPyBeginAllowThreads();
32837 (arg1)->SetLabel((wxString const &)*arg2);
32838
32839 wxPyEndAllowThreads(__tstate);
32840 if (PyErr_Occurred()) SWIG_fail;
32841 }
32842 Py_INCREF(Py_None); resultobj = Py_None;
32843 {
32844 if (temp2)
32845 delete arg2;
32846 }
32847 return resultobj;
32848 fail:
32849 {
32850 if (temp2)
32851 delete arg2;
32852 }
32853 return NULL;
32854}
32855
32856
74a57fcd
RD
32857static PyObject *_wrap_Control_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
32858 PyObject *resultobj;
32859 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
32860 wxVisualAttributes result;
32861 PyObject * obj0 = 0 ;
32862 char *kwnames[] = {
32863 (char *) "variant", NULL
32864 };
32865
32866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Control_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
32867 if (obj0) {
32868 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
32869 if (PyErr_Occurred()) SWIG_fail;
32870 }
32871 {
32872 PyThreadState* __tstate = wxPyBeginAllowThreads();
32873 result = wxControl::GetClassDefaultAttributes((wxWindowVariant )arg1);
32874
32875 wxPyEndAllowThreads(__tstate);
32876 if (PyErr_Occurred()) SWIG_fail;
32877 }
32878 {
32879 wxVisualAttributes * resultptr;
32880 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
32881 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
32882 }
32883 return resultobj;
32884 fail:
32885 return NULL;
32886}
32887
32888
d14a1e28
RD
32889static PyObject * Control_swigregister(PyObject *self, PyObject *args) {
32890 PyObject *obj;
32891 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32892 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
32893 Py_INCREF(obj);
32894 return Py_BuildValue((char *)"");
32895}
32896static PyObject *_wrap_ItemContainer_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
32897 PyObject *resultobj;
32898 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32899 wxString *arg2 = 0 ;
32900 PyObject *arg3 = (PyObject *) NULL ;
32901 int result;
e811c8ce 32902 bool temp2 = False ;
d14a1e28
RD
32903 PyObject * obj0 = 0 ;
32904 PyObject * obj1 = 0 ;
32905 PyObject * obj2 = 0 ;
32906 char *kwnames[] = {
32907 (char *) "self",(char *) "item",(char *) "clientData", NULL
32908 };
32909
32910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
32911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32913 {
32914 arg2 = wxString_in_helper(obj1);
32915 if (arg2 == NULL) SWIG_fail;
e811c8ce 32916 temp2 = True;
d14a1e28
RD
32917 }
32918 if (obj2) {
32919 arg3 = obj2;
32920 }
32921 {
32922 PyThreadState* __tstate = wxPyBeginAllowThreads();
32923 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
32924
32925 wxPyEndAllowThreads(__tstate);
32926 if (PyErr_Occurred()) SWIG_fail;
32927 }
15afbcd0 32928 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32929 {
32930 if (temp2)
32931 delete arg2;
32932 }
32933 return resultobj;
32934 fail:
32935 {
32936 if (temp2)
32937 delete arg2;
32938 }
32939 return NULL;
32940}
32941
32942
32943static PyObject *_wrap_ItemContainer_AppendItems(PyObject *self, PyObject *args, PyObject *kwargs) {
32944 PyObject *resultobj;
32945 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32946 wxArrayString *arg2 = 0 ;
3adfb63b 32947 bool temp2 = False ;
d14a1e28
RD
32948 PyObject * obj0 = 0 ;
32949 PyObject * obj1 = 0 ;
32950 char *kwnames[] = {
32951 (char *) "self",(char *) "strings", NULL
32952 };
32953
32954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32957 {
32958 if (! PySequence_Check(obj1)) {
32959 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
32960 SWIG_fail;
32961 }
32962 arg2 = new wxArrayString;
3adfb63b 32963 temp2 = True;
d14a1e28
RD
32964 int i, len=PySequence_Length(obj1);
32965 for (i=0; i<len; i++) {
32966 PyObject* item = PySequence_GetItem(obj1, i);
32967#if wxUSE_UNICODE
32968 PyObject* str = PyObject_Unicode(item);
32969#else
32970 PyObject* str = PyObject_Str(item);
32971#endif
74a57fcd 32972 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32973 arg2->Add(Py2wxString(str));
32974 Py_DECREF(item);
32975 Py_DECREF(str);
32976 }
32977 }
32978 {
32979 PyThreadState* __tstate = wxPyBeginAllowThreads();
32980 (arg1)->Append((wxArrayString const &)*arg2);
32981
32982 wxPyEndAllowThreads(__tstate);
32983 if (PyErr_Occurred()) SWIG_fail;
32984 }
32985 Py_INCREF(Py_None); resultobj = Py_None;
32986 {
3adfb63b 32987 if (temp2) delete arg2;
d14a1e28
RD
32988 }
32989 return resultobj;
32990 fail:
32991 {
3adfb63b 32992 if (temp2) delete arg2;
d14a1e28
RD
32993 }
32994 return NULL;
32995}
32996
32997
32998static PyObject *_wrap_ItemContainer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
32999 PyObject *resultobj;
33000 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33001 wxString *arg2 = 0 ;
33002 int arg3 ;
33003 PyObject *arg4 = (PyObject *) NULL ;
33004 int result;
e811c8ce 33005 bool temp2 = False ;
d14a1e28
RD
33006 PyObject * obj0 = 0 ;
33007 PyObject * obj1 = 0 ;
994141e6 33008 PyObject * obj2 = 0 ;
d14a1e28
RD
33009 PyObject * obj3 = 0 ;
33010 char *kwnames[] = {
33011 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33012 };
33013
994141e6 33014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
33015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33017 {
33018 arg2 = wxString_in_helper(obj1);
33019 if (arg2 == NULL) SWIG_fail;
e811c8ce 33020 temp2 = True;
d14a1e28 33021 }
15afbcd0
RD
33022 arg3 = (int) SWIG_AsInt(obj2);
33023 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33024 if (obj3) {
33025 arg4 = obj3;
33026 }
33027 {
33028 PyThreadState* __tstate = wxPyBeginAllowThreads();
33029 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
33030
33031 wxPyEndAllowThreads(__tstate);
33032 if (PyErr_Occurred()) SWIG_fail;
33033 }
15afbcd0 33034 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33035 {
33036 if (temp2)
33037 delete arg2;
33038 }
33039 return resultobj;
33040 fail:
33041 {
33042 if (temp2)
33043 delete arg2;
33044 }
33045 return NULL;
33046}
33047
33048
33049static PyObject *_wrap_ItemContainer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
33050 PyObject *resultobj;
33051 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33052 PyObject * obj0 = 0 ;
33053 char *kwnames[] = {
33054 (char *) "self", NULL
33055 };
33056
33057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
33058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33060 {
33061 PyThreadState* __tstate = wxPyBeginAllowThreads();
33062 (arg1)->Clear();
33063
33064 wxPyEndAllowThreads(__tstate);
33065 if (PyErr_Occurred()) SWIG_fail;
33066 }
33067 Py_INCREF(Py_None); resultobj = Py_None;
33068 return resultobj;
33069 fail:
33070 return NULL;
33071}
33072
33073
33074static PyObject *_wrap_ItemContainer_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
33075 PyObject *resultobj;
33076 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33077 int arg2 ;
33078 PyObject * obj0 = 0 ;
994141e6 33079 PyObject * obj1 = 0 ;
d14a1e28
RD
33080 char *kwnames[] = {
33081 (char *) "self",(char *) "n", NULL
33082 };
33083
994141e6 33084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Delete",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33087 arg2 = (int) SWIG_AsInt(obj1);
33088 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33089 {
33090 PyThreadState* __tstate = wxPyBeginAllowThreads();
33091 (arg1)->Delete(arg2);
33092
33093 wxPyEndAllowThreads(__tstate);
33094 if (PyErr_Occurred()) SWIG_fail;
33095 }
33096 Py_INCREF(Py_None); resultobj = Py_None;
33097 return resultobj;
33098 fail:
33099 return NULL;
33100}
33101
33102
33103static PyObject *_wrap_ItemContainer_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
33104 PyObject *resultobj;
33105 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33106 int result;
33107 PyObject * obj0 = 0 ;
33108 char *kwnames[] = {
33109 (char *) "self", NULL
33110 };
33111
33112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
33113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33115 {
33116 PyThreadState* __tstate = wxPyBeginAllowThreads();
33117 result = (int)((wxItemContainer const *)arg1)->GetCount();
33118
33119 wxPyEndAllowThreads(__tstate);
33120 if (PyErr_Occurred()) SWIG_fail;
33121 }
15afbcd0 33122 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33123 return resultobj;
33124 fail:
33125 return NULL;
33126}
33127
33128
33129static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
33130 PyObject *resultobj;
33131 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33132 bool result;
33133 PyObject * obj0 = 0 ;
33134 char *kwnames[] = {
33135 (char *) "self", NULL
33136 };
33137
33138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
15afbcd0
RD
33139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33141 {
33142 PyThreadState* __tstate = wxPyBeginAllowThreads();
33143 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
33144
33145 wxPyEndAllowThreads(__tstate);
33146 if (PyErr_Occurred()) SWIG_fail;
33147 }
4f89f6a3
RD
33148 {
33149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33150 }
d14a1e28
RD
33151 return resultobj;
33152 fail:
33153 return NULL;
33154}
33155
33156
33157static PyObject *_wrap_ItemContainer_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
33158 PyObject *resultobj;
33159 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33160 int arg2 ;
33161 wxString result;
33162 PyObject * obj0 = 0 ;
994141e6 33163 PyObject * obj1 = 0 ;
d14a1e28
RD
33164 char *kwnames[] = {
33165 (char *) "self",(char *) "n", NULL
33166 };
33167
994141e6 33168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33171 arg2 = (int) SWIG_AsInt(obj1);
33172 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33173 {
33174 PyThreadState* __tstate = wxPyBeginAllowThreads();
33175 result = ((wxItemContainer const *)arg1)->GetString(arg2);
33176
33177 wxPyEndAllowThreads(__tstate);
33178 if (PyErr_Occurred()) SWIG_fail;
33179 }
33180 {
33181#if wxUSE_UNICODE
33182 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33183#else
33184 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33185#endif
33186 }
33187 return resultobj;
33188 fail:
33189 return NULL;
33190}
33191
33192
33193static PyObject *_wrap_ItemContainer_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
33194 PyObject *resultobj;
33195 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33196 wxArrayString result;
33197 PyObject * obj0 = 0 ;
33198 char *kwnames[] = {
33199 (char *) "self", NULL
33200 };
33201
33202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
15afbcd0
RD
33203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33205 {
33206 PyThreadState* __tstate = wxPyBeginAllowThreads();
33207 result = ((wxItemContainer const *)arg1)->GetStrings();
33208
33209 wxPyEndAllowThreads(__tstate);
33210 if (PyErr_Occurred()) SWIG_fail;
33211 }
33212 {
33213 resultobj = wxArrayString2PyList_helper(result);
33214 }
33215 return resultobj;
33216 fail:
33217 return NULL;
33218}
33219
33220
33221static PyObject *_wrap_ItemContainer_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
33222 PyObject *resultobj;
33223 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33224 int arg2 ;
33225 wxString *arg3 = 0 ;
e811c8ce 33226 bool temp3 = False ;
d14a1e28 33227 PyObject * obj0 = 0 ;
994141e6 33228 PyObject * obj1 = 0 ;
d14a1e28
RD
33229 PyObject * obj2 = 0 ;
33230 char *kwnames[] = {
33231 (char *) "self",(char *) "n",(char *) "s", NULL
33232 };
33233
994141e6 33234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
33235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33237 arg2 = (int) SWIG_AsInt(obj1);
33238 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33239 {
33240 arg3 = wxString_in_helper(obj2);
33241 if (arg3 == NULL) SWIG_fail;
e811c8ce 33242 temp3 = True;
d14a1e28
RD
33243 }
33244 {
33245 PyThreadState* __tstate = wxPyBeginAllowThreads();
33246 (arg1)->SetString(arg2,(wxString const &)*arg3);
33247
33248 wxPyEndAllowThreads(__tstate);
33249 if (PyErr_Occurred()) SWIG_fail;
33250 }
33251 Py_INCREF(Py_None); resultobj = Py_None;
33252 {
33253 if (temp3)
33254 delete arg3;
33255 }
33256 return resultobj;
33257 fail:
33258 {
33259 if (temp3)
33260 delete arg3;
33261 }
33262 return NULL;
33263}
33264
33265
33266static PyObject *_wrap_ItemContainer_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
33267 PyObject *resultobj;
33268 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33269 wxString *arg2 = 0 ;
33270 int result;
e811c8ce 33271 bool temp2 = False ;
d14a1e28
RD
33272 PyObject * obj0 = 0 ;
33273 PyObject * obj1 = 0 ;
33274 char *kwnames[] = {
33275 (char *) "self",(char *) "s", NULL
33276 };
33277
33278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33281 {
33282 arg2 = wxString_in_helper(obj1);
33283 if (arg2 == NULL) SWIG_fail;
e811c8ce 33284 temp2 = True;
d14a1e28
RD
33285 }
33286 {
33287 PyThreadState* __tstate = wxPyBeginAllowThreads();
33288 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
33289
33290 wxPyEndAllowThreads(__tstate);
33291 if (PyErr_Occurred()) SWIG_fail;
33292 }
15afbcd0 33293 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33294 {
33295 if (temp2)
33296 delete arg2;
33297 }
33298 return resultobj;
33299 fail:
33300 {
33301 if (temp2)
33302 delete arg2;
33303 }
33304 return NULL;
33305}
33306
33307
33308static PyObject *_wrap_ItemContainer_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
33309 PyObject *resultobj;
33310 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33311 int arg2 ;
33312 PyObject * obj0 = 0 ;
994141e6 33313 PyObject * obj1 = 0 ;
d14a1e28
RD
33314 char *kwnames[] = {
33315 (char *) "self",(char *) "n", NULL
33316 };
33317
994141e6 33318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Select",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33321 arg2 = (int) SWIG_AsInt(obj1);
33322 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33323 {
33324 PyThreadState* __tstate = wxPyBeginAllowThreads();
33325 (arg1)->Select(arg2);
33326
33327 wxPyEndAllowThreads(__tstate);
33328 if (PyErr_Occurred()) SWIG_fail;
33329 }
33330 Py_INCREF(Py_None); resultobj = Py_None;
33331 return resultobj;
33332 fail:
33333 return NULL;
33334}
33335
33336
33337static PyObject *_wrap_ItemContainer_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
33338 PyObject *resultobj;
33339 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33340 int result;
33341 PyObject * obj0 = 0 ;
33342 char *kwnames[] = {
33343 (char *) "self", NULL
33344 };
33345
33346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
33347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33349 {
33350 PyThreadState* __tstate = wxPyBeginAllowThreads();
33351 result = (int)((wxItemContainer const *)arg1)->GetSelection();
33352
33353 wxPyEndAllowThreads(__tstate);
33354 if (PyErr_Occurred()) SWIG_fail;
33355 }
15afbcd0 33356 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33357 return resultobj;
33358 fail:
33359 return NULL;
33360}
33361
33362
33363static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
33364 PyObject *resultobj;
33365 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33366 wxString result;
33367 PyObject * obj0 = 0 ;
33368 char *kwnames[] = {
33369 (char *) "self", NULL
33370 };
33371
33372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
33373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33375 {
33376 PyThreadState* __tstate = wxPyBeginAllowThreads();
33377 result = ((wxItemContainer const *)arg1)->GetStringSelection();
33378
33379 wxPyEndAllowThreads(__tstate);
33380 if (PyErr_Occurred()) SWIG_fail;
33381 }
33382 {
33383#if wxUSE_UNICODE
33384 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33385#else
33386 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33387#endif
33388 }
33389 return resultobj;
33390 fail:
33391 return NULL;
33392}
33393
33394
33395static PyObject *_wrap_ItemContainer_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
33396 PyObject *resultobj;
33397 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33398 int arg2 ;
33399 PyObject *result;
33400 PyObject * obj0 = 0 ;
994141e6 33401 PyObject * obj1 = 0 ;
d14a1e28
RD
33402 char *kwnames[] = {
33403 (char *) "self",(char *) "n", NULL
33404 };
33405
994141e6 33406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetClientData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33409 arg2 = (int) SWIG_AsInt(obj1);
33410 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33411 {
33412 PyThreadState* __tstate = wxPyBeginAllowThreads();
33413 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
33414
33415 wxPyEndAllowThreads(__tstate);
33416 if (PyErr_Occurred()) SWIG_fail;
33417 }
33418 resultobj = result;
33419 return resultobj;
33420 fail:
33421 return NULL;
33422}
33423
33424
33425static PyObject *_wrap_ItemContainer_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
33426 PyObject *resultobj;
33427 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33428 int arg2 ;
33429 PyObject *arg3 = (PyObject *) 0 ;
33430 PyObject * obj0 = 0 ;
994141e6 33431 PyObject * obj1 = 0 ;
d14a1e28
RD
33432 PyObject * obj2 = 0 ;
33433 char *kwnames[] = {
33434 (char *) "self",(char *) "n",(char *) "clientData", NULL
33435 };
33436
994141e6 33437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
33438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33440 arg2 = (int) SWIG_AsInt(obj1);
33441 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33442 arg3 = obj2;
33443 {
33444 PyThreadState* __tstate = wxPyBeginAllowThreads();
33445 wxItemContainer_SetClientData(arg1,arg2,arg3);
33446
33447 wxPyEndAllowThreads(__tstate);
33448 if (PyErr_Occurred()) SWIG_fail;
33449 }
33450 Py_INCREF(Py_None); resultobj = Py_None;
33451 return resultobj;
33452 fail:
33453 return NULL;
33454}
33455
33456
33457static PyObject * ItemContainer_swigregister(PyObject *self, PyObject *args) {
33458 PyObject *obj;
33459 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33460 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
33461 Py_INCREF(obj);
33462 return Py_BuildValue((char *)"");
33463}
33464static PyObject * ControlWithItems_swigregister(PyObject *self, PyObject *args) {
33465 PyObject *obj;
33466 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33467 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
33468 Py_INCREF(obj);
33469 return Py_BuildValue((char *)"");
33470}
33471static PyObject *_wrap_new_SizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
33472 PyObject *resultobj;
33473 wxSizerItem *result;
33474 char *kwnames[] = {
33475 NULL
33476 };
33477
33478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
33479 {
33480 PyThreadState* __tstate = wxPyBeginAllowThreads();
33481 result = (wxSizerItem *)new wxSizerItem();
33482
33483 wxPyEndAllowThreads(__tstate);
33484 if (PyErr_Occurred()) SWIG_fail;
33485 }
15afbcd0 33486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
33487 return resultobj;
33488 fail:
33489 return NULL;
33490}
33491
33492
33493static PyObject *_wrap_new_SizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
33494 PyObject *resultobj;
33495 int arg1 ;
33496 int arg2 ;
33497 int arg3 ;
33498 int arg4 ;
33499 int arg5 ;
33500 wxObject *arg6 = (wxObject *) 0 ;
33501 wxSizerItem *result;
994141e6
RD
33502 PyObject * obj0 = 0 ;
33503 PyObject * obj1 = 0 ;
33504 PyObject * obj2 = 0 ;
33505 PyObject * obj3 = 0 ;
33506 PyObject * obj4 = 0 ;
d14a1e28
RD
33507 PyObject * obj5 = 0 ;
33508 char *kwnames[] = {
33509 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33510 };
33511
994141e6 33512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_SizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
33513 arg1 = (int) SWIG_AsInt(obj0);
33514 if (PyErr_Occurred()) SWIG_fail;
33515 arg2 = (int) SWIG_AsInt(obj1);
33516 if (PyErr_Occurred()) SWIG_fail;
33517 arg3 = (int) SWIG_AsInt(obj2);
33518 if (PyErr_Occurred()) SWIG_fail;
33519 arg4 = (int) SWIG_AsInt(obj3);
33520 if (PyErr_Occurred()) SWIG_fail;
33521 arg5 = (int) SWIG_AsInt(obj4);
33522 if (PyErr_Occurred()) SWIG_fail;
33523 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
33524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33525 {
33526 PyThreadState* __tstate = wxPyBeginAllowThreads();
33527 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
33528
33529 wxPyEndAllowThreads(__tstate);
33530 if (PyErr_Occurred()) SWIG_fail;
33531 }
15afbcd0 33532 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
33533 return resultobj;
33534 fail:
33535 return NULL;
33536}
33537
33538
33539static PyObject *_wrap_new_SizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
33540 PyObject *resultobj;
33541 wxWindow *arg1 = (wxWindow *) 0 ;
33542 int arg2 ;
33543 int arg3 ;
33544 int arg4 ;
33545 wxObject *arg5 = (wxObject *) 0 ;
33546 wxSizerItem *result;
33547 PyObject * obj0 = 0 ;
994141e6
RD
33548 PyObject * obj1 = 0 ;
33549 PyObject * obj2 = 0 ;
33550 PyObject * obj3 = 0 ;
d14a1e28
RD
33551 PyObject * obj4 = 0 ;
33552 char *kwnames[] = {
33553 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33554 };
33555
994141e6 33556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_SizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
33557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
33558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33559 arg2 = (int) SWIG_AsInt(obj1);
33560 if (PyErr_Occurred()) SWIG_fail;
33561 arg3 = (int) SWIG_AsInt(obj2);
33562 if (PyErr_Occurred()) SWIG_fail;
33563 arg4 = (int) SWIG_AsInt(obj3);
33564 if (PyErr_Occurred()) SWIG_fail;
33565 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxObject,
33566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33567 {
33568 PyThreadState* __tstate = wxPyBeginAllowThreads();
33569 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
33570
33571 wxPyEndAllowThreads(__tstate);
33572 if (PyErr_Occurred()) SWIG_fail;
33573 }
15afbcd0 33574 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
33575 return resultobj;
33576 fail:
33577 return NULL;
33578}
33579
33580
33581static PyObject *_wrap_new_SizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33582 PyObject *resultobj;
33583 wxSizer *arg1 = (wxSizer *) 0 ;
33584 int arg2 ;
33585 int arg3 ;
33586 int arg4 ;
33587 wxObject *arg5 = (wxObject *) 0 ;
33588 wxSizerItem *result;
33589 PyObject * obj0 = 0 ;
994141e6
RD
33590 PyObject * obj1 = 0 ;
33591 PyObject * obj2 = 0 ;
33592 PyObject * obj3 = 0 ;
d14a1e28
RD
33593 PyObject * obj4 = 0 ;
33594 char *kwnames[] = {
33595 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33596 };
33597
994141e6 33598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_SizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
33599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33601 arg2 = (int) SWIG_AsInt(obj1);
33602 if (PyErr_Occurred()) SWIG_fail;
33603 arg3 = (int) SWIG_AsInt(obj2);
33604 if (PyErr_Occurred()) SWIG_fail;
33605 arg4 = (int) SWIG_AsInt(obj3);
33606 if (PyErr_Occurred()) SWIG_fail;
33607 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxObject,
33608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33609 {
33610 PyThreadState* __tstate = wxPyBeginAllowThreads();
33611 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
33612
33613 wxPyEndAllowThreads(__tstate);
33614 if (PyErr_Occurred()) SWIG_fail;
33615 }
15afbcd0 33616 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
33617 return resultobj;
33618 fail:
33619 return NULL;
33620}
33621
33622
33623static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
33624 PyObject *resultobj;
33625 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33626 PyObject * obj0 = 0 ;
33627 char *kwnames[] = {
33628 (char *) "self", NULL
33629 };
33630
33631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
15afbcd0
RD
33632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33634 {
33635 PyThreadState* __tstate = wxPyBeginAllowThreads();
33636 (arg1)->DeleteWindows();
33637
33638 wxPyEndAllowThreads(__tstate);
33639 if (PyErr_Occurred()) SWIG_fail;
33640 }
33641 Py_INCREF(Py_None); resultobj = Py_None;
33642 return resultobj;
33643 fail:
33644 return NULL;
33645}
33646
33647
33648static PyObject *_wrap_SizerItem_DetachSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33649 PyObject *resultobj;
33650 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33651 PyObject * obj0 = 0 ;
33652 char *kwnames[] = {
33653 (char *) "self", NULL
33654 };
33655
33656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
33657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33659 {
33660 PyThreadState* __tstate = wxPyBeginAllowThreads();
33661 (arg1)->DetachSizer();
33662
33663 wxPyEndAllowThreads(__tstate);
33664 if (PyErr_Occurred()) SWIG_fail;
33665 }
33666 Py_INCREF(Py_None); resultobj = Py_None;
33667 return resultobj;
33668 fail:
33669 return NULL;
33670}
33671
33672
33673static PyObject *_wrap_SizerItem_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33674 PyObject *resultobj;
33675 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33676 wxSize result;
33677 PyObject * obj0 = 0 ;
33678 char *kwnames[] = {
33679 (char *) "self", NULL
33680 };
33681
33682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
33683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33685 {
33686 PyThreadState* __tstate = wxPyBeginAllowThreads();
33687 result = (arg1)->GetSize();
33688
33689 wxPyEndAllowThreads(__tstate);
33690 if (PyErr_Occurred()) SWIG_fail;
33691 }
33692 {
33693 wxSize * resultptr;
33694 resultptr = new wxSize((wxSize &) result);
15afbcd0 33695 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
33696 }
33697 return resultobj;
33698 fail:
33699 return NULL;
33700}
33701
33702
33703static PyObject *_wrap_SizerItem_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
33704 PyObject *resultobj;
33705 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33706 wxSize result;
33707 PyObject * obj0 = 0 ;
33708 char *kwnames[] = {
33709 (char *) "self", NULL
33710 };
33711
33712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
33713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33715 {
33716 PyThreadState* __tstate = wxPyBeginAllowThreads();
33717 result = (arg1)->CalcMin();
33718
33719 wxPyEndAllowThreads(__tstate);
33720 if (PyErr_Occurred()) SWIG_fail;
33721 }
33722 {
33723 wxSize * resultptr;
33724 resultptr = new wxSize((wxSize &) result);
15afbcd0 33725 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
33726 }
33727 return resultobj;
33728 fail:
33729 return NULL;
33730}
33731
33732
33733static PyObject *_wrap_SizerItem_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
33734 PyObject *resultobj;
33735 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33736 wxPoint arg2 ;
33737 wxSize arg3 ;
33738 wxPoint *argp2 ;
33739 wxSize *argp3 ;
33740 PyObject * obj0 = 0 ;
33741 PyObject * obj1 = 0 ;
33742 PyObject * obj2 = 0 ;
33743 char *kwnames[] = {
33744 (char *) "self",(char *) "pos",(char *) "size", NULL
33745 };
33746
33747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
33748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33750 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
33751 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
33752 arg2 = *argp2;
33753 if ((SWIG_ConvertPtr(obj2,(void **)(&argp3),SWIGTYPE_p_wxSize,
33754 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
33755 arg3 = *argp3;
d14a1e28
RD
33756 {
33757 PyThreadState* __tstate = wxPyBeginAllowThreads();
33758 (arg1)->SetDimension(arg2,arg3);
33759
33760 wxPyEndAllowThreads(__tstate);
33761 if (PyErr_Occurred()) SWIG_fail;
33762 }
33763 Py_INCREF(Py_None); resultobj = Py_None;
33764 return resultobj;
33765 fail:
33766 return NULL;
33767}
33768
33769
33770static PyObject *_wrap_SizerItem_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33771 PyObject *resultobj;
33772 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33773 wxSize result;
33774 PyObject * obj0 = 0 ;
33775 char *kwnames[] = {
33776 (char *) "self", NULL
33777 };
33778
33779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
33780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33782 {
33783 PyThreadState* __tstate = wxPyBeginAllowThreads();
33784 result = (arg1)->GetMinSize();
33785
33786 wxPyEndAllowThreads(__tstate);
33787 if (PyErr_Occurred()) SWIG_fail;
33788 }
33789 {
33790 wxSize * resultptr;
33791 resultptr = new wxSize((wxSize &) result);
15afbcd0 33792 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
33793 }
33794 return resultobj;
33795 fail:
33796 return NULL;
33797}
33798
33799
33800static PyObject *_wrap_SizerItem_SetInitSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33801 PyObject *resultobj;
33802 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33803 int arg2 ;
33804 int arg3 ;
33805 PyObject * obj0 = 0 ;
994141e6
RD
33806 PyObject * obj1 = 0 ;
33807 PyObject * obj2 = 0 ;
d14a1e28
RD
33808 char *kwnames[] = {
33809 (char *) "self",(char *) "x",(char *) "y", NULL
33810 };
33811
994141e6 33812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetInitSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
33813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33815 arg2 = (int) SWIG_AsInt(obj1);
33816 if (PyErr_Occurred()) SWIG_fail;
33817 arg3 = (int) SWIG_AsInt(obj2);
33818 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33819 {
33820 PyThreadState* __tstate = wxPyBeginAllowThreads();
33821 (arg1)->SetInitSize(arg2,arg3);
33822
33823 wxPyEndAllowThreads(__tstate);
33824 if (PyErr_Occurred()) SWIG_fail;
33825 }
33826 Py_INCREF(Py_None); resultobj = Py_None;
33827 return resultobj;
33828 fail:
33829 return NULL;
33830}
33831
33832
33833static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *self, PyObject *args, PyObject *kwargs) {
33834 PyObject *resultobj;
33835 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33836 int arg2 ;
33837 int arg3 ;
33838 PyObject * obj0 = 0 ;
994141e6
RD
33839 PyObject * obj1 = 0 ;
33840 PyObject * obj2 = 0 ;
d14a1e28
RD
33841 char *kwnames[] = {
33842 (char *) "self",(char *) "width",(char *) "height", NULL
33843 };
33844
994141e6 33845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetRatioWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
33846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33848 arg2 = (int) SWIG_AsInt(obj1);
33849 if (PyErr_Occurred()) SWIG_fail;
33850 arg3 = (int) SWIG_AsInt(obj2);
33851 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33852 {
33853 PyThreadState* __tstate = wxPyBeginAllowThreads();
33854 (arg1)->SetRatio(arg2,arg3);
33855
33856 wxPyEndAllowThreads(__tstate);
33857 if (PyErr_Occurred()) SWIG_fail;
33858 }
33859 Py_INCREF(Py_None); resultobj = Py_None;
33860 return resultobj;
33861 fail:
33862 return NULL;
33863}
33864
33865
33866static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33867 PyObject *resultobj;
33868 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33869 wxSize arg2 ;
33870 wxSize *argp2 ;
33871 PyObject * obj0 = 0 ;
33872 PyObject * obj1 = 0 ;
33873 char *kwnames[] = {
33874 (char *) "self",(char *) "size", NULL
33875 };
33876
33877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33880 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
33881 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
33882 arg2 = *argp2;
d14a1e28
RD
33883 {
33884 PyThreadState* __tstate = wxPyBeginAllowThreads();
33885 (arg1)->SetRatio(arg2);
33886
33887 wxPyEndAllowThreads(__tstate);
33888 if (PyErr_Occurred()) SWIG_fail;
33889 }
33890 Py_INCREF(Py_None); resultobj = Py_None;
33891 return resultobj;
33892 fail:
33893 return NULL;
33894}
33895
33896
33897static PyObject *_wrap_SizerItem_SetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
33898 PyObject *resultobj;
33899 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33900 float arg2 ;
33901 PyObject * obj0 = 0 ;
994141e6 33902 PyObject * obj1 = 0 ;
d14a1e28
RD
33903 char *kwnames[] = {
33904 (char *) "self",(char *) "ratio", NULL
33905 };
33906
994141e6 33907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatio",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33910 arg2 = (float) SWIG_AsFloat(obj1);
33911 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33912 {
33913 PyThreadState* __tstate = wxPyBeginAllowThreads();
33914 (arg1)->SetRatio(arg2);
33915
33916 wxPyEndAllowThreads(__tstate);
33917 if (PyErr_Occurred()) SWIG_fail;
33918 }
33919 Py_INCREF(Py_None); resultobj = Py_None;
33920 return resultobj;
33921 fail:
33922 return NULL;
33923}
33924
33925
33926static PyObject *_wrap_SizerItem_GetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
33927 PyObject *resultobj;
33928 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33929 float result;
33930 PyObject * obj0 = 0 ;
33931 char *kwnames[] = {
33932 (char *) "self", NULL
33933 };
33934
33935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
15afbcd0
RD
33936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33938 {
33939 PyThreadState* __tstate = wxPyBeginAllowThreads();
33940 result = (float)(arg1)->GetRatio();
33941
33942 wxPyEndAllowThreads(__tstate);
33943 if (PyErr_Occurred()) SWIG_fail;
33944 }
15afbcd0 33945 resultobj = SWIG_FromFloat((float)result);
d14a1e28
RD
33946 return resultobj;
33947 fail:
33948 return NULL;
33949}
33950
33951
33952static PyObject *_wrap_SizerItem_IsWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
33953 PyObject *resultobj;
33954 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33955 bool result;
33956 PyObject * obj0 = 0 ;
33957 char *kwnames[] = {
33958 (char *) "self", NULL
33959 };
33960
33961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
33962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33964 {
33965 PyThreadState* __tstate = wxPyBeginAllowThreads();
33966 result = (bool)(arg1)->IsWindow();
33967
33968 wxPyEndAllowThreads(__tstate);
33969 if (PyErr_Occurred()) SWIG_fail;
33970 }
4f89f6a3
RD
33971 {
33972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33973 }
d14a1e28
RD
33974 return resultobj;
33975 fail:
33976 return NULL;
33977}
33978
33979
33980static PyObject *_wrap_SizerItem_IsSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33981 PyObject *resultobj;
33982 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33983 bool result;
33984 PyObject * obj0 = 0 ;
33985 char *kwnames[] = {
33986 (char *) "self", NULL
33987 };
33988
33989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
33990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33992 {
33993 PyThreadState* __tstate = wxPyBeginAllowThreads();
33994 result = (bool)(arg1)->IsSizer();
33995
33996 wxPyEndAllowThreads(__tstate);
33997 if (PyErr_Occurred()) SWIG_fail;
33998 }
4f89f6a3
RD
33999 {
34000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34001 }
d14a1e28
RD
34002 return resultobj;
34003 fail:
34004 return NULL;
34005}
34006
34007
34008static PyObject *_wrap_SizerItem_IsSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34009 PyObject *resultobj;
34010 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34011 bool result;
34012 PyObject * obj0 = 0 ;
34013 char *kwnames[] = {
34014 (char *) "self", NULL
34015 };
34016
34017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
15afbcd0
RD
34018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34020 {
34021 PyThreadState* __tstate = wxPyBeginAllowThreads();
34022 result = (bool)(arg1)->IsSpacer();
34023
34024 wxPyEndAllowThreads(__tstate);
34025 if (PyErr_Occurred()) SWIG_fail;
34026 }
4f89f6a3
RD
34027 {
34028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34029 }
d14a1e28
RD
34030 return resultobj;
34031 fail:
34032 return NULL;
34033}
34034
34035
34036static PyObject *_wrap_SizerItem_SetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
34037 PyObject *resultobj;
34038 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34039 int arg2 ;
34040 PyObject * obj0 = 0 ;
994141e6 34041 PyObject * obj1 = 0 ;
d14a1e28
RD
34042 char *kwnames[] = {
34043 (char *) "self",(char *) "proportion", NULL
34044 };
34045
994141e6 34046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetProportion",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34049 arg2 = (int) SWIG_AsInt(obj1);
34050 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34051 {
34052 PyThreadState* __tstate = wxPyBeginAllowThreads();
34053 (arg1)->SetProportion(arg2);
34054
34055 wxPyEndAllowThreads(__tstate);
34056 if (PyErr_Occurred()) SWIG_fail;
34057 }
34058 Py_INCREF(Py_None); resultobj = Py_None;
34059 return resultobj;
34060 fail:
34061 return NULL;
34062}
34063
34064
34065static PyObject *_wrap_SizerItem_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
34066 PyObject *resultobj;
34067 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34068 int result;
34069 PyObject * obj0 = 0 ;
34070 char *kwnames[] = {
34071 (char *) "self", NULL
34072 };
34073
34074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
15afbcd0
RD
34075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34077 {
34078 PyThreadState* __tstate = wxPyBeginAllowThreads();
34079 result = (int)(arg1)->GetProportion();
34080
34081 wxPyEndAllowThreads(__tstate);
34082 if (PyErr_Occurred()) SWIG_fail;
34083 }
15afbcd0 34084 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
34085 return resultobj;
34086 fail:
34087 return NULL;
34088}
34089
34090
34091static PyObject *_wrap_SizerItem_SetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
34092 PyObject *resultobj;
34093 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34094 int arg2 ;
34095 PyObject * obj0 = 0 ;
994141e6 34096 PyObject * obj1 = 0 ;
d14a1e28
RD
34097 char *kwnames[] = {
34098 (char *) "self",(char *) "flag", NULL
34099 };
34100
994141e6 34101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34104 arg2 = (int) SWIG_AsInt(obj1);
34105 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34106 {
34107 PyThreadState* __tstate = wxPyBeginAllowThreads();
34108 (arg1)->SetFlag(arg2);
34109
34110 wxPyEndAllowThreads(__tstate);
34111 if (PyErr_Occurred()) SWIG_fail;
34112 }
34113 Py_INCREF(Py_None); resultobj = Py_None;
34114 return resultobj;
34115 fail:
34116 return NULL;
34117}
34118
34119
34120static PyObject *_wrap_SizerItem_GetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
34121 PyObject *resultobj;
34122 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34123 int result;
34124 PyObject * obj0 = 0 ;
34125 char *kwnames[] = {
34126 (char *) "self", NULL
34127 };
34128
34129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
15afbcd0
RD
34130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34132 {
34133 PyThreadState* __tstate = wxPyBeginAllowThreads();
34134 result = (int)(arg1)->GetFlag();
34135
34136 wxPyEndAllowThreads(__tstate);
34137 if (PyErr_Occurred()) SWIG_fail;
34138 }
15afbcd0 34139 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
34140 return resultobj;
34141 fail:
34142 return NULL;
34143}
34144
34145
34146static PyObject *_wrap_SizerItem_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
34147 PyObject *resultobj;
34148 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34149 int arg2 ;
34150 PyObject * obj0 = 0 ;
994141e6 34151 PyObject * obj1 = 0 ;
d14a1e28
RD
34152 char *kwnames[] = {
34153 (char *) "self",(char *) "border", NULL
34154 };
34155
994141e6 34156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetBorder",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34159 arg2 = (int) SWIG_AsInt(obj1);
34160 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34161 {
34162 PyThreadState* __tstate = wxPyBeginAllowThreads();
34163 (arg1)->SetBorder(arg2);
34164
34165 wxPyEndAllowThreads(__tstate);
34166 if (PyErr_Occurred()) SWIG_fail;
34167 }
34168 Py_INCREF(Py_None); resultobj = Py_None;
34169 return resultobj;
34170 fail:
34171 return NULL;
34172}
34173
34174
34175static PyObject *_wrap_SizerItem_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
34176 PyObject *resultobj;
34177 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34178 int result;
34179 PyObject * obj0 = 0 ;
34180 char *kwnames[] = {
34181 (char *) "self", NULL
34182 };
34183
34184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
15afbcd0
RD
34185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34187 {
34188 PyThreadState* __tstate = wxPyBeginAllowThreads();
34189 result = (int)(arg1)->GetBorder();
34190
34191 wxPyEndAllowThreads(__tstate);
34192 if (PyErr_Occurred()) SWIG_fail;
34193 }
15afbcd0 34194 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
34195 return resultobj;
34196 fail:
34197 return NULL;
34198}
34199
34200
34201static PyObject *_wrap_SizerItem_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34202 PyObject *resultobj;
34203 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34204 wxWindow *result;
34205 PyObject * obj0 = 0 ;
34206 char *kwnames[] = {
34207 (char *) "self", NULL
34208 };
34209
34210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
34211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34213 {
34214 PyThreadState* __tstate = wxPyBeginAllowThreads();
34215 result = (wxWindow *)(arg1)->GetWindow();
34216
34217 wxPyEndAllowThreads(__tstate);
34218 if (PyErr_Occurred()) SWIG_fail;
34219 }
34220 {
34221 resultobj = wxPyMake_wxObject(result);
34222 }
34223 return resultobj;
34224 fail:
34225 return NULL;
34226}
34227
34228
34229static PyObject *_wrap_SizerItem_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34230 PyObject *resultobj;
34231 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34232 wxWindow *arg2 = (wxWindow *) 0 ;
34233 PyObject * obj0 = 0 ;
34234 PyObject * obj1 = 0 ;
34235 char *kwnames[] = {
34236 (char *) "self",(char *) "window", NULL
34237 };
34238
34239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34242 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
34243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34244 {
34245 PyThreadState* __tstate = wxPyBeginAllowThreads();
34246 (arg1)->SetWindow(arg2);
34247
34248 wxPyEndAllowThreads(__tstate);
34249 if (PyErr_Occurred()) SWIG_fail;
34250 }
34251 Py_INCREF(Py_None); resultobj = Py_None;
34252 return resultobj;
34253 fail:
34254 return NULL;
34255}
34256
34257
34258static PyObject *_wrap_SizerItem_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34259 PyObject *resultobj;
34260 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34261 wxSizer *result;
34262 PyObject * obj0 = 0 ;
34263 char *kwnames[] = {
34264 (char *) "self", NULL
34265 };
34266
34267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
34268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34270 {
34271 PyThreadState* __tstate = wxPyBeginAllowThreads();
34272 result = (wxSizer *)(arg1)->GetSizer();
34273
34274 wxPyEndAllowThreads(__tstate);
34275 if (PyErr_Occurred()) SWIG_fail;
34276 }
34277 {
34278 resultobj = wxPyMake_wxSizer(result);
34279 }
34280 return resultobj;
34281 fail:
34282 return NULL;
34283}
34284
34285
34286static PyObject *_wrap_SizerItem_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34287 PyObject *resultobj;
34288 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34289 wxSizer *arg2 = (wxSizer *) 0 ;
34290 PyObject * obj0 = 0 ;
34291 PyObject * obj1 = 0 ;
34292 char *kwnames[] = {
34293 (char *) "self",(char *) "sizer", NULL
34294 };
34295
34296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34299 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
34300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34301 {
34302 PyThreadState* __tstate = wxPyBeginAllowThreads();
34303 (arg1)->SetSizer(arg2);
34304
34305 wxPyEndAllowThreads(__tstate);
34306 if (PyErr_Occurred()) SWIG_fail;
34307 }
34308 Py_INCREF(Py_None); resultobj = Py_None;
34309 return resultobj;
34310 fail:
34311 return NULL;
34312}
34313
34314
34315static PyObject *_wrap_SizerItem_GetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34316 PyObject *resultobj;
34317 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34318 wxSize *result;
34319 PyObject * obj0 = 0 ;
34320 char *kwnames[] = {
34321 (char *) "self", NULL
34322 };
34323
34324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
15afbcd0
RD
34325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34327 {
34328 PyThreadState* __tstate = wxPyBeginAllowThreads();
34329 {
34330 wxSize const &_result_ref = (arg1)->GetSpacer();
34331 result = (wxSize *) &_result_ref;
34332 }
34333
34334 wxPyEndAllowThreads(__tstate);
34335 if (PyErr_Occurred()) SWIG_fail;
34336 }
15afbcd0 34337 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
34338 return resultobj;
34339 fail:
34340 return NULL;
34341}
34342
34343
34344static PyObject *_wrap_SizerItem_SetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34345 PyObject *resultobj;
34346 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34347 wxSize *arg2 = 0 ;
34348 wxSize temp2 ;
34349 PyObject * obj0 = 0 ;
34350 PyObject * obj1 = 0 ;
34351 char *kwnames[] = {
34352 (char *) "self",(char *) "size", NULL
34353 };
34354
34355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34358 {
34359 arg2 = &temp2;
34360 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
34361 }
34362 {
34363 PyThreadState* __tstate = wxPyBeginAllowThreads();
34364 (arg1)->SetSpacer((wxSize const &)*arg2);
34365
34366 wxPyEndAllowThreads(__tstate);
34367 if (PyErr_Occurred()) SWIG_fail;
34368 }
34369 Py_INCREF(Py_None); resultobj = Py_None;
34370 return resultobj;
34371 fail:
34372 return NULL;
34373}
34374
34375
34376static PyObject *_wrap_SizerItem_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
34377 PyObject *resultobj;
34378 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34379 bool arg2 ;
34380 PyObject * obj0 = 0 ;
34381 PyObject * obj1 = 0 ;
34382 char *kwnames[] = {
34383 (char *) "self",(char *) "show", NULL
34384 };
34385
34386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34389 arg2 = (bool) SWIG_AsBool(obj1);
34390 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34391 {
34392 PyThreadState* __tstate = wxPyBeginAllowThreads();
34393 (arg1)->Show(arg2);
34394
34395 wxPyEndAllowThreads(__tstate);
34396 if (PyErr_Occurred()) SWIG_fail;
34397 }
34398 Py_INCREF(Py_None); resultobj = Py_None;
34399 return resultobj;
34400 fail:
34401 return NULL;
34402}
34403
34404
34405static PyObject *_wrap_SizerItem_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
34406 PyObject *resultobj;
34407 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34408 bool result;
34409 PyObject * obj0 = 0 ;
34410 char *kwnames[] = {
34411 (char *) "self", NULL
34412 };
34413
34414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
15afbcd0
RD
34415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34417 {
34418 PyThreadState* __tstate = wxPyBeginAllowThreads();
34419 result = (bool)(arg1)->IsShown();
34420
34421 wxPyEndAllowThreads(__tstate);
34422 if (PyErr_Occurred()) SWIG_fail;
34423 }
4f89f6a3
RD
34424 {
34425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34426 }
d14a1e28
RD
34427 return resultobj;
34428 fail:
34429 return NULL;
34430}
34431
34432
34433static PyObject *_wrap_SizerItem_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
34434 PyObject *resultobj;
34435 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34436 wxPoint result;
34437 PyObject * obj0 = 0 ;
34438 char *kwnames[] = {
34439 (char *) "self", NULL
34440 };
34441
34442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
34443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34445 {
34446 PyThreadState* __tstate = wxPyBeginAllowThreads();
34447 result = (arg1)->GetPosition();
34448
34449 wxPyEndAllowThreads(__tstate);
34450 if (PyErr_Occurred()) SWIG_fail;
34451 }
34452 {
34453 wxPoint * resultptr;
34454 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 34455 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
34456 }
34457 return resultobj;
34458 fail:
34459 return NULL;
34460}
34461
34462
34463static PyObject *_wrap_SizerItem_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
34464 PyObject *resultobj;
34465 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34466 PyObject *result;
34467 PyObject * obj0 = 0 ;
34468 char *kwnames[] = {
34469 (char *) "self", NULL
34470 };
34471
34472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
15afbcd0
RD
34473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34475 {
34476 PyThreadState* __tstate = wxPyBeginAllowThreads();
34477 result = (PyObject *)wxSizerItem_GetUserData(arg1);
34478
34479 wxPyEndAllowThreads(__tstate);
34480 if (PyErr_Occurred()) SWIG_fail;
34481 }
34482 resultobj = result;
34483 return resultobj;
34484 fail:
34485 return NULL;
34486}
34487
34488
34489static PyObject * SizerItem_swigregister(PyObject *self, PyObject *args) {
34490 PyObject *obj;
34491 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34492 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
34493 Py_INCREF(obj);
34494 return Py_BuildValue((char *)"");
34495}
34496static PyObject *_wrap_Sizer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
34497 PyObject *resultobj;
34498 wxSizer *arg1 = (wxSizer *) 0 ;
34499 PyObject *arg2 = (PyObject *) 0 ;
34500 PyObject * obj0 = 0 ;
34501 PyObject * obj1 = 0 ;
34502 char *kwnames[] = {
34503 (char *) "self",(char *) "_self", NULL
34504 };
34505
34506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34509 arg2 = obj1;
34510 {
34511 PyThreadState* __tstate = wxPyBeginAllowThreads();
34512 wxSizer__setOORInfo(arg1,arg2);
34513
34514 wxPyEndAllowThreads(__tstate);
34515 if (PyErr_Occurred()) SWIG_fail;
34516 }
34517 Py_INCREF(Py_None); resultobj = Py_None;
34518 return resultobj;
34519 fail:
34520 return NULL;
34521}
34522
34523
34524static PyObject *_wrap_Sizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
34525 PyObject *resultobj;
34526 wxSizer *arg1 = (wxSizer *) 0 ;
34527 PyObject *arg2 = (PyObject *) 0 ;
34528 int arg3 = (int) 0 ;
34529 int arg4 = (int) 0 ;
34530 int arg5 = (int) 0 ;
34531 PyObject *arg6 = (PyObject *) NULL ;
34532 PyObject * obj0 = 0 ;
34533 PyObject * obj1 = 0 ;
994141e6
RD
34534 PyObject * obj2 = 0 ;
34535 PyObject * obj3 = 0 ;
34536 PyObject * obj4 = 0 ;
d14a1e28
RD
34537 PyObject * obj5 = 0 ;
34538 char *kwnames[] = {
34539 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34540 };
34541
994141e6 34542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
34543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 34545 arg2 = obj1;
994141e6 34546 if (obj2) {
15afbcd0
RD
34547 arg3 = (int) SWIG_AsInt(obj2);
34548 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34549 }
34550 if (obj3) {
15afbcd0
RD
34551 arg4 = (int) SWIG_AsInt(obj3);
34552 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34553 }
34554 if (obj4) {
15afbcd0
RD
34555 arg5 = (int) SWIG_AsInt(obj4);
34556 if (PyErr_Occurred()) SWIG_fail;
994141e6 34557 }
d14a1e28
RD
34558 if (obj5) {
34559 arg6 = obj5;
34560 }
34561 {
34562 PyThreadState* __tstate = wxPyBeginAllowThreads();
34563 wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
34564
34565 wxPyEndAllowThreads(__tstate);
34566 if (PyErr_Occurred()) SWIG_fail;
34567 }
34568 Py_INCREF(Py_None); resultobj = Py_None;
34569 return resultobj;
34570 fail:
34571 return NULL;
34572}
34573
34574
34575static PyObject *_wrap_Sizer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
34576 PyObject *resultobj;
34577 wxSizer *arg1 = (wxSizer *) 0 ;
34578 int arg2 ;
34579 PyObject *arg3 = (PyObject *) 0 ;
34580 int arg4 = (int) 0 ;
34581 int arg5 = (int) 0 ;
34582 int arg6 = (int) 0 ;
34583 PyObject *arg7 = (PyObject *) NULL ;
34584 PyObject * obj0 = 0 ;
994141e6 34585 PyObject * obj1 = 0 ;
d14a1e28 34586 PyObject * obj2 = 0 ;
994141e6
RD
34587 PyObject * obj3 = 0 ;
34588 PyObject * obj4 = 0 ;
34589 PyObject * obj5 = 0 ;
d14a1e28
RD
34590 PyObject * obj6 = 0 ;
34591 char *kwnames[] = {
34592 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34593 };
34594
994141e6 34595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Sizer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
34596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34598 arg2 = (int) SWIG_AsInt(obj1);
34599 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 34600 arg3 = obj2;
994141e6 34601 if (obj3) {
15afbcd0
RD
34602 arg4 = (int) SWIG_AsInt(obj3);
34603 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34604 }
34605 if (obj4) {
15afbcd0
RD
34606 arg5 = (int) SWIG_AsInt(obj4);
34607 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34608 }
34609 if (obj5) {
15afbcd0
RD
34610 arg6 = (int) SWIG_AsInt(obj5);
34611 if (PyErr_Occurred()) SWIG_fail;
994141e6 34612 }
d14a1e28
RD
34613 if (obj6) {
34614 arg7 = obj6;
34615 }
34616 {
34617 PyThreadState* __tstate = wxPyBeginAllowThreads();
34618 wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
34619
34620 wxPyEndAllowThreads(__tstate);
34621 if (PyErr_Occurred()) SWIG_fail;
34622 }
34623 Py_INCREF(Py_None); resultobj = Py_None;
34624 return resultobj;
34625 fail:
34626 return NULL;
34627}
34628
34629
34630static PyObject *_wrap_Sizer_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
34631 PyObject *resultobj;
34632 wxSizer *arg1 = (wxSizer *) 0 ;
34633 PyObject *arg2 = (PyObject *) 0 ;
34634 int arg3 = (int) 0 ;
34635 int arg4 = (int) 0 ;
34636 int arg5 = (int) 0 ;
34637 PyObject *arg6 = (PyObject *) NULL ;
34638 PyObject * obj0 = 0 ;
34639 PyObject * obj1 = 0 ;
994141e6
RD
34640 PyObject * obj2 = 0 ;
34641 PyObject * obj3 = 0 ;
34642 PyObject * obj4 = 0 ;
d14a1e28
RD
34643 PyObject * obj5 = 0 ;
34644 char *kwnames[] = {
34645 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34646 };
34647
994141e6 34648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
34649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 34651 arg2 = obj1;
994141e6 34652 if (obj2) {
15afbcd0
RD
34653 arg3 = (int) SWIG_AsInt(obj2);
34654 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34655 }
34656 if (obj3) {
15afbcd0
RD
34657 arg4 = (int) SWIG_AsInt(obj3);
34658 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34659 }
34660 if (obj4) {
15afbcd0
RD
34661 arg5 = (int) SWIG_AsInt(obj4);
34662 if (PyErr_Occurred()) SWIG_fail;
994141e6 34663 }
d14a1e28
RD
34664 if (obj5) {
34665 arg6 = obj5;
34666 }
34667 {
34668 PyThreadState* __tstate = wxPyBeginAllowThreads();
34669 wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
34670
34671 wxPyEndAllowThreads(__tstate);
34672 if (PyErr_Occurred()) SWIG_fail;
34673 }
34674 Py_INCREF(Py_None); resultobj = Py_None;
34675 return resultobj;
34676 fail:
34677 return NULL;
34678}
34679
34680
34681static PyObject *_wrap_Sizer_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
34682 PyObject *resultobj;
34683 wxSizer *arg1 = (wxSizer *) 0 ;
34684 PyObject *arg2 = (PyObject *) 0 ;
34685 bool result;
34686 PyObject * obj0 = 0 ;
34687 PyObject * obj1 = 0 ;
34688 char *kwnames[] = {
34689 (char *) "self",(char *) "item", NULL
34690 };
34691
34692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34695 arg2 = obj1;
34696 {
34697 PyThreadState* __tstate = wxPyBeginAllowThreads();
34698 result = (bool)wxSizer_Remove(arg1,arg2);
34699
34700 wxPyEndAllowThreads(__tstate);
34701 if (PyErr_Occurred()) SWIG_fail;
34702 }
4f89f6a3
RD
34703 {
34704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34705 }
d14a1e28
RD
34706 return resultobj;
34707 fail:
34708 return NULL;
34709}
34710
34711
34712static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34713 PyObject *resultobj;
34714 wxSizer *arg1 = (wxSizer *) 0 ;
34715 PyObject *arg2 = (PyObject *) 0 ;
e811c8ce
RD
34716 wxSize *arg3 = 0 ;
34717 wxSize temp3 ;
d14a1e28
RD
34718 PyObject * obj0 = 0 ;
34719 PyObject * obj1 = 0 ;
34720 PyObject * obj2 = 0 ;
34721 char *kwnames[] = {
34722 (char *) "self",(char *) "item",(char *) "size", NULL
34723 };
34724
34725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
34726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 34728 arg2 = obj1;
e811c8ce
RD
34729 {
34730 arg3 = &temp3;
34731 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
34732 }
d14a1e28
RD
34733 {
34734 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 34735 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
d14a1e28
RD
34736
34737 wxPyEndAllowThreads(__tstate);
34738 if (PyErr_Occurred()) SWIG_fail;
34739 }
34740 Py_INCREF(Py_None); resultobj = Py_None;
34741 return resultobj;
34742 fail:
34743 return NULL;
34744}
34745
34746
34747static PyObject *_wrap_Sizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
34748 PyObject *resultobj;
34749 wxSizer *arg1 = (wxSizer *) 0 ;
34750 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
34751 PyObject * obj0 = 0 ;
34752 PyObject * obj1 = 0 ;
34753 char *kwnames[] = {
34754 (char *) "self",(char *) "item", NULL
34755 };
34756
34757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34760 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
34761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34762 {
34763 PyThreadState* __tstate = wxPyBeginAllowThreads();
34764 (arg1)->Add(arg2);
34765
34766 wxPyEndAllowThreads(__tstate);
34767 if (PyErr_Occurred()) SWIG_fail;
34768 }
34769 Py_INCREF(Py_None); resultobj = Py_None;
34770 return resultobj;
34771 fail:
34772 return NULL;
34773}
34774
34775
34776static PyObject *_wrap_Sizer_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
34777 PyObject *resultobj;
34778 wxSizer *arg1 = (wxSizer *) 0 ;
34779 size_t arg2 ;
34780 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
34781 PyObject * obj0 = 0 ;
34782 PyObject * obj1 = 0 ;
34783 PyObject * obj2 = 0 ;
34784 char *kwnames[] = {
34785 (char *) "self",(char *) "index",(char *) "item", NULL
34786 };
34787
34788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
34789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34791 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
34792 if (PyErr_Occurred()) SWIG_fail;
34793 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxSizerItem,
34794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34795 {
34796 PyThreadState* __tstate = wxPyBeginAllowThreads();
34797 (arg1)->Insert(arg2,arg3);
34798
34799 wxPyEndAllowThreads(__tstate);
34800 if (PyErr_Occurred()) SWIG_fail;
34801 }
34802 Py_INCREF(Py_None); resultobj = Py_None;
34803 return resultobj;
34804 fail:
34805 return NULL;
34806}
34807
34808
34809static PyObject *_wrap_Sizer_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
34810 PyObject *resultobj;
34811 wxSizer *arg1 = (wxSizer *) 0 ;
34812 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
34813 PyObject * obj0 = 0 ;
34814 PyObject * obj1 = 0 ;
34815 char *kwnames[] = {
34816 (char *) "self",(char *) "item", NULL
34817 };
34818
34819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34822 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
34823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34824 {
34825 PyThreadState* __tstate = wxPyBeginAllowThreads();
34826 (arg1)->Prepend(arg2);
34827
34828 wxPyEndAllowThreads(__tstate);
34829 if (PyErr_Occurred()) SWIG_fail;
34830 }
34831 Py_INCREF(Py_None); resultobj = Py_None;
34832 return resultobj;
34833 fail:
34834 return NULL;
34835}
34836
34837
34838static PyObject *_wrap_Sizer_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
34839 PyObject *resultobj;
34840 wxSizer *arg1 = (wxSizer *) 0 ;
34841 int arg2 ;
34842 int arg3 ;
34843 int arg4 ;
34844 int arg5 ;
34845 PyObject * obj0 = 0 ;
994141e6
RD
34846 PyObject * obj1 = 0 ;
34847 PyObject * obj2 = 0 ;
34848 PyObject * obj3 = 0 ;
34849 PyObject * obj4 = 0 ;
d14a1e28
RD
34850 char *kwnames[] = {
34851 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
34852 };
34853
994141e6 34854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Sizer_SetDimension",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
34855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34857 arg2 = (int) SWIG_AsInt(obj1);
34858 if (PyErr_Occurred()) SWIG_fail;
34859 arg3 = (int) SWIG_AsInt(obj2);
34860 if (PyErr_Occurred()) SWIG_fail;
34861 arg4 = (int) SWIG_AsInt(obj3);
34862 if (PyErr_Occurred()) SWIG_fail;
34863 arg5 = (int) SWIG_AsInt(obj4);
34864 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34865 {
34866 PyThreadState* __tstate = wxPyBeginAllowThreads();
34867 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
34868
34869 wxPyEndAllowThreads(__tstate);
34870 if (PyErr_Occurred()) SWIG_fail;
34871 }
34872 Py_INCREF(Py_None); resultobj = Py_None;
34873 return resultobj;
34874 fail:
34875 return NULL;
34876}
34877
34878
34879static PyObject *_wrap_Sizer_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34880 PyObject *resultobj;
34881 wxSizer *arg1 = (wxSizer *) 0 ;
1fc9204a
RD
34882 wxSize *arg2 = 0 ;
34883 wxSize temp2 ;
d14a1e28
RD
34884 PyObject * obj0 = 0 ;
34885 PyObject * obj1 = 0 ;
34886 char *kwnames[] = {
34887 (char *) "self",(char *) "size", NULL
34888 };
34889
34890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1fc9204a
RD
34893 {
34894 arg2 = &temp2;
34895 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
34896 }
d14a1e28
RD
34897 {
34898 PyThreadState* __tstate = wxPyBeginAllowThreads();
1fc9204a 34899 (arg1)->SetMinSize((wxSize const &)*arg2);
d14a1e28
RD
34900
34901 wxPyEndAllowThreads(__tstate);
34902 if (PyErr_Occurred()) SWIG_fail;
34903 }
34904 Py_INCREF(Py_None); resultobj = Py_None;
34905 return resultobj;
34906 fail:
34907 return NULL;
34908}
34909
34910
34911static PyObject *_wrap_Sizer_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34912 PyObject *resultobj;
34913 wxSizer *arg1 = (wxSizer *) 0 ;
34914 wxSize result;
34915 PyObject * obj0 = 0 ;
34916 char *kwnames[] = {
34917 (char *) "self", NULL
34918 };
34919
34920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
34921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34923 {
34924 PyThreadState* __tstate = wxPyBeginAllowThreads();
34925 result = (arg1)->GetSize();
34926
34927 wxPyEndAllowThreads(__tstate);
34928 if (PyErr_Occurred()) SWIG_fail;
34929 }
34930 {
34931 wxSize * resultptr;
34932 resultptr = new wxSize((wxSize &) result);
15afbcd0 34933 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34934 }
34935 return resultobj;
34936 fail:
34937 return NULL;
34938}
34939
34940
34941static PyObject *_wrap_Sizer_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
34942 PyObject *resultobj;
34943 wxSizer *arg1 = (wxSizer *) 0 ;
34944 wxPoint result;
34945 PyObject * obj0 = 0 ;
34946 char *kwnames[] = {
34947 (char *) "self", NULL
34948 };
34949
34950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
34951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34953 {
34954 PyThreadState* __tstate = wxPyBeginAllowThreads();
34955 result = (arg1)->GetPosition();
34956
34957 wxPyEndAllowThreads(__tstate);
34958 if (PyErr_Occurred()) SWIG_fail;
34959 }
34960 {
34961 wxPoint * resultptr;
34962 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 34963 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
34964 }
34965 return resultobj;
34966 fail:
34967 return NULL;
34968}
34969
34970
34971static PyObject *_wrap_Sizer_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34972 PyObject *resultobj;
34973 wxSizer *arg1 = (wxSizer *) 0 ;
34974 wxSize result;
34975 PyObject * obj0 = 0 ;
34976 char *kwnames[] = {
34977 (char *) "self", NULL
34978 };
34979
34980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
34981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34983 {
34984 PyThreadState* __tstate = wxPyBeginAllowThreads();
34985 result = (arg1)->GetMinSize();
34986
34987 wxPyEndAllowThreads(__tstate);
34988 if (PyErr_Occurred()) SWIG_fail;
34989 }
34990 {
34991 wxSize * resultptr;
34992 resultptr = new wxSize((wxSize &) result);
15afbcd0 34993 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34994 }
34995 return resultobj;
34996 fail:
34997 return NULL;
34998}
34999
35000
35001static PyObject *_wrap_Sizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
35002 PyObject *resultobj;
35003 wxSizer *arg1 = (wxSizer *) 0 ;
35004 PyObject * obj0 = 0 ;
35005 char *kwnames[] = {
35006 (char *) "self", NULL
35007 };
35008
35009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
35010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35012 {
35013 PyThreadState* __tstate = wxPyBeginAllowThreads();
35014 (arg1)->RecalcSizes();
35015
35016 wxPyEndAllowThreads(__tstate);
35017 if (PyErr_Occurred()) SWIG_fail;
35018 }
35019 Py_INCREF(Py_None); resultobj = Py_None;
35020 return resultobj;
35021 fail:
35022 return NULL;
35023}
35024
35025
35026static PyObject *_wrap_Sizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
35027 PyObject *resultobj;
35028 wxSizer *arg1 = (wxSizer *) 0 ;
35029 wxSize result;
35030 PyObject * obj0 = 0 ;
35031 char *kwnames[] = {
35032 (char *) "self", NULL
35033 };
35034
35035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
35036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35038 {
35039 PyThreadState* __tstate = wxPyBeginAllowThreads();
35040 result = (arg1)->CalcMin();
35041
35042 wxPyEndAllowThreads(__tstate);
35043 if (PyErr_Occurred()) SWIG_fail;
35044 }
35045 {
35046 wxSize * resultptr;
35047 resultptr = new wxSize((wxSize &) result);
15afbcd0 35048 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35049 }
35050 return resultobj;
35051 fail:
35052 return NULL;
35053}
35054
35055
35056static PyObject *_wrap_Sizer_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
35057 PyObject *resultobj;
35058 wxSizer *arg1 = (wxSizer *) 0 ;
35059 PyObject * obj0 = 0 ;
35060 char *kwnames[] = {
35061 (char *) "self", NULL
35062 };
35063
35064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
15afbcd0
RD
35065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35067 {
35068 PyThreadState* __tstate = wxPyBeginAllowThreads();
35069 (arg1)->Layout();
35070
35071 wxPyEndAllowThreads(__tstate);
35072 if (PyErr_Occurred()) SWIG_fail;
35073 }
35074 Py_INCREF(Py_None); resultobj = Py_None;
35075 return resultobj;
35076 fail:
35077 return NULL;
35078}
35079
35080
35081static PyObject *_wrap_Sizer_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
35082 PyObject *resultobj;
35083 wxSizer *arg1 = (wxSizer *) 0 ;
35084 wxWindow *arg2 = (wxWindow *) 0 ;
35085 wxSize result;
35086 PyObject * obj0 = 0 ;
35087 PyObject * obj1 = 0 ;
35088 char *kwnames[] = {
35089 (char *) "self",(char *) "window", NULL
35090 };
35091
35092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35095 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35097 {
35098 PyThreadState* __tstate = wxPyBeginAllowThreads();
35099 result = (arg1)->Fit(arg2);
35100
35101 wxPyEndAllowThreads(__tstate);
35102 if (PyErr_Occurred()) SWIG_fail;
35103 }
35104 {
35105 wxSize * resultptr;
35106 resultptr = new wxSize((wxSize &) result);
15afbcd0 35107 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35108 }
35109 return resultobj;
35110 fail:
35111 return NULL;
35112}
35113
35114
35115static PyObject *_wrap_Sizer_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
35116 PyObject *resultobj;
35117 wxSizer *arg1 = (wxSizer *) 0 ;
35118 wxWindow *arg2 = (wxWindow *) 0 ;
35119 PyObject * obj0 = 0 ;
35120 PyObject * obj1 = 0 ;
35121 char *kwnames[] = {
35122 (char *) "self",(char *) "window", NULL
35123 };
35124
35125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35128 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35130 {
35131 PyThreadState* __tstate = wxPyBeginAllowThreads();
35132 (arg1)->FitInside(arg2);
35133
35134 wxPyEndAllowThreads(__tstate);
35135 if (PyErr_Occurred()) SWIG_fail;
35136 }
35137 Py_INCREF(Py_None); resultobj = Py_None;
35138 return resultobj;
35139 fail:
35140 return NULL;
35141}
35142
35143
35144static PyObject *_wrap_Sizer_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
35145 PyObject *resultobj;
35146 wxSizer *arg1 = (wxSizer *) 0 ;
35147 wxWindow *arg2 = (wxWindow *) 0 ;
35148 PyObject * obj0 = 0 ;
35149 PyObject * obj1 = 0 ;
35150 char *kwnames[] = {
35151 (char *) "self",(char *) "window", NULL
35152 };
35153
35154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35157 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35159 {
35160 PyThreadState* __tstate = wxPyBeginAllowThreads();
35161 (arg1)->SetSizeHints(arg2);
35162
35163 wxPyEndAllowThreads(__tstate);
35164 if (PyErr_Occurred()) SWIG_fail;
35165 }
35166 Py_INCREF(Py_None); resultobj = Py_None;
35167 return resultobj;
35168 fail:
35169 return NULL;
35170}
35171
35172
35173static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
35174 PyObject *resultobj;
35175 wxSizer *arg1 = (wxSizer *) 0 ;
35176 wxWindow *arg2 = (wxWindow *) 0 ;
35177 PyObject * obj0 = 0 ;
35178 PyObject * obj1 = 0 ;
35179 char *kwnames[] = {
35180 (char *) "self",(char *) "window", NULL
35181 };
35182
35183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35186 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35188 {
35189 PyThreadState* __tstate = wxPyBeginAllowThreads();
35190 (arg1)->SetVirtualSizeHints(arg2);
35191
35192 wxPyEndAllowThreads(__tstate);
35193 if (PyErr_Occurred()) SWIG_fail;
35194 }
35195 Py_INCREF(Py_None); resultobj = Py_None;
35196 return resultobj;
35197 fail:
35198 return NULL;
35199}
35200
35201
35202static PyObject *_wrap_Sizer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
35203 PyObject *resultobj;
35204 wxSizer *arg1 = (wxSizer *) 0 ;
e811c8ce 35205 bool arg2 = (bool) False ;
d14a1e28
RD
35206 PyObject * obj0 = 0 ;
35207 PyObject * obj1 = 0 ;
35208 char *kwnames[] = {
35209 (char *) "self",(char *) "delete_windows", NULL
35210 };
35211
35212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 35215 if (obj1) {
15afbcd0
RD
35216 arg2 = (bool) SWIG_AsBool(obj1);
35217 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35218 }
35219 {
35220 PyThreadState* __tstate = wxPyBeginAllowThreads();
35221 (arg1)->Clear(arg2);
35222
35223 wxPyEndAllowThreads(__tstate);
35224 if (PyErr_Occurred()) SWIG_fail;
35225 }
35226 Py_INCREF(Py_None); resultobj = Py_None;
35227 return resultobj;
35228 fail:
35229 return NULL;
35230}
35231
35232
35233static PyObject *_wrap_Sizer_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
35234 PyObject *resultobj;
35235 wxSizer *arg1 = (wxSizer *) 0 ;
35236 PyObject * obj0 = 0 ;
35237 char *kwnames[] = {
35238 (char *) "self", NULL
35239 };
35240
35241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
15afbcd0
RD
35242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35244 {
35245 PyThreadState* __tstate = wxPyBeginAllowThreads();
35246 (arg1)->DeleteWindows();
35247
35248 wxPyEndAllowThreads(__tstate);
35249 if (PyErr_Occurred()) SWIG_fail;
35250 }
35251 Py_INCREF(Py_None); resultobj = Py_None;
35252 return resultobj;
35253 fail:
35254 return NULL;
35255}
35256
35257
35258static PyObject *_wrap_Sizer_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
35259 PyObject *resultobj;
35260 wxSizer *arg1 = (wxSizer *) 0 ;
35261 PyObject *result;
35262 PyObject * obj0 = 0 ;
35263 char *kwnames[] = {
35264 (char *) "self", NULL
35265 };
35266
35267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
15afbcd0
RD
35268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35270 {
35271 PyThreadState* __tstate = wxPyBeginAllowThreads();
35272 result = (PyObject *)wxSizer_GetChildren(arg1);
35273
35274 wxPyEndAllowThreads(__tstate);
35275 if (PyErr_Occurred()) SWIG_fail;
35276 }
35277 resultobj = result;
35278 return resultobj;
35279 fail:
35280 return NULL;
35281}
35282
35283
35284static PyObject *_wrap_Sizer_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
35285 PyObject *resultobj;
35286 wxSizer *arg1 = (wxSizer *) 0 ;
35287 PyObject *arg2 = (PyObject *) 0 ;
e811c8ce 35288 bool arg3 = (bool) True ;
d14a1e28
RD
35289 PyObject * obj0 = 0 ;
35290 PyObject * obj1 = 0 ;
35291 PyObject * obj2 = 0 ;
35292 char *kwnames[] = {
35293 (char *) "self",(char *) "item",(char *) "show", NULL
35294 };
35295
35296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Sizer_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
35297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35299 arg2 = obj1;
35300 if (obj2) {
15afbcd0
RD
35301 arg3 = (bool) SWIG_AsBool(obj2);
35302 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35303 }
35304 {
35305 PyThreadState* __tstate = wxPyBeginAllowThreads();
35306 wxSizer_Show(arg1,arg2,arg3);
35307
35308 wxPyEndAllowThreads(__tstate);
35309 if (PyErr_Occurred()) SWIG_fail;
35310 }
35311 Py_INCREF(Py_None); resultobj = Py_None;
35312 return resultobj;
35313 fail:
35314 return NULL;
35315}
35316
35317
35318static PyObject *_wrap_Sizer_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
35319 PyObject *resultobj;
35320 wxSizer *arg1 = (wxSizer *) 0 ;
35321 PyObject *arg2 = (PyObject *) 0 ;
35322 PyObject * obj0 = 0 ;
35323 PyObject * obj1 = 0 ;
35324 char *kwnames[] = {
35325 (char *) "self",(char *) "item", NULL
35326 };
35327
35328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Hide",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35331 arg2 = obj1;
35332 {
35333 PyThreadState* __tstate = wxPyBeginAllowThreads();
35334 wxSizer_Hide(arg1,arg2);
35335
35336 wxPyEndAllowThreads(__tstate);
35337 if (PyErr_Occurred()) SWIG_fail;
35338 }
35339 Py_INCREF(Py_None); resultobj = Py_None;
35340 return resultobj;
35341 fail:
35342 return NULL;
35343}
35344
35345
35346static PyObject *_wrap_Sizer_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
35347 PyObject *resultobj;
35348 wxSizer *arg1 = (wxSizer *) 0 ;
35349 PyObject *arg2 = (PyObject *) 0 ;
35350 bool result;
35351 PyObject * obj0 = 0 ;
35352 PyObject * obj1 = 0 ;
35353 char *kwnames[] = {
35354 (char *) "self",(char *) "item", NULL
35355 };
35356
35357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35360 arg2 = obj1;
35361 {
35362 PyThreadState* __tstate = wxPyBeginAllowThreads();
35363 result = (bool)wxSizer_IsShown(arg1,arg2);
35364
35365 wxPyEndAllowThreads(__tstate);
35366 if (PyErr_Occurred()) SWIG_fail;
35367 }
4f89f6a3
RD
35368 {
35369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35370 }
d14a1e28
RD
35371 return resultobj;
35372 fail:
35373 return NULL;
35374}
35375
35376
35377static PyObject *_wrap_Sizer_ShowItems(PyObject *self, PyObject *args, PyObject *kwargs) {
35378 PyObject *resultobj;
35379 wxSizer *arg1 = (wxSizer *) 0 ;
35380 bool arg2 ;
35381 PyObject * obj0 = 0 ;
35382 PyObject * obj1 = 0 ;
35383 char *kwnames[] = {
35384 (char *) "self",(char *) "show", NULL
35385 };
35386
35387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35390 arg2 = (bool) SWIG_AsBool(obj1);
35391 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35392 {
35393 PyThreadState* __tstate = wxPyBeginAllowThreads();
35394 (arg1)->ShowItems(arg2);
35395
35396 wxPyEndAllowThreads(__tstate);
35397 if (PyErr_Occurred()) SWIG_fail;
35398 }
35399 Py_INCREF(Py_None); resultobj = Py_None;
35400 return resultobj;
35401 fail:
35402 return NULL;
35403}
35404
35405
35406static PyObject * Sizer_swigregister(PyObject *self, PyObject *args) {
35407 PyObject *obj;
35408 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35409 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
35410 Py_INCREF(obj);
35411 return Py_BuildValue((char *)"");
35412}
35413static PyObject *_wrap_new_PySizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35414 PyObject *resultobj;
35415 wxPySizer *result;
35416 char *kwnames[] = {
35417 NULL
35418 };
35419
35420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
35421 {
35422 PyThreadState* __tstate = wxPyBeginAllowThreads();
35423 result = (wxPySizer *)new wxPySizer();
35424
35425 wxPyEndAllowThreads(__tstate);
35426 if (PyErr_Occurred()) SWIG_fail;
35427 }
15afbcd0 35428 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPySizer, 1);
d14a1e28
RD
35429 return resultobj;
35430 fail:
35431 return NULL;
35432}
35433
35434
35435static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
35436 PyObject *resultobj;
35437 wxPySizer *arg1 = (wxPySizer *) 0 ;
35438 PyObject *arg2 = (PyObject *) 0 ;
35439 PyObject *arg3 = (PyObject *) 0 ;
35440 PyObject * obj0 = 0 ;
35441 PyObject * obj1 = 0 ;
35442 PyObject * obj2 = 0 ;
35443 char *kwnames[] = {
35444 (char *) "self",(char *) "self",(char *) "_class", NULL
35445 };
35446
35447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
35448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPySizer,
35449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35450 arg2 = obj1;
35451 arg3 = obj2;
35452 {
35453 PyThreadState* __tstate = wxPyBeginAllowThreads();
35454 (arg1)->_setCallbackInfo(arg2,arg3);
35455
35456 wxPyEndAllowThreads(__tstate);
35457 if (PyErr_Occurred()) SWIG_fail;
35458 }
35459 Py_INCREF(Py_None); resultobj = Py_None;
35460 return resultobj;
35461 fail:
35462 return NULL;
35463}
35464
35465
35466static PyObject * PySizer_swigregister(PyObject *self, PyObject *args) {
35467 PyObject *obj;
35468 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35469 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
35470 Py_INCREF(obj);
35471 return Py_BuildValue((char *)"");
35472}
35473static PyObject *_wrap_new_BoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35474 PyObject *resultobj;
35475 int arg1 = (int) wxHORIZONTAL ;
35476 wxBoxSizer *result;
994141e6 35477 PyObject * obj0 = 0 ;
d14a1e28
RD
35478 char *kwnames[] = {
35479 (char *) "orient", NULL
35480 };
35481
994141e6
RD
35482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BoxSizer",kwnames,&obj0)) goto fail;
35483 if (obj0) {
15afbcd0
RD
35484 arg1 = (int) SWIG_AsInt(obj0);
35485 if (PyErr_Occurred()) SWIG_fail;
994141e6 35486 }
d14a1e28
RD
35487 {
35488 PyThreadState* __tstate = wxPyBeginAllowThreads();
35489 result = (wxBoxSizer *)new wxBoxSizer(arg1);
35490
35491 wxPyEndAllowThreads(__tstate);
35492 if (PyErr_Occurred()) SWIG_fail;
35493 }
15afbcd0 35494 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBoxSizer, 1);
d14a1e28
RD
35495 return resultobj;
35496 fail:
35497 return NULL;
35498}
35499
35500
35501static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
35502 PyObject *resultobj;
35503 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
35504 int result;
35505 PyObject * obj0 = 0 ;
35506 char *kwnames[] = {
35507 (char *) "self", NULL
35508 };
35509
35510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
35511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
35512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35513 {
35514 PyThreadState* __tstate = wxPyBeginAllowThreads();
35515 result = (int)(arg1)->GetOrientation();
35516
35517 wxPyEndAllowThreads(__tstate);
35518 if (PyErr_Occurred()) SWIG_fail;
35519 }
15afbcd0 35520 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35521 return resultobj;
35522 fail:
35523 return NULL;
35524}
35525
35526
35527static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
35528 PyObject *resultobj;
35529 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
35530 int arg2 ;
35531 PyObject * obj0 = 0 ;
994141e6 35532 PyObject * obj1 = 0 ;
d14a1e28
RD
35533 char *kwnames[] = {
35534 (char *) "self",(char *) "orient", NULL
35535 };
35536
994141e6 35537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BoxSizer_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
35539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35540 arg2 = (int) SWIG_AsInt(obj1);
35541 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35542 {
35543 PyThreadState* __tstate = wxPyBeginAllowThreads();
35544 (arg1)->SetOrientation(arg2);
35545
35546 wxPyEndAllowThreads(__tstate);
35547 if (PyErr_Occurred()) SWIG_fail;
35548 }
35549 Py_INCREF(Py_None); resultobj = Py_None;
35550 return resultobj;
35551 fail:
35552 return NULL;
35553}
35554
35555
35556static PyObject *_wrap_BoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
35557 PyObject *resultobj;
35558 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
35559 PyObject * obj0 = 0 ;
35560 char *kwnames[] = {
35561 (char *) "self", NULL
35562 };
35563
35564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
35565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
35566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35567 {
35568 PyThreadState* __tstate = wxPyBeginAllowThreads();
35569 (arg1)->RecalcSizes();
35570
35571 wxPyEndAllowThreads(__tstate);
35572 if (PyErr_Occurred()) SWIG_fail;
35573 }
35574 Py_INCREF(Py_None); resultobj = Py_None;
35575 return resultobj;
35576 fail:
35577 return NULL;
35578}
35579
35580
35581static PyObject *_wrap_BoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
35582 PyObject *resultobj;
35583 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
35584 wxSize result;
35585 PyObject * obj0 = 0 ;
35586 char *kwnames[] = {
35587 (char *) "self", NULL
35588 };
35589
35590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
35591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
35592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35593 {
35594 PyThreadState* __tstate = wxPyBeginAllowThreads();
35595 result = (arg1)->CalcMin();
35596
35597 wxPyEndAllowThreads(__tstate);
35598 if (PyErr_Occurred()) SWIG_fail;
35599 }
35600 {
35601 wxSize * resultptr;
35602 resultptr = new wxSize((wxSize &) result);
15afbcd0 35603 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35604 }
35605 return resultobj;
35606 fail:
35607 return NULL;
35608}
35609
35610
35611static PyObject * BoxSizer_swigregister(PyObject *self, PyObject *args) {
35612 PyObject *obj;
35613 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35614 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
35615 Py_INCREF(obj);
35616 return Py_BuildValue((char *)"");
35617}
35618static PyObject *_wrap_new_StaticBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35619 PyObject *resultobj;
35620 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
35621 int arg2 = (int) wxHORIZONTAL ;
35622 wxStaticBoxSizer *result;
35623 PyObject * obj0 = 0 ;
994141e6 35624 PyObject * obj1 = 0 ;
d14a1e28
RD
35625 char *kwnames[] = {
35626 (char *) "box",(char *) "orient", NULL
35627 };
35628
994141e6 35629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_StaticBoxSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
35631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 35632 if (obj1) {
15afbcd0
RD
35633 arg2 = (int) SWIG_AsInt(obj1);
35634 if (PyErr_Occurred()) SWIG_fail;
994141e6 35635 }
d14a1e28
RD
35636 {
35637 PyThreadState* __tstate = wxPyBeginAllowThreads();
35638 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
35639
35640 wxPyEndAllowThreads(__tstate);
35641 if (PyErr_Occurred()) SWIG_fail;
35642 }
15afbcd0 35643 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBoxSizer, 1);
d14a1e28
RD
35644 return resultobj;
35645 fail:
35646 return NULL;
35647}
35648
35649
35650static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
35651 PyObject *resultobj;
35652 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
35653 wxStaticBox *result;
35654 PyObject * obj0 = 0 ;
35655 char *kwnames[] = {
35656 (char *) "self", NULL
35657 };
35658
35659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
15afbcd0
RD
35660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
35661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35662 {
35663 PyThreadState* __tstate = wxPyBeginAllowThreads();
35664 result = (wxStaticBox *)(arg1)->GetStaticBox();
35665
35666 wxPyEndAllowThreads(__tstate);
35667 if (PyErr_Occurred()) SWIG_fail;
35668 }
35669 {
35670 resultobj = wxPyMake_wxObject(result);
35671 }
35672 return resultobj;
35673 fail:
35674 return NULL;
35675}
35676
35677
35678static PyObject *_wrap_StaticBoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
35679 PyObject *resultobj;
35680 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
35681 PyObject * obj0 = 0 ;
35682 char *kwnames[] = {
35683 (char *) "self", NULL
35684 };
35685
35686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
35687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
35688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35689 {
35690 PyThreadState* __tstate = wxPyBeginAllowThreads();
35691 (arg1)->RecalcSizes();
35692
35693 wxPyEndAllowThreads(__tstate);
35694 if (PyErr_Occurred()) SWIG_fail;
35695 }
35696 Py_INCREF(Py_None); resultobj = Py_None;
35697 return resultobj;
35698 fail:
35699 return NULL;
35700}
35701
35702
35703static PyObject *_wrap_StaticBoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
35704 PyObject *resultobj;
35705 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
35706 wxSize result;
35707 PyObject * obj0 = 0 ;
35708 char *kwnames[] = {
35709 (char *) "self", NULL
35710 };
35711
35712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
35713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
35714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35715 {
35716 PyThreadState* __tstate = wxPyBeginAllowThreads();
35717 result = (arg1)->CalcMin();
35718
35719 wxPyEndAllowThreads(__tstate);
35720 if (PyErr_Occurred()) SWIG_fail;
35721 }
35722 {
35723 wxSize * resultptr;
35724 resultptr = new wxSize((wxSize &) result);
15afbcd0 35725 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35726 }
35727 return resultobj;
35728 fail:
35729 return NULL;
35730}
35731
35732
35733static PyObject * StaticBoxSizer_swigregister(PyObject *self, PyObject *args) {
35734 PyObject *obj;
35735 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35736 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
35737 Py_INCREF(obj);
35738 return Py_BuildValue((char *)"");
35739}
35740static PyObject *_wrap_new_GridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35741 PyObject *resultobj;
35742 int arg1 = (int) 1 ;
35743 int arg2 = (int) 0 ;
35744 int arg3 = (int) 0 ;
35745 int arg4 = (int) 0 ;
35746 wxGridSizer *result;
994141e6
RD
35747 PyObject * obj0 = 0 ;
35748 PyObject * obj1 = 0 ;
35749 PyObject * obj2 = 0 ;
35750 PyObject * obj3 = 0 ;
d14a1e28
RD
35751 char *kwnames[] = {
35752 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35753 };
35754
994141e6
RD
35755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_GridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
35756 if (obj0) {
15afbcd0
RD
35757 arg1 = (int) SWIG_AsInt(obj0);
35758 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35759 }
35760 if (obj1) {
15afbcd0
RD
35761 arg2 = (int) SWIG_AsInt(obj1);
35762 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35763 }
35764 if (obj2) {
15afbcd0
RD
35765 arg3 = (int) SWIG_AsInt(obj2);
35766 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35767 }
35768 if (obj3) {
15afbcd0
RD
35769 arg4 = (int) SWIG_AsInt(obj3);
35770 if (PyErr_Occurred()) SWIG_fail;
994141e6 35771 }
d14a1e28
RD
35772 {
35773 PyThreadState* __tstate = wxPyBeginAllowThreads();
35774 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
35775
35776 wxPyEndAllowThreads(__tstate);
35777 if (PyErr_Occurred()) SWIG_fail;
35778 }
15afbcd0 35779 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizer, 1);
d14a1e28
RD
35780 return resultobj;
35781 fail:
35782 return NULL;
35783}
35784
35785
35786static PyObject *_wrap_GridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
35787 PyObject *resultobj;
35788 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35789 PyObject * obj0 = 0 ;
35790 char *kwnames[] = {
35791 (char *) "self", NULL
35792 };
35793
35794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
35795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35797 {
35798 PyThreadState* __tstate = wxPyBeginAllowThreads();
35799 (arg1)->RecalcSizes();
35800
35801 wxPyEndAllowThreads(__tstate);
35802 if (PyErr_Occurred()) SWIG_fail;
35803 }
35804 Py_INCREF(Py_None); resultobj = Py_None;
35805 return resultobj;
35806 fail:
35807 return NULL;
35808}
35809
35810
35811static PyObject *_wrap_GridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
35812 PyObject *resultobj;
35813 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35814 wxSize result;
35815 PyObject * obj0 = 0 ;
35816 char *kwnames[] = {
35817 (char *) "self", NULL
35818 };
35819
35820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
35821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35823 {
35824 PyThreadState* __tstate = wxPyBeginAllowThreads();
35825 result = (arg1)->CalcMin();
35826
35827 wxPyEndAllowThreads(__tstate);
35828 if (PyErr_Occurred()) SWIG_fail;
35829 }
35830 {
35831 wxSize * resultptr;
35832 resultptr = new wxSize((wxSize &) result);
15afbcd0 35833 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35834 }
35835 return resultobj;
35836 fail:
35837 return NULL;
35838}
35839
35840
35841static PyObject *_wrap_GridSizer_SetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
35842 PyObject *resultobj;
35843 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35844 int arg2 ;
35845 PyObject * obj0 = 0 ;
994141e6 35846 PyObject * obj1 = 0 ;
d14a1e28
RD
35847 char *kwnames[] = {
35848 (char *) "self",(char *) "cols", NULL
35849 };
35850
994141e6 35851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetCols",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35854 arg2 = (int) SWIG_AsInt(obj1);
35855 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35856 {
35857 PyThreadState* __tstate = wxPyBeginAllowThreads();
35858 (arg1)->SetCols(arg2);
35859
35860 wxPyEndAllowThreads(__tstate);
35861 if (PyErr_Occurred()) SWIG_fail;
35862 }
35863 Py_INCREF(Py_None); resultobj = Py_None;
35864 return resultobj;
35865 fail:
35866 return NULL;
35867}
35868
35869
35870static PyObject *_wrap_GridSizer_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
35871 PyObject *resultobj;
35872 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35873 int arg2 ;
35874 PyObject * obj0 = 0 ;
994141e6 35875 PyObject * obj1 = 0 ;
d14a1e28
RD
35876 char *kwnames[] = {
35877 (char *) "self",(char *) "rows", NULL
35878 };
35879
994141e6 35880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetRows",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35883 arg2 = (int) SWIG_AsInt(obj1);
35884 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35885 {
35886 PyThreadState* __tstate = wxPyBeginAllowThreads();
35887 (arg1)->SetRows(arg2);
35888
35889 wxPyEndAllowThreads(__tstate);
35890 if (PyErr_Occurred()) SWIG_fail;
35891 }
35892 Py_INCREF(Py_None); resultobj = Py_None;
35893 return resultobj;
35894 fail:
35895 return NULL;
35896}
35897
35898
35899static PyObject *_wrap_GridSizer_SetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
35900 PyObject *resultobj;
35901 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35902 int arg2 ;
35903 PyObject * obj0 = 0 ;
994141e6 35904 PyObject * obj1 = 0 ;
d14a1e28
RD
35905 char *kwnames[] = {
35906 (char *) "self",(char *) "gap", NULL
35907 };
35908
994141e6 35909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetVGap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35912 arg2 = (int) SWIG_AsInt(obj1);
35913 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35914 {
35915 PyThreadState* __tstate = wxPyBeginAllowThreads();
35916 (arg1)->SetVGap(arg2);
35917
35918 wxPyEndAllowThreads(__tstate);
35919 if (PyErr_Occurred()) SWIG_fail;
35920 }
35921 Py_INCREF(Py_None); resultobj = Py_None;
35922 return resultobj;
35923 fail:
35924 return NULL;
35925}
35926
35927
35928static PyObject *_wrap_GridSizer_SetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
35929 PyObject *resultobj;
35930 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35931 int arg2 ;
35932 PyObject * obj0 = 0 ;
994141e6 35933 PyObject * obj1 = 0 ;
d14a1e28
RD
35934 char *kwnames[] = {
35935 (char *) "self",(char *) "gap", NULL
35936 };
35937
994141e6 35938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetHGap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35941 arg2 = (int) SWIG_AsInt(obj1);
35942 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35943 {
35944 PyThreadState* __tstate = wxPyBeginAllowThreads();
35945 (arg1)->SetHGap(arg2);
35946
35947 wxPyEndAllowThreads(__tstate);
35948 if (PyErr_Occurred()) SWIG_fail;
35949 }
35950 Py_INCREF(Py_None); resultobj = Py_None;
35951 return resultobj;
35952 fail:
35953 return NULL;
35954}
35955
35956
35957static PyObject *_wrap_GridSizer_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
35958 PyObject *resultobj;
35959 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35960 int result;
35961 PyObject * obj0 = 0 ;
35962 char *kwnames[] = {
35963 (char *) "self", NULL
35964 };
35965
35966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
15afbcd0
RD
35967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35969 {
35970 PyThreadState* __tstate = wxPyBeginAllowThreads();
35971 result = (int)(arg1)->GetCols();
35972
35973 wxPyEndAllowThreads(__tstate);
35974 if (PyErr_Occurred()) SWIG_fail;
35975 }
15afbcd0 35976 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35977 return resultobj;
35978 fail:
35979 return NULL;
35980}
35981
35982
35983static PyObject *_wrap_GridSizer_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
35984 PyObject *resultobj;
35985 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35986 int result;
35987 PyObject * obj0 = 0 ;
35988 char *kwnames[] = {
35989 (char *) "self", NULL
35990 };
35991
35992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
15afbcd0
RD
35993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35995 {
35996 PyThreadState* __tstate = wxPyBeginAllowThreads();
35997 result = (int)(arg1)->GetRows();
35998
35999 wxPyEndAllowThreads(__tstate);
36000 if (PyErr_Occurred()) SWIG_fail;
36001 }
15afbcd0 36002 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36003 return resultobj;
36004 fail:
36005 return NULL;
36006}
36007
36008
36009static PyObject *_wrap_GridSizer_GetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36010 PyObject *resultobj;
36011 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36012 int result;
36013 PyObject * obj0 = 0 ;
36014 char *kwnames[] = {
36015 (char *) "self", NULL
36016 };
36017
36018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
15afbcd0
RD
36019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36021 {
36022 PyThreadState* __tstate = wxPyBeginAllowThreads();
36023 result = (int)(arg1)->GetVGap();
36024
36025 wxPyEndAllowThreads(__tstate);
36026 if (PyErr_Occurred()) SWIG_fail;
36027 }
15afbcd0 36028 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36029 return resultobj;
36030 fail:
36031 return NULL;
36032}
36033
36034
36035static PyObject *_wrap_GridSizer_GetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36036 PyObject *resultobj;
36037 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36038 int result;
36039 PyObject * obj0 = 0 ;
36040 char *kwnames[] = {
36041 (char *) "self", NULL
36042 };
36043
36044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
15afbcd0
RD
36045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36047 {
36048 PyThreadState* __tstate = wxPyBeginAllowThreads();
36049 result = (int)(arg1)->GetHGap();
36050
36051 wxPyEndAllowThreads(__tstate);
36052 if (PyErr_Occurred()) SWIG_fail;
36053 }
15afbcd0 36054 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36055 return resultobj;
36056 fail:
36057 return NULL;
36058}
36059
36060
36061static PyObject * GridSizer_swigregister(PyObject *self, PyObject *args) {
36062 PyObject *obj;
36063 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36064 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
36065 Py_INCREF(obj);
36066 return Py_BuildValue((char *)"");
36067}
36068static PyObject *_wrap_new_FlexGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
36069 PyObject *resultobj;
36070 int arg1 = (int) 1 ;
36071 int arg2 = (int) 0 ;
36072 int arg3 = (int) 0 ;
36073 int arg4 = (int) 0 ;
36074 wxFlexGridSizer *result;
994141e6
RD
36075 PyObject * obj0 = 0 ;
36076 PyObject * obj1 = 0 ;
36077 PyObject * obj2 = 0 ;
36078 PyObject * obj3 = 0 ;
d14a1e28
RD
36079 char *kwnames[] = {
36080 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36081 };
36082
994141e6
RD
36083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_FlexGridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36084 if (obj0) {
15afbcd0
RD
36085 arg1 = (int) SWIG_AsInt(obj0);
36086 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36087 }
36088 if (obj1) {
15afbcd0
RD
36089 arg2 = (int) SWIG_AsInt(obj1);
36090 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36091 }
36092 if (obj2) {
15afbcd0
RD
36093 arg3 = (int) SWIG_AsInt(obj2);
36094 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36095 }
36096 if (obj3) {
15afbcd0
RD
36097 arg4 = (int) SWIG_AsInt(obj3);
36098 if (PyErr_Occurred()) SWIG_fail;
994141e6 36099 }
d14a1e28
RD
36100 {
36101 PyThreadState* __tstate = wxPyBeginAllowThreads();
36102 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
36103
36104 wxPyEndAllowThreads(__tstate);
36105 if (PyErr_Occurred()) SWIG_fail;
36106 }
15afbcd0 36107 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFlexGridSizer, 1);
d14a1e28
RD
36108 return resultobj;
36109 fail:
36110 return NULL;
36111}
36112
36113
36114static PyObject *_wrap_FlexGridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
36115 PyObject *resultobj;
36116 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36117 PyObject * obj0 = 0 ;
36118 char *kwnames[] = {
36119 (char *) "self", NULL
36120 };
36121
36122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
36123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36125 {
36126 PyThreadState* __tstate = wxPyBeginAllowThreads();
36127 (arg1)->RecalcSizes();
36128
36129 wxPyEndAllowThreads(__tstate);
36130 if (PyErr_Occurred()) SWIG_fail;
36131 }
36132 Py_INCREF(Py_None); resultobj = Py_None;
36133 return resultobj;
36134 fail:
36135 return NULL;
36136}
36137
36138
36139static PyObject *_wrap_FlexGridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
36140 PyObject *resultobj;
36141 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36142 wxSize result;
36143 PyObject * obj0 = 0 ;
36144 char *kwnames[] = {
36145 (char *) "self", NULL
36146 };
36147
36148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
36149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36151 {
36152 PyThreadState* __tstate = wxPyBeginAllowThreads();
36153 result = (arg1)->CalcMin();
36154
36155 wxPyEndAllowThreads(__tstate);
36156 if (PyErr_Occurred()) SWIG_fail;
36157 }
36158 {
36159 wxSize * resultptr;
36160 resultptr = new wxSize((wxSize &) result);
15afbcd0 36161 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
36162 }
36163 return resultobj;
36164 fail:
36165 return NULL;
36166}
36167
36168
36169static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36170 PyObject *resultobj;
36171 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36172 size_t arg2 ;
36173 int arg3 = (int) 0 ;
36174 PyObject * obj0 = 0 ;
36175 PyObject * obj1 = 0 ;
994141e6 36176 PyObject * obj2 = 0 ;
d14a1e28
RD
36177 char *kwnames[] = {
36178 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36179 };
36180
994141e6 36181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
36182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36184 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36185 if (PyErr_Occurred()) SWIG_fail;
994141e6 36186 if (obj2) {
15afbcd0
RD
36187 arg3 = (int) SWIG_AsInt(obj2);
36188 if (PyErr_Occurred()) SWIG_fail;
994141e6 36189 }
d14a1e28
RD
36190 {
36191 PyThreadState* __tstate = wxPyBeginAllowThreads();
36192 (arg1)->AddGrowableRow(arg2,arg3);
36193
36194 wxPyEndAllowThreads(__tstate);
36195 if (PyErr_Occurred()) SWIG_fail;
36196 }
36197 Py_INCREF(Py_None); resultobj = Py_None;
36198 return resultobj;
36199 fail:
36200 return NULL;
36201}
36202
36203
36204static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36205 PyObject *resultobj;
36206 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36207 size_t arg2 ;
36208 PyObject * obj0 = 0 ;
36209 PyObject * obj1 = 0 ;
36210 char *kwnames[] = {
36211 (char *) "self",(char *) "idx", NULL
36212 };
36213
36214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36217 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36218 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36219 {
36220 PyThreadState* __tstate = wxPyBeginAllowThreads();
36221 (arg1)->RemoveGrowableRow(arg2);
36222
36223 wxPyEndAllowThreads(__tstate);
36224 if (PyErr_Occurred()) SWIG_fail;
36225 }
36226 Py_INCREF(Py_None); resultobj = Py_None;
36227 return resultobj;
36228 fail:
36229 return NULL;
36230}
36231
36232
36233static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36234 PyObject *resultobj;
36235 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36236 size_t arg2 ;
36237 int arg3 = (int) 0 ;
36238 PyObject * obj0 = 0 ;
36239 PyObject * obj1 = 0 ;
994141e6 36240 PyObject * obj2 = 0 ;
d14a1e28
RD
36241 char *kwnames[] = {
36242 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36243 };
36244
994141e6 36245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
36246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36248 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36249 if (PyErr_Occurred()) SWIG_fail;
994141e6 36250 if (obj2) {
15afbcd0
RD
36251 arg3 = (int) SWIG_AsInt(obj2);
36252 if (PyErr_Occurred()) SWIG_fail;
994141e6 36253 }
d14a1e28
RD
36254 {
36255 PyThreadState* __tstate = wxPyBeginAllowThreads();
36256 (arg1)->AddGrowableCol(arg2,arg3);
36257
36258 wxPyEndAllowThreads(__tstate);
36259 if (PyErr_Occurred()) SWIG_fail;
36260 }
36261 Py_INCREF(Py_None); resultobj = Py_None;
36262 return resultobj;
36263 fail:
36264 return NULL;
36265}
36266
36267
36268static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36269 PyObject *resultobj;
36270 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36271 size_t arg2 ;
36272 PyObject * obj0 = 0 ;
36273 PyObject * obj1 = 0 ;
36274 char *kwnames[] = {
36275 (char *) "self",(char *) "idx", NULL
36276 };
36277
36278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36281 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36282 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36283 {
36284 PyThreadState* __tstate = wxPyBeginAllowThreads();
36285 (arg1)->RemoveGrowableCol(arg2);
36286
36287 wxPyEndAllowThreads(__tstate);
36288 if (PyErr_Occurred()) SWIG_fail;
36289 }
36290 Py_INCREF(Py_None); resultobj = Py_None;
36291 return resultobj;
36292 fail:
36293 return NULL;
36294}
36295
36296
36297static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
36298 PyObject *resultobj;
36299 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36300 int arg2 ;
36301 PyObject * obj0 = 0 ;
994141e6 36302 PyObject * obj1 = 0 ;
d14a1e28
RD
36303 char *kwnames[] = {
36304 (char *) "self",(char *) "direction", NULL
36305 };
36306
994141e6 36307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36310 arg2 = (int) SWIG_AsInt(obj1);
36311 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36312 {
36313 PyThreadState* __tstate = wxPyBeginAllowThreads();
36314 (arg1)->SetFlexibleDirection(arg2);
36315
36316 wxPyEndAllowThreads(__tstate);
36317 if (PyErr_Occurred()) SWIG_fail;
36318 }
36319 Py_INCREF(Py_None); resultobj = Py_None;
36320 return resultobj;
36321 fail:
36322 return NULL;
36323}
36324
36325
36326static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
36327 PyObject *resultobj;
36328 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36329 int result;
36330 PyObject * obj0 = 0 ;
36331 char *kwnames[] = {
36332 (char *) "self", NULL
36333 };
36334
36335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
15afbcd0
RD
36336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36338 {
36339 PyThreadState* __tstate = wxPyBeginAllowThreads();
36340 result = (int)(arg1)->GetFlexibleDirection();
36341
36342 wxPyEndAllowThreads(__tstate);
36343 if (PyErr_Occurred()) SWIG_fail;
36344 }
15afbcd0 36345 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36346 return resultobj;
36347 fail:
36348 return NULL;
36349}
36350
36351
36352static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
36353 PyObject *resultobj;
36354 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36355 int arg2 ;
36356 PyObject * obj0 = 0 ;
994141e6 36357 PyObject * obj1 = 0 ;
d14a1e28
RD
36358 char *kwnames[] = {
36359 (char *) "self",(char *) "mode", NULL
36360 };
36361
994141e6 36362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36365 arg2 = (wxFlexSizerGrowMode) SWIG_AsInt(obj1);
36366 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36367 {
36368 PyThreadState* __tstate = wxPyBeginAllowThreads();
36369 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
36370
36371 wxPyEndAllowThreads(__tstate);
36372 if (PyErr_Occurred()) SWIG_fail;
36373 }
36374 Py_INCREF(Py_None); resultobj = Py_None;
36375 return resultobj;
36376 fail:
36377 return NULL;
36378}
36379
36380
36381static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
36382 PyObject *resultobj;
36383 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36384 int result;
36385 PyObject * obj0 = 0 ;
36386 char *kwnames[] = {
36387 (char *) "self", NULL
36388 };
36389
36390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
36391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36393 {
36394 PyThreadState* __tstate = wxPyBeginAllowThreads();
36395 result = (int)(arg1)->GetNonFlexibleGrowMode();
36396
36397 wxPyEndAllowThreads(__tstate);
36398 if (PyErr_Occurred()) SWIG_fail;
36399 }
15afbcd0 36400 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36401 return resultobj;
36402 fail:
36403 return NULL;
36404}
36405
36406
e811c8ce
RD
36407static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *self, PyObject *args, PyObject *kwargs) {
36408 PyObject *resultobj;
36409 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36410 wxArrayInt *result;
36411 PyObject * obj0 = 0 ;
36412 char *kwnames[] = {
36413 (char *) "self", NULL
36414 };
36415
36416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
15afbcd0
RD
36417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
36419 {
36420 PyThreadState* __tstate = wxPyBeginAllowThreads();
36421 {
36422 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
36423 result = (wxArrayInt *) &_result_ref;
36424 }
36425
36426 wxPyEndAllowThreads(__tstate);
36427 if (PyErr_Occurred()) SWIG_fail;
36428 }
36429 {
36430 resultobj = PyList_New(0);
36431 size_t idx;
36432 for (idx = 0; idx < result->GetCount(); idx += 1) {
36433 PyObject* val = PyInt_FromLong( result->Item(idx) );
36434 PyList_Append(resultobj, val);
36435 Py_DECREF(val);
36436 }
36437 }
36438 return resultobj;
36439 fail:
36440 return NULL;
36441}
36442
36443
36444static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
36445 PyObject *resultobj;
36446 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36447 wxArrayInt *result;
36448 PyObject * obj0 = 0 ;
36449 char *kwnames[] = {
36450 (char *) "self", NULL
36451 };
36452
36453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
15afbcd0
RD
36454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
36456 {
36457 PyThreadState* __tstate = wxPyBeginAllowThreads();
36458 {
36459 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
36460 result = (wxArrayInt *) &_result_ref;
36461 }
36462
36463 wxPyEndAllowThreads(__tstate);
36464 if (PyErr_Occurred()) SWIG_fail;
36465 }
36466 {
36467 resultobj = PyList_New(0);
36468 size_t idx;
36469 for (idx = 0; idx < result->GetCount(); idx += 1) {
36470 PyObject* val = PyInt_FromLong( result->Item(idx) );
36471 PyList_Append(resultobj, val);
36472 Py_DECREF(val);
36473 }
36474 }
36475 return resultobj;
36476 fail:
36477 return NULL;
36478}
36479
36480
d14a1e28
RD
36481static PyObject * FlexGridSizer_swigregister(PyObject *self, PyObject *args) {
36482 PyObject *obj;
36483 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36484 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
36485 Py_INCREF(obj);
36486 return Py_BuildValue((char *)"");
36487}
36488static PyObject *_wrap_new_GBPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
36489 PyObject *resultobj;
36490 int arg1 = (int) 0 ;
36491 int arg2 = (int) 0 ;
36492 wxGBPosition *result;
994141e6
RD
36493 PyObject * obj0 = 0 ;
36494 PyObject * obj1 = 0 ;
d14a1e28
RD
36495 char *kwnames[] = {
36496 (char *) "row",(char *) "col", NULL
36497 };
36498
994141e6
RD
36499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBPosition",kwnames,&obj0,&obj1)) goto fail;
36500 if (obj0) {
15afbcd0
RD
36501 arg1 = (int) SWIG_AsInt(obj0);
36502 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36503 }
36504 if (obj1) {
15afbcd0
RD
36505 arg2 = (int) SWIG_AsInt(obj1);
36506 if (PyErr_Occurred()) SWIG_fail;
994141e6 36507 }
d14a1e28
RD
36508 {
36509 PyThreadState* __tstate = wxPyBeginAllowThreads();
36510 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
36511
36512 wxPyEndAllowThreads(__tstate);
36513 if (PyErr_Occurred()) SWIG_fail;
36514 }
15afbcd0 36515 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
36516 return resultobj;
36517 fail:
36518 return NULL;
36519}
36520
36521
36522static PyObject *_wrap_GBPosition_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36523 PyObject *resultobj;
36524 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36525 int result;
36526 PyObject * obj0 = 0 ;
36527 char *kwnames[] = {
36528 (char *) "self", NULL
36529 };
36530
36531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
36532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36534 {
36535 PyThreadState* __tstate = wxPyBeginAllowThreads();
36536 result = (int)((wxGBPosition const *)arg1)->GetRow();
36537
36538 wxPyEndAllowThreads(__tstate);
36539 if (PyErr_Occurred()) SWIG_fail;
36540 }
15afbcd0 36541 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36542 return resultobj;
36543 fail:
36544 return NULL;
36545}
36546
36547
36548static PyObject *_wrap_GBPosition_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36549 PyObject *resultobj;
36550 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36551 int result;
36552 PyObject * obj0 = 0 ;
36553 char *kwnames[] = {
36554 (char *) "self", NULL
36555 };
36556
36557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
36558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36560 {
36561 PyThreadState* __tstate = wxPyBeginAllowThreads();
36562 result = (int)((wxGBPosition const *)arg1)->GetCol();
36563
36564 wxPyEndAllowThreads(__tstate);
36565 if (PyErr_Occurred()) SWIG_fail;
36566 }
15afbcd0 36567 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36568 return resultobj;
36569 fail:
36570 return NULL;
36571}
36572
36573
36574static PyObject *_wrap_GBPosition_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36575 PyObject *resultobj;
36576 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36577 int arg2 ;
36578 PyObject * obj0 = 0 ;
994141e6 36579 PyObject * obj1 = 0 ;
d14a1e28
RD
36580 char *kwnames[] = {
36581 (char *) "self",(char *) "row", NULL
36582 };
36583
994141e6 36584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36587 arg2 = (int) SWIG_AsInt(obj1);
36588 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36589 {
36590 PyThreadState* __tstate = wxPyBeginAllowThreads();
36591 (arg1)->SetRow(arg2);
36592
36593 wxPyEndAllowThreads(__tstate);
36594 if (PyErr_Occurred()) SWIG_fail;
36595 }
36596 Py_INCREF(Py_None); resultobj = Py_None;
36597 return resultobj;
36598 fail:
36599 return NULL;
36600}
36601
36602
36603static PyObject *_wrap_GBPosition_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36604 PyObject *resultobj;
36605 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36606 int arg2 ;
36607 PyObject * obj0 = 0 ;
994141e6 36608 PyObject * obj1 = 0 ;
d14a1e28
RD
36609 char *kwnames[] = {
36610 (char *) "self",(char *) "col", NULL
36611 };
36612
994141e6 36613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36616 arg2 = (int) SWIG_AsInt(obj1);
36617 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36618 {
36619 PyThreadState* __tstate = wxPyBeginAllowThreads();
36620 (arg1)->SetCol(arg2);
36621
36622 wxPyEndAllowThreads(__tstate);
36623 if (PyErr_Occurred()) SWIG_fail;
36624 }
36625 Py_INCREF(Py_None); resultobj = Py_None;
36626 return resultobj;
36627 fail:
36628 return NULL;
36629}
36630
36631
36632static PyObject *_wrap_GBPosition___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
36633 PyObject *resultobj;
36634 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
4f89f6a3 36635 wxGBPosition *arg2 = 0 ;
d14a1e28 36636 bool result;
4f89f6a3 36637 wxGBPosition temp2 ;
d14a1e28
RD
36638 PyObject * obj0 = 0 ;
36639 PyObject * obj1 = 0 ;
36640 char *kwnames[] = {
22faec7d 36641 (char *) "self",(char *) "other", NULL
d14a1e28
RD
36642 };
36643
36644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
36647 {
36648 arg2 = &temp2;
36649 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36650 }
d14a1e28
RD
36651 {
36652 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 36653 result = (bool)(arg1)->operator ==((wxGBPosition const &)*arg2);
d14a1e28
RD
36654
36655 wxPyEndAllowThreads(__tstate);
36656 if (PyErr_Occurred()) SWIG_fail;
36657 }
4f89f6a3
RD
36658 {
36659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36660 }
d14a1e28
RD
36661 return resultobj;
36662 fail:
36663 return NULL;
36664}
36665
36666
36667static PyObject *_wrap_GBPosition___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
36668 PyObject *resultobj;
36669 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
4f89f6a3 36670 wxGBPosition *arg2 = 0 ;
d14a1e28 36671 bool result;
4f89f6a3 36672 wxGBPosition temp2 ;
d14a1e28
RD
36673 PyObject * obj0 = 0 ;
36674 PyObject * obj1 = 0 ;
36675 char *kwnames[] = {
22faec7d 36676 (char *) "self",(char *) "other", NULL
d14a1e28
RD
36677 };
36678
36679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
36682 {
36683 arg2 = &temp2;
36684 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36685 }
d14a1e28
RD
36686 {
36687 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 36688 result = (bool)(arg1)->operator !=((wxGBPosition const &)*arg2);
d14a1e28
RD
36689
36690 wxPyEndAllowThreads(__tstate);
36691 if (PyErr_Occurred()) SWIG_fail;
36692 }
4f89f6a3
RD
36693 {
36694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36695 }
d14a1e28
RD
36696 return resultobj;
36697 fail:
36698 return NULL;
36699}
36700
36701
e811c8ce
RD
36702static PyObject *_wrap_GBPosition_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
36703 PyObject *resultobj;
36704 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36705 int arg2 = (int) 0 ;
36706 int arg3 = (int) 0 ;
36707 PyObject * obj0 = 0 ;
994141e6
RD
36708 PyObject * obj1 = 0 ;
36709 PyObject * obj2 = 0 ;
e811c8ce
RD
36710 char *kwnames[] = {
36711 (char *) "self",(char *) "row",(char *) "col", NULL
36712 };
36713
994141e6 36714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBPosition_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
36715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 36717 if (obj1) {
15afbcd0
RD
36718 arg2 = (int) SWIG_AsInt(obj1);
36719 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36720 }
36721 if (obj2) {
15afbcd0
RD
36722 arg3 = (int) SWIG_AsInt(obj2);
36723 if (PyErr_Occurred()) SWIG_fail;
994141e6 36724 }
e811c8ce
RD
36725 {
36726 PyThreadState* __tstate = wxPyBeginAllowThreads();
36727 wxGBPosition_Set(arg1,arg2,arg3);
36728
36729 wxPyEndAllowThreads(__tstate);
36730 if (PyErr_Occurred()) SWIG_fail;
36731 }
36732 Py_INCREF(Py_None); resultobj = Py_None;
36733 return resultobj;
36734 fail:
36735 return NULL;
36736}
36737
36738
36739static PyObject *_wrap_GBPosition_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36740 PyObject *resultobj;
36741 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36742 PyObject *result;
36743 PyObject * obj0 = 0 ;
36744 char *kwnames[] = {
36745 (char *) "self", NULL
36746 };
36747
e811c8ce 36748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
36749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36751 {
36752 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 36753 result = (PyObject *)wxGBPosition_Get(arg1);
d14a1e28
RD
36754
36755 wxPyEndAllowThreads(__tstate);
36756 if (PyErr_Occurred()) SWIG_fail;
36757 }
36758 resultobj = result;
36759 return resultobj;
36760 fail:
36761 return NULL;
36762}
36763
36764
36765static PyObject * GBPosition_swigregister(PyObject *self, PyObject *args) {
36766 PyObject *obj;
36767 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36768 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
36769 Py_INCREF(obj);
36770 return Py_BuildValue((char *)"");
36771}
36772static PyObject *_wrap_new_GBSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
36773 PyObject *resultobj;
36774 int arg1 = (int) 1 ;
36775 int arg2 = (int) 1 ;
36776 wxGBSpan *result;
994141e6
RD
36777 PyObject * obj0 = 0 ;
36778 PyObject * obj1 = 0 ;
d14a1e28
RD
36779 char *kwnames[] = {
36780 (char *) "rowspan",(char *) "colspan", NULL
36781 };
36782
994141e6
RD
36783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBSpan",kwnames,&obj0,&obj1)) goto fail;
36784 if (obj0) {
15afbcd0
RD
36785 arg1 = (int) SWIG_AsInt(obj0);
36786 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36787 }
36788 if (obj1) {
15afbcd0
RD
36789 arg2 = (int) SWIG_AsInt(obj1);
36790 if (PyErr_Occurred()) SWIG_fail;
994141e6 36791 }
d14a1e28
RD
36792 {
36793 PyThreadState* __tstate = wxPyBeginAllowThreads();
36794 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
36795
36796 wxPyEndAllowThreads(__tstate);
36797 if (PyErr_Occurred()) SWIG_fail;
36798 }
15afbcd0 36799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
36800 return resultobj;
36801 fail:
36802 return NULL;
36803}
36804
36805
36806static PyObject *_wrap_GBSpan_GetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36807 PyObject *resultobj;
36808 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36809 int result;
36810 PyObject * obj0 = 0 ;
36811 char *kwnames[] = {
36812 (char *) "self", NULL
36813 };
36814
36815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
15afbcd0
RD
36816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36818 {
36819 PyThreadState* __tstate = wxPyBeginAllowThreads();
36820 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
36821
36822 wxPyEndAllowThreads(__tstate);
36823 if (PyErr_Occurred()) SWIG_fail;
36824 }
15afbcd0 36825 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36826 return resultobj;
36827 fail:
36828 return NULL;
36829}
36830
36831
36832static PyObject *_wrap_GBSpan_GetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36833 PyObject *resultobj;
36834 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36835 int result;
36836 PyObject * obj0 = 0 ;
36837 char *kwnames[] = {
36838 (char *) "self", NULL
36839 };
36840
36841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
15afbcd0
RD
36842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36844 {
36845 PyThreadState* __tstate = wxPyBeginAllowThreads();
36846 result = (int)((wxGBSpan const *)arg1)->GetColspan();
36847
36848 wxPyEndAllowThreads(__tstate);
36849 if (PyErr_Occurred()) SWIG_fail;
36850 }
15afbcd0 36851 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36852 return resultobj;
36853 fail:
36854 return NULL;
36855}
36856
36857
36858static PyObject *_wrap_GBSpan_SetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36859 PyObject *resultobj;
36860 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36861 int arg2 ;
36862 PyObject * obj0 = 0 ;
994141e6 36863 PyObject * obj1 = 0 ;
d14a1e28
RD
36864 char *kwnames[] = {
36865 (char *) "self",(char *) "rowspan", NULL
36866 };
36867
994141e6 36868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetRowspan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36871 arg2 = (int) SWIG_AsInt(obj1);
36872 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36873 {
36874 PyThreadState* __tstate = wxPyBeginAllowThreads();
36875 (arg1)->SetRowspan(arg2);
36876
36877 wxPyEndAllowThreads(__tstate);
36878 if (PyErr_Occurred()) SWIG_fail;
36879 }
36880 Py_INCREF(Py_None); resultobj = Py_None;
36881 return resultobj;
36882 fail:
36883 return NULL;
36884}
36885
36886
36887static PyObject *_wrap_GBSpan_SetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36888 PyObject *resultobj;
36889 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36890 int arg2 ;
36891 PyObject * obj0 = 0 ;
994141e6 36892 PyObject * obj1 = 0 ;
d14a1e28
RD
36893 char *kwnames[] = {
36894 (char *) "self",(char *) "colspan", NULL
36895 };
36896
994141e6 36897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetColspan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36900 arg2 = (int) SWIG_AsInt(obj1);
36901 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36902 {
36903 PyThreadState* __tstate = wxPyBeginAllowThreads();
36904 (arg1)->SetColspan(arg2);
36905
36906 wxPyEndAllowThreads(__tstate);
36907 if (PyErr_Occurred()) SWIG_fail;
36908 }
36909 Py_INCREF(Py_None); resultobj = Py_None;
36910 return resultobj;
36911 fail:
36912 return NULL;
36913}
36914
36915
36916static PyObject *_wrap_GBSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
36917 PyObject *resultobj;
36918 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
4f89f6a3 36919 wxGBSpan *arg2 = 0 ;
d14a1e28 36920 bool result;
4f89f6a3 36921 wxGBSpan temp2 ;
d14a1e28
RD
36922 PyObject * obj0 = 0 ;
36923 PyObject * obj1 = 0 ;
36924 char *kwnames[] = {
22faec7d 36925 (char *) "self",(char *) "other", NULL
d14a1e28
RD
36926 };
36927
36928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
36931 {
36932 arg2 = &temp2;
36933 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
36934 }
d14a1e28
RD
36935 {
36936 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 36937 result = (bool)(arg1)->operator ==((wxGBSpan const &)*arg2);
d14a1e28
RD
36938
36939 wxPyEndAllowThreads(__tstate);
36940 if (PyErr_Occurred()) SWIG_fail;
36941 }
4f89f6a3
RD
36942 {
36943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36944 }
d14a1e28
RD
36945 return resultobj;
36946 fail:
36947 return NULL;
36948}
36949
36950
36951static PyObject *_wrap_GBSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
36952 PyObject *resultobj;
36953 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
4f89f6a3 36954 wxGBSpan *arg2 = 0 ;
d14a1e28 36955 bool result;
4f89f6a3 36956 wxGBSpan temp2 ;
d14a1e28
RD
36957 PyObject * obj0 = 0 ;
36958 PyObject * obj1 = 0 ;
36959 char *kwnames[] = {
22faec7d 36960 (char *) "self",(char *) "other", NULL
d14a1e28
RD
36961 };
36962
36963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
36966 {
36967 arg2 = &temp2;
36968 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
36969 }
d14a1e28
RD
36970 {
36971 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 36972 result = (bool)(arg1)->operator !=((wxGBSpan const &)*arg2);
d14a1e28
RD
36973
36974 wxPyEndAllowThreads(__tstate);
36975 if (PyErr_Occurred()) SWIG_fail;
36976 }
4f89f6a3
RD
36977 {
36978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36979 }
d14a1e28
RD
36980 return resultobj;
36981 fail:
36982 return NULL;
36983}
36984
36985
e811c8ce
RD
36986static PyObject *_wrap_GBSpan_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
36987 PyObject *resultobj;
36988 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36989 int arg2 = (int) 1 ;
36990 int arg3 = (int) 1 ;
36991 PyObject * obj0 = 0 ;
994141e6
RD
36992 PyObject * obj1 = 0 ;
36993 PyObject * obj2 = 0 ;
e811c8ce
RD
36994 char *kwnames[] = {
36995 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
36996 };
36997
994141e6 36998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBSpan_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
36999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 37001 if (obj1) {
15afbcd0
RD
37002 arg2 = (int) SWIG_AsInt(obj1);
37003 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37004 }
37005 if (obj2) {
15afbcd0
RD
37006 arg3 = (int) SWIG_AsInt(obj2);
37007 if (PyErr_Occurred()) SWIG_fail;
994141e6 37008 }
e811c8ce
RD
37009 {
37010 PyThreadState* __tstate = wxPyBeginAllowThreads();
37011 wxGBSpan_Set(arg1,arg2,arg3);
37012
37013 wxPyEndAllowThreads(__tstate);
37014 if (PyErr_Occurred()) SWIG_fail;
37015 }
37016 Py_INCREF(Py_None); resultobj = Py_None;
37017 return resultobj;
37018 fail:
37019 return NULL;
37020}
37021
37022
37023static PyObject *_wrap_GBSpan_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37024 PyObject *resultobj;
37025 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37026 PyObject *result;
37027 PyObject * obj0 = 0 ;
37028 char *kwnames[] = {
37029 (char *) "self", NULL
37030 };
37031
e811c8ce 37032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
37033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37035 {
37036 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 37037 result = (PyObject *)wxGBSpan_Get(arg1);
d14a1e28
RD
37038
37039 wxPyEndAllowThreads(__tstate);
37040 if (PyErr_Occurred()) SWIG_fail;
37041 }
37042 resultobj = result;
37043 return resultobj;
37044 fail:
37045 return NULL;
37046}
37047
37048
37049static PyObject * GBSpan_swigregister(PyObject *self, PyObject *args) {
37050 PyObject *obj;
37051 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37052 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
37053 Py_INCREF(obj);
37054 return Py_BuildValue((char *)"");
37055}
37056static int _wrap_DefaultSpan_set(PyObject *_val) {
37057 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
37058 return 1;
37059}
37060
37061
37062static PyObject *_wrap_DefaultSpan_get() {
37063 PyObject *pyobj;
37064
15afbcd0 37065 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSpan), SWIGTYPE_p_wxGBSpan, 0);
d14a1e28
RD
37066 return pyobj;
37067}
37068
37069
37070static PyObject *_wrap_new_GBSizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
37071 PyObject *resultobj;
37072 wxGBSizerItem *result;
37073 char *kwnames[] = {
37074 NULL
37075 };
37076
37077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
37078 {
37079 PyThreadState* __tstate = wxPyBeginAllowThreads();
37080 result = (wxGBSizerItem *)new wxGBSizerItem();
37081
37082 wxPyEndAllowThreads(__tstate);
37083 if (PyErr_Occurred()) SWIG_fail;
37084 }
15afbcd0 37085 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37086 return resultobj;
37087 fail:
37088 return NULL;
37089}
37090
37091
37092static PyObject *_wrap_new_GBSizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
37093 PyObject *resultobj;
37094 wxWindow *arg1 = (wxWindow *) 0 ;
37095 wxGBPosition *arg2 = 0 ;
37096 wxGBSpan *arg3 = 0 ;
37097 int arg4 ;
37098 int arg5 ;
37099 wxObject *arg6 = (wxObject *) 0 ;
37100 wxGBSizerItem *result;
37101 wxGBPosition temp2 ;
37102 wxGBSpan temp3 ;
37103 PyObject * obj0 = 0 ;
37104 PyObject * obj1 = 0 ;
37105 PyObject * obj2 = 0 ;
994141e6
RD
37106 PyObject * obj3 = 0 ;
37107 PyObject * obj4 = 0 ;
d14a1e28
RD
37108 PyObject * obj5 = 0 ;
37109 char *kwnames[] = {
37110 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37111 };
37112
994141e6 37113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
37114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
37115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37116 {
37117 arg2 = &temp2;
37118 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37119 }
37120 {
37121 arg3 = &temp3;
37122 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37123 }
15afbcd0
RD
37124 arg4 = (int) SWIG_AsInt(obj3);
37125 if (PyErr_Occurred()) SWIG_fail;
37126 arg5 = (int) SWIG_AsInt(obj4);
37127 if (PyErr_Occurred()) SWIG_fail;
37128 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
37129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37130 {
37131 PyThreadState* __tstate = wxPyBeginAllowThreads();
37132 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
37133
37134 wxPyEndAllowThreads(__tstate);
37135 if (PyErr_Occurred()) SWIG_fail;
37136 }
15afbcd0 37137 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37138 return resultobj;
37139 fail:
37140 return NULL;
37141}
37142
37143
37144static PyObject *_wrap_new_GBSizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37145 PyObject *resultobj;
37146 wxSizer *arg1 = (wxSizer *) 0 ;
37147 wxGBPosition *arg2 = 0 ;
37148 wxGBSpan *arg3 = 0 ;
37149 int arg4 ;
37150 int arg5 ;
37151 wxObject *arg6 = (wxObject *) 0 ;
37152 wxGBSizerItem *result;
37153 wxGBPosition temp2 ;
37154 wxGBSpan temp3 ;
37155 PyObject * obj0 = 0 ;
37156 PyObject * obj1 = 0 ;
37157 PyObject * obj2 = 0 ;
994141e6
RD
37158 PyObject * obj3 = 0 ;
37159 PyObject * obj4 = 0 ;
d14a1e28
RD
37160 PyObject * obj5 = 0 ;
37161 char *kwnames[] = {
37162 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37163 };
37164
994141e6 37165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
37166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
37167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37168 {
37169 arg2 = &temp2;
37170 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37171 }
37172 {
37173 arg3 = &temp3;
37174 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37175 }
15afbcd0
RD
37176 arg4 = (int) SWIG_AsInt(obj3);
37177 if (PyErr_Occurred()) SWIG_fail;
37178 arg5 = (int) SWIG_AsInt(obj4);
37179 if (PyErr_Occurred()) SWIG_fail;
37180 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
37181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37182 {
37183 PyThreadState* __tstate = wxPyBeginAllowThreads();
37184 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
37185
37186 wxPyEndAllowThreads(__tstate);
37187 if (PyErr_Occurred()) SWIG_fail;
37188 }
15afbcd0 37189 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37190 return resultobj;
37191 fail:
37192 return NULL;
37193}
37194
37195
37196static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
37197 PyObject *resultobj;
37198 int arg1 ;
37199 int arg2 ;
37200 wxGBPosition *arg3 = 0 ;
37201 wxGBSpan *arg4 = 0 ;
37202 int arg5 ;
37203 int arg6 ;
37204 wxObject *arg7 = (wxObject *) 0 ;
37205 wxGBSizerItem *result;
37206 wxGBPosition temp3 ;
37207 wxGBSpan temp4 ;
994141e6
RD
37208 PyObject * obj0 = 0 ;
37209 PyObject * obj1 = 0 ;
d14a1e28
RD
37210 PyObject * obj2 = 0 ;
37211 PyObject * obj3 = 0 ;
994141e6
RD
37212 PyObject * obj4 = 0 ;
37213 PyObject * obj5 = 0 ;
d14a1e28
RD
37214 PyObject * obj6 = 0 ;
37215 char *kwnames[] = {
37216 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37217 };
37218
994141e6 37219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
37220 arg1 = (int) SWIG_AsInt(obj0);
37221 if (PyErr_Occurred()) SWIG_fail;
37222 arg2 = (int) SWIG_AsInt(obj1);
37223 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37224 {
37225 arg3 = &temp3;
37226 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
37227 }
37228 {
37229 arg4 = &temp4;
37230 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
37231 }
15afbcd0
RD
37232 arg5 = (int) SWIG_AsInt(obj4);
37233 if (PyErr_Occurred()) SWIG_fail;
37234 arg6 = (int) SWIG_AsInt(obj5);
37235 if (PyErr_Occurred()) SWIG_fail;
37236 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxObject,
37237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37238 {
37239 PyThreadState* __tstate = wxPyBeginAllowThreads();
37240 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
37241
37242 wxPyEndAllowThreads(__tstate);
37243 if (PyErr_Occurred()) SWIG_fail;
37244 }
15afbcd0 37245 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37246 return resultobj;
37247 fail:
37248 return NULL;
37249}
37250
37251
37252static PyObject *_wrap_GBSizerItem_GetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
37253 PyObject *resultobj;
37254 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37255 wxGBPosition result;
37256 PyObject * obj0 = 0 ;
37257 char *kwnames[] = {
37258 (char *) "self", NULL
37259 };
37260
37261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
15afbcd0
RD
37262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37264 {
37265 PyThreadState* __tstate = wxPyBeginAllowThreads();
37266 result = ((wxGBSizerItem const *)arg1)->GetPos();
37267
37268 wxPyEndAllowThreads(__tstate);
37269 if (PyErr_Occurred()) SWIG_fail;
37270 }
37271 {
37272 wxGBPosition * resultptr;
37273 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 37274 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37275 }
37276 return resultobj;
37277 fail:
37278 return NULL;
37279}
37280
37281
37282static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
37283 PyObject *resultobj;
37284 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37285 wxGBSpan result;
37286 PyObject * obj0 = 0 ;
37287 char *kwnames[] = {
37288 (char *) "self", NULL
37289 };
37290
37291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
15afbcd0
RD
37292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37294 {
37295 PyThreadState* __tstate = wxPyBeginAllowThreads();
37296 result = ((wxGBSizerItem const *)arg1)->GetSpan();
37297
37298 wxPyEndAllowThreads(__tstate);
37299 if (PyErr_Occurred()) SWIG_fail;
37300 }
37301 {
37302 wxGBSpan * resultptr;
37303 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 37304 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
37305 }
37306 return resultobj;
37307 fail:
37308 return NULL;
37309}
37310
37311
37312static PyObject *_wrap_GBSizerItem_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
37313 PyObject *resultobj;
37314 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37315 wxGBPosition *arg2 = 0 ;
37316 bool result;
37317 wxGBPosition temp2 ;
37318 PyObject * obj0 = 0 ;
37319 PyObject * obj1 = 0 ;
37320 char *kwnames[] = {
37321 (char *) "self",(char *) "pos", NULL
37322 };
37323
37324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37327 {
37328 arg2 = &temp2;
37329 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37330 }
37331 {
37332 PyThreadState* __tstate = wxPyBeginAllowThreads();
37333 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
37334
37335 wxPyEndAllowThreads(__tstate);
37336 if (PyErr_Occurred()) SWIG_fail;
37337 }
4f89f6a3
RD
37338 {
37339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37340 }
d14a1e28
RD
37341 return resultobj;
37342 fail:
37343 return NULL;
37344}
37345
37346
37347static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
37348 PyObject *resultobj;
37349 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37350 wxGBSpan *arg2 = 0 ;
37351 bool result;
37352 wxGBSpan temp2 ;
37353 PyObject * obj0 = 0 ;
37354 PyObject * obj1 = 0 ;
37355 char *kwnames[] = {
37356 (char *) "self",(char *) "span", NULL
37357 };
37358
37359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37362 {
37363 arg2 = &temp2;
37364 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
37365 }
37366 {
37367 PyThreadState* __tstate = wxPyBeginAllowThreads();
37368 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
37369
37370 wxPyEndAllowThreads(__tstate);
37371 if (PyErr_Occurred()) SWIG_fail;
37372 }
4f89f6a3
RD
37373 {
37374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37375 }
d14a1e28
RD
37376 return resultobj;
37377 fail:
37378 return NULL;
37379}
37380
37381
37382static PyObject *_wrap_GBSizerItem_Intersects__SWIG_0(PyObject *self, PyObject *args) {
37383 PyObject *resultobj;
37384 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37385 wxGBSizerItem *arg2 = 0 ;
37386 bool result;
37387 PyObject * obj0 = 0 ;
37388 PyObject * obj1 = 0 ;
37389
37390 if(!PyArg_ParseTuple(args,(char *)"OO:GBSizerItem_Intersects",&obj0,&obj1)) goto fail;
15afbcd0
RD
37391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37393 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
37394 SWIG_POINTER_EXCEPTION | 0)) == -1)
37395 SWIG_fail;
d14a1e28 37396 if (arg2 == NULL) {
15afbcd0
RD
37397 PyErr_SetString(PyExc_TypeError,"null reference");
37398 SWIG_fail;
d14a1e28
RD
37399 }
37400 {
37401 PyThreadState* __tstate = wxPyBeginAllowThreads();
37402 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
37403
37404 wxPyEndAllowThreads(__tstate);
37405 if (PyErr_Occurred()) SWIG_fail;
37406 }
4f89f6a3
RD
37407 {
37408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37409 }
d14a1e28
RD
37410 return resultobj;
37411 fail:
37412 return NULL;
37413}
37414
37415
37416static PyObject *_wrap_GBSizerItem_Intersects__SWIG_1(PyObject *self, PyObject *args) {
37417 PyObject *resultobj;
37418 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37419 wxGBPosition *arg2 = 0 ;
37420 wxGBSpan *arg3 = 0 ;
37421 bool result;
37422 wxGBPosition temp2 ;
37423 wxGBSpan temp3 ;
37424 PyObject * obj0 = 0 ;
37425 PyObject * obj1 = 0 ;
37426 PyObject * obj2 = 0 ;
37427
37428 if(!PyArg_ParseTuple(args,(char *)"OOO:GBSizerItem_Intersects",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
37429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37431 {
37432 arg2 = &temp2;
37433 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37434 }
37435 {
37436 arg3 = &temp3;
37437 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37438 }
37439 {
37440 PyThreadState* __tstate = wxPyBeginAllowThreads();
37441 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
37442
37443 wxPyEndAllowThreads(__tstate);
37444 if (PyErr_Occurred()) SWIG_fail;
37445 }
4f89f6a3
RD
37446 {
37447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37448 }
d14a1e28
RD
37449 return resultobj;
37450 fail:
37451 return NULL;
37452}
37453
37454
37455static PyObject *_wrap_GBSizerItem_Intersects(PyObject *self, PyObject *args) {
37456 int argc;
37457 PyObject *argv[4];
37458 int ii;
37459
37460 argc = PyObject_Length(args);
37461 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
37462 argv[ii] = PyTuple_GetItem(args,ii);
37463 }
37464 if (argc == 2) {
37465 int _v;
37466 {
37467 void *ptr;
15afbcd0 37468 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
37469 _v = 0;
37470 PyErr_Clear();
37471 } else {
37472 _v = 1;
37473 }
37474 }
37475 if (_v) {
37476 {
37477 void *ptr;
15afbcd0 37478 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
37479 _v = 0;
37480 PyErr_Clear();
37481 } else {
37482 _v = 1;
37483 }
37484 }
37485 if (_v) {
37486 return _wrap_GBSizerItem_Intersects__SWIG_0(self,args);
37487 }
37488 }
37489 }
37490 if (argc == 3) {
37491 int _v;
37492 {
37493 void *ptr;
15afbcd0 37494 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
37495 _v = 0;
37496 PyErr_Clear();
37497 } else {
37498 _v = 1;
37499 }
37500 }
37501 if (_v) {
37502 {
37503 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
37504 }
37505 if (_v) {
37506 {
37507 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
37508 }
37509 if (_v) {
37510 return _wrap_GBSizerItem_Intersects__SWIG_1(self,args);
37511 }
37512 }
37513 }
37514 }
37515
37516 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GBSizerItem_Intersects'");
37517 return NULL;
37518}
37519
37520
37521static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *self, PyObject *args, PyObject *kwargs) {
37522 PyObject *resultobj;
37523 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37524 int *arg2 = 0 ;
37525 int *arg3 = 0 ;
37526 PyObject * obj0 = 0 ;
37527 PyObject * obj1 = 0 ;
37528 PyObject * obj2 = 0 ;
37529 char *kwnames[] = {
37530 (char *) "self",(char *) "row",(char *) "col", NULL
37531 };
37532
37533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_GetEndPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
37534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37536 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,
37537 SWIG_POINTER_EXCEPTION | 0)) == -1)
37538 SWIG_fail;
d14a1e28 37539 if (arg2 == NULL) {
15afbcd0
RD
37540 PyErr_SetString(PyExc_TypeError,"null reference");
37541 SWIG_fail;
d14a1e28 37542 }
15afbcd0
RD
37543 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_int,
37544 SWIG_POINTER_EXCEPTION | 0)) == -1)
37545 SWIG_fail;
d14a1e28 37546 if (arg3 == NULL) {
15afbcd0
RD
37547 PyErr_SetString(PyExc_TypeError,"null reference");
37548 SWIG_fail;
d14a1e28
RD
37549 }
37550 {
37551 PyThreadState* __tstate = wxPyBeginAllowThreads();
37552 (arg1)->GetEndPos(*arg2,*arg3);
37553
37554 wxPyEndAllowThreads(__tstate);
37555 if (PyErr_Occurred()) SWIG_fail;
37556 }
37557 Py_INCREF(Py_None); resultobj = Py_None;
37558 return resultobj;
37559 fail:
37560 return NULL;
37561}
37562
37563
37564static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37565 PyObject *resultobj;
37566 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37567 wxGridBagSizer *result;
37568 PyObject * obj0 = 0 ;
37569 char *kwnames[] = {
37570 (char *) "self", NULL
37571 };
37572
37573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
37574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37576 {
37577 PyThreadState* __tstate = wxPyBeginAllowThreads();
37578 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
37579
37580 wxPyEndAllowThreads(__tstate);
37581 if (PyErr_Occurred()) SWIG_fail;
37582 }
15afbcd0 37583 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 0);
d14a1e28
RD
37584 return resultobj;
37585 fail:
37586 return NULL;
37587}
37588
37589
37590static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37591 PyObject *resultobj;
37592 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37593 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
37594 PyObject * obj0 = 0 ;
37595 PyObject * obj1 = 0 ;
37596 char *kwnames[] = {
37597 (char *) "self",(char *) "sizer", NULL
37598 };
37599
37600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37603 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridBagSizer,
37604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37605 {
37606 PyThreadState* __tstate = wxPyBeginAllowThreads();
37607 (arg1)->SetGBSizer(arg2);
37608
37609 wxPyEndAllowThreads(__tstate);
37610 if (PyErr_Occurred()) SWIG_fail;
37611 }
37612 Py_INCREF(Py_None); resultobj = Py_None;
37613 return resultobj;
37614 fail:
37615 return NULL;
37616}
37617
37618
37619static PyObject * GBSizerItem_swigregister(PyObject *self, PyObject *args) {
37620 PyObject *obj;
37621 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37622 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
37623 Py_INCREF(obj);
37624 return Py_BuildValue((char *)"");
37625}
37626static PyObject *_wrap_new_GridBagSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37627 PyObject *resultobj;
37628 int arg1 = (int) 0 ;
37629 int arg2 = (int) 0 ;
37630 wxGridBagSizer *result;
994141e6
RD
37631 PyObject * obj0 = 0 ;
37632 PyObject * obj1 = 0 ;
d14a1e28
RD
37633 char *kwnames[] = {
37634 (char *) "vgap",(char *) "hgap", NULL
37635 };
37636
994141e6
RD
37637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridBagSizer",kwnames,&obj0,&obj1)) goto fail;
37638 if (obj0) {
15afbcd0
RD
37639 arg1 = (int) SWIG_AsInt(obj0);
37640 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37641 }
37642 if (obj1) {
15afbcd0
RD
37643 arg2 = (int) SWIG_AsInt(obj1);
37644 if (PyErr_Occurred()) SWIG_fail;
994141e6 37645 }
d14a1e28
RD
37646 {
37647 PyThreadState* __tstate = wxPyBeginAllowThreads();
37648 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
37649
37650 wxPyEndAllowThreads(__tstate);
37651 if (PyErr_Occurred()) SWIG_fail;
37652 }
15afbcd0 37653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 1);
d14a1e28
RD
37654 return resultobj;
37655 fail:
37656 return NULL;
37657}
37658
37659
37660static PyObject *_wrap_GridBagSizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
37661 PyObject *resultobj;
37662 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37663 PyObject *arg2 = (PyObject *) 0 ;
37664 wxGBPosition *arg3 = 0 ;
37665 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
37666 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
37667 int arg5 = (int) 0 ;
37668 int arg6 = (int) 0 ;
37669 PyObject *arg7 = (PyObject *) NULL ;
37670 bool result;
37671 wxGBPosition temp3 ;
37672 wxGBSpan temp4 ;
37673 PyObject * obj0 = 0 ;
37674 PyObject * obj1 = 0 ;
37675 PyObject * obj2 = 0 ;
37676 PyObject * obj3 = 0 ;
994141e6
RD
37677 PyObject * obj4 = 0 ;
37678 PyObject * obj5 = 0 ;
d14a1e28
RD
37679 PyObject * obj6 = 0 ;
37680 char *kwnames[] = {
37681 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37682 };
37683
994141e6 37684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
37685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37687 arg2 = obj1;
37688 {
37689 arg3 = &temp3;
37690 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
37691 }
37692 if (obj3) {
37693 {
37694 arg4 = &temp4;
37695 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
37696 }
37697 }
994141e6 37698 if (obj4) {
15afbcd0
RD
37699 arg5 = (int) SWIG_AsInt(obj4);
37700 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37701 }
37702 if (obj5) {
15afbcd0
RD
37703 arg6 = (int) SWIG_AsInt(obj5);
37704 if (PyErr_Occurred()) SWIG_fail;
994141e6 37705 }
d14a1e28
RD
37706 if (obj6) {
37707 arg7 = obj6;
37708 }
37709 {
37710 PyThreadState* __tstate = wxPyBeginAllowThreads();
37711 result = (bool)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
37712
37713 wxPyEndAllowThreads(__tstate);
37714 if (PyErr_Occurred()) SWIG_fail;
37715 }
4f89f6a3
RD
37716 {
37717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37718 }
d14a1e28
RD
37719 return resultobj;
37720 fail:
37721 return NULL;
37722}
37723
37724
37725static PyObject *_wrap_GridBagSizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
37726 PyObject *resultobj;
37727 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37728 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
37729 bool result;
37730 PyObject * obj0 = 0 ;
37731 PyObject * obj1 = 0 ;
37732 char *kwnames[] = {
37733 (char *) "self",(char *) "item", NULL
37734 };
37735
37736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37739 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
37740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37741 {
37742 PyThreadState* __tstate = wxPyBeginAllowThreads();
37743 result = (bool)(arg1)->Add(arg2);
37744
37745 wxPyEndAllowThreads(__tstate);
37746 if (PyErr_Occurred()) SWIG_fail;
37747 }
4f89f6a3
RD
37748 {
37749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37750 }
d14a1e28
RD
37751 return resultobj;
37752 fail:
37753 return NULL;
37754}
37755
37756
37757static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
37758 PyObject *resultobj;
37759 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37760 wxSize result;
37761 PyObject * obj0 = 0 ;
37762 char *kwnames[] = {
37763 (char *) "self", NULL
37764 };
37765
37766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
37767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37769 {
37770 PyThreadState* __tstate = wxPyBeginAllowThreads();
37771 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
37772
37773 wxPyEndAllowThreads(__tstate);
37774 if (PyErr_Occurred()) SWIG_fail;
37775 }
37776 {
37777 wxSize * resultptr;
37778 resultptr = new wxSize((wxSize &) result);
15afbcd0 37779 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
37780 }
37781 return resultobj;
37782 fail:
37783 return NULL;
37784}
37785
37786
37787static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
37788 PyObject *resultobj;
37789 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37790 wxSize *arg2 = 0 ;
37791 wxSize temp2 ;
37792 PyObject * obj0 = 0 ;
37793 PyObject * obj1 = 0 ;
37794 char *kwnames[] = {
37795 (char *) "self",(char *) "sz", NULL
37796 };
37797
37798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37801 {
37802 arg2 = &temp2;
37803 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
37804 }
37805 {
37806 PyThreadState* __tstate = wxPyBeginAllowThreads();
37807 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
37808
37809 wxPyEndAllowThreads(__tstate);
37810 if (PyErr_Occurred()) SWIG_fail;
37811 }
37812 Py_INCREF(Py_None); resultobj = Py_None;
37813 return resultobj;
37814 fail:
37815 return NULL;
37816}
37817
37818
37819static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
37820 PyObject *resultobj;
37821 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37822 wxWindow *arg2 = (wxWindow *) 0 ;
37823 wxGBPosition result;
37824 PyObject * obj0 = 0 ;
37825 PyObject * obj1 = 0 ;
37826
37827 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
37828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37830 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37832 {
37833 PyThreadState* __tstate = wxPyBeginAllowThreads();
37834 result = (arg1)->GetItemPosition(arg2);
37835
37836 wxPyEndAllowThreads(__tstate);
37837 if (PyErr_Occurred()) SWIG_fail;
37838 }
37839 {
37840 wxGBPosition * resultptr;
37841 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 37842 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37843 }
37844 return resultobj;
37845 fail:
37846 return NULL;
37847}
37848
37849
37850static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
37851 PyObject *resultobj;
37852 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37853 wxSizer *arg2 = (wxSizer *) 0 ;
37854 wxGBPosition result;
37855 PyObject * obj0 = 0 ;
37856 PyObject * obj1 = 0 ;
37857
37858 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
37859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37861 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
37862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37863 {
37864 PyThreadState* __tstate = wxPyBeginAllowThreads();
37865 result = (arg1)->GetItemPosition(arg2);
37866
37867 wxPyEndAllowThreads(__tstate);
37868 if (PyErr_Occurred()) SWIG_fail;
37869 }
37870 {
37871 wxGBPosition * resultptr;
37872 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 37873 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37874 }
37875 return resultobj;
37876 fail:
37877 return NULL;
37878}
37879
37880
37881static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
37882 PyObject *resultobj;
37883 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37884 size_t arg2 ;
37885 wxGBPosition result;
37886 PyObject * obj0 = 0 ;
37887 PyObject * obj1 = 0 ;
37888
37889 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
37890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37892 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
37893 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37894 {
37895 PyThreadState* __tstate = wxPyBeginAllowThreads();
37896 result = (arg1)->GetItemPosition(arg2);
37897
37898 wxPyEndAllowThreads(__tstate);
37899 if (PyErr_Occurred()) SWIG_fail;
37900 }
37901 {
37902 wxGBPosition * resultptr;
37903 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 37904 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37905 }
37906 return resultobj;
37907 fail:
37908 return NULL;
37909}
37910
37911
37912static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
37913 int argc;
37914 PyObject *argv[3];
37915 int ii;
37916
37917 argc = PyObject_Length(args);
37918 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
37919 argv[ii] = PyTuple_GetItem(args,ii);
37920 }
37921 if (argc == 2) {
37922 int _v;
37923 {
37924 void *ptr;
15afbcd0 37925 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37926 _v = 0;
37927 PyErr_Clear();
37928 } else {
37929 _v = 1;
37930 }
37931 }
37932 if (_v) {
37933 {
37934 void *ptr;
15afbcd0 37935 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
37936 _v = 0;
37937 PyErr_Clear();
37938 } else {
37939 _v = 1;
37940 }
37941 }
37942 if (_v) {
37943 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
37944 }
37945 }
37946 }
37947 if (argc == 2) {
37948 int _v;
37949 {
37950 void *ptr;
15afbcd0 37951 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37952 _v = 0;
37953 PyErr_Clear();
37954 } else {
37955 _v = 1;
37956 }
37957 }
37958 if (_v) {
37959 {
37960 void *ptr;
15afbcd0 37961 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
37962 _v = 0;
37963 PyErr_Clear();
37964 } else {
37965 _v = 1;
37966 }
37967 }
37968 if (_v) {
37969 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
37970 }
37971 }
37972 }
37973 if (argc == 2) {
37974 int _v;
37975 {
37976 void *ptr;
15afbcd0 37977 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37978 _v = 0;
37979 PyErr_Clear();
37980 } else {
37981 _v = 1;
37982 }
37983 }
37984 if (_v) {
15afbcd0 37985 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
37986 if (_v) {
37987 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
37988 }
37989 }
37990 }
37991
37992 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
37993 return NULL;
37994}
37995
37996
37997static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
37998 PyObject *resultobj;
37999 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38000 wxWindow *arg2 = (wxWindow *) 0 ;
38001 wxGBPosition *arg3 = 0 ;
38002 bool result;
38003 wxGBPosition temp3 ;
38004 PyObject * obj0 = 0 ;
38005 PyObject * obj1 = 0 ;
38006 PyObject * obj2 = 0 ;
38007
38008 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38011 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38013 {
38014 arg3 = &temp3;
38015 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38016 }
38017 {
38018 PyThreadState* __tstate = wxPyBeginAllowThreads();
38019 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38020
38021 wxPyEndAllowThreads(__tstate);
38022 if (PyErr_Occurred()) SWIG_fail;
38023 }
4f89f6a3
RD
38024 {
38025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38026 }
d14a1e28
RD
38027 return resultobj;
38028 fail:
38029 return NULL;
38030}
38031
38032
38033static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
38034 PyObject *resultobj;
38035 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38036 wxSizer *arg2 = (wxSizer *) 0 ;
38037 wxGBPosition *arg3 = 0 ;
38038 bool result;
38039 wxGBPosition temp3 ;
38040 PyObject * obj0 = 0 ;
38041 PyObject * obj1 = 0 ;
38042 PyObject * obj2 = 0 ;
38043
38044 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38047 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38049 {
38050 arg3 = &temp3;
38051 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38052 }
38053 {
38054 PyThreadState* __tstate = wxPyBeginAllowThreads();
38055 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38056
38057 wxPyEndAllowThreads(__tstate);
38058 if (PyErr_Occurred()) SWIG_fail;
38059 }
4f89f6a3
RD
38060 {
38061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38062 }
d14a1e28
RD
38063 return resultobj;
38064 fail:
38065 return NULL;
38066}
38067
38068
38069static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
38070 PyObject *resultobj;
38071 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38072 size_t arg2 ;
38073 wxGBPosition *arg3 = 0 ;
38074 bool result;
38075 wxGBPosition temp3 ;
38076 PyObject * obj0 = 0 ;
38077 PyObject * obj1 = 0 ;
38078 PyObject * obj2 = 0 ;
38079
38080 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38083 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38084 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38085 {
38086 arg3 = &temp3;
38087 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38088 }
38089 {
38090 PyThreadState* __tstate = wxPyBeginAllowThreads();
38091 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38092
38093 wxPyEndAllowThreads(__tstate);
38094 if (PyErr_Occurred()) SWIG_fail;
38095 }
4f89f6a3
RD
38096 {
38097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38098 }
d14a1e28
RD
38099 return resultobj;
38100 fail:
38101 return NULL;
38102}
38103
38104
38105static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
38106 int argc;
38107 PyObject *argv[4];
38108 int ii;
38109
38110 argc = PyObject_Length(args);
38111 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
38112 argv[ii] = PyTuple_GetItem(args,ii);
38113 }
38114 if (argc == 3) {
38115 int _v;
38116 {
38117 void *ptr;
15afbcd0 38118 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38119 _v = 0;
38120 PyErr_Clear();
38121 } else {
38122 _v = 1;
38123 }
38124 }
38125 if (_v) {
38126 {
38127 void *ptr;
15afbcd0 38128 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38129 _v = 0;
38130 PyErr_Clear();
38131 } else {
38132 _v = 1;
38133 }
38134 }
38135 if (_v) {
38136 {
38137 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38138 }
38139 if (_v) {
38140 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
38141 }
38142 }
38143 }
38144 }
38145 if (argc == 3) {
38146 int _v;
38147 {
38148 void *ptr;
15afbcd0 38149 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38150 _v = 0;
38151 PyErr_Clear();
38152 } else {
38153 _v = 1;
38154 }
38155 }
38156 if (_v) {
38157 {
38158 void *ptr;
15afbcd0 38159 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38160 _v = 0;
38161 PyErr_Clear();
38162 } else {
38163 _v = 1;
38164 }
38165 }
38166 if (_v) {
38167 {
38168 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38169 }
38170 if (_v) {
38171 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
38172 }
38173 }
38174 }
38175 }
38176 if (argc == 3) {
38177 int _v;
38178 {
38179 void *ptr;
15afbcd0 38180 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38181 _v = 0;
38182 PyErr_Clear();
38183 } else {
38184 _v = 1;
38185 }
38186 }
38187 if (_v) {
15afbcd0 38188 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
38189 if (_v) {
38190 {
38191 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38192 }
38193 if (_v) {
38194 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
38195 }
38196 }
38197 }
38198 }
38199
38200 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38201 return NULL;
38202}
38203
38204
38205static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
38206 PyObject *resultobj;
38207 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38208 wxWindow *arg2 = (wxWindow *) 0 ;
38209 wxGBSpan result;
38210 PyObject * obj0 = 0 ;
38211 PyObject * obj1 = 0 ;
38212
38213 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
15afbcd0
RD
38214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38216 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38218 {
38219 PyThreadState* __tstate = wxPyBeginAllowThreads();
38220 result = (arg1)->GetItemSpan(arg2);
38221
38222 wxPyEndAllowThreads(__tstate);
38223 if (PyErr_Occurred()) SWIG_fail;
38224 }
38225 {
38226 wxGBSpan * resultptr;
38227 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 38228 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
38229 }
38230 return resultobj;
38231 fail:
38232 return NULL;
38233}
38234
38235
38236static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
38237 PyObject *resultobj;
38238 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38239 wxSizer *arg2 = (wxSizer *) 0 ;
38240 wxGBSpan result;
38241 PyObject * obj0 = 0 ;
38242 PyObject * obj1 = 0 ;
38243
38244 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
15afbcd0
RD
38245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38247 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38249 {
38250 PyThreadState* __tstate = wxPyBeginAllowThreads();
38251 result = (arg1)->GetItemSpan(arg2);
38252
38253 wxPyEndAllowThreads(__tstate);
38254 if (PyErr_Occurred()) SWIG_fail;
38255 }
38256 {
38257 wxGBSpan * resultptr;
38258 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 38259 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
38260 }
38261 return resultobj;
38262 fail:
38263 return NULL;
38264}
38265
38266
38267static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
38268 PyObject *resultobj;
38269 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38270 size_t arg2 ;
38271 wxGBSpan result;
38272 PyObject * obj0 = 0 ;
38273 PyObject * obj1 = 0 ;
38274
38275 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
15afbcd0
RD
38276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38278 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38279 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38280 {
38281 PyThreadState* __tstate = wxPyBeginAllowThreads();
38282 result = (arg1)->GetItemSpan(arg2);
38283
38284 wxPyEndAllowThreads(__tstate);
38285 if (PyErr_Occurred()) SWIG_fail;
38286 }
38287 {
38288 wxGBSpan * resultptr;
38289 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 38290 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
38291 }
38292 return resultobj;
38293 fail:
38294 return NULL;
38295}
38296
38297
38298static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
38299 int argc;
38300 PyObject *argv[3];
38301 int ii;
38302
38303 argc = PyObject_Length(args);
38304 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
38305 argv[ii] = PyTuple_GetItem(args,ii);
38306 }
38307 if (argc == 2) {
38308 int _v;
38309 {
38310 void *ptr;
15afbcd0 38311 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38312 _v = 0;
38313 PyErr_Clear();
38314 } else {
38315 _v = 1;
38316 }
38317 }
38318 if (_v) {
38319 {
38320 void *ptr;
15afbcd0 38321 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38322 _v = 0;
38323 PyErr_Clear();
38324 } else {
38325 _v = 1;
38326 }
38327 }
38328 if (_v) {
38329 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
38330 }
38331 }
38332 }
38333 if (argc == 2) {
38334 int _v;
38335 {
38336 void *ptr;
15afbcd0 38337 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38338 _v = 0;
38339 PyErr_Clear();
38340 } else {
38341 _v = 1;
38342 }
38343 }
38344 if (_v) {
38345 {
38346 void *ptr;
15afbcd0 38347 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38348 _v = 0;
38349 PyErr_Clear();
38350 } else {
38351 _v = 1;
38352 }
38353 }
38354 if (_v) {
38355 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
38356 }
38357 }
38358 }
38359 if (argc == 2) {
38360 int _v;
38361 {
38362 void *ptr;
15afbcd0 38363 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38364 _v = 0;
38365 PyErr_Clear();
38366 } else {
38367 _v = 1;
38368 }
38369 }
38370 if (_v) {
15afbcd0 38371 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
38372 if (_v) {
38373 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
38374 }
38375 }
38376 }
38377
38378 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38379 return NULL;
38380}
38381
38382
38383static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
38384 PyObject *resultobj;
38385 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38386 wxWindow *arg2 = (wxWindow *) 0 ;
38387 wxGBSpan *arg3 = 0 ;
38388 bool result;
38389 wxGBSpan temp3 ;
38390 PyObject * obj0 = 0 ;
38391 PyObject * obj1 = 0 ;
38392 PyObject * obj2 = 0 ;
38393
38394 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38397 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38399 {
38400 arg3 = &temp3;
38401 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38402 }
38403 {
38404 PyThreadState* __tstate = wxPyBeginAllowThreads();
38405 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
38406
38407 wxPyEndAllowThreads(__tstate);
38408 if (PyErr_Occurred()) SWIG_fail;
38409 }
4f89f6a3
RD
38410 {
38411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38412 }
d14a1e28
RD
38413 return resultobj;
38414 fail:
38415 return NULL;
38416}
38417
38418
38419static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
38420 PyObject *resultobj;
38421 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38422 wxSizer *arg2 = (wxSizer *) 0 ;
38423 wxGBSpan *arg3 = 0 ;
38424 bool result;
38425 wxGBSpan temp3 ;
38426 PyObject * obj0 = 0 ;
38427 PyObject * obj1 = 0 ;
38428 PyObject * obj2 = 0 ;
38429
38430 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38433 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38435 {
38436 arg3 = &temp3;
38437 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38438 }
38439 {
38440 PyThreadState* __tstate = wxPyBeginAllowThreads();
38441 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
38442
38443 wxPyEndAllowThreads(__tstate);
38444 if (PyErr_Occurred()) SWIG_fail;
38445 }
4f89f6a3
RD
38446 {
38447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38448 }
d14a1e28
RD
38449 return resultobj;
38450 fail:
38451 return NULL;
38452}
38453
38454
38455static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
38456 PyObject *resultobj;
38457 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38458 size_t arg2 ;
38459 wxGBSpan *arg3 = 0 ;
38460 bool result;
38461 wxGBSpan temp3 ;
38462 PyObject * obj0 = 0 ;
38463 PyObject * obj1 = 0 ;
38464 PyObject * obj2 = 0 ;
38465
38466 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38469 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38470 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38471 {
38472 arg3 = &temp3;
38473 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38474 }
38475 {
38476 PyThreadState* __tstate = wxPyBeginAllowThreads();
38477 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
38478
38479 wxPyEndAllowThreads(__tstate);
38480 if (PyErr_Occurred()) SWIG_fail;
38481 }
4f89f6a3
RD
38482 {
38483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38484 }
d14a1e28
RD
38485 return resultobj;
38486 fail:
38487 return NULL;
38488}
38489
38490
38491static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
38492 int argc;
38493 PyObject *argv[4];
38494 int ii;
38495
38496 argc = PyObject_Length(args);
38497 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
38498 argv[ii] = PyTuple_GetItem(args,ii);
38499 }
38500 if (argc == 3) {
38501 int _v;
38502 {
38503 void *ptr;
15afbcd0 38504 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38505 _v = 0;
38506 PyErr_Clear();
38507 } else {
38508 _v = 1;
38509 }
38510 }
38511 if (_v) {
38512 {
38513 void *ptr;
15afbcd0 38514 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38515 _v = 0;
38516 PyErr_Clear();
38517 } else {
38518 _v = 1;
38519 }
38520 }
38521 if (_v) {
38522 {
38523 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38524 }
38525 if (_v) {
38526 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
38527 }
38528 }
38529 }
38530 }
38531 if (argc == 3) {
38532 int _v;
38533 {
38534 void *ptr;
15afbcd0 38535 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38536 _v = 0;
38537 PyErr_Clear();
38538 } else {
38539 _v = 1;
38540 }
38541 }
38542 if (_v) {
38543 {
38544 void *ptr;
15afbcd0 38545 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38546 _v = 0;
38547 PyErr_Clear();
38548 } else {
38549 _v = 1;
38550 }
38551 }
38552 if (_v) {
38553 {
38554 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38555 }
38556 if (_v) {
38557 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
38558 }
38559 }
38560 }
38561 }
38562 if (argc == 3) {
38563 int _v;
38564 {
38565 void *ptr;
15afbcd0 38566 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38567 _v = 0;
38568 PyErr_Clear();
38569 } else {
38570 _v = 1;
38571 }
38572 }
38573 if (_v) {
15afbcd0 38574 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
38575 if (_v) {
38576 {
38577 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38578 }
38579 if (_v) {
38580 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
38581 }
38582 }
38583 }
38584 }
38585
38586 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
38587 return NULL;
38588}
38589
38590
38591static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *self, PyObject *args) {
38592 PyObject *resultobj;
38593 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38594 wxWindow *arg2 = (wxWindow *) 0 ;
38595 wxGBSizerItem *result;
38596 PyObject * obj0 = 0 ;
38597 PyObject * obj1 = 0 ;
38598
38599 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
15afbcd0
RD
38600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38602 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38604 {
38605 PyThreadState* __tstate = wxPyBeginAllowThreads();
38606 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
38607
38608 wxPyEndAllowThreads(__tstate);
38609 if (PyErr_Occurred()) SWIG_fail;
38610 }
15afbcd0 38611 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
38612 return resultobj;
38613 fail:
38614 return NULL;
38615}
38616
38617
38618static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *self, PyObject *args) {
38619 PyObject *resultobj;
38620 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38621 wxSizer *arg2 = (wxSizer *) 0 ;
38622 wxGBSizerItem *result;
38623 PyObject * obj0 = 0 ;
38624 PyObject * obj1 = 0 ;
38625
38626 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
15afbcd0
RD
38627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38629 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38631 {
38632 PyThreadState* __tstate = wxPyBeginAllowThreads();
38633 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
38634
38635 wxPyEndAllowThreads(__tstate);
38636 if (PyErr_Occurred()) SWIG_fail;
38637 }
15afbcd0 38638 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
38639 return resultobj;
38640 fail:
38641 return NULL;
38642}
38643
38644
38645static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
38646 int argc;
38647 PyObject *argv[3];
38648 int ii;
38649
38650 argc = PyObject_Length(args);
38651 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
38652 argv[ii] = PyTuple_GetItem(args,ii);
38653 }
38654 if (argc == 2) {
38655 int _v;
38656 {
38657 void *ptr;
15afbcd0 38658 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38659 _v = 0;
38660 PyErr_Clear();
38661 } else {
38662 _v = 1;
38663 }
38664 }
38665 if (_v) {
38666 {
38667 void *ptr;
15afbcd0 38668 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38669 _v = 0;
38670 PyErr_Clear();
38671 } else {
38672 _v = 1;
38673 }
38674 }
38675 if (_v) {
38676 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
38677 }
38678 }
38679 }
38680 if (argc == 2) {
38681 int _v;
38682 {
38683 void *ptr;
15afbcd0 38684 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38685 _v = 0;
38686 PyErr_Clear();
38687 } else {
38688 _v = 1;
38689 }
38690 }
38691 if (_v) {
38692 {
38693 void *ptr;
15afbcd0 38694 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38695 _v = 0;
38696 PyErr_Clear();
38697 } else {
38698 _v = 1;
38699 }
38700 }
38701 if (_v) {
38702 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
38703 }
38704 }
38705 }
38706
38707 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_FindItem'");
38708 return NULL;
38709}
38710
38711
38712static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
38713 PyObject *resultobj;
38714 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38715 wxGBPosition *arg2 = 0 ;
38716 wxGBSizerItem *result;
38717 wxGBPosition temp2 ;
38718 PyObject * obj0 = 0 ;
38719 PyObject * obj1 = 0 ;
38720 char *kwnames[] = {
38721 (char *) "self",(char *) "pos", NULL
38722 };
38723
38724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38727 {
38728 arg2 = &temp2;
38729 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38730 }
38731 {
38732 PyThreadState* __tstate = wxPyBeginAllowThreads();
38733 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
38734
38735 wxPyEndAllowThreads(__tstate);
38736 if (PyErr_Occurred()) SWIG_fail;
38737 }
15afbcd0 38738 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
38739 return resultobj;
38740 fail:
38741 return NULL;
38742}
38743
38744
e811c8ce
RD
38745static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
38746 PyObject *resultobj;
38747 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38748 wxPoint *arg2 = 0 ;
38749 wxGBSizerItem *result;
38750 wxPoint temp2 ;
38751 PyObject * obj0 = 0 ;
38752 PyObject * obj1 = 0 ;
38753 char *kwnames[] = {
38754 (char *) "self",(char *) "pt", NULL
38755 };
38756
38757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
38760 {
38761 arg2 = &temp2;
38762 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
38763 }
38764 {
38765 PyThreadState* __tstate = wxPyBeginAllowThreads();
38766 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
38767
38768 wxPyEndAllowThreads(__tstate);
38769 if (PyErr_Occurred()) SWIG_fail;
38770 }
15afbcd0 38771 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
e811c8ce
RD
38772 return resultobj;
38773 fail:
38774 return NULL;
38775}
38776
38777
d14a1e28
RD
38778static PyObject *_wrap_GridBagSizer_FindItemWithData(PyObject *self, PyObject *args, PyObject *kwargs) {
38779 PyObject *resultobj;
38780 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38781 wxObject *arg2 = (wxObject *) 0 ;
38782 wxGBSizerItem *result;
38783 PyObject * obj0 = 0 ;
38784 PyObject * obj1 = 0 ;
38785 char *kwnames[] = {
38786 (char *) "self",(char *) "userData", NULL
38787 };
38788
38789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemWithData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38792 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
38793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38794 {
38795 PyThreadState* __tstate = wxPyBeginAllowThreads();
38796 result = (wxGBSizerItem *)(arg1)->FindItemWithData((wxObject const *)arg2);
38797
38798 wxPyEndAllowThreads(__tstate);
38799 if (PyErr_Occurred()) SWIG_fail;
38800 }
15afbcd0 38801 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
38802 return resultobj;
38803 fail:
38804 return NULL;
38805}
38806
38807
38808static PyObject *_wrap_GridBagSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
38809 PyObject *resultobj;
38810 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38811 PyObject * obj0 = 0 ;
38812 char *kwnames[] = {
38813 (char *) "self", NULL
38814 };
38815
38816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
38817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38819 {
38820 PyThreadState* __tstate = wxPyBeginAllowThreads();
38821 (arg1)->RecalcSizes();
38822
38823 wxPyEndAllowThreads(__tstate);
38824 if (PyErr_Occurred()) SWIG_fail;
38825 }
38826 Py_INCREF(Py_None); resultobj = Py_None;
38827 return resultobj;
38828 fail:
38829 return NULL;
38830}
38831
38832
38833static PyObject *_wrap_GridBagSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
38834 PyObject *resultobj;
38835 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38836 wxSize result;
38837 PyObject * obj0 = 0 ;
38838 char *kwnames[] = {
38839 (char *) "self", NULL
38840 };
38841
38842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
38843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38845 {
38846 PyThreadState* __tstate = wxPyBeginAllowThreads();
38847 result = (arg1)->CalcMin();
38848
38849 wxPyEndAllowThreads(__tstate);
38850 if (PyErr_Occurred()) SWIG_fail;
38851 }
38852 {
38853 wxSize * resultptr;
38854 resultptr = new wxSize((wxSize &) result);
15afbcd0 38855 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
38856 }
38857 return resultobj;
38858 fail:
38859 return NULL;
38860}
38861
38862
38863static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject *self, PyObject *args) {
38864 PyObject *resultobj;
38865 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38866 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
38867 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
38868 bool result;
38869 PyObject * obj0 = 0 ;
38870 PyObject * obj1 = 0 ;
38871 PyObject * obj2 = 0 ;
38872
38873 if(!PyArg_ParseTuple(args,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38876 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
38877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 38878 if (obj2) {
15afbcd0
RD
38879 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGBSizerItem,
38880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38881 }
38882 {
38883 PyThreadState* __tstate = wxPyBeginAllowThreads();
38884 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
38885
38886 wxPyEndAllowThreads(__tstate);
38887 if (PyErr_Occurred()) SWIG_fail;
38888 }
4f89f6a3
RD
38889 {
38890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38891 }
d14a1e28
RD
38892 return resultobj;
38893 fail:
38894 return NULL;
38895}
38896
38897
38898static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject *self, PyObject *args) {
38899 PyObject *resultobj;
38900 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38901 wxGBPosition *arg2 = 0 ;
38902 wxGBSpan *arg3 = 0 ;
38903 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
38904 bool result;
38905 wxGBPosition temp2 ;
38906 wxGBSpan temp3 ;
38907 PyObject * obj0 = 0 ;
38908 PyObject * obj1 = 0 ;
38909 PyObject * obj2 = 0 ;
38910 PyObject * obj3 = 0 ;
38911
38912 if(!PyArg_ParseTuple(args,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
38913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38915 {
38916 arg2 = &temp2;
38917 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38918 }
38919 {
38920 arg3 = &temp3;
38921 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38922 }
38923 if (obj3) {
15afbcd0
RD
38924 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGBSizerItem,
38925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38926 }
38927 {
38928 PyThreadState* __tstate = wxPyBeginAllowThreads();
38929 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
38930
38931 wxPyEndAllowThreads(__tstate);
38932 if (PyErr_Occurred()) SWIG_fail;
38933 }
4f89f6a3
RD
38934 {
38935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38936 }
d14a1e28
RD
38937 return resultobj;
38938 fail:
38939 return NULL;
38940}
38941
38942
38943static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *self, PyObject *args) {
38944 int argc;
38945 PyObject *argv[5];
38946 int ii;
38947
38948 argc = PyObject_Length(args);
38949 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
38950 argv[ii] = PyTuple_GetItem(args,ii);
38951 }
38952 if ((argc >= 2) && (argc <= 3)) {
38953 int _v;
38954 {
38955 void *ptr;
15afbcd0 38956 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38957 _v = 0;
38958 PyErr_Clear();
38959 } else {
38960 _v = 1;
38961 }
38962 }
38963 if (_v) {
38964 {
38965 void *ptr;
15afbcd0 38966 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
38967 _v = 0;
38968 PyErr_Clear();
38969 } else {
38970 _v = 1;
38971 }
38972 }
38973 if (_v) {
38974 if (argc <= 2) {
38975 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
38976 }
38977 {
38978 void *ptr;
15afbcd0 38979 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
38980 _v = 0;
38981 PyErr_Clear();
38982 } else {
38983 _v = 1;
38984 }
38985 }
38986 if (_v) {
38987 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
38988 }
38989 }
38990 }
38991 }
38992 if ((argc >= 3) && (argc <= 4)) {
38993 int _v;
38994 {
38995 void *ptr;
15afbcd0 38996 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38997 _v = 0;
38998 PyErr_Clear();
38999 } else {
39000 _v = 1;
39001 }
39002 }
39003 if (_v) {
39004 {
39005 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
39006 }
39007 if (_v) {
39008 {
39009 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
39010 }
39011 if (_v) {
39012 if (argc <= 3) {
39013 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
39014 }
39015 {
39016 void *ptr;
15afbcd0 39017 if (SWIG_ConvertPtr(argv[3], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
39018 _v = 0;
39019 PyErr_Clear();
39020 } else {
39021 _v = 1;
39022 }
39023 }
39024 if (_v) {
39025 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
39026 }
39027 }
39028 }
39029 }
39030 }
39031
39032 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
39033 return NULL;
39034}
39035
39036
39037static PyObject * GridBagSizer_swigregister(PyObject *self, PyObject *args) {
39038 PyObject *obj;
39039 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
39040 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
39041 Py_INCREF(obj);
39042 return Py_BuildValue((char *)"");
39043}
39044static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
39045 PyObject *resultobj;
39046 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39047 int arg2 ;
39048 wxWindow *arg3 = (wxWindow *) 0 ;
39049 int arg4 ;
39050 int arg5 = (int) 0 ;
39051 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
39052 PyObject * obj0 = 0 ;
994141e6 39053 PyObject * obj1 = 0 ;
d14a1e28 39054 PyObject * obj2 = 0 ;
994141e6
RD
39055 PyObject * obj3 = 0 ;
39056 PyObject * obj4 = 0 ;
39057 PyObject * obj5 = 0 ;
d14a1e28
RD
39058 char *kwnames[] = {
39059 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39060 };
39061
994141e6 39062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
39063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39065 arg2 = (wxRelationship) SWIG_AsInt(obj1);
39066 if (PyErr_Occurred()) SWIG_fail;
39067 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
39068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39069 arg4 = (wxEdge) SWIG_AsInt(obj3);
39070 if (PyErr_Occurred()) SWIG_fail;
994141e6 39071 if (obj4) {
15afbcd0
RD
39072 arg5 = (int) SWIG_AsInt(obj4);
39073 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
39074 }
39075 if (obj5) {
15afbcd0
RD
39076 arg6 = (int) SWIG_AsInt(obj5);
39077 if (PyErr_Occurred()) SWIG_fail;
994141e6 39078 }
d14a1e28
RD
39079 {
39080 PyThreadState* __tstate = wxPyBeginAllowThreads();
39081 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
39082
39083 wxPyEndAllowThreads(__tstate);
39084 if (PyErr_Occurred()) SWIG_fail;
39085 }
39086 Py_INCREF(Py_None); resultobj = Py_None;
39087 return resultobj;
39088 fail:
39089 return NULL;
39090}
39091
39092
39093static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args, PyObject *kwargs) {
39094 PyObject *resultobj;
39095 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39096 wxWindow *arg2 = (wxWindow *) 0 ;
39097 int arg3 = (int) 0 ;
39098 PyObject * obj0 = 0 ;
39099 PyObject * obj1 = 0 ;
994141e6 39100 PyObject * obj2 = 0 ;
d14a1e28
RD
39101 char *kwnames[] = {
39102 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39103 };
39104
994141e6 39105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39108 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 39110 if (obj2) {
15afbcd0
RD
39111 arg3 = (int) SWIG_AsInt(obj2);
39112 if (PyErr_Occurred()) SWIG_fail;
994141e6 39113 }
d14a1e28
RD
39114 {
39115 PyThreadState* __tstate = wxPyBeginAllowThreads();
39116 (arg1)->LeftOf(arg2,arg3);
39117
39118 wxPyEndAllowThreads(__tstate);
39119 if (PyErr_Occurred()) SWIG_fail;
39120 }
39121 Py_INCREF(Py_None); resultobj = Py_None;
39122 return resultobj;
39123 fail:
39124 return NULL;
39125}
39126
39127
39128static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args, PyObject *kwargs) {
39129 PyObject *resultobj;
39130 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39131 wxWindow *arg2 = (wxWindow *) 0 ;
39132 int arg3 = (int) 0 ;
39133 PyObject * obj0 = 0 ;
39134 PyObject * obj1 = 0 ;
994141e6 39135 PyObject * obj2 = 0 ;
d14a1e28
RD
39136 char *kwnames[] = {
39137 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39138 };
39139
994141e6 39140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39143 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 39145 if (obj2) {
15afbcd0
RD
39146 arg3 = (int) SWIG_AsInt(obj2);
39147 if (PyErr_Occurred()) SWIG_fail;
994141e6 39148 }
d14a1e28
RD
39149 {
39150 PyThreadState* __tstate = wxPyBeginAllowThreads();
39151 (arg1)->RightOf(arg2,arg3);
39152
39153 wxPyEndAllowThreads(__tstate);
39154 if (PyErr_Occurred()) SWIG_fail;
39155 }
39156 Py_INCREF(Py_None); resultobj = Py_None;
39157 return resultobj;
39158 fail:
39159 return NULL;
39160}
39161
39162
39163static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *self, PyObject *args, PyObject *kwargs) {
39164 PyObject *resultobj;
39165 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39166 wxWindow *arg2 = (wxWindow *) 0 ;
39167 int arg3 = (int) 0 ;
39168 PyObject * obj0 = 0 ;
39169 PyObject * obj1 = 0 ;
994141e6 39170 PyObject * obj2 = 0 ;
d14a1e28
RD
39171 char *kwnames[] = {
39172 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39173 };
39174
994141e6 39175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39178 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 39180 if (obj2) {
15afbcd0
RD
39181 arg3 = (int) SWIG_AsInt(obj2);
39182 if (PyErr_Occurred()) SWIG_fail;
994141e6 39183 }
d14a1e28
RD
39184 {
39185 PyThreadState* __tstate = wxPyBeginAllowThreads();
39186 (arg1)->Above(arg2,arg3);
39187
39188 wxPyEndAllowThreads(__tstate);
39189 if (PyErr_Occurred()) SWIG_fail;
39190 }
39191 Py_INCREF(Py_None); resultobj = Py_None;
39192 return resultobj;
39193 fail:
39194 return NULL;
39195}
39196
39197
39198static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *self, PyObject *args, PyObject *kwargs) {
39199 PyObject *resultobj;
39200 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39201 wxWindow *arg2 = (wxWindow *) 0 ;
39202 int arg3 = (int) 0 ;
39203 PyObject * obj0 = 0 ;
39204 PyObject * obj1 = 0 ;
994141e6 39205 PyObject * obj2 = 0 ;
d14a1e28
RD
39206 char *kwnames[] = {
39207 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39208 };
39209
994141e6 39210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39213 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 39215 if (obj2) {
15afbcd0
RD
39216 arg3 = (int) SWIG_AsInt(obj2);
39217 if (PyErr_Occurred()) SWIG_fail;
994141e6 39218 }
d14a1e28
RD
39219 {
39220 PyThreadState* __tstate = wxPyBeginAllowThreads();
39221 (arg1)->Below(arg2,arg3);
39222
39223 wxPyEndAllowThreads(__tstate);
39224 if (PyErr_Occurred()) SWIG_fail;
39225 }
39226 Py_INCREF(Py_None); resultobj = Py_None;
39227 return resultobj;
39228 fail:
39229 return NULL;
39230}
39231
39232
39233static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args, PyObject *kwargs) {
39234 PyObject *resultobj;
39235 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39236 wxWindow *arg2 = (wxWindow *) 0 ;
39237 int arg3 ;
39238 int arg4 = (int) 0 ;
39239 PyObject * obj0 = 0 ;
39240 PyObject * obj1 = 0 ;
994141e6
RD
39241 PyObject * obj2 = 0 ;
39242 PyObject * obj3 = 0 ;
d14a1e28
RD
39243 char *kwnames[] = {
39244 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39245 };
39246
994141e6 39247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
39248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39250 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39252 arg3 = (wxEdge) SWIG_AsInt(obj2);
39253 if (PyErr_Occurred()) SWIG_fail;
994141e6 39254 if (obj3) {
15afbcd0
RD
39255 arg4 = (int) SWIG_AsInt(obj3);
39256 if (PyErr_Occurred()) SWIG_fail;
994141e6 39257 }
d14a1e28
RD
39258 {
39259 PyThreadState* __tstate = wxPyBeginAllowThreads();
39260 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
39261
39262 wxPyEndAllowThreads(__tstate);
39263 if (PyErr_Occurred()) SWIG_fail;
39264 }
39265 Py_INCREF(Py_None); resultobj = Py_None;
39266 return resultobj;
39267 fail:
39268 return NULL;
39269}
39270
39271
39272static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args, PyObject *kwargs) {
39273 PyObject *resultobj;
39274 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39275 wxWindow *arg2 = (wxWindow *) 0 ;
39276 int arg3 ;
39277 int arg4 ;
39278 PyObject * obj0 = 0 ;
39279 PyObject * obj1 = 0 ;
994141e6
RD
39280 PyObject * obj2 = 0 ;
39281 PyObject * obj3 = 0 ;
d14a1e28
RD
39282 char *kwnames[] = {
39283 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39284 };
39285
994141e6 39286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
39287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39289 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39291 arg3 = (wxEdge) SWIG_AsInt(obj2);
39292 if (PyErr_Occurred()) SWIG_fail;
39293 arg4 = (int) SWIG_AsInt(obj3);
39294 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39295 {
39296 PyThreadState* __tstate = wxPyBeginAllowThreads();
39297 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
39298
39299 wxPyEndAllowThreads(__tstate);
39300 if (PyErr_Occurred()) SWIG_fail;
39301 }
39302 Py_INCREF(Py_None); resultobj = Py_None;
39303 return resultobj;
39304 fail:
39305 return NULL;
39306}
39307
39308
39309static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args, PyObject *kwargs) {
39310 PyObject *resultobj;
39311 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39312 int arg2 ;
39313 PyObject * obj0 = 0 ;
994141e6 39314 PyObject * obj1 = 0 ;
d14a1e28
RD
39315 char *kwnames[] = {
39316 (char *) "self",(char *) "val", NULL
39317 };
39318
994141e6 39319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39322 arg2 = (int) SWIG_AsInt(obj1);
39323 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39324 {
39325 PyThreadState* __tstate = wxPyBeginAllowThreads();
39326 (arg1)->Absolute(arg2);
39327
39328 wxPyEndAllowThreads(__tstate);
39329 if (PyErr_Occurred()) SWIG_fail;
39330 }
39331 Py_INCREF(Py_None); resultobj = Py_None;
39332 return resultobj;
39333 fail:
39334 return NULL;
39335}
39336
39337
39338static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args, PyObject *kwargs) {
39339 PyObject *resultobj;
39340 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39341 PyObject * obj0 = 0 ;
39342 char *kwnames[] = {
39343 (char *) "self", NULL
39344 };
39345
39346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
15afbcd0
RD
39347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39349 {
39350 PyThreadState* __tstate = wxPyBeginAllowThreads();
39351 (arg1)->Unconstrained();
39352
39353 wxPyEndAllowThreads(__tstate);
39354 if (PyErr_Occurred()) SWIG_fail;
39355 }
39356 Py_INCREF(Py_None); resultobj = Py_None;
39357 return resultobj;
39358 fail:
39359 return NULL;
39360}
39361
39362
39363static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args, PyObject *kwargs) {
39364 PyObject *resultobj;
39365 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39366 PyObject * obj0 = 0 ;
39367 char *kwnames[] = {
39368 (char *) "self", NULL
39369 };
39370
39371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
15afbcd0
RD
39372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39374 {
39375 PyThreadState* __tstate = wxPyBeginAllowThreads();
39376 (arg1)->AsIs();
39377
39378 wxPyEndAllowThreads(__tstate);
39379 if (PyErr_Occurred()) SWIG_fail;
39380 }
39381 Py_INCREF(Py_None); resultobj = Py_None;
39382 return resultobj;
39383 fail:
39384 return NULL;
39385}
39386
39387
39388static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
39389 PyObject *resultobj;
39390 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39391 wxWindow *result;
39392 PyObject * obj0 = 0 ;
39393 char *kwnames[] = {
39394 (char *) "self", NULL
39395 };
39396
39397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
39398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39400 {
39401 PyThreadState* __tstate = wxPyBeginAllowThreads();
39402 result = (wxWindow *)(arg1)->GetOtherWindow();
39403
39404 wxPyEndAllowThreads(__tstate);
39405 if (PyErr_Occurred()) SWIG_fail;
39406 }
39407 {
39408 resultobj = wxPyMake_wxObject(result);
39409 }
39410 return resultobj;
39411 fail:
39412 return NULL;
39413}
39414
39415
39416static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39417 PyObject *resultobj;
39418 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39419 int result;
39420 PyObject * obj0 = 0 ;
39421 char *kwnames[] = {
39422 (char *) "self", NULL
39423 };
39424
39425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
15afbcd0
RD
39426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39428 {
39429 PyThreadState* __tstate = wxPyBeginAllowThreads();
39430 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
39431
39432 wxPyEndAllowThreads(__tstate);
39433 if (PyErr_Occurred()) SWIG_fail;
39434 }
15afbcd0 39435 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39436 return resultobj;
39437 fail:
39438 return NULL;
39439}
39440
39441
39442static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39443 PyObject *resultobj;
39444 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39445 int arg2 ;
39446 PyObject * obj0 = 0 ;
994141e6 39447 PyObject * obj1 = 0 ;
d14a1e28
RD
39448 char *kwnames[] = {
39449 (char *) "self",(char *) "which", NULL
39450 };
39451
994141e6 39452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39455 arg2 = (wxEdge) SWIG_AsInt(obj1);
39456 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39457 {
39458 PyThreadState* __tstate = wxPyBeginAllowThreads();
39459 (arg1)->SetEdge((wxEdge )arg2);
39460
39461 wxPyEndAllowThreads(__tstate);
39462 if (PyErr_Occurred()) SWIG_fail;
39463 }
39464 Py_INCREF(Py_None); resultobj = Py_None;
39465 return resultobj;
39466 fail:
39467 return NULL;
39468}
39469
39470
39471static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
39472 PyObject *resultobj;
39473 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39474 int arg2 ;
39475 PyObject * obj0 = 0 ;
994141e6 39476 PyObject * obj1 = 0 ;
d14a1e28
RD
39477 char *kwnames[] = {
39478 (char *) "self",(char *) "v", NULL
39479 };
39480
994141e6 39481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39484 arg2 = (int) SWIG_AsInt(obj1);
39485 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39486 {
39487 PyThreadState* __tstate = wxPyBeginAllowThreads();
39488 (arg1)->SetValue(arg2);
39489
39490 wxPyEndAllowThreads(__tstate);
39491 if (PyErr_Occurred()) SWIG_fail;
39492 }
39493 Py_INCREF(Py_None); resultobj = Py_None;
39494 return resultobj;
39495 fail:
39496 return NULL;
39497}
39498
39499
39500static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
39501 PyObject *resultobj;
39502 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39503 int result;
39504 PyObject * obj0 = 0 ;
39505 char *kwnames[] = {
39506 (char *) "self", NULL
39507 };
39508
39509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
15afbcd0
RD
39510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39512 {
39513 PyThreadState* __tstate = wxPyBeginAllowThreads();
39514 result = (int)(arg1)->GetMargin();
39515
39516 wxPyEndAllowThreads(__tstate);
39517 if (PyErr_Occurred()) SWIG_fail;
39518 }
15afbcd0 39519 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39520 return resultobj;
39521 fail:
39522 return NULL;
39523}
39524
39525
39526static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
39527 PyObject *resultobj;
39528 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39529 int arg2 ;
39530 PyObject * obj0 = 0 ;
994141e6 39531 PyObject * obj1 = 0 ;
d14a1e28
RD
39532 char *kwnames[] = {
39533 (char *) "self",(char *) "m", NULL
39534 };
39535
994141e6 39536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39539 arg2 = (int) SWIG_AsInt(obj1);
39540 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39541 {
39542 PyThreadState* __tstate = wxPyBeginAllowThreads();
39543 (arg1)->SetMargin(arg2);
39544
39545 wxPyEndAllowThreads(__tstate);
39546 if (PyErr_Occurred()) SWIG_fail;
39547 }
39548 Py_INCREF(Py_None); resultobj = Py_None;
39549 return resultobj;
39550 fail:
39551 return NULL;
39552}
39553
39554
39555static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
39556 PyObject *resultobj;
39557 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39558 int result;
39559 PyObject * obj0 = 0 ;
39560 char *kwnames[] = {
39561 (char *) "self", NULL
39562 };
39563
39564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",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 = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
39570
39571 wxPyEndAllowThreads(__tstate);
39572 if (PyErr_Occurred()) SWIG_fail;
39573 }
15afbcd0 39574 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39575 return resultobj;
39576 fail:
39577 return NULL;
39578}
39579
39580
39581static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *self, PyObject *args, PyObject *kwargs) {
39582 PyObject *resultobj;
39583 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39584 int result;
39585 PyObject * obj0 = 0 ;
39586 char *kwnames[] = {
39587 (char *) "self", NULL
39588 };
39589
39590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
15afbcd0
RD
39591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39593 {
39594 PyThreadState* __tstate = wxPyBeginAllowThreads();
39595 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
39596
39597 wxPyEndAllowThreads(__tstate);
39598 if (PyErr_Occurred()) SWIG_fail;
39599 }
15afbcd0 39600 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39601 return resultobj;
39602 fail:
39603 return NULL;
39604}
39605
39606
39607static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39608 PyObject *resultobj;
39609 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39610 int result;
39611 PyObject * obj0 = 0 ;
39612 char *kwnames[] = {
39613 (char *) "self", NULL
39614 };
39615
39616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
15afbcd0
RD
39617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39619 {
39620 PyThreadState* __tstate = wxPyBeginAllowThreads();
39621 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
39622
39623 wxPyEndAllowThreads(__tstate);
39624 if (PyErr_Occurred()) SWIG_fail;
39625 }
15afbcd0 39626 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39627 return resultobj;
39628 fail:
39629 return NULL;
39630}
39631
39632
39633static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
39634 PyObject *resultobj;
39635 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39636 bool result;
39637 PyObject * obj0 = 0 ;
39638 char *kwnames[] = {
39639 (char *) "self", NULL
39640 };
39641
39642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
15afbcd0
RD
39643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39645 {
39646 PyThreadState* __tstate = wxPyBeginAllowThreads();
39647 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
39648
39649 wxPyEndAllowThreads(__tstate);
39650 if (PyErr_Occurred()) SWIG_fail;
39651 }
4f89f6a3
RD
39652 {
39653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39654 }
d14a1e28
RD
39655 return resultobj;
39656 fail:
39657 return NULL;
39658}
39659
39660
39661static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
39662 PyObject *resultobj;
39663 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39664 bool arg2 ;
39665 PyObject * obj0 = 0 ;
39666 PyObject * obj1 = 0 ;
39667 char *kwnames[] = {
39668 (char *) "self",(char *) "d", NULL
39669 };
39670
39671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39674 arg2 = (bool) SWIG_AsBool(obj1);
39675 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39676 {
39677 PyThreadState* __tstate = wxPyBeginAllowThreads();
39678 (arg1)->SetDone(arg2);
39679
39680 wxPyEndAllowThreads(__tstate);
39681 if (PyErr_Occurred()) SWIG_fail;
39682 }
39683 Py_INCREF(Py_None); resultobj = Py_None;
39684 return resultobj;
39685 fail:
39686 return NULL;
39687}
39688
39689
39690static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
39691 PyObject *resultobj;
39692 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39693 int result;
39694 PyObject * obj0 = 0 ;
39695 char *kwnames[] = {
39696 (char *) "self", NULL
39697 };
39698
39699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
15afbcd0
RD
39700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39702 {
39703 PyThreadState* __tstate = wxPyBeginAllowThreads();
39704 result = (int)(arg1)->GetRelationship();
39705
39706 wxPyEndAllowThreads(__tstate);
39707 if (PyErr_Occurred()) SWIG_fail;
39708 }
15afbcd0 39709 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39710 return resultobj;
39711 fail:
39712 return NULL;
39713}
39714
39715
39716static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
39717 PyObject *resultobj;
39718 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39719 int arg2 ;
39720 PyObject * obj0 = 0 ;
994141e6 39721 PyObject * obj1 = 0 ;
d14a1e28
RD
39722 char *kwnames[] = {
39723 (char *) "self",(char *) "r", NULL
39724 };
39725
994141e6 39726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39729 arg2 = (wxRelationship) SWIG_AsInt(obj1);
39730 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39731 {
39732 PyThreadState* __tstate = wxPyBeginAllowThreads();
39733 (arg1)->SetRelationship((wxRelationship )arg2);
39734
39735 wxPyEndAllowThreads(__tstate);
39736 if (PyErr_Occurred()) SWIG_fail;
39737 }
39738 Py_INCREF(Py_None); resultobj = Py_None;
39739 return resultobj;
39740 fail:
39741 return NULL;
39742}
39743
39744
39745static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *self, PyObject *args, PyObject *kwargs) {
39746 PyObject *resultobj;
39747 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39748 wxWindow *arg2 = (wxWindow *) 0 ;
39749 bool result;
39750 PyObject * obj0 = 0 ;
39751 PyObject * obj1 = 0 ;
39752 char *kwnames[] = {
39753 (char *) "self",(char *) "otherW", NULL
39754 };
39755
39756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39759 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39761 {
39762 PyThreadState* __tstate = wxPyBeginAllowThreads();
39763 result = (bool)(arg1)->ResetIfWin(arg2);
39764
39765 wxPyEndAllowThreads(__tstate);
39766 if (PyErr_Occurred()) SWIG_fail;
39767 }
4f89f6a3
RD
39768 {
39769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39770 }
d14a1e28
RD
39771 return resultobj;
39772 fail:
39773 return NULL;
39774}
39775
39776
39777static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
39778 PyObject *resultobj;
39779 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39780 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
39781 wxWindow *arg3 = (wxWindow *) 0 ;
39782 bool result;
39783 PyObject * obj0 = 0 ;
39784 PyObject * obj1 = 0 ;
39785 PyObject * obj2 = 0 ;
39786 char *kwnames[] = {
39787 (char *) "self",(char *) "constraints",(char *) "win", NULL
39788 };
39789
39790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39793 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
39794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39795 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
39796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39797 {
39798 PyThreadState* __tstate = wxPyBeginAllowThreads();
39799 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
39800
39801 wxPyEndAllowThreads(__tstate);
39802 if (PyErr_Occurred()) SWIG_fail;
39803 }
4f89f6a3
RD
39804 {
39805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39806 }
d14a1e28
RD
39807 return resultobj;
39808 fail:
39809 return NULL;
39810}
39811
39812
39813static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39814 PyObject *resultobj;
39815 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39816 int arg2 ;
39817 wxWindow *arg3 = (wxWindow *) 0 ;
39818 wxWindow *arg4 = (wxWindow *) 0 ;
39819 int result;
39820 PyObject * obj0 = 0 ;
994141e6 39821 PyObject * obj1 = 0 ;
d14a1e28
RD
39822 PyObject * obj2 = 0 ;
39823 PyObject * obj3 = 0 ;
39824 char *kwnames[] = {
39825 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
39826 };
39827
994141e6 39828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
39829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39831 arg2 = (wxEdge) SWIG_AsInt(obj1);
39832 if (PyErr_Occurred()) SWIG_fail;
39833 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
39834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39835 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
39836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39837 {
39838 PyThreadState* __tstate = wxPyBeginAllowThreads();
39839 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
39840
39841 wxPyEndAllowThreads(__tstate);
39842 if (PyErr_Occurred()) SWIG_fail;
39843 }
15afbcd0 39844 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39845 return resultobj;
39846 fail:
39847 return NULL;
39848}
39849
39850
39851static PyObject * IndividualLayoutConstraint_swigregister(PyObject *self, PyObject *args) {
39852 PyObject *obj;
39853 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
39854 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
39855 Py_INCREF(obj);
39856 return Py_BuildValue((char *)"");
39857}
39858static PyObject *_wrap_LayoutConstraints_left_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39859 PyObject *resultobj;
39860 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39861 wxIndividualLayoutConstraint *result;
39862 PyObject * obj0 = 0 ;
39863 char *kwnames[] = {
39864 (char *) "self", NULL
39865 };
39866
39867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39870 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
39871
15afbcd0 39872 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39873 return resultobj;
39874 fail:
39875 return NULL;
39876}
39877
39878
39879static PyObject *_wrap_LayoutConstraints_top_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39880 PyObject *resultobj;
39881 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39882 wxIndividualLayoutConstraint *result;
39883 PyObject * obj0 = 0 ;
39884 char *kwnames[] = {
39885 (char *) "self", NULL
39886 };
39887
39888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39891 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
39892
15afbcd0 39893 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39894 return resultobj;
39895 fail:
39896 return NULL;
39897}
39898
39899
39900static PyObject *_wrap_LayoutConstraints_right_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39901 PyObject *resultobj;
39902 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39903 wxIndividualLayoutConstraint *result;
39904 PyObject * obj0 = 0 ;
39905 char *kwnames[] = {
39906 (char *) "self", NULL
39907 };
39908
39909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39912 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
39913
15afbcd0 39914 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39915 return resultobj;
39916 fail:
39917 return NULL;
39918}
39919
39920
39921static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39922 PyObject *resultobj;
39923 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39924 wxIndividualLayoutConstraint *result;
39925 PyObject * obj0 = 0 ;
39926 char *kwnames[] = {
39927 (char *) "self", NULL
39928 };
39929
39930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39933 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
39934
15afbcd0 39935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39936 return resultobj;
39937 fail:
39938 return NULL;
39939}
39940
39941
39942static PyObject *_wrap_LayoutConstraints_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39943 PyObject *resultobj;
39944 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39945 wxIndividualLayoutConstraint *result;
39946 PyObject * obj0 = 0 ;
39947 char *kwnames[] = {
39948 (char *) "self", NULL
39949 };
39950
39951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39954 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
39955
15afbcd0 39956 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39957 return resultobj;
39958 fail:
39959 return NULL;
39960}
39961
39962
39963static PyObject *_wrap_LayoutConstraints_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39964 PyObject *resultobj;
39965 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39966 wxIndividualLayoutConstraint *result;
39967 PyObject * obj0 = 0 ;
39968 char *kwnames[] = {
39969 (char *) "self", NULL
39970 };
39971
39972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39975 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
39976
15afbcd0 39977 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39978 return resultobj;
39979 fail:
39980 return NULL;
39981}
39982
39983
39984static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39985 PyObject *resultobj;
39986 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39987 wxIndividualLayoutConstraint *result;
39988 PyObject * obj0 = 0 ;
39989 char *kwnames[] = {
39990 (char *) "self", NULL
39991 };
39992
39993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39996 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
39997
15afbcd0 39998 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39999 return resultobj;
40000 fail:
40001 return NULL;
40002}
40003
40004
40005static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *self, PyObject *args, PyObject *kwargs) {
40006 PyObject *resultobj;
40007 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40008 wxIndividualLayoutConstraint *result;
40009 PyObject * obj0 = 0 ;
40010 char *kwnames[] = {
40011 (char *) "self", NULL
40012 };
40013
40014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
40015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40017 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
40018
15afbcd0 40019 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40020 return resultobj;
40021 fail:
40022 return NULL;
40023}
40024
40025
40026static PyObject *_wrap_new_LayoutConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
40027 PyObject *resultobj;
40028 wxLayoutConstraints *result;
40029 char *kwnames[] = {
40030 NULL
40031 };
40032
40033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
40034 {
40035 PyThreadState* __tstate = wxPyBeginAllowThreads();
40036 result = (wxLayoutConstraints *)new wxLayoutConstraints();
40037
40038 wxPyEndAllowThreads(__tstate);
40039 if (PyErr_Occurred()) SWIG_fail;
40040 }
15afbcd0 40041 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 1);
d14a1e28
RD
40042 return resultobj;
40043 fail:
40044 return NULL;
40045}
40046
40047
40048static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
40049 PyObject *resultobj;
40050 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40051 wxWindow *arg2 = (wxWindow *) 0 ;
40052 int *arg3 = (int *) 0 ;
40053 bool result;
40054 int temp3 ;
40055 PyObject * obj0 = 0 ;
40056 PyObject * obj1 = 0 ;
40057 char *kwnames[] = {
40058 (char *) "self",(char *) "win", NULL
40059 };
40060
40061 arg3 = &temp3;
40062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
40063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40065 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
40066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40067 {
40068 PyThreadState* __tstate = wxPyBeginAllowThreads();
40069 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
40070
40071 wxPyEndAllowThreads(__tstate);
40072 if (PyErr_Occurred()) SWIG_fail;
40073 }
4f89f6a3
RD
40074 {
40075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40076 }
d14a1e28
RD
40077 {
40078 PyObject *o = PyInt_FromLong((long) (*arg3));
40079 resultobj = t_output_helper(resultobj,o);
40080 }
40081 return resultobj;
40082 fail:
40083 return NULL;
40084}
40085
40086
40087static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *self, PyObject *args, PyObject *kwargs) {
40088 PyObject *resultobj;
40089 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40090 bool result;
40091 PyObject * obj0 = 0 ;
40092 char *kwnames[] = {
40093 (char *) "self", NULL
40094 };
40095
40096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
15afbcd0
RD
40097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40099 {
40100 PyThreadState* __tstate = wxPyBeginAllowThreads();
40101 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
40102
40103 wxPyEndAllowThreads(__tstate);
40104 if (PyErr_Occurred()) SWIG_fail;
40105 }
4f89f6a3
RD
40106 {
40107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40108 }
d14a1e28
RD
40109 return resultobj;
40110 fail:
40111 return NULL;
40112}
40113
40114
40115static PyObject * LayoutConstraints_swigregister(PyObject *self, PyObject *args) {
40116 PyObject *obj;
40117 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
40118 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
40119 Py_INCREF(obj);
40120 return Py_BuildValue((char *)"");
40121}
40122static PyMethodDef SwigMethods[] = {
40123 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS },
3a04f143 40124 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects, METH_VARARGS },
d14a1e28
RD
40125 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS },
40126 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS },
40127 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS },
40128 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS },
40129 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS },
40130 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS },
40131 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS },
40132 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS },
40133 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS },
40134 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS },
40135 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS },
40136 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS },
40137 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS },
40138 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS },
40139 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS },
40140 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS },
40141 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS },
40142 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS },
40143 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS },
40144 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS },
74a57fcd
RD
40145 { (char *)"Size_IsFullySpecified", (PyCFunction) _wrap_Size_IsFullySpecified, METH_VARARGS | METH_KEYWORDS },
40146 { (char *)"Size_SetDefaults", (PyCFunction) _wrap_Size_SetDefaults, METH_VARARGS | METH_KEYWORDS },
e811c8ce 40147 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40148 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS },
40149 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS },
40150 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS },
40151 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS },
40152 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS },
40153 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS },
40154 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40155 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS },
40156 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
40157 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS },
40158 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS },
d14a1e28 40159 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 40160 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40161 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS },
40162 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS },
40163 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS },
40164 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS },
40165 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS },
40166 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS },
40167 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS },
40168 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS },
40169 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS },
40170 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS },
40171 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS },
40172 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS },
40173 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS },
40174 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 40175 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40176 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
40177 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS },
40178 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS },
40179 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS },
40180 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS },
40181 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS },
40182 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS },
40183 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS },
40184 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS },
40185 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS },
40186 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS },
40187 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS },
40188 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS },
40189 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS },
40190 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS },
40191 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS },
40192 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS },
c9c7117a
RD
40193 { (char *)"Rect_GetTopLeft", (PyCFunction) _wrap_Rect_GetTopLeft, METH_VARARGS | METH_KEYWORDS },
40194 { (char *)"Rect_SetTopLeft", (PyCFunction) _wrap_Rect_SetTopLeft, METH_VARARGS | METH_KEYWORDS },
40195 { (char *)"Rect_GetBottomRight", (PyCFunction) _wrap_Rect_GetBottomRight, METH_VARARGS | METH_KEYWORDS },
40196 { (char *)"Rect_SetBottomRight", (PyCFunction) _wrap_Rect_SetBottomRight, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40197 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS },
40198 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS },
40199 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS },
40200 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS },
40201 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS },
40202 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS },
40203 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS },
40204 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS },
40205 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS },
40206 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS },
40207 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS },
40208 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS },
40209 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS },
40210 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS },
40211 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS },
40212 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS },
40213 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS },
40214 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS },
40215 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS },
40216 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS },
40217 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS },
40218 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS },
40219 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS },
40220 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS },
40221 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS },
40222 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS },
40223 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS },
40224 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS },
40225 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 40226 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40227 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
40228 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS },
40229 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS },
40230 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS },
40231 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS },
40232 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS },
40233 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS },
40234 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS },
40235 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS },
40236 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS },
40237 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS },
40238 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS },
40239 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS },
40240 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS },
40241 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS },
40242 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS },
40243 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS },
40244 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS },
40245 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS },
40246 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS },
40247 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS },
40248 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40249 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS },
40250 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS },
40251 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS },
40252 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS },
40253 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 40254 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40255 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS },
40256 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS },
40257 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS },
40258 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS },
40259 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS },
40260 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS },
40261 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS },
40262 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS },
40263 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS },
40264 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS },
40265 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS },
40266 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS },
40267 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS },
40268 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS },
40269 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS },
40270 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS },
40271 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS },
40272 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS },
40273 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS },
40274 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS },
40275 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS },
40276 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS },
40277 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS },
40278 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS },
40279 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS },
40280 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS },
40281 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS },
40282 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS },
40283 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS },
40284 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS },
40285 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS },
40286 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
40287 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40288 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40289 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
40290 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
40291 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS },
40292 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS },
40293 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS },
40294 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS },
40295 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS },
40296 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS },
40297 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS },
40298 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS },
40299 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS },
40300 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS },
40301 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS },
40302 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS },
40303 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS },
40304 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS },
40305 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS },
40306 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS },
40307 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS },
40308 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS },
40309 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS },
40310 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40311 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40312 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS },
40313 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS },
40314 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40315 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40316 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
40317 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
40318 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS },
40319 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS },
40320 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS },
40321 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS },
40322 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS },
40323 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS },
40324 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40325 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40326 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
40327 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
40328 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS },
40329 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS },
40330 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS },
40331 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS },
40332 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS },
40333 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS },
40334 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS },
40335 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS },
40336 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS },
40337 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS },
40338 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS },
40339 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS },
40340 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS },
40341 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
40342 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS },
40343 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS },
40344 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS },
40345 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS },
40346 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS },
40347 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS },
66c033b4 40348 { (char *)"new_EmptyImage", (PyCFunction) _wrap_new_EmptyImage, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40349 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS },
40350 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS },
40351 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS },
40352 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS },
40353 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS },
40354 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS },
40355 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS },
40356 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS },
40357 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS },
40358 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS },
40359 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS },
40360 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS },
40361 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS },
40362 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS },
40363 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
40364 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS },
40365 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS },
40366 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS },
40367 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS },
40368 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS },
40369 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS },
40370 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS },
40371 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS },
40372 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS },
40373 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS },
40374 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS },
40375 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS },
40376 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS },
b2df227b 40377 { (char *)"Image_GetSize", (PyCFunction) _wrap_Image_GetSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40378 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS },
40379 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS },
40380 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS },
40381 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS },
40382 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS },
40383 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS },
40384 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS },
40385 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS },
40386 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS },
40387 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
40388 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
40389 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS },
40390 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS },
40391 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS },
40392 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS },
40393 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS },
40394 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS },
40395 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS },
40396 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS },
40397 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS },
40398 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS },
40399 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS },
40400 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS },
40401 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
40402 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS },
40403 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
40404 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS },
40405 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS },
40406 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS },
40407 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS },
40408 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS },
40409 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS },
40410 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS },
40411 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
40412 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS },
40413 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS },
40414 { (char *)"InitAllImageHandlers", (PyCFunction) _wrap_InitAllImageHandlers, METH_VARARGS | METH_KEYWORDS },
40415 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS },
40416 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS },
40417 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS },
40418 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS },
40419 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS },
40420 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS },
40421 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS },
40422 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS },
40423 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS },
40424 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS },
40425 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS },
40426 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS },
40427 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS },
40428 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS },
40429 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS },
40430 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS },
40431 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS },
40432 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS },
40433 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS },
40434 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS },
40435 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS },
40436 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS },
40437 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS },
40438 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
40439 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
40440 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
40441 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
40442 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
40443 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
40444 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
40445 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
40446 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
40447 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
40448 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
40449 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
40450 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS },
40451 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS },
40452 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS },
40453 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS },
40454 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS },
40455 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS },
40456 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS },
40457 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
40458 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
40459 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS },
40460 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS },
40461 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS },
40462 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS },
40463 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS },
40464 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS },
40465 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS },
40466 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS },
40467 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS },
40468 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS },
40469 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
40470 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
40471 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS },
40472 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
40473 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
40474 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS },
40475 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS },
40476 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
40477 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS },
40478 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS },
40479 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS },
40480 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS },
40481 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS },
40482 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS },
40483 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS },
40484 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS },
40485 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS },
40486 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS },
40487 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS },
40488 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS },
40489 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS },
40490 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS },
40491 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS },
40492 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS },
40493 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
40494 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40495 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
40496 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
40497 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS },
40498 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS },
40499 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
40500 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40501 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
40502 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
40503 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS },
40504 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS },
40505 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
40506 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
40507 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS },
40508 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
40509 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS },
40510 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
40511 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS },
40512 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
40513 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
40514 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
40515 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
40516 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS },
40517 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS },
40518 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS },
40519 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS },
40520 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS },
40521 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS },
40522 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS },
40523 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS },
40524 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS },
40525 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS },
40526 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS },
40527 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS },
40528 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS },
40529 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS },
40530 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS },
40531 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS },
40532 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40533 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
40534 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS },
40535 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS },
40536 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS },
40537 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS },
40538 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS },
40539 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS },
40540 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS },
40541 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
40542 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
40543 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
40544 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
40545 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS },
40546 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS },
40547 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS },
40548 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS },
40549 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS },
40550 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS },
40551 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
40552 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
40553 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
40554 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
40555 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
40556 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
40557 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
40558 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
40559 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS },
40560 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS },
40561 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS },
40562 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS },
40563 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS },
40564 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS },
40565 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS },
40566 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS },
40567 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS },
40568 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS },
40569 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS },
40570 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS },
40571 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS },
40572 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS },
40573 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS },
40574 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
40575 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
40576 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
40577 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
40578 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS },
40579 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
40580 { (char *)"KeyEvent_GetUniChar", (PyCFunction) _wrap_KeyEvent_GetUniChar, METH_VARARGS | METH_KEYWORDS },
40581 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS },
40582 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS },
40583 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40584 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
40585 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS },
40586 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS },
40587 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
40588 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
40589 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
40590 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
40591 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS },
40592 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS },
40593 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
40594 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
40595 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
40596 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
40597 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
40598 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
40599 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
40600 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
40601 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS },
40602 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS },
40603 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS },
40604 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS },
40605 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS },
40606 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS },
40607 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS },
40608 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS },
40609 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
40610 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
40611 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
40612 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
40613 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS },
40614 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS },
40615 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
40616 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
40617 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS },
40618 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS },
40619 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40620 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
40621 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
40622 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
40623 { (char *)"MoveEvent_m_pos_set", (PyCFunction) _wrap_MoveEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
40624 { (char *)"MoveEvent_m_pos_get", (PyCFunction) _wrap_MoveEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
40625 { (char *)"MoveEvent_m_rect_set", (PyCFunction) _wrap_MoveEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
40626 { (char *)"MoveEvent_m_rect_get", (PyCFunction) _wrap_MoveEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
40627 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS },
40628 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS },
40629 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS },
40630 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS },
40631 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS },
40632 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS },
40633 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS },
40634 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS },
40635 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS },
40636 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
40637 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS },
40638 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS },
40639 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS },
40640 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
40641 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS },
40642 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS },
40643 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS },
40644 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS },
40645 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS },
40646 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS },
40647 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS },
40648 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS },
40649 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS },
40650 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS },
40651 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS },
40652 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS },
40653 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS },
40654 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS },
40655 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS },
40656 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS },
40657 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS },
40658 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS },
40659 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS },
40660 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS },
40661 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS },
40662 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS },
40663 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS },
40664 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS },
40665 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS },
40666 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS },
40667 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS },
40668 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS },
40669 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40670 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS },
40671 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS },
40672 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS },
40673 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS },
40674 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS },
40675 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS },
40676 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS },
40677 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS },
40678 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS },
40679 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS },
40680 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS },
40681 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS },
40682 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS },
40683 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
40684 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
40685 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS },
40686 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS },
40687 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
40688 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
40689 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS },
40690 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS },
40691 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS },
40692 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS },
40693 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS },
40694 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS },
40695 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS },
40696 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS },
40697 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS },
40698 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS },
40699 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS },
40700 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS },
40701 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS },
40702 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
40703 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
40704 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS },
40705 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS },
40706 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS },
40707 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS },
40708 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS },
40709 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS },
40710 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
40711 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
40712 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS },
40713 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS },
40714 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
40715 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS },
40716 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS },
40717 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
40718 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS },
40719 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS },
40720 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40721 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
40722 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS },
40723 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS },
40724 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS },
40725 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS },
40726 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
40727 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
40728 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS },
40729 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS },
40730 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS },
40731 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS },
40732 { (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
40733 { (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
40734 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS },
40735 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
40736 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
40737 { (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
40738 { (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
40739 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS },
40740 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS },
40741 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS },
40742 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
40743 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS },
40744 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS },
40745 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS },
40746 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS },
40747 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS },
40748 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS },
40749 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS },
40750 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
40751 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS },
40752 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
40753 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS },
40754 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS },
40755 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS },
40756 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS },
40757 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS },
40758 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS },
40759 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40760 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS },
40761 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS },
40762 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS },
40763 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
40764 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
40765 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
40766 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
40767 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
40768 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
d14a1e28 40769 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS },
6c3b4aae 40770 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40771 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
40772 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
40773 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
40774 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
40775 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
40776 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
40777 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
40778 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
40779 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
40780 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
40781 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS },
40782 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS },
40783 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS },
40784 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS },
40785 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS },
40786 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS },
40787 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS },
40788 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
40789 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS },
40790 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS },
40791 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS },
1e0c8722
RD
40792 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
40793 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
40794 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS },
1e0c8722
RD
40795 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS },
40796 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
40797 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS },
40798 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS },
40799 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40800 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40801 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS },
40802 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS },
40803 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS },
74a57fcd
RD
40804 { (char *)"new_VisualAttributes", (PyCFunction) _wrap_new_VisualAttributes, METH_VARARGS | METH_KEYWORDS },
40805 { (char *)"delete_VisualAttributes", (PyCFunction) _wrap_delete_VisualAttributes, METH_VARARGS | METH_KEYWORDS },
40806 { (char *)"VisualAttributes_font_set", (PyCFunction) _wrap_VisualAttributes_font_set, METH_VARARGS | METH_KEYWORDS },
40807 { (char *)"VisualAttributes_font_get", (PyCFunction) _wrap_VisualAttributes_font_get, METH_VARARGS | METH_KEYWORDS },
40808 { (char *)"VisualAttributes_colFg_set", (PyCFunction) _wrap_VisualAttributes_colFg_set, METH_VARARGS | METH_KEYWORDS },
40809 { (char *)"VisualAttributes_colFg_get", (PyCFunction) _wrap_VisualAttributes_colFg_get, METH_VARARGS | METH_KEYWORDS },
40810 { (char *)"VisualAttributes_colBg_set", (PyCFunction) _wrap_VisualAttributes_colBg_set, METH_VARARGS | METH_KEYWORDS },
40811 { (char *)"VisualAttributes_colBg_get", (PyCFunction) _wrap_VisualAttributes_colBg_get, METH_VARARGS | METH_KEYWORDS },
40812 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister, METH_VARARGS },
d14a1e28
RD
40813 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS },
40814 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS },
40815 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS },
40816 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS },
40817 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS },
40818 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
40819 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
40820 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS },
40821 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS },
40822 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS },
40823 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS },
40824 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS },
40825 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS },
4276dc52
RD
40826 { (char *)"Window_SetWindowVariant", (PyCFunction) _wrap_Window_SetWindowVariant, METH_VARARGS | METH_KEYWORDS },
40827 { (char *)"Window_GetWindowVariant", (PyCFunction) _wrap_Window_GetWindowVariant, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40828 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS },
40829 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS },
40830 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS },
40831 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS },
40832 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS },
40833 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS },
40834 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS },
40835 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS },
40836 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
40837 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS },
40838 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS },
40839 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS },
40840 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS },
40841 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS },
40842 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
40843 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS },
40844 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS },
40845 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
40846 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS },
40847 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
40848 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS },
40849 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS },
40850 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
40851 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
40852 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS },
40853 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS },
40854 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS },
40855 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS },
40856 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS },
40857 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
40858 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
40859 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS },
40860 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS },
74a57fcd
RD
40861 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints, METH_VARARGS },
40862 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints, METH_VARARGS },
d14a1e28
RD
40863 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS },
40864 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS },
40865 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS },
40866 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS },
40867 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
74a57fcd 40868 { (char *)"Window_GetMinSize", (PyCFunction) _wrap_Window_GetMinSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40869 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS },
40870 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS },
40871 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
40872 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS },
40873 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS },
40874 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS },
40875 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS },
40876 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS },
40877 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS },
40878 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS },
40879 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS },
40880 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
40881 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40882 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS },
40883 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS },
40884 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
40885 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS },
40886 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS },
40887 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
40888 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40889 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS },
40890 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS },
40891 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS },
40892 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
40893 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
40894 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
40895 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
40896 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS },
40897 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS },
40898 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS },
40899 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
40900 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
40901 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS },
40902 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS },
40903 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS },
40904 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS },
40905 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
40906 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
40907 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
40908 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
40909 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
40910 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
40911 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS },
40912 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS },
74a57fcd
RD
40913 { (char *)"Window_Validate", (PyCFunction) _wrap_Window_Validate, METH_VARARGS | METH_KEYWORDS },
40914 { (char *)"Window_TransferDataToWindow", (PyCFunction) _wrap_Window_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
40915 { (char *)"Window_TransferDataFromWindow", (PyCFunction) _wrap_Window_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
40916 { (char *)"Window_InitDialog", (PyCFunction) _wrap_Window_InitDialog, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40917 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40918 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40919 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS },
40920 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS },
40921 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
40922 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
40923 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS },
40924 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS },
40925 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
40926 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
40927 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS },
40928 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
40929 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
40930 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS },
40931 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS },
40932 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS },
40933 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS },
40934 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS },
40935 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS },
40936 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS },
40937 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS },
40938 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS },
40939 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
40940 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS },
40941 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS },
40942 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
4276dc52 40943 { (char *)"Window_IsExposedRect", (PyCFunction) _wrap_Window_IsExposedRect, METH_VARARGS | METH_KEYWORDS },
74a57fcd
RD
40944 { (char *)"Window_GetDefaultAttributes", (PyCFunction) _wrap_Window_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
40945 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction) _wrap_Window_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28 40946 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
b2df227b 40947 { (char *)"Window_SetDefaultBackgroundColour", (PyCFunction) _wrap_Window_SetDefaultBackgroundColour, METH_VARARGS | METH_KEYWORDS },
d14a1e28 40948 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
b2df227b 40949 { (char *)"Window_SetDefaultForegroundColour", (PyCFunction) _wrap_Window_SetDefaultForegroundColour, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40950 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
40951 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
40952 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS },
40953 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS },
40954 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS },
b2df227b 40955 { (char *)"Window_SetDefaultFont", (PyCFunction) _wrap_Window_SetDefaultFont, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40956 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS },
40957 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS },
40958 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS },
40959 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
40960 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
40961 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
40962 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
40963 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
40964 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
40965 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
40966 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
40967 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS },
40968 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS },
15afbcd0 40969 { (char *)"Window_GetBorder", _wrap_Window_GetBorder, METH_VARARGS },
d14a1e28
RD
40970 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
40971 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
40972 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS },
40973 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS },
40974 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
40975 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
40976 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
40977 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
40978 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
40979 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
40980 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
40981 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS },
40982 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS },
40983 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS },
40984 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS },
40985 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS },
40986 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS },
40987 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS },
40988 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
40989 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS },
40990 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
40991 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS },
40992 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS },
40993 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
40994 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
40995 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS },
40996 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS },
40997 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
40998 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
40999 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS },
41000 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS },
41001 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS },
41002 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS },
41003 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
41004 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
a95a7133
RD
41005 { (char *)"Window_InheritAttributes", (PyCFunction) _wrap_Window_InheritAttributes, METH_VARARGS | METH_KEYWORDS },
41006 { (char *)"Window_ShouldInheritColours", (PyCFunction) _wrap_Window_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41007 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS },
41008 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS },
41009 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
41010 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
41011 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS },
41012 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS },
41013 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS },
41014 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS },
41015 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS },
41016 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS },
41017 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS },
41018 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS },
41019 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS },
41020 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
41021 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS },
41022 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS },
41023 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
41024 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS },
41025 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS },
41026 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS },
41027 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
41028 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
41029 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
41030 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
41031 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS },
41032 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS },
41033 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS },
41034 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS },
41035 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
41036 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
41037 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
41038 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
41039 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS },
41040 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS },
41041 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
41042 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
41043 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
41044 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
41045 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS },
41046 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
41047 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS },
41048 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
41049 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS },
41050 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS },
41051 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
41052 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
41053 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
41054 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS },
41055 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS },
41056 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS },
41057 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS },
41058 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
41059 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS },
41060 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS },
41061 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS },
41062 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS },
41063 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
41064 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
41065 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS },
41066 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS },
41067 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
41068 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
41069 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
41070 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
41071 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS },
41072 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
41073 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
41074 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS },
41075 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS },
41076 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS },
41077 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS },
41078 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS },
41079 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS },
41080 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS },
41081 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS },
41082 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
41083 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
41084 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
41085 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
41086 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
41087 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
41088 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS },
41089 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
41090 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
41091 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
41092 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
41093 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
41094 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
41095 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS },
41096 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
41097 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
41098 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
41099 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
41100 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
41101 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
41102 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS },
41103 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS },
41104 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS },
41105 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS },
41106 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS },
41107 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS },
41108 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
41109 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS },
41110 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
41111 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
41112 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
41113 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
41114 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
41115 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
41116 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
41117 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
a95a7133 41118 { (char *)"MenuItem_SetKind", (PyCFunction) _wrap_MenuItem_SetKind, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41119 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
41120 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
41121 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
41122 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
41123 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
41124 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
41125 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
41126 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS },
41127 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
41128 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
41129 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
41130 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
41131 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
41132 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
41133 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS },
41134 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS },
41135 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS },
41136 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS },
41137 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS },
41138 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS },
41139 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS },
41140 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS },
41141 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS },
41142 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS },
74a57fcd 41143 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction) _wrap_Control_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41144 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS },
41145 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS },
41146 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS },
41147 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS },
41148 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS },
41149 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS },
41150 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS },
41151 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS },
41152 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS },
41153 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS },
41154 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS },
41155 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS },
41156 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS },
41157 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS },
41158 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
41159 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS },
41160 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS },
41161 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS },
41162 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS },
41163 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS },
41164 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
41165 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS },
41166 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS },
41167 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
41168 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS },
41169 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS },
41170 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
41171 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
41172 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS },
41173 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS },
41174 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS },
41175 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS },
41176 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS },
41177 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS },
41178 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS },
41179 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS },
41180 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS },
41181 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS },
41182 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS },
41183 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS },
41184 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS },
41185 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS },
41186 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS },
41187 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS },
41188 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS },
41189 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS },
41190 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS },
41191 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS },
41192 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS },
41193 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS },
41194 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS },
41195 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS },
41196 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS },
41197 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS },
41198 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
41199 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS },
41200 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS },
41201 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS },
41202 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS },
41203 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS },
41204 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS },
41205 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS },
41206 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS },
41207 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS },
41208 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS },
41209 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS },
41210 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS },
41211 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS },
41212 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41213 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41214 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS },
41215 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS },
41216 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS },
41217 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
41218 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
41219 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS },
41220 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
41221 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS },
41222 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS },
41223 { (char *)"Sizer_Hide", (PyCFunction) _wrap_Sizer_Hide, METH_VARARGS | METH_KEYWORDS },
41224 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS },
41225 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS },
41226 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS },
41227 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS },
41228 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
41229 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS },
41230 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS },
41231 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS },
41232 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS },
41233 { (char *)"BoxSizer_RecalcSizes", (PyCFunction) _wrap_BoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41234 { (char *)"BoxSizer_CalcMin", (PyCFunction) _wrap_BoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41235 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS },
41236 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS },
41237 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS },
41238 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction) _wrap_StaticBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41239 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction) _wrap_StaticBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41240 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS },
41241 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS },
41242 { (char *)"GridSizer_RecalcSizes", (PyCFunction) _wrap_GridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41243 { (char *)"GridSizer_CalcMin", (PyCFunction) _wrap_GridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41244 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS },
41245 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS },
41246 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS },
41247 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS },
41248 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS },
41249 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS },
41250 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS },
41251 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS },
41252 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS },
41253 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS },
41254 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction) _wrap_FlexGridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41255 { (char *)"FlexGridSizer_CalcMin", (PyCFunction) _wrap_FlexGridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41256 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS },
41257 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS },
41258 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS },
41259 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS },
41260 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
41261 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
41262 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
41263 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
41264 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS },
41265 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41266 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS },
41267 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS },
41268 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS },
41269 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS },
41270 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS },
41271 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS },
41272 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS },
41273 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
41274 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS },
41275 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41276 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS },
41277 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS },
41278 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS },
41279 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS },
41280 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS },
41281 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS },
41282 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS },
41283 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
41284 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS },
41285 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41286 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS },
41287 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS },
41288 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS },
41289 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS },
41290 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
41291 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS },
41292 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS },
41293 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS },
41294 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS },
41295 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects, METH_VARARGS },
41296 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS },
41297 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS },
41298 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS },
41299 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS },
41300 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS },
41301 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS },
41302 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS },
41303 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
41304 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
41305 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS },
41306 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS },
41307 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS },
41308 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS },
41309 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS },
41310 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS },
e811c8ce 41311 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41312 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction) _wrap_GridBagSizer_FindItemWithData, METH_VARARGS | METH_KEYWORDS },
41313 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction) _wrap_GridBagSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41314 { (char *)"GridBagSizer_CalcMin", (PyCFunction) _wrap_GridBagSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41315 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS },
41316 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS },
41317 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS },
41318 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS },
41319 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS },
41320 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS },
41321 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS },
41322 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS },
41323 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS },
41324 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS },
41325 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS },
41326 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS },
41327 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS },
41328 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS },
41329 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS },
41330 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS },
41331 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS },
41332 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS },
41333 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS },
41334 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS },
41335 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS },
41336 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS },
41337 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS },
41338 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS },
41339 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS },
41340 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS },
41341 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS },
41342 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS },
41343 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS },
41344 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS },
41345 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS },
41346 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS },
41347 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS },
41348 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS },
41349 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS },
41350 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS },
41351 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS },
41352 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS },
41353 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS },
41354 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS },
41355 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS },
41356 { NULL, NULL }
41357};
41358
41359
41360/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41361
41362static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
41363 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
41364}
41365static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
41366 return (void *)((wxSizer *) ((wxBoxSizer *) x));
41367}
41368static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
41369 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
41370}
41371static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
41372 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
41373}
41374static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
41375 return (void *)((wxSizer *) ((wxGridSizer *) x));
41376}
41377static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
41378 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
41379}
41380static void *_p_wxPySizerTo_p_wxSizer(void *x) {
41381 return (void *)((wxSizer *) ((wxPySizer *) x));
41382}
41383static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
41384 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
41385}
41386static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
41387 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
41388}
41389static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
41390 return (void *)((wxEvent *) ((wxMenuEvent *) x));
41391}
41392static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
41393 return (void *)((wxEvent *) ((wxCloseEvent *) x));
41394}
41395static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
41396 return (void *)((wxEvent *) ((wxMouseEvent *) x));
41397}
41398static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
41399 return (void *)((wxEvent *) ((wxEraseEvent *) x));
41400}
41401static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
41402 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
41403}
41404static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
41405 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
41406}
41407static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
41408 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
41409}
41410static void *_p_wxPyEventTo_p_wxEvent(void *x) {
41411 return (void *)((wxEvent *) ((wxPyEvent *) x));
41412}
41413static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
41414 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
41415}
41416static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
41417 return (void *)((wxEvent *) ((wxIdleEvent *) x));
41418}
41419static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
41420 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
41421}
41422static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
41423 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
41424}
41425static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
41426 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
41427}
41428static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
41429 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
41430}
41431static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
41432 return (void *)((wxEvent *) ((wxActivateEvent *) x));
41433}
41434static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
41435 return (void *)((wxEvent *) ((wxSizeEvent *) x));
41436}
41437static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
41438 return (void *)((wxEvent *) ((wxMoveEvent *) x));
41439}
41440static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
41441 return (void *)((wxEvent *) ((wxPaintEvent *) x));
41442}
41443static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
41444 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
41445}
41446static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
41447 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
41448}
41449static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
41450 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
41451}
41452static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
41453 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
41454}
41455static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
41456 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
41457}
41458static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
41459 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
41460}
41461static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
41462 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
41463}
41464static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
41465 return (void *)((wxEvent *) ((wxFocusEvent *) x));
41466}
41467static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
41468 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
41469}
41470static void *_p_wxShowEventTo_p_wxEvent(void *x) {
41471 return (void *)((wxEvent *) ((wxShowEvent *) x));
41472}
41473static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
41474 return (void *)((wxEvent *) ((wxCommandEvent *) x));
41475}
41476static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
41477 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
41478}
41479static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
41480 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
41481}
41482static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
41483 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
41484}
41485static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
41486 return (void *)((wxEvent *) ((wxKeyEvent *) x));
41487}
41488static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
41489 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
41490}
41491static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
41492 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
41493}
41494static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
41495 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
41496}
41497static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
41498 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
41499}
41500static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
41501 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
41502}
41503static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
41504 return (void *)((wxControl *) ((wxControlWithItems *) x));
41505}
41506static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
41507 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
41508}
41509static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
41510 return (void *)((wxEvtHandler *) ((wxWindow *) x));
41511}
41512static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
41513 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
41514}
41515static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
41516 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
41517}
41518static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
41519 return (void *)((wxEvtHandler *) ((wxValidator *) x));
41520}
41521static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
41522 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
41523}
41524static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
41525 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
41526}
41527static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
41528 return (void *)((wxEvtHandler *) ((wxMenu *) x));
41529}
41530static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
41531 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
41532}
41533static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
41534 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
41535}
41536static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
41537 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
41538}
41539static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
41540 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
41541}
41542static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
41543 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
41544}
41545static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
41546 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
41547}
41548static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
41549 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
41550}
41551static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
41552 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
41553}
41554static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
41555 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
41556}
41557static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
41558 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
41559}
41560static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
41561 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
41562}
41563static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
41564 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
41565}
41566static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
41567 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
41568}
41569static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
41570 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
41571}
41572static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
41573 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
41574}
41575static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
41576 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
41577}
41578static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
41579 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
41580}
41581static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
41582 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
41583}
41584static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
41585 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
41586}
41587static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
41588 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
41589}
41590static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
41591 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
41592}
41593static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
41594 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
41595}
41596static void *_p_wxMenuEventTo_p_wxObject(void *x) {
41597 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
41598}
41599static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
41600 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
41601}
41602static void *_p_wxEraseEventTo_p_wxObject(void *x) {
41603 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
41604}
41605static void *_p_wxMouseEventTo_p_wxObject(void *x) {
41606 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
41607}
41608static void *_p_wxCloseEventTo_p_wxObject(void *x) {
41609 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
41610}
41611static void *_p_wxValidatorTo_p_wxObject(void *x) {
41612 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
41613}
41614static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
41615 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
41616}
41617static void *_p_wxMenuBarTo_p_wxObject(void *x) {
41618 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
41619}
41620static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
41621 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
41622}
41623static void *_p_wxSizerTo_p_wxObject(void *x) {
41624 return (void *)((wxObject *) ((wxSizer *) x));
41625}
41626static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
41627 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
41628}
41629static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
41630 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
41631}
41632static void *_p_wxMenuTo_p_wxObject(void *x) {
41633 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
41634}
41635static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
41636 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
41637}
41638static void *_p_wxImageTo_p_wxObject(void *x) {
41639 return (void *)((wxObject *) ((wxImage *) x));
41640}
41641static void *_p_wxScrollEventTo_p_wxObject(void *x) {
41642 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
41643}
41644static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
41645 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
41646}
41647static void *_p_wxPyEventTo_p_wxObject(void *x) {
41648 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
41649}
41650static void *_p_wxWindowTo_p_wxObject(void *x) {
41651 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
41652}
41653static void *_p_wxControlTo_p_wxObject(void *x) {
41654 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
41655}
1e0c8722
RD
41656static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
41657 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
41658}
d14a1e28
RD
41659static void *_p_wxGridSizerTo_p_wxObject(void *x) {
41660 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
41661}
41662static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
41663 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
41664}
41665static void *_p_wxPyAppTo_p_wxObject(void *x) {
41666 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
41667}
41668static void *_p_wxEventTo_p_wxObject(void *x) {
41669 return (void *)((wxObject *) ((wxEvent *) x));
41670}
41671static void *_p_wxActivateEventTo_p_wxObject(void *x) {
41672 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
41673}
41674static void *_p_wxMoveEventTo_p_wxObject(void *x) {
41675 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
41676}
41677static void *_p_wxSizeEventTo_p_wxObject(void *x) {
41678 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
41679}
41680static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
41681 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
41682}
41683static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
41684 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
41685}
41686static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
41687 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
41688}
41689static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
41690 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
41691}
41692static void *_p_wxIdleEventTo_p_wxObject(void *x) {
41693 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
41694}
41695static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
41696 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
41697}
41698static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
41699 return (void *)((wxObject *) ((wxEvtHandler *) x));
41700}
41701static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
41702 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
41703}
41704static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
41705 return (void *)((wxObject *) ((wxImageHandler *) x));
41706}
41707static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
41708 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
41709}
41710static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
41711 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
41712}
41713static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
41714 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
41715}
41716static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
41717 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
41718}
41719static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
41720 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
41721}
41722static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
41723 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
41724}
41725static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
41726 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
41727}
41728static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
41729 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
41730}
41731static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
41732 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
41733}
41734static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
41735 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
41736}
41737static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
41738 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
41739}
41740static void *_p_wxPaintEventTo_p_wxObject(void *x) {
41741 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
41742}
41743static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
41744 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
41745}
41746static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
41747 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
41748}
41749static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
41750 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
41751}
41752static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
41753 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
41754}
41755static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
41756 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
41757}
41758static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
41759 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
41760}
41761static void *_p_wxFileSystemTo_p_wxObject(void *x) {
41762 return (void *)((wxObject *) ((wxFileSystem *) x));
41763}
41764static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
41765 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
41766}
41767static void *_p_wxFocusEventTo_p_wxObject(void *x) {
41768 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
41769}
41770static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
41771 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
41772}
41773static void *_p_wxSizerItemTo_p_wxObject(void *x) {
41774 return (void *)((wxObject *) ((wxSizerItem *) x));
41775}
41776static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
41777 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
41778}
41779static void *_p_wxShowEventTo_p_wxObject(void *x) {
41780 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
41781}
41782static void *_p_wxFSFileTo_p_wxObject(void *x) {
41783 return (void *)((wxObject *) ((wxFSFile *) x));
41784}
41785static void *_p_wxCommandEventTo_p_wxObject(void *x) {
41786 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
41787}
41788static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
41789 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
41790}
41791static void *_p_wxKeyEventTo_p_wxObject(void *x) {
41792 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
41793}
41794static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
41795 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
41796}
41797static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
41798 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
41799}
41800static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
41801 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
41802}
41803static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
41804 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
41805}
41806static void *_p_wxMenuItemTo_p_wxObject(void *x) {
41807 return (void *)((wxObject *) ((wxMenuItem *) x));
41808}
41809static void *_p_wxPySizerTo_p_wxObject(void *x) {
41810 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
41811}
41812static void *_p_wxControlTo_p_wxWindow(void *x) {
41813 return (void *)((wxWindow *) ((wxControl *) x));
41814}
41815static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
41816 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
41817}
41818static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
41819 return (void *)((wxWindow *) ((wxMenuBar *) x));
41820}
41821static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
41822 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
41823}
41824static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
41825 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
41826}
41827static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
41828 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
41829}
41830static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
41831 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
41832}
41833static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
41834 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
41835}
41836static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
41837 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
41838}
41839static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
41840 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
41841}
41842static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
41843 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
41844}
41845static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
41846 return (void *)((wxValidator *) ((wxPyValidator *) x));
41847}
15afbcd0
RD
41848static 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}};
41849static 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}};
41850static 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}};
41851static 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}};
41852static 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}};
41853static 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}};
41854static 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}};
41855static 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}};
41856static 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}};
41857static 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}};
41858static 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}};
41859static 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}};
41860static 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}};
41861static 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}};
41862static 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}};
41863static 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}};
41864static 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}};
41865static 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}};
41866static 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}};
41867static 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}};
41868static 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}};
41869static 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}};
41870static 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}};
41871static 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}};
41872static 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}};
41873static 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}};
41874static 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}};
41875static 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}};
41876static 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}};
41877static 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}};
41878static 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}};
41879static 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}};
41880static 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}};
41881static 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}};
41882static 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}};
41883static 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 41884static 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
41885static 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}};
41886static 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}};
41887static 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}};
41888static 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}};
41889static 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}};
41890static 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}};
41891static 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}};
41892static 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}};
41893static 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}};
41894static 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}};
41895static 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}};
41896static 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}};
41897static 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}};
41898static 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}};
41899static 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}};
41900static 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}};
41901static 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}};
41902static 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}};
41903static 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}};
41904static 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}};
41905static 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}};
41906static 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}};
41907static 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}};
41908static 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}};
41909static 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}};
41910static 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}};
41911static 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}};
41912static 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}};
41913static 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}};
41914static 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}};
41915static 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}};
41916static 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}};
41917static 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}};
41918static 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}};
41919static 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}};
41920static 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}};
41921static 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}};
41922static 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}};
41923static 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}};
41924static 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}};
41925static 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}};
41926static 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}};
41927static 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}};
41928static 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}};
41929static 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}};
41930static 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}};
41931static 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}};
41932static 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}};
41933static 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}};
41934static 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}};
41935static 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}};
41936static 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}};
41937static 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}};
41938static 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}};
41939static 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}};
41940static 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}};
41941static 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}};
41942static 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}};
41943static 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}};
41944static 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}};
41945static 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}};
41946static 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}};
41947static 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}};
41948static 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}};
41949static 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}};
41950static 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}};
41951static 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}};
41952static 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}};
41953static 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}};
41954static 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}};
41955static 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}};
41956static 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}};
41957static 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}};
41958static 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}};
41959static 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}};
41960static 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}};
41961static 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}};
41962static 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
41963
41964static swig_type_info *swig_types_initial[] = {
41965_swigt__p_wxLayoutConstraints,
41966_swigt__p_wxRealPoint,
41967_swigt__p_wxSizerItem,
41968_swigt__p_wxGBSizerItem,
41969_swigt__p_wxScrollEvent,
41970_swigt__p_wxIndividualLayoutConstraint,
41971_swigt__p_wxSizer,
41972_swigt__p_wxBoxSizer,
41973_swigt__p_wxStaticBoxSizer,
41974_swigt__p_wxGridBagSizer,
41975_swigt__p_wxAcceleratorEntry,
41976_swigt__p_wxUpdateUIEvent,
41977_swigt__p_wxMenu,
41978_swigt__p_wxEvent,
41979_swigt__p_wxGridSizer,
41980_swigt__p_wxFlexGridSizer,
41981_swigt__p_wxInitDialogEvent,
41982_swigt__p_wxItemContainer,
41983_swigt__p_wxNcPaintEvent,
41984_swigt__p_wxPaintEvent,
41985_swigt__p_wxSysColourChangedEvent,
41986_swigt__p_wxMouseCaptureChangedEvent,
41987_swigt__p_wxDisplayChangedEvent,
41988_swigt__p_wxPaletteChangedEvent,
41989_swigt__p_wxControl,
41990_swigt__p_wxFont,
41991_swigt__p_wxMenuBarBase,
41992_swigt__p_wxSetCursorEvent,
41993_swigt__p_wxFSFile,
41994_swigt__p_wxCaret,
41995_swigt__p_wxRegion,
41996_swigt__p_wxPoint2D,
41997_swigt__p_int,
41998_swigt__p_wxSize,
41999_swigt__p_wxDC,
42000_swigt__p_wxPySizer,
74a57fcd 42001_swigt__p_wxVisualAttributes,
d14a1e28
RD
42002_swigt__p_wxNotifyEvent,
42003_swigt__p_wxPyEvent,
42004_swigt__p_wxPropagationDisabler,
42005_swigt__p_wxAppTraits,
42006_swigt__p_wxArrayString,
42007_swigt__p_wxShowEvent,
42008_swigt__p_wxToolTip,
4d5c3d91 42009_swigt__p_wxMaximizeEvent,
d14a1e28
RD
42010_swigt__p_wxIconizeEvent,
42011_swigt__p_wxActivateEvent,
42012_swigt__p_wxMoveEvent,
42013_swigt__p_wxSizeEvent,
42014_swigt__p_wxQueryNewPaletteEvent,
42015_swigt__p_wxWindowCreateEvent,
42016_swigt__p_wxIdleEvent,
42017_swigt__p_wxMenuItem,
42018_swigt__p_wxStaticBox,
42019_swigt__p_long,
42020_swigt__p_wxTIFFHandler,
42021_swigt__p_wxXPMHandler,
42022_swigt__p_wxPNMHandler,
42023_swigt__p_wxJPEGHandler,
42024_swigt__p_wxPCXHandler,
42025_swigt__p_wxGIFHandler,
42026_swigt__p_wxPNGHandler,
42027_swigt__p_wxANIHandler,
42028_swigt__p_wxMemoryFSHandler,
42029_swigt__p_wxEvtHandler,
42030_swigt__p_wxCURHandler,
42031_swigt__p_wxICOHandler,
42032_swigt__p_wxBMPHandler,
42033_swigt__p_wxImageHandler,
42034_swigt__p_wxFileSystemHandler,
42035_swigt__p_wxPyFileSystemHandler,
42036_swigt__p_wxInternetFSHandler,
4d5c3d91 42037_swigt__p_wxZipFSHandler,
d14a1e28
RD
42038_swigt__p_wxRect,
42039_swigt__p_wxGBSpan,
42040_swigt__p_wxPropagateOnce,
42041_swigt__p_wxAcceleratorTable,
994141e6 42042_swigt__p_char,
d14a1e28
RD
42043_swigt__p_wxGBPosition,
42044_swigt__p_wxImage,
42045_swigt__p_wxFrame,
42046_swigt__p_wxScrollWinEvent,
42047_swigt__p_wxImageHistogram,
42048_swigt__p_byte,
42049_swigt__p_wxPoint,
42050_swigt__p_wxCursor,
42051_swigt__p_wxObject,
42052_swigt__p_wxPyInputStream,
42053_swigt__p_wxOutputStream,
42054_swigt__p_wxInputStream,
42055_swigt__p_wxDateTime,
42056_swigt__p_wxKeyEvent,
42057_swigt__p_wxNavigationKeyEvent,
42058_swigt__p_wxWindowDestroyEvent,
42059_swigt__p_wxWindow,
42060_swigt__p_wxMenuBar,
d14a1e28
RD
42061_swigt__p_wxFileSystem,
42062_swigt__p_wxBitmap,
42063_swigt__p_wxMenuEvent,
42064_swigt__p_wxContextMenuEvent,
42065_swigt__p_unsigned_char,
42066_swigt__p_wxCloseEvent,
42067_swigt__p_wxEraseEvent,
42068_swigt__p_wxMouseEvent,
42069_swigt__p_wxPyApp,
42070_swigt__p_wxCommandEvent,
42071_swigt__p_wxPyCommandEvent,
7722248d 42072_swigt__p_wxPyDropTarget,
d14a1e28
RD
42073_swigt__p_wxChildFocusEvent,
42074_swigt__p_wxFocusEvent,
42075_swigt__p_wxDropFilesEvent,
42076_swigt__p_wxControlWithItems,
42077_swigt__p_wxColour,
42078_swigt__p_wxValidator,
42079_swigt__p_wxPyValidator,
420800
42081};
42082
42083
42084/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42085
42086static swig_const_info swig_const_table[] = {
d14a1e28
RD
42087{0}};
42088
42089#ifdef __cplusplus
42090}
42091#endif
42092
42093#ifdef __cplusplus
42094extern "C"
42095#endif
42096SWIGEXPORT(void) SWIG_init(void) {
42097 static PyObject *SWIG_globals = 0;
42098 static int typeinit = 0;
42099 PyObject *m, *d;
42100 int i;
42101 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
42102 m = Py_InitModule((char *) SWIG_name, SwigMethods);
42103 d = PyModule_GetDict(m);
42104
42105 if (!typeinit) {
42106 for (i = 0; swig_types_initial[i]; i++) {
42107 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
42108 }
42109 typeinit = 1;
42110 }
42111 SWIG_InstallConstants(d,swig_const_table);
42112
42113
42114#ifndef wxPyUSE_EXPORT
42115 // Make our API structure a CObject so other modules can import it
42116 // from this module.
42117 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
42118 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
42119 Py_XDECREF(cobj);
42120#endif
42121
15afbcd0
RD
42122 PyDict_SetItemString(d,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND));
42123 PyDict_SetItemString(d,"VSCROLL", SWIG_FromInt((int)wxVSCROLL));
42124 PyDict_SetItemString(d,"HSCROLL", SWIG_FromInt((int)wxHSCROLL));
42125 PyDict_SetItemString(d,"CAPTION", SWIG_FromInt((int)wxCAPTION));
42126 PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER));
42127 PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER));
42128 PyDict_SetItemString(d,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER));
42129 PyDict_SetItemString(d,"BORDER", SWIG_FromInt((int)wxBORDER));
42130 PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER));
42131 PyDict_SetItemString(d,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER));
42132 PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW));
42133 PyDict_SetItemString(d,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER));
15afbcd0
RD
42134 PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL));
42135 PyDict_SetItemString(d,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS));
42136 PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW));
42137 PyDict_SetItemString(d,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME));
42138 PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN));
42139 PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN));
15afbcd0
RD
42140 PyDict_SetItemString(d,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN));
42141 PyDict_SetItemString(d,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM));
42142 PyDict_SetItemString(d,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT));
42143 PyDict_SetItemString(d,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE));
42144 PyDict_SetItemString(d,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE));
42145 PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN));
42146 PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS));
a95a7133 42147 PyDict_SetItemString(d,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB));
15afbcd0
RD
42148 PyDict_SetItemString(d,"RETAINED", SWIG_FromInt((int)wxRETAINED));
42149 PyDict_SetItemString(d,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE));
42150 PyDict_SetItemString(d,"COLOURED", SWIG_FromInt((int)wxCOLOURED));
42151 PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH));
42152 PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB));
42153 PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB));
42154 PyDict_SetItemString(d,"LB_SORT", SWIG_FromInt((int)wxLB_SORT));
42155 PyDict_SetItemString(d,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE));
42156 PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE));
42157 PyDict_SetItemString(d,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED));
42158 PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW));
42159 PyDict_SetItemString(d,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL));
42160 PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER));
42161 PyDict_SetItemString(d,"PASSWORD", SWIG_FromInt((int)wxPASSWORD));
42162 PyDict_SetItemString(d,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE));
42163 PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN));
42164 PyDict_SetItemString(d,"CB_SORT", SWIG_FromInt((int)wxCB_SORT));
42165 PyDict_SetItemString(d,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY));
42166 PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL));
42167 PyDict_SetItemString(d,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL));
42168 PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS));
42169 PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS));
42170 PyDict_SetItemString(d,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP));
42171 PyDict_SetItemString(d,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE));
42172 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL));
42173 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL));
42174 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS));
42175 PyDict_SetItemString(d,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS));
42176 PyDict_SetItemString(d,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT));
42177 PyDict_SetItemString(d,"SL_TOP", SWIG_FromInt((int)wxSL_TOP));
42178 PyDict_SetItemString(d,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT));
42179 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM));
42180 PyDict_SetItemString(d,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH));
42181 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE));
42182 PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL));
42183 PyDict_SetItemString(d,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL));
42184 PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP));
42185 PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE));
42186 PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE));
42187 PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER));
42188 PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE));
42189 PyDict_SetItemString(d,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE));
42190 PyDict_SetItemString(d,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP));
42191 PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM));
42192 PyDict_SetItemString(d,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT));
42193 PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT));
42194 PyDict_SetItemString(d,"OK", SWIG_FromInt((int)wxOK));
42195 PyDict_SetItemString(d,"YES_NO", SWIG_FromInt((int)wxYES_NO));
42196 PyDict_SetItemString(d,"CANCEL", SWIG_FromInt((int)wxCANCEL));
42197 PyDict_SetItemString(d,"YES", SWIG_FromInt((int)wxYES));
42198 PyDict_SetItemString(d,"NO", SWIG_FromInt((int)wxNO));
42199 PyDict_SetItemString(d,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT));
42200 PyDict_SetItemString(d,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT));
42201 PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION));
42202 PyDict_SetItemString(d,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND));
42203 PyDict_SetItemString(d,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION));
42204 PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION));
42205 PyDict_SetItemString(d,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP));
42206 PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK));
42207 PyDict_SetItemString(d,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK));
42208 PyDict_SetItemString(d,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING));
42209 PyDict_SetItemString(d,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR));
42210 PyDict_SetItemString(d,"FORWARD", SWIG_FromInt((int)wxFORWARD));
42211 PyDict_SetItemString(d,"BACKWARD", SWIG_FromInt((int)wxBACKWARD));
42212 PyDict_SetItemString(d,"RESET", SWIG_FromInt((int)wxRESET));
42213 PyDict_SetItemString(d,"HELP", SWIG_FromInt((int)wxHELP));
42214 PyDict_SetItemString(d,"MORE", SWIG_FromInt((int)wxMORE));
42215 PyDict_SetItemString(d,"SETUP", SWIG_FromInt((int)wxSETUP));
42216 PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH));
42217 PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT));
42218 PyDict_SetItemString(d,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO));
42219 PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING));
42220 PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE));
42221 PyDict_SetItemString(d,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT));
42222 PyDict_SetItemString(d,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE));
42223 PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH));
42224 PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM));
42225 PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW));
42226 PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT));
42227 PyDict_SetItemString(d,"ID_ANY", SWIG_FromInt((int)wxID_ANY));
42228 PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR));
42229 PyDict_SetItemString(d,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST));
42230 PyDict_SetItemString(d,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN));
42231 PyDict_SetItemString(d,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE));
42232 PyDict_SetItemString(d,"ID_NEW", SWIG_FromInt((int)wxID_NEW));
42233 PyDict_SetItemString(d,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE));
42234 PyDict_SetItemString(d,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS));
42235 PyDict_SetItemString(d,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT));
42236 PyDict_SetItemString(d,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT));
42237 PyDict_SetItemString(d,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO));
42238 PyDict_SetItemString(d,"ID_REDO", SWIG_FromInt((int)wxID_REDO));
42239 PyDict_SetItemString(d,"ID_HELP", SWIG_FromInt((int)wxID_HELP));
42240 PyDict_SetItemString(d,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT));
42241 PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP));
42242 PyDict_SetItemString(d,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW));
42243 PyDict_SetItemString(d,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT));
42244 PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS));
42245 PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS));
42246 PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES));
42247 PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT));
42248 PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL));
42249 PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES));
42250 PyDict_SetItemString(d,"ID_CUT", SWIG_FromInt((int)wxID_CUT));
42251 PyDict_SetItemString(d,"ID_COPY", SWIG_FromInt((int)wxID_COPY));
42252 PyDict_SetItemString(d,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE));
42253 PyDict_SetItemString(d,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR));
42254 PyDict_SetItemString(d,"ID_FIND", SWIG_FromInt((int)wxID_FIND));
42255 PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE));
42256 PyDict_SetItemString(d,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL));
42257 PyDict_SetItemString(d,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE));
42258 PyDict_SetItemString(d,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE));
42259 PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL));
42260 PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES));
42261 PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS));
42262 PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS));
42263 PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS));
42264 PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST));
42265 PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE));
42266 PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME));
42267 PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE));
42268 PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE));
42269 PyDict_SetItemString(d,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1));
42270 PyDict_SetItemString(d,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2));
42271 PyDict_SetItemString(d,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3));
42272 PyDict_SetItemString(d,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4));
42273 PyDict_SetItemString(d,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5));
42274 PyDict_SetItemString(d,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6));
42275 PyDict_SetItemString(d,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7));
42276 PyDict_SetItemString(d,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8));
42277 PyDict_SetItemString(d,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9));
42278 PyDict_SetItemString(d,"ID_OK", SWIG_FromInt((int)wxID_OK));
42279 PyDict_SetItemString(d,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL));
42280 PyDict_SetItemString(d,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY));
42281 PyDict_SetItemString(d,"ID_YES", SWIG_FromInt((int)wxID_YES));
42282 PyDict_SetItemString(d,"ID_NO", SWIG_FromInt((int)wxID_NO));
42283 PyDict_SetItemString(d,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC));
42284 PyDict_SetItemString(d,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD));
42285 PyDict_SetItemString(d,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD));
42286 PyDict_SetItemString(d,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT));
42287 PyDict_SetItemString(d,"ID_MORE", SWIG_FromInt((int)wxID_MORE));
42288 PyDict_SetItemString(d,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP));
42289 PyDict_SetItemString(d,"ID_RESET", SWIG_FromInt((int)wxID_RESET));
42290 PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP));
42291 PyDict_SetItemString(d,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL));
42292 PyDict_SetItemString(d,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL));
42293 PyDict_SetItemString(d,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT));
42294 PyDict_SetItemString(d,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY));
42295 PyDict_SetItemString(d,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE));
42296 PyDict_SetItemString(d,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST));
42297 PyDict_SetItemString(d,"OPEN", SWIG_FromInt((int)wxOPEN));
42298 PyDict_SetItemString(d,"SAVE", SWIG_FromInt((int)wxSAVE));
42299 PyDict_SetItemString(d,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY));
42300 PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT));
42301 PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST));
42302 PyDict_SetItemString(d,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE));
42303 PyDict_SetItemString(d,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR));
42304 PyDict_SetItemString(d,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT));
42305 PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL));
42306 PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT));
42307 PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL));
42308 PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE));
42309 PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL));
42310 PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT));
42311 PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME));
42312 PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME));
42313 PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME));
42314 PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON));
42315 PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE));
42316 PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF));
42317 PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE));
42318 PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE));
42319 PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE));
42320 PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL));
42321 PyDict_SetItemString(d,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL));
42322 PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY));
42323 PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS));
42324 PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT));
42325 PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND));
42326 PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE));
42327 PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES));
42328 PyDict_SetItemString(d,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT));
42329 PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC));
42330 PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC));
42331 PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH));
42332 PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH));
42333 PyDict_SetItemString(d,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS));
42334 PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC));
42335 PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC));
42336 PyDict_SetItemString(d,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS));
42337 PyDict_SetItemString(d,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC));
42338 PyDict_SetItemString(d,"CENTRE", SWIG_FromInt((int)wxCENTRE));
42339 PyDict_SetItemString(d,"CENTER", SWIG_FromInt((int)wxCENTER));
42340 PyDict_SetItemString(d,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL));
42341 PyDict_SetItemString(d,"VERTICAL", SWIG_FromInt((int)wxVERTICAL));
42342 PyDict_SetItemString(d,"BOTH", SWIG_FromInt((int)wxBOTH));
42343 PyDict_SetItemString(d,"LEFT", SWIG_FromInt((int)wxLEFT));
42344 PyDict_SetItemString(d,"RIGHT", SWIG_FromInt((int)wxRIGHT));
42345 PyDict_SetItemString(d,"UP", SWIG_FromInt((int)wxUP));
42346 PyDict_SetItemString(d,"DOWN", SWIG_FromInt((int)wxDOWN));
42347 PyDict_SetItemString(d,"TOP", SWIG_FromInt((int)wxTOP));
42348 PyDict_SetItemString(d,"BOTTOM", SWIG_FromInt((int)wxBOTTOM));
42349 PyDict_SetItemString(d,"NORTH", SWIG_FromInt((int)wxNORTH));
42350 PyDict_SetItemString(d,"SOUTH", SWIG_FromInt((int)wxSOUTH));
42351 PyDict_SetItemString(d,"WEST", SWIG_FromInt((int)wxWEST));
42352 PyDict_SetItemString(d,"EAST", SWIG_FromInt((int)wxEAST));
42353 PyDict_SetItemString(d,"ALL", SWIG_FromInt((int)wxALL));
42354 PyDict_SetItemString(d,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT));
42355 PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL));
42356 PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL));
42357 PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT));
42358 PyDict_SetItemString(d,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP));
42359 PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT));
42360 PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM));
42361 PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL));
42362 PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL));
42363 PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER));
42364 PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE));
42365 PyDict_SetItemString(d,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK));
42366 PyDict_SetItemString(d,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT));
42367 PyDict_SetItemString(d,"SHRINK", SWIG_FromInt((int)wxSHRINK));
42368 PyDict_SetItemString(d,"GROW", SWIG_FromInt((int)wxGROW));
42369 PyDict_SetItemString(d,"EXPAND", SWIG_FromInt((int)wxEXPAND));
42370 PyDict_SetItemString(d,"SHAPED", SWIG_FromInt((int)wxSHAPED));
f52e0cf4 42371 PyDict_SetItemString(d,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE));
15afbcd0 42372 PyDict_SetItemString(d,"TILE", SWIG_FromInt((int)wxTILE));
74a57fcd 42373 PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE));
15afbcd0
RD
42374 PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT));
42375 PyDict_SetItemString(d,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE));
42376 PyDict_SetItemString(d,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC));
42377 PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE));
42378 PyDict_SetItemString(d,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED));
42379 PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN));
42380 PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE));
42381 PyDict_SetItemString(d,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK));
42382 PyDict_SetItemString(d,"DEFAULT", SWIG_FromInt((int)wxDEFAULT));
42383 PyDict_SetItemString(d,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE));
42384 PyDict_SetItemString(d,"ROMAN", SWIG_FromInt((int)wxROMAN));
42385 PyDict_SetItemString(d,"SCRIPT", SWIG_FromInt((int)wxSCRIPT));
42386 PyDict_SetItemString(d,"SWISS", SWIG_FromInt((int)wxSWISS));
42387 PyDict_SetItemString(d,"MODERN", SWIG_FromInt((int)wxMODERN));
42388 PyDict_SetItemString(d,"TELETYPE", SWIG_FromInt((int)wxTELETYPE));
42389 PyDict_SetItemString(d,"VARIABLE", SWIG_FromInt((int)wxVARIABLE));
42390 PyDict_SetItemString(d,"FIXED", SWIG_FromInt((int)wxFIXED));
42391 PyDict_SetItemString(d,"NORMAL", SWIG_FromInt((int)wxNORMAL));
42392 PyDict_SetItemString(d,"LIGHT", SWIG_FromInt((int)wxLIGHT));
42393 PyDict_SetItemString(d,"BOLD", SWIG_FromInt((int)wxBOLD));
42394 PyDict_SetItemString(d,"ITALIC", SWIG_FromInt((int)wxITALIC));
42395 PyDict_SetItemString(d,"SLANT", SWIG_FromInt((int)wxSLANT));
42396 PyDict_SetItemString(d,"SOLID", SWIG_FromInt((int)wxSOLID));
42397 PyDict_SetItemString(d,"DOT", SWIG_FromInt((int)wxDOT));
42398 PyDict_SetItemString(d,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH));
42399 PyDict_SetItemString(d,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH));
42400 PyDict_SetItemString(d,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH));
42401 PyDict_SetItemString(d,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH));
42402 PyDict_SetItemString(d,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT));
42403 PyDict_SetItemString(d,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE));
42404 PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH));
42405 PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH));
42406 PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH));
42407 PyDict_SetItemString(d,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH));
42408 PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH));
42409 PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH));
42410 PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL));
42411 PyDict_SetItemString(d,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER));
42412 PyDict_SetItemString(d,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND));
42413 PyDict_SetItemString(d,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND));
42414 PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING));
42415 PyDict_SetItemString(d,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT));
42416 PyDict_SetItemString(d,"CLEAR", SWIG_FromInt((int)wxCLEAR));
42417 PyDict_SetItemString(d,"XOR", SWIG_FromInt((int)wxXOR));
42418 PyDict_SetItemString(d,"INVERT", SWIG_FromInt((int)wxINVERT));
42419 PyDict_SetItemString(d,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE));
42420 PyDict_SetItemString(d,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE));
42421 PyDict_SetItemString(d,"COPY", SWIG_FromInt((int)wxCOPY));
42422 PyDict_SetItemString(d,"AND", SWIG_FromInt((int)wxAND));
42423 PyDict_SetItemString(d,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT));
42424 PyDict_SetItemString(d,"NO_OP", SWIG_FromInt((int)wxNO_OP));
42425 PyDict_SetItemString(d,"NOR", SWIG_FromInt((int)wxNOR));
42426 PyDict_SetItemString(d,"EQUIV", SWIG_FromInt((int)wxEQUIV));
42427 PyDict_SetItemString(d,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT));
42428 PyDict_SetItemString(d,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT));
42429 PyDict_SetItemString(d,"NAND", SWIG_FromInt((int)wxNAND));
42430 PyDict_SetItemString(d,"OR", SWIG_FromInt((int)wxOR));
42431 PyDict_SetItemString(d,"SET", SWIG_FromInt((int)wxSET));
42432 PyDict_SetItemString(d,"WXK_BACK", SWIG_FromInt((int)WXK_BACK));
42433 PyDict_SetItemString(d,"WXK_TAB", SWIG_FromInt((int)WXK_TAB));
42434 PyDict_SetItemString(d,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN));
42435 PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE));
42436 PyDict_SetItemString(d,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE));
42437 PyDict_SetItemString(d,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE));
42438 PyDict_SetItemString(d,"WXK_START", SWIG_FromInt((int)WXK_START));
42439 PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON));
42440 PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON));
42441 PyDict_SetItemString(d,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL));
42442 PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON));
42443 PyDict_SetItemString(d,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR));
42444 PyDict_SetItemString(d,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT));
42445 PyDict_SetItemString(d,"WXK_ALT", SWIG_FromInt((int)WXK_ALT));
42446 PyDict_SetItemString(d,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL));
42447 PyDict_SetItemString(d,"WXK_MENU", SWIG_FromInt((int)WXK_MENU));
42448 PyDict_SetItemString(d,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE));
42449 PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL));
42450 PyDict_SetItemString(d,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR));
42451 PyDict_SetItemString(d,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT));
42452 PyDict_SetItemString(d,"WXK_END", SWIG_FromInt((int)WXK_END));
42453 PyDict_SetItemString(d,"WXK_HOME", SWIG_FromInt((int)WXK_HOME));
42454 PyDict_SetItemString(d,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT));
42455 PyDict_SetItemString(d,"WXK_UP", SWIG_FromInt((int)WXK_UP));
42456 PyDict_SetItemString(d,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT));
42457 PyDict_SetItemString(d,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN));
42458 PyDict_SetItemString(d,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT));
42459 PyDict_SetItemString(d,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT));
42460 PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE));
42461 PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT));
42462 PyDict_SetItemString(d,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT));
42463 PyDict_SetItemString(d,"WXK_HELP", SWIG_FromInt((int)WXK_HELP));
42464 PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0));
42465 PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1));
42466 PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2));
42467 PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3));
42468 PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4));
42469 PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5));
42470 PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6));
42471 PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7));
42472 PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8));
42473 PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9));
42474 PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY));
42475 PyDict_SetItemString(d,"WXK_ADD", SWIG_FromInt((int)WXK_ADD));
42476 PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR));
42477 PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT));
42478 PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL));
42479 PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE));
42480 PyDict_SetItemString(d,"WXK_F1", SWIG_FromInt((int)WXK_F1));
42481 PyDict_SetItemString(d,"WXK_F2", SWIG_FromInt((int)WXK_F2));
42482 PyDict_SetItemString(d,"WXK_F3", SWIG_FromInt((int)WXK_F3));
42483 PyDict_SetItemString(d,"WXK_F4", SWIG_FromInt((int)WXK_F4));
42484 PyDict_SetItemString(d,"WXK_F5", SWIG_FromInt((int)WXK_F5));
42485 PyDict_SetItemString(d,"WXK_F6", SWIG_FromInt((int)WXK_F6));
42486 PyDict_SetItemString(d,"WXK_F7", SWIG_FromInt((int)WXK_F7));
42487 PyDict_SetItemString(d,"WXK_F8", SWIG_FromInt((int)WXK_F8));
42488 PyDict_SetItemString(d,"WXK_F9", SWIG_FromInt((int)WXK_F9));
42489 PyDict_SetItemString(d,"WXK_F10", SWIG_FromInt((int)WXK_F10));
42490 PyDict_SetItemString(d,"WXK_F11", SWIG_FromInt((int)WXK_F11));
42491 PyDict_SetItemString(d,"WXK_F12", SWIG_FromInt((int)WXK_F12));
42492 PyDict_SetItemString(d,"WXK_F13", SWIG_FromInt((int)WXK_F13));
42493 PyDict_SetItemString(d,"WXK_F14", SWIG_FromInt((int)WXK_F14));
42494 PyDict_SetItemString(d,"WXK_F15", SWIG_FromInt((int)WXK_F15));
42495 PyDict_SetItemString(d,"WXK_F16", SWIG_FromInt((int)WXK_F16));
42496 PyDict_SetItemString(d,"WXK_F17", SWIG_FromInt((int)WXK_F17));
42497 PyDict_SetItemString(d,"WXK_F18", SWIG_FromInt((int)WXK_F18));
42498 PyDict_SetItemString(d,"WXK_F19", SWIG_FromInt((int)WXK_F19));
42499 PyDict_SetItemString(d,"WXK_F20", SWIG_FromInt((int)WXK_F20));
42500 PyDict_SetItemString(d,"WXK_F21", SWIG_FromInt((int)WXK_F21));
42501 PyDict_SetItemString(d,"WXK_F22", SWIG_FromInt((int)WXK_F22));
42502 PyDict_SetItemString(d,"WXK_F23", SWIG_FromInt((int)WXK_F23));
42503 PyDict_SetItemString(d,"WXK_F24", SWIG_FromInt((int)WXK_F24));
42504 PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK));
42505 PyDict_SetItemString(d,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL));
42506 PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP));
42507 PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN));
42508 PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE));
42509 PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB));
42510 PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER));
42511 PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1));
42512 PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2));
42513 PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3));
42514 PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4));
42515 PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME));
42516 PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT));
42517 PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP));
42518 PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT));
42519 PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN));
42520 PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR));
42521 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP));
42522 PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT));
42523 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN));
42524 PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END));
42525 PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN));
42526 PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT));
42527 PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE));
42528 PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL));
42529 PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY));
42530 PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD));
42531 PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR));
42532 PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT));
42533 PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL));
42534 PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE));
42535 PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT));
42536 PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT));
42537 PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU));
42538 PyDict_SetItemString(d,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE));
42539 PyDict_SetItemString(d,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER));
42540 PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL));
42541 PyDict_SetItemString(d,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4));
42542 PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET));
42543 PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET));
42544 PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET));
42545 PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL));
42546 PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID));
42547 PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER));
42548 PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT));
42549 PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE));
42550 PyDict_SetItemString(d,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3));
42551 PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL));
42552 PyDict_SetItemString(d,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5));
42553 PyDict_SetItemString(d,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4));
42554 PyDict_SetItemString(d,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5));
42555 PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO));
42556 PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO));
42557 PyDict_SetItemString(d,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14));
42558 PyDict_SetItemString(d,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17));
42559 PyDict_SetItemString(d,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE));
42560 PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9));
42561 PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10));
42562 PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11));
42563 PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12));
42564 PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14));
42565 PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL));
42566 PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5));
42567 PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3));
42568 PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4));
42569 PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6));
42570 PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65));
42571 PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4));
42572 PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5));
42573 PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6));
42574 PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY));
42575 PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH));
42576 PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL));
42577 PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US));
42578 PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN));
42579 PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN));
42580 PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4));
42581 PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD));
42582 PyDict_SetItemString(d,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11));
42583 PyDict_SetItemString(d,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11));
42584 PyDict_SetItemString(d,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11));
42585 PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE));
42586 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA));
42587 PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA));
42588 PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA));
42589 PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA));
42590 PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE));
42591 PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE));
42592 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE));
42593 PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS));
42594 PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS));
42595 PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS));
42596 PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS));
42597 PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE));
42598 PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE));
42599 PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA));
42600 PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA));
42601 PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA));
42602 PyDict_SetItemString(d,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2));
42603 PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE));
42604 PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE));
42605 PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX));
42606 PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL));
42607 PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL));
42608 PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR));
42609 PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL));
42610 PyDict_SetItemString(d,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK));
42611 PyDict_SetItemString(d,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO));
42612 PyDict_SetItemString(d,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX));
42613 PyDict_SetItemString(d,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE));
42614 PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST));
42615 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1));
42616 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2));
42617 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1));
42618 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2));
42619 PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB));
42620 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1));
42621 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2));
42622 PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST));
42623 PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE));
42624 PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE));
42625 PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR));
42626 PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR));
42627 PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER));
42628 PyDict_SetItemString(d,"HT_MAX", SWIG_FromInt((int)wxHT_MAX));
42629 PyDict_SetItemString(d,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE));
42630 PyDict_SetItemString(d,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT));
42631 PyDict_SetItemString(d,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL));
42632 PyDict_SetItemString(d,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT));
42633 PyDict_SetItemString(d,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN));
42634 PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE));
42635 PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE));
42636 PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE));
d14a1e28 42637 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
196addbf 42638 SWIG_addvarlink(SWIG_globals,(char*)"EmptyString",_wrap_EmptyString_get, _wrap_EmptyString_set);
15afbcd0
RD
42639 PyDict_SetItemString(d,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID));
42640 PyDict_SetItemString(d,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP));
42641 PyDict_SetItemString(d,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO));
42642 PyDict_SetItemString(d,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR));
42643 PyDict_SetItemString(d,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM));
42644 PyDict_SetItemString(d,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA));
42645 PyDict_SetItemString(d,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM));
42646 PyDict_SetItemString(d,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA));
42647 PyDict_SetItemString(d,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF));
42648 PyDict_SetItemString(d,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF));
42649 PyDict_SetItemString(d,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG));
42650 PyDict_SetItemString(d,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG));
42651 PyDict_SetItemString(d,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM));
42652 PyDict_SetItemString(d,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX));
42653 PyDict_SetItemString(d,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT));
42654 PyDict_SetItemString(d,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON));
42655 PyDict_SetItemString(d,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI));
42656 PyDict_SetItemString(d,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF));
42657 PyDict_SetItemString(d,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR));
42658 PyDict_SetItemString(d,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY));
42659 PyDict_SetItemString(d,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE));
42660 PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW));
42661 PyDict_SetItemString(d,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW));
42662 PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE));
42663 PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR));
42664 PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS));
42665 PyDict_SetItemString(d,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND));
42666 PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM));
42667 PyDict_SetItemString(d,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON));
42668 PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER));
42669 PyDict_SetItemString(d,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON));
42670 PyDict_SetItemString(d,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY));
42671 PyDict_SetItemString(d,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH));
42672 PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL));
42673 PyDict_SetItemString(d,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT));
42674 PyDict_SetItemString(d,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT));
42675 PyDict_SetItemString(d,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW));
42676 PyDict_SetItemString(d,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON));
42677 PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW));
42678 PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS));
42679 PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE));
42680 PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE));
42681 PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING));
42682 PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN));
42683 PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT));
42684 PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH));
42685 PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK));
42686 PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT));
42687 PyDict_SetItemString(d,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW));
42688 PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT));
42689 PyDict_SetItemString(d,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX));
d14a1e28
RD
42690 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
42691 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
15afbcd0
RD
42692 PyDict_SetItemString(d,"FromStart", SWIG_FromInt((int)wxFromStart));
42693 PyDict_SetItemString(d,"FromCurrent", SWIG_FromInt((int)wxFromCurrent));
42694 PyDict_SetItemString(d,"FromEnd", SWIG_FromInt((int)wxFromEnd));
d14a1e28
RD
42695
42696 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
42697
42698
42699 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
42700
42701 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
42702 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
42703 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
42704 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
42705 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
42706 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
15afbcd0
RD
42707 PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES));
42708 PyDict_SetItemString(d,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM));
42709 PyDict_SetItemString(d,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP));
42710 PyDict_SetItemString(d,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP));
42711 PyDict_SetItemString(d,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY));
42712 PyDict_SetItemString(d,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY));
42713 PyDict_SetItemString(d,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED));
42714 PyDict_SetItemString(d,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE));
42715 PyDict_SetItemString(d,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP));
42716 PyDict_SetItemString(d,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP));
42717 PyDict_SetItemString(d,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW));
42718 PyDict_SetItemString(d,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE));
42719 PyDict_SetItemString(d,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX));
d14a1e28
RD
42720 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
42721 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
42722 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
42723 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
42724 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
42725 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
42726 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
42727 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
42728 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
42729 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
42730 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
42731 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
42732 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
42733 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
42734 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
42735 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
42736 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
42737 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
42738 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
42739 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
42740 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
42741 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
42742 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
42743 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
42744 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
42745 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
42746 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
42747 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
42748 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
42749 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
42750 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
42751 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
42752 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
42753 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
42754 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
42755 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
42756 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
42757 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
42758 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
42759 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
42760 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
42761 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
42762 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
42763 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
42764 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
42765 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
42766 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
42767 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
42768 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
42769 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
42770 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
42771 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
42772 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
42773 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
42774 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
42775 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
42776 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
42777 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
42778 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
42779 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
42780 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
42781 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
42782 PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
42783 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
42784 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
42785 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
42786 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
42787 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
42788 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
42789 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
42790 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
42791 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
42792 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
42793 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
42794 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
42795 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
42796 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
42797 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
42798 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
42799 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
42800 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
42801 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
42802 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
42803 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
42804 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
42805 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
42806 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
42807 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
42808 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
42809 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
42810 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
42811 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
42812 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
42813 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
42814 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
42815 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
42816 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
42817 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
42818 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
42819 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
42820 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
42821 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
42822 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
42823 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
42824 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
42825 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
42826 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
42827 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
42828 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
42829 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
42830 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
42831 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
42832 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
42833 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
15afbcd0
RD
42834 PyDict_SetItemString(d,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY));
42835 PyDict_SetItemString(d,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE));
42836 PyDict_SetItemString(d,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT));
42837 PyDict_SetItemString(d,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE));
42838 PyDict_SetItemString(d,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT));
42839 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL));
42840 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED));
42841 PyDict_SetItemString(d,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL));
42842 PyDict_SetItemString(d,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED));
42843 PyDict_SetItemString(d,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS));
42844 PyDict_SetItemString(d,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION));
42845 PyDict_SetItemString(d,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG));
42846 PyDict_SetItemString(d,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG));
42847 PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS));
42848 PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT));
1e0c8722 42849 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
e811c8ce 42850 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
4276dc52
RD
42851 PyDict_SetItemString(d,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL));
42852 PyDict_SetItemString(d,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL));
42853 PyDict_SetItemString(d,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI));
42854 PyDict_SetItemString(d,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE));
74a57fcd 42855 PyDict_SetItemString(d,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX));
d14a1e28 42856 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
b2dc1044 42857 SWIG_addvarlink(SWIG_globals,(char*)"ControlNameStr",_wrap_ControlNameStr_get, _wrap_ControlNameStr_set);
15afbcd0
RD
42858 PyDict_SetItemString(d,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE));
42859 PyDict_SetItemString(d,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED));
42860 PyDict_SetItemString(d,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL));
d14a1e28 42861 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
15afbcd0
RD
42862 PyDict_SetItemString(d,"Left", SWIG_FromInt((int)wxLeft));
42863 PyDict_SetItemString(d,"Top", SWIG_FromInt((int)wxTop));
42864 PyDict_SetItemString(d,"Right", SWIG_FromInt((int)wxRight));
42865 PyDict_SetItemString(d,"Bottom", SWIG_FromInt((int)wxBottom));
42866 PyDict_SetItemString(d,"Width", SWIG_FromInt((int)wxWidth));
42867 PyDict_SetItemString(d,"Height", SWIG_FromInt((int)wxHeight));
42868 PyDict_SetItemString(d,"Centre", SWIG_FromInt((int)wxCentre));
42869 PyDict_SetItemString(d,"Center", SWIG_FromInt((int)wxCenter));
42870 PyDict_SetItemString(d,"CentreX", SWIG_FromInt((int)wxCentreX));
42871 PyDict_SetItemString(d,"CentreY", SWIG_FromInt((int)wxCentreY));
42872 PyDict_SetItemString(d,"Unconstrained", SWIG_FromInt((int)wxUnconstrained));
42873 PyDict_SetItemString(d,"AsIs", SWIG_FromInt((int)wxAsIs));
42874 PyDict_SetItemString(d,"PercentOf", SWIG_FromInt((int)wxPercentOf));
42875 PyDict_SetItemString(d,"Above", SWIG_FromInt((int)wxAbove));
42876 PyDict_SetItemString(d,"Below", SWIG_FromInt((int)wxBelow));
42877 PyDict_SetItemString(d,"LeftOf", SWIG_FromInt((int)wxLeftOf));
42878 PyDict_SetItemString(d,"RightOf", SWIG_FromInt((int)wxRightOf));
42879 PyDict_SetItemString(d,"SameAs", SWIG_FromInt((int)wxSameAs));
42880 PyDict_SetItemString(d,"Absolute", SWIG_FromInt((int)wxAbsolute));
d14a1e28
RD
42881
42882 // Initialize threading, some globals and such
42883 __wxPyPreStart(d);
42884
42885
42886 // Although these are defined in __version__ they need to be here too so
42887 // that an assert can be done to ensure that the wxPython and the wxWindows
42888 // versions match.
42889 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
42890 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
42891 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
42892
42893}
42894