]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/core_wrap.cpp
Updated SWIG docstring changes, also merged prepend patch
[wxWidgets.git] / wxPython / src / msw / core_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
83448d71 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
9fd4be55
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
f0983263
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
f0983263
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
f0983263 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
f0983263 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 {
f0983263 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
f0983263 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 *);
f0983263
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)
83448d71 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
8edf1c75 186typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 187
f0983263
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
423f194a 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/*-----------------------------------------------
330 @(target):= _core.so
331 ------------------------------------------------*/
332#define SWIG_init init_core
333
334#define SWIG_name "_core"
335
2f4c0a16 336/* Auxiliar swig macros */
8edf1c75 337
8edf1c75 338#ifdef __cplusplus
2f4c0a16 339#define SWIGSTATICINLINE(a) static inline a
8edf1c75 340#define SWIGSTATIC(a) static a
2f4c0a16
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)
8edf1c75 346
8edf1c75 347#ifdef HAVE_NUMERIC_CAST
2f4c0a16 348#define swig_numeric_cast(type,a) numeric_cast<type>(a)
8edf1c75 349#else
2f4c0a16 350#define swig_numeric_cast(type,a) static_cast<type>(a)
8edf1c75
RD
351#endif
352
2f4c0a16
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 */
8edf1c75
RD
365
366
2f4c0a16
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
8edf1c75
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
423f194a 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);
423f194a 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
496// the wx.core module and will then have safe access to these functions, even if
497// they are located in another shared library.
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
d03fd34d 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
8edf1c75 605
2f4c0a16
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 }
2f4c0a16
RD
645}
646
647
648#if INT_MAX != LONG_MAX
649SWIGSTATICINLINE(int)
650SWIG_AsInt(PyObject *obj)
8edf1c75 651{
2f4c0a16
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 }
8edf1c75
RD
671}
672
423f194a 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 }
8edf1c75 681
2f4c0a16
RD
682SWIGSTATICINLINE(double)
683SWIG_AsDouble(PyObject *obj)
8edf1c75 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 }
2f4c0a16
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 }
8edf1c75
RD
707}
708
d14a1e28
RD
709void wxRealPoint_Set(wxRealPoint *self,double x,double y){
710 self->x = x;
711 self->y = y;
712 }
423f194a 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 }
8edf1c75 721
2f4c0a16
RD
722SWIGSTATICINLINE(int)
723SWIG_CheckLong(PyObject* obj)
8edf1c75 724{
2f4c0a16
RD
725 SWIG_AsLong(obj);
726 if (PyErr_Occurred()) {
727 PyErr_Clear();
728 return 0;
729 } else {
730 return 1;
731 }
8edf1c75
RD
732}
733
d14a1e28
RD
734void wxPoint_Set(wxPoint *self,long x,long y){
735 self->x = x;
736 self->y = y;
737 }
423f194a 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 }
423f194a 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);
423f194a 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 }
423f194a 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 }
8edf1c75 832
2f4c0a16
RD
833SWIGSTATICINLINE(PyObject*)
834SWIG_FromChar(char c)
8edf1c75
RD
835{
836 return PyString_FromStringAndSize(&c,1);
837}
838
839
2f4c0a16
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)
8edf1c75 852{
2f4c0a16
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 }
8edf1c75
RD
870}
871
872
2f4c0a16
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)
8edf1c75
RD
910{
911 char c = 0;
912 if (PyInt_Check(obj) || PyLong_Check(obj)) {
2f4c0a16
RD
913 c = swig_numeric_cast(char,
914 SWIG_CheckLongInRange(SWIG_AsLong(obj),
915 "char", CHAR_MIN, CHAR_MAX));
8edf1c75 916 } else {
2f4c0a16
RD
917 SWIG_AsCharArray(obj, &c, 1);
918 if (PyErr_Occurred()) {
919 PyErr_Clear();
8edf1c75
RD
920 PyErr_SetString(PyExc_TypeError, "a char is expected");
921 }
922 }
923 return c;
924}
925
2f4c0a16
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
2f4c0a16
RD
994SWIGSTATICINLINE(bool)
995SWIG_AsBool(PyObject *obj)
8edf1c75
RD
996{
997 return PyObject_IsTrue(obj) ? true : false;
998}
999
1000
2f4c0a16
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
8edf1c75 1043
2f4c0a16
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);
2f4c0a16 1068 if ( !PyErr_Occurred() && (i < 0)) {
69223c70 1069 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
2f4c0a16
RD
1070 }
1071 return i;
1072 }
1073}
1074
1075
1076SWIGSTATICINLINE(unsigned char)
1077SWIG_AsUnsignedChar(PyObject *obj)
8edf1c75 1078{
2f4c0a16
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 }
8edf1c75
RD
1095}
1096
cfe5e918 1097wxImage *new_wxImage__SWIG_0(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 }
cfe5e918
RD
1103wxImage *new_wxImage__SWIG_1(wxSize const &size,bool clear){
1104 return new wxImage(size.x, size.y, clear);
1105 }
d14a1e28
RD
1106wxImage *new_wxImage(wxBitmap const &bitmap){
1107 return new wxImage(bitmap.ConvertToImage());
1108 }
1109wxImage *new_wxImage(int width,int height,unsigned char *data){
1110 // Copy the source data so the wxImage can clean it up later
1111 unsigned char* copy = (unsigned char*)malloc(width*height*3);
1112 if (copy == NULL) {
1113 PyErr_NoMemory();
1114 return NULL;
1115 }
1116 memcpy(copy, data, width*height*3);
423f194a 1117 return new wxImage(width, height, copy, False);
d14a1e28 1118 }
cfe5e918
RD
1119wxSize wxImage_GetSize(wxImage *self){
1120 wxSize size(self->GetWidth(), self->GetHeight());
1121 return size;
1122 }
d14a1e28
RD
1123PyObject *wxImage_GetData(wxImage *self){
1124 unsigned char* data = self->GetData();
1125 int len = self->GetWidth() * self->GetHeight() * 3;
1126 PyObject* rv;
1127 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len));
1128 return rv;
1129 }
1130void wxImage_SetData(wxImage *self,PyObject *data){
1131 unsigned char* dataPtr;
1132
1133 if (! PyString_Check(data)) {
1134 PyErr_SetString(PyExc_TypeError, "Expected string object");
1135 return /* NULL */ ;
1136 }
1137
1138 size_t len = self->GetWidth() * self->GetHeight() * 3;
1139 dataPtr = (unsigned char*) malloc(len);
1140 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1141 self->SetData(dataPtr);
1142 // wxImage takes ownership of dataPtr...
1143 }
1144PyObject *wxImage_GetDataBuffer(wxImage *self){
1145 unsigned char* data = self->GetData();
1146 int len = self->GetWidth() * self->GetHeight() * 3;
1147 PyObject* rv;
1148 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1149 return rv;
1150 }
1151void wxImage_SetDataBuffer(wxImage *self,PyObject *data){
1152 unsigned char* buffer;
1153 int size;
1154
4f89f6a3 1155 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1156 if (!PyArg_Parse(data, "t#", &buffer, &size))
1157 goto done;
1158
1159 if (size != self->GetWidth() * self->GetHeight() * 3) {
1160 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1161 goto done;
1162 }
1163 self->SetData(buffer);
1164 done:
4f89f6a3 1165 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1166 }
1167PyObject *wxImage_GetAlphaData(wxImage *self){
1168 unsigned char* data = self->GetAlpha();
1169 if (! data) {
1170 RETURN_NONE();
1171 } else {
1172 int len = self->GetWidth() * self->GetHeight();
1173 PyObject* rv;
1174 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len) );
1175 return rv;
1176 }
1177 }
1178void wxImage_SetAlphaData(wxImage *self,PyObject *data){
1179 unsigned char* dataPtr;
1180
1181 if (! PyString_Check(data)) {
1182 PyErr_SetString(PyExc_TypeError, "Expected string object");
1183 return /* NULL */ ;
1184 }
1185
1186 size_t len = self->GetWidth() * self->GetHeight();
1187 dataPtr = (unsigned char*) malloc(len);
1188 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1189 self->SetAlpha(dataPtr);
1190 // wxImage takes ownership of dataPtr...
1191 }
1192PyObject *wxImage_GetAlphaBuffer(wxImage *self){
1193 unsigned char* data = self->GetAlpha();
1194 int len = self->GetWidth() * self->GetHeight();
1195 PyObject* rv;
1196 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1197 return rv;
1198 }
1199void wxImage_SetAlphaBuffer(wxImage *self,PyObject *data){
1200 unsigned char* buffer;
1201 int size;
1202
4f89f6a3 1203 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1204 if (!PyArg_Parse(data, "t#", &buffer, &size))
1205 goto done;
1206
1207 if (size != self->GetWidth() * self->GetHeight()) {
1208 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1209 goto done;
1210 }
1211 self->SetAlpha(buffer);
1212 done:
4f89f6a3 1213 wxPyEndBlockThreads(blocked);
d14a1e28 1214 }
2f4c0a16
RD
1215
1216SWIGSTATICINLINE(int)
1217SWIG_CheckUnsignedLong(PyObject* obj)
1218{
1219 SWIG_AsUnsignedLong(obj);
1220 if (PyErr_Occurred()) {
1221 PyErr_Clear();
1222 return 0;
1223 } else {
1224 return 1;
1225 }
1226}
1227
d14a1e28
RD
1228wxBitmap wxImage_ConvertToBitmap(wxImage *self){
1229 wxBitmap bitmap(*self);
1230 return bitmap;
1231 }
1232wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,unsigned char red,unsigned char green,unsigned char blue){
1233 wxImage mono = self->ConvertToMono( red, green, blue );
1234 wxBitmap bitmap( mono, 1 );
1235 return bitmap;
1236 }
1237 static const wxString wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT);
1238 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X);
1239 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y);
1240 static const wxString wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION);
1241 static const wxString wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT);
1242void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject *func){
1243 if (PyCallable_Check(func)) {
1244 self->Connect(id, lastId, eventType,
1245 (wxObjectEventFunction) &wxPyCallback::EventThunker,
1246 new wxPyCallback(func));
1247 }
1248 else if (func == Py_None) {
1249 self->Disconnect(id, lastId, eventType,
1250 (wxObjectEventFunction)
1251 &wxPyCallback::EventThunker);
1252 }
1253 else {
1254 PyErr_SetString(PyExc_TypeError, "Expected callable object or None.");
1255 }
1256 }
1257bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType){
1258 return self->Disconnect(id, lastId, eventType,
1259 (wxObjectEventFunction)
1260 &wxPyCallback::EventThunker);
1261 }
1262void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject *_self){
1263 if (_self && _self != Py_None) {
1264 self->SetClientObject(new wxPyOORClientData(_self));
1265 }
1266 else {
1267 wxPyOORClientData* data = (wxPyOORClientData*)self->GetClientObject();
1268 if (data) {
1269 self->SetClientObject(NULL); // This will delete it too
1270 }
1271 }
1272 }
1273int wxKeyEvent_GetUniChar(wxKeyEvent *self){
a64def11
RD
1274 #if wxUSE_UNICODE
1275 return self->m_uniChar;
1276 #else
d14a1e28 1277 return 0;
a64def11 1278 #endif
d14a1e28 1279 }
8edf1c75 1280
2f4c0a16
RD
1281#if UINT_MAX < LONG_MAX
1282#define SWIG_FromUnsignedInt SWIG_FromLong
1283#else
1284#define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1285#endif
8edf1c75
RD
1286
1287
2f4c0a16
RD
1288#if UINT_MAX != ULONG_MAX
1289SWIGSTATICINLINE(unsigned int)
1290SWIG_AsUnsignedInt(PyObject *obj)
8edf1c75 1291{
2f4c0a16
RD
1292 return swig_numeric_cast(unsigned int,
1293 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
1294 "unsigned int", UINT_MAX));
1295}
1296#else
1297#define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1298#endif
1299
1300
1301SWIGSTATICINLINE(int)
1302SWIG_CheckUnsignedInt(PyObject* obj)
1303{
1304 SWIG_AsUnsignedInt(obj);
1305 if (PyErr_Occurred()) {
1306 PyErr_Clear();
1307 return 0;
1308 } else {
1309 return 1;
1310 }
8edf1c75
RD
1311}
1312
d14a1e28
RD
1313void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){
1314 self->m_size = size;
1315 }
1316void wxMoveEvent_SetPosition(wxMoveEvent *self,wxPoint pos){
1317 self->m_pos = pos;
1318 }
1319PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
1320 int count = self->GetNumberOfFiles();
1321 wxString* files = self->GetFiles();
1322 PyObject* list = PyList_New(count);
1323
1324 if (!list) {
1325 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
1326 return NULL;
1327 }
1328
1329 for (int i=0; i<count; i++) {
a64def11 1330 PyList_SetItem(list, i, wx2PyString(files[i]));
d14a1e28
RD
1331 }
1332 return list;
1333 }
1334
1335
1336wxPyApp *new_wxPyApp(){
1337 wxPythonApp = new wxPyApp();
1338 return wxPythonApp;
1339 }
1340
1341 void wxApp_CleanUp() {
1342 __wxPyCleanup();
1343 }
1344
1345
1346 wxPyApp* wxGetApp() {
1347 return (wxPyApp*)wxTheApp;
1348 }
1349
1350
1351
423f194a 1352 static const wxString wxPyPanelNameStr(wxPanelNameStr);
74a57fcd
RD
1353wxVisualAttributes *new_wxVisualAttributes(){ return new wxVisualAttributes; }
1354void delete_wxVisualAttributes(wxVisualAttributes *self){}
d14a1e28
RD
1355PyObject *wxWindow_GetChildren(wxWindow *self){
1356 wxWindowList& list = self->GetChildren();
1357 return wxPy_ConvertList(&list);
1358 }
1359bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keycode){
74a57fcd
RD
1360 #if wxUSE_HOTKEY
1361 return self->RegisterHotKey(hotkeyId, modifiers, keycode);
1362 #else
423f194a 1363 return False;
74a57fcd 1364 #endif
d14a1e28
RD
1365 }
1366bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId){
1367
1368
1369
423f194a 1370 return False;
d14a1e28
RD
1371
1372 }
1373long wxWindow_GetHandle(wxWindow *self){
1374 return wxPyGetWinHandle(self);
1375 }
1376
1377wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
1378 return wxWindow::FindWindowById(id, parent);
1379}
1380
1381wxWindow* wxFindWindowByName( const wxString& name,
1382 const wxWindow *parent = NULL ) {
1383 return wxWindow::FindWindowByName(name, parent);
1384}
1385
1386wxWindow* wxFindWindowByLabel( const wxString& label,
1387 const wxWindow *parent = NULL ) {
1388 return wxWindow::FindWindowByLabel(label, parent);
1389}
1390
1391
d14a1e28 1392#ifdef __WXMSW__
fe763115
RD
1393#include <wx/msw/private.h> // to get wxGetWindowId
1394#endif
1395
1396
1397 wxWindow* wxWindow_FromHWND(wxWindow* parent, unsigned long _hWnd) {
1398#ifdef __WXMSW__
1399 WXHWND hWnd = (WXHWND)_hWnd;
1400 long id = wxGetWindowId(hWnd);
d14a1e28 1401 wxWindow* win = new wxWindow;
fe763115
RD
1402 parent->AddChild(win);
1403 win->SetEventHandler(win);
1404 win->SetHWND(hWnd);
1405 win->SetId(id);
1406 win->SubclassWin(hWnd);
1407 win->AdoptAttributesFromHWND();
1408 win->SetupColours();
d14a1e28
RD
1409 return win;
1410#else
cbd72d4f 1411 wxPyRaiseNotImplemented();
d14a1e28
RD
1412 return NULL;
1413#endif
1414 }
1415
1416
1417IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
1418IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
1419IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
1420
1421IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
1422
1423void wxMenu_Destroy(wxMenu *self){ delete self; }
1424PyObject *wxMenu_GetMenuItems(wxMenu *self){
1425 wxMenuItemList& list = self->GetMenuItems();
1426 return wxPy_ConvertList(&list);
1427 }
d03fd34d 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
8edf1c75 1459
2f4c0a16
RD
1460#include <float.h>
1461
8edf1c75 1462SWIGSTATIC(float)
2f4c0a16
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)
8edf1c75 1489{
2f4c0a16
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 }
8edf1c75
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()
423f194a
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;
423f194a 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);
423f194a 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();
423f194a 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();
423f194a 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();
423f194a 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();
423f194a 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
423f194a 1648 return False;
d14a1e28 1649 }
423f194a 1650void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){
4f89f6a3 1651 bool blocked = wxPyBeginBlockThreads();
423f194a 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){
423f194a 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){
423f194a 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){
423f194a 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
423f194a 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
423f194a
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 }
423f194a
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();
423f194a 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);
423f194a 1757 return False;
d14a1e28
RD
1758 }
1759
1760
1761#ifdef __cplusplus
1762extern "C" {
1763#endif
2f4c0a16 1764static int _wrap_EmptyString_set(PyObject *_val) {
d03fd34d
RD
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;
2f4c0a16
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;
2f4c0a16
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 ;
8edf1c75 1853 PyObject * obj1 = 0 ;
d14a1e28
RD
1854 char *kwnames[] = {
1855 (char *) "self",(char *) "x", NULL
1856 };
1857
8edf1c75 1858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_width_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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;
2f4c0a16
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
2f4c0a16 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 ;
8edf1c75 1898 PyObject * obj1 = 0 ;
d14a1e28
RD
1899 char *kwnames[] = {
1900 (char *) "self",(char *) "y", NULL
1901 };
1902
8edf1c75 1903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_height_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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;
2f4c0a16
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
2f4c0a16 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;
8edf1c75
RD
1943 PyObject * obj0 = 0 ;
1944 PyObject * obj1 = 0 ;
d14a1e28
RD
1945 char *kwnames[] = {
1946 (char *) "w",(char *) "h", NULL
1947 };
1948
8edf1c75
RD
1949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Size",kwnames,&obj0,&obj1)) goto fail;
1950 if (obj0) {
2f4c0a16
RD
1951 arg1 = (int) SWIG_AsInt(obj0);
1952 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
1953 }
1954 if (obj1) {
2f4c0a16
RD
1955 arg2 = (int) SWIG_AsInt(obj1);
1956 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 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 }
2f4c0a16 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;
2f4c0a16
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;
2f4c0a16
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();
423f194a 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;
2f4c0a16
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();
423f194a 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;
2f4c0a16
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);
2f4c0a16 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;
2f4c0a16
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);
2f4c0a16 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;
2f4c0a16
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;
2f4c0a16
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 ;
8edf1c75
RD
2211 PyObject * obj1 = 0 ;
2212 PyObject * obj2 = 0 ;
d14a1e28 2213 char *kwnames[] = {
423f194a 2214 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
2215 };
2216
8edf1c75 2217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Size_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
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 ;
8edf1c75 2243 PyObject * obj1 = 0 ;
d14a1e28
RD
2244 char *kwnames[] = {
2245 (char *) "self",(char *) "w", NULL
2246 };
2247
8edf1c75 2248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetWidth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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 ;
8edf1c75 2272 PyObject * obj1 = 0 ;
d14a1e28
RD
2273 char *kwnames[] = {
2274 (char *) "self",(char *) "h", NULL
2275 };
2276
8edf1c75 2277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetHeight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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;
2f4c0a16
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 }
2f4c0a16 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;
2f4c0a16
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 }
2f4c0a16 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
423f194a 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
423f194a 2417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",kwnames,&obj0)) goto fail;
2f4c0a16
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();
423f194a 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 ;
8edf1c75 2446 PyObject * obj1 = 0 ;
d14a1e28
RD
2447 char *kwnames[] = {
2448 (char *) "self",(char *) "x", NULL
2449 };
2450
8edf1c75 2451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_x_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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;
2f4c0a16
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
2f4c0a16 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 ;
8edf1c75 2491 PyObject * obj1 = 0 ;
d14a1e28
RD
2492 char *kwnames[] = {
2493 (char *) "self",(char *) "y", NULL
2494 };
2495
8edf1c75 2496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_y_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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;
2f4c0a16
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
2f4c0a16 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;
8edf1c75
RD
2536 PyObject * obj0 = 0 ;
2537 PyObject * obj1 = 0 ;
d14a1e28
RD
2538 char *kwnames[] = {
2539 (char *) "x",(char *) "y", NULL
2540 };
2541
8edf1c75
RD
2542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RealPoint",kwnames,&obj0,&obj1)) goto fail;
2543 if (obj0) {
2f4c0a16
RD
2544 arg1 = (double) SWIG_AsDouble(obj0);
2545 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2546 }
2547 if (obj1) {
2f4c0a16
RD
2548 arg2 = (double) SWIG_AsDouble(obj1);
2549 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 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 }
2f4c0a16 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;
2f4c0a16
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
423f194a 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 ;
423f194a 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
423f194a 2602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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();
423f194a 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
423f194a 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 ;
423f194a 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
423f194a 2637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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();
423f194a 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
423f194a 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 ;
423f194a 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
423f194a 2672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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();
423f194a 2681 result = (arg1)->operator +((wxRealPoint const &)*arg2);
d14a1e28
RD
2682
2683 wxPyEndAllowThreads(__tstate);
2684 if (PyErr_Occurred()) SWIG_fail;
2685 }
423f194a
RD
2686 {
2687 wxRealPoint * resultptr;
2688 resultptr = new wxRealPoint((wxRealPoint &) result);
2f4c0a16 2689 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
423f194a 2690 }
d14a1e28
RD
2691 return resultobj;
2692 fail:
2693 return NULL;
2694}
2695
2696
423f194a 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 ;
423f194a 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
423f194a 2709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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();
423f194a 2718 result = (arg1)->operator -((wxRealPoint const &)*arg2);
d14a1e28
RD
2719
2720 wxPyEndAllowThreads(__tstate);
2721 if (PyErr_Occurred()) SWIG_fail;
2722 }
423f194a
RD
2723 {
2724 wxRealPoint * resultptr;
2725 resultptr = new wxRealPoint((wxRealPoint &) result);
2f4c0a16 2726 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
423f194a 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 ;
8edf1c75
RD
2740 PyObject * obj1 = 0 ;
2741 PyObject * obj2 = 0 ;
d14a1e28
RD
2742 char *kwnames[] = {
2743 (char *) "self",(char *) "x",(char *) "y", NULL
2744 };
2745
8edf1c75 2746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RealPoint_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
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
423f194a 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
423f194a 2776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail;
2f4c0a16
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();
423f194a 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 ;
8edf1c75 2805 PyObject * obj1 = 0 ;
d14a1e28
RD
2806 char *kwnames[] = {
2807 (char *) "self",(char *) "x", NULL
2808 };
2809
8edf1c75 2810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_x_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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;
2f4c0a16
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
2f4c0a16 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 ;
8edf1c75 2850 PyObject * obj1 = 0 ;
d14a1e28
RD
2851 char *kwnames[] = {
2852 (char *) "self",(char *) "y", NULL
2853 };
2854
8edf1c75 2855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_y_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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;
2f4c0a16
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
2f4c0a16 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;
8edf1c75
RD
2895 PyObject * obj0 = 0 ;
2896 PyObject * obj1 = 0 ;
d14a1e28
RD
2897 char *kwnames[] = {
2898 (char *) "x",(char *) "y", NULL
2899 };
2900
8edf1c75
RD
2901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point",kwnames,&obj0,&obj1)) goto fail;
2902 if (obj0) {
2f4c0a16
RD
2903 arg1 = (int) SWIG_AsInt(obj0);
2904 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2905 }
2906 if (obj1) {
2f4c0a16
RD
2907 arg2 = (int) SWIG_AsInt(obj1);
2908 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 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 }
2f4c0a16 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;
2f4c0a16
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[] = {
423f194a 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;
2f4c0a16
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();
423f194a 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[] = {
423f194a 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;
2f4c0a16
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();
423f194a 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[] = {
423f194a 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;
2f4c0a16
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();
423f194a 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);
2f4c0a16 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[] = {
423f194a 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;
2f4c0a16
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();
423f194a 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);
2f4c0a16 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[] = {
423f194a 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;
2f4c0a16
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 }
2f4c0a16 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[] = {
423f194a 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;
2f4c0a16
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 }
2f4c0a16 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 ;
8edf1c75
RD
3171 PyObject * obj1 = 0 ;
3172 PyObject * obj2 = 0 ;
d14a1e28
RD
3173 char *kwnames[] = {
3174 (char *) "self",(char *) "x",(char *) "y", NULL
3175 };
3176
8edf1c75 3177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Point_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
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
423f194a 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
423f194a 3207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail;
2f4c0a16
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();
423f194a 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;
8edf1c75
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
8edf1c75
RD
3246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Rect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3247 if (obj0) {
2f4c0a16
RD
3248 arg1 = (int) SWIG_AsInt(obj0);
3249 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3250 }
3251 if (obj1) {
2f4c0a16
RD
3252 arg2 = (int) SWIG_AsInt(obj1);
3253 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3254 }
3255 if (obj2) {
2f4c0a16
RD
3256 arg3 = (int) SWIG_AsInt(obj2);
3257 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3258 }
3259 if (obj3) {
2f4c0a16
RD
3260 arg4 = (int) SWIG_AsInt(obj3);
3261 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 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 }
2f4c0a16 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 }
2f4c0a16 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 }
2f4c0a16 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;
2f4c0a16
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;
2f4c0a16
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 }
2f4c0a16 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 ;
8edf1c75 3405 PyObject * obj1 = 0 ;
d14a1e28
RD
3406 char *kwnames[] = {
3407 (char *) "self",(char *) "x", NULL
3408 };
3409
8edf1c75 3410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetX",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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;
2f4c0a16
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 }
2f4c0a16 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 ;
8edf1c75 3460 PyObject * obj1 = 0 ;
d14a1e28
RD
3461 char *kwnames[] = {
3462 (char *) "self",(char *) "y", NULL
3463 };
3464
8edf1c75 3465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetY",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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;
2f4c0a16
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 }
2f4c0a16 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 ;
8edf1c75 3515 PyObject * obj1 = 0 ;
d14a1e28
RD
3516 char *kwnames[] = {
3517 (char *) "self",(char *) "w", NULL
3518 };
3519
8edf1c75 3520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetWidth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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;
2f4c0a16
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 }
2f4c0a16 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 ;
8edf1c75 3570 PyObject * obj1 = 0 ;
d14a1e28
RD
3571 char *kwnames[] = {
3572 (char *) "self",(char *) "h", NULL
3573 };
3574
8edf1c75 3575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetHeight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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;
2f4c0a16
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);
2f4c0a16 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;
2f4c0a16
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;
2f4c0a16
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);
2f4c0a16 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;
2f4c0a16
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
9fd4be55
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;
2f4c0a16
RD
3728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9fd4be55
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);
2f4c0a16 3740 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9fd4be55
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;
2f4c0a16
RD
3760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9fd4be55
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;
2f4c0a16
RD
3790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9fd4be55
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);
2f4c0a16 3802 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9fd4be55
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;
2f4c0a16
RD
3822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9fd4be55
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;
2f4c0a16
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 }
2f4c0a16 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;
2f4c0a16
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 }
2f4c0a16 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;
2f4c0a16
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 }
2f4c0a16 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;
2f4c0a16
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 }
2f4c0a16 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 ;
8edf1c75 3951 PyObject * obj1 = 0 ;
d14a1e28
RD
3952 char *kwnames[] = {
3953 (char *) "self",(char *) "left", NULL
3954 };
3955
8edf1c75 3956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetLeft",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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 ;
8edf1c75 3980 PyObject * obj1 = 0 ;
d14a1e28
RD
3981 char *kwnames[] = {
3982 (char *) "self",(char *) "right", NULL
3983 };
3984
8edf1c75 3985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetRight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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 ;
8edf1c75 4009 PyObject * obj1 = 0 ;
d14a1e28
RD
4010 char *kwnames[] = {
4011 (char *) "self",(char *) "top", NULL
4012 };
4013
8edf1c75 4014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTop",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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 ;
8edf1c75 4038 PyObject * obj1 = 0 ;
d14a1e28
RD
4039 char *kwnames[] = {
4040 (char *) "self",(char *) "bottom", NULL
4041 };
4042
8edf1c75 4043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottom",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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 ;
423f194a
RD
4065 int arg2 ;
4066 int arg3 ;
d14a1e28
RD
4067 wxRect *result;
4068 PyObject * obj0 = 0 ;
8edf1c75
RD
4069 PyObject * obj1 = 0 ;
4070 PyObject * obj2 = 0 ;
d14a1e28
RD
4071 char *kwnames[] = {
4072 (char *) "self",(char *) "dx",(char *) "dy", NULL
4073 };
4074
8edf1c75 4075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Inflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
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 }
2f4c0a16 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 ;
423f194a
RD
4102 int arg2 ;
4103 int arg3 ;
d14a1e28
RD
4104 wxRect *result;
4105 PyObject * obj0 = 0 ;
8edf1c75
RD
4106 PyObject * obj1 = 0 ;
4107 PyObject * obj2 = 0 ;
d14a1e28
RD
4108 char *kwnames[] = {
4109 (char *) "self",(char *) "dx",(char *) "dy", NULL
4110 };
4111
8edf1c75 4112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Deflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
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 }
2f4c0a16 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 ;
423f194a
RD
4139 int arg2 ;
4140 int arg3 ;
d14a1e28 4141 PyObject * obj0 = 0 ;
8edf1c75
RD
4142 PyObject * obj1 = 0 ;
4143 PyObject * obj2 = 0 ;
d14a1e28
RD
4144 char *kwnames[] = {
4145 (char *) "self",(char *) "dx",(char *) "dy", NULL
4146 };
4147
8edf1c75 4148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_OffsetXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
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;
2f4c0a16
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;
2f4c0a16
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 }
2f4c0a16 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;
2f4c0a16
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);
2f4c0a16 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;
2f4c0a16
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 }
2f4c0a16 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;
2f4c0a16
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;
2f4c0a16
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 ;
8edf1c75
RD
4387 PyObject * obj1 = 0 ;
4388 PyObject * obj2 = 0 ;
d14a1e28
RD
4389 char *kwnames[] = {
4390 (char *) "self",(char *) "x",(char *) "y", NULL
4391 };
4392
8edf1c75 4393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_InsideXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
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;
2f4c0a16
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;
2f4c0a16
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 ;
8edf1c75 4491 PyObject * obj1 = 0 ;
d14a1e28
RD
4492 char *kwnames[] = {
4493 (char *) "self",(char *) "x", NULL
4494 };
4495
8edf1c75 4496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_x_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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;
2f4c0a16
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
2f4c0a16 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 ;
8edf1c75 4536 PyObject * obj1 = 0 ;
d14a1e28
RD
4537 char *kwnames[] = {
4538 (char *) "self",(char *) "y", NULL
4539 };
4540
8edf1c75 4541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_y_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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;
2f4c0a16
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
2f4c0a16 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 ;
8edf1c75 4581 PyObject * obj1 = 0 ;
d14a1e28
RD
4582 char *kwnames[] = {
4583 (char *) "self",(char *) "width", NULL
4584 };
4585
8edf1c75 4586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_width_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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;
2f4c0a16
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
2f4c0a16 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 ;
8edf1c75 4626 PyObject * obj1 = 0 ;
d14a1e28
RD
4627 char *kwnames[] = {
4628 (char *) "self",(char *) "height", NULL
4629 };
4630
8edf1c75 4631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_height_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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;
2f4c0a16
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
2f4c0a16 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 ;
8edf1c75
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
8edf1c75 4682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Rect_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
4683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 4685 if (obj1) {
2f4c0a16
RD
4686 arg2 = (int) SWIG_AsInt(obj1);
4687 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
4688 }
4689 if (obj2) {
2f4c0a16
RD
4690 arg3 = (int) SWIG_AsInt(obj2);
4691 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
4692 }
4693 if (obj3) {
2f4c0a16
RD
4694 arg4 = (int) SWIG_AsInt(obj3);
4695 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
4696 }
4697 if (obj4) {
2f4c0a16
RD
4698 arg5 = (int) SWIG_AsInt(obj4);
4699 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 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
423f194a 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
423f194a 4724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail;
2f4c0a16
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();
423f194a 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;
2f4c0a16
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;
8edf1c75
RD
4783 PyObject * obj0 = 0 ;
4784 PyObject * obj1 = 0 ;
d14a1e28
RD
4785 char *kwnames[] = {
4786 (char *) "x",(char *) "y", NULL
4787 };
4788
8edf1c75
RD
4789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point2D",kwnames,&obj0,&obj1)) goto fail;
4790 if (obj0) {
2f4c0a16
RD
4791 arg1 = (double) SWIG_AsDouble(obj0);
4792 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
4793 }
4794 if (obj1) {
2f4c0a16
RD
4795 arg2 = (double) SWIG_AsDouble(obj1);
4796 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 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 }
2f4c0a16 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 }
2f4c0a16 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 }
2f4c0a16 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;
2f4c0a16
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;
2f4c0a16
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;
2f4c0a16
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 }
2f4c0a16 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;
2f4c0a16
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 }
2f4c0a16 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 ;
8edf1c75 5005 PyObject * obj1 = 0 ;
d14a1e28
RD
5006 char *kwnames[] = {
5007 (char *) "self",(char *) "length", NULL
5008 };
5009
8edf1c75 5010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorLength",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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 ;
8edf1c75 5034 PyObject * obj1 = 0 ;
d14a1e28
RD
5035 char *kwnames[] = {
5036 (char *) "self",(char *) "degrees", NULL
5037 };
5038
8edf1c75 5039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorAngle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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;
2f4c0a16
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 }
2f4c0a16 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;
2f4c0a16
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 }
2f4c0a16 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;
2f4c0a16
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 }
2f4c0a16 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;
2f4c0a16
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 }
2f4c0a16 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;
2f4c0a16
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);
2f4c0a16 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;
2f4c0a16
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 }
2f4c0a16 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;
2f4c0a16
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 }
2f4c0a16 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;
2f4c0a16
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 }
2f4c0a16 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;
2f4c0a16
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 }
2f4c0a16 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;
2f4c0a16
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;
2f4c0a16
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 ;
8edf1c75 5439 PyObject * obj1 = 0 ;
d14a1e28
RD
5440 char *kwnames[] = {
5441 (char *) "self",(char *) "m_x", NULL
5442 };
5443
8edf1c75 5444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_x_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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;
2f4c0a16
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
2f4c0a16 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 ;
8edf1c75 5484 PyObject * obj1 = 0 ;
d14a1e28
RD
5485 char *kwnames[] = {
5486 (char *) "self",(char *) "m_y", NULL
5487 };
5488
8edf1c75 5489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_y_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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;
2f4c0a16
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
2f4c0a16 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 ;
8edf1c75
RD
5530 PyObject * obj1 = 0 ;
5531 PyObject * obj2 = 0 ;
d14a1e28
RD
5532 char *kwnames[] = {
5533 (char *) "self",(char *) "x",(char *) "y", NULL
5534 };
5535
8edf1c75 5536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Point2D_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 5539 if (obj1) {
2f4c0a16
RD
5540 arg2 = (double) SWIG_AsDouble(obj1);
5541 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
5542 }
5543 if (obj2) {
2f4c0a16
RD
5544 arg3 = (double) SWIG_AsDouble(obj2);
5545 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 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
423f194a 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
423f194a 5570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail;
2f4c0a16
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();
423f194a 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}
2f4c0a16 5594static int _wrap_DefaultPosition_set(PyObject *_val) {
d14a1e28
RD
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
2f4c0a16 5603 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultPosition), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
5604 return pyobj;
5605}
5606
5607
2f4c0a16 5608static int _wrap_DefaultSize_set(PyObject *_val) {
d14a1e28
RD
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
2f4c0a16 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 }
2f4c0a16 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;
2f4c0a16
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;
2f4c0a16
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;
2f4c0a16
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 ;
8edf1c75 5731 PyObject * obj1 = 0 ;
d14a1e28
RD
5732 char *kwnames[] = {
5733 (char *) "self",(char *) "size", NULL
5734 };
5735
8edf1c75 5736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_read",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 5739 if (obj1) {
2f4c0a16
RD
5740 arg2 = (int) SWIG_AsInt(obj1);
5741 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 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 ;
8edf1c75 5763 PyObject * obj1 = 0 ;
d14a1e28
RD
5764 char *kwnames[] = {
5765 (char *) "self",(char *) "size", NULL
5766 };
5767
8edf1c75 5768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readline",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 5771 if (obj1) {
2f4c0a16
RD
5772 arg2 = (int) SWIG_AsInt(obj1);
5773 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 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 ;
8edf1c75 5795 PyObject * obj1 = 0 ;
d14a1e28
RD
5796 char *kwnames[] = {
5797 (char *) "self",(char *) "sizehint", NULL
5798 };
5799
8edf1c75 5800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readlines",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 5803 if (obj1) {
2f4c0a16
RD
5804 arg2 = (int) SWIG_AsInt(obj1);
5805 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 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 ;
8edf1c75
RD
5827 PyObject * obj1 = 0 ;
5828 PyObject * obj2 = 0 ;
d14a1e28
RD
5829 char *kwnames[] = {
5830 (char *) "self",(char *) "offset",(char *) "whence", NULL
5831 };
5832
8edf1c75 5833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_seek",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
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;
8edf1c75 5838 if (obj2) {
2f4c0a16
RD
5839 arg3 = (int) SWIG_AsInt(obj2);
5840 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 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;
2f4c0a16
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 }
2f4c0a16 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;
2f4c0a16
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 }
2f4c0a16 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;
2f4c0a16
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 }
2f4c0a16 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;
2f4c0a16
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 }
2f4c0a16 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;
2f4c0a16
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;
2f4c0a16
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 ;
8edf1c75 6022 PyObject * obj1 = 0 ;
d14a1e28
RD
6023 char *kwnames[] = {
6024 (char *) "self",(char *) "c", NULL
6025 };
6026
8edf1c75 6027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InputStream_Ungetch",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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 ;
8edf1c75
RD
6055 PyObject * obj1 = 0 ;
6056 PyObject * obj2 = 0 ;
d14a1e28
RD
6057 char *kwnames[] = {
6058 (char *) "self",(char *) "pos",(char *) "mode", NULL
6059 };
6060
8edf1c75 6061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_SeekI",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
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;
8edf1c75 6066 if (obj2) {
2f4c0a16
RD
6067 arg3 = (wxSeekMode) SWIG_AsInt(obj2);
6068 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 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 }
2f4c0a16 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;
2f4c0a16
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 }
2f4c0a16 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;
2f4c0a16
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 ;
423f194a
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;
423f194a 6179 created1 = False;
d14a1e28
RD
6180 } else {
6181 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 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 }
423f194a 6187 created1 = True;
d14a1e28
RD
6188 }
6189 }
6190 {
6191 arg2 = wxString_in_helper(obj1);
6192 if (arg2 == NULL) SWIG_fail;
423f194a 6193 temp2 = True;
d14a1e28
RD
6194 }
6195 {
6196 arg3 = wxString_in_helper(obj2);
6197 if (arg3 == NULL) SWIG_fail;
423f194a 6198 temp3 = True;
d14a1e28
RD
6199 }
6200 {
6201 arg4 = wxString_in_helper(obj3);
6202 if (arg4 == NULL) SWIG_fail;
423f194a 6203 temp4 = True;
d14a1e28 6204 }
2f4c0a16
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;
2f4c0a16
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;
2f4c0a16
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 }
423f194a 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;
2f4c0a16
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 }
f0983263
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;
2f4c0a16
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 }
f0983263
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;
2f4c0a16
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 }
f0983263
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;
2f4c0a16
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);
2f4c0a16 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 }
2f4c0a16 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;
2f4c0a16
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;
423f194a 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;
2f4c0a16
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;
423f194a 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;
423f194a 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;
2f4c0a16
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) {
2f4c0a16
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;
423f194a 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;
423f194a 6619 bool temp2 = False ;
d14a1e28
RD
6620 PyObject * obj0 = 0 ;
6621 PyObject * obj1 = 0 ;
8edf1c75 6622 PyObject * obj2 = 0 ;
d14a1e28
RD
6623 char *kwnames[] = {
6624 (char *) "self",(char *) "spec",(char *) "flags", NULL
6625 };
6626
8edf1c75 6627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
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;
423f194a 6633 temp2 = True;
d14a1e28 6634 }
8edf1c75 6635 if (obj2) {
2f4c0a16
RD
6636 arg3 = (int) SWIG_AsInt(obj2);
6637 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 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;
2f4c0a16
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;
423f194a 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;
2f4c0a16
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;
423f194a 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;
423f194a 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;
2f4c0a16
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;
423f194a 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;
423f194a 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;
2f4c0a16
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;
423f194a 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;
423f194a 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;
2f4c0a16
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;
423f194a 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;
423f194a 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;
2f4c0a16
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;
423f194a 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;
2f4c0a16
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 ;
423f194a
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;
2f4c0a16
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;
423f194a 7014 temp2 = True;
d14a1e28
RD
7015 }
7016 if (obj2) {
2f4c0a16
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;
2f4c0a16
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;
423f194a 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;
2f4c0a16
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;
423f194a 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;
423f194a 7124 bool temp2 = False ;
d14a1e28
RD
7125 PyObject * obj0 = 0 ;
7126 PyObject * obj1 = 0 ;
8edf1c75 7127 PyObject * obj2 = 0 ;
d14a1e28
RD
7128 char *kwnames[] = {
7129 (char *) "self",(char *) "spec",(char *) "flags", NULL
7130 };
7131
8edf1c75 7132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
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;
423f194a 7138 temp2 = True;
d14a1e28 7139 }
8edf1c75 7140 if (obj2) {
2f4c0a16
RD
7141 arg3 = (int) SWIG_AsInt(obj2);
7142 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 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;
2f4c0a16
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;
2f4c0a16
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;
423f194a 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;
423f194a 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;
423f194a 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;
423f194a 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 }
2f4c0a16 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;
423f194a 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;
2f4c0a16
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;
423f194a 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;
423f194a 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;
2f4c0a16
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) {
2f4c0a16
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;
423f194a 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 }
2f4c0a16 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;
423f194a 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;
2f4c0a16
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;
423f194a 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;
423f194a 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;
2f4c0a16
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) {
2f4c0a16
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;
423f194a 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;
423f194a 7596 bool temp2 = False ;
d14a1e28
RD
7597 PyObject * obj0 = 0 ;
7598 PyObject * obj1 = 0 ;
8edf1c75 7599 PyObject * obj2 = 0 ;
d14a1e28
RD
7600 char *kwnames[] = {
7601 (char *) "self",(char *) "spec",(char *) "flags", NULL
7602 };
7603
8edf1c75 7604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
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;
423f194a 7610 temp2 = True;
d14a1e28 7611 }
8edf1c75 7612 if (obj2) {
2f4c0a16
RD
7613 arg3 = (int) SWIG_AsInt(obj2);
7614 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 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;
2f4c0a16
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 ;
423f194a 7688 bool temp1 = False ;
d14a1e28
RD
7689 PyObject * obj0 = 0 ;
7690 PyObject * obj1 = 0 ;
8edf1c75 7691 PyObject * obj2 = 0 ;
d14a1e28
RD
7692 char *kwnames[] = {
7693 (char *) "filename",(char *) "image",(char *) "type", NULL
7694 };
7695
8edf1c75 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;
423f194a 7700 temp1 = True;
d14a1e28 7701 }
2f4c0a16
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) {
2f4c0a16
RD
7706 PyErr_SetString(PyExc_TypeError,"null reference");
7707 SWIG_fail;
8edf1c75 7708 }
2f4c0a16
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 ;
423f194a 7738 bool temp1 = False ;
d14a1e28
RD
7739 PyObject * obj0 = 0 ;
7740 PyObject * obj1 = 0 ;
8edf1c75 7741 PyObject * obj2 = 0 ;
d14a1e28
RD
7742 char *kwnames[] = {
7743 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7744 };
7745
8edf1c75 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;
423f194a 7750 temp1 = True;
d14a1e28 7751 }
2f4c0a16
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) {
2f4c0a16
RD
7756 PyErr_SetString(PyExc_TypeError,"null reference");
7757 SWIG_fail;
8edf1c75 7758 }
2f4c0a16
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 ;
423f194a 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;
423f194a 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 }
2f4c0a16 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 ;
423f194a 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;
423f194a 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;
423f194a 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;
2f4c0a16
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;
423f194a 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;
423f194a 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;
2f4c0a16
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) {
2f4c0a16
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;
423f194a 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;
423f194a 7985 bool temp2 = False ;
d14a1e28
RD
7986 PyObject * obj0 = 0 ;
7987 PyObject * obj1 = 0 ;
8edf1c75 7988 PyObject * obj2 = 0 ;
d14a1e28
RD
7989 char *kwnames[] = {
7990 (char *) "self",(char *) "spec",(char *) "flags", NULL
7991 };
7992
8edf1c75 7993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
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;
423f194a 7999 temp2 = True;
d14a1e28 8000 }
8edf1c75 8001 if (obj2) {
2f4c0a16
RD
8002 arg3 = (int) SWIG_AsInt(obj2);
8003 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 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;
2f4c0a16
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;
2f4c0a16
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;
2f4c0a16
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;
2f4c0a16
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 }
2f4c0a16 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;
2f4c0a16
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;
423f194a 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;
2f4c0a16
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;
423f194a 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 ;
423f194a 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;
2f4c0a16
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;
423f194a 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 ;
423f194a 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;
2f4c0a16
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;
423f194a 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 ;
8edf1c75 8325 PyObject * obj1 = 0 ;
d14a1e28
RD
8326 char *kwnames[] = {
8327 (char *) "self",(char *) "type", NULL
8328 };
8329
8edf1c75 8330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetType",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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 ;
423f194a 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;
2f4c0a16
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;
423f194a 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 }
2f4c0a16 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;
2f4c0a16
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 }
2f4c0a16 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;
2f4c0a16
RD
8478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHistogram,
8479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8480 if (obj1) {
2f4c0a16
RD
8481 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj1);
8482 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8483 }
8484 if (obj2) {
2f4c0a16
RD
8485 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj2);
8486 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8487 }
8488 if (obj3) {
2f4c0a16
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;
423f194a 8533 bool temp1 = False ;
d14a1e28 8534 PyObject * obj0 = 0 ;
8edf1c75
RD
8535 PyObject * obj1 = 0 ;
8536 PyObject * obj2 = 0 ;
d14a1e28
RD
8537 char *kwnames[] = {
8538 (char *) "name",(char *) "type",(char *) "index", NULL
8539 };
8540
8edf1c75 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;
423f194a 8545 temp1 = True;
d14a1e28 8546 }
8edf1c75 8547 if (obj1) {
2f4c0a16
RD
8548 arg2 = (long) SWIG_AsLong(obj1);
8549 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8550 }
8551 if (obj2) {
2f4c0a16
RD
8552 arg3 = (int) SWIG_AsInt(obj2);
8553 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 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 }
2f4c0a16 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;
2f4c0a16
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;
423f194a
RD
8608 bool temp1 = False ;
8609 bool temp2 = False ;
d14a1e28
RD
8610 PyObject * obj0 = 0 ;
8611 PyObject * obj1 = 0 ;
8edf1c75 8612 PyObject * obj2 = 0 ;
d14a1e28
RD
8613 char *kwnames[] = {
8614 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8615 };
8616
8edf1c75 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;
423f194a 8621 temp1 = True;
d14a1e28
RD
8622 }
8623 {
8624 arg2 = wxString_in_helper(obj1);
8625 if (arg2 == NULL) SWIG_fail;
423f194a 8626 temp2 = True;
d14a1e28 8627 }
8edf1c75 8628 if (obj2) {
2f4c0a16
RD
8629 arg3 = (int) SWIG_AsInt(obj2);
8630 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 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 }
2f4c0a16 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 ;
8edf1c75
RD
8671 PyObject * obj1 = 0 ;
8672 PyObject * obj2 = 0 ;
d14a1e28
RD
8673 char *kwnames[] = {
8674 (char *) "stream",(char *) "type",(char *) "index", NULL
8675 };
8676
8edf1c75 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;
423f194a 8681 created1 = False;
d14a1e28
RD
8682 } else {
8683 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 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 }
423f194a 8689 created1 = True;
d14a1e28
RD
8690 }
8691 }
8edf1c75 8692 if (obj1) {
2f4c0a16
RD
8693 arg2 = (long) SWIG_AsLong(obj1);
8694 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8695 }
8696 if (obj2) {
2f4c0a16
RD
8697 arg3 = (int) SWIG_AsInt(obj2);
8698 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 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 }
2f4c0a16 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 ;
423f194a 8730 bool temp2 = False ;
d14a1e28
RD
8731 PyObject * obj0 = 0 ;
8732 PyObject * obj1 = 0 ;
8edf1c75 8733 PyObject * obj2 = 0 ;
d14a1e28
RD
8734 char *kwnames[] = {
8735 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8736 };
8737
8edf1c75 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;
423f194a 8742 created1 = False;
d14a1e28
RD
8743 } else {
8744 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 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 }
423f194a 8750 created1 = True;
d14a1e28
RD
8751 }
8752 }
8753 {
8754 arg2 = wxString_in_helper(obj1);
8755 if (arg2 == NULL) SWIG_fail;
423f194a 8756 temp2 = True;
d14a1e28 8757 }
8edf1c75 8758 if (obj2) {
2f4c0a16
RD
8759 arg3 = (int) SWIG_AsInt(obj2);
8760 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 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 }
2f4c0a16 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
cfe5e918 8792static PyObject *_wrap_new_EmptyImage__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28
RD
8793 PyObject *resultobj;
8794 int arg1 = (int) 0 ;
8795 int arg2 = (int) 0 ;
423f194a 8796 bool arg3 = (bool) True ;
d14a1e28 8797 wxImage *result;
8edf1c75
RD
8798 PyObject * obj0 = 0 ;
8799 PyObject * obj1 = 0 ;
d14a1e28 8800 PyObject * obj2 = 0 ;
d14a1e28 8801
cfe5e918 8802 if(!PyArg_ParseTuple(args,(char *)"|OOO:new_EmptyImage",&obj0,&obj1,&obj2)) goto fail;
8edf1c75 8803 if (obj0) {
2f4c0a16
RD
8804 arg1 = (int) SWIG_AsInt(obj0);
8805 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8806 }
8807 if (obj1) {
2f4c0a16
RD
8808 arg2 = (int) SWIG_AsInt(obj1);
8809 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8810 }
d14a1e28 8811 if (obj2) {
2f4c0a16
RD
8812 arg3 = (bool) SWIG_AsBool(obj2);
8813 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8814 }
8815 {
8816 PyThreadState* __tstate = wxPyBeginAllowThreads();
cfe5e918
RD
8817 result = (wxImage *)new_wxImage__SWIG_0(arg1,arg2,arg3);
8818
8819 wxPyEndAllowThreads(__tstate);
8820 if (PyErr_Occurred()) SWIG_fail;
8821 }
8822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8823 return resultobj;
8824 fail:
8825 return NULL;
8826}
8827
8828
8829static PyObject *_wrap_new_EmptyImage__SWIG_1(PyObject *self, PyObject *args) {
8830 PyObject *resultobj;
8831 wxSize *arg1 = 0 ;
8832 bool arg2 = (bool) True ;
8833 wxImage *result;
8834 wxSize temp1 ;
8835 PyObject * obj0 = 0 ;
8836 PyObject * obj1 = 0 ;
8837
8838 if(!PyArg_ParseTuple(args,(char *)"O|O:new_EmptyImage",&obj0,&obj1)) goto fail;
8839 {
8840 arg1 = &temp1;
8841 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
8842 }
8843 if (obj1) {
8844 arg2 = (bool) SWIG_AsBool(obj1);
8845 if (PyErr_Occurred()) SWIG_fail;
8846 }
8847 {
8848 PyThreadState* __tstate = wxPyBeginAllowThreads();
8849 result = (wxImage *)new_wxImage__SWIG_1((wxSize const &)*arg1,arg2);
d14a1e28
RD
8850
8851 wxPyEndAllowThreads(__tstate);
8852 if (PyErr_Occurred()) SWIG_fail;
8853 }
2f4c0a16 8854 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8855 return resultobj;
8856 fail:
8857 return NULL;
8858}
8859
8860
cfe5e918
RD
8861static PyObject *_wrap_new_EmptyImage(PyObject *self, PyObject *args) {
8862 int argc;
8863 PyObject *argv[4];
8864 int ii;
8865
8866 argc = PyObject_Length(args);
8867 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8868 argv[ii] = PyTuple_GetItem(args,ii);
8869 }
8870 if ((argc >= 0) && (argc <= 3)) {
8871 int _v;
8872 if (argc <= 0) {
8873 return _wrap_new_EmptyImage__SWIG_0(self,args);
8874 }
8875 _v = SWIG_CheckInt(argv[0]);
8876 if (_v) {
8877 if (argc <= 1) {
8878 return _wrap_new_EmptyImage__SWIG_0(self,args);
8879 }
8880 _v = SWIG_CheckInt(argv[1]);
8881 if (_v) {
8882 if (argc <= 2) {
8883 return _wrap_new_EmptyImage__SWIG_0(self,args);
8884 }
8885 _v = SWIG_CheckBool(argv[2]);
8886 if (_v) {
8887 return _wrap_new_EmptyImage__SWIG_0(self,args);
8888 }
8889 }
8890 }
8891 }
8892 if ((argc >= 1) && (argc <= 2)) {
8893 int _v;
8894 {
8895 _v = wxPySimple_typecheck(argv[0], wxT("wxSize"), 2);
8896 }
8897 if (_v) {
8898 if (argc <= 1) {
8899 return _wrap_new_EmptyImage__SWIG_1(self,args);
8900 }
8901 _v = SWIG_CheckBool(argv[1]);
8902 if (_v) {
8903 return _wrap_new_EmptyImage__SWIG_1(self,args);
8904 }
8905 }
8906 }
8907
8908 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_EmptyImage'");
8909 return NULL;
8910}
8911
8912
d14a1e28
RD
8913static PyObject *_wrap_new_ImageFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8914 PyObject *resultobj;
8915 wxBitmap *arg1 = 0 ;
8916 wxImage *result;
8917 PyObject * obj0 = 0 ;
8918 char *kwnames[] = {
8919 (char *) "bitmap", NULL
8920 };
8921
8922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ImageFromBitmap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
8924 SWIG_POINTER_EXCEPTION | 0)) == -1)
8925 SWIG_fail;
d14a1e28 8926 if (arg1 == NULL) {
2f4c0a16
RD
8927 PyErr_SetString(PyExc_TypeError,"null reference");
8928 SWIG_fail;
d14a1e28
RD
8929 }
8930 {
8931 PyThreadState* __tstate = wxPyBeginAllowThreads();
8932 result = (wxImage *)new_wxImage((wxBitmap const &)*arg1);
8933
8934 wxPyEndAllowThreads(__tstate);
8935 if (PyErr_Occurred()) SWIG_fail;
8936 }
2f4c0a16 8937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8938 return resultobj;
8939 fail:
8940 return NULL;
8941}
8942
8943
8944static PyObject *_wrap_new_ImageFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
8945 PyObject *resultobj;
8946 int arg1 ;
8947 int arg2 ;
8948 unsigned char *arg3 = (unsigned char *) 0 ;
8949 wxImage *result;
8edf1c75
RD
8950 PyObject * obj0 = 0 ;
8951 PyObject * obj1 = 0 ;
d14a1e28
RD
8952 PyObject * obj2 = 0 ;
8953 char *kwnames[] = {
8954 (char *) "width",(char *) "height",(char *) "data", NULL
8955 };
8956
8edf1c75 8957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ImageFromData",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8958 arg1 = (int) SWIG_AsInt(obj0);
8959 if (PyErr_Occurred()) SWIG_fail;
8960 arg2 = (int) SWIG_AsInt(obj1);
8961 if (PyErr_Occurred()) SWIG_fail;
8962 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_unsigned_char,
8963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8964 {
8965 PyThreadState* __tstate = wxPyBeginAllowThreads();
8966 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
8967
8968 wxPyEndAllowThreads(__tstate);
8969 if (PyErr_Occurred()) SWIG_fail;
8970 }
2f4c0a16 8971 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8972 return resultobj;
8973 fail:
8974 return NULL;
8975}
8976
8977
8978static PyObject *_wrap_Image_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8979 PyObject *resultobj;
8980 wxImage *arg1 = (wxImage *) 0 ;
8981 int arg2 ;
8982 int arg3 ;
8983 PyObject * obj0 = 0 ;
8edf1c75
RD
8984 PyObject * obj1 = 0 ;
8985 PyObject * obj2 = 0 ;
d14a1e28
RD
8986 char *kwnames[] = {
8987 (char *) "self",(char *) "width",(char *) "height", NULL
8988 };
8989
8edf1c75 8990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8993 arg2 = (int) SWIG_AsInt(obj1);
8994 if (PyErr_Occurred()) SWIG_fail;
8995 arg3 = (int) SWIG_AsInt(obj2);
8996 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8997 {
8998 PyThreadState* __tstate = wxPyBeginAllowThreads();
8999 (arg1)->Create(arg2,arg3);
9000
9001 wxPyEndAllowThreads(__tstate);
9002 if (PyErr_Occurred()) SWIG_fail;
9003 }
9004 Py_INCREF(Py_None); resultobj = Py_None;
9005 return resultobj;
9006 fail:
9007 return NULL;
9008}
9009
9010
9011static PyObject *_wrap_Image_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
9012 PyObject *resultobj;
9013 wxImage *arg1 = (wxImage *) 0 ;
9014 PyObject * obj0 = 0 ;
9015 char *kwnames[] = {
9016 (char *) "self", NULL
9017 };
9018
9019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9022 {
9023 PyThreadState* __tstate = wxPyBeginAllowThreads();
9024 (arg1)->Destroy();
9025
9026 wxPyEndAllowThreads(__tstate);
9027 if (PyErr_Occurred()) SWIG_fail;
9028 }
9029 Py_INCREF(Py_None); resultobj = Py_None;
9030 return resultobj;
9031 fail:
9032 return NULL;
9033}
9034
9035
9036static PyObject *_wrap_Image_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
9037 PyObject *resultobj;
9038 wxImage *arg1 = (wxImage *) 0 ;
9039 int arg2 ;
9040 int arg3 ;
9041 SwigValueWrapper< wxImage > result;
9042 PyObject * obj0 = 0 ;
8edf1c75
RD
9043 PyObject * obj1 = 0 ;
9044 PyObject * obj2 = 0 ;
d14a1e28
RD
9045 char *kwnames[] = {
9046 (char *) "self",(char *) "width",(char *) "height", NULL
9047 };
9048
8edf1c75 9049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9052 arg2 = (int) SWIG_AsInt(obj1);
9053 if (PyErr_Occurred()) SWIG_fail;
9054 arg3 = (int) SWIG_AsInt(obj2);
9055 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9056 {
9057 PyThreadState* __tstate = wxPyBeginAllowThreads();
9058 result = (arg1)->Scale(arg2,arg3);
9059
9060 wxPyEndAllowThreads(__tstate);
9061 if (PyErr_Occurred()) SWIG_fail;
9062 }
9063 {
9064 wxImage * resultptr;
9065 resultptr = new wxImage((wxImage &) result);
2f4c0a16 9066 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9067 }
9068 return resultobj;
9069 fail:
9070 return NULL;
9071}
9072
9073
9074static PyObject *_wrap_Image_ShrinkBy(PyObject *self, PyObject *args, PyObject *kwargs) {
9075 PyObject *resultobj;
9076 wxImage *arg1 = (wxImage *) 0 ;
9077 int arg2 ;
9078 int arg3 ;
9079 SwigValueWrapper< wxImage > result;
9080 PyObject * obj0 = 0 ;
8edf1c75
RD
9081 PyObject * obj1 = 0 ;
9082 PyObject * obj2 = 0 ;
d14a1e28
RD
9083 char *kwnames[] = {
9084 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9085 };
9086
8edf1c75 9087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_ShrinkBy",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9090 arg2 = (int) SWIG_AsInt(obj1);
9091 if (PyErr_Occurred()) SWIG_fail;
9092 arg3 = (int) SWIG_AsInt(obj2);
9093 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9094 {
9095 PyThreadState* __tstate = wxPyBeginAllowThreads();
9096 result = ((wxImage const *)arg1)->ShrinkBy(arg2,arg3);
9097
9098 wxPyEndAllowThreads(__tstate);
9099 if (PyErr_Occurred()) SWIG_fail;
9100 }
9101 {
9102 wxImage * resultptr;
9103 resultptr = new wxImage((wxImage &) result);
2f4c0a16 9104 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9105 }
9106 return resultobj;
9107 fail:
9108 return NULL;
9109}
9110
9111
9112static PyObject *_wrap_Image_Rescale(PyObject *self, PyObject *args, PyObject *kwargs) {
9113 PyObject *resultobj;
9114 wxImage *arg1 = (wxImage *) 0 ;
9115 int arg2 ;
9116 int arg3 ;
9117 wxImage *result;
9118 PyObject * obj0 = 0 ;
8edf1c75
RD
9119 PyObject * obj1 = 0 ;
9120 PyObject * obj2 = 0 ;
d14a1e28
RD
9121 char *kwnames[] = {
9122 (char *) "self",(char *) "width",(char *) "height", NULL
9123 };
9124
8edf1c75 9125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Rescale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9128 arg2 = (int) SWIG_AsInt(obj1);
9129 if (PyErr_Occurred()) SWIG_fail;
9130 arg3 = (int) SWIG_AsInt(obj2);
9131 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9132 {
9133 PyThreadState* __tstate = wxPyBeginAllowThreads();
9134 {
9135 wxImage &_result_ref = (arg1)->Rescale(arg2,arg3);
9136 result = (wxImage *) &_result_ref;
9137 }
9138
9139 wxPyEndAllowThreads(__tstate);
9140 if (PyErr_Occurred()) SWIG_fail;
9141 }
2f4c0a16 9142 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 0);
d14a1e28
RD
9143 return resultobj;
9144 fail:
9145 return NULL;
9146}
9147
9148
9149static PyObject *_wrap_Image_SetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
9150 PyObject *resultobj;
9151 wxImage *arg1 = (wxImage *) 0 ;
9152 int arg2 ;
9153 int arg3 ;
9154 unsigned char arg4 ;
9155 unsigned char arg5 ;
9156 unsigned char arg6 ;
9157 PyObject * obj0 = 0 ;
8edf1c75
RD
9158 PyObject * obj1 = 0 ;
9159 PyObject * obj2 = 0 ;
d14a1e28
RD
9160 PyObject * obj3 = 0 ;
9161 PyObject * obj4 = 0 ;
9162 PyObject * obj5 = 0 ;
9163 char *kwnames[] = {
9164 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9165 };
9166
8edf1c75 9167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Image_SetRGB",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
9168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9170 arg2 = (int) SWIG_AsInt(obj1);
9171 if (PyErr_Occurred()) SWIG_fail;
9172 arg3 = (int) SWIG_AsInt(obj2);
9173 if (PyErr_Occurred()) SWIG_fail;
9174 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
9175 if (PyErr_Occurred()) SWIG_fail;
9176 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj4);
9177 if (PyErr_Occurred()) SWIG_fail;
9178 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj5);
9179 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9180 {
9181 PyThreadState* __tstate = wxPyBeginAllowThreads();
9182 (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
9183
9184 wxPyEndAllowThreads(__tstate);
9185 if (PyErr_Occurred()) SWIG_fail;
9186 }
9187 Py_INCREF(Py_None); resultobj = Py_None;
9188 return resultobj;
9189 fail:
9190 return NULL;
9191}
9192
9193
9194static PyObject *_wrap_Image_GetRed(PyObject *self, PyObject *args, PyObject *kwargs) {
9195 PyObject *resultobj;
9196 wxImage *arg1 = (wxImage *) 0 ;
9197 int arg2 ;
9198 int arg3 ;
9199 unsigned char result;
9200 PyObject * obj0 = 0 ;
8edf1c75
RD
9201 PyObject * obj1 = 0 ;
9202 PyObject * obj2 = 0 ;
d14a1e28
RD
9203 char *kwnames[] = {
9204 (char *) "self",(char *) "x",(char *) "y", NULL
9205 };
9206
8edf1c75 9207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetRed",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9210 arg2 = (int) SWIG_AsInt(obj1);
9211 if (PyErr_Occurred()) SWIG_fail;
9212 arg3 = (int) SWIG_AsInt(obj2);
9213 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9214 {
9215 PyThreadState* __tstate = wxPyBeginAllowThreads();
9216 result = (unsigned char)(arg1)->GetRed(arg2,arg3);
9217
9218 wxPyEndAllowThreads(__tstate);
9219 if (PyErr_Occurred()) SWIG_fail;
9220 }
2f4c0a16 9221 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9222 return resultobj;
9223 fail:
9224 return NULL;
9225}
9226
9227
9228static PyObject *_wrap_Image_GetGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
9229 PyObject *resultobj;
9230 wxImage *arg1 = (wxImage *) 0 ;
9231 int arg2 ;
9232 int arg3 ;
9233 unsigned char result;
9234 PyObject * obj0 = 0 ;
8edf1c75
RD
9235 PyObject * obj1 = 0 ;
9236 PyObject * obj2 = 0 ;
d14a1e28
RD
9237 char *kwnames[] = {
9238 (char *) "self",(char *) "x",(char *) "y", NULL
9239 };
9240
8edf1c75 9241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetGreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9244 arg2 = (int) SWIG_AsInt(obj1);
9245 if (PyErr_Occurred()) SWIG_fail;
9246 arg3 = (int) SWIG_AsInt(obj2);
9247 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9248 {
9249 PyThreadState* __tstate = wxPyBeginAllowThreads();
9250 result = (unsigned char)(arg1)->GetGreen(arg2,arg3);
9251
9252 wxPyEndAllowThreads(__tstate);
9253 if (PyErr_Occurred()) SWIG_fail;
9254 }
2f4c0a16 9255 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9256 return resultobj;
9257 fail:
9258 return NULL;
9259}
9260
9261
9262static PyObject *_wrap_Image_GetBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
9263 PyObject *resultobj;
9264 wxImage *arg1 = (wxImage *) 0 ;
9265 int arg2 ;
9266 int arg3 ;
9267 unsigned char result;
9268 PyObject * obj0 = 0 ;
8edf1c75
RD
9269 PyObject * obj1 = 0 ;
9270 PyObject * obj2 = 0 ;
d14a1e28
RD
9271 char *kwnames[] = {
9272 (char *) "self",(char *) "x",(char *) "y", NULL
9273 };
9274
8edf1c75 9275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetBlue",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9278 arg2 = (int) SWIG_AsInt(obj1);
9279 if (PyErr_Occurred()) SWIG_fail;
9280 arg3 = (int) SWIG_AsInt(obj2);
9281 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9282 {
9283 PyThreadState* __tstate = wxPyBeginAllowThreads();
9284 result = (unsigned char)(arg1)->GetBlue(arg2,arg3);
9285
9286 wxPyEndAllowThreads(__tstate);
9287 if (PyErr_Occurred()) SWIG_fail;
9288 }
2f4c0a16 9289 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9290 return resultobj;
9291 fail:
9292 return NULL;
9293}
9294
9295
9296static PyObject *_wrap_Image_SetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9297 PyObject *resultobj;
9298 wxImage *arg1 = (wxImage *) 0 ;
9299 int arg2 ;
9300 int arg3 ;
9301 unsigned char arg4 ;
9302 PyObject * obj0 = 0 ;
8edf1c75
RD
9303 PyObject * obj1 = 0 ;
9304 PyObject * obj2 = 0 ;
d14a1e28
RD
9305 PyObject * obj3 = 0 ;
9306 char *kwnames[] = {
9307 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9308 };
9309
8edf1c75 9310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9313 arg2 = (int) SWIG_AsInt(obj1);
9314 if (PyErr_Occurred()) SWIG_fail;
9315 arg3 = (int) SWIG_AsInt(obj2);
9316 if (PyErr_Occurred()) SWIG_fail;
9317 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
9318 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9319 {
9320 PyThreadState* __tstate = wxPyBeginAllowThreads();
9321 (arg1)->SetAlpha(arg2,arg3,arg4);
9322
9323 wxPyEndAllowThreads(__tstate);
9324 if (PyErr_Occurred()) SWIG_fail;
9325 }
9326 Py_INCREF(Py_None); resultobj = Py_None;
9327 return resultobj;
9328 fail:
9329 return NULL;
9330}
9331
9332
9333static PyObject *_wrap_Image_GetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9334 PyObject *resultobj;
9335 wxImage *arg1 = (wxImage *) 0 ;
9336 int arg2 ;
9337 int arg3 ;
9338 unsigned char result;
9339 PyObject * obj0 = 0 ;
8edf1c75
RD
9340 PyObject * obj1 = 0 ;
9341 PyObject * obj2 = 0 ;
d14a1e28
RD
9342 char *kwnames[] = {
9343 (char *) "self",(char *) "x",(char *) "y", NULL
9344 };
9345
8edf1c75 9346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetAlpha",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9349 arg2 = (int) SWIG_AsInt(obj1);
9350 if (PyErr_Occurred()) SWIG_fail;
9351 arg3 = (int) SWIG_AsInt(obj2);
9352 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9353 {
9354 PyThreadState* __tstate = wxPyBeginAllowThreads();
9355 result = (unsigned char)(arg1)->GetAlpha(arg2,arg3);
9356
9357 wxPyEndAllowThreads(__tstate);
9358 if (PyErr_Occurred()) SWIG_fail;
9359 }
2f4c0a16 9360 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9361 return resultobj;
9362 fail:
9363 return NULL;
9364}
9365
9366
9367static PyObject *_wrap_Image_HasAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9368 PyObject *resultobj;
9369 wxImage *arg1 = (wxImage *) 0 ;
9370 bool result;
9371 PyObject * obj0 = 0 ;
9372 char *kwnames[] = {
9373 (char *) "self", NULL
9374 };
9375
9376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9379 {
9380 PyThreadState* __tstate = wxPyBeginAllowThreads();
9381 result = (bool)(arg1)->HasAlpha();
9382
9383 wxPyEndAllowThreads(__tstate);
9384 if (PyErr_Occurred()) SWIG_fail;
9385 }
4f89f6a3
RD
9386 {
9387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9388 }
d14a1e28
RD
9389 return resultobj;
9390 fail:
9391 return NULL;
9392}
9393
9394
9395static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9396 PyObject *resultobj;
9397 wxImage *arg1 = (wxImage *) 0 ;
9398 byte *arg2 = (byte *) 0 ;
9399 byte *arg3 = (byte *) 0 ;
9400 byte *arg4 = (byte *) 0 ;
9401 byte arg5 = (byte) 0 ;
9402 byte arg6 = (byte) 0 ;
9403 byte arg7 = (byte) 0 ;
9404 bool result;
9405 byte temp2 ;
9406 byte temp3 ;
9407 byte temp4 ;
9408 PyObject * obj0 = 0 ;
9409 PyObject * obj1 = 0 ;
9410 PyObject * obj2 = 0 ;
9411 PyObject * obj3 = 0 ;
9412 char *kwnames[] = {
9413 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9414 };
9415
9416 arg2 = &temp2;
9417 arg3 = &temp3;
9418 arg4 = &temp4;
9419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 9422 if (obj1) {
2f4c0a16
RD
9423 arg5 = (byte) SWIG_AsUnsignedChar(obj1);
9424 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9425 }
9426 if (obj2) {
2f4c0a16
RD
9427 arg6 = (byte) SWIG_AsUnsignedChar(obj2);
9428 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9429 }
9430 if (obj3) {
2f4c0a16
RD
9431 arg7 = (byte) SWIG_AsUnsignedChar(obj3);
9432 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9433 }
9434 {
9435 PyThreadState* __tstate = wxPyBeginAllowThreads();
9436 result = (bool)((wxImage const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
9437
9438 wxPyEndAllowThreads(__tstate);
9439 if (PyErr_Occurred()) SWIG_fail;
9440 }
4f89f6a3
RD
9441 {
9442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9443 }
d14a1e28
RD
9444 {
9445 PyObject *o = PyInt_FromLong((long) (*arg2));
9446 resultobj = t_output_helper(resultobj,o);
9447 }
9448 {
9449 PyObject *o = PyInt_FromLong((long) (*arg3));
9450 resultobj = t_output_helper(resultobj,o);
9451 }
9452 {
9453 PyObject *o = PyInt_FromLong((long) (*arg4));
9454 resultobj = t_output_helper(resultobj,o);
9455 }
9456 return resultobj;
9457 fail:
9458 return NULL;
9459}
9460
9461
9462static PyObject *_wrap_Image_SetMaskFromImage(PyObject *self, PyObject *args, PyObject *kwargs) {
9463 PyObject *resultobj;
9464 wxImage *arg1 = (wxImage *) 0 ;
9465 wxImage *arg2 = 0 ;
9466 byte arg3 ;
9467 byte arg4 ;
9468 byte arg5 ;
9469 bool result;
9470 PyObject * obj0 = 0 ;
9471 PyObject * obj1 = 0 ;
9472 PyObject * obj2 = 0 ;
9473 PyObject * obj3 = 0 ;
9474 PyObject * obj4 = 0 ;
9475 char *kwnames[] = {
9476 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9477 };
9478
9479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
9480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9482 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
9483 SWIG_POINTER_EXCEPTION | 0)) == -1)
9484 SWIG_fail;
d14a1e28 9485 if (arg2 == NULL) {
2f4c0a16
RD
9486 PyErr_SetString(PyExc_TypeError,"null reference");
9487 SWIG_fail;
83448d71 9488 }
2f4c0a16
RD
9489 arg3 = (byte) SWIG_AsUnsignedChar(obj2);
9490 if (PyErr_Occurred()) SWIG_fail;
9491 arg4 = (byte) SWIG_AsUnsignedChar(obj3);
9492 if (PyErr_Occurred()) SWIG_fail;
9493 arg5 = (byte) SWIG_AsUnsignedChar(obj4);
9494 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9495 {
9496 PyThreadState* __tstate = wxPyBeginAllowThreads();
9497 result = (bool)(arg1)->SetMaskFromImage((wxImage const &)*arg2,arg3,arg4,arg5);
9498
9499 wxPyEndAllowThreads(__tstate);
9500 if (PyErr_Occurred()) SWIG_fail;
9501 }
4f89f6a3
RD
9502 {
9503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9504 }
d14a1e28
RD
9505 return resultobj;
9506 fail:
9507 return NULL;
9508}
9509
9510
9511static PyObject *_wrap_Image_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
9512 PyObject *resultobj;
9513 wxString *arg1 = 0 ;
9514 bool result;
423f194a 9515 bool temp1 = False ;
d14a1e28
RD
9516 PyObject * obj0 = 0 ;
9517 char *kwnames[] = {
9518 (char *) "name", NULL
9519 };
9520
9521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
9522 {
9523 arg1 = wxString_in_helper(obj0);
9524 if (arg1 == NULL) SWIG_fail;
423f194a 9525 temp1 = True;
d14a1e28
RD
9526 }
9527 {
9528 PyThreadState* __tstate = wxPyBeginAllowThreads();
9529 result = (bool)wxImage::CanRead((wxString const &)*arg1);
9530
9531 wxPyEndAllowThreads(__tstate);
9532 if (PyErr_Occurred()) SWIG_fail;
9533 }
4f89f6a3
RD
9534 {
9535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9536 }
d14a1e28
RD
9537 {
9538 if (temp1)
9539 delete arg1;
9540 }
9541 return resultobj;
9542 fail:
9543 {
9544 if (temp1)
9545 delete arg1;
9546 }
9547 return NULL;
9548}
9549
9550
9551static PyObject *_wrap_Image_GetImageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9552 PyObject *resultobj;
9553 wxString *arg1 = 0 ;
9554 long arg2 = (long) wxBITMAP_TYPE_ANY ;
9555 int result;
423f194a 9556 bool temp1 = False ;
d14a1e28 9557 PyObject * obj0 = 0 ;
8edf1c75 9558 PyObject * obj1 = 0 ;
d14a1e28
RD
9559 char *kwnames[] = {
9560 (char *) "name",(char *) "type", NULL
9561 };
9562
8edf1c75 9563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_GetImageCount",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
9564 {
9565 arg1 = wxString_in_helper(obj0);
9566 if (arg1 == NULL) SWIG_fail;
423f194a 9567 temp1 = True;
d14a1e28 9568 }
8edf1c75 9569 if (obj1) {
2f4c0a16
RD
9570 arg2 = (long) SWIG_AsLong(obj1);
9571 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9572 }
d14a1e28
RD
9573 {
9574 PyThreadState* __tstate = wxPyBeginAllowThreads();
9575 result = (int)wxImage::GetImageCount((wxString const &)*arg1,arg2);
9576
9577 wxPyEndAllowThreads(__tstate);
9578 if (PyErr_Occurred()) SWIG_fail;
9579 }
2f4c0a16 9580 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9581 {
9582 if (temp1)
9583 delete arg1;
9584 }
9585 return resultobj;
9586 fail:
9587 {
9588 if (temp1)
9589 delete arg1;
9590 }
9591 return NULL;
9592}
9593
9594
9595static PyObject *_wrap_Image_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9596 PyObject *resultobj;
9597 wxImage *arg1 = (wxImage *) 0 ;
9598 wxString *arg2 = 0 ;
9599 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9600 int arg4 = (int) -1 ;
9601 bool result;
423f194a 9602 bool temp2 = False ;
d14a1e28
RD
9603 PyObject * obj0 = 0 ;
9604 PyObject * obj1 = 0 ;
8edf1c75
RD
9605 PyObject * obj2 = 0 ;
9606 PyObject * obj3 = 0 ;
d14a1e28
RD
9607 char *kwnames[] = {
9608 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9609 };
9610
8edf1c75 9611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9614 {
9615 arg2 = wxString_in_helper(obj1);
9616 if (arg2 == NULL) SWIG_fail;
423f194a 9617 temp2 = True;
d14a1e28 9618 }
8edf1c75 9619 if (obj2) {
2f4c0a16
RD
9620 arg3 = (long) SWIG_AsLong(obj2);
9621 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
9622 }
9623 if (obj3) {
2f4c0a16
RD
9624 arg4 = (int) SWIG_AsInt(obj3);
9625 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9626 }
d14a1e28
RD
9627 {
9628 PyThreadState* __tstate = wxPyBeginAllowThreads();
9629 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3,arg4);
9630
9631 wxPyEndAllowThreads(__tstate);
9632 if (PyErr_Occurred()) SWIG_fail;
9633 }
4f89f6a3
RD
9634 {
9635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9636 }
d14a1e28
RD
9637 {
9638 if (temp2)
9639 delete arg2;
9640 }
9641 return resultobj;
9642 fail:
9643 {
9644 if (temp2)
9645 delete arg2;
9646 }
9647 return NULL;
9648}
9649
9650
9651static PyObject *_wrap_Image_LoadMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9652 PyObject *resultobj;
9653 wxImage *arg1 = (wxImage *) 0 ;
9654 wxString *arg2 = 0 ;
9655 wxString *arg3 = 0 ;
9656 int arg4 = (int) -1 ;
9657 bool result;
423f194a
RD
9658 bool temp2 = False ;
9659 bool temp3 = False ;
d14a1e28
RD
9660 PyObject * obj0 = 0 ;
9661 PyObject * obj1 = 0 ;
9662 PyObject * obj2 = 0 ;
8edf1c75 9663 PyObject * obj3 = 0 ;
d14a1e28
RD
9664 char *kwnames[] = {
9665 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9666 };
9667
8edf1c75 9668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9671 {
9672 arg2 = wxString_in_helper(obj1);
9673 if (arg2 == NULL) SWIG_fail;
423f194a 9674 temp2 = True;
d14a1e28
RD
9675 }
9676 {
9677 arg3 = wxString_in_helper(obj2);
9678 if (arg3 == NULL) SWIG_fail;
423f194a 9679 temp3 = True;
d14a1e28 9680 }
8edf1c75 9681 if (obj3) {
2f4c0a16
RD
9682 arg4 = (int) SWIG_AsInt(obj3);
9683 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9684 }
d14a1e28
RD
9685 {
9686 PyThreadState* __tstate = wxPyBeginAllowThreads();
9687 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9688
9689 wxPyEndAllowThreads(__tstate);
9690 if (PyErr_Occurred()) SWIG_fail;
9691 }
4f89f6a3
RD
9692 {
9693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9694 }
d14a1e28
RD
9695 {
9696 if (temp2)
9697 delete arg2;
9698 }
9699 {
9700 if (temp3)
9701 delete arg3;
9702 }
9703 return resultobj;
9704 fail:
9705 {
9706 if (temp2)
9707 delete arg2;
9708 }
9709 {
9710 if (temp3)
9711 delete arg3;
9712 }
9713 return NULL;
9714}
9715
9716
9717static PyObject *_wrap_Image_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9718 PyObject *resultobj;
9719 wxImage *arg1 = (wxImage *) 0 ;
9720 wxString *arg2 = 0 ;
9721 int arg3 ;
9722 bool result;
423f194a 9723 bool temp2 = False ;
d14a1e28
RD
9724 PyObject * obj0 = 0 ;
9725 PyObject * obj1 = 0 ;
8edf1c75 9726 PyObject * obj2 = 0 ;
d14a1e28
RD
9727 char *kwnames[] = {
9728 (char *) "self",(char *) "name",(char *) "type", NULL
9729 };
9730
8edf1c75 9731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9734 {
9735 arg2 = wxString_in_helper(obj1);
9736 if (arg2 == NULL) SWIG_fail;
423f194a 9737 temp2 = True;
d14a1e28 9738 }
2f4c0a16
RD
9739 arg3 = (int) SWIG_AsInt(obj2);
9740 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9741 {
9742 PyThreadState* __tstate = wxPyBeginAllowThreads();
9743 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
9744
9745 wxPyEndAllowThreads(__tstate);
9746 if (PyErr_Occurred()) SWIG_fail;
9747 }
4f89f6a3
RD
9748 {
9749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9750 }
d14a1e28
RD
9751 {
9752 if (temp2)
9753 delete arg2;
9754 }
9755 return resultobj;
9756 fail:
9757 {
9758 if (temp2)
9759 delete arg2;
9760 }
9761 return NULL;
9762}
9763
9764
9765static PyObject *_wrap_Image_SaveMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9766 PyObject *resultobj;
9767 wxImage *arg1 = (wxImage *) 0 ;
9768 wxString *arg2 = 0 ;
9769 wxString *arg3 = 0 ;
9770 bool result;
423f194a
RD
9771 bool temp2 = False ;
9772 bool temp3 = False ;
d14a1e28
RD
9773 PyObject * obj0 = 0 ;
9774 PyObject * obj1 = 0 ;
9775 PyObject * obj2 = 0 ;
9776 char *kwnames[] = {
9777 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9778 };
9779
9780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9783 {
9784 arg2 = wxString_in_helper(obj1);
9785 if (arg2 == NULL) SWIG_fail;
423f194a 9786 temp2 = True;
d14a1e28
RD
9787 }
9788 {
9789 arg3 = wxString_in_helper(obj2);
9790 if (arg3 == NULL) SWIG_fail;
423f194a 9791 temp3 = True;
d14a1e28
RD
9792 }
9793 {
9794 PyThreadState* __tstate = wxPyBeginAllowThreads();
9795 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxString const &)*arg3);
9796
9797 wxPyEndAllowThreads(__tstate);
9798 if (PyErr_Occurred()) SWIG_fail;
9799 }
4f89f6a3
RD
9800 {
9801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9802 }
d14a1e28
RD
9803 {
9804 if (temp2)
9805 delete arg2;
9806 }
9807 {
9808 if (temp3)
9809 delete arg3;
9810 }
9811 return resultobj;
9812 fail:
9813 {
9814 if (temp2)
9815 delete arg2;
9816 }
9817 {
9818 if (temp3)
9819 delete arg3;
9820 }
9821 return NULL;
9822}
9823
9824
9825static PyObject *_wrap_Image_CanReadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9826 PyObject *resultobj;
9827 wxInputStream *arg1 = 0 ;
9828 bool result;
9829 wxPyInputStream *temp1 ;
9830 bool created1 ;
9831 PyObject * obj0 = 0 ;
9832 char *kwnames[] = {
9833 (char *) "stream", NULL
9834 };
9835
9836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail;
9837 {
9838 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
9839 arg1 = temp1->m_wxis;
423f194a 9840 created1 = False;
d14a1e28
RD
9841 } else {
9842 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 9843 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
9844 if (arg1 == NULL) {
9845 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9846 SWIG_fail;
9847 }
423f194a 9848 created1 = True;
d14a1e28
RD
9849 }
9850 }
9851 {
9852 PyThreadState* __tstate = wxPyBeginAllowThreads();
9853 result = (bool)wxImage::CanRead(*arg1);
9854
9855 wxPyEndAllowThreads(__tstate);
9856 if (PyErr_Occurred()) SWIG_fail;
9857 }
4f89f6a3
RD
9858 {
9859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9860 }
d14a1e28
RD
9861 {
9862 if (created1)
9863 delete arg1;
9864 }
9865 return resultobj;
9866 fail:
9867 {
9868 if (created1)
9869 delete arg1;
9870 }
9871 return NULL;
9872}
9873
9874
9875static PyObject *_wrap_Image_LoadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9876 PyObject *resultobj;
9877 wxImage *arg1 = (wxImage *) 0 ;
9878 wxInputStream *arg2 = 0 ;
9879 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9880 int arg4 = (int) -1 ;
9881 bool result;
9882 wxPyInputStream *temp2 ;
9883 bool created2 ;
9884 PyObject * obj0 = 0 ;
9885 PyObject * obj1 = 0 ;
8edf1c75
RD
9886 PyObject * obj2 = 0 ;
9887 PyObject * obj3 = 0 ;
d14a1e28
RD
9888 char *kwnames[] = {
9889 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9890 };
9891
8edf1c75 9892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9895 {
9896 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9897 arg2 = temp2->m_wxis;
423f194a 9898 created2 = False;
d14a1e28
RD
9899 } else {
9900 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 9901 arg2 = wxPyCBInputStream_create(obj1, False);
d14a1e28
RD
9902 if (arg2 == NULL) {
9903 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9904 SWIG_fail;
9905 }
423f194a 9906 created2 = True;
d14a1e28
RD
9907 }
9908 }
8edf1c75 9909 if (obj2) {
2f4c0a16
RD
9910 arg3 = (long) SWIG_AsLong(obj2);
9911 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
9912 }
9913 if (obj3) {
2f4c0a16
RD
9914 arg4 = (int) SWIG_AsInt(obj3);
9915 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9916 }
d14a1e28
RD
9917 {
9918 PyThreadState* __tstate = wxPyBeginAllowThreads();
9919 result = (bool)(arg1)->LoadFile(*arg2,arg3,arg4);
9920
9921 wxPyEndAllowThreads(__tstate);
9922 if (PyErr_Occurred()) SWIG_fail;
9923 }
4f89f6a3
RD
9924 {
9925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9926 }
d14a1e28
RD
9927 {
9928 if (created2)
9929 delete arg2;
9930 }
9931 return resultobj;
9932 fail:
9933 {
9934 if (created2)
9935 delete arg2;
9936 }
9937 return NULL;
9938}
9939
9940
9941static PyObject *_wrap_Image_LoadMimeStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9942 PyObject *resultobj;
9943 wxImage *arg1 = (wxImage *) 0 ;
9944 wxInputStream *arg2 = 0 ;
9945 wxString *arg3 = 0 ;
9946 int arg4 = (int) -1 ;
9947 bool result;
9948 wxPyInputStream *temp2 ;
9949 bool created2 ;
423f194a 9950 bool temp3 = False ;
d14a1e28
RD
9951 PyObject * obj0 = 0 ;
9952 PyObject * obj1 = 0 ;
9953 PyObject * obj2 = 0 ;
8edf1c75 9954 PyObject * obj3 = 0 ;
d14a1e28
RD
9955 char *kwnames[] = {
9956 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9957 };
9958
8edf1c75 9959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9962 {
9963 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9964 arg2 = temp2->m_wxis;
423f194a 9965 created2 = False;
d14a1e28
RD
9966 } else {
9967 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 9968 arg2 = wxPyCBInputStream_create(obj1, False);
d14a1e28
RD
9969 if (arg2 == NULL) {
9970 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9971 SWIG_fail;
9972 }
423f194a 9973 created2 = True;
d14a1e28
RD
9974 }
9975 }
9976 {
9977 arg3 = wxString_in_helper(obj2);
9978 if (arg3 == NULL) SWIG_fail;
423f194a 9979 temp3 = True;
d14a1e28 9980 }
8edf1c75 9981 if (obj3) {
2f4c0a16
RD
9982 arg4 = (int) SWIG_AsInt(obj3);
9983 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9984 }
d14a1e28
RD
9985 {
9986 PyThreadState* __tstate = wxPyBeginAllowThreads();
9987 result = (bool)(arg1)->LoadFile(*arg2,(wxString const &)*arg3,arg4);
9988
9989 wxPyEndAllowThreads(__tstate);
9990 if (PyErr_Occurred()) SWIG_fail;
9991 }
4f89f6a3
RD
9992 {
9993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9994 }
d14a1e28
RD
9995 {
9996 if (created2)
9997 delete arg2;
9998 }
9999 {
10000 if (temp3)
10001 delete arg3;
10002 }
10003 return resultobj;
10004 fail:
10005 {
10006 if (created2)
10007 delete arg2;
10008 }
10009 {
10010 if (temp3)
10011 delete arg3;
10012 }
10013 return NULL;
10014}
10015
10016
10017static PyObject *_wrap_Image_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
10018 PyObject *resultobj;
10019 wxImage *arg1 = (wxImage *) 0 ;
10020 bool result;
10021 PyObject * obj0 = 0 ;
10022 char *kwnames[] = {
10023 (char *) "self", NULL
10024 };
10025
10026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10029 {
10030 PyThreadState* __tstate = wxPyBeginAllowThreads();
10031 result = (bool)(arg1)->Ok();
10032
10033 wxPyEndAllowThreads(__tstate);
10034 if (PyErr_Occurred()) SWIG_fail;
10035 }
4f89f6a3
RD
10036 {
10037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10038 }
d14a1e28
RD
10039 return resultobj;
10040 fail:
10041 return NULL;
10042}
10043
10044
10045static PyObject *_wrap_Image_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10046 PyObject *resultobj;
10047 wxImage *arg1 = (wxImage *) 0 ;
10048 int result;
10049 PyObject * obj0 = 0 ;
10050 char *kwnames[] = {
10051 (char *) "self", NULL
10052 };
10053
10054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10057 {
10058 PyThreadState* __tstate = wxPyBeginAllowThreads();
10059 result = (int)(arg1)->GetWidth();
10060
10061 wxPyEndAllowThreads(__tstate);
10062 if (PyErr_Occurred()) SWIG_fail;
10063 }
2f4c0a16 10064 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10065 return resultobj;
10066 fail:
10067 return NULL;
10068}
10069
10070
10071static PyObject *_wrap_Image_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
10072 PyObject *resultobj;
10073 wxImage *arg1 = (wxImage *) 0 ;
10074 int result;
10075 PyObject * obj0 = 0 ;
10076 char *kwnames[] = {
10077 (char *) "self", NULL
10078 };
10079
10080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10083 {
10084 PyThreadState* __tstate = wxPyBeginAllowThreads();
10085 result = (int)(arg1)->GetHeight();
10086
10087 wxPyEndAllowThreads(__tstate);
10088 if (PyErr_Occurred()) SWIG_fail;
10089 }
2f4c0a16 10090 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10091 return resultobj;
10092 fail:
10093 return NULL;
10094}
10095
10096
cfe5e918
RD
10097static PyObject *_wrap_Image_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10098 PyObject *resultobj;
10099 wxImage *arg1 = (wxImage *) 0 ;
10100 wxSize result;
10101 PyObject * obj0 = 0 ;
10102 char *kwnames[] = {
10103 (char *) "self", NULL
10104 };
10105
10106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetSize",kwnames,&obj0)) goto fail;
10107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10109 {
10110 PyThreadState* __tstate = wxPyBeginAllowThreads();
10111 result = wxImage_GetSize(arg1);
10112
10113 wxPyEndAllowThreads(__tstate);
10114 if (PyErr_Occurred()) SWIG_fail;
10115 }
10116 {
10117 wxSize * resultptr;
10118 resultptr = new wxSize((wxSize &) result);
10119 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
10120 }
10121 return resultobj;
10122 fail:
10123 return NULL;
10124}
10125
10126
d14a1e28
RD
10127static PyObject *_wrap_Image_GetSubImage(PyObject *self, PyObject *args, PyObject *kwargs) {
10128 PyObject *resultobj;
10129 wxImage *arg1 = (wxImage *) 0 ;
10130 wxRect *arg2 = 0 ;
10131 SwigValueWrapper< wxImage > result;
10132 wxRect temp2 ;
10133 PyObject * obj0 = 0 ;
10134 PyObject * obj1 = 0 ;
10135 char *kwnames[] = {
10136 (char *) "self",(char *) "rect", NULL
10137 };
10138
10139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10142 {
10143 arg2 = &temp2;
10144 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10145 }
10146 {
10147 PyThreadState* __tstate = wxPyBeginAllowThreads();
10148 result = (arg1)->GetSubImage((wxRect const &)*arg2);
10149
10150 wxPyEndAllowThreads(__tstate);
10151 if (PyErr_Occurred()) SWIG_fail;
10152 }
10153 {
10154 wxImage * resultptr;
10155 resultptr = new wxImage((wxImage &) result);
2f4c0a16 10156 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10157 }
10158 return resultobj;
10159 fail:
10160 return NULL;
10161}
10162
10163
10164static PyObject *_wrap_Image_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
10165 PyObject *resultobj;
10166 wxImage *arg1 = (wxImage *) 0 ;
10167 SwigValueWrapper< wxImage > result;
10168 PyObject * obj0 = 0 ;
10169 char *kwnames[] = {
10170 (char *) "self", NULL
10171 };
10172
10173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10176 {
10177 PyThreadState* __tstate = wxPyBeginAllowThreads();
10178 result = (arg1)->Copy();
10179
10180 wxPyEndAllowThreads(__tstate);
10181 if (PyErr_Occurred()) SWIG_fail;
10182 }
10183 {
10184 wxImage * resultptr;
10185 resultptr = new wxImage((wxImage &) result);
2f4c0a16 10186 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10187 }
10188 return resultobj;
10189 fail:
10190 return NULL;
10191}
10192
10193
10194static PyObject *_wrap_Image_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
10195 PyObject *resultobj;
10196 wxImage *arg1 = (wxImage *) 0 ;
10197 wxImage *arg2 = 0 ;
10198 int arg3 ;
10199 int arg4 ;
10200 PyObject * obj0 = 0 ;
10201 PyObject * obj1 = 0 ;
8edf1c75
RD
10202 PyObject * obj2 = 0 ;
10203 PyObject * obj3 = 0 ;
d14a1e28
RD
10204 char *kwnames[] = {
10205 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10206 };
10207
8edf1c75 10208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_Paste",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
10209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10211 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
10212 SWIG_POINTER_EXCEPTION | 0)) == -1)
10213 SWIG_fail;
d14a1e28 10214 if (arg2 == NULL) {
2f4c0a16
RD
10215 PyErr_SetString(PyExc_TypeError,"null reference");
10216 SWIG_fail;
8edf1c75 10217 }
2f4c0a16
RD
10218 arg3 = (int) SWIG_AsInt(obj2);
10219 if (PyErr_Occurred()) SWIG_fail;
10220 arg4 = (int) SWIG_AsInt(obj3);
10221 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10222 {
10223 PyThreadState* __tstate = wxPyBeginAllowThreads();
10224 (arg1)->Paste((wxImage const &)*arg2,arg3,arg4);
10225
10226 wxPyEndAllowThreads(__tstate);
10227 if (PyErr_Occurred()) SWIG_fail;
10228 }
10229 Py_INCREF(Py_None); resultobj = Py_None;
10230 return resultobj;
10231 fail:
10232 return NULL;
10233}
10234
10235
10236static PyObject *_wrap_Image_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
10237 PyObject *resultobj;
10238 wxImage *arg1 = (wxImage *) 0 ;
10239 PyObject *result;
10240 PyObject * obj0 = 0 ;
10241 char *kwnames[] = {
10242 (char *) "self", NULL
10243 };
10244
10245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10248 {
10249 PyThreadState* __tstate = wxPyBeginAllowThreads();
10250 result = (PyObject *)wxImage_GetData(arg1);
10251
10252 wxPyEndAllowThreads(__tstate);
10253 if (PyErr_Occurred()) SWIG_fail;
10254 }
10255 resultobj = result;
10256 return resultobj;
10257 fail:
10258 return NULL;
10259}
10260
10261
10262static PyObject *_wrap_Image_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
10263 PyObject *resultobj;
10264 wxImage *arg1 = (wxImage *) 0 ;
10265 PyObject *arg2 = (PyObject *) 0 ;
10266 PyObject * obj0 = 0 ;
10267 PyObject * obj1 = 0 ;
10268 char *kwnames[] = {
10269 (char *) "self",(char *) "data", NULL
10270 };
10271
10272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10275 arg2 = obj1;
10276 {
10277 PyThreadState* __tstate = wxPyBeginAllowThreads();
10278 wxImage_SetData(arg1,arg2);
10279
10280 wxPyEndAllowThreads(__tstate);
10281 if (PyErr_Occurred()) SWIG_fail;
10282 }
10283 Py_INCREF(Py_None); resultobj = Py_None;
10284 return resultobj;
10285 fail:
10286 return NULL;
10287}
10288
10289
10290static PyObject *_wrap_Image_GetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10291 PyObject *resultobj;
10292 wxImage *arg1 = (wxImage *) 0 ;
10293 PyObject *result;
10294 PyObject * obj0 = 0 ;
10295 char *kwnames[] = {
10296 (char *) "self", NULL
10297 };
10298
10299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10302 {
10303 PyThreadState* __tstate = wxPyBeginAllowThreads();
10304 result = (PyObject *)wxImage_GetDataBuffer(arg1);
10305
10306 wxPyEndAllowThreads(__tstate);
10307 if (PyErr_Occurred()) SWIG_fail;
10308 }
10309 resultobj = result;
10310 return resultobj;
10311 fail:
10312 return NULL;
10313}
10314
10315
10316static PyObject *_wrap_Image_SetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10317 PyObject *resultobj;
10318 wxImage *arg1 = (wxImage *) 0 ;
10319 PyObject *arg2 = (PyObject *) 0 ;
10320 PyObject * obj0 = 0 ;
10321 PyObject * obj1 = 0 ;
10322 char *kwnames[] = {
10323 (char *) "self",(char *) "data", NULL
10324 };
10325
10326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10329 arg2 = obj1;
10330 {
10331 PyThreadState* __tstate = wxPyBeginAllowThreads();
10332 wxImage_SetDataBuffer(arg1,arg2);
10333
10334 wxPyEndAllowThreads(__tstate);
10335 if (PyErr_Occurred()) SWIG_fail;
10336 }
10337 Py_INCREF(Py_None); resultobj = Py_None;
10338 return resultobj;
10339 fail:
10340 return NULL;
10341}
10342
10343
10344static PyObject *_wrap_Image_GetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
10345 PyObject *resultobj;
10346 wxImage *arg1 = (wxImage *) 0 ;
10347 PyObject *result;
10348 PyObject * obj0 = 0 ;
10349 char *kwnames[] = {
10350 (char *) "self", NULL
10351 };
10352
10353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10356 {
10357 PyThreadState* __tstate = wxPyBeginAllowThreads();
10358 result = (PyObject *)wxImage_GetAlphaData(arg1);
10359
10360 wxPyEndAllowThreads(__tstate);
10361 if (PyErr_Occurred()) SWIG_fail;
10362 }
10363 resultobj = result;
10364 return resultobj;
10365 fail:
10366 return NULL;
10367}
10368
10369
10370static PyObject *_wrap_Image_SetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
10371 PyObject *resultobj;
10372 wxImage *arg1 = (wxImage *) 0 ;
10373 PyObject *arg2 = (PyObject *) 0 ;
10374 PyObject * obj0 = 0 ;
10375 PyObject * obj1 = 0 ;
10376 char *kwnames[] = {
10377 (char *) "self",(char *) "data", NULL
10378 };
10379
10380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10383 arg2 = obj1;
10384 {
10385 PyThreadState* __tstate = wxPyBeginAllowThreads();
10386 wxImage_SetAlphaData(arg1,arg2);
10387
10388 wxPyEndAllowThreads(__tstate);
10389 if (PyErr_Occurred()) SWIG_fail;
10390 }
10391 Py_INCREF(Py_None); resultobj = Py_None;
10392 return resultobj;
10393 fail:
10394 return NULL;
10395}
10396
10397
10398static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10399 PyObject *resultobj;
10400 wxImage *arg1 = (wxImage *) 0 ;
10401 PyObject *result;
10402 PyObject * obj0 = 0 ;
10403 char *kwnames[] = {
10404 (char *) "self", NULL
10405 };
10406
10407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10410 {
10411 PyThreadState* __tstate = wxPyBeginAllowThreads();
10412 result = (PyObject *)wxImage_GetAlphaBuffer(arg1);
10413
10414 wxPyEndAllowThreads(__tstate);
10415 if (PyErr_Occurred()) SWIG_fail;
10416 }
10417 resultobj = result;
10418 return resultobj;
10419 fail:
10420 return NULL;
10421}
10422
10423
10424static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10425 PyObject *resultobj;
10426 wxImage *arg1 = (wxImage *) 0 ;
10427 PyObject *arg2 = (PyObject *) 0 ;
10428 PyObject * obj0 = 0 ;
10429 PyObject * obj1 = 0 ;
10430 char *kwnames[] = {
10431 (char *) "self",(char *) "data", NULL
10432 };
10433
10434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10437 arg2 = obj1;
10438 {
10439 PyThreadState* __tstate = wxPyBeginAllowThreads();
10440 wxImage_SetAlphaBuffer(arg1,arg2);
10441
10442 wxPyEndAllowThreads(__tstate);
10443 if (PyErr_Occurred()) SWIG_fail;
10444 }
10445 Py_INCREF(Py_None); resultobj = Py_None;
10446 return resultobj;
10447 fail:
10448 return NULL;
10449}
10450
10451
10452static PyObject *_wrap_Image_SetMaskColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10453 PyObject *resultobj;
10454 wxImage *arg1 = (wxImage *) 0 ;
10455 unsigned char arg2 ;
10456 unsigned char arg3 ;
10457 unsigned char arg4 ;
10458 PyObject * obj0 = 0 ;
10459 PyObject * obj1 = 0 ;
10460 PyObject * obj2 = 0 ;
10461 PyObject * obj3 = 0 ;
10462 char *kwnames[] = {
10463 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10464 };
10465
10466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
10467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10469 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10470 if (PyErr_Occurred()) SWIG_fail;
10471 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10472 if (PyErr_Occurred()) SWIG_fail;
10473 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10474 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10475 {
10476 PyThreadState* __tstate = wxPyBeginAllowThreads();
10477 (arg1)->SetMaskColour(arg2,arg3,arg4);
10478
10479 wxPyEndAllowThreads(__tstate);
10480 if (PyErr_Occurred()) SWIG_fail;
10481 }
10482 Py_INCREF(Py_None); resultobj = Py_None;
10483 return resultobj;
10484 fail:
10485 return NULL;
10486}
10487
10488
10489static PyObject *_wrap_Image_GetMaskRed(PyObject *self, PyObject *args, PyObject *kwargs) {
10490 PyObject *resultobj;
10491 wxImage *arg1 = (wxImage *) 0 ;
10492 unsigned char result;
10493 PyObject * obj0 = 0 ;
10494 char *kwnames[] = {
10495 (char *) "self", NULL
10496 };
10497
10498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10501 {
10502 PyThreadState* __tstate = wxPyBeginAllowThreads();
10503 result = (unsigned char)(arg1)->GetMaskRed();
10504
10505 wxPyEndAllowThreads(__tstate);
10506 if (PyErr_Occurred()) SWIG_fail;
10507 }
2f4c0a16 10508 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10509 return resultobj;
10510 fail:
10511 return NULL;
10512}
10513
10514
10515static PyObject *_wrap_Image_GetMaskGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
10516 PyObject *resultobj;
10517 wxImage *arg1 = (wxImage *) 0 ;
10518 unsigned char result;
10519 PyObject * obj0 = 0 ;
10520 char *kwnames[] = {
10521 (char *) "self", NULL
10522 };
10523
10524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10527 {
10528 PyThreadState* __tstate = wxPyBeginAllowThreads();
10529 result = (unsigned char)(arg1)->GetMaskGreen();
10530
10531 wxPyEndAllowThreads(__tstate);
10532 if (PyErr_Occurred()) SWIG_fail;
10533 }
2f4c0a16 10534 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10535 return resultobj;
10536 fail:
10537 return NULL;
10538}
10539
10540
10541static PyObject *_wrap_Image_GetMaskBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
10542 PyObject *resultobj;
10543 wxImage *arg1 = (wxImage *) 0 ;
10544 unsigned char result;
10545 PyObject * obj0 = 0 ;
10546 char *kwnames[] = {
10547 (char *) "self", NULL
10548 };
10549
10550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10553 {
10554 PyThreadState* __tstate = wxPyBeginAllowThreads();
10555 result = (unsigned char)(arg1)->GetMaskBlue();
10556
10557 wxPyEndAllowThreads(__tstate);
10558 if (PyErr_Occurred()) SWIG_fail;
10559 }
2f4c0a16 10560 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10561 return resultobj;
10562 fail:
10563 return NULL;
10564}
10565
10566
10567static PyObject *_wrap_Image_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
10568 PyObject *resultobj;
10569 wxImage *arg1 = (wxImage *) 0 ;
423f194a 10570 bool arg2 = (bool) True ;
d14a1e28
RD
10571 PyObject * obj0 = 0 ;
10572 PyObject * obj1 = 0 ;
10573 char *kwnames[] = {
10574 (char *) "self",(char *) "mask", NULL
10575 };
10576
10577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10580 if (obj1) {
2f4c0a16
RD
10581 arg2 = (bool) SWIG_AsBool(obj1);
10582 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10583 }
10584 {
10585 PyThreadState* __tstate = wxPyBeginAllowThreads();
10586 (arg1)->SetMask(arg2);
10587
10588 wxPyEndAllowThreads(__tstate);
10589 if (PyErr_Occurred()) SWIG_fail;
10590 }
10591 Py_INCREF(Py_None); resultobj = Py_None;
10592 return resultobj;
10593 fail:
10594 return NULL;
10595}
10596
10597
10598static PyObject *_wrap_Image_HasMask(PyObject *self, PyObject *args, PyObject *kwargs) {
10599 PyObject *resultobj;
10600 wxImage *arg1 = (wxImage *) 0 ;
10601 bool result;
10602 PyObject * obj0 = 0 ;
10603 char *kwnames[] = {
10604 (char *) "self", NULL
10605 };
10606
10607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10610 {
10611 PyThreadState* __tstate = wxPyBeginAllowThreads();
10612 result = (bool)(arg1)->HasMask();
10613
10614 wxPyEndAllowThreads(__tstate);
10615 if (PyErr_Occurred()) SWIG_fail;
10616 }
4f89f6a3
RD
10617 {
10618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10619 }
d14a1e28
RD
10620 return resultobj;
10621 fail:
10622 return NULL;
10623}
10624
10625
10626static PyObject *_wrap_Image_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
10627 PyObject *resultobj;
10628 wxImage *arg1 = (wxImage *) 0 ;
10629 double arg2 ;
10630 wxPoint *arg3 = 0 ;
423f194a 10631 bool arg4 = (bool) True ;
d14a1e28
RD
10632 wxPoint *arg5 = (wxPoint *) NULL ;
10633 SwigValueWrapper< wxImage > result;
10634 wxPoint temp3 ;
10635 PyObject * obj0 = 0 ;
8edf1c75 10636 PyObject * obj1 = 0 ;
d14a1e28
RD
10637 PyObject * obj2 = 0 ;
10638 PyObject * obj3 = 0 ;
10639 PyObject * obj4 = 0 ;
10640 char *kwnames[] = {
10641 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10642 };
10643
8edf1c75 10644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Image_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
10645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10647 arg2 = (double) SWIG_AsDouble(obj1);
10648 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10649 {
10650 arg3 = &temp3;
10651 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10652 }
10653 if (obj3) {
2f4c0a16
RD
10654 arg4 = (bool) SWIG_AsBool(obj3);
10655 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10656 }
10657 if (obj4) {
2f4c0a16
RD
10658 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPoint,
10659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10660 }
10661 {
10662 PyThreadState* __tstate = wxPyBeginAllowThreads();
10663 result = ((wxImage const *)arg1)->Rotate(arg2,(wxPoint const &)*arg3,arg4,arg5);
10664
10665 wxPyEndAllowThreads(__tstate);
10666 if (PyErr_Occurred()) SWIG_fail;
10667 }
10668 {
10669 wxImage * resultptr;
10670 resultptr = new wxImage((wxImage &) result);
2f4c0a16 10671 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10672 }
10673 return resultobj;
10674 fail:
10675 return NULL;
10676}
10677
10678
10679static PyObject *_wrap_Image_Rotate90(PyObject *self, PyObject *args, PyObject *kwargs) {
10680 PyObject *resultobj;
10681 wxImage *arg1 = (wxImage *) 0 ;
423f194a 10682 bool arg2 = (bool) True ;
d14a1e28
RD
10683 SwigValueWrapper< wxImage > result;
10684 PyObject * obj0 = 0 ;
10685 PyObject * obj1 = 0 ;
10686 char *kwnames[] = {
10687 (char *) "self",(char *) "clockwise", NULL
10688 };
10689
10690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10693 if (obj1) {
2f4c0a16
RD
10694 arg2 = (bool) SWIG_AsBool(obj1);
10695 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10696 }
10697 {
10698 PyThreadState* __tstate = wxPyBeginAllowThreads();
10699 result = (arg1)->Rotate90(arg2);
10700
10701 wxPyEndAllowThreads(__tstate);
10702 if (PyErr_Occurred()) SWIG_fail;
10703 }
10704 {
10705 wxImage * resultptr;
10706 resultptr = new wxImage((wxImage &) result);
2f4c0a16 10707 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10708 }
10709 return resultobj;
10710 fail:
10711 return NULL;
10712}
10713
10714
10715static PyObject *_wrap_Image_Mirror(PyObject *self, PyObject *args, PyObject *kwargs) {
10716 PyObject *resultobj;
10717 wxImage *arg1 = (wxImage *) 0 ;
423f194a 10718 bool arg2 = (bool) True ;
d14a1e28
RD
10719 SwigValueWrapper< wxImage > result;
10720 PyObject * obj0 = 0 ;
10721 PyObject * obj1 = 0 ;
10722 char *kwnames[] = {
10723 (char *) "self",(char *) "horizontally", NULL
10724 };
10725
10726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10729 if (obj1) {
2f4c0a16
RD
10730 arg2 = (bool) SWIG_AsBool(obj1);
10731 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10732 }
10733 {
10734 PyThreadState* __tstate = wxPyBeginAllowThreads();
10735 result = (arg1)->Mirror(arg2);
10736
10737 wxPyEndAllowThreads(__tstate);
10738 if (PyErr_Occurred()) SWIG_fail;
10739 }
10740 {
10741 wxImage * resultptr;
10742 resultptr = new wxImage((wxImage &) result);
2f4c0a16 10743 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10744 }
10745 return resultobj;
10746 fail:
10747 return NULL;
10748}
10749
10750
10751static PyObject *_wrap_Image_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
10752 PyObject *resultobj;
10753 wxImage *arg1 = (wxImage *) 0 ;
10754 unsigned char arg2 ;
10755 unsigned char arg3 ;
10756 unsigned char arg4 ;
10757 unsigned char arg5 ;
10758 unsigned char arg6 ;
10759 unsigned char arg7 ;
10760 PyObject * obj0 = 0 ;
10761 PyObject * obj1 = 0 ;
10762 PyObject * obj2 = 0 ;
10763 PyObject * obj3 = 0 ;
10764 PyObject * obj4 = 0 ;
10765 PyObject * obj5 = 0 ;
10766 PyObject * obj6 = 0 ;
10767 char *kwnames[] = {
10768 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10769 };
10770
10771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
10772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10774 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10775 if (PyErr_Occurred()) SWIG_fail;
10776 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10777 if (PyErr_Occurred()) SWIG_fail;
10778 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10779 if (PyErr_Occurred()) SWIG_fail;
10780 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj4);
10781 if (PyErr_Occurred()) SWIG_fail;
10782 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj5);
10783 if (PyErr_Occurred()) SWIG_fail;
10784 arg7 = (unsigned char) SWIG_AsUnsignedChar(obj6);
10785 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10786 {
10787 PyThreadState* __tstate = wxPyBeginAllowThreads();
10788 (arg1)->Replace(arg2,arg3,arg4,arg5,arg6,arg7);
10789
10790 wxPyEndAllowThreads(__tstate);
10791 if (PyErr_Occurred()) SWIG_fail;
10792 }
10793 Py_INCREF(Py_None); resultobj = Py_None;
10794 return resultobj;
10795 fail:
10796 return NULL;
10797}
10798
10799
10800static PyObject *_wrap_Image_ConvertToMono(PyObject *self, PyObject *args, PyObject *kwargs) {
10801 PyObject *resultobj;
10802 wxImage *arg1 = (wxImage *) 0 ;
10803 unsigned char arg2 ;
10804 unsigned char arg3 ;
10805 unsigned char arg4 ;
10806 SwigValueWrapper< wxImage > result;
10807 PyObject * obj0 = 0 ;
10808 PyObject * obj1 = 0 ;
10809 PyObject * obj2 = 0 ;
10810 PyObject * obj3 = 0 ;
10811 char *kwnames[] = {
10812 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10813 };
10814
10815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
10816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10818 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10819 if (PyErr_Occurred()) SWIG_fail;
10820 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10821 if (PyErr_Occurred()) SWIG_fail;
10822 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10823 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10824 {
10825 PyThreadState* __tstate = wxPyBeginAllowThreads();
10826 result = ((wxImage const *)arg1)->ConvertToMono(arg2,arg3,arg4);
10827
10828 wxPyEndAllowThreads(__tstate);
10829 if (PyErr_Occurred()) SWIG_fail;
10830 }
10831 {
10832 wxImage * resultptr;
10833 resultptr = new wxImage((wxImage &) result);
2f4c0a16 10834 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10835 }
10836 return resultobj;
10837 fail:
10838 return NULL;
10839}
10840
10841
10842static PyObject *_wrap_Image_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10843 PyObject *resultobj;
10844 wxImage *arg1 = (wxImage *) 0 ;
10845 wxString *arg2 = 0 ;
10846 wxString *arg3 = 0 ;
423f194a
RD
10847 bool temp2 = False ;
10848 bool temp3 = False ;
d14a1e28
RD
10849 PyObject * obj0 = 0 ;
10850 PyObject * obj1 = 0 ;
10851 PyObject * obj2 = 0 ;
10852 char *kwnames[] = {
10853 (char *) "self",(char *) "name",(char *) "value", NULL
10854 };
10855
10856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10859 {
10860 arg2 = wxString_in_helper(obj1);
10861 if (arg2 == NULL) SWIG_fail;
423f194a 10862 temp2 = True;
d14a1e28
RD
10863 }
10864 {
10865 arg3 = wxString_in_helper(obj2);
10866 if (arg3 == NULL) SWIG_fail;
423f194a 10867 temp3 = True;
d14a1e28
RD
10868 }
10869 {
10870 PyThreadState* __tstate = wxPyBeginAllowThreads();
10871 (arg1)->SetOption((wxString const &)*arg2,(wxString const &)*arg3);
10872
10873 wxPyEndAllowThreads(__tstate);
10874 if (PyErr_Occurred()) SWIG_fail;
10875 }
10876 Py_INCREF(Py_None); resultobj = Py_None;
10877 {
10878 if (temp2)
10879 delete arg2;
10880 }
10881 {
10882 if (temp3)
10883 delete arg3;
10884 }
10885 return resultobj;
10886 fail:
10887 {
10888 if (temp2)
10889 delete arg2;
10890 }
10891 {
10892 if (temp3)
10893 delete arg3;
10894 }
10895 return NULL;
10896}
10897
10898
10899static PyObject *_wrap_Image_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
10900 PyObject *resultobj;
10901 wxImage *arg1 = (wxImage *) 0 ;
10902 wxString *arg2 = 0 ;
10903 int arg3 ;
423f194a 10904 bool temp2 = False ;
d14a1e28
RD
10905 PyObject * obj0 = 0 ;
10906 PyObject * obj1 = 0 ;
8edf1c75 10907 PyObject * obj2 = 0 ;
d14a1e28
RD
10908 char *kwnames[] = {
10909 (char *) "self",(char *) "name",(char *) "value", NULL
10910 };
10911
8edf1c75 10912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOptionInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10915 {
10916 arg2 = wxString_in_helper(obj1);
10917 if (arg2 == NULL) SWIG_fail;
423f194a 10918 temp2 = True;
d14a1e28 10919 }
2f4c0a16
RD
10920 arg3 = (int) SWIG_AsInt(obj2);
10921 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10922 {
10923 PyThreadState* __tstate = wxPyBeginAllowThreads();
10924 (arg1)->SetOption((wxString const &)*arg2,arg3);
10925
10926 wxPyEndAllowThreads(__tstate);
10927 if (PyErr_Occurred()) SWIG_fail;
10928 }
10929 Py_INCREF(Py_None); resultobj = Py_None;
10930 {
10931 if (temp2)
10932 delete arg2;
10933 }
10934 return resultobj;
10935 fail:
10936 {
10937 if (temp2)
10938 delete arg2;
10939 }
10940 return NULL;
10941}
10942
10943
10944static PyObject *_wrap_Image_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10945 PyObject *resultobj;
10946 wxImage *arg1 = (wxImage *) 0 ;
10947 wxString *arg2 = 0 ;
10948 wxString result;
423f194a 10949 bool temp2 = False ;
d14a1e28
RD
10950 PyObject * obj0 = 0 ;
10951 PyObject * obj1 = 0 ;
10952 char *kwnames[] = {
10953 (char *) "self",(char *) "name", NULL
10954 };
10955
10956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10959 {
10960 arg2 = wxString_in_helper(obj1);
10961 if (arg2 == NULL) SWIG_fail;
423f194a 10962 temp2 = True;
d14a1e28
RD
10963 }
10964 {
10965 PyThreadState* __tstate = wxPyBeginAllowThreads();
10966 result = ((wxImage const *)arg1)->GetOption((wxString const &)*arg2);
10967
10968 wxPyEndAllowThreads(__tstate);
10969 if (PyErr_Occurred()) SWIG_fail;
10970 }
10971 {
10972#if wxUSE_UNICODE
10973 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10974#else
10975 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10976#endif
10977 }
10978 {
10979 if (temp2)
10980 delete arg2;
10981 }
10982 return resultobj;
10983 fail:
10984 {
10985 if (temp2)
10986 delete arg2;
10987 }
10988 return NULL;
10989}
10990
10991
10992static PyObject *_wrap_Image_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
10993 PyObject *resultobj;
10994 wxImage *arg1 = (wxImage *) 0 ;
10995 wxString *arg2 = 0 ;
10996 int result;
423f194a 10997 bool temp2 = False ;
d14a1e28
RD
10998 PyObject * obj0 = 0 ;
10999 PyObject * obj1 = 0 ;
11000 char *kwnames[] = {
11001 (char *) "self",(char *) "name", NULL
11002 };
11003
11004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11007 {
11008 arg2 = wxString_in_helper(obj1);
11009 if (arg2 == NULL) SWIG_fail;
423f194a 11010 temp2 = True;
d14a1e28
RD
11011 }
11012 {
11013 PyThreadState* __tstate = wxPyBeginAllowThreads();
11014 result = (int)((wxImage const *)arg1)->GetOptionInt((wxString const &)*arg2);
11015
11016 wxPyEndAllowThreads(__tstate);
11017 if (PyErr_Occurred()) SWIG_fail;
11018 }
2f4c0a16 11019 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11020 {
11021 if (temp2)
11022 delete arg2;
11023 }
11024 return resultobj;
11025 fail:
11026 {
11027 if (temp2)
11028 delete arg2;
11029 }
11030 return NULL;
11031}
11032
11033
11034static PyObject *_wrap_Image_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
11035 PyObject *resultobj;
11036 wxImage *arg1 = (wxImage *) 0 ;
11037 wxString *arg2 = 0 ;
11038 bool result;
423f194a 11039 bool temp2 = False ;
d14a1e28
RD
11040 PyObject * obj0 = 0 ;
11041 PyObject * obj1 = 0 ;
11042 char *kwnames[] = {
11043 (char *) "self",(char *) "name", NULL
11044 };
11045
11046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11049 {
11050 arg2 = wxString_in_helper(obj1);
11051 if (arg2 == NULL) SWIG_fail;
423f194a 11052 temp2 = True;
d14a1e28
RD
11053 }
11054 {
11055 PyThreadState* __tstate = wxPyBeginAllowThreads();
11056 result = (bool)((wxImage const *)arg1)->HasOption((wxString const &)*arg2);
11057
11058 wxPyEndAllowThreads(__tstate);
11059 if (PyErr_Occurred()) SWIG_fail;
11060 }
4f89f6a3
RD
11061 {
11062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11063 }
d14a1e28
RD
11064 {
11065 if (temp2)
11066 delete arg2;
11067 }
11068 return resultobj;
11069 fail:
11070 {
11071 if (temp2)
11072 delete arg2;
11073 }
11074 return NULL;
11075}
11076
11077
11078static PyObject *_wrap_Image_CountColours(PyObject *self, PyObject *args, PyObject *kwargs) {
11079 PyObject *resultobj;
11080 wxImage *arg1 = (wxImage *) 0 ;
11081 unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
11082 unsigned long result;
11083 PyObject * obj0 = 0 ;
11084 PyObject * obj1 = 0 ;
11085 char *kwnames[] = {
11086 (char *) "self",(char *) "stopafter", NULL
11087 };
11088
11089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11092 if (obj1) {
2f4c0a16
RD
11093 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
11094 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11095 }
11096 {
11097 PyThreadState* __tstate = wxPyBeginAllowThreads();
11098 result = (unsigned long)(arg1)->CountColours(arg2);
11099
11100 wxPyEndAllowThreads(__tstate);
11101 if (PyErr_Occurred()) SWIG_fail;
11102 }
2f4c0a16 11103 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
11104 return resultobj;
11105 fail:
11106 return NULL;
11107}
11108
11109
11110static PyObject *_wrap_Image_ComputeHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
11111 PyObject *resultobj;
11112 wxImage *arg1 = (wxImage *) 0 ;
11113 wxImageHistogram *arg2 = 0 ;
11114 unsigned long result;
11115 PyObject * obj0 = 0 ;
11116 PyObject * obj1 = 0 ;
11117 char *kwnames[] = {
11118 (char *) "self",(char *) "h", NULL
11119 };
11120
11121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11124 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageHistogram,
11125 SWIG_POINTER_EXCEPTION | 0)) == -1)
11126 SWIG_fail;
d14a1e28 11127 if (arg2 == NULL) {
2f4c0a16
RD
11128 PyErr_SetString(PyExc_TypeError,"null reference");
11129 SWIG_fail;
d14a1e28
RD
11130 }
11131 {
11132 PyThreadState* __tstate = wxPyBeginAllowThreads();
11133 result = (unsigned long)(arg1)->ComputeHistogram(*arg2);
11134
11135 wxPyEndAllowThreads(__tstate);
11136 if (PyErr_Occurred()) SWIG_fail;
11137 }
2f4c0a16 11138 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
11139 return resultobj;
11140 fail:
11141 return NULL;
11142}
11143
11144
11145static PyObject *_wrap_Image_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11146 PyObject *resultobj;
11147 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
11148 PyObject * obj0 = 0 ;
11149 char *kwnames[] = {
11150 (char *) "handler", NULL
11151 };
11152
11153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
11155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11156 {
11157 PyThreadState* __tstate = wxPyBeginAllowThreads();
11158 wxImage::AddHandler(arg1);
11159
11160 wxPyEndAllowThreads(__tstate);
11161 if (PyErr_Occurred()) SWIG_fail;
11162 }
11163 Py_INCREF(Py_None); resultobj = Py_None;
11164 return resultobj;
11165 fail:
11166 return NULL;
11167}
11168
11169
11170static PyObject *_wrap_Image_InsertHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11171 PyObject *resultobj;
11172 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
11173 PyObject * obj0 = 0 ;
11174 char *kwnames[] = {
11175 (char *) "handler", NULL
11176 };
11177
11178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
11180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11181 {
11182 PyThreadState* __tstate = wxPyBeginAllowThreads();
11183 wxImage::InsertHandler(arg1);
11184
11185 wxPyEndAllowThreads(__tstate);
11186 if (PyErr_Occurred()) SWIG_fail;
11187 }
11188 Py_INCREF(Py_None); resultobj = Py_None;
11189 return resultobj;
11190 fail:
11191 return NULL;
11192}
11193
11194
11195static PyObject *_wrap_Image_RemoveHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11196 PyObject *resultobj;
11197 wxString *arg1 = 0 ;
11198 bool result;
423f194a 11199 bool temp1 = False ;
d14a1e28
RD
11200 PyObject * obj0 = 0 ;
11201 char *kwnames[] = {
11202 (char *) "name", NULL
11203 };
11204
11205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail;
11206 {
11207 arg1 = wxString_in_helper(obj0);
11208 if (arg1 == NULL) SWIG_fail;
423f194a 11209 temp1 = True;
d14a1e28
RD
11210 }
11211 {
11212 PyThreadState* __tstate = wxPyBeginAllowThreads();
11213 result = (bool)wxImage::RemoveHandler((wxString const &)*arg1);
11214
11215 wxPyEndAllowThreads(__tstate);
11216 if (PyErr_Occurred()) SWIG_fail;
11217 }
4f89f6a3
RD
11218 {
11219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11220 }
d14a1e28
RD
11221 {
11222 if (temp1)
11223 delete arg1;
11224 }
11225 return resultobj;
11226 fail:
11227 {
11228 if (temp1)
11229 delete arg1;
11230 }
11231 return NULL;
11232}
11233
11234
11235static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11236 PyObject *resultobj;
11237 wxString result;
11238 char *kwnames[] = {
11239 NULL
11240 };
11241
11242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail;
11243 {
11244 PyThreadState* __tstate = wxPyBeginAllowThreads();
11245 result = wxImage::GetImageExtWildcard();
11246
11247 wxPyEndAllowThreads(__tstate);
11248 if (PyErr_Occurred()) SWIG_fail;
11249 }
11250 {
11251#if wxUSE_UNICODE
11252 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11253#else
11254 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11255#endif
11256 }
11257 return resultobj;
11258 fail:
11259 return NULL;
11260}
11261
11262
11263static PyObject *_wrap_Image_ConvertToBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11264 PyObject *resultobj;
11265 wxImage *arg1 = (wxImage *) 0 ;
11266 wxBitmap result;
11267 PyObject * obj0 = 0 ;
11268 char *kwnames[] = {
11269 (char *) "self", NULL
11270 };
11271
11272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_ConvertToBitmap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11275 {
11276 PyThreadState* __tstate = wxPyBeginAllowThreads();
11277 result = wxImage_ConvertToBitmap(arg1);
11278
11279 wxPyEndAllowThreads(__tstate);
11280 if (PyErr_Occurred()) SWIG_fail;
11281 }
11282 {
11283 wxBitmap * resultptr;
11284 resultptr = new wxBitmap((wxBitmap &) result);
2f4c0a16 11285 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
11286 }
11287 return resultobj;
11288 fail:
11289 return NULL;
11290}
11291
11292
11293static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11294 PyObject *resultobj;
11295 wxImage *arg1 = (wxImage *) 0 ;
11296 unsigned char arg2 ;
11297 unsigned char arg3 ;
11298 unsigned char arg4 ;
11299 wxBitmap result;
11300 PyObject * obj0 = 0 ;
11301 PyObject * obj1 = 0 ;
11302 PyObject * obj2 = 0 ;
11303 PyObject * obj3 = 0 ;
11304 char *kwnames[] = {
11305 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11306 };
11307
11308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
11309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11311 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
11312 if (PyErr_Occurred()) SWIG_fail;
11313 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
11314 if (PyErr_Occurred()) SWIG_fail;
11315 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
11316 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11317 {
11318 PyThreadState* __tstate = wxPyBeginAllowThreads();
11319 result = wxImage_ConvertToMonoBitmap(arg1,arg2,arg3,arg4);
11320
11321 wxPyEndAllowThreads(__tstate);
11322 if (PyErr_Occurred()) SWIG_fail;
11323 }
11324 {
11325 wxBitmap * resultptr;
11326 resultptr = new wxBitmap((wxBitmap &) result);
2f4c0a16 11327 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
11328 }
11329 return resultobj;
11330 fail:
11331 return NULL;
11332}
11333
11334
11335static PyObject * Image_swigregister(PyObject *self, PyObject *args) {
11336 PyObject *obj;
11337 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11338 SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj);
11339 Py_INCREF(obj);
11340 return Py_BuildValue((char *)"");
11341}
11342static PyObject *_wrap_InitAllImageHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
11343 PyObject *resultobj;
11344 char *kwnames[] = {
11345 NULL
11346 };
11347
11348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":InitAllImageHandlers",kwnames)) goto fail;
11349 {
11350 PyThreadState* __tstate = wxPyBeginAllowThreads();
11351 wxInitAllImageHandlers();
11352
11353 wxPyEndAllowThreads(__tstate);
11354 if (PyErr_Occurred()) SWIG_fail;
11355 }
11356 Py_INCREF(Py_None); resultobj = Py_None;
11357 return resultobj;
11358 fail:
11359 return NULL;
11360}
11361
11362
2f4c0a16 11363static int _wrap_NullImage_set(PyObject *_val) {
d14a1e28
RD
11364 PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only.");
11365 return 1;
11366}
11367
11368
11369static PyObject *_wrap_NullImage_get() {
11370 PyObject *pyobj;
11371
2f4c0a16 11372 pyobj = SWIG_NewPointerObj((void *)(&wxNullImage), SWIGTYPE_p_wxImage, 0);
d14a1e28
RD
11373 return pyobj;
11374}
11375
11376
2f4c0a16 11377static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *_val) {
d14a1e28
RD
11378 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11379 return 1;
11380}
11381
11382
11383static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11384 PyObject *pyobj;
11385
11386 {
11387#if wxUSE_UNICODE
11388 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11389#else
11390 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11391#endif
11392 }
11393 return pyobj;
11394}
11395
11396
2f4c0a16 11397static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *_val) {
d14a1e28
RD
11398 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11399 return 1;
11400}
11401
11402
11403static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11404 PyObject *pyobj;
11405
11406 {
11407#if wxUSE_UNICODE
11408 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11409#else
11410 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11411#endif
11412 }
11413 return pyobj;
11414}
11415
11416
2f4c0a16 11417static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *_val) {
d14a1e28
RD
11418 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11419 return 1;
11420}
11421
11422
11423static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11424 PyObject *pyobj;
11425
11426 {
11427#if wxUSE_UNICODE
11428 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11429#else
11430 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11431#endif
11432 }
11433 return pyobj;
11434}
11435
11436
2f4c0a16 11437static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *_val) {
d14a1e28
RD
11438 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11439 return 1;
11440}
11441
11442
11443static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get() {
11444 PyObject *pyobj;
11445
11446 {
11447#if wxUSE_UNICODE
11448 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11449#else
11450 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11451#endif
11452 }
11453 return pyobj;
11454}
11455
11456
2f4c0a16 11457static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *_val) {
d14a1e28
RD
11458 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11459 return 1;
11460}
11461
11462
11463static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11464 PyObject *pyobj;
11465
11466 {
11467#if wxUSE_UNICODE
11468 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11469#else
11470 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11471#endif
11472 }
11473 return pyobj;
11474}
11475
11476
11477static PyObject *_wrap_new_BMPHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11478 PyObject *resultobj;
11479 wxBMPHandler *result;
11480 char *kwnames[] = {
11481 NULL
11482 };
11483
11484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail;
11485 {
11486 PyThreadState* __tstate = wxPyBeginAllowThreads();
11487 result = (wxBMPHandler *)new wxBMPHandler();
11488
11489 wxPyEndAllowThreads(__tstate);
11490 if (PyErr_Occurred()) SWIG_fail;
11491 }
2f4c0a16 11492 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBMPHandler, 1);
d14a1e28
RD
11493 return resultobj;
11494 fail:
11495 return NULL;
11496}
11497
11498
11499static PyObject * BMPHandler_swigregister(PyObject *self, PyObject *args) {
11500 PyObject *obj;
11501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11502 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj);
11503 Py_INCREF(obj);
11504 return Py_BuildValue((char *)"");
11505}
11506static PyObject *_wrap_new_ICOHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11507 PyObject *resultobj;
11508 wxICOHandler *result;
11509 char *kwnames[] = {
11510 NULL
11511 };
11512
11513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail;
11514 {
11515 PyThreadState* __tstate = wxPyBeginAllowThreads();
11516 result = (wxICOHandler *)new wxICOHandler();
11517
11518 wxPyEndAllowThreads(__tstate);
11519 if (PyErr_Occurred()) SWIG_fail;
11520 }
2f4c0a16 11521 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxICOHandler, 1);
d14a1e28
RD
11522 return resultobj;
11523 fail:
11524 return NULL;
11525}
11526
11527
11528static PyObject * ICOHandler_swigregister(PyObject *self, PyObject *args) {
11529 PyObject *obj;
11530 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11531 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj);
11532 Py_INCREF(obj);
11533 return Py_BuildValue((char *)"");
11534}
11535static PyObject *_wrap_new_CURHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11536 PyObject *resultobj;
11537 wxCURHandler *result;
11538 char *kwnames[] = {
11539 NULL
11540 };
11541
11542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail;
11543 {
11544 PyThreadState* __tstate = wxPyBeginAllowThreads();
11545 result = (wxCURHandler *)new wxCURHandler();
11546
11547 wxPyEndAllowThreads(__tstate);
11548 if (PyErr_Occurred()) SWIG_fail;
11549 }
2f4c0a16 11550 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCURHandler, 1);
d14a1e28
RD
11551 return resultobj;
11552 fail:
11553 return NULL;
11554}
11555
11556
11557static PyObject * CURHandler_swigregister(PyObject *self, PyObject *args) {
11558 PyObject *obj;
11559 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11560 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj);
11561 Py_INCREF(obj);
11562 return Py_BuildValue((char *)"");
11563}
11564static PyObject *_wrap_new_ANIHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11565 PyObject *resultobj;
11566 wxANIHandler *result;
11567 char *kwnames[] = {
11568 NULL
11569 };
11570
11571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail;
11572 {
11573 PyThreadState* __tstate = wxPyBeginAllowThreads();
11574 result = (wxANIHandler *)new wxANIHandler();
11575
11576 wxPyEndAllowThreads(__tstate);
11577 if (PyErr_Occurred()) SWIG_fail;
11578 }
2f4c0a16 11579 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxANIHandler, 1);
d14a1e28
RD
11580 return resultobj;
11581 fail:
11582 return NULL;
11583}
11584
11585
11586static PyObject * ANIHandler_swigregister(PyObject *self, PyObject *args) {
11587 PyObject *obj;
11588 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11589 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj);
11590 Py_INCREF(obj);
11591 return Py_BuildValue((char *)"");
11592}
11593static PyObject *_wrap_new_PNGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11594 PyObject *resultobj;
11595 wxPNGHandler *result;
11596 char *kwnames[] = {
11597 NULL
11598 };
11599
11600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail;
11601 {
11602 PyThreadState* __tstate = wxPyBeginAllowThreads();
11603 result = (wxPNGHandler *)new wxPNGHandler();
11604
11605 wxPyEndAllowThreads(__tstate);
11606 if (PyErr_Occurred()) SWIG_fail;
11607 }
2f4c0a16 11608 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNGHandler, 1);
d14a1e28
RD
11609 return resultobj;
11610 fail:
11611 return NULL;
11612}
11613
11614
11615static PyObject * PNGHandler_swigregister(PyObject *self, PyObject *args) {
11616 PyObject *obj;
11617 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11618 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj);
11619 Py_INCREF(obj);
11620 return Py_BuildValue((char *)"");
11621}
11622static PyObject *_wrap_new_GIFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11623 PyObject *resultobj;
11624 wxGIFHandler *result;
11625 char *kwnames[] = {
11626 NULL
11627 };
11628
11629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail;
11630 {
11631 PyThreadState* __tstate = wxPyBeginAllowThreads();
11632 result = (wxGIFHandler *)new wxGIFHandler();
11633
11634 wxPyEndAllowThreads(__tstate);
11635 if (PyErr_Occurred()) SWIG_fail;
11636 }
2f4c0a16 11637 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGIFHandler, 1);
d14a1e28
RD
11638 return resultobj;
11639 fail:
11640 return NULL;
11641}
11642
11643
11644static PyObject * GIFHandler_swigregister(PyObject *self, PyObject *args) {
11645 PyObject *obj;
11646 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11647 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj);
11648 Py_INCREF(obj);
11649 return Py_BuildValue((char *)"");
11650}
11651static PyObject *_wrap_new_PCXHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11652 PyObject *resultobj;
11653 wxPCXHandler *result;
11654 char *kwnames[] = {
11655 NULL
11656 };
11657
11658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail;
11659 {
11660 PyThreadState* __tstate = wxPyBeginAllowThreads();
11661 result = (wxPCXHandler *)new wxPCXHandler();
11662
11663 wxPyEndAllowThreads(__tstate);
11664 if (PyErr_Occurred()) SWIG_fail;
11665 }
2f4c0a16 11666 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPCXHandler, 1);
d14a1e28
RD
11667 return resultobj;
11668 fail:
11669 return NULL;
11670}
11671
11672
11673static PyObject * PCXHandler_swigregister(PyObject *self, PyObject *args) {
11674 PyObject *obj;
11675 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11676 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj);
11677 Py_INCREF(obj);
11678 return Py_BuildValue((char *)"");
11679}
11680static PyObject *_wrap_new_JPEGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11681 PyObject *resultobj;
11682 wxJPEGHandler *result;
11683 char *kwnames[] = {
11684 NULL
11685 };
11686
11687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail;
11688 {
11689 PyThreadState* __tstate = wxPyBeginAllowThreads();
11690 result = (wxJPEGHandler *)new wxJPEGHandler();
11691
11692 wxPyEndAllowThreads(__tstate);
11693 if (PyErr_Occurred()) SWIG_fail;
11694 }
2f4c0a16 11695 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJPEGHandler, 1);
d14a1e28
RD
11696 return resultobj;
11697 fail:
11698 return NULL;
11699}
11700
11701
11702static PyObject * JPEGHandler_swigregister(PyObject *self, PyObject *args) {
11703 PyObject *obj;
11704 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11705 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj);
11706 Py_INCREF(obj);
11707 return Py_BuildValue((char *)"");
11708}
11709static PyObject *_wrap_new_PNMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11710 PyObject *resultobj;
11711 wxPNMHandler *result;
11712 char *kwnames[] = {
11713 NULL
11714 };
11715
11716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail;
11717 {
11718 PyThreadState* __tstate = wxPyBeginAllowThreads();
11719 result = (wxPNMHandler *)new wxPNMHandler();
11720
11721 wxPyEndAllowThreads(__tstate);
11722 if (PyErr_Occurred()) SWIG_fail;
11723 }
2f4c0a16 11724 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNMHandler, 1);
d14a1e28
RD
11725 return resultobj;
11726 fail:
11727 return NULL;
11728}
11729
11730
11731static PyObject * PNMHandler_swigregister(PyObject *self, PyObject *args) {
11732 PyObject *obj;
11733 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11734 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj);
11735 Py_INCREF(obj);
11736 return Py_BuildValue((char *)"");
11737}
11738static PyObject *_wrap_new_XPMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11739 PyObject *resultobj;
11740 wxXPMHandler *result;
11741 char *kwnames[] = {
11742 NULL
11743 };
11744
11745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail;
11746 {
11747 PyThreadState* __tstate = wxPyBeginAllowThreads();
11748 result = (wxXPMHandler *)new wxXPMHandler();
11749
11750 wxPyEndAllowThreads(__tstate);
11751 if (PyErr_Occurred()) SWIG_fail;
11752 }
2f4c0a16 11753 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXPMHandler, 1);
d14a1e28
RD
11754 return resultobj;
11755 fail:
11756 return NULL;
11757}
11758
11759
11760static PyObject * XPMHandler_swigregister(PyObject *self, PyObject *args) {
11761 PyObject *obj;
11762 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11763 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj);
11764 Py_INCREF(obj);
11765 return Py_BuildValue((char *)"");
11766}
11767static PyObject *_wrap_new_TIFFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11768 PyObject *resultobj;
11769 wxTIFFHandler *result;
11770 char *kwnames[] = {
11771 NULL
11772 };
11773
11774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail;
11775 {
11776 PyThreadState* __tstate = wxPyBeginAllowThreads();
11777 result = (wxTIFFHandler *)new wxTIFFHandler();
11778
11779 wxPyEndAllowThreads(__tstate);
11780 if (PyErr_Occurred()) SWIG_fail;
11781 }
2f4c0a16 11782 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTIFFHandler, 1);
d14a1e28
RD
11783 return resultobj;
11784 fail:
11785 return NULL;
11786}
11787
11788
11789static PyObject * TIFFHandler_swigregister(PyObject *self, PyObject *args) {
11790 PyObject *obj;
11791 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11792 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj);
11793 Py_INCREF(obj);
11794 return Py_BuildValue((char *)"");
11795}
11796static PyObject *_wrap_new_EvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11797 PyObject *resultobj;
11798 wxEvtHandler *result;
11799 char *kwnames[] = {
11800 NULL
11801 };
11802
11803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail;
11804 {
11805 PyThreadState* __tstate = wxPyBeginAllowThreads();
11806 result = (wxEvtHandler *)new wxEvtHandler();
11807
11808 wxPyEndAllowThreads(__tstate);
11809 if (PyErr_Occurred()) SWIG_fail;
11810 }
11811 {
11812 resultobj = wxPyMake_wxObject(result);
11813 }
11814 return resultobj;
11815 fail:
11816 return NULL;
11817}
11818
11819
11820static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11821 PyObject *resultobj;
11822 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11823 wxEvtHandler *result;
11824 PyObject * obj0 = 0 ;
11825 char *kwnames[] = {
11826 (char *) "self", NULL
11827 };
11828
11829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11832 {
11833 PyThreadState* __tstate = wxPyBeginAllowThreads();
11834 result = (wxEvtHandler *)(arg1)->GetNextHandler();
11835
11836 wxPyEndAllowThreads(__tstate);
11837 if (PyErr_Occurred()) SWIG_fail;
11838 }
11839 {
11840 resultobj = wxPyMake_wxObject(result);
11841 }
11842 return resultobj;
11843 fail:
11844 return NULL;
11845}
11846
11847
11848static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11849 PyObject *resultobj;
11850 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11851 wxEvtHandler *result;
11852 PyObject * obj0 = 0 ;
11853 char *kwnames[] = {
11854 (char *) "self", NULL
11855 };
11856
11857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11860 {
11861 PyThreadState* __tstate = wxPyBeginAllowThreads();
11862 result = (wxEvtHandler *)(arg1)->GetPreviousHandler();
11863
11864 wxPyEndAllowThreads(__tstate);
11865 if (PyErr_Occurred()) SWIG_fail;
11866 }
11867 {
11868 resultobj = wxPyMake_wxObject(result);
11869 }
11870 return resultobj;
11871 fail:
11872 return NULL;
11873}
11874
11875
11876static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11877 PyObject *resultobj;
11878 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11879 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11880 PyObject * obj0 = 0 ;
11881 PyObject * obj1 = 0 ;
11882 char *kwnames[] = {
11883 (char *) "self",(char *) "handler", NULL
11884 };
11885
11886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11889 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
11890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11891 {
11892 PyThreadState* __tstate = wxPyBeginAllowThreads();
11893 (arg1)->SetNextHandler(arg2);
11894
11895 wxPyEndAllowThreads(__tstate);
11896 if (PyErr_Occurred()) SWIG_fail;
11897 }
11898 Py_INCREF(Py_None); resultobj = Py_None;
11899 return resultobj;
11900 fail:
11901 return NULL;
11902}
11903
11904
11905static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11906 PyObject *resultobj;
11907 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11908 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11909 PyObject * obj0 = 0 ;
11910 PyObject * obj1 = 0 ;
11911 char *kwnames[] = {
11912 (char *) "self",(char *) "handler", NULL
11913 };
11914
11915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11918 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
11919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11920 {
11921 PyThreadState* __tstate = wxPyBeginAllowThreads();
11922 (arg1)->SetPreviousHandler(arg2);
11923
11924 wxPyEndAllowThreads(__tstate);
11925 if (PyErr_Occurred()) SWIG_fail;
11926 }
11927 Py_INCREF(Py_None); resultobj = Py_None;
11928 return resultobj;
11929 fail:
11930 return NULL;
11931}
11932
11933
11934static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11935 PyObject *resultobj;
11936 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11937 bool result;
11938 PyObject * obj0 = 0 ;
11939 char *kwnames[] = {
11940 (char *) "self", NULL
11941 };
11942
11943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11946 {
11947 PyThreadState* __tstate = wxPyBeginAllowThreads();
11948 result = (bool)(arg1)->GetEvtHandlerEnabled();
11949
11950 wxPyEndAllowThreads(__tstate);
11951 if (PyErr_Occurred()) SWIG_fail;
11952 }
4f89f6a3
RD
11953 {
11954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11955 }
d14a1e28
RD
11956 return resultobj;
11957 fail:
11958 return NULL;
11959}
11960
11961
11962static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11963 PyObject *resultobj;
11964 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11965 bool arg2 ;
11966 PyObject * obj0 = 0 ;
11967 PyObject * obj1 = 0 ;
11968 char *kwnames[] = {
11969 (char *) "self",(char *) "enabled", NULL
11970 };
11971
11972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11975 arg2 = (bool) SWIG_AsBool(obj1);
11976 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11977 {
11978 PyThreadState* __tstate = wxPyBeginAllowThreads();
11979 (arg1)->SetEvtHandlerEnabled(arg2);
11980
11981 wxPyEndAllowThreads(__tstate);
11982 if (PyErr_Occurred()) SWIG_fail;
11983 }
11984 Py_INCREF(Py_None); resultobj = Py_None;
11985 return resultobj;
11986 fail:
11987 return NULL;
11988}
11989
11990
11991static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11992 PyObject *resultobj;
11993 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11994 wxEvent *arg2 = 0 ;
11995 bool result;
11996 PyObject * obj0 = 0 ;
11997 PyObject * obj1 = 0 ;
11998 char *kwnames[] = {
11999 (char *) "self",(char *) "event", NULL
12000 };
12001
12002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12005 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
12006 SWIG_POINTER_EXCEPTION | 0)) == -1)
12007 SWIG_fail;
d14a1e28 12008 if (arg2 == NULL) {
2f4c0a16
RD
12009 PyErr_SetString(PyExc_TypeError,"null reference");
12010 SWIG_fail;
d14a1e28
RD
12011 }
12012 {
12013 PyThreadState* __tstate = wxPyBeginAllowThreads();
12014 result = (bool)(arg1)->ProcessEvent(*arg2);
12015
12016 wxPyEndAllowThreads(__tstate);
12017 if (PyErr_Occurred()) SWIG_fail;
12018 }
4f89f6a3
RD
12019 {
12020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12021 }
d14a1e28
RD
12022 return resultobj;
12023 fail:
12024 return NULL;
12025}
12026
12027
12028static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12029 PyObject *resultobj;
12030 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12031 wxEvent *arg2 = 0 ;
12032 PyObject * obj0 = 0 ;
12033 PyObject * obj1 = 0 ;
12034 char *kwnames[] = {
12035 (char *) "self",(char *) "event", NULL
12036 };
12037
12038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12041 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
12042 SWIG_POINTER_EXCEPTION | 0)) == -1)
12043 SWIG_fail;
d14a1e28 12044 if (arg2 == NULL) {
2f4c0a16
RD
12045 PyErr_SetString(PyExc_TypeError,"null reference");
12046 SWIG_fail;
d14a1e28
RD
12047 }
12048 {
12049 PyThreadState* __tstate = wxPyBeginAllowThreads();
12050 (arg1)->AddPendingEvent(*arg2);
12051
12052 wxPyEndAllowThreads(__tstate);
12053 if (PyErr_Occurred()) SWIG_fail;
12054 }
12055 Py_INCREF(Py_None); resultobj = Py_None;
12056 return resultobj;
12057 fail:
12058 return NULL;
12059}
12060
12061
12062static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
12063 PyObject *resultobj;
12064 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12065 PyObject * obj0 = 0 ;
12066 char *kwnames[] = {
12067 (char *) "self", NULL
12068 };
12069
12070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12073 {
12074 PyThreadState* __tstate = wxPyBeginAllowThreads();
12075 (arg1)->ProcessPendingEvents();
12076
12077 wxPyEndAllowThreads(__tstate);
12078 if (PyErr_Occurred()) SWIG_fail;
12079 }
12080 Py_INCREF(Py_None); resultobj = Py_None;
12081 return resultobj;
12082 fail:
12083 return NULL;
12084}
12085
12086
12087static PyObject *_wrap_EvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
12088 PyObject *resultobj;
12089 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12090 int arg2 ;
12091 int arg3 ;
12092 int arg4 ;
12093 PyObject *arg5 = (PyObject *) 0 ;
12094 PyObject * obj0 = 0 ;
8edf1c75
RD
12095 PyObject * obj1 = 0 ;
12096 PyObject * obj2 = 0 ;
12097 PyObject * obj3 = 0 ;
d14a1e28
RD
12098 PyObject * obj4 = 0 ;
12099 char *kwnames[] = {
12100 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12101 };
12102
8edf1c75 12103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:EvtHandler_Connect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
12104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12106 arg2 = (int) SWIG_AsInt(obj1);
12107 if (PyErr_Occurred()) SWIG_fail;
12108 arg3 = (int) SWIG_AsInt(obj2);
12109 if (PyErr_Occurred()) SWIG_fail;
12110 arg4 = (int) SWIG_AsInt(obj3);
12111 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12112 arg5 = obj4;
12113 {
12114 PyThreadState* __tstate = wxPyBeginAllowThreads();
12115 wxEvtHandler_Connect(arg1,arg2,arg3,arg4,arg5);
12116
12117 wxPyEndAllowThreads(__tstate);
12118 if (PyErr_Occurred()) SWIG_fail;
12119 }
12120 Py_INCREF(Py_None); resultobj = Py_None;
12121 return resultobj;
12122 fail:
12123 return NULL;
12124}
12125
12126
12127static PyObject *_wrap_EvtHandler_Disconnect(PyObject *self, PyObject *args, PyObject *kwargs) {
12128 PyObject *resultobj;
12129 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12130 int arg2 ;
12131 int arg3 = (int) -1 ;
12132 wxEventType arg4 = (wxEventType) wxEVT_NULL ;
12133 bool result;
12134 PyObject * obj0 = 0 ;
8edf1c75
RD
12135 PyObject * obj1 = 0 ;
12136 PyObject * obj2 = 0 ;
12137 PyObject * obj3 = 0 ;
d14a1e28
RD
12138 char *kwnames[] = {
12139 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12140 };
12141
8edf1c75 12142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:EvtHandler_Disconnect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
12143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12145 arg2 = (int) SWIG_AsInt(obj1);
12146 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12147 if (obj2) {
2f4c0a16
RD
12148 arg3 = (int) SWIG_AsInt(obj2);
12149 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12150 }
12151 if (obj3) {
2f4c0a16
RD
12152 arg4 = (wxEventType) SWIG_AsInt(obj3);
12153 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12154 }
d14a1e28
RD
12155 {
12156 PyThreadState* __tstate = wxPyBeginAllowThreads();
12157 result = (bool)wxEvtHandler_Disconnect(arg1,arg2,arg3,arg4);
12158
12159 wxPyEndAllowThreads(__tstate);
12160 if (PyErr_Occurred()) SWIG_fail;
12161 }
4f89f6a3
RD
12162 {
12163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12164 }
d14a1e28
RD
12165 return resultobj;
12166 fail:
12167 return NULL;
12168}
12169
12170
12171static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12172 PyObject *resultobj;
12173 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12174 PyObject *arg2 = (PyObject *) 0 ;
12175 PyObject * obj0 = 0 ;
12176 PyObject * obj1 = 0 ;
12177 char *kwnames[] = {
12178 (char *) "self",(char *) "_self", NULL
12179 };
12180
12181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12184 arg2 = obj1;
12185 {
12186 PyThreadState* __tstate = wxPyBeginAllowThreads();
12187 wxEvtHandler__setOORInfo(arg1,arg2);
12188
12189 wxPyEndAllowThreads(__tstate);
12190 if (PyErr_Occurred()) SWIG_fail;
12191 }
12192 Py_INCREF(Py_None); resultobj = Py_None;
12193 return resultobj;
12194 fail:
12195 return NULL;
12196}
12197
12198
12199static PyObject * EvtHandler_swigregister(PyObject *self, PyObject *args) {
12200 PyObject *obj;
12201 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12202 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj);
12203 Py_INCREF(obj);
12204 return Py_BuildValue((char *)"");
12205}
12206static PyObject *_wrap_NewEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12207 PyObject *resultobj;
12208 wxEventType result;
12209 char *kwnames[] = {
12210 NULL
12211 };
12212
12213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail;
12214 {
12215 PyThreadState* __tstate = wxPyBeginAllowThreads();
12216 result = (wxEventType)wxNewEventType();
12217
12218 wxPyEndAllowThreads(__tstate);
12219 if (PyErr_Occurred()) SWIG_fail;
12220 }
2f4c0a16 12221 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12222 return resultobj;
12223 fail:
12224 return NULL;
12225}
12226
12227
12228static PyObject *_wrap_delete_Event(PyObject *self, PyObject *args, PyObject *kwargs) {
12229 PyObject *resultobj;
12230 wxEvent *arg1 = (wxEvent *) 0 ;
12231 PyObject * obj0 = 0 ;
12232 char *kwnames[] = {
12233 (char *) "self", NULL
12234 };
12235
12236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail;
2f4c0a16
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 delete arg1;
12242
12243 wxPyEndAllowThreads(__tstate);
12244 if (PyErr_Occurred()) SWIG_fail;
12245 }
12246 Py_INCREF(Py_None); resultobj = Py_None;
12247 return resultobj;
12248 fail:
12249 return NULL;
12250}
12251
12252
12253static PyObject *_wrap_Event_SetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12254 PyObject *resultobj;
12255 wxEvent *arg1 = (wxEvent *) 0 ;
12256 wxEventType arg2 ;
12257 PyObject * obj0 = 0 ;
8edf1c75 12258 PyObject * obj1 = 0 ;
d14a1e28
RD
12259 char *kwnames[] = {
12260 (char *) "self",(char *) "typ", NULL
12261 };
12262
8edf1c75 12263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventType",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12266 arg2 = (wxEventType) SWIG_AsInt(obj1);
12267 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12268 {
12269 PyThreadState* __tstate = wxPyBeginAllowThreads();
12270 (arg1)->SetEventType(arg2);
12271
12272 wxPyEndAllowThreads(__tstate);
12273 if (PyErr_Occurred()) SWIG_fail;
12274 }
12275 Py_INCREF(Py_None); resultobj = Py_None;
12276 return resultobj;
12277 fail:
12278 return NULL;
12279}
12280
12281
12282static PyObject *_wrap_Event_GetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12283 PyObject *resultobj;
12284 wxEvent *arg1 = (wxEvent *) 0 ;
12285 wxEventType result;
12286 PyObject * obj0 = 0 ;
12287 char *kwnames[] = {
12288 (char *) "self", NULL
12289 };
12290
12291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12294 {
12295 PyThreadState* __tstate = wxPyBeginAllowThreads();
12296 result = (wxEventType)((wxEvent const *)arg1)->GetEventType();
12297
12298 wxPyEndAllowThreads(__tstate);
12299 if (PyErr_Occurred()) SWIG_fail;
12300 }
2f4c0a16 12301 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12302 return resultobj;
12303 fail:
12304 return NULL;
12305}
12306
12307
12308static PyObject *_wrap_Event_GetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
12309 PyObject *resultobj;
12310 wxEvent *arg1 = (wxEvent *) 0 ;
12311 wxObject *result;
12312 PyObject * obj0 = 0 ;
12313 char *kwnames[] = {
12314 (char *) "self", NULL
12315 };
12316
12317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12320 {
12321 PyThreadState* __tstate = wxPyBeginAllowThreads();
12322 result = (wxObject *)((wxEvent const *)arg1)->GetEventObject();
12323
12324 wxPyEndAllowThreads(__tstate);
12325 if (PyErr_Occurred()) SWIG_fail;
12326 }
12327 {
12328 resultobj = wxPyMake_wxObject(result);
12329 }
12330 return resultobj;
12331 fail:
12332 return NULL;
12333}
12334
12335
12336static PyObject *_wrap_Event_SetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
12337 PyObject *resultobj;
12338 wxEvent *arg1 = (wxEvent *) 0 ;
12339 wxObject *arg2 = (wxObject *) 0 ;
12340 PyObject * obj0 = 0 ;
12341 PyObject * obj1 = 0 ;
12342 char *kwnames[] = {
12343 (char *) "self",(char *) "obj", NULL
12344 };
12345
12346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12349 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
12350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12351 {
12352 PyThreadState* __tstate = wxPyBeginAllowThreads();
12353 (arg1)->SetEventObject(arg2);
12354
12355 wxPyEndAllowThreads(__tstate);
12356 if (PyErr_Occurred()) SWIG_fail;
12357 }
12358 Py_INCREF(Py_None); resultobj = Py_None;
12359 return resultobj;
12360 fail:
12361 return NULL;
12362}
12363
12364
12365static PyObject *_wrap_Event_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
12366 PyObject *resultobj;
12367 wxEvent *arg1 = (wxEvent *) 0 ;
12368 long result;
12369 PyObject * obj0 = 0 ;
12370 char *kwnames[] = {
12371 (char *) "self", NULL
12372 };
12373
12374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12377 {
12378 PyThreadState* __tstate = wxPyBeginAllowThreads();
12379 result = (long)((wxEvent const *)arg1)->GetTimestamp();
12380
12381 wxPyEndAllowThreads(__tstate);
12382 if (PyErr_Occurred()) SWIG_fail;
12383 }
2f4c0a16 12384 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
12385 return resultobj;
12386 fail:
12387 return NULL;
12388}
12389
12390
12391static PyObject *_wrap_Event_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
12392 PyObject *resultobj;
12393 wxEvent *arg1 = (wxEvent *) 0 ;
12394 long arg2 = (long) 0 ;
12395 PyObject * obj0 = 0 ;
8edf1c75 12396 PyObject * obj1 = 0 ;
d14a1e28
RD
12397 char *kwnames[] = {
12398 (char *) "self",(char *) "ts", NULL
12399 };
12400
8edf1c75 12401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_SetTimestamp",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 12404 if (obj1) {
2f4c0a16
RD
12405 arg2 = (long) SWIG_AsLong(obj1);
12406 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12407 }
d14a1e28
RD
12408 {
12409 PyThreadState* __tstate = wxPyBeginAllowThreads();
12410 (arg1)->SetTimestamp(arg2);
12411
12412 wxPyEndAllowThreads(__tstate);
12413 if (PyErr_Occurred()) SWIG_fail;
12414 }
12415 Py_INCREF(Py_None); resultobj = Py_None;
12416 return resultobj;
12417 fail:
12418 return NULL;
12419}
12420
12421
12422static PyObject *_wrap_Event_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12423 PyObject *resultobj;
12424 wxEvent *arg1 = (wxEvent *) 0 ;
12425 int result;
12426 PyObject * obj0 = 0 ;
12427 char *kwnames[] = {
12428 (char *) "self", NULL
12429 };
12430
12431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12434 {
12435 PyThreadState* __tstate = wxPyBeginAllowThreads();
12436 result = (int)((wxEvent const *)arg1)->GetId();
12437
12438 wxPyEndAllowThreads(__tstate);
12439 if (PyErr_Occurred()) SWIG_fail;
12440 }
2f4c0a16 12441 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12442 return resultobj;
12443 fail:
12444 return NULL;
12445}
12446
12447
12448static PyObject *_wrap_Event_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12449 PyObject *resultobj;
12450 wxEvent *arg1 = (wxEvent *) 0 ;
12451 int arg2 ;
12452 PyObject * obj0 = 0 ;
8edf1c75 12453 PyObject * obj1 = 0 ;
d14a1e28
RD
12454 char *kwnames[] = {
12455 (char *) "self",(char *) "Id", NULL
12456 };
12457
8edf1c75 12458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12461 arg2 = (int) SWIG_AsInt(obj1);
12462 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12463 {
12464 PyThreadState* __tstate = wxPyBeginAllowThreads();
12465 (arg1)->SetId(arg2);
12466
12467 wxPyEndAllowThreads(__tstate);
12468 if (PyErr_Occurred()) SWIG_fail;
12469 }
12470 Py_INCREF(Py_None); resultobj = Py_None;
12471 return resultobj;
12472 fail:
12473 return NULL;
12474}
12475
12476
12477static PyObject *_wrap_Event_IsCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12478 PyObject *resultobj;
12479 wxEvent *arg1 = (wxEvent *) 0 ;
12480 bool result;
12481 PyObject * obj0 = 0 ;
12482 char *kwnames[] = {
12483 (char *) "self", NULL
12484 };
12485
12486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_IsCommandEvent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12489 {
12490 PyThreadState* __tstate = wxPyBeginAllowThreads();
12491 result = (bool)((wxEvent const *)arg1)->IsCommandEvent();
12492
12493 wxPyEndAllowThreads(__tstate);
12494 if (PyErr_Occurred()) SWIG_fail;
12495 }
4f89f6a3
RD
12496 {
12497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12498 }
d14a1e28
RD
12499 return resultobj;
12500 fail:
12501 return NULL;
12502}
12503
12504
12505static PyObject *_wrap_Event_Skip(PyObject *self, PyObject *args, PyObject *kwargs) {
12506 PyObject *resultobj;
12507 wxEvent *arg1 = (wxEvent *) 0 ;
423f194a 12508 bool arg2 = (bool) True ;
d14a1e28
RD
12509 PyObject * obj0 = 0 ;
12510 PyObject * obj1 = 0 ;
12511 char *kwnames[] = {
12512 (char *) "self",(char *) "skip", NULL
12513 };
12514
12515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 12518 if (obj1) {
2f4c0a16
RD
12519 arg2 = (bool) SWIG_AsBool(obj1);
12520 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12521 }
12522 {
12523 PyThreadState* __tstate = wxPyBeginAllowThreads();
12524 (arg1)->Skip(arg2);
12525
12526 wxPyEndAllowThreads(__tstate);
12527 if (PyErr_Occurred()) SWIG_fail;
12528 }
12529 Py_INCREF(Py_None); resultobj = Py_None;
12530 return resultobj;
12531 fail:
12532 return NULL;
12533}
12534
12535
12536static PyObject *_wrap_Event_GetSkipped(PyObject *self, PyObject *args, PyObject *kwargs) {
12537 PyObject *resultobj;
12538 wxEvent *arg1 = (wxEvent *) 0 ;
12539 bool result;
12540 PyObject * obj0 = 0 ;
12541 char *kwnames[] = {
12542 (char *) "self", NULL
12543 };
12544
12545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12548 {
12549 PyThreadState* __tstate = wxPyBeginAllowThreads();
12550 result = (bool)((wxEvent const *)arg1)->GetSkipped();
12551
12552 wxPyEndAllowThreads(__tstate);
12553 if (PyErr_Occurred()) SWIG_fail;
12554 }
4f89f6a3
RD
12555 {
12556 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12557 }
d14a1e28
RD
12558 return resultobj;
12559 fail:
12560 return NULL;
12561}
12562
12563
12564static PyObject *_wrap_Event_ShouldPropagate(PyObject *self, PyObject *args, PyObject *kwargs) {
12565 PyObject *resultobj;
12566 wxEvent *arg1 = (wxEvent *) 0 ;
12567 bool result;
12568 PyObject * obj0 = 0 ;
12569 char *kwnames[] = {
12570 (char *) "self", NULL
12571 };
12572
12573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_ShouldPropagate",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12576 {
12577 PyThreadState* __tstate = wxPyBeginAllowThreads();
12578 result = (bool)((wxEvent const *)arg1)->ShouldPropagate();
12579
12580 wxPyEndAllowThreads(__tstate);
12581 if (PyErr_Occurred()) SWIG_fail;
12582 }
4f89f6a3
RD
12583 {
12584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12585 }
d14a1e28
RD
12586 return resultobj;
12587 fail:
12588 return NULL;
12589}
12590
12591
12592static PyObject *_wrap_Event_StopPropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
12593 PyObject *resultobj;
12594 wxEvent *arg1 = (wxEvent *) 0 ;
12595 int result;
12596 PyObject * obj0 = 0 ;
12597 char *kwnames[] = {
12598 (char *) "self", NULL
12599 };
12600
12601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12604 {
12605 PyThreadState* __tstate = wxPyBeginAllowThreads();
12606 result = (int)(arg1)->StopPropagation();
12607
12608 wxPyEndAllowThreads(__tstate);
12609 if (PyErr_Occurred()) SWIG_fail;
12610 }
2f4c0a16 12611 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12612 return resultobj;
12613 fail:
12614 return NULL;
12615}
12616
12617
12618static PyObject *_wrap_Event_ResumePropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
12619 PyObject *resultobj;
12620 wxEvent *arg1 = (wxEvent *) 0 ;
12621 int arg2 ;
12622 PyObject * obj0 = 0 ;
8edf1c75 12623 PyObject * obj1 = 0 ;
d14a1e28
RD
12624 char *kwnames[] = {
12625 (char *) "self",(char *) "propagationLevel", NULL
12626 };
12627
8edf1c75 12628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_ResumePropagation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12631 arg2 = (int) SWIG_AsInt(obj1);
12632 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12633 {
12634 PyThreadState* __tstate = wxPyBeginAllowThreads();
12635 (arg1)->ResumePropagation(arg2);
12636
12637 wxPyEndAllowThreads(__tstate);
12638 if (PyErr_Occurred()) SWIG_fail;
12639 }
12640 Py_INCREF(Py_None); resultobj = Py_None;
12641 return resultobj;
12642 fail:
12643 return NULL;
12644}
12645
12646
12647static PyObject *_wrap_Event_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
12648 PyObject *resultobj;
12649 wxEvent *arg1 = (wxEvent *) 0 ;
12650 wxEvent *result;
12651 PyObject * obj0 = 0 ;
12652 char *kwnames[] = {
12653 (char *) "self", NULL
12654 };
12655
12656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12659 {
12660 PyThreadState* __tstate = wxPyBeginAllowThreads();
12661 result = (wxEvent *)(arg1)->Clone();
12662
12663 wxPyEndAllowThreads(__tstate);
12664 if (PyErr_Occurred()) SWIG_fail;
12665 }
2f4c0a16 12666 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
d14a1e28
RD
12667 return resultobj;
12668 fail:
12669 return NULL;
12670}
12671
12672
12673static PyObject * Event_swigregister(PyObject *self, PyObject *args) {
12674 PyObject *obj;
12675 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12676 SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj);
12677 Py_INCREF(obj);
12678 return Py_BuildValue((char *)"");
12679}
12680static PyObject *_wrap_new_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
12681 PyObject *resultobj;
12682 wxEvent *arg1 = 0 ;
12683 wxPropagationDisabler *result;
12684 PyObject * obj0 = 0 ;
12685 char *kwnames[] = {
12686 (char *) "event", NULL
12687 };
12688
12689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12691 SWIG_POINTER_EXCEPTION | 0)) == -1)
12692 SWIG_fail;
d14a1e28 12693 if (arg1 == NULL) {
2f4c0a16
RD
12694 PyErr_SetString(PyExc_TypeError,"null reference");
12695 SWIG_fail;
d14a1e28
RD
12696 }
12697 {
12698 PyThreadState* __tstate = wxPyBeginAllowThreads();
12699 result = (wxPropagationDisabler *)new wxPropagationDisabler(*arg1);
12700
12701 wxPyEndAllowThreads(__tstate);
12702 if (PyErr_Occurred()) SWIG_fail;
12703 }
2f4c0a16 12704 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagationDisabler, 1);
d14a1e28
RD
12705 return resultobj;
12706 fail:
12707 return NULL;
12708}
12709
12710
12711static PyObject *_wrap_delete_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
12712 PyObject *resultobj;
12713 wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
12714 PyObject * obj0 = 0 ;
12715 char *kwnames[] = {
12716 (char *) "self", NULL
12717 };
12718
12719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagationDisabler,
12721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12722 {
12723 PyThreadState* __tstate = wxPyBeginAllowThreads();
12724 delete arg1;
12725
12726 wxPyEndAllowThreads(__tstate);
12727 if (PyErr_Occurred()) SWIG_fail;
12728 }
12729 Py_INCREF(Py_None); resultobj = Py_None;
12730 return resultobj;
12731 fail:
12732 return NULL;
12733}
12734
12735
12736static PyObject * PropagationDisabler_swigregister(PyObject *self, PyObject *args) {
12737 PyObject *obj;
12738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12739 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj);
12740 Py_INCREF(obj);
12741 return Py_BuildValue((char *)"");
12742}
12743static PyObject *_wrap_new_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
12744 PyObject *resultobj;
12745 wxEvent *arg1 = 0 ;
12746 wxPropagateOnce *result;
12747 PyObject * obj0 = 0 ;
12748 char *kwnames[] = {
12749 (char *) "event", NULL
12750 };
12751
12752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12754 SWIG_POINTER_EXCEPTION | 0)) == -1)
12755 SWIG_fail;
d14a1e28 12756 if (arg1 == NULL) {
2f4c0a16
RD
12757 PyErr_SetString(PyExc_TypeError,"null reference");
12758 SWIG_fail;
d14a1e28
RD
12759 }
12760 {
12761 PyThreadState* __tstate = wxPyBeginAllowThreads();
12762 result = (wxPropagateOnce *)new wxPropagateOnce(*arg1);
12763
12764 wxPyEndAllowThreads(__tstate);
12765 if (PyErr_Occurred()) SWIG_fail;
12766 }
2f4c0a16 12767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagateOnce, 1);
d14a1e28
RD
12768 return resultobj;
12769 fail:
12770 return NULL;
12771}
12772
12773
12774static PyObject *_wrap_delete_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
12775 PyObject *resultobj;
12776 wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
12777 PyObject * obj0 = 0 ;
12778 char *kwnames[] = {
12779 (char *) "self", NULL
12780 };
12781
12782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagateOnce,
12784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12785 {
12786 PyThreadState* __tstate = wxPyBeginAllowThreads();
12787 delete arg1;
12788
12789 wxPyEndAllowThreads(__tstate);
12790 if (PyErr_Occurred()) SWIG_fail;
12791 }
12792 Py_INCREF(Py_None); resultobj = Py_None;
12793 return resultobj;
12794 fail:
12795 return NULL;
12796}
12797
12798
12799static PyObject * PropagateOnce_swigregister(PyObject *self, PyObject *args) {
12800 PyObject *obj;
12801 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12802 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj);
12803 Py_INCREF(obj);
12804 return Py_BuildValue((char *)"");
12805}
12806static PyObject *_wrap_new_CommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12807 PyObject *resultobj;
12808 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12809 int arg2 = (int) 0 ;
12810 wxCommandEvent *result;
8edf1c75
RD
12811 PyObject * obj0 = 0 ;
12812 PyObject * obj1 = 0 ;
d14a1e28
RD
12813 char *kwnames[] = {
12814 (char *) "commandType",(char *) "winid", NULL
12815 };
12816
8edf1c75
RD
12817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CommandEvent",kwnames,&obj0,&obj1)) goto fail;
12818 if (obj0) {
2f4c0a16
RD
12819 arg1 = (wxEventType) SWIG_AsInt(obj0);
12820 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12821 }
12822 if (obj1) {
2f4c0a16
RD
12823 arg2 = (int) SWIG_AsInt(obj1);
12824 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12825 }
d14a1e28
RD
12826 {
12827 PyThreadState* __tstate = wxPyBeginAllowThreads();
12828 result = (wxCommandEvent *)new wxCommandEvent(arg1,arg2);
12829
12830 wxPyEndAllowThreads(__tstate);
12831 if (PyErr_Occurred()) SWIG_fail;
12832 }
2f4c0a16 12833 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCommandEvent, 1);
d14a1e28
RD
12834 return resultobj;
12835 fail:
12836 return NULL;
12837}
12838
12839
12840static PyObject *_wrap_CommandEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12841 PyObject *resultobj;
12842 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12843 int result;
12844 PyObject * obj0 = 0 ;
12845 char *kwnames[] = {
12846 (char *) "self", NULL
12847 };
12848
12849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12852 {
12853 PyThreadState* __tstate = wxPyBeginAllowThreads();
12854 result = (int)((wxCommandEvent const *)arg1)->GetSelection();
12855
12856 wxPyEndAllowThreads(__tstate);
12857 if (PyErr_Occurred()) SWIG_fail;
12858 }
2f4c0a16 12859 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12860 return resultobj;
12861 fail:
12862 return NULL;
12863}
12864
12865
12866static PyObject *_wrap_CommandEvent_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12867 PyObject *resultobj;
12868 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12869 wxString *arg2 = 0 ;
423f194a 12870 bool temp2 = False ;
d14a1e28
RD
12871 PyObject * obj0 = 0 ;
12872 PyObject * obj1 = 0 ;
12873 char *kwnames[] = {
12874 (char *) "self",(char *) "s", NULL
12875 };
12876
12877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12880 {
12881 arg2 = wxString_in_helper(obj1);
12882 if (arg2 == NULL) SWIG_fail;
423f194a 12883 temp2 = True;
d14a1e28
RD
12884 }
12885 {
12886 PyThreadState* __tstate = wxPyBeginAllowThreads();
12887 (arg1)->SetString((wxString const &)*arg2);
12888
12889 wxPyEndAllowThreads(__tstate);
12890 if (PyErr_Occurred()) SWIG_fail;
12891 }
12892 Py_INCREF(Py_None); resultobj = Py_None;
12893 {
12894 if (temp2)
12895 delete arg2;
12896 }
12897 return resultobj;
12898 fail:
12899 {
12900 if (temp2)
12901 delete arg2;
12902 }
12903 return NULL;
12904}
12905
12906
12907static PyObject *_wrap_CommandEvent_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12908 PyObject *resultobj;
12909 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12910 wxString result;
12911 PyObject * obj0 = 0 ;
12912 char *kwnames[] = {
12913 (char *) "self", NULL
12914 };
12915
12916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12919 {
12920 PyThreadState* __tstate = wxPyBeginAllowThreads();
12921 result = ((wxCommandEvent const *)arg1)->GetString();
12922
12923 wxPyEndAllowThreads(__tstate);
12924 if (PyErr_Occurred()) SWIG_fail;
12925 }
12926 {
12927#if wxUSE_UNICODE
12928 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12929#else
12930 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12931#endif
12932 }
12933 return resultobj;
12934 fail:
12935 return NULL;
12936}
12937
12938
12939static PyObject *_wrap_CommandEvent_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
12940 PyObject *resultobj;
12941 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12942 bool result;
12943 PyObject * obj0 = 0 ;
12944 char *kwnames[] = {
12945 (char *) "self", NULL
12946 };
12947
12948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsChecked",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12951 {
12952 PyThreadState* __tstate = wxPyBeginAllowThreads();
12953 result = (bool)((wxCommandEvent const *)arg1)->IsChecked();
12954
12955 wxPyEndAllowThreads(__tstate);
12956 if (PyErr_Occurred()) SWIG_fail;
12957 }
4f89f6a3
RD
12958 {
12959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12960 }
d14a1e28
RD
12961 return resultobj;
12962 fail:
12963 return NULL;
12964}
12965
12966
12967static PyObject *_wrap_CommandEvent_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12968 PyObject *resultobj;
12969 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12970 bool result;
12971 PyObject * obj0 = 0 ;
12972 char *kwnames[] = {
12973 (char *) "self", NULL
12974 };
12975
12976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12979 {
12980 PyThreadState* __tstate = wxPyBeginAllowThreads();
12981 result = (bool)((wxCommandEvent const *)arg1)->IsSelection();
12982
12983 wxPyEndAllowThreads(__tstate);
12984 if (PyErr_Occurred()) SWIG_fail;
12985 }
4f89f6a3
RD
12986 {
12987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12988 }
d14a1e28
RD
12989 return resultobj;
12990 fail:
12991 return NULL;
12992}
12993
12994
12995static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
12996 PyObject *resultobj;
12997 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12998 long arg2 ;
12999 PyObject * obj0 = 0 ;
8edf1c75 13000 PyObject * obj1 = 0 ;
d14a1e28
RD
13001 char *kwnames[] = {
13002 (char *) "self",(char *) "extraLong", NULL
13003 };
13004
8edf1c75 13005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetExtraLong",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13008 arg2 = (long) SWIG_AsLong(obj1);
13009 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13010 {
13011 PyThreadState* __tstate = wxPyBeginAllowThreads();
13012 (arg1)->SetExtraLong(arg2);
13013
13014 wxPyEndAllowThreads(__tstate);
13015 if (PyErr_Occurred()) SWIG_fail;
13016 }
13017 Py_INCREF(Py_None); resultobj = Py_None;
13018 return resultobj;
13019 fail:
13020 return NULL;
13021}
13022
13023
13024static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
13025 PyObject *resultobj;
13026 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13027 long result;
13028 PyObject * obj0 = 0 ;
13029 char *kwnames[] = {
13030 (char *) "self", NULL
13031 };
13032
13033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail;
2f4c0a16
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 = (long)((wxCommandEvent const *)arg1)->GetExtraLong();
13039
13040 wxPyEndAllowThreads(__tstate);
13041 if (PyErr_Occurred()) SWIG_fail;
13042 }
2f4c0a16 13043 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
13044 return resultobj;
13045 fail:
13046 return NULL;
13047}
13048
13049
13050static PyObject *_wrap_CommandEvent_SetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13051 PyObject *resultobj;
13052 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13053 int arg2 ;
13054 PyObject * obj0 = 0 ;
8edf1c75 13055 PyObject * obj1 = 0 ;
d14a1e28
RD
13056 char *kwnames[] = {
13057 (char *) "self",(char *) "i", NULL
13058 };
13059
8edf1c75 13060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetInt",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13063 arg2 = (int) SWIG_AsInt(obj1);
13064 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13065 {
13066 PyThreadState* __tstate = wxPyBeginAllowThreads();
13067 (arg1)->SetInt(arg2);
13068
13069 wxPyEndAllowThreads(__tstate);
13070 if (PyErr_Occurred()) SWIG_fail;
13071 }
13072 Py_INCREF(Py_None); resultobj = Py_None;
13073 return resultobj;
13074 fail:
13075 return NULL;
13076}
13077
13078
13079static PyObject *_wrap_CommandEvent_GetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13080 PyObject *resultobj;
13081 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13082 long result;
13083 PyObject * obj0 = 0 ;
13084 char *kwnames[] = {
13085 (char *) "self", NULL
13086 };
13087
13088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13091 {
13092 PyThreadState* __tstate = wxPyBeginAllowThreads();
13093 result = (long)((wxCommandEvent const *)arg1)->GetInt();
13094
13095 wxPyEndAllowThreads(__tstate);
13096 if (PyErr_Occurred()) SWIG_fail;
13097 }
2f4c0a16 13098 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
13099 return resultobj;
13100 fail:
13101 return NULL;
13102}
13103
13104
13105static PyObject *_wrap_CommandEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
13106 PyObject *resultobj;
13107 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13108 wxEvent *result;
13109 PyObject * obj0 = 0 ;
13110 char *kwnames[] = {
13111 (char *) "self", NULL
13112 };
13113
13114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13117 {
13118 PyThreadState* __tstate = wxPyBeginAllowThreads();
13119 result = (wxEvent *)((wxCommandEvent const *)arg1)->Clone();
13120
13121 wxPyEndAllowThreads(__tstate);
13122 if (PyErr_Occurred()) SWIG_fail;
13123 }
2f4c0a16 13124 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
d14a1e28
RD
13125 return resultobj;
13126 fail:
13127 return NULL;
13128}
13129
13130
13131static PyObject * CommandEvent_swigregister(PyObject *self, PyObject *args) {
13132 PyObject *obj;
13133 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13134 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj);
13135 Py_INCREF(obj);
13136 return Py_BuildValue((char *)"");
13137}
13138static PyObject *_wrap_new_NotifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13139 PyObject *resultobj;
13140 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13141 int arg2 = (int) 0 ;
13142 wxNotifyEvent *result;
8edf1c75
RD
13143 PyObject * obj0 = 0 ;
13144 PyObject * obj1 = 0 ;
d14a1e28
RD
13145 char *kwnames[] = {
13146 (char *) "commandType",(char *) "winid", NULL
13147 };
13148
8edf1c75
RD
13149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_NotifyEvent",kwnames,&obj0,&obj1)) goto fail;
13150 if (obj0) {
2f4c0a16
RD
13151 arg1 = (wxEventType) SWIG_AsInt(obj0);
13152 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13153 }
13154 if (obj1) {
2f4c0a16
RD
13155 arg2 = (int) SWIG_AsInt(obj1);
13156 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13157 }
d14a1e28
RD
13158 {
13159 PyThreadState* __tstate = wxPyBeginAllowThreads();
13160 result = (wxNotifyEvent *)new wxNotifyEvent(arg1,arg2);
13161
13162 wxPyEndAllowThreads(__tstate);
13163 if (PyErr_Occurred()) SWIG_fail;
13164 }
2f4c0a16 13165 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotifyEvent, 1);
d14a1e28
RD
13166 return resultobj;
13167 fail:
13168 return NULL;
13169}
13170
13171
13172static PyObject *_wrap_NotifyEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
13173 PyObject *resultobj;
13174 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13175 PyObject * obj0 = 0 ;
13176 char *kwnames[] = {
13177 (char *) "self", NULL
13178 };
13179
13180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13183 {
13184 PyThreadState* __tstate = wxPyBeginAllowThreads();
13185 (arg1)->Veto();
13186
13187 wxPyEndAllowThreads(__tstate);
13188 if (PyErr_Occurred()) SWIG_fail;
13189 }
13190 Py_INCREF(Py_None); resultobj = Py_None;
13191 return resultobj;
13192 fail:
13193 return NULL;
13194}
13195
13196
13197static PyObject *_wrap_NotifyEvent_Allow(PyObject *self, PyObject *args, PyObject *kwargs) {
13198 PyObject *resultobj;
13199 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13200 PyObject * obj0 = 0 ;
13201 char *kwnames[] = {
13202 (char *) "self", NULL
13203 };
13204
13205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13208 {
13209 PyThreadState* __tstate = wxPyBeginAllowThreads();
13210 (arg1)->Allow();
13211
13212 wxPyEndAllowThreads(__tstate);
13213 if (PyErr_Occurred()) SWIG_fail;
13214 }
13215 Py_INCREF(Py_None); resultobj = Py_None;
13216 return resultobj;
13217 fail:
13218 return NULL;
13219}
13220
13221
13222static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
13223 PyObject *resultobj;
13224 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13225 bool result;
13226 PyObject * obj0 = 0 ;
13227 char *kwnames[] = {
13228 (char *) "self", NULL
13229 };
13230
13231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13234 {
13235 PyThreadState* __tstate = wxPyBeginAllowThreads();
13236 result = (bool)(arg1)->IsAllowed();
13237
13238 wxPyEndAllowThreads(__tstate);
13239 if (PyErr_Occurred()) SWIG_fail;
13240 }
4f89f6a3
RD
13241 {
13242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13243 }
d14a1e28
RD
13244 return resultobj;
13245 fail:
13246 return NULL;
13247}
13248
13249
13250static PyObject * NotifyEvent_swigregister(PyObject *self, PyObject *args) {
13251 PyObject *obj;
13252 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13253 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj);
13254 Py_INCREF(obj);
13255 return Py_BuildValue((char *)"");
13256}
13257static PyObject *_wrap_new_ScrollEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13258 PyObject *resultobj;
13259 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13260 int arg2 = (int) 0 ;
13261 int arg3 = (int) 0 ;
13262 int arg4 = (int) 0 ;
13263 wxScrollEvent *result;
8edf1c75
RD
13264 PyObject * obj0 = 0 ;
13265 PyObject * obj1 = 0 ;
13266 PyObject * obj2 = 0 ;
13267 PyObject * obj3 = 0 ;
d14a1e28
RD
13268 char *kwnames[] = {
13269 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13270 };
13271
8edf1c75
RD
13272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ScrollEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13273 if (obj0) {
2f4c0a16
RD
13274 arg1 = (wxEventType) SWIG_AsInt(obj0);
13275 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13276 }
13277 if (obj1) {
2f4c0a16
RD
13278 arg2 = (int) SWIG_AsInt(obj1);
13279 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13280 }
13281 if (obj2) {
2f4c0a16
RD
13282 arg3 = (int) SWIG_AsInt(obj2);
13283 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13284 }
13285 if (obj3) {
2f4c0a16
RD
13286 arg4 = (int) SWIG_AsInt(obj3);
13287 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13288 }
d14a1e28
RD
13289 {
13290 PyThreadState* __tstate = wxPyBeginAllowThreads();
13291 result = (wxScrollEvent *)new wxScrollEvent(arg1,arg2,arg3,arg4);
13292
13293 wxPyEndAllowThreads(__tstate);
13294 if (PyErr_Occurred()) SWIG_fail;
13295 }
2f4c0a16 13296 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollEvent, 1);
d14a1e28
RD
13297 return resultobj;
13298 fail:
13299 return NULL;
13300}
13301
13302
13303static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13304 PyObject *resultobj;
13305 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13306 int result;
13307 PyObject * obj0 = 0 ;
13308 char *kwnames[] = {
13309 (char *) "self", NULL
13310 };
13311
13312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13315 {
13316 PyThreadState* __tstate = wxPyBeginAllowThreads();
13317 result = (int)((wxScrollEvent const *)arg1)->GetOrientation();
13318
13319 wxPyEndAllowThreads(__tstate);
13320 if (PyErr_Occurred()) SWIG_fail;
13321 }
2f4c0a16 13322 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13323 return resultobj;
13324 fail:
13325 return NULL;
13326}
13327
13328
13329static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13330 PyObject *resultobj;
13331 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13332 int result;
13333 PyObject * obj0 = 0 ;
13334 char *kwnames[] = {
13335 (char *) "self", NULL
13336 };
13337
13338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13341 {
13342 PyThreadState* __tstate = wxPyBeginAllowThreads();
13343 result = (int)((wxScrollEvent const *)arg1)->GetPosition();
13344
13345 wxPyEndAllowThreads(__tstate);
13346 if (PyErr_Occurred()) SWIG_fail;
13347 }
2f4c0a16 13348 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13349 return resultobj;
13350 fail:
13351 return NULL;
13352}
13353
13354
13355static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13356 PyObject *resultobj;
13357 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13358 int arg2 ;
13359 PyObject * obj0 = 0 ;
8edf1c75 13360 PyObject * obj1 = 0 ;
d14a1e28
RD
13361 char *kwnames[] = {
13362 (char *) "self",(char *) "orient", NULL
13363 };
13364
8edf1c75 13365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13368 arg2 = (int) SWIG_AsInt(obj1);
13369 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13370 {
13371 PyThreadState* __tstate = wxPyBeginAllowThreads();
13372 (arg1)->SetOrientation(arg2);
13373
13374 wxPyEndAllowThreads(__tstate);
13375 if (PyErr_Occurred()) SWIG_fail;
13376 }
13377 Py_INCREF(Py_None); resultobj = Py_None;
13378 return resultobj;
13379 fail:
13380 return NULL;
13381}
13382
13383
13384static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13385 PyObject *resultobj;
13386 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13387 int arg2 ;
13388 PyObject * obj0 = 0 ;
8edf1c75 13389 PyObject * obj1 = 0 ;
d14a1e28
RD
13390 char *kwnames[] = {
13391 (char *) "self",(char *) "pos", NULL
13392 };
13393
8edf1c75 13394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13397 arg2 = (int) SWIG_AsInt(obj1);
13398 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13399 {
13400 PyThreadState* __tstate = wxPyBeginAllowThreads();
13401 (arg1)->SetPosition(arg2);
13402
13403 wxPyEndAllowThreads(__tstate);
13404 if (PyErr_Occurred()) SWIG_fail;
13405 }
13406 Py_INCREF(Py_None); resultobj = Py_None;
13407 return resultobj;
13408 fail:
13409 return NULL;
13410}
13411
13412
13413static PyObject * ScrollEvent_swigregister(PyObject *self, PyObject *args) {
13414 PyObject *obj;
13415 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13416 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj);
13417 Py_INCREF(obj);
13418 return Py_BuildValue((char *)"");
13419}
13420static PyObject *_wrap_new_ScrollWinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13421 PyObject *resultobj;
13422 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13423 int arg2 = (int) 0 ;
13424 int arg3 = (int) 0 ;
13425 wxScrollWinEvent *result;
8edf1c75
RD
13426 PyObject * obj0 = 0 ;
13427 PyObject * obj1 = 0 ;
13428 PyObject * obj2 = 0 ;
d14a1e28
RD
13429 char *kwnames[] = {
13430 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13431 };
13432
8edf1c75
RD
13433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ScrollWinEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
13434 if (obj0) {
2f4c0a16
RD
13435 arg1 = (wxEventType) SWIG_AsInt(obj0);
13436 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13437 }
13438 if (obj1) {
2f4c0a16
RD
13439 arg2 = (int) SWIG_AsInt(obj1);
13440 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13441 }
13442 if (obj2) {
2f4c0a16
RD
13443 arg3 = (int) SWIG_AsInt(obj2);
13444 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13445 }
d14a1e28
RD
13446 {
13447 PyThreadState* __tstate = wxPyBeginAllowThreads();
13448 result = (wxScrollWinEvent *)new wxScrollWinEvent(arg1,arg2,arg3);
13449
13450 wxPyEndAllowThreads(__tstate);
13451 if (PyErr_Occurred()) SWIG_fail;
13452 }
2f4c0a16 13453 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollWinEvent, 1);
d14a1e28
RD
13454 return resultobj;
13455 fail:
13456 return NULL;
13457}
13458
13459
13460static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13461 PyObject *resultobj;
13462 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13463 int result;
13464 PyObject * obj0 = 0 ;
13465 char *kwnames[] = {
13466 (char *) "self", NULL
13467 };
13468
13469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13472 {
13473 PyThreadState* __tstate = wxPyBeginAllowThreads();
13474 result = (int)((wxScrollWinEvent const *)arg1)->GetOrientation();
13475
13476 wxPyEndAllowThreads(__tstate);
13477 if (PyErr_Occurred()) SWIG_fail;
13478 }
2f4c0a16 13479 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13480 return resultobj;
13481 fail:
13482 return NULL;
13483}
13484
13485
13486static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13487 PyObject *resultobj;
13488 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13489 int result;
13490 PyObject * obj0 = 0 ;
13491 char *kwnames[] = {
13492 (char *) "self", NULL
13493 };
13494
13495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13498 {
13499 PyThreadState* __tstate = wxPyBeginAllowThreads();
13500 result = (int)((wxScrollWinEvent const *)arg1)->GetPosition();
13501
13502 wxPyEndAllowThreads(__tstate);
13503 if (PyErr_Occurred()) SWIG_fail;
13504 }
2f4c0a16 13505 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13506 return resultobj;
13507 fail:
13508 return NULL;
13509}
13510
13511
13512static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13513 PyObject *resultobj;
13514 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13515 int arg2 ;
13516 PyObject * obj0 = 0 ;
8edf1c75 13517 PyObject * obj1 = 0 ;
d14a1e28
RD
13518 char *kwnames[] = {
13519 (char *) "self",(char *) "orient", NULL
13520 };
13521
8edf1c75 13522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13525 arg2 = (int) SWIG_AsInt(obj1);
13526 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13527 {
13528 PyThreadState* __tstate = wxPyBeginAllowThreads();
13529 (arg1)->SetOrientation(arg2);
13530
13531 wxPyEndAllowThreads(__tstate);
13532 if (PyErr_Occurred()) SWIG_fail;
13533 }
13534 Py_INCREF(Py_None); resultobj = Py_None;
13535 return resultobj;
13536 fail:
13537 return NULL;
13538}
13539
13540
13541static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13542 PyObject *resultobj;
13543 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13544 int arg2 ;
13545 PyObject * obj0 = 0 ;
8edf1c75 13546 PyObject * obj1 = 0 ;
d14a1e28
RD
13547 char *kwnames[] = {
13548 (char *) "self",(char *) "pos", NULL
13549 };
13550
8edf1c75 13551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13554 arg2 = (int) SWIG_AsInt(obj1);
13555 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13556 {
13557 PyThreadState* __tstate = wxPyBeginAllowThreads();
13558 (arg1)->SetPosition(arg2);
13559
13560 wxPyEndAllowThreads(__tstate);
13561 if (PyErr_Occurred()) SWIG_fail;
13562 }
13563 Py_INCREF(Py_None); resultobj = Py_None;
13564 return resultobj;
13565 fail:
13566 return NULL;
13567}
13568
13569
13570static PyObject * ScrollWinEvent_swigregister(PyObject *self, PyObject *args) {
13571 PyObject *obj;
13572 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13573 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj);
13574 Py_INCREF(obj);
13575 return Py_BuildValue((char *)"");
13576}
13577static PyObject *_wrap_new_MouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13578 PyObject *resultobj;
13579 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13580 wxMouseEvent *result;
8edf1c75 13581 PyObject * obj0 = 0 ;
d14a1e28
RD
13582 char *kwnames[] = {
13583 (char *) "mouseType", NULL
13584 };
13585
8edf1c75
RD
13586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MouseEvent",kwnames,&obj0)) goto fail;
13587 if (obj0) {
2f4c0a16
RD
13588 arg1 = (wxEventType) SWIG_AsInt(obj0);
13589 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13590 }
d14a1e28
RD
13591 {
13592 PyThreadState* __tstate = wxPyBeginAllowThreads();
13593 result = (wxMouseEvent *)new wxMouseEvent(arg1);
13594
13595 wxPyEndAllowThreads(__tstate);
13596 if (PyErr_Occurred()) SWIG_fail;
13597 }
13598 {
13599 resultobj = wxPyMake_wxObject(result);
13600 }
13601 return resultobj;
13602 fail:
13603 return NULL;
13604}
13605
13606
13607static PyObject *_wrap_MouseEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13608 PyObject *resultobj;
13609 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13610 bool result;
13611 PyObject * obj0 = 0 ;
13612 char *kwnames[] = {
13613 (char *) "self", NULL
13614 };
13615
13616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsButton",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13619 {
13620 PyThreadState* __tstate = wxPyBeginAllowThreads();
13621 result = (bool)((wxMouseEvent const *)arg1)->IsButton();
13622
13623 wxPyEndAllowThreads(__tstate);
13624 if (PyErr_Occurred()) SWIG_fail;
13625 }
4f89f6a3
RD
13626 {
13627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13628 }
d14a1e28
RD
13629 return resultobj;
13630 fail:
13631 return NULL;
13632}
13633
13634
13635static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13636 PyObject *resultobj;
13637 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13638 int arg2 = (int) wxMOUSE_BTN_ANY ;
13639 bool result;
13640 PyObject * obj0 = 0 ;
8edf1c75 13641 PyObject * obj1 = 0 ;
d14a1e28
RD
13642 char *kwnames[] = {
13643 (char *) "self",(char *) "but", NULL
13644 };
13645
8edf1c75 13646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 13649 if (obj1) {
2f4c0a16
RD
13650 arg2 = (int) SWIG_AsInt(obj1);
13651 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13652 }
d14a1e28
RD
13653 {
13654 PyThreadState* __tstate = wxPyBeginAllowThreads();
13655 result = (bool)((wxMouseEvent const *)arg1)->ButtonDown(arg2);
13656
13657 wxPyEndAllowThreads(__tstate);
13658 if (PyErr_Occurred()) SWIG_fail;
13659 }
4f89f6a3
RD
13660 {
13661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13662 }
d14a1e28
RD
13663 return resultobj;
13664 fail:
13665 return NULL;
13666}
13667
13668
13669static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13670 PyObject *resultobj;
13671 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13672 int arg2 = (int) wxMOUSE_BTN_ANY ;
13673 bool result;
13674 PyObject * obj0 = 0 ;
8edf1c75 13675 PyObject * obj1 = 0 ;
d14a1e28
RD
13676 char *kwnames[] = {
13677 (char *) "self",(char *) "but", NULL
13678 };
13679
8edf1c75 13680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDClick",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 13683 if (obj1) {
2f4c0a16
RD
13684 arg2 = (int) SWIG_AsInt(obj1);
13685 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13686 }
d14a1e28
RD
13687 {
13688 PyThreadState* __tstate = wxPyBeginAllowThreads();
13689 result = (bool)((wxMouseEvent const *)arg1)->ButtonDClick(arg2);
13690
13691 wxPyEndAllowThreads(__tstate);
13692 if (PyErr_Occurred()) SWIG_fail;
13693 }
4f89f6a3
RD
13694 {
13695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13696 }
d14a1e28
RD
13697 return resultobj;
13698 fail:
13699 return NULL;
13700}
13701
13702
13703static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
13704 PyObject *resultobj;
13705 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13706 int arg2 = (int) wxMOUSE_BTN_ANY ;
13707 bool result;
13708 PyObject * obj0 = 0 ;
8edf1c75 13709 PyObject * obj1 = 0 ;
d14a1e28
RD
13710 char *kwnames[] = {
13711 (char *) "self",(char *) "but", NULL
13712 };
13713
8edf1c75 13714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 13717 if (obj1) {
2f4c0a16
RD
13718 arg2 = (int) SWIG_AsInt(obj1);
13719 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13720 }
d14a1e28
RD
13721 {
13722 PyThreadState* __tstate = wxPyBeginAllowThreads();
13723 result = (bool)((wxMouseEvent const *)arg1)->ButtonUp(arg2);
13724
13725 wxPyEndAllowThreads(__tstate);
13726 if (PyErr_Occurred()) SWIG_fail;
13727 }
4f89f6a3
RD
13728 {
13729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13730 }
d14a1e28
RD
13731 return resultobj;
13732 fail:
13733 return NULL;
13734}
13735
13736
13737static PyObject *_wrap_MouseEvent_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
13738 PyObject *resultobj;
13739 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13740 int arg2 ;
13741 bool result;
13742 PyObject * obj0 = 0 ;
8edf1c75 13743 PyObject * obj1 = 0 ;
d14a1e28
RD
13744 char *kwnames[] = {
13745 (char *) "self",(char *) "but", NULL
13746 };
13747
8edf1c75 13748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_Button",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13751 arg2 = (int) SWIG_AsInt(obj1);
13752 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13753 {
13754 PyThreadState* __tstate = wxPyBeginAllowThreads();
13755 result = (bool)((wxMouseEvent const *)arg1)->Button(arg2);
13756
13757 wxPyEndAllowThreads(__tstate);
13758 if (PyErr_Occurred()) SWIG_fail;
13759 }
4f89f6a3
RD
13760 {
13761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13762 }
d14a1e28
RD
13763 return resultobj;
13764 fail:
13765 return NULL;
13766}
13767
13768
13769static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13770 PyObject *resultobj;
13771 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13772 int arg2 ;
13773 bool result;
13774 PyObject * obj0 = 0 ;
8edf1c75 13775 PyObject * obj1 = 0 ;
d14a1e28
RD
13776 char *kwnames[] = {
13777 (char *) "self",(char *) "but", NULL
13778 };
13779
8edf1c75 13780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13783 arg2 = (int) SWIG_AsInt(obj1);
13784 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13785 {
13786 PyThreadState* __tstate = wxPyBeginAllowThreads();
13787 result = (bool)((wxMouseEvent const *)arg1)->ButtonIsDown(arg2);
13788
13789 wxPyEndAllowThreads(__tstate);
13790 if (PyErr_Occurred()) SWIG_fail;
13791 }
4f89f6a3
RD
13792 {
13793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13794 }
d14a1e28
RD
13795 return resultobj;
13796 fail:
13797 return NULL;
13798}
13799
13800
13801static PyObject *_wrap_MouseEvent_GetButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13802 PyObject *resultobj;
13803 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13804 int result;
13805 PyObject * obj0 = 0 ;
13806 char *kwnames[] = {
13807 (char *) "self", NULL
13808 };
13809
13810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13813 {
13814 PyThreadState* __tstate = wxPyBeginAllowThreads();
13815 result = (int)((wxMouseEvent const *)arg1)->GetButton();
13816
13817 wxPyEndAllowThreads(__tstate);
13818 if (PyErr_Occurred()) SWIG_fail;
13819 }
2f4c0a16 13820 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13821 return resultobj;
13822 fail:
13823 return NULL;
13824}
13825
13826
13827static PyObject *_wrap_MouseEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13828 PyObject *resultobj;
13829 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13830 bool result;
13831 PyObject * obj0 = 0 ;
13832 char *kwnames[] = {
13833 (char *) "self", NULL
13834 };
13835
13836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13839 {
13840 PyThreadState* __tstate = wxPyBeginAllowThreads();
13841 result = (bool)((wxMouseEvent const *)arg1)->ControlDown();
13842
13843 wxPyEndAllowThreads(__tstate);
13844 if (PyErr_Occurred()) SWIG_fail;
13845 }
4f89f6a3
RD
13846 {
13847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13848 }
d14a1e28
RD
13849 return resultobj;
13850 fail:
13851 return NULL;
13852}
13853
13854
13855static PyObject *_wrap_MouseEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13856 PyObject *resultobj;
13857 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13858 bool result;
13859 PyObject * obj0 = 0 ;
13860 char *kwnames[] = {
13861 (char *) "self", NULL
13862 };
13863
13864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13867 {
13868 PyThreadState* __tstate = wxPyBeginAllowThreads();
13869 result = (bool)((wxMouseEvent const *)arg1)->MetaDown();
13870
13871 wxPyEndAllowThreads(__tstate);
13872 if (PyErr_Occurred()) SWIG_fail;
13873 }
4f89f6a3
RD
13874 {
13875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13876 }
d14a1e28
RD
13877 return resultobj;
13878 fail:
13879 return NULL;
13880}
13881
13882
13883static PyObject *_wrap_MouseEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13884 PyObject *resultobj;
13885 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13886 bool result;
13887 PyObject * obj0 = 0 ;
13888 char *kwnames[] = {
13889 (char *) "self", NULL
13890 };
13891
13892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_AltDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13895 {
13896 PyThreadState* __tstate = wxPyBeginAllowThreads();
13897 result = (bool)((wxMouseEvent const *)arg1)->AltDown();
13898
13899 wxPyEndAllowThreads(__tstate);
13900 if (PyErr_Occurred()) SWIG_fail;
13901 }
4f89f6a3
RD
13902 {
13903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13904 }
d14a1e28
RD
13905 return resultobj;
13906 fail:
13907 return NULL;
13908}
13909
13910
13911static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13912 PyObject *resultobj;
13913 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13914 bool result;
13915 PyObject * obj0 = 0 ;
13916 char *kwnames[] = {
13917 (char *) "self", NULL
13918 };
13919
13920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ShiftDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13923 {
13924 PyThreadState* __tstate = wxPyBeginAllowThreads();
13925 result = (bool)((wxMouseEvent const *)arg1)->ShiftDown();
13926
13927 wxPyEndAllowThreads(__tstate);
13928 if (PyErr_Occurred()) SWIG_fail;
13929 }
4f89f6a3
RD
13930 {
13931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13932 }
d14a1e28
RD
13933 return resultobj;
13934 fail:
13935 return NULL;
13936}
13937
13938
13939static PyObject *_wrap_MouseEvent_LeftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13940 PyObject *resultobj;
13941 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13942 bool result;
13943 PyObject * obj0 = 0 ;
13944 char *kwnames[] = {
13945 (char *) "self", NULL
13946 };
13947
13948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13951 {
13952 PyThreadState* __tstate = wxPyBeginAllowThreads();
13953 result = (bool)((wxMouseEvent const *)arg1)->LeftDown();
13954
13955 wxPyEndAllowThreads(__tstate);
13956 if (PyErr_Occurred()) SWIG_fail;
13957 }
4f89f6a3
RD
13958 {
13959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13960 }
d14a1e28
RD
13961 return resultobj;
13962 fail:
13963 return NULL;
13964}
13965
13966
13967static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13968 PyObject *resultobj;
13969 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13970 bool result;
13971 PyObject * obj0 = 0 ;
13972 char *kwnames[] = {
13973 (char *) "self", NULL
13974 };
13975
13976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13979 {
13980 PyThreadState* __tstate = wxPyBeginAllowThreads();
13981 result = (bool)((wxMouseEvent const *)arg1)->MiddleDown();
13982
13983 wxPyEndAllowThreads(__tstate);
13984 if (PyErr_Occurred()) SWIG_fail;
13985 }
4f89f6a3
RD
13986 {
13987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13988 }
d14a1e28
RD
13989 return resultobj;
13990 fail:
13991 return NULL;
13992}
13993
13994
13995static PyObject *_wrap_MouseEvent_RightDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13996 PyObject *resultobj;
13997 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13998 bool result;
13999 PyObject * obj0 = 0 ;
14000 char *kwnames[] = {
14001 (char *) "self", NULL
14002 };
14003
14004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14007 {
14008 PyThreadState* __tstate = wxPyBeginAllowThreads();
14009 result = (bool)((wxMouseEvent const *)arg1)->RightDown();
14010
14011 wxPyEndAllowThreads(__tstate);
14012 if (PyErr_Occurred()) SWIG_fail;
14013 }
4f89f6a3
RD
14014 {
14015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14016 }
d14a1e28
RD
14017 return resultobj;
14018 fail:
14019 return NULL;
14020}
14021
14022
14023static PyObject *_wrap_MouseEvent_LeftUp(PyObject *self, PyObject *args, PyObject *kwargs) {
14024 PyObject *resultobj;
14025 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14026 bool result;
14027 PyObject * obj0 = 0 ;
14028 char *kwnames[] = {
14029 (char *) "self", NULL
14030 };
14031
14032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftUp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14035 {
14036 PyThreadState* __tstate = wxPyBeginAllowThreads();
14037 result = (bool)((wxMouseEvent const *)arg1)->LeftUp();
14038
14039 wxPyEndAllowThreads(__tstate);
14040 if (PyErr_Occurred()) SWIG_fail;
14041 }
4f89f6a3
RD
14042 {
14043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14044 }
d14a1e28
RD
14045 return resultobj;
14046 fail:
14047 return NULL;
14048}
14049
14050
14051static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *self, PyObject *args, PyObject *kwargs) {
14052 PyObject *resultobj;
14053 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14054 bool result;
14055 PyObject * obj0 = 0 ;
14056 char *kwnames[] = {
14057 (char *) "self", NULL
14058 };
14059
14060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleUp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14063 {
14064 PyThreadState* __tstate = wxPyBeginAllowThreads();
14065 result = (bool)((wxMouseEvent const *)arg1)->MiddleUp();
14066
14067 wxPyEndAllowThreads(__tstate);
14068 if (PyErr_Occurred()) SWIG_fail;
14069 }
4f89f6a3
RD
14070 {
14071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14072 }
d14a1e28
RD
14073 return resultobj;
14074 fail:
14075 return NULL;
14076}
14077
14078
14079static PyObject *_wrap_MouseEvent_RightUp(PyObject *self, PyObject *args, PyObject *kwargs) {
14080 PyObject *resultobj;
14081 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14082 bool result;
14083 PyObject * obj0 = 0 ;
14084 char *kwnames[] = {
14085 (char *) "self", NULL
14086 };
14087
14088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightUp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14091 {
14092 PyThreadState* __tstate = wxPyBeginAllowThreads();
14093 result = (bool)((wxMouseEvent const *)arg1)->RightUp();
14094
14095 wxPyEndAllowThreads(__tstate);
14096 if (PyErr_Occurred()) SWIG_fail;
14097 }
4f89f6a3
RD
14098 {
14099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14100 }
d14a1e28
RD
14101 return resultobj;
14102 fail:
14103 return NULL;
14104}
14105
14106
14107static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14108 PyObject *resultobj;
14109 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14110 bool result;
14111 PyObject * obj0 = 0 ;
14112 char *kwnames[] = {
14113 (char *) "self", NULL
14114 };
14115
14116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDClick",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14119 {
14120 PyThreadState* __tstate = wxPyBeginAllowThreads();
14121 result = (bool)((wxMouseEvent const *)arg1)->LeftDClick();
14122
14123 wxPyEndAllowThreads(__tstate);
14124 if (PyErr_Occurred()) SWIG_fail;
14125 }
4f89f6a3
RD
14126 {
14127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14128 }
d14a1e28
RD
14129 return resultobj;
14130 fail:
14131 return NULL;
14132}
14133
14134
14135static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14136 PyObject *resultobj;
14137 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14138 bool result;
14139 PyObject * obj0 = 0 ;
14140 char *kwnames[] = {
14141 (char *) "self", NULL
14142 };
14143
14144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDClick",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14147 {
14148 PyThreadState* __tstate = wxPyBeginAllowThreads();
14149 result = (bool)((wxMouseEvent const *)arg1)->MiddleDClick();
14150
14151 wxPyEndAllowThreads(__tstate);
14152 if (PyErr_Occurred()) SWIG_fail;
14153 }
4f89f6a3
RD
14154 {
14155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14156 }
d14a1e28
RD
14157 return resultobj;
14158 fail:
14159 return NULL;
14160}
14161
14162
14163static PyObject *_wrap_MouseEvent_RightDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14164 PyObject *resultobj;
14165 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14166 bool result;
14167 PyObject * obj0 = 0 ;
14168 char *kwnames[] = {
14169 (char *) "self", NULL
14170 };
14171
14172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDClick",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14175 {
14176 PyThreadState* __tstate = wxPyBeginAllowThreads();
14177 result = (bool)((wxMouseEvent const *)arg1)->RightDClick();
14178
14179 wxPyEndAllowThreads(__tstate);
14180 if (PyErr_Occurred()) SWIG_fail;
14181 }
4f89f6a3
RD
14182 {
14183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14184 }
d14a1e28
RD
14185 return resultobj;
14186 fail:
14187 return NULL;
14188}
14189
14190
14191static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14192 PyObject *resultobj;
14193 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14194 bool result;
14195 PyObject * obj0 = 0 ;
14196 char *kwnames[] = {
14197 (char *) "self", NULL
14198 };
14199
14200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftIsDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14203 {
14204 PyThreadState* __tstate = wxPyBeginAllowThreads();
14205 result = (bool)(arg1)->LeftIsDown();
14206
14207 wxPyEndAllowThreads(__tstate);
14208 if (PyErr_Occurred()) SWIG_fail;
14209 }
4f89f6a3
RD
14210 {
14211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14212 }
d14a1e28
RD
14213 return resultobj;
14214 fail:
14215 return NULL;
14216}
14217
14218
14219static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14220 PyObject *resultobj;
14221 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14222 bool result;
14223 PyObject * obj0 = 0 ;
14224 char *kwnames[] = {
14225 (char *) "self", NULL
14226 };
14227
14228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14231 {
14232 PyThreadState* __tstate = wxPyBeginAllowThreads();
14233 result = (bool)(arg1)->MiddleIsDown();
14234
14235 wxPyEndAllowThreads(__tstate);
14236 if (PyErr_Occurred()) SWIG_fail;
14237 }
4f89f6a3
RD
14238 {
14239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14240 }
d14a1e28
RD
14241 return resultobj;
14242 fail:
14243 return NULL;
14244}
14245
14246
14247static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14248 PyObject *resultobj;
14249 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14250 bool result;
14251 PyObject * obj0 = 0 ;
14252 char *kwnames[] = {
14253 (char *) "self", NULL
14254 };
14255
14256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightIsDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14259 {
14260 PyThreadState* __tstate = wxPyBeginAllowThreads();
14261 result = (bool)(arg1)->RightIsDown();
14262
14263 wxPyEndAllowThreads(__tstate);
14264 if (PyErr_Occurred()) SWIG_fail;
14265 }
4f89f6a3
RD
14266 {
14267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14268 }
d14a1e28
RD
14269 return resultobj;
14270 fail:
14271 return NULL;
14272}
14273
14274
14275static PyObject *_wrap_MouseEvent_Dragging(PyObject *self, PyObject *args, PyObject *kwargs) {
14276 PyObject *resultobj;
14277 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14278 bool result;
14279 PyObject * obj0 = 0 ;
14280 char *kwnames[] = {
14281 (char *) "self", NULL
14282 };
14283
14284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Dragging",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14287 {
14288 PyThreadState* __tstate = wxPyBeginAllowThreads();
14289 result = (bool)((wxMouseEvent const *)arg1)->Dragging();
14290
14291 wxPyEndAllowThreads(__tstate);
14292 if (PyErr_Occurred()) SWIG_fail;
14293 }
4f89f6a3
RD
14294 {
14295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14296 }
d14a1e28
RD
14297 return resultobj;
14298 fail:
14299 return NULL;
14300}
14301
14302
14303static PyObject *_wrap_MouseEvent_Moving(PyObject *self, PyObject *args, PyObject *kwargs) {
14304 PyObject *resultobj;
14305 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14306 bool result;
14307 PyObject * obj0 = 0 ;
14308 char *kwnames[] = {
14309 (char *) "self", NULL
14310 };
14311
14312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Moving",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14315 {
14316 PyThreadState* __tstate = wxPyBeginAllowThreads();
14317 result = (bool)((wxMouseEvent const *)arg1)->Moving();
14318
14319 wxPyEndAllowThreads(__tstate);
14320 if (PyErr_Occurred()) SWIG_fail;
14321 }
4f89f6a3
RD
14322 {
14323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14324 }
d14a1e28
RD
14325 return resultobj;
14326 fail:
14327 return NULL;
14328}
14329
14330
14331static PyObject *_wrap_MouseEvent_Entering(PyObject *self, PyObject *args, PyObject *kwargs) {
14332 PyObject *resultobj;
14333 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14334 bool result;
14335 PyObject * obj0 = 0 ;
14336 char *kwnames[] = {
14337 (char *) "self", NULL
14338 };
14339
14340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Entering",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14343 {
14344 PyThreadState* __tstate = wxPyBeginAllowThreads();
14345 result = (bool)((wxMouseEvent const *)arg1)->Entering();
14346
14347 wxPyEndAllowThreads(__tstate);
14348 if (PyErr_Occurred()) SWIG_fail;
14349 }
4f89f6a3
RD
14350 {
14351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14352 }
d14a1e28
RD
14353 return resultobj;
14354 fail:
14355 return NULL;
14356}
14357
14358
14359static PyObject *_wrap_MouseEvent_Leaving(PyObject *self, PyObject *args, PyObject *kwargs) {
14360 PyObject *resultobj;
14361 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14362 bool result;
14363 PyObject * obj0 = 0 ;
14364 char *kwnames[] = {
14365 (char *) "self", NULL
14366 };
14367
14368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Leaving",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14371 {
14372 PyThreadState* __tstate = wxPyBeginAllowThreads();
14373 result = (bool)((wxMouseEvent const *)arg1)->Leaving();
14374
14375 wxPyEndAllowThreads(__tstate);
14376 if (PyErr_Occurred()) SWIG_fail;
14377 }
4f89f6a3
RD
14378 {
14379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14380 }
d14a1e28
RD
14381 return resultobj;
14382 fail:
14383 return NULL;
14384}
14385
14386
14387static PyObject *_wrap_MouseEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14388 PyObject *resultobj;
14389 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14390 wxPoint result;
14391 PyObject * obj0 = 0 ;
14392 char *kwnames[] = {
14393 (char *) "self", NULL
14394 };
14395
14396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14399 {
14400 PyThreadState* __tstate = wxPyBeginAllowThreads();
14401 result = (arg1)->GetPosition();
14402
14403 wxPyEndAllowThreads(__tstate);
14404 if (PyErr_Occurred()) SWIG_fail;
14405 }
14406 {
14407 wxPoint * resultptr;
14408 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 14409 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14410 }
14411 return resultobj;
14412 fail:
14413 return NULL;
14414}
14415
14416
14417static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
14418 PyObject *resultobj;
14419 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14420 long *arg2 = (long *) 0 ;
14421 long *arg3 = (long *) 0 ;
14422 long temp2 ;
14423 long temp3 ;
14424 PyObject * obj0 = 0 ;
14425 char *kwnames[] = {
14426 (char *) "self", NULL
14427 };
14428
14429 arg2 = &temp2;
14430 arg3 = &temp3;
14431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14434 {
14435 PyThreadState* __tstate = wxPyBeginAllowThreads();
14436 (arg1)->GetPosition(arg2,arg3);
14437
14438 wxPyEndAllowThreads(__tstate);
14439 if (PyErr_Occurred()) SWIG_fail;
14440 }
14441 Py_INCREF(Py_None); resultobj = Py_None;
14442 {
14443 PyObject *o = PyInt_FromLong((long) (*arg2));
14444 resultobj = t_output_helper(resultobj,o);
14445 }
14446 {
14447 PyObject *o = PyInt_FromLong((long) (*arg3));
14448 resultobj = t_output_helper(resultobj,o);
14449 }
14450 return resultobj;
14451 fail:
14452 return NULL;
14453}
14454
14455
14456static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14457 PyObject *resultobj;
14458 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14459 wxDC *arg2 = 0 ;
14460 wxPoint result;
14461 PyObject * obj0 = 0 ;
14462 PyObject * obj1 = 0 ;
14463 char *kwnames[] = {
14464 (char *) "self",(char *) "dc", NULL
14465 };
14466
14467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14470 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14471 SWIG_POINTER_EXCEPTION | 0)) == -1)
14472 SWIG_fail;
d14a1e28 14473 if (arg2 == NULL) {
2f4c0a16
RD
14474 PyErr_SetString(PyExc_TypeError,"null reference");
14475 SWIG_fail;
d14a1e28
RD
14476 }
14477 {
14478 PyThreadState* __tstate = wxPyBeginAllowThreads();
14479 result = ((wxMouseEvent const *)arg1)->GetLogicalPosition((wxDC const &)*arg2);
14480
14481 wxPyEndAllowThreads(__tstate);
14482 if (PyErr_Occurred()) SWIG_fail;
14483 }
14484 {
14485 wxPoint * resultptr;
14486 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 14487 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14488 }
14489 return resultobj;
14490 fail:
14491 return NULL;
14492}
14493
14494
14495static PyObject *_wrap_MouseEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
14496 PyObject *resultobj;
14497 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 14498 int result;
d14a1e28
RD
14499 PyObject * obj0 = 0 ;
14500 char *kwnames[] = {
14501 (char *) "self", NULL
14502 };
14503
14504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14507 {
14508 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 14509 result = (int)((wxMouseEvent const *)arg1)->GetX();
d14a1e28
RD
14510
14511 wxPyEndAllowThreads(__tstate);
14512 if (PyErr_Occurred()) SWIG_fail;
14513 }
2f4c0a16 14514 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14515 return resultobj;
14516 fail:
14517 return NULL;
14518}
14519
14520
14521static PyObject *_wrap_MouseEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
14522 PyObject *resultobj;
14523 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 14524 int result;
d14a1e28
RD
14525 PyObject * obj0 = 0 ;
14526 char *kwnames[] = {
14527 (char *) "self", NULL
14528 };
14529
14530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14533 {
14534 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 14535 result = (int)((wxMouseEvent const *)arg1)->GetY();
d14a1e28
RD
14536
14537 wxPyEndAllowThreads(__tstate);
14538 if (PyErr_Occurred()) SWIG_fail;
14539 }
2f4c0a16 14540 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14541 return resultobj;
14542 fail:
14543 return NULL;
14544}
14545
14546
14547static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
14548 PyObject *resultobj;
14549 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14550 int result;
14551 PyObject * obj0 = 0 ;
14552 char *kwnames[] = {
14553 (char *) "self", NULL
14554 };
14555
14556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14559 {
14560 PyThreadState* __tstate = wxPyBeginAllowThreads();
14561 result = (int)((wxMouseEvent const *)arg1)->GetWheelRotation();
14562
14563 wxPyEndAllowThreads(__tstate);
14564 if (PyErr_Occurred()) SWIG_fail;
14565 }
2f4c0a16 14566 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14567 return resultobj;
14568 fail:
14569 return NULL;
14570}
14571
14572
14573static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *self, PyObject *args, PyObject *kwargs) {
14574 PyObject *resultobj;
14575 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14576 int result;
14577 PyObject * obj0 = 0 ;
14578 char *kwnames[] = {
14579 (char *) "self", NULL
14580 };
14581
14582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14585 {
14586 PyThreadState* __tstate = wxPyBeginAllowThreads();
14587 result = (int)((wxMouseEvent const *)arg1)->GetWheelDelta();
14588
14589 wxPyEndAllowThreads(__tstate);
14590 if (PyErr_Occurred()) SWIG_fail;
14591 }
2f4c0a16 14592 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14593 return resultobj;
14594 fail:
14595 return NULL;
14596}
14597
14598
14599static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *self, PyObject *args, PyObject *kwargs) {
14600 PyObject *resultobj;
14601 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14602 int result;
14603 PyObject * obj0 = 0 ;
14604 char *kwnames[] = {
14605 (char *) "self", NULL
14606 };
14607
14608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14611 {
14612 PyThreadState* __tstate = wxPyBeginAllowThreads();
14613 result = (int)((wxMouseEvent const *)arg1)->GetLinesPerAction();
14614
14615 wxPyEndAllowThreads(__tstate);
14616 if (PyErr_Occurred()) SWIG_fail;
14617 }
2f4c0a16 14618 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14619 return resultobj;
14620 fail:
14621 return NULL;
14622}
14623
14624
14625static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
14626 PyObject *resultobj;
14627 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14628 bool result;
14629 PyObject * obj0 = 0 ;
14630 char *kwnames[] = {
14631 (char *) "self", NULL
14632 };
14633
14634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsPageScroll",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14637 {
14638 PyThreadState* __tstate = wxPyBeginAllowThreads();
14639 result = (bool)((wxMouseEvent const *)arg1)->IsPageScroll();
14640
14641 wxPyEndAllowThreads(__tstate);
14642 if (PyErr_Occurred()) SWIG_fail;
14643 }
4f89f6a3
RD
14644 {
14645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14646 }
d14a1e28
RD
14647 return resultobj;
14648 fail:
14649 return NULL;
14650}
14651
14652
14653static PyObject *_wrap_MouseEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14654 PyObject *resultobj;
14655 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 14656 int arg2 ;
d14a1e28 14657 PyObject * obj0 = 0 ;
8edf1c75 14658 PyObject * obj1 = 0 ;
d14a1e28
RD
14659 char *kwnames[] = {
14660 (char *) "self",(char *) "m_x", NULL
14661 };
14662
8edf1c75 14663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14666 arg2 = (int) SWIG_AsInt(obj1);
14667 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14668 if (arg1) (arg1)->m_x = arg2;
14669
14670 Py_INCREF(Py_None); resultobj = Py_None;
14671 return resultobj;
14672 fail:
14673 return NULL;
14674}
14675
14676
14677static PyObject *_wrap_MouseEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14678 PyObject *resultobj;
14679 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 14680 int result;
d14a1e28
RD
14681 PyObject * obj0 = 0 ;
14682 char *kwnames[] = {
14683 (char *) "self", NULL
14684 };
14685
14686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a 14689 result = (int) ((arg1)->m_x);
d14a1e28 14690
2f4c0a16 14691 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14692 return resultobj;
14693 fail:
14694 return NULL;
14695}
14696
14697
14698static PyObject *_wrap_MouseEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14699 PyObject *resultobj;
14700 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 14701 int arg2 ;
d14a1e28 14702 PyObject * obj0 = 0 ;
8edf1c75 14703 PyObject * obj1 = 0 ;
d14a1e28
RD
14704 char *kwnames[] = {
14705 (char *) "self",(char *) "m_y", NULL
14706 };
14707
8edf1c75 14708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14711 arg2 = (int) SWIG_AsInt(obj1);
14712 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14713 if (arg1) (arg1)->m_y = arg2;
14714
14715 Py_INCREF(Py_None); resultobj = Py_None;
14716 return resultobj;
14717 fail:
14718 return NULL;
14719}
14720
14721
14722static PyObject *_wrap_MouseEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14723 PyObject *resultobj;
14724 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 14725 int result;
d14a1e28
RD
14726 PyObject * obj0 = 0 ;
14727 char *kwnames[] = {
14728 (char *) "self", NULL
14729 };
14730
14731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a 14734 result = (int) ((arg1)->m_y);
d14a1e28 14735
2f4c0a16 14736 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14737 return resultobj;
14738 fail:
14739 return NULL;
14740}
14741
14742
14743static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14744 PyObject *resultobj;
14745 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14746 bool arg2 ;
14747 PyObject * obj0 = 0 ;
14748 PyObject * obj1 = 0 ;
14749 char *kwnames[] = {
14750 (char *) "self",(char *) "m_leftDown", NULL
14751 };
14752
14753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14756 arg2 = (bool) SWIG_AsBool(obj1);
14757 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14758 if (arg1) (arg1)->m_leftDown = arg2;
14759
14760 Py_INCREF(Py_None); resultobj = Py_None;
14761 return resultobj;
14762 fail:
14763 return NULL;
14764}
14765
14766
14767static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14768 PyObject *resultobj;
14769 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14770 bool result;
14771 PyObject * obj0 = 0 ;
14772 char *kwnames[] = {
14773 (char *) "self", NULL
14774 };
14775
14776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14779 result = (bool) ((arg1)->m_leftDown);
14780
4f89f6a3
RD
14781 {
14782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14783 }
d14a1e28
RD
14784 return resultobj;
14785 fail:
14786 return NULL;
14787}
14788
14789
14790static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14791 PyObject *resultobj;
14792 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14793 bool arg2 ;
14794 PyObject * obj0 = 0 ;
14795 PyObject * obj1 = 0 ;
14796 char *kwnames[] = {
14797 (char *) "self",(char *) "m_middleDown", NULL
14798 };
14799
14800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14803 arg2 = (bool) SWIG_AsBool(obj1);
14804 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14805 if (arg1) (arg1)->m_middleDown = arg2;
14806
14807 Py_INCREF(Py_None); resultobj = Py_None;
14808 return resultobj;
14809 fail:
14810 return NULL;
14811}
14812
14813
14814static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14815 PyObject *resultobj;
14816 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14817 bool result;
14818 PyObject * obj0 = 0 ;
14819 char *kwnames[] = {
14820 (char *) "self", NULL
14821 };
14822
14823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14826 result = (bool) ((arg1)->m_middleDown);
14827
4f89f6a3
RD
14828 {
14829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14830 }
d14a1e28
RD
14831 return resultobj;
14832 fail:
14833 return NULL;
14834}
14835
14836
14837static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14838 PyObject *resultobj;
14839 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14840 bool arg2 ;
14841 PyObject * obj0 = 0 ;
14842 PyObject * obj1 = 0 ;
14843 char *kwnames[] = {
14844 (char *) "self",(char *) "m_rightDown", NULL
14845 };
14846
14847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14850 arg2 = (bool) SWIG_AsBool(obj1);
14851 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14852 if (arg1) (arg1)->m_rightDown = arg2;
14853
14854 Py_INCREF(Py_None); resultobj = Py_None;
14855 return resultobj;
14856 fail:
14857 return NULL;
14858}
14859
14860
14861static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14862 PyObject *resultobj;
14863 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14864 bool result;
14865 PyObject * obj0 = 0 ;
14866 char *kwnames[] = {
14867 (char *) "self", NULL
14868 };
14869
14870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14873 result = (bool) ((arg1)->m_rightDown);
14874
4f89f6a3
RD
14875 {
14876 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14877 }
d14a1e28
RD
14878 return resultobj;
14879 fail:
14880 return NULL;
14881}
14882
14883
14884static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14885 PyObject *resultobj;
14886 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14887 bool arg2 ;
14888 PyObject * obj0 = 0 ;
14889 PyObject * obj1 = 0 ;
14890 char *kwnames[] = {
14891 (char *) "self",(char *) "m_controlDown", NULL
14892 };
14893
14894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14897 arg2 = (bool) SWIG_AsBool(obj1);
14898 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14899 if (arg1) (arg1)->m_controlDown = arg2;
14900
14901 Py_INCREF(Py_None); resultobj = Py_None;
14902 return resultobj;
14903 fail:
14904 return NULL;
14905}
14906
14907
14908static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14909 PyObject *resultobj;
14910 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14911 bool result;
14912 PyObject * obj0 = 0 ;
14913 char *kwnames[] = {
14914 (char *) "self", NULL
14915 };
14916
14917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14920 result = (bool) ((arg1)->m_controlDown);
14921
4f89f6a3
RD
14922 {
14923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14924 }
d14a1e28
RD
14925 return resultobj;
14926 fail:
14927 return NULL;
14928}
14929
14930
14931static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14932 PyObject *resultobj;
14933 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14934 bool arg2 ;
14935 PyObject * obj0 = 0 ;
14936 PyObject * obj1 = 0 ;
14937 char *kwnames[] = {
14938 (char *) "self",(char *) "m_shiftDown", NULL
14939 };
14940
14941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14944 arg2 = (bool) SWIG_AsBool(obj1);
14945 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14946 if (arg1) (arg1)->m_shiftDown = arg2;
14947
14948 Py_INCREF(Py_None); resultobj = Py_None;
14949 return resultobj;
14950 fail:
14951 return NULL;
14952}
14953
14954
14955static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14956 PyObject *resultobj;
14957 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14958 bool result;
14959 PyObject * obj0 = 0 ;
14960 char *kwnames[] = {
14961 (char *) "self", NULL
14962 };
14963
14964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14967 result = (bool) ((arg1)->m_shiftDown);
14968
4f89f6a3
RD
14969 {
14970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14971 }
d14a1e28
RD
14972 return resultobj;
14973 fail:
14974 return NULL;
14975}
14976
14977
14978static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14979 PyObject *resultobj;
14980 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14981 bool arg2 ;
14982 PyObject * obj0 = 0 ;
14983 PyObject * obj1 = 0 ;
14984 char *kwnames[] = {
14985 (char *) "self",(char *) "m_altDown", NULL
14986 };
14987
14988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14991 arg2 = (bool) SWIG_AsBool(obj1);
14992 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14993 if (arg1) (arg1)->m_altDown = arg2;
14994
14995 Py_INCREF(Py_None); resultobj = Py_None;
14996 return resultobj;
14997 fail:
14998 return NULL;
14999}
15000
15001
15002static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15003 PyObject *resultobj;
15004 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15005 bool result;
15006 PyObject * obj0 = 0 ;
15007 char *kwnames[] = {
15008 (char *) "self", NULL
15009 };
15010
15011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15014 result = (bool) ((arg1)->m_altDown);
15015
4f89f6a3
RD
15016 {
15017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15018 }
d14a1e28
RD
15019 return resultobj;
15020 fail:
15021 return NULL;
15022}
15023
15024
15025static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15026 PyObject *resultobj;
15027 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15028 bool arg2 ;
15029 PyObject * obj0 = 0 ;
15030 PyObject * obj1 = 0 ;
15031 char *kwnames[] = {
15032 (char *) "self",(char *) "m_metaDown", NULL
15033 };
15034
15035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15038 arg2 = (bool) SWIG_AsBool(obj1);
15039 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15040 if (arg1) (arg1)->m_metaDown = arg2;
15041
15042 Py_INCREF(Py_None); resultobj = Py_None;
15043 return resultobj;
15044 fail:
15045 return NULL;
15046}
15047
15048
15049static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15050 PyObject *resultobj;
15051 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15052 bool result;
15053 PyObject * obj0 = 0 ;
15054 char *kwnames[] = {
15055 (char *) "self", NULL
15056 };
15057
15058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15061 result = (bool) ((arg1)->m_metaDown);
15062
4f89f6a3
RD
15063 {
15064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15065 }
d14a1e28
RD
15066 return resultobj;
15067 fail:
15068 return NULL;
15069}
15070
15071
15072static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15073 PyObject *resultobj;
15074 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15075 int arg2 ;
15076 PyObject * obj0 = 0 ;
8edf1c75 15077 PyObject * obj1 = 0 ;
d14a1e28
RD
15078 char *kwnames[] = {
15079 (char *) "self",(char *) "m_wheelRotation", NULL
15080 };
15081
8edf1c75 15082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15085 arg2 = (int) SWIG_AsInt(obj1);
15086 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15087 if (arg1) (arg1)->m_wheelRotation = arg2;
15088
15089 Py_INCREF(Py_None); resultobj = Py_None;
15090 return resultobj;
15091 fail:
15092 return NULL;
15093}
15094
15095
15096static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15097 PyObject *resultobj;
15098 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15099 int result;
15100 PyObject * obj0 = 0 ;
15101 char *kwnames[] = {
15102 (char *) "self", NULL
15103 };
15104
15105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15108 result = (int) ((arg1)->m_wheelRotation);
15109
2f4c0a16 15110 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15111 return resultobj;
15112 fail:
15113 return NULL;
15114}
15115
15116
15117static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15118 PyObject *resultobj;
15119 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15120 int arg2 ;
15121 PyObject * obj0 = 0 ;
8edf1c75 15122 PyObject * obj1 = 0 ;
d14a1e28
RD
15123 char *kwnames[] = {
15124 (char *) "self",(char *) "m_wheelDelta", NULL
15125 };
15126
8edf1c75 15127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15130 arg2 = (int) SWIG_AsInt(obj1);
15131 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15132 if (arg1) (arg1)->m_wheelDelta = arg2;
15133
15134 Py_INCREF(Py_None); resultobj = Py_None;
15135 return resultobj;
15136 fail:
15137 return NULL;
15138}
15139
15140
15141static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15142 PyObject *resultobj;
15143 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15144 int result;
15145 PyObject * obj0 = 0 ;
15146 char *kwnames[] = {
15147 (char *) "self", NULL
15148 };
15149
15150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15153 result = (int) ((arg1)->m_wheelDelta);
15154
2f4c0a16 15155 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15156 return resultobj;
15157 fail:
15158 return NULL;
15159}
15160
15161
15162static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15163 PyObject *resultobj;
15164 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15165 int arg2 ;
15166 PyObject * obj0 = 0 ;
8edf1c75 15167 PyObject * obj1 = 0 ;
d14a1e28
RD
15168 char *kwnames[] = {
15169 (char *) "self",(char *) "m_linesPerAction", NULL
15170 };
15171
8edf1c75 15172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15175 arg2 = (int) SWIG_AsInt(obj1);
15176 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15177 if (arg1) (arg1)->m_linesPerAction = arg2;
15178
15179 Py_INCREF(Py_None); resultobj = Py_None;
15180 return resultobj;
15181 fail:
15182 return NULL;
15183}
15184
15185
15186static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15187 PyObject *resultobj;
15188 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15189 int result;
15190 PyObject * obj0 = 0 ;
15191 char *kwnames[] = {
15192 (char *) "self", NULL
15193 };
15194
15195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15198 result = (int) ((arg1)->m_linesPerAction);
15199
2f4c0a16 15200 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15201 return resultobj;
15202 fail:
15203 return NULL;
15204}
15205
15206
15207static PyObject * MouseEvent_swigregister(PyObject *self, PyObject *args) {
15208 PyObject *obj;
15209 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15210 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj);
15211 Py_INCREF(obj);
15212 return Py_BuildValue((char *)"");
15213}
15214static PyObject *_wrap_new_SetCursorEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15215 PyObject *resultobj;
423f194a
RD
15216 int arg1 = (int) 0 ;
15217 int arg2 = (int) 0 ;
d14a1e28 15218 wxSetCursorEvent *result;
8edf1c75
RD
15219 PyObject * obj0 = 0 ;
15220 PyObject * obj1 = 0 ;
d14a1e28
RD
15221 char *kwnames[] = {
15222 (char *) "x",(char *) "y", NULL
15223 };
15224
8edf1c75
RD
15225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SetCursorEvent",kwnames,&obj0,&obj1)) goto fail;
15226 if (obj0) {
2f4c0a16
RD
15227 arg1 = (int) SWIG_AsInt(obj0);
15228 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
15229 }
15230 if (obj1) {
2f4c0a16
RD
15231 arg2 = (int) SWIG_AsInt(obj1);
15232 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 15233 }
d14a1e28
RD
15234 {
15235 PyThreadState* __tstate = wxPyBeginAllowThreads();
15236 result = (wxSetCursorEvent *)new wxSetCursorEvent(arg1,arg2);
15237
15238 wxPyEndAllowThreads(__tstate);
15239 if (PyErr_Occurred()) SWIG_fail;
15240 }
2f4c0a16 15241 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSetCursorEvent, 1);
d14a1e28
RD
15242 return resultobj;
15243 fail:
15244 return NULL;
15245}
15246
15247
15248static PyObject *_wrap_SetCursorEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
15249 PyObject *resultobj;
15250 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
423f194a 15251 int result;
d14a1e28
RD
15252 PyObject * obj0 = 0 ;
15253 char *kwnames[] = {
15254 (char *) "self", NULL
15255 };
15256
15257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15260 {
15261 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 15262 result = (int)((wxSetCursorEvent const *)arg1)->GetX();
d14a1e28
RD
15263
15264 wxPyEndAllowThreads(__tstate);
15265 if (PyErr_Occurred()) SWIG_fail;
15266 }
2f4c0a16 15267 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15268 return resultobj;
15269 fail:
15270 return NULL;
15271}
15272
15273
15274static PyObject *_wrap_SetCursorEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
15275 PyObject *resultobj;
15276 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
423f194a 15277 int result;
d14a1e28
RD
15278 PyObject * obj0 = 0 ;
15279 char *kwnames[] = {
15280 (char *) "self", NULL
15281 };
15282
15283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15286 {
15287 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 15288 result = (int)((wxSetCursorEvent const *)arg1)->GetY();
d14a1e28
RD
15289
15290 wxPyEndAllowThreads(__tstate);
15291 if (PyErr_Occurred()) SWIG_fail;
15292 }
2f4c0a16 15293 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15294 return resultobj;
15295 fail:
15296 return NULL;
15297}
15298
15299
15300static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15301 PyObject *resultobj;
15302 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15303 wxCursor *arg2 = 0 ;
15304 PyObject * obj0 = 0 ;
15305 PyObject * obj1 = 0 ;
15306 char *kwnames[] = {
15307 (char *) "self",(char *) "cursor", NULL
15308 };
15309
15310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15313 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
15314 SWIG_POINTER_EXCEPTION | 0)) == -1)
15315 SWIG_fail;
d14a1e28 15316 if (arg2 == NULL) {
2f4c0a16
RD
15317 PyErr_SetString(PyExc_TypeError,"null reference");
15318 SWIG_fail;
d14a1e28
RD
15319 }
15320 {
15321 PyThreadState* __tstate = wxPyBeginAllowThreads();
15322 (arg1)->SetCursor((wxCursor const &)*arg2);
15323
15324 wxPyEndAllowThreads(__tstate);
15325 if (PyErr_Occurred()) SWIG_fail;
15326 }
15327 Py_INCREF(Py_None); resultobj = Py_None;
15328 return resultobj;
15329 fail:
15330 return NULL;
15331}
15332
15333
15334static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15335 PyObject *resultobj;
15336 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15337 wxCursor *result;
15338 PyObject * obj0 = 0 ;
15339 char *kwnames[] = {
15340 (char *) "self", NULL
15341 };
15342
15343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15346 {
15347 PyThreadState* __tstate = wxPyBeginAllowThreads();
15348 {
15349 wxCursor const &_result_ref = ((wxSetCursorEvent const *)arg1)->GetCursor();
15350 result = (wxCursor *) &_result_ref;
15351 }
15352
15353 wxPyEndAllowThreads(__tstate);
15354 if (PyErr_Occurred()) SWIG_fail;
15355 }
fe763115
RD
15356 {
15357 wxCursor* resultptr = new wxCursor(*result);
15358 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
15359 }
d14a1e28
RD
15360 return resultobj;
15361 fail:
15362 return NULL;
15363}
15364
15365
15366static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15367 PyObject *resultobj;
15368 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15369 bool result;
15370 PyObject * obj0 = 0 ;
15371 char *kwnames[] = {
15372 (char *) "self", NULL
15373 };
15374
15375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15378 {
15379 PyThreadState* __tstate = wxPyBeginAllowThreads();
15380 result = (bool)((wxSetCursorEvent const *)arg1)->HasCursor();
15381
15382 wxPyEndAllowThreads(__tstate);
15383 if (PyErr_Occurred()) SWIG_fail;
15384 }
4f89f6a3
RD
15385 {
15386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15387 }
d14a1e28
RD
15388 return resultobj;
15389 fail:
15390 return NULL;
15391}
15392
15393
15394static PyObject * SetCursorEvent_swigregister(PyObject *self, PyObject *args) {
15395 PyObject *obj;
15396 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15397 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj);
15398 Py_INCREF(obj);
15399 return Py_BuildValue((char *)"");
15400}
15401static PyObject *_wrap_new_KeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15402 PyObject *resultobj;
15403 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15404 wxKeyEvent *result;
8edf1c75 15405 PyObject * obj0 = 0 ;
d14a1e28
RD
15406 char *kwnames[] = {
15407 (char *) "keyType", NULL
15408 };
15409
8edf1c75
RD
15410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail;
15411 if (obj0) {
2f4c0a16
RD
15412 arg1 = (wxEventType) SWIG_AsInt(obj0);
15413 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 15414 }
d14a1e28
RD
15415 {
15416 PyThreadState* __tstate = wxPyBeginAllowThreads();
15417 result = (wxKeyEvent *)new wxKeyEvent(arg1);
15418
15419 wxPyEndAllowThreads(__tstate);
15420 if (PyErr_Occurred()) SWIG_fail;
15421 }
2f4c0a16 15422 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 1);
d14a1e28
RD
15423 return resultobj;
15424 fail:
15425 return NULL;
15426}
15427
15428
15429static PyObject *_wrap_KeyEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15430 PyObject *resultobj;
15431 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15432 bool result;
15433 PyObject * obj0 = 0 ;
15434 char *kwnames[] = {
15435 (char *) "self", NULL
15436 };
15437
15438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15441 {
15442 PyThreadState* __tstate = wxPyBeginAllowThreads();
15443 result = (bool)((wxKeyEvent const *)arg1)->ControlDown();
15444
15445 wxPyEndAllowThreads(__tstate);
15446 if (PyErr_Occurred()) SWIG_fail;
15447 }
4f89f6a3
RD
15448 {
15449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15450 }
d14a1e28
RD
15451 return resultobj;
15452 fail:
15453 return NULL;
15454}
15455
15456
15457static PyObject *_wrap_KeyEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15458 PyObject *resultobj;
15459 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15460 bool result;
15461 PyObject * obj0 = 0 ;
15462 char *kwnames[] = {
15463 (char *) "self", NULL
15464 };
15465
15466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15469 {
15470 PyThreadState* __tstate = wxPyBeginAllowThreads();
15471 result = (bool)((wxKeyEvent const *)arg1)->MetaDown();
15472
15473 wxPyEndAllowThreads(__tstate);
15474 if (PyErr_Occurred()) SWIG_fail;
15475 }
4f89f6a3
RD
15476 {
15477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15478 }
d14a1e28
RD
15479 return resultobj;
15480 fail:
15481 return NULL;
15482}
15483
15484
15485static PyObject *_wrap_KeyEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15486 PyObject *resultobj;
15487 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15488 bool result;
15489 PyObject * obj0 = 0 ;
15490 char *kwnames[] = {
15491 (char *) "self", NULL
15492 };
15493
15494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15497 {
15498 PyThreadState* __tstate = wxPyBeginAllowThreads();
15499 result = (bool)((wxKeyEvent const *)arg1)->AltDown();
15500
15501 wxPyEndAllowThreads(__tstate);
15502 if (PyErr_Occurred()) SWIG_fail;
15503 }
4f89f6a3
RD
15504 {
15505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15506 }
d14a1e28
RD
15507 return resultobj;
15508 fail:
15509 return NULL;
15510}
15511
15512
15513static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15514 PyObject *resultobj;
15515 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15516 bool result;
15517 PyObject * obj0 = 0 ;
15518 char *kwnames[] = {
15519 (char *) "self", NULL
15520 };
15521
15522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ShiftDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15525 {
15526 PyThreadState* __tstate = wxPyBeginAllowThreads();
15527 result = (bool)((wxKeyEvent const *)arg1)->ShiftDown();
15528
15529 wxPyEndAllowThreads(__tstate);
15530 if (PyErr_Occurred()) SWIG_fail;
15531 }
4f89f6a3
RD
15532 {
15533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15534 }
d14a1e28
RD
15535 return resultobj;
15536 fail:
15537 return NULL;
15538}
15539
15540
15541static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
15542 PyObject *resultobj;
15543 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15544 bool result;
15545 PyObject * obj0 = 0 ;
15546 char *kwnames[] = {
15547 (char *) "self", NULL
15548 };
15549
15550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_HasModifiers",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15553 {
15554 PyThreadState* __tstate = wxPyBeginAllowThreads();
15555 result = (bool)((wxKeyEvent const *)arg1)->HasModifiers();
15556
15557 wxPyEndAllowThreads(__tstate);
15558 if (PyErr_Occurred()) SWIG_fail;
15559 }
4f89f6a3
RD
15560 {
15561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15562 }
d14a1e28
RD
15563 return resultobj;
15564 fail:
15565 return NULL;
15566}
15567
15568
15569static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
15570 PyObject *resultobj;
15571 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15572 int result;
15573 PyObject * obj0 = 0 ;
15574 char *kwnames[] = {
15575 (char *) "self", NULL
15576 };
15577
15578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15581 {
15582 PyThreadState* __tstate = wxPyBeginAllowThreads();
15583 result = (int)((wxKeyEvent const *)arg1)->GetKeyCode();
15584
15585 wxPyEndAllowThreads(__tstate);
15586 if (PyErr_Occurred()) SWIG_fail;
15587 }
2f4c0a16 15588 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15589 return resultobj;
15590 fail:
15591 return NULL;
15592}
15593
15594
15595static PyObject *_wrap_KeyEvent_GetUniChar(PyObject *self, PyObject *args, PyObject *kwargs) {
15596 PyObject *resultobj;
15597 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15598 int result;
15599 PyObject * obj0 = 0 ;
15600 char *kwnames[] = {
15601 (char *) "self", NULL
15602 };
15603
15604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUniChar",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15607 {
15608 PyThreadState* __tstate = wxPyBeginAllowThreads();
15609 result = (int)wxKeyEvent_GetUniChar(arg1);
15610
15611 wxPyEndAllowThreads(__tstate);
15612 if (PyErr_Occurred()) SWIG_fail;
15613 }
2f4c0a16 15614 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15615 return resultobj;
15616 fail:
15617 return NULL;
15618}
15619
15620
15621static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
15622 PyObject *resultobj;
15623 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15624 unsigned int result;
d14a1e28
RD
15625 PyObject * obj0 = 0 ;
15626 char *kwnames[] = {
15627 (char *) "self", NULL
15628 };
15629
15630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15633 {
15634 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 15635 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode();
d14a1e28
RD
15636
15637 wxPyEndAllowThreads(__tstate);
15638 if (PyErr_Occurred()) SWIG_fail;
15639 }
2f4c0a16 15640 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
15641 return resultobj;
15642 fail:
15643 return NULL;
15644}
15645
15646
15647static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
15648 PyObject *resultobj;
15649 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15650 unsigned int result;
d14a1e28
RD
15651 PyObject * obj0 = 0 ;
15652 char *kwnames[] = {
15653 (char *) "self", NULL
15654 };
15655
15656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15659 {
15660 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 15661 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags();
d14a1e28
RD
15662
15663 wxPyEndAllowThreads(__tstate);
15664 if (PyErr_Occurred()) SWIG_fail;
15665 }
2f4c0a16 15666 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
15667 return resultobj;
15668 fail:
15669 return NULL;
15670}
15671
15672
15673static PyObject *_wrap_KeyEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15674 PyObject *resultobj;
15675 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15676 wxPoint result;
15677 PyObject * obj0 = 0 ;
15678 char *kwnames[] = {
15679 (char *) "self", NULL
15680 };
15681
15682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15685 {
15686 PyThreadState* __tstate = wxPyBeginAllowThreads();
15687 result = (arg1)->GetPosition();
15688
15689 wxPyEndAllowThreads(__tstate);
15690 if (PyErr_Occurred()) SWIG_fail;
15691 }
15692 {
15693 wxPoint * resultptr;
15694 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 15695 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
15696 }
15697 return resultobj;
15698 fail:
15699 return NULL;
15700}
15701
15702
15703static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
15704 PyObject *resultobj;
15705 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15706 long *arg2 = (long *) 0 ;
15707 long *arg3 = (long *) 0 ;
15708 long temp2 ;
15709 long temp3 ;
15710 PyObject * obj0 = 0 ;
15711 char *kwnames[] = {
15712 (char *) "self", NULL
15713 };
15714
15715 arg2 = &temp2;
15716 arg3 = &temp3;
15717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15720 {
15721 PyThreadState* __tstate = wxPyBeginAllowThreads();
15722 (arg1)->GetPosition(arg2,arg3);
15723
15724 wxPyEndAllowThreads(__tstate);
15725 if (PyErr_Occurred()) SWIG_fail;
15726 }
15727 Py_INCREF(Py_None); resultobj = Py_None;
15728 {
15729 PyObject *o = PyInt_FromLong((long) (*arg2));
15730 resultobj = t_output_helper(resultobj,o);
15731 }
15732 {
15733 PyObject *o = PyInt_FromLong((long) (*arg3));
15734 resultobj = t_output_helper(resultobj,o);
15735 }
15736 return resultobj;
15737 fail:
15738 return NULL;
15739}
15740
15741
15742static PyObject *_wrap_KeyEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
15743 PyObject *resultobj;
15744 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15745 int result;
d14a1e28
RD
15746 PyObject * obj0 = 0 ;
15747 char *kwnames[] = {
15748 (char *) "self", NULL
15749 };
15750
15751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15754 {
15755 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 15756 result = (int)((wxKeyEvent const *)arg1)->GetX();
d14a1e28
RD
15757
15758 wxPyEndAllowThreads(__tstate);
15759 if (PyErr_Occurred()) SWIG_fail;
15760 }
2f4c0a16 15761 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15762 return resultobj;
15763 fail:
15764 return NULL;
15765}
15766
15767
15768static PyObject *_wrap_KeyEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
15769 PyObject *resultobj;
15770 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15771 int result;
d14a1e28
RD
15772 PyObject * obj0 = 0 ;
15773 char *kwnames[] = {
15774 (char *) "self", NULL
15775 };
15776
15777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15780 {
15781 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 15782 result = (int)((wxKeyEvent const *)arg1)->GetY();
d14a1e28
RD
15783
15784 wxPyEndAllowThreads(__tstate);
15785 if (PyErr_Occurred()) SWIG_fail;
15786 }
2f4c0a16 15787 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15788 return resultobj;
15789 fail:
15790 return NULL;
15791}
15792
15793
15794static PyObject *_wrap_KeyEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15795 PyObject *resultobj;
15796 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15797 int arg2 ;
d14a1e28 15798 PyObject * obj0 = 0 ;
8edf1c75 15799 PyObject * obj1 = 0 ;
d14a1e28
RD
15800 char *kwnames[] = {
15801 (char *) "self",(char *) "m_x", NULL
15802 };
15803
8edf1c75 15804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15807 arg2 = (int) SWIG_AsInt(obj1);
15808 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15809 if (arg1) (arg1)->m_x = arg2;
15810
15811 Py_INCREF(Py_None); resultobj = Py_None;
15812 return resultobj;
15813 fail:
15814 return NULL;
15815}
15816
15817
15818static PyObject *_wrap_KeyEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15819 PyObject *resultobj;
15820 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15821 int result;
d14a1e28
RD
15822 PyObject * obj0 = 0 ;
15823 char *kwnames[] = {
15824 (char *) "self", NULL
15825 };
15826
15827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a 15830 result = (int) ((arg1)->m_x);
d14a1e28 15831
2f4c0a16 15832 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15833 return resultobj;
15834 fail:
15835 return NULL;
15836}
15837
15838
15839static PyObject *_wrap_KeyEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15840 PyObject *resultobj;
15841 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15842 int arg2 ;
d14a1e28 15843 PyObject * obj0 = 0 ;
8edf1c75 15844 PyObject * obj1 = 0 ;
d14a1e28
RD
15845 char *kwnames[] = {
15846 (char *) "self",(char *) "m_y", NULL
15847 };
15848
8edf1c75 15849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15852 arg2 = (int) SWIG_AsInt(obj1);
15853 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15854 if (arg1) (arg1)->m_y = arg2;
15855
15856 Py_INCREF(Py_None); resultobj = Py_None;
15857 return resultobj;
15858 fail:
15859 return NULL;
15860}
15861
15862
15863static PyObject *_wrap_KeyEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15864 PyObject *resultobj;
15865 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15866 int result;
d14a1e28
RD
15867 PyObject * obj0 = 0 ;
15868 char *kwnames[] = {
15869 (char *) "self", NULL
15870 };
15871
15872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a 15875 result = (int) ((arg1)->m_y);
d14a1e28 15876
2f4c0a16 15877 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15878 return resultobj;
15879 fail:
15880 return NULL;
15881}
15882
15883
15884static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15885 PyObject *resultobj;
15886 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15887 long arg2 ;
15888 PyObject * obj0 = 0 ;
8edf1c75 15889 PyObject * obj1 = 0 ;
d14a1e28
RD
15890 char *kwnames[] = {
15891 (char *) "self",(char *) "m_keyCode", NULL
15892 };
15893
8edf1c75 15894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_keyCode_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15897 arg2 = (long) SWIG_AsLong(obj1);
15898 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15899 if (arg1) (arg1)->m_keyCode = arg2;
15900
15901 Py_INCREF(Py_None); resultobj = Py_None;
15902 return resultobj;
15903 fail:
15904 return NULL;
15905}
15906
15907
15908static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15909 PyObject *resultobj;
15910 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15911 long result;
15912 PyObject * obj0 = 0 ;
15913 char *kwnames[] = {
15914 (char *) "self", NULL
15915 };
15916
15917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15920 result = (long) ((arg1)->m_keyCode);
15921
2f4c0a16 15922 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
15923 return resultobj;
15924 fail:
15925 return NULL;
15926}
15927
15928
15929static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15930 PyObject *resultobj;
15931 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15932 bool arg2 ;
15933 PyObject * obj0 = 0 ;
15934 PyObject * obj1 = 0 ;
15935 char *kwnames[] = {
15936 (char *) "self",(char *) "m_controlDown", NULL
15937 };
15938
15939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15942 arg2 = (bool) SWIG_AsBool(obj1);
15943 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15944 if (arg1) (arg1)->m_controlDown = arg2;
15945
15946 Py_INCREF(Py_None); resultobj = Py_None;
15947 return resultobj;
15948 fail:
15949 return NULL;
15950}
15951
15952
15953static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15954 PyObject *resultobj;
15955 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15956 bool result;
15957 PyObject * obj0 = 0 ;
15958 char *kwnames[] = {
15959 (char *) "self", NULL
15960 };
15961
15962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15965 result = (bool) ((arg1)->m_controlDown);
15966
4f89f6a3
RD
15967 {
15968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15969 }
d14a1e28
RD
15970 return resultobj;
15971 fail:
15972 return NULL;
15973}
15974
15975
15976static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15977 PyObject *resultobj;
15978 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15979 bool arg2 ;
15980 PyObject * obj0 = 0 ;
15981 PyObject * obj1 = 0 ;
15982 char *kwnames[] = {
15983 (char *) "self",(char *) "m_shiftDown", NULL
15984 };
15985
15986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15989 arg2 = (bool) SWIG_AsBool(obj1);
15990 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15991 if (arg1) (arg1)->m_shiftDown = arg2;
15992
15993 Py_INCREF(Py_None); resultobj = Py_None;
15994 return resultobj;
15995 fail:
15996 return NULL;
15997}
15998
15999
16000static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16001 PyObject *resultobj;
16002 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16003 bool result;
16004 PyObject * obj0 = 0 ;
16005 char *kwnames[] = {
16006 (char *) "self", NULL
16007 };
16008
16009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16012 result = (bool) ((arg1)->m_shiftDown);
16013
4f89f6a3
RD
16014 {
16015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16016 }
d14a1e28
RD
16017 return resultobj;
16018 fail:
16019 return NULL;
16020}
16021
16022
16023static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16024 PyObject *resultobj;
16025 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16026 bool arg2 ;
16027 PyObject * obj0 = 0 ;
16028 PyObject * obj1 = 0 ;
16029 char *kwnames[] = {
16030 (char *) "self",(char *) "m_altDown", NULL
16031 };
16032
16033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16036 arg2 = (bool) SWIG_AsBool(obj1);
16037 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16038 if (arg1) (arg1)->m_altDown = arg2;
16039
16040 Py_INCREF(Py_None); resultobj = Py_None;
16041 return resultobj;
16042 fail:
16043 return NULL;
16044}
16045
16046
16047static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16048 PyObject *resultobj;
16049 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16050 bool result;
16051 PyObject * obj0 = 0 ;
16052 char *kwnames[] = {
16053 (char *) "self", NULL
16054 };
16055
16056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16059 result = (bool) ((arg1)->m_altDown);
16060
4f89f6a3
RD
16061 {
16062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16063 }
d14a1e28
RD
16064 return resultobj;
16065 fail:
16066 return NULL;
16067}
16068
16069
16070static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16071 PyObject *resultobj;
16072 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16073 bool arg2 ;
16074 PyObject * obj0 = 0 ;
16075 PyObject * obj1 = 0 ;
16076 char *kwnames[] = {
16077 (char *) "self",(char *) "m_metaDown", NULL
16078 };
16079
16080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16083 arg2 = (bool) SWIG_AsBool(obj1);
16084 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16085 if (arg1) (arg1)->m_metaDown = arg2;
16086
16087 Py_INCREF(Py_None); resultobj = Py_None;
16088 return resultobj;
16089 fail:
16090 return NULL;
16091}
16092
16093
16094static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16095 PyObject *resultobj;
16096 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16097 bool result;
16098 PyObject * obj0 = 0 ;
16099 char *kwnames[] = {
16100 (char *) "self", NULL
16101 };
16102
16103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16106 result = (bool) ((arg1)->m_metaDown);
16107
4f89f6a3
RD
16108 {
16109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16110 }
d14a1e28
RD
16111 return resultobj;
16112 fail:
16113 return NULL;
16114}
16115
16116
16117static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16118 PyObject *resultobj;
16119 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16120 bool arg2 ;
16121 PyObject * obj0 = 0 ;
16122 PyObject * obj1 = 0 ;
16123 char *kwnames[] = {
16124 (char *) "self",(char *) "m_scanCode", NULL
16125 };
16126
16127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16130 arg2 = (bool) SWIG_AsBool(obj1);
16131 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16132 if (arg1) (arg1)->m_scanCode = arg2;
16133
16134 Py_INCREF(Py_None); resultobj = Py_None;
16135 return resultobj;
16136 fail:
16137 return NULL;
16138}
16139
16140
16141static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16142 PyObject *resultobj;
16143 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16144 bool result;
16145 PyObject * obj0 = 0 ;
16146 char *kwnames[] = {
16147 (char *) "self", NULL
16148 };
16149
16150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16153 result = (bool) ((arg1)->m_scanCode);
16154
4f89f6a3
RD
16155 {
16156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16157 }
d14a1e28
RD
16158 return resultobj;
16159 fail:
16160 return NULL;
16161}
16162
16163
16164static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16165 PyObject *resultobj;
16166 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 16167 unsigned int arg2 ;
d14a1e28
RD
16168 PyObject * obj0 = 0 ;
16169 PyObject * obj1 = 0 ;
16170 char *kwnames[] = {
16171 (char *) "self",(char *) "m_rawCode", NULL
16172 };
16173
16174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16177 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
16178 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16179 if (arg1) (arg1)->m_rawCode = arg2;
16180
16181 Py_INCREF(Py_None); resultobj = Py_None;
16182 return resultobj;
16183 fail:
16184 return NULL;
16185}
16186
16187
16188static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16189 PyObject *resultobj;
16190 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 16191 unsigned int result;
d14a1e28
RD
16192 PyObject * obj0 = 0 ;
16193 char *kwnames[] = {
16194 (char *) "self", NULL
16195 };
16196
16197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a 16200 result = (unsigned int) ((arg1)->m_rawCode);
d14a1e28 16201
2f4c0a16 16202 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
16203 return resultobj;
16204 fail:
16205 return NULL;
16206}
16207
16208
16209static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16210 PyObject *resultobj;
16211 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 16212 unsigned int arg2 ;
d14a1e28
RD
16213 PyObject * obj0 = 0 ;
16214 PyObject * obj1 = 0 ;
16215 char *kwnames[] = {
16216 (char *) "self",(char *) "m_rawFlags", NULL
16217 };
16218
16219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16222 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
16223 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16224 if (arg1) (arg1)->m_rawFlags = arg2;
16225
16226 Py_INCREF(Py_None); resultobj = Py_None;
16227 return resultobj;
16228 fail:
16229 return NULL;
16230}
16231
16232
16233static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16234 PyObject *resultobj;
16235 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 16236 unsigned int result;
d14a1e28
RD
16237 PyObject * obj0 = 0 ;
16238 char *kwnames[] = {
16239 (char *) "self", NULL
16240 };
16241
16242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a 16245 result = (unsigned int) ((arg1)->m_rawFlags);
d14a1e28 16246
2f4c0a16 16247 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
16248 return resultobj;
16249 fail:
16250 return NULL;
16251}
16252
16253
16254static PyObject * KeyEvent_swigregister(PyObject *self, PyObject *args) {
16255 PyObject *obj;
16256 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16257 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj);
16258 Py_INCREF(obj);
16259 return Py_BuildValue((char *)"");
16260}
16261static PyObject *_wrap_new_SizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16262 PyObject *resultobj;
16263 wxSize const &arg1_defvalue = wxDefaultSize ;
16264 wxSize *arg1 = (wxSize *) &arg1_defvalue ;
16265 int arg2 = (int) 0 ;
16266 wxSizeEvent *result;
16267 wxSize temp1 ;
16268 PyObject * obj0 = 0 ;
8edf1c75 16269 PyObject * obj1 = 0 ;
d14a1e28
RD
16270 char *kwnames[] = {
16271 (char *) "sz",(char *) "winid", NULL
16272 };
16273
8edf1c75 16274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SizeEvent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
16275 if (obj0) {
16276 {
16277 arg1 = &temp1;
16278 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
16279 }
16280 }
8edf1c75 16281 if (obj1) {
2f4c0a16
RD
16282 arg2 = (int) SWIG_AsInt(obj1);
16283 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16284 }
d14a1e28
RD
16285 {
16286 PyThreadState* __tstate = wxPyBeginAllowThreads();
16287 result = (wxSizeEvent *)new wxSizeEvent((wxSize const &)*arg1,arg2);
16288
16289 wxPyEndAllowThreads(__tstate);
16290 if (PyErr_Occurred()) SWIG_fail;
16291 }
2f4c0a16 16292 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizeEvent, 1);
d14a1e28
RD
16293 return resultobj;
16294 fail:
16295 return NULL;
16296}
16297
16298
16299static PyObject *_wrap_SizeEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16300 PyObject *resultobj;
16301 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16302 wxSize result;
16303 PyObject * obj0 = 0 ;
16304 char *kwnames[] = {
16305 (char *) "self", NULL
16306 };
16307
16308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16311 {
16312 PyThreadState* __tstate = wxPyBeginAllowThreads();
16313 result = ((wxSizeEvent const *)arg1)->GetSize();
16314
16315 wxPyEndAllowThreads(__tstate);
16316 if (PyErr_Occurred()) SWIG_fail;
16317 }
16318 {
16319 wxSize * resultptr;
16320 resultptr = new wxSize((wxSize &) result);
2f4c0a16 16321 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16322 }
16323 return resultobj;
16324 fail:
16325 return NULL;
16326}
16327
16328
16329static PyObject *_wrap_SizeEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16330 PyObject *resultobj;
16331 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16332 wxRect result;
16333 PyObject * obj0 = 0 ;
16334 char *kwnames[] = {
16335 (char *) "self", NULL
16336 };
16337
16338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16341 {
16342 PyThreadState* __tstate = wxPyBeginAllowThreads();
16343 result = ((wxSizeEvent const *)arg1)->GetRect();
16344
16345 wxPyEndAllowThreads(__tstate);
16346 if (PyErr_Occurred()) SWIG_fail;
16347 }
16348 {
16349 wxRect * resultptr;
16350 resultptr = new wxRect((wxRect &) result);
2f4c0a16 16351 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
16352 }
16353 return resultobj;
16354 fail:
16355 return NULL;
16356}
16357
16358
16359static PyObject *_wrap_SizeEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16360 PyObject *resultobj;
16361 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16362 wxRect arg2 ;
16363 wxRect *argp2 ;
16364 PyObject * obj0 = 0 ;
16365 PyObject * obj1 = 0 ;
16366 char *kwnames[] = {
16367 (char *) "self",(char *) "rect", NULL
16368 };
16369
16370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16373 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16374 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16375 arg2 = *argp2;
d14a1e28
RD
16376 {
16377 PyThreadState* __tstate = wxPyBeginAllowThreads();
16378 (arg1)->SetRect(arg2);
16379
16380 wxPyEndAllowThreads(__tstate);
16381 if (PyErr_Occurred()) SWIG_fail;
16382 }
16383 Py_INCREF(Py_None); resultobj = Py_None;
16384 return resultobj;
16385 fail:
16386 return NULL;
16387}
16388
16389
16390static PyObject *_wrap_SizeEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16391 PyObject *resultobj;
16392 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16393 wxSize arg2 ;
16394 wxSize *argp2 ;
16395 PyObject * obj0 = 0 ;
16396 PyObject * obj1 = 0 ;
16397 char *kwnames[] = {
16398 (char *) "self",(char *) "size", NULL
16399 };
16400
16401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16404 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
16405 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16406 arg2 = *argp2;
d14a1e28
RD
16407 {
16408 PyThreadState* __tstate = wxPyBeginAllowThreads();
16409 wxSizeEvent_SetSize(arg1,arg2);
16410
16411 wxPyEndAllowThreads(__tstate);
16412 if (PyErr_Occurred()) SWIG_fail;
16413 }
16414 Py_INCREF(Py_None); resultobj = Py_None;
16415 return resultobj;
16416 fail:
16417 return NULL;
16418}
16419
16420
16421static PyObject *_wrap_SizeEvent_m_size_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16422 PyObject *resultobj;
16423 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16424 wxSize *arg2 = (wxSize *) 0 ;
16425 PyObject * obj0 = 0 ;
16426 PyObject * obj1 = 0 ;
16427 char *kwnames[] = {
16428 (char *) "self",(char *) "m_size", NULL
16429 };
16430
16431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16434 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSize,
16435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16436 if (arg1) (arg1)->m_size = *arg2;
16437
16438 Py_INCREF(Py_None); resultobj = Py_None;
16439 return resultobj;
16440 fail:
16441 return NULL;
16442}
16443
16444
16445static PyObject *_wrap_SizeEvent_m_size_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16446 PyObject *resultobj;
16447 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16448 wxSize *result;
16449 PyObject * obj0 = 0 ;
16450 char *kwnames[] = {
16451 (char *) "self", NULL
16452 };
16453
16454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16457 result = (wxSize *)& ((arg1)->m_size);
16458
2f4c0a16 16459 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
16460 return resultobj;
16461 fail:
16462 return NULL;
16463}
16464
16465
16466static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16467 PyObject *resultobj;
16468 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16469 wxRect *arg2 = (wxRect *) 0 ;
16470 PyObject * obj0 = 0 ;
16471 PyObject * obj1 = 0 ;
16472 char *kwnames[] = {
16473 (char *) "self",(char *) "m_rect", NULL
16474 };
16475
16476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16479 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16481 if (arg1) (arg1)->m_rect = *arg2;
16482
16483 Py_INCREF(Py_None); resultobj = Py_None;
16484 return resultobj;
16485 fail:
16486 return NULL;
16487}
16488
16489
16490static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16491 PyObject *resultobj;
16492 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16493 wxRect *result;
16494 PyObject * obj0 = 0 ;
16495 char *kwnames[] = {
16496 (char *) "self", NULL
16497 };
16498
16499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16502 result = (wxRect *)& ((arg1)->m_rect);
16503
2f4c0a16 16504 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
16505 return resultobj;
16506 fail:
16507 return NULL;
16508}
16509
16510
16511static PyObject * SizeEvent_swigregister(PyObject *self, PyObject *args) {
16512 PyObject *obj;
16513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16514 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj);
16515 Py_INCREF(obj);
16516 return Py_BuildValue((char *)"");
16517}
16518static PyObject *_wrap_new_MoveEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16519 PyObject *resultobj;
16520 wxPoint const &arg1_defvalue = wxDefaultPosition ;
16521 wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
16522 int arg2 = (int) 0 ;
16523 wxMoveEvent *result;
16524 wxPoint temp1 ;
16525 PyObject * obj0 = 0 ;
8edf1c75 16526 PyObject * obj1 = 0 ;
d14a1e28
RD
16527 char *kwnames[] = {
16528 (char *) "pos",(char *) "winid", NULL
16529 };
16530
8edf1c75 16531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MoveEvent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
16532 if (obj0) {
16533 {
16534 arg1 = &temp1;
16535 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
16536 }
16537 }
8edf1c75 16538 if (obj1) {
2f4c0a16
RD
16539 arg2 = (int) SWIG_AsInt(obj1);
16540 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16541 }
d14a1e28
RD
16542 {
16543 PyThreadState* __tstate = wxPyBeginAllowThreads();
16544 result = (wxMoveEvent *)new wxMoveEvent((wxPoint const &)*arg1,arg2);
16545
16546 wxPyEndAllowThreads(__tstate);
16547 if (PyErr_Occurred()) SWIG_fail;
16548 }
2f4c0a16 16549 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMoveEvent, 1);
d14a1e28
RD
16550 return resultobj;
16551 fail:
16552 return NULL;
16553}
16554
16555
16556static PyObject *_wrap_MoveEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16557 PyObject *resultobj;
16558 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16559 wxPoint result;
16560 PyObject * obj0 = 0 ;
16561 char *kwnames[] = {
16562 (char *) "self", NULL
16563 };
16564
16565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16568 {
16569 PyThreadState* __tstate = wxPyBeginAllowThreads();
16570 result = ((wxMoveEvent const *)arg1)->GetPosition();
16571
16572 wxPyEndAllowThreads(__tstate);
16573 if (PyErr_Occurred()) SWIG_fail;
16574 }
16575 {
16576 wxPoint * resultptr;
16577 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 16578 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
16579 }
16580 return resultobj;
16581 fail:
16582 return NULL;
16583}
16584
16585
16586static PyObject *_wrap_MoveEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16587 PyObject *resultobj;
16588 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16589 wxRect result;
16590 PyObject * obj0 = 0 ;
16591 char *kwnames[] = {
16592 (char *) "self", NULL
16593 };
16594
16595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16598 {
16599 PyThreadState* __tstate = wxPyBeginAllowThreads();
16600 result = ((wxMoveEvent const *)arg1)->GetRect();
16601
16602 wxPyEndAllowThreads(__tstate);
16603 if (PyErr_Occurred()) SWIG_fail;
16604 }
16605 {
16606 wxRect * resultptr;
16607 resultptr = new wxRect((wxRect &) result);
2f4c0a16 16608 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
16609 }
16610 return resultobj;
16611 fail:
16612 return NULL;
16613}
16614
16615
16616static PyObject *_wrap_MoveEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16617 PyObject *resultobj;
16618 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16619 wxRect arg2 ;
16620 wxRect *argp2 ;
16621 PyObject * obj0 = 0 ;
16622 PyObject * obj1 = 0 ;
16623 char *kwnames[] = {
16624 (char *) "self",(char *) "rect", NULL
16625 };
16626
16627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16630 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16631 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16632 arg2 = *argp2;
d14a1e28
RD
16633 {
16634 PyThreadState* __tstate = wxPyBeginAllowThreads();
16635 (arg1)->SetRect(arg2);
16636
16637 wxPyEndAllowThreads(__tstate);
16638 if (PyErr_Occurred()) SWIG_fail;
16639 }
16640 Py_INCREF(Py_None); resultobj = Py_None;
16641 return resultobj;
16642 fail:
16643 return NULL;
16644}
16645
16646
16647static PyObject *_wrap_MoveEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16648 PyObject *resultobj;
16649 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16650 wxPoint arg2 ;
16651 wxPoint *argp2 ;
16652 PyObject * obj0 = 0 ;
16653 PyObject * obj1 = 0 ;
16654 char *kwnames[] = {
16655 (char *) "self",(char *) "pos", NULL
16656 };
16657
16658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16661 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
16662 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16663 arg2 = *argp2;
d14a1e28
RD
16664 {
16665 PyThreadState* __tstate = wxPyBeginAllowThreads();
16666 wxMoveEvent_SetPosition(arg1,arg2);
16667
16668 wxPyEndAllowThreads(__tstate);
16669 if (PyErr_Occurred()) SWIG_fail;
16670 }
16671 Py_INCREF(Py_None); resultobj = Py_None;
16672 return resultobj;
16673 fail:
16674 return NULL;
16675}
16676
16677
16678static PyObject *_wrap_MoveEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16679 PyObject *resultobj;
16680 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16681 wxPoint *arg2 = (wxPoint *) 0 ;
16682 PyObject * obj0 = 0 ;
16683 PyObject * obj1 = 0 ;
16684 char *kwnames[] = {
16685 (char *) "self",(char *) "m_pos", NULL
16686 };
16687
16688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16691 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
16692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16693 if (arg1) (arg1)->m_pos = *arg2;
16694
16695 Py_INCREF(Py_None); resultobj = Py_None;
16696 return resultobj;
16697 fail:
16698 return NULL;
16699}
16700
16701
16702static PyObject *_wrap_MoveEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16703 PyObject *resultobj;
16704 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16705 wxPoint *result;
16706 PyObject * obj0 = 0 ;
16707 char *kwnames[] = {
16708 (char *) "self", NULL
16709 };
16710
16711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_pos_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16714 result = (wxPoint *)& ((arg1)->m_pos);
16715
2f4c0a16 16716 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
16717 return resultobj;
16718 fail:
16719 return NULL;
16720}
16721
16722
16723static PyObject *_wrap_MoveEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16724 PyObject *resultobj;
16725 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16726 wxRect *arg2 = (wxRect *) 0 ;
16727 PyObject * obj0 = 0 ;
16728 PyObject * obj1 = 0 ;
16729 char *kwnames[] = {
16730 (char *) "self",(char *) "m_rect", NULL
16731 };
16732
16733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16736 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16738 if (arg1) (arg1)->m_rect = *arg2;
16739
16740 Py_INCREF(Py_None); resultobj = Py_None;
16741 return resultobj;
16742 fail:
16743 return NULL;
16744}
16745
16746
16747static PyObject *_wrap_MoveEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16748 PyObject *resultobj;
16749 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16750 wxRect *result;
16751 PyObject * obj0 = 0 ;
16752 char *kwnames[] = {
16753 (char *) "self", NULL
16754 };
16755
16756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_rect_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16759 result = (wxRect *)& ((arg1)->m_rect);
16760
2f4c0a16 16761 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
16762 return resultobj;
16763 fail:
16764 return NULL;
16765}
16766
16767
16768static PyObject * MoveEvent_swigregister(PyObject *self, PyObject *args) {
16769 PyObject *obj;
16770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16771 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj);
16772 Py_INCREF(obj);
16773 return Py_BuildValue((char *)"");
16774}
16775static PyObject *_wrap_new_PaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16776 PyObject *resultobj;
16777 int arg1 = (int) 0 ;
16778 wxPaintEvent *result;
8edf1c75 16779 PyObject * obj0 = 0 ;
d14a1e28
RD
16780 char *kwnames[] = {
16781 (char *) "Id", NULL
16782 };
16783
8edf1c75
RD
16784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaintEvent",kwnames,&obj0)) goto fail;
16785 if (obj0) {
2f4c0a16
RD
16786 arg1 = (int) SWIG_AsInt(obj0);
16787 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16788 }
d14a1e28
RD
16789 {
16790 PyThreadState* __tstate = wxPyBeginAllowThreads();
16791 result = (wxPaintEvent *)new wxPaintEvent(arg1);
16792
16793 wxPyEndAllowThreads(__tstate);
16794 if (PyErr_Occurred()) SWIG_fail;
16795 }
2f4c0a16 16796 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaintEvent, 1);
d14a1e28
RD
16797 return resultobj;
16798 fail:
16799 return NULL;
16800}
16801
16802
16803static PyObject * PaintEvent_swigregister(PyObject *self, PyObject *args) {
16804 PyObject *obj;
16805 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16806 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj);
16807 Py_INCREF(obj);
16808 return Py_BuildValue((char *)"");
16809}
16810static PyObject *_wrap_new_NcPaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16811 PyObject *resultobj;
16812 int arg1 = (int) 0 ;
16813 wxNcPaintEvent *result;
8edf1c75 16814 PyObject * obj0 = 0 ;
d14a1e28
RD
16815 char *kwnames[] = {
16816 (char *) "winid", NULL
16817 };
16818
8edf1c75
RD
16819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_NcPaintEvent",kwnames,&obj0)) goto fail;
16820 if (obj0) {
2f4c0a16
RD
16821 arg1 = (int) SWIG_AsInt(obj0);
16822 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16823 }
d14a1e28
RD
16824 {
16825 PyThreadState* __tstate = wxPyBeginAllowThreads();
16826 result = (wxNcPaintEvent *)new wxNcPaintEvent(arg1);
16827
16828 wxPyEndAllowThreads(__tstate);
16829 if (PyErr_Occurred()) SWIG_fail;
16830 }
2f4c0a16 16831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNcPaintEvent, 1);
d14a1e28
RD
16832 return resultobj;
16833 fail:
16834 return NULL;
16835}
16836
16837
16838static PyObject * NcPaintEvent_swigregister(PyObject *self, PyObject *args) {
16839 PyObject *obj;
16840 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16841 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj);
16842 Py_INCREF(obj);
16843 return Py_BuildValue((char *)"");
16844}
16845static PyObject *_wrap_new_EraseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16846 PyObject *resultobj;
16847 int arg1 = (int) 0 ;
16848 wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
16849 wxEraseEvent *result;
8edf1c75 16850 PyObject * obj0 = 0 ;
d14a1e28
RD
16851 PyObject * obj1 = 0 ;
16852 char *kwnames[] = {
16853 (char *) "Id",(char *) "dc", NULL
16854 };
16855
8edf1c75
RD
16856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_EraseEvent",kwnames,&obj0,&obj1)) goto fail;
16857 if (obj0) {
2f4c0a16
RD
16858 arg1 = (int) SWIG_AsInt(obj0);
16859 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16860 }
d14a1e28 16861 if (obj1) {
2f4c0a16
RD
16862 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16864 }
16865 {
16866 PyThreadState* __tstate = wxPyBeginAllowThreads();
16867 result = (wxEraseEvent *)new wxEraseEvent(arg1,arg2);
16868
16869 wxPyEndAllowThreads(__tstate);
16870 if (PyErr_Occurred()) SWIG_fail;
16871 }
2f4c0a16 16872 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEraseEvent, 1);
d14a1e28
RD
16873 return resultobj;
16874 fail:
16875 return NULL;
16876}
16877
16878
16879static PyObject *_wrap_EraseEvent_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
16880 PyObject *resultobj;
16881 wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
16882 wxDC *result;
16883 PyObject * obj0 = 0 ;
16884 char *kwnames[] = {
16885 (char *) "self", NULL
16886 };
16887
16888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEraseEvent,
16890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16891 {
16892 PyThreadState* __tstate = wxPyBeginAllowThreads();
16893 result = (wxDC *)((wxEraseEvent const *)arg1)->GetDC();
16894
16895 wxPyEndAllowThreads(__tstate);
16896 if (PyErr_Occurred()) SWIG_fail;
16897 }
16898 {
16899 resultobj = wxPyMake_wxObject(result);
16900 }
16901 return resultobj;
16902 fail:
16903 return NULL;
16904}
16905
16906
16907static PyObject * EraseEvent_swigregister(PyObject *self, PyObject *args) {
16908 PyObject *obj;
16909 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16910 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj);
16911 Py_INCREF(obj);
16912 return Py_BuildValue((char *)"");
16913}
16914static PyObject *_wrap_new_FocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16915 PyObject *resultobj;
16916 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16917 int arg2 = (int) 0 ;
16918 wxFocusEvent *result;
8edf1c75
RD
16919 PyObject * obj0 = 0 ;
16920 PyObject * obj1 = 0 ;
d14a1e28
RD
16921 char *kwnames[] = {
16922 (char *) "type",(char *) "winid", NULL
16923 };
16924
8edf1c75
RD
16925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FocusEvent",kwnames,&obj0,&obj1)) goto fail;
16926 if (obj0) {
2f4c0a16
RD
16927 arg1 = (wxEventType) SWIG_AsInt(obj0);
16928 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16929 }
16930 if (obj1) {
2f4c0a16
RD
16931 arg2 = (int) SWIG_AsInt(obj1);
16932 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16933 }
d14a1e28
RD
16934 {
16935 PyThreadState* __tstate = wxPyBeginAllowThreads();
16936 result = (wxFocusEvent *)new wxFocusEvent(arg1,arg2);
16937
16938 wxPyEndAllowThreads(__tstate);
16939 if (PyErr_Occurred()) SWIG_fail;
16940 }
2f4c0a16 16941 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFocusEvent, 1);
d14a1e28
RD
16942 return resultobj;
16943 fail:
16944 return NULL;
16945}
16946
16947
16948static PyObject *_wrap_FocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16949 PyObject *resultobj;
16950 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
16951 wxWindow *result;
16952 PyObject * obj0 = 0 ;
16953 char *kwnames[] = {
16954 (char *) "self", NULL
16955 };
16956
16957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
16959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16960 {
16961 PyThreadState* __tstate = wxPyBeginAllowThreads();
16962 result = (wxWindow *)((wxFocusEvent const *)arg1)->GetWindow();
16963
16964 wxPyEndAllowThreads(__tstate);
16965 if (PyErr_Occurred()) SWIG_fail;
16966 }
16967 {
16968 resultobj = wxPyMake_wxObject(result);
16969 }
16970 return resultobj;
16971 fail:
16972 return NULL;
16973}
16974
16975
16976static PyObject *_wrap_FocusEvent_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16977 PyObject *resultobj;
16978 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
16979 wxWindow *arg2 = (wxWindow *) 0 ;
16980 PyObject * obj0 = 0 ;
16981 PyObject * obj1 = 0 ;
16982 char *kwnames[] = {
16983 (char *) "self",(char *) "win", NULL
16984 };
16985
16986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
16988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16989 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16991 {
16992 PyThreadState* __tstate = wxPyBeginAllowThreads();
16993 (arg1)->SetWindow(arg2);
16994
16995 wxPyEndAllowThreads(__tstate);
16996 if (PyErr_Occurred()) SWIG_fail;
16997 }
16998 Py_INCREF(Py_None); resultobj = Py_None;
16999 return resultobj;
17000 fail:
17001 return NULL;
17002}
17003
17004
17005static PyObject * FocusEvent_swigregister(PyObject *self, PyObject *args) {
17006 PyObject *obj;
17007 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17008 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj);
17009 Py_INCREF(obj);
17010 return Py_BuildValue((char *)"");
17011}
17012static PyObject *_wrap_new_ChildFocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17013 PyObject *resultobj;
17014 wxWindow *arg1 = (wxWindow *) NULL ;
17015 wxChildFocusEvent *result;
17016 PyObject * obj0 = 0 ;
17017 char *kwnames[] = {
17018 (char *) "win", NULL
17019 };
17020
17021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail;
17022 if (obj0) {
2f4c0a16
RD
17023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17025 }
17026 {
17027 PyThreadState* __tstate = wxPyBeginAllowThreads();
17028 result = (wxChildFocusEvent *)new wxChildFocusEvent(arg1);
17029
17030 wxPyEndAllowThreads(__tstate);
17031 if (PyErr_Occurred()) SWIG_fail;
17032 }
2f4c0a16 17033 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChildFocusEvent, 1);
d14a1e28
RD
17034 return resultobj;
17035 fail:
17036 return NULL;
17037}
17038
17039
17040static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17041 PyObject *resultobj;
17042 wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
17043 wxWindow *result;
17044 PyObject * obj0 = 0 ;
17045 char *kwnames[] = {
17046 (char *) "self", NULL
17047 };
17048
17049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChildFocusEvent,
17051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17052 {
17053 PyThreadState* __tstate = wxPyBeginAllowThreads();
17054 result = (wxWindow *)((wxChildFocusEvent const *)arg1)->GetWindow();
17055
17056 wxPyEndAllowThreads(__tstate);
17057 if (PyErr_Occurred()) SWIG_fail;
17058 }
17059 {
17060 resultobj = wxPyMake_wxObject(result);
17061 }
17062 return resultobj;
17063 fail:
17064 return NULL;
17065}
17066
17067
17068static PyObject * ChildFocusEvent_swigregister(PyObject *self, PyObject *args) {
17069 PyObject *obj;
17070 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17071 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj);
17072 Py_INCREF(obj);
17073 return Py_BuildValue((char *)"");
17074}
17075static PyObject *_wrap_new_ActivateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17076 PyObject *resultobj;
17077 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
423f194a 17078 bool arg2 = (bool) True ;
d14a1e28
RD
17079 int arg3 = (int) 0 ;
17080 wxActivateEvent *result;
8edf1c75 17081 PyObject * obj0 = 0 ;
d14a1e28 17082 PyObject * obj1 = 0 ;
8edf1c75 17083 PyObject * obj2 = 0 ;
d14a1e28
RD
17084 char *kwnames[] = {
17085 (char *) "type",(char *) "active",(char *) "Id", NULL
17086 };
17087
8edf1c75
RD
17088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ActivateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17089 if (obj0) {
2f4c0a16
RD
17090 arg1 = (wxEventType) SWIG_AsInt(obj0);
17091 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17092 }
d14a1e28 17093 if (obj1) {
2f4c0a16
RD
17094 arg2 = (bool) SWIG_AsBool(obj1);
17095 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17096 }
17097 if (obj2) {
2f4c0a16
RD
17098 arg3 = (int) SWIG_AsInt(obj2);
17099 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17100 }
17101 {
17102 PyThreadState* __tstate = wxPyBeginAllowThreads();
17103 result = (wxActivateEvent *)new wxActivateEvent(arg1,arg2,arg3);
17104
17105 wxPyEndAllowThreads(__tstate);
17106 if (PyErr_Occurred()) SWIG_fail;
17107 }
2f4c0a16 17108 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxActivateEvent, 1);
d14a1e28
RD
17109 return resultobj;
17110 fail:
17111 return NULL;
17112}
17113
17114
17115static PyObject *_wrap_ActivateEvent_GetActive(PyObject *self, PyObject *args, PyObject *kwargs) {
17116 PyObject *resultobj;
17117 wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
17118 bool result;
17119 PyObject * obj0 = 0 ;
17120 char *kwnames[] = {
17121 (char *) "self", NULL
17122 };
17123
17124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxActivateEvent,
17126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17127 {
17128 PyThreadState* __tstate = wxPyBeginAllowThreads();
17129 result = (bool)((wxActivateEvent const *)arg1)->GetActive();
17130
17131 wxPyEndAllowThreads(__tstate);
17132 if (PyErr_Occurred()) SWIG_fail;
17133 }
4f89f6a3
RD
17134 {
17135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17136 }
d14a1e28
RD
17137 return resultobj;
17138 fail:
17139 return NULL;
17140}
17141
17142
17143static PyObject * ActivateEvent_swigregister(PyObject *self, PyObject *args) {
17144 PyObject *obj;
17145 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17146 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj);
17147 Py_INCREF(obj);
17148 return Py_BuildValue((char *)"");
17149}
17150static PyObject *_wrap_new_InitDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17151 PyObject *resultobj;
17152 int arg1 = (int) 0 ;
17153 wxInitDialogEvent *result;
8edf1c75 17154 PyObject * obj0 = 0 ;
d14a1e28
RD
17155 char *kwnames[] = {
17156 (char *) "Id", NULL
17157 };
17158
8edf1c75
RD
17159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_InitDialogEvent",kwnames,&obj0)) goto fail;
17160 if (obj0) {
2f4c0a16
RD
17161 arg1 = (int) SWIG_AsInt(obj0);
17162 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17163 }
d14a1e28
RD
17164 {
17165 PyThreadState* __tstate = wxPyBeginAllowThreads();
17166 result = (wxInitDialogEvent *)new wxInitDialogEvent(arg1);
17167
17168 wxPyEndAllowThreads(__tstate);
17169 if (PyErr_Occurred()) SWIG_fail;
17170 }
2f4c0a16 17171 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInitDialogEvent, 1);
d14a1e28
RD
17172 return resultobj;
17173 fail:
17174 return NULL;
17175}
17176
17177
17178static PyObject * InitDialogEvent_swigregister(PyObject *self, PyObject *args) {
17179 PyObject *obj;
17180 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17181 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj);
17182 Py_INCREF(obj);
17183 return Py_BuildValue((char *)"");
17184}
17185static PyObject *_wrap_new_MenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17186 PyObject *resultobj;
17187 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17188 int arg2 = (int) 0 ;
17189 wxMenu *arg3 = (wxMenu *) NULL ;
17190 wxMenuEvent *result;
8edf1c75
RD
17191 PyObject * obj0 = 0 ;
17192 PyObject * obj1 = 0 ;
d14a1e28
RD
17193 PyObject * obj2 = 0 ;
17194 char *kwnames[] = {
17195 (char *) "type",(char *) "winid",(char *) "menu", NULL
17196 };
17197
8edf1c75
RD
17198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_MenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17199 if (obj0) {
2f4c0a16
RD
17200 arg1 = (wxEventType) SWIG_AsInt(obj0);
17201 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17202 }
17203 if (obj1) {
2f4c0a16
RD
17204 arg2 = (int) SWIG_AsInt(obj1);
17205 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17206 }
d14a1e28 17207 if (obj2) {
2f4c0a16
RD
17208 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
17209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17210 }
17211 {
17212 PyThreadState* __tstate = wxPyBeginAllowThreads();
17213 result = (wxMenuEvent *)new wxMenuEvent(arg1,arg2,arg3);
17214
17215 wxPyEndAllowThreads(__tstate);
17216 if (PyErr_Occurred()) SWIG_fail;
17217 }
2f4c0a16 17218 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenuEvent, 1);
d14a1e28
RD
17219 return resultobj;
17220 fail:
17221 return NULL;
17222}
17223
17224
17225static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *self, PyObject *args, PyObject *kwargs) {
17226 PyObject *resultobj;
17227 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17228 int result;
17229 PyObject * obj0 = 0 ;
17230 char *kwnames[] = {
17231 (char *) "self", NULL
17232 };
17233
17234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17237 {
17238 PyThreadState* __tstate = wxPyBeginAllowThreads();
17239 result = (int)((wxMenuEvent const *)arg1)->GetMenuId();
17240
17241 wxPyEndAllowThreads(__tstate);
17242 if (PyErr_Occurred()) SWIG_fail;
17243 }
2f4c0a16 17244 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17245 return resultobj;
17246 fail:
17247 return NULL;
17248}
17249
17250
17251static PyObject *_wrap_MenuEvent_IsPopup(PyObject *self, PyObject *args, PyObject *kwargs) {
17252 PyObject *resultobj;
17253 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17254 bool result;
17255 PyObject * obj0 = 0 ;
17256 char *kwnames[] = {
17257 (char *) "self", NULL
17258 };
17259
17260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17263 {
17264 PyThreadState* __tstate = wxPyBeginAllowThreads();
17265 result = (bool)((wxMenuEvent const *)arg1)->IsPopup();
17266
17267 wxPyEndAllowThreads(__tstate);
17268 if (PyErr_Occurred()) SWIG_fail;
17269 }
4f89f6a3
RD
17270 {
17271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17272 }
d14a1e28
RD
17273 return resultobj;
17274 fail:
17275 return NULL;
17276}
17277
17278
17279static PyObject *_wrap_MenuEvent_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
17280 PyObject *resultobj;
17281 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17282 wxMenu *result;
17283 PyObject * obj0 = 0 ;
17284 char *kwnames[] = {
17285 (char *) "self", NULL
17286 };
17287
17288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17291 {
17292 PyThreadState* __tstate = wxPyBeginAllowThreads();
17293 result = (wxMenu *)((wxMenuEvent const *)arg1)->GetMenu();
17294
17295 wxPyEndAllowThreads(__tstate);
17296 if (PyErr_Occurred()) SWIG_fail;
17297 }
17298 {
17299 resultobj = wxPyMake_wxObject(result);
17300 }
17301 return resultobj;
17302 fail:
17303 return NULL;
17304}
17305
17306
17307static PyObject * MenuEvent_swigregister(PyObject *self, PyObject *args) {
17308 PyObject *obj;
17309 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17310 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj);
17311 Py_INCREF(obj);
17312 return Py_BuildValue((char *)"");
17313}
17314static PyObject *_wrap_new_CloseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17315 PyObject *resultobj;
17316 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17317 int arg2 = (int) 0 ;
17318 wxCloseEvent *result;
8edf1c75
RD
17319 PyObject * obj0 = 0 ;
17320 PyObject * obj1 = 0 ;
d14a1e28
RD
17321 char *kwnames[] = {
17322 (char *) "type",(char *) "winid", NULL
17323 };
17324
8edf1c75
RD
17325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CloseEvent",kwnames,&obj0,&obj1)) goto fail;
17326 if (obj0) {
2f4c0a16
RD
17327 arg1 = (wxEventType) SWIG_AsInt(obj0);
17328 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17329 }
17330 if (obj1) {
2f4c0a16
RD
17331 arg2 = (int) SWIG_AsInt(obj1);
17332 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17333 }
d14a1e28
RD
17334 {
17335 PyThreadState* __tstate = wxPyBeginAllowThreads();
17336 result = (wxCloseEvent *)new wxCloseEvent(arg1,arg2);
17337
17338 wxPyEndAllowThreads(__tstate);
17339 if (PyErr_Occurred()) SWIG_fail;
17340 }
2f4c0a16 17341 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCloseEvent, 1);
d14a1e28
RD
17342 return resultobj;
17343 fail:
17344 return NULL;
17345}
17346
17347
17348static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
17349 PyObject *resultobj;
17350 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17351 bool arg2 ;
17352 PyObject * obj0 = 0 ;
17353 PyObject * obj1 = 0 ;
17354 char *kwnames[] = {
17355 (char *) "self",(char *) "logOff", NULL
17356 };
17357
17358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17361 arg2 = (bool) SWIG_AsBool(obj1);
17362 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17363 {
17364 PyThreadState* __tstate = wxPyBeginAllowThreads();
17365 (arg1)->SetLoggingOff(arg2);
17366
17367 wxPyEndAllowThreads(__tstate);
17368 if (PyErr_Occurred()) SWIG_fail;
17369 }
17370 Py_INCREF(Py_None); resultobj = Py_None;
17371 return resultobj;
17372 fail:
17373 return NULL;
17374}
17375
17376
17377static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
17378 PyObject *resultobj;
17379 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17380 bool result;
17381 PyObject * obj0 = 0 ;
17382 char *kwnames[] = {
17383 (char *) "self", NULL
17384 };
17385
17386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17389 {
17390 PyThreadState* __tstate = wxPyBeginAllowThreads();
17391 result = (bool)((wxCloseEvent const *)arg1)->GetLoggingOff();
17392
17393 wxPyEndAllowThreads(__tstate);
17394 if (PyErr_Occurred()) SWIG_fail;
17395 }
4f89f6a3
RD
17396 {
17397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17398 }
d14a1e28
RD
17399 return resultobj;
17400 fail:
17401 return NULL;
17402}
17403
17404
17405static PyObject *_wrap_CloseEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
17406 PyObject *resultobj;
17407 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
423f194a 17408 bool arg2 = (bool) True ;
d14a1e28
RD
17409 PyObject * obj0 = 0 ;
17410 PyObject * obj1 = 0 ;
17411 char *kwnames[] = {
17412 (char *) "self",(char *) "veto", NULL
17413 };
17414
17415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 17418 if (obj1) {
2f4c0a16
RD
17419 arg2 = (bool) SWIG_AsBool(obj1);
17420 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17421 }
17422 {
17423 PyThreadState* __tstate = wxPyBeginAllowThreads();
17424 (arg1)->Veto(arg2);
17425
17426 wxPyEndAllowThreads(__tstate);
17427 if (PyErr_Occurred()) SWIG_fail;
17428 }
17429 Py_INCREF(Py_None); resultobj = Py_None;
17430 return resultobj;
17431 fail:
17432 return NULL;
17433}
17434
17435
17436static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17437 PyObject *resultobj;
17438 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17439 bool arg2 ;
17440 PyObject * obj0 = 0 ;
17441 PyObject * obj1 = 0 ;
17442 char *kwnames[] = {
17443 (char *) "self",(char *) "canVeto", NULL
17444 };
17445
17446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17449 arg2 = (bool) SWIG_AsBool(obj1);
17450 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17451 {
17452 PyThreadState* __tstate = wxPyBeginAllowThreads();
17453 (arg1)->SetCanVeto(arg2);
17454
17455 wxPyEndAllowThreads(__tstate);
17456 if (PyErr_Occurred()) SWIG_fail;
17457 }
17458 Py_INCREF(Py_None); resultobj = Py_None;
17459 return resultobj;
17460 fail:
17461 return NULL;
17462}
17463
17464
17465static PyObject *_wrap_CloseEvent_CanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17466 PyObject *resultobj;
17467 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17468 bool result;
17469 PyObject * obj0 = 0 ;
17470 char *kwnames[] = {
17471 (char *) "self", NULL
17472 };
17473
17474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17477 {
17478 PyThreadState* __tstate = wxPyBeginAllowThreads();
17479 result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
17480
17481 wxPyEndAllowThreads(__tstate);
17482 if (PyErr_Occurred()) SWIG_fail;
17483 }
4f89f6a3
RD
17484 {
17485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17486 }
d14a1e28
RD
17487 return resultobj;
17488 fail:
17489 return NULL;
17490}
17491
17492
17493static PyObject *_wrap_CloseEvent_GetVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17494 PyObject *resultobj;
17495 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17496 bool result;
17497 PyObject * obj0 = 0 ;
17498 char *kwnames[] = {
17499 (char *) "self", NULL
17500 };
17501
17502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17505 {
17506 PyThreadState* __tstate = wxPyBeginAllowThreads();
17507 result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
17508
17509 wxPyEndAllowThreads(__tstate);
17510 if (PyErr_Occurred()) SWIG_fail;
17511 }
4f89f6a3
RD
17512 {
17513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17514 }
d14a1e28
RD
17515 return resultobj;
17516 fail:
17517 return NULL;
17518}
17519
17520
17521static PyObject * CloseEvent_swigregister(PyObject *self, PyObject *args) {
17522 PyObject *obj;
17523 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17524 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj);
17525 Py_INCREF(obj);
17526 return Py_BuildValue((char *)"");
17527}
17528static PyObject *_wrap_new_ShowEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17529 PyObject *resultobj;
17530 int arg1 = (int) 0 ;
423f194a 17531 bool arg2 = (bool) False ;
d14a1e28 17532 wxShowEvent *result;
8edf1c75 17533 PyObject * obj0 = 0 ;
d14a1e28
RD
17534 PyObject * obj1 = 0 ;
17535 char *kwnames[] = {
17536 (char *) "winid",(char *) "show", NULL
17537 };
17538
8edf1c75
RD
17539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ShowEvent",kwnames,&obj0,&obj1)) goto fail;
17540 if (obj0) {
2f4c0a16
RD
17541 arg1 = (int) SWIG_AsInt(obj0);
17542 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17543 }
d14a1e28 17544 if (obj1) {
2f4c0a16
RD
17545 arg2 = (bool) SWIG_AsBool(obj1);
17546 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17547 }
17548 {
17549 PyThreadState* __tstate = wxPyBeginAllowThreads();
17550 result = (wxShowEvent *)new wxShowEvent(arg1,arg2);
17551
17552 wxPyEndAllowThreads(__tstate);
17553 if (PyErr_Occurred()) SWIG_fail;
17554 }
2f4c0a16 17555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxShowEvent, 1);
d14a1e28
RD
17556 return resultobj;
17557 fail:
17558 return NULL;
17559}
17560
17561
17562static PyObject *_wrap_ShowEvent_SetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
17563 PyObject *resultobj;
17564 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17565 bool arg2 ;
17566 PyObject * obj0 = 0 ;
17567 PyObject * obj1 = 0 ;
17568 char *kwnames[] = {
17569 (char *) "self",(char *) "show", NULL
17570 };
17571
17572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17575 arg2 = (bool) SWIG_AsBool(obj1);
17576 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17577 {
17578 PyThreadState* __tstate = wxPyBeginAllowThreads();
17579 (arg1)->SetShow(arg2);
17580
17581 wxPyEndAllowThreads(__tstate);
17582 if (PyErr_Occurred()) SWIG_fail;
17583 }
17584 Py_INCREF(Py_None); resultobj = Py_None;
17585 return resultobj;
17586 fail:
17587 return NULL;
17588}
17589
17590
17591static PyObject *_wrap_ShowEvent_GetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
17592 PyObject *resultobj;
17593 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17594 bool result;
17595 PyObject * obj0 = 0 ;
17596 char *kwnames[] = {
17597 (char *) "self", NULL
17598 };
17599
17600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17603 {
17604 PyThreadState* __tstate = wxPyBeginAllowThreads();
17605 result = (bool)((wxShowEvent const *)arg1)->GetShow();
17606
17607 wxPyEndAllowThreads(__tstate);
17608 if (PyErr_Occurred()) SWIG_fail;
17609 }
4f89f6a3
RD
17610 {
17611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17612 }
d14a1e28
RD
17613 return resultobj;
17614 fail:
17615 return NULL;
17616}
17617
17618
17619static PyObject * ShowEvent_swigregister(PyObject *self, PyObject *args) {
17620 PyObject *obj;
17621 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17622 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj);
17623 Py_INCREF(obj);
17624 return Py_BuildValue((char *)"");
17625}
17626static PyObject *_wrap_new_IconizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17627 PyObject *resultobj;
17628 int arg1 = (int) 0 ;
423f194a 17629 bool arg2 = (bool) True ;
d14a1e28 17630 wxIconizeEvent *result;
8edf1c75 17631 PyObject * obj0 = 0 ;
d14a1e28
RD
17632 PyObject * obj1 = 0 ;
17633 char *kwnames[] = {
17634 (char *) "id",(char *) "iconized", NULL
17635 };
17636
8edf1c75
RD
17637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconizeEvent",kwnames,&obj0,&obj1)) goto fail;
17638 if (obj0) {
2f4c0a16
RD
17639 arg1 = (int) SWIG_AsInt(obj0);
17640 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17641 }
d14a1e28 17642 if (obj1) {
2f4c0a16
RD
17643 arg2 = (bool) SWIG_AsBool(obj1);
17644 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17645 }
17646 {
17647 PyThreadState* __tstate = wxPyBeginAllowThreads();
17648 result = (wxIconizeEvent *)new wxIconizeEvent(arg1,arg2);
17649
17650 wxPyEndAllowThreads(__tstate);
17651 if (PyErr_Occurred()) SWIG_fail;
17652 }
2f4c0a16 17653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconizeEvent, 1);
d14a1e28
RD
17654 return resultobj;
17655 fail:
17656 return NULL;
17657}
17658
17659
17660static PyObject *_wrap_IconizeEvent_Iconized(PyObject *self, PyObject *args, PyObject *kwargs) {
17661 PyObject *resultobj;
17662 wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
17663 bool result;
17664 PyObject * obj0 = 0 ;
17665 char *kwnames[] = {
17666 (char *) "self", NULL
17667 };
17668
17669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconizeEvent,
17671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17672 {
17673 PyThreadState* __tstate = wxPyBeginAllowThreads();
17674 result = (bool)(arg1)->Iconized();
17675
17676 wxPyEndAllowThreads(__tstate);
17677 if (PyErr_Occurred()) SWIG_fail;
17678 }
4f89f6a3
RD
17679 {
17680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17681 }
d14a1e28
RD
17682 return resultobj;
17683 fail:
17684 return NULL;
17685}
17686
17687
17688static PyObject * IconizeEvent_swigregister(PyObject *self, PyObject *args) {
17689 PyObject *obj;
17690 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17691 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj);
17692 Py_INCREF(obj);
17693 return Py_BuildValue((char *)"");
17694}
17695static PyObject *_wrap_new_MaximizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17696 PyObject *resultobj;
17697 int arg1 = (int) 0 ;
17698 wxMaximizeEvent *result;
8edf1c75 17699 PyObject * obj0 = 0 ;
d14a1e28
RD
17700 char *kwnames[] = {
17701 (char *) "id", NULL
17702 };
17703
8edf1c75
RD
17704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MaximizeEvent",kwnames,&obj0)) goto fail;
17705 if (obj0) {
2f4c0a16
RD
17706 arg1 = (int) SWIG_AsInt(obj0);
17707 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17708 }
d14a1e28
RD
17709 {
17710 PyThreadState* __tstate = wxPyBeginAllowThreads();
17711 result = (wxMaximizeEvent *)new wxMaximizeEvent(arg1);
17712
17713 wxPyEndAllowThreads(__tstate);
17714 if (PyErr_Occurred()) SWIG_fail;
17715 }
2f4c0a16 17716 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMaximizeEvent, 1);
d14a1e28
RD
17717 return resultobj;
17718 fail:
17719 return NULL;
17720}
17721
17722
17723static PyObject * MaximizeEvent_swigregister(PyObject *self, PyObject *args) {
17724 PyObject *obj;
17725 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17726 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj);
17727 Py_INCREF(obj);
17728 return Py_BuildValue((char *)"");
17729}
17730static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17731 PyObject *resultobj;
17732 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17733 wxPoint result;
17734 PyObject * obj0 = 0 ;
17735 char *kwnames[] = {
17736 (char *) "self", NULL
17737 };
17738
17739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17742 {
17743 PyThreadState* __tstate = wxPyBeginAllowThreads();
17744 result = (arg1)->GetPosition();
17745
17746 wxPyEndAllowThreads(__tstate);
17747 if (PyErr_Occurred()) SWIG_fail;
17748 }
17749 {
17750 wxPoint * resultptr;
17751 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 17752 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
17753 }
17754 return resultobj;
17755 fail:
17756 return NULL;
17757}
17758
17759
17760static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
17761 PyObject *resultobj;
17762 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17763 int result;
17764 PyObject * obj0 = 0 ;
17765 char *kwnames[] = {
17766 (char *) "self", NULL
17767 };
17768
17769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17772 {
17773 PyThreadState* __tstate = wxPyBeginAllowThreads();
17774 result = (int)(arg1)->GetNumberOfFiles();
17775
17776 wxPyEndAllowThreads(__tstate);
17777 if (PyErr_Occurred()) SWIG_fail;
17778 }
2f4c0a16 17779 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17780 return resultobj;
17781 fail:
17782 return NULL;
17783}
17784
17785
17786static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
17787 PyObject *resultobj;
17788 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17789 PyObject *result;
17790 PyObject * obj0 = 0 ;
17791 char *kwnames[] = {
17792 (char *) "self", NULL
17793 };
17794
17795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17798 {
17799 PyThreadState* __tstate = wxPyBeginAllowThreads();
17800 result = (PyObject *)wxDropFilesEvent_GetFiles(arg1);
17801
17802 wxPyEndAllowThreads(__tstate);
17803 if (PyErr_Occurred()) SWIG_fail;
17804 }
17805 resultobj = result;
17806 return resultobj;
17807 fail:
17808 return NULL;
17809}
17810
17811
17812static PyObject * DropFilesEvent_swigregister(PyObject *self, PyObject *args) {
17813 PyObject *obj;
17814 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17815 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj);
17816 Py_INCREF(obj);
17817 return Py_BuildValue((char *)"");
17818}
17819static PyObject *_wrap_new_UpdateUIEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17820 PyObject *resultobj;
423f194a 17821 int arg1 = (int) 0 ;
d14a1e28 17822 wxUpdateUIEvent *result;
8edf1c75 17823 PyObject * obj0 = 0 ;
d14a1e28
RD
17824 char *kwnames[] = {
17825 (char *) "commandId", NULL
17826 };
17827
8edf1c75
RD
17828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_UpdateUIEvent",kwnames,&obj0)) goto fail;
17829 if (obj0) {
2f4c0a16
RD
17830 arg1 = (int) SWIG_AsInt(obj0);
17831 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17832 }
d14a1e28
RD
17833 {
17834 PyThreadState* __tstate = wxPyBeginAllowThreads();
17835 result = (wxUpdateUIEvent *)new wxUpdateUIEvent(arg1);
17836
17837 wxPyEndAllowThreads(__tstate);
17838 if (PyErr_Occurred()) SWIG_fail;
17839 }
2f4c0a16 17840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxUpdateUIEvent, 1);
d14a1e28
RD
17841 return resultobj;
17842 fail:
17843 return NULL;
17844}
17845
17846
17847static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
17848 PyObject *resultobj;
17849 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17850 bool result;
17851 PyObject * obj0 = 0 ;
17852 char *kwnames[] = {
17853 (char *) "self", NULL
17854 };
17855
17856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17859 {
17860 PyThreadState* __tstate = wxPyBeginAllowThreads();
17861 result = (bool)((wxUpdateUIEvent const *)arg1)->GetChecked();
17862
17863 wxPyEndAllowThreads(__tstate);
17864 if (PyErr_Occurred()) SWIG_fail;
17865 }
4f89f6a3
RD
17866 {
17867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17868 }
d14a1e28
RD
17869 return resultobj;
17870 fail:
17871 return NULL;
17872}
17873
17874
17875static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17876 PyObject *resultobj;
17877 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17878 bool result;
17879 PyObject * obj0 = 0 ;
17880 char *kwnames[] = {
17881 (char *) "self", NULL
17882 };
17883
17884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17887 {
17888 PyThreadState* __tstate = wxPyBeginAllowThreads();
17889 result = (bool)((wxUpdateUIEvent const *)arg1)->GetEnabled();
17890
17891 wxPyEndAllowThreads(__tstate);
17892 if (PyErr_Occurred()) SWIG_fail;
17893 }
4f89f6a3
RD
17894 {
17895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17896 }
d14a1e28
RD
17897 return resultobj;
17898 fail:
17899 return NULL;
17900}
17901
17902
17903static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17904 PyObject *resultobj;
17905 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17906 wxString result;
17907 PyObject * obj0 = 0 ;
17908 char *kwnames[] = {
17909 (char *) "self", NULL
17910 };
17911
17912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17915 {
17916 PyThreadState* __tstate = wxPyBeginAllowThreads();
17917 result = ((wxUpdateUIEvent const *)arg1)->GetText();
17918
17919 wxPyEndAllowThreads(__tstate);
17920 if (PyErr_Occurred()) SWIG_fail;
17921 }
17922 {
17923#if wxUSE_UNICODE
17924 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17925#else
17926 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17927#endif
17928 }
17929 return resultobj;
17930 fail:
17931 return NULL;
17932}
17933
17934
17935static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17936 PyObject *resultobj;
17937 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17938 bool result;
17939 PyObject * obj0 = 0 ;
17940 char *kwnames[] = {
17941 (char *) "self", NULL
17942 };
17943
17944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17947 {
17948 PyThreadState* __tstate = wxPyBeginAllowThreads();
17949 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetText();
17950
17951 wxPyEndAllowThreads(__tstate);
17952 if (PyErr_Occurred()) SWIG_fail;
17953 }
4f89f6a3
RD
17954 {
17955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17956 }
d14a1e28
RD
17957 return resultobj;
17958 fail:
17959 return NULL;
17960}
17961
17962
17963static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
17964 PyObject *resultobj;
17965 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17966 bool result;
17967 PyObject * obj0 = 0 ;
17968 char *kwnames[] = {
17969 (char *) "self", NULL
17970 };
17971
17972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17975 {
17976 PyThreadState* __tstate = wxPyBeginAllowThreads();
17977 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetChecked();
17978
17979 wxPyEndAllowThreads(__tstate);
17980 if (PyErr_Occurred()) SWIG_fail;
17981 }
4f89f6a3
RD
17982 {
17983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17984 }
d14a1e28
RD
17985 return resultobj;
17986 fail:
17987 return NULL;
17988}
17989
17990
17991static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17992 PyObject *resultobj;
17993 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17994 bool result;
17995 PyObject * obj0 = 0 ;
17996 char *kwnames[] = {
17997 (char *) "self", NULL
17998 };
17999
18000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18003 {
18004 PyThreadState* __tstate = wxPyBeginAllowThreads();
18005 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetEnabled();
18006
18007 wxPyEndAllowThreads(__tstate);
18008 if (PyErr_Occurred()) SWIG_fail;
18009 }
4f89f6a3
RD
18010 {
18011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18012 }
d14a1e28
RD
18013 return resultobj;
18014 fail:
18015 return NULL;
18016}
18017
18018
18019static PyObject *_wrap_UpdateUIEvent_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
18020 PyObject *resultobj;
18021 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18022 bool arg2 ;
18023 PyObject * obj0 = 0 ;
18024 PyObject * obj1 = 0 ;
18025 char *kwnames[] = {
18026 (char *) "self",(char *) "check", NULL
18027 };
18028
18029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18032 arg2 = (bool) SWIG_AsBool(obj1);
18033 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18034 {
18035 PyThreadState* __tstate = wxPyBeginAllowThreads();
18036 (arg1)->Check(arg2);
18037
18038 wxPyEndAllowThreads(__tstate);
18039 if (PyErr_Occurred()) SWIG_fail;
18040 }
18041 Py_INCREF(Py_None); resultobj = Py_None;
18042 return resultobj;
18043 fail:
18044 return NULL;
18045}
18046
18047
18048static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
18049 PyObject *resultobj;
18050 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18051 bool arg2 ;
18052 PyObject * obj0 = 0 ;
18053 PyObject * obj1 = 0 ;
18054 char *kwnames[] = {
18055 (char *) "self",(char *) "enable", NULL
18056 };
18057
18058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18061 arg2 = (bool) SWIG_AsBool(obj1);
18062 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18063 {
18064 PyThreadState* __tstate = wxPyBeginAllowThreads();
18065 (arg1)->Enable(arg2);
18066
18067 wxPyEndAllowThreads(__tstate);
18068 if (PyErr_Occurred()) SWIG_fail;
18069 }
18070 Py_INCREF(Py_None); resultobj = Py_None;
18071 return resultobj;
18072 fail:
18073 return NULL;
18074}
18075
18076
18077static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18078 PyObject *resultobj;
18079 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18080 wxString *arg2 = 0 ;
423f194a 18081 bool temp2 = False ;
d14a1e28
RD
18082 PyObject * obj0 = 0 ;
18083 PyObject * obj1 = 0 ;
18084 char *kwnames[] = {
18085 (char *) "self",(char *) "text", NULL
18086 };
18087
18088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18091 {
18092 arg2 = wxString_in_helper(obj1);
18093 if (arg2 == NULL) SWIG_fail;
423f194a 18094 temp2 = True;
d14a1e28
RD
18095 }
18096 {
18097 PyThreadState* __tstate = wxPyBeginAllowThreads();
18098 (arg1)->SetText((wxString const &)*arg2);
18099
18100 wxPyEndAllowThreads(__tstate);
18101 if (PyErr_Occurred()) SWIG_fail;
18102 }
18103 Py_INCREF(Py_None); resultobj = Py_None;
18104 {
18105 if (temp2)
18106 delete arg2;
18107 }
18108 return resultobj;
18109 fail:
18110 {
18111 if (temp2)
18112 delete arg2;
18113 }
18114 return NULL;
18115}
18116
18117
18118static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
18119 PyObject *resultobj;
18120 long arg1 ;
8edf1c75 18121 PyObject * obj0 = 0 ;
d14a1e28
RD
18122 char *kwnames[] = {
18123 (char *) "updateInterval", NULL
18124 };
18125
8edf1c75 18126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18127 arg1 = (long) SWIG_AsLong(obj0);
18128 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18129 {
18130 PyThreadState* __tstate = wxPyBeginAllowThreads();
18131 wxUpdateUIEvent::SetUpdateInterval(arg1);
18132
18133 wxPyEndAllowThreads(__tstate);
18134 if (PyErr_Occurred()) SWIG_fail;
18135 }
18136 Py_INCREF(Py_None); resultobj = Py_None;
18137 return resultobj;
18138 fail:
18139 return NULL;
18140}
18141
18142
18143static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
18144 PyObject *resultobj;
18145 long result;
18146 char *kwnames[] = {
18147 NULL
18148 };
18149
18150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail;
18151 {
18152 PyThreadState* __tstate = wxPyBeginAllowThreads();
18153 result = (long)wxUpdateUIEvent::GetUpdateInterval();
18154
18155 wxPyEndAllowThreads(__tstate);
18156 if (PyErr_Occurred()) SWIG_fail;
18157 }
2f4c0a16 18158 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
18159 return resultobj;
18160 fail:
18161 return NULL;
18162}
18163
18164
18165static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *self, PyObject *args, PyObject *kwargs) {
18166 PyObject *resultobj;
18167 wxWindow *arg1 = (wxWindow *) 0 ;
18168 bool result;
18169 PyObject * obj0 = 0 ;
18170 char *kwnames[] = {
18171 (char *) "win", NULL
18172 };
18173
18174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18177 {
18178 PyThreadState* __tstate = wxPyBeginAllowThreads();
18179 result = (bool)wxUpdateUIEvent::CanUpdate(arg1);
18180
18181 wxPyEndAllowThreads(__tstate);
18182 if (PyErr_Occurred()) SWIG_fail;
18183 }
4f89f6a3
RD
18184 {
18185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18186 }
d14a1e28
RD
18187 return resultobj;
18188 fail:
18189 return NULL;
18190}
18191
18192
18193static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18194 PyObject *resultobj;
18195 char *kwnames[] = {
18196 NULL
18197 };
18198
18199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail;
18200 {
18201 PyThreadState* __tstate = wxPyBeginAllowThreads();
18202 wxUpdateUIEvent::ResetUpdateTime();
18203
18204 wxPyEndAllowThreads(__tstate);
18205 if (PyErr_Occurred()) SWIG_fail;
18206 }
18207 Py_INCREF(Py_None); resultobj = Py_None;
18208 return resultobj;
18209 fail:
18210 return NULL;
18211}
18212
18213
18214static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18215 PyObject *resultobj;
18216 int arg1 ;
8edf1c75 18217 PyObject * obj0 = 0 ;
d14a1e28
RD
18218 char *kwnames[] = {
18219 (char *) "mode", NULL
18220 };
18221
8edf1c75 18222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18223 arg1 = (wxUpdateUIMode) SWIG_AsInt(obj0);
18224 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18225 {
18226 PyThreadState* __tstate = wxPyBeginAllowThreads();
18227 wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1);
18228
18229 wxPyEndAllowThreads(__tstate);
18230 if (PyErr_Occurred()) SWIG_fail;
18231 }
18232 Py_INCREF(Py_None); resultobj = Py_None;
18233 return resultobj;
18234 fail:
18235 return NULL;
18236}
18237
18238
18239static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18240 PyObject *resultobj;
18241 int result;
18242 char *kwnames[] = {
18243 NULL
18244 };
18245
18246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail;
18247 {
18248 PyThreadState* __tstate = wxPyBeginAllowThreads();
18249 result = (int)wxUpdateUIEvent::GetMode();
18250
18251 wxPyEndAllowThreads(__tstate);
18252 if (PyErr_Occurred()) SWIG_fail;
18253 }
2f4c0a16 18254 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18255 return resultobj;
18256 fail:
18257 return NULL;
18258}
18259
18260
18261static PyObject * UpdateUIEvent_swigregister(PyObject *self, PyObject *args) {
18262 PyObject *obj;
18263 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18264 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj);
18265 Py_INCREF(obj);
18266 return Py_BuildValue((char *)"");
18267}
18268static PyObject *_wrap_new_SysColourChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18269 PyObject *resultobj;
18270 wxSysColourChangedEvent *result;
18271 char *kwnames[] = {
18272 NULL
18273 };
18274
18275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail;
18276 {
18277 PyThreadState* __tstate = wxPyBeginAllowThreads();
18278 result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent();
18279
18280 wxPyEndAllowThreads(__tstate);
18281 if (PyErr_Occurred()) SWIG_fail;
18282 }
2f4c0a16 18283 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSysColourChangedEvent, 1);
d14a1e28
RD
18284 return resultobj;
18285 fail:
18286 return NULL;
18287}
18288
18289
18290static PyObject * SysColourChangedEvent_swigregister(PyObject *self, PyObject *args) {
18291 PyObject *obj;
18292 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18293 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj);
18294 Py_INCREF(obj);
18295 return Py_BuildValue((char *)"");
18296}
18297static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18298 PyObject *resultobj;
423f194a 18299 int arg1 = (int) 0 ;
d14a1e28
RD
18300 wxWindow *arg2 = (wxWindow *) NULL ;
18301 wxMouseCaptureChangedEvent *result;
8edf1c75 18302 PyObject * obj0 = 0 ;
d14a1e28
RD
18303 PyObject * obj1 = 0 ;
18304 char *kwnames[] = {
18305 (char *) "winid",(char *) "gainedCapture", NULL
18306 };
18307
8edf1c75
RD
18308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames,&obj0,&obj1)) goto fail;
18309 if (obj0) {
2f4c0a16
RD
18310 arg1 = (int) SWIG_AsInt(obj0);
18311 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18312 }
d14a1e28 18313 if (obj1) {
2f4c0a16
RD
18314 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18316 }
18317 {
18318 PyThreadState* __tstate = wxPyBeginAllowThreads();
18319 result = (wxMouseCaptureChangedEvent *)new wxMouseCaptureChangedEvent(arg1,arg2);
18320
18321 wxPyEndAllowThreads(__tstate);
18322 if (PyErr_Occurred()) SWIG_fail;
18323 }
2f4c0a16 18324 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseCaptureChangedEvent, 1);
d14a1e28
RD
18325 return resultobj;
18326 fail:
18327 return NULL;
18328}
18329
18330
18331static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18332 PyObject *resultobj;
18333 wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
18334 wxWindow *result;
18335 PyObject * obj0 = 0 ;
18336 char *kwnames[] = {
18337 (char *) "self", NULL
18338 };
18339
18340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseCaptureChangedEvent,
18342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18343 {
18344 PyThreadState* __tstate = wxPyBeginAllowThreads();
18345 result = (wxWindow *)((wxMouseCaptureChangedEvent const *)arg1)->GetCapturedWindow();
18346
18347 wxPyEndAllowThreads(__tstate);
18348 if (PyErr_Occurred()) SWIG_fail;
18349 }
18350 {
18351 resultobj = wxPyMake_wxObject(result);
18352 }
18353 return resultobj;
18354 fail:
18355 return NULL;
18356}
18357
18358
18359static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *self, PyObject *args) {
18360 PyObject *obj;
18361 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18362 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj);
18363 Py_INCREF(obj);
18364 return Py_BuildValue((char *)"");
18365}
18366static PyObject *_wrap_new_DisplayChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18367 PyObject *resultobj;
18368 wxDisplayChangedEvent *result;
18369 char *kwnames[] = {
18370 NULL
18371 };
18372
18373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail;
18374 {
18375 PyThreadState* __tstate = wxPyBeginAllowThreads();
18376 result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent();
18377
18378 wxPyEndAllowThreads(__tstate);
18379 if (PyErr_Occurred()) SWIG_fail;
18380 }
2f4c0a16 18381 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplayChangedEvent, 1);
d14a1e28
RD
18382 return resultobj;
18383 fail:
18384 return NULL;
18385}
18386
18387
18388static PyObject * DisplayChangedEvent_swigregister(PyObject *self, PyObject *args) {
18389 PyObject *obj;
18390 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18391 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj);
18392 Py_INCREF(obj);
18393 return Py_BuildValue((char *)"");
18394}
18395static PyObject *_wrap_new_PaletteChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18396 PyObject *resultobj;
423f194a 18397 int arg1 = (int) 0 ;
d14a1e28 18398 wxPaletteChangedEvent *result;
8edf1c75 18399 PyObject * obj0 = 0 ;
d14a1e28
RD
18400 char *kwnames[] = {
18401 (char *) "id", NULL
18402 };
18403
8edf1c75
RD
18404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaletteChangedEvent",kwnames,&obj0)) goto fail;
18405 if (obj0) {
2f4c0a16
RD
18406 arg1 = (int) SWIG_AsInt(obj0);
18407 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18408 }
d14a1e28
RD
18409 {
18410 PyThreadState* __tstate = wxPyBeginAllowThreads();
18411 result = (wxPaletteChangedEvent *)new wxPaletteChangedEvent(arg1);
18412
18413 wxPyEndAllowThreads(__tstate);
18414 if (PyErr_Occurred()) SWIG_fail;
18415 }
2f4c0a16 18416 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaletteChangedEvent, 1);
d14a1e28
RD
18417 return resultobj;
18418 fail:
18419 return NULL;
18420}
18421
18422
18423static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18424 PyObject *resultobj;
18425 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18426 wxWindow *arg2 = (wxWindow *) 0 ;
18427 PyObject * obj0 = 0 ;
18428 PyObject * obj1 = 0 ;
18429 char *kwnames[] = {
18430 (char *) "self",(char *) "win", NULL
18431 };
18432
18433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18436 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18438 {
18439 PyThreadState* __tstate = wxPyBeginAllowThreads();
18440 (arg1)->SetChangedWindow(arg2);
18441
18442 wxPyEndAllowThreads(__tstate);
18443 if (PyErr_Occurred()) SWIG_fail;
18444 }
18445 Py_INCREF(Py_None); resultobj = Py_None;
18446 return resultobj;
18447 fail:
18448 return NULL;
18449}
18450
18451
18452static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18453 PyObject *resultobj;
18454 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18455 wxWindow *result;
18456 PyObject * obj0 = 0 ;
18457 char *kwnames[] = {
18458 (char *) "self", NULL
18459 };
18460
18461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18464 {
18465 PyThreadState* __tstate = wxPyBeginAllowThreads();
18466 result = (wxWindow *)(arg1)->GetChangedWindow();
18467
18468 wxPyEndAllowThreads(__tstate);
18469 if (PyErr_Occurred()) SWIG_fail;
18470 }
18471 {
18472 resultobj = wxPyMake_wxObject(result);
18473 }
18474 return resultobj;
18475 fail:
18476 return NULL;
18477}
18478
18479
18480static PyObject * PaletteChangedEvent_swigregister(PyObject *self, PyObject *args) {
18481 PyObject *obj;
18482 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18483 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj);
18484 Py_INCREF(obj);
18485 return Py_BuildValue((char *)"");
18486}
18487static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18488 PyObject *resultobj;
423f194a 18489 int arg1 = (int) 0 ;
d14a1e28 18490 wxQueryNewPaletteEvent *result;
8edf1c75 18491 PyObject * obj0 = 0 ;
d14a1e28
RD
18492 char *kwnames[] = {
18493 (char *) "winid", NULL
18494 };
18495
8edf1c75
RD
18496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryNewPaletteEvent",kwnames,&obj0)) goto fail;
18497 if (obj0) {
2f4c0a16
RD
18498 arg1 = (int) SWIG_AsInt(obj0);
18499 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18500 }
d14a1e28
RD
18501 {
18502 PyThreadState* __tstate = wxPyBeginAllowThreads();
18503 result = (wxQueryNewPaletteEvent *)new wxQueryNewPaletteEvent(arg1);
18504
18505 wxPyEndAllowThreads(__tstate);
18506 if (PyErr_Occurred()) SWIG_fail;
18507 }
2f4c0a16 18508 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryNewPaletteEvent, 1);
d14a1e28
RD
18509 return resultobj;
18510 fail:
18511 return NULL;
18512}
18513
18514
18515static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
18516 PyObject *resultobj;
18517 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18518 bool arg2 ;
18519 PyObject * obj0 = 0 ;
18520 PyObject * obj1 = 0 ;
18521 char *kwnames[] = {
18522 (char *) "self",(char *) "realized", NULL
18523 };
18524
18525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18528 arg2 = (bool) SWIG_AsBool(obj1);
18529 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18530 {
18531 PyThreadState* __tstate = wxPyBeginAllowThreads();
18532 (arg1)->SetPaletteRealized(arg2);
18533
18534 wxPyEndAllowThreads(__tstate);
18535 if (PyErr_Occurred()) SWIG_fail;
18536 }
18537 Py_INCREF(Py_None); resultobj = Py_None;
18538 return resultobj;
18539 fail:
18540 return NULL;
18541}
18542
18543
18544static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
18545 PyObject *resultobj;
18546 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18547 bool result;
18548 PyObject * obj0 = 0 ;
18549 char *kwnames[] = {
18550 (char *) "self", NULL
18551 };
18552
18553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18556 {
18557 PyThreadState* __tstate = wxPyBeginAllowThreads();
18558 result = (bool)((wxQueryNewPaletteEvent const *)arg1)->GetPaletteRealized();
18559
18560 wxPyEndAllowThreads(__tstate);
18561 if (PyErr_Occurred()) SWIG_fail;
18562 }
4f89f6a3
RD
18563 {
18564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18565 }
d14a1e28
RD
18566 return resultobj;
18567 fail:
18568 return NULL;
18569}
18570
18571
18572static PyObject * QueryNewPaletteEvent_swigregister(PyObject *self, PyObject *args) {
18573 PyObject *obj;
18574 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18575 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj);
18576 Py_INCREF(obj);
18577 return Py_BuildValue((char *)"");
18578}
18579static PyObject *_wrap_new_NavigationKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18580 PyObject *resultobj;
18581 wxNavigationKeyEvent *result;
18582 char *kwnames[] = {
18583 NULL
18584 };
18585
18586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail;
18587 {
18588 PyThreadState* __tstate = wxPyBeginAllowThreads();
18589 result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent();
18590
18591 wxPyEndAllowThreads(__tstate);
18592 if (PyErr_Occurred()) SWIG_fail;
18593 }
2f4c0a16 18594 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNavigationKeyEvent, 1);
d14a1e28
RD
18595 return resultobj;
18596 fail:
18597 return NULL;
18598}
18599
18600
18601static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
18602 PyObject *resultobj;
18603 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18604 bool result;
18605 PyObject * obj0 = 0 ;
18606 char *kwnames[] = {
18607 (char *) "self", NULL
18608 };
18609
18610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18613 {
18614 PyThreadState* __tstate = wxPyBeginAllowThreads();
18615 result = (bool)((wxNavigationKeyEvent const *)arg1)->GetDirection();
18616
18617 wxPyEndAllowThreads(__tstate);
18618 if (PyErr_Occurred()) SWIG_fail;
18619 }
4f89f6a3
RD
18620 {
18621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18622 }
d14a1e28
RD
18623 return resultobj;
18624 fail:
18625 return NULL;
18626}
18627
18628
18629static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
18630 PyObject *resultobj;
18631 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18632 bool arg2 ;
18633 PyObject * obj0 = 0 ;
18634 PyObject * obj1 = 0 ;
18635 char *kwnames[] = {
18636 (char *) "self",(char *) "bForward", NULL
18637 };
18638
18639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18642 arg2 = (bool) SWIG_AsBool(obj1);
18643 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18644 {
18645 PyThreadState* __tstate = wxPyBeginAllowThreads();
18646 (arg1)->SetDirection(arg2);
18647
18648 wxPyEndAllowThreads(__tstate);
18649 if (PyErr_Occurred()) SWIG_fail;
18650 }
18651 Py_INCREF(Py_None); resultobj = Py_None;
18652 return resultobj;
18653 fail:
18654 return NULL;
18655}
18656
18657
18658static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
18659 PyObject *resultobj;
18660 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18661 bool result;
18662 PyObject * obj0 = 0 ;
18663 char *kwnames[] = {
18664 (char *) "self", NULL
18665 };
18666
18667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18670 {
18671 PyThreadState* __tstate = wxPyBeginAllowThreads();
18672 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsWindowChange();
18673
18674 wxPyEndAllowThreads(__tstate);
18675 if (PyErr_Occurred()) SWIG_fail;
18676 }
4f89f6a3
RD
18677 {
18678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18679 }
d14a1e28
RD
18680 return resultobj;
18681 fail:
18682 return NULL;
18683}
18684
18685
18686static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
18687 PyObject *resultobj;
18688 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18689 bool arg2 ;
18690 PyObject * obj0 = 0 ;
18691 PyObject * obj1 = 0 ;
18692 char *kwnames[] = {
18693 (char *) "self",(char *) "bIs", NULL
18694 };
18695
18696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18699 arg2 = (bool) SWIG_AsBool(obj1);
18700 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18701 {
18702 PyThreadState* __tstate = wxPyBeginAllowThreads();
18703 (arg1)->SetWindowChange(arg2);
18704
18705 wxPyEndAllowThreads(__tstate);
18706 if (PyErr_Occurred()) SWIG_fail;
18707 }
18708 Py_INCREF(Py_None); resultobj = Py_None;
18709 return resultobj;
18710 fail:
18711 return NULL;
18712}
18713
18714
18715static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
18716 PyObject *resultobj;
18717 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18718 wxWindow *result;
18719 PyObject * obj0 = 0 ;
18720 char *kwnames[] = {
18721 (char *) "self", NULL
18722 };
18723
18724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18727 {
18728 PyThreadState* __tstate = wxPyBeginAllowThreads();
18729 result = (wxWindow *)((wxNavigationKeyEvent const *)arg1)->GetCurrentFocus();
18730
18731 wxPyEndAllowThreads(__tstate);
18732 if (PyErr_Occurred()) SWIG_fail;
18733 }
18734 {
18735 resultobj = wxPyMake_wxObject(result);
18736 }
18737 return resultobj;
18738 fail:
18739 return NULL;
18740}
18741
18742
18743static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
18744 PyObject *resultobj;
18745 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18746 wxWindow *arg2 = (wxWindow *) 0 ;
18747 PyObject * obj0 = 0 ;
18748 PyObject * obj1 = 0 ;
18749 char *kwnames[] = {
18750 (char *) "self",(char *) "win", NULL
18751 };
18752
18753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18756 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18758 {
18759 PyThreadState* __tstate = wxPyBeginAllowThreads();
18760 (arg1)->SetCurrentFocus(arg2);
18761
18762 wxPyEndAllowThreads(__tstate);
18763 if (PyErr_Occurred()) SWIG_fail;
18764 }
18765 Py_INCREF(Py_None); resultobj = Py_None;
18766 return resultobj;
18767 fail:
18768 return NULL;
18769}
18770
18771
18772static PyObject * NavigationKeyEvent_swigregister(PyObject *self, PyObject *args) {
18773 PyObject *obj;
18774 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18775 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj);
18776 Py_INCREF(obj);
18777 return Py_BuildValue((char *)"");
18778}
18779static PyObject *_wrap_new_WindowCreateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18780 PyObject *resultobj;
18781 wxWindow *arg1 = (wxWindow *) NULL ;
18782 wxWindowCreateEvent *result;
18783 PyObject * obj0 = 0 ;
18784 char *kwnames[] = {
18785 (char *) "win", NULL
18786 };
18787
18788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail;
18789 if (obj0) {
2f4c0a16
RD
18790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18792 }
18793 {
18794 PyThreadState* __tstate = wxPyBeginAllowThreads();
18795 result = (wxWindowCreateEvent *)new wxWindowCreateEvent(arg1);
18796
18797 wxPyEndAllowThreads(__tstate);
18798 if (PyErr_Occurred()) SWIG_fail;
18799 }
2f4c0a16 18800 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowCreateEvent, 1);
d14a1e28
RD
18801 return resultobj;
18802 fail:
18803 return NULL;
18804}
18805
18806
18807static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18808 PyObject *resultobj;
18809 wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
18810 wxWindow *result;
18811 PyObject * obj0 = 0 ;
18812 char *kwnames[] = {
18813 (char *) "self", NULL
18814 };
18815
18816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowCreateEvent,
18818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18819 {
18820 PyThreadState* __tstate = wxPyBeginAllowThreads();
18821 result = (wxWindow *)((wxWindowCreateEvent const *)arg1)->GetWindow();
18822
18823 wxPyEndAllowThreads(__tstate);
18824 if (PyErr_Occurred()) SWIG_fail;
18825 }
18826 {
18827 resultobj = wxPyMake_wxObject(result);
18828 }
18829 return resultobj;
18830 fail:
18831 return NULL;
18832}
18833
18834
18835static PyObject * WindowCreateEvent_swigregister(PyObject *self, PyObject *args) {
18836 PyObject *obj;
18837 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18838 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj);
18839 Py_INCREF(obj);
18840 return Py_BuildValue((char *)"");
18841}
18842static PyObject *_wrap_new_WindowDestroyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18843 PyObject *resultobj;
18844 wxWindow *arg1 = (wxWindow *) NULL ;
18845 wxWindowDestroyEvent *result;
18846 PyObject * obj0 = 0 ;
18847 char *kwnames[] = {
18848 (char *) "win", NULL
18849 };
18850
18851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail;
18852 if (obj0) {
2f4c0a16
RD
18853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18855 }
18856 {
18857 PyThreadState* __tstate = wxPyBeginAllowThreads();
18858 result = (wxWindowDestroyEvent *)new wxWindowDestroyEvent(arg1);
18859
18860 wxPyEndAllowThreads(__tstate);
18861 if (PyErr_Occurred()) SWIG_fail;
18862 }
2f4c0a16 18863 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDestroyEvent, 1);
d14a1e28
RD
18864 return resultobj;
18865 fail:
18866 return NULL;
18867}
18868
18869
18870static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18871 PyObject *resultobj;
18872 wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
18873 wxWindow *result;
18874 PyObject * obj0 = 0 ;
18875 char *kwnames[] = {
18876 (char *) "self", NULL
18877 };
18878
18879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDestroyEvent,
18881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18882 {
18883 PyThreadState* __tstate = wxPyBeginAllowThreads();
18884 result = (wxWindow *)((wxWindowDestroyEvent const *)arg1)->GetWindow();
18885
18886 wxPyEndAllowThreads(__tstate);
18887 if (PyErr_Occurred()) SWIG_fail;
18888 }
18889 {
18890 resultobj = wxPyMake_wxObject(result);
18891 }
18892 return resultobj;
18893 fail:
18894 return NULL;
18895}
18896
18897
18898static PyObject * WindowDestroyEvent_swigregister(PyObject *self, PyObject *args) {
18899 PyObject *obj;
18900 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18901 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj);
18902 Py_INCREF(obj);
18903 return Py_BuildValue((char *)"");
18904}
18905static PyObject *_wrap_new_ContextMenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18906 PyObject *resultobj;
18907 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
423f194a 18908 int arg2 = (int) 0 ;
d14a1e28
RD
18909 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18910 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18911 wxContextMenuEvent *result;
18912 wxPoint temp3 ;
8edf1c75
RD
18913 PyObject * obj0 = 0 ;
18914 PyObject * obj1 = 0 ;
d14a1e28
RD
18915 PyObject * obj2 = 0 ;
18916 char *kwnames[] = {
18917 (char *) "type",(char *) "winid",(char *) "pt", NULL
18918 };
18919
8edf1c75
RD
18920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ContextMenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
18921 if (obj0) {
2f4c0a16
RD
18922 arg1 = (wxEventType) SWIG_AsInt(obj0);
18923 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18924 }
18925 if (obj1) {
2f4c0a16
RD
18926 arg2 = (int) SWIG_AsInt(obj1);
18927 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18928 }
d14a1e28
RD
18929 if (obj2) {
18930 {
18931 arg3 = &temp3;
18932 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18933 }
18934 }
18935 {
18936 PyThreadState* __tstate = wxPyBeginAllowThreads();
18937 result = (wxContextMenuEvent *)new wxContextMenuEvent(arg1,arg2,(wxPoint const &)*arg3);
18938
18939 wxPyEndAllowThreads(__tstate);
18940 if (PyErr_Occurred()) SWIG_fail;
18941 }
2f4c0a16 18942 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextMenuEvent, 1);
d14a1e28
RD
18943 return resultobj;
18944 fail:
18945 return NULL;
18946}
18947
18948
18949static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18950 PyObject *resultobj;
18951 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
18952 wxPoint *result;
18953 PyObject * obj0 = 0 ;
18954 char *kwnames[] = {
18955 (char *) "self", NULL
18956 };
18957
18958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
18960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18961 {
18962 PyThreadState* __tstate = wxPyBeginAllowThreads();
18963 {
18964 wxPoint const &_result_ref = ((wxContextMenuEvent const *)arg1)->GetPosition();
18965 result = (wxPoint *) &_result_ref;
18966 }
18967
18968 wxPyEndAllowThreads(__tstate);
18969 if (PyErr_Occurred()) SWIG_fail;
18970 }
2f4c0a16 18971 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
18972 return resultobj;
18973 fail:
18974 return NULL;
18975}
18976
18977
18978static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18979 PyObject *resultobj;
18980 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
18981 wxPoint *arg2 = 0 ;
18982 wxPoint temp2 ;
18983 PyObject * obj0 = 0 ;
18984 PyObject * obj1 = 0 ;
18985 char *kwnames[] = {
18986 (char *) "self",(char *) "pos", NULL
18987 };
18988
18989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
18991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18992 {
18993 arg2 = &temp2;
18994 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18995 }
18996 {
18997 PyThreadState* __tstate = wxPyBeginAllowThreads();
18998 (arg1)->SetPosition((wxPoint const &)*arg2);
18999
19000 wxPyEndAllowThreads(__tstate);
19001 if (PyErr_Occurred()) SWIG_fail;
19002 }
19003 Py_INCREF(Py_None); resultobj = Py_None;
19004 return resultobj;
19005 fail:
19006 return NULL;
19007}
19008
19009
19010static PyObject * ContextMenuEvent_swigregister(PyObject *self, PyObject *args) {
19011 PyObject *obj;
19012 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19013 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj);
19014 Py_INCREF(obj);
19015 return Py_BuildValue((char *)"");
19016}
19017static PyObject *_wrap_new_IdleEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19018 PyObject *resultobj;
19019 wxIdleEvent *result;
19020 char *kwnames[] = {
19021 NULL
19022 };
19023
19024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail;
19025 {
19026 PyThreadState* __tstate = wxPyBeginAllowThreads();
19027 result = (wxIdleEvent *)new wxIdleEvent();
19028
19029 wxPyEndAllowThreads(__tstate);
19030 if (PyErr_Occurred()) SWIG_fail;
19031 }
2f4c0a16 19032 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIdleEvent, 1);
d14a1e28
RD
19033 return resultobj;
19034 fail:
19035 return NULL;
19036}
19037
19038
19039static PyObject *_wrap_IdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) {
19040 PyObject *resultobj;
19041 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
423f194a 19042 bool arg2 = (bool) True ;
d14a1e28
RD
19043 PyObject * obj0 = 0 ;
19044 PyObject * obj1 = 0 ;
19045 char *kwnames[] = {
19046 (char *) "self",(char *) "needMore", NULL
19047 };
19048
19049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
19051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 19052 if (obj1) {
2f4c0a16
RD
19053 arg2 = (bool) SWIG_AsBool(obj1);
19054 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19055 }
19056 {
19057 PyThreadState* __tstate = wxPyBeginAllowThreads();
19058 (arg1)->RequestMore(arg2);
19059
19060 wxPyEndAllowThreads(__tstate);
19061 if (PyErr_Occurred()) SWIG_fail;
19062 }
19063 Py_INCREF(Py_None); resultobj = Py_None;
19064 return resultobj;
19065 fail:
19066 return NULL;
19067}
19068
19069
19070static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *self, PyObject *args, PyObject *kwargs) {
19071 PyObject *resultobj;
19072 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
19073 bool result;
19074 PyObject * obj0 = 0 ;
19075 char *kwnames[] = {
19076 (char *) "self", NULL
19077 };
19078
19079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
19081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19082 {
19083 PyThreadState* __tstate = wxPyBeginAllowThreads();
19084 result = (bool)((wxIdleEvent const *)arg1)->MoreRequested();
19085
19086 wxPyEndAllowThreads(__tstate);
19087 if (PyErr_Occurred()) SWIG_fail;
19088 }
4f89f6a3
RD
19089 {
19090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19091 }
d14a1e28
RD
19092 return resultobj;
19093 fail:
19094 return NULL;
19095}
19096
19097
19098static PyObject *_wrap_IdleEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19099 PyObject *resultobj;
19100 int arg1 ;
8edf1c75 19101 PyObject * obj0 = 0 ;
d14a1e28
RD
19102 char *kwnames[] = {
19103 (char *) "mode", NULL
19104 };
19105
8edf1c75 19106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_SetMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19107 arg1 = (wxIdleMode) SWIG_AsInt(obj0);
19108 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19109 {
19110 PyThreadState* __tstate = wxPyBeginAllowThreads();
19111 wxIdleEvent::SetMode((wxIdleMode )arg1);
19112
19113 wxPyEndAllowThreads(__tstate);
19114 if (PyErr_Occurred()) SWIG_fail;
19115 }
19116 Py_INCREF(Py_None); resultobj = Py_None;
19117 return resultobj;
19118 fail:
19119 return NULL;
19120}
19121
19122
19123static PyObject *_wrap_IdleEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19124 PyObject *resultobj;
19125 int result;
19126 char *kwnames[] = {
19127 NULL
19128 };
19129
19130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail;
19131 {
19132 PyThreadState* __tstate = wxPyBeginAllowThreads();
19133 result = (int)wxIdleEvent::GetMode();
19134
19135 wxPyEndAllowThreads(__tstate);
19136 if (PyErr_Occurred()) SWIG_fail;
19137 }
2f4c0a16 19138 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19139 return resultobj;
19140 fail:
19141 return NULL;
19142}
19143
19144
19145static PyObject *_wrap_IdleEvent_CanSend(PyObject *self, PyObject *args, PyObject *kwargs) {
19146 PyObject *resultobj;
19147 wxWindow *arg1 = (wxWindow *) 0 ;
19148 bool result;
19149 PyObject * obj0 = 0 ;
19150 char *kwnames[] = {
19151 (char *) "win", NULL
19152 };
19153
19154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19157 {
19158 PyThreadState* __tstate = wxPyBeginAllowThreads();
19159 result = (bool)wxIdleEvent::CanSend(arg1);
19160
19161 wxPyEndAllowThreads(__tstate);
19162 if (PyErr_Occurred()) SWIG_fail;
19163 }
4f89f6a3
RD
19164 {
19165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19166 }
d14a1e28
RD
19167 return resultobj;
19168 fail:
19169 return NULL;
19170}
19171
19172
19173static PyObject * IdleEvent_swigregister(PyObject *self, PyObject *args) {
19174 PyObject *obj;
19175 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19176 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj);
19177 Py_INCREF(obj);
19178 return Py_BuildValue((char *)"");
19179}
19180static PyObject *_wrap_new_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19181 PyObject *resultobj;
19182 int arg1 = (int) 0 ;
19183 wxEventType arg2 = (wxEventType) wxEVT_NULL ;
19184 wxPyEvent *result;
8edf1c75
RD
19185 PyObject * obj0 = 0 ;
19186 PyObject * obj1 = 0 ;
d14a1e28
RD
19187 char *kwnames[] = {
19188 (char *) "winid",(char *) "commandType", NULL
19189 };
19190
8edf1c75
RD
19191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail;
19192 if (obj0) {
2f4c0a16
RD
19193 arg1 = (int) SWIG_AsInt(obj0);
19194 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19195 }
19196 if (obj1) {
2f4c0a16
RD
19197 arg2 = (wxEventType) SWIG_AsInt(obj1);
19198 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19199 }
d14a1e28
RD
19200 {
19201 PyThreadState* __tstate = wxPyBeginAllowThreads();
19202 result = (wxPyEvent *)new wxPyEvent(arg1,arg2);
19203
19204 wxPyEndAllowThreads(__tstate);
19205 if (PyErr_Occurred()) SWIG_fail;
19206 }
2f4c0a16 19207 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEvent, 1);
d14a1e28
RD
19208 return resultobj;
19209 fail:
19210 return NULL;
19211}
19212
19213
19214static PyObject *_wrap_delete_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19215 PyObject *resultobj;
19216 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19217 PyObject * obj0 = 0 ;
19218 char *kwnames[] = {
19219 (char *) "self", NULL
19220 };
19221
19222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19225 {
19226 PyThreadState* __tstate = wxPyBeginAllowThreads();
19227 delete arg1;
19228
19229 wxPyEndAllowThreads(__tstate);
19230 if (PyErr_Occurred()) SWIG_fail;
19231 }
19232 Py_INCREF(Py_None); resultobj = Py_None;
19233 return resultobj;
19234 fail:
19235 return NULL;
19236}
19237
19238
19239static PyObject *_wrap_PyEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19240 PyObject *resultobj;
19241 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19242 PyObject *arg2 = (PyObject *) 0 ;
19243 PyObject * obj0 = 0 ;
19244 PyObject * obj1 = 0 ;
19245 char *kwnames[] = {
19246 (char *) "self",(char *) "self", NULL
19247 };
19248
19249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19252 arg2 = obj1;
19253 {
19254 PyThreadState* __tstate = wxPyBeginAllowThreads();
19255 (arg1)->SetSelf(arg2);
19256
19257 wxPyEndAllowThreads(__tstate);
19258 if (PyErr_Occurred()) SWIG_fail;
19259 }
19260 Py_INCREF(Py_None); resultobj = Py_None;
19261 return resultobj;
19262 fail:
19263 return NULL;
19264}
19265
19266
19267static PyObject *_wrap_PyEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19268 PyObject *resultobj;
19269 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19270 PyObject *result;
19271 PyObject * obj0 = 0 ;
19272 char *kwnames[] = {
19273 (char *) "self", NULL
19274 };
19275
19276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19279 {
19280 PyThreadState* __tstate = wxPyBeginAllowThreads();
19281 result = (PyObject *)(arg1)->GetSelf();
19282
19283 wxPyEndAllowThreads(__tstate);
19284 if (PyErr_Occurred()) SWIG_fail;
19285 }
19286 resultobj = result;
19287 return resultobj;
19288 fail:
19289 return NULL;
19290}
19291
19292
19293static PyObject * PyEvent_swigregister(PyObject *self, PyObject *args) {
19294 PyObject *obj;
19295 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19296 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj);
19297 Py_INCREF(obj);
19298 return Py_BuildValue((char *)"");
19299}
19300static PyObject *_wrap_new_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19301 PyObject *resultobj;
19302 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19303 int arg2 = (int) 0 ;
19304 wxPyCommandEvent *result;
8edf1c75
RD
19305 PyObject * obj0 = 0 ;
19306 PyObject * obj1 = 0 ;
d14a1e28
RD
19307 char *kwnames[] = {
19308 (char *) "commandType",(char *) "id", NULL
19309 };
19310
8edf1c75
RD
19311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail;
19312 if (obj0) {
2f4c0a16
RD
19313 arg1 = (wxEventType) SWIG_AsInt(obj0);
19314 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19315 }
19316 if (obj1) {
2f4c0a16
RD
19317 arg2 = (int) SWIG_AsInt(obj1);
19318 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19319 }
d14a1e28
RD
19320 {
19321 PyThreadState* __tstate = wxPyBeginAllowThreads();
19322 result = (wxPyCommandEvent *)new wxPyCommandEvent(arg1,arg2);
19323
19324 wxPyEndAllowThreads(__tstate);
19325 if (PyErr_Occurred()) SWIG_fail;
19326 }
2f4c0a16 19327 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCommandEvent, 1);
d14a1e28
RD
19328 return resultobj;
19329 fail:
19330 return NULL;
19331}
19332
19333
19334static PyObject *_wrap_delete_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19335 PyObject *resultobj;
19336 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19337 PyObject * obj0 = 0 ;
19338 char *kwnames[] = {
19339 (char *) "self", NULL
19340 };
19341
19342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19345 {
19346 PyThreadState* __tstate = wxPyBeginAllowThreads();
19347 delete arg1;
19348
19349 wxPyEndAllowThreads(__tstate);
19350 if (PyErr_Occurred()) SWIG_fail;
19351 }
19352 Py_INCREF(Py_None); resultobj = Py_None;
19353 return resultobj;
19354 fail:
19355 return NULL;
19356}
19357
19358
19359static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19360 PyObject *resultobj;
19361 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19362 PyObject *arg2 = (PyObject *) 0 ;
19363 PyObject * obj0 = 0 ;
19364 PyObject * obj1 = 0 ;
19365 char *kwnames[] = {
19366 (char *) "self",(char *) "self", NULL
19367 };
19368
19369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19372 arg2 = obj1;
19373 {
19374 PyThreadState* __tstate = wxPyBeginAllowThreads();
19375 (arg1)->SetSelf(arg2);
19376
19377 wxPyEndAllowThreads(__tstate);
19378 if (PyErr_Occurred()) SWIG_fail;
19379 }
19380 Py_INCREF(Py_None); resultobj = Py_None;
19381 return resultobj;
19382 fail:
19383 return NULL;
19384}
19385
19386
19387static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19388 PyObject *resultobj;
19389 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19390 PyObject *result;
19391 PyObject * obj0 = 0 ;
19392 char *kwnames[] = {
19393 (char *) "self", NULL
19394 };
19395
19396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19399 {
19400 PyThreadState* __tstate = wxPyBeginAllowThreads();
19401 result = (PyObject *)(arg1)->GetSelf();
19402
19403 wxPyEndAllowThreads(__tstate);
19404 if (PyErr_Occurred()) SWIG_fail;
19405 }
19406 resultobj = result;
19407 return resultobj;
19408 fail:
19409 return NULL;
19410}
19411
19412
19413static PyObject * PyCommandEvent_swigregister(PyObject *self, PyObject *args) {
19414 PyObject *obj;
19415 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19416 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj);
19417 Py_INCREF(obj);
19418 return Py_BuildValue((char *)"");
19419}
19420static PyObject *_wrap_new_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
19421 PyObject *resultobj;
19422 wxPyApp *result;
19423 char *kwnames[] = {
19424 NULL
19425 };
19426
19427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail;
19428 {
19429 PyThreadState* __tstate = wxPyBeginAllowThreads();
19430 result = (wxPyApp *)new_wxPyApp();
19431
19432 wxPyEndAllowThreads(__tstate);
19433 if (PyErr_Occurred()) SWIG_fail;
19434 }
19435 {
19436 resultobj = wxPyMake_wxObject(result);
19437 }
19438 return resultobj;
19439 fail:
19440 return NULL;
19441}
19442
19443
19444static PyObject *_wrap_delete_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
19445 PyObject *resultobj;
19446 wxPyApp *arg1 = (wxPyApp *) 0 ;
19447 PyObject * obj0 = 0 ;
19448 char *kwnames[] = {
19449 (char *) "self", NULL
19450 };
19451
19452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19455 {
19456 PyThreadState* __tstate = wxPyBeginAllowThreads();
19457 delete arg1;
19458
19459 wxPyEndAllowThreads(__tstate);
19460 if (PyErr_Occurred()) SWIG_fail;
19461 }
19462 Py_INCREF(Py_None); resultobj = Py_None;
19463 return resultobj;
19464 fail:
19465 return NULL;
19466}
19467
19468
19469static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19470 PyObject *resultobj;
19471 wxPyApp *arg1 = (wxPyApp *) 0 ;
19472 PyObject *arg2 = (PyObject *) 0 ;
19473 PyObject *arg3 = (PyObject *) 0 ;
19474 PyObject * obj0 = 0 ;
19475 PyObject * obj1 = 0 ;
19476 PyObject * obj2 = 0 ;
19477 char *kwnames[] = {
19478 (char *) "self",(char *) "self",(char *) "_class", NULL
19479 };
19480
19481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19484 arg2 = obj1;
19485 arg3 = obj2;
19486 {
19487 PyThreadState* __tstate = wxPyBeginAllowThreads();
19488 (arg1)->_setCallbackInfo(arg2,arg3);
19489
19490 wxPyEndAllowThreads(__tstate);
19491 if (PyErr_Occurred()) SWIG_fail;
19492 }
19493 Py_INCREF(Py_None); resultobj = Py_None;
19494 return resultobj;
19495 fail:
19496 return NULL;
19497}
19498
19499
19500static PyObject *_wrap_PyApp_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
19501 PyObject *resultobj;
19502 wxPyApp *arg1 = (wxPyApp *) 0 ;
19503 wxString result;
19504 PyObject * obj0 = 0 ;
19505 char *kwnames[] = {
19506 (char *) "self", NULL
19507 };
19508
19509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19512 {
19513 PyThreadState* __tstate = wxPyBeginAllowThreads();
19514 result = ((wxPyApp const *)arg1)->GetAppName();
19515
19516 wxPyEndAllowThreads(__tstate);
19517 if (PyErr_Occurred()) SWIG_fail;
19518 }
19519 {
19520#if wxUSE_UNICODE
19521 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19522#else
19523 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19524#endif
19525 }
19526 return resultobj;
19527 fail:
19528 return NULL;
19529}
19530
19531
19532static PyObject *_wrap_PyApp_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
19533 PyObject *resultobj;
19534 wxPyApp *arg1 = (wxPyApp *) 0 ;
19535 wxString *arg2 = 0 ;
423f194a 19536 bool temp2 = False ;
d14a1e28
RD
19537 PyObject * obj0 = 0 ;
19538 PyObject * obj1 = 0 ;
19539 char *kwnames[] = {
19540 (char *) "self",(char *) "name", NULL
19541 };
19542
19543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19546 {
19547 arg2 = wxString_in_helper(obj1);
19548 if (arg2 == NULL) SWIG_fail;
423f194a 19549 temp2 = True;
d14a1e28
RD
19550 }
19551 {
19552 PyThreadState* __tstate = wxPyBeginAllowThreads();
19553 (arg1)->SetAppName((wxString const &)*arg2);
19554
19555 wxPyEndAllowThreads(__tstate);
19556 if (PyErr_Occurred()) SWIG_fail;
19557 }
19558 Py_INCREF(Py_None); resultobj = Py_None;
19559 {
19560 if (temp2)
19561 delete arg2;
19562 }
19563 return resultobj;
19564 fail:
19565 {
19566 if (temp2)
19567 delete arg2;
19568 }
19569 return NULL;
19570}
19571
19572
19573static PyObject *_wrap_PyApp_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
19574 PyObject *resultobj;
19575 wxPyApp *arg1 = (wxPyApp *) 0 ;
19576 wxString result;
19577 PyObject * obj0 = 0 ;
19578 char *kwnames[] = {
19579 (char *) "self", NULL
19580 };
19581
19582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19585 {
19586 PyThreadState* __tstate = wxPyBeginAllowThreads();
19587 result = ((wxPyApp const *)arg1)->GetClassName();
19588
19589 wxPyEndAllowThreads(__tstate);
19590 if (PyErr_Occurred()) SWIG_fail;
19591 }
19592 {
19593#if wxUSE_UNICODE
19594 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19595#else
19596 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19597#endif
19598 }
19599 return resultobj;
19600 fail:
19601 return NULL;
19602}
19603
19604
19605static PyObject *_wrap_PyApp_SetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
19606 PyObject *resultobj;
19607 wxPyApp *arg1 = (wxPyApp *) 0 ;
19608 wxString *arg2 = 0 ;
423f194a 19609 bool temp2 = False ;
d14a1e28
RD
19610 PyObject * obj0 = 0 ;
19611 PyObject * obj1 = 0 ;
19612 char *kwnames[] = {
19613 (char *) "self",(char *) "name", NULL
19614 };
19615
19616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19619 {
19620 arg2 = wxString_in_helper(obj1);
19621 if (arg2 == NULL) SWIG_fail;
423f194a 19622 temp2 = True;
d14a1e28
RD
19623 }
19624 {
19625 PyThreadState* __tstate = wxPyBeginAllowThreads();
19626 (arg1)->SetClassName((wxString const &)*arg2);
19627
19628 wxPyEndAllowThreads(__tstate);
19629 if (PyErr_Occurred()) SWIG_fail;
19630 }
19631 Py_INCREF(Py_None); resultobj = Py_None;
19632 {
19633 if (temp2)
19634 delete arg2;
19635 }
19636 return resultobj;
19637 fail:
19638 {
19639 if (temp2)
19640 delete arg2;
19641 }
19642 return NULL;
19643}
19644
19645
19646static PyObject *_wrap_PyApp_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
19647 PyObject *resultobj;
19648 wxPyApp *arg1 = (wxPyApp *) 0 ;
19649 wxString *result;
19650 PyObject * obj0 = 0 ;
19651 char *kwnames[] = {
19652 (char *) "self", NULL
19653 };
19654
19655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19658 {
19659 PyThreadState* __tstate = wxPyBeginAllowThreads();
19660 {
19661 wxString const &_result_ref = ((wxPyApp const *)arg1)->GetVendorName();
19662 result = (wxString *) &_result_ref;
19663 }
19664
19665 wxPyEndAllowThreads(__tstate);
19666 if (PyErr_Occurred()) SWIG_fail;
19667 }
f0983263
RD
19668 {
19669#if wxUSE_UNICODE
19670 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19671#else
19672 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19673#endif
19674 }
d14a1e28
RD
19675 return resultobj;
19676 fail:
19677 return NULL;
19678}
19679
19680
19681static PyObject *_wrap_PyApp_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
19682 PyObject *resultobj;
19683 wxPyApp *arg1 = (wxPyApp *) 0 ;
19684 wxString *arg2 = 0 ;
423f194a 19685 bool temp2 = False ;
d14a1e28
RD
19686 PyObject * obj0 = 0 ;
19687 PyObject * obj1 = 0 ;
19688 char *kwnames[] = {
19689 (char *) "self",(char *) "name", NULL
19690 };
19691
19692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19695 {
19696 arg2 = wxString_in_helper(obj1);
19697 if (arg2 == NULL) SWIG_fail;
423f194a 19698 temp2 = True;
d14a1e28
RD
19699 }
19700 {
19701 PyThreadState* __tstate = wxPyBeginAllowThreads();
19702 (arg1)->SetVendorName((wxString const &)*arg2);
19703
19704 wxPyEndAllowThreads(__tstate);
19705 if (PyErr_Occurred()) SWIG_fail;
19706 }
19707 Py_INCREF(Py_None); resultobj = Py_None;
19708 {
19709 if (temp2)
19710 delete arg2;
19711 }
19712 return resultobj;
19713 fail:
19714 {
19715 if (temp2)
19716 delete arg2;
19717 }
19718 return NULL;
19719}
19720
19721
19722static PyObject *_wrap_PyApp_GetTraits(PyObject *self, PyObject *args, PyObject *kwargs) {
19723 PyObject *resultobj;
19724 wxPyApp *arg1 = (wxPyApp *) 0 ;
19725 wxAppTraits *result;
19726 PyObject * obj0 = 0 ;
19727 char *kwnames[] = {
19728 (char *) "self", NULL
19729 };
19730
19731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19734 {
19735 PyThreadState* __tstate = wxPyBeginAllowThreads();
19736 result = (wxAppTraits *)(arg1)->GetTraits();
19737
19738 wxPyEndAllowThreads(__tstate);
19739 if (PyErr_Occurred()) SWIG_fail;
19740 }
2f4c0a16 19741 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAppTraits, 0);
d14a1e28
RD
19742 return resultobj;
19743 fail:
19744 return NULL;
19745}
19746
19747
19748static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
19749 PyObject *resultobj;
19750 wxPyApp *arg1 = (wxPyApp *) 0 ;
19751 PyObject * obj0 = 0 ;
19752 char *kwnames[] = {
19753 (char *) "self", NULL
19754 };
19755
19756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19759 {
19760 PyThreadState* __tstate = wxPyBeginAllowThreads();
19761 (arg1)->ProcessPendingEvents();
19762
19763 wxPyEndAllowThreads(__tstate);
19764 if (PyErr_Occurred()) SWIG_fail;
19765 }
19766 Py_INCREF(Py_None); resultobj = Py_None;
19767 return resultobj;
19768 fail:
19769 return NULL;
19770}
19771
19772
19773static PyObject *_wrap_PyApp_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
19774 PyObject *resultobj;
19775 wxPyApp *arg1 = (wxPyApp *) 0 ;
423f194a 19776 bool arg2 = (bool) False ;
d14a1e28
RD
19777 bool result;
19778 PyObject * obj0 = 0 ;
19779 PyObject * obj1 = 0 ;
19780 char *kwnames[] = {
19781 (char *) "self",(char *) "onlyIfNeeded", NULL
19782 };
19783
19784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 19787 if (obj1) {
2f4c0a16
RD
19788 arg2 = (bool) SWIG_AsBool(obj1);
19789 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19790 }
19791 {
19792 PyThreadState* __tstate = wxPyBeginAllowThreads();
19793 result = (bool)(arg1)->Yield(arg2);
19794
19795 wxPyEndAllowThreads(__tstate);
19796 if (PyErr_Occurred()) SWIG_fail;
19797 }
4f89f6a3
RD
19798 {
19799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19800 }
d14a1e28
RD
19801 return resultobj;
19802 fail:
19803 return NULL;
19804}
19805
19806
19807static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
19808 PyObject *resultobj;
19809 wxPyApp *arg1 = (wxPyApp *) 0 ;
19810 PyObject * obj0 = 0 ;
19811 char *kwnames[] = {
19812 (char *) "self", NULL
19813 };
19814
19815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19818 {
19819 PyThreadState* __tstate = wxPyBeginAllowThreads();
19820 (arg1)->WakeUpIdle();
19821
19822 wxPyEndAllowThreads(__tstate);
19823 if (PyErr_Occurred()) SWIG_fail;
19824 }
19825 Py_INCREF(Py_None); resultobj = Py_None;
19826 return resultobj;
19827 fail:
19828 return NULL;
19829}
19830
19831
19832static PyObject *_wrap_PyApp_MainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
19833 PyObject *resultobj;
19834 wxPyApp *arg1 = (wxPyApp *) 0 ;
19835 int result;
19836 PyObject * obj0 = 0 ;
19837 char *kwnames[] = {
19838 (char *) "self", NULL
19839 };
19840
19841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19844 {
19845 PyThreadState* __tstate = wxPyBeginAllowThreads();
19846 result = (int)(arg1)->MainLoop();
19847
19848 wxPyEndAllowThreads(__tstate);
19849 if (PyErr_Occurred()) SWIG_fail;
19850 }
2f4c0a16 19851 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19852 return resultobj;
19853 fail:
19854 return NULL;
19855}
19856
19857
19858static PyObject *_wrap_PyApp_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
19859 PyObject *resultobj;
19860 wxPyApp *arg1 = (wxPyApp *) 0 ;
19861 PyObject * obj0 = 0 ;
19862 char *kwnames[] = {
19863 (char *) "self", NULL
19864 };
19865
19866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19869 {
19870 PyThreadState* __tstate = wxPyBeginAllowThreads();
19871 (arg1)->Exit();
19872
19873 wxPyEndAllowThreads(__tstate);
19874 if (PyErr_Occurred()) SWIG_fail;
19875 }
19876 Py_INCREF(Py_None); resultobj = Py_None;
19877 return resultobj;
19878 fail:
19879 return NULL;
19880}
19881
19882
19883static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
19884 PyObject *resultobj;
19885 wxPyApp *arg1 = (wxPyApp *) 0 ;
19886 PyObject * obj0 = 0 ;
19887 char *kwnames[] = {
19888 (char *) "self", NULL
19889 };
19890
19891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19894 {
19895 PyThreadState* __tstate = wxPyBeginAllowThreads();
19896 (arg1)->ExitMainLoop();
19897
19898 wxPyEndAllowThreads(__tstate);
19899 if (PyErr_Occurred()) SWIG_fail;
19900 }
19901 Py_INCREF(Py_None); resultobj = Py_None;
19902 return resultobj;
19903 fail:
19904 return NULL;
19905}
19906
19907
19908static PyObject *_wrap_PyApp_Pending(PyObject *self, PyObject *args, PyObject *kwargs) {
19909 PyObject *resultobj;
19910 wxPyApp *arg1 = (wxPyApp *) 0 ;
19911 bool result;
19912 PyObject * obj0 = 0 ;
19913 char *kwnames[] = {
19914 (char *) "self", NULL
19915 };
19916
19917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19920 {
19921 PyThreadState* __tstate = wxPyBeginAllowThreads();
19922 result = (bool)(arg1)->Pending();
19923
19924 wxPyEndAllowThreads(__tstate);
19925 if (PyErr_Occurred()) SWIG_fail;
19926 }
4f89f6a3
RD
19927 {
19928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19929 }
d14a1e28
RD
19930 return resultobj;
19931 fail:
19932 return NULL;
19933}
19934
19935
19936static PyObject *_wrap_PyApp_Dispatch(PyObject *self, PyObject *args, PyObject *kwargs) {
19937 PyObject *resultobj;
19938 wxPyApp *arg1 = (wxPyApp *) 0 ;
19939 bool result;
19940 PyObject * obj0 = 0 ;
19941 char *kwnames[] = {
19942 (char *) "self", NULL
19943 };
19944
19945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19948 {
19949 PyThreadState* __tstate = wxPyBeginAllowThreads();
19950 result = (bool)(arg1)->Dispatch();
19951
19952 wxPyEndAllowThreads(__tstate);
19953 if (PyErr_Occurred()) SWIG_fail;
19954 }
4f89f6a3
RD
19955 {
19956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19957 }
d14a1e28
RD
19958 return resultobj;
19959 fail:
19960 return NULL;
19961}
19962
19963
19964static PyObject *_wrap_PyApp_ProcessIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
19965 PyObject *resultobj;
19966 wxPyApp *arg1 = (wxPyApp *) 0 ;
19967 bool result;
19968 PyObject * obj0 = 0 ;
19969 char *kwnames[] = {
19970 (char *) "self", NULL
19971 };
19972
19973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19976 {
19977 PyThreadState* __tstate = wxPyBeginAllowThreads();
19978 result = (bool)(arg1)->ProcessIdle();
19979
19980 wxPyEndAllowThreads(__tstate);
19981 if (PyErr_Occurred()) SWIG_fail;
19982 }
4f89f6a3
RD
19983 {
19984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19985 }
d14a1e28
RD
19986 return resultobj;
19987 fail:
19988 return NULL;
19989}
19990
19991
19992static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
19993 PyObject *resultobj;
19994 wxPyApp *arg1 = (wxPyApp *) 0 ;
19995 wxWindow *arg2 = (wxWindow *) 0 ;
19996 wxIdleEvent *arg3 = 0 ;
19997 bool result;
19998 PyObject * obj0 = 0 ;
19999 PyObject * obj1 = 0 ;
20000 PyObject * obj2 = 0 ;
20001 char *kwnames[] = {
20002 (char *) "self",(char *) "win",(char *) "event", NULL
20003 };
20004
20005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20008 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20010 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxIdleEvent,
20011 SWIG_POINTER_EXCEPTION | 0)) == -1)
20012 SWIG_fail;
d14a1e28 20013 if (arg3 == NULL) {
2f4c0a16
RD
20014 PyErr_SetString(PyExc_TypeError,"null reference");
20015 SWIG_fail;
d14a1e28
RD
20016 }
20017 {
20018 PyThreadState* __tstate = wxPyBeginAllowThreads();
20019 result = (bool)(arg1)->SendIdleEvents(arg2,*arg3);
20020
20021 wxPyEndAllowThreads(__tstate);
20022 if (PyErr_Occurred()) SWIG_fail;
20023 }
4f89f6a3
RD
20024 {
20025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20026 }
d14a1e28
RD
20027 return resultobj;
20028 fail:
20029 return NULL;
20030}
20031
20032
d14a1e28
RD
20033static PyObject *_wrap_PyApp_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
20034 PyObject *resultobj;
20035 wxPyApp *arg1 = (wxPyApp *) 0 ;
20036 bool result;
20037 PyObject * obj0 = 0 ;
20038 char *kwnames[] = {
20039 (char *) "self", NULL
20040 };
20041
20042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20045 {
20046 PyThreadState* __tstate = wxPyBeginAllowThreads();
20047 result = (bool)((wxPyApp const *)arg1)->IsActive();
20048
20049 wxPyEndAllowThreads(__tstate);
20050 if (PyErr_Occurred()) SWIG_fail;
20051 }
4f89f6a3
RD
20052 {
20053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20054 }
d14a1e28
RD
20055 return resultobj;
20056 fail:
20057 return NULL;
20058}
20059
20060
20061static PyObject *_wrap_PyApp_SetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20062 PyObject *resultobj;
20063 wxPyApp *arg1 = (wxPyApp *) 0 ;
20064 wxWindow *arg2 = (wxWindow *) 0 ;
20065 PyObject * obj0 = 0 ;
20066 PyObject * obj1 = 0 ;
20067 char *kwnames[] = {
20068 (char *) "self",(char *) "win", NULL
20069 };
20070
20071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20074 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20076 {
20077 PyThreadState* __tstate = wxPyBeginAllowThreads();
20078 (arg1)->SetTopWindow(arg2);
20079
20080 wxPyEndAllowThreads(__tstate);
20081 if (PyErr_Occurred()) SWIG_fail;
20082 }
20083 Py_INCREF(Py_None); resultobj = Py_None;
20084 return resultobj;
20085 fail:
20086 return NULL;
20087}
20088
20089
20090static PyObject *_wrap_PyApp_GetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20091 PyObject *resultobj;
20092 wxPyApp *arg1 = (wxPyApp *) 0 ;
20093 wxWindow *result;
20094 PyObject * obj0 = 0 ;
20095 char *kwnames[] = {
20096 (char *) "self", NULL
20097 };
20098
20099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20102 {
20103 PyThreadState* __tstate = wxPyBeginAllowThreads();
20104 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
20105
20106 wxPyEndAllowThreads(__tstate);
20107 if (PyErr_Occurred()) SWIG_fail;
20108 }
20109 {
20110 resultobj = wxPyMake_wxObject(result);
20111 }
20112 return resultobj;
20113 fail:
20114 return NULL;
20115}
20116
20117
20118static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
20119 PyObject *resultobj;
20120 wxPyApp *arg1 = (wxPyApp *) 0 ;
20121 bool arg2 ;
20122 PyObject * obj0 = 0 ;
20123 PyObject * obj1 = 0 ;
20124 char *kwnames[] = {
20125 (char *) "self",(char *) "flag", NULL
20126 };
20127
20128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20131 arg2 = (bool) SWIG_AsBool(obj1);
20132 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20133 {
20134 PyThreadState* __tstate = wxPyBeginAllowThreads();
20135 (arg1)->SetExitOnFrameDelete(arg2);
20136
20137 wxPyEndAllowThreads(__tstate);
20138 if (PyErr_Occurred()) SWIG_fail;
20139 }
20140 Py_INCREF(Py_None); resultobj = Py_None;
20141 return resultobj;
20142 fail:
20143 return NULL;
20144}
20145
20146
20147static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
20148 PyObject *resultobj;
20149 wxPyApp *arg1 = (wxPyApp *) 0 ;
20150 bool result;
20151 PyObject * obj0 = 0 ;
20152 char *kwnames[] = {
20153 (char *) "self", NULL
20154 };
20155
20156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20159 {
20160 PyThreadState* __tstate = wxPyBeginAllowThreads();
20161 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
20162
20163 wxPyEndAllowThreads(__tstate);
20164 if (PyErr_Occurred()) SWIG_fail;
20165 }
4f89f6a3
RD
20166 {
20167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20168 }
d14a1e28
RD
20169 return resultobj;
20170 fail:
20171 return NULL;
20172}
20173
20174
20175static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
20176 PyObject *resultobj;
20177 wxPyApp *arg1 = (wxPyApp *) 0 ;
20178 bool arg2 ;
20179 PyObject * obj0 = 0 ;
20180 PyObject * obj1 = 0 ;
20181 char *kwnames[] = {
20182 (char *) "self",(char *) "flag", NULL
20183 };
20184
20185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20188 arg2 = (bool) SWIG_AsBool(obj1);
20189 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20190 {
20191 PyThreadState* __tstate = wxPyBeginAllowThreads();
20192 (arg1)->SetUseBestVisual(arg2);
20193
20194 wxPyEndAllowThreads(__tstate);
20195 if (PyErr_Occurred()) SWIG_fail;
20196 }
20197 Py_INCREF(Py_None); resultobj = Py_None;
20198 return resultobj;
20199 fail:
20200 return NULL;
20201}
20202
20203
20204static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
20205 PyObject *resultobj;
20206 wxPyApp *arg1 = (wxPyApp *) 0 ;
20207 bool result;
20208 PyObject * obj0 = 0 ;
20209 char *kwnames[] = {
20210 (char *) "self", NULL
20211 };
20212
20213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20216 {
20217 PyThreadState* __tstate = wxPyBeginAllowThreads();
20218 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
20219
20220 wxPyEndAllowThreads(__tstate);
20221 if (PyErr_Occurred()) SWIG_fail;
20222 }
4f89f6a3
RD
20223 {
20224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20225 }
d14a1e28
RD
20226 return resultobj;
20227 fail:
20228 return NULL;
20229}
20230
20231
20232static PyObject *_wrap_PyApp_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
20233 PyObject *resultobj;
20234 wxPyApp *arg1 = (wxPyApp *) 0 ;
20235 int arg2 ;
20236 PyObject * obj0 = 0 ;
8edf1c75 20237 PyObject * obj1 = 0 ;
d14a1e28
RD
20238 char *kwnames[] = {
20239 (char *) "self",(char *) "mode", NULL
20240 };
20241
8edf1c75 20242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20245 arg2 = (int) SWIG_AsInt(obj1);
20246 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20247 {
20248 PyThreadState* __tstate = wxPyBeginAllowThreads();
20249 (arg1)->SetPrintMode(arg2);
20250
20251 wxPyEndAllowThreads(__tstate);
20252 if (PyErr_Occurred()) SWIG_fail;
20253 }
20254 Py_INCREF(Py_None); resultobj = Py_None;
20255 return resultobj;
20256 fail:
20257 return NULL;
20258}
20259
20260
20261static PyObject *_wrap_PyApp_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
20262 PyObject *resultobj;
20263 wxPyApp *arg1 = (wxPyApp *) 0 ;
20264 int result;
20265 PyObject * obj0 = 0 ;
20266 char *kwnames[] = {
20267 (char *) "self", NULL
20268 };
20269
20270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20273 {
20274 PyThreadState* __tstate = wxPyBeginAllowThreads();
20275 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
20276
20277 wxPyEndAllowThreads(__tstate);
20278 if (PyErr_Occurred()) SWIG_fail;
20279 }
2f4c0a16 20280 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20281 return resultobj;
20282 fail:
20283 return NULL;
20284}
20285
20286
44127b65 20287static PyObject *_wrap_PyApp_SetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20288 PyObject *resultobj;
20289 wxPyApp *arg1 = (wxPyApp *) 0 ;
44127b65 20290 int arg2 ;
d14a1e28 20291 PyObject * obj0 = 0 ;
8edf1c75 20292 PyObject * obj1 = 0 ;
d14a1e28 20293 char *kwnames[] = {
44127b65 20294 (char *) "self",(char *) "mode", NULL
d14a1e28
RD
20295 };
20296
8edf1c75 20297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAssertMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20300 arg2 = (int) SWIG_AsInt(obj1);
20301 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20302 {
20303 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 20304 (arg1)->SetAssertMode(arg2);
d14a1e28
RD
20305
20306 wxPyEndAllowThreads(__tstate);
20307 if (PyErr_Occurred()) SWIG_fail;
20308 }
44127b65 20309 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
20310 return resultobj;
20311 fail:
20312 return NULL;
20313}
20314
20315
44127b65 20316static PyObject *_wrap_PyApp_GetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20317 PyObject *resultobj;
20318 wxPyApp *arg1 = (wxPyApp *) 0 ;
44127b65 20319 int result;
d14a1e28
RD
20320 PyObject * obj0 = 0 ;
20321 char *kwnames[] = {
44127b65 20322 (char *) "self", NULL
d14a1e28
RD
20323 };
20324
44127b65 20325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20328 {
20329 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 20330 result = (int)(arg1)->GetAssertMode();
d14a1e28
RD
20331
20332 wxPyEndAllowThreads(__tstate);
20333 if (PyErr_Occurred()) SWIG_fail;
20334 }
2f4c0a16 20335 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20336 return resultobj;
20337 fail:
20338 return NULL;
20339}
20340
20341
20342static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
20343 PyObject *resultobj;
20344 bool result;
20345 char *kwnames[] = {
20346 NULL
20347 };
20348
20349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
20350 {
20351 PyThreadState* __tstate = wxPyBeginAllowThreads();
20352 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20353
20354 wxPyEndAllowThreads(__tstate);
20355 if (PyErr_Occurred()) SWIG_fail;
20356 }
4f89f6a3
RD
20357 {
20358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20359 }
d14a1e28
RD
20360 return resultobj;
20361 fail:
20362 return NULL;
20363}
20364
20365
20366static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20367 PyObject *resultobj;
20368 long result;
20369 char *kwnames[] = {
20370 NULL
20371 };
20372
20373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
20374 {
20375 PyThreadState* __tstate = wxPyBeginAllowThreads();
20376 result = (long)wxPyApp::GetMacAboutMenuItemId();
20377
20378 wxPyEndAllowThreads(__tstate);
20379 if (PyErr_Occurred()) SWIG_fail;
20380 }
2f4c0a16 20381 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20382 return resultobj;
20383 fail:
20384 return NULL;
20385}
20386
20387
20388static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20389 PyObject *resultobj;
20390 long result;
20391 char *kwnames[] = {
20392 NULL
20393 };
20394
20395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
20396 {
20397 PyThreadState* __tstate = wxPyBeginAllowThreads();
20398 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
20399
20400 wxPyEndAllowThreads(__tstate);
20401 if (PyErr_Occurred()) SWIG_fail;
20402 }
2f4c0a16 20403 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20404 return resultobj;
20405 fail:
20406 return NULL;
20407}
20408
20409
20410static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20411 PyObject *resultobj;
20412 long result;
20413 char *kwnames[] = {
20414 NULL
20415 };
20416
20417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
20418 {
20419 PyThreadState* __tstate = wxPyBeginAllowThreads();
20420 result = (long)wxPyApp::GetMacExitMenuItemId();
20421
20422 wxPyEndAllowThreads(__tstate);
20423 if (PyErr_Occurred()) SWIG_fail;
20424 }
2f4c0a16 20425 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20426 return resultobj;
20427 fail:
20428 return NULL;
20429}
20430
20431
20432static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
20433 PyObject *resultobj;
20434 wxString result;
20435 char *kwnames[] = {
20436 NULL
20437 };
20438
20439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
20440 {
20441 PyThreadState* __tstate = wxPyBeginAllowThreads();
20442 result = wxPyApp::GetMacHelpMenuTitleName();
20443
20444 wxPyEndAllowThreads(__tstate);
20445 if (PyErr_Occurred()) SWIG_fail;
20446 }
20447 {
20448#if wxUSE_UNICODE
20449 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20450#else
20451 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20452#endif
20453 }
20454 return resultobj;
20455 fail:
20456 return NULL;
20457}
20458
20459
20460static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
20461 PyObject *resultobj;
20462 bool arg1 ;
20463 PyObject * obj0 = 0 ;
20464 char *kwnames[] = {
20465 (char *) "val", NULL
20466 };
20467
20468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20469 arg1 = (bool) SWIG_AsBool(obj0);
20470 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20471 {
20472 PyThreadState* __tstate = wxPyBeginAllowThreads();
20473 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
20474
20475 wxPyEndAllowThreads(__tstate);
20476 if (PyErr_Occurred()) SWIG_fail;
20477 }
20478 Py_INCREF(Py_None); resultobj = Py_None;
20479 return resultobj;
20480 fail:
20481 return NULL;
20482}
20483
20484
20485static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20486 PyObject *resultobj;
20487 long arg1 ;
8edf1c75 20488 PyObject * obj0 = 0 ;
d14a1e28
RD
20489 char *kwnames[] = {
20490 (char *) "val", NULL
20491 };
20492
8edf1c75 20493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20494 arg1 = (long) SWIG_AsLong(obj0);
20495 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20496 {
20497 PyThreadState* __tstate = wxPyBeginAllowThreads();
20498 wxPyApp::SetMacAboutMenuItemId(arg1);
20499
20500 wxPyEndAllowThreads(__tstate);
20501 if (PyErr_Occurred()) SWIG_fail;
20502 }
20503 Py_INCREF(Py_None); resultobj = Py_None;
20504 return resultobj;
20505 fail:
20506 return NULL;
20507}
20508
20509
20510static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20511 PyObject *resultobj;
20512 long arg1 ;
8edf1c75 20513 PyObject * obj0 = 0 ;
d14a1e28
RD
20514 char *kwnames[] = {
20515 (char *) "val", NULL
20516 };
20517
8edf1c75 20518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20519 arg1 = (long) SWIG_AsLong(obj0);
20520 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20521 {
20522 PyThreadState* __tstate = wxPyBeginAllowThreads();
20523 wxPyApp::SetMacPreferencesMenuItemId(arg1);
20524
20525 wxPyEndAllowThreads(__tstate);
20526 if (PyErr_Occurred()) SWIG_fail;
20527 }
20528 Py_INCREF(Py_None); resultobj = Py_None;
20529 return resultobj;
20530 fail:
20531 return NULL;
20532}
20533
20534
20535static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20536 PyObject *resultobj;
20537 long arg1 ;
8edf1c75 20538 PyObject * obj0 = 0 ;
d14a1e28
RD
20539 char *kwnames[] = {
20540 (char *) "val", NULL
20541 };
20542
8edf1c75 20543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20544 arg1 = (long) SWIG_AsLong(obj0);
20545 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20546 {
20547 PyThreadState* __tstate = wxPyBeginAllowThreads();
20548 wxPyApp::SetMacExitMenuItemId(arg1);
20549
20550 wxPyEndAllowThreads(__tstate);
20551 if (PyErr_Occurred()) SWIG_fail;
20552 }
20553 Py_INCREF(Py_None); resultobj = Py_None;
20554 return resultobj;
20555 fail:
20556 return NULL;
20557}
20558
20559
20560static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
20561 PyObject *resultobj;
20562 wxString *arg1 = 0 ;
423f194a 20563 bool temp1 = False ;
d14a1e28
RD
20564 PyObject * obj0 = 0 ;
20565 char *kwnames[] = {
20566 (char *) "val", NULL
20567 };
20568
20569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
20570 {
20571 arg1 = wxString_in_helper(obj0);
20572 if (arg1 == NULL) SWIG_fail;
423f194a 20573 temp1 = True;
d14a1e28
RD
20574 }
20575 {
20576 PyThreadState* __tstate = wxPyBeginAllowThreads();
20577 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
20578
20579 wxPyEndAllowThreads(__tstate);
20580 if (PyErr_Occurred()) SWIG_fail;
20581 }
20582 Py_INCREF(Py_None); resultobj = Py_None;
20583 {
20584 if (temp1)
20585 delete arg1;
20586 }
20587 return resultobj;
20588 fail:
20589 {
20590 if (temp1)
20591 delete arg1;
20592 }
20593 return NULL;
20594}
20595
20596
20597static PyObject *_wrap_PyApp__BootstrapApp(PyObject *self, PyObject *args, PyObject *kwargs) {
20598 PyObject *resultobj;
20599 wxPyApp *arg1 = (wxPyApp *) 0 ;
20600 PyObject * obj0 = 0 ;
20601 char *kwnames[] = {
20602 (char *) "self", NULL
20603 };
20604
20605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20608 {
20609 PyThreadState* __tstate = wxPyBeginAllowThreads();
20610 (arg1)->_BootstrapApp();
20611
20612 wxPyEndAllowThreads(__tstate);
20613 if (PyErr_Occurred()) SWIG_fail;
20614 }
20615 Py_INCREF(Py_None); resultobj = Py_None;
20616 return resultobj;
20617 fail:
20618 return NULL;
20619}
20620
20621
20622static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *self, PyObject *args, PyObject *kwargs) {
20623 PyObject *resultobj;
20624 int result;
20625 char *kwnames[] = {
20626 NULL
20627 };
20628
20629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
20630 {
20631 PyThreadState* __tstate = wxPyBeginAllowThreads();
20632 result = (int)wxPyApp::GetComCtl32Version();
20633
20634 wxPyEndAllowThreads(__tstate);
20635 if (PyErr_Occurred()) SWIG_fail;
20636 }
2f4c0a16 20637 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20638 return resultobj;
20639 fail:
20640 return NULL;
20641}
20642
20643
20644static PyObject * PyApp_swigregister(PyObject *self, PyObject *args) {
20645 PyObject *obj;
20646 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20647 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
20648 Py_INCREF(obj);
20649 return Py_BuildValue((char *)"");
20650}
20651static PyObject *_wrap_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
20652 PyObject *resultobj;
20653 char *kwnames[] = {
20654 NULL
20655 };
20656
20657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
20658 {
20659 PyThreadState* __tstate = wxPyBeginAllowThreads();
20660 wxExit();
20661
20662 wxPyEndAllowThreads(__tstate);
20663 if (PyErr_Occurred()) SWIG_fail;
20664 }
20665 Py_INCREF(Py_None); resultobj = Py_None;
20666 return resultobj;
20667 fail:
20668 return NULL;
20669}
20670
20671
20672static PyObject *_wrap_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
20673 PyObject *resultobj;
20674 bool result;
20675 char *kwnames[] = {
20676 NULL
20677 };
20678
20679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
20680 {
20681 PyThreadState* __tstate = wxPyBeginAllowThreads();
20682 result = (bool)wxYield();
20683
20684 wxPyEndAllowThreads(__tstate);
20685 if (PyErr_Occurred()) SWIG_fail;
20686 }
4f89f6a3
RD
20687 {
20688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20689 }
d14a1e28
RD
20690 return resultobj;
20691 fail:
20692 return NULL;
20693}
20694
20695
20696static PyObject *_wrap_YieldIfNeeded(PyObject *self, PyObject *args, PyObject *kwargs) {
20697 PyObject *resultobj;
20698 bool result;
20699 char *kwnames[] = {
20700 NULL
20701 };
20702
20703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
20704 {
20705 PyThreadState* __tstate = wxPyBeginAllowThreads();
20706 result = (bool)wxYieldIfNeeded();
20707
20708 wxPyEndAllowThreads(__tstate);
20709 if (PyErr_Occurred()) SWIG_fail;
20710 }
4f89f6a3
RD
20711 {
20712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20713 }
d14a1e28
RD
20714 return resultobj;
20715 fail:
20716 return NULL;
20717}
20718
20719
20720static PyObject *_wrap_SafeYield(PyObject *self, PyObject *args, PyObject *kwargs) {
20721 PyObject *resultobj;
20722 wxWindow *arg1 = (wxWindow *) NULL ;
423f194a 20723 bool arg2 = (bool) False ;
d14a1e28
RD
20724 bool result;
20725 PyObject * obj0 = 0 ;
20726 PyObject * obj1 = 0 ;
20727 char *kwnames[] = {
20728 (char *) "win",(char *) "onlyIfNeeded", NULL
20729 };
20730
20731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
20732 if (obj0) {
2f4c0a16
RD
20733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20735 }
20736 if (obj1) {
2f4c0a16
RD
20737 arg2 = (bool) SWIG_AsBool(obj1);
20738 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20739 }
20740 {
20741 PyThreadState* __tstate = wxPyBeginAllowThreads();
20742 result = (bool)wxSafeYield(arg1,arg2);
20743
20744 wxPyEndAllowThreads(__tstate);
20745 if (PyErr_Occurred()) SWIG_fail;
20746 }
4f89f6a3
RD
20747 {
20748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20749 }
d14a1e28
RD
20750 return resultobj;
20751 fail:
20752 return NULL;
20753}
20754
20755
20756static PyObject *_wrap_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
20757 PyObject *resultobj;
20758 char *kwnames[] = {
20759 NULL
20760 };
20761
20762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
20763 {
20764 PyThreadState* __tstate = wxPyBeginAllowThreads();
20765 wxWakeUpIdle();
20766
20767 wxPyEndAllowThreads(__tstate);
20768 if (PyErr_Occurred()) SWIG_fail;
20769 }
20770 Py_INCREF(Py_None); resultobj = Py_None;
20771 return resultobj;
20772 fail:
20773 return NULL;
20774}
20775
20776
20777static PyObject *_wrap_PostEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20778 PyObject *resultobj;
20779 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
20780 wxEvent *arg2 = 0 ;
20781 PyObject * obj0 = 0 ;
20782 PyObject * obj1 = 0 ;
20783 char *kwnames[] = {
20784 (char *) "dest",(char *) "event", NULL
20785 };
20786
20787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
20789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20790 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
20791 SWIG_POINTER_EXCEPTION | 0)) == -1)
20792 SWIG_fail;
d14a1e28 20793 if (arg2 == NULL) {
2f4c0a16
RD
20794 PyErr_SetString(PyExc_TypeError,"null reference");
20795 SWIG_fail;
d14a1e28
RD
20796 }
20797 {
20798 PyThreadState* __tstate = wxPyBeginAllowThreads();
20799 wxPostEvent(arg1,*arg2);
20800
20801 wxPyEndAllowThreads(__tstate);
20802 if (PyErr_Occurred()) SWIG_fail;
20803 }
20804 Py_INCREF(Py_None); resultobj = Py_None;
20805 return resultobj;
20806 fail:
20807 return NULL;
20808}
20809
20810
20811static PyObject *_wrap_App_CleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
20812 PyObject *resultobj;
20813 char *kwnames[] = {
20814 NULL
20815 };
20816
20817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
20818 {
20819 PyThreadState* __tstate = wxPyBeginAllowThreads();
20820 wxApp_CleanUp();
20821
20822 wxPyEndAllowThreads(__tstate);
20823 if (PyErr_Occurred()) SWIG_fail;
20824 }
20825 Py_INCREF(Py_None); resultobj = Py_None;
20826 return resultobj;
20827 fail:
20828 return NULL;
20829}
20830
20831
20832static PyObject *_wrap_GetApp(PyObject *self, PyObject *args, PyObject *kwargs) {
20833 PyObject *resultobj;
20834 wxPyApp *result;
20835 char *kwnames[] = {
20836 NULL
20837 };
20838
20839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
20840 {
20841 PyThreadState* __tstate = wxPyBeginAllowThreads();
20842 result = (wxPyApp *)wxGetApp();
20843
20844 wxPyEndAllowThreads(__tstate);
20845 if (PyErr_Occurred()) SWIG_fail;
20846 }
20847 {
20848 resultobj = wxPyMake_wxObject(result);
20849 }
20850 return resultobj;
20851 fail:
20852 return NULL;
20853}
20854
20855
41f1cec7
RD
20856static PyObject *_wrap_new_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
20857 PyObject *resultobj;
20858 int arg1 = (int) 0 ;
20859 int arg2 = (int) 0 ;
20860 int arg3 = (int) 0 ;
20861 wxMenuItem *arg4 = (wxMenuItem *) NULL ;
20862 wxAcceleratorEntry *result;
8edf1c75
RD
20863 PyObject * obj0 = 0 ;
20864 PyObject * obj1 = 0 ;
20865 PyObject * obj2 = 0 ;
41f1cec7
RD
20866 PyObject * obj3 = 0 ;
20867 char *kwnames[] = {
20868 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20869 };
20870
8edf1c75
RD
20871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_AcceleratorEntry",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20872 if (obj0) {
2f4c0a16
RD
20873 arg1 = (int) SWIG_AsInt(obj0);
20874 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
20875 }
20876 if (obj1) {
2f4c0a16
RD
20877 arg2 = (int) SWIG_AsInt(obj1);
20878 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
20879 }
20880 if (obj2) {
2f4c0a16
RD
20881 arg3 = (int) SWIG_AsInt(obj2);
20882 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 20883 }
41f1cec7 20884 if (obj3) {
2f4c0a16
RD
20885 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenuItem,
20886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
20887 }
20888 {
20889 PyThreadState* __tstate = wxPyBeginAllowThreads();
20890 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3,arg4);
20891
20892 wxPyEndAllowThreads(__tstate);
20893 if (PyErr_Occurred()) SWIG_fail;
20894 }
2f4c0a16 20895 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 1);
41f1cec7
RD
20896 return resultobj;
20897 fail:
20898 return NULL;
20899}
20900
20901
20902static PyObject *_wrap_delete_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
20903 PyObject *resultobj;
20904 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20905 PyObject * obj0 = 0 ;
20906 char *kwnames[] = {
20907 (char *) "self", NULL
20908 };
20909
20910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
20913 {
20914 PyThreadState* __tstate = wxPyBeginAllowThreads();
20915 delete arg1;
20916
20917 wxPyEndAllowThreads(__tstate);
20918 if (PyErr_Occurred()) SWIG_fail;
20919 }
20920 Py_INCREF(Py_None); resultobj = Py_None;
20921 return resultobj;
20922 fail:
20923 return NULL;
20924}
20925
20926
20927static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
20928 PyObject *resultobj;
20929 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20930 int arg2 ;
20931 int arg3 ;
20932 int arg4 ;
20933 wxMenuItem *arg5 = (wxMenuItem *) NULL ;
20934 PyObject * obj0 = 0 ;
8edf1c75
RD
20935 PyObject * obj1 = 0 ;
20936 PyObject * obj2 = 0 ;
20937 PyObject * obj3 = 0 ;
41f1cec7
RD
20938 PyObject * obj4 = 0 ;
20939 char *kwnames[] = {
20940 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20941 };
20942
8edf1c75 20943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
20944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20946 arg2 = (int) SWIG_AsInt(obj1);
20947 if (PyErr_Occurred()) SWIG_fail;
20948 arg3 = (int) SWIG_AsInt(obj2);
20949 if (PyErr_Occurred()) SWIG_fail;
20950 arg4 = (int) SWIG_AsInt(obj3);
20951 if (PyErr_Occurred()) SWIG_fail;
41f1cec7 20952 if (obj4) {
2f4c0a16
RD
20953 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMenuItem,
20954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
20955 }
20956 {
20957 PyThreadState* __tstate = wxPyBeginAllowThreads();
20958 (arg1)->Set(arg2,arg3,arg4,arg5);
20959
20960 wxPyEndAllowThreads(__tstate);
20961 if (PyErr_Occurred()) SWIG_fail;
20962 }
20963 Py_INCREF(Py_None); resultobj = Py_None;
20964 return resultobj;
20965 fail:
20966 return NULL;
20967}
20968
20969
20970static PyObject *_wrap_AcceleratorEntry_SetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20971 PyObject *resultobj;
20972 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20973 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
20974 PyObject * obj0 = 0 ;
20975 PyObject * obj1 = 0 ;
20976 char *kwnames[] = {
20977 (char *) "self",(char *) "item", NULL
20978 };
20979
20980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20983 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
20984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
20985 {
20986 PyThreadState* __tstate = wxPyBeginAllowThreads();
20987 (arg1)->SetMenuItem(arg2);
20988
20989 wxPyEndAllowThreads(__tstate);
20990 if (PyErr_Occurred()) SWIG_fail;
20991 }
20992 Py_INCREF(Py_None); resultobj = Py_None;
20993 return resultobj;
20994 fail:
20995 return NULL;
20996}
20997
20998
20999static PyObject *_wrap_AcceleratorEntry_GetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21000 PyObject *resultobj;
21001 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21002 wxMenuItem *result;
21003 PyObject * obj0 = 0 ;
21004 char *kwnames[] = {
21005 (char *) "self", NULL
21006 };
21007
21008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
21011 {
21012 PyThreadState* __tstate = wxPyBeginAllowThreads();
21013 result = (wxMenuItem *)((wxAcceleratorEntry const *)arg1)->GetMenuItem();
21014
21015 wxPyEndAllowThreads(__tstate);
21016 if (PyErr_Occurred()) SWIG_fail;
21017 }
21018 {
21019 resultobj = wxPyMake_wxObject(result);
21020 }
21021 return resultobj;
21022 fail:
21023 return NULL;
21024}
21025
21026
21027static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
21028 PyObject *resultobj;
21029 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21030 int result;
21031 PyObject * obj0 = 0 ;
21032 char *kwnames[] = {
21033 (char *) "self", NULL
21034 };
21035
21036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
21039 {
21040 PyThreadState* __tstate = wxPyBeginAllowThreads();
21041 result = (int)(arg1)->GetFlags();
21042
21043 wxPyEndAllowThreads(__tstate);
21044 if (PyErr_Occurred()) SWIG_fail;
21045 }
2f4c0a16 21046 resultobj = SWIG_FromInt((int)result);
41f1cec7
RD
21047 return resultobj;
21048 fail:
21049 return NULL;
21050}
21051
21052
21053static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
21054 PyObject *resultobj;
21055 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21056 int result;
21057 PyObject * obj0 = 0 ;
21058 char *kwnames[] = {
21059 (char *) "self", NULL
21060 };
21061
21062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
21065 {
21066 PyThreadState* __tstate = wxPyBeginAllowThreads();
21067 result = (int)(arg1)->GetKeyCode();
21068
21069 wxPyEndAllowThreads(__tstate);
21070 if (PyErr_Occurred()) SWIG_fail;
21071 }
2f4c0a16 21072 resultobj = SWIG_FromInt((int)result);
41f1cec7
RD
21073 return resultobj;
21074 fail:
21075 return NULL;
21076}
21077
21078
21079static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
21080 PyObject *resultobj;
21081 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21082 int result;
21083 PyObject * obj0 = 0 ;
21084 char *kwnames[] = {
21085 (char *) "self", NULL
21086 };
21087
21088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
21091 {
21092 PyThreadState* __tstate = wxPyBeginAllowThreads();
21093 result = (int)(arg1)->GetCommand();
21094
21095 wxPyEndAllowThreads(__tstate);
21096 if (PyErr_Occurred()) SWIG_fail;
21097 }
2f4c0a16 21098 resultobj = SWIG_FromInt((int)result);
41f1cec7
RD
21099 return resultobj;
21100 fail:
21101 return NULL;
21102}
21103
21104
21105static PyObject * AcceleratorEntry_swigregister(PyObject *self, PyObject *args) {
21106 PyObject *obj;
21107 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21108 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
21109 Py_INCREF(obj);
21110 return Py_BuildValue((char *)"");
21111}
21112static PyObject *_wrap_new_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21113 PyObject *resultobj;
21114 int arg1 ;
21115 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
21116 wxAcceleratorTable *result;
21117 PyObject * obj0 = 0 ;
21118 char *kwnames[] = {
21119 (char *) "n", NULL
21120 };
21121
21122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
21123 {
21124 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
21125 if (arg2) arg1 = PyList_Size(obj0);
21126 else arg1 = 0;
21127 }
21128 {
21129 PyThreadState* __tstate = wxPyBeginAllowThreads();
21130 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
21131
21132 wxPyEndAllowThreads(__tstate);
21133 if (PyErr_Occurred()) SWIG_fail;
21134 }
2f4c0a16 21135 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 1);
41f1cec7
RD
21136 {
21137 delete [] arg2;
21138 }
21139 return resultobj;
21140 fail:
21141 {
21142 delete [] arg2;
21143 }
21144 return NULL;
21145}
21146
21147
21148static PyObject *_wrap_delete_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21149 PyObject *resultobj;
21150 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
21151 PyObject * obj0 = 0 ;
21152 char *kwnames[] = {
21153 (char *) "self", NULL
21154 };
21155
21156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
21158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
21159 {
21160 PyThreadState* __tstate = wxPyBeginAllowThreads();
21161 delete arg1;
21162
21163 wxPyEndAllowThreads(__tstate);
21164 if (PyErr_Occurred()) SWIG_fail;
21165 }
21166 Py_INCREF(Py_None); resultobj = Py_None;
21167 return resultobj;
21168 fail:
21169 return NULL;
21170}
21171
21172
21173static PyObject *_wrap_AcceleratorTable_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21174 PyObject *resultobj;
21175 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
21176 bool result;
21177 PyObject * obj0 = 0 ;
21178 char *kwnames[] = {
21179 (char *) "self", NULL
21180 };
21181
21182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
21184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
21185 {
21186 PyThreadState* __tstate = wxPyBeginAllowThreads();
21187 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
21188
21189 wxPyEndAllowThreads(__tstate);
21190 if (PyErr_Occurred()) SWIG_fail;
21191 }
4f89f6a3
RD
21192 {
21193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21194 }
41f1cec7
RD
21195 return resultobj;
21196 fail:
21197 return NULL;
21198}
21199
21200
21201static PyObject * AcceleratorTable_swigregister(PyObject *self, PyObject *args) {
21202 PyObject *obj;
21203 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21204 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
21205 Py_INCREF(obj);
21206 return Py_BuildValue((char *)"");
21207}
2f4c0a16 21208static int _wrap_NullAcceleratorTable_set(PyObject *_val) {
41f1cec7
RD
21209 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
21210 return 1;
21211}
21212
21213
21214static PyObject *_wrap_NullAcceleratorTable_get() {
21215 PyObject *pyobj;
21216
2f4c0a16 21217 pyobj = SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable), SWIGTYPE_p_wxAcceleratorTable, 0);
41f1cec7
RD
21218 return pyobj;
21219}
21220
21221
21222static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) {
21223 PyObject *resultobj;
21224 wxString *arg1 = 0 ;
21225 wxAcceleratorEntry *result;
21226 bool temp1 = False ;
21227 PyObject * obj0 = 0 ;
21228 char *kwnames[] = {
21229 (char *) "label", NULL
21230 };
21231
21232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
21233 {
21234 arg1 = wxString_in_helper(obj0);
21235 if (arg1 == NULL) SWIG_fail;
21236 temp1 = True;
21237 }
21238 {
21239 PyThreadState* __tstate = wxPyBeginAllowThreads();
21240 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
21241
21242 wxPyEndAllowThreads(__tstate);
21243 if (PyErr_Occurred()) SWIG_fail;
21244 }
2f4c0a16 21245 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
41f1cec7
RD
21246 {
21247 if (temp1)
21248 delete arg1;
21249 }
21250 return resultobj;
21251 fail:
21252 {
21253 if (temp1)
21254 delete arg1;
21255 }
21256 return NULL;
21257}
21258
21259
2f4c0a16 21260static int _wrap_PanelNameStr_set(PyObject *_val) {
423f194a
RD
21261 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
21262 return 1;
21263}
21264
21265
21266static PyObject *_wrap_PanelNameStr_get() {
21267 PyObject *pyobj;
21268
21269 {
21270#if wxUSE_UNICODE
21271 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21272#else
21273 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21274#endif
21275 }
21276 return pyobj;
21277}
21278
21279
74a57fcd
RD
21280static PyObject *_wrap_new_VisualAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
21281 PyObject *resultobj;
21282 wxVisualAttributes *result;
21283 char *kwnames[] = {
21284 NULL
21285 };
21286
21287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_VisualAttributes",kwnames)) goto fail;
21288 {
21289 PyThreadState* __tstate = wxPyBeginAllowThreads();
21290 result = (wxVisualAttributes *)new_wxVisualAttributes();
21291
21292 wxPyEndAllowThreads(__tstate);
21293 if (PyErr_Occurred()) SWIG_fail;
21294 }
21295 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVisualAttributes, 1);
21296 return resultobj;
21297 fail:
21298 return NULL;
21299}
21300
21301
21302static PyObject *_wrap_delete_VisualAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
21303 PyObject *resultobj;
21304 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21305 PyObject * obj0 = 0 ;
21306 char *kwnames[] = {
21307 (char *) "self", NULL
21308 };
21309
21310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VisualAttributes",kwnames,&obj0)) goto fail;
21311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21313 {
21314 PyThreadState* __tstate = wxPyBeginAllowThreads();
21315 delete_wxVisualAttributes(arg1);
21316
21317 wxPyEndAllowThreads(__tstate);
21318 if (PyErr_Occurred()) SWIG_fail;
21319 }
21320 Py_INCREF(Py_None); resultobj = Py_None;
21321 return resultobj;
21322 fail:
21323 return NULL;
21324}
21325
21326
21327static PyObject *_wrap_VisualAttributes_font_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21328 PyObject *resultobj;
21329 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21330 wxFont *arg2 = (wxFont *) 0 ;
21331 PyObject * obj0 = 0 ;
21332 PyObject * obj1 = 0 ;
21333 char *kwnames[] = {
21334 (char *) "self",(char *) "font", NULL
21335 };
21336
21337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_font_set",kwnames,&obj0,&obj1)) goto fail;
21338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21340 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
21341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21342 if (arg1) (arg1)->font = *arg2;
21343
21344 Py_INCREF(Py_None); resultobj = Py_None;
21345 return resultobj;
21346 fail:
21347 return NULL;
21348}
21349
21350
21351static PyObject *_wrap_VisualAttributes_font_get(PyObject *self, PyObject *args, PyObject *kwargs) {
21352 PyObject *resultobj;
21353 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21354 wxFont *result;
21355 PyObject * obj0 = 0 ;
21356 char *kwnames[] = {
21357 (char *) "self", NULL
21358 };
21359
21360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_font_get",kwnames,&obj0)) goto fail;
21361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21363 result = (wxFont *)& ((arg1)->font);
21364
21365 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
21366 return resultobj;
21367 fail:
21368 return NULL;
21369}
21370
21371
21372static PyObject *_wrap_VisualAttributes_colFg_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21373 PyObject *resultobj;
21374 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21375 wxColour *arg2 = (wxColour *) 0 ;
21376 PyObject * obj0 = 0 ;
21377 PyObject * obj1 = 0 ;
21378 char *kwnames[] = {
21379 (char *) "self",(char *) "colFg", NULL
21380 };
21381
21382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colFg_set",kwnames,&obj0,&obj1)) goto fail;
21383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21385 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColour,
21386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21387 if (arg1) (arg1)->colFg = *arg2;
21388
21389 Py_INCREF(Py_None); resultobj = Py_None;
21390 return resultobj;
21391 fail:
21392 return NULL;
21393}
21394
21395
21396static PyObject *_wrap_VisualAttributes_colFg_get(PyObject *self, PyObject *args, PyObject *kwargs) {
21397 PyObject *resultobj;
21398 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21399 wxColour *result;
21400 PyObject * obj0 = 0 ;
21401 char *kwnames[] = {
21402 (char *) "self", NULL
21403 };
21404
21405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colFg_get",kwnames,&obj0)) goto fail;
21406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21408 result = (wxColour *)& ((arg1)->colFg);
21409
21410 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
21411 return resultobj;
21412 fail:
21413 return NULL;
21414}
21415
21416
21417static PyObject *_wrap_VisualAttributes_colBg_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21418 PyObject *resultobj;
21419 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21420 wxColour *arg2 = (wxColour *) 0 ;
21421 PyObject * obj0 = 0 ;
21422 PyObject * obj1 = 0 ;
21423 char *kwnames[] = {
21424 (char *) "self",(char *) "colBg", NULL
21425 };
21426
21427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colBg_set",kwnames,&obj0,&obj1)) goto fail;
21428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21430 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColour,
21431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21432 if (arg1) (arg1)->colBg = *arg2;
21433
21434 Py_INCREF(Py_None); resultobj = Py_None;
21435 return resultobj;
21436 fail:
21437 return NULL;
21438}
21439
21440
21441static PyObject *_wrap_VisualAttributes_colBg_get(PyObject *self, PyObject *args, PyObject *kwargs) {
21442 PyObject *resultobj;
21443 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21444 wxColour *result;
21445 PyObject * obj0 = 0 ;
21446 char *kwnames[] = {
21447 (char *) "self", NULL
21448 };
21449
21450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colBg_get",kwnames,&obj0)) goto fail;
21451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21453 result = (wxColour *)& ((arg1)->colBg);
21454
21455 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
21456 return resultobj;
21457 fail:
21458 return NULL;
21459}
21460
21461
21462static PyObject * VisualAttributes_swigregister(PyObject *self, PyObject *args) {
21463 PyObject *obj;
21464 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21465 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes, obj);
21466 Py_INCREF(obj);
21467 return Py_BuildValue((char *)"");
21468}
d14a1e28
RD
21469static PyObject *_wrap_new_Window(PyObject *self, PyObject *args, PyObject *kwargs) {
21470 PyObject *resultobj;
21471 wxWindow *arg1 = (wxWindow *) 0 ;
74a57fcd 21472 int arg2 = (int) (int)-1 ;
d14a1e28
RD
21473 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21474 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21475 wxSize const &arg4_defvalue = wxDefaultSize ;
21476 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21477 long arg5 = (long) 0 ;
21478 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21479 wxString *arg6 = (wxString *) &arg6_defvalue ;
21480 wxWindow *result;
21481 wxPoint temp3 ;
21482 wxSize temp4 ;
423f194a 21483 bool temp6 = False ;
d14a1e28 21484 PyObject * obj0 = 0 ;
8edf1c75 21485 PyObject * obj1 = 0 ;
d14a1e28
RD
21486 PyObject * obj2 = 0 ;
21487 PyObject * obj3 = 0 ;
8edf1c75 21488 PyObject * obj4 = 0 ;
d14a1e28
RD
21489 PyObject * obj5 = 0 ;
21490 char *kwnames[] = {
21491 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21492 };
21493
74a57fcd 21494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Window",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
21495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
74a57fcd
RD
21497 if (obj1) {
21498 arg2 = (int const) SWIG_AsInt(obj1);
21499 if (PyErr_Occurred()) SWIG_fail;
21500 }
d14a1e28
RD
21501 if (obj2) {
21502 {
21503 arg3 = &temp3;
21504 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21505 }
21506 }
21507 if (obj3) {
21508 {
21509 arg4 = &temp4;
21510 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21511 }
21512 }
8edf1c75 21513 if (obj4) {
2f4c0a16
RD
21514 arg5 = (long) SWIG_AsLong(obj4);
21515 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21516 }
d14a1e28
RD
21517 if (obj5) {
21518 {
21519 arg6 = wxString_in_helper(obj5);
21520 if (arg6 == NULL) SWIG_fail;
423f194a 21521 temp6 = True;
d14a1e28
RD
21522 }
21523 }
21524 {
21525 PyThreadState* __tstate = wxPyBeginAllowThreads();
21526 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21527
21528 wxPyEndAllowThreads(__tstate);
21529 if (PyErr_Occurred()) SWIG_fail;
21530 }
21531 {
21532 resultobj = wxPyMake_wxObject(result);
21533 }
21534 {
21535 if (temp6)
21536 delete arg6;
21537 }
21538 return resultobj;
21539 fail:
21540 {
21541 if (temp6)
21542 delete arg6;
21543 }
21544 return NULL;
21545}
21546
21547
21548static PyObject *_wrap_new_PreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21549 PyObject *resultobj;
21550 wxWindow *result;
21551 char *kwnames[] = {
21552 NULL
21553 };
21554
21555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
21556 {
21557 PyThreadState* __tstate = wxPyBeginAllowThreads();
21558 result = (wxWindow *)new wxWindow();
21559
21560 wxPyEndAllowThreads(__tstate);
21561 if (PyErr_Occurred()) SWIG_fail;
21562 }
21563 {
21564 resultobj = wxPyMake_wxObject(result);
21565 }
21566 return resultobj;
21567 fail:
21568 return NULL;
21569}
21570
21571
21572static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21573 PyObject *resultobj;
21574 wxWindow *arg1 = (wxWindow *) 0 ;
21575 wxWindow *arg2 = (wxWindow *) 0 ;
74a57fcd 21576 int arg3 = (int) (int)-1 ;
d14a1e28
RD
21577 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21578 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21579 wxSize const &arg5_defvalue = wxDefaultSize ;
21580 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21581 long arg6 = (long) 0 ;
21582 wxString const &arg7_defvalue = wxPyPanelNameStr ;
21583 wxString *arg7 = (wxString *) &arg7_defvalue ;
21584 bool result;
21585 wxPoint temp4 ;
21586 wxSize temp5 ;
423f194a 21587 bool temp7 = False ;
d14a1e28
RD
21588 PyObject * obj0 = 0 ;
21589 PyObject * obj1 = 0 ;
8edf1c75 21590 PyObject * obj2 = 0 ;
d14a1e28
RD
21591 PyObject * obj3 = 0 ;
21592 PyObject * obj4 = 0 ;
8edf1c75 21593 PyObject * obj5 = 0 ;
d14a1e28
RD
21594 PyObject * obj6 = 0 ;
21595 char *kwnames[] = {
21596 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21597 };
21598
74a57fcd 21599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Window_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
21600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21602 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
74a57fcd
RD
21604 if (obj2) {
21605 arg3 = (int const) SWIG_AsInt(obj2);
21606 if (PyErr_Occurred()) SWIG_fail;
21607 }
d14a1e28
RD
21608 if (obj3) {
21609 {
21610 arg4 = &temp4;
21611 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21612 }
21613 }
21614 if (obj4) {
21615 {
21616 arg5 = &temp5;
21617 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21618 }
21619 }
8edf1c75 21620 if (obj5) {
2f4c0a16
RD
21621 arg6 = (long) SWIG_AsLong(obj5);
21622 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21623 }
d14a1e28
RD
21624 if (obj6) {
21625 {
21626 arg7 = wxString_in_helper(obj6);
21627 if (arg7 == NULL) SWIG_fail;
423f194a 21628 temp7 = True;
d14a1e28
RD
21629 }
21630 }
21631 {
21632 PyThreadState* __tstate = wxPyBeginAllowThreads();
21633 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21634
21635 wxPyEndAllowThreads(__tstate);
21636 if (PyErr_Occurred()) SWIG_fail;
21637 }
4f89f6a3
RD
21638 {
21639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21640 }
d14a1e28
RD
21641 {
21642 if (temp7)
21643 delete arg7;
21644 }
21645 return resultobj;
21646 fail:
21647 {
21648 if (temp7)
21649 delete arg7;
21650 }
21651 return NULL;
21652}
21653
21654
21655static PyObject *_wrap_Window_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
21656 PyObject *resultobj;
21657 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 21658 bool arg2 = (bool) False ;
d14a1e28
RD
21659 bool result;
21660 PyObject * obj0 = 0 ;
21661 PyObject * obj1 = 0 ;
21662 char *kwnames[] = {
21663 (char *) "self",(char *) "force", NULL
21664 };
21665
21666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 21669 if (obj1) {
2f4c0a16
RD
21670 arg2 = (bool) SWIG_AsBool(obj1);
21671 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21672 }
21673 {
21674 PyThreadState* __tstate = wxPyBeginAllowThreads();
21675 result = (bool)(arg1)->Close(arg2);
21676
21677 wxPyEndAllowThreads(__tstate);
21678 if (PyErr_Occurred()) SWIG_fail;
21679 }
4f89f6a3
RD
21680 {
21681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21682 }
d14a1e28
RD
21683 return resultobj;
21684 fail:
21685 return NULL;
21686}
21687
21688
21689static PyObject *_wrap_Window_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
21690 PyObject *resultobj;
21691 wxWindow *arg1 = (wxWindow *) 0 ;
21692 bool result;
21693 PyObject * obj0 = 0 ;
21694 char *kwnames[] = {
21695 (char *) "self", NULL
21696 };
21697
21698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21701 {
21702 PyThreadState* __tstate = wxPyBeginAllowThreads();
21703 result = (bool)(arg1)->Destroy();
21704
21705 wxPyEndAllowThreads(__tstate);
21706 if (PyErr_Occurred()) SWIG_fail;
21707 }
4f89f6a3
RD
21708 {
21709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21710 }
d14a1e28
RD
21711 return resultobj;
21712 fail:
21713 return NULL;
21714}
21715
21716
21717static PyObject *_wrap_Window_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21718 PyObject *resultobj;
21719 wxWindow *arg1 = (wxWindow *) 0 ;
21720 bool result;
21721 PyObject * obj0 = 0 ;
21722 char *kwnames[] = {
21723 (char *) "self", NULL
21724 };
21725
21726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21729 {
21730 PyThreadState* __tstate = wxPyBeginAllowThreads();
21731 result = (bool)(arg1)->DestroyChildren();
21732
21733 wxPyEndAllowThreads(__tstate);
21734 if (PyErr_Occurred()) SWIG_fail;
21735 }
4f89f6a3
RD
21736 {
21737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21738 }
d14a1e28
RD
21739 return resultobj;
21740 fail:
21741 return NULL;
21742}
21743
21744
21745static PyObject *_wrap_Window_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
21746 PyObject *resultobj;
21747 wxWindow *arg1 = (wxWindow *) 0 ;
21748 bool result;
21749 PyObject * obj0 = 0 ;
21750 char *kwnames[] = {
21751 (char *) "self", NULL
21752 };
21753
21754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21757 {
21758 PyThreadState* __tstate = wxPyBeginAllowThreads();
21759 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
21760
21761 wxPyEndAllowThreads(__tstate);
21762 if (PyErr_Occurred()) SWIG_fail;
21763 }
4f89f6a3
RD
21764 {
21765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21766 }
d14a1e28
RD
21767 return resultobj;
21768 fail:
21769 return NULL;
21770}
21771
21772
21773static PyObject *_wrap_Window_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21774 PyObject *resultobj;
21775 wxWindow *arg1 = (wxWindow *) 0 ;
21776 wxString *arg2 = 0 ;
423f194a 21777 bool temp2 = False ;
d14a1e28
RD
21778 PyObject * obj0 = 0 ;
21779 PyObject * obj1 = 0 ;
21780 char *kwnames[] = {
21781 (char *) "self",(char *) "title", NULL
21782 };
21783
21784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21787 {
21788 arg2 = wxString_in_helper(obj1);
21789 if (arg2 == NULL) SWIG_fail;
423f194a 21790 temp2 = True;
d14a1e28
RD
21791 }
21792 {
21793 PyThreadState* __tstate = wxPyBeginAllowThreads();
21794 (arg1)->SetTitle((wxString const &)*arg2);
21795
21796 wxPyEndAllowThreads(__tstate);
21797 if (PyErr_Occurred()) SWIG_fail;
21798 }
21799 Py_INCREF(Py_None); resultobj = Py_None;
21800 {
21801 if (temp2)
21802 delete arg2;
21803 }
21804 return resultobj;
21805 fail:
21806 {
21807 if (temp2)
21808 delete arg2;
21809 }
21810 return NULL;
21811}
21812
21813
21814static PyObject *_wrap_Window_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21815 PyObject *resultobj;
21816 wxWindow *arg1 = (wxWindow *) 0 ;
21817 wxString result;
21818 PyObject * obj0 = 0 ;
21819 char *kwnames[] = {
21820 (char *) "self", NULL
21821 };
21822
21823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21826 {
21827 PyThreadState* __tstate = wxPyBeginAllowThreads();
21828 result = ((wxWindow const *)arg1)->GetTitle();
21829
21830 wxPyEndAllowThreads(__tstate);
21831 if (PyErr_Occurred()) SWIG_fail;
21832 }
21833 {
21834#if wxUSE_UNICODE
21835 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21836#else
21837 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21838#endif
21839 }
21840 return resultobj;
21841 fail:
21842 return NULL;
21843}
21844
21845
21846static PyObject *_wrap_Window_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21847 PyObject *resultobj;
21848 wxWindow *arg1 = (wxWindow *) 0 ;
21849 wxString *arg2 = 0 ;
423f194a 21850 bool temp2 = False ;
d14a1e28
RD
21851 PyObject * obj0 = 0 ;
21852 PyObject * obj1 = 0 ;
21853 char *kwnames[] = {
21854 (char *) "self",(char *) "label", NULL
21855 };
21856
21857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21860 {
21861 arg2 = wxString_in_helper(obj1);
21862 if (arg2 == NULL) SWIG_fail;
423f194a 21863 temp2 = True;
d14a1e28
RD
21864 }
21865 {
21866 PyThreadState* __tstate = wxPyBeginAllowThreads();
21867 (arg1)->SetLabel((wxString const &)*arg2);
21868
21869 wxPyEndAllowThreads(__tstate);
21870 if (PyErr_Occurred()) SWIG_fail;
21871 }
21872 Py_INCREF(Py_None); resultobj = Py_None;
21873 {
21874 if (temp2)
21875 delete arg2;
21876 }
21877 return resultobj;
21878 fail:
21879 {
21880 if (temp2)
21881 delete arg2;
21882 }
21883 return NULL;
21884}
21885
21886
21887static PyObject *_wrap_Window_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21888 PyObject *resultobj;
21889 wxWindow *arg1 = (wxWindow *) 0 ;
21890 wxString result;
21891 PyObject * obj0 = 0 ;
21892 char *kwnames[] = {
21893 (char *) "self", NULL
21894 };
21895
21896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21899 {
21900 PyThreadState* __tstate = wxPyBeginAllowThreads();
21901 result = ((wxWindow const *)arg1)->GetLabel();
21902
21903 wxPyEndAllowThreads(__tstate);
21904 if (PyErr_Occurred()) SWIG_fail;
21905 }
21906 {
21907#if wxUSE_UNICODE
21908 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21909#else
21910 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21911#endif
21912 }
21913 return resultobj;
21914 fail:
21915 return NULL;
21916}
21917
21918
21919static PyObject *_wrap_Window_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
21920 PyObject *resultobj;
21921 wxWindow *arg1 = (wxWindow *) 0 ;
21922 wxString *arg2 = 0 ;
423f194a 21923 bool temp2 = False ;
d14a1e28
RD
21924 PyObject * obj0 = 0 ;
21925 PyObject * obj1 = 0 ;
21926 char *kwnames[] = {
21927 (char *) "self",(char *) "name", NULL
21928 };
21929
21930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21933 {
21934 arg2 = wxString_in_helper(obj1);
21935 if (arg2 == NULL) SWIG_fail;
423f194a 21936 temp2 = True;
d14a1e28
RD
21937 }
21938 {
21939 PyThreadState* __tstate = wxPyBeginAllowThreads();
21940 (arg1)->SetName((wxString const &)*arg2);
21941
21942 wxPyEndAllowThreads(__tstate);
21943 if (PyErr_Occurred()) SWIG_fail;
21944 }
21945 Py_INCREF(Py_None); resultobj = Py_None;
21946 {
21947 if (temp2)
21948 delete arg2;
21949 }
21950 return resultobj;
21951 fail:
21952 {
21953 if (temp2)
21954 delete arg2;
21955 }
21956 return NULL;
21957}
21958
21959
21960static PyObject *_wrap_Window_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
21961 PyObject *resultobj;
21962 wxWindow *arg1 = (wxWindow *) 0 ;
21963 wxString result;
21964 PyObject * obj0 = 0 ;
21965 char *kwnames[] = {
21966 (char *) "self", NULL
21967 };
21968
21969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21972 {
21973 PyThreadState* __tstate = wxPyBeginAllowThreads();
21974 result = ((wxWindow const *)arg1)->GetName();
21975
21976 wxPyEndAllowThreads(__tstate);
21977 if (PyErr_Occurred()) SWIG_fail;
21978 }
21979 {
21980#if wxUSE_UNICODE
21981 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21982#else
21983 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21984#endif
21985 }
21986 return resultobj;
21987 fail:
21988 return NULL;
21989}
21990
21991
fe763115
RD
21992static PyObject *_wrap_Window_SetWindowVariant(PyObject *self, PyObject *args, PyObject *kwargs) {
21993 PyObject *resultobj;
21994 wxWindow *arg1 = (wxWindow *) 0 ;
21995 int arg2 ;
21996 PyObject * obj0 = 0 ;
21997 PyObject * obj1 = 0 ;
21998 char *kwnames[] = {
21999 (char *) "self",(char *) "variant", NULL
22000 };
22001
22002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowVariant",kwnames,&obj0,&obj1)) goto fail;
22003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22005 arg2 = (wxWindowVariant) SWIG_AsInt(obj1);
22006 if (PyErr_Occurred()) SWIG_fail;
22007 {
22008 PyThreadState* __tstate = wxPyBeginAllowThreads();
22009 (arg1)->SetWindowVariant((wxWindowVariant )arg2);
22010
22011 wxPyEndAllowThreads(__tstate);
22012 if (PyErr_Occurred()) SWIG_fail;
22013 }
22014 Py_INCREF(Py_None); resultobj = Py_None;
22015 return resultobj;
22016 fail:
22017 return NULL;
22018}
22019
22020
22021static PyObject *_wrap_Window_GetWindowVariant(PyObject *self, PyObject *args, PyObject *kwargs) {
22022 PyObject *resultobj;
22023 wxWindow *arg1 = (wxWindow *) 0 ;
22024 int result;
22025 PyObject * obj0 = 0 ;
22026 char *kwnames[] = {
22027 (char *) "self", NULL
22028 };
22029
22030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowVariant",kwnames,&obj0)) goto fail;
22031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22033 {
22034 PyThreadState* __tstate = wxPyBeginAllowThreads();
22035 result = (int)((wxWindow const *)arg1)->GetWindowVariant();
22036
22037 wxPyEndAllowThreads(__tstate);
22038 if (PyErr_Occurred()) SWIG_fail;
22039 }
22040 resultobj = SWIG_FromInt((int)result);
22041 return resultobj;
22042 fail:
22043 return NULL;
22044}
22045
22046
d14a1e28
RD
22047static PyObject *_wrap_Window_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
22048 PyObject *resultobj;
22049 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 22050 int arg2 ;
d14a1e28 22051 PyObject * obj0 = 0 ;
8edf1c75 22052 PyObject * obj1 = 0 ;
d14a1e28
RD
22053 char *kwnames[] = {
22054 (char *) "self",(char *) "winid", NULL
22055 };
22056
8edf1c75 22057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22060 arg2 = (int) SWIG_AsInt(obj1);
22061 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22062 {
22063 PyThreadState* __tstate = wxPyBeginAllowThreads();
22064 (arg1)->SetId(arg2);
22065
22066 wxPyEndAllowThreads(__tstate);
22067 if (PyErr_Occurred()) SWIG_fail;
22068 }
22069 Py_INCREF(Py_None); resultobj = Py_None;
22070 return resultobj;
22071 fail:
22072 return NULL;
22073}
22074
22075
22076static PyObject *_wrap_Window_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
22077 PyObject *resultobj;
22078 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 22079 int result;
d14a1e28
RD
22080 PyObject * obj0 = 0 ;
22081 char *kwnames[] = {
22082 (char *) "self", NULL
22083 };
22084
22085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22088 {
22089 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 22090 result = (int)((wxWindow const *)arg1)->GetId();
d14a1e28
RD
22091
22092 wxPyEndAllowThreads(__tstate);
22093 if (PyErr_Occurred()) SWIG_fail;
22094 }
2f4c0a16 22095 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22096 return resultobj;
22097 fail:
22098 return NULL;
22099}
22100
22101
22102static PyObject *_wrap_Window_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
22103 PyObject *resultobj;
22104 int result;
22105 char *kwnames[] = {
22106 NULL
22107 };
22108
22109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
22110 {
22111 PyThreadState* __tstate = wxPyBeginAllowThreads();
22112 result = (int)wxWindow::NewControlId();
22113
22114 wxPyEndAllowThreads(__tstate);
22115 if (PyErr_Occurred()) SWIG_fail;
22116 }
2f4c0a16 22117 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22118 return resultobj;
22119 fail:
22120 return NULL;
22121}
22122
22123
22124static PyObject *_wrap_Window_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
22125 PyObject *resultobj;
22126 int arg1 ;
22127 int result;
8edf1c75 22128 PyObject * obj0 = 0 ;
d14a1e28
RD
22129 char *kwnames[] = {
22130 (char *) "winid", NULL
22131 };
22132
8edf1c75 22133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_NextControlId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22134 arg1 = (int) SWIG_AsInt(obj0);
22135 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22136 {
22137 PyThreadState* __tstate = wxPyBeginAllowThreads();
22138 result = (int)wxWindow::NextControlId(arg1);
22139
22140 wxPyEndAllowThreads(__tstate);
22141 if (PyErr_Occurred()) SWIG_fail;
22142 }
2f4c0a16 22143 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22144 return resultobj;
22145 fail:
22146 return NULL;
22147}
22148
22149
22150static PyObject *_wrap_Window_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
22151 PyObject *resultobj;
22152 int arg1 ;
22153 int result;
8edf1c75 22154 PyObject * obj0 = 0 ;
d14a1e28
RD
22155 char *kwnames[] = {
22156 (char *) "winid", NULL
22157 };
22158
8edf1c75 22159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PrevControlId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22160 arg1 = (int) SWIG_AsInt(obj0);
22161 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22162 {
22163 PyThreadState* __tstate = wxPyBeginAllowThreads();
22164 result = (int)wxWindow::PrevControlId(arg1);
22165
22166 wxPyEndAllowThreads(__tstate);
22167 if (PyErr_Occurred()) SWIG_fail;
22168 }
2f4c0a16 22169 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22170 return resultobj;
22171 fail:
22172 return NULL;
22173}
22174
22175
22176static PyObject *_wrap_Window_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22177 PyObject *resultobj;
22178 wxWindow *arg1 = (wxWindow *) 0 ;
22179 wxSize *arg2 = 0 ;
22180 wxSize temp2 ;
22181 PyObject * obj0 = 0 ;
22182 PyObject * obj1 = 0 ;
22183 char *kwnames[] = {
22184 (char *) "self",(char *) "size", NULL
22185 };
22186
22187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22190 {
22191 arg2 = &temp2;
22192 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22193 }
22194 {
22195 PyThreadState* __tstate = wxPyBeginAllowThreads();
22196 (arg1)->SetSize((wxSize const &)*arg2);
22197
22198 wxPyEndAllowThreads(__tstate);
22199 if (PyErr_Occurred()) SWIG_fail;
22200 }
22201 Py_INCREF(Py_None); resultobj = Py_None;
22202 return resultobj;
22203 fail:
22204 return NULL;
22205}
22206
22207
22208static PyObject *_wrap_Window_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
22209 PyObject *resultobj;
22210 wxWindow *arg1 = (wxWindow *) 0 ;
22211 int arg2 ;
22212 int arg3 ;
22213 int arg4 ;
22214 int arg5 ;
22215 int arg6 = (int) wxSIZE_AUTO ;
22216 PyObject * obj0 = 0 ;
8edf1c75
RD
22217 PyObject * obj1 = 0 ;
22218 PyObject * obj2 = 0 ;
22219 PyObject * obj3 = 0 ;
22220 PyObject * obj4 = 0 ;
22221 PyObject * obj5 = 0 ;
d14a1e28
RD
22222 char *kwnames[] = {
22223 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22224 };
22225
8edf1c75 22226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetDimensions",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
22227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22229 arg2 = (int) SWIG_AsInt(obj1);
22230 if (PyErr_Occurred()) SWIG_fail;
22231 arg3 = (int) SWIG_AsInt(obj2);
22232 if (PyErr_Occurred()) SWIG_fail;
22233 arg4 = (int) SWIG_AsInt(obj3);
22234 if (PyErr_Occurred()) SWIG_fail;
22235 arg5 = (int) SWIG_AsInt(obj4);
22236 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22237 if (obj5) {
2f4c0a16
RD
22238 arg6 = (int) SWIG_AsInt(obj5);
22239 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22240 }
d14a1e28
RD
22241 {
22242 PyThreadState* __tstate = wxPyBeginAllowThreads();
22243 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
22244
22245 wxPyEndAllowThreads(__tstate);
22246 if (PyErr_Occurred()) SWIG_fail;
22247 }
22248 Py_INCREF(Py_None); resultobj = Py_None;
22249 return resultobj;
22250 fail:
22251 return NULL;
22252}
22253
22254
22255static PyObject *_wrap_Window_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22256 PyObject *resultobj;
22257 wxWindow *arg1 = (wxWindow *) 0 ;
22258 wxRect *arg2 = 0 ;
22259 int arg3 = (int) wxSIZE_AUTO ;
22260 wxRect temp2 ;
22261 PyObject * obj0 = 0 ;
22262 PyObject * obj1 = 0 ;
8edf1c75 22263 PyObject * obj2 = 0 ;
d14a1e28
RD
22264 char *kwnames[] = {
22265 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22266 };
22267
8edf1c75 22268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22271 {
22272 arg2 = &temp2;
22273 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22274 }
8edf1c75 22275 if (obj2) {
2f4c0a16
RD
22276 arg3 = (int) SWIG_AsInt(obj2);
22277 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22278 }
d14a1e28
RD
22279 {
22280 PyThreadState* __tstate = wxPyBeginAllowThreads();
22281 (arg1)->SetSize((wxRect const &)*arg2,arg3);
22282
22283 wxPyEndAllowThreads(__tstate);
22284 if (PyErr_Occurred()) SWIG_fail;
22285 }
22286 Py_INCREF(Py_None); resultobj = Py_None;
22287 return resultobj;
22288 fail:
22289 return NULL;
22290}
22291
22292
22293static PyObject *_wrap_Window_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
22294 PyObject *resultobj;
22295 wxWindow *arg1 = (wxWindow *) 0 ;
22296 int arg2 ;
22297 int arg3 ;
22298 PyObject * obj0 = 0 ;
8edf1c75
RD
22299 PyObject * obj1 = 0 ;
22300 PyObject * obj2 = 0 ;
d14a1e28
RD
22301 char *kwnames[] = {
22302 (char *) "self",(char *) "width",(char *) "height", NULL
22303 };
22304
8edf1c75 22305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22308 arg2 = (int) SWIG_AsInt(obj1);
22309 if (PyErr_Occurred()) SWIG_fail;
22310 arg3 = (int) SWIG_AsInt(obj2);
22311 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22312 {
22313 PyThreadState* __tstate = wxPyBeginAllowThreads();
22314 (arg1)->SetSize(arg2,arg3);
22315
22316 wxPyEndAllowThreads(__tstate);
22317 if (PyErr_Occurred()) SWIG_fail;
22318 }
22319 Py_INCREF(Py_None); resultobj = Py_None;
22320 return resultobj;
22321 fail:
22322 return NULL;
22323}
22324
22325
22326static PyObject *_wrap_Window_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
22327 PyObject *resultobj;
22328 wxWindow *arg1 = (wxWindow *) 0 ;
22329 wxPoint *arg2 = 0 ;
22330 int arg3 = (int) wxSIZE_USE_EXISTING ;
22331 wxPoint temp2 ;
22332 PyObject * obj0 = 0 ;
22333 PyObject * obj1 = 0 ;
8edf1c75 22334 PyObject * obj2 = 0 ;
d14a1e28
RD
22335 char *kwnames[] = {
22336 (char *) "self",(char *) "pt",(char *) "flags", NULL
22337 };
22338
8edf1c75 22339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_Move",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22342 {
22343 arg2 = &temp2;
22344 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22345 }
8edf1c75 22346 if (obj2) {
2f4c0a16
RD
22347 arg3 = (int) SWIG_AsInt(obj2);
22348 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22349 }
d14a1e28
RD
22350 {
22351 PyThreadState* __tstate = wxPyBeginAllowThreads();
22352 (arg1)->Move((wxPoint const &)*arg2,arg3);
22353
22354 wxPyEndAllowThreads(__tstate);
22355 if (PyErr_Occurred()) SWIG_fail;
22356 }
22357 Py_INCREF(Py_None); resultobj = Py_None;
22358 return resultobj;
22359 fail:
22360 return NULL;
22361}
22362
22363
22364static PyObject *_wrap_Window_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22365 PyObject *resultobj;
22366 wxWindow *arg1 = (wxWindow *) 0 ;
22367 int arg2 ;
22368 int arg3 ;
22369 int arg4 = (int) wxSIZE_USE_EXISTING ;
22370 PyObject * obj0 = 0 ;
8edf1c75
RD
22371 PyObject * obj1 = 0 ;
22372 PyObject * obj2 = 0 ;
22373 PyObject * obj3 = 0 ;
d14a1e28
RD
22374 char *kwnames[] = {
22375 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22376 };
22377
8edf1c75 22378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_MoveXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
22379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22381 arg2 = (int) SWIG_AsInt(obj1);
22382 if (PyErr_Occurred()) SWIG_fail;
22383 arg3 = (int) SWIG_AsInt(obj2);
22384 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22385 if (obj3) {
2f4c0a16
RD
22386 arg4 = (int) SWIG_AsInt(obj3);
22387 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22388 }
d14a1e28
RD
22389 {
22390 PyThreadState* __tstate = wxPyBeginAllowThreads();
22391 (arg1)->Move(arg2,arg3,arg4);
22392
22393 wxPyEndAllowThreads(__tstate);
22394 if (PyErr_Occurred()) SWIG_fail;
22395 }
22396 Py_INCREF(Py_None); resultobj = Py_None;
22397 return resultobj;
22398 fail:
22399 return NULL;
22400}
22401
22402
22403static PyObject *_wrap_Window_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
22404 PyObject *resultobj;
22405 wxWindow *arg1 = (wxWindow *) 0 ;
22406 PyObject * obj0 = 0 ;
22407 char *kwnames[] = {
22408 (char *) "self", NULL
22409 };
22410
22411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22414 {
22415 PyThreadState* __tstate = wxPyBeginAllowThreads();
22416 (arg1)->Raise();
22417
22418 wxPyEndAllowThreads(__tstate);
22419 if (PyErr_Occurred()) SWIG_fail;
22420 }
22421 Py_INCREF(Py_None); resultobj = Py_None;
22422 return resultobj;
22423 fail:
22424 return NULL;
22425}
22426
22427
22428static PyObject *_wrap_Window_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
22429 PyObject *resultobj;
22430 wxWindow *arg1 = (wxWindow *) 0 ;
22431 PyObject * obj0 = 0 ;
22432 char *kwnames[] = {
22433 (char *) "self", NULL
22434 };
22435
22436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22439 {
22440 PyThreadState* __tstate = wxPyBeginAllowThreads();
22441 (arg1)->Lower();
22442
22443 wxPyEndAllowThreads(__tstate);
22444 if (PyErr_Occurred()) SWIG_fail;
22445 }
22446 Py_INCREF(Py_None); resultobj = Py_None;
22447 return resultobj;
22448 fail:
22449 return NULL;
22450}
22451
22452
22453static PyObject *_wrap_Window_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22454 PyObject *resultobj;
22455 wxWindow *arg1 = (wxWindow *) 0 ;
22456 wxSize *arg2 = 0 ;
22457 wxSize temp2 ;
22458 PyObject * obj0 = 0 ;
22459 PyObject * obj1 = 0 ;
22460 char *kwnames[] = {
22461 (char *) "self",(char *) "size", NULL
22462 };
22463
22464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22467 {
22468 arg2 = &temp2;
22469 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22470 }
22471 {
22472 PyThreadState* __tstate = wxPyBeginAllowThreads();
22473 (arg1)->SetClientSize((wxSize const &)*arg2);
22474
22475 wxPyEndAllowThreads(__tstate);
22476 if (PyErr_Occurred()) SWIG_fail;
22477 }
22478 Py_INCREF(Py_None); resultobj = Py_None;
22479 return resultobj;
22480 fail:
22481 return NULL;
22482}
22483
22484
22485static PyObject *_wrap_Window_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
22486 PyObject *resultobj;
22487 wxWindow *arg1 = (wxWindow *) 0 ;
22488 int arg2 ;
22489 int arg3 ;
22490 PyObject * obj0 = 0 ;
8edf1c75
RD
22491 PyObject * obj1 = 0 ;
22492 PyObject * obj2 = 0 ;
d14a1e28
RD
22493 char *kwnames[] = {
22494 (char *) "self",(char *) "width",(char *) "height", NULL
22495 };
22496
8edf1c75 22497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetClientSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22500 arg2 = (int) SWIG_AsInt(obj1);
22501 if (PyErr_Occurred()) SWIG_fail;
22502 arg3 = (int) SWIG_AsInt(obj2);
22503 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22504 {
22505 PyThreadState* __tstate = wxPyBeginAllowThreads();
22506 (arg1)->SetClientSize(arg2,arg3);
22507
22508 wxPyEndAllowThreads(__tstate);
22509 if (PyErr_Occurred()) SWIG_fail;
22510 }
22511 Py_INCREF(Py_None); resultobj = Py_None;
22512 return resultobj;
22513 fail:
22514 return NULL;
22515}
22516
22517
22518static PyObject *_wrap_Window_SetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22519 PyObject *resultobj;
22520 wxWindow *arg1 = (wxWindow *) 0 ;
22521 wxRect *arg2 = 0 ;
22522 wxRect temp2 ;
22523 PyObject * obj0 = 0 ;
22524 PyObject * obj1 = 0 ;
22525 char *kwnames[] = {
22526 (char *) "self",(char *) "rect", NULL
22527 };
22528
22529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22532 {
22533 arg2 = &temp2;
22534 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22535 }
22536 {
22537 PyThreadState* __tstate = wxPyBeginAllowThreads();
22538 (arg1)->SetClientSize((wxRect const &)*arg2);
22539
22540 wxPyEndAllowThreads(__tstate);
22541 if (PyErr_Occurred()) SWIG_fail;
22542 }
22543 Py_INCREF(Py_None); resultobj = Py_None;
22544 return resultobj;
22545 fail:
22546 return NULL;
22547}
22548
22549
22550static PyObject *_wrap_Window_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
22551 PyObject *resultobj;
22552 wxWindow *arg1 = (wxWindow *) 0 ;
22553 wxPoint result;
22554 PyObject * obj0 = 0 ;
22555 char *kwnames[] = {
22556 (char *) "self", NULL
22557 };
22558
22559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22562 {
22563 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 22564 result = (arg1)->GetPosition();
d14a1e28
RD
22565
22566 wxPyEndAllowThreads(__tstate);
22567 if (PyErr_Occurred()) SWIG_fail;
22568 }
22569 {
22570 wxPoint * resultptr;
22571 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 22572 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22573 }
22574 return resultobj;
22575 fail:
22576 return NULL;
22577}
22578
22579
22580static PyObject *_wrap_Window_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22581 PyObject *resultobj;
22582 wxWindow *arg1 = (wxWindow *) 0 ;
22583 int *arg2 = (int *) 0 ;
22584 int *arg3 = (int *) 0 ;
22585 int temp2 ;
22586 int temp3 ;
22587 PyObject * obj0 = 0 ;
22588 char *kwnames[] = {
22589 (char *) "self", NULL
22590 };
22591
22592 arg2 = &temp2;
22593 arg3 = &temp3;
22594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22597 {
22598 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 22599 (arg1)->GetPosition(arg2,arg3);
d14a1e28
RD
22600
22601 wxPyEndAllowThreads(__tstate);
22602 if (PyErr_Occurred()) SWIG_fail;
22603 }
22604 Py_INCREF(Py_None); resultobj = Py_None;
22605 {
22606 PyObject *o = PyInt_FromLong((long) (*arg2));
22607 resultobj = t_output_helper(resultobj,o);
22608 }
22609 {
22610 PyObject *o = PyInt_FromLong((long) (*arg3));
22611 resultobj = t_output_helper(resultobj,o);
22612 }
22613 return resultobj;
22614 fail:
22615 return NULL;
22616}
22617
22618
22619static PyObject *_wrap_Window_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22620 PyObject *resultobj;
22621 wxWindow *arg1 = (wxWindow *) 0 ;
22622 wxSize result;
22623 PyObject * obj0 = 0 ;
22624 char *kwnames[] = {
22625 (char *) "self", NULL
22626 };
22627
22628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22631 {
22632 PyThreadState* __tstate = wxPyBeginAllowThreads();
22633 result = ((wxWindow const *)arg1)->GetSize();
22634
22635 wxPyEndAllowThreads(__tstate);
22636 if (PyErr_Occurred()) SWIG_fail;
22637 }
22638 {
22639 wxSize * resultptr;
22640 resultptr = new wxSize((wxSize &) result);
2f4c0a16 22641 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22642 }
22643 return resultobj;
22644 fail:
22645 return NULL;
22646}
22647
22648
22649static PyObject *_wrap_Window_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22650 PyObject *resultobj;
22651 wxWindow *arg1 = (wxWindow *) 0 ;
22652 int *arg2 = (int *) 0 ;
22653 int *arg3 = (int *) 0 ;
22654 int temp2 ;
22655 int temp3 ;
22656 PyObject * obj0 = 0 ;
22657 char *kwnames[] = {
22658 (char *) "self", NULL
22659 };
22660
22661 arg2 = &temp2;
22662 arg3 = &temp3;
22663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22666 {
22667 PyThreadState* __tstate = wxPyBeginAllowThreads();
22668 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
22669
22670 wxPyEndAllowThreads(__tstate);
22671 if (PyErr_Occurred()) SWIG_fail;
22672 }
22673 Py_INCREF(Py_None); resultobj = Py_None;
22674 {
22675 PyObject *o = PyInt_FromLong((long) (*arg2));
22676 resultobj = t_output_helper(resultobj,o);
22677 }
22678 {
22679 PyObject *o = PyInt_FromLong((long) (*arg3));
22680 resultobj = t_output_helper(resultobj,o);
22681 }
22682 return resultobj;
22683 fail:
22684 return NULL;
22685}
22686
22687
22688static PyObject *_wrap_Window_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22689 PyObject *resultobj;
22690 wxWindow *arg1 = (wxWindow *) 0 ;
22691 wxRect result;
22692 PyObject * obj0 = 0 ;
22693 char *kwnames[] = {
22694 (char *) "self", NULL
22695 };
22696
22697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22700 {
22701 PyThreadState* __tstate = wxPyBeginAllowThreads();
22702 result = ((wxWindow const *)arg1)->GetRect();
22703
22704 wxPyEndAllowThreads(__tstate);
22705 if (PyErr_Occurred()) SWIG_fail;
22706 }
22707 {
22708 wxRect * resultptr;
22709 resultptr = new wxRect((wxRect &) result);
2f4c0a16 22710 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
22711 }
22712 return resultobj;
22713 fail:
22714 return NULL;
22715}
22716
22717
22718static PyObject *_wrap_Window_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22719 PyObject *resultobj;
22720 wxWindow *arg1 = (wxWindow *) 0 ;
22721 wxSize result;
22722 PyObject * obj0 = 0 ;
22723 char *kwnames[] = {
22724 (char *) "self", NULL
22725 };
22726
22727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22730 {
22731 PyThreadState* __tstate = wxPyBeginAllowThreads();
22732 result = ((wxWindow const *)arg1)->GetClientSize();
22733
22734 wxPyEndAllowThreads(__tstate);
22735 if (PyErr_Occurred()) SWIG_fail;
22736 }
22737 {
22738 wxSize * resultptr;
22739 resultptr = new wxSize((wxSize &) result);
2f4c0a16 22740 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22741 }
22742 return resultobj;
22743 fail:
22744 return NULL;
22745}
22746
22747
22748static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22749 PyObject *resultobj;
22750 wxWindow *arg1 = (wxWindow *) 0 ;
22751 int *arg2 = (int *) 0 ;
22752 int *arg3 = (int *) 0 ;
22753 int temp2 ;
22754 int temp3 ;
22755 PyObject * obj0 = 0 ;
22756 char *kwnames[] = {
22757 (char *) "self", NULL
22758 };
22759
22760 arg2 = &temp2;
22761 arg3 = &temp3;
22762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22765 {
22766 PyThreadState* __tstate = wxPyBeginAllowThreads();
22767 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
22768
22769 wxPyEndAllowThreads(__tstate);
22770 if (PyErr_Occurred()) SWIG_fail;
22771 }
22772 Py_INCREF(Py_None); resultobj = Py_None;
22773 {
22774 PyObject *o = PyInt_FromLong((long) (*arg2));
22775 resultobj = t_output_helper(resultobj,o);
22776 }
22777 {
22778 PyObject *o = PyInt_FromLong((long) (*arg3));
22779 resultobj = t_output_helper(resultobj,o);
22780 }
22781 return resultobj;
22782 fail:
22783 return NULL;
22784}
22785
22786
22787static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
22788 PyObject *resultobj;
22789 wxWindow *arg1 = (wxWindow *) 0 ;
22790 wxPoint result;
22791 PyObject * obj0 = 0 ;
22792 char *kwnames[] = {
22793 (char *) "self", NULL
22794 };
22795
22796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22799 {
22800 PyThreadState* __tstate = wxPyBeginAllowThreads();
22801 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
22802
22803 wxPyEndAllowThreads(__tstate);
22804 if (PyErr_Occurred()) SWIG_fail;
22805 }
22806 {
22807 wxPoint * resultptr;
22808 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 22809 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22810 }
22811 return resultobj;
22812 fail:
22813 return NULL;
22814}
22815
22816
22817static PyObject *_wrap_Window_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22818 PyObject *resultobj;
22819 wxWindow *arg1 = (wxWindow *) 0 ;
22820 wxRect result;
22821 PyObject * obj0 = 0 ;
22822 char *kwnames[] = {
22823 (char *) "self", NULL
22824 };
22825
22826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22829 {
22830 PyThreadState* __tstate = wxPyBeginAllowThreads();
22831 result = ((wxWindow const *)arg1)->GetClientRect();
22832
22833 wxPyEndAllowThreads(__tstate);
22834 if (PyErr_Occurred()) SWIG_fail;
22835 }
22836 {
22837 wxRect * resultptr;
22838 resultptr = new wxRect((wxRect &) result);
2f4c0a16 22839 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
22840 }
22841 return resultobj;
22842 fail:
22843 return NULL;
22844}
22845
22846
22847static PyObject *_wrap_Window_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22848 PyObject *resultobj;
22849 wxWindow *arg1 = (wxWindow *) 0 ;
22850 wxSize result;
22851 PyObject * obj0 = 0 ;
22852 char *kwnames[] = {
22853 (char *) "self", NULL
22854 };
22855
22856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22859 {
22860 PyThreadState* __tstate = wxPyBeginAllowThreads();
22861 result = ((wxWindow const *)arg1)->GetBestSize();
22862
22863 wxPyEndAllowThreads(__tstate);
22864 if (PyErr_Occurred()) SWIG_fail;
22865 }
22866 {
22867 wxSize * resultptr;
22868 resultptr = new wxSize((wxSize &) result);
2f4c0a16 22869 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22870 }
22871 return resultobj;
22872 fail:
22873 return NULL;
22874}
22875
22876
22877static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22878 PyObject *resultobj;
22879 wxWindow *arg1 = (wxWindow *) 0 ;
22880 int *arg2 = (int *) 0 ;
22881 int *arg3 = (int *) 0 ;
22882 int temp2 ;
22883 int temp3 ;
22884 PyObject * obj0 = 0 ;
22885 char *kwnames[] = {
22886 (char *) "self", NULL
22887 };
22888
22889 arg2 = &temp2;
22890 arg3 = &temp3;
22891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22894 {
22895 PyThreadState* __tstate = wxPyBeginAllowThreads();
22896 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
22897
22898 wxPyEndAllowThreads(__tstate);
22899 if (PyErr_Occurred()) SWIG_fail;
22900 }
22901 Py_INCREF(Py_None); resultobj = Py_None;
22902 {
22903 PyObject *o = PyInt_FromLong((long) (*arg2));
22904 resultobj = t_output_helper(resultobj,o);
22905 }
22906 {
22907 PyObject *o = PyInt_FromLong((long) (*arg3));
22908 resultobj = t_output_helper(resultobj,o);
22909 }
22910 return resultobj;
22911 fail:
22912 return NULL;
22913}
22914
22915
22916static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22917 PyObject *resultobj;
22918 wxWindow *arg1 = (wxWindow *) 0 ;
22919 wxSize result;
22920 PyObject * obj0 = 0 ;
22921 char *kwnames[] = {
22922 (char *) "self", NULL
22923 };
22924
22925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22928 {
22929 PyThreadState* __tstate = wxPyBeginAllowThreads();
22930 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
22931
22932 wxPyEndAllowThreads(__tstate);
22933 if (PyErr_Occurred()) SWIG_fail;
22934 }
22935 {
22936 wxSize * resultptr;
22937 resultptr = new wxSize((wxSize &) result);
2f4c0a16 22938 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22939 }
22940 return resultobj;
22941 fail:
22942 return NULL;
22943}
22944
22945
22946static PyObject *_wrap_Window_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
22947 PyObject *resultobj;
22948 wxWindow *arg1 = (wxWindow *) 0 ;
22949 int arg2 = (int) wxBOTH ;
22950 PyObject * obj0 = 0 ;
8edf1c75 22951 PyObject * obj1 = 0 ;
d14a1e28
RD
22952 char *kwnames[] = {
22953 (char *) "self",(char *) "direction", NULL
22954 };
22955
8edf1c75 22956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Center",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 22959 if (obj1) {
2f4c0a16
RD
22960 arg2 = (int) SWIG_AsInt(obj1);
22961 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22962 }
d14a1e28
RD
22963 {
22964 PyThreadState* __tstate = wxPyBeginAllowThreads();
22965 (arg1)->Center(arg2);
22966
22967 wxPyEndAllowThreads(__tstate);
22968 if (PyErr_Occurred()) SWIG_fail;
22969 }
22970 Py_INCREF(Py_None); resultobj = Py_None;
22971 return resultobj;
22972 fail:
22973 return NULL;
22974}
22975
22976
22977static PyObject *_wrap_Window_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22978 PyObject *resultobj;
22979 wxWindow *arg1 = (wxWindow *) 0 ;
22980 int arg2 = (int) wxBOTH ;
22981 PyObject * obj0 = 0 ;
8edf1c75 22982 PyObject * obj1 = 0 ;
d14a1e28
RD
22983 char *kwnames[] = {
22984 (char *) "self",(char *) "dir", NULL
22985 };
22986
8edf1c75 22987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnScreen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 22990 if (obj1) {
2f4c0a16
RD
22991 arg2 = (int) SWIG_AsInt(obj1);
22992 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22993 }
d14a1e28
RD
22994 {
22995 PyThreadState* __tstate = wxPyBeginAllowThreads();
22996 (arg1)->CenterOnScreen(arg2);
22997
22998 wxPyEndAllowThreads(__tstate);
22999 if (PyErr_Occurred()) SWIG_fail;
23000 }
23001 Py_INCREF(Py_None); resultobj = Py_None;
23002 return resultobj;
23003 fail:
23004 return NULL;
23005}
23006
23007
23008static PyObject *_wrap_Window_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
23009 PyObject *resultobj;
23010 wxWindow *arg1 = (wxWindow *) 0 ;
23011 int arg2 = (int) wxBOTH ;
23012 PyObject * obj0 = 0 ;
8edf1c75 23013 PyObject * obj1 = 0 ;
d14a1e28
RD
23014 char *kwnames[] = {
23015 (char *) "self",(char *) "dir", NULL
23016 };
23017
8edf1c75 23018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnParent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 23021 if (obj1) {
2f4c0a16
RD
23022 arg2 = (int) SWIG_AsInt(obj1);
23023 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23024 }
d14a1e28
RD
23025 {
23026 PyThreadState* __tstate = wxPyBeginAllowThreads();
23027 (arg1)->CenterOnParent(arg2);
23028
23029 wxPyEndAllowThreads(__tstate);
23030 if (PyErr_Occurred()) SWIG_fail;
23031 }
23032 Py_INCREF(Py_None); resultobj = Py_None;
23033 return resultobj;
23034 fail:
23035 return NULL;
23036}
23037
23038
23039static PyObject *_wrap_Window_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
23040 PyObject *resultobj;
23041 wxWindow *arg1 = (wxWindow *) 0 ;
23042 PyObject * obj0 = 0 ;
23043 char *kwnames[] = {
23044 (char *) "self", NULL
23045 };
23046
23047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23050 {
23051 PyThreadState* __tstate = wxPyBeginAllowThreads();
23052 (arg1)->Fit();
23053
23054 wxPyEndAllowThreads(__tstate);
23055 if (PyErr_Occurred()) SWIG_fail;
23056 }
23057 Py_INCREF(Py_None); resultobj = Py_None;
23058 return resultobj;
23059 fail:
23060 return NULL;
23061}
23062
23063
23064static PyObject *_wrap_Window_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
23065 PyObject *resultobj;
23066 wxWindow *arg1 = (wxWindow *) 0 ;
23067 PyObject * obj0 = 0 ;
23068 char *kwnames[] = {
23069 (char *) "self", NULL
23070 };
23071
23072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23075 {
23076 PyThreadState* __tstate = wxPyBeginAllowThreads();
23077 (arg1)->FitInside();
23078
23079 wxPyEndAllowThreads(__tstate);
23080 if (PyErr_Occurred()) SWIG_fail;
23081 }
23082 Py_INCREF(Py_None); resultobj = Py_None;
23083 return resultobj;
23084 fail:
23085 return NULL;
23086}
23087
23088
74a57fcd 23089static PyObject *_wrap_Window_SetSizeHints__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28
RD
23090 PyObject *resultobj;
23091 wxWindow *arg1 = (wxWindow *) 0 ;
23092 int arg2 ;
23093 int arg3 ;
23094 int arg4 = (int) -1 ;
23095 int arg5 = (int) -1 ;
23096 int arg6 = (int) -1 ;
23097 int arg7 = (int) -1 ;
23098 PyObject * obj0 = 0 ;
8edf1c75
RD
23099 PyObject * obj1 = 0 ;
23100 PyObject * obj2 = 0 ;
23101 PyObject * obj3 = 0 ;
23102 PyObject * obj4 = 0 ;
23103 PyObject * obj5 = 0 ;
23104 PyObject * obj6 = 0 ;
d14a1e28 23105
74a57fcd 23106 if(!PyArg_ParseTuple(args,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
23107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23109 arg2 = (int) SWIG_AsInt(obj1);
23110 if (PyErr_Occurred()) SWIG_fail;
23111 arg3 = (int) SWIG_AsInt(obj2);
23112 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23113 if (obj3) {
2f4c0a16
RD
23114 arg4 = (int) SWIG_AsInt(obj3);
23115 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23116 }
23117 if (obj4) {
2f4c0a16
RD
23118 arg5 = (int) SWIG_AsInt(obj4);
23119 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23120 }
23121 if (obj5) {
2f4c0a16
RD
23122 arg6 = (int) SWIG_AsInt(obj5);
23123 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23124 }
23125 if (obj6) {
2f4c0a16
RD
23126 arg7 = (int) SWIG_AsInt(obj6);
23127 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23128 }
d14a1e28
RD
23129 {
23130 PyThreadState* __tstate = wxPyBeginAllowThreads();
23131 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
23132
23133 wxPyEndAllowThreads(__tstate);
23134 if (PyErr_Occurred()) SWIG_fail;
23135 }
23136 Py_INCREF(Py_None); resultobj = Py_None;
23137 return resultobj;
23138 fail:
23139 return NULL;
23140}
23141
23142
74a57fcd
RD
23143static PyObject *_wrap_Window_SetSizeHints__SWIG_1(PyObject *self, PyObject *args) {
23144 PyObject *resultobj;
23145 wxWindow *arg1 = (wxWindow *) 0 ;
23146 wxSize *arg2 = 0 ;
23147 wxSize const &arg3_defvalue = wxDefaultSize ;
23148 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
23149 wxSize const &arg4_defvalue = wxDefaultSize ;
23150 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23151 wxSize temp2 ;
23152 wxSize temp3 ;
23153 wxSize temp4 ;
23154 PyObject * obj0 = 0 ;
23155 PyObject * obj1 = 0 ;
23156 PyObject * obj2 = 0 ;
23157 PyObject * obj3 = 0 ;
23158
23159 if(!PyArg_ParseTuple(args,(char *)"OO|OO:Window_SetSizeHints",&obj0,&obj1,&obj2,&obj3)) goto fail;
23160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23162 {
23163 arg2 = &temp2;
23164 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23165 }
23166 if (obj2) {
23167 {
23168 arg3 = &temp3;
23169 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
23170 }
23171 }
23172 if (obj3) {
23173 {
23174 arg4 = &temp4;
23175 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23176 }
23177 }
23178 {
23179 PyThreadState* __tstate = wxPyBeginAllowThreads();
23180 (arg1)->SetSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3,(wxSize const &)*arg4);
23181
23182 wxPyEndAllowThreads(__tstate);
23183 if (PyErr_Occurred()) SWIG_fail;
23184 }
23185 Py_INCREF(Py_None); resultobj = Py_None;
23186 return resultobj;
23187 fail:
23188 return NULL;
23189}
23190
23191
23192static PyObject *_wrap_Window_SetSizeHints(PyObject *self, PyObject *args) {
23193 int argc;
23194 PyObject *argv[8];
23195 int ii;
23196
23197 argc = PyObject_Length(args);
23198 for (ii = 0; (ii < argc) && (ii < 7); ii++) {
23199 argv[ii] = PyTuple_GetItem(args,ii);
23200 }
23201 if ((argc >= 2) && (argc <= 4)) {
23202 int _v;
23203 {
23204 void *ptr;
23205 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23206 _v = 0;
23207 PyErr_Clear();
23208 } else {
23209 _v = 1;
23210 }
23211 }
23212 if (_v) {
23213 {
23214 _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2);
23215 }
23216 if (_v) {
23217 if (argc <= 2) {
23218 return _wrap_Window_SetSizeHints__SWIG_1(self,args);
23219 }
23220 {
23221 _v = wxPySimple_typecheck(argv[2], wxT("wxSize"), 2);
23222 }
23223 if (_v) {
23224 if (argc <= 3) {
23225 return _wrap_Window_SetSizeHints__SWIG_1(self,args);
23226 }
23227 {
23228 _v = wxPySimple_typecheck(argv[3], wxT("wxSize"), 2);
23229 }
23230 if (_v) {
23231 return _wrap_Window_SetSizeHints__SWIG_1(self,args);
23232 }
23233 }
23234 }
23235 }
23236 }
23237 if ((argc >= 3) && (argc <= 7)) {
23238 int _v;
23239 {
23240 void *ptr;
23241 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23242 _v = 0;
23243 PyErr_Clear();
23244 } else {
23245 _v = 1;
23246 }
23247 }
23248 if (_v) {
23249 _v = SWIG_CheckInt(argv[1]);
23250 if (_v) {
23251 _v = SWIG_CheckInt(argv[2]);
23252 if (_v) {
23253 if (argc <= 3) {
23254 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23255 }
23256 _v = SWIG_CheckInt(argv[3]);
23257 if (_v) {
23258 if (argc <= 4) {
23259 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23260 }
23261 _v = SWIG_CheckInt(argv[4]);
23262 if (_v) {
23263 if (argc <= 5) {
23264 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23265 }
23266 _v = SWIG_CheckInt(argv[5]);
23267 if (_v) {
23268 if (argc <= 6) {
23269 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23270 }
23271 _v = SWIG_CheckInt(argv[6]);
23272 if (_v) {
23273 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23274 }
23275 }
23276 }
23277 }
23278 }
23279 }
23280 }
23281 }
23282
23283 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_SetSizeHints'");
23284 return NULL;
23285}
23286
23287
23288static PyObject *_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28
RD
23289 PyObject *resultobj;
23290 wxWindow *arg1 = (wxWindow *) 0 ;
23291 int arg2 ;
23292 int arg3 ;
23293 int arg4 = (int) -1 ;
23294 int arg5 = (int) -1 ;
23295 PyObject * obj0 = 0 ;
8edf1c75
RD
23296 PyObject * obj1 = 0 ;
23297 PyObject * obj2 = 0 ;
23298 PyObject * obj3 = 0 ;
23299 PyObject * obj4 = 0 ;
d14a1e28 23300
74a57fcd 23301 if(!PyArg_ParseTuple(args,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
23302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23304 arg2 = (int) SWIG_AsInt(obj1);
23305 if (PyErr_Occurred()) SWIG_fail;
23306 arg3 = (int) SWIG_AsInt(obj2);
23307 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23308 if (obj3) {
2f4c0a16
RD
23309 arg4 = (int) SWIG_AsInt(obj3);
23310 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23311 }
23312 if (obj4) {
2f4c0a16
RD
23313 arg5 = (int) SWIG_AsInt(obj4);
23314 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23315 }
d14a1e28
RD
23316 {
23317 PyThreadState* __tstate = wxPyBeginAllowThreads();
23318 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
23319
23320 wxPyEndAllowThreads(__tstate);
23321 if (PyErr_Occurred()) SWIG_fail;
23322 }
23323 Py_INCREF(Py_None); resultobj = Py_None;
23324 return resultobj;
23325 fail:
23326 return NULL;
23327}
23328
23329
74a57fcd
RD
23330static PyObject *_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject *self, PyObject *args) {
23331 PyObject *resultobj;
23332 wxWindow *arg1 = (wxWindow *) 0 ;
23333 wxSize *arg2 = 0 ;
23334 wxSize const &arg3_defvalue = wxDefaultSize ;
23335 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
23336 wxSize temp2 ;
23337 wxSize temp3 ;
23338 PyObject * obj0 = 0 ;
23339 PyObject * obj1 = 0 ;
23340 PyObject * obj2 = 0 ;
23341
23342 if(!PyArg_ParseTuple(args,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0,&obj1,&obj2)) goto fail;
23343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23345 {
23346 arg2 = &temp2;
23347 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23348 }
23349 if (obj2) {
23350 {
23351 arg3 = &temp3;
23352 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
23353 }
23354 }
23355 {
23356 PyThreadState* __tstate = wxPyBeginAllowThreads();
23357 (arg1)->SetVirtualSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3);
23358
23359 wxPyEndAllowThreads(__tstate);
23360 if (PyErr_Occurred()) SWIG_fail;
23361 }
23362 Py_INCREF(Py_None); resultobj = Py_None;
23363 return resultobj;
23364 fail:
23365 return NULL;
23366}
23367
23368
23369static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *self, PyObject *args) {
23370 int argc;
23371 PyObject *argv[6];
23372 int ii;
23373
23374 argc = PyObject_Length(args);
23375 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
23376 argv[ii] = PyTuple_GetItem(args,ii);
23377 }
23378 if ((argc >= 2) && (argc <= 3)) {
23379 int _v;
23380 {
23381 void *ptr;
23382 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23383 _v = 0;
23384 PyErr_Clear();
23385 } else {
23386 _v = 1;
23387 }
23388 }
23389 if (_v) {
23390 {
23391 _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2);
23392 }
23393 if (_v) {
23394 if (argc <= 2) {
23395 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self,args);
23396 }
23397 {
23398 _v = wxPySimple_typecheck(argv[2], wxT("wxSize"), 2);
23399 }
23400 if (_v) {
23401 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self,args);
23402 }
23403 }
23404 }
23405 }
23406 if ((argc >= 3) && (argc <= 5)) {
23407 int _v;
23408 {
23409 void *ptr;
23410 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23411 _v = 0;
23412 PyErr_Clear();
23413 } else {
23414 _v = 1;
23415 }
23416 }
23417 if (_v) {
23418 _v = SWIG_CheckInt(argv[1]);
23419 if (_v) {
23420 _v = SWIG_CheckInt(argv[2]);
23421 if (_v) {
23422 if (argc <= 3) {
23423 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self,args);
23424 }
23425 _v = SWIG_CheckInt(argv[3]);
23426 if (_v) {
23427 if (argc <= 4) {
23428 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self,args);
23429 }
23430 _v = SWIG_CheckInt(argv[4]);
23431 if (_v) {
23432 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self,args);
23433 }
23434 }
23435 }
23436 }
23437 }
23438 }
23439
23440 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23441 return NULL;
23442}
23443
23444
d14a1e28
RD
23445static PyObject *_wrap_Window_GetMinWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
23446 PyObject *resultobj;
23447 wxWindow *arg1 = (wxWindow *) 0 ;
23448 int result;
23449 PyObject * obj0 = 0 ;
23450 char *kwnames[] = {
23451 (char *) "self", NULL
23452 };
23453
23454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23457 {
23458 PyThreadState* __tstate = wxPyBeginAllowThreads();
23459 result = (int)((wxWindow const *)arg1)->GetMinWidth();
23460
23461 wxPyEndAllowThreads(__tstate);
23462 if (PyErr_Occurred()) SWIG_fail;
23463 }
2f4c0a16 23464 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23465 return resultobj;
23466 fail:
23467 return NULL;
23468}
23469
23470
23471static PyObject *_wrap_Window_GetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
23472 PyObject *resultobj;
23473 wxWindow *arg1 = (wxWindow *) 0 ;
23474 int result;
23475 PyObject * obj0 = 0 ;
23476 char *kwnames[] = {
23477 (char *) "self", NULL
23478 };
23479
23480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23483 {
23484 PyThreadState* __tstate = wxPyBeginAllowThreads();
23485 result = (int)((wxWindow const *)arg1)->GetMinHeight();
23486
23487 wxPyEndAllowThreads(__tstate);
23488 if (PyErr_Occurred()) SWIG_fail;
23489 }
2f4c0a16 23490 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23491 return resultobj;
23492 fail:
23493 return NULL;
23494}
23495
23496
23497static PyObject *_wrap_Window_GetMaxWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
23498 PyObject *resultobj;
23499 wxWindow *arg1 = (wxWindow *) 0 ;
23500 int result;
23501 PyObject * obj0 = 0 ;
23502 char *kwnames[] = {
23503 (char *) "self", NULL
23504 };
23505
23506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23509 {
23510 PyThreadState* __tstate = wxPyBeginAllowThreads();
23511 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
23512
23513 wxPyEndAllowThreads(__tstate);
23514 if (PyErr_Occurred()) SWIG_fail;
23515 }
2f4c0a16 23516 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23517 return resultobj;
23518 fail:
23519 return NULL;
23520}
23521
23522
23523static PyObject *_wrap_Window_GetMaxHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
23524 PyObject *resultobj;
23525 wxWindow *arg1 = (wxWindow *) 0 ;
23526 int result;
23527 PyObject * obj0 = 0 ;
23528 char *kwnames[] = {
23529 (char *) "self", NULL
23530 };
23531
23532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23535 {
23536 PyThreadState* __tstate = wxPyBeginAllowThreads();
23537 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
23538
23539 wxPyEndAllowThreads(__tstate);
23540 if (PyErr_Occurred()) SWIG_fail;
23541 }
2f4c0a16 23542 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23543 return resultobj;
23544 fail:
23545 return NULL;
23546}
23547
23548
23549static PyObject *_wrap_Window_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23550 PyObject *resultobj;
23551 wxWindow *arg1 = (wxWindow *) 0 ;
23552 wxSize result;
23553 PyObject * obj0 = 0 ;
23554 char *kwnames[] = {
23555 (char *) "self", NULL
23556 };
23557
23558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23561 {
23562 PyThreadState* __tstate = wxPyBeginAllowThreads();
23563 result = ((wxWindow const *)arg1)->GetMaxSize();
23564
23565 wxPyEndAllowThreads(__tstate);
23566 if (PyErr_Occurred()) SWIG_fail;
23567 }
23568 {
23569 wxSize * resultptr;
23570 resultptr = new wxSize((wxSize &) result);
2f4c0a16 23571 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23572 }
23573 return resultobj;
23574 fail:
23575 return NULL;
23576}
23577
23578
74a57fcd
RD
23579static PyObject *_wrap_Window_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23580 PyObject *resultobj;
23581 wxWindow *arg1 = (wxWindow *) 0 ;
23582 wxSize result;
23583 PyObject * obj0 = 0 ;
23584 char *kwnames[] = {
23585 (char *) "self", NULL
23586 };
23587
23588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinSize",kwnames,&obj0)) goto fail;
23589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23591 {
23592 PyThreadState* __tstate = wxPyBeginAllowThreads();
23593 result = ((wxWindow const *)arg1)->GetMinSize();
23594
23595 wxPyEndAllowThreads(__tstate);
23596 if (PyErr_Occurred()) SWIG_fail;
23597 }
23598 {
23599 wxSize * resultptr;
23600 resultptr = new wxSize((wxSize &) result);
23601 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23602 }
23603 return resultobj;
23604 fail:
23605 return NULL;
23606}
23607
23608
d14a1e28
RD
23609static PyObject *_wrap_Window_SetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23610 PyObject *resultobj;
23611 wxWindow *arg1 = (wxWindow *) 0 ;
23612 wxSize *arg2 = 0 ;
23613 wxSize temp2 ;
23614 PyObject * obj0 = 0 ;
23615 PyObject * obj1 = 0 ;
23616 char *kwnames[] = {
23617 (char *) "self",(char *) "size", NULL
23618 };
23619
23620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23623 {
23624 arg2 = &temp2;
23625 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23626 }
23627 {
23628 PyThreadState* __tstate = wxPyBeginAllowThreads();
23629 (arg1)->SetVirtualSize((wxSize const &)*arg2);
23630
23631 wxPyEndAllowThreads(__tstate);
23632 if (PyErr_Occurred()) SWIG_fail;
23633 }
23634 Py_INCREF(Py_None); resultobj = Py_None;
23635 return resultobj;
23636 fail:
23637 return NULL;
23638}
23639
23640
23641static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
23642 PyObject *resultobj;
23643 wxWindow *arg1 = (wxWindow *) 0 ;
23644 int arg2 ;
23645 int arg3 ;
23646 PyObject * obj0 = 0 ;
8edf1c75
RD
23647 PyObject * obj1 = 0 ;
23648 PyObject * obj2 = 0 ;
d14a1e28
RD
23649 char *kwnames[] = {
23650 (char *) "self",(char *) "w",(char *) "h", NULL
23651 };
23652
8edf1c75 23653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetVirtualSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
23654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23656 arg2 = (int) SWIG_AsInt(obj1);
23657 if (PyErr_Occurred()) SWIG_fail;
23658 arg3 = (int) SWIG_AsInt(obj2);
23659 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23660 {
23661 PyThreadState* __tstate = wxPyBeginAllowThreads();
23662 (arg1)->SetVirtualSize(arg2,arg3);
23663
23664 wxPyEndAllowThreads(__tstate);
23665 if (PyErr_Occurred()) SWIG_fail;
23666 }
23667 Py_INCREF(Py_None); resultobj = Py_None;
23668 return resultobj;
23669 fail:
23670 return NULL;
23671}
23672
23673
23674static PyObject *_wrap_Window_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23675 PyObject *resultobj;
23676 wxWindow *arg1 = (wxWindow *) 0 ;
23677 wxSize result;
23678 PyObject * obj0 = 0 ;
23679 char *kwnames[] = {
23680 (char *) "self", NULL
23681 };
23682
23683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23686 {
23687 PyThreadState* __tstate = wxPyBeginAllowThreads();
23688 result = ((wxWindow const *)arg1)->GetVirtualSize();
23689
23690 wxPyEndAllowThreads(__tstate);
23691 if (PyErr_Occurred()) SWIG_fail;
23692 }
23693 {
23694 wxSize * resultptr;
23695 resultptr = new wxSize((wxSize &) result);
2f4c0a16 23696 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23697 }
23698 return resultobj;
23699 fail:
23700 return NULL;
23701}
23702
23703
23704static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
23705 PyObject *resultobj;
23706 wxWindow *arg1 = (wxWindow *) 0 ;
23707 int *arg2 = (int *) 0 ;
23708 int *arg3 = (int *) 0 ;
23709 int temp2 ;
23710 int temp3 ;
23711 PyObject * obj0 = 0 ;
23712 char *kwnames[] = {
23713 (char *) "self", NULL
23714 };
23715
23716 arg2 = &temp2;
23717 arg3 = &temp3;
23718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23721 {
23722 PyThreadState* __tstate = wxPyBeginAllowThreads();
23723 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
23724
23725 wxPyEndAllowThreads(__tstate);
23726 if (PyErr_Occurred()) SWIG_fail;
23727 }
23728 Py_INCREF(Py_None); resultobj = Py_None;
23729 {
23730 PyObject *o = PyInt_FromLong((long) (*arg2));
23731 resultobj = t_output_helper(resultobj,o);
23732 }
23733 {
23734 PyObject *o = PyInt_FromLong((long) (*arg3));
23735 resultobj = t_output_helper(resultobj,o);
23736 }
23737 return resultobj;
23738 fail:
23739 return NULL;
23740}
23741
23742
23743static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23744 PyObject *resultobj;
23745 wxWindow *arg1 = (wxWindow *) 0 ;
23746 wxSize result;
23747 PyObject * obj0 = 0 ;
23748 char *kwnames[] = {
23749 (char *) "self", NULL
23750 };
23751
23752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23755 {
23756 PyThreadState* __tstate = wxPyBeginAllowThreads();
23757 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
23758
23759 wxPyEndAllowThreads(__tstate);
23760 if (PyErr_Occurred()) SWIG_fail;
23761 }
23762 {
23763 wxSize * resultptr;
23764 resultptr = new wxSize((wxSize &) result);
2f4c0a16 23765 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23766 }
23767 return resultobj;
23768 fail:
23769 return NULL;
23770}
23771
23772
23773static PyObject *_wrap_Window_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
23774 PyObject *resultobj;
23775 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 23776 bool arg2 = (bool) True ;
d14a1e28
RD
23777 bool result;
23778 PyObject * obj0 = 0 ;
23779 PyObject * obj1 = 0 ;
23780 char *kwnames[] = {
23781 (char *) "self",(char *) "show", NULL
23782 };
23783
23784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 23787 if (obj1) {
2f4c0a16
RD
23788 arg2 = (bool) SWIG_AsBool(obj1);
23789 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23790 }
23791 {
23792 PyThreadState* __tstate = wxPyBeginAllowThreads();
23793 result = (bool)(arg1)->Show(arg2);
23794
23795 wxPyEndAllowThreads(__tstate);
23796 if (PyErr_Occurred()) SWIG_fail;
23797 }
4f89f6a3
RD
23798 {
23799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23800 }
d14a1e28
RD
23801 return resultobj;
23802 fail:
23803 return NULL;
23804}
23805
23806
23807static PyObject *_wrap_Window_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
23808 PyObject *resultobj;
23809 wxWindow *arg1 = (wxWindow *) 0 ;
23810 bool result;
23811 PyObject * obj0 = 0 ;
23812 char *kwnames[] = {
23813 (char *) "self", NULL
23814 };
23815
23816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23819 {
23820 PyThreadState* __tstate = wxPyBeginAllowThreads();
23821 result = (bool)(arg1)->Hide();
23822
23823 wxPyEndAllowThreads(__tstate);
23824 if (PyErr_Occurred()) SWIG_fail;
23825 }
4f89f6a3
RD
23826 {
23827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23828 }
d14a1e28
RD
23829 return resultobj;
23830 fail:
23831 return NULL;
23832}
23833
23834
23835static PyObject *_wrap_Window_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
23836 PyObject *resultobj;
23837 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 23838 bool arg2 = (bool) True ;
d14a1e28
RD
23839 bool result;
23840 PyObject * obj0 = 0 ;
23841 PyObject * obj1 = 0 ;
23842 char *kwnames[] = {
23843 (char *) "self",(char *) "enable", NULL
23844 };
23845
23846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 23849 if (obj1) {
2f4c0a16
RD
23850 arg2 = (bool) SWIG_AsBool(obj1);
23851 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23852 }
23853 {
23854 PyThreadState* __tstate = wxPyBeginAllowThreads();
23855 result = (bool)(arg1)->Enable(arg2);
23856
23857 wxPyEndAllowThreads(__tstate);
23858 if (PyErr_Occurred()) SWIG_fail;
23859 }
4f89f6a3
RD
23860 {
23861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23862 }
d14a1e28
RD
23863 return resultobj;
23864 fail:
23865 return NULL;
23866}
23867
23868
23869static PyObject *_wrap_Window_Disable(PyObject *self, PyObject *args, PyObject *kwargs) {
23870 PyObject *resultobj;
23871 wxWindow *arg1 = (wxWindow *) 0 ;
23872 bool result;
23873 PyObject * obj0 = 0 ;
23874 char *kwnames[] = {
23875 (char *) "self", NULL
23876 };
23877
23878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23881 {
23882 PyThreadState* __tstate = wxPyBeginAllowThreads();
23883 result = (bool)(arg1)->Disable();
23884
23885 wxPyEndAllowThreads(__tstate);
23886 if (PyErr_Occurred()) SWIG_fail;
23887 }
4f89f6a3
RD
23888 {
23889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23890 }
d14a1e28
RD
23891 return resultobj;
23892 fail:
23893 return NULL;
23894}
23895
23896
23897static PyObject *_wrap_Window_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
23898 PyObject *resultobj;
23899 wxWindow *arg1 = (wxWindow *) 0 ;
23900 bool result;
23901 PyObject * obj0 = 0 ;
23902 char *kwnames[] = {
23903 (char *) "self", NULL
23904 };
23905
23906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23909 {
23910 PyThreadState* __tstate = wxPyBeginAllowThreads();
23911 result = (bool)((wxWindow const *)arg1)->IsShown();
23912
23913 wxPyEndAllowThreads(__tstate);
23914 if (PyErr_Occurred()) SWIG_fail;
23915 }
4f89f6a3
RD
23916 {
23917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23918 }
d14a1e28
RD
23919 return resultobj;
23920 fail:
23921 return NULL;
23922}
23923
23924
23925static PyObject *_wrap_Window_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
23926 PyObject *resultobj;
23927 wxWindow *arg1 = (wxWindow *) 0 ;
23928 bool result;
23929 PyObject * obj0 = 0 ;
23930 char *kwnames[] = {
23931 (char *) "self", NULL
23932 };
23933
23934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23937 {
23938 PyThreadState* __tstate = wxPyBeginAllowThreads();
23939 result = (bool)((wxWindow const *)arg1)->IsEnabled();
23940
23941 wxPyEndAllowThreads(__tstate);
23942 if (PyErr_Occurred()) SWIG_fail;
23943 }
4f89f6a3
RD
23944 {
23945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23946 }
d14a1e28
RD
23947 return resultobj;
23948 fail:
23949 return NULL;
23950}
23951
23952
23953static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
23954 PyObject *resultobj;
23955 wxWindow *arg1 = (wxWindow *) 0 ;
23956 long arg2 ;
23957 PyObject * obj0 = 0 ;
8edf1c75 23958 PyObject * obj1 = 0 ;
d14a1e28
RD
23959 char *kwnames[] = {
23960 (char *) "self",(char *) "style", NULL
23961 };
23962
8edf1c75 23963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23966 arg2 = (long) SWIG_AsLong(obj1);
23967 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23968 {
23969 PyThreadState* __tstate = wxPyBeginAllowThreads();
23970 (arg1)->SetWindowStyleFlag(arg2);
23971
23972 wxPyEndAllowThreads(__tstate);
23973 if (PyErr_Occurred()) SWIG_fail;
23974 }
23975 Py_INCREF(Py_None); resultobj = Py_None;
23976 return resultobj;
23977 fail:
23978 return NULL;
23979}
23980
23981
23982static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
23983 PyObject *resultobj;
23984 wxWindow *arg1 = (wxWindow *) 0 ;
23985 long result;
23986 PyObject * obj0 = 0 ;
23987 char *kwnames[] = {
23988 (char *) "self", NULL
23989 };
23990
23991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23994 {
23995 PyThreadState* __tstate = wxPyBeginAllowThreads();
23996 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
23997
23998 wxPyEndAllowThreads(__tstate);
23999 if (PyErr_Occurred()) SWIG_fail;
24000 }
2f4c0a16 24001 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
24002 return resultobj;
24003 fail:
24004 return NULL;
24005}
24006
24007
24008static PyObject *_wrap_Window_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
24009 PyObject *resultobj;
24010 wxWindow *arg1 = (wxWindow *) 0 ;
24011 int arg2 ;
24012 bool result;
24013 PyObject * obj0 = 0 ;
8edf1c75 24014 PyObject * obj1 = 0 ;
d14a1e28
RD
24015 char *kwnames[] = {
24016 (char *) "self",(char *) "flag", NULL
24017 };
24018
8edf1c75 24019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasFlag",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24022 arg2 = (int) SWIG_AsInt(obj1);
24023 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24024 {
24025 PyThreadState* __tstate = wxPyBeginAllowThreads();
24026 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
24027
24028 wxPyEndAllowThreads(__tstate);
24029 if (PyErr_Occurred()) SWIG_fail;
24030 }
4f89f6a3
RD
24031 {
24032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24033 }
d14a1e28
RD
24034 return resultobj;
24035 fail:
24036 return NULL;
24037}
24038
24039
24040static PyObject *_wrap_Window_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
24041 PyObject *resultobj;
24042 wxWindow *arg1 = (wxWindow *) 0 ;
24043 bool result;
24044 PyObject * obj0 = 0 ;
24045 char *kwnames[] = {
24046 (char *) "self", NULL
24047 };
24048
24049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24052 {
24053 PyThreadState* __tstate = wxPyBeginAllowThreads();
24054 result = (bool)((wxWindow const *)arg1)->IsRetained();
24055
24056 wxPyEndAllowThreads(__tstate);
24057 if (PyErr_Occurred()) SWIG_fail;
24058 }
4f89f6a3
RD
24059 {
24060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24061 }
d14a1e28
RD
24062 return resultobj;
24063 fail:
24064 return NULL;
24065}
24066
24067
24068static PyObject *_wrap_Window_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
24069 PyObject *resultobj;
24070 wxWindow *arg1 = (wxWindow *) 0 ;
24071 long arg2 ;
24072 PyObject * obj0 = 0 ;
8edf1c75 24073 PyObject * obj1 = 0 ;
d14a1e28
RD
24074 char *kwnames[] = {
24075 (char *) "self",(char *) "exStyle", NULL
24076 };
24077
8edf1c75 24078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetExtraStyle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24081 arg2 = (long) SWIG_AsLong(obj1);
24082 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24083 {
24084 PyThreadState* __tstate = wxPyBeginAllowThreads();
24085 (arg1)->SetExtraStyle(arg2);
24086
24087 wxPyEndAllowThreads(__tstate);
24088 if (PyErr_Occurred()) SWIG_fail;
24089 }
24090 Py_INCREF(Py_None); resultobj = Py_None;
24091 return resultobj;
24092 fail:
24093 return NULL;
24094}
24095
24096
24097static PyObject *_wrap_Window_GetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
24098 PyObject *resultobj;
24099 wxWindow *arg1 = (wxWindow *) 0 ;
24100 long result;
24101 PyObject * obj0 = 0 ;
24102 char *kwnames[] = {
24103 (char *) "self", NULL
24104 };
24105
24106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24109 {
24110 PyThreadState* __tstate = wxPyBeginAllowThreads();
24111 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
24112
24113 wxPyEndAllowThreads(__tstate);
24114 if (PyErr_Occurred()) SWIG_fail;
24115 }
2f4c0a16 24116 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
24117 return resultobj;
24118 fail:
24119 return NULL;
24120}
24121
24122
24123static PyObject *_wrap_Window_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
24124 PyObject *resultobj;
24125 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 24126 bool arg2 = (bool) True ;
d14a1e28
RD
24127 PyObject * obj0 = 0 ;
24128 PyObject * obj1 = 0 ;
24129 char *kwnames[] = {
24130 (char *) "self",(char *) "modal", NULL
24131 };
24132
24133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 24136 if (obj1) {
2f4c0a16
RD
24137 arg2 = (bool) SWIG_AsBool(obj1);
24138 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24139 }
24140 {
24141 PyThreadState* __tstate = wxPyBeginAllowThreads();
24142 (arg1)->MakeModal(arg2);
24143
24144 wxPyEndAllowThreads(__tstate);
24145 if (PyErr_Occurred()) SWIG_fail;
24146 }
24147 Py_INCREF(Py_None); resultobj = Py_None;
24148 return resultobj;
24149 fail:
24150 return NULL;
24151}
24152
24153
24154static PyObject *_wrap_Window_SetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
24155 PyObject *resultobj;
24156 wxWindow *arg1 = (wxWindow *) 0 ;
24157 bool arg2 ;
24158 PyObject * obj0 = 0 ;
24159 PyObject * obj1 = 0 ;
24160 char *kwnames[] = {
24161 (char *) "self",(char *) "enableTheme", NULL
24162 };
24163
24164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24167 arg2 = (bool) SWIG_AsBool(obj1);
24168 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24169 {
24170 PyThreadState* __tstate = wxPyBeginAllowThreads();
24171 (arg1)->SetThemeEnabled(arg2);
24172
24173 wxPyEndAllowThreads(__tstate);
24174 if (PyErr_Occurred()) SWIG_fail;
24175 }
24176 Py_INCREF(Py_None); resultobj = Py_None;
24177 return resultobj;
24178 fail:
24179 return NULL;
24180}
24181
24182
24183static PyObject *_wrap_Window_GetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
24184 PyObject *resultobj;
24185 wxWindow *arg1 = (wxWindow *) 0 ;
24186 bool result;
24187 PyObject * obj0 = 0 ;
24188 char *kwnames[] = {
24189 (char *) "self", NULL
24190 };
24191
24192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24195 {
24196 PyThreadState* __tstate = wxPyBeginAllowThreads();
24197 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
24198
24199 wxPyEndAllowThreads(__tstate);
24200 if (PyErr_Occurred()) SWIG_fail;
24201 }
4f89f6a3
RD
24202 {
24203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24204 }
d14a1e28
RD
24205 return resultobj;
24206 fail:
24207 return NULL;
24208}
24209
24210
d14a1e28
RD
24211static PyObject *_wrap_Window_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24212 PyObject *resultobj;
24213 wxWindow *arg1 = (wxWindow *) 0 ;
24214 PyObject * obj0 = 0 ;
24215 char *kwnames[] = {
24216 (char *) "self", NULL
24217 };
24218
24219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24222 {
24223 PyThreadState* __tstate = wxPyBeginAllowThreads();
24224 (arg1)->SetFocus();
24225
24226 wxPyEndAllowThreads(__tstate);
24227 if (PyErr_Occurred()) SWIG_fail;
24228 }
24229 Py_INCREF(Py_None); resultobj = Py_None;
24230 return resultobj;
24231 fail:
24232 return NULL;
24233}
24234
24235
24236static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *self, PyObject *args, PyObject *kwargs) {
24237 PyObject *resultobj;
24238 wxWindow *arg1 = (wxWindow *) 0 ;
24239 PyObject * obj0 = 0 ;
24240 char *kwnames[] = {
24241 (char *) "self", NULL
24242 };
24243
24244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24247 {
24248 PyThreadState* __tstate = wxPyBeginAllowThreads();
24249 (arg1)->SetFocusFromKbd();
24250
24251 wxPyEndAllowThreads(__tstate);
24252 if (PyErr_Occurred()) SWIG_fail;
24253 }
24254 Py_INCREF(Py_None); resultobj = Py_None;
24255 return resultobj;
24256 fail:
24257 return NULL;
24258}
24259
24260
24261static PyObject *_wrap_Window_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24262 PyObject *resultobj;
24263 wxWindow *result;
24264 char *kwnames[] = {
24265 NULL
24266 };
24267
24268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
24269 {
24270 PyThreadState* __tstate = wxPyBeginAllowThreads();
24271 result = (wxWindow *)wxWindow::FindFocus();
24272
24273 wxPyEndAllowThreads(__tstate);
24274 if (PyErr_Occurred()) SWIG_fail;
24275 }
24276 {
24277 resultobj = wxPyMake_wxObject(result);
24278 }
24279 return resultobj;
24280 fail:
24281 return NULL;
24282}
24283
24284
24285static PyObject *_wrap_Window_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24286 PyObject *resultobj;
24287 wxWindow *arg1 = (wxWindow *) 0 ;
24288 bool result;
24289 PyObject * obj0 = 0 ;
24290 char *kwnames[] = {
24291 (char *) "self", NULL
24292 };
24293
24294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24297 {
24298 PyThreadState* __tstate = wxPyBeginAllowThreads();
24299 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
24300
24301 wxPyEndAllowThreads(__tstate);
24302 if (PyErr_Occurred()) SWIG_fail;
24303 }
4f89f6a3
RD
24304 {
24305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24306 }
d14a1e28
RD
24307 return resultobj;
24308 fail:
24309 return NULL;
24310}
24311
24312
24313static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24314 PyObject *resultobj;
24315 wxWindow *arg1 = (wxWindow *) 0 ;
24316 bool result;
24317 PyObject * obj0 = 0 ;
24318 char *kwnames[] = {
24319 (char *) "self", NULL
24320 };
24321
24322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24325 {
24326 PyThreadState* __tstate = wxPyBeginAllowThreads();
24327 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
24328
24329 wxPyEndAllowThreads(__tstate);
24330 if (PyErr_Occurred()) SWIG_fail;
24331 }
4f89f6a3
RD
24332 {
24333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24334 }
d14a1e28
RD
24335 return resultobj;
24336 fail:
24337 return NULL;
24338}
24339
24340
24341static PyObject *_wrap_Window_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24342 PyObject *resultobj;
24343 wxWindow *arg1 = (wxWindow *) 0 ;
24344 wxWindow *result;
24345 PyObject * obj0 = 0 ;
24346 char *kwnames[] = {
24347 (char *) "self", NULL
24348 };
24349
24350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24353 {
24354 PyThreadState* __tstate = wxPyBeginAllowThreads();
24355 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
24356
24357 wxPyEndAllowThreads(__tstate);
24358 if (PyErr_Occurred()) SWIG_fail;
24359 }
24360 {
24361 resultobj = wxPyMake_wxObject(result);
24362 }
24363 return resultobj;
24364 fail:
24365 return NULL;
24366}
24367
24368
24369static PyObject *_wrap_Window_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24370 PyObject *resultobj;
24371 wxWindow *arg1 = (wxWindow *) 0 ;
24372 wxWindow *arg2 = (wxWindow *) 0 ;
24373 wxWindow *result;
24374 PyObject * obj0 = 0 ;
24375 PyObject * obj1 = 0 ;
24376 char *kwnames[] = {
24377 (char *) "self",(char *) "child", NULL
24378 };
24379
24380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24383 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24385 {
24386 PyThreadState* __tstate = wxPyBeginAllowThreads();
24387 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
24388
24389 wxPyEndAllowThreads(__tstate);
24390 if (PyErr_Occurred()) SWIG_fail;
24391 }
24392 {
24393 resultobj = wxPyMake_wxObject(result);
24394 }
24395 return resultobj;
24396 fail:
24397 return NULL;
24398}
24399
24400
24401static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24402 PyObject *resultobj;
24403 wxWindow *arg1 = (wxWindow *) 0 ;
24404 wxWindow *arg2 = (wxWindow *) 0 ;
24405 PyObject * obj0 = 0 ;
24406 PyObject * obj1 = 0 ;
24407 char *kwnames[] = {
24408 (char *) "self",(char *) "win", NULL
24409 };
24410
24411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24414 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24416 {
24417 PyThreadState* __tstate = wxPyBeginAllowThreads();
24418 (arg1)->SetTmpDefaultItem(arg2);
24419
24420 wxPyEndAllowThreads(__tstate);
24421 if (PyErr_Occurred()) SWIG_fail;
24422 }
24423 Py_INCREF(Py_None); resultobj = Py_None;
24424 return resultobj;
24425 fail:
24426 return NULL;
24427}
24428
24429
24430static PyObject *_wrap_Window_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24431 PyObject *resultobj;
24432 wxWindow *arg1 = (wxWindow *) 0 ;
24433 PyObject *result;
24434 PyObject * obj0 = 0 ;
24435 char *kwnames[] = {
24436 (char *) "self", NULL
24437 };
24438
24439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24442 {
24443 PyThreadState* __tstate = wxPyBeginAllowThreads();
24444 result = (PyObject *)wxWindow_GetChildren(arg1);
24445
24446 wxPyEndAllowThreads(__tstate);
24447 if (PyErr_Occurred()) SWIG_fail;
24448 }
24449 resultobj = result;
24450 return resultobj;
24451 fail:
24452 return NULL;
24453}
24454
24455
24456static PyObject *_wrap_Window_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
24457 PyObject *resultobj;
24458 wxWindow *arg1 = (wxWindow *) 0 ;
24459 wxWindow *result;
24460 PyObject * obj0 = 0 ;
24461 char *kwnames[] = {
24462 (char *) "self", NULL
24463 };
24464
24465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24468 {
24469 PyThreadState* __tstate = wxPyBeginAllowThreads();
24470 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
24471
24472 wxPyEndAllowThreads(__tstate);
24473 if (PyErr_Occurred()) SWIG_fail;
24474 }
24475 {
24476 resultobj = wxPyMake_wxObject(result);
24477 }
24478 return resultobj;
24479 fail:
24480 return NULL;
24481}
24482
24483
24484static PyObject *_wrap_Window_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
24485 PyObject *resultobj;
24486 wxWindow *arg1 = (wxWindow *) 0 ;
24487 wxWindow *result;
24488 PyObject * obj0 = 0 ;
24489 char *kwnames[] = {
24490 (char *) "self", NULL
24491 };
24492
24493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24496 {
24497 PyThreadState* __tstate = wxPyBeginAllowThreads();
24498 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
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_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
24513 PyObject *resultobj;
24514 wxWindow *arg1 = (wxWindow *) 0 ;
24515 bool result;
24516 PyObject * obj0 = 0 ;
24517 char *kwnames[] = {
24518 (char *) "self", NULL
24519 };
24520
24521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24524 {
24525 PyThreadState* __tstate = wxPyBeginAllowThreads();
24526 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
24527
24528 wxPyEndAllowThreads(__tstate);
24529 if (PyErr_Occurred()) SWIG_fail;
24530 }
4f89f6a3
RD
24531 {
24532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24533 }
d14a1e28
RD
24534 return resultobj;
24535 fail:
24536 return NULL;
24537}
24538
24539
24540static PyObject *_wrap_Window_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
24541 PyObject *resultobj;
24542 wxWindow *arg1 = (wxWindow *) 0 ;
24543 wxWindow *arg2 = (wxWindow *) 0 ;
24544 bool result;
24545 PyObject * obj0 = 0 ;
24546 PyObject * obj1 = 0 ;
24547 char *kwnames[] = {
24548 (char *) "self",(char *) "newParent", NULL
24549 };
24550
24551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24554 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24556 {
24557 PyThreadState* __tstate = wxPyBeginAllowThreads();
24558 result = (bool)(arg1)->Reparent(arg2);
24559
24560 wxPyEndAllowThreads(__tstate);
24561 if (PyErr_Occurred()) SWIG_fail;
24562 }
4f89f6a3
RD
24563 {
24564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24565 }
d14a1e28
RD
24566 return resultobj;
24567 fail:
24568 return NULL;
24569}
24570
24571
24572static PyObject *_wrap_Window_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24573 PyObject *resultobj;
24574 wxWindow *arg1 = (wxWindow *) 0 ;
24575 wxWindow *arg2 = (wxWindow *) 0 ;
24576 PyObject * obj0 = 0 ;
24577 PyObject * obj1 = 0 ;
24578 char *kwnames[] = {
24579 (char *) "self",(char *) "child", NULL
24580 };
24581
24582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24585 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24587 {
24588 PyThreadState* __tstate = wxPyBeginAllowThreads();
24589 (arg1)->AddChild(arg2);
24590
24591 wxPyEndAllowThreads(__tstate);
24592 if (PyErr_Occurred()) SWIG_fail;
24593 }
24594 Py_INCREF(Py_None); resultobj = Py_None;
24595 return resultobj;
24596 fail:
24597 return NULL;
24598}
24599
24600
24601static PyObject *_wrap_Window_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24602 PyObject *resultobj;
24603 wxWindow *arg1 = (wxWindow *) 0 ;
24604 wxWindow *arg2 = (wxWindow *) 0 ;
24605 PyObject * obj0 = 0 ;
24606 PyObject * obj1 = 0 ;
24607 char *kwnames[] = {
24608 (char *) "self",(char *) "child", NULL
24609 };
24610
24611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24614 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24616 {
24617 PyThreadState* __tstate = wxPyBeginAllowThreads();
24618 (arg1)->RemoveChild(arg2);
24619
24620 wxPyEndAllowThreads(__tstate);
24621 if (PyErr_Occurred()) SWIG_fail;
24622 }
24623 Py_INCREF(Py_None); resultobj = Py_None;
24624 return resultobj;
24625 fail:
24626 return NULL;
24627}
24628
24629
24630static PyObject *_wrap_Window_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
24631 PyObject *resultobj;
24632 wxWindow *arg1 = (wxWindow *) 0 ;
24633 long arg2 ;
24634 wxWindow *result;
24635 PyObject * obj0 = 0 ;
8edf1c75 24636 PyObject * obj1 = 0 ;
d14a1e28
RD
24637 char *kwnames[] = {
24638 (char *) "self",(char *) "winid", NULL
24639 };
24640
8edf1c75 24641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowById",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24644 arg2 = (long) SWIG_AsLong(obj1);
24645 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24646 {
24647 PyThreadState* __tstate = wxPyBeginAllowThreads();
24648 result = (wxWindow *)(arg1)->FindWindow(arg2);
24649
24650 wxPyEndAllowThreads(__tstate);
24651 if (PyErr_Occurred()) SWIG_fail;
24652 }
24653 {
24654 resultobj = wxPyMake_wxObject(result);
24655 }
24656 return resultobj;
24657 fail:
24658 return NULL;
24659}
24660
24661
24662static PyObject *_wrap_Window_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
24663 PyObject *resultobj;
24664 wxWindow *arg1 = (wxWindow *) 0 ;
24665 wxString *arg2 = 0 ;
24666 wxWindow *result;
423f194a 24667 bool temp2 = False ;
d14a1e28
RD
24668 PyObject * obj0 = 0 ;
24669 PyObject * obj1 = 0 ;
24670 char *kwnames[] = {
24671 (char *) "self",(char *) "name", NULL
24672 };
24673
24674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24677 {
24678 arg2 = wxString_in_helper(obj1);
24679 if (arg2 == NULL) SWIG_fail;
423f194a 24680 temp2 = True;
d14a1e28
RD
24681 }
24682 {
24683 PyThreadState* __tstate = wxPyBeginAllowThreads();
24684 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
24685
24686 wxPyEndAllowThreads(__tstate);
24687 if (PyErr_Occurred()) SWIG_fail;
24688 }
24689 {
24690 resultobj = wxPyMake_wxObject(result);
24691 }
24692 {
24693 if (temp2)
24694 delete arg2;
24695 }
24696 return resultobj;
24697 fail:
24698 {
24699 if (temp2)
24700 delete arg2;
24701 }
24702 return NULL;
24703}
24704
24705
24706static PyObject *_wrap_Window_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24707 PyObject *resultobj;
24708 wxWindow *arg1 = (wxWindow *) 0 ;
24709 wxEvtHandler *result;
24710 PyObject * obj0 = 0 ;
24711 char *kwnames[] = {
24712 (char *) "self", NULL
24713 };
24714
24715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24718 {
24719 PyThreadState* __tstate = wxPyBeginAllowThreads();
24720 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
24721
24722 wxPyEndAllowThreads(__tstate);
24723 if (PyErr_Occurred()) SWIG_fail;
24724 }
24725 {
24726 resultobj = wxPyMake_wxObject(result);
24727 }
24728 return resultobj;
24729 fail:
24730 return NULL;
24731}
24732
24733
24734static PyObject *_wrap_Window_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24735 PyObject *resultobj;
24736 wxWindow *arg1 = (wxWindow *) 0 ;
24737 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24738 PyObject * obj0 = 0 ;
24739 PyObject * obj1 = 0 ;
24740 char *kwnames[] = {
24741 (char *) "self",(char *) "handler", NULL
24742 };
24743
24744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24747 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24749 {
24750 PyThreadState* __tstate = wxPyBeginAllowThreads();
24751 (arg1)->SetEventHandler(arg2);
24752
24753 wxPyEndAllowThreads(__tstate);
24754 if (PyErr_Occurred()) SWIG_fail;
24755 }
24756 Py_INCREF(Py_None); resultobj = Py_None;
24757 return resultobj;
24758 fail:
24759 return NULL;
24760}
24761
24762
24763static PyObject *_wrap_Window_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24764 PyObject *resultobj;
24765 wxWindow *arg1 = (wxWindow *) 0 ;
24766 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24767 PyObject * obj0 = 0 ;
24768 PyObject * obj1 = 0 ;
24769 char *kwnames[] = {
24770 (char *) "self",(char *) "handler", NULL
24771 };
24772
24773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24776 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24778 {
24779 PyThreadState* __tstate = wxPyBeginAllowThreads();
24780 (arg1)->PushEventHandler(arg2);
24781
24782 wxPyEndAllowThreads(__tstate);
24783 if (PyErr_Occurred()) SWIG_fail;
24784 }
24785 Py_INCREF(Py_None); resultobj = Py_None;
24786 return resultobj;
24787 fail:
24788 return NULL;
24789}
24790
24791
24792static PyObject *_wrap_Window_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24793 PyObject *resultobj;
24794 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 24795 bool arg2 = (bool) False ;
d14a1e28
RD
24796 wxEvtHandler *result;
24797 PyObject * obj0 = 0 ;
24798 PyObject * obj1 = 0 ;
24799 char *kwnames[] = {
24800 (char *) "self",(char *) "deleteHandler", NULL
24801 };
24802
24803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 24806 if (obj1) {
2f4c0a16
RD
24807 arg2 = (bool) SWIG_AsBool(obj1);
24808 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24809 }
24810 {
24811 PyThreadState* __tstate = wxPyBeginAllowThreads();
24812 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
24813
24814 wxPyEndAllowThreads(__tstate);
24815 if (PyErr_Occurred()) SWIG_fail;
24816 }
24817 {
24818 resultobj = wxPyMake_wxObject(result);
24819 }
24820 return resultobj;
24821 fail:
24822 return NULL;
24823}
24824
24825
24826static PyObject *_wrap_Window_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24827 PyObject *resultobj;
24828 wxWindow *arg1 = (wxWindow *) 0 ;
24829 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24830 bool result;
24831 PyObject * obj0 = 0 ;
24832 PyObject * obj1 = 0 ;
24833 char *kwnames[] = {
24834 (char *) "self",(char *) "handler", NULL
24835 };
24836
24837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24840 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24842 {
24843 PyThreadState* __tstate = wxPyBeginAllowThreads();
24844 result = (bool)(arg1)->RemoveEventHandler(arg2);
24845
24846 wxPyEndAllowThreads(__tstate);
24847 if (PyErr_Occurred()) SWIG_fail;
24848 }
4f89f6a3
RD
24849 {
24850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24851 }
d14a1e28
RD
24852 return resultobj;
24853 fail:
24854 return NULL;
24855}
24856
24857
24858static PyObject *_wrap_Window_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
24859 PyObject *resultobj;
24860 wxWindow *arg1 = (wxWindow *) 0 ;
24861 wxValidator *arg2 = 0 ;
24862 PyObject * obj0 = 0 ;
24863 PyObject * obj1 = 0 ;
24864 char *kwnames[] = {
24865 (char *) "self",(char *) "validator", NULL
24866 };
24867
24868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24871 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxValidator,
24872 SWIG_POINTER_EXCEPTION | 0)) == -1)
24873 SWIG_fail;
d14a1e28 24874 if (arg2 == NULL) {
2f4c0a16
RD
24875 PyErr_SetString(PyExc_TypeError,"null reference");
24876 SWIG_fail;
d14a1e28
RD
24877 }
24878 {
24879 PyThreadState* __tstate = wxPyBeginAllowThreads();
24880 (arg1)->SetValidator((wxValidator const &)*arg2);
24881
24882 wxPyEndAllowThreads(__tstate);
24883 if (PyErr_Occurred()) SWIG_fail;
24884 }
24885 Py_INCREF(Py_None); resultobj = Py_None;
24886 return resultobj;
24887 fail:
24888 return NULL;
24889}
24890
24891
24892static PyObject *_wrap_Window_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
24893 PyObject *resultobj;
24894 wxWindow *arg1 = (wxWindow *) 0 ;
24895 wxValidator *result;
24896 PyObject * obj0 = 0 ;
24897 char *kwnames[] = {
24898 (char *) "self", NULL
24899 };
24900
24901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24904 {
24905 PyThreadState* __tstate = wxPyBeginAllowThreads();
24906 result = (wxValidator *)(arg1)->GetValidator();
24907
24908 wxPyEndAllowThreads(__tstate);
24909 if (PyErr_Occurred()) SWIG_fail;
24910 }
24911 {
24912 resultobj = wxPyMake_wxObject(result);
24913 }
24914 return resultobj;
24915 fail:
24916 return NULL;
24917}
24918
24919
74a57fcd
RD
24920static PyObject *_wrap_Window_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24921 PyObject *resultobj;
24922 wxWindow *arg1 = (wxWindow *) 0 ;
24923 bool result;
24924 PyObject * obj0 = 0 ;
24925 char *kwnames[] = {
24926 (char *) "self", NULL
24927 };
24928
24929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Validate",kwnames,&obj0)) goto fail;
24930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24932 {
24933 PyThreadState* __tstate = wxPyBeginAllowThreads();
24934 result = (bool)(arg1)->Validate();
24935
24936 wxPyEndAllowThreads(__tstate);
24937 if (PyErr_Occurred()) SWIG_fail;
24938 }
24939 {
24940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24941 }
24942 return resultobj;
24943 fail:
24944 return NULL;
24945}
24946
24947
24948static PyObject *_wrap_Window_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24949 PyObject *resultobj;
24950 wxWindow *arg1 = (wxWindow *) 0 ;
24951 bool result;
24952 PyObject * obj0 = 0 ;
24953 char *kwnames[] = {
24954 (char *) "self", NULL
24955 };
24956
24957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataToWindow",kwnames,&obj0)) goto fail;
24958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24960 {
24961 PyThreadState* __tstate = wxPyBeginAllowThreads();
24962 result = (bool)(arg1)->TransferDataToWindow();
24963
24964 wxPyEndAllowThreads(__tstate);
24965 if (PyErr_Occurred()) SWIG_fail;
24966 }
24967 {
24968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24969 }
24970 return resultobj;
24971 fail:
24972 return NULL;
24973}
24974
24975
24976static PyObject *_wrap_Window_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24977 PyObject *resultobj;
24978 wxWindow *arg1 = (wxWindow *) 0 ;
24979 bool result;
24980 PyObject * obj0 = 0 ;
24981 char *kwnames[] = {
24982 (char *) "self", NULL
24983 };
24984
24985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataFromWindow",kwnames,&obj0)) goto fail;
24986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24988 {
24989 PyThreadState* __tstate = wxPyBeginAllowThreads();
24990 result = (bool)(arg1)->TransferDataFromWindow();
24991
24992 wxPyEndAllowThreads(__tstate);
24993 if (PyErr_Occurred()) SWIG_fail;
24994 }
24995 {
24996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24997 }
24998 return resultobj;
24999 fail:
25000 return NULL;
25001}
25002
25003
25004static PyObject *_wrap_Window_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25005 PyObject *resultobj;
25006 wxWindow *arg1 = (wxWindow *) 0 ;
25007 PyObject * obj0 = 0 ;
25008 char *kwnames[] = {
25009 (char *) "self", NULL
25010 };
25011
25012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InitDialog",kwnames,&obj0)) goto fail;
25013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25015 {
25016 PyThreadState* __tstate = wxPyBeginAllowThreads();
25017 (arg1)->InitDialog();
25018
25019 wxPyEndAllowThreads(__tstate);
25020 if (PyErr_Occurred()) SWIG_fail;
25021 }
25022 Py_INCREF(Py_None); resultobj = Py_None;
25023 return resultobj;
25024 fail:
25025 return NULL;
25026}
25027
25028
d14a1e28
RD
25029static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
25030 PyObject *resultobj;
25031 wxWindow *arg1 = (wxWindow *) 0 ;
25032 wxAcceleratorTable *arg2 = 0 ;
25033 PyObject * obj0 = 0 ;
25034 PyObject * obj1 = 0 ;
25035 char *kwnames[] = {
25036 (char *) "self",(char *) "accel", NULL
25037 };
25038
25039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25042 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorTable,
25043 SWIG_POINTER_EXCEPTION | 0)) == -1)
25044 SWIG_fail;
d14a1e28 25045 if (arg2 == NULL) {
2f4c0a16
RD
25046 PyErr_SetString(PyExc_TypeError,"null reference");
25047 SWIG_fail;
d14a1e28
RD
25048 }
25049 {
25050 PyThreadState* __tstate = wxPyBeginAllowThreads();
25051 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
25052
25053 wxPyEndAllowThreads(__tstate);
25054 if (PyErr_Occurred()) SWIG_fail;
25055 }
25056 Py_INCREF(Py_None); resultobj = Py_None;
25057 return resultobj;
25058 fail:
25059 return NULL;
25060}
25061
25062
25063static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
25064 PyObject *resultobj;
25065 wxWindow *arg1 = (wxWindow *) 0 ;
25066 wxAcceleratorTable *result;
25067 PyObject * obj0 = 0 ;
25068 char *kwnames[] = {
25069 (char *) "self", NULL
25070 };
25071
25072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25075 {
25076 PyThreadState* __tstate = wxPyBeginAllowThreads();
25077 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
25078
25079 wxPyEndAllowThreads(__tstate);
25080 if (PyErr_Occurred()) SWIG_fail;
25081 }
2f4c0a16 25082 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 0);
d14a1e28
RD
25083 return resultobj;
25084 fail:
25085 return NULL;
25086}
25087
25088
25089static PyObject *_wrap_Window_RegisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
25090 PyObject *resultobj;
25091 wxWindow *arg1 = (wxWindow *) 0 ;
25092 int arg2 ;
25093 int arg3 ;
25094 int arg4 ;
25095 bool result;
25096 PyObject * obj0 = 0 ;
8edf1c75
RD
25097 PyObject * obj1 = 0 ;
25098 PyObject * obj2 = 0 ;
25099 PyObject * obj3 = 0 ;
d14a1e28
RD
25100 char *kwnames[] = {
25101 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25102 };
25103
8edf1c75 25104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_RegisterHotKey",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
25105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25107 arg2 = (int) SWIG_AsInt(obj1);
25108 if (PyErr_Occurred()) SWIG_fail;
25109 arg3 = (int) SWIG_AsInt(obj2);
25110 if (PyErr_Occurred()) SWIG_fail;
25111 arg4 = (int) SWIG_AsInt(obj3);
25112 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25113 {
25114 PyThreadState* __tstate = wxPyBeginAllowThreads();
25115 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
25116
25117 wxPyEndAllowThreads(__tstate);
25118 if (PyErr_Occurred()) SWIG_fail;
25119 }
4f89f6a3
RD
25120 {
25121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25122 }
d14a1e28
RD
25123 return resultobj;
25124 fail:
25125 return NULL;
25126}
25127
25128
25129static PyObject *_wrap_Window_UnregisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
25130 PyObject *resultobj;
25131 wxWindow *arg1 = (wxWindow *) 0 ;
25132 int arg2 ;
25133 bool result;
25134 PyObject * obj0 = 0 ;
8edf1c75 25135 PyObject * obj1 = 0 ;
d14a1e28
RD
25136 char *kwnames[] = {
25137 (char *) "self",(char *) "hotkeyId", NULL
25138 };
25139
8edf1c75 25140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_UnregisterHotKey",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25143 arg2 = (int) SWIG_AsInt(obj1);
25144 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25145 {
25146 PyThreadState* __tstate = wxPyBeginAllowThreads();
25147 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
25148
25149 wxPyEndAllowThreads(__tstate);
25150 if (PyErr_Occurred()) SWIG_fail;
25151 }
4f89f6a3
RD
25152 {
25153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25154 }
d14a1e28
RD
25155 return resultobj;
25156 fail:
25157 return NULL;
25158}
25159
25160
25161static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
25162 PyObject *resultobj;
25163 wxWindow *arg1 = (wxWindow *) 0 ;
25164 wxPoint *arg2 = 0 ;
25165 wxPoint result;
25166 wxPoint temp2 ;
25167 PyObject * obj0 = 0 ;
25168 PyObject * obj1 = 0 ;
25169 char *kwnames[] = {
25170 (char *) "self",(char *) "pt", NULL
25171 };
25172
25173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25176 {
25177 arg2 = &temp2;
25178 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25179 }
25180 {
25181 PyThreadState* __tstate = wxPyBeginAllowThreads();
25182 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
25183
25184 wxPyEndAllowThreads(__tstate);
25185 if (PyErr_Occurred()) SWIG_fail;
25186 }
25187 {
25188 wxPoint * resultptr;
25189 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 25190 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25191 }
25192 return resultobj;
25193 fail:
25194 return NULL;
25195}
25196
25197
25198static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
25199 PyObject *resultobj;
25200 wxWindow *arg1 = (wxWindow *) 0 ;
25201 wxSize *arg2 = 0 ;
25202 wxSize result;
25203 wxSize temp2 ;
25204 PyObject * obj0 = 0 ;
25205 PyObject * obj1 = 0 ;
25206 char *kwnames[] = {
25207 (char *) "self",(char *) "sz", NULL
25208 };
25209
25210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25213 {
25214 arg2 = &temp2;
25215 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25216 }
25217 {
25218 PyThreadState* __tstate = wxPyBeginAllowThreads();
25219 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
25220
25221 wxPyEndAllowThreads(__tstate);
25222 if (PyErr_Occurred()) SWIG_fail;
25223 }
25224 {
25225 wxSize * resultptr;
25226 resultptr = new wxSize((wxSize &) result);
2f4c0a16 25227 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
25228 }
25229 return resultobj;
25230 fail:
25231 return NULL;
25232}
25233
25234
25235static PyObject *_wrap_Window_DLG_PNT(PyObject *self, PyObject *args, PyObject *kwargs) {
25236 PyObject *resultobj;
25237 wxWindow *arg1 = (wxWindow *) 0 ;
25238 wxPoint *arg2 = 0 ;
25239 wxPoint result;
25240 wxPoint temp2 ;
25241 PyObject * obj0 = 0 ;
25242 PyObject * obj1 = 0 ;
25243 char *kwnames[] = {
25244 (char *) "self",(char *) "pt", NULL
25245 };
25246
25247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25250 {
25251 arg2 = &temp2;
25252 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25253 }
25254 {
25255 PyThreadState* __tstate = wxPyBeginAllowThreads();
25256 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
25257
25258 wxPyEndAllowThreads(__tstate);
25259 if (PyErr_Occurred()) SWIG_fail;
25260 }
25261 {
25262 wxPoint * resultptr;
25263 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 25264 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25265 }
25266 return resultobj;
25267 fail:
25268 return NULL;
25269}
25270
25271
25272static PyObject *_wrap_Window_DLG_SZE(PyObject *self, PyObject *args, PyObject *kwargs) {
25273 PyObject *resultobj;
25274 wxWindow *arg1 = (wxWindow *) 0 ;
25275 wxSize *arg2 = 0 ;
25276 wxSize result;
25277 wxSize temp2 ;
25278 PyObject * obj0 = 0 ;
25279 PyObject * obj1 = 0 ;
25280 char *kwnames[] = {
25281 (char *) "self",(char *) "sz", NULL
25282 };
25283
25284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25287 {
25288 arg2 = &temp2;
25289 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25290 }
25291 {
25292 PyThreadState* __tstate = wxPyBeginAllowThreads();
25293 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
25294
25295 wxPyEndAllowThreads(__tstate);
25296 if (PyErr_Occurred()) SWIG_fail;
25297 }
25298 {
25299 wxSize * resultptr;
25300 resultptr = new wxSize((wxSize &) result);
2f4c0a16 25301 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
25302 }
25303 return resultobj;
25304 fail:
25305 return NULL;
25306}
25307
25308
25309static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25310 PyObject *resultobj;
25311 wxWindow *arg1 = (wxWindow *) 0 ;
25312 wxPoint *arg2 = 0 ;
25313 wxPoint result;
25314 wxPoint temp2 ;
25315 PyObject * obj0 = 0 ;
25316 PyObject * obj1 = 0 ;
25317 char *kwnames[] = {
25318 (char *) "self",(char *) "pt", NULL
25319 };
25320
25321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25324 {
25325 arg2 = &temp2;
25326 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25327 }
25328 {
25329 PyThreadState* __tstate = wxPyBeginAllowThreads();
25330 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
25331
25332 wxPyEndAllowThreads(__tstate);
25333 if (PyErr_Occurred()) SWIG_fail;
25334 }
25335 {
25336 wxPoint * resultptr;
25337 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 25338 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25339 }
25340 return resultobj;
25341 fail:
25342 return NULL;
25343}
25344
25345
25346static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25347 PyObject *resultobj;
25348 wxWindow *arg1 = (wxWindow *) 0 ;
25349 wxSize *arg2 = 0 ;
25350 wxSize result;
25351 wxSize temp2 ;
25352 PyObject * obj0 = 0 ;
25353 PyObject * obj1 = 0 ;
25354 char *kwnames[] = {
25355 (char *) "self",(char *) "sz", NULL
25356 };
25357
25358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25361 {
25362 arg2 = &temp2;
25363 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25364 }
25365 {
25366 PyThreadState* __tstate = wxPyBeginAllowThreads();
25367 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
25368
25369 wxPyEndAllowThreads(__tstate);
25370 if (PyErr_Occurred()) SWIG_fail;
25371 }
25372 {
25373 wxSize * resultptr;
25374 resultptr = new wxSize((wxSize &) result);
2f4c0a16 25375 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
25376 }
25377 return resultobj;
25378 fail:
25379 return NULL;
25380}
25381
25382
25383static PyObject *_wrap_Window_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
25384 PyObject *resultobj;
25385 wxWindow *arg1 = (wxWindow *) 0 ;
25386 int arg2 ;
25387 int arg3 ;
25388 PyObject * obj0 = 0 ;
8edf1c75
RD
25389 PyObject * obj1 = 0 ;
25390 PyObject * obj2 = 0 ;
d14a1e28
RD
25391 char *kwnames[] = {
25392 (char *) "self",(char *) "x",(char *) "y", NULL
25393 };
25394
8edf1c75 25395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_WarpPointer",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25398 arg2 = (int) SWIG_AsInt(obj1);
25399 if (PyErr_Occurred()) SWIG_fail;
25400 arg3 = (int) SWIG_AsInt(obj2);
25401 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25402 {
25403 PyThreadState* __tstate = wxPyBeginAllowThreads();
25404 (arg1)->WarpPointer(arg2,arg3);
25405
25406 wxPyEndAllowThreads(__tstate);
25407 if (PyErr_Occurred()) SWIG_fail;
25408 }
25409 Py_INCREF(Py_None); resultobj = Py_None;
25410 return resultobj;
25411 fail:
25412 return NULL;
25413}
25414
25415
25416static PyObject *_wrap_Window_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
25417 PyObject *resultobj;
25418 wxWindow *arg1 = (wxWindow *) 0 ;
25419 PyObject * obj0 = 0 ;
25420 char *kwnames[] = {
25421 (char *) "self", NULL
25422 };
25423
25424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25427 {
25428 PyThreadState* __tstate = wxPyBeginAllowThreads();
25429 (arg1)->CaptureMouse();
25430
25431 wxPyEndAllowThreads(__tstate);
25432 if (PyErr_Occurred()) SWIG_fail;
25433 }
25434 Py_INCREF(Py_None); resultobj = Py_None;
25435 return resultobj;
25436 fail:
25437 return NULL;
25438}
25439
25440
25441static PyObject *_wrap_Window_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
25442 PyObject *resultobj;
25443 wxWindow *arg1 = (wxWindow *) 0 ;
25444 PyObject * obj0 = 0 ;
25445 char *kwnames[] = {
25446 (char *) "self", NULL
25447 };
25448
25449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25452 {
25453 PyThreadState* __tstate = wxPyBeginAllowThreads();
25454 (arg1)->ReleaseMouse();
25455
25456 wxPyEndAllowThreads(__tstate);
25457 if (PyErr_Occurred()) SWIG_fail;
25458 }
25459 Py_INCREF(Py_None); resultobj = Py_None;
25460 return resultobj;
25461 fail:
25462 return NULL;
25463}
25464
25465
25466static PyObject *_wrap_Window_GetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
25467 PyObject *resultobj;
25468 wxWindow *result;
25469 char *kwnames[] = {
25470 NULL
25471 };
25472
25473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
25474 {
25475 PyThreadState* __tstate = wxPyBeginAllowThreads();
25476 result = (wxWindow *)wxWindow::GetCapture();
25477
25478 wxPyEndAllowThreads(__tstate);
25479 if (PyErr_Occurred()) SWIG_fail;
25480 }
25481 {
25482 resultobj = wxPyMake_wxObject(result);
25483 }
25484 return resultobj;
25485 fail:
25486 return NULL;
25487}
25488
25489
25490static PyObject *_wrap_Window_HasCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
25491 PyObject *resultobj;
25492 wxWindow *arg1 = (wxWindow *) 0 ;
25493 bool result;
25494 PyObject * obj0 = 0 ;
25495 char *kwnames[] = {
25496 (char *) "self", NULL
25497 };
25498
25499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25502 {
25503 PyThreadState* __tstate = wxPyBeginAllowThreads();
25504 result = (bool)((wxWindow const *)arg1)->HasCapture();
25505
25506 wxPyEndAllowThreads(__tstate);
25507 if (PyErr_Occurred()) SWIG_fail;
25508 }
4f89f6a3
RD
25509 {
25510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25511 }
d14a1e28
RD
25512 return resultobj;
25513 fail:
25514 return NULL;
25515}
25516
25517
25518static PyObject *_wrap_Window_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
25519 PyObject *resultobj;
25520 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 25521 bool arg2 = (bool) True ;
d14a1e28
RD
25522 wxRect *arg3 = (wxRect *) NULL ;
25523 PyObject * obj0 = 0 ;
25524 PyObject * obj1 = 0 ;
25525 PyObject * obj2 = 0 ;
25526 char *kwnames[] = {
25527 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25528 };
25529
25530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 25533 if (obj1) {
2f4c0a16
RD
25534 arg2 = (bool) SWIG_AsBool(obj1);
25535 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25536 }
25537 if (obj2) {
2f4c0a16
RD
25538 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
25539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25540 }
25541 {
25542 PyThreadState* __tstate = wxPyBeginAllowThreads();
25543 (arg1)->Refresh(arg2,(wxRect const *)arg3);
25544
25545 wxPyEndAllowThreads(__tstate);
25546 if (PyErr_Occurred()) SWIG_fail;
25547 }
25548 Py_INCREF(Py_None); resultobj = Py_None;
25549 return resultobj;
25550 fail:
25551 return NULL;
25552}
25553
25554
25555static PyObject *_wrap_Window_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25556 PyObject *resultobj;
25557 wxWindow *arg1 = (wxWindow *) 0 ;
25558 wxRect *arg2 = 0 ;
25559 wxRect temp2 ;
25560 PyObject * obj0 = 0 ;
25561 PyObject * obj1 = 0 ;
25562 char *kwnames[] = {
25563 (char *) "self",(char *) "rect", NULL
25564 };
25565
25566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RefreshRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25569 {
25570 arg2 = &temp2;
25571 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
25572 }
25573 {
25574 PyThreadState* __tstate = wxPyBeginAllowThreads();
25575 (arg1)->RefreshRect((wxRect const &)*arg2);
25576
25577 wxPyEndAllowThreads(__tstate);
25578 if (PyErr_Occurred()) SWIG_fail;
25579 }
25580 Py_INCREF(Py_None); resultobj = Py_None;
25581 return resultobj;
25582 fail:
25583 return NULL;
25584}
25585
25586
25587static PyObject *_wrap_Window_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
25588 PyObject *resultobj;
25589 wxWindow *arg1 = (wxWindow *) 0 ;
25590 PyObject * obj0 = 0 ;
25591 char *kwnames[] = {
25592 (char *) "self", NULL
25593 };
25594
25595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25598 {
25599 PyThreadState* __tstate = wxPyBeginAllowThreads();
25600 (arg1)->Update();
25601
25602 wxPyEndAllowThreads(__tstate);
25603 if (PyErr_Occurred()) SWIG_fail;
25604 }
25605 Py_INCREF(Py_None); resultobj = Py_None;
25606 return resultobj;
25607 fail:
25608 return NULL;
25609}
25610
25611
25612static PyObject *_wrap_Window_ClearBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
25613 PyObject *resultobj;
25614 wxWindow *arg1 = (wxWindow *) 0 ;
25615 PyObject * obj0 = 0 ;
25616 char *kwnames[] = {
25617 (char *) "self", NULL
25618 };
25619
25620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25623 {
25624 PyThreadState* __tstate = wxPyBeginAllowThreads();
25625 (arg1)->ClearBackground();
25626
25627 wxPyEndAllowThreads(__tstate);
25628 if (PyErr_Occurred()) SWIG_fail;
25629 }
25630 Py_INCREF(Py_None); resultobj = Py_None;
25631 return resultobj;
25632 fail:
25633 return NULL;
25634}
25635
25636
25637static PyObject *_wrap_Window_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
25638 PyObject *resultobj;
25639 wxWindow *arg1 = (wxWindow *) 0 ;
25640 PyObject * obj0 = 0 ;
25641 char *kwnames[] = {
25642 (char *) "self", NULL
25643 };
25644
25645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25648 {
25649 PyThreadState* __tstate = wxPyBeginAllowThreads();
25650 (arg1)->Freeze();
25651
25652 wxPyEndAllowThreads(__tstate);
25653 if (PyErr_Occurred()) SWIG_fail;
25654 }
25655 Py_INCREF(Py_None); resultobj = Py_None;
25656 return resultobj;
25657 fail:
25658 return NULL;
25659}
25660
25661
25662static PyObject *_wrap_Window_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
25663 PyObject *resultobj;
25664 wxWindow *arg1 = (wxWindow *) 0 ;
25665 PyObject * obj0 = 0 ;
25666 char *kwnames[] = {
25667 (char *) "self", NULL
25668 };
25669
25670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25673 {
25674 PyThreadState* __tstate = wxPyBeginAllowThreads();
25675 (arg1)->Thaw();
25676
25677 wxPyEndAllowThreads(__tstate);
25678 if (PyErr_Occurred()) SWIG_fail;
25679 }
25680 Py_INCREF(Py_None); resultobj = Py_None;
25681 return resultobj;
25682 fail:
25683 return NULL;
25684}
25685
25686
25687static PyObject *_wrap_Window_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
25688 PyObject *resultobj;
25689 wxWindow *arg1 = (wxWindow *) 0 ;
25690 wxDC *arg2 = 0 ;
25691 PyObject * obj0 = 0 ;
25692 PyObject * obj1 = 0 ;
25693 char *kwnames[] = {
25694 (char *) "self",(char *) "dc", NULL
25695 };
25696
25697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25700 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25701 SWIG_POINTER_EXCEPTION | 0)) == -1)
25702 SWIG_fail;
d14a1e28 25703 if (arg2 == NULL) {
2f4c0a16
RD
25704 PyErr_SetString(PyExc_TypeError,"null reference");
25705 SWIG_fail;
d14a1e28
RD
25706 }
25707 {
25708 PyThreadState* __tstate = wxPyBeginAllowThreads();
25709 (arg1)->PrepareDC(*arg2);
25710
25711 wxPyEndAllowThreads(__tstate);
25712 if (PyErr_Occurred()) SWIG_fail;
25713 }
25714 Py_INCREF(Py_None); resultobj = Py_None;
25715 return resultobj;
25716 fail:
25717 return NULL;
25718}
25719
25720
25721static PyObject *_wrap_Window_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
25722 PyObject *resultobj;
25723 wxWindow *arg1 = (wxWindow *) 0 ;
25724 wxRegion *result;
25725 PyObject * obj0 = 0 ;
25726 char *kwnames[] = {
25727 (char *) "self", NULL
25728 };
25729
25730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25733 {
25734 PyThreadState* __tstate = wxPyBeginAllowThreads();
25735 {
25736 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
25737 result = (wxRegion *) &_result_ref;
25738 }
25739
25740 wxPyEndAllowThreads(__tstate);
25741 if (PyErr_Occurred()) SWIG_fail;
25742 }
2f4c0a16 25743 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 0);
d14a1e28
RD
25744 return resultobj;
25745 fail:
25746 return NULL;
25747}
25748
25749
25750static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25751 PyObject *resultobj;
25752 wxWindow *arg1 = (wxWindow *) 0 ;
25753 wxRect result;
25754 PyObject * obj0 = 0 ;
25755 char *kwnames[] = {
25756 (char *) "self", NULL
25757 };
25758
25759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25762 {
25763 PyThreadState* __tstate = wxPyBeginAllowThreads();
25764 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
25765
25766 wxPyEndAllowThreads(__tstate);
25767 if (PyErr_Occurred()) SWIG_fail;
25768 }
25769 {
25770 wxRect * resultptr;
25771 resultptr = new wxRect((wxRect &) result);
2f4c0a16 25772 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
25773 }
25774 return resultobj;
25775 fail:
25776 return NULL;
25777}
25778
25779
25780static PyObject *_wrap_Window_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
25781 PyObject *resultobj;
25782 wxWindow *arg1 = (wxWindow *) 0 ;
25783 int arg2 ;
25784 int arg3 ;
25785 int arg4 = (int) 1 ;
25786 int arg5 = (int) 1 ;
25787 bool result;
25788 PyObject * obj0 = 0 ;
8edf1c75
RD
25789 PyObject * obj1 = 0 ;
25790 PyObject * obj2 = 0 ;
25791 PyObject * obj3 = 0 ;
25792 PyObject * obj4 = 0 ;
d14a1e28
RD
25793 char *kwnames[] = {
25794 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25795 };
25796
8edf1c75 25797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_IsExposed",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
25798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25800 arg2 = (int) SWIG_AsInt(obj1);
25801 if (PyErr_Occurred()) SWIG_fail;
25802 arg3 = (int) SWIG_AsInt(obj2);
25803 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 25804 if (obj3) {
2f4c0a16
RD
25805 arg4 = (int) SWIG_AsInt(obj3);
25806 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
25807 }
25808 if (obj4) {
2f4c0a16
RD
25809 arg5 = (int) SWIG_AsInt(obj4);
25810 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 25811 }
d14a1e28
RD
25812 {
25813 PyThreadState* __tstate = wxPyBeginAllowThreads();
25814 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
25815
25816 wxPyEndAllowThreads(__tstate);
25817 if (PyErr_Occurred()) SWIG_fail;
25818 }
4f89f6a3
RD
25819 {
25820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25821 }
d14a1e28
RD
25822 return resultobj;
25823 fail:
25824 return NULL;
25825}
25826
25827
25828static PyObject *_wrap_Window_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
25829 PyObject *resultobj;
25830 wxWindow *arg1 = (wxWindow *) 0 ;
25831 wxPoint *arg2 = 0 ;
25832 bool result;
25833 wxPoint temp2 ;
25834 PyObject * obj0 = 0 ;
25835 PyObject * obj1 = 0 ;
25836 char *kwnames[] = {
25837 (char *) "self",(char *) "pt", NULL
25838 };
25839
25840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25843 {
25844 arg2 = &temp2;
25845 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25846 }
25847 {
25848 PyThreadState* __tstate = wxPyBeginAllowThreads();
25849 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
25850
25851 wxPyEndAllowThreads(__tstate);
25852 if (PyErr_Occurred()) SWIG_fail;
25853 }
4f89f6a3
RD
25854 {
25855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25856 }
d14a1e28
RD
25857 return resultobj;
25858 fail:
25859 return NULL;
25860}
25861
25862
fe763115 25863static PyObject *_wrap_Window_IsExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25864 PyObject *resultobj;
25865 wxWindow *arg1 = (wxWindow *) 0 ;
25866 wxRect *arg2 = 0 ;
25867 bool result;
25868 wxRect temp2 ;
25869 PyObject * obj0 = 0 ;
25870 PyObject * obj1 = 0 ;
25871 char *kwnames[] = {
25872 (char *) "self",(char *) "rect", NULL
25873 };
25874
fe763115 25875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25878 {
25879 arg2 = &temp2;
25880 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
25881 }
25882 {
25883 PyThreadState* __tstate = wxPyBeginAllowThreads();
25884 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
25885
25886 wxPyEndAllowThreads(__tstate);
25887 if (PyErr_Occurred()) SWIG_fail;
25888 }
4f89f6a3
RD
25889 {
25890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25891 }
d14a1e28
RD
25892 return resultobj;
25893 fail:
25894 return NULL;
25895}
25896
25897
74a57fcd
RD
25898static PyObject *_wrap_Window_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
25899 PyObject *resultobj;
25900 wxWindow *arg1 = (wxWindow *) 0 ;
25901 wxVisualAttributes result;
25902 PyObject * obj0 = 0 ;
25903 char *kwnames[] = {
25904 (char *) "self", NULL
25905 };
25906
25907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultAttributes",kwnames,&obj0)) goto fail;
25908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25910 {
25911 PyThreadState* __tstate = wxPyBeginAllowThreads();
25912 result = ((wxWindow const *)arg1)->GetDefaultAttributes();
25913
25914 wxPyEndAllowThreads(__tstate);
25915 if (PyErr_Occurred()) SWIG_fail;
25916 }
25917 {
25918 wxVisualAttributes * resultptr;
25919 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
25920 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
25921 }
25922 return resultobj;
25923 fail:
25924 return NULL;
25925}
25926
25927
25928static PyObject *_wrap_Window_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
25929 PyObject *resultobj;
25930 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
25931 wxVisualAttributes result;
25932 PyObject * obj0 = 0 ;
25933 char *kwnames[] = {
25934 (char *) "variant", NULL
25935 };
25936
25937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Window_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
25938 if (obj0) {
25939 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
25940 if (PyErr_Occurred()) SWIG_fail;
25941 }
25942 {
25943 PyThreadState* __tstate = wxPyBeginAllowThreads();
25944 result = wxWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
25945
25946 wxPyEndAllowThreads(__tstate);
25947 if (PyErr_Occurred()) SWIG_fail;
25948 }
25949 {
25950 wxVisualAttributes * resultptr;
25951 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
25952 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
25953 }
25954 return resultobj;
25955 fail:
25956 return NULL;
25957}
25958
25959
d14a1e28
RD
25960static PyObject *_wrap_Window_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25961 PyObject *resultobj;
25962 wxWindow *arg1 = (wxWindow *) 0 ;
25963 wxColour *arg2 = 0 ;
25964 bool result;
25965 wxColour temp2 ;
25966 PyObject * obj0 = 0 ;
25967 PyObject * obj1 = 0 ;
25968 char *kwnames[] = {
25969 (char *) "self",(char *) "colour", NULL
25970 };
25971
25972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25975 {
25976 arg2 = &temp2;
25977 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25978 }
25979 {
25980 PyThreadState* __tstate = wxPyBeginAllowThreads();
25981 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
25982
25983 wxPyEndAllowThreads(__tstate);
25984 if (PyErr_Occurred()) SWIG_fail;
25985 }
4f89f6a3
RD
25986 {
25987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25988 }
d14a1e28
RD
25989 return resultobj;
25990 fail:
25991 return NULL;
25992}
25993
25994
cfe5e918
RD
25995static PyObject *_wrap_Window_SetDefaultBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25996 PyObject *resultobj;
25997 wxWindow *arg1 = (wxWindow *) 0 ;
25998 wxColour *arg2 = 0 ;
25999 wxColour temp2 ;
26000 PyObject * obj0 = 0 ;
26001 PyObject * obj1 = 0 ;
26002 char *kwnames[] = {
26003 (char *) "self",(char *) "colour", NULL
26004 };
26005
26006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
26007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26009 {
26010 arg2 = &temp2;
26011 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26012 }
26013 {
26014 PyThreadState* __tstate = wxPyBeginAllowThreads();
26015 (arg1)->SetDefaultBackgroundColour((wxColour const &)*arg2);
26016
26017 wxPyEndAllowThreads(__tstate);
26018 if (PyErr_Occurred()) SWIG_fail;
26019 }
26020 Py_INCREF(Py_None); resultobj = Py_None;
26021 return resultobj;
26022 fail:
26023 return NULL;
26024}
26025
26026
d14a1e28
RD
26027static PyObject *_wrap_Window_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26028 PyObject *resultobj;
26029 wxWindow *arg1 = (wxWindow *) 0 ;
26030 wxColour *arg2 = 0 ;
26031 bool result;
26032 wxColour temp2 ;
26033 PyObject * obj0 = 0 ;
26034 PyObject * obj1 = 0 ;
26035 char *kwnames[] = {
26036 (char *) "self",(char *) "colour", NULL
26037 };
26038
26039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26042 {
26043 arg2 = &temp2;
26044 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26045 }
26046 {
26047 PyThreadState* __tstate = wxPyBeginAllowThreads();
26048 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
26049
26050 wxPyEndAllowThreads(__tstate);
26051 if (PyErr_Occurred()) SWIG_fail;
26052 }
4f89f6a3
RD
26053 {
26054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26055 }
d14a1e28
RD
26056 return resultobj;
26057 fail:
26058 return NULL;
26059}
26060
26061
cfe5e918
RD
26062static PyObject *_wrap_Window_SetDefaultForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26063 PyObject *resultobj;
26064 wxWindow *arg1 = (wxWindow *) 0 ;
26065 wxColour *arg2 = 0 ;
26066 wxColour temp2 ;
26067 PyObject * obj0 = 0 ;
26068 PyObject * obj1 = 0 ;
26069 char *kwnames[] = {
26070 (char *) "self",(char *) "colour", NULL
26071 };
26072
26073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultForegroundColour",kwnames,&obj0,&obj1)) goto fail;
26074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26076 {
26077 arg2 = &temp2;
26078 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26079 }
26080 {
26081 PyThreadState* __tstate = wxPyBeginAllowThreads();
26082 (arg1)->SetDefaultForegroundColour((wxColour const &)*arg2);
26083
26084 wxPyEndAllowThreads(__tstate);
26085 if (PyErr_Occurred()) SWIG_fail;
26086 }
26087 Py_INCREF(Py_None); resultobj = Py_None;
26088 return resultobj;
26089 fail:
26090 return NULL;
26091}
26092
26093
d14a1e28
RD
26094static PyObject *_wrap_Window_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26095 PyObject *resultobj;
26096 wxWindow *arg1 = (wxWindow *) 0 ;
26097 wxColour result;
26098 PyObject * obj0 = 0 ;
26099 char *kwnames[] = {
26100 (char *) "self", NULL
26101 };
26102
26103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26106 {
26107 PyThreadState* __tstate = wxPyBeginAllowThreads();
26108 result = ((wxWindow const *)arg1)->GetBackgroundColour();
26109
26110 wxPyEndAllowThreads(__tstate);
26111 if (PyErr_Occurred()) SWIG_fail;
26112 }
26113 {
26114 wxColour * resultptr;
26115 resultptr = new wxColour((wxColour &) result);
2f4c0a16 26116 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
26117 }
26118 return resultobj;
26119 fail:
26120 return NULL;
26121}
26122
26123
26124static PyObject *_wrap_Window_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26125 PyObject *resultobj;
26126 wxWindow *arg1 = (wxWindow *) 0 ;
26127 wxColour result;
26128 PyObject * obj0 = 0 ;
26129 char *kwnames[] = {
26130 (char *) "self", NULL
26131 };
26132
26133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26136 {
26137 PyThreadState* __tstate = wxPyBeginAllowThreads();
26138 result = ((wxWindow const *)arg1)->GetForegroundColour();
26139
26140 wxPyEndAllowThreads(__tstate);
26141 if (PyErr_Occurred()) SWIG_fail;
26142 }
26143 {
26144 wxColour * resultptr;
26145 resultptr = new wxColour((wxColour &) result);
2f4c0a16 26146 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
26147 }
26148 return resultobj;
26149 fail:
26150 return NULL;
26151}
26152
26153
26154static PyObject *_wrap_Window_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
26155 PyObject *resultobj;
26156 wxWindow *arg1 = (wxWindow *) 0 ;
26157 wxCursor *arg2 = 0 ;
26158 bool result;
26159 PyObject * obj0 = 0 ;
26160 PyObject * obj1 = 0 ;
26161 char *kwnames[] = {
26162 (char *) "self",(char *) "cursor", NULL
26163 };
26164
26165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26168 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
26169 SWIG_POINTER_EXCEPTION | 0)) == -1)
26170 SWIG_fail;
d14a1e28 26171 if (arg2 == NULL) {
2f4c0a16
RD
26172 PyErr_SetString(PyExc_TypeError,"null reference");
26173 SWIG_fail;
d14a1e28
RD
26174 }
26175 {
26176 PyThreadState* __tstate = wxPyBeginAllowThreads();
26177 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
26178
26179 wxPyEndAllowThreads(__tstate);
26180 if (PyErr_Occurred()) SWIG_fail;
26181 }
4f89f6a3
RD
26182 {
26183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26184 }
d14a1e28
RD
26185 return resultobj;
26186 fail:
26187 return NULL;
26188}
26189
26190
26191static PyObject *_wrap_Window_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
26192 PyObject *resultobj;
26193 wxWindow *arg1 = (wxWindow *) 0 ;
26194 wxCursor *result;
26195 PyObject * obj0 = 0 ;
26196 char *kwnames[] = {
26197 (char *) "self", NULL
26198 };
26199
26200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26203 {
26204 PyThreadState* __tstate = wxPyBeginAllowThreads();
26205 {
26206 wxCursor &_result_ref = (arg1)->GetCursor();
26207 result = (wxCursor *) &_result_ref;
26208 }
26209
26210 wxPyEndAllowThreads(__tstate);
26211 if (PyErr_Occurred()) SWIG_fail;
26212 }
fe763115
RD
26213 {
26214 wxCursor* resultptr = new wxCursor(*result);
26215 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
26216 }
d14a1e28
RD
26217 return resultobj;
26218 fail:
26219 return NULL;
26220}
26221
26222
26223static PyObject *_wrap_Window_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26224 PyObject *resultobj;
26225 wxWindow *arg1 = (wxWindow *) 0 ;
26226 wxFont *arg2 = 0 ;
26227 bool result;
26228 PyObject * obj0 = 0 ;
26229 PyObject * obj1 = 0 ;
26230 char *kwnames[] = {
26231 (char *) "self",(char *) "font", NULL
26232 };
26233
26234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26237 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
26238 SWIG_POINTER_EXCEPTION | 0)) == -1)
26239 SWIG_fail;
d14a1e28 26240 if (arg2 == NULL) {
2f4c0a16
RD
26241 PyErr_SetString(PyExc_TypeError,"null reference");
26242 SWIG_fail;
d14a1e28
RD
26243 }
26244 {
26245 PyThreadState* __tstate = wxPyBeginAllowThreads();
26246 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
26247
26248 wxPyEndAllowThreads(__tstate);
26249 if (PyErr_Occurred()) SWIG_fail;
26250 }
4f89f6a3
RD
26251 {
26252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26253 }
d14a1e28
RD
26254 return resultobj;
26255 fail:
26256 return NULL;
26257}
26258
26259
cfe5e918
RD
26260static PyObject *_wrap_Window_SetDefaultFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26261 PyObject *resultobj;
26262 wxWindow *arg1 = (wxWindow *) 0 ;
26263 wxFont *arg2 = 0 ;
26264 PyObject * obj0 = 0 ;
26265 PyObject * obj1 = 0 ;
26266 char *kwnames[] = {
26267 (char *) "self",(char *) "font", NULL
26268 };
26269
26270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultFont",kwnames,&obj0,&obj1)) goto fail;
26271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26273 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
26274 SWIG_POINTER_EXCEPTION | 0)) == -1)
26275 SWIG_fail;
26276 if (arg2 == NULL) {
26277 PyErr_SetString(PyExc_TypeError,"null reference");
26278 SWIG_fail;
26279 }
26280 {
26281 PyThreadState* __tstate = wxPyBeginAllowThreads();
26282 (arg1)->SetDefaultFont((wxFont const &)*arg2);
26283
26284 wxPyEndAllowThreads(__tstate);
26285 if (PyErr_Occurred()) SWIG_fail;
26286 }
26287 Py_INCREF(Py_None); resultobj = Py_None;
26288 return resultobj;
26289 fail:
26290 return NULL;
26291}
26292
26293
d14a1e28
RD
26294static PyObject *_wrap_Window_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26295 PyObject *resultobj;
26296 wxWindow *arg1 = (wxWindow *) 0 ;
26297 wxFont *result;
26298 PyObject * obj0 = 0 ;
26299 char *kwnames[] = {
26300 (char *) "self", NULL
26301 };
26302
26303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26306 {
26307 PyThreadState* __tstate = wxPyBeginAllowThreads();
26308 {
26309 wxFont &_result_ref = (arg1)->GetFont();
26310 result = (wxFont *) &_result_ref;
26311 }
26312
26313 wxPyEndAllowThreads(__tstate);
26314 if (PyErr_Occurred()) SWIG_fail;
26315 }
fe763115
RD
26316 {
26317 wxFont* resultptr = new wxFont(*result);
26318 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
26319 }
d14a1e28
RD
26320 return resultobj;
26321 fail:
26322 return NULL;
26323}
26324
26325
26326static PyObject *_wrap_Window_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
26327 PyObject *resultobj;
26328 wxWindow *arg1 = (wxWindow *) 0 ;
26329 wxCaret *arg2 = (wxCaret *) 0 ;
26330 PyObject * obj0 = 0 ;
26331 PyObject * obj1 = 0 ;
26332 char *kwnames[] = {
26333 (char *) "self",(char *) "caret", NULL
26334 };
26335
26336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26339 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCaret,
26340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26341 {
26342 PyThreadState* __tstate = wxPyBeginAllowThreads();
26343 (arg1)->SetCaret(arg2);
26344
26345 wxPyEndAllowThreads(__tstate);
26346 if (PyErr_Occurred()) SWIG_fail;
26347 }
26348 Py_INCREF(Py_None); resultobj = Py_None;
26349 return resultobj;
26350 fail:
26351 return NULL;
26352}
26353
26354
26355static PyObject *_wrap_Window_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
26356 PyObject *resultobj;
26357 wxWindow *arg1 = (wxWindow *) 0 ;
26358 wxCaret *result;
26359 PyObject * obj0 = 0 ;
26360 char *kwnames[] = {
26361 (char *) "self", NULL
26362 };
26363
26364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26367 {
26368 PyThreadState* __tstate = wxPyBeginAllowThreads();
26369 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
26370
26371 wxPyEndAllowThreads(__tstate);
26372 if (PyErr_Occurred()) SWIG_fail;
26373 }
2f4c0a16 26374 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 0);
d14a1e28
RD
26375 return resultobj;
26376 fail:
26377 return NULL;
26378}
26379
26380
26381static PyObject *_wrap_Window_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
26382 PyObject *resultobj;
26383 wxWindow *arg1 = (wxWindow *) 0 ;
26384 int result;
26385 PyObject * obj0 = 0 ;
26386 char *kwnames[] = {
26387 (char *) "self", NULL
26388 };
26389
26390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26393 {
26394 PyThreadState* __tstate = wxPyBeginAllowThreads();
26395 result = (int)((wxWindow const *)arg1)->GetCharHeight();
26396
26397 wxPyEndAllowThreads(__tstate);
26398 if (PyErr_Occurred()) SWIG_fail;
26399 }
2f4c0a16 26400 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26401 return resultobj;
26402 fail:
26403 return NULL;
26404}
26405
26406
26407static PyObject *_wrap_Window_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
26408 PyObject *resultobj;
26409 wxWindow *arg1 = (wxWindow *) 0 ;
26410 int result;
26411 PyObject * obj0 = 0 ;
26412 char *kwnames[] = {
26413 (char *) "self", NULL
26414 };
26415
26416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26419 {
26420 PyThreadState* __tstate = wxPyBeginAllowThreads();
26421 result = (int)((wxWindow const *)arg1)->GetCharWidth();
26422
26423 wxPyEndAllowThreads(__tstate);
26424 if (PyErr_Occurred()) SWIG_fail;
26425 }
2f4c0a16 26426 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26427 return resultobj;
26428 fail:
26429 return NULL;
26430}
26431
26432
26433static PyObject *_wrap_Window_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
26434 PyObject *resultobj;
26435 wxWindow *arg1 = (wxWindow *) 0 ;
26436 wxString *arg2 = 0 ;
26437 int *arg3 = (int *) 0 ;
26438 int *arg4 = (int *) 0 ;
423f194a 26439 bool temp2 = False ;
d14a1e28
RD
26440 int temp3 ;
26441 int temp4 ;
26442 PyObject * obj0 = 0 ;
26443 PyObject * obj1 = 0 ;
26444 char *kwnames[] = {
26445 (char *) "self",(char *) "string", NULL
26446 };
26447
26448 arg3 = &temp3;
26449 arg4 = &temp4;
26450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26453 {
26454 arg2 = wxString_in_helper(obj1);
26455 if (arg2 == NULL) SWIG_fail;
423f194a 26456 temp2 = True;
d14a1e28
RD
26457 }
26458 {
26459 PyThreadState* __tstate = wxPyBeginAllowThreads();
26460 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
26461
26462 wxPyEndAllowThreads(__tstate);
26463 if (PyErr_Occurred()) SWIG_fail;
26464 }
26465 Py_INCREF(Py_None); resultobj = Py_None;
26466 {
26467 PyObject *o = PyInt_FromLong((long) (*arg3));
26468 resultobj = t_output_helper(resultobj,o);
26469 }
26470 {
26471 PyObject *o = PyInt_FromLong((long) (*arg4));
26472 resultobj = t_output_helper(resultobj,o);
26473 }
26474 {
26475 if (temp2)
26476 delete arg2;
26477 }
26478 return resultobj;
26479 fail:
26480 {
26481 if (temp2)
26482 delete arg2;
26483 }
26484 return NULL;
26485}
26486
26487
26488static PyObject *_wrap_Window_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
26489 PyObject *resultobj;
26490 wxWindow *arg1 = (wxWindow *) 0 ;
26491 wxString *arg2 = 0 ;
26492 int *arg3 = (int *) 0 ;
26493 int *arg4 = (int *) 0 ;
26494 int *arg5 = (int *) 0 ;
26495 int *arg6 = (int *) 0 ;
26496 wxFont *arg7 = (wxFont *) NULL ;
423f194a 26497 bool temp2 = False ;
d14a1e28
RD
26498 int temp3 ;
26499 int temp4 ;
26500 int temp5 ;
26501 int temp6 ;
26502 PyObject * obj0 = 0 ;
26503 PyObject * obj1 = 0 ;
26504 PyObject * obj2 = 0 ;
26505 char *kwnames[] = {
26506 (char *) "self",(char *) "string",(char *) "font", NULL
26507 };
26508
26509 arg3 = &temp3;
26510 arg4 = &temp4;
26511 arg5 = &temp5;
26512 arg6 = &temp6;
26513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26516 {
26517 arg2 = wxString_in_helper(obj1);
26518 if (arg2 == NULL) SWIG_fail;
423f194a 26519 temp2 = True;
d14a1e28
RD
26520 }
26521 if (obj2) {
2f4c0a16
RD
26522 if ((SWIG_ConvertPtr(obj2,(void **)(&arg7),SWIGTYPE_p_wxFont,
26523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26524 }
26525 {
26526 PyThreadState* __tstate = wxPyBeginAllowThreads();
26527 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
26528
26529 wxPyEndAllowThreads(__tstate);
26530 if (PyErr_Occurred()) SWIG_fail;
26531 }
26532 Py_INCREF(Py_None); resultobj = Py_None;
26533 {
26534 PyObject *o = PyInt_FromLong((long) (*arg3));
26535 resultobj = t_output_helper(resultobj,o);
26536 }
26537 {
26538 PyObject *o = PyInt_FromLong((long) (*arg4));
26539 resultobj = t_output_helper(resultobj,o);
26540 }
26541 {
26542 PyObject *o = PyInt_FromLong((long) (*arg5));
26543 resultobj = t_output_helper(resultobj,o);
26544 }
26545 {
26546 PyObject *o = PyInt_FromLong((long) (*arg6));
26547 resultobj = t_output_helper(resultobj,o);
26548 }
26549 {
26550 if (temp2)
26551 delete arg2;
26552 }
26553 return resultobj;
26554 fail:
26555 {
26556 if (temp2)
26557 delete arg2;
26558 }
26559 return NULL;
26560}
26561
26562
26563static PyObject *_wrap_Window_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26564 PyObject *resultobj;
26565 wxWindow *arg1 = (wxWindow *) 0 ;
26566 int *arg2 = (int *) 0 ;
26567 int *arg3 = (int *) 0 ;
26568 int temp2 ;
26569 int temp3 ;
26570 PyObject * obj0 = 0 ;
26571 PyObject * obj1 = 0 ;
26572 PyObject * obj2 = 0 ;
26573 char *kwnames[] = {
26574 (char *) "self",(char *) "x",(char *) "y", NULL
26575 };
26576
26577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26580 {
26581 temp2 = PyInt_AsLong(obj1);
26582 if (PyErr_Occurred()) SWIG_fail;
26583 arg2 = &temp2;
26584 }
26585 {
26586 temp3 = PyInt_AsLong(obj2);
26587 if (PyErr_Occurred()) SWIG_fail;
26588 arg3 = &temp3;
26589 }
26590 {
26591 PyThreadState* __tstate = wxPyBeginAllowThreads();
26592 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
26593
26594 wxPyEndAllowThreads(__tstate);
26595 if (PyErr_Occurred()) SWIG_fail;
26596 }
26597 Py_INCREF(Py_None); resultobj = Py_None;
26598 {
26599 PyObject *o = PyInt_FromLong((long) (*arg2));
26600 resultobj = t_output_helper(resultobj,o);
26601 }
26602 {
26603 PyObject *o = PyInt_FromLong((long) (*arg3));
26604 resultobj = t_output_helper(resultobj,o);
26605 }
26606 return resultobj;
26607 fail:
26608 return NULL;
26609}
26610
26611
26612static PyObject *_wrap_Window_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26613 PyObject *resultobj;
26614 wxWindow *arg1 = (wxWindow *) 0 ;
26615 int *arg2 = (int *) 0 ;
26616 int *arg3 = (int *) 0 ;
26617 int temp2 ;
26618 int temp3 ;
26619 PyObject * obj0 = 0 ;
26620 PyObject * obj1 = 0 ;
26621 PyObject * obj2 = 0 ;
26622 char *kwnames[] = {
26623 (char *) "self",(char *) "x",(char *) "y", NULL
26624 };
26625
26626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26629 {
26630 temp2 = PyInt_AsLong(obj1);
26631 if (PyErr_Occurred()) SWIG_fail;
26632 arg2 = &temp2;
26633 }
26634 {
26635 temp3 = PyInt_AsLong(obj2);
26636 if (PyErr_Occurred()) SWIG_fail;
26637 arg3 = &temp3;
26638 }
26639 {
26640 PyThreadState* __tstate = wxPyBeginAllowThreads();
26641 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
26642
26643 wxPyEndAllowThreads(__tstate);
26644 if (PyErr_Occurred()) SWIG_fail;
26645 }
26646 Py_INCREF(Py_None); resultobj = Py_None;
26647 {
26648 PyObject *o = PyInt_FromLong((long) (*arg2));
26649 resultobj = t_output_helper(resultobj,o);
26650 }
26651 {
26652 PyObject *o = PyInt_FromLong((long) (*arg3));
26653 resultobj = t_output_helper(resultobj,o);
26654 }
26655 return resultobj;
26656 fail:
26657 return NULL;
26658}
26659
26660
26661static PyObject *_wrap_Window_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
26662 PyObject *resultobj;
26663 wxWindow *arg1 = (wxWindow *) 0 ;
26664 wxPoint *arg2 = 0 ;
26665 wxPoint result;
26666 wxPoint temp2 ;
26667 PyObject * obj0 = 0 ;
26668 PyObject * obj1 = 0 ;
26669 char *kwnames[] = {
26670 (char *) "self",(char *) "pt", NULL
26671 };
26672
26673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26676 {
26677 arg2 = &temp2;
26678 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26679 }
26680 {
26681 PyThreadState* __tstate = wxPyBeginAllowThreads();
26682 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
26683
26684 wxPyEndAllowThreads(__tstate);
26685 if (PyErr_Occurred()) SWIG_fail;
26686 }
26687 {
26688 wxPoint * resultptr;
26689 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 26690 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
26691 }
26692 return resultobj;
26693 fail:
26694 return NULL;
26695}
26696
26697
26698static PyObject *_wrap_Window_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
26699 PyObject *resultobj;
26700 wxWindow *arg1 = (wxWindow *) 0 ;
26701 wxPoint *arg2 = 0 ;
26702 wxPoint result;
26703 wxPoint temp2 ;
26704 PyObject * obj0 = 0 ;
26705 PyObject * obj1 = 0 ;
26706 char *kwnames[] = {
26707 (char *) "self",(char *) "pt", NULL
26708 };
26709
26710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26713 {
26714 arg2 = &temp2;
26715 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26716 }
26717 {
26718 PyThreadState* __tstate = wxPyBeginAllowThreads();
26719 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
26720
26721 wxPyEndAllowThreads(__tstate);
26722 if (PyErr_Occurred()) SWIG_fail;
26723 }
26724 {
26725 wxPoint * resultptr;
26726 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 26727 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
26728 }
26729 return resultobj;
26730 fail:
26731 return NULL;
26732}
26733
26734
26735static PyObject *_wrap_Window_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26736 PyObject *resultobj;
26737 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a
RD
26738 int arg2 ;
26739 int arg3 ;
d14a1e28
RD
26740 int result;
26741 PyObject * obj0 = 0 ;
8edf1c75
RD
26742 PyObject * obj1 = 0 ;
26743 PyObject * obj2 = 0 ;
d14a1e28
RD
26744 char *kwnames[] = {
26745 (char *) "self",(char *) "x",(char *) "y", NULL
26746 };
26747
8edf1c75 26748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26751 arg2 = (int) SWIG_AsInt(obj1);
26752 if (PyErr_Occurred()) SWIG_fail;
26753 arg3 = (int) SWIG_AsInt(obj2);
26754 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26755 {
26756 PyThreadState* __tstate = wxPyBeginAllowThreads();
26757 result = (int)((wxWindow const *)arg1)->HitTest(arg2,arg3);
26758
26759 wxPyEndAllowThreads(__tstate);
26760 if (PyErr_Occurred()) SWIG_fail;
26761 }
2f4c0a16 26762 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26763 return resultobj;
26764 fail:
26765 return NULL;
26766}
26767
26768
26769static PyObject *_wrap_Window_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
26770 PyObject *resultobj;
26771 wxWindow *arg1 = (wxWindow *) 0 ;
26772 wxPoint *arg2 = 0 ;
26773 int result;
26774 wxPoint temp2 ;
26775 PyObject * obj0 = 0 ;
26776 PyObject * obj1 = 0 ;
26777 char *kwnames[] = {
26778 (char *) "self",(char *) "pt", NULL
26779 };
26780
26781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26784 {
26785 arg2 = &temp2;
26786 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26787 }
26788 {
26789 PyThreadState* __tstate = wxPyBeginAllowThreads();
26790 result = (int)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
26791
26792 wxPyEndAllowThreads(__tstate);
26793 if (PyErr_Occurred()) SWIG_fail;
26794 }
2f4c0a16 26795 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26796 return resultobj;
26797 fail:
26798 return NULL;
26799}
26800
26801
2f4c0a16 26802static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28
RD
26803 PyObject *resultobj;
26804 wxWindow *arg1 = (wxWindow *) 0 ;
26805 long arg2 ;
26806 int result;
26807 PyObject * obj0 = 0 ;
8edf1c75 26808 PyObject * obj1 = 0 ;
d14a1e28 26809
2f4c0a16
RD
26810 if(!PyArg_ParseTuple(args,(char *)"OO:Window_GetBorder",&obj0,&obj1)) goto fail;
26811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26813 arg2 = (long) SWIG_AsLong(obj1);
26814 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26815 {
26816 PyThreadState* __tstate = wxPyBeginAllowThreads();
26817 result = (int)((wxWindow const *)arg1)->GetBorder(arg2);
26818
26819 wxPyEndAllowThreads(__tstate);
26820 if (PyErr_Occurred()) SWIG_fail;
26821 }
2f4c0a16 26822 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26823 return resultobj;
26824 fail:
26825 return NULL;
26826}
26827
26828
2f4c0a16 26829static PyObject *_wrap_Window_GetBorder__SWIG_1(PyObject *self, PyObject *args) {
d14a1e28
RD
26830 PyObject *resultobj;
26831 wxWindow *arg1 = (wxWindow *) 0 ;
26832 int result;
26833 PyObject * obj0 = 0 ;
d14a1e28 26834
2f4c0a16
RD
26835 if(!PyArg_ParseTuple(args,(char *)"O:Window_GetBorder",&obj0)) goto fail;
26836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26838 {
26839 PyThreadState* __tstate = wxPyBeginAllowThreads();
26840 result = (int)((wxWindow const *)arg1)->GetBorder();
26841
26842 wxPyEndAllowThreads(__tstate);
26843 if (PyErr_Occurred()) SWIG_fail;
26844 }
2f4c0a16 26845 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26846 return resultobj;
26847 fail:
26848 return NULL;
26849}
26850
26851
2f4c0a16
RD
26852static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args) {
26853 int argc;
26854 PyObject *argv[3];
26855 int ii;
26856
26857 argc = PyObject_Length(args);
26858 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
26859 argv[ii] = PyTuple_GetItem(args,ii);
26860 }
26861 if (argc == 1) {
26862 int _v;
26863 {
26864 void *ptr;
26865 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
26866 _v = 0;
26867 PyErr_Clear();
26868 } else {
26869 _v = 1;
26870 }
26871 }
26872 if (_v) {
26873 return _wrap_Window_GetBorder__SWIG_1(self,args);
26874 }
26875 }
26876 if (argc == 2) {
26877 int _v;
26878 {
26879 void *ptr;
26880 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
26881 _v = 0;
26882 PyErr_Clear();
26883 } else {
26884 _v = 1;
26885 }
26886 }
26887 if (_v) {
26888 _v = SWIG_CheckLong(argv[1]);
26889 if (_v) {
26890 return _wrap_Window_GetBorder__SWIG_0(self,args);
26891 }
26892 }
26893 }
26894
26895 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_GetBorder'");
26896 return NULL;
26897}
26898
26899
d14a1e28
RD
26900static PyObject *_wrap_Window_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
26901 PyObject *resultobj;
26902 wxWindow *arg1 = (wxWindow *) 0 ;
26903 long arg2 = (long) wxUPDATE_UI_NONE ;
26904 PyObject * obj0 = 0 ;
8edf1c75 26905 PyObject * obj1 = 0 ;
d14a1e28
RD
26906 char *kwnames[] = {
26907 (char *) "self",(char *) "flags", NULL
26908 };
26909
8edf1c75 26910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_UpdateWindowUI",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 26913 if (obj1) {
2f4c0a16
RD
26914 arg2 = (long) SWIG_AsLong(obj1);
26915 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 26916 }
d14a1e28
RD
26917 {
26918 PyThreadState* __tstate = wxPyBeginAllowThreads();
26919 (arg1)->UpdateWindowUI(arg2);
26920
26921 wxPyEndAllowThreads(__tstate);
26922 if (PyErr_Occurred()) SWIG_fail;
26923 }
26924 Py_INCREF(Py_None); resultobj = Py_None;
26925 return resultobj;
26926 fail:
26927 return NULL;
26928}
26929
26930
26931static PyObject *_wrap_Window_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26932 PyObject *resultobj;
26933 wxWindow *arg1 = (wxWindow *) 0 ;
26934 wxMenu *arg2 = (wxMenu *) 0 ;
26935 int arg3 ;
26936 int arg4 ;
26937 bool result;
26938 PyObject * obj0 = 0 ;
26939 PyObject * obj1 = 0 ;
8edf1c75
RD
26940 PyObject * obj2 = 0 ;
26941 PyObject * obj3 = 0 ;
d14a1e28
RD
26942 char *kwnames[] = {
26943 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26944 };
26945
8edf1c75 26946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_PopupMenuXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
26947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26949 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
26950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26951 arg3 = (int) SWIG_AsInt(obj2);
26952 if (PyErr_Occurred()) SWIG_fail;
26953 arg4 = (int) SWIG_AsInt(obj3);
26954 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26955 {
26956 PyThreadState* __tstate = wxPyBeginAllowThreads();
26957 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
26958
26959 wxPyEndAllowThreads(__tstate);
26960 if (PyErr_Occurred()) SWIG_fail;
26961 }
4f89f6a3
RD
26962 {
26963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26964 }
d14a1e28
RD
26965 return resultobj;
26966 fail:
26967 return NULL;
26968}
26969
26970
26971static PyObject *_wrap_Window_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
26972 PyObject *resultobj;
26973 wxWindow *arg1 = (wxWindow *) 0 ;
26974 wxMenu *arg2 = (wxMenu *) 0 ;
26975 wxPoint *arg3 = 0 ;
26976 bool result;
26977 wxPoint temp3 ;
26978 PyObject * obj0 = 0 ;
26979 PyObject * obj1 = 0 ;
26980 PyObject * obj2 = 0 ;
26981 char *kwnames[] = {
26982 (char *) "self",(char *) "menu",(char *) "pos", NULL
26983 };
26984
26985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26988 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
26989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26990 {
26991 arg3 = &temp3;
26992 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26993 }
26994 {
26995 PyThreadState* __tstate = wxPyBeginAllowThreads();
26996 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
26997
26998 wxPyEndAllowThreads(__tstate);
26999 if (PyErr_Occurred()) SWIG_fail;
27000 }
4f89f6a3
RD
27001 {
27002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27003 }
d14a1e28
RD
27004 return resultobj;
27005 fail:
27006 return NULL;
27007}
27008
27009
27010static PyObject *_wrap_Window_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
27011 PyObject *resultobj;
27012 wxWindow *arg1 = (wxWindow *) 0 ;
27013 long result;
27014 PyObject * obj0 = 0 ;
27015 char *kwnames[] = {
27016 (char *) "self", NULL
27017 };
27018
27019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27022 {
27023 PyThreadState* __tstate = wxPyBeginAllowThreads();
27024 result = (long)wxWindow_GetHandle(arg1);
27025
27026 wxPyEndAllowThreads(__tstate);
27027 if (PyErr_Occurred()) SWIG_fail;
27028 }
2f4c0a16 27029 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
27030 return resultobj;
27031 fail:
27032 return NULL;
27033}
27034
27035
27036static PyObject *_wrap_Window_OnPaint(PyObject *self, PyObject *args, PyObject *kwargs) {
27037 PyObject *resultobj;
27038 wxWindow *arg1 = (wxWindow *) 0 ;
27039 wxPaintEvent *arg2 = 0 ;
27040 PyObject * obj0 = 0 ;
27041 PyObject * obj1 = 0 ;
27042 char *kwnames[] = {
27043 (char *) "self",(char *) "event", NULL
27044 };
27045
27046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_OnPaint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27049 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPaintEvent,
27050 SWIG_POINTER_EXCEPTION | 0)) == -1)
27051 SWIG_fail;
d14a1e28 27052 if (arg2 == NULL) {
2f4c0a16
RD
27053 PyErr_SetString(PyExc_TypeError,"null reference");
27054 SWIG_fail;
d14a1e28
RD
27055 }
27056 {
27057 PyThreadState* __tstate = wxPyBeginAllowThreads();
27058 (arg1)->OnPaint(*arg2);
27059
27060 wxPyEndAllowThreads(__tstate);
27061 if (PyErr_Occurred()) SWIG_fail;
27062 }
27063 Py_INCREF(Py_None); resultobj = Py_None;
27064 return resultobj;
27065 fail:
27066 return NULL;
27067}
27068
27069
27070static PyObject *_wrap_Window_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
27071 PyObject *resultobj;
27072 wxWindow *arg1 = (wxWindow *) 0 ;
27073 int arg2 ;
27074 bool result;
27075 PyObject * obj0 = 0 ;
8edf1c75 27076 PyObject * obj1 = 0 ;
d14a1e28
RD
27077 char *kwnames[] = {
27078 (char *) "self",(char *) "orient", NULL
27079 };
27080
8edf1c75 27081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasScrollbar",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27084 arg2 = (int) SWIG_AsInt(obj1);
27085 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27086 {
27087 PyThreadState* __tstate = wxPyBeginAllowThreads();
27088 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
27089
27090 wxPyEndAllowThreads(__tstate);
27091 if (PyErr_Occurred()) SWIG_fail;
27092 }
4f89f6a3
RD
27093 {
27094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27095 }
d14a1e28
RD
27096 return resultobj;
27097 fail:
27098 return NULL;
27099}
27100
27101
27102static PyObject *_wrap_Window_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
27103 PyObject *resultobj;
27104 wxWindow *arg1 = (wxWindow *) 0 ;
27105 int arg2 ;
27106 int arg3 ;
27107 int arg4 ;
27108 int arg5 ;
423f194a 27109 bool arg6 = (bool) True ;
d14a1e28 27110 PyObject * obj0 = 0 ;
8edf1c75
RD
27111 PyObject * obj1 = 0 ;
27112 PyObject * obj2 = 0 ;
27113 PyObject * obj3 = 0 ;
27114 PyObject * obj4 = 0 ;
d14a1e28
RD
27115 PyObject * obj5 = 0 ;
27116 char *kwnames[] = {
2f4c0a16 27117 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
d14a1e28
RD
27118 };
27119
8edf1c75 27120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
27121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27123 arg2 = (int) SWIG_AsInt(obj1);
27124 if (PyErr_Occurred()) SWIG_fail;
27125 arg3 = (int) SWIG_AsInt(obj2);
27126 if (PyErr_Occurred()) SWIG_fail;
27127 arg4 = (int) SWIG_AsInt(obj3);
27128 if (PyErr_Occurred()) SWIG_fail;
27129 arg5 = (int) SWIG_AsInt(obj4);
27130 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27131 if (obj5) {
2f4c0a16
RD
27132 arg6 = (bool) SWIG_AsBool(obj5);
27133 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27134 }
27135 {
27136 PyThreadState* __tstate = wxPyBeginAllowThreads();
27137 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
27138
27139 wxPyEndAllowThreads(__tstate);
27140 if (PyErr_Occurred()) SWIG_fail;
27141 }
27142 Py_INCREF(Py_None); resultobj = Py_None;
27143 return resultobj;
27144 fail:
27145 return NULL;
27146}
27147
27148
27149static PyObject *_wrap_Window_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
27150 PyObject *resultobj;
27151 wxWindow *arg1 = (wxWindow *) 0 ;
27152 int arg2 ;
27153 int arg3 ;
423f194a 27154 bool arg4 = (bool) True ;
d14a1e28 27155 PyObject * obj0 = 0 ;
8edf1c75
RD
27156 PyObject * obj1 = 0 ;
27157 PyObject * obj2 = 0 ;
d14a1e28
RD
27158 PyObject * obj3 = 0 ;
27159 char *kwnames[] = {
2f4c0a16 27160 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
d14a1e28
RD
27161 };
27162
8edf1c75 27163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_SetScrollPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
27164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27166 arg2 = (int) SWIG_AsInt(obj1);
27167 if (PyErr_Occurred()) SWIG_fail;
27168 arg3 = (int) SWIG_AsInt(obj2);
27169 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27170 if (obj3) {
2f4c0a16
RD
27171 arg4 = (bool) SWIG_AsBool(obj3);
27172 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27173 }
27174 {
27175 PyThreadState* __tstate = wxPyBeginAllowThreads();
27176 (arg1)->SetScrollPos(arg2,arg3,arg4);
27177
27178 wxPyEndAllowThreads(__tstate);
27179 if (PyErr_Occurred()) SWIG_fail;
27180 }
27181 Py_INCREF(Py_None); resultobj = Py_None;
27182 return resultobj;
27183 fail:
27184 return NULL;
27185}
27186
27187
27188static PyObject *_wrap_Window_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
27189 PyObject *resultobj;
27190 wxWindow *arg1 = (wxWindow *) 0 ;
27191 int arg2 ;
27192 int result;
27193 PyObject * obj0 = 0 ;
8edf1c75 27194 PyObject * obj1 = 0 ;
d14a1e28 27195 char *kwnames[] = {
2f4c0a16 27196 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
27197 };
27198
8edf1c75 27199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollPos",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27202 arg2 = (int) SWIG_AsInt(obj1);
27203 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27204 {
27205 PyThreadState* __tstate = wxPyBeginAllowThreads();
27206 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
27207
27208 wxPyEndAllowThreads(__tstate);
27209 if (PyErr_Occurred()) SWIG_fail;
27210 }
2f4c0a16 27211 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
27212 return resultobj;
27213 fail:
27214 return NULL;
27215}
27216
27217
27218static PyObject *_wrap_Window_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
27219 PyObject *resultobj;
27220 wxWindow *arg1 = (wxWindow *) 0 ;
27221 int arg2 ;
27222 int result;
27223 PyObject * obj0 = 0 ;
8edf1c75 27224 PyObject * obj1 = 0 ;
d14a1e28 27225 char *kwnames[] = {
2f4c0a16 27226 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
27227 };
27228
8edf1c75 27229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollThumb",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27232 arg2 = (int) SWIG_AsInt(obj1);
27233 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27234 {
27235 PyThreadState* __tstate = wxPyBeginAllowThreads();
27236 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
27237
27238 wxPyEndAllowThreads(__tstate);
27239 if (PyErr_Occurred()) SWIG_fail;
27240 }
2f4c0a16 27241 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
27242 return resultobj;
27243 fail:
27244 return NULL;
27245}
27246
27247
27248static PyObject *_wrap_Window_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
27249 PyObject *resultobj;
27250 wxWindow *arg1 = (wxWindow *) 0 ;
27251 int arg2 ;
27252 int result;
27253 PyObject * obj0 = 0 ;
8edf1c75 27254 PyObject * obj1 = 0 ;
d14a1e28 27255 char *kwnames[] = {
2f4c0a16 27256 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
27257 };
27258
8edf1c75 27259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollRange",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27262 arg2 = (int) SWIG_AsInt(obj1);
27263 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27264 {
27265 PyThreadState* __tstate = wxPyBeginAllowThreads();
27266 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
27267
27268 wxPyEndAllowThreads(__tstate);
27269 if (PyErr_Occurred()) SWIG_fail;
27270 }
2f4c0a16 27271 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
27272 return resultobj;
27273 fail:
27274 return NULL;
27275}
27276
27277
27278static PyObject *_wrap_Window_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27279 PyObject *resultobj;
27280 wxWindow *arg1 = (wxWindow *) 0 ;
27281 int arg2 ;
27282 int arg3 ;
27283 wxRect *arg4 = (wxRect *) NULL ;
27284 PyObject * obj0 = 0 ;
8edf1c75
RD
27285 PyObject * obj1 = 0 ;
27286 PyObject * obj2 = 0 ;
d14a1e28
RD
27287 PyObject * obj3 = 0 ;
27288 char *kwnames[] = {
27289 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27290 };
27291
8edf1c75 27292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_ScrollWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
27293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27295 arg2 = (int) SWIG_AsInt(obj1);
27296 if (PyErr_Occurred()) SWIG_fail;
27297 arg3 = (int) SWIG_AsInt(obj2);
27298 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27299 if (obj3) {
2f4c0a16
RD
27300 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
27301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27302 }
27303 {
27304 PyThreadState* __tstate = wxPyBeginAllowThreads();
27305 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
27306
27307 wxPyEndAllowThreads(__tstate);
27308 if (PyErr_Occurred()) SWIG_fail;
27309 }
27310 Py_INCREF(Py_None); resultobj = Py_None;
27311 return resultobj;
27312 fail:
27313 return NULL;
27314}
27315
27316
27317static PyObject *_wrap_Window_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
27318 PyObject *resultobj;
27319 wxWindow *arg1 = (wxWindow *) 0 ;
27320 int arg2 ;
27321 bool result;
27322 PyObject * obj0 = 0 ;
8edf1c75 27323 PyObject * obj1 = 0 ;
d14a1e28
RD
27324 char *kwnames[] = {
27325 (char *) "self",(char *) "lines", NULL
27326 };
27327
8edf1c75 27328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27331 arg2 = (int) SWIG_AsInt(obj1);
27332 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27333 {
27334 PyThreadState* __tstate = wxPyBeginAllowThreads();
27335 result = (bool)(arg1)->ScrollLines(arg2);
27336
27337 wxPyEndAllowThreads(__tstate);
27338 if (PyErr_Occurred()) SWIG_fail;
27339 }
4f89f6a3
RD
27340 {
27341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27342 }
d14a1e28
RD
27343 return resultobj;
27344 fail:
27345 return NULL;
27346}
27347
27348
27349static PyObject *_wrap_Window_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
27350 PyObject *resultobj;
27351 wxWindow *arg1 = (wxWindow *) 0 ;
27352 int arg2 ;
27353 bool result;
27354 PyObject * obj0 = 0 ;
8edf1c75 27355 PyObject * obj1 = 0 ;
d14a1e28
RD
27356 char *kwnames[] = {
27357 (char *) "self",(char *) "pages", NULL
27358 };
27359
8edf1c75 27360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27363 arg2 = (int) SWIG_AsInt(obj1);
27364 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27365 {
27366 PyThreadState* __tstate = wxPyBeginAllowThreads();
27367 result = (bool)(arg1)->ScrollPages(arg2);
27368
27369 wxPyEndAllowThreads(__tstate);
27370 if (PyErr_Occurred()) SWIG_fail;
27371 }
4f89f6a3
RD
27372 {
27373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27374 }
d14a1e28
RD
27375 return resultobj;
27376 fail:
27377 return NULL;
27378}
27379
27380
27381static PyObject *_wrap_Window_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
27382 PyObject *resultobj;
27383 wxWindow *arg1 = (wxWindow *) 0 ;
27384 bool result;
27385 PyObject * obj0 = 0 ;
27386 char *kwnames[] = {
27387 (char *) "self", NULL
27388 };
27389
27390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27393 {
27394 PyThreadState* __tstate = wxPyBeginAllowThreads();
27395 result = (bool)(arg1)->LineUp();
27396
27397 wxPyEndAllowThreads(__tstate);
27398 if (PyErr_Occurred()) SWIG_fail;
27399 }
4f89f6a3
RD
27400 {
27401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27402 }
d14a1e28
RD
27403 return resultobj;
27404 fail:
27405 return NULL;
27406}
27407
27408
27409static PyObject *_wrap_Window_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
27410 PyObject *resultobj;
27411 wxWindow *arg1 = (wxWindow *) 0 ;
27412 bool result;
27413 PyObject * obj0 = 0 ;
27414 char *kwnames[] = {
27415 (char *) "self", NULL
27416 };
27417
27418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27421 {
27422 PyThreadState* __tstate = wxPyBeginAllowThreads();
27423 result = (bool)(arg1)->LineDown();
27424
27425 wxPyEndAllowThreads(__tstate);
27426 if (PyErr_Occurred()) SWIG_fail;
27427 }
4f89f6a3
RD
27428 {
27429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27430 }
d14a1e28
RD
27431 return resultobj;
27432 fail:
27433 return NULL;
27434}
27435
27436
27437static PyObject *_wrap_Window_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
27438 PyObject *resultobj;
27439 wxWindow *arg1 = (wxWindow *) 0 ;
27440 bool result;
27441 PyObject * obj0 = 0 ;
27442 char *kwnames[] = {
27443 (char *) "self", NULL
27444 };
27445
27446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27449 {
27450 PyThreadState* __tstate = wxPyBeginAllowThreads();
27451 result = (bool)(arg1)->PageUp();
27452
27453 wxPyEndAllowThreads(__tstate);
27454 if (PyErr_Occurred()) SWIG_fail;
27455 }
4f89f6a3
RD
27456 {
27457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27458 }
d14a1e28
RD
27459 return resultobj;
27460 fail:
27461 return NULL;
27462}
27463
27464
27465static PyObject *_wrap_Window_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
27466 PyObject *resultobj;
27467 wxWindow *arg1 = (wxWindow *) 0 ;
27468 bool result;
27469 PyObject * obj0 = 0 ;
27470 char *kwnames[] = {
27471 (char *) "self", NULL
27472 };
27473
27474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27477 {
27478 PyThreadState* __tstate = wxPyBeginAllowThreads();
27479 result = (bool)(arg1)->PageDown();
27480
27481 wxPyEndAllowThreads(__tstate);
27482 if (PyErr_Occurred()) SWIG_fail;
27483 }
4f89f6a3
RD
27484 {
27485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27486 }
d14a1e28
RD
27487 return resultobj;
27488 fail:
27489 return NULL;
27490}
27491
27492
27493static PyObject *_wrap_Window_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
27494 PyObject *resultobj;
27495 wxWindow *arg1 = (wxWindow *) 0 ;
27496 wxString *arg2 = 0 ;
423f194a 27497 bool temp2 = False ;
d14a1e28
RD
27498 PyObject * obj0 = 0 ;
27499 PyObject * obj1 = 0 ;
27500 char *kwnames[] = {
27501 (char *) "self",(char *) "text", NULL
27502 };
27503
27504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27507 {
27508 arg2 = wxString_in_helper(obj1);
27509 if (arg2 == NULL) SWIG_fail;
423f194a 27510 temp2 = True;
d14a1e28
RD
27511 }
27512 {
27513 PyThreadState* __tstate = wxPyBeginAllowThreads();
27514 (arg1)->SetHelpText((wxString const &)*arg2);
27515
27516 wxPyEndAllowThreads(__tstate);
27517 if (PyErr_Occurred()) SWIG_fail;
27518 }
27519 Py_INCREF(Py_None); resultobj = Py_None;
27520 {
27521 if (temp2)
27522 delete arg2;
27523 }
27524 return resultobj;
27525 fail:
27526 {
27527 if (temp2)
27528 delete arg2;
27529 }
27530 return NULL;
27531}
27532
27533
27534static PyObject *_wrap_Window_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
27535 PyObject *resultobj;
27536 wxWindow *arg1 = (wxWindow *) 0 ;
27537 wxString *arg2 = 0 ;
423f194a 27538 bool temp2 = False ;
d14a1e28
RD
27539 PyObject * obj0 = 0 ;
27540 PyObject * obj1 = 0 ;
27541 char *kwnames[] = {
27542 (char *) "self",(char *) "text", NULL
27543 };
27544
27545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27548 {
27549 arg2 = wxString_in_helper(obj1);
27550 if (arg2 == NULL) SWIG_fail;
423f194a 27551 temp2 = True;
d14a1e28
RD
27552 }
27553 {
27554 PyThreadState* __tstate = wxPyBeginAllowThreads();
27555 (arg1)->SetHelpTextForId((wxString const &)*arg2);
27556
27557 wxPyEndAllowThreads(__tstate);
27558 if (PyErr_Occurred()) SWIG_fail;
27559 }
27560 Py_INCREF(Py_None); resultobj = Py_None;
27561 {
27562 if (temp2)
27563 delete arg2;
27564 }
27565 return resultobj;
27566 fail:
27567 {
27568 if (temp2)
27569 delete arg2;
27570 }
27571 return NULL;
27572}
27573
27574
27575static PyObject *_wrap_Window_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
27576 PyObject *resultobj;
27577 wxWindow *arg1 = (wxWindow *) 0 ;
27578 wxString result;
27579 PyObject * obj0 = 0 ;
27580 char *kwnames[] = {
27581 (char *) "self", NULL
27582 };
27583
27584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27587 {
27588 PyThreadState* __tstate = wxPyBeginAllowThreads();
27589 result = ((wxWindow const *)arg1)->GetHelpText();
27590
27591 wxPyEndAllowThreads(__tstate);
27592 if (PyErr_Occurred()) SWIG_fail;
27593 }
27594 {
27595#if wxUSE_UNICODE
27596 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27597#else
27598 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27599#endif
27600 }
27601 return resultobj;
27602 fail:
27603 return NULL;
27604}
27605
27606
27607static PyObject *_wrap_Window_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
27608 PyObject *resultobj;
27609 wxWindow *arg1 = (wxWindow *) 0 ;
27610 wxString *arg2 = 0 ;
423f194a 27611 bool temp2 = False ;
d14a1e28
RD
27612 PyObject * obj0 = 0 ;
27613 PyObject * obj1 = 0 ;
27614 char *kwnames[] = {
27615 (char *) "self",(char *) "tip", NULL
27616 };
27617
27618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27621 {
27622 arg2 = wxString_in_helper(obj1);
27623 if (arg2 == NULL) SWIG_fail;
423f194a 27624 temp2 = True;
d14a1e28
RD
27625 }
27626 {
27627 PyThreadState* __tstate = wxPyBeginAllowThreads();
27628 (arg1)->SetToolTip((wxString const &)*arg2);
27629
27630 wxPyEndAllowThreads(__tstate);
27631 if (PyErr_Occurred()) SWIG_fail;
27632 }
27633 Py_INCREF(Py_None); resultobj = Py_None;
27634 {
27635 if (temp2)
27636 delete arg2;
27637 }
27638 return resultobj;
27639 fail:
27640 {
27641 if (temp2)
27642 delete arg2;
27643 }
27644 return NULL;
27645}
27646
27647
27648static PyObject *_wrap_Window_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
27649 PyObject *resultobj;
27650 wxWindow *arg1 = (wxWindow *) 0 ;
27651 wxToolTip *arg2 = (wxToolTip *) 0 ;
27652 PyObject * obj0 = 0 ;
27653 PyObject * obj1 = 0 ;
27654 char *kwnames[] = {
27655 (char *) "self",(char *) "tip", NULL
27656 };
27657
27658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27661 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolTip,
27662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27663 {
27664 PyThreadState* __tstate = wxPyBeginAllowThreads();
27665 (arg1)->SetToolTip(arg2);
27666
27667 wxPyEndAllowThreads(__tstate);
27668 if (PyErr_Occurred()) SWIG_fail;
27669 }
27670 Py_INCREF(Py_None); resultobj = Py_None;
27671 return resultobj;
27672 fail:
27673 return NULL;
27674}
27675
27676
27677static PyObject *_wrap_Window_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
27678 PyObject *resultobj;
27679 wxWindow *arg1 = (wxWindow *) 0 ;
27680 wxToolTip *result;
27681 PyObject * obj0 = 0 ;
27682 char *kwnames[] = {
27683 (char *) "self", NULL
27684 };
27685
27686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27689 {
27690 PyThreadState* __tstate = wxPyBeginAllowThreads();
27691 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
27692
27693 wxPyEndAllowThreads(__tstate);
27694 if (PyErr_Occurred()) SWIG_fail;
27695 }
27696 {
27697 resultobj = wxPyMake_wxObject(result);
27698 }
27699 return resultobj;
27700 fail:
27701 return NULL;
27702}
27703
27704
27705static PyObject *_wrap_Window_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
27706 PyObject *resultobj;
27707 wxWindow *arg1 = (wxWindow *) 0 ;
44127b65 27708 wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ;
d14a1e28
RD
27709 PyObject * obj0 = 0 ;
27710 PyObject * obj1 = 0 ;
27711 char *kwnames[] = {
27712 (char *) "self",(char *) "dropTarget", NULL
27713 };
27714
27715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27718 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDropTarget,
27719 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
27720 {
27721 PyThreadState* __tstate = wxPyBeginAllowThreads();
27722 (arg1)->SetDropTarget(arg2);
27723
27724 wxPyEndAllowThreads(__tstate);
27725 if (PyErr_Occurred()) SWIG_fail;
27726 }
27727 Py_INCREF(Py_None); resultobj = Py_None;
27728 return resultobj;
27729 fail:
27730 return NULL;
27731}
27732
27733
27734static PyObject *_wrap_Window_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
27735 PyObject *resultobj;
27736 wxWindow *arg1 = (wxWindow *) 0 ;
44127b65 27737 wxPyDropTarget *result;
d14a1e28
RD
27738 PyObject * obj0 = 0 ;
27739 char *kwnames[] = {
27740 (char *) "self", NULL
27741 };
27742
27743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27746 {
27747 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 27748 result = (wxPyDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
d14a1e28
RD
27749
27750 wxPyEndAllowThreads(__tstate);
27751 if (PyErr_Occurred()) SWIG_fail;
27752 }
2f4c0a16 27753 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 0);
d14a1e28
RD
27754 return resultobj;
27755 fail:
27756 return NULL;
27757}
27758
27759
27760static PyObject *_wrap_Window_DragAcceptFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
27761 PyObject *resultobj;
27762 wxWindow *arg1 = (wxWindow *) 0 ;
27763 bool arg2 ;
27764 PyObject * obj0 = 0 ;
27765 PyObject * obj1 = 0 ;
27766 char *kwnames[] = {
27767 (char *) "self",(char *) "accept", NULL
27768 };
27769
27770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DragAcceptFiles",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27773 arg2 = (bool) SWIG_AsBool(obj1);
27774 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27775 {
27776 PyThreadState* __tstate = wxPyBeginAllowThreads();
27777 (arg1)->DragAcceptFiles(arg2);
27778
27779 wxPyEndAllowThreads(__tstate);
27780 if (PyErr_Occurred()) SWIG_fail;
27781 }
27782 Py_INCREF(Py_None); resultobj = Py_None;
27783 return resultobj;
27784 fail:
27785 return NULL;
27786}
27787
27788
27789static PyObject *_wrap_Window_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
27790 PyObject *resultobj;
27791 wxWindow *arg1 = (wxWindow *) 0 ;
27792 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
27793 PyObject * obj0 = 0 ;
27794 PyObject * obj1 = 0 ;
27795 char *kwnames[] = {
27796 (char *) "self",(char *) "constraints", NULL
27797 };
27798
27799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27802 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
27803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27804 {
27805 PyThreadState* __tstate = wxPyBeginAllowThreads();
27806 (arg1)->SetConstraints(arg2);
27807
27808 wxPyEndAllowThreads(__tstate);
27809 if (PyErr_Occurred()) SWIG_fail;
27810 }
27811 Py_INCREF(Py_None); resultobj = Py_None;
27812 return resultobj;
27813 fail:
27814 return NULL;
27815}
27816
27817
27818static PyObject *_wrap_Window_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
27819 PyObject *resultobj;
27820 wxWindow *arg1 = (wxWindow *) 0 ;
27821 wxLayoutConstraints *result;
27822 PyObject * obj0 = 0 ;
27823 char *kwnames[] = {
27824 (char *) "self", NULL
27825 };
27826
27827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27830 {
27831 PyThreadState* __tstate = wxPyBeginAllowThreads();
27832 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
27833
27834 wxPyEndAllowThreads(__tstate);
27835 if (PyErr_Occurred()) SWIG_fail;
27836 }
2f4c0a16 27837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 0);
d14a1e28
RD
27838 return resultobj;
27839 fail:
27840 return NULL;
27841}
27842
27843
27844static PyObject *_wrap_Window_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
27845 PyObject *resultobj;
27846 wxWindow *arg1 = (wxWindow *) 0 ;
27847 bool arg2 ;
27848 PyObject * obj0 = 0 ;
27849 PyObject * obj1 = 0 ;
27850 char *kwnames[] = {
27851 (char *) "self",(char *) "autoLayout", NULL
27852 };
27853
27854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27857 arg2 = (bool) SWIG_AsBool(obj1);
27858 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27859 {
27860 PyThreadState* __tstate = wxPyBeginAllowThreads();
27861 (arg1)->SetAutoLayout(arg2);
27862
27863 wxPyEndAllowThreads(__tstate);
27864 if (PyErr_Occurred()) SWIG_fail;
27865 }
27866 Py_INCREF(Py_None); resultobj = Py_None;
27867 return resultobj;
27868 fail:
27869 return NULL;
27870}
27871
27872
27873static PyObject *_wrap_Window_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
27874 PyObject *resultobj;
27875 wxWindow *arg1 = (wxWindow *) 0 ;
27876 bool result;
27877 PyObject * obj0 = 0 ;
27878 char *kwnames[] = {
27879 (char *) "self", NULL
27880 };
27881
27882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27885 {
27886 PyThreadState* __tstate = wxPyBeginAllowThreads();
27887 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
27888
27889 wxPyEndAllowThreads(__tstate);
27890 if (PyErr_Occurred()) SWIG_fail;
27891 }
4f89f6a3
RD
27892 {
27893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27894 }
d14a1e28
RD
27895 return resultobj;
27896 fail:
27897 return NULL;
27898}
27899
27900
27901static PyObject *_wrap_Window_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
27902 PyObject *resultobj;
27903 wxWindow *arg1 = (wxWindow *) 0 ;
27904 bool result;
27905 PyObject * obj0 = 0 ;
27906 char *kwnames[] = {
27907 (char *) "self", NULL
27908 };
27909
27910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27913 {
27914 PyThreadState* __tstate = wxPyBeginAllowThreads();
27915 result = (bool)(arg1)->Layout();
27916
27917 wxPyEndAllowThreads(__tstate);
27918 if (PyErr_Occurred()) SWIG_fail;
27919 }
4f89f6a3
RD
27920 {
27921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27922 }
d14a1e28
RD
27923 return resultobj;
27924 fail:
27925 return NULL;
27926}
27927
27928
27929static PyObject *_wrap_Window_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
27930 PyObject *resultobj;
27931 wxWindow *arg1 = (wxWindow *) 0 ;
27932 wxSizer *arg2 = (wxSizer *) 0 ;
423f194a 27933 bool arg3 = (bool) True ;
d14a1e28
RD
27934 PyObject * obj0 = 0 ;
27935 PyObject * obj1 = 0 ;
27936 PyObject * obj2 = 0 ;
27937 char *kwnames[] = {
27938 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27939 };
27940
27941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
27942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27944 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
27945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 27946 if (obj2) {
2f4c0a16
RD
27947 arg3 = (bool) SWIG_AsBool(obj2);
27948 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27949 }
27950 {
27951 PyThreadState* __tstate = wxPyBeginAllowThreads();
27952 (arg1)->SetSizer(arg2,arg3);
27953
27954 wxPyEndAllowThreads(__tstate);
27955 if (PyErr_Occurred()) SWIG_fail;
27956 }
27957 Py_INCREF(Py_None); resultobj = Py_None;
27958 return resultobj;
27959 fail:
27960 return NULL;
27961}
27962
27963
27964static PyObject *_wrap_Window_SetSizerAndFit(PyObject *self, PyObject *args, PyObject *kwargs) {
27965 PyObject *resultobj;
27966 wxWindow *arg1 = (wxWindow *) 0 ;
27967 wxSizer *arg2 = (wxSizer *) 0 ;
423f194a 27968 bool arg3 = (bool) True ;
d14a1e28
RD
27969 PyObject * obj0 = 0 ;
27970 PyObject * obj1 = 0 ;
27971 PyObject * obj2 = 0 ;
27972 char *kwnames[] = {
27973 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27974 };
27975
27976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
27977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27979 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
27980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 27981 if (obj2) {
2f4c0a16
RD
27982 arg3 = (bool) SWIG_AsBool(obj2);
27983 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27984 }
27985 {
27986 PyThreadState* __tstate = wxPyBeginAllowThreads();
27987 (arg1)->SetSizerAndFit(arg2,arg3);
27988
27989 wxPyEndAllowThreads(__tstate);
27990 if (PyErr_Occurred()) SWIG_fail;
27991 }
27992 Py_INCREF(Py_None); resultobj = Py_None;
27993 return resultobj;
27994 fail:
27995 return NULL;
27996}
27997
27998
27999static PyObject *_wrap_Window_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
28000 PyObject *resultobj;
28001 wxWindow *arg1 = (wxWindow *) 0 ;
28002 wxSizer *result;
28003 PyObject * obj0 = 0 ;
28004 char *kwnames[] = {
28005 (char *) "self", NULL
28006 };
28007
28008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28011 {
28012 PyThreadState* __tstate = wxPyBeginAllowThreads();
28013 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
28014
28015 wxPyEndAllowThreads(__tstate);
28016 if (PyErr_Occurred()) SWIG_fail;
28017 }
28018 {
28019 resultobj = wxPyMake_wxSizer(result);
28020 }
28021 return resultobj;
28022 fail:
28023 return NULL;
28024}
28025
28026
28027static PyObject *_wrap_Window_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
28028 PyObject *resultobj;
28029 wxWindow *arg1 = (wxWindow *) 0 ;
28030 wxSizer *arg2 = (wxSizer *) 0 ;
28031 PyObject * obj0 = 0 ;
28032 PyObject * obj1 = 0 ;
28033 char *kwnames[] = {
28034 (char *) "self",(char *) "sizer", NULL
28035 };
28036
28037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28040 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
28041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28042 {
28043 PyThreadState* __tstate = wxPyBeginAllowThreads();
28044 (arg1)->SetContainingSizer(arg2);
28045
28046 wxPyEndAllowThreads(__tstate);
28047 if (PyErr_Occurred()) SWIG_fail;
28048 }
28049 Py_INCREF(Py_None); resultobj = Py_None;
28050 return resultobj;
28051 fail:
28052 return NULL;
28053}
28054
28055
28056static PyObject *_wrap_Window_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
28057 PyObject *resultobj;
28058 wxWindow *arg1 = (wxWindow *) 0 ;
28059 wxSizer *result;
28060 PyObject * obj0 = 0 ;
28061 char *kwnames[] = {
28062 (char *) "self", NULL
28063 };
28064
28065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28068 {
28069 PyThreadState* __tstate = wxPyBeginAllowThreads();
28070 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
28071
28072 wxPyEndAllowThreads(__tstate);
28073 if (PyErr_Occurred()) SWIG_fail;
28074 }
28075 {
28076 resultobj = wxPyMake_wxSizer(result);
28077 }
28078 return resultobj;
28079 fail:
28080 return NULL;
28081}
28082
28083
28084static PyObject * Window_swigregister(PyObject *self, PyObject *args) {
28085 PyObject *obj;
28086 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28087 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
28088 Py_INCREF(obj);
28089 return Py_BuildValue((char *)"");
28090}
28091static PyObject *_wrap_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
28092 PyObject *resultobj;
28093 long arg1 ;
28094 wxWindow *arg2 = (wxWindow *) NULL ;
28095 wxWindow *result;
8edf1c75 28096 PyObject * obj0 = 0 ;
d14a1e28
RD
28097 PyObject * obj1 = 0 ;
28098 char *kwnames[] = {
28099 (char *) "id",(char *) "parent", NULL
28100 };
28101
8edf1c75 28102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowById",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28103 arg1 = (long) SWIG_AsLong(obj0);
28104 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 28105 if (obj1) {
2f4c0a16
RD
28106 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28108 }
28109 {
28110 PyThreadState* __tstate = wxPyBeginAllowThreads();
28111 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
28112
28113 wxPyEndAllowThreads(__tstate);
28114 if (PyErr_Occurred()) SWIG_fail;
28115 }
28116 {
28117 resultobj = wxPyMake_wxObject(result);
28118 }
28119 return resultobj;
28120 fail:
28121 return NULL;
28122}
28123
28124
28125static PyObject *_wrap_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
28126 PyObject *resultobj;
28127 wxString *arg1 = 0 ;
28128 wxWindow *arg2 = (wxWindow *) NULL ;
28129 wxWindow *result;
423f194a 28130 bool temp1 = False ;
d14a1e28
RD
28131 PyObject * obj0 = 0 ;
28132 PyObject * obj1 = 0 ;
28133 char *kwnames[] = {
28134 (char *) "name",(char *) "parent", NULL
28135 };
28136
28137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
28138 {
28139 arg1 = wxString_in_helper(obj0);
28140 if (arg1 == NULL) SWIG_fail;
423f194a 28141 temp1 = True;
d14a1e28
RD
28142 }
28143 if (obj1) {
2f4c0a16
RD
28144 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28146 }
28147 {
28148 PyThreadState* __tstate = wxPyBeginAllowThreads();
28149 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
28150
28151 wxPyEndAllowThreads(__tstate);
28152 if (PyErr_Occurred()) SWIG_fail;
28153 }
28154 {
28155 resultobj = wxPyMake_wxObject(result);
28156 }
28157 {
28158 if (temp1)
28159 delete arg1;
28160 }
28161 return resultobj;
28162 fail:
28163 {
28164 if (temp1)
28165 delete arg1;
28166 }
28167 return NULL;
28168}
28169
28170
28171static PyObject *_wrap_FindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28172 PyObject *resultobj;
28173 wxString *arg1 = 0 ;
28174 wxWindow *arg2 = (wxWindow *) NULL ;
28175 wxWindow *result;
423f194a 28176 bool temp1 = False ;
d14a1e28
RD
28177 PyObject * obj0 = 0 ;
28178 PyObject * obj1 = 0 ;
28179 char *kwnames[] = {
28180 (char *) "label",(char *) "parent", NULL
28181 };
28182
28183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
28184 {
28185 arg1 = wxString_in_helper(obj0);
28186 if (arg1 == NULL) SWIG_fail;
423f194a 28187 temp1 = True;
d14a1e28
RD
28188 }
28189 if (obj1) {
2f4c0a16
RD
28190 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28192 }
28193 {
28194 PyThreadState* __tstate = wxPyBeginAllowThreads();
28195 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
28196
28197 wxPyEndAllowThreads(__tstate);
28198 if (PyErr_Occurred()) SWIG_fail;
28199 }
28200 {
28201 resultobj = wxPyMake_wxObject(result);
28202 }
28203 {
28204 if (temp1)
28205 delete arg1;
28206 }
28207 return resultobj;
28208 fail:
28209 {
28210 if (temp1)
28211 delete arg1;
28212 }
28213 return NULL;
28214}
28215
28216
28217static PyObject *_wrap_Window_FromHWND(PyObject *self, PyObject *args, PyObject *kwargs) {
28218 PyObject *resultobj;
fe763115
RD
28219 wxWindow *arg1 = (wxWindow *) 0 ;
28220 unsigned long arg2 ;
d14a1e28
RD
28221 wxWindow *result;
28222 PyObject * obj0 = 0 ;
fe763115 28223 PyObject * obj1 = 0 ;
d14a1e28 28224 char *kwnames[] = {
fe763115 28225 (char *) "parent",(char *) "_hWnd", NULL
d14a1e28
RD
28226 };
28227
fe763115
RD
28228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FromHWND",kwnames,&obj0,&obj1)) goto fail;
28229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28231 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
2f4c0a16 28232 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28233 {
28234 PyThreadState* __tstate = wxPyBeginAllowThreads();
fe763115 28235 result = (wxWindow *)wxWindow_FromHWND(arg1,arg2);
d14a1e28
RD
28236
28237 wxPyEndAllowThreads(__tstate);
28238 if (PyErr_Occurred()) SWIG_fail;
28239 }
28240 {
28241 resultobj = wxPyMake_wxObject(result);
28242 }
28243 return resultobj;
28244 fail:
28245 return NULL;
28246}
28247
28248
28249static PyObject *_wrap_new_Validator(PyObject *self, PyObject *args, PyObject *kwargs) {
28250 PyObject *resultobj;
28251 wxValidator *result;
28252 char *kwnames[] = {
28253 NULL
28254 };
28255
28256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
28257 {
28258 PyThreadState* __tstate = wxPyBeginAllowThreads();
28259 result = (wxValidator *)new wxValidator();
28260
28261 wxPyEndAllowThreads(__tstate);
28262 if (PyErr_Occurred()) SWIG_fail;
28263 }
28264 {
28265 resultobj = wxPyMake_wxObject(result);
28266 }
28267 return resultobj;
28268 fail:
28269 return NULL;
28270}
28271
28272
28273static PyObject *_wrap_Validator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
28274 PyObject *resultobj;
28275 wxValidator *arg1 = (wxValidator *) 0 ;
28276 wxValidator *result;
28277 PyObject * obj0 = 0 ;
28278 char *kwnames[] = {
28279 (char *) "self", NULL
28280 };
28281
28282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28285 {
28286 PyThreadState* __tstate = wxPyBeginAllowThreads();
28287 result = (wxValidator *)(arg1)->Clone();
28288
28289 wxPyEndAllowThreads(__tstate);
28290 if (PyErr_Occurred()) SWIG_fail;
28291 }
28292 {
28293 resultobj = wxPyMake_wxObject(result);
28294 }
28295 return resultobj;
28296 fail:
28297 return NULL;
28298}
28299
28300
28301static PyObject *_wrap_Validator_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
28302 PyObject *resultobj;
28303 wxValidator *arg1 = (wxValidator *) 0 ;
28304 wxWindow *arg2 = (wxWindow *) 0 ;
28305 bool result;
28306 PyObject * obj0 = 0 ;
28307 PyObject * obj1 = 0 ;
28308 char *kwnames[] = {
28309 (char *) "self",(char *) "parent", NULL
28310 };
28311
28312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28315 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28317 {
28318 PyThreadState* __tstate = wxPyBeginAllowThreads();
28319 result = (bool)(arg1)->Validate(arg2);
28320
28321 wxPyEndAllowThreads(__tstate);
28322 if (PyErr_Occurred()) SWIG_fail;
28323 }
4f89f6a3
RD
28324 {
28325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28326 }
d14a1e28
RD
28327 return resultobj;
28328 fail:
28329 return NULL;
28330}
28331
28332
28333static PyObject *_wrap_Validator_TransferToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28334 PyObject *resultobj;
28335 wxValidator *arg1 = (wxValidator *) 0 ;
28336 bool result;
28337 PyObject * obj0 = 0 ;
28338 char *kwnames[] = {
28339 (char *) "self", NULL
28340 };
28341
28342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28345 {
28346 PyThreadState* __tstate = wxPyBeginAllowThreads();
28347 result = (bool)(arg1)->TransferToWindow();
28348
28349 wxPyEndAllowThreads(__tstate);
28350 if (PyErr_Occurred()) SWIG_fail;
28351 }
4f89f6a3
RD
28352 {
28353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28354 }
d14a1e28
RD
28355 return resultobj;
28356 fail:
28357 return NULL;
28358}
28359
28360
28361static PyObject *_wrap_Validator_TransferFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28362 PyObject *resultobj;
28363 wxValidator *arg1 = (wxValidator *) 0 ;
28364 bool result;
28365 PyObject * obj0 = 0 ;
28366 char *kwnames[] = {
28367 (char *) "self", NULL
28368 };
28369
28370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28373 {
28374 PyThreadState* __tstate = wxPyBeginAllowThreads();
28375 result = (bool)(arg1)->TransferFromWindow();
28376
28377 wxPyEndAllowThreads(__tstate);
28378 if (PyErr_Occurred()) SWIG_fail;
28379 }
4f89f6a3
RD
28380 {
28381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28382 }
d14a1e28
RD
28383 return resultobj;
28384 fail:
28385 return NULL;
28386}
28387
28388
28389static PyObject *_wrap_Validator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28390 PyObject *resultobj;
28391 wxValidator *arg1 = (wxValidator *) 0 ;
28392 wxWindow *result;
28393 PyObject * obj0 = 0 ;
28394 char *kwnames[] = {
28395 (char *) "self", NULL
28396 };
28397
28398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28401 {
28402 PyThreadState* __tstate = wxPyBeginAllowThreads();
28403 result = (wxWindow *)(arg1)->GetWindow();
28404
28405 wxPyEndAllowThreads(__tstate);
28406 if (PyErr_Occurred()) SWIG_fail;
28407 }
28408 {
28409 resultobj = wxPyMake_wxObject(result);
28410 }
28411 return resultobj;
28412 fail:
28413 return NULL;
28414}
28415
28416
28417static PyObject *_wrap_Validator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28418 PyObject *resultobj;
28419 wxValidator *arg1 = (wxValidator *) 0 ;
28420 wxWindow *arg2 = (wxWindow *) 0 ;
28421 PyObject * obj0 = 0 ;
28422 PyObject * obj1 = 0 ;
28423 char *kwnames[] = {
28424 (char *) "self",(char *) "window", NULL
28425 };
28426
28427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28430 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28432 {
28433 PyThreadState* __tstate = wxPyBeginAllowThreads();
28434 (arg1)->SetWindow(arg2);
28435
28436 wxPyEndAllowThreads(__tstate);
28437 if (PyErr_Occurred()) SWIG_fail;
28438 }
28439 Py_INCREF(Py_None); resultobj = Py_None;
28440 return resultobj;
28441 fail:
28442 return NULL;
28443}
28444
28445
28446static PyObject *_wrap_Validator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
28447 PyObject *resultobj;
28448 bool result;
28449 char *kwnames[] = {
28450 NULL
28451 };
28452
28453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
28454 {
28455 PyThreadState* __tstate = wxPyBeginAllowThreads();
28456 result = (bool)wxValidator::IsSilent();
28457
28458 wxPyEndAllowThreads(__tstate);
28459 if (PyErr_Occurred()) SWIG_fail;
28460 }
4f89f6a3
RD
28461 {
28462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28463 }
d14a1e28
RD
28464 return resultobj;
28465 fail:
28466 return NULL;
28467}
28468
28469
28470static PyObject *_wrap_Validator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
28471 PyObject *resultobj;
423f194a 28472 int arg1 = (int) True ;
8edf1c75 28473 PyObject * obj0 = 0 ;
d14a1e28
RD
28474 char *kwnames[] = {
28475 (char *) "doIt", NULL
28476 };
28477
8edf1c75
RD
28478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Validator_SetBellOnError",kwnames,&obj0)) goto fail;
28479 if (obj0) {
2f4c0a16
RD
28480 arg1 = (int) SWIG_AsInt(obj0);
28481 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28482 }
d14a1e28
RD
28483 {
28484 PyThreadState* __tstate = wxPyBeginAllowThreads();
28485 wxValidator::SetBellOnError(arg1);
28486
28487 wxPyEndAllowThreads(__tstate);
28488 if (PyErr_Occurred()) SWIG_fail;
28489 }
28490 Py_INCREF(Py_None); resultobj = Py_None;
28491 return resultobj;
28492 fail:
28493 return NULL;
28494}
28495
28496
28497static PyObject * Validator_swigregister(PyObject *self, PyObject *args) {
28498 PyObject *obj;
28499 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28500 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
28501 Py_INCREF(obj);
28502 return Py_BuildValue((char *)"");
28503}
28504static PyObject *_wrap_new_PyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
28505 PyObject *resultobj;
28506 wxPyValidator *result;
28507 char *kwnames[] = {
28508 NULL
28509 };
28510
28511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
28512 {
28513 PyThreadState* __tstate = wxPyBeginAllowThreads();
28514 result = (wxPyValidator *)new wxPyValidator();
28515
28516 wxPyEndAllowThreads(__tstate);
28517 if (PyErr_Occurred()) SWIG_fail;
28518 }
2f4c0a16 28519 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyValidator, 1);
d14a1e28
RD
28520 return resultobj;
28521 fail:
28522 return NULL;
28523}
28524
28525
28526static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
28527 PyObject *resultobj;
28528 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
28529 PyObject *arg2 = (PyObject *) 0 ;
28530 PyObject *arg3 = (PyObject *) 0 ;
423f194a 28531 int arg4 = (int) True ;
d14a1e28
RD
28532 PyObject * obj0 = 0 ;
28533 PyObject * obj1 = 0 ;
28534 PyObject * obj2 = 0 ;
8edf1c75 28535 PyObject * obj3 = 0 ;
d14a1e28
RD
28536 char *kwnames[] = {
28537 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28538 };
28539
8edf1c75 28540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
28541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyValidator,
28542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28543 arg2 = obj1;
28544 arg3 = obj2;
8edf1c75 28545 if (obj3) {
2f4c0a16
RD
28546 arg4 = (int) SWIG_AsInt(obj3);
28547 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28548 }
d14a1e28
RD
28549 {
28550 PyThreadState* __tstate = wxPyBeginAllowThreads();
28551 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
28552
28553 wxPyEndAllowThreads(__tstate);
28554 if (PyErr_Occurred()) SWIG_fail;
28555 }
28556 Py_INCREF(Py_None); resultobj = Py_None;
28557 return resultobj;
28558 fail:
28559 return NULL;
28560}
28561
28562
28563static PyObject * PyValidator_swigregister(PyObject *self, PyObject *args) {
28564 PyObject *obj;
28565 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28566 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
28567 Py_INCREF(obj);
28568 return Py_BuildValue((char *)"");
28569}
2f4c0a16 28570static int _wrap_DefaultValidator_set(PyObject *_val) {
d14a1e28
RD
28571 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
28572 return 1;
28573}
28574
28575
28576static PyObject *_wrap_DefaultValidator_get() {
28577 PyObject *pyobj;
28578
2f4c0a16 28579 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultValidator), SWIGTYPE_p_wxValidator, 0);
d14a1e28
RD
28580 return pyobj;
28581}
28582
28583
28584static PyObject *_wrap_new_Menu(PyObject *self, PyObject *args, PyObject *kwargs) {
28585 PyObject *resultobj;
28586 wxString const &arg1_defvalue = wxPyEmptyString ;
28587 wxString *arg1 = (wxString *) &arg1_defvalue ;
28588 long arg2 = (long) 0 ;
28589 wxMenu *result;
423f194a 28590 bool temp1 = False ;
d14a1e28 28591 PyObject * obj0 = 0 ;
8edf1c75 28592 PyObject * obj1 = 0 ;
d14a1e28
RD
28593 char *kwnames[] = {
28594 (char *) "title",(char *) "style", NULL
28595 };
28596
8edf1c75 28597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Menu",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
28598 if (obj0) {
28599 {
28600 arg1 = wxString_in_helper(obj0);
28601 if (arg1 == NULL) SWIG_fail;
423f194a 28602 temp1 = True;
d14a1e28
RD
28603 }
28604 }
8edf1c75 28605 if (obj1) {
2f4c0a16
RD
28606 arg2 = (long) SWIG_AsLong(obj1);
28607 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28608 }
d14a1e28
RD
28609 {
28610 PyThreadState* __tstate = wxPyBeginAllowThreads();
28611 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
28612
28613 wxPyEndAllowThreads(__tstate);
28614 if (PyErr_Occurred()) SWIG_fail;
28615 }
28616 {
28617 resultobj = wxPyMake_wxObject(result);
28618 }
28619 {
28620 if (temp1)
28621 delete arg1;
28622 }
28623 return resultobj;
28624 fail:
28625 {
28626 if (temp1)
28627 delete arg1;
28628 }
28629 return NULL;
28630}
28631
28632
28633static PyObject *_wrap_Menu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
28634 PyObject *resultobj;
28635 wxMenu *arg1 = (wxMenu *) 0 ;
28636 int arg2 ;
28637 wxString *arg3 = 0 ;
28638 wxString const &arg4_defvalue = wxPyEmptyString ;
28639 wxString *arg4 = (wxString *) &arg4_defvalue ;
28640 int arg5 = (int) wxITEM_NORMAL ;
83448d71 28641 wxMenuItem *result;
423f194a
RD
28642 bool temp3 = False ;
28643 bool temp4 = False ;
d14a1e28 28644 PyObject * obj0 = 0 ;
8edf1c75 28645 PyObject * obj1 = 0 ;
d14a1e28
RD
28646 PyObject * obj2 = 0 ;
28647 PyObject * obj3 = 0 ;
8edf1c75 28648 PyObject * obj4 = 0 ;
d14a1e28 28649 char *kwnames[] = {
f0983263 28650 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
28651 };
28652
8edf1c75 28653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
28654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28656 arg2 = (int) SWIG_AsInt(obj1);
28657 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28658 {
28659 arg3 = wxString_in_helper(obj2);
28660 if (arg3 == NULL) SWIG_fail;
423f194a 28661 temp3 = True;
d14a1e28
RD
28662 }
28663 if (obj3) {
28664 {
28665 arg4 = wxString_in_helper(obj3);
28666 if (arg4 == NULL) SWIG_fail;
423f194a 28667 temp4 = True;
d14a1e28
RD
28668 }
28669 }
8edf1c75 28670 if (obj4) {
2f4c0a16
RD
28671 arg5 = (wxItemKind) SWIG_AsInt(obj4);
28672 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28673 }
d14a1e28
RD
28674 {
28675 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 28676 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
d14a1e28
RD
28677
28678 wxPyEndAllowThreads(__tstate);
28679 if (PyErr_Occurred()) SWIG_fail;
28680 }
83448d71
RD
28681 {
28682 resultobj = wxPyMake_wxObject(result);
28683 }
d14a1e28
RD
28684 {
28685 if (temp3)
28686 delete arg3;
28687 }
28688 {
28689 if (temp4)
28690 delete arg4;
28691 }
28692 return resultobj;
28693 fail:
28694 {
28695 if (temp3)
28696 delete arg3;
28697 }
28698 {
28699 if (temp4)
28700 delete arg4;
28701 }
28702 return NULL;
28703}
28704
28705
28706static PyObject *_wrap_Menu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
28707 PyObject *resultobj;
28708 wxMenu *arg1 = (wxMenu *) 0 ;
83448d71 28709 wxMenuItem *result;
d14a1e28
RD
28710 PyObject * obj0 = 0 ;
28711 char *kwnames[] = {
28712 (char *) "self", NULL
28713 };
28714
28715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28718 {
28719 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 28720 result = (wxMenuItem *)(arg1)->AppendSeparator();
d14a1e28
RD
28721
28722 wxPyEndAllowThreads(__tstate);
28723 if (PyErr_Occurred()) SWIG_fail;
28724 }
83448d71
RD
28725 {
28726 resultobj = wxPyMake_wxObject(result);
28727 }
d14a1e28
RD
28728 return resultobj;
28729 fail:
28730 return NULL;
28731}
28732
28733
28734static PyObject *_wrap_Menu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28735 PyObject *resultobj;
28736 wxMenu *arg1 = (wxMenu *) 0 ;
28737 int arg2 ;
28738 wxString *arg3 = 0 ;
28739 wxString const &arg4_defvalue = wxPyEmptyString ;
28740 wxString *arg4 = (wxString *) &arg4_defvalue ;
83448d71 28741 wxMenuItem *result;
423f194a
RD
28742 bool temp3 = False ;
28743 bool temp4 = False ;
d14a1e28 28744 PyObject * obj0 = 0 ;
8edf1c75 28745 PyObject * obj1 = 0 ;
d14a1e28
RD
28746 PyObject * obj2 = 0 ;
28747 PyObject * obj3 = 0 ;
28748 char *kwnames[] = {
f0983263 28749 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
28750 };
28751
8edf1c75 28752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
28753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28755 arg2 = (int) SWIG_AsInt(obj1);
28756 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28757 {
28758 arg3 = wxString_in_helper(obj2);
28759 if (arg3 == NULL) SWIG_fail;
423f194a 28760 temp3 = True;
d14a1e28
RD
28761 }
28762 if (obj3) {
28763 {
28764 arg4 = wxString_in_helper(obj3);
28765 if (arg4 == NULL) SWIG_fail;
423f194a 28766 temp4 = True;
d14a1e28
RD
28767 }
28768 }
28769 {
28770 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 28771 result = (wxMenuItem *)(arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
28772
28773 wxPyEndAllowThreads(__tstate);
28774 if (PyErr_Occurred()) SWIG_fail;
28775 }
83448d71
RD
28776 {
28777 resultobj = wxPyMake_wxObject(result);
28778 }
d14a1e28
RD
28779 {
28780 if (temp3)
28781 delete arg3;
28782 }
28783 {
28784 if (temp4)
28785 delete arg4;
28786 }
28787 return resultobj;
28788 fail:
28789 {
28790 if (temp3)
28791 delete arg3;
28792 }
28793 {
28794 if (temp4)
28795 delete arg4;
28796 }
28797 return NULL;
28798}
28799
28800
28801static PyObject *_wrap_Menu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28802 PyObject *resultobj;
28803 wxMenu *arg1 = (wxMenu *) 0 ;
28804 int arg2 ;
28805 wxString *arg3 = 0 ;
28806 wxString const &arg4_defvalue = wxPyEmptyString ;
28807 wxString *arg4 = (wxString *) &arg4_defvalue ;
83448d71 28808 wxMenuItem *result;
423f194a
RD
28809 bool temp3 = False ;
28810 bool temp4 = False ;
d14a1e28 28811 PyObject * obj0 = 0 ;
8edf1c75 28812 PyObject * obj1 = 0 ;
d14a1e28
RD
28813 PyObject * obj2 = 0 ;
28814 PyObject * obj3 = 0 ;
28815 char *kwnames[] = {
f0983263 28816 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
28817 };
28818
8edf1c75 28819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
28820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28822 arg2 = (int) SWIG_AsInt(obj1);
28823 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28824 {
28825 arg3 = wxString_in_helper(obj2);
28826 if (arg3 == NULL) SWIG_fail;
423f194a 28827 temp3 = True;
d14a1e28
RD
28828 }
28829 if (obj3) {
28830 {
28831 arg4 = wxString_in_helper(obj3);
28832 if (arg4 == NULL) SWIG_fail;
423f194a 28833 temp4 = True;
d14a1e28
RD
28834 }
28835 }
28836 {
28837 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 28838 result = (wxMenuItem *)(arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
28839
28840 wxPyEndAllowThreads(__tstate);
28841 if (PyErr_Occurred()) SWIG_fail;
28842 }
83448d71
RD
28843 {
28844 resultobj = wxPyMake_wxObject(result);
28845 }
d14a1e28
RD
28846 {
28847 if (temp3)
28848 delete arg3;
28849 }
28850 {
28851 if (temp4)
28852 delete arg4;
28853 }
28854 return resultobj;
28855 fail:
28856 {
28857 if (temp3)
28858 delete arg3;
28859 }
28860 {
28861 if (temp4)
28862 delete arg4;
28863 }
28864 return NULL;
28865}
28866
28867
28868static PyObject *_wrap_Menu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
28869 PyObject *resultobj;
28870 wxMenu *arg1 = (wxMenu *) 0 ;
28871 int arg2 ;
28872 wxString *arg3 = 0 ;
28873 wxMenu *arg4 = (wxMenu *) 0 ;
28874 wxString const &arg5_defvalue = wxPyEmptyString ;
28875 wxString *arg5 = (wxString *) &arg5_defvalue ;
83448d71 28876 wxMenuItem *result;
423f194a
RD
28877 bool temp3 = False ;
28878 bool temp5 = False ;
d14a1e28 28879 PyObject * obj0 = 0 ;
8edf1c75 28880 PyObject * obj1 = 0 ;
d14a1e28
RD
28881 PyObject * obj2 = 0 ;
28882 PyObject * obj3 = 0 ;
28883 PyObject * obj4 = 0 ;
28884 char *kwnames[] = {
f0983263 28885 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
28886 };
28887
8edf1c75 28888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_AppendMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
28889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28891 arg2 = (int) SWIG_AsInt(obj1);
28892 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28893 {
28894 arg3 = wxString_in_helper(obj2);
28895 if (arg3 == NULL) SWIG_fail;
423f194a 28896 temp3 = True;
d14a1e28 28897 }
2f4c0a16
RD
28898 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
28899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28900 if (obj4) {
28901 {
28902 arg5 = wxString_in_helper(obj4);
28903 if (arg5 == NULL) SWIG_fail;
423f194a 28904 temp5 = True;
d14a1e28
RD
28905 }
28906 }
28907 {
28908 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 28909 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
d14a1e28
RD
28910
28911 wxPyEndAllowThreads(__tstate);
28912 if (PyErr_Occurred()) SWIG_fail;
28913 }
83448d71
RD
28914 {
28915 resultobj = wxPyMake_wxObject(result);
28916 }
d14a1e28
RD
28917 {
28918 if (temp3)
28919 delete arg3;
28920 }
28921 {
28922 if (temp5)
28923 delete arg5;
28924 }
28925 return resultobj;
28926 fail:
28927 {
28928 if (temp3)
28929 delete arg3;
28930 }
28931 {
28932 if (temp5)
28933 delete arg5;
28934 }
28935 return NULL;
28936}
28937
28938
28939static PyObject *_wrap_Menu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28940 PyObject *resultobj;
28941 wxMenu *arg1 = (wxMenu *) 0 ;
28942 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
83448d71 28943 wxMenuItem *result;
d14a1e28
RD
28944 PyObject * obj0 = 0 ;
28945 PyObject * obj1 = 0 ;
28946 char *kwnames[] = {
28947 (char *) "self",(char *) "item", NULL
28948 };
28949
28950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28953 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
28954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28955 {
28956 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 28957 result = (wxMenuItem *)(arg1)->Append(arg2);
d14a1e28
RD
28958
28959 wxPyEndAllowThreads(__tstate);
28960 if (PyErr_Occurred()) SWIG_fail;
28961 }
83448d71
RD
28962 {
28963 resultobj = wxPyMake_wxObject(result);
28964 }
d14a1e28
RD
28965 return resultobj;
28966 fail:
28967 return NULL;
28968}
28969
28970
28971static PyObject *_wrap_Menu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
28972 PyObject *resultobj;
28973 wxMenu *arg1 = (wxMenu *) 0 ;
28974 PyObject * obj0 = 0 ;
28975 char *kwnames[] = {
28976 (char *) "self", NULL
28977 };
28978
28979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28982 {
28983 PyThreadState* __tstate = wxPyBeginAllowThreads();
28984 (arg1)->Break();
28985
28986 wxPyEndAllowThreads(__tstate);
28987 if (PyErr_Occurred()) SWIG_fail;
28988 }
28989 Py_INCREF(Py_None); resultobj = Py_None;
28990 return resultobj;
28991 fail:
28992 return NULL;
28993}
28994
28995
28996static PyObject *_wrap_Menu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28997 PyObject *resultobj;
28998 wxMenu *arg1 = (wxMenu *) 0 ;
28999 size_t arg2 ;
29000 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
83448d71 29001 wxMenuItem *result;
d14a1e28
RD
29002 PyObject * obj0 = 0 ;
29003 PyObject * obj1 = 0 ;
29004 PyObject * obj2 = 0 ;
29005 char *kwnames[] = {
29006 (char *) "self",(char *) "pos",(char *) "item", NULL
29007 };
29008
29009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29012 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29013 if (PyErr_Occurred()) SWIG_fail;
29014 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenuItem,
29015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29016 {
29017 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 29018 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3);
d14a1e28
RD
29019
29020 wxPyEndAllowThreads(__tstate);
29021 if (PyErr_Occurred()) SWIG_fail;
29022 }
83448d71
RD
29023 {
29024 resultobj = wxPyMake_wxObject(result);
29025 }
d14a1e28
RD
29026 return resultobj;
29027 fail:
29028 return NULL;
29029}
29030
29031
29032static PyObject *_wrap_Menu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
29033 PyObject *resultobj;
29034 wxMenu *arg1 = (wxMenu *) 0 ;
29035 size_t arg2 ;
29036 int arg3 ;
29037 wxString *arg4 = 0 ;
29038 wxString const &arg5_defvalue = wxPyEmptyString ;
29039 wxString *arg5 = (wxString *) &arg5_defvalue ;
29040 int arg6 = (int) wxITEM_NORMAL ;
83448d71 29041 wxMenuItem *result;
423f194a
RD
29042 bool temp4 = False ;
29043 bool temp5 = False ;
d14a1e28
RD
29044 PyObject * obj0 = 0 ;
29045 PyObject * obj1 = 0 ;
8edf1c75 29046 PyObject * obj2 = 0 ;
d14a1e28
RD
29047 PyObject * obj3 = 0 ;
29048 PyObject * obj4 = 0 ;
8edf1c75 29049 PyObject * obj5 = 0 ;
d14a1e28 29050 char *kwnames[] = {
f0983263 29051 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
29052 };
29053
8edf1c75 29054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Menu_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
29055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29057 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29058 if (PyErr_Occurred()) SWIG_fail;
29059 arg3 = (int) SWIG_AsInt(obj2);
29060 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29061 {
29062 arg4 = wxString_in_helper(obj3);
29063 if (arg4 == NULL) SWIG_fail;
423f194a 29064 temp4 = True;
d14a1e28
RD
29065 }
29066 if (obj4) {
29067 {
29068 arg5 = wxString_in_helper(obj4);
29069 if (arg5 == NULL) SWIG_fail;
423f194a 29070 temp5 = True;
d14a1e28
RD
29071 }
29072 }
8edf1c75 29073 if (obj5) {
2f4c0a16
RD
29074 arg6 = (wxItemKind) SWIG_AsInt(obj5);
29075 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29076 }
d14a1e28
RD
29077 {
29078 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 29079 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
d14a1e28
RD
29080
29081 wxPyEndAllowThreads(__tstate);
29082 if (PyErr_Occurred()) SWIG_fail;
29083 }
83448d71
RD
29084 {
29085 resultobj = wxPyMake_wxObject(result);
29086 }
d14a1e28
RD
29087 {
29088 if (temp4)
29089 delete arg4;
29090 }
29091 {
29092 if (temp5)
29093 delete arg5;
29094 }
29095 return resultobj;
29096 fail:
29097 {
29098 if (temp4)
29099 delete arg4;
29100 }
29101 {
29102 if (temp5)
29103 delete arg5;
29104 }
29105 return NULL;
29106}
29107
29108
29109static PyObject *_wrap_Menu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
29110 PyObject *resultobj;
29111 wxMenu *arg1 = (wxMenu *) 0 ;
29112 size_t arg2 ;
83448d71 29113 wxMenuItem *result;
d14a1e28
RD
29114 PyObject * obj0 = 0 ;
29115 PyObject * obj1 = 0 ;
29116 char *kwnames[] = {
29117 (char *) "self",(char *) "pos", NULL
29118 };
29119
29120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29123 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29124 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29125 {
29126 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 29127 result = (wxMenuItem *)(arg1)->InsertSeparator(arg2);
d14a1e28
RD
29128
29129 wxPyEndAllowThreads(__tstate);
29130 if (PyErr_Occurred()) SWIG_fail;
29131 }
83448d71
RD
29132 {
29133 resultobj = wxPyMake_wxObject(result);
29134 }
d14a1e28
RD
29135 return resultobj;
29136 fail:
29137 return NULL;
29138}
29139
29140
29141static PyObject *_wrap_Menu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29142 PyObject *resultobj;
29143 wxMenu *arg1 = (wxMenu *) 0 ;
29144 size_t arg2 ;
29145 int arg3 ;
29146 wxString *arg4 = 0 ;
29147 wxString const &arg5_defvalue = wxPyEmptyString ;
29148 wxString *arg5 = (wxString *) &arg5_defvalue ;
83448d71 29149 wxMenuItem *result;
423f194a
RD
29150 bool temp4 = False ;
29151 bool temp5 = False ;
d14a1e28
RD
29152 PyObject * obj0 = 0 ;
29153 PyObject * obj1 = 0 ;
8edf1c75 29154 PyObject * obj2 = 0 ;
d14a1e28
RD
29155 PyObject * obj3 = 0 ;
29156 PyObject * obj4 = 0 ;
29157 char *kwnames[] = {
f0983263 29158 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29159 };
29160
8edf1c75 29161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
29162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29164 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29165 if (PyErr_Occurred()) SWIG_fail;
29166 arg3 = (int) SWIG_AsInt(obj2);
29167 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29168 {
29169 arg4 = wxString_in_helper(obj3);
29170 if (arg4 == NULL) SWIG_fail;
423f194a 29171 temp4 = True;
d14a1e28
RD
29172 }
29173 if (obj4) {
29174 {
29175 arg5 = wxString_in_helper(obj4);
29176 if (arg5 == NULL) SWIG_fail;
423f194a 29177 temp5 = True;
d14a1e28
RD
29178 }
29179 }
29180 {
29181 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 29182 result = (wxMenuItem *)(arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
d14a1e28
RD
29183
29184 wxPyEndAllowThreads(__tstate);
29185 if (PyErr_Occurred()) SWIG_fail;
29186 }
83448d71
RD
29187 {
29188 resultobj = wxPyMake_wxObject(result);
29189 }
d14a1e28
RD
29190 {
29191 if (temp4)
29192 delete arg4;
29193 }
29194 {
29195 if (temp5)
29196 delete arg5;
29197 }
29198 return resultobj;
29199 fail:
29200 {
29201 if (temp4)
29202 delete arg4;
29203 }
29204 {
29205 if (temp5)
29206 delete arg5;
29207 }
29208 return NULL;
29209}
29210
29211
29212static PyObject *_wrap_Menu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29213 PyObject *resultobj;
29214 wxMenu *arg1 = (wxMenu *) 0 ;
29215 size_t arg2 ;
29216 int arg3 ;
29217 wxString *arg4 = 0 ;
29218 wxString const &arg5_defvalue = wxPyEmptyString ;
29219 wxString *arg5 = (wxString *) &arg5_defvalue ;
83448d71 29220 wxMenuItem *result;
423f194a
RD
29221 bool temp4 = False ;
29222 bool temp5 = False ;
d14a1e28
RD
29223 PyObject * obj0 = 0 ;
29224 PyObject * obj1 = 0 ;
8edf1c75 29225 PyObject * obj2 = 0 ;
d14a1e28
RD
29226 PyObject * obj3 = 0 ;
29227 PyObject * obj4 = 0 ;
29228 char *kwnames[] = {
f0983263 29229 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29230 };
29231
8edf1c75 29232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
29233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29235 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29236 if (PyErr_Occurred()) SWIG_fail;
29237 arg3 = (int) SWIG_AsInt(obj2);
29238 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29239 {
29240 arg4 = wxString_in_helper(obj3);
29241 if (arg4 == NULL) SWIG_fail;
423f194a 29242 temp4 = True;
d14a1e28
RD
29243 }
29244 if (obj4) {
29245 {
29246 arg5 = wxString_in_helper(obj4);
29247 if (arg5 == NULL) SWIG_fail;
423f194a 29248 temp5 = True;
d14a1e28
RD
29249 }
29250 }
29251 {
29252 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 29253 result = (wxMenuItem *)(arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
d14a1e28
RD
29254
29255 wxPyEndAllowThreads(__tstate);
29256 if (PyErr_Occurred()) SWIG_fail;
29257 }
83448d71
RD
29258 {
29259 resultobj = wxPyMake_wxObject(result);
29260 }
d14a1e28
RD
29261 {
29262 if (temp4)
29263 delete arg4;
29264 }
29265 {
29266 if (temp5)
29267 delete arg5;
29268 }
29269 return resultobj;
29270 fail:
29271 {
29272 if (temp4)
29273 delete arg4;
29274 }
29275 {
29276 if (temp5)
29277 delete arg5;
29278 }
29279 return NULL;
29280}
29281
29282
29283static PyObject *_wrap_Menu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
29284 PyObject *resultobj;
29285 wxMenu *arg1 = (wxMenu *) 0 ;
29286 size_t arg2 ;
29287 int arg3 ;
29288 wxString *arg4 = 0 ;
29289 wxMenu *arg5 = (wxMenu *) 0 ;
29290 wxString const &arg6_defvalue = wxPyEmptyString ;
29291 wxString *arg6 = (wxString *) &arg6_defvalue ;
83448d71 29292 wxMenuItem *result;
423f194a
RD
29293 bool temp4 = False ;
29294 bool temp6 = False ;
d14a1e28
RD
29295 PyObject * obj0 = 0 ;
29296 PyObject * obj1 = 0 ;
8edf1c75 29297 PyObject * obj2 = 0 ;
d14a1e28
RD
29298 PyObject * obj3 = 0 ;
29299 PyObject * obj4 = 0 ;
29300 PyObject * obj5 = 0 ;
29301 char *kwnames[] = {
f0983263 29302 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
29303 };
29304
8edf1c75 29305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
29306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29308 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29309 if (PyErr_Occurred()) SWIG_fail;
29310 arg3 = (int) SWIG_AsInt(obj2);
29311 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29312 {
29313 arg4 = wxString_in_helper(obj3);
29314 if (arg4 == NULL) SWIG_fail;
423f194a 29315 temp4 = True;
d14a1e28 29316 }
2f4c0a16
RD
29317 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMenu,
29318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29319 if (obj5) {
29320 {
29321 arg6 = wxString_in_helper(obj5);
29322 if (arg6 == NULL) SWIG_fail;
423f194a 29323 temp6 = True;
d14a1e28
RD
29324 }
29325 }
29326 {
29327 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 29328 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
d14a1e28
RD
29329
29330 wxPyEndAllowThreads(__tstate);
29331 if (PyErr_Occurred()) SWIG_fail;
29332 }
83448d71
RD
29333 {
29334 resultobj = wxPyMake_wxObject(result);
29335 }
d14a1e28
RD
29336 {
29337 if (temp4)
29338 delete arg4;
29339 }
29340 {
29341 if (temp6)
29342 delete arg6;
29343 }
29344 return resultobj;
29345 fail:
29346 {
29347 if (temp4)
29348 delete arg4;
29349 }
29350 {
29351 if (temp6)
29352 delete arg6;
29353 }
29354 return NULL;
29355}
29356
29357
29358static PyObject *_wrap_Menu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29359 PyObject *resultobj;
29360 wxMenu *arg1 = (wxMenu *) 0 ;
29361 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
83448d71 29362 wxMenuItem *result;
d14a1e28
RD
29363 PyObject * obj0 = 0 ;
29364 PyObject * obj1 = 0 ;
29365 char *kwnames[] = {
29366 (char *) "self",(char *) "item", NULL
29367 };
29368
29369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29372 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29374 {
29375 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 29376 result = (wxMenuItem *)(arg1)->Prepend(arg2);
d14a1e28
RD
29377
29378 wxPyEndAllowThreads(__tstate);
29379 if (PyErr_Occurred()) SWIG_fail;
29380 }
83448d71
RD
29381 {
29382 resultobj = wxPyMake_wxObject(result);
29383 }
d14a1e28
RD
29384 return resultobj;
29385 fail:
29386 return NULL;
29387}
29388
29389
29390static PyObject *_wrap_Menu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
29391 PyObject *resultobj;
29392 wxMenu *arg1 = (wxMenu *) 0 ;
29393 int arg2 ;
29394 wxString *arg3 = 0 ;
29395 wxString const &arg4_defvalue = wxPyEmptyString ;
29396 wxString *arg4 = (wxString *) &arg4_defvalue ;
29397 int arg5 = (int) wxITEM_NORMAL ;
83448d71 29398 wxMenuItem *result;
423f194a
RD
29399 bool temp3 = False ;
29400 bool temp4 = False ;
d14a1e28 29401 PyObject * obj0 = 0 ;
8edf1c75 29402 PyObject * obj1 = 0 ;
d14a1e28
RD
29403 PyObject * obj2 = 0 ;
29404 PyObject * obj3 = 0 ;
8edf1c75 29405 PyObject * obj4 = 0 ;
d14a1e28 29406 char *kwnames[] = {
f0983263 29407 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
29408 };
29409
8edf1c75 29410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
29411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29413 arg2 = (int) SWIG_AsInt(obj1);
29414 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29415 {
29416 arg3 = wxString_in_helper(obj2);
29417 if (arg3 == NULL) SWIG_fail;
423f194a 29418 temp3 = True;
d14a1e28
RD
29419 }
29420 if (obj3) {
29421 {
29422 arg4 = wxString_in_helper(obj3);
29423 if (arg4 == NULL) SWIG_fail;
423f194a 29424 temp4 = True;
d14a1e28
RD
29425 }
29426 }
8edf1c75 29427 if (obj4) {
2f4c0a16
RD
29428 arg5 = (wxItemKind) SWIG_AsInt(obj4);
29429 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29430 }
d14a1e28
RD
29431 {
29432 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 29433 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
d14a1e28
RD
29434
29435 wxPyEndAllowThreads(__tstate);
29436 if (PyErr_Occurred()) SWIG_fail;
29437 }
83448d71
RD
29438 {
29439 resultobj = wxPyMake_wxObject(result);
29440 }
d14a1e28
RD
29441 {
29442 if (temp3)
29443 delete arg3;
29444 }
29445 {
29446 if (temp4)
29447 delete arg4;
29448 }
29449 return resultobj;
29450 fail:
29451 {
29452 if (temp3)
29453 delete arg3;
29454 }
29455 {
29456 if (temp4)
29457 delete arg4;
29458 }
29459 return NULL;
29460}
29461
29462
29463static PyObject *_wrap_Menu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
29464 PyObject *resultobj;
29465 wxMenu *arg1 = (wxMenu *) 0 ;
83448d71 29466 wxMenuItem *result;
d14a1e28
RD
29467 PyObject * obj0 = 0 ;
29468 char *kwnames[] = {
29469 (char *) "self", NULL
29470 };
29471
29472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29475 {
29476 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 29477 result = (wxMenuItem *)(arg1)->PrependSeparator();
d14a1e28
RD
29478
29479 wxPyEndAllowThreads(__tstate);
29480 if (PyErr_Occurred()) SWIG_fail;
29481 }
83448d71
RD
29482 {
29483 resultobj = wxPyMake_wxObject(result);
29484 }
d14a1e28
RD
29485 return resultobj;
29486 fail:
29487 return NULL;
29488}
29489
29490
29491static PyObject *_wrap_Menu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29492 PyObject *resultobj;
29493 wxMenu *arg1 = (wxMenu *) 0 ;
29494 int arg2 ;
29495 wxString *arg3 = 0 ;
29496 wxString const &arg4_defvalue = wxPyEmptyString ;
29497 wxString *arg4 = (wxString *) &arg4_defvalue ;
83448d71 29498 wxMenuItem *result;
423f194a
RD
29499 bool temp3 = False ;
29500 bool temp4 = False ;
d14a1e28 29501 PyObject * obj0 = 0 ;
8edf1c75 29502 PyObject * obj1 = 0 ;
d14a1e28
RD
29503 PyObject * obj2 = 0 ;
29504 PyObject * obj3 = 0 ;
29505 char *kwnames[] = {
f0983263 29506 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29507 };
29508
8edf1c75 29509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
29510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29512 arg2 = (int) SWIG_AsInt(obj1);
29513 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29514 {
29515 arg3 = wxString_in_helper(obj2);
29516 if (arg3 == NULL) SWIG_fail;
423f194a 29517 temp3 = True;
d14a1e28
RD
29518 }
29519 if (obj3) {
29520 {
29521 arg4 = wxString_in_helper(obj3);
29522 if (arg4 == NULL) SWIG_fail;
423f194a 29523 temp4 = True;
d14a1e28
RD
29524 }
29525 }
29526 {
29527 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 29528 result = (wxMenuItem *)(arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
29529
29530 wxPyEndAllowThreads(__tstate);
29531 if (PyErr_Occurred()) SWIG_fail;
29532 }
83448d71
RD
29533 {
29534 resultobj = wxPyMake_wxObject(result);
29535 }
d14a1e28
RD
29536 {
29537 if (temp3)
29538 delete arg3;
29539 }
29540 {
29541 if (temp4)
29542 delete arg4;
29543 }
29544 return resultobj;
29545 fail:
29546 {
29547 if (temp3)
29548 delete arg3;
29549 }
29550 {
29551 if (temp4)
29552 delete arg4;
29553 }
29554 return NULL;
29555}
29556
29557
29558static PyObject *_wrap_Menu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29559 PyObject *resultobj;
29560 wxMenu *arg1 = (wxMenu *) 0 ;
29561 int arg2 ;
29562 wxString *arg3 = 0 ;
29563 wxString const &arg4_defvalue = wxPyEmptyString ;
29564 wxString *arg4 = (wxString *) &arg4_defvalue ;
83448d71 29565 wxMenuItem *result;
423f194a
RD
29566 bool temp3 = False ;
29567 bool temp4 = False ;
d14a1e28 29568 PyObject * obj0 = 0 ;
8edf1c75 29569 PyObject * obj1 = 0 ;
d14a1e28
RD
29570 PyObject * obj2 = 0 ;
29571 PyObject * obj3 = 0 ;
29572 char *kwnames[] = {
f0983263 29573 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29574 };
29575
8edf1c75 29576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
29577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29579 arg2 = (int) SWIG_AsInt(obj1);
29580 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29581 {
29582 arg3 = wxString_in_helper(obj2);
29583 if (arg3 == NULL) SWIG_fail;
423f194a 29584 temp3 = True;
d14a1e28
RD
29585 }
29586 if (obj3) {
29587 {
29588 arg4 = wxString_in_helper(obj3);
29589 if (arg4 == NULL) SWIG_fail;
423f194a 29590 temp4 = True;
d14a1e28
RD
29591 }
29592 }
29593 {
29594 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 29595 result = (wxMenuItem *)(arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
29596
29597 wxPyEndAllowThreads(__tstate);
29598 if (PyErr_Occurred()) SWIG_fail;
29599 }
83448d71
RD
29600 {
29601 resultobj = wxPyMake_wxObject(result);
29602 }
d14a1e28
RD
29603 {
29604 if (temp3)
29605 delete arg3;
29606 }
29607 {
29608 if (temp4)
29609 delete arg4;
29610 }
29611 return resultobj;
29612 fail:
29613 {
29614 if (temp3)
29615 delete arg3;
29616 }
29617 {
29618 if (temp4)
29619 delete arg4;
29620 }
29621 return NULL;
29622}
29623
29624
29625static PyObject *_wrap_Menu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
29626 PyObject *resultobj;
29627 wxMenu *arg1 = (wxMenu *) 0 ;
29628 int arg2 ;
29629 wxString *arg3 = 0 ;
29630 wxMenu *arg4 = (wxMenu *) 0 ;
29631 wxString const &arg5_defvalue = wxPyEmptyString ;
29632 wxString *arg5 = (wxString *) &arg5_defvalue ;
83448d71 29633 wxMenuItem *result;
423f194a
RD
29634 bool temp3 = False ;
29635 bool temp5 = False ;
d14a1e28 29636 PyObject * obj0 = 0 ;
8edf1c75 29637 PyObject * obj1 = 0 ;
d14a1e28
RD
29638 PyObject * obj2 = 0 ;
29639 PyObject * obj3 = 0 ;
29640 PyObject * obj4 = 0 ;
29641 char *kwnames[] = {
f0983263 29642 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
29643 };
29644
8edf1c75 29645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_PrependMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
29646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29648 arg2 = (int) SWIG_AsInt(obj1);
29649 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29650 {
29651 arg3 = wxString_in_helper(obj2);
29652 if (arg3 == NULL) SWIG_fail;
423f194a 29653 temp3 = True;
d14a1e28 29654 }
2f4c0a16
RD
29655 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
29656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29657 if (obj4) {
29658 {
29659 arg5 = wxString_in_helper(obj4);
29660 if (arg5 == NULL) SWIG_fail;
423f194a 29661 temp5 = True;
d14a1e28
RD
29662 }
29663 }
29664 {
29665 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 29666 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
d14a1e28
RD
29667
29668 wxPyEndAllowThreads(__tstate);
29669 if (PyErr_Occurred()) SWIG_fail;
29670 }
83448d71
RD
29671 {
29672 resultobj = wxPyMake_wxObject(result);
29673 }
d14a1e28
RD
29674 {
29675 if (temp3)
29676 delete arg3;
29677 }
29678 {
29679 if (temp5)
29680 delete arg5;
29681 }
29682 return resultobj;
29683 fail:
29684 {
29685 if (temp3)
29686 delete arg3;
29687 }
29688 {
29689 if (temp5)
29690 delete arg5;
29691 }
29692 return NULL;
29693}
29694
29695
29696static PyObject *_wrap_Menu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
29697 PyObject *resultobj;
29698 wxMenu *arg1 = (wxMenu *) 0 ;
29699 int arg2 ;
29700 wxMenuItem *result;
29701 PyObject * obj0 = 0 ;
8edf1c75 29702 PyObject * obj1 = 0 ;
d14a1e28 29703 char *kwnames[] = {
f0983263 29704 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29705 };
29706
8edf1c75 29707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Remove",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29710 arg2 = (int) SWIG_AsInt(obj1);
29711 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29712 {
29713 PyThreadState* __tstate = wxPyBeginAllowThreads();
29714 result = (wxMenuItem *)(arg1)->Remove(arg2);
29715
29716 wxPyEndAllowThreads(__tstate);
29717 if (PyErr_Occurred()) SWIG_fail;
29718 }
29719 {
29720 resultobj = wxPyMake_wxObject(result);
29721 }
29722 return resultobj;
29723 fail:
29724 return NULL;
29725}
29726
29727
29728static PyObject *_wrap_Menu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29729 PyObject *resultobj;
29730 wxMenu *arg1 = (wxMenu *) 0 ;
29731 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29732 wxMenuItem *result;
29733 PyObject * obj0 = 0 ;
29734 PyObject * obj1 = 0 ;
29735 char *kwnames[] = {
29736 (char *) "self",(char *) "item", NULL
29737 };
29738
29739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29742 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29744 {
29745 PyThreadState* __tstate = wxPyBeginAllowThreads();
29746 result = (wxMenuItem *)(arg1)->Remove(arg2);
29747
29748 wxPyEndAllowThreads(__tstate);
29749 if (PyErr_Occurred()) SWIG_fail;
29750 }
29751 {
29752 resultobj = wxPyMake_wxObject(result);
29753 }
29754 return resultobj;
29755 fail:
29756 return NULL;
29757}
29758
29759
29760static PyObject *_wrap_Menu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
29761 PyObject *resultobj;
29762 wxMenu *arg1 = (wxMenu *) 0 ;
29763 int arg2 ;
29764 bool result;
29765 PyObject * obj0 = 0 ;
8edf1c75 29766 PyObject * obj1 = 0 ;
d14a1e28 29767 char *kwnames[] = {
f0983263 29768 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29769 };
29770
8edf1c75 29771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Delete",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29774 arg2 = (int) SWIG_AsInt(obj1);
29775 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29776 {
29777 PyThreadState* __tstate = wxPyBeginAllowThreads();
29778 result = (bool)(arg1)->Delete(arg2);
29779
29780 wxPyEndAllowThreads(__tstate);
29781 if (PyErr_Occurred()) SWIG_fail;
29782 }
4f89f6a3
RD
29783 {
29784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29785 }
d14a1e28
RD
29786 return resultobj;
29787 fail:
29788 return NULL;
29789}
29790
29791
29792static PyObject *_wrap_Menu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29793 PyObject *resultobj;
29794 wxMenu *arg1 = (wxMenu *) 0 ;
29795 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29796 bool result;
29797 PyObject * obj0 = 0 ;
29798 PyObject * obj1 = 0 ;
29799 char *kwnames[] = {
29800 (char *) "self",(char *) "item", NULL
29801 };
29802
29803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29806 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29808 {
29809 PyThreadState* __tstate = wxPyBeginAllowThreads();
29810 result = (bool)(arg1)->Delete(arg2);
29811
29812 wxPyEndAllowThreads(__tstate);
29813 if (PyErr_Occurred()) SWIG_fail;
29814 }
4f89f6a3
RD
29815 {
29816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29817 }
d14a1e28
RD
29818 return resultobj;
29819 fail:
29820 return NULL;
29821}
29822
29823
29824static PyObject *_wrap_Menu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
29825 PyObject *resultobj;
29826 wxMenu *arg1 = (wxMenu *) 0 ;
29827 PyObject * obj0 = 0 ;
29828 char *kwnames[] = {
29829 (char *) "self", NULL
29830 };
29831
29832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29835 {
29836 PyThreadState* __tstate = wxPyBeginAllowThreads();
29837 wxMenu_Destroy(arg1);
29838
29839 wxPyEndAllowThreads(__tstate);
29840 if (PyErr_Occurred()) SWIG_fail;
29841 }
29842 Py_INCREF(Py_None); resultobj = Py_None;
29843 return resultobj;
29844 fail:
29845 return NULL;
29846}
29847
29848
29849static PyObject *_wrap_Menu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
29850 PyObject *resultobj;
29851 wxMenu *arg1 = (wxMenu *) 0 ;
29852 int arg2 ;
29853 bool result;
29854 PyObject * obj0 = 0 ;
8edf1c75 29855 PyObject * obj1 = 0 ;
d14a1e28 29856 char *kwnames[] = {
f0983263 29857 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29858 };
29859
8edf1c75 29860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29863 arg2 = (int) SWIG_AsInt(obj1);
29864 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29865 {
29866 PyThreadState* __tstate = wxPyBeginAllowThreads();
29867 result = (bool)(arg1)->Destroy(arg2);
29868
29869 wxPyEndAllowThreads(__tstate);
29870 if (PyErr_Occurred()) SWIG_fail;
29871 }
4f89f6a3
RD
29872 {
29873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29874 }
d14a1e28
RD
29875 return resultobj;
29876 fail:
29877 return NULL;
29878}
29879
29880
29881static PyObject *_wrap_Menu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29882 PyObject *resultobj;
29883 wxMenu *arg1 = (wxMenu *) 0 ;
29884 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29885 bool result;
29886 PyObject * obj0 = 0 ;
29887 PyObject * obj1 = 0 ;
29888 char *kwnames[] = {
29889 (char *) "self",(char *) "item", NULL
29890 };
29891
29892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29895 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29897 {
29898 PyThreadState* __tstate = wxPyBeginAllowThreads();
29899 result = (bool)(arg1)->Destroy(arg2);
29900
29901 wxPyEndAllowThreads(__tstate);
29902 if (PyErr_Occurred()) SWIG_fail;
29903 }
4f89f6a3
RD
29904 {
29905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29906 }
d14a1e28
RD
29907 return resultobj;
29908 fail:
29909 return NULL;
29910}
29911
29912
29913static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
29914 PyObject *resultobj;
29915 wxMenu *arg1 = (wxMenu *) 0 ;
29916 size_t result;
29917 PyObject * obj0 = 0 ;
29918 char *kwnames[] = {
29919 (char *) "self", NULL
29920 };
29921
29922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29925 {
29926 PyThreadState* __tstate = wxPyBeginAllowThreads();
29927 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
29928
29929 wxPyEndAllowThreads(__tstate);
29930 if (PyErr_Occurred()) SWIG_fail;
29931 }
2f4c0a16 29932 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
29933 return resultobj;
29934 fail:
29935 return NULL;
29936}
29937
29938
29939static PyObject *_wrap_Menu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
29940 PyObject *resultobj;
29941 wxMenu *arg1 = (wxMenu *) 0 ;
29942 PyObject *result;
29943 PyObject * obj0 = 0 ;
29944 char *kwnames[] = {
29945 (char *) "self", NULL
29946 };
29947
29948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29951 {
29952 PyThreadState* __tstate = wxPyBeginAllowThreads();
29953 result = (PyObject *)wxMenu_GetMenuItems(arg1);
29954
29955 wxPyEndAllowThreads(__tstate);
29956 if (PyErr_Occurred()) SWIG_fail;
29957 }
29958 resultobj = result;
29959 return resultobj;
29960 fail:
29961 return NULL;
29962}
29963
29964
29965static PyObject *_wrap_Menu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29966 PyObject *resultobj;
29967 wxMenu *arg1 = (wxMenu *) 0 ;
29968 wxString *arg2 = 0 ;
29969 int result;
423f194a 29970 bool temp2 = False ;
d14a1e28
RD
29971 PyObject * obj0 = 0 ;
29972 PyObject * obj1 = 0 ;
29973 char *kwnames[] = {
29974 (char *) "self",(char *) "item", NULL
29975 };
29976
29977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29980 {
29981 arg2 = wxString_in_helper(obj1);
29982 if (arg2 == NULL) SWIG_fail;
423f194a 29983 temp2 = True;
d14a1e28
RD
29984 }
29985 {
29986 PyThreadState* __tstate = wxPyBeginAllowThreads();
29987 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
29988
29989 wxPyEndAllowThreads(__tstate);
29990 if (PyErr_Occurred()) SWIG_fail;
29991 }
2f4c0a16 29992 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
29993 {
29994 if (temp2)
29995 delete arg2;
29996 }
29997 return resultobj;
29998 fail:
29999 {
30000 if (temp2)
30001 delete arg2;
30002 }
30003 return NULL;
30004}
30005
30006
30007static PyObject *_wrap_Menu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
30008 PyObject *resultobj;
30009 wxMenu *arg1 = (wxMenu *) 0 ;
30010 int arg2 ;
30011 wxMenuItem *result;
30012 PyObject * obj0 = 0 ;
8edf1c75 30013 PyObject * obj1 = 0 ;
d14a1e28 30014 char *kwnames[] = {
f0983263 30015 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30016 };
30017
8edf1c75 30018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemById",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30021 arg2 = (int) SWIG_AsInt(obj1);
30022 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30023 {
30024 PyThreadState* __tstate = wxPyBeginAllowThreads();
30025 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
30026
30027 wxPyEndAllowThreads(__tstate);
30028 if (PyErr_Occurred()) SWIG_fail;
30029 }
30030 {
30031 resultobj = wxPyMake_wxObject(result);
30032 }
30033 return resultobj;
30034 fail:
30035 return NULL;
30036}
30037
30038
30039static PyObject *_wrap_Menu_FindItemByPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
30040 PyObject *resultobj;
30041 wxMenu *arg1 = (wxMenu *) 0 ;
30042 size_t arg2 ;
30043 wxMenuItem *result;
30044 PyObject * obj0 = 0 ;
30045 PyObject * obj1 = 0 ;
30046 char *kwnames[] = {
30047 (char *) "self",(char *) "position", NULL
30048 };
30049
30050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30053 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30054 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30055 {
30056 PyThreadState* __tstate = wxPyBeginAllowThreads();
30057 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
30058
30059 wxPyEndAllowThreads(__tstate);
30060 if (PyErr_Occurred()) SWIG_fail;
30061 }
30062 {
30063 resultobj = wxPyMake_wxObject(result);
30064 }
30065 return resultobj;
30066 fail:
30067 return NULL;
30068}
30069
30070
30071static PyObject *_wrap_Menu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
30072 PyObject *resultobj;
30073 wxMenu *arg1 = (wxMenu *) 0 ;
30074 int arg2 ;
30075 bool arg3 ;
30076 PyObject * obj0 = 0 ;
8edf1c75 30077 PyObject * obj1 = 0 ;
d14a1e28
RD
30078 PyObject * obj2 = 0 ;
30079 char *kwnames[] = {
f0983263 30080 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
30081 };
30082
8edf1c75 30083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30086 arg2 = (int) SWIG_AsInt(obj1);
30087 if (PyErr_Occurred()) SWIG_fail;
30088 arg3 = (bool) SWIG_AsBool(obj2);
30089 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30090 {
30091 PyThreadState* __tstate = wxPyBeginAllowThreads();
30092 (arg1)->Enable(arg2,arg3);
30093
30094 wxPyEndAllowThreads(__tstate);
30095 if (PyErr_Occurred()) SWIG_fail;
30096 }
30097 Py_INCREF(Py_None); resultobj = Py_None;
30098 return resultobj;
30099 fail:
30100 return NULL;
30101}
30102
30103
30104static PyObject *_wrap_Menu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
30105 PyObject *resultobj;
30106 wxMenu *arg1 = (wxMenu *) 0 ;
30107 int arg2 ;
30108 bool result;
30109 PyObject * obj0 = 0 ;
8edf1c75 30110 PyObject * obj1 = 0 ;
d14a1e28 30111 char *kwnames[] = {
f0983263 30112 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30113 };
30114
8edf1c75 30115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30118 arg2 = (int) SWIG_AsInt(obj1);
30119 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30120 {
30121 PyThreadState* __tstate = wxPyBeginAllowThreads();
30122 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
30123
30124 wxPyEndAllowThreads(__tstate);
30125 if (PyErr_Occurred()) SWIG_fail;
30126 }
4f89f6a3
RD
30127 {
30128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30129 }
d14a1e28
RD
30130 return resultobj;
30131 fail:
30132 return NULL;
30133}
30134
30135
30136static PyObject *_wrap_Menu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
30137 PyObject *resultobj;
30138 wxMenu *arg1 = (wxMenu *) 0 ;
30139 int arg2 ;
30140 bool arg3 ;
30141 PyObject * obj0 = 0 ;
8edf1c75 30142 PyObject * obj1 = 0 ;
d14a1e28
RD
30143 PyObject * obj2 = 0 ;
30144 char *kwnames[] = {
f0983263 30145 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
30146 };
30147
8edf1c75 30148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30151 arg2 = (int) SWIG_AsInt(obj1);
30152 if (PyErr_Occurred()) SWIG_fail;
30153 arg3 = (bool) SWIG_AsBool(obj2);
30154 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30155 {
30156 PyThreadState* __tstate = wxPyBeginAllowThreads();
30157 (arg1)->Check(arg2,arg3);
30158
30159 wxPyEndAllowThreads(__tstate);
30160 if (PyErr_Occurred()) SWIG_fail;
30161 }
30162 Py_INCREF(Py_None); resultobj = Py_None;
30163 return resultobj;
30164 fail:
30165 return NULL;
30166}
30167
30168
30169static PyObject *_wrap_Menu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
30170 PyObject *resultobj;
30171 wxMenu *arg1 = (wxMenu *) 0 ;
30172 int arg2 ;
30173 bool result;
30174 PyObject * obj0 = 0 ;
8edf1c75 30175 PyObject * obj1 = 0 ;
d14a1e28 30176 char *kwnames[] = {
f0983263 30177 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30178 };
30179
8edf1c75 30180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsChecked",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30183 arg2 = (int) SWIG_AsInt(obj1);
30184 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30185 {
30186 PyThreadState* __tstate = wxPyBeginAllowThreads();
30187 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
30188
30189 wxPyEndAllowThreads(__tstate);
30190 if (PyErr_Occurred()) SWIG_fail;
30191 }
4f89f6a3
RD
30192 {
30193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30194 }
d14a1e28
RD
30195 return resultobj;
30196 fail:
30197 return NULL;
30198}
30199
30200
30201static PyObject *_wrap_Menu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
30202 PyObject *resultobj;
30203 wxMenu *arg1 = (wxMenu *) 0 ;
30204 int arg2 ;
30205 wxString *arg3 = 0 ;
423f194a 30206 bool temp3 = False ;
d14a1e28 30207 PyObject * obj0 = 0 ;
8edf1c75 30208 PyObject * obj1 = 0 ;
d14a1e28
RD
30209 PyObject * obj2 = 0 ;
30210 char *kwnames[] = {
f0983263 30211 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
30212 };
30213
8edf1c75 30214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30217 arg2 = (int) SWIG_AsInt(obj1);
30218 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30219 {
30220 arg3 = wxString_in_helper(obj2);
30221 if (arg3 == NULL) SWIG_fail;
423f194a 30222 temp3 = True;
d14a1e28
RD
30223 }
30224 {
30225 PyThreadState* __tstate = wxPyBeginAllowThreads();
30226 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
30227
30228 wxPyEndAllowThreads(__tstate);
30229 if (PyErr_Occurred()) SWIG_fail;
30230 }
30231 Py_INCREF(Py_None); resultobj = Py_None;
30232 {
30233 if (temp3)
30234 delete arg3;
30235 }
30236 return resultobj;
30237 fail:
30238 {
30239 if (temp3)
30240 delete arg3;
30241 }
30242 return NULL;
30243}
30244
30245
30246static PyObject *_wrap_Menu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
30247 PyObject *resultobj;
30248 wxMenu *arg1 = (wxMenu *) 0 ;
30249 int arg2 ;
30250 wxString result;
30251 PyObject * obj0 = 0 ;
8edf1c75 30252 PyObject * obj1 = 0 ;
d14a1e28 30253 char *kwnames[] = {
f0983263 30254 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30255 };
30256
8edf1c75 30257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetLabel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30260 arg2 = (int) SWIG_AsInt(obj1);
30261 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30262 {
30263 PyThreadState* __tstate = wxPyBeginAllowThreads();
30264 result = ((wxMenu const *)arg1)->GetLabel(arg2);
30265
30266 wxPyEndAllowThreads(__tstate);
30267 if (PyErr_Occurred()) SWIG_fail;
30268 }
30269 {
30270#if wxUSE_UNICODE
30271 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30272#else
30273 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30274#endif
30275 }
30276 return resultobj;
30277 fail:
30278 return NULL;
30279}
30280
30281
30282static PyObject *_wrap_Menu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
30283 PyObject *resultobj;
30284 wxMenu *arg1 = (wxMenu *) 0 ;
30285 int arg2 ;
30286 wxString *arg3 = 0 ;
423f194a 30287 bool temp3 = False ;
d14a1e28 30288 PyObject * obj0 = 0 ;
8edf1c75 30289 PyObject * obj1 = 0 ;
d14a1e28
RD
30290 PyObject * obj2 = 0 ;
30291 char *kwnames[] = {
f0983263 30292 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
30293 };
30294
8edf1c75 30295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30298 arg2 = (int) SWIG_AsInt(obj1);
30299 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30300 {
30301 arg3 = wxString_in_helper(obj2);
30302 if (arg3 == NULL) SWIG_fail;
423f194a 30303 temp3 = True;
d14a1e28
RD
30304 }
30305 {
30306 PyThreadState* __tstate = wxPyBeginAllowThreads();
30307 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
30308
30309 wxPyEndAllowThreads(__tstate);
30310 if (PyErr_Occurred()) SWIG_fail;
30311 }
30312 Py_INCREF(Py_None); resultobj = Py_None;
30313 {
30314 if (temp3)
30315 delete arg3;
30316 }
30317 return resultobj;
30318 fail:
30319 {
30320 if (temp3)
30321 delete arg3;
30322 }
30323 return NULL;
30324}
30325
30326
30327static PyObject *_wrap_Menu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
30328 PyObject *resultobj;
30329 wxMenu *arg1 = (wxMenu *) 0 ;
30330 int arg2 ;
30331 wxString result;
30332 PyObject * obj0 = 0 ;
8edf1c75 30333 PyObject * obj1 = 0 ;
d14a1e28 30334 char *kwnames[] = {
f0983263 30335 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30336 };
30337
8edf1c75 30338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30341 arg2 = (int) SWIG_AsInt(obj1);
30342 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30343 {
30344 PyThreadState* __tstate = wxPyBeginAllowThreads();
30345 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
30346
30347 wxPyEndAllowThreads(__tstate);
30348 if (PyErr_Occurred()) SWIG_fail;
30349 }
30350 {
30351#if wxUSE_UNICODE
30352 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30353#else
30354 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30355#endif
30356 }
30357 return resultobj;
30358 fail:
30359 return NULL;
30360}
30361
30362
30363static PyObject *_wrap_Menu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
30364 PyObject *resultobj;
30365 wxMenu *arg1 = (wxMenu *) 0 ;
30366 wxString *arg2 = 0 ;
423f194a 30367 bool temp2 = False ;
d14a1e28
RD
30368 PyObject * obj0 = 0 ;
30369 PyObject * obj1 = 0 ;
30370 char *kwnames[] = {
30371 (char *) "self",(char *) "title", NULL
30372 };
30373
30374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30377 {
30378 arg2 = wxString_in_helper(obj1);
30379 if (arg2 == NULL) SWIG_fail;
423f194a 30380 temp2 = True;
d14a1e28
RD
30381 }
30382 {
30383 PyThreadState* __tstate = wxPyBeginAllowThreads();
30384 (arg1)->SetTitle((wxString const &)*arg2);
30385
30386 wxPyEndAllowThreads(__tstate);
30387 if (PyErr_Occurred()) SWIG_fail;
30388 }
30389 Py_INCREF(Py_None); resultobj = Py_None;
30390 {
30391 if (temp2)
30392 delete arg2;
30393 }
30394 return resultobj;
30395 fail:
30396 {
30397 if (temp2)
30398 delete arg2;
30399 }
30400 return NULL;
30401}
30402
30403
30404static PyObject *_wrap_Menu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
30405 PyObject *resultobj;
30406 wxMenu *arg1 = (wxMenu *) 0 ;
30407 wxString result;
30408 PyObject * obj0 = 0 ;
30409 char *kwnames[] = {
30410 (char *) "self", NULL
30411 };
30412
30413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30416 {
30417 PyThreadState* __tstate = wxPyBeginAllowThreads();
30418 result = ((wxMenu const *)arg1)->GetTitle();
30419
30420 wxPyEndAllowThreads(__tstate);
30421 if (PyErr_Occurred()) SWIG_fail;
30422 }
30423 {
30424#if wxUSE_UNICODE
30425 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30426#else
30427 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30428#endif
30429 }
30430 return resultobj;
30431 fail:
30432 return NULL;
30433}
30434
30435
30436static PyObject *_wrap_Menu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
30437 PyObject *resultobj;
30438 wxMenu *arg1 = (wxMenu *) 0 ;
30439 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
30440 PyObject * obj0 = 0 ;
30441 PyObject * obj1 = 0 ;
30442 char *kwnames[] = {
30443 (char *) "self",(char *) "handler", NULL
30444 };
30445
30446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30449 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
30450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30451 {
30452 PyThreadState* __tstate = wxPyBeginAllowThreads();
30453 (arg1)->SetEventHandler(arg2);
30454
30455 wxPyEndAllowThreads(__tstate);
30456 if (PyErr_Occurred()) SWIG_fail;
30457 }
30458 Py_INCREF(Py_None); resultobj = Py_None;
30459 return resultobj;
30460 fail:
30461 return NULL;
30462}
30463
30464
30465static PyObject *_wrap_Menu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
30466 PyObject *resultobj;
30467 wxMenu *arg1 = (wxMenu *) 0 ;
30468 wxEvtHandler *result;
30469 PyObject * obj0 = 0 ;
30470 char *kwnames[] = {
30471 (char *) "self", NULL
30472 };
30473
30474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30477 {
30478 PyThreadState* __tstate = wxPyBeginAllowThreads();
30479 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
30480
30481 wxPyEndAllowThreads(__tstate);
30482 if (PyErr_Occurred()) SWIG_fail;
30483 }
30484 {
30485 resultobj = wxPyMake_wxObject(result);
30486 }
30487 return resultobj;
30488 fail:
30489 return NULL;
30490}
30491
30492
30493static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30494 PyObject *resultobj;
30495 wxMenu *arg1 = (wxMenu *) 0 ;
30496 wxWindow *arg2 = (wxWindow *) 0 ;
30497 PyObject * obj0 = 0 ;
30498 PyObject * obj1 = 0 ;
30499 char *kwnames[] = {
30500 (char *) "self",(char *) "win", NULL
30501 };
30502
30503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30506 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30508 {
30509 PyThreadState* __tstate = wxPyBeginAllowThreads();
30510 (arg1)->SetInvokingWindow(arg2);
30511
30512 wxPyEndAllowThreads(__tstate);
30513 if (PyErr_Occurred()) SWIG_fail;
30514 }
30515 Py_INCREF(Py_None); resultobj = Py_None;
30516 return resultobj;
30517 fail:
30518 return NULL;
30519}
30520
30521
30522static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30523 PyObject *resultobj;
30524 wxMenu *arg1 = (wxMenu *) 0 ;
30525 wxWindow *result;
30526 PyObject * obj0 = 0 ;
30527 char *kwnames[] = {
30528 (char *) "self", NULL
30529 };
30530
30531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30534 {
30535 PyThreadState* __tstate = wxPyBeginAllowThreads();
30536 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
30537
30538 wxPyEndAllowThreads(__tstate);
30539 if (PyErr_Occurred()) SWIG_fail;
30540 }
30541 {
30542 resultobj = wxPyMake_wxObject(result);
30543 }
30544 return resultobj;
30545 fail:
30546 return NULL;
30547}
30548
30549
30550static PyObject *_wrap_Menu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
30551 PyObject *resultobj;
30552 wxMenu *arg1 = (wxMenu *) 0 ;
30553 long result;
30554 PyObject * obj0 = 0 ;
30555 char *kwnames[] = {
30556 (char *) "self", NULL
30557 };
30558
30559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30562 {
30563 PyThreadState* __tstate = wxPyBeginAllowThreads();
30564 result = (long)((wxMenu const *)arg1)->GetStyle();
30565
30566 wxPyEndAllowThreads(__tstate);
30567 if (PyErr_Occurred()) SWIG_fail;
30568 }
2f4c0a16 30569 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
30570 return resultobj;
30571 fail:
30572 return NULL;
30573}
30574
30575
30576static PyObject *_wrap_Menu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
30577 PyObject *resultobj;
30578 wxMenu *arg1 = (wxMenu *) 0 ;
30579 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
30580 PyObject * obj0 = 0 ;
30581 PyObject * obj1 = 0 ;
30582 char *kwnames[] = {
30583 (char *) "self",(char *) "source", NULL
30584 };
30585
30586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 30589 if (obj1) {
2f4c0a16
RD
30590 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
30591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30592 }
30593 {
30594 PyThreadState* __tstate = wxPyBeginAllowThreads();
30595 (arg1)->UpdateUI(arg2);
30596
30597 wxPyEndAllowThreads(__tstate);
30598 if (PyErr_Occurred()) SWIG_fail;
30599 }
30600 Py_INCREF(Py_None); resultobj = Py_None;
30601 return resultobj;
30602 fail:
30603 return NULL;
30604}
30605
30606
30607static PyObject *_wrap_Menu_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
30608 PyObject *resultobj;
30609 wxMenu *arg1 = (wxMenu *) 0 ;
30610 wxMenuBar *result;
30611 PyObject * obj0 = 0 ;
30612 char *kwnames[] = {
30613 (char *) "self", NULL
30614 };
30615
30616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30619 {
30620 PyThreadState* __tstate = wxPyBeginAllowThreads();
30621 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
30622
30623 wxPyEndAllowThreads(__tstate);
30624 if (PyErr_Occurred()) SWIG_fail;
30625 }
30626 {
30627 resultobj = wxPyMake_wxObject(result);
30628 }
30629 return resultobj;
30630 fail:
30631 return NULL;
30632}
30633
30634
30635static PyObject *_wrap_Menu_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
30636 PyObject *resultobj;
30637 wxMenu *arg1 = (wxMenu *) 0 ;
30638 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
30639 PyObject * obj0 = 0 ;
30640 PyObject * obj1 = 0 ;
30641 char *kwnames[] = {
30642 (char *) "self",(char *) "menubar", NULL
30643 };
30644
30645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30648 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBarBase,
30649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30650 {
30651 PyThreadState* __tstate = wxPyBeginAllowThreads();
30652 (arg1)->Attach(arg2);
30653
30654 wxPyEndAllowThreads(__tstate);
30655 if (PyErr_Occurred()) SWIG_fail;
30656 }
30657 Py_INCREF(Py_None); resultobj = Py_None;
30658 return resultobj;
30659 fail:
30660 return NULL;
30661}
30662
30663
30664static PyObject *_wrap_Menu_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
30665 PyObject *resultobj;
30666 wxMenu *arg1 = (wxMenu *) 0 ;
30667 PyObject * obj0 = 0 ;
30668 char *kwnames[] = {
30669 (char *) "self", NULL
30670 };
30671
30672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30675 {
30676 PyThreadState* __tstate = wxPyBeginAllowThreads();
30677 (arg1)->Detach();
30678
30679 wxPyEndAllowThreads(__tstate);
30680 if (PyErr_Occurred()) SWIG_fail;
30681 }
30682 Py_INCREF(Py_None); resultobj = Py_None;
30683 return resultobj;
30684 fail:
30685 return NULL;
30686}
30687
30688
30689static PyObject *_wrap_Menu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
30690 PyObject *resultobj;
30691 wxMenu *arg1 = (wxMenu *) 0 ;
30692 bool result;
30693 PyObject * obj0 = 0 ;
30694 char *kwnames[] = {
30695 (char *) "self", NULL
30696 };
30697
30698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30701 {
30702 PyThreadState* __tstate = wxPyBeginAllowThreads();
30703 result = (bool)((wxMenu const *)arg1)->IsAttached();
30704
30705 wxPyEndAllowThreads(__tstate);
30706 if (PyErr_Occurred()) SWIG_fail;
30707 }
4f89f6a3
RD
30708 {
30709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30710 }
d14a1e28
RD
30711 return resultobj;
30712 fail:
30713 return NULL;
30714}
30715
30716
30717static PyObject *_wrap_Menu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
30718 PyObject *resultobj;
30719 wxMenu *arg1 = (wxMenu *) 0 ;
30720 wxMenu *arg2 = (wxMenu *) 0 ;
30721 PyObject * obj0 = 0 ;
30722 PyObject * obj1 = 0 ;
30723 char *kwnames[] = {
30724 (char *) "self",(char *) "parent", NULL
30725 };
30726
30727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30730 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
30731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30732 {
30733 PyThreadState* __tstate = wxPyBeginAllowThreads();
30734 (arg1)->SetParent(arg2);
30735
30736 wxPyEndAllowThreads(__tstate);
30737 if (PyErr_Occurred()) SWIG_fail;
30738 }
30739 Py_INCREF(Py_None); resultobj = Py_None;
30740 return resultobj;
30741 fail:
30742 return NULL;
30743}
30744
30745
30746static PyObject *_wrap_Menu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
30747 PyObject *resultobj;
30748 wxMenu *arg1 = (wxMenu *) 0 ;
30749 wxMenu *result;
30750 PyObject * obj0 = 0 ;
30751 char *kwnames[] = {
30752 (char *) "self", NULL
30753 };
30754
30755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30758 {
30759 PyThreadState* __tstate = wxPyBeginAllowThreads();
30760 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
30761
30762 wxPyEndAllowThreads(__tstate);
30763 if (PyErr_Occurred()) SWIG_fail;
30764 }
30765 {
30766 resultobj = wxPyMake_wxObject(result);
30767 }
30768 return resultobj;
30769 fail:
30770 return NULL;
30771}
30772
30773
30774static PyObject * Menu_swigregister(PyObject *self, PyObject *args) {
30775 PyObject *obj;
30776 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30777 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
30778 Py_INCREF(obj);
30779 return Py_BuildValue((char *)"");
30780}
30781static PyObject *_wrap_new_MenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
30782 PyObject *resultobj;
30783 long arg1 = (long) 0 ;
30784 wxMenuBar *result;
8edf1c75 30785 PyObject * obj0 = 0 ;
d14a1e28
RD
30786 char *kwnames[] = {
30787 (char *) "style", NULL
30788 };
30789
8edf1c75
RD
30790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MenuBar",kwnames,&obj0)) goto fail;
30791 if (obj0) {
2f4c0a16
RD
30792 arg1 = (long) SWIG_AsLong(obj0);
30793 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30794 }
d14a1e28
RD
30795 {
30796 PyThreadState* __tstate = wxPyBeginAllowThreads();
30797 result = (wxMenuBar *)new wxMenuBar(arg1);
30798
30799 wxPyEndAllowThreads(__tstate);
30800 if (PyErr_Occurred()) SWIG_fail;
30801 }
30802 {
30803 resultobj = wxPyMake_wxObject(result);
30804 }
30805 return resultobj;
30806 fail:
30807 return NULL;
30808}
30809
30810
30811static PyObject *_wrap_MenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
30812 PyObject *resultobj;
30813 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30814 wxMenu *arg2 = (wxMenu *) 0 ;
30815 wxString *arg3 = 0 ;
30816 bool result;
423f194a 30817 bool temp3 = False ;
d14a1e28
RD
30818 PyObject * obj0 = 0 ;
30819 PyObject * obj1 = 0 ;
30820 PyObject * obj2 = 0 ;
30821 char *kwnames[] = {
30822 (char *) "self",(char *) "menu",(char *) "title", NULL
30823 };
30824
30825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30828 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
30829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30830 {
30831 arg3 = wxString_in_helper(obj2);
30832 if (arg3 == NULL) SWIG_fail;
423f194a 30833 temp3 = True;
d14a1e28
RD
30834 }
30835 {
30836 PyThreadState* __tstate = wxPyBeginAllowThreads();
30837 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
30838
30839 wxPyEndAllowThreads(__tstate);
30840 if (PyErr_Occurred()) SWIG_fail;
30841 }
4f89f6a3
RD
30842 {
30843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30844 }
d14a1e28
RD
30845 {
30846 if (temp3)
30847 delete arg3;
30848 }
30849 return resultobj;
30850 fail:
30851 {
30852 if (temp3)
30853 delete arg3;
30854 }
30855 return NULL;
30856}
30857
30858
30859static PyObject *_wrap_MenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
30860 PyObject *resultobj;
30861 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30862 size_t arg2 ;
30863 wxMenu *arg3 = (wxMenu *) 0 ;
30864 wxString *arg4 = 0 ;
30865 bool result;
423f194a 30866 bool temp4 = False ;
d14a1e28
RD
30867 PyObject * obj0 = 0 ;
30868 PyObject * obj1 = 0 ;
30869 PyObject * obj2 = 0 ;
30870 PyObject * obj3 = 0 ;
30871 char *kwnames[] = {
30872 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30873 };
30874
30875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
30876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30878 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30879 if (PyErr_Occurred()) SWIG_fail;
30880 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
30881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30882 {
30883 arg4 = wxString_in_helper(obj3);
30884 if (arg4 == NULL) SWIG_fail;
423f194a 30885 temp4 = True;
d14a1e28
RD
30886 }
30887 {
30888 PyThreadState* __tstate = wxPyBeginAllowThreads();
30889 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
30890
30891 wxPyEndAllowThreads(__tstate);
30892 if (PyErr_Occurred()) SWIG_fail;
30893 }
4f89f6a3
RD
30894 {
30895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30896 }
d14a1e28
RD
30897 {
30898 if (temp4)
30899 delete arg4;
30900 }
30901 return resultobj;
30902 fail:
30903 {
30904 if (temp4)
30905 delete arg4;
30906 }
30907 return NULL;
30908}
30909
30910
30911static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
30912 PyObject *resultobj;
30913 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30914 size_t result;
30915 PyObject * obj0 = 0 ;
30916 char *kwnames[] = {
30917 (char *) "self", NULL
30918 };
30919
30920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30923 {
30924 PyThreadState* __tstate = wxPyBeginAllowThreads();
30925 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
30926
30927 wxPyEndAllowThreads(__tstate);
30928 if (PyErr_Occurred()) SWIG_fail;
30929 }
2f4c0a16 30930 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
30931 return resultobj;
30932 fail:
30933 return NULL;
30934}
30935
30936
30937static PyObject *_wrap_MenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
30938 PyObject *resultobj;
30939 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30940 size_t arg2 ;
30941 wxMenu *result;
30942 PyObject * obj0 = 0 ;
30943 PyObject * obj1 = 0 ;
30944 char *kwnames[] = {
30945 (char *) "self",(char *) "pos", NULL
30946 };
30947
30948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30951 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30952 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30953 {
30954 PyThreadState* __tstate = wxPyBeginAllowThreads();
30955 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
30956
30957 wxPyEndAllowThreads(__tstate);
30958 if (PyErr_Occurred()) SWIG_fail;
30959 }
30960 {
30961 resultobj = wxPyMake_wxObject(result);
30962 }
30963 return resultobj;
30964 fail:
30965 return NULL;
30966}
30967
30968
30969static PyObject *_wrap_MenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
30970 PyObject *resultobj;
30971 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30972 size_t arg2 ;
30973 wxMenu *arg3 = (wxMenu *) 0 ;
30974 wxString *arg4 = 0 ;
30975 wxMenu *result;
423f194a 30976 bool temp4 = False ;
d14a1e28
RD
30977 PyObject * obj0 = 0 ;
30978 PyObject * obj1 = 0 ;
30979 PyObject * obj2 = 0 ;
30980 PyObject * obj3 = 0 ;
30981 char *kwnames[] = {
30982 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30983 };
30984
30985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
30986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30988 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30989 if (PyErr_Occurred()) SWIG_fail;
30990 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
30991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30992 {
30993 arg4 = wxString_in_helper(obj3);
30994 if (arg4 == NULL) SWIG_fail;
423f194a 30995 temp4 = True;
d14a1e28
RD
30996 }
30997 {
30998 PyThreadState* __tstate = wxPyBeginAllowThreads();
30999 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
31000
31001 wxPyEndAllowThreads(__tstate);
31002 if (PyErr_Occurred()) SWIG_fail;
31003 }
31004 {
31005 resultobj = wxPyMake_wxObject(result);
31006 }
31007 {
31008 if (temp4)
31009 delete arg4;
31010 }
31011 return resultobj;
31012 fail:
31013 {
31014 if (temp4)
31015 delete arg4;
31016 }
31017 return NULL;
31018}
31019
31020
31021static PyObject *_wrap_MenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
31022 PyObject *resultobj;
31023 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31024 size_t arg2 ;
31025 wxMenu *result;
31026 PyObject * obj0 = 0 ;
31027 PyObject * obj1 = 0 ;
31028 char *kwnames[] = {
31029 (char *) "self",(char *) "pos", NULL
31030 };
31031
31032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31035 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31036 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31037 {
31038 PyThreadState* __tstate = wxPyBeginAllowThreads();
31039 result = (wxMenu *)(arg1)->Remove(arg2);
31040
31041 wxPyEndAllowThreads(__tstate);
31042 if (PyErr_Occurred()) SWIG_fail;
31043 }
31044 {
31045 resultobj = wxPyMake_wxObject(result);
31046 }
31047 return resultobj;
31048 fail:
31049 return NULL;
31050}
31051
31052
31053static PyObject *_wrap_MenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
31054 PyObject *resultobj;
31055 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31056 size_t arg2 ;
31057 bool arg3 ;
31058 PyObject * obj0 = 0 ;
31059 PyObject * obj1 = 0 ;
31060 PyObject * obj2 = 0 ;
31061 char *kwnames[] = {
31062 (char *) "self",(char *) "pos",(char *) "enable", NULL
31063 };
31064
31065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
31066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31068 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31069 if (PyErr_Occurred()) SWIG_fail;
31070 arg3 = (bool) SWIG_AsBool(obj2);
31071 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31072 {
31073 PyThreadState* __tstate = wxPyBeginAllowThreads();
31074 (arg1)->EnableTop(arg2,arg3);
31075
31076 wxPyEndAllowThreads(__tstate);
31077 if (PyErr_Occurred()) SWIG_fail;
31078 }
31079 Py_INCREF(Py_None); resultobj = Py_None;
31080 return resultobj;
31081 fail:
31082 return NULL;
31083}
31084
31085
31086static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *self, PyObject *args, PyObject *kwargs) {
31087 PyObject *resultobj;
31088 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31089 size_t arg2 ;
31090 bool result;
31091 PyObject * obj0 = 0 ;
31092 PyObject * obj1 = 0 ;
31093 char *kwnames[] = {
31094 (char *) "self",(char *) "pos", NULL
31095 };
31096
31097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31100 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31101 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31102 {
31103 PyThreadState* __tstate = wxPyBeginAllowThreads();
31104 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
31105
31106 wxPyEndAllowThreads(__tstate);
31107 if (PyErr_Occurred()) SWIG_fail;
31108 }
4f89f6a3
RD
31109 {
31110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31111 }
d14a1e28
RD
31112 return resultobj;
31113 fail:
31114 return NULL;
31115}
31116
31117
31118static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
31119 PyObject *resultobj;
31120 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31121 size_t arg2 ;
31122 wxString *arg3 = 0 ;
423f194a 31123 bool temp3 = False ;
d14a1e28
RD
31124 PyObject * obj0 = 0 ;
31125 PyObject * obj1 = 0 ;
31126 PyObject * obj2 = 0 ;
31127 char *kwnames[] = {
31128 (char *) "self",(char *) "pos",(char *) "label", NULL
31129 };
31130
31131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
31132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31134 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31135 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31136 {
31137 arg3 = wxString_in_helper(obj2);
31138 if (arg3 == NULL) SWIG_fail;
423f194a 31139 temp3 = True;
d14a1e28
RD
31140 }
31141 {
31142 PyThreadState* __tstate = wxPyBeginAllowThreads();
31143 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
31144
31145 wxPyEndAllowThreads(__tstate);
31146 if (PyErr_Occurred()) SWIG_fail;
31147 }
31148 Py_INCREF(Py_None); resultobj = Py_None;
31149 {
31150 if (temp3)
31151 delete arg3;
31152 }
31153 return resultobj;
31154 fail:
31155 {
31156 if (temp3)
31157 delete arg3;
31158 }
31159 return NULL;
31160}
31161
31162
31163static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
31164 PyObject *resultobj;
31165 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31166 size_t arg2 ;
31167 wxString result;
31168 PyObject * obj0 = 0 ;
31169 PyObject * obj1 = 0 ;
31170 char *kwnames[] = {
31171 (char *) "self",(char *) "pos", NULL
31172 };
31173
31174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31177 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31178 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31179 {
31180 PyThreadState* __tstate = wxPyBeginAllowThreads();
31181 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
31182
31183 wxPyEndAllowThreads(__tstate);
31184 if (PyErr_Occurred()) SWIG_fail;
31185 }
31186 {
31187#if wxUSE_UNICODE
31188 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31189#else
31190 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31191#endif
31192 }
31193 return resultobj;
31194 fail:
31195 return NULL;
31196}
31197
31198
31199static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
31200 PyObject *resultobj;
31201 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31202 wxString *arg2 = 0 ;
31203 wxString *arg3 = 0 ;
31204 int result;
423f194a
RD
31205 bool temp2 = False ;
31206 bool temp3 = False ;
d14a1e28
RD
31207 PyObject * obj0 = 0 ;
31208 PyObject * obj1 = 0 ;
31209 PyObject * obj2 = 0 ;
31210 char *kwnames[] = {
31211 (char *) "self",(char *) "menu",(char *) "item", NULL
31212 };
31213
31214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
31215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31217 {
31218 arg2 = wxString_in_helper(obj1);
31219 if (arg2 == NULL) SWIG_fail;
423f194a 31220 temp2 = True;
d14a1e28
RD
31221 }
31222 {
31223 arg3 = wxString_in_helper(obj2);
31224 if (arg3 == NULL) SWIG_fail;
423f194a 31225 temp3 = True;
d14a1e28
RD
31226 }
31227 {
31228 PyThreadState* __tstate = wxPyBeginAllowThreads();
31229 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
31230
31231 wxPyEndAllowThreads(__tstate);
31232 if (PyErr_Occurred()) SWIG_fail;
31233 }
2f4c0a16 31234 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31235 {
31236 if (temp2)
31237 delete arg2;
31238 }
31239 {
31240 if (temp3)
31241 delete arg3;
31242 }
31243 return resultobj;
31244 fail:
31245 {
31246 if (temp2)
31247 delete arg2;
31248 }
31249 {
31250 if (temp3)
31251 delete arg3;
31252 }
31253 return NULL;
31254}
31255
31256
31257static PyObject *_wrap_MenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
31258 PyObject *resultobj;
31259 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31260 int arg2 ;
31261 wxMenuItem *result;
31262 PyObject * obj0 = 0 ;
8edf1c75 31263 PyObject * obj1 = 0 ;
d14a1e28 31264 char *kwnames[] = {
f0983263 31265 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31266 };
31267
8edf1c75 31268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindItemById",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31271 arg2 = (int) SWIG_AsInt(obj1);
31272 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31273 {
31274 PyThreadState* __tstate = wxPyBeginAllowThreads();
31275 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
31276
31277 wxPyEndAllowThreads(__tstate);
31278 if (PyErr_Occurred()) SWIG_fail;
31279 }
31280 {
31281 resultobj = wxPyMake_wxObject(result);
31282 }
31283 return resultobj;
31284 fail:
31285 return NULL;
31286}
31287
31288
31289static PyObject *_wrap_MenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31290 PyObject *resultobj;
31291 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31292 wxString *arg2 = 0 ;
31293 int result;
423f194a 31294 bool temp2 = False ;
d14a1e28
RD
31295 PyObject * obj0 = 0 ;
31296 PyObject * obj1 = 0 ;
31297 char *kwnames[] = {
31298 (char *) "self",(char *) "title", NULL
31299 };
31300
31301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31304 {
31305 arg2 = wxString_in_helper(obj1);
31306 if (arg2 == NULL) SWIG_fail;
423f194a 31307 temp2 = True;
d14a1e28
RD
31308 }
31309 {
31310 PyThreadState* __tstate = wxPyBeginAllowThreads();
31311 result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2);
31312
31313 wxPyEndAllowThreads(__tstate);
31314 if (PyErr_Occurred()) SWIG_fail;
31315 }
2f4c0a16 31316 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31317 {
31318 if (temp2)
31319 delete arg2;
31320 }
31321 return resultobj;
31322 fail:
31323 {
31324 if (temp2)
31325 delete arg2;
31326 }
31327 return NULL;
31328}
31329
31330
31331static PyObject *_wrap_MenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
31332 PyObject *resultobj;
31333 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31334 int arg2 ;
31335 bool arg3 ;
31336 PyObject * obj0 = 0 ;
8edf1c75 31337 PyObject * obj1 = 0 ;
d14a1e28
RD
31338 PyObject * obj2 = 0 ;
31339 char *kwnames[] = {
f0983263 31340 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
31341 };
31342
8edf1c75 31343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
31344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31346 arg2 = (int) SWIG_AsInt(obj1);
31347 if (PyErr_Occurred()) SWIG_fail;
31348 arg3 = (bool) SWIG_AsBool(obj2);
31349 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31350 {
31351 PyThreadState* __tstate = wxPyBeginAllowThreads();
31352 (arg1)->Enable(arg2,arg3);
31353
31354 wxPyEndAllowThreads(__tstate);
31355 if (PyErr_Occurred()) SWIG_fail;
31356 }
31357 Py_INCREF(Py_None); resultobj = Py_None;
31358 return resultobj;
31359 fail:
31360 return NULL;
31361}
31362
31363
31364static PyObject *_wrap_MenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
31365 PyObject *resultobj;
31366 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31367 int arg2 ;
31368 bool arg3 ;
31369 PyObject * obj0 = 0 ;
8edf1c75 31370 PyObject * obj1 = 0 ;
d14a1e28
RD
31371 PyObject * obj2 = 0 ;
31372 char *kwnames[] = {
f0983263 31373 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
31374 };
31375
8edf1c75 31376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
31377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31379 arg2 = (int) SWIG_AsInt(obj1);
31380 if (PyErr_Occurred()) SWIG_fail;
31381 arg3 = (bool) SWIG_AsBool(obj2);
31382 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31383 {
31384 PyThreadState* __tstate = wxPyBeginAllowThreads();
31385 (arg1)->Check(arg2,arg3);
31386
31387 wxPyEndAllowThreads(__tstate);
31388 if (PyErr_Occurred()) SWIG_fail;
31389 }
31390 Py_INCREF(Py_None); resultobj = Py_None;
31391 return resultobj;
31392 fail:
31393 return NULL;
31394}
31395
31396
31397static PyObject *_wrap_MenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
31398 PyObject *resultobj;
31399 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31400 int arg2 ;
31401 bool result;
31402 PyObject * obj0 = 0 ;
8edf1c75 31403 PyObject * obj1 = 0 ;
d14a1e28 31404 char *kwnames[] = {
f0983263 31405 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31406 };
31407
8edf1c75 31408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsChecked",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31411 arg2 = (int) SWIG_AsInt(obj1);
31412 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31413 {
31414 PyThreadState* __tstate = wxPyBeginAllowThreads();
31415 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
31416
31417 wxPyEndAllowThreads(__tstate);
31418 if (PyErr_Occurred()) SWIG_fail;
31419 }
4f89f6a3
RD
31420 {
31421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31422 }
d14a1e28
RD
31423 return resultobj;
31424 fail:
31425 return NULL;
31426}
31427
31428
31429static PyObject *_wrap_MenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
31430 PyObject *resultobj;
31431 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31432 int arg2 ;
31433 bool result;
31434 PyObject * obj0 = 0 ;
8edf1c75 31435 PyObject * obj1 = 0 ;
d14a1e28 31436 char *kwnames[] = {
f0983263 31437 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31438 };
31439
8edf1c75 31440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31443 arg2 = (int) SWIG_AsInt(obj1);
31444 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31445 {
31446 PyThreadState* __tstate = wxPyBeginAllowThreads();
31447 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
31448
31449 wxPyEndAllowThreads(__tstate);
31450 if (PyErr_Occurred()) SWIG_fail;
31451 }
4f89f6a3
RD
31452 {
31453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31454 }
d14a1e28
RD
31455 return resultobj;
31456 fail:
31457 return NULL;
31458}
31459
31460
31461static PyObject *_wrap_MenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
31462 PyObject *resultobj;
31463 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31464 int arg2 ;
31465 wxString *arg3 = 0 ;
423f194a 31466 bool temp3 = False ;
d14a1e28 31467 PyObject * obj0 = 0 ;
8edf1c75 31468 PyObject * obj1 = 0 ;
d14a1e28
RD
31469 PyObject * obj2 = 0 ;
31470 char *kwnames[] = {
f0983263 31471 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
31472 };
31473
8edf1c75 31474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
31475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31477 arg2 = (int) SWIG_AsInt(obj1);
31478 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31479 {
31480 arg3 = wxString_in_helper(obj2);
31481 if (arg3 == NULL) SWIG_fail;
423f194a 31482 temp3 = True;
d14a1e28
RD
31483 }
31484 {
31485 PyThreadState* __tstate = wxPyBeginAllowThreads();
31486 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
31487
31488 wxPyEndAllowThreads(__tstate);
31489 if (PyErr_Occurred()) SWIG_fail;
31490 }
31491 Py_INCREF(Py_None); resultobj = Py_None;
31492 {
31493 if (temp3)
31494 delete arg3;
31495 }
31496 return resultobj;
31497 fail:
31498 {
31499 if (temp3)
31500 delete arg3;
31501 }
31502 return NULL;
31503}
31504
31505
31506static PyObject *_wrap_MenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
31507 PyObject *resultobj;
31508 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31509 int arg2 ;
31510 wxString result;
31511 PyObject * obj0 = 0 ;
8edf1c75 31512 PyObject * obj1 = 0 ;
d14a1e28 31513 char *kwnames[] = {
f0983263 31514 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31515 };
31516
8edf1c75 31517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31520 arg2 = (int) SWIG_AsInt(obj1);
31521 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31522 {
31523 PyThreadState* __tstate = wxPyBeginAllowThreads();
31524 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
31525
31526 wxPyEndAllowThreads(__tstate);
31527 if (PyErr_Occurred()) SWIG_fail;
31528 }
31529 {
31530#if wxUSE_UNICODE
31531 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31532#else
31533 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31534#endif
31535 }
31536 return resultobj;
31537 fail:
31538 return NULL;
31539}
31540
31541
31542static PyObject *_wrap_MenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
31543 PyObject *resultobj;
31544 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31545 int arg2 ;
31546 wxString *arg3 = 0 ;
423f194a 31547 bool temp3 = False ;
d14a1e28 31548 PyObject * obj0 = 0 ;
8edf1c75 31549 PyObject * obj1 = 0 ;
d14a1e28
RD
31550 PyObject * obj2 = 0 ;
31551 char *kwnames[] = {
f0983263 31552 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
31553 };
31554
8edf1c75 31555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
31556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31558 arg2 = (int) SWIG_AsInt(obj1);
31559 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31560 {
31561 arg3 = wxString_in_helper(obj2);
31562 if (arg3 == NULL) SWIG_fail;
423f194a 31563 temp3 = True;
d14a1e28
RD
31564 }
31565 {
31566 PyThreadState* __tstate = wxPyBeginAllowThreads();
31567 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
31568
31569 wxPyEndAllowThreads(__tstate);
31570 if (PyErr_Occurred()) SWIG_fail;
31571 }
31572 Py_INCREF(Py_None); resultobj = Py_None;
31573 {
31574 if (temp3)
31575 delete arg3;
31576 }
31577 return resultobj;
31578 fail:
31579 {
31580 if (temp3)
31581 delete arg3;
31582 }
31583 return NULL;
31584}
31585
31586
31587static PyObject *_wrap_MenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
31588 PyObject *resultobj;
31589 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31590 int arg2 ;
31591 wxString result;
31592 PyObject * obj0 = 0 ;
8edf1c75 31593 PyObject * obj1 = 0 ;
d14a1e28 31594 char *kwnames[] = {
f0983263 31595 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31596 };
31597
8edf1c75 31598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31601 arg2 = (int) SWIG_AsInt(obj1);
31602 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31603 {
31604 PyThreadState* __tstate = wxPyBeginAllowThreads();
31605 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
31606
31607 wxPyEndAllowThreads(__tstate);
31608 if (PyErr_Occurred()) SWIG_fail;
31609 }
31610 {
31611#if wxUSE_UNICODE
31612 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31613#else
31614 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31615#endif
31616 }
31617 return resultobj;
31618 fail:
31619 return NULL;
31620}
31621
31622
31623static PyObject *_wrap_MenuBar_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
31624 PyObject *resultobj;
31625 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31626 wxFrame *result;
31627 PyObject * obj0 = 0 ;
31628 char *kwnames[] = {
31629 (char *) "self", NULL
31630 };
31631
31632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31635 {
31636 PyThreadState* __tstate = wxPyBeginAllowThreads();
31637 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
31638
31639 wxPyEndAllowThreads(__tstate);
31640 if (PyErr_Occurred()) SWIG_fail;
31641 }
31642 {
31643 resultobj = wxPyMake_wxObject(result);
31644 }
31645 return resultobj;
31646 fail:
31647 return NULL;
31648}
31649
31650
31651static PyObject *_wrap_MenuBar_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
31652 PyObject *resultobj;
31653 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31654 bool result;
31655 PyObject * obj0 = 0 ;
31656 char *kwnames[] = {
31657 (char *) "self", NULL
31658 };
31659
31660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31663 {
31664 PyThreadState* __tstate = wxPyBeginAllowThreads();
31665 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
31666
31667 wxPyEndAllowThreads(__tstate);
31668 if (PyErr_Occurred()) SWIG_fail;
31669 }
4f89f6a3
RD
31670 {
31671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31672 }
d14a1e28
RD
31673 return resultobj;
31674 fail:
31675 return NULL;
31676}
31677
31678
31679static PyObject *_wrap_MenuBar_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
31680 PyObject *resultobj;
31681 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31682 wxFrame *arg2 = (wxFrame *) 0 ;
31683 PyObject * obj0 = 0 ;
31684 PyObject * obj1 = 0 ;
31685 char *kwnames[] = {
31686 (char *) "self",(char *) "frame", NULL
31687 };
31688
31689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31692 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
31693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31694 {
31695 PyThreadState* __tstate = wxPyBeginAllowThreads();
31696 (arg1)->Attach(arg2);
31697
31698 wxPyEndAllowThreads(__tstate);
31699 if (PyErr_Occurred()) SWIG_fail;
31700 }
31701 Py_INCREF(Py_None); resultobj = Py_None;
31702 return resultobj;
31703 fail:
31704 return NULL;
31705}
31706
31707
31708static PyObject *_wrap_MenuBar_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
31709 PyObject *resultobj;
31710 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31711 PyObject * obj0 = 0 ;
31712 char *kwnames[] = {
31713 (char *) "self", NULL
31714 };
31715
31716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31719 {
31720 PyThreadState* __tstate = wxPyBeginAllowThreads();
31721 (arg1)->Detach();
31722
31723 wxPyEndAllowThreads(__tstate);
31724 if (PyErr_Occurred()) SWIG_fail;
31725 }
31726 Py_INCREF(Py_None); resultobj = Py_None;
31727 return resultobj;
31728 fail:
31729 return NULL;
31730}
31731
31732
31733static PyObject * MenuBar_swigregister(PyObject *self, PyObject *args) {
31734 PyObject *obj;
31735 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31736 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
31737 Py_INCREF(obj);
31738 return Py_BuildValue((char *)"");
31739}
31740static PyObject *_wrap_new_MenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
31741 PyObject *resultobj;
31742 wxMenu *arg1 = (wxMenu *) NULL ;
31743 int arg2 = (int) wxID_SEPARATOR ;
31744 wxString const &arg3_defvalue = wxPyEmptyString ;
31745 wxString *arg3 = (wxString *) &arg3_defvalue ;
31746 wxString const &arg4_defvalue = wxPyEmptyString ;
31747 wxString *arg4 = (wxString *) &arg4_defvalue ;
31748 int arg5 = (int) wxITEM_NORMAL ;
31749 wxMenu *arg6 = (wxMenu *) NULL ;
31750 wxMenuItem *result;
423f194a
RD
31751 bool temp3 = False ;
31752 bool temp4 = False ;
d14a1e28 31753 PyObject * obj0 = 0 ;
8edf1c75 31754 PyObject * obj1 = 0 ;
d14a1e28
RD
31755 PyObject * obj2 = 0 ;
31756 PyObject * obj3 = 0 ;
8edf1c75 31757 PyObject * obj4 = 0 ;
d14a1e28
RD
31758 PyObject * obj5 = 0 ;
31759 char *kwnames[] = {
31760 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31761 };
31762
8edf1c75 31763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_MenuItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 31764 if (obj0) {
2f4c0a16
RD
31765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 31767 }
8edf1c75 31768 if (obj1) {
2f4c0a16
RD
31769 arg2 = (int) SWIG_AsInt(obj1);
31770 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 31771 }
d14a1e28
RD
31772 if (obj2) {
31773 {
31774 arg3 = wxString_in_helper(obj2);
31775 if (arg3 == NULL) SWIG_fail;
423f194a 31776 temp3 = True;
d14a1e28
RD
31777 }
31778 }
31779 if (obj3) {
31780 {
31781 arg4 = wxString_in_helper(obj3);
31782 if (arg4 == NULL) SWIG_fail;
423f194a 31783 temp4 = True;
d14a1e28
RD
31784 }
31785 }
8edf1c75 31786 if (obj4) {
2f4c0a16
RD
31787 arg5 = (wxItemKind) SWIG_AsInt(obj4);
31788 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 31789 }
d14a1e28 31790 if (obj5) {
2f4c0a16
RD
31791 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxMenu,
31792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31793 }
31794 {
31795 PyThreadState* __tstate = wxPyBeginAllowThreads();
31796 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
31797
31798 wxPyEndAllowThreads(__tstate);
31799 if (PyErr_Occurred()) SWIG_fail;
31800 }
31801 {
31802 resultobj = wxPyMake_wxObject(result);
31803 }
31804 {
31805 if (temp3)
31806 delete arg3;
31807 }
31808 {
31809 if (temp4)
31810 delete arg4;
31811 }
31812 return resultobj;
31813 fail:
31814 {
31815 if (temp3)
31816 delete arg3;
31817 }
31818 {
31819 if (temp4)
31820 delete arg4;
31821 }
31822 return NULL;
31823}
31824
31825
31826static PyObject *_wrap_MenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31827 PyObject *resultobj;
31828 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31829 wxMenu *result;
31830 PyObject * obj0 = 0 ;
31831 char *kwnames[] = {
31832 (char *) "self", NULL
31833 };
31834
31835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31838 {
31839 PyThreadState* __tstate = wxPyBeginAllowThreads();
31840 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
31841
31842 wxPyEndAllowThreads(__tstate);
31843 if (PyErr_Occurred()) SWIG_fail;
31844 }
31845 {
31846 resultobj = wxPyMake_wxObject(result);
31847 }
31848 return resultobj;
31849 fail:
31850 return NULL;
31851}
31852
31853
31854static PyObject *_wrap_MenuItem_SetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31855 PyObject *resultobj;
31856 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31857 wxMenu *arg2 = (wxMenu *) 0 ;
31858 PyObject * obj0 = 0 ;
31859 PyObject * obj1 = 0 ;
31860 char *kwnames[] = {
31861 (char *) "self",(char *) "menu", NULL
31862 };
31863
31864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31867 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
31868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31869 {
31870 PyThreadState* __tstate = wxPyBeginAllowThreads();
31871 (arg1)->SetMenu(arg2);
31872
31873 wxPyEndAllowThreads(__tstate);
31874 if (PyErr_Occurred()) SWIG_fail;
31875 }
31876 Py_INCREF(Py_None); resultobj = Py_None;
31877 return resultobj;
31878 fail:
31879 return NULL;
31880}
31881
31882
31883static PyObject *_wrap_MenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
31884 PyObject *resultobj;
31885 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31886 int arg2 ;
31887 PyObject * obj0 = 0 ;
8edf1c75 31888 PyObject * obj1 = 0 ;
d14a1e28 31889 char *kwnames[] = {
f0983263 31890 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31891 };
31892
8edf1c75 31893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31896 arg2 = (int) SWIG_AsInt(obj1);
31897 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31898 {
31899 PyThreadState* __tstate = wxPyBeginAllowThreads();
31900 (arg1)->SetId(arg2);
31901
31902 wxPyEndAllowThreads(__tstate);
31903 if (PyErr_Occurred()) SWIG_fail;
31904 }
31905 Py_INCREF(Py_None); resultobj = Py_None;
31906 return resultobj;
31907 fail:
31908 return NULL;
31909}
31910
31911
31912static PyObject *_wrap_MenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
31913 PyObject *resultobj;
31914 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31915 int result;
31916 PyObject * obj0 = 0 ;
31917 char *kwnames[] = {
31918 (char *) "self", NULL
31919 };
31920
31921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31924 {
31925 PyThreadState* __tstate = wxPyBeginAllowThreads();
31926 result = (int)((wxMenuItem const *)arg1)->GetId();
31927
31928 wxPyEndAllowThreads(__tstate);
31929 if (PyErr_Occurred()) SWIG_fail;
31930 }
2f4c0a16 31931 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31932 return resultobj;
31933 fail:
31934 return NULL;
31935}
31936
31937
31938static PyObject *_wrap_MenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
31939 PyObject *resultobj;
31940 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31941 bool result;
31942 PyObject * obj0 = 0 ;
31943 char *kwnames[] = {
31944 (char *) "self", NULL
31945 };
31946
31947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31950 {
31951 PyThreadState* __tstate = wxPyBeginAllowThreads();
31952 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
31953
31954 wxPyEndAllowThreads(__tstate);
31955 if (PyErr_Occurred()) SWIG_fail;
31956 }
4f89f6a3
RD
31957 {
31958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31959 }
d14a1e28
RD
31960 return resultobj;
31961 fail:
31962 return NULL;
31963}
31964
31965
31966static PyObject *_wrap_MenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
31967 PyObject *resultobj;
31968 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31969 wxString *arg2 = 0 ;
423f194a 31970 bool temp2 = False ;
d14a1e28
RD
31971 PyObject * obj0 = 0 ;
31972 PyObject * obj1 = 0 ;
31973 char *kwnames[] = {
31974 (char *) "self",(char *) "str", NULL
31975 };
31976
31977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31980 {
31981 arg2 = wxString_in_helper(obj1);
31982 if (arg2 == NULL) SWIG_fail;
423f194a 31983 temp2 = True;
d14a1e28
RD
31984 }
31985 {
31986 PyThreadState* __tstate = wxPyBeginAllowThreads();
31987 (arg1)->SetText((wxString const &)*arg2);
31988
31989 wxPyEndAllowThreads(__tstate);
31990 if (PyErr_Occurred()) SWIG_fail;
31991 }
31992 Py_INCREF(Py_None); resultobj = Py_None;
31993 {
31994 if (temp2)
31995 delete arg2;
31996 }
31997 return resultobj;
31998 fail:
31999 {
32000 if (temp2)
32001 delete arg2;
32002 }
32003 return NULL;
32004}
32005
32006
32007static PyObject *_wrap_MenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
32008 PyObject *resultobj;
32009 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32010 wxString result;
32011 PyObject * obj0 = 0 ;
32012 char *kwnames[] = {
32013 (char *) "self", NULL
32014 };
32015
32016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32019 {
32020 PyThreadState* __tstate = wxPyBeginAllowThreads();
32021 result = ((wxMenuItem const *)arg1)->GetLabel();
32022
32023 wxPyEndAllowThreads(__tstate);
32024 if (PyErr_Occurred()) SWIG_fail;
32025 }
32026 {
32027#if wxUSE_UNICODE
32028 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32029#else
32030 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32031#endif
32032 }
32033 return resultobj;
32034 fail:
32035 return NULL;
32036}
32037
32038
32039static PyObject *_wrap_MenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
32040 PyObject *resultobj;
32041 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32042 wxString *result;
32043 PyObject * obj0 = 0 ;
32044 char *kwnames[] = {
32045 (char *) "self", NULL
32046 };
32047
32048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32051 {
32052 PyThreadState* __tstate = wxPyBeginAllowThreads();
32053 {
32054 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
32055 result = (wxString *) &_result_ref;
32056 }
32057
32058 wxPyEndAllowThreads(__tstate);
32059 if (PyErr_Occurred()) SWIG_fail;
32060 }
f0983263
RD
32061 {
32062#if wxUSE_UNICODE
32063 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
32064#else
32065 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
32066#endif
32067 }
d14a1e28
RD
32068 return resultobj;
32069 fail:
32070 return NULL;
32071}
32072
32073
32074static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
32075 PyObject *resultobj;
32076 wxString *arg1 = 0 ;
32077 wxString result;
423f194a 32078 bool temp1 = False ;
d14a1e28
RD
32079 PyObject * obj0 = 0 ;
32080 char *kwnames[] = {
32081 (char *) "text", NULL
32082 };
32083
32084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
32085 {
32086 arg1 = wxString_in_helper(obj0);
32087 if (arg1 == NULL) SWIG_fail;
423f194a 32088 temp1 = True;
d14a1e28
RD
32089 }
32090 {
32091 PyThreadState* __tstate = wxPyBeginAllowThreads();
32092 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
32093
32094 wxPyEndAllowThreads(__tstate);
32095 if (PyErr_Occurred()) SWIG_fail;
32096 }
32097 {
32098#if wxUSE_UNICODE
32099 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32100#else
32101 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32102#endif
32103 }
32104 {
32105 if (temp1)
32106 delete arg1;
32107 }
32108 return resultobj;
32109 fail:
32110 {
32111 if (temp1)
32112 delete arg1;
32113 }
32114 return NULL;
32115}
32116
32117
32118static PyObject *_wrap_MenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
32119 PyObject *resultobj;
32120 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32121 int result;
32122 PyObject * obj0 = 0 ;
32123 char *kwnames[] = {
32124 (char *) "self", NULL
32125 };
32126
32127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32130 {
32131 PyThreadState* __tstate = wxPyBeginAllowThreads();
32132 result = (int)((wxMenuItem const *)arg1)->GetKind();
32133
32134 wxPyEndAllowThreads(__tstate);
32135 if (PyErr_Occurred()) SWIG_fail;
32136 }
2f4c0a16 32137 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32138 return resultobj;
32139 fail:
32140 return NULL;
32141}
32142
32143
32144static PyObject *_wrap_MenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
32145 PyObject *resultobj;
32146 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32147 bool arg2 ;
32148 PyObject * obj0 = 0 ;
32149 PyObject * obj1 = 0 ;
32150 char *kwnames[] = {
32151 (char *) "self",(char *) "checkable", NULL
32152 };
32153
32154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32157 arg2 = (bool) SWIG_AsBool(obj1);
32158 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32159 {
32160 PyThreadState* __tstate = wxPyBeginAllowThreads();
32161 (arg1)->SetCheckable(arg2);
32162
32163 wxPyEndAllowThreads(__tstate);
32164 if (PyErr_Occurred()) SWIG_fail;
32165 }
32166 Py_INCREF(Py_None); resultobj = Py_None;
32167 return resultobj;
32168 fail:
32169 return NULL;
32170}
32171
32172
32173static PyObject *_wrap_MenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
32174 PyObject *resultobj;
32175 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32176 bool result;
32177 PyObject * obj0 = 0 ;
32178 char *kwnames[] = {
32179 (char *) "self", NULL
32180 };
32181
32182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32185 {
32186 PyThreadState* __tstate = wxPyBeginAllowThreads();
32187 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
32188
32189 wxPyEndAllowThreads(__tstate);
32190 if (PyErr_Occurred()) SWIG_fail;
32191 }
4f89f6a3
RD
32192 {
32193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32194 }
d14a1e28
RD
32195 return resultobj;
32196 fail:
32197 return NULL;
32198}
32199
32200
32201static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32202 PyObject *resultobj;
32203 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32204 bool result;
32205 PyObject * obj0 = 0 ;
32206 char *kwnames[] = {
32207 (char *) "self", NULL
32208 };
32209
32210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32213 {
32214 PyThreadState* __tstate = wxPyBeginAllowThreads();
32215 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
32216
32217 wxPyEndAllowThreads(__tstate);
32218 if (PyErr_Occurred()) SWIG_fail;
32219 }
4f89f6a3
RD
32220 {
32221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32222 }
d14a1e28
RD
32223 return resultobj;
32224 fail:
32225 return NULL;
32226}
32227
32228
32229static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32230 PyObject *resultobj;
32231 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32232 wxMenu *arg2 = (wxMenu *) 0 ;
32233 PyObject * obj0 = 0 ;
32234 PyObject * obj1 = 0 ;
32235 char *kwnames[] = {
32236 (char *) "self",(char *) "menu", NULL
32237 };
32238
32239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32242 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
32243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32244 {
32245 PyThreadState* __tstate = wxPyBeginAllowThreads();
32246 (arg1)->SetSubMenu(arg2);
32247
32248 wxPyEndAllowThreads(__tstate);
32249 if (PyErr_Occurred()) SWIG_fail;
32250 }
32251 Py_INCREF(Py_None); resultobj = Py_None;
32252 return resultobj;
32253 fail:
32254 return NULL;
32255}
32256
32257
32258static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32259 PyObject *resultobj;
32260 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32261 wxMenu *result;
32262 PyObject * obj0 = 0 ;
32263 char *kwnames[] = {
32264 (char *) "self", NULL
32265 };
32266
32267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32270 {
32271 PyThreadState* __tstate = wxPyBeginAllowThreads();
32272 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
32273
32274 wxPyEndAllowThreads(__tstate);
32275 if (PyErr_Occurred()) SWIG_fail;
32276 }
32277 {
32278 resultobj = wxPyMake_wxObject(result);
32279 }
32280 return resultobj;
32281 fail:
32282 return NULL;
32283}
32284
32285
32286static PyObject *_wrap_MenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
32287 PyObject *resultobj;
32288 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
423f194a 32289 bool arg2 = (bool) True ;
d14a1e28
RD
32290 PyObject * obj0 = 0 ;
32291 PyObject * obj1 = 0 ;
32292 char *kwnames[] = {
32293 (char *) "self",(char *) "enable", NULL
32294 };
32295
32296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 32299 if (obj1) {
2f4c0a16
RD
32300 arg2 = (bool) SWIG_AsBool(obj1);
32301 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32302 }
32303 {
32304 PyThreadState* __tstate = wxPyBeginAllowThreads();
32305 (arg1)->Enable(arg2);
32306
32307 wxPyEndAllowThreads(__tstate);
32308 if (PyErr_Occurred()) SWIG_fail;
32309 }
32310 Py_INCREF(Py_None); resultobj = Py_None;
32311 return resultobj;
32312 fail:
32313 return NULL;
32314}
32315
32316
32317static PyObject *_wrap_MenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
32318 PyObject *resultobj;
32319 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32320 bool result;
32321 PyObject * obj0 = 0 ;
32322 char *kwnames[] = {
32323 (char *) "self", NULL
32324 };
32325
32326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32329 {
32330 PyThreadState* __tstate = wxPyBeginAllowThreads();
32331 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
32332
32333 wxPyEndAllowThreads(__tstate);
32334 if (PyErr_Occurred()) SWIG_fail;
32335 }
4f89f6a3
RD
32336 {
32337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32338 }
d14a1e28
RD
32339 return resultobj;
32340 fail:
32341 return NULL;
32342}
32343
32344
32345static PyObject *_wrap_MenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
32346 PyObject *resultobj;
32347 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
423f194a 32348 bool arg2 = (bool) True ;
d14a1e28
RD
32349 PyObject * obj0 = 0 ;
32350 PyObject * obj1 = 0 ;
32351 char *kwnames[] = {
32352 (char *) "self",(char *) "check", NULL
32353 };
32354
32355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 32358 if (obj1) {
2f4c0a16
RD
32359 arg2 = (bool) SWIG_AsBool(obj1);
32360 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32361 }
32362 {
32363 PyThreadState* __tstate = wxPyBeginAllowThreads();
32364 (arg1)->Check(arg2);
32365
32366 wxPyEndAllowThreads(__tstate);
32367 if (PyErr_Occurred()) SWIG_fail;
32368 }
32369 Py_INCREF(Py_None); resultobj = Py_None;
32370 return resultobj;
32371 fail:
32372 return NULL;
32373}
32374
32375
32376static PyObject *_wrap_MenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
32377 PyObject *resultobj;
32378 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32379 bool result;
32380 PyObject * obj0 = 0 ;
32381 char *kwnames[] = {
32382 (char *) "self", NULL
32383 };
32384
32385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32388 {
32389 PyThreadState* __tstate = wxPyBeginAllowThreads();
32390 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
32391
32392 wxPyEndAllowThreads(__tstate);
32393 if (PyErr_Occurred()) SWIG_fail;
32394 }
4f89f6a3
RD
32395 {
32396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32397 }
d14a1e28
RD
32398 return resultobj;
32399 fail:
32400 return NULL;
32401}
32402
32403
32404static PyObject *_wrap_MenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
32405 PyObject *resultobj;
32406 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32407 PyObject * obj0 = 0 ;
32408 char *kwnames[] = {
32409 (char *) "self", NULL
32410 };
32411
32412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32415 {
32416 PyThreadState* __tstate = wxPyBeginAllowThreads();
32417 (arg1)->Toggle();
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_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
32430 PyObject *resultobj;
32431 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32432 wxString *arg2 = 0 ;
423f194a 32433 bool temp2 = False ;
d14a1e28
RD
32434 PyObject * obj0 = 0 ;
32435 PyObject * obj1 = 0 ;
32436 char *kwnames[] = {
32437 (char *) "self",(char *) "str", NULL
32438 };
32439
32440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32443 {
32444 arg2 = wxString_in_helper(obj1);
32445 if (arg2 == NULL) SWIG_fail;
423f194a 32446 temp2 = True;
d14a1e28
RD
32447 }
32448 {
32449 PyThreadState* __tstate = wxPyBeginAllowThreads();
32450 (arg1)->SetHelp((wxString const &)*arg2);
32451
32452 wxPyEndAllowThreads(__tstate);
32453 if (PyErr_Occurred()) SWIG_fail;
32454 }
32455 Py_INCREF(Py_None); resultobj = Py_None;
32456 {
32457 if (temp2)
32458 delete arg2;
32459 }
32460 return resultobj;
32461 fail:
32462 {
32463 if (temp2)
32464 delete arg2;
32465 }
32466 return NULL;
32467}
32468
32469
32470static PyObject *_wrap_MenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
32471 PyObject *resultobj;
32472 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32473 wxString *result;
32474 PyObject * obj0 = 0 ;
32475 char *kwnames[] = {
32476 (char *) "self", NULL
32477 };
32478
32479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32482 {
32483 PyThreadState* __tstate = wxPyBeginAllowThreads();
32484 {
32485 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
32486 result = (wxString *) &_result_ref;
32487 }
32488
32489 wxPyEndAllowThreads(__tstate);
32490 if (PyErr_Occurred()) SWIG_fail;
32491 }
f0983263
RD
32492 {
32493#if wxUSE_UNICODE
32494 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
32495#else
32496 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
32497#endif
32498 }
d14a1e28
RD
32499 return resultobj;
32500 fail:
32501 return NULL;
32502}
32503
32504
32505static PyObject *_wrap_MenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
32506 PyObject *resultobj;
32507 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32508 wxAcceleratorEntry *result;
32509 PyObject * obj0 = 0 ;
32510 char *kwnames[] = {
32511 (char *) "self", NULL
32512 };
32513
32514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32517 {
32518 PyThreadState* __tstate = wxPyBeginAllowThreads();
32519 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
32520
32521 wxPyEndAllowThreads(__tstate);
32522 if (PyErr_Occurred()) SWIG_fail;
32523 }
2f4c0a16 32524 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
d14a1e28
RD
32525 return resultobj;
32526 fail:
32527 return NULL;
32528}
32529
32530
32531static PyObject *_wrap_MenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
32532 PyObject *resultobj;
32533 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32534 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
32535 PyObject * obj0 = 0 ;
32536 PyObject * obj1 = 0 ;
32537 char *kwnames[] = {
32538 (char *) "self",(char *) "accel", NULL
32539 };
32540
32541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32544 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorEntry,
32545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32546 {
32547 PyThreadState* __tstate = wxPyBeginAllowThreads();
32548 (arg1)->SetAccel(arg2);
32549
32550 wxPyEndAllowThreads(__tstate);
32551 if (PyErr_Occurred()) SWIG_fail;
32552 }
32553 Py_INCREF(Py_None); resultobj = Py_None;
32554 return resultobj;
32555 fail:
32556 return NULL;
32557}
32558
32559
32560static PyObject *_wrap_MenuItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
32561 PyObject *resultobj;
32562 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32563 wxFont *arg2 = 0 ;
32564 PyObject * obj0 = 0 ;
32565 PyObject * obj1 = 0 ;
32566 char *kwnames[] = {
32567 (char *) "self",(char *) "font", NULL
32568 };
32569
32570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32573 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
32574 SWIG_POINTER_EXCEPTION | 0)) == -1)
32575 SWIG_fail;
d14a1e28 32576 if (arg2 == NULL) {
2f4c0a16
RD
32577 PyErr_SetString(PyExc_TypeError,"null reference");
32578 SWIG_fail;
d14a1e28
RD
32579 }
32580 {
32581 PyThreadState* __tstate = wxPyBeginAllowThreads();
32582 (arg1)->SetFont((wxFont const &)*arg2);
32583
32584 wxPyEndAllowThreads(__tstate);
32585 if (PyErr_Occurred()) SWIG_fail;
32586 }
32587 Py_INCREF(Py_None); resultobj = Py_None;
32588 return resultobj;
32589 fail:
32590 return NULL;
32591}
32592
32593
32594static PyObject *_wrap_MenuItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
32595 PyObject *resultobj;
32596 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32597 wxFont result;
32598 PyObject * obj0 = 0 ;
32599 char *kwnames[] = {
32600 (char *) "self", NULL
32601 };
32602
32603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32606 {
32607 PyThreadState* __tstate = wxPyBeginAllowThreads();
32608 result = (arg1)->GetFont();
32609
32610 wxPyEndAllowThreads(__tstate);
32611 if (PyErr_Occurred()) SWIG_fail;
32612 }
32613 {
32614 wxFont * resultptr;
32615 resultptr = new wxFont((wxFont &) result);
2f4c0a16 32616 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
32617 }
32618 return resultobj;
32619 fail:
32620 return NULL;
32621}
32622
32623
32624static PyObject *_wrap_MenuItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
32625 PyObject *resultobj;
32626 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32627 wxColour *arg2 = 0 ;
32628 wxColour temp2 ;
32629 PyObject * obj0 = 0 ;
32630 PyObject * obj1 = 0 ;
32631 char *kwnames[] = {
32632 (char *) "self",(char *) "colText", NULL
32633 };
32634
32635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32638 {
32639 arg2 = &temp2;
32640 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
32641 }
32642 {
32643 PyThreadState* __tstate = wxPyBeginAllowThreads();
32644 (arg1)->SetTextColour((wxColour const &)*arg2);
32645
32646 wxPyEndAllowThreads(__tstate);
32647 if (PyErr_Occurred()) SWIG_fail;
32648 }
32649 Py_INCREF(Py_None); resultobj = Py_None;
32650 return resultobj;
32651 fail:
32652 return NULL;
32653}
32654
32655
32656static PyObject *_wrap_MenuItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
32657 PyObject *resultobj;
32658 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32659 wxColour result;
32660 PyObject * obj0 = 0 ;
32661 char *kwnames[] = {
32662 (char *) "self", NULL
32663 };
32664
32665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetTextColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32668 {
32669 PyThreadState* __tstate = wxPyBeginAllowThreads();
32670 result = (arg1)->GetTextColour();
32671
32672 wxPyEndAllowThreads(__tstate);
32673 if (PyErr_Occurred()) SWIG_fail;
32674 }
32675 {
32676 wxColour * resultptr;
32677 resultptr = new wxColour((wxColour &) result);
2f4c0a16 32678 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
32679 }
32680 return resultobj;
32681 fail:
32682 return NULL;
32683}
32684
32685
32686static PyObject *_wrap_MenuItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
32687 PyObject *resultobj;
32688 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32689 wxColour *arg2 = 0 ;
32690 wxColour temp2 ;
32691 PyObject * obj0 = 0 ;
32692 PyObject * obj1 = 0 ;
32693 char *kwnames[] = {
32694 (char *) "self",(char *) "colBack", NULL
32695 };
32696
32697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32700 {
32701 arg2 = &temp2;
32702 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
32703 }
32704 {
32705 PyThreadState* __tstate = wxPyBeginAllowThreads();
32706 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
32707
32708 wxPyEndAllowThreads(__tstate);
32709 if (PyErr_Occurred()) SWIG_fail;
32710 }
32711 Py_INCREF(Py_None); resultobj = Py_None;
32712 return resultobj;
32713 fail:
32714 return NULL;
32715}
32716
32717
32718static PyObject *_wrap_MenuItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
32719 PyObject *resultobj;
32720 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32721 wxColour result;
32722 PyObject * obj0 = 0 ;
32723 char *kwnames[] = {
32724 (char *) "self", NULL
32725 };
32726
32727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32730 {
32731 PyThreadState* __tstate = wxPyBeginAllowThreads();
32732 result = (arg1)->GetBackgroundColour();
32733
32734 wxPyEndAllowThreads(__tstate);
32735 if (PyErr_Occurred()) SWIG_fail;
32736 }
32737 {
32738 wxColour * resultptr;
32739 resultptr = new wxColour((wxColour &) result);
2f4c0a16 32740 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
32741 }
32742 return resultobj;
32743 fail:
32744 return NULL;
32745}
32746
32747
32748static PyObject *_wrap_MenuItem_SetBitmaps(PyObject *self, PyObject *args, PyObject *kwargs) {
32749 PyObject *resultobj;
32750 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32751 wxBitmap *arg2 = 0 ;
32752 wxBitmap const &arg3_defvalue = wxNullBitmap ;
32753 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
32754 PyObject * obj0 = 0 ;
32755 PyObject * obj1 = 0 ;
32756 PyObject * obj2 = 0 ;
32757 char *kwnames[] = {
32758 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
32759 };
32760
32761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MenuItem_SetBitmaps",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
32762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32764 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
32765 SWIG_POINTER_EXCEPTION | 0)) == -1)
32766 SWIG_fail;
d14a1e28 32767 if (arg2 == NULL) {
2f4c0a16
RD
32768 PyErr_SetString(PyExc_TypeError,"null reference");
32769 SWIG_fail;
d14a1e28
RD
32770 }
32771 if (obj2) {
2f4c0a16
RD
32772 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
32773 SWIG_POINTER_EXCEPTION | 0)) == -1)
32774 SWIG_fail;
d14a1e28 32775 if (arg3 == NULL) {
2f4c0a16
RD
32776 PyErr_SetString(PyExc_TypeError,"null reference");
32777 SWIG_fail;
d14a1e28
RD
32778 }
32779 }
32780 {
32781 PyThreadState* __tstate = wxPyBeginAllowThreads();
32782 (arg1)->SetBitmaps((wxBitmap const &)*arg2,(wxBitmap const &)*arg3);
32783
32784 wxPyEndAllowThreads(__tstate);
32785 if (PyErr_Occurred()) SWIG_fail;
32786 }
32787 Py_INCREF(Py_None); resultobj = Py_None;
32788 return resultobj;
32789 fail:
32790 return NULL;
32791}
32792
32793
32794static PyObject *_wrap_MenuItem_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
32795 PyObject *resultobj;
32796 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32797 wxBitmap *arg2 = 0 ;
32798 PyObject * obj0 = 0 ;
32799 PyObject * obj1 = 0 ;
32800 char *kwnames[] = {
32801 (char *) "self",(char *) "bmpDisabled", NULL
32802 };
32803
32804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32807 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
32808 SWIG_POINTER_EXCEPTION | 0)) == -1)
32809 SWIG_fail;
d14a1e28 32810 if (arg2 == NULL) {
2f4c0a16
RD
32811 PyErr_SetString(PyExc_TypeError,"null reference");
32812 SWIG_fail;
d14a1e28
RD
32813 }
32814 {
32815 PyThreadState* __tstate = wxPyBeginAllowThreads();
32816 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
32817
32818 wxPyEndAllowThreads(__tstate);
32819 if (PyErr_Occurred()) SWIG_fail;
32820 }
32821 Py_INCREF(Py_None); resultobj = Py_None;
32822 return resultobj;
32823 fail:
32824 return NULL;
32825}
32826
32827
32828static PyObject *_wrap_MenuItem_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
32829 PyObject *resultobj;
32830 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32831 wxBitmap *result;
32832 PyObject * obj0 = 0 ;
32833 char *kwnames[] = {
32834 (char *) "self", NULL
32835 };
32836
32837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetDisabledBitmap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32840 {
32841 PyThreadState* __tstate = wxPyBeginAllowThreads();
32842 {
32843 wxBitmap const &_result_ref = ((wxMenuItem const *)arg1)->GetDisabledBitmap();
32844 result = (wxBitmap *) &_result_ref;
32845 }
32846
32847 wxPyEndAllowThreads(__tstate);
32848 if (PyErr_Occurred()) SWIG_fail;
32849 }
fe763115
RD
32850 {
32851 wxBitmap* resultptr = new wxBitmap(*result);
32852 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
32853 }
d14a1e28
RD
32854 return resultobj;
32855 fail:
32856 return NULL;
32857}
32858
32859
32860static PyObject *_wrap_MenuItem_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
32861 PyObject *resultobj;
32862 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32863 int arg2 ;
32864 PyObject * obj0 = 0 ;
8edf1c75 32865 PyObject * obj1 = 0 ;
d14a1e28
RD
32866 char *kwnames[] = {
32867 (char *) "self",(char *) "nWidth", NULL
32868 };
32869
8edf1c75 32870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMarginWidth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32873 arg2 = (int) SWIG_AsInt(obj1);
32874 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32875 {
32876 PyThreadState* __tstate = wxPyBeginAllowThreads();
32877 (arg1)->SetMarginWidth(arg2);
32878
32879 wxPyEndAllowThreads(__tstate);
32880 if (PyErr_Occurred()) SWIG_fail;
32881 }
32882 Py_INCREF(Py_None); resultobj = Py_None;
32883 return resultobj;
32884 fail:
32885 return NULL;
32886}
32887
32888
32889static PyObject *_wrap_MenuItem_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
32890 PyObject *resultobj;
32891 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32892 int result;
32893 PyObject * obj0 = 0 ;
32894 char *kwnames[] = {
32895 (char *) "self", NULL
32896 };
32897
32898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMarginWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32901 {
32902 PyThreadState* __tstate = wxPyBeginAllowThreads();
32903 result = (int)(arg1)->GetMarginWidth();
32904
32905 wxPyEndAllowThreads(__tstate);
32906 if (PyErr_Occurred()) SWIG_fail;
32907 }
2f4c0a16 32908 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32909 return resultobj;
32910 fail:
32911 return NULL;
32912}
32913
32914
32915static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
32916 PyObject *resultobj;
32917 int result;
32918 char *kwnames[] = {
32919 NULL
32920 };
32921
32922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
32923 {
32924 PyThreadState* __tstate = wxPyBeginAllowThreads();
32925 result = (int)wxMenuItem::GetDefaultMarginWidth();
32926
32927 wxPyEndAllowThreads(__tstate);
32928 if (PyErr_Occurred()) SWIG_fail;
32929 }
2f4c0a16 32930 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32931 return resultobj;
32932 fail:
32933 return NULL;
32934}
32935
32936
32937static PyObject *_wrap_MenuItem_IsOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) {
32938 PyObject *resultobj;
32939 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32940 bool result;
32941 PyObject * obj0 = 0 ;
32942 char *kwnames[] = {
32943 (char *) "self", NULL
32944 };
32945
32946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsOwnerDrawn",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32949 {
32950 PyThreadState* __tstate = wxPyBeginAllowThreads();
32951 result = (bool)(arg1)->IsOwnerDrawn();
32952
32953 wxPyEndAllowThreads(__tstate);
32954 if (PyErr_Occurred()) SWIG_fail;
32955 }
4f89f6a3
RD
32956 {
32957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32958 }
d14a1e28
RD
32959 return resultobj;
32960 fail:
32961 return NULL;
32962}
32963
32964
32965static PyObject *_wrap_MenuItem_SetOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) {
32966 PyObject *resultobj;
32967 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
423f194a 32968 bool arg2 = (bool) True ;
d14a1e28
RD
32969 PyObject * obj0 = 0 ;
32970 PyObject * obj1 = 0 ;
32971 char *kwnames[] = {
32972 (char *) "self",(char *) "ownerDrawn", NULL
32973 };
32974
32975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 32978 if (obj1) {
2f4c0a16
RD
32979 arg2 = (bool) SWIG_AsBool(obj1);
32980 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32981 }
32982 {
32983 PyThreadState* __tstate = wxPyBeginAllowThreads();
32984 (arg1)->SetOwnerDrawn(arg2);
32985
32986 wxPyEndAllowThreads(__tstate);
32987 if (PyErr_Occurred()) SWIG_fail;
32988 }
32989 Py_INCREF(Py_None); resultobj = Py_None;
32990 return resultobj;
32991 fail:
32992 return NULL;
32993}
32994
32995
32996static PyObject *_wrap_MenuItem_ResetOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) {
32997 PyObject *resultobj;
32998 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32999 PyObject * obj0 = 0 ;
33000 char *kwnames[] = {
33001 (char *) "self", NULL
33002 };
33003
33004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33007 {
33008 PyThreadState* __tstate = wxPyBeginAllowThreads();
33009 (arg1)->ResetOwnerDrawn();
33010
33011 wxPyEndAllowThreads(__tstate);
33012 if (PyErr_Occurred()) SWIG_fail;
33013 }
33014 Py_INCREF(Py_None); resultobj = Py_None;
33015 return resultobj;
33016 fail:
33017 return NULL;
33018}
33019
33020
33021static PyObject *_wrap_MenuItem_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
33022 PyObject *resultobj;
33023 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33024 wxBitmap *arg2 = 0 ;
33025 PyObject * obj0 = 0 ;
33026 PyObject * obj1 = 0 ;
33027 char *kwnames[] = {
33028 (char *) "self",(char *) "bitmap", NULL
33029 };
33030
33031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33034 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
33035 SWIG_POINTER_EXCEPTION | 0)) == -1)
33036 SWIG_fail;
d14a1e28 33037 if (arg2 == NULL) {
2f4c0a16
RD
33038 PyErr_SetString(PyExc_TypeError,"null reference");
33039 SWIG_fail;
d14a1e28
RD
33040 }
33041 {
33042 PyThreadState* __tstate = wxPyBeginAllowThreads();
33043 (arg1)->SetBitmap((wxBitmap const &)*arg2);
33044
33045 wxPyEndAllowThreads(__tstate);
33046 if (PyErr_Occurred()) SWIG_fail;
33047 }
33048 Py_INCREF(Py_None); resultobj = Py_None;
33049 return resultobj;
33050 fail:
33051 return NULL;
33052}
33053
33054
33055static PyObject *_wrap_MenuItem_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
33056 PyObject *resultobj;
33057 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33058 wxBitmap *result;
33059 PyObject * obj0 = 0 ;
33060 char *kwnames[] = {
33061 (char *) "self", NULL
33062 };
33063
33064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33067 {
33068 PyThreadState* __tstate = wxPyBeginAllowThreads();
33069 {
33070 wxBitmap const &_result_ref = (arg1)->GetBitmap();
33071 result = (wxBitmap *) &_result_ref;
33072 }
33073
33074 wxPyEndAllowThreads(__tstate);
33075 if (PyErr_Occurred()) SWIG_fail;
33076 }
fe763115
RD
33077 {
33078 wxBitmap* resultptr = new wxBitmap(*result);
33079 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
33080 }
d14a1e28
RD
33081 return resultobj;
33082 fail:
33083 return NULL;
33084}
33085
33086
33087static PyObject * MenuItem_swigregister(PyObject *self, PyObject *args) {
33088 PyObject *obj;
33089 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33090 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
33091 Py_INCREF(obj);
33092 return Py_BuildValue((char *)"");
33093}
2f4c0a16 33094static int _wrap_ControlNameStr_set(PyObject *_val) {
d03fd34d
RD
33095 PyErr_SetString(PyExc_TypeError,"Variable ControlNameStr is read-only.");
33096 return 1;
33097}
33098
33099
33100static PyObject *_wrap_ControlNameStr_get() {
33101 PyObject *pyobj;
33102
33103 {
33104#if wxUSE_UNICODE
33105 pyobj = PyUnicode_FromWideChar((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
33106#else
33107 pyobj = PyString_FromStringAndSize((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
33108#endif
33109 }
33110 return pyobj;
33111}
33112
33113
d14a1e28
RD
33114static PyObject *_wrap_new_Control(PyObject *self, PyObject *args, PyObject *kwargs) {
33115 PyObject *resultobj;
33116 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 33117 int arg2 ;
d14a1e28
RD
33118 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33119 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33120 wxSize const &arg4_defvalue = wxDefaultSize ;
33121 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33122 long arg5 = (long) 0 ;
33123 wxValidator const &arg6_defvalue = wxDefaultValidator ;
33124 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
33125 wxString const &arg7_defvalue = wxPyControlNameStr ;
33126 wxString *arg7 = (wxString *) &arg7_defvalue ;
33127 wxControl *result;
33128 wxPoint temp3 ;
33129 wxSize temp4 ;
423f194a 33130 bool temp7 = False ;
d14a1e28 33131 PyObject * obj0 = 0 ;
8edf1c75 33132 PyObject * obj1 = 0 ;
d14a1e28
RD
33133 PyObject * obj2 = 0 ;
33134 PyObject * obj3 = 0 ;
8edf1c75 33135 PyObject * obj4 = 0 ;
d14a1e28
RD
33136 PyObject * obj5 = 0 ;
33137 PyObject * obj6 = 0 ;
33138 char *kwnames[] = {
33139 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33140 };
33141
8edf1c75 33142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_Control",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
33143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
33144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33145 arg2 = (int) SWIG_AsInt(obj1);
33146 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33147 if (obj2) {
33148 {
33149 arg3 = &temp3;
33150 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33151 }
33152 }
33153 if (obj3) {
33154 {
33155 arg4 = &temp4;
33156 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33157 }
33158 }
8edf1c75 33159 if (obj4) {
2f4c0a16
RD
33160 arg5 = (long) SWIG_AsLong(obj4);
33161 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 33162 }
d14a1e28 33163 if (obj5) {
2f4c0a16
RD
33164 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
33165 SWIG_POINTER_EXCEPTION | 0)) == -1)
33166 SWIG_fail;
d14a1e28 33167 if (arg6 == NULL) {
2f4c0a16
RD
33168 PyErr_SetString(PyExc_TypeError,"null reference");
33169 SWIG_fail;
d14a1e28
RD
33170 }
33171 }
33172 if (obj6) {
33173 {
33174 arg7 = wxString_in_helper(obj6);
33175 if (arg7 == NULL) SWIG_fail;
423f194a 33176 temp7 = True;
d14a1e28
RD
33177 }
33178 }
33179 {
33180 PyThreadState* __tstate = wxPyBeginAllowThreads();
33181 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
33182
33183 wxPyEndAllowThreads(__tstate);
33184 if (PyErr_Occurred()) SWIG_fail;
33185 }
33186 {
33187 resultobj = wxPyMake_wxObject(result);
33188 }
33189 {
33190 if (temp7)
33191 delete arg7;
33192 }
33193 return resultobj;
33194 fail:
33195 {
33196 if (temp7)
33197 delete arg7;
33198 }
33199 return NULL;
33200}
33201
33202
33203static PyObject *_wrap_new_PreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
33204 PyObject *resultobj;
33205 wxControl *result;
33206 char *kwnames[] = {
33207 NULL
33208 };
33209
33210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
33211 {
33212 PyThreadState* __tstate = wxPyBeginAllowThreads();
33213 result = (wxControl *)new wxControl();
33214
33215 wxPyEndAllowThreads(__tstate);
33216 if (PyErr_Occurred()) SWIG_fail;
33217 }
33218 {
33219 resultobj = wxPyMake_wxObject(result);
33220 }
33221 return resultobj;
33222 fail:
33223 return NULL;
33224}
33225
33226
33227static PyObject *_wrap_Control_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
33228 PyObject *resultobj;
33229 wxControl *arg1 = (wxControl *) 0 ;
33230 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 33231 int arg3 ;
d14a1e28
RD
33232 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33233 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33234 wxSize const &arg5_defvalue = wxDefaultSize ;
33235 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33236 long arg6 = (long) 0 ;
33237 wxValidator const &arg7_defvalue = wxDefaultValidator ;
33238 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
33239 wxString const &arg8_defvalue = wxPyControlNameStr ;
33240 wxString *arg8 = (wxString *) &arg8_defvalue ;
33241 bool result;
33242 wxPoint temp4 ;
33243 wxSize temp5 ;
423f194a 33244 bool temp8 = False ;
d14a1e28
RD
33245 PyObject * obj0 = 0 ;
33246 PyObject * obj1 = 0 ;
8edf1c75 33247 PyObject * obj2 = 0 ;
d14a1e28
RD
33248 PyObject * obj3 = 0 ;
33249 PyObject * obj4 = 0 ;
8edf1c75 33250 PyObject * obj5 = 0 ;
d14a1e28
RD
33251 PyObject * obj6 = 0 ;
33252 PyObject * obj7 = 0 ;
33253 char *kwnames[] = {
33254 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33255 };
33256
8edf1c75 33257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:Control_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
33258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33260 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
33261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33262 arg3 = (int) SWIG_AsInt(obj2);
33263 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33264 if (obj3) {
33265 {
33266 arg4 = &temp4;
33267 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
33268 }
33269 }
33270 if (obj4) {
33271 {
33272 arg5 = &temp5;
33273 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
33274 }
33275 }
8edf1c75 33276 if (obj5) {
2f4c0a16
RD
33277 arg6 = (long) SWIG_AsLong(obj5);
33278 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 33279 }
d14a1e28 33280 if (obj6) {
2f4c0a16
RD
33281 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
33282 SWIG_POINTER_EXCEPTION | 0)) == -1)
33283 SWIG_fail;
d14a1e28 33284 if (arg7 == NULL) {
2f4c0a16
RD
33285 PyErr_SetString(PyExc_TypeError,"null reference");
33286 SWIG_fail;
d14a1e28
RD
33287 }
33288 }
33289 if (obj7) {
33290 {
33291 arg8 = wxString_in_helper(obj7);
33292 if (arg8 == NULL) SWIG_fail;
423f194a 33293 temp8 = True;
d14a1e28
RD
33294 }
33295 }
33296 {
33297 PyThreadState* __tstate = wxPyBeginAllowThreads();
33298 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
33299
33300 wxPyEndAllowThreads(__tstate);
33301 if (PyErr_Occurred()) SWIG_fail;
33302 }
4f89f6a3
RD
33303 {
33304 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33305 }
d14a1e28
RD
33306 {
33307 if (temp8)
33308 delete arg8;
33309 }
33310 return resultobj;
33311 fail:
33312 {
33313 if (temp8)
33314 delete arg8;
33315 }
33316 return NULL;
33317}
33318
33319
33320static PyObject *_wrap_Control_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
33321 PyObject *resultobj;
33322 wxControl *arg1 = (wxControl *) 0 ;
33323 wxCommandEvent *arg2 = 0 ;
33324 PyObject * obj0 = 0 ;
33325 PyObject * obj1 = 0 ;
33326 char *kwnames[] = {
33327 (char *) "self",(char *) "event", NULL
33328 };
33329
33330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33333 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCommandEvent,
33334 SWIG_POINTER_EXCEPTION | 0)) == -1)
33335 SWIG_fail;
d14a1e28 33336 if (arg2 == NULL) {
2f4c0a16
RD
33337 PyErr_SetString(PyExc_TypeError,"null reference");
33338 SWIG_fail;
d14a1e28
RD
33339 }
33340 {
33341 PyThreadState* __tstate = wxPyBeginAllowThreads();
33342 (arg1)->Command(*arg2);
33343
33344 wxPyEndAllowThreads(__tstate);
33345 if (PyErr_Occurred()) SWIG_fail;
33346 }
33347 Py_INCREF(Py_None); resultobj = Py_None;
33348 return resultobj;
33349 fail:
33350 return NULL;
33351}
33352
33353
33354static PyObject *_wrap_Control_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
33355 PyObject *resultobj;
33356 wxControl *arg1 = (wxControl *) 0 ;
33357 wxString result;
33358 PyObject * obj0 = 0 ;
33359 char *kwnames[] = {
33360 (char *) "self", NULL
33361 };
33362
33363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33366 {
33367 PyThreadState* __tstate = wxPyBeginAllowThreads();
33368 result = (arg1)->GetLabel();
33369
33370 wxPyEndAllowThreads(__tstate);
33371 if (PyErr_Occurred()) SWIG_fail;
33372 }
33373 {
33374#if wxUSE_UNICODE
33375 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33376#else
33377 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33378#endif
33379 }
33380 return resultobj;
33381 fail:
33382 return NULL;
33383}
33384
33385
33386static PyObject *_wrap_Control_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
33387 PyObject *resultobj;
33388 wxControl *arg1 = (wxControl *) 0 ;
33389 wxString *arg2 = 0 ;
423f194a 33390 bool temp2 = False ;
d14a1e28
RD
33391 PyObject * obj0 = 0 ;
33392 PyObject * obj1 = 0 ;
33393 char *kwnames[] = {
33394 (char *) "self",(char *) "label", NULL
33395 };
33396
33397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33400 {
33401 arg2 = wxString_in_helper(obj1);
33402 if (arg2 == NULL) SWIG_fail;
423f194a 33403 temp2 = True;
d14a1e28
RD
33404 }
33405 {
33406 PyThreadState* __tstate = wxPyBeginAllowThreads();
33407 (arg1)->SetLabel((wxString const &)*arg2);
33408
33409 wxPyEndAllowThreads(__tstate);
33410 if (PyErr_Occurred()) SWIG_fail;
33411 }
33412 Py_INCREF(Py_None); resultobj = Py_None;
33413 {
33414 if (temp2)
33415 delete arg2;
33416 }
33417 return resultobj;
33418 fail:
33419 {
33420 if (temp2)
33421 delete arg2;
33422 }
33423 return NULL;
33424}
33425
33426
74a57fcd
RD
33427static PyObject *_wrap_Control_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
33428 PyObject *resultobj;
33429 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
33430 wxVisualAttributes result;
33431 PyObject * obj0 = 0 ;
33432 char *kwnames[] = {
33433 (char *) "variant", NULL
33434 };
33435
33436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Control_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
33437 if (obj0) {
33438 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
33439 if (PyErr_Occurred()) SWIG_fail;
33440 }
33441 {
33442 PyThreadState* __tstate = wxPyBeginAllowThreads();
33443 result = wxControl::GetClassDefaultAttributes((wxWindowVariant )arg1);
33444
33445 wxPyEndAllowThreads(__tstate);
33446 if (PyErr_Occurred()) SWIG_fail;
33447 }
33448 {
33449 wxVisualAttributes * resultptr;
33450 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
33451 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
33452 }
33453 return resultobj;
33454 fail:
33455 return NULL;
33456}
33457
33458
d14a1e28
RD
33459static PyObject * Control_swigregister(PyObject *self, PyObject *args) {
33460 PyObject *obj;
33461 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33462 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
33463 Py_INCREF(obj);
33464 return Py_BuildValue((char *)"");
33465}
33466static PyObject *_wrap_ItemContainer_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
33467 PyObject *resultobj;
33468 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33469 wxString *arg2 = 0 ;
33470 PyObject *arg3 = (PyObject *) NULL ;
33471 int result;
423f194a 33472 bool temp2 = False ;
d14a1e28
RD
33473 PyObject * obj0 = 0 ;
33474 PyObject * obj1 = 0 ;
33475 PyObject * obj2 = 0 ;
33476 char *kwnames[] = {
33477 (char *) "self",(char *) "item",(char *) "clientData", NULL
33478 };
33479
33480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
33481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33483 {
33484 arg2 = wxString_in_helper(obj1);
33485 if (arg2 == NULL) SWIG_fail;
423f194a 33486 temp2 = True;
d14a1e28
RD
33487 }
33488 if (obj2) {
33489 arg3 = obj2;
33490 }
33491 {
33492 PyThreadState* __tstate = wxPyBeginAllowThreads();
33493 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
33494
33495 wxPyEndAllowThreads(__tstate);
33496 if (PyErr_Occurred()) SWIG_fail;
33497 }
2f4c0a16 33498 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33499 {
33500 if (temp2)
33501 delete arg2;
33502 }
33503 return resultobj;
33504 fail:
33505 {
33506 if (temp2)
33507 delete arg2;
33508 }
33509 return NULL;
33510}
33511
33512
33513static PyObject *_wrap_ItemContainer_AppendItems(PyObject *self, PyObject *args, PyObject *kwargs) {
33514 PyObject *resultobj;
33515 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33516 wxArrayString *arg2 = 0 ;
db914595 33517 bool temp2 = False ;
d14a1e28
RD
33518 PyObject * obj0 = 0 ;
33519 PyObject * obj1 = 0 ;
33520 char *kwnames[] = {
33521 (char *) "self",(char *) "strings", NULL
33522 };
33523
33524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33527 {
33528 if (! PySequence_Check(obj1)) {
33529 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
33530 SWIG_fail;
33531 }
33532 arg2 = new wxArrayString;
db914595 33533 temp2 = True;
d14a1e28
RD
33534 int i, len=PySequence_Length(obj1);
33535 for (i=0; i<len; i++) {
33536 PyObject* item = PySequence_GetItem(obj1, i);
33537#if wxUSE_UNICODE
33538 PyObject* str = PyObject_Unicode(item);
33539#else
33540 PyObject* str = PyObject_Str(item);
33541#endif
74a57fcd 33542 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33543 arg2->Add(Py2wxString(str));
33544 Py_DECREF(item);
33545 Py_DECREF(str);
33546 }
33547 }
33548 {
33549 PyThreadState* __tstate = wxPyBeginAllowThreads();
33550 (arg1)->Append((wxArrayString const &)*arg2);
33551
33552 wxPyEndAllowThreads(__tstate);
33553 if (PyErr_Occurred()) SWIG_fail;
33554 }
33555 Py_INCREF(Py_None); resultobj = Py_None;
33556 {
db914595 33557 if (temp2) delete arg2;
d14a1e28
RD
33558 }
33559 return resultobj;
33560 fail:
33561 {
db914595 33562 if (temp2) delete arg2;
d14a1e28
RD
33563 }
33564 return NULL;
33565}
33566
33567
33568static PyObject *_wrap_ItemContainer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
33569 PyObject *resultobj;
33570 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33571 wxString *arg2 = 0 ;
33572 int arg3 ;
33573 PyObject *arg4 = (PyObject *) NULL ;
33574 int result;
423f194a 33575 bool temp2 = False ;
d14a1e28
RD
33576 PyObject * obj0 = 0 ;
33577 PyObject * obj1 = 0 ;
8edf1c75 33578 PyObject * obj2 = 0 ;
d14a1e28
RD
33579 PyObject * obj3 = 0 ;
33580 char *kwnames[] = {
33581 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33582 };
33583
8edf1c75 33584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
33585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33587 {
33588 arg2 = wxString_in_helper(obj1);
33589 if (arg2 == NULL) SWIG_fail;
423f194a 33590 temp2 = True;
d14a1e28 33591 }
2f4c0a16
RD
33592 arg3 = (int) SWIG_AsInt(obj2);
33593 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33594 if (obj3) {
33595 arg4 = obj3;
33596 }
33597 {
33598 PyThreadState* __tstate = wxPyBeginAllowThreads();
33599 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
33600
33601 wxPyEndAllowThreads(__tstate);
33602 if (PyErr_Occurred()) SWIG_fail;
33603 }
2f4c0a16 33604 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33605 {
33606 if (temp2)
33607 delete arg2;
33608 }
33609 return resultobj;
33610 fail:
33611 {
33612 if (temp2)
33613 delete arg2;
33614 }
33615 return NULL;
33616}
33617
33618
33619static PyObject *_wrap_ItemContainer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
33620 PyObject *resultobj;
33621 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33622 PyObject * obj0 = 0 ;
33623 char *kwnames[] = {
33624 (char *) "self", NULL
33625 };
33626
33627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33630 {
33631 PyThreadState* __tstate = wxPyBeginAllowThreads();
33632 (arg1)->Clear();
33633
33634 wxPyEndAllowThreads(__tstate);
33635 if (PyErr_Occurred()) SWIG_fail;
33636 }
33637 Py_INCREF(Py_None); resultobj = Py_None;
33638 return resultobj;
33639 fail:
33640 return NULL;
33641}
33642
33643
33644static PyObject *_wrap_ItemContainer_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
33645 PyObject *resultobj;
33646 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33647 int arg2 ;
33648 PyObject * obj0 = 0 ;
8edf1c75 33649 PyObject * obj1 = 0 ;
d14a1e28
RD
33650 char *kwnames[] = {
33651 (char *) "self",(char *) "n", NULL
33652 };
33653
8edf1c75 33654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Delete",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33657 arg2 = (int) SWIG_AsInt(obj1);
33658 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33659 {
33660 PyThreadState* __tstate = wxPyBeginAllowThreads();
33661 (arg1)->Delete(arg2);
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_ItemContainer_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
33674 PyObject *resultobj;
33675 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33676 int result;
33677 PyObject * obj0 = 0 ;
33678 char *kwnames[] = {
33679 (char *) "self", NULL
33680 };
33681
33682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33685 {
33686 PyThreadState* __tstate = wxPyBeginAllowThreads();
33687 result = (int)((wxItemContainer const *)arg1)->GetCount();
33688
33689 wxPyEndAllowThreads(__tstate);
33690 if (PyErr_Occurred()) SWIG_fail;
33691 }
2f4c0a16 33692 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33693 return resultobj;
33694 fail:
33695 return NULL;
33696}
33697
33698
33699static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
33700 PyObject *resultobj;
33701 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33702 bool result;
33703 PyObject * obj0 = 0 ;
33704 char *kwnames[] = {
33705 (char *) "self", NULL
33706 };
33707
33708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33711 {
33712 PyThreadState* __tstate = wxPyBeginAllowThreads();
33713 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
33714
33715 wxPyEndAllowThreads(__tstate);
33716 if (PyErr_Occurred()) SWIG_fail;
33717 }
4f89f6a3
RD
33718 {
33719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33720 }
d14a1e28
RD
33721 return resultobj;
33722 fail:
33723 return NULL;
33724}
33725
33726
33727static PyObject *_wrap_ItemContainer_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
33728 PyObject *resultobj;
33729 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33730 int arg2 ;
33731 wxString result;
33732 PyObject * obj0 = 0 ;
8edf1c75 33733 PyObject * obj1 = 0 ;
d14a1e28
RD
33734 char *kwnames[] = {
33735 (char *) "self",(char *) "n", NULL
33736 };
33737
8edf1c75 33738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33741 arg2 = (int) SWIG_AsInt(obj1);
33742 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33743 {
33744 PyThreadState* __tstate = wxPyBeginAllowThreads();
33745 result = ((wxItemContainer const *)arg1)->GetString(arg2);
33746
33747 wxPyEndAllowThreads(__tstate);
33748 if (PyErr_Occurred()) SWIG_fail;
33749 }
33750 {
33751#if wxUSE_UNICODE
33752 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33753#else
33754 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33755#endif
33756 }
33757 return resultobj;
33758 fail:
33759 return NULL;
33760}
33761
33762
33763static PyObject *_wrap_ItemContainer_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
33764 PyObject *resultobj;
33765 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33766 wxArrayString result;
33767 PyObject * obj0 = 0 ;
33768 char *kwnames[] = {
33769 (char *) "self", NULL
33770 };
33771
33772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33775 {
33776 PyThreadState* __tstate = wxPyBeginAllowThreads();
33777 result = ((wxItemContainer const *)arg1)->GetStrings();
33778
33779 wxPyEndAllowThreads(__tstate);
33780 if (PyErr_Occurred()) SWIG_fail;
33781 }
33782 {
33783 resultobj = wxArrayString2PyList_helper(result);
33784 }
33785 return resultobj;
33786 fail:
33787 return NULL;
33788}
33789
33790
33791static PyObject *_wrap_ItemContainer_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
33792 PyObject *resultobj;
33793 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33794 int arg2 ;
33795 wxString *arg3 = 0 ;
423f194a 33796 bool temp3 = False ;
d14a1e28 33797 PyObject * obj0 = 0 ;
8edf1c75 33798 PyObject * obj1 = 0 ;
d14a1e28
RD
33799 PyObject * obj2 = 0 ;
33800 char *kwnames[] = {
33801 (char *) "self",(char *) "n",(char *) "s", NULL
33802 };
33803
8edf1c75 33804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
33805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33807 arg2 = (int) SWIG_AsInt(obj1);
33808 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33809 {
33810 arg3 = wxString_in_helper(obj2);
33811 if (arg3 == NULL) SWIG_fail;
423f194a 33812 temp3 = True;
d14a1e28
RD
33813 }
33814 {
33815 PyThreadState* __tstate = wxPyBeginAllowThreads();
33816 (arg1)->SetString(arg2,(wxString const &)*arg3);
33817
33818 wxPyEndAllowThreads(__tstate);
33819 if (PyErr_Occurred()) SWIG_fail;
33820 }
33821 Py_INCREF(Py_None); resultobj = Py_None;
33822 {
33823 if (temp3)
33824 delete arg3;
33825 }
33826 return resultobj;
33827 fail:
33828 {
33829 if (temp3)
33830 delete arg3;
33831 }
33832 return NULL;
33833}
33834
33835
33836static PyObject *_wrap_ItemContainer_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
33837 PyObject *resultobj;
33838 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33839 wxString *arg2 = 0 ;
33840 int result;
423f194a 33841 bool temp2 = False ;
d14a1e28
RD
33842 PyObject * obj0 = 0 ;
33843 PyObject * obj1 = 0 ;
33844 char *kwnames[] = {
33845 (char *) "self",(char *) "s", NULL
33846 };
33847
33848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33851 {
33852 arg2 = wxString_in_helper(obj1);
33853 if (arg2 == NULL) SWIG_fail;
423f194a 33854 temp2 = True;
d14a1e28
RD
33855 }
33856 {
33857 PyThreadState* __tstate = wxPyBeginAllowThreads();
33858 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
33859
33860 wxPyEndAllowThreads(__tstate);
33861 if (PyErr_Occurred()) SWIG_fail;
33862 }
2f4c0a16 33863 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33864 {
33865 if (temp2)
33866 delete arg2;
33867 }
33868 return resultobj;
33869 fail:
33870 {
33871 if (temp2)
33872 delete arg2;
33873 }
33874 return NULL;
33875}
33876
33877
33878static PyObject *_wrap_ItemContainer_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
33879 PyObject *resultobj;
33880 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33881 int arg2 ;
33882 PyObject * obj0 = 0 ;
8edf1c75 33883 PyObject * obj1 = 0 ;
d14a1e28
RD
33884 char *kwnames[] = {
33885 (char *) "self",(char *) "n", NULL
33886 };
33887
8edf1c75 33888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Select",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33891 arg2 = (int) SWIG_AsInt(obj1);
33892 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33893 {
33894 PyThreadState* __tstate = wxPyBeginAllowThreads();
33895 (arg1)->Select(arg2);
33896
33897 wxPyEndAllowThreads(__tstate);
33898 if (PyErr_Occurred()) SWIG_fail;
33899 }
33900 Py_INCREF(Py_None); resultobj = Py_None;
33901 return resultobj;
33902 fail:
33903 return NULL;
33904}
33905
33906
33907static PyObject *_wrap_ItemContainer_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
33908 PyObject *resultobj;
33909 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33910 int result;
33911 PyObject * obj0 = 0 ;
33912 char *kwnames[] = {
33913 (char *) "self", NULL
33914 };
33915
33916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33919 {
33920 PyThreadState* __tstate = wxPyBeginAllowThreads();
33921 result = (int)((wxItemContainer const *)arg1)->GetSelection();
33922
33923 wxPyEndAllowThreads(__tstate);
33924 if (PyErr_Occurred()) SWIG_fail;
33925 }
2f4c0a16 33926 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33927 return resultobj;
33928 fail:
33929 return NULL;
33930}
33931
33932
33933static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
33934 PyObject *resultobj;
33935 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33936 wxString result;
33937 PyObject * obj0 = 0 ;
33938 char *kwnames[] = {
33939 (char *) "self", NULL
33940 };
33941
33942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33945 {
33946 PyThreadState* __tstate = wxPyBeginAllowThreads();
33947 result = ((wxItemContainer const *)arg1)->GetStringSelection();
33948
33949 wxPyEndAllowThreads(__tstate);
33950 if (PyErr_Occurred()) SWIG_fail;
33951 }
33952 {
33953#if wxUSE_UNICODE
33954 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33955#else
33956 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33957#endif
33958 }
33959 return resultobj;
33960 fail:
33961 return NULL;
33962}
33963
33964
33965static PyObject *_wrap_ItemContainer_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
33966 PyObject *resultobj;
33967 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33968 int arg2 ;
33969 PyObject *result;
33970 PyObject * obj0 = 0 ;
8edf1c75 33971 PyObject * obj1 = 0 ;
d14a1e28
RD
33972 char *kwnames[] = {
33973 (char *) "self",(char *) "n", NULL
33974 };
33975
8edf1c75 33976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetClientData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33979 arg2 = (int) SWIG_AsInt(obj1);
33980 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33981 {
33982 PyThreadState* __tstate = wxPyBeginAllowThreads();
33983 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
33984
33985 wxPyEndAllowThreads(__tstate);
33986 if (PyErr_Occurred()) SWIG_fail;
33987 }
33988 resultobj = result;
33989 return resultobj;
33990 fail:
33991 return NULL;
33992}
33993
33994
33995static PyObject *_wrap_ItemContainer_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
33996 PyObject *resultobj;
33997 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33998 int arg2 ;
33999 PyObject *arg3 = (PyObject *) 0 ;
34000 PyObject * obj0 = 0 ;
8edf1c75 34001 PyObject * obj1 = 0 ;
d14a1e28
RD
34002 PyObject * obj2 = 0 ;
34003 char *kwnames[] = {
34004 (char *) "self",(char *) "n",(char *) "clientData", NULL
34005 };
34006
8edf1c75 34007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
34008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34010 arg2 = (int) SWIG_AsInt(obj1);
34011 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34012 arg3 = obj2;
34013 {
34014 PyThreadState* __tstate = wxPyBeginAllowThreads();
34015 wxItemContainer_SetClientData(arg1,arg2,arg3);
34016
34017 wxPyEndAllowThreads(__tstate);
34018 if (PyErr_Occurred()) SWIG_fail;
34019 }
34020 Py_INCREF(Py_None); resultobj = Py_None;
34021 return resultobj;
34022 fail:
34023 return NULL;
34024}
34025
34026
34027static PyObject * ItemContainer_swigregister(PyObject *self, PyObject *args) {
34028 PyObject *obj;
34029 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34030 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
34031 Py_INCREF(obj);
34032 return Py_BuildValue((char *)"");
34033}
34034static PyObject * ControlWithItems_swigregister(PyObject *self, PyObject *args) {
34035 PyObject *obj;
34036 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34037 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
34038 Py_INCREF(obj);
34039 return Py_BuildValue((char *)"");
34040}
34041static PyObject *_wrap_new_SizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
34042 PyObject *resultobj;
34043 wxSizerItem *result;
34044 char *kwnames[] = {
34045 NULL
34046 };
34047
34048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
34049 {
34050 PyThreadState* __tstate = wxPyBeginAllowThreads();
34051 result = (wxSizerItem *)new wxSizerItem();
34052
34053 wxPyEndAllowThreads(__tstate);
34054 if (PyErr_Occurred()) SWIG_fail;
34055 }
2f4c0a16 34056 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
34057 return resultobj;
34058 fail:
34059 return NULL;
34060}
34061
34062
34063static PyObject *_wrap_new_SizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34064 PyObject *resultobj;
34065 int arg1 ;
34066 int arg2 ;
34067 int arg3 ;
34068 int arg4 ;
34069 int arg5 ;
34070 wxObject *arg6 = (wxObject *) 0 ;
34071 wxSizerItem *result;
8edf1c75
RD
34072 PyObject * obj0 = 0 ;
34073 PyObject * obj1 = 0 ;
34074 PyObject * obj2 = 0 ;
34075 PyObject * obj3 = 0 ;
34076 PyObject * obj4 = 0 ;
d14a1e28
RD
34077 PyObject * obj5 = 0 ;
34078 char *kwnames[] = {
34079 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34080 };
34081
8edf1c75 34082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_SizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
34083 arg1 = (int) SWIG_AsInt(obj0);
34084 if (PyErr_Occurred()) SWIG_fail;
34085 arg2 = (int) SWIG_AsInt(obj1);
34086 if (PyErr_Occurred()) SWIG_fail;
34087 arg3 = (int) SWIG_AsInt(obj2);
34088 if (PyErr_Occurred()) SWIG_fail;
34089 arg4 = (int) SWIG_AsInt(obj3);
34090 if (PyErr_Occurred()) SWIG_fail;
34091 arg5 = (int) SWIG_AsInt(obj4);
34092 if (PyErr_Occurred()) SWIG_fail;
34093 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
34094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34095 {
34096 PyThreadState* __tstate = wxPyBeginAllowThreads();
34097 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
34098
34099 wxPyEndAllowThreads(__tstate);
34100 if (PyErr_Occurred()) SWIG_fail;
34101 }
2f4c0a16 34102 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
34103 return resultobj;
34104 fail:
34105 return NULL;
34106}
34107
34108
34109static PyObject *_wrap_new_SizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34110 PyObject *resultobj;
34111 wxWindow *arg1 = (wxWindow *) 0 ;
34112 int arg2 ;
34113 int arg3 ;
34114 int arg4 ;
34115 wxObject *arg5 = (wxObject *) 0 ;
34116 wxSizerItem *result;
34117 PyObject * obj0 = 0 ;
8edf1c75
RD
34118 PyObject * obj1 = 0 ;
34119 PyObject * obj2 = 0 ;
34120 PyObject * obj3 = 0 ;
d14a1e28
RD
34121 PyObject * obj4 = 0 ;
34122 char *kwnames[] = {
34123 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34124 };
34125
8edf1c75 34126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_SizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
34127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
34128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34129 arg2 = (int) SWIG_AsInt(obj1);
34130 if (PyErr_Occurred()) SWIG_fail;
34131 arg3 = (int) SWIG_AsInt(obj2);
34132 if (PyErr_Occurred()) SWIG_fail;
34133 arg4 = (int) SWIG_AsInt(obj3);
34134 if (PyErr_Occurred()) SWIG_fail;
34135 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxObject,
34136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34137 {
34138 PyThreadState* __tstate = wxPyBeginAllowThreads();
34139 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
34140
34141 wxPyEndAllowThreads(__tstate);
34142 if (PyErr_Occurred()) SWIG_fail;
34143 }
2f4c0a16 34144 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
34145 return resultobj;
34146 fail:
34147 return NULL;
34148}
34149
34150
34151static PyObject *_wrap_new_SizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34152 PyObject *resultobj;
34153 wxSizer *arg1 = (wxSizer *) 0 ;
34154 int arg2 ;
34155 int arg3 ;
34156 int arg4 ;
34157 wxObject *arg5 = (wxObject *) 0 ;
34158 wxSizerItem *result;
34159 PyObject * obj0 = 0 ;
8edf1c75
RD
34160 PyObject * obj1 = 0 ;
34161 PyObject * obj2 = 0 ;
34162 PyObject * obj3 = 0 ;
d14a1e28
RD
34163 PyObject * obj4 = 0 ;
34164 char *kwnames[] = {
34165 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34166 };
34167
8edf1c75 34168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_SizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
34169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34171 arg2 = (int) SWIG_AsInt(obj1);
34172 if (PyErr_Occurred()) SWIG_fail;
34173 arg3 = (int) SWIG_AsInt(obj2);
34174 if (PyErr_Occurred()) SWIG_fail;
34175 arg4 = (int) SWIG_AsInt(obj3);
34176 if (PyErr_Occurred()) SWIG_fail;
34177 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxObject,
34178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34179 {
34180 PyThreadState* __tstate = wxPyBeginAllowThreads();
34181 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
34182
34183 wxPyEndAllowThreads(__tstate);
34184 if (PyErr_Occurred()) SWIG_fail;
34185 }
2f4c0a16 34186 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
34187 return resultobj;
34188 fail:
34189 return NULL;
34190}
34191
34192
34193static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
34194 PyObject *resultobj;
34195 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34196 PyObject * obj0 = 0 ;
34197 char *kwnames[] = {
34198 (char *) "self", NULL
34199 };
34200
34201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34204 {
34205 PyThreadState* __tstate = wxPyBeginAllowThreads();
34206 (arg1)->DeleteWindows();
34207
34208 wxPyEndAllowThreads(__tstate);
34209 if (PyErr_Occurred()) SWIG_fail;
34210 }
34211 Py_INCREF(Py_None); resultobj = Py_None;
34212 return resultobj;
34213 fail:
34214 return NULL;
34215}
34216
34217
34218static PyObject *_wrap_SizerItem_DetachSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34219 PyObject *resultobj;
34220 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34221 PyObject * obj0 = 0 ;
34222 char *kwnames[] = {
34223 (char *) "self", NULL
34224 };
34225
34226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34229 {
34230 PyThreadState* __tstate = wxPyBeginAllowThreads();
34231 (arg1)->DetachSizer();
34232
34233 wxPyEndAllowThreads(__tstate);
34234 if (PyErr_Occurred()) SWIG_fail;
34235 }
34236 Py_INCREF(Py_None); resultobj = Py_None;
34237 return resultobj;
34238 fail:
34239 return NULL;
34240}
34241
34242
34243static PyObject *_wrap_SizerItem_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34244 PyObject *resultobj;
34245 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34246 wxSize result;
34247 PyObject * obj0 = 0 ;
34248 char *kwnames[] = {
34249 (char *) "self", NULL
34250 };
34251
34252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34255 {
34256 PyThreadState* __tstate = wxPyBeginAllowThreads();
34257 result = (arg1)->GetSize();
34258
34259 wxPyEndAllowThreads(__tstate);
34260 if (PyErr_Occurred()) SWIG_fail;
34261 }
34262 {
34263 wxSize * resultptr;
34264 resultptr = new wxSize((wxSize &) result);
2f4c0a16 34265 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34266 }
34267 return resultobj;
34268 fail:
34269 return NULL;
34270}
34271
34272
34273static PyObject *_wrap_SizerItem_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
34274 PyObject *resultobj;
34275 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34276 wxSize result;
34277 PyObject * obj0 = 0 ;
34278 char *kwnames[] = {
34279 (char *) "self", NULL
34280 };
34281
34282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34285 {
34286 PyThreadState* __tstate = wxPyBeginAllowThreads();
34287 result = (arg1)->CalcMin();
34288
34289 wxPyEndAllowThreads(__tstate);
34290 if (PyErr_Occurred()) SWIG_fail;
34291 }
34292 {
34293 wxSize * resultptr;
34294 resultptr = new wxSize((wxSize &) result);
2f4c0a16 34295 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34296 }
34297 return resultobj;
34298 fail:
34299 return NULL;
34300}
34301
34302
34303static PyObject *_wrap_SizerItem_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
34304 PyObject *resultobj;
34305 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34306 wxPoint arg2 ;
34307 wxSize arg3 ;
34308 wxPoint *argp2 ;
34309 wxSize *argp3 ;
34310 PyObject * obj0 = 0 ;
34311 PyObject * obj1 = 0 ;
34312 PyObject * obj2 = 0 ;
34313 char *kwnames[] = {
34314 (char *) "self",(char *) "pos",(char *) "size", NULL
34315 };
34316
34317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
34318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34320 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
34321 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
34322 arg2 = *argp2;
34323 if ((SWIG_ConvertPtr(obj2,(void **)(&argp3),SWIGTYPE_p_wxSize,
34324 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
34325 arg3 = *argp3;
d14a1e28
RD
34326 {
34327 PyThreadState* __tstate = wxPyBeginAllowThreads();
34328 (arg1)->SetDimension(arg2,arg3);
34329
34330 wxPyEndAllowThreads(__tstate);
34331 if (PyErr_Occurred()) SWIG_fail;
34332 }
34333 Py_INCREF(Py_None); resultobj = Py_None;
34334 return resultobj;
34335 fail:
34336 return NULL;
34337}
34338
34339
34340static PyObject *_wrap_SizerItem_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34341 PyObject *resultobj;
34342 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34343 wxSize result;
34344 PyObject * obj0 = 0 ;
34345 char *kwnames[] = {
34346 (char *) "self", NULL
34347 };
34348
34349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34352 {
34353 PyThreadState* __tstate = wxPyBeginAllowThreads();
34354 result = (arg1)->GetMinSize();
34355
34356 wxPyEndAllowThreads(__tstate);
34357 if (PyErr_Occurred()) SWIG_fail;
34358 }
34359 {
34360 wxSize * resultptr;
34361 resultptr = new wxSize((wxSize &) result);
2f4c0a16 34362 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34363 }
34364 return resultobj;
34365 fail:
34366 return NULL;
34367}
34368
34369
34370static PyObject *_wrap_SizerItem_SetInitSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34371 PyObject *resultobj;
34372 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34373 int arg2 ;
34374 int arg3 ;
34375 PyObject * obj0 = 0 ;
8edf1c75
RD
34376 PyObject * obj1 = 0 ;
34377 PyObject * obj2 = 0 ;
d14a1e28
RD
34378 char *kwnames[] = {
34379 (char *) "self",(char *) "x",(char *) "y", NULL
34380 };
34381
8edf1c75 34382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetInitSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
34383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34385 arg2 = (int) SWIG_AsInt(obj1);
34386 if (PyErr_Occurred()) SWIG_fail;
34387 arg3 = (int) SWIG_AsInt(obj2);
34388 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34389 {
34390 PyThreadState* __tstate = wxPyBeginAllowThreads();
34391 (arg1)->SetInitSize(arg2,arg3);
34392
34393 wxPyEndAllowThreads(__tstate);
34394 if (PyErr_Occurred()) SWIG_fail;
34395 }
34396 Py_INCREF(Py_None); resultobj = Py_None;
34397 return resultobj;
34398 fail:
34399 return NULL;
34400}
34401
34402
34403static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *self, PyObject *args, PyObject *kwargs) {
34404 PyObject *resultobj;
34405 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34406 int arg2 ;
34407 int arg3 ;
34408 PyObject * obj0 = 0 ;
8edf1c75
RD
34409 PyObject * obj1 = 0 ;
34410 PyObject * obj2 = 0 ;
d14a1e28
RD
34411 char *kwnames[] = {
34412 (char *) "self",(char *) "width",(char *) "height", NULL
34413 };
34414
8edf1c75 34415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetRatioWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
34416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34418 arg2 = (int) SWIG_AsInt(obj1);
34419 if (PyErr_Occurred()) SWIG_fail;
34420 arg3 = (int) SWIG_AsInt(obj2);
34421 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34422 {
34423 PyThreadState* __tstate = wxPyBeginAllowThreads();
34424 (arg1)->SetRatio(arg2,arg3);
34425
34426 wxPyEndAllowThreads(__tstate);
34427 if (PyErr_Occurred()) SWIG_fail;
34428 }
34429 Py_INCREF(Py_None); resultobj = Py_None;
34430 return resultobj;
34431 fail:
34432 return NULL;
34433}
34434
34435
34436static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34437 PyObject *resultobj;
34438 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34439 wxSize arg2 ;
34440 wxSize *argp2 ;
34441 PyObject * obj0 = 0 ;
34442 PyObject * obj1 = 0 ;
34443 char *kwnames[] = {
34444 (char *) "self",(char *) "size", NULL
34445 };
34446
34447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34450 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
34451 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
34452 arg2 = *argp2;
d14a1e28
RD
34453 {
34454 PyThreadState* __tstate = wxPyBeginAllowThreads();
34455 (arg1)->SetRatio(arg2);
34456
34457 wxPyEndAllowThreads(__tstate);
34458 if (PyErr_Occurred()) SWIG_fail;
34459 }
34460 Py_INCREF(Py_None); resultobj = Py_None;
34461 return resultobj;
34462 fail:
34463 return NULL;
34464}
34465
34466
34467static PyObject *_wrap_SizerItem_SetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
34468 PyObject *resultobj;
34469 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34470 float arg2 ;
34471 PyObject * obj0 = 0 ;
8edf1c75 34472 PyObject * obj1 = 0 ;
d14a1e28
RD
34473 char *kwnames[] = {
34474 (char *) "self",(char *) "ratio", NULL
34475 };
34476
8edf1c75 34477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatio",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34480 arg2 = (float) SWIG_AsFloat(obj1);
34481 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34482 {
34483 PyThreadState* __tstate = wxPyBeginAllowThreads();
34484 (arg1)->SetRatio(arg2);
34485
34486 wxPyEndAllowThreads(__tstate);
34487 if (PyErr_Occurred()) SWIG_fail;
34488 }
34489 Py_INCREF(Py_None); resultobj = Py_None;
34490 return resultobj;
34491 fail:
34492 return NULL;
34493}
34494
34495
34496static PyObject *_wrap_SizerItem_GetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
34497 PyObject *resultobj;
34498 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34499 float result;
34500 PyObject * obj0 = 0 ;
34501 char *kwnames[] = {
34502 (char *) "self", NULL
34503 };
34504
34505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34508 {
34509 PyThreadState* __tstate = wxPyBeginAllowThreads();
34510 result = (float)(arg1)->GetRatio();
34511
34512 wxPyEndAllowThreads(__tstate);
34513 if (PyErr_Occurred()) SWIG_fail;
34514 }
2f4c0a16 34515 resultobj = SWIG_FromFloat((float)result);
d14a1e28
RD
34516 return resultobj;
34517 fail:
34518 return NULL;
34519}
34520
34521
34522static PyObject *_wrap_SizerItem_IsWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34523 PyObject *resultobj;
34524 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34525 bool result;
34526 PyObject * obj0 = 0 ;
34527 char *kwnames[] = {
34528 (char *) "self", NULL
34529 };
34530
34531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34534 {
34535 PyThreadState* __tstate = wxPyBeginAllowThreads();
34536 result = (bool)(arg1)->IsWindow();
34537
34538 wxPyEndAllowThreads(__tstate);
34539 if (PyErr_Occurred()) SWIG_fail;
34540 }
4f89f6a3
RD
34541 {
34542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34543 }
d14a1e28
RD
34544 return resultobj;
34545 fail:
34546 return NULL;
34547}
34548
34549
34550static PyObject *_wrap_SizerItem_IsSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34551 PyObject *resultobj;
34552 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34553 bool result;
34554 PyObject * obj0 = 0 ;
34555 char *kwnames[] = {
34556 (char *) "self", NULL
34557 };
34558
34559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34562 {
34563 PyThreadState* __tstate = wxPyBeginAllowThreads();
34564 result = (bool)(arg1)->IsSizer();
34565
34566 wxPyEndAllowThreads(__tstate);
34567 if (PyErr_Occurred()) SWIG_fail;
34568 }
4f89f6a3
RD
34569 {
34570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34571 }
d14a1e28
RD
34572 return resultobj;
34573 fail:
34574 return NULL;
34575}
34576
34577
34578static PyObject *_wrap_SizerItem_IsSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34579 PyObject *resultobj;
34580 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34581 bool result;
34582 PyObject * obj0 = 0 ;
34583 char *kwnames[] = {
34584 (char *) "self", NULL
34585 };
34586
34587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34590 {
34591 PyThreadState* __tstate = wxPyBeginAllowThreads();
34592 result = (bool)(arg1)->IsSpacer();
34593
34594 wxPyEndAllowThreads(__tstate);
34595 if (PyErr_Occurred()) SWIG_fail;
34596 }
4f89f6a3
RD
34597 {
34598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34599 }
d14a1e28
RD
34600 return resultobj;
34601 fail:
34602 return NULL;
34603}
34604
34605
34606static PyObject *_wrap_SizerItem_SetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
34607 PyObject *resultobj;
34608 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34609 int arg2 ;
34610 PyObject * obj0 = 0 ;
8edf1c75 34611 PyObject * obj1 = 0 ;
d14a1e28
RD
34612 char *kwnames[] = {
34613 (char *) "self",(char *) "proportion", NULL
34614 };
34615
8edf1c75 34616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetProportion",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34619 arg2 = (int) SWIG_AsInt(obj1);
34620 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34621 {
34622 PyThreadState* __tstate = wxPyBeginAllowThreads();
34623 (arg1)->SetProportion(arg2);
34624
34625 wxPyEndAllowThreads(__tstate);
34626 if (PyErr_Occurred()) SWIG_fail;
34627 }
34628 Py_INCREF(Py_None); resultobj = Py_None;
34629 return resultobj;
34630 fail:
34631 return NULL;
34632}
34633
34634
34635static PyObject *_wrap_SizerItem_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
34636 PyObject *resultobj;
34637 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34638 int result;
34639 PyObject * obj0 = 0 ;
34640 char *kwnames[] = {
34641 (char *) "self", NULL
34642 };
34643
34644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34647 {
34648 PyThreadState* __tstate = wxPyBeginAllowThreads();
34649 result = (int)(arg1)->GetProportion();
34650
34651 wxPyEndAllowThreads(__tstate);
34652 if (PyErr_Occurred()) SWIG_fail;
34653 }
2f4c0a16 34654 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
34655 return resultobj;
34656 fail:
34657 return NULL;
34658}
34659
34660
34661static PyObject *_wrap_SizerItem_SetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
34662 PyObject *resultobj;
34663 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34664 int arg2 ;
34665 PyObject * obj0 = 0 ;
8edf1c75 34666 PyObject * obj1 = 0 ;
d14a1e28
RD
34667 char *kwnames[] = {
34668 (char *) "self",(char *) "flag", NULL
34669 };
34670
8edf1c75 34671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetFlag",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34674 arg2 = (int) SWIG_AsInt(obj1);
34675 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34676 {
34677 PyThreadState* __tstate = wxPyBeginAllowThreads();
34678 (arg1)->SetFlag(arg2);
34679
34680 wxPyEndAllowThreads(__tstate);
34681 if (PyErr_Occurred()) SWIG_fail;
34682 }
34683 Py_INCREF(Py_None); resultobj = Py_None;
34684 return resultobj;
34685 fail:
34686 return NULL;
34687}
34688
34689
34690static PyObject *_wrap_SizerItem_GetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
34691 PyObject *resultobj;
34692 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34693 int result;
34694 PyObject * obj0 = 0 ;
34695 char *kwnames[] = {
34696 (char *) "self", NULL
34697 };
34698
34699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34702 {
34703 PyThreadState* __tstate = wxPyBeginAllowThreads();
34704 result = (int)(arg1)->GetFlag();
34705
34706 wxPyEndAllowThreads(__tstate);
34707 if (PyErr_Occurred()) SWIG_fail;
34708 }
2f4c0a16 34709 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
34710 return resultobj;
34711 fail:
34712 return NULL;
34713}
34714
34715
34716static PyObject *_wrap_SizerItem_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
34717 PyObject *resultobj;
34718 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34719 int arg2 ;
34720 PyObject * obj0 = 0 ;
8edf1c75 34721 PyObject * obj1 = 0 ;
d14a1e28
RD
34722 char *kwnames[] = {
34723 (char *) "self",(char *) "border", NULL
34724 };
34725
8edf1c75 34726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetBorder",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34729 arg2 = (int) SWIG_AsInt(obj1);
34730 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34731 {
34732 PyThreadState* __tstate = wxPyBeginAllowThreads();
34733 (arg1)->SetBorder(arg2);
34734
34735 wxPyEndAllowThreads(__tstate);
34736 if (PyErr_Occurred()) SWIG_fail;
34737 }
34738 Py_INCREF(Py_None); resultobj = Py_None;
34739 return resultobj;
34740 fail:
34741 return NULL;
34742}
34743
34744
34745static PyObject *_wrap_SizerItem_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
34746 PyObject *resultobj;
34747 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34748 int result;
34749 PyObject * obj0 = 0 ;
34750 char *kwnames[] = {
34751 (char *) "self", NULL
34752 };
34753
34754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34757 {
34758 PyThreadState* __tstate = wxPyBeginAllowThreads();
34759 result = (int)(arg1)->GetBorder();
34760
34761 wxPyEndAllowThreads(__tstate);
34762 if (PyErr_Occurred()) SWIG_fail;
34763 }
2f4c0a16 34764 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
34765 return resultobj;
34766 fail:
34767 return NULL;
34768}
34769
34770
34771static PyObject *_wrap_SizerItem_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34772 PyObject *resultobj;
34773 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34774 wxWindow *result;
34775 PyObject * obj0 = 0 ;
34776 char *kwnames[] = {
34777 (char *) "self", NULL
34778 };
34779
34780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34783 {
34784 PyThreadState* __tstate = wxPyBeginAllowThreads();
34785 result = (wxWindow *)(arg1)->GetWindow();
34786
34787 wxPyEndAllowThreads(__tstate);
34788 if (PyErr_Occurred()) SWIG_fail;
34789 }
34790 {
34791 resultobj = wxPyMake_wxObject(result);
34792 }
34793 return resultobj;
34794 fail:
34795 return NULL;
34796}
34797
34798
34799static PyObject *_wrap_SizerItem_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34800 PyObject *resultobj;
34801 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34802 wxWindow *arg2 = (wxWindow *) 0 ;
34803 PyObject * obj0 = 0 ;
34804 PyObject * obj1 = 0 ;
34805 char *kwnames[] = {
34806 (char *) "self",(char *) "window", NULL
34807 };
34808
34809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34812 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
34813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34814 {
34815 PyThreadState* __tstate = wxPyBeginAllowThreads();
34816 (arg1)->SetWindow(arg2);
34817
34818 wxPyEndAllowThreads(__tstate);
34819 if (PyErr_Occurred()) SWIG_fail;
34820 }
34821 Py_INCREF(Py_None); resultobj = Py_None;
34822 return resultobj;
34823 fail:
34824 return NULL;
34825}
34826
34827
34828static PyObject *_wrap_SizerItem_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34829 PyObject *resultobj;
34830 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34831 wxSizer *result;
34832 PyObject * obj0 = 0 ;
34833 char *kwnames[] = {
34834 (char *) "self", NULL
34835 };
34836
34837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34840 {
34841 PyThreadState* __tstate = wxPyBeginAllowThreads();
34842 result = (wxSizer *)(arg1)->GetSizer();
34843
34844 wxPyEndAllowThreads(__tstate);
34845 if (PyErr_Occurred()) SWIG_fail;
34846 }
34847 {
34848 resultobj = wxPyMake_wxSizer(result);
34849 }
34850 return resultobj;
34851 fail:
34852 return NULL;
34853}
34854
34855
34856static PyObject *_wrap_SizerItem_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34857 PyObject *resultobj;
34858 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34859 wxSizer *arg2 = (wxSizer *) 0 ;
34860 PyObject * obj0 = 0 ;
34861 PyObject * obj1 = 0 ;
34862 char *kwnames[] = {
34863 (char *) "self",(char *) "sizer", NULL
34864 };
34865
34866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34869 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
34870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34871 {
34872 PyThreadState* __tstate = wxPyBeginAllowThreads();
34873 (arg1)->SetSizer(arg2);
34874
34875 wxPyEndAllowThreads(__tstate);
34876 if (PyErr_Occurred()) SWIG_fail;
34877 }
34878 Py_INCREF(Py_None); resultobj = Py_None;
34879 return resultobj;
34880 fail:
34881 return NULL;
34882}
34883
34884
34885static PyObject *_wrap_SizerItem_GetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34886 PyObject *resultobj;
34887 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34888 wxSize *result;
34889 PyObject * obj0 = 0 ;
34890 char *kwnames[] = {
34891 (char *) "self", NULL
34892 };
34893
34894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34897 {
34898 PyThreadState* __tstate = wxPyBeginAllowThreads();
34899 {
34900 wxSize const &_result_ref = (arg1)->GetSpacer();
34901 result = (wxSize *) &_result_ref;
34902 }
34903
34904 wxPyEndAllowThreads(__tstate);
34905 if (PyErr_Occurred()) SWIG_fail;
34906 }
2f4c0a16 34907 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
34908 return resultobj;
34909 fail:
34910 return NULL;
34911}
34912
34913
34914static PyObject *_wrap_SizerItem_SetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34915 PyObject *resultobj;
34916 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34917 wxSize *arg2 = 0 ;
34918 wxSize temp2 ;
34919 PyObject * obj0 = 0 ;
34920 PyObject * obj1 = 0 ;
34921 char *kwnames[] = {
34922 (char *) "self",(char *) "size", NULL
34923 };
34924
34925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34928 {
34929 arg2 = &temp2;
34930 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
34931 }
34932 {
34933 PyThreadState* __tstate = wxPyBeginAllowThreads();
34934 (arg1)->SetSpacer((wxSize const &)*arg2);
34935
34936 wxPyEndAllowThreads(__tstate);
34937 if (PyErr_Occurred()) SWIG_fail;
34938 }
34939 Py_INCREF(Py_None); resultobj = Py_None;
34940 return resultobj;
34941 fail:
34942 return NULL;
34943}
34944
34945
34946static PyObject *_wrap_SizerItem_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
34947 PyObject *resultobj;
34948 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34949 bool arg2 ;
34950 PyObject * obj0 = 0 ;
34951 PyObject * obj1 = 0 ;
34952 char *kwnames[] = {
34953 (char *) "self",(char *) "show", NULL
34954 };
34955
34956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34959 arg2 = (bool) SWIG_AsBool(obj1);
34960 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34961 {
34962 PyThreadState* __tstate = wxPyBeginAllowThreads();
34963 (arg1)->Show(arg2);
34964
34965 wxPyEndAllowThreads(__tstate);
34966 if (PyErr_Occurred()) SWIG_fail;
34967 }
34968 Py_INCREF(Py_None); resultobj = Py_None;
34969 return resultobj;
34970 fail:
34971 return NULL;
34972}
34973
34974
34975static PyObject *_wrap_SizerItem_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
34976 PyObject *resultobj;
34977 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34978 bool result;
34979 PyObject * obj0 = 0 ;
34980 char *kwnames[] = {
34981 (char *) "self", NULL
34982 };
34983
34984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34987 {
34988 PyThreadState* __tstate = wxPyBeginAllowThreads();
34989 result = (bool)(arg1)->IsShown();
34990
34991 wxPyEndAllowThreads(__tstate);
34992 if (PyErr_Occurred()) SWIG_fail;
34993 }
4f89f6a3
RD
34994 {
34995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34996 }
d14a1e28
RD
34997 return resultobj;
34998 fail:
34999 return NULL;
35000}
35001
35002
35003static PyObject *_wrap_SizerItem_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
35004 PyObject *resultobj;
35005 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35006 wxPoint result;
35007 PyObject * obj0 = 0 ;
35008 char *kwnames[] = {
35009 (char *) "self", NULL
35010 };
35011
35012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35015 {
35016 PyThreadState* __tstate = wxPyBeginAllowThreads();
35017 result = (arg1)->GetPosition();
35018
35019 wxPyEndAllowThreads(__tstate);
35020 if (PyErr_Occurred()) SWIG_fail;
35021 }
35022 {
35023 wxPoint * resultptr;
35024 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 35025 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
35026 }
35027 return resultobj;
35028 fail:
35029 return NULL;
35030}
35031
35032
35033static PyObject *_wrap_SizerItem_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
35034 PyObject *resultobj;
35035 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35036 PyObject *result;
35037 PyObject * obj0 = 0 ;
35038 char *kwnames[] = {
35039 (char *) "self", NULL
35040 };
35041
35042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35045 {
35046 PyThreadState* __tstate = wxPyBeginAllowThreads();
35047 result = (PyObject *)wxSizerItem_GetUserData(arg1);
35048
35049 wxPyEndAllowThreads(__tstate);
35050 if (PyErr_Occurred()) SWIG_fail;
35051 }
35052 resultobj = result;
35053 return resultobj;
35054 fail:
35055 return NULL;
35056}
35057
35058
35059static PyObject * SizerItem_swigregister(PyObject *self, PyObject *args) {
35060 PyObject *obj;
35061 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35062 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
35063 Py_INCREF(obj);
35064 return Py_BuildValue((char *)"");
35065}
35066static PyObject *_wrap_Sizer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
35067 PyObject *resultobj;
35068 wxSizer *arg1 = (wxSizer *) 0 ;
35069 PyObject *arg2 = (PyObject *) 0 ;
35070 PyObject * obj0 = 0 ;
35071 PyObject * obj1 = 0 ;
35072 char *kwnames[] = {
35073 (char *) "self",(char *) "_self", NULL
35074 };
35075
35076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35079 arg2 = obj1;
35080 {
35081 PyThreadState* __tstate = wxPyBeginAllowThreads();
35082 wxSizer__setOORInfo(arg1,arg2);
35083
35084 wxPyEndAllowThreads(__tstate);
35085 if (PyErr_Occurred()) SWIG_fail;
35086 }
35087 Py_INCREF(Py_None); resultobj = Py_None;
35088 return resultobj;
35089 fail:
35090 return NULL;
35091}
35092
35093
35094static PyObject *_wrap_Sizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
35095 PyObject *resultobj;
35096 wxSizer *arg1 = (wxSizer *) 0 ;
35097 PyObject *arg2 = (PyObject *) 0 ;
35098 int arg3 = (int) 0 ;
35099 int arg4 = (int) 0 ;
35100 int arg5 = (int) 0 ;
35101 PyObject *arg6 = (PyObject *) NULL ;
35102 PyObject * obj0 = 0 ;
35103 PyObject * obj1 = 0 ;
8edf1c75
RD
35104 PyObject * obj2 = 0 ;
35105 PyObject * obj3 = 0 ;
35106 PyObject * obj4 = 0 ;
d14a1e28
RD
35107 PyObject * obj5 = 0 ;
35108 char *kwnames[] = {
35109 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35110 };
35111
8edf1c75 35112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
35113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 35115 arg2 = obj1;
8edf1c75 35116 if (obj2) {
2f4c0a16
RD
35117 arg3 = (int) SWIG_AsInt(obj2);
35118 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
35119 }
35120 if (obj3) {
2f4c0a16
RD
35121 arg4 = (int) SWIG_AsInt(obj3);
35122 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
35123 }
35124 if (obj4) {
2f4c0a16
RD
35125 arg5 = (int) SWIG_AsInt(obj4);
35126 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 35127 }
d14a1e28
RD
35128 if (obj5) {
35129 arg6 = obj5;
35130 }
35131 {
35132 PyThreadState* __tstate = wxPyBeginAllowThreads();
35133 wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
35134
35135 wxPyEndAllowThreads(__tstate);
35136 if (PyErr_Occurred()) SWIG_fail;
35137 }
35138 Py_INCREF(Py_None); resultobj = Py_None;
35139 return resultobj;
35140 fail:
35141 return NULL;
35142}
35143
35144
35145static PyObject *_wrap_Sizer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
35146 PyObject *resultobj;
35147 wxSizer *arg1 = (wxSizer *) 0 ;
35148 int arg2 ;
35149 PyObject *arg3 = (PyObject *) 0 ;
35150 int arg4 = (int) 0 ;
35151 int arg5 = (int) 0 ;
35152 int arg6 = (int) 0 ;
35153 PyObject *arg7 = (PyObject *) NULL ;
35154 PyObject * obj0 = 0 ;
8edf1c75 35155 PyObject * obj1 = 0 ;
d14a1e28 35156 PyObject * obj2 = 0 ;
8edf1c75
RD
35157 PyObject * obj3 = 0 ;
35158 PyObject * obj4 = 0 ;
35159 PyObject * obj5 = 0 ;
d14a1e28
RD
35160 PyObject * obj6 = 0 ;
35161 char *kwnames[] = {
35162 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35163 };
35164
8edf1c75 35165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Sizer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
35166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35168 arg2 = (int) SWIG_AsInt(obj1);
35169 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 35170 arg3 = obj2;
8edf1c75 35171 if (obj3) {
2f4c0a16
RD
35172 arg4 = (int) SWIG_AsInt(obj3);
35173 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
35174 }
35175 if (obj4) {
2f4c0a16
RD
35176 arg5 = (int) SWIG_AsInt(obj4);
35177 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
35178 }
35179 if (obj5) {
2f4c0a16
RD
35180 arg6 = (int) SWIG_AsInt(obj5);
35181 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 35182 }
d14a1e28
RD
35183 if (obj6) {
35184 arg7 = obj6;
35185 }
35186 {
35187 PyThreadState* __tstate = wxPyBeginAllowThreads();
35188 wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
35189
35190 wxPyEndAllowThreads(__tstate);
35191 if (PyErr_Occurred()) SWIG_fail;
35192 }
35193 Py_INCREF(Py_None); resultobj = Py_None;
35194 return resultobj;
35195 fail:
35196 return NULL;
35197}
35198
35199
35200static PyObject *_wrap_Sizer_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
35201 PyObject *resultobj;
35202 wxSizer *arg1 = (wxSizer *) 0 ;
35203 PyObject *arg2 = (PyObject *) 0 ;
35204 int arg3 = (int) 0 ;
35205 int arg4 = (int) 0 ;
35206 int arg5 = (int) 0 ;
35207 PyObject *arg6 = (PyObject *) NULL ;
35208 PyObject * obj0 = 0 ;
35209 PyObject * obj1 = 0 ;
8edf1c75
RD
35210 PyObject * obj2 = 0 ;
35211 PyObject * obj3 = 0 ;
35212 PyObject * obj4 = 0 ;
d14a1e28
RD
35213 PyObject * obj5 = 0 ;
35214 char *kwnames[] = {
35215 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35216 };
35217
8edf1c75 35218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
35219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 35221 arg2 = obj1;
8edf1c75 35222 if (obj2) {
2f4c0a16
RD
35223 arg3 = (int) SWIG_AsInt(obj2);
35224 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
35225 }
35226 if (obj3) {
2f4c0a16
RD
35227 arg4 = (int) SWIG_AsInt(obj3);
35228 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
35229 }
35230 if (obj4) {
2f4c0a16
RD
35231 arg5 = (int) SWIG_AsInt(obj4);
35232 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 35233 }
d14a1e28
RD
35234 if (obj5) {
35235 arg6 = obj5;
35236 }
35237 {
35238 PyThreadState* __tstate = wxPyBeginAllowThreads();
35239 wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
35240
35241 wxPyEndAllowThreads(__tstate);
35242 if (PyErr_Occurred()) SWIG_fail;
35243 }
35244 Py_INCREF(Py_None); resultobj = Py_None;
35245 return resultobj;
35246 fail:
35247 return NULL;
35248}
35249
35250
35251static PyObject *_wrap_Sizer_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
35252 PyObject *resultobj;
35253 wxSizer *arg1 = (wxSizer *) 0 ;
35254 PyObject *arg2 = (PyObject *) 0 ;
35255 bool result;
35256 PyObject * obj0 = 0 ;
35257 PyObject * obj1 = 0 ;
35258 char *kwnames[] = {
35259 (char *) "self",(char *) "item", NULL
35260 };
35261
35262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35265 arg2 = obj1;
35266 {
35267 PyThreadState* __tstate = wxPyBeginAllowThreads();
35268 result = (bool)wxSizer_Remove(arg1,arg2);
35269
35270 wxPyEndAllowThreads(__tstate);
35271 if (PyErr_Occurred()) SWIG_fail;
35272 }
4f89f6a3
RD
35273 {
35274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35275 }
d14a1e28
RD
35276 return resultobj;
35277 fail:
35278 return NULL;
35279}
35280
35281
35282static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
35283 PyObject *resultobj;
35284 wxSizer *arg1 = (wxSizer *) 0 ;
35285 PyObject *arg2 = (PyObject *) 0 ;
423f194a
RD
35286 wxSize *arg3 = 0 ;
35287 wxSize temp3 ;
d14a1e28
RD
35288 PyObject * obj0 = 0 ;
35289 PyObject * obj1 = 0 ;
35290 PyObject * obj2 = 0 ;
35291 char *kwnames[] = {
35292 (char *) "self",(char *) "item",(char *) "size", NULL
35293 };
35294
35295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
35296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 35298 arg2 = obj1;
423f194a
RD
35299 {
35300 arg3 = &temp3;
35301 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
35302 }
d14a1e28
RD
35303 {
35304 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 35305 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
d14a1e28
RD
35306
35307 wxPyEndAllowThreads(__tstate);
35308 if (PyErr_Occurred()) SWIG_fail;
35309 }
35310 Py_INCREF(Py_None); resultobj = Py_None;
35311 return resultobj;
35312 fail:
35313 return NULL;
35314}
35315
35316
35317static PyObject *_wrap_Sizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
35318 PyObject *resultobj;
35319 wxSizer *arg1 = (wxSizer *) 0 ;
35320 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
35321 PyObject * obj0 = 0 ;
35322 PyObject * obj1 = 0 ;
35323 char *kwnames[] = {
35324 (char *) "self",(char *) "item", NULL
35325 };
35326
35327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35330 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
35331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35332 {
35333 PyThreadState* __tstate = wxPyBeginAllowThreads();
35334 (arg1)->Add(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_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
35347 PyObject *resultobj;
35348 wxSizer *arg1 = (wxSizer *) 0 ;
35349 size_t arg2 ;
35350 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
35351 PyObject * obj0 = 0 ;
35352 PyObject * obj1 = 0 ;
35353 PyObject * obj2 = 0 ;
35354 char *kwnames[] = {
35355 (char *) "self",(char *) "index",(char *) "item", NULL
35356 };
35357
35358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
35359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35361 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
35362 if (PyErr_Occurred()) SWIG_fail;
35363 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxSizerItem,
35364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35365 {
35366 PyThreadState* __tstate = wxPyBeginAllowThreads();
35367 (arg1)->Insert(arg2,arg3);
35368
35369 wxPyEndAllowThreads(__tstate);
35370 if (PyErr_Occurred()) SWIG_fail;
35371 }
35372 Py_INCREF(Py_None); resultobj = Py_None;
35373 return resultobj;
35374 fail:
35375 return NULL;
35376}
35377
35378
35379static PyObject *_wrap_Sizer_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
35380 PyObject *resultobj;
35381 wxSizer *arg1 = (wxSizer *) 0 ;
35382 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
35383 PyObject * obj0 = 0 ;
35384 PyObject * obj1 = 0 ;
35385 char *kwnames[] = {
35386 (char *) "self",(char *) "item", NULL
35387 };
35388
35389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35392 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
35393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35394 {
35395 PyThreadState* __tstate = wxPyBeginAllowThreads();
35396 (arg1)->Prepend(arg2);
35397
35398 wxPyEndAllowThreads(__tstate);
35399 if (PyErr_Occurred()) SWIG_fail;
35400 }
35401 Py_INCREF(Py_None); resultobj = Py_None;
35402 return resultobj;
35403 fail:
35404 return NULL;
35405}
35406
35407
35408static PyObject *_wrap_Sizer_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
35409 PyObject *resultobj;
35410 wxSizer *arg1 = (wxSizer *) 0 ;
35411 int arg2 ;
35412 int arg3 ;
35413 int arg4 ;
35414 int arg5 ;
35415 PyObject * obj0 = 0 ;
8edf1c75
RD
35416 PyObject * obj1 = 0 ;
35417 PyObject * obj2 = 0 ;
35418 PyObject * obj3 = 0 ;
35419 PyObject * obj4 = 0 ;
d14a1e28
RD
35420 char *kwnames[] = {
35421 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35422 };
35423
8edf1c75 35424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Sizer_SetDimension",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
35425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35427 arg2 = (int) SWIG_AsInt(obj1);
35428 if (PyErr_Occurred()) SWIG_fail;
35429 arg3 = (int) SWIG_AsInt(obj2);
35430 if (PyErr_Occurred()) SWIG_fail;
35431 arg4 = (int) SWIG_AsInt(obj3);
35432 if (PyErr_Occurred()) SWIG_fail;
35433 arg5 = (int) SWIG_AsInt(obj4);
35434 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35435 {
35436 PyThreadState* __tstate = wxPyBeginAllowThreads();
35437 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
35438
35439 wxPyEndAllowThreads(__tstate);
35440 if (PyErr_Occurred()) SWIG_fail;
35441 }
35442 Py_INCREF(Py_None); resultobj = Py_None;
35443 return resultobj;
35444 fail:
35445 return NULL;
35446}
35447
35448
35449static PyObject *_wrap_Sizer_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
35450 PyObject *resultobj;
35451 wxSizer *arg1 = (wxSizer *) 0 ;
a64def11
RD
35452 wxSize *arg2 = 0 ;
35453 wxSize temp2 ;
d14a1e28
RD
35454 PyObject * obj0 = 0 ;
35455 PyObject * obj1 = 0 ;
35456 char *kwnames[] = {
35457 (char *) "self",(char *) "size", NULL
35458 };
35459
35460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
a64def11
RD
35463 {
35464 arg2 = &temp2;
35465 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
35466 }
d14a1e28
RD
35467 {
35468 PyThreadState* __tstate = wxPyBeginAllowThreads();
a64def11 35469 (arg1)->SetMinSize((wxSize const &)*arg2);
d14a1e28
RD
35470
35471 wxPyEndAllowThreads(__tstate);
35472 if (PyErr_Occurred()) SWIG_fail;
35473 }
35474 Py_INCREF(Py_None); resultobj = Py_None;
35475 return resultobj;
35476 fail:
35477 return NULL;
35478}
35479
35480
35481static PyObject *_wrap_Sizer_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
35482 PyObject *resultobj;
35483 wxSizer *arg1 = (wxSizer *) 0 ;
35484 wxSize result;
35485 PyObject * obj0 = 0 ;
35486 char *kwnames[] = {
35487 (char *) "self", NULL
35488 };
35489
35490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35493 {
35494 PyThreadState* __tstate = wxPyBeginAllowThreads();
35495 result = (arg1)->GetSize();
35496
35497 wxPyEndAllowThreads(__tstate);
35498 if (PyErr_Occurred()) SWIG_fail;
35499 }
35500 {
35501 wxSize * resultptr;
35502 resultptr = new wxSize((wxSize &) result);
2f4c0a16 35503 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35504 }
35505 return resultobj;
35506 fail:
35507 return NULL;
35508}
35509
35510
35511static PyObject *_wrap_Sizer_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
35512 PyObject *resultobj;
35513 wxSizer *arg1 = (wxSizer *) 0 ;
35514 wxPoint result;
35515 PyObject * obj0 = 0 ;
35516 char *kwnames[] = {
35517 (char *) "self", NULL
35518 };
35519
35520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35523 {
35524 PyThreadState* __tstate = wxPyBeginAllowThreads();
35525 result = (arg1)->GetPosition();
35526
35527 wxPyEndAllowThreads(__tstate);
35528 if (PyErr_Occurred()) SWIG_fail;
35529 }
35530 {
35531 wxPoint * resultptr;
35532 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 35533 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
35534 }
35535 return resultobj;
35536 fail:
35537 return NULL;
35538}
35539
35540
35541static PyObject *_wrap_Sizer_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
35542 PyObject *resultobj;
35543 wxSizer *arg1 = (wxSizer *) 0 ;
35544 wxSize result;
35545 PyObject * obj0 = 0 ;
35546 char *kwnames[] = {
35547 (char *) "self", NULL
35548 };
35549
35550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35553 {
35554 PyThreadState* __tstate = wxPyBeginAllowThreads();
35555 result = (arg1)->GetMinSize();
35556
35557 wxPyEndAllowThreads(__tstate);
35558 if (PyErr_Occurred()) SWIG_fail;
35559 }
35560 {
35561 wxSize * resultptr;
35562 resultptr = new wxSize((wxSize &) result);
2f4c0a16 35563 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35564 }
35565 return resultobj;
35566 fail:
35567 return NULL;
35568}
35569
35570
35571static PyObject *_wrap_Sizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
35572 PyObject *resultobj;
35573 wxSizer *arg1 = (wxSizer *) 0 ;
35574 PyObject * obj0 = 0 ;
35575 char *kwnames[] = {
35576 (char *) "self", NULL
35577 };
35578
35579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35582 {
35583 PyThreadState* __tstate = wxPyBeginAllowThreads();
35584 (arg1)->RecalcSizes();
35585
35586 wxPyEndAllowThreads(__tstate);
35587 if (PyErr_Occurred()) SWIG_fail;
35588 }
35589 Py_INCREF(Py_None); resultobj = Py_None;
35590 return resultobj;
35591 fail:
35592 return NULL;
35593}
35594
35595
35596static PyObject *_wrap_Sizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
35597 PyObject *resultobj;
35598 wxSizer *arg1 = (wxSizer *) 0 ;
35599 wxSize result;
35600 PyObject * obj0 = 0 ;
35601 char *kwnames[] = {
35602 (char *) "self", NULL
35603 };
35604
35605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35608 {
35609 PyThreadState* __tstate = wxPyBeginAllowThreads();
35610 result = (arg1)->CalcMin();
35611
35612 wxPyEndAllowThreads(__tstate);
35613 if (PyErr_Occurred()) SWIG_fail;
35614 }
35615 {
35616 wxSize * resultptr;
35617 resultptr = new wxSize((wxSize &) result);
2f4c0a16 35618 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35619 }
35620 return resultobj;
35621 fail:
35622 return NULL;
35623}
35624
35625
35626static PyObject *_wrap_Sizer_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
35627 PyObject *resultobj;
35628 wxSizer *arg1 = (wxSizer *) 0 ;
35629 PyObject * obj0 = 0 ;
35630 char *kwnames[] = {
35631 (char *) "self", NULL
35632 };
35633
35634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35637 {
35638 PyThreadState* __tstate = wxPyBeginAllowThreads();
35639 (arg1)->Layout();
35640
35641 wxPyEndAllowThreads(__tstate);
35642 if (PyErr_Occurred()) SWIG_fail;
35643 }
35644 Py_INCREF(Py_None); resultobj = Py_None;
35645 return resultobj;
35646 fail:
35647 return NULL;
35648}
35649
35650
35651static PyObject *_wrap_Sizer_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
35652 PyObject *resultobj;
35653 wxSizer *arg1 = (wxSizer *) 0 ;
35654 wxWindow *arg2 = (wxWindow *) 0 ;
35655 wxSize result;
35656 PyObject * obj0 = 0 ;
35657 PyObject * obj1 = 0 ;
35658 char *kwnames[] = {
35659 (char *) "self",(char *) "window", NULL
35660 };
35661
35662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35665 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35667 {
35668 PyThreadState* __tstate = wxPyBeginAllowThreads();
35669 result = (arg1)->Fit(arg2);
35670
35671 wxPyEndAllowThreads(__tstate);
35672 if (PyErr_Occurred()) SWIG_fail;
35673 }
35674 {
35675 wxSize * resultptr;
35676 resultptr = new wxSize((wxSize &) result);
2f4c0a16 35677 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35678 }
35679 return resultobj;
35680 fail:
35681 return NULL;
35682}
35683
35684
35685static PyObject *_wrap_Sizer_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
35686 PyObject *resultobj;
35687 wxSizer *arg1 = (wxSizer *) 0 ;
35688 wxWindow *arg2 = (wxWindow *) 0 ;
35689 PyObject * obj0 = 0 ;
35690 PyObject * obj1 = 0 ;
35691 char *kwnames[] = {
35692 (char *) "self",(char *) "window", NULL
35693 };
35694
35695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35698 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35700 {
35701 PyThreadState* __tstate = wxPyBeginAllowThreads();
35702 (arg1)->FitInside(arg2);
35703
35704 wxPyEndAllowThreads(__tstate);
35705 if (PyErr_Occurred()) SWIG_fail;
35706 }
35707 Py_INCREF(Py_None); resultobj = Py_None;
35708 return resultobj;
35709 fail:
35710 return NULL;
35711}
35712
35713
35714static PyObject *_wrap_Sizer_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
35715 PyObject *resultobj;
35716 wxSizer *arg1 = (wxSizer *) 0 ;
35717 wxWindow *arg2 = (wxWindow *) 0 ;
35718 PyObject * obj0 = 0 ;
35719 PyObject * obj1 = 0 ;
35720 char *kwnames[] = {
35721 (char *) "self",(char *) "window", NULL
35722 };
35723
35724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35727 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35729 {
35730 PyThreadState* __tstate = wxPyBeginAllowThreads();
35731 (arg1)->SetSizeHints(arg2);
35732
35733 wxPyEndAllowThreads(__tstate);
35734 if (PyErr_Occurred()) SWIG_fail;
35735 }
35736 Py_INCREF(Py_None); resultobj = Py_None;
35737 return resultobj;
35738 fail:
35739 return NULL;
35740}
35741
35742
35743static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
35744 PyObject *resultobj;
35745 wxSizer *arg1 = (wxSizer *) 0 ;
35746 wxWindow *arg2 = (wxWindow *) 0 ;
35747 PyObject * obj0 = 0 ;
35748 PyObject * obj1 = 0 ;
35749 char *kwnames[] = {
35750 (char *) "self",(char *) "window", NULL
35751 };
35752
35753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35756 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35758 {
35759 PyThreadState* __tstate = wxPyBeginAllowThreads();
35760 (arg1)->SetVirtualSizeHints(arg2);
35761
35762 wxPyEndAllowThreads(__tstate);
35763 if (PyErr_Occurred()) SWIG_fail;
35764 }
35765 Py_INCREF(Py_None); resultobj = Py_None;
35766 return resultobj;
35767 fail:
35768 return NULL;
35769}
35770
35771
35772static PyObject *_wrap_Sizer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
35773 PyObject *resultobj;
35774 wxSizer *arg1 = (wxSizer *) 0 ;
423f194a 35775 bool arg2 = (bool) False ;
d14a1e28
RD
35776 PyObject * obj0 = 0 ;
35777 PyObject * obj1 = 0 ;
35778 char *kwnames[] = {
35779 (char *) "self",(char *) "delete_windows", NULL
35780 };
35781
35782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 35785 if (obj1) {
2f4c0a16
RD
35786 arg2 = (bool) SWIG_AsBool(obj1);
35787 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35788 }
35789 {
35790 PyThreadState* __tstate = wxPyBeginAllowThreads();
35791 (arg1)->Clear(arg2);
35792
35793 wxPyEndAllowThreads(__tstate);
35794 if (PyErr_Occurred()) SWIG_fail;
35795 }
35796 Py_INCREF(Py_None); resultobj = Py_None;
35797 return resultobj;
35798 fail:
35799 return NULL;
35800}
35801
35802
35803static PyObject *_wrap_Sizer_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
35804 PyObject *resultobj;
35805 wxSizer *arg1 = (wxSizer *) 0 ;
35806 PyObject * obj0 = 0 ;
35807 char *kwnames[] = {
35808 (char *) "self", NULL
35809 };
35810
35811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35814 {
35815 PyThreadState* __tstate = wxPyBeginAllowThreads();
35816 (arg1)->DeleteWindows();
35817
35818 wxPyEndAllowThreads(__tstate);
35819 if (PyErr_Occurred()) SWIG_fail;
35820 }
35821 Py_INCREF(Py_None); resultobj = Py_None;
35822 return resultobj;
35823 fail:
35824 return NULL;
35825}
35826
35827
35828static PyObject *_wrap_Sizer_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
35829 PyObject *resultobj;
35830 wxSizer *arg1 = (wxSizer *) 0 ;
35831 PyObject *result;
35832 PyObject * obj0 = 0 ;
35833 char *kwnames[] = {
35834 (char *) "self", NULL
35835 };
35836
35837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35840 {
35841 PyThreadState* __tstate = wxPyBeginAllowThreads();
35842 result = (PyObject *)wxSizer_GetChildren(arg1);
35843
35844 wxPyEndAllowThreads(__tstate);
35845 if (PyErr_Occurred()) SWIG_fail;
35846 }
35847 resultobj = result;
35848 return resultobj;
35849 fail:
35850 return NULL;
35851}
35852
35853
35854static PyObject *_wrap_Sizer_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
35855 PyObject *resultobj;
35856 wxSizer *arg1 = (wxSizer *) 0 ;
35857 PyObject *arg2 = (PyObject *) 0 ;
423f194a 35858 bool arg3 = (bool) True ;
d14a1e28
RD
35859 PyObject * obj0 = 0 ;
35860 PyObject * obj1 = 0 ;
35861 PyObject * obj2 = 0 ;
35862 char *kwnames[] = {
35863 (char *) "self",(char *) "item",(char *) "show", NULL
35864 };
35865
35866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Sizer_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
35867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35869 arg2 = obj1;
35870 if (obj2) {
2f4c0a16
RD
35871 arg3 = (bool) SWIG_AsBool(obj2);
35872 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35873 }
35874 {
35875 PyThreadState* __tstate = wxPyBeginAllowThreads();
35876 wxSizer_Show(arg1,arg2,arg3);
35877
35878 wxPyEndAllowThreads(__tstate);
35879 if (PyErr_Occurred()) SWIG_fail;
35880 }
35881 Py_INCREF(Py_None); resultobj = Py_None;
35882 return resultobj;
35883 fail:
35884 return NULL;
35885}
35886
35887
35888static PyObject *_wrap_Sizer_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
35889 PyObject *resultobj;
35890 wxSizer *arg1 = (wxSizer *) 0 ;
35891 PyObject *arg2 = (PyObject *) 0 ;
35892 PyObject * obj0 = 0 ;
35893 PyObject * obj1 = 0 ;
35894 char *kwnames[] = {
35895 (char *) "self",(char *) "item", NULL
35896 };
35897
35898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Hide",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35901 arg2 = obj1;
35902 {
35903 PyThreadState* __tstate = wxPyBeginAllowThreads();
35904 wxSizer_Hide(arg1,arg2);
35905
35906 wxPyEndAllowThreads(__tstate);
35907 if (PyErr_Occurred()) SWIG_fail;
35908 }
35909 Py_INCREF(Py_None); resultobj = Py_None;
35910 return resultobj;
35911 fail:
35912 return NULL;
35913}
35914
35915
35916static PyObject *_wrap_Sizer_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
35917 PyObject *resultobj;
35918 wxSizer *arg1 = (wxSizer *) 0 ;
35919 PyObject *arg2 = (PyObject *) 0 ;
35920 bool result;
35921 PyObject * obj0 = 0 ;
35922 PyObject * obj1 = 0 ;
35923 char *kwnames[] = {
35924 (char *) "self",(char *) "item", NULL
35925 };
35926
35927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35930 arg2 = obj1;
35931 {
35932 PyThreadState* __tstate = wxPyBeginAllowThreads();
35933 result = (bool)wxSizer_IsShown(arg1,arg2);
35934
35935 wxPyEndAllowThreads(__tstate);
35936 if (PyErr_Occurred()) SWIG_fail;
35937 }
4f89f6a3
RD
35938 {
35939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35940 }
d14a1e28
RD
35941 return resultobj;
35942 fail:
35943 return NULL;
35944}
35945
35946
35947static PyObject *_wrap_Sizer_ShowItems(PyObject *self, PyObject *args, PyObject *kwargs) {
35948 PyObject *resultobj;
35949 wxSizer *arg1 = (wxSizer *) 0 ;
35950 bool arg2 ;
35951 PyObject * obj0 = 0 ;
35952 PyObject * obj1 = 0 ;
35953 char *kwnames[] = {
35954 (char *) "self",(char *) "show", NULL
35955 };
35956
35957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35960 arg2 = (bool) SWIG_AsBool(obj1);
35961 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35962 {
35963 PyThreadState* __tstate = wxPyBeginAllowThreads();
35964 (arg1)->ShowItems(arg2);
35965
35966 wxPyEndAllowThreads(__tstate);
35967 if (PyErr_Occurred()) SWIG_fail;
35968 }
35969 Py_INCREF(Py_None); resultobj = Py_None;
35970 return resultobj;
35971 fail:
35972 return NULL;
35973}
35974
35975
35976static PyObject * Sizer_swigregister(PyObject *self, PyObject *args) {
35977 PyObject *obj;
35978 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35979 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
35980 Py_INCREF(obj);
35981 return Py_BuildValue((char *)"");
35982}
35983static PyObject *_wrap_new_PySizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35984 PyObject *resultobj;
35985 wxPySizer *result;
35986 char *kwnames[] = {
35987 NULL
35988 };
35989
35990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
35991 {
35992 PyThreadState* __tstate = wxPyBeginAllowThreads();
35993 result = (wxPySizer *)new wxPySizer();
35994
35995 wxPyEndAllowThreads(__tstate);
35996 if (PyErr_Occurred()) SWIG_fail;
35997 }
2f4c0a16 35998 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPySizer, 1);
d14a1e28
RD
35999 return resultobj;
36000 fail:
36001 return NULL;
36002}
36003
36004
36005static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
36006 PyObject *resultobj;
36007 wxPySizer *arg1 = (wxPySizer *) 0 ;
36008 PyObject *arg2 = (PyObject *) 0 ;
36009 PyObject *arg3 = (PyObject *) 0 ;
36010 PyObject * obj0 = 0 ;
36011 PyObject * obj1 = 0 ;
36012 PyObject * obj2 = 0 ;
36013 char *kwnames[] = {
36014 (char *) "self",(char *) "self",(char *) "_class", NULL
36015 };
36016
36017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
36018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPySizer,
36019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36020 arg2 = obj1;
36021 arg3 = obj2;
36022 {
36023 PyThreadState* __tstate = wxPyBeginAllowThreads();
36024 (arg1)->_setCallbackInfo(arg2,arg3);
36025
36026 wxPyEndAllowThreads(__tstate);
36027 if (PyErr_Occurred()) SWIG_fail;
36028 }
36029 Py_INCREF(Py_None); resultobj = Py_None;
36030 return resultobj;
36031 fail:
36032 return NULL;
36033}
36034
36035
36036static PyObject * PySizer_swigregister(PyObject *self, PyObject *args) {
36037 PyObject *obj;
36038 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36039 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
36040 Py_INCREF(obj);
36041 return Py_BuildValue((char *)"");
36042}
36043static PyObject *_wrap_new_BoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
36044 PyObject *resultobj;
36045 int arg1 = (int) wxHORIZONTAL ;
36046 wxBoxSizer *result;
8edf1c75 36047 PyObject * obj0 = 0 ;
d14a1e28
RD
36048 char *kwnames[] = {
36049 (char *) "orient", NULL
36050 };
36051
8edf1c75
RD
36052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BoxSizer",kwnames,&obj0)) goto fail;
36053 if (obj0) {
2f4c0a16
RD
36054 arg1 = (int) SWIG_AsInt(obj0);
36055 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 36056 }
d14a1e28
RD
36057 {
36058 PyThreadState* __tstate = wxPyBeginAllowThreads();
36059 result = (wxBoxSizer *)new wxBoxSizer(arg1);
36060
36061 wxPyEndAllowThreads(__tstate);
36062 if (PyErr_Occurred()) SWIG_fail;
36063 }
2f4c0a16 36064 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBoxSizer, 1);
d14a1e28
RD
36065 return resultobj;
36066 fail:
36067 return NULL;
36068}
36069
36070
36071static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
36072 PyObject *resultobj;
36073 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
36074 int result;
36075 PyObject * obj0 = 0 ;
36076 char *kwnames[] = {
36077 (char *) "self", NULL
36078 };
36079
36080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
36082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36083 {
36084 PyThreadState* __tstate = wxPyBeginAllowThreads();
36085 result = (int)(arg1)->GetOrientation();
36086
36087 wxPyEndAllowThreads(__tstate);
36088 if (PyErr_Occurred()) SWIG_fail;
36089 }
2f4c0a16 36090 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36091 return resultobj;
36092 fail:
36093 return NULL;
36094}
36095
36096
36097static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
36098 PyObject *resultobj;
36099 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
36100 int arg2 ;
36101 PyObject * obj0 = 0 ;
8edf1c75 36102 PyObject * obj1 = 0 ;
d14a1e28
RD
36103 char *kwnames[] = {
36104 (char *) "self",(char *) "orient", NULL
36105 };
36106
8edf1c75 36107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BoxSizer_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
36109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36110 arg2 = (int) SWIG_AsInt(obj1);
36111 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36112 {
36113 PyThreadState* __tstate = wxPyBeginAllowThreads();
36114 (arg1)->SetOrientation(arg2);
36115
36116 wxPyEndAllowThreads(__tstate);
36117 if (PyErr_Occurred()) SWIG_fail;
36118 }
36119 Py_INCREF(Py_None); resultobj = Py_None;
36120 return resultobj;
36121 fail:
36122 return NULL;
36123}
36124
36125
36126static PyObject *_wrap_BoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
36127 PyObject *resultobj;
36128 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
36129 PyObject * obj0 = 0 ;
36130 char *kwnames[] = {
36131 (char *) "self", NULL
36132 };
36133
36134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
36136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36137 {
36138 PyThreadState* __tstate = wxPyBeginAllowThreads();
36139 (arg1)->RecalcSizes();
36140
36141 wxPyEndAllowThreads(__tstate);
36142 if (PyErr_Occurred()) SWIG_fail;
36143 }
36144 Py_INCREF(Py_None); resultobj = Py_None;
36145 return resultobj;
36146 fail:
36147 return NULL;
36148}
36149
36150
36151static PyObject *_wrap_BoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
36152 PyObject *resultobj;
36153 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
36154 wxSize result;
36155 PyObject * obj0 = 0 ;
36156 char *kwnames[] = {
36157 (char *) "self", NULL
36158 };
36159
36160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
36162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36163 {
36164 PyThreadState* __tstate = wxPyBeginAllowThreads();
36165 result = (arg1)->CalcMin();
36166
36167 wxPyEndAllowThreads(__tstate);
36168 if (PyErr_Occurred()) SWIG_fail;
36169 }
36170 {
36171 wxSize * resultptr;
36172 resultptr = new wxSize((wxSize &) result);
2f4c0a16 36173 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
36174 }
36175 return resultobj;
36176 fail:
36177 return NULL;
36178}
36179
36180
36181static PyObject * BoxSizer_swigregister(PyObject *self, PyObject *args) {
36182 PyObject *obj;
36183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36184 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
36185 Py_INCREF(obj);
36186 return Py_BuildValue((char *)"");
36187}
36188static PyObject *_wrap_new_StaticBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
36189 PyObject *resultobj;
36190 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
36191 int arg2 = (int) wxHORIZONTAL ;
36192 wxStaticBoxSizer *result;
36193 PyObject * obj0 = 0 ;
8edf1c75 36194 PyObject * obj1 = 0 ;
d14a1e28
RD
36195 char *kwnames[] = {
36196 (char *) "box",(char *) "orient", NULL
36197 };
36198
8edf1c75 36199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_StaticBoxSizer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
36201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 36202 if (obj1) {
2f4c0a16
RD
36203 arg2 = (int) SWIG_AsInt(obj1);
36204 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 36205 }
d14a1e28
RD
36206 {
36207 PyThreadState* __tstate = wxPyBeginAllowThreads();
36208 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
36209
36210 wxPyEndAllowThreads(__tstate);
36211 if (PyErr_Occurred()) SWIG_fail;
36212 }
2f4c0a16 36213 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBoxSizer, 1);
d14a1e28
RD
36214 return resultobj;
36215 fail:
36216 return NULL;
36217}
36218
36219
36220static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
36221 PyObject *resultobj;
36222 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
36223 wxStaticBox *result;
36224 PyObject * obj0 = 0 ;
36225 char *kwnames[] = {
36226 (char *) "self", NULL
36227 };
36228
36229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
36231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36232 {
36233 PyThreadState* __tstate = wxPyBeginAllowThreads();
36234 result = (wxStaticBox *)(arg1)->GetStaticBox();
36235
36236 wxPyEndAllowThreads(__tstate);
36237 if (PyErr_Occurred()) SWIG_fail;
36238 }
36239 {
36240 resultobj = wxPyMake_wxObject(result);
36241 }
36242 return resultobj;
36243 fail:
36244 return NULL;
36245}
36246
36247
36248static PyObject *_wrap_StaticBoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
36249 PyObject *resultobj;
36250 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
36251 PyObject * obj0 = 0 ;
36252 char *kwnames[] = {
36253 (char *) "self", NULL
36254 };
36255
36256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
36258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36259 {
36260 PyThreadState* __tstate = wxPyBeginAllowThreads();
36261 (arg1)->RecalcSizes();
36262
36263 wxPyEndAllowThreads(__tstate);
36264 if (PyErr_Occurred()) SWIG_fail;
36265 }
36266 Py_INCREF(Py_None); resultobj = Py_None;
36267 return resultobj;
36268 fail:
36269 return NULL;
36270}
36271
36272
36273static PyObject *_wrap_StaticBoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
36274 PyObject *resultobj;
36275 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
36276 wxSize result;
36277 PyObject * obj0 = 0 ;
36278 char *kwnames[] = {
36279 (char *) "self", NULL
36280 };
36281
36282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
36284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36285 {
36286 PyThreadState* __tstate = wxPyBeginAllowThreads();
36287 result = (arg1)->CalcMin();
36288
36289 wxPyEndAllowThreads(__tstate);
36290 if (PyErr_Occurred()) SWIG_fail;
36291 }
36292 {
36293 wxSize * resultptr;
36294 resultptr = new wxSize((wxSize &) result);
2f4c0a16 36295 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
36296 }
36297 return resultobj;
36298 fail:
36299 return NULL;
36300}
36301
36302
36303static PyObject * StaticBoxSizer_swigregister(PyObject *self, PyObject *args) {
36304 PyObject *obj;
36305 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36306 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
36307 Py_INCREF(obj);
36308 return Py_BuildValue((char *)"");
36309}
36310static PyObject *_wrap_new_GridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
36311 PyObject *resultobj;
36312 int arg1 = (int) 1 ;
36313 int arg2 = (int) 0 ;
36314 int arg3 = (int) 0 ;
36315 int arg4 = (int) 0 ;
36316 wxGridSizer *result;
8edf1c75
RD
36317 PyObject * obj0 = 0 ;
36318 PyObject * obj1 = 0 ;
36319 PyObject * obj2 = 0 ;
36320 PyObject * obj3 = 0 ;
d14a1e28
RD
36321 char *kwnames[] = {
36322 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36323 };
36324
8edf1c75
RD
36325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_GridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36326 if (obj0) {
2f4c0a16
RD
36327 arg1 = (int) SWIG_AsInt(obj0);
36328 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
36329 }
36330 if (obj1) {
2f4c0a16
RD
36331 arg2 = (int) SWIG_AsInt(obj1);
36332 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
36333 }
36334 if (obj2) {
2f4c0a16
RD
36335 arg3 = (int) SWIG_AsInt(obj2);
36336 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
36337 }
36338 if (obj3) {
2f4c0a16
RD
36339 arg4 = (int) SWIG_AsInt(obj3);
36340 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 36341 }
d14a1e28
RD
36342 {
36343 PyThreadState* __tstate = wxPyBeginAllowThreads();
36344 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
36345
36346 wxPyEndAllowThreads(__tstate);
36347 if (PyErr_Occurred()) SWIG_fail;
36348 }
2f4c0a16 36349 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizer, 1);
d14a1e28
RD
36350 return resultobj;
36351 fail:
36352 return NULL;
36353}
36354
36355
36356static PyObject *_wrap_GridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
36357 PyObject *resultobj;
36358 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36359 PyObject * obj0 = 0 ;
36360 char *kwnames[] = {
36361 (char *) "self", NULL
36362 };
36363
36364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36367 {
36368 PyThreadState* __tstate = wxPyBeginAllowThreads();
36369 (arg1)->RecalcSizes();
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_GridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
36382 PyObject *resultobj;
36383 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36384 wxSize result;
36385 PyObject * obj0 = 0 ;
36386 char *kwnames[] = {
36387 (char *) "self", NULL
36388 };
36389
36390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36393 {
36394 PyThreadState* __tstate = wxPyBeginAllowThreads();
36395 result = (arg1)->CalcMin();
36396
36397 wxPyEndAllowThreads(__tstate);
36398 if (PyErr_Occurred()) SWIG_fail;
36399 }
36400 {
36401 wxSize * resultptr;
36402 resultptr = new wxSize((wxSize &) result);
2f4c0a16 36403 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
36404 }
36405 return resultobj;
36406 fail:
36407 return NULL;
36408}
36409
36410
36411static PyObject *_wrap_GridSizer_SetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
36412 PyObject *resultobj;
36413 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36414 int arg2 ;
36415 PyObject * obj0 = 0 ;
8edf1c75 36416 PyObject * obj1 = 0 ;
d14a1e28
RD
36417 char *kwnames[] = {
36418 (char *) "self",(char *) "cols", NULL
36419 };
36420
8edf1c75 36421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetCols",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36424 arg2 = (int) SWIG_AsInt(obj1);
36425 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36426 {
36427 PyThreadState* __tstate = wxPyBeginAllowThreads();
36428 (arg1)->SetCols(arg2);
36429
36430 wxPyEndAllowThreads(__tstate);
36431 if (PyErr_Occurred()) SWIG_fail;
36432 }
36433 Py_INCREF(Py_None); resultobj = Py_None;
36434 return resultobj;
36435 fail:
36436 return NULL;
36437}
36438
36439
36440static PyObject *_wrap_GridSizer_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
36441 PyObject *resultobj;
36442 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36443 int arg2 ;
36444 PyObject * obj0 = 0 ;
8edf1c75 36445 PyObject * obj1 = 0 ;
d14a1e28
RD
36446 char *kwnames[] = {
36447 (char *) "self",(char *) "rows", NULL
36448 };
36449
8edf1c75 36450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetRows",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36453 arg2 = (int) SWIG_AsInt(obj1);
36454 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36455 {
36456 PyThreadState* __tstate = wxPyBeginAllowThreads();
36457 (arg1)->SetRows(arg2);
36458
36459 wxPyEndAllowThreads(__tstate);
36460 if (PyErr_Occurred()) SWIG_fail;
36461 }
36462 Py_INCREF(Py_None); resultobj = Py_None;
36463 return resultobj;
36464 fail:
36465 return NULL;
36466}
36467
36468
36469static PyObject *_wrap_GridSizer_SetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36470 PyObject *resultobj;
36471 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36472 int arg2 ;
36473 PyObject * obj0 = 0 ;
8edf1c75 36474 PyObject * obj1 = 0 ;
d14a1e28
RD
36475 char *kwnames[] = {
36476 (char *) "self",(char *) "gap", NULL
36477 };
36478
8edf1c75 36479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetVGap",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36482 arg2 = (int) SWIG_AsInt(obj1);
36483 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36484 {
36485 PyThreadState* __tstate = wxPyBeginAllowThreads();
36486 (arg1)->SetVGap(arg2);
36487
36488 wxPyEndAllowThreads(__tstate);
36489 if (PyErr_Occurred()) SWIG_fail;
36490 }
36491 Py_INCREF(Py_None); resultobj = Py_None;
36492 return resultobj;
36493 fail:
36494 return NULL;
36495}
36496
36497
36498static PyObject *_wrap_GridSizer_SetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36499 PyObject *resultobj;
36500 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36501 int arg2 ;
36502 PyObject * obj0 = 0 ;
8edf1c75 36503 PyObject * obj1 = 0 ;
d14a1e28
RD
36504 char *kwnames[] = {
36505 (char *) "self",(char *) "gap", NULL
36506 };
36507
8edf1c75 36508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetHGap",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36511 arg2 = (int) SWIG_AsInt(obj1);
36512 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36513 {
36514 PyThreadState* __tstate = wxPyBeginAllowThreads();
36515 (arg1)->SetHGap(arg2);
36516
36517 wxPyEndAllowThreads(__tstate);
36518 if (PyErr_Occurred()) SWIG_fail;
36519 }
36520 Py_INCREF(Py_None); resultobj = Py_None;
36521 return resultobj;
36522 fail:
36523 return NULL;
36524}
36525
36526
36527static PyObject *_wrap_GridSizer_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
36528 PyObject *resultobj;
36529 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36530 int result;
36531 PyObject * obj0 = 0 ;
36532 char *kwnames[] = {
36533 (char *) "self", NULL
36534 };
36535
36536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36539 {
36540 PyThreadState* __tstate = wxPyBeginAllowThreads();
36541 result = (int)(arg1)->GetCols();
36542
36543 wxPyEndAllowThreads(__tstate);
36544 if (PyErr_Occurred()) SWIG_fail;
36545 }
2f4c0a16 36546 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36547 return resultobj;
36548 fail:
36549 return NULL;
36550}
36551
36552
36553static PyObject *_wrap_GridSizer_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
36554 PyObject *resultobj;
36555 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36556 int result;
36557 PyObject * obj0 = 0 ;
36558 char *kwnames[] = {
36559 (char *) "self", NULL
36560 };
36561
36562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36565 {
36566 PyThreadState* __tstate = wxPyBeginAllowThreads();
36567 result = (int)(arg1)->GetRows();
36568
36569 wxPyEndAllowThreads(__tstate);
36570 if (PyErr_Occurred()) SWIG_fail;
36571 }
2f4c0a16 36572 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36573 return resultobj;
36574 fail:
36575 return NULL;
36576}
36577
36578
36579static PyObject *_wrap_GridSizer_GetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36580 PyObject *resultobj;
36581 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36582 int result;
36583 PyObject * obj0 = 0 ;
36584 char *kwnames[] = {
36585 (char *) "self", NULL
36586 };
36587
36588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36591 {
36592 PyThreadState* __tstate = wxPyBeginAllowThreads();
36593 result = (int)(arg1)->GetVGap();
36594
36595 wxPyEndAllowThreads(__tstate);
36596 if (PyErr_Occurred()) SWIG_fail;
36597 }
2f4c0a16 36598 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36599 return resultobj;
36600 fail:
36601 return NULL;
36602}
36603
36604
36605static PyObject *_wrap_GridSizer_GetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36606 PyObject *resultobj;
36607 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36608 int result;
36609 PyObject * obj0 = 0 ;
36610 char *kwnames[] = {
36611 (char *) "self", NULL
36612 };
36613
36614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36617 {
36618 PyThreadState* __tstate = wxPyBeginAllowThreads();
36619 result = (int)(arg1)->GetHGap();
36620
36621 wxPyEndAllowThreads(__tstate);
36622 if (PyErr_Occurred()) SWIG_fail;
36623 }
2f4c0a16 36624 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36625 return resultobj;
36626 fail:
36627 return NULL;
36628}
36629
36630
36631static PyObject * GridSizer_swigregister(PyObject *self, PyObject *args) {
36632 PyObject *obj;
36633 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36634 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
36635 Py_INCREF(obj);
36636 return Py_BuildValue((char *)"");
36637}
36638static PyObject *_wrap_new_FlexGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
36639 PyObject *resultobj;
36640 int arg1 = (int) 1 ;
36641 int arg2 = (int) 0 ;
36642 int arg3 = (int) 0 ;
36643 int arg4 = (int) 0 ;
36644 wxFlexGridSizer *result;
8edf1c75
RD
36645 PyObject * obj0 = 0 ;
36646 PyObject * obj1 = 0 ;
36647 PyObject * obj2 = 0 ;
36648 PyObject * obj3 = 0 ;
d14a1e28
RD
36649 char *kwnames[] = {
36650 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36651 };
36652
8edf1c75
RD
36653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_FlexGridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36654 if (obj0) {
2f4c0a16
RD
36655 arg1 = (int) SWIG_AsInt(obj0);
36656 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
36657 }
36658 if (obj1) {
2f4c0a16
RD
36659 arg2 = (int) SWIG_AsInt(obj1);
36660 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
36661 }
36662 if (obj2) {
2f4c0a16
RD
36663 arg3 = (int) SWIG_AsInt(obj2);
36664 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
36665 }
36666 if (obj3) {
2f4c0a16
RD
36667 arg4 = (int) SWIG_AsInt(obj3);
36668 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 36669 }
d14a1e28
RD
36670 {
36671 PyThreadState* __tstate = wxPyBeginAllowThreads();
36672 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
36673
36674 wxPyEndAllowThreads(__tstate);
36675 if (PyErr_Occurred()) SWIG_fail;
36676 }
2f4c0a16 36677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFlexGridSizer, 1);
d14a1e28
RD
36678 return resultobj;
36679 fail:
36680 return NULL;
36681}
36682
36683
36684static PyObject *_wrap_FlexGridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
36685 PyObject *resultobj;
36686 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36687 PyObject * obj0 = 0 ;
36688 char *kwnames[] = {
36689 (char *) "self", NULL
36690 };
36691
36692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36695 {
36696 PyThreadState* __tstate = wxPyBeginAllowThreads();
36697 (arg1)->RecalcSizes();
36698
36699 wxPyEndAllowThreads(__tstate);
36700 if (PyErr_Occurred()) SWIG_fail;
36701 }
36702 Py_INCREF(Py_None); resultobj = Py_None;
36703 return resultobj;
36704 fail:
36705 return NULL;
36706}
36707
36708
36709static PyObject *_wrap_FlexGridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
36710 PyObject *resultobj;
36711 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36712 wxSize result;
36713 PyObject * obj0 = 0 ;
36714 char *kwnames[] = {
36715 (char *) "self", NULL
36716 };
36717
36718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36721 {
36722 PyThreadState* __tstate = wxPyBeginAllowThreads();
36723 result = (arg1)->CalcMin();
36724
36725 wxPyEndAllowThreads(__tstate);
36726 if (PyErr_Occurred()) SWIG_fail;
36727 }
36728 {
36729 wxSize * resultptr;
36730 resultptr = new wxSize((wxSize &) result);
2f4c0a16 36731 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
36732 }
36733 return resultobj;
36734 fail:
36735 return NULL;
36736}
36737
36738
36739static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36740 PyObject *resultobj;
36741 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36742 size_t arg2 ;
36743 int arg3 = (int) 0 ;
36744 PyObject * obj0 = 0 ;
36745 PyObject * obj1 = 0 ;
8edf1c75 36746 PyObject * obj2 = 0 ;
d14a1e28
RD
36747 char *kwnames[] = {
36748 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36749 };
36750
8edf1c75 36751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
36752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36754 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36755 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 36756 if (obj2) {
2f4c0a16
RD
36757 arg3 = (int) SWIG_AsInt(obj2);
36758 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 36759 }
d14a1e28
RD
36760 {
36761 PyThreadState* __tstate = wxPyBeginAllowThreads();
36762 (arg1)->AddGrowableRow(arg2,arg3);
36763
36764 wxPyEndAllowThreads(__tstate);
36765 if (PyErr_Occurred()) SWIG_fail;
36766 }
36767 Py_INCREF(Py_None); resultobj = Py_None;
36768 return resultobj;
36769 fail:
36770 return NULL;
36771}
36772
36773
36774static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36775 PyObject *resultobj;
36776 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36777 size_t arg2 ;
36778 PyObject * obj0 = 0 ;
36779 PyObject * obj1 = 0 ;
36780 char *kwnames[] = {
36781 (char *) "self",(char *) "idx", NULL
36782 };
36783
36784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36787 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36788 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36789 {
36790 PyThreadState* __tstate = wxPyBeginAllowThreads();
36791 (arg1)->RemoveGrowableRow(arg2);
36792
36793 wxPyEndAllowThreads(__tstate);
36794 if (PyErr_Occurred()) SWIG_fail;
36795 }
36796 Py_INCREF(Py_None); resultobj = Py_None;
36797 return resultobj;
36798 fail:
36799 return NULL;
36800}
36801
36802
36803static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36804 PyObject *resultobj;
36805 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36806 size_t arg2 ;
36807 int arg3 = (int) 0 ;
36808 PyObject * obj0 = 0 ;
36809 PyObject * obj1 = 0 ;
8edf1c75 36810 PyObject * obj2 = 0 ;
d14a1e28
RD
36811 char *kwnames[] = {
36812 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36813 };
36814
8edf1c75 36815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
36816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36818 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36819 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 36820 if (obj2) {
2f4c0a16
RD
36821 arg3 = (int) SWIG_AsInt(obj2);
36822 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 36823 }
d14a1e28
RD
36824 {
36825 PyThreadState* __tstate = wxPyBeginAllowThreads();
36826 (arg1)->AddGrowableCol(arg2,arg3);
36827
36828 wxPyEndAllowThreads(__tstate);
36829 if (PyErr_Occurred()) SWIG_fail;
36830 }
36831 Py_INCREF(Py_None); resultobj = Py_None;
36832 return resultobj;
36833 fail:
36834 return NULL;
36835}
36836
36837
36838static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36839 PyObject *resultobj;
36840 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36841 size_t arg2 ;
36842 PyObject * obj0 = 0 ;
36843 PyObject * obj1 = 0 ;
36844 char *kwnames[] = {
36845 (char *) "self",(char *) "idx", NULL
36846 };
36847
36848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36851 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36852 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36853 {
36854 PyThreadState* __tstate = wxPyBeginAllowThreads();
36855 (arg1)->RemoveGrowableCol(arg2);
36856
36857 wxPyEndAllowThreads(__tstate);
36858 if (PyErr_Occurred()) SWIG_fail;
36859 }
36860 Py_INCREF(Py_None); resultobj = Py_None;
36861 return resultobj;
36862 fail:
36863 return NULL;
36864}
36865
36866
36867static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
36868 PyObject *resultobj;
36869 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36870 int arg2 ;
36871 PyObject * obj0 = 0 ;
8edf1c75 36872 PyObject * obj1 = 0 ;
d14a1e28
RD
36873 char *kwnames[] = {
36874 (char *) "self",(char *) "direction", NULL
36875 };
36876
8edf1c75 36877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36880 arg2 = (int) SWIG_AsInt(obj1);
36881 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36882 {
36883 PyThreadState* __tstate = wxPyBeginAllowThreads();
36884 (arg1)->SetFlexibleDirection(arg2);
36885
36886 wxPyEndAllowThreads(__tstate);
36887 if (PyErr_Occurred()) SWIG_fail;
36888 }
36889 Py_INCREF(Py_None); resultobj = Py_None;
36890 return resultobj;
36891 fail:
36892 return NULL;
36893}
36894
36895
36896static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
36897 PyObject *resultobj;
36898 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36899 int result;
36900 PyObject * obj0 = 0 ;
36901 char *kwnames[] = {
36902 (char *) "self", NULL
36903 };
36904
36905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36908 {
36909 PyThreadState* __tstate = wxPyBeginAllowThreads();
36910 result = (int)(arg1)->GetFlexibleDirection();
36911
36912 wxPyEndAllowThreads(__tstate);
36913 if (PyErr_Occurred()) SWIG_fail;
36914 }
2f4c0a16 36915 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36916 return resultobj;
36917 fail:
36918 return NULL;
36919}
36920
36921
36922static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
36923 PyObject *resultobj;
36924 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36925 int arg2 ;
36926 PyObject * obj0 = 0 ;
8edf1c75 36927 PyObject * obj1 = 0 ;
d14a1e28
RD
36928 char *kwnames[] = {
36929 (char *) "self",(char *) "mode", NULL
36930 };
36931
8edf1c75 36932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36935 arg2 = (wxFlexSizerGrowMode) SWIG_AsInt(obj1);
36936 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36937 {
36938 PyThreadState* __tstate = wxPyBeginAllowThreads();
36939 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
36940
36941 wxPyEndAllowThreads(__tstate);
36942 if (PyErr_Occurred()) SWIG_fail;
36943 }
36944 Py_INCREF(Py_None); resultobj = Py_None;
36945 return resultobj;
36946 fail:
36947 return NULL;
36948}
36949
36950
36951static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
36952 PyObject *resultobj;
36953 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36954 int result;
36955 PyObject * obj0 = 0 ;
36956 char *kwnames[] = {
36957 (char *) "self", NULL
36958 };
36959
36960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36963 {
36964 PyThreadState* __tstate = wxPyBeginAllowThreads();
36965 result = (int)(arg1)->GetNonFlexibleGrowMode();
36966
36967 wxPyEndAllowThreads(__tstate);
36968 if (PyErr_Occurred()) SWIG_fail;
36969 }
2f4c0a16 36970 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36971 return resultobj;
36972 fail:
36973 return NULL;
36974}
36975
36976
423f194a
RD
36977static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *self, PyObject *args, PyObject *kwargs) {
36978 PyObject *resultobj;
36979 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36980 wxArrayInt *result;
36981 PyObject * obj0 = 0 ;
36982 char *kwnames[] = {
36983 (char *) "self", NULL
36984 };
36985
36986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
36989 {
36990 PyThreadState* __tstate = wxPyBeginAllowThreads();
36991 {
36992 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
36993 result = (wxArrayInt *) &_result_ref;
36994 }
36995
36996 wxPyEndAllowThreads(__tstate);
36997 if (PyErr_Occurred()) SWIG_fail;
36998 }
36999 {
37000 resultobj = PyList_New(0);
37001 size_t idx;
37002 for (idx = 0; idx < result->GetCount(); idx += 1) {
37003 PyObject* val = PyInt_FromLong( result->Item(idx) );
37004 PyList_Append(resultobj, val);
37005 Py_DECREF(val);
37006 }
37007 }
37008 return resultobj;
37009 fail:
37010 return NULL;
37011}
37012
37013
37014static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
37015 PyObject *resultobj;
37016 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37017 wxArrayInt *result;
37018 PyObject * obj0 = 0 ;
37019 char *kwnames[] = {
37020 (char *) "self", NULL
37021 };
37022
37023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
2f4c0a16
RD
37024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
37026 {
37027 PyThreadState* __tstate = wxPyBeginAllowThreads();
37028 {
37029 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
37030 result = (wxArrayInt *) &_result_ref;
37031 }
37032
37033 wxPyEndAllowThreads(__tstate);
37034 if (PyErr_Occurred()) SWIG_fail;
37035 }
37036 {
37037 resultobj = PyList_New(0);
37038 size_t idx;
37039 for (idx = 0; idx < result->GetCount(); idx += 1) {
37040 PyObject* val = PyInt_FromLong( result->Item(idx) );
37041 PyList_Append(resultobj, val);
37042 Py_DECREF(val);
37043 }
37044 }
37045 return resultobj;
37046 fail:
37047 return NULL;
37048}
37049
37050
d14a1e28
RD
37051static PyObject * FlexGridSizer_swigregister(PyObject *self, PyObject *args) {
37052 PyObject *obj;
37053 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37054 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
37055 Py_INCREF(obj);
37056 return Py_BuildValue((char *)"");
37057}
37058static PyObject *_wrap_new_GBPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
37059 PyObject *resultobj;
37060 int arg1 = (int) 0 ;
37061 int arg2 = (int) 0 ;
37062 wxGBPosition *result;
8edf1c75
RD
37063 PyObject * obj0 = 0 ;
37064 PyObject * obj1 = 0 ;
d14a1e28
RD
37065 char *kwnames[] = {
37066 (char *) "row",(char *) "col", NULL
37067 };
37068
8edf1c75
RD
37069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBPosition",kwnames,&obj0,&obj1)) goto fail;
37070 if (obj0) {
2f4c0a16
RD
37071 arg1 = (int) SWIG_AsInt(obj0);
37072 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
37073 }
37074 if (obj1) {
2f4c0a16
RD
37075 arg2 = (int) SWIG_AsInt(obj1);
37076 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 37077 }
d14a1e28
RD
37078 {
37079 PyThreadState* __tstate = wxPyBeginAllowThreads();
37080 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
37081
37082 wxPyEndAllowThreads(__tstate);
37083 if (PyErr_Occurred()) SWIG_fail;
37084 }
2f4c0a16 37085 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37086 return resultobj;
37087 fail:
37088 return NULL;
37089}
37090
37091
37092static PyObject *_wrap_GBPosition_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
37093 PyObject *resultobj;
37094 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37095 int result;
37096 PyObject * obj0 = 0 ;
37097 char *kwnames[] = {
37098 (char *) "self", NULL
37099 };
37100
37101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
37102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37104 {
37105 PyThreadState* __tstate = wxPyBeginAllowThreads();
37106 result = (int)((wxGBPosition const *)arg1)->GetRow();
37107
37108 wxPyEndAllowThreads(__tstate);
37109 if (PyErr_Occurred()) SWIG_fail;
37110 }
2f4c0a16 37111 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
37112 return resultobj;
37113 fail:
37114 return NULL;
37115}
37116
37117
37118static PyObject *_wrap_GBPosition_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
37119 PyObject *resultobj;
37120 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37121 int result;
37122 PyObject * obj0 = 0 ;
37123 char *kwnames[] = {
37124 (char *) "self", NULL
37125 };
37126
37127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
2f4c0a16
RD
37128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37130 {
37131 PyThreadState* __tstate = wxPyBeginAllowThreads();
37132 result = (int)((wxGBPosition const *)arg1)->GetCol();
37133
37134 wxPyEndAllowThreads(__tstate);
37135 if (PyErr_Occurred()) SWIG_fail;
37136 }
2f4c0a16 37137 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
37138 return resultobj;
37139 fail:
37140 return NULL;
37141}
37142
37143
37144static PyObject *_wrap_GBPosition_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
37145 PyObject *resultobj;
37146 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37147 int arg2 ;
37148 PyObject * obj0 = 0 ;
8edf1c75 37149 PyObject * obj1 = 0 ;
d14a1e28
RD
37150 char *kwnames[] = {
37151 (char *) "self",(char *) "row", NULL
37152 };
37153
8edf1c75 37154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetRow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
37155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37157 arg2 = (int) SWIG_AsInt(obj1);
37158 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37159 {
37160 PyThreadState* __tstate = wxPyBeginAllowThreads();
37161 (arg1)->SetRow(arg2);
37162
37163 wxPyEndAllowThreads(__tstate);
37164 if (PyErr_Occurred()) SWIG_fail;
37165 }
37166 Py_INCREF(Py_None); resultobj = Py_None;
37167 return resultobj;
37168 fail:
37169 return NULL;
37170}
37171
37172
37173static PyObject *_wrap_GBPosition_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
37174 PyObject *resultobj;
37175 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37176 int arg2 ;
37177 PyObject * obj0 = 0 ;
8edf1c75 37178 PyObject * obj1 = 0 ;
d14a1e28
RD
37179 char *kwnames[] = {
37180 (char *) "self",(char *) "col", NULL
37181 };
37182
8edf1c75 37183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetCol",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
37184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37186 arg2 = (int) SWIG_AsInt(obj1);
37187 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37188 {
37189 PyThreadState* __tstate = wxPyBeginAllowThreads();
37190 (arg1)->SetCol(arg2);
37191
37192 wxPyEndAllowThreads(__tstate);
37193 if (PyErr_Occurred()) SWIG_fail;
37194 }
37195 Py_INCREF(Py_None); resultobj = Py_None;
37196 return resultobj;
37197 fail:
37198 return NULL;
37199}
37200
37201
37202static PyObject *_wrap_GBPosition___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
37203 PyObject *resultobj;
37204 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
4f89f6a3 37205 wxGBPosition *arg2 = 0 ;
d14a1e28 37206 bool result;
4f89f6a3 37207 wxGBPosition temp2 ;
d14a1e28
RD
37208 PyObject * obj0 = 0 ;
37209 PyObject * obj1 = 0 ;
37210 char *kwnames[] = {
328fcd84 37211 (char *) "self",(char *) "other", NULL
d14a1e28
RD
37212 };
37213
37214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
37215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
37217 {
37218 arg2 = &temp2;
37219 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37220 }
d14a1e28
RD
37221 {
37222 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 37223 result = (bool)(arg1)->operator ==((wxGBPosition const &)*arg2);
d14a1e28
RD
37224
37225 wxPyEndAllowThreads(__tstate);
37226 if (PyErr_Occurred()) SWIG_fail;
37227 }
4f89f6a3
RD
37228 {
37229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37230 }
d14a1e28
RD
37231 return resultobj;
37232 fail:
37233 return NULL;
37234}
37235
37236
37237static PyObject *_wrap_GBPosition___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
37238 PyObject *resultobj;
37239 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
4f89f6a3 37240 wxGBPosition *arg2 = 0 ;
d14a1e28 37241 bool result;
4f89f6a3 37242 wxGBPosition temp2 ;
d14a1e28
RD
37243 PyObject * obj0 = 0 ;
37244 PyObject * obj1 = 0 ;
37245 char *kwnames[] = {
328fcd84 37246 (char *) "self",(char *) "other", NULL
d14a1e28
RD
37247 };
37248
37249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
37250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
37252 {
37253 arg2 = &temp2;
37254 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37255 }
d14a1e28
RD
37256 {
37257 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 37258 result = (bool)(arg1)->operator !=((wxGBPosition const &)*arg2);
d14a1e28
RD
37259
37260 wxPyEndAllowThreads(__tstate);
37261 if (PyErr_Occurred()) SWIG_fail;
37262 }
4f89f6a3
RD
37263 {
37264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37265 }
d14a1e28
RD
37266 return resultobj;
37267 fail:
37268 return NULL;
37269}
37270
37271
423f194a
RD
37272static PyObject *_wrap_GBPosition_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
37273 PyObject *resultobj;
37274 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37275 int arg2 = (int) 0 ;
37276 int arg3 = (int) 0 ;
37277 PyObject * obj0 = 0 ;
8edf1c75
RD
37278 PyObject * obj1 = 0 ;
37279 PyObject * obj2 = 0 ;
423f194a
RD
37280 char *kwnames[] = {
37281 (char *) "self",(char *) "row",(char *) "col", NULL
37282 };
37283
8edf1c75 37284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBPosition_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
37285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 37287 if (obj1) {
2f4c0a16
RD
37288 arg2 = (int) SWIG_AsInt(obj1);
37289 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
37290 }
37291 if (obj2) {
2f4c0a16
RD
37292 arg3 = (int) SWIG_AsInt(obj2);
37293 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 37294 }
423f194a
RD
37295 {
37296 PyThreadState* __tstate = wxPyBeginAllowThreads();
37297 wxGBPosition_Set(arg1,arg2,arg3);
37298
37299 wxPyEndAllowThreads(__tstate);
37300 if (PyErr_Occurred()) SWIG_fail;
37301 }
37302 Py_INCREF(Py_None); resultobj = Py_None;
37303 return resultobj;
37304 fail:
37305 return NULL;
37306}
37307
37308
37309static PyObject *_wrap_GBPosition_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37310 PyObject *resultobj;
37311 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37312 PyObject *result;
37313 PyObject * obj0 = 0 ;
37314 char *kwnames[] = {
37315 (char *) "self", NULL
37316 };
37317
423f194a 37318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
37319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37321 {
37322 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 37323 result = (PyObject *)wxGBPosition_Get(arg1);
d14a1e28
RD
37324
37325 wxPyEndAllowThreads(__tstate);
37326 if (PyErr_Occurred()) SWIG_fail;
37327 }
37328 resultobj = result;
37329 return resultobj;
37330 fail:
37331 return NULL;
37332}
37333
37334
37335static PyObject * GBPosition_swigregister(PyObject *self, PyObject *args) {
37336 PyObject *obj;
37337 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37338 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
37339 Py_INCREF(obj);
37340 return Py_BuildValue((char *)"");
37341}
37342static PyObject *_wrap_new_GBSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
37343 PyObject *resultobj;
37344 int arg1 = (int) 1 ;
37345 int arg2 = (int) 1 ;
37346 wxGBSpan *result;
8edf1c75
RD
37347 PyObject * obj0 = 0 ;
37348 PyObject * obj1 = 0 ;
d14a1e28
RD
37349 char *kwnames[] = {
37350 (char *) "rowspan",(char *) "colspan", NULL
37351 };
37352
8edf1c75
RD
37353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBSpan",kwnames,&obj0,&obj1)) goto fail;
37354 if (obj0) {
2f4c0a16
RD
37355 arg1 = (int) SWIG_AsInt(obj0);
37356 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
37357 }
37358 if (obj1) {
2f4c0a16
RD
37359 arg2 = (int) SWIG_AsInt(obj1);
37360 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 37361 }
d14a1e28
RD
37362 {
37363 PyThreadState* __tstate = wxPyBeginAllowThreads();
37364 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
37365
37366 wxPyEndAllowThreads(__tstate);
37367 if (PyErr_Occurred()) SWIG_fail;
37368 }
2f4c0a16 37369 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
37370 return resultobj;
37371 fail:
37372 return NULL;
37373}
37374
37375
37376static PyObject *_wrap_GBSpan_GetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
37377 PyObject *resultobj;
37378 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37379 int result;
37380 PyObject * obj0 = 0 ;
37381 char *kwnames[] = {
37382 (char *) "self", NULL
37383 };
37384
37385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
2f4c0a16
RD
37386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37388 {
37389 PyThreadState* __tstate = wxPyBeginAllowThreads();
37390 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
37391
37392 wxPyEndAllowThreads(__tstate);
37393 if (PyErr_Occurred()) SWIG_fail;
37394 }
2f4c0a16 37395 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
37396 return resultobj;
37397 fail:
37398 return NULL;
37399}
37400
37401
37402static PyObject *_wrap_GBSpan_GetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
37403 PyObject *resultobj;
37404 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37405 int result;
37406 PyObject * obj0 = 0 ;
37407 char *kwnames[] = {
37408 (char *) "self", NULL
37409 };
37410
37411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
2f4c0a16
RD
37412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37414 {
37415 PyThreadState* __tstate = wxPyBeginAllowThreads();
37416 result = (int)((wxGBSpan const *)arg1)->GetColspan();
37417
37418 wxPyEndAllowThreads(__tstate);
37419 if (PyErr_Occurred()) SWIG_fail;
37420 }
2f4c0a16 37421 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
37422 return resultobj;
37423 fail:
37424 return NULL;
37425}
37426
37427
37428static PyObject *_wrap_GBSpan_SetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
37429 PyObject *resultobj;
37430 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37431 int arg2 ;
37432 PyObject * obj0 = 0 ;
8edf1c75 37433 PyObject * obj1 = 0 ;
d14a1e28
RD
37434 char *kwnames[] = {
37435 (char *) "self",(char *) "rowspan", NULL
37436 };
37437
8edf1c75 37438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetRowspan",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
37439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37441 arg2 = (int) SWIG_AsInt(obj1);
37442 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37443 {
37444 PyThreadState* __tstate = wxPyBeginAllowThreads();
37445 (arg1)->SetRowspan(arg2);
37446
37447 wxPyEndAllowThreads(__tstate);
37448 if (PyErr_Occurred()) SWIG_fail;
37449 }
37450 Py_INCREF(Py_None); resultobj = Py_None;
37451 return resultobj;
37452 fail:
37453 return NULL;
37454}
37455
37456
37457static PyObject *_wrap_GBSpan_SetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
37458 PyObject *resultobj;
37459 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37460 int arg2 ;
37461 PyObject * obj0 = 0 ;
8edf1c75 37462 PyObject * obj1 = 0 ;
d14a1e28
RD
37463 char *kwnames[] = {
37464 (char *) "self",(char *) "colspan", NULL
37465 };
37466
8edf1c75 37467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetColspan",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
37468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37470 arg2 = (int) SWIG_AsInt(obj1);
37471 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37472 {
37473 PyThreadState* __tstate = wxPyBeginAllowThreads();
37474 (arg1)->SetColspan(arg2);
37475
37476 wxPyEndAllowThreads(__tstate);
37477 if (PyErr_Occurred()) SWIG_fail;
37478 }
37479 Py_INCREF(Py_None); resultobj = Py_None;
37480 return resultobj;
37481 fail:
37482 return NULL;
37483}
37484
37485
37486static PyObject *_wrap_GBSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
37487 PyObject *resultobj;
37488 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
4f89f6a3 37489 wxGBSpan *arg2 = 0 ;
d14a1e28 37490 bool result;
4f89f6a3 37491 wxGBSpan temp2 ;
d14a1e28
RD
37492 PyObject * obj0 = 0 ;
37493 PyObject * obj1 = 0 ;
37494 char *kwnames[] = {
328fcd84 37495 (char *) "self",(char *) "other", NULL
d14a1e28
RD
37496 };
37497
37498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
37499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
37501 {
37502 arg2 = &temp2;
37503 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
37504 }
d14a1e28
RD
37505 {
37506 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 37507 result = (bool)(arg1)->operator ==((wxGBSpan const &)*arg2);
d14a1e28
RD
37508
37509 wxPyEndAllowThreads(__tstate);
37510 if (PyErr_Occurred()) SWIG_fail;
37511 }
4f89f6a3
RD
37512 {
37513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37514 }
d14a1e28
RD
37515 return resultobj;
37516 fail:
37517 return NULL;
37518}
37519
37520
37521static PyObject *_wrap_GBSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
37522 PyObject *resultobj;
37523 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
4f89f6a3 37524 wxGBSpan *arg2 = 0 ;
d14a1e28 37525 bool result;
4f89f6a3 37526 wxGBSpan temp2 ;
d14a1e28
RD
37527 PyObject * obj0 = 0 ;
37528 PyObject * obj1 = 0 ;
37529 char *kwnames[] = {
328fcd84 37530 (char *) "self",(char *) "other", NULL
d14a1e28
RD
37531 };
37532
37533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
37534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
37536 {
37537 arg2 = &temp2;
37538 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
37539 }
d14a1e28
RD
37540 {
37541 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 37542 result = (bool)(arg1)->operator !=((wxGBSpan const &)*arg2);
d14a1e28
RD
37543
37544 wxPyEndAllowThreads(__tstate);
37545 if (PyErr_Occurred()) SWIG_fail;
37546 }
4f89f6a3
RD
37547 {
37548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37549 }
d14a1e28
RD
37550 return resultobj;
37551 fail:
37552 return NULL;
37553}
37554
37555
423f194a
RD
37556static PyObject *_wrap_GBSpan_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
37557 PyObject *resultobj;
37558 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37559 int arg2 = (int) 1 ;
37560 int arg3 = (int) 1 ;
37561 PyObject * obj0 = 0 ;
8edf1c75
RD
37562 PyObject * obj1 = 0 ;
37563 PyObject * obj2 = 0 ;
423f194a
RD
37564 char *kwnames[] = {
37565 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37566 };
37567
8edf1c75 37568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBSpan_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
37569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 37571 if (obj1) {
2f4c0a16
RD
37572 arg2 = (int) SWIG_AsInt(obj1);
37573 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
37574 }
37575 if (obj2) {
2f4c0a16
RD
37576 arg3 = (int) SWIG_AsInt(obj2);
37577 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 37578 }
423f194a
RD
37579 {
37580 PyThreadState* __tstate = wxPyBeginAllowThreads();
37581 wxGBSpan_Set(arg1,arg2,arg3);
37582
37583 wxPyEndAllowThreads(__tstate);
37584 if (PyErr_Occurred()) SWIG_fail;
37585 }
37586 Py_INCREF(Py_None); resultobj = Py_None;
37587 return resultobj;
37588 fail:
37589 return NULL;
37590}
37591
37592
37593static PyObject *_wrap_GBSpan_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37594 PyObject *resultobj;
37595 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37596 PyObject *result;
37597 PyObject * obj0 = 0 ;
37598 char *kwnames[] = {
37599 (char *) "self", NULL
37600 };
37601
423f194a 37602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
37603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37605 {
37606 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 37607 result = (PyObject *)wxGBSpan_Get(arg1);
d14a1e28
RD
37608
37609 wxPyEndAllowThreads(__tstate);
37610 if (PyErr_Occurred()) SWIG_fail;
37611 }
37612 resultobj = result;
37613 return resultobj;
37614 fail:
37615 return NULL;
37616}
37617
37618
37619static PyObject * GBSpan_swigregister(PyObject *self, PyObject *args) {
37620 PyObject *obj;
37621 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37622 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
37623 Py_INCREF(obj);
37624 return Py_BuildValue((char *)"");
37625}
2f4c0a16 37626static int _wrap_DefaultSpan_set(PyObject *_val) {
d14a1e28
RD
37627 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
37628 return 1;
37629}
37630
37631
37632static PyObject *_wrap_DefaultSpan_get() {
37633 PyObject *pyobj;
37634
2f4c0a16 37635 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSpan), SWIGTYPE_p_wxGBSpan, 0);
d14a1e28
RD
37636 return pyobj;
37637}
37638
37639
37640static PyObject *_wrap_new_GBSizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
37641 PyObject *resultobj;
37642 wxGBSizerItem *result;
37643 char *kwnames[] = {
37644 NULL
37645 };
37646
37647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
37648 {
37649 PyThreadState* __tstate = wxPyBeginAllowThreads();
37650 result = (wxGBSizerItem *)new wxGBSizerItem();
37651
37652 wxPyEndAllowThreads(__tstate);
37653 if (PyErr_Occurred()) SWIG_fail;
37654 }
2f4c0a16 37655 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37656 return resultobj;
37657 fail:
37658 return NULL;
37659}
37660
37661
37662static PyObject *_wrap_new_GBSizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
37663 PyObject *resultobj;
37664 wxWindow *arg1 = (wxWindow *) 0 ;
37665 wxGBPosition *arg2 = 0 ;
37666 wxGBSpan *arg3 = 0 ;
37667 int arg4 ;
37668 int arg5 ;
37669 wxObject *arg6 = (wxObject *) 0 ;
37670 wxGBSizerItem *result;
37671 wxGBPosition temp2 ;
37672 wxGBSpan temp3 ;
37673 PyObject * obj0 = 0 ;
37674 PyObject * obj1 = 0 ;
37675 PyObject * obj2 = 0 ;
8edf1c75
RD
37676 PyObject * obj3 = 0 ;
37677 PyObject * obj4 = 0 ;
d14a1e28
RD
37678 PyObject * obj5 = 0 ;
37679 char *kwnames[] = {
37680 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37681 };
37682
8edf1c75 37683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
37684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
37685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37686 {
37687 arg2 = &temp2;
37688 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37689 }
37690 {
37691 arg3 = &temp3;
37692 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37693 }
2f4c0a16
RD
37694 arg4 = (int) SWIG_AsInt(obj3);
37695 if (PyErr_Occurred()) SWIG_fail;
37696 arg5 = (int) SWIG_AsInt(obj4);
37697 if (PyErr_Occurred()) SWIG_fail;
37698 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
37699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37700 {
37701 PyThreadState* __tstate = wxPyBeginAllowThreads();
37702 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
37703
37704 wxPyEndAllowThreads(__tstate);
37705 if (PyErr_Occurred()) SWIG_fail;
37706 }
2f4c0a16 37707 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37708 return resultobj;
37709 fail:
37710 return NULL;
37711}
37712
37713
37714static PyObject *_wrap_new_GBSizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37715 PyObject *resultobj;
37716 wxSizer *arg1 = (wxSizer *) 0 ;
37717 wxGBPosition *arg2 = 0 ;
37718 wxGBSpan *arg3 = 0 ;
37719 int arg4 ;
37720 int arg5 ;
37721 wxObject *arg6 = (wxObject *) 0 ;
37722 wxGBSizerItem *result;
37723 wxGBPosition temp2 ;
37724 wxGBSpan temp3 ;
37725 PyObject * obj0 = 0 ;
37726 PyObject * obj1 = 0 ;
37727 PyObject * obj2 = 0 ;
8edf1c75
RD
37728 PyObject * obj3 = 0 ;
37729 PyObject * obj4 = 0 ;
d14a1e28
RD
37730 PyObject * obj5 = 0 ;
37731 char *kwnames[] = {
37732 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37733 };
37734
8edf1c75 37735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
37736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
37737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37738 {
37739 arg2 = &temp2;
37740 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37741 }
37742 {
37743 arg3 = &temp3;
37744 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37745 }
2f4c0a16
RD
37746 arg4 = (int) SWIG_AsInt(obj3);
37747 if (PyErr_Occurred()) SWIG_fail;
37748 arg5 = (int) SWIG_AsInt(obj4);
37749 if (PyErr_Occurred()) SWIG_fail;
37750 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
37751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37752 {
37753 PyThreadState* __tstate = wxPyBeginAllowThreads();
37754 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
37755
37756 wxPyEndAllowThreads(__tstate);
37757 if (PyErr_Occurred()) SWIG_fail;
37758 }
2f4c0a16 37759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37760 return resultobj;
37761 fail:
37762 return NULL;
37763}
37764
37765
37766static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
37767 PyObject *resultobj;
37768 int arg1 ;
37769 int arg2 ;
37770 wxGBPosition *arg3 = 0 ;
37771 wxGBSpan *arg4 = 0 ;
37772 int arg5 ;
37773 int arg6 ;
37774 wxObject *arg7 = (wxObject *) 0 ;
37775 wxGBSizerItem *result;
37776 wxGBPosition temp3 ;
37777 wxGBSpan temp4 ;
8edf1c75
RD
37778 PyObject * obj0 = 0 ;
37779 PyObject * obj1 = 0 ;
d14a1e28
RD
37780 PyObject * obj2 = 0 ;
37781 PyObject * obj3 = 0 ;
8edf1c75
RD
37782 PyObject * obj4 = 0 ;
37783 PyObject * obj5 = 0 ;
d14a1e28
RD
37784 PyObject * obj6 = 0 ;
37785 char *kwnames[] = {
37786 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37787 };
37788
8edf1c75 37789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
37790 arg1 = (int) SWIG_AsInt(obj0);
37791 if (PyErr_Occurred()) SWIG_fail;
37792 arg2 = (int) SWIG_AsInt(obj1);
37793 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37794 {
37795 arg3 = &temp3;
37796 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
37797 }
37798 {
37799 arg4 = &temp4;
37800 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
37801 }
2f4c0a16
RD
37802 arg5 = (int) SWIG_AsInt(obj4);
37803 if (PyErr_Occurred()) SWIG_fail;
37804 arg6 = (int) SWIG_AsInt(obj5);
37805 if (PyErr_Occurred()) SWIG_fail;
37806 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxObject,
37807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37808 {
37809 PyThreadState* __tstate = wxPyBeginAllowThreads();
37810 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
37811
37812 wxPyEndAllowThreads(__tstate);
37813 if (PyErr_Occurred()) SWIG_fail;
37814 }
2f4c0a16 37815 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37816 return resultobj;
37817 fail:
37818 return NULL;
37819}
37820
37821
37822static PyObject *_wrap_GBSizerItem_GetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
37823 PyObject *resultobj;
37824 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37825 wxGBPosition result;
37826 PyObject * obj0 = 0 ;
37827 char *kwnames[] = {
37828 (char *) "self", NULL
37829 };
37830
37831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
2f4c0a16
RD
37832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37834 {
37835 PyThreadState* __tstate = wxPyBeginAllowThreads();
37836 result = ((wxGBSizerItem const *)arg1)->GetPos();
37837
37838 wxPyEndAllowThreads(__tstate);
37839 if (PyErr_Occurred()) SWIG_fail;
37840 }
37841 {
37842 wxGBPosition * resultptr;
37843 resultptr = new wxGBPosition((wxGBPosition &) result);
2f4c0a16 37844 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37845 }
37846 return resultobj;
37847 fail:
37848 return NULL;
37849}
37850
37851
37852static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
37853 PyObject *resultobj;
37854 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37855 wxGBSpan result;
37856 PyObject * obj0 = 0 ;
37857 char *kwnames[] = {
37858 (char *) "self", NULL
37859 };
37860
37861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
2f4c0a16
RD
37862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37864 {
37865 PyThreadState* __tstate = wxPyBeginAllowThreads();
37866 result = ((wxGBSizerItem const *)arg1)->GetSpan();
37867
37868 wxPyEndAllowThreads(__tstate);
37869 if (PyErr_Occurred()) SWIG_fail;
37870 }
37871 {
37872 wxGBSpan * resultptr;
37873 resultptr = new wxGBSpan((wxGBSpan &) result);
2f4c0a16 37874 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
37875 }
37876 return resultobj;
37877 fail:
37878 return NULL;
37879}
37880
37881
37882static PyObject *_wrap_GBSizerItem_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
37883 PyObject *resultobj;
37884 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37885 wxGBPosition *arg2 = 0 ;
37886 bool result;
37887 wxGBPosition temp2 ;
37888 PyObject * obj0 = 0 ;
37889 PyObject * obj1 = 0 ;
37890 char *kwnames[] = {
37891 (char *) "self",(char *) "pos", NULL
37892 };
37893
37894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
37895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37897 {
37898 arg2 = &temp2;
37899 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37900 }
37901 {
37902 PyThreadState* __tstate = wxPyBeginAllowThreads();
37903 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
37904
37905 wxPyEndAllowThreads(__tstate);
37906 if (PyErr_Occurred()) SWIG_fail;
37907 }
4f89f6a3
RD
37908 {
37909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37910 }
d14a1e28
RD
37911 return resultobj;
37912 fail:
37913 return NULL;
37914}
37915
37916
37917static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
37918 PyObject *resultobj;
37919 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37920 wxGBSpan *arg2 = 0 ;
37921 bool result;
37922 wxGBSpan temp2 ;
37923 PyObject * obj0 = 0 ;
37924 PyObject * obj1 = 0 ;
37925 char *kwnames[] = {
37926 (char *) "self",(char *) "span", NULL
37927 };
37928
37929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
37930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37932 {
37933 arg2 = &temp2;
37934 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
37935 }
37936 {
37937 PyThreadState* __tstate = wxPyBeginAllowThreads();
37938 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
37939
37940 wxPyEndAllowThreads(__tstate);
37941 if (PyErr_Occurred()) SWIG_fail;
37942 }
4f89f6a3
RD
37943 {
37944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37945 }
d14a1e28
RD
37946 return resultobj;
37947 fail:
37948 return NULL;
37949}
37950
37951
37952static PyObject *_wrap_GBSizerItem_Intersects__SWIG_0(PyObject *self, PyObject *args) {
37953 PyObject *resultobj;
37954 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37955 wxGBSizerItem *arg2 = 0 ;
37956 bool result;
37957 PyObject * obj0 = 0 ;
37958 PyObject * obj1 = 0 ;
37959
37960 if(!PyArg_ParseTuple(args,(char *)"OO:GBSizerItem_Intersects",&obj0,&obj1)) goto fail;
2f4c0a16
RD
37961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37963 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
37964 SWIG_POINTER_EXCEPTION | 0)) == -1)
37965 SWIG_fail;
d14a1e28 37966 if (arg2 == NULL) {
2f4c0a16
RD
37967 PyErr_SetString(PyExc_TypeError,"null reference");
37968 SWIG_fail;
d14a1e28
RD
37969 }
37970 {
37971 PyThreadState* __tstate = wxPyBeginAllowThreads();
37972 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
37973
37974 wxPyEndAllowThreads(__tstate);
37975 if (PyErr_Occurred()) SWIG_fail;
37976 }
4f89f6a3
RD
37977 {
37978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37979 }
d14a1e28
RD
37980 return resultobj;
37981 fail:
37982 return NULL;
37983}
37984
37985
37986static PyObject *_wrap_GBSizerItem_Intersects__SWIG_1(PyObject *self, PyObject *args) {
37987 PyObject *resultobj;
37988 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37989 wxGBPosition *arg2 = 0 ;
37990 wxGBSpan *arg3 = 0 ;
37991 bool result;
37992 wxGBPosition temp2 ;
37993 wxGBSpan temp3 ;
37994 PyObject * obj0 = 0 ;
37995 PyObject * obj1 = 0 ;
37996 PyObject * obj2 = 0 ;
37997
37998 if(!PyArg_ParseTuple(args,(char *)"OOO:GBSizerItem_Intersects",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
37999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38001 {
38002 arg2 = &temp2;
38003 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38004 }
38005 {
38006 arg3 = &temp3;
38007 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38008 }
38009 {
38010 PyThreadState* __tstate = wxPyBeginAllowThreads();
38011 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
38012
38013 wxPyEndAllowThreads(__tstate);
38014 if (PyErr_Occurred()) SWIG_fail;
38015 }
4f89f6a3
RD
38016 {
38017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38018 }
d14a1e28
RD
38019 return resultobj;
38020 fail:
38021 return NULL;
38022}
38023
38024
38025static PyObject *_wrap_GBSizerItem_Intersects(PyObject *self, PyObject *args) {
38026 int argc;
38027 PyObject *argv[4];
38028 int ii;
38029
38030 argc = PyObject_Length(args);
38031 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
38032 argv[ii] = PyTuple_GetItem(args,ii);
38033 }
38034 if (argc == 2) {
38035 int _v;
38036 {
38037 void *ptr;
2f4c0a16 38038 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
38039 _v = 0;
38040 PyErr_Clear();
38041 } else {
38042 _v = 1;
38043 }
38044 }
38045 if (_v) {
38046 {
38047 void *ptr;
2f4c0a16 38048 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
38049 _v = 0;
38050 PyErr_Clear();
38051 } else {
38052 _v = 1;
38053 }
38054 }
38055 if (_v) {
38056 return _wrap_GBSizerItem_Intersects__SWIG_0(self,args);
38057 }
38058 }
38059 }
38060 if (argc == 3) {
38061 int _v;
38062 {
38063 void *ptr;
2f4c0a16 38064 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
38065 _v = 0;
38066 PyErr_Clear();
38067 } else {
38068 _v = 1;
38069 }
38070 }
38071 if (_v) {
38072 {
38073 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
38074 }
38075 if (_v) {
38076 {
38077 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38078 }
38079 if (_v) {
38080 return _wrap_GBSizerItem_Intersects__SWIG_1(self,args);
38081 }
38082 }
38083 }
38084 }
38085
38086 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GBSizerItem_Intersects'");
38087 return NULL;
38088}
38089
38090
38091static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *self, PyObject *args, PyObject *kwargs) {
38092 PyObject *resultobj;
38093 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38094 int *arg2 = 0 ;
38095 int *arg3 = 0 ;
38096 PyObject * obj0 = 0 ;
38097 PyObject * obj1 = 0 ;
38098 PyObject * obj2 = 0 ;
38099 char *kwnames[] = {
38100 (char *) "self",(char *) "row",(char *) "col", NULL
38101 };
38102
38103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_GetEndPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
38104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38106 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,
38107 SWIG_POINTER_EXCEPTION | 0)) == -1)
38108 SWIG_fail;
d14a1e28 38109 if (arg2 == NULL) {
2f4c0a16
RD
38110 PyErr_SetString(PyExc_TypeError,"null reference");
38111 SWIG_fail;
d14a1e28 38112 }
2f4c0a16
RD
38113 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_int,
38114 SWIG_POINTER_EXCEPTION | 0)) == -1)
38115 SWIG_fail;
d14a1e28 38116 if (arg3 == NULL) {
2f4c0a16
RD
38117 PyErr_SetString(PyExc_TypeError,"null reference");
38118 SWIG_fail;
d14a1e28
RD
38119 }
38120 {
38121 PyThreadState* __tstate = wxPyBeginAllowThreads();
38122 (arg1)->GetEndPos(*arg2,*arg3);
38123
38124 wxPyEndAllowThreads(__tstate);
38125 if (PyErr_Occurred()) SWIG_fail;
38126 }
38127 Py_INCREF(Py_None); resultobj = Py_None;
38128 return resultobj;
38129 fail:
38130 return NULL;
38131}
38132
38133
38134static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
38135 PyObject *resultobj;
38136 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38137 wxGridBagSizer *result;
38138 PyObject * obj0 = 0 ;
38139 char *kwnames[] = {
38140 (char *) "self", NULL
38141 };
38142
38143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38146 {
38147 PyThreadState* __tstate = wxPyBeginAllowThreads();
38148 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
38149
38150 wxPyEndAllowThreads(__tstate);
38151 if (PyErr_Occurred()) SWIG_fail;
38152 }
2f4c0a16 38153 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 0);
d14a1e28
RD
38154 return resultobj;
38155 fail:
38156 return NULL;
38157}
38158
38159
38160static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
38161 PyObject *resultobj;
38162 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38163 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
38164 PyObject * obj0 = 0 ;
38165 PyObject * obj1 = 0 ;
38166 char *kwnames[] = {
38167 (char *) "self",(char *) "sizer", NULL
38168 };
38169
38170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
38171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38173 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridBagSizer,
38174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38175 {
38176 PyThreadState* __tstate = wxPyBeginAllowThreads();
38177 (arg1)->SetGBSizer(arg2);
38178
38179 wxPyEndAllowThreads(__tstate);
38180 if (PyErr_Occurred()) SWIG_fail;
38181 }
38182 Py_INCREF(Py_None); resultobj = Py_None;
38183 return resultobj;
38184 fail:
38185 return NULL;
38186}
38187
38188
38189static PyObject * GBSizerItem_swigregister(PyObject *self, PyObject *args) {
38190 PyObject *obj;
38191 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
38192 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
38193 Py_INCREF(obj);
38194 return Py_BuildValue((char *)"");
38195}
38196static PyObject *_wrap_new_GridBagSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
38197 PyObject *resultobj;
38198 int arg1 = (int) 0 ;
38199 int arg2 = (int) 0 ;
38200 wxGridBagSizer *result;
8edf1c75
RD
38201 PyObject * obj0 = 0 ;
38202 PyObject * obj1 = 0 ;
d14a1e28
RD
38203 char *kwnames[] = {
38204 (char *) "vgap",(char *) "hgap", NULL
38205 };
38206
8edf1c75
RD
38207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridBagSizer",kwnames,&obj0,&obj1)) goto fail;
38208 if (obj0) {
2f4c0a16
RD
38209 arg1 = (int) SWIG_AsInt(obj0);
38210 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
38211 }
38212 if (obj1) {
2f4c0a16
RD
38213 arg2 = (int) SWIG_AsInt(obj1);
38214 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 38215 }
d14a1e28
RD
38216 {
38217 PyThreadState* __tstate = wxPyBeginAllowThreads();
38218 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
38219
38220 wxPyEndAllowThreads(__tstate);
38221 if (PyErr_Occurred()) SWIG_fail;
38222 }
2f4c0a16 38223 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 1);
d14a1e28
RD
38224 return resultobj;
38225 fail:
38226 return NULL;
38227}
38228
38229
38230static PyObject *_wrap_GridBagSizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
38231 PyObject *resultobj;
38232 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38233 PyObject *arg2 = (PyObject *) 0 ;
38234 wxGBPosition *arg3 = 0 ;
38235 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
38236 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
38237 int arg5 = (int) 0 ;
38238 int arg6 = (int) 0 ;
38239 PyObject *arg7 = (PyObject *) NULL ;
38240 bool result;
38241 wxGBPosition temp3 ;
38242 wxGBSpan temp4 ;
38243 PyObject * obj0 = 0 ;
38244 PyObject * obj1 = 0 ;
38245 PyObject * obj2 = 0 ;
38246 PyObject * obj3 = 0 ;
8edf1c75
RD
38247 PyObject * obj4 = 0 ;
38248 PyObject * obj5 = 0 ;
d14a1e28
RD
38249 PyObject * obj6 = 0 ;
38250 char *kwnames[] = {
38251 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38252 };
38253
8edf1c75 38254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
38255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38257 arg2 = obj1;
38258 {
38259 arg3 = &temp3;
38260 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38261 }
38262 if (obj3) {
38263 {
38264 arg4 = &temp4;
38265 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
38266 }
38267 }
8edf1c75 38268 if (obj4) {
2f4c0a16
RD
38269 arg5 = (int) SWIG_AsInt(obj4);
38270 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
38271 }
38272 if (obj5) {
2f4c0a16
RD
38273 arg6 = (int) SWIG_AsInt(obj5);
38274 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 38275 }
d14a1e28
RD
38276 if (obj6) {
38277 arg7 = obj6;
38278 }
38279 {
38280 PyThreadState* __tstate = wxPyBeginAllowThreads();
38281 result = (bool)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
38282
38283 wxPyEndAllowThreads(__tstate);
38284 if (PyErr_Occurred()) SWIG_fail;
38285 }
4f89f6a3
RD
38286 {
38287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38288 }
d14a1e28
RD
38289 return resultobj;
38290 fail:
38291 return NULL;
38292}
38293
38294
38295static PyObject *_wrap_GridBagSizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
38296 PyObject *resultobj;
38297 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38298 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
38299 bool result;
38300 PyObject * obj0 = 0 ;
38301 PyObject * obj1 = 0 ;
38302 char *kwnames[] = {
38303 (char *) "self",(char *) "item", NULL
38304 };
38305
38306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
38307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38309 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
38310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38311 {
38312 PyThreadState* __tstate = wxPyBeginAllowThreads();
38313 result = (bool)(arg1)->Add(arg2);
38314
38315 wxPyEndAllowThreads(__tstate);
38316 if (PyErr_Occurred()) SWIG_fail;
38317 }
4f89f6a3
RD
38318 {
38319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38320 }
d14a1e28
RD
38321 return resultobj;
38322 fail:
38323 return NULL;
38324}
38325
38326
38327static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
38328 PyObject *resultobj;
38329 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38330 wxSize result;
38331 PyObject * obj0 = 0 ;
38332 char *kwnames[] = {
38333 (char *) "self", NULL
38334 };
38335
38336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38339 {
38340 PyThreadState* __tstate = wxPyBeginAllowThreads();
38341 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
38342
38343 wxPyEndAllowThreads(__tstate);
38344 if (PyErr_Occurred()) SWIG_fail;
38345 }
38346 {
38347 wxSize * resultptr;
38348 resultptr = new wxSize((wxSize &) result);
2f4c0a16 38349 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
38350 }
38351 return resultobj;
38352 fail:
38353 return NULL;
38354}
38355
38356
38357static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
38358 PyObject *resultobj;
38359 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38360 wxSize *arg2 = 0 ;
38361 wxSize temp2 ;
38362 PyObject * obj0 = 0 ;
38363 PyObject * obj1 = 0 ;
38364 char *kwnames[] = {
38365 (char *) "self",(char *) "sz", NULL
38366 };
38367
38368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
38369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38371 {
38372 arg2 = &temp2;
38373 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
38374 }
38375 {
38376 PyThreadState* __tstate = wxPyBeginAllowThreads();
38377 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
38378
38379 wxPyEndAllowThreads(__tstate);
38380 if (PyErr_Occurred()) SWIG_fail;
38381 }
38382 Py_INCREF(Py_None); resultobj = Py_None;
38383 return resultobj;
38384 fail:
38385 return NULL;
38386}
38387
38388
38389static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
38390 PyObject *resultobj;
38391 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38392 wxWindow *arg2 = (wxWindow *) 0 ;
38393 wxGBPosition result;
38394 PyObject * obj0 = 0 ;
38395 PyObject * obj1 = 0 ;
38396
38397 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
2f4c0a16
RD
38398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38400 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38402 {
38403 PyThreadState* __tstate = wxPyBeginAllowThreads();
38404 result = (arg1)->GetItemPosition(arg2);
38405
38406 wxPyEndAllowThreads(__tstate);
38407 if (PyErr_Occurred()) SWIG_fail;
38408 }
38409 {
38410 wxGBPosition * resultptr;
38411 resultptr = new wxGBPosition((wxGBPosition &) result);
2f4c0a16 38412 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
38413 }
38414 return resultobj;
38415 fail:
38416 return NULL;
38417}
38418
38419
38420static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
38421 PyObject *resultobj;
38422 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38423 wxSizer *arg2 = (wxSizer *) 0 ;
38424 wxGBPosition result;
38425 PyObject * obj0 = 0 ;
38426 PyObject * obj1 = 0 ;
38427
38428 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
2f4c0a16
RD
38429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38431 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38433 {
38434 PyThreadState* __tstate = wxPyBeginAllowThreads();
38435 result = (arg1)->GetItemPosition(arg2);
38436
38437 wxPyEndAllowThreads(__tstate);
38438 if (PyErr_Occurred()) SWIG_fail;
38439 }
38440 {
38441 wxGBPosition * resultptr;
38442 resultptr = new wxGBPosition((wxGBPosition &) result);
2f4c0a16 38443 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
38444 }
38445 return resultobj;
38446 fail:
38447 return NULL;
38448}
38449
38450
38451static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
38452 PyObject *resultobj;
38453 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38454 size_t arg2 ;
38455 wxGBPosition result;
38456 PyObject * obj0 = 0 ;
38457 PyObject * obj1 = 0 ;
38458
38459 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
2f4c0a16
RD
38460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38462 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38463 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38464 {
38465 PyThreadState* __tstate = wxPyBeginAllowThreads();
38466 result = (arg1)->GetItemPosition(arg2);
38467
38468 wxPyEndAllowThreads(__tstate);
38469 if (PyErr_Occurred()) SWIG_fail;
38470 }
38471 {
38472 wxGBPosition * resultptr;
38473 resultptr = new wxGBPosition((wxGBPosition &) result);
2f4c0a16 38474 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
38475 }
38476 return resultobj;
38477 fail:
38478 return NULL;
38479}
38480
38481
38482static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
38483 int argc;
38484 PyObject *argv[3];
38485 int ii;
38486
38487 argc = PyObject_Length(args);
38488 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
38489 argv[ii] = PyTuple_GetItem(args,ii);
38490 }
38491 if (argc == 2) {
38492 int _v;
38493 {
38494 void *ptr;
2f4c0a16 38495 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38496 _v = 0;
38497 PyErr_Clear();
38498 } else {
38499 _v = 1;
38500 }
38501 }
38502 if (_v) {
38503 {
38504 void *ptr;
2f4c0a16 38505 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38506 _v = 0;
38507 PyErr_Clear();
38508 } else {
38509 _v = 1;
38510 }
38511 }
38512 if (_v) {
38513 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
38514 }
38515 }
38516 }
38517 if (argc == 2) {
38518 int _v;
38519 {
38520 void *ptr;
2f4c0a16 38521 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38522 _v = 0;
38523 PyErr_Clear();
38524 } else {
38525 _v = 1;
38526 }
38527 }
38528 if (_v) {
38529 {
38530 void *ptr;
2f4c0a16 38531 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38532 _v = 0;
38533 PyErr_Clear();
38534 } else {
38535 _v = 1;
38536 }
38537 }
38538 if (_v) {
38539 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
38540 }
38541 }
38542 }
38543 if (argc == 2) {
38544 int _v;
38545 {
38546 void *ptr;
2f4c0a16 38547 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38548 _v = 0;
38549 PyErr_Clear();
38550 } else {
38551 _v = 1;
38552 }
38553 }
38554 if (_v) {
2f4c0a16 38555 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
38556 if (_v) {
38557 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
38558 }
38559 }
38560 }
38561
38562 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38563 return NULL;
38564}
38565
38566
38567static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
38568 PyObject *resultobj;
38569 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38570 wxWindow *arg2 = (wxWindow *) 0 ;
38571 wxGBPosition *arg3 = 0 ;
38572 bool result;
38573 wxGBPosition temp3 ;
38574 PyObject * obj0 = 0 ;
38575 PyObject * obj1 = 0 ;
38576 PyObject * obj2 = 0 ;
38577
38578 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
38579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38581 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38583 {
38584 arg3 = &temp3;
38585 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38586 }
38587 {
38588 PyThreadState* __tstate = wxPyBeginAllowThreads();
38589 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38590
38591 wxPyEndAllowThreads(__tstate);
38592 if (PyErr_Occurred()) SWIG_fail;
38593 }
4f89f6a3
RD
38594 {
38595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38596 }
d14a1e28
RD
38597 return resultobj;
38598 fail:
38599 return NULL;
38600}
38601
38602
38603static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
38604 PyObject *resultobj;
38605 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38606 wxSizer *arg2 = (wxSizer *) 0 ;
38607 wxGBPosition *arg3 = 0 ;
38608 bool result;
38609 wxGBPosition temp3 ;
38610 PyObject * obj0 = 0 ;
38611 PyObject * obj1 = 0 ;
38612 PyObject * obj2 = 0 ;
38613
38614 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
38615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38617 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38619 {
38620 arg3 = &temp3;
38621 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38622 }
38623 {
38624 PyThreadState* __tstate = wxPyBeginAllowThreads();
38625 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38626
38627 wxPyEndAllowThreads(__tstate);
38628 if (PyErr_Occurred()) SWIG_fail;
38629 }
4f89f6a3
RD
38630 {
38631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38632 }
d14a1e28
RD
38633 return resultobj;
38634 fail:
38635 return NULL;
38636}
38637
38638
38639static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
38640 PyObject *resultobj;
38641 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38642 size_t arg2 ;
38643 wxGBPosition *arg3 = 0 ;
38644 bool result;
38645 wxGBPosition temp3 ;
38646 PyObject * obj0 = 0 ;
38647 PyObject * obj1 = 0 ;
38648 PyObject * obj2 = 0 ;
38649
38650 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
38651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38653 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38654 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38655 {
38656 arg3 = &temp3;
38657 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38658 }
38659 {
38660 PyThreadState* __tstate = wxPyBeginAllowThreads();
38661 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38662
38663 wxPyEndAllowThreads(__tstate);
38664 if (PyErr_Occurred()) SWIG_fail;
38665 }
4f89f6a3
RD
38666 {
38667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38668 }
d14a1e28
RD
38669 return resultobj;
38670 fail:
38671 return NULL;
38672}
38673
38674
38675static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
38676 int argc;
38677 PyObject *argv[4];
38678 int ii;
38679
38680 argc = PyObject_Length(args);
38681 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
38682 argv[ii] = PyTuple_GetItem(args,ii);
38683 }
38684 if (argc == 3) {
38685 int _v;
38686 {
38687 void *ptr;
2f4c0a16 38688 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38689 _v = 0;
38690 PyErr_Clear();
38691 } else {
38692 _v = 1;
38693 }
38694 }
38695 if (_v) {
38696 {
38697 void *ptr;
2f4c0a16 38698 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38699 _v = 0;
38700 PyErr_Clear();
38701 } else {
38702 _v = 1;
38703 }
38704 }
38705 if (_v) {
38706 {
38707 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38708 }
38709 if (_v) {
38710 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
38711 }
38712 }
38713 }
38714 }
38715 if (argc == 3) {
38716 int _v;
38717 {
38718 void *ptr;
2f4c0a16 38719 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38720 _v = 0;
38721 PyErr_Clear();
38722 } else {
38723 _v = 1;
38724 }
38725 }
38726 if (_v) {
38727 {
38728 void *ptr;
2f4c0a16 38729 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38730 _v = 0;
38731 PyErr_Clear();
38732 } else {
38733 _v = 1;
38734 }
38735 }
38736 if (_v) {
38737 {
38738 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38739 }
38740 if (_v) {
38741 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
38742 }
38743 }
38744 }
38745 }
38746 if (argc == 3) {
38747 int _v;
38748 {
38749 void *ptr;
2f4c0a16 38750 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38751 _v = 0;
38752 PyErr_Clear();
38753 } else {
38754 _v = 1;
38755 }
38756 }
38757 if (_v) {
2f4c0a16 38758 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
38759 if (_v) {
38760 {
38761 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38762 }
38763 if (_v) {
38764 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
38765 }
38766 }
38767 }
38768 }
38769
38770 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38771 return NULL;
38772}
38773
38774
38775static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
38776 PyObject *resultobj;
38777 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38778 wxWindow *arg2 = (wxWindow *) 0 ;
38779 wxGBSpan result;
38780 PyObject * obj0 = 0 ;
38781 PyObject * obj1 = 0 ;
38782
38783 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
2f4c0a16
RD
38784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38786 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38788 {
38789 PyThreadState* __tstate = wxPyBeginAllowThreads();
38790 result = (arg1)->GetItemSpan(arg2);
38791
38792 wxPyEndAllowThreads(__tstate);
38793 if (PyErr_Occurred()) SWIG_fail;
38794 }
38795 {
38796 wxGBSpan * resultptr;
38797 resultptr = new wxGBSpan((wxGBSpan &) result);
2f4c0a16 38798 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
38799 }
38800 return resultobj;
38801 fail:
38802 return NULL;
38803}
38804
38805
38806static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
38807 PyObject *resultobj;
38808 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38809 wxSizer *arg2 = (wxSizer *) 0 ;
38810 wxGBSpan result;
38811 PyObject * obj0 = 0 ;
38812 PyObject * obj1 = 0 ;
38813
38814 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
2f4c0a16
RD
38815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38817 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38819 {
38820 PyThreadState* __tstate = wxPyBeginAllowThreads();
38821 result = (arg1)->GetItemSpan(arg2);
38822
38823 wxPyEndAllowThreads(__tstate);
38824 if (PyErr_Occurred()) SWIG_fail;
38825 }
38826 {
38827 wxGBSpan * resultptr;
38828 resultptr = new wxGBSpan((wxGBSpan &) result);
2f4c0a16 38829 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
38830 }
38831 return resultobj;
38832 fail:
38833 return NULL;
38834}
38835
38836
38837static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
38838 PyObject *resultobj;
38839 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38840 size_t arg2 ;
38841 wxGBSpan result;
38842 PyObject * obj0 = 0 ;
38843 PyObject * obj1 = 0 ;
38844
38845 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
2f4c0a16
RD
38846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38848 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38849 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38850 {
38851 PyThreadState* __tstate = wxPyBeginAllowThreads();
38852 result = (arg1)->GetItemSpan(arg2);
38853
38854 wxPyEndAllowThreads(__tstate);
38855 if (PyErr_Occurred()) SWIG_fail;
38856 }
38857 {
38858 wxGBSpan * resultptr;
38859 resultptr = new wxGBSpan((wxGBSpan &) result);
2f4c0a16 38860 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
38861 }
38862 return resultobj;
38863 fail:
38864 return NULL;
38865}
38866
38867
38868static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
38869 int argc;
38870 PyObject *argv[3];
38871 int ii;
38872
38873 argc = PyObject_Length(args);
38874 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
38875 argv[ii] = PyTuple_GetItem(args,ii);
38876 }
38877 if (argc == 2) {
38878 int _v;
38879 {
38880 void *ptr;
2f4c0a16 38881 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38882 _v = 0;
38883 PyErr_Clear();
38884 } else {
38885 _v = 1;
38886 }
38887 }
38888 if (_v) {
38889 {
38890 void *ptr;
2f4c0a16 38891 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38892 _v = 0;
38893 PyErr_Clear();
38894 } else {
38895 _v = 1;
38896 }
38897 }
38898 if (_v) {
38899 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
38900 }
38901 }
38902 }
38903 if (argc == 2) {
38904 int _v;
38905 {
38906 void *ptr;
2f4c0a16 38907 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38908 _v = 0;
38909 PyErr_Clear();
38910 } else {
38911 _v = 1;
38912 }
38913 }
38914 if (_v) {
38915 {
38916 void *ptr;
2f4c0a16 38917 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38918 _v = 0;
38919 PyErr_Clear();
38920 } else {
38921 _v = 1;
38922 }
38923 }
38924 if (_v) {
38925 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
38926 }
38927 }
38928 }
38929 if (argc == 2) {
38930 int _v;
38931 {
38932 void *ptr;
2f4c0a16 38933 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38934 _v = 0;
38935 PyErr_Clear();
38936 } else {
38937 _v = 1;
38938 }
38939 }
38940 if (_v) {
2f4c0a16 38941 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
38942 if (_v) {
38943 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
38944 }
38945 }
38946 }
38947
38948 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38949 return NULL;
38950}
38951
38952
38953static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
38954 PyObject *resultobj;
38955 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38956 wxWindow *arg2 = (wxWindow *) 0 ;
38957 wxGBSpan *arg3 = 0 ;
38958 bool result;
38959 wxGBSpan temp3 ;
38960 PyObject * obj0 = 0 ;
38961 PyObject * obj1 = 0 ;
38962 PyObject * obj2 = 0 ;
38963
38964 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
38965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38967 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38969 {
38970 arg3 = &temp3;
38971 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38972 }
38973 {
38974 PyThreadState* __tstate = wxPyBeginAllowThreads();
38975 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
38976
38977 wxPyEndAllowThreads(__tstate);
38978 if (PyErr_Occurred()) SWIG_fail;
38979 }
4f89f6a3
RD
38980 {
38981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38982 }
d14a1e28
RD
38983 return resultobj;
38984 fail:
38985 return NULL;
38986}
38987
38988
38989static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
38990 PyObject *resultobj;
38991 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38992 wxSizer *arg2 = (wxSizer *) 0 ;
38993 wxGBSpan *arg3 = 0 ;
38994 bool result;
38995 wxGBSpan temp3 ;
38996 PyObject * obj0 = 0 ;
38997 PyObject * obj1 = 0 ;
38998 PyObject * obj2 = 0 ;
38999
39000 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
39001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39003 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
39004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39005 {
39006 arg3 = &temp3;
39007 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
39008 }
39009 {
39010 PyThreadState* __tstate = wxPyBeginAllowThreads();
39011 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
39012
39013 wxPyEndAllowThreads(__tstate);
39014 if (PyErr_Occurred()) SWIG_fail;
39015 }
4f89f6a3
RD
39016 {
39017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39018 }
d14a1e28
RD
39019 return resultobj;
39020 fail:
39021 return NULL;
39022}
39023
39024
39025static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
39026 PyObject *resultobj;
39027 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39028 size_t arg2 ;
39029 wxGBSpan *arg3 = 0 ;
39030 bool result;
39031 wxGBSpan temp3 ;
39032 PyObject * obj0 = 0 ;
39033 PyObject * obj1 = 0 ;
39034 PyObject * obj2 = 0 ;
39035
39036 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
39037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39039 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
39040 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39041 {
39042 arg3 = &temp3;
39043 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
39044 }
39045 {
39046 PyThreadState* __tstate = wxPyBeginAllowThreads();
39047 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
39048
39049 wxPyEndAllowThreads(__tstate);
39050 if (PyErr_Occurred()) SWIG_fail;
39051 }
4f89f6a3
RD
39052 {
39053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39054 }
d14a1e28
RD
39055 return resultobj;
39056 fail:
39057 return NULL;
39058}
39059
39060
39061static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
39062 int argc;
39063 PyObject *argv[4];
39064 int ii;
39065
39066 argc = PyObject_Length(args);
39067 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
39068 argv[ii] = PyTuple_GetItem(args,ii);
39069 }
39070 if (argc == 3) {
39071 int _v;
39072 {
39073 void *ptr;
2f4c0a16 39074 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39075 _v = 0;
39076 PyErr_Clear();
39077 } else {
39078 _v = 1;
39079 }
39080 }
39081 if (_v) {
39082 {
39083 void *ptr;
2f4c0a16 39084 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
39085 _v = 0;
39086 PyErr_Clear();
39087 } else {
39088 _v = 1;
39089 }
39090 }
39091 if (_v) {
39092 {
39093 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
39094 }
39095 if (_v) {
39096 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
39097 }
39098 }
39099 }
39100 }
39101 if (argc == 3) {
39102 int _v;
39103 {
39104 void *ptr;
2f4c0a16 39105 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39106 _v = 0;
39107 PyErr_Clear();
39108 } else {
39109 _v = 1;
39110 }
39111 }
39112 if (_v) {
39113 {
39114 void *ptr;
2f4c0a16 39115 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
39116 _v = 0;
39117 PyErr_Clear();
39118 } else {
39119 _v = 1;
39120 }
39121 }
39122 if (_v) {
39123 {
39124 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
39125 }
39126 if (_v) {
39127 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
39128 }
39129 }
39130 }
39131 }
39132 if (argc == 3) {
39133 int _v;
39134 {
39135 void *ptr;
2f4c0a16 39136 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39137 _v = 0;
39138 PyErr_Clear();
39139 } else {
39140 _v = 1;
39141 }
39142 }
39143 if (_v) {
2f4c0a16 39144 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
39145 if (_v) {
39146 {
39147 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
39148 }
39149 if (_v) {
39150 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
39151 }
39152 }
39153 }
39154 }
39155
39156 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39157 return NULL;
39158}
39159
39160
39161static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *self, PyObject *args) {
39162 PyObject *resultobj;
39163 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39164 wxWindow *arg2 = (wxWindow *) 0 ;
39165 wxGBSizerItem *result;
39166 PyObject * obj0 = 0 ;
39167 PyObject * obj1 = 0 ;
39168
39169 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
2f4c0a16
RD
39170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39172 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39174 {
39175 PyThreadState* __tstate = wxPyBeginAllowThreads();
39176 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
39177
39178 wxPyEndAllowThreads(__tstate);
39179 if (PyErr_Occurred()) SWIG_fail;
39180 }
2f4c0a16 39181 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
39182 return resultobj;
39183 fail:
39184 return NULL;
39185}
39186
39187
39188static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *self, PyObject *args) {
39189 PyObject *resultobj;
39190 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39191 wxSizer *arg2 = (wxSizer *) 0 ;
39192 wxGBSizerItem *result;
39193 PyObject * obj0 = 0 ;
39194 PyObject * obj1 = 0 ;
39195
39196 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
2f4c0a16
RD
39197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39199 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
39200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39201 {
39202 PyThreadState* __tstate = wxPyBeginAllowThreads();
39203 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
39204
39205 wxPyEndAllowThreads(__tstate);
39206 if (PyErr_Occurred()) SWIG_fail;
39207 }
2f4c0a16 39208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
39209 return resultobj;
39210 fail:
39211 return NULL;
39212}
39213
39214
39215static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
39216 int argc;
39217 PyObject *argv[3];
39218 int ii;
39219
39220 argc = PyObject_Length(args);
39221 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
39222 argv[ii] = PyTuple_GetItem(args,ii);
39223 }
39224 if (argc == 2) {
39225 int _v;
39226 {
39227 void *ptr;
2f4c0a16 39228 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39229 _v = 0;
39230 PyErr_Clear();
39231 } else {
39232 _v = 1;
39233 }
39234 }
39235 if (_v) {
39236 {
39237 void *ptr;
2f4c0a16 39238 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
39239 _v = 0;
39240 PyErr_Clear();
39241 } else {
39242 _v = 1;
39243 }
39244 }
39245 if (_v) {
39246 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
39247 }
39248 }
39249 }
39250 if (argc == 2) {
39251 int _v;
39252 {
39253 void *ptr;
2f4c0a16 39254 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39255 _v = 0;
39256 PyErr_Clear();
39257 } else {
39258 _v = 1;
39259 }
39260 }
39261 if (_v) {
39262 {
39263 void *ptr;
2f4c0a16 39264 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
39265 _v = 0;
39266 PyErr_Clear();
39267 } else {
39268 _v = 1;
39269 }
39270 }
39271 if (_v) {
39272 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
39273 }
39274 }
39275 }
39276
39277 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_FindItem'");
39278 return NULL;
39279}
39280
39281
39282static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
39283 PyObject *resultobj;
39284 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39285 wxGBPosition *arg2 = 0 ;
39286 wxGBSizerItem *result;
39287 wxGBPosition temp2 ;
39288 PyObject * obj0 = 0 ;
39289 PyObject * obj1 = 0 ;
39290 char *kwnames[] = {
39291 (char *) "self",(char *) "pos", NULL
39292 };
39293
39294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
39295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39297 {
39298 arg2 = &temp2;
39299 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
39300 }
39301 {
39302 PyThreadState* __tstate = wxPyBeginAllowThreads();
39303 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
39304
39305 wxPyEndAllowThreads(__tstate);
39306 if (PyErr_Occurred()) SWIG_fail;
39307 }
2f4c0a16 39308 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
39309 return resultobj;
39310 fail:
39311 return NULL;
39312}
39313
39314
423f194a
RD
39315static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
39316 PyObject *resultobj;
39317 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39318 wxPoint *arg2 = 0 ;
39319 wxGBSizerItem *result;
39320 wxPoint temp2 ;
39321 PyObject * obj0 = 0 ;
39322 PyObject * obj1 = 0 ;
39323 char *kwnames[] = {
39324 (char *) "self",(char *) "pt", NULL
39325 };
39326
39327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
39328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
39330 {
39331 arg2 = &temp2;
39332 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
39333 }
39334 {
39335 PyThreadState* __tstate = wxPyBeginAllowThreads();
39336 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
39337
39338 wxPyEndAllowThreads(__tstate);
39339 if (PyErr_Occurred()) SWIG_fail;
39340 }
2f4c0a16 39341 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
423f194a
RD
39342 return resultobj;
39343 fail:
39344 return NULL;
39345}
39346
39347
d14a1e28
RD
39348static PyObject *_wrap_GridBagSizer_FindItemWithData(PyObject *self, PyObject *args, PyObject *kwargs) {
39349 PyObject *resultobj;
39350 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39351 wxObject *arg2 = (wxObject *) 0 ;
39352 wxGBSizerItem *result;
39353 PyObject * obj0 = 0 ;
39354 PyObject * obj1 = 0 ;
39355 char *kwnames[] = {
39356 (char *) "self",(char *) "userData", NULL
39357 };
39358
39359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemWithData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
39360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39362 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
39363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39364 {
39365 PyThreadState* __tstate = wxPyBeginAllowThreads();
39366 result = (wxGBSizerItem *)(arg1)->FindItemWithData((wxObject const *)arg2);
39367
39368 wxPyEndAllowThreads(__tstate);
39369 if (PyErr_Occurred()) SWIG_fail;
39370 }
2f4c0a16 39371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
39372 return resultobj;
39373 fail:
39374 return NULL;
39375}
39376
39377
39378static PyObject *_wrap_GridBagSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
39379 PyObject *resultobj;
39380 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39381 PyObject * obj0 = 0 ;
39382 char *kwnames[] = {
39383 (char *) "self", NULL
39384 };
39385
39386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_RecalcSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
39387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39389 {
39390 PyThreadState* __tstate = wxPyBeginAllowThreads();
39391 (arg1)->RecalcSizes();
39392
39393 wxPyEndAllowThreads(__tstate);
39394 if (PyErr_Occurred()) SWIG_fail;
39395 }
39396 Py_INCREF(Py_None); resultobj = Py_None;
39397 return resultobj;
39398 fail:
39399 return NULL;
39400}
39401
39402
39403static PyObject *_wrap_GridBagSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
39404 PyObject *resultobj;
39405 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39406 wxSize result;
39407 PyObject * obj0 = 0 ;
39408 char *kwnames[] = {
39409 (char *) "self", NULL
39410 };
39411
39412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
39413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39415 {
39416 PyThreadState* __tstate = wxPyBeginAllowThreads();
39417 result = (arg1)->CalcMin();
39418
39419 wxPyEndAllowThreads(__tstate);
39420 if (PyErr_Occurred()) SWIG_fail;
39421 }
39422 {
39423 wxSize * resultptr;
39424 resultptr = new wxSize((wxSize &) result);
2f4c0a16 39425 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
39426 }
39427 return resultobj;
39428 fail:
39429 return NULL;
39430}
39431
39432
39433static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject *self, PyObject *args) {
39434 PyObject *resultobj;
39435 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39436 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
39437 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
39438 bool result;
39439 PyObject * obj0 = 0 ;
39440 PyObject * obj1 = 0 ;
39441 PyObject * obj2 = 0 ;
39442
39443 if(!PyArg_ParseTuple(args,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
39444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39446 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
39447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 39448 if (obj2) {
2f4c0a16
RD
39449 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGBSizerItem,
39450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39451 }
39452 {
39453 PyThreadState* __tstate = wxPyBeginAllowThreads();
39454 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
39455
39456 wxPyEndAllowThreads(__tstate);
39457 if (PyErr_Occurred()) SWIG_fail;
39458 }
4f89f6a3
RD
39459 {
39460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39461 }
d14a1e28
RD
39462 return resultobj;
39463 fail:
39464 return NULL;
39465}
39466
39467
39468static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject *self, PyObject *args) {
39469 PyObject *resultobj;
39470 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39471 wxGBPosition *arg2 = 0 ;
39472 wxGBSpan *arg3 = 0 ;
39473 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
39474 bool result;
39475 wxGBPosition temp2 ;
39476 wxGBSpan temp3 ;
39477 PyObject * obj0 = 0 ;
39478 PyObject * obj1 = 0 ;
39479 PyObject * obj2 = 0 ;
39480 PyObject * obj3 = 0 ;
39481
39482 if(!PyArg_ParseTuple(args,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
39483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39485 {
39486 arg2 = &temp2;
39487 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
39488 }
39489 {
39490 arg3 = &temp3;
39491 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
39492 }
39493 if (obj3) {
2f4c0a16
RD
39494 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGBSizerItem,
39495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39496 }
39497 {
39498 PyThreadState* __tstate = wxPyBeginAllowThreads();
39499 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
39500
39501 wxPyEndAllowThreads(__tstate);
39502 if (PyErr_Occurred()) SWIG_fail;
39503 }
4f89f6a3
RD
39504 {
39505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39506 }
d14a1e28
RD
39507 return resultobj;
39508 fail:
39509 return NULL;
39510}
39511
39512
39513static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *self, PyObject *args) {
39514 int argc;
39515 PyObject *argv[5];
39516 int ii;
39517
39518 argc = PyObject_Length(args);
39519 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
39520 argv[ii] = PyTuple_GetItem(args,ii);
39521 }
39522 if ((argc >= 2) && (argc <= 3)) {
39523 int _v;
39524 {
39525 void *ptr;
2f4c0a16 39526 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39527 _v = 0;
39528 PyErr_Clear();
39529 } else {
39530 _v = 1;
39531 }
39532 }
39533 if (_v) {
39534 {
39535 void *ptr;
2f4c0a16 39536 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
39537 _v = 0;
39538 PyErr_Clear();
39539 } else {
39540 _v = 1;
39541 }
39542 }
39543 if (_v) {
39544 if (argc <= 2) {
39545 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
39546 }
39547 {
39548 void *ptr;
2f4c0a16 39549 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
39550 _v = 0;
39551 PyErr_Clear();
39552 } else {
39553 _v = 1;
39554 }
39555 }
39556 if (_v) {
39557 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
39558 }
39559 }
39560 }
39561 }
39562 if ((argc >= 3) && (argc <= 4)) {
39563 int _v;
39564 {
39565 void *ptr;
2f4c0a16 39566 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39567 _v = 0;
39568 PyErr_Clear();
39569 } else {
39570 _v = 1;
39571 }
39572 }
39573 if (_v) {
39574 {
39575 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
39576 }
39577 if (_v) {
39578 {
39579 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
39580 }
39581 if (_v) {
39582 if (argc <= 3) {
39583 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
39584 }
39585 {
39586 void *ptr;
2f4c0a16 39587 if (SWIG_ConvertPtr(argv[3], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
39588 _v = 0;
39589 PyErr_Clear();
39590 } else {
39591 _v = 1;
39592 }
39593 }
39594 if (_v) {
39595 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
39596 }
39597 }
39598 }
39599 }
39600 }
39601
39602 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
39603 return NULL;
39604}
39605
39606
39607static PyObject * GridBagSizer_swigregister(PyObject *self, PyObject *args) {
39608 PyObject *obj;
39609 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
39610 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
39611 Py_INCREF(obj);
39612 return Py_BuildValue((char *)"");
39613}
39614static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
39615 PyObject *resultobj;
39616 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39617 int arg2 ;
39618 wxWindow *arg3 = (wxWindow *) 0 ;
39619 int arg4 ;
39620 int arg5 = (int) 0 ;
39621 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
39622 PyObject * obj0 = 0 ;
8edf1c75 39623 PyObject * obj1 = 0 ;
d14a1e28 39624 PyObject * obj2 = 0 ;
8edf1c75
RD
39625 PyObject * obj3 = 0 ;
39626 PyObject * obj4 = 0 ;
39627 PyObject * obj5 = 0 ;
d14a1e28
RD
39628 char *kwnames[] = {
39629 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39630 };
39631
8edf1c75 39632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
39633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39635 arg2 = (wxRelationship) SWIG_AsInt(obj1);
39636 if (PyErr_Occurred()) SWIG_fail;
39637 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
39638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39639 arg4 = (wxEdge) SWIG_AsInt(obj3);
39640 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 39641 if (obj4) {
2f4c0a16
RD
39642 arg5 = (int) SWIG_AsInt(obj4);
39643 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
39644 }
39645 if (obj5) {
2f4c0a16
RD
39646 arg6 = (int) SWIG_AsInt(obj5);
39647 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 39648 }
d14a1e28
RD
39649 {
39650 PyThreadState* __tstate = wxPyBeginAllowThreads();
39651 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
39652
39653 wxPyEndAllowThreads(__tstate);
39654 if (PyErr_Occurred()) SWIG_fail;
39655 }
39656 Py_INCREF(Py_None); resultobj = Py_None;
39657 return resultobj;
39658 fail:
39659 return NULL;
39660}
39661
39662
39663static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args, PyObject *kwargs) {
39664 PyObject *resultobj;
39665 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39666 wxWindow *arg2 = (wxWindow *) 0 ;
39667 int arg3 = (int) 0 ;
39668 PyObject * obj0 = 0 ;
39669 PyObject * obj1 = 0 ;
8edf1c75 39670 PyObject * obj2 = 0 ;
d14a1e28
RD
39671 char *kwnames[] = {
39672 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39673 };
39674
8edf1c75 39675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
39676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39678 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 39680 if (obj2) {
2f4c0a16
RD
39681 arg3 = (int) SWIG_AsInt(obj2);
39682 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 39683 }
d14a1e28
RD
39684 {
39685 PyThreadState* __tstate = wxPyBeginAllowThreads();
39686 (arg1)->LeftOf(arg2,arg3);
39687
39688 wxPyEndAllowThreads(__tstate);
39689 if (PyErr_Occurred()) SWIG_fail;
39690 }
39691 Py_INCREF(Py_None); resultobj = Py_None;
39692 return resultobj;
39693 fail:
39694 return NULL;
39695}
39696
39697
39698static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args, PyObject *kwargs) {
39699 PyObject *resultobj;
39700 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39701 wxWindow *arg2 = (wxWindow *) 0 ;
39702 int arg3 = (int) 0 ;
39703 PyObject * obj0 = 0 ;
39704 PyObject * obj1 = 0 ;
8edf1c75 39705 PyObject * obj2 = 0 ;
d14a1e28
RD
39706 char *kwnames[] = {
39707 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39708 };
39709
8edf1c75 39710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
39711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39713 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 39715 if (obj2) {
2f4c0a16
RD
39716 arg3 = (int) SWIG_AsInt(obj2);
39717 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 39718 }
d14a1e28
RD
39719 {
39720 PyThreadState* __tstate = wxPyBeginAllowThreads();
39721 (arg1)->RightOf(arg2,arg3);
39722
39723 wxPyEndAllowThreads(__tstate);
39724 if (PyErr_Occurred()) SWIG_fail;
39725 }
39726 Py_INCREF(Py_None); resultobj = Py_None;
39727 return resultobj;
39728 fail:
39729 return NULL;
39730}
39731
39732
39733static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *self, PyObject *args, PyObject *kwargs) {
39734 PyObject *resultobj;
39735 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39736 wxWindow *arg2 = (wxWindow *) 0 ;
39737 int arg3 = (int) 0 ;
39738 PyObject * obj0 = 0 ;
39739 PyObject * obj1 = 0 ;
8edf1c75 39740 PyObject * obj2 = 0 ;
d14a1e28
RD
39741 char *kwnames[] = {
39742 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39743 };
39744
8edf1c75 39745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
39746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39748 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 39750 if (obj2) {
2f4c0a16
RD
39751 arg3 = (int) SWIG_AsInt(obj2);
39752 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 39753 }
d14a1e28
RD
39754 {
39755 PyThreadState* __tstate = wxPyBeginAllowThreads();
39756 (arg1)->Above(arg2,arg3);
39757
39758 wxPyEndAllowThreads(__tstate);
39759 if (PyErr_Occurred()) SWIG_fail;
39760 }
39761 Py_INCREF(Py_None); resultobj = Py_None;
39762 return resultobj;
39763 fail:
39764 return NULL;
39765}
39766
39767
39768static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *self, PyObject *args, PyObject *kwargs) {
39769 PyObject *resultobj;
39770 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39771 wxWindow *arg2 = (wxWindow *) 0 ;
39772 int arg3 = (int) 0 ;
39773 PyObject * obj0 = 0 ;
39774 PyObject * obj1 = 0 ;
8edf1c75 39775 PyObject * obj2 = 0 ;
d14a1e28
RD
39776 char *kwnames[] = {
39777 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39778 };
39779
8edf1c75 39780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
39781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39783 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 39785 if (obj2) {
2f4c0a16
RD
39786 arg3 = (int) SWIG_AsInt(obj2);
39787 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 39788 }
d14a1e28
RD
39789 {
39790 PyThreadState* __tstate = wxPyBeginAllowThreads();
39791 (arg1)->Below(arg2,arg3);
39792
39793 wxPyEndAllowThreads(__tstate);
39794 if (PyErr_Occurred()) SWIG_fail;
39795 }
39796 Py_INCREF(Py_None); resultobj = Py_None;
39797 return resultobj;
39798 fail:
39799 return NULL;
39800}
39801
39802
39803static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args, PyObject *kwargs) {
39804 PyObject *resultobj;
39805 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39806 wxWindow *arg2 = (wxWindow *) 0 ;
39807 int arg3 ;
39808 int arg4 = (int) 0 ;
39809 PyObject * obj0 = 0 ;
39810 PyObject * obj1 = 0 ;
8edf1c75
RD
39811 PyObject * obj2 = 0 ;
39812 PyObject * obj3 = 0 ;
d14a1e28
RD
39813 char *kwnames[] = {
39814 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39815 };
39816
8edf1c75 39817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
39818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39820 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39822 arg3 = (wxEdge) SWIG_AsInt(obj2);
39823 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 39824 if (obj3) {
2f4c0a16
RD
39825 arg4 = (int) SWIG_AsInt(obj3);
39826 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 39827 }
d14a1e28
RD
39828 {
39829 PyThreadState* __tstate = wxPyBeginAllowThreads();
39830 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
39831
39832 wxPyEndAllowThreads(__tstate);
39833 if (PyErr_Occurred()) SWIG_fail;
39834 }
39835 Py_INCREF(Py_None); resultobj = Py_None;
39836 return resultobj;
39837 fail:
39838 return NULL;
39839}
39840
39841
39842static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args, PyObject *kwargs) {
39843 PyObject *resultobj;
39844 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39845 wxWindow *arg2 = (wxWindow *) 0 ;
39846 int arg3 ;
39847 int arg4 ;
39848 PyObject * obj0 = 0 ;
39849 PyObject * obj1 = 0 ;
8edf1c75
RD
39850 PyObject * obj2 = 0 ;
39851 PyObject * obj3 = 0 ;
d14a1e28
RD
39852 char *kwnames[] = {
39853 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39854 };
39855
8edf1c75 39856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
39857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39859 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39861 arg3 = (wxEdge) SWIG_AsInt(obj2);
39862 if (PyErr_Occurred()) SWIG_fail;
39863 arg4 = (int) SWIG_AsInt(obj3);
39864 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39865 {
39866 PyThreadState* __tstate = wxPyBeginAllowThreads();
39867 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
39868
39869 wxPyEndAllowThreads(__tstate);
39870 if (PyErr_Occurred()) SWIG_fail;
39871 }
39872 Py_INCREF(Py_None); resultobj = Py_None;
39873 return resultobj;
39874 fail:
39875 return NULL;
39876}
39877
39878
39879static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args, PyObject *kwargs) {
39880 PyObject *resultobj;
39881 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39882 int arg2 ;
39883 PyObject * obj0 = 0 ;
8edf1c75 39884 PyObject * obj1 = 0 ;
d14a1e28
RD
39885 char *kwnames[] = {
39886 (char *) "self",(char *) "val", NULL
39887 };
39888
8edf1c75 39889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
39890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39892 arg2 = (int) SWIG_AsInt(obj1);
39893 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39894 {
39895 PyThreadState* __tstate = wxPyBeginAllowThreads();
39896 (arg1)->Absolute(arg2);
39897
39898 wxPyEndAllowThreads(__tstate);
39899 if (PyErr_Occurred()) SWIG_fail;
39900 }
39901 Py_INCREF(Py_None); resultobj = Py_None;
39902 return resultobj;
39903 fail:
39904 return NULL;
39905}
39906
39907
39908static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args, PyObject *kwargs) {
39909 PyObject *resultobj;
39910 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39911 PyObject * obj0 = 0 ;
39912 char *kwnames[] = {
39913 (char *) "self", NULL
39914 };
39915
39916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
2f4c0a16
RD
39917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39919 {
39920 PyThreadState* __tstate = wxPyBeginAllowThreads();
39921 (arg1)->Unconstrained();
39922
39923 wxPyEndAllowThreads(__tstate);
39924 if (PyErr_Occurred()) SWIG_fail;
39925 }
39926 Py_INCREF(Py_None); resultobj = Py_None;
39927 return resultobj;
39928 fail:
39929 return NULL;
39930}
39931
39932
39933static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args, PyObject *kwargs) {
39934 PyObject *resultobj;
39935 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39936 PyObject * obj0 = 0 ;
39937 char *kwnames[] = {
39938 (char *) "self", NULL
39939 };
39940
39941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
2f4c0a16
RD
39942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39944 {
39945 PyThreadState* __tstate = wxPyBeginAllowThreads();
39946 (arg1)->AsIs();
39947
39948 wxPyEndAllowThreads(__tstate);
39949 if (PyErr_Occurred()) SWIG_fail;
39950 }
39951 Py_INCREF(Py_None); resultobj = Py_None;
39952 return resultobj;
39953 fail:
39954 return NULL;
39955}
39956
39957
39958static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
39959 PyObject *resultobj;
39960 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39961 wxWindow *result;
39962 PyObject * obj0 = 0 ;
39963 char *kwnames[] = {
39964 (char *) "self", NULL
39965 };
39966
39967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
39968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39970 {
39971 PyThreadState* __tstate = wxPyBeginAllowThreads();
39972 result = (wxWindow *)(arg1)->GetOtherWindow();
39973
39974 wxPyEndAllowThreads(__tstate);
39975 if (PyErr_Occurred()) SWIG_fail;
39976 }
39977 {
39978 resultobj = wxPyMake_wxObject(result);
39979 }
39980 return resultobj;
39981 fail:
39982 return NULL;
39983}
39984
39985
39986static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39987 PyObject *resultobj;
39988 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39989 int result;
39990 PyObject * obj0 = 0 ;
39991 char *kwnames[] = {
39992 (char *) "self", NULL
39993 };
39994
39995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
2f4c0a16
RD
39996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39998 {
39999 PyThreadState* __tstate = wxPyBeginAllowThreads();
40000 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
40001
40002 wxPyEndAllowThreads(__tstate);
40003 if (PyErr_Occurred()) SWIG_fail;
40004 }
2f4c0a16 40005 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
40006 return resultobj;
40007 fail:
40008 return NULL;
40009}
40010
40011
40012static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
40013 PyObject *resultobj;
40014 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40015 int arg2 ;
40016 PyObject * obj0 = 0 ;
8edf1c75 40017 PyObject * obj1 = 0 ;
d14a1e28
RD
40018 char *kwnames[] = {
40019 (char *) "self",(char *) "which", NULL
40020 };
40021
8edf1c75 40022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
40023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40025 arg2 = (wxEdge) SWIG_AsInt(obj1);
40026 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
40027 {
40028 PyThreadState* __tstate = wxPyBeginAllowThreads();
40029 (arg1)->SetEdge((wxEdge )arg2);
40030
40031 wxPyEndAllowThreads(__tstate);
40032 if (PyErr_Occurred()) SWIG_fail;
40033 }
40034 Py_INCREF(Py_None); resultobj = Py_None;
40035 return resultobj;
40036 fail:
40037 return NULL;
40038}
40039
40040
40041static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
40042 PyObject *resultobj;
40043 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40044 int arg2 ;
40045 PyObject * obj0 = 0 ;
8edf1c75 40046 PyObject * obj1 = 0 ;
d14a1e28
RD
40047 char *kwnames[] = {
40048 (char *) "self",(char *) "v", NULL
40049 };
40050
8edf1c75 40051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
40052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40054 arg2 = (int) SWIG_AsInt(obj1);
40055 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
40056 {
40057 PyThreadState* __tstate = wxPyBeginAllowThreads();
40058 (arg1)->SetValue(arg2);
40059
40060 wxPyEndAllowThreads(__tstate);
40061 if (PyErr_Occurred()) SWIG_fail;
40062 }
40063 Py_INCREF(Py_None); resultobj = Py_None;
40064 return resultobj;
40065 fail:
40066 return NULL;
40067}
40068
40069
40070static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
40071 PyObject *resultobj;
40072 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40073 int result;
40074 PyObject * obj0 = 0 ;
40075 char *kwnames[] = {
40076 (char *) "self", NULL
40077 };
40078
40079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
40080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40082 {
40083 PyThreadState* __tstate = wxPyBeginAllowThreads();
40084 result = (int)(arg1)->GetMargin();
40085
40086 wxPyEndAllowThreads(__tstate);
40087 if (PyErr_Occurred()) SWIG_fail;
40088 }
2f4c0a16 40089 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
40090 return resultobj;
40091 fail:
40092 return NULL;
40093}
40094
40095
40096static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
40097 PyObject *resultobj;
40098 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40099 int arg2 ;
40100 PyObject * obj0 = 0 ;
8edf1c75 40101 PyObject * obj1 = 0 ;
d14a1e28
RD
40102 char *kwnames[] = {
40103 (char *) "self",(char *) "m", NULL
40104 };
40105
8edf1c75 40106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
40107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40109 arg2 = (int) SWIG_AsInt(obj1);
40110 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
40111 {
40112 PyThreadState* __tstate = wxPyBeginAllowThreads();
40113 (arg1)->SetMargin(arg2);
40114
40115 wxPyEndAllowThreads(__tstate);
40116 if (PyErr_Occurred()) SWIG_fail;
40117 }
40118 Py_INCREF(Py_None); resultobj = Py_None;
40119 return resultobj;
40120 fail:
40121 return NULL;
40122}
40123
40124
40125static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
40126 PyObject *resultobj;
40127 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40128 int result;
40129 PyObject * obj0 = 0 ;
40130 char *kwnames[] = {
40131 (char *) "self", NULL
40132 };
40133
40134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
40135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40137 {
40138 PyThreadState* __tstate = wxPyBeginAllowThreads();
40139 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
40140
40141 wxPyEndAllowThreads(__tstate);
40142 if (PyErr_Occurred()) SWIG_fail;
40143 }
2f4c0a16 40144 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
40145 return resultobj;
40146 fail:
40147 return NULL;
40148}
40149
40150
40151static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *self, PyObject *args, PyObject *kwargs) {
40152 PyObject *resultobj;
40153 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40154 int result;
40155 PyObject * obj0 = 0 ;
40156 char *kwnames[] = {
40157 (char *) "self", NULL
40158 };
40159
40160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
40161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40163 {
40164 PyThreadState* __tstate = wxPyBeginAllowThreads();
40165 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
40166
40167 wxPyEndAllowThreads(__tstate);
40168 if (PyErr_Occurred()) SWIG_fail;
40169 }
2f4c0a16 40170 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
40171 return resultobj;
40172 fail:
40173 return NULL;
40174}
40175
40176
40177static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
40178 PyObject *resultobj;
40179 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40180 int result;
40181 PyObject * obj0 = 0 ;
40182 char *kwnames[] = {
40183 (char *) "self", NULL
40184 };
40185
40186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
2f4c0a16
RD
40187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40189 {
40190 PyThreadState* __tstate = wxPyBeginAllowThreads();
40191 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
40192
40193 wxPyEndAllowThreads(__tstate);
40194 if (PyErr_Occurred()) SWIG_fail;
40195 }
2f4c0a16 40196 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
40197 return resultobj;
40198 fail:
40199 return NULL;
40200}
40201
40202
40203static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
40204 PyObject *resultobj;
40205 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40206 bool result;
40207 PyObject * obj0 = 0 ;
40208 char *kwnames[] = {
40209 (char *) "self", NULL
40210 };
40211
40212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
2f4c0a16
RD
40213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40215 {
40216 PyThreadState* __tstate = wxPyBeginAllowThreads();
40217 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
40218
40219 wxPyEndAllowThreads(__tstate);
40220 if (PyErr_Occurred()) SWIG_fail;
40221 }
4f89f6a3
RD
40222 {
40223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40224 }
d14a1e28
RD
40225 return resultobj;
40226 fail:
40227 return NULL;
40228}
40229
40230
40231static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
40232 PyObject *resultobj;
40233 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40234 bool arg2 ;
40235 PyObject * obj0 = 0 ;
40236 PyObject * obj1 = 0 ;
40237 char *kwnames[] = {
40238 (char *) "self",(char *) "d", NULL
40239 };
40240
40241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
40242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40244 arg2 = (bool) SWIG_AsBool(obj1);
40245 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
40246 {
40247 PyThreadState* __tstate = wxPyBeginAllowThreads();
40248 (arg1)->SetDone(arg2);
40249
40250 wxPyEndAllowThreads(__tstate);
40251 if (PyErr_Occurred()) SWIG_fail;
40252 }
40253 Py_INCREF(Py_None); resultobj = Py_None;
40254 return resultobj;
40255 fail:
40256 return NULL;
40257}
40258
40259
40260static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
40261 PyObject *resultobj;
40262 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40263 int result;
40264 PyObject * obj0 = 0 ;
40265 char *kwnames[] = {
40266 (char *) "self", NULL
40267 };
40268
40269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
2f4c0a16
RD
40270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40272 {
40273 PyThreadState* __tstate = wxPyBeginAllowThreads();
40274 result = (int)(arg1)->GetRelationship();
40275
40276 wxPyEndAllowThreads(__tstate);
40277 if (PyErr_Occurred()) SWIG_fail;
40278 }
2f4c0a16 40279 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
40280 return resultobj;
40281 fail:
40282 return NULL;
40283}
40284
40285
40286static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
40287 PyObject *resultobj;
40288 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40289 int arg2 ;
40290 PyObject * obj0 = 0 ;
8edf1c75 40291 PyObject * obj1 = 0 ;
d14a1e28
RD
40292 char *kwnames[] = {
40293 (char *) "self",(char *) "r", NULL
40294 };
40295
8edf1c75 40296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
40297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40299 arg2 = (wxRelationship) SWIG_AsInt(obj1);
40300 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
40301 {
40302 PyThreadState* __tstate = wxPyBeginAllowThreads();
40303 (arg1)->SetRelationship((wxRelationship )arg2);
40304
40305 wxPyEndAllowThreads(__tstate);
40306 if (PyErr_Occurred()) SWIG_fail;
40307 }
40308 Py_INCREF(Py_None); resultobj = Py_None;
40309 return resultobj;
40310 fail:
40311 return NULL;
40312}
40313
40314
40315static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *self, PyObject *args, PyObject *kwargs) {
40316 PyObject *resultobj;
40317 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40318 wxWindow *arg2 = (wxWindow *) 0 ;
40319 bool result;
40320 PyObject * obj0 = 0 ;
40321 PyObject * obj1 = 0 ;
40322 char *kwnames[] = {
40323 (char *) "self",(char *) "otherW", NULL
40324 };
40325
40326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
40327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40329 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
40330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40331 {
40332 PyThreadState* __tstate = wxPyBeginAllowThreads();
40333 result = (bool)(arg1)->ResetIfWin(arg2);
40334
40335 wxPyEndAllowThreads(__tstate);
40336 if (PyErr_Occurred()) SWIG_fail;
40337 }
4f89f6a3
RD
40338 {
40339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40340 }
d14a1e28
RD
40341 return resultobj;
40342 fail:
40343 return NULL;
40344}
40345
40346
40347static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
40348 PyObject *resultobj;
40349 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40350 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
40351 wxWindow *arg3 = (wxWindow *) 0 ;
40352 bool result;
40353 PyObject * obj0 = 0 ;
40354 PyObject * obj1 = 0 ;
40355 PyObject * obj2 = 0 ;
40356 char *kwnames[] = {
40357 (char *) "self",(char *) "constraints",(char *) "win", NULL
40358 };
40359
40360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
40361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40363 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
40364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40365 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
40366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40367 {
40368 PyThreadState* __tstate = wxPyBeginAllowThreads();
40369 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
40370
40371 wxPyEndAllowThreads(__tstate);
40372 if (PyErr_Occurred()) SWIG_fail;
40373 }
4f89f6a3
RD
40374 {
40375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40376 }
d14a1e28
RD
40377 return resultobj;
40378 fail:
40379 return NULL;
40380}
40381
40382
40383static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
40384 PyObject *resultobj;
40385 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40386 int arg2 ;
40387 wxWindow *arg3 = (wxWindow *) 0 ;
40388 wxWindow *arg4 = (wxWindow *) 0 ;
40389 int result;
40390 PyObject * obj0 = 0 ;
8edf1c75 40391 PyObject * obj1 = 0 ;
d14a1e28
RD
40392 PyObject * obj2 = 0 ;
40393 PyObject * obj3 = 0 ;
40394 char *kwnames[] = {
40395 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40396 };
40397
8edf1c75 40398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
40399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40401 arg2 = (wxEdge) SWIG_AsInt(obj1);
40402 if (PyErr_Occurred()) SWIG_fail;
40403 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
40404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40405 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
40406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40407 {
40408 PyThreadState* __tstate = wxPyBeginAllowThreads();
40409 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
40410
40411 wxPyEndAllowThreads(__tstate);
40412 if (PyErr_Occurred()) SWIG_fail;
40413 }
2f4c0a16 40414 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
40415 return resultobj;
40416 fail:
40417 return NULL;
40418}
40419
40420
40421static PyObject * IndividualLayoutConstraint_swigregister(PyObject *self, PyObject *args) {
40422 PyObject *obj;
40423 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
40424 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
40425 Py_INCREF(obj);
40426 return Py_BuildValue((char *)"");
40427}
40428static PyObject *_wrap_LayoutConstraints_left_get(PyObject *self, PyObject *args, PyObject *kwargs) {
40429 PyObject *resultobj;
40430 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40431 wxIndividualLayoutConstraint *result;
40432 PyObject * obj0 = 0 ;
40433 char *kwnames[] = {
40434 (char *) "self", NULL
40435 };
40436
40437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
40438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40440 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
40441
2f4c0a16 40442 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40443 return resultobj;
40444 fail:
40445 return NULL;
40446}
40447
40448
40449static PyObject *_wrap_LayoutConstraints_top_get(PyObject *self, PyObject *args, PyObject *kwargs) {
40450 PyObject *resultobj;
40451 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40452 wxIndividualLayoutConstraint *result;
40453 PyObject * obj0 = 0 ;
40454 char *kwnames[] = {
40455 (char *) "self", NULL
40456 };
40457
40458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
40459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40461 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
40462
2f4c0a16 40463 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40464 return resultobj;
40465 fail:
40466 return NULL;
40467}
40468
40469
40470static PyObject *_wrap_LayoutConstraints_right_get(PyObject *self, PyObject *args, PyObject *kwargs) {
40471 PyObject *resultobj;
40472 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40473 wxIndividualLayoutConstraint *result;
40474 PyObject * obj0 = 0 ;
40475 char *kwnames[] = {
40476 (char *) "self", NULL
40477 };
40478
40479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
40480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40482 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
40483
2f4c0a16 40484 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40485 return resultobj;
40486 fail:
40487 return NULL;
40488}
40489
40490
40491static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *self, PyObject *args, PyObject *kwargs) {
40492 PyObject *resultobj;
40493 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40494 wxIndividualLayoutConstraint *result;
40495 PyObject * obj0 = 0 ;
40496 char *kwnames[] = {
40497 (char *) "self", NULL
40498 };
40499
40500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
40501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40503 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
40504
2f4c0a16 40505 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40506 return resultobj;
40507 fail:
40508 return NULL;
40509}
40510
40511
40512static PyObject *_wrap_LayoutConstraints_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
40513 PyObject *resultobj;
40514 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40515 wxIndividualLayoutConstraint *result;
40516 PyObject * obj0 = 0 ;
40517 char *kwnames[] = {
40518 (char *) "self", NULL
40519 };
40520
40521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
40522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40524 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
40525
2f4c0a16 40526 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40527 return resultobj;
40528 fail:
40529 return NULL;
40530}
40531
40532
40533static PyObject *_wrap_LayoutConstraints_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
40534 PyObject *resultobj;
40535 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40536 wxIndividualLayoutConstraint *result;
40537 PyObject * obj0 = 0 ;
40538 char *kwnames[] = {
40539 (char *) "self", NULL
40540 };
40541
40542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
40543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40545 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
40546
2f4c0a16 40547 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40548 return resultobj;
40549 fail:
40550 return NULL;
40551}
40552
40553
40554static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *self, PyObject *args, PyObject *kwargs) {
40555 PyObject *resultobj;
40556 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40557 wxIndividualLayoutConstraint *result;
40558 PyObject * obj0 = 0 ;
40559 char *kwnames[] = {
40560 (char *) "self", NULL
40561 };
40562
40563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
40564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40566 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
40567
2f4c0a16 40568 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40569 return resultobj;
40570 fail:
40571 return NULL;
40572}
40573
40574
40575static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *self, PyObject *args, PyObject *kwargs) {
40576 PyObject *resultobj;
40577 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40578 wxIndividualLayoutConstraint *result;
40579 PyObject * obj0 = 0 ;
40580 char *kwnames[] = {
40581 (char *) "self", NULL
40582 };
40583
40584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
40585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40587 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
40588
2f4c0a16 40589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40590 return resultobj;
40591 fail:
40592 return NULL;
40593}
40594
40595
40596static PyObject *_wrap_new_LayoutConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
40597 PyObject *resultobj;
40598 wxLayoutConstraints *result;
40599 char *kwnames[] = {
40600 NULL
40601 };
40602
40603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
40604 {
40605 PyThreadState* __tstate = wxPyBeginAllowThreads();
40606 result = (wxLayoutConstraints *)new wxLayoutConstraints();
40607
40608 wxPyEndAllowThreads(__tstate);
40609 if (PyErr_Occurred()) SWIG_fail;
40610 }
2f4c0a16 40611 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 1);
d14a1e28
RD
40612 return resultobj;
40613 fail:
40614 return NULL;
40615}
40616
40617
40618static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
40619 PyObject *resultobj;
40620 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40621 wxWindow *arg2 = (wxWindow *) 0 ;
40622 int *arg3 = (int *) 0 ;
40623 bool result;
40624 int temp3 ;
40625 PyObject * obj0 = 0 ;
40626 PyObject * obj1 = 0 ;
40627 char *kwnames[] = {
40628 (char *) "self",(char *) "win", NULL
40629 };
40630
40631 arg3 = &temp3;
40632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
40633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40635 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
40636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40637 {
40638 PyThreadState* __tstate = wxPyBeginAllowThreads();
40639 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
40640
40641 wxPyEndAllowThreads(__tstate);
40642 if (PyErr_Occurred()) SWIG_fail;
40643 }
4f89f6a3
RD
40644 {
40645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40646 }
d14a1e28
RD
40647 {
40648 PyObject *o = PyInt_FromLong((long) (*arg3));
40649 resultobj = t_output_helper(resultobj,o);
40650 }
40651 return resultobj;
40652 fail:
40653 return NULL;
40654}
40655
40656
40657static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *self, PyObject *args, PyObject *kwargs) {
40658 PyObject *resultobj;
40659 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40660 bool result;
40661 PyObject * obj0 = 0 ;
40662 char *kwnames[] = {
40663 (char *) "self", NULL
40664 };
40665
40666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
2f4c0a16
RD
40667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40669 {
40670 PyThreadState* __tstate = wxPyBeginAllowThreads();
40671 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
40672
40673 wxPyEndAllowThreads(__tstate);
40674 if (PyErr_Occurred()) SWIG_fail;
40675 }
4f89f6a3
RD
40676 {
40677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40678 }
d14a1e28
RD
40679 return resultobj;
40680 fail:
40681 return NULL;
40682}
40683
40684
40685static PyObject * LayoutConstraints_swigregister(PyObject *self, PyObject *args) {
40686 PyObject *obj;
40687 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
40688 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
40689 Py_INCREF(obj);
40690 return Py_BuildValue((char *)"");
40691}
40692static PyMethodDef SwigMethods[] = {
40693 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS },
d03fd34d 40694 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects, METH_VARARGS },
d14a1e28
RD
40695 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS },
40696 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS },
40697 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS },
40698 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS },
40699 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS },
40700 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS },
40701 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS },
40702 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS },
40703 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS },
40704 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS },
40705 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS },
40706 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS },
40707 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS },
40708 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS },
40709 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS },
40710 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS },
40711 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS },
40712 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS },
40713 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS },
40714 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS },
74a57fcd
RD
40715 { (char *)"Size_IsFullySpecified", (PyCFunction) _wrap_Size_IsFullySpecified, METH_VARARGS | METH_KEYWORDS },
40716 { (char *)"Size_SetDefaults", (PyCFunction) _wrap_Size_SetDefaults, METH_VARARGS | METH_KEYWORDS },
423f194a 40717 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40718 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS },
40719 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS },
40720 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS },
40721 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS },
40722 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS },
40723 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS },
40724 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40725 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS },
40726 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS },
423f194a
RD
40727 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS },
40728 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS },
d14a1e28 40729 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS },
423f194a 40730 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40731 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS },
40732 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS },
40733 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS },
40734 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS },
40735 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS },
40736 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS },
40737 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS },
40738 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS },
40739 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS },
40740 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS },
40741 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS },
40742 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS },
40743 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS },
40744 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS },
423f194a 40745 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40746 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
40747 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS },
40748 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS },
40749 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS },
40750 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS },
40751 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS },
40752 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS },
40753 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS },
40754 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS },
40755 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS },
40756 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS },
40757 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS },
40758 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS },
40759 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS },
40760 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS },
40761 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS },
40762 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS },
9fd4be55
RD
40763 { (char *)"Rect_GetTopLeft", (PyCFunction) _wrap_Rect_GetTopLeft, METH_VARARGS | METH_KEYWORDS },
40764 { (char *)"Rect_SetTopLeft", (PyCFunction) _wrap_Rect_SetTopLeft, METH_VARARGS | METH_KEYWORDS },
40765 { (char *)"Rect_GetBottomRight", (PyCFunction) _wrap_Rect_GetBottomRight, METH_VARARGS | METH_KEYWORDS },
40766 { (char *)"Rect_SetBottomRight", (PyCFunction) _wrap_Rect_SetBottomRight, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40767 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS },
40768 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS },
40769 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS },
40770 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS },
40771 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS },
40772 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS },
40773 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS },
40774 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS },
40775 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS },
40776 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS },
40777 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS },
40778 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS },
40779 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS },
40780 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS },
40781 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS },
40782 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS },
40783 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS },
40784 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS },
40785 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS },
40786 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS },
40787 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS },
40788 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS },
40789 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS },
40790 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS },
40791 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS },
40792 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS },
40793 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS },
40794 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS },
40795 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS },
423f194a 40796 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40797 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
40798 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS },
40799 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS },
40800 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS },
40801 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS },
40802 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS },
40803 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS },
40804 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS },
40805 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS },
40806 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS },
40807 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS },
40808 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS },
40809 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS },
40810 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS },
40811 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS },
40812 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS },
40813 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS },
40814 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS },
40815 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS },
40816 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS },
40817 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS },
40818 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40819 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS },
40820 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS },
40821 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS },
40822 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS },
40823 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS },
423f194a 40824 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40825 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS },
40826 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS },
40827 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS },
40828 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS },
40829 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS },
40830 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS },
40831 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS },
40832 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS },
40833 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS },
40834 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS },
40835 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS },
40836 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS },
40837 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS },
40838 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS },
40839 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS },
40840 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS },
40841 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS },
40842 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS },
40843 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS },
40844 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS },
40845 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS },
40846 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS },
40847 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS },
40848 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS },
40849 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS },
40850 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS },
40851 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS },
40852 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS },
40853 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS },
40854 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS },
40855 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS },
40856 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
40857 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40858 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40859 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
40860 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
40861 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS },
40862 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS },
40863 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS },
40864 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS },
40865 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS },
40866 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS },
40867 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS },
40868 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS },
40869 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS },
40870 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS },
40871 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS },
40872 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS },
40873 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS },
40874 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS },
40875 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS },
40876 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS },
40877 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS },
40878 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS },
40879 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS },
40880 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40881 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40882 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS },
40883 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS },
40884 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40885 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40886 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
40887 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
40888 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS },
40889 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS },
40890 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS },
40891 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS },
40892 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS },
40893 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS },
40894 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40895 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40896 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
40897 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
40898 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS },
40899 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS },
40900 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS },
40901 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS },
40902 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS },
40903 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS },
40904 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS },
40905 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS },
40906 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS },
40907 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS },
40908 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS },
40909 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS },
40910 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS },
40911 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
40912 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS },
40913 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS },
40914 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS },
40915 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS },
40916 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS },
40917 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS },
cfe5e918 40918 { (char *)"new_EmptyImage", _wrap_new_EmptyImage, METH_VARARGS },
d14a1e28
RD
40919 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS },
40920 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS },
40921 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS },
40922 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS },
40923 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS },
40924 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS },
40925 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS },
40926 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS },
40927 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS },
40928 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS },
40929 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS },
40930 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS },
40931 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS },
40932 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS },
40933 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
40934 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS },
40935 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS },
40936 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS },
40937 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS },
40938 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS },
40939 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS },
40940 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS },
40941 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS },
40942 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS },
40943 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS },
40944 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS },
40945 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS },
40946 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS },
cfe5e918 40947 { (char *)"Image_GetSize", (PyCFunction) _wrap_Image_GetSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40948 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS },
40949 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS },
40950 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS },
40951 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS },
40952 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS },
40953 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS },
40954 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS },
40955 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS },
40956 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS },
40957 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
40958 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
40959 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS },
40960 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS },
40961 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS },
40962 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS },
40963 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS },
40964 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS },
40965 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS },
40966 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS },
40967 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS },
40968 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS },
40969 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS },
40970 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS },
40971 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
40972 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS },
40973 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
40974 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS },
40975 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS },
40976 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS },
40977 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS },
40978 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS },
40979 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS },
40980 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS },
40981 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
40982 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS },
40983 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS },
40984 { (char *)"InitAllImageHandlers", (PyCFunction) _wrap_InitAllImageHandlers, METH_VARARGS | METH_KEYWORDS },
40985 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS },
40986 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS },
40987 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS },
40988 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS },
40989 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS },
40990 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS },
40991 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS },
40992 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS },
40993 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS },
40994 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS },
40995 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS },
40996 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS },
40997 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS },
40998 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS },
40999 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS },
41000 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS },
41001 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS },
41002 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS },
41003 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS },
41004 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS },
41005 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS },
41006 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS },
41007 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS },
41008 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
41009 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
41010 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
41011 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
41012 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
41013 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
41014 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
41015 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
41016 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
41017 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
41018 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
41019 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
41020 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS },
41021 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS },
41022 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS },
41023 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS },
41024 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS },
41025 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS },
41026 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS },
41027 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
41028 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
41029 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS },
41030 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS },
41031 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS },
41032 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS },
41033 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS },
41034 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS },
41035 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS },
41036 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS },
41037 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS },
41038 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS },
41039 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
41040 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
41041 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS },
41042 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
41043 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
41044 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS },
41045 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS },
41046 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
41047 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS },
41048 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS },
41049 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS },
41050 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS },
41051 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS },
41052 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS },
41053 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS },
41054 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS },
41055 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS },
41056 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS },
41057 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS },
41058 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS },
41059 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS },
41060 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS },
41061 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS },
41062 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS },
41063 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
41064 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
41065 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
41066 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
41067 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS },
41068 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS },
41069 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
41070 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
41071 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
41072 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
41073 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS },
41074 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS },
41075 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
41076 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
41077 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS },
41078 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
41079 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS },
41080 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
41081 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS },
41082 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
41083 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
41084 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
41085 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
41086 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS },
41087 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS },
41088 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS },
41089 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS },
41090 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS },
41091 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS },
41092 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS },
41093 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS },
41094 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS },
41095 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS },
41096 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS },
41097 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS },
41098 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS },
41099 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS },
41100 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS },
41101 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS },
41102 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
41103 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
41104 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS },
41105 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS },
41106 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS },
41107 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS },
41108 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS },
41109 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS },
41110 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS },
41111 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
41112 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
41113 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
41114 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
41115 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS },
41116 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS },
41117 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS },
41118 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS },
41119 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS },
41120 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS },
41121 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
41122 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
41123 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
41124 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
41125 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
41126 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
41127 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
41128 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
41129 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS },
41130 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS },
41131 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS },
41132 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS },
41133 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS },
41134 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS },
41135 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS },
41136 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS },
41137 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS },
41138 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS },
41139 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS },
41140 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS },
41141 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS },
41142 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS },
41143 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS },
41144 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
41145 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
41146 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
41147 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
41148 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS },
41149 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
41150 { (char *)"KeyEvent_GetUniChar", (PyCFunction) _wrap_KeyEvent_GetUniChar, METH_VARARGS | METH_KEYWORDS },
41151 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS },
41152 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS },
41153 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
41154 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
41155 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS },
41156 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS },
41157 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
41158 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
41159 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
41160 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
41161 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS },
41162 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS },
41163 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
41164 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
41165 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
41166 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
41167 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
41168 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
41169 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
41170 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
41171 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS },
41172 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS },
41173 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS },
41174 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS },
41175 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS },
41176 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS },
41177 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS },
41178 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS },
41179 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
41180 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
41181 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
41182 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
41183 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS },
41184 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS },
41185 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
41186 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
41187 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS },
41188 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS },
41189 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
41190 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
41191 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
41192 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
41193 { (char *)"MoveEvent_m_pos_set", (PyCFunction) _wrap_MoveEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
41194 { (char *)"MoveEvent_m_pos_get", (PyCFunction) _wrap_MoveEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
41195 { (char *)"MoveEvent_m_rect_set", (PyCFunction) _wrap_MoveEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
41196 { (char *)"MoveEvent_m_rect_get", (PyCFunction) _wrap_MoveEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
41197 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS },
41198 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS },
41199 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS },
41200 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS },
41201 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS },
41202 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS },
41203 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS },
41204 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS },
41205 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS },
41206 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
41207 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS },
41208 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS },
41209 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS },
41210 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
41211 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS },
41212 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS },
41213 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS },
41214 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS },
41215 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS },
41216 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS },
41217 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS },
41218 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS },
41219 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS },
41220 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS },
41221 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS },
41222 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS },
41223 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS },
41224 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS },
41225 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS },
41226 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS },
41227 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS },
41228 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS },
41229 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS },
41230 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS },
41231 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS },
41232 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS },
41233 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS },
41234 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS },
41235 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS },
41236 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS },
41237 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS },
41238 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS },
41239 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
41240 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS },
41241 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS },
41242 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS },
41243 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS },
41244 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS },
41245 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS },
41246 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS },
41247 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS },
41248 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS },
41249 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS },
41250 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS },
41251 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS },
41252 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS },
41253 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
41254 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
41255 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS },
41256 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS },
41257 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
41258 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
41259 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS },
41260 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS },
41261 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS },
41262 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS },
41263 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS },
41264 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS },
41265 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS },
41266 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS },
41267 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS },
41268 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS },
41269 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS },
41270 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS },
41271 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS },
41272 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
41273 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
41274 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS },
41275 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS },
41276 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS },
41277 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS },
41278 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS },
41279 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS },
41280 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
41281 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
41282 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS },
41283 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS },
41284 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
41285 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS },
41286 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS },
41287 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
41288 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS },
41289 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS },
41290 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
41291 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
41292 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS },
41293 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS },
41294 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS },
41295 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS },
41296 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
41297 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
41298 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS },
41299 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS },
41300 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS },
41301 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS },
41302 { (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
41303 { (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
41304 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS },
41305 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
41306 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
41307 { (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
41308 { (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
41309 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS },
41310 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS },
41311 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS },
41312 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
41313 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS },
41314 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS },
41315 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS },
41316 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS },
41317 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS },
41318 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS },
41319 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS },
41320 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
41321 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS },
41322 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
41323 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS },
41324 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS },
41325 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS },
41326 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS },
41327 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS },
41328 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS },
41329 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41330 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS },
41331 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS },
41332 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS },
41333 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
41334 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
41335 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
41336 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
41337 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
41338 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
d14a1e28 41339 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS },
44127b65 41340 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41341 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
41342 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
41343 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
41344 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
41345 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
41346 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
41347 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
41348 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
41349 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
41350 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
41351 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS },
41352 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS },
41353 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS },
41354 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS },
41355 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS },
41356 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS },
41357 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS },
41358 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
41359 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS },
41360 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS },
41361 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS },
41f1cec7
RD
41362 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
41363 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
41364 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS },
41365 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_SetMenuItem, METH_VARARGS | METH_KEYWORDS },
41366 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_GetMenuItem, METH_VARARGS | METH_KEYWORDS },
41367 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS },
41368 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
41369 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS },
41370 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS },
41371 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
41372 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
41373 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS },
41374 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS },
41375 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS },
74a57fcd
RD
41376 { (char *)"new_VisualAttributes", (PyCFunction) _wrap_new_VisualAttributes, METH_VARARGS | METH_KEYWORDS },
41377 { (char *)"delete_VisualAttributes", (PyCFunction) _wrap_delete_VisualAttributes, METH_VARARGS | METH_KEYWORDS },
41378 { (char *)"VisualAttributes_font_set", (PyCFunction) _wrap_VisualAttributes_font_set, METH_VARARGS | METH_KEYWORDS },
41379 { (char *)"VisualAttributes_font_get", (PyCFunction) _wrap_VisualAttributes_font_get, METH_VARARGS | METH_KEYWORDS },
41380 { (char *)"VisualAttributes_colFg_set", (PyCFunction) _wrap_VisualAttributes_colFg_set, METH_VARARGS | METH_KEYWORDS },
41381 { (char *)"VisualAttributes_colFg_get", (PyCFunction) _wrap_VisualAttributes_colFg_get, METH_VARARGS | METH_KEYWORDS },
41382 { (char *)"VisualAttributes_colBg_set", (PyCFunction) _wrap_VisualAttributes_colBg_set, METH_VARARGS | METH_KEYWORDS },
41383 { (char *)"VisualAttributes_colBg_get", (PyCFunction) _wrap_VisualAttributes_colBg_get, METH_VARARGS | METH_KEYWORDS },
41384 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister, METH_VARARGS },
d14a1e28
RD
41385 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS },
41386 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS },
41387 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS },
41388 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS },
41389 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS },
41390 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
41391 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
41392 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS },
41393 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS },
41394 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS },
41395 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS },
41396 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS },
41397 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS },
fe763115
RD
41398 { (char *)"Window_SetWindowVariant", (PyCFunction) _wrap_Window_SetWindowVariant, METH_VARARGS | METH_KEYWORDS },
41399 { (char *)"Window_GetWindowVariant", (PyCFunction) _wrap_Window_GetWindowVariant, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41400 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS },
41401 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS },
41402 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS },
41403 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS },
41404 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS },
41405 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS },
41406 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS },
41407 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS },
41408 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
41409 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS },
41410 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS },
41411 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS },
41412 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS },
41413 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS },
41414 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
41415 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS },
41416 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS },
41417 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
41418 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS },
41419 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
41420 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS },
41421 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS },
41422 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
41423 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
41424 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS },
41425 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS },
41426 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS },
41427 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS },
41428 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS },
41429 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
41430 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
41431 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS },
41432 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS },
74a57fcd
RD
41433 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints, METH_VARARGS },
41434 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints, METH_VARARGS },
d14a1e28
RD
41435 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS },
41436 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS },
41437 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS },
41438 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS },
41439 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
74a57fcd 41440 { (char *)"Window_GetMinSize", (PyCFunction) _wrap_Window_GetMinSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41441 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS },
41442 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS },
41443 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
41444 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS },
41445 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS },
41446 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS },
41447 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS },
41448 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS },
41449 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS },
41450 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS },
41451 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS },
41452 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
41453 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41454 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS },
41455 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS },
41456 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
41457 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS },
41458 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS },
41459 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
41460 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41461 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS },
41462 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS },
41463 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS },
41464 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
41465 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
41466 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
41467 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
41468 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS },
41469 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS },
41470 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS },
41471 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
41472 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
41473 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS },
41474 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS },
41475 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS },
41476 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS },
41477 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
41478 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
41479 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
41480 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
41481 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
41482 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
41483 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS },
41484 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS },
74a57fcd
RD
41485 { (char *)"Window_Validate", (PyCFunction) _wrap_Window_Validate, METH_VARARGS | METH_KEYWORDS },
41486 { (char *)"Window_TransferDataToWindow", (PyCFunction) _wrap_Window_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
41487 { (char *)"Window_TransferDataFromWindow", (PyCFunction) _wrap_Window_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
41488 { (char *)"Window_InitDialog", (PyCFunction) _wrap_Window_InitDialog, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41489 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
41490 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
41491 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS },
41492 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS },
41493 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
41494 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
41495 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS },
41496 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS },
41497 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
41498 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
41499 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS },
41500 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
41501 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
41502 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS },
41503 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS },
41504 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS },
41505 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS },
41506 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS },
41507 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS },
41508 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS },
41509 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS },
41510 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS },
41511 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
41512 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS },
41513 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS },
41514 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
fe763115 41515 { (char *)"Window_IsExposedRect", (PyCFunction) _wrap_Window_IsExposedRect, METH_VARARGS | METH_KEYWORDS },
74a57fcd
RD
41516 { (char *)"Window_GetDefaultAttributes", (PyCFunction) _wrap_Window_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
41517 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction) _wrap_Window_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28 41518 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
cfe5e918 41519 { (char *)"Window_SetDefaultBackgroundColour", (PyCFunction) _wrap_Window_SetDefaultBackgroundColour, METH_VARARGS | METH_KEYWORDS },
d14a1e28 41520 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
cfe5e918 41521 { (char *)"Window_SetDefaultForegroundColour", (PyCFunction) _wrap_Window_SetDefaultForegroundColour, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41522 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
41523 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
41524 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS },
41525 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS },
41526 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS },
cfe5e918 41527 { (char *)"Window_SetDefaultFont", (PyCFunction) _wrap_Window_SetDefaultFont, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41528 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS },
41529 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS },
41530 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS },
41531 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
41532 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
41533 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
41534 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
41535 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
41536 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
41537 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
41538 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
41539 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS },
41540 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS },
2f4c0a16 41541 { (char *)"Window_GetBorder", _wrap_Window_GetBorder, METH_VARARGS },
d14a1e28
RD
41542 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
41543 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
41544 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS },
41545 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS },
41546 { (char *)"Window_OnPaint", (PyCFunction) _wrap_Window_OnPaint, METH_VARARGS | METH_KEYWORDS },
41547 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
41548 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
41549 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
41550 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
41551 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
41552 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
41553 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
41554 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS },
41555 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS },
41556 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS },
41557 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS },
41558 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS },
41559 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS },
41560 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS },
41561 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
41562 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS },
41563 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
41564 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS },
41565 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS },
41566 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
41567 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
41568 { (char *)"Window_DragAcceptFiles", (PyCFunction) _wrap_Window_DragAcceptFiles, METH_VARARGS | METH_KEYWORDS },
41569 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS },
41570 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS },
41571 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
41572 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
41573 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS },
41574 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS },
41575 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS },
41576 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS },
41577 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
41578 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
41579 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS },
41580 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS },
41581 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
41582 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
41583 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS },
41584 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS },
41585 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS },
41586 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS },
41587 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS },
41588 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS },
41589 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS },
41590 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS },
41591 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS },
41592 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
41593 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS },
41594 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS },
41595 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
41596 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS },
41597 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS },
41598 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS },
41599 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
41600 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
41601 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
41602 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
41603 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS },
41604 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS },
41605 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS },
41606 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS },
41607 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
41608 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
41609 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
41610 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
41611 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS },
41612 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS },
41613 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
41614 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
41615 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
41616 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
41617 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS },
41618 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
41619 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS },
41620 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
41621 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS },
41622 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS },
41623 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
41624 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
41625 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
41626 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS },
41627 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS },
41628 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS },
41629 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS },
41630 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
41631 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS },
41632 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS },
41633 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS },
41634 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS },
41635 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
41636 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
41637 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS },
41638 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS },
41639 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
41640 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
41641 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
41642 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
41643 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS },
41644 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
41645 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
41646 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS },
41647 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS },
41648 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS },
41649 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS },
41650 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS },
41651 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS },
41652 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS },
41653 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS },
41654 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
41655 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
41656 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
41657 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
41658 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
41659 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
41660 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS },
41661 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
41662 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
41663 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
41664 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
41665 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
41666 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
41667 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS },
41668 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
41669 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
41670 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
41671 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
41672 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
41673 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
41674 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS },
41675 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS },
41676 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS },
41677 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS },
41678 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS },
41679 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS },
41680 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
41681 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS },
41682 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
41683 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
41684 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
41685 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
41686 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
41687 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
41688 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
41689 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
41690 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
41691 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
41692 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
41693 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
41694 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
41695 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
41696 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
41697 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS },
41698 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
41699 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
41700 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
41701 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
41702 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
41703 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
41704 { (char *)"MenuItem_SetFont", (PyCFunction) _wrap_MenuItem_SetFont, METH_VARARGS | METH_KEYWORDS },
41705 { (char *)"MenuItem_GetFont", (PyCFunction) _wrap_MenuItem_GetFont, METH_VARARGS | METH_KEYWORDS },
41706 { (char *)"MenuItem_SetTextColour", (PyCFunction) _wrap_MenuItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
41707 { (char *)"MenuItem_GetTextColour", (PyCFunction) _wrap_MenuItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
41708 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction) _wrap_MenuItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
41709 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction) _wrap_MenuItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
41710 { (char *)"MenuItem_SetBitmaps", (PyCFunction) _wrap_MenuItem_SetBitmaps, METH_VARARGS | METH_KEYWORDS },
41711 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction) _wrap_MenuItem_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
41712 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction) _wrap_MenuItem_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
41713 { (char *)"MenuItem_SetMarginWidth", (PyCFunction) _wrap_MenuItem_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
41714 { (char *)"MenuItem_GetMarginWidth", (PyCFunction) _wrap_MenuItem_GetMarginWidth, METH_VARARGS | METH_KEYWORDS },
41715 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS },
41716 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction) _wrap_MenuItem_IsOwnerDrawn, METH_VARARGS | METH_KEYWORDS },
41717 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction) _wrap_MenuItem_SetOwnerDrawn, METH_VARARGS | METH_KEYWORDS },
41718 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction) _wrap_MenuItem_ResetOwnerDrawn, METH_VARARGS | METH_KEYWORDS },
41719 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS },
41720 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS },
41721 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS },
41722 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS },
41723 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS },
41724 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS },
41725 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS },
41726 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS },
41727 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS },
74a57fcd 41728 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction) _wrap_Control_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41729 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS },
41730 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS },
41731 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS },
41732 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS },
41733 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS },
41734 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS },
41735 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS },
41736 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS },
41737 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS },
41738 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS },
41739 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS },
41740 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS },
41741 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS },
41742 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS },
41743 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
41744 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS },
41745 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS },
41746 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS },
41747 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS },
41748 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS },
41749 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
41750 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS },
41751 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS },
41752 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
41753 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS },
41754 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS },
41755 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
41756 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
41757 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS },
41758 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS },
41759 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS },
41760 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS },
41761 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS },
41762 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS },
41763 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS },
41764 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS },
41765 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS },
41766 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS },
41767 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS },
41768 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS },
41769 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS },
41770 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS },
41771 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS },
41772 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS },
41773 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS },
41774 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS },
41775 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS },
41776 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS },
41777 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS },
41778 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS },
41779 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS },
41780 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS },
41781 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS },
41782 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS },
41783 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
41784 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS },
41785 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS },
41786 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS },
41787 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS },
41788 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS },
41789 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS },
41790 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS },
41791 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS },
41792 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS },
41793 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS },
41794 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS },
41795 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS },
41796 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS },
41797 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41798 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41799 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS },
41800 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS },
41801 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS },
41802 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
41803 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
41804 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS },
41805 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
41806 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS },
41807 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS },
41808 { (char *)"Sizer_Hide", (PyCFunction) _wrap_Sizer_Hide, METH_VARARGS | METH_KEYWORDS },
41809 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS },
41810 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS },
41811 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS },
41812 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS },
41813 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
41814 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS },
41815 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS },
41816 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS },
41817 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS },
41818 { (char *)"BoxSizer_RecalcSizes", (PyCFunction) _wrap_BoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41819 { (char *)"BoxSizer_CalcMin", (PyCFunction) _wrap_BoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41820 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS },
41821 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS },
41822 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS },
41823 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction) _wrap_StaticBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41824 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction) _wrap_StaticBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41825 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS },
41826 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS },
41827 { (char *)"GridSizer_RecalcSizes", (PyCFunction) _wrap_GridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41828 { (char *)"GridSizer_CalcMin", (PyCFunction) _wrap_GridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41829 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS },
41830 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS },
41831 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS },
41832 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS },
41833 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS },
41834 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS },
41835 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS },
41836 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS },
41837 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS },
41838 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS },
41839 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction) _wrap_FlexGridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41840 { (char *)"FlexGridSizer_CalcMin", (PyCFunction) _wrap_FlexGridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41841 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS },
41842 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS },
41843 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS },
41844 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS },
41845 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
41846 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
41847 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
41848 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
423f194a
RD
41849 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS },
41850 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41851 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS },
41852 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS },
41853 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS },
41854 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS },
41855 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS },
41856 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS },
41857 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS },
41858 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS },
423f194a
RD
41859 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS },
41860 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41861 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS },
41862 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS },
41863 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS },
41864 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS },
41865 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS },
41866 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS },
41867 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS },
41868 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS },
423f194a
RD
41869 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS },
41870 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41871 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS },
41872 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS },
41873 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS },
41874 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS },
41875 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
41876 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS },
41877 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS },
41878 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS },
41879 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS },
41880 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects, METH_VARARGS },
41881 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS },
41882 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS },
41883 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS },
41884 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS },
41885 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS },
41886 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS },
41887 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS },
41888 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
41889 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
41890 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS },
41891 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS },
41892 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS },
41893 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS },
41894 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS },
41895 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS },
423f194a 41896 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41897 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction) _wrap_GridBagSizer_FindItemWithData, METH_VARARGS | METH_KEYWORDS },
41898 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction) _wrap_GridBagSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41899 { (char *)"GridBagSizer_CalcMin", (PyCFunction) _wrap_GridBagSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41900 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS },
41901 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS },
41902 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS },
41903 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS },
41904 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS },
41905 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS },
41906 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS },
41907 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS },
41908 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS },
41909 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS },
41910 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS },
41911 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS },
41912 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS },
41913 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS },
41914 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS },
41915 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS },
41916 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS },
41917 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS },
41918 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS },
41919 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS },
41920 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS },
41921 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS },
41922 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS },
41923 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS },
41924 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS },
41925 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS },
41926 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS },
41927 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS },
41928 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS },
41929 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS },
41930 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS },
41931 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS },
41932 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS },
41933 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS },
41934 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS },
41935 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS },
41936 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS },
41937 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS },
41938 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS },
41939 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS },
41940 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS },
41941 { NULL, NULL }
41942};
41943
41944
41945/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41946
41947static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
41948 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
41949}
41950static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
41951 return (void *)((wxSizer *) ((wxBoxSizer *) x));
41952}
41953static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
41954 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
41955}
41956static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
41957 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
41958}
41959static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
41960 return (void *)((wxSizer *) ((wxGridSizer *) x));
41961}
41962static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
41963 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
41964}
41965static void *_p_wxPySizerTo_p_wxSizer(void *x) {
41966 return (void *)((wxSizer *) ((wxPySizer *) x));
41967}
41968static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
41969 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
41970}
41971static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
41972 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
41973}
41974static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
41975 return (void *)((wxEvent *) ((wxMenuEvent *) x));
41976}
41977static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
41978 return (void *)((wxEvent *) ((wxCloseEvent *) x));
41979}
41980static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
41981 return (void *)((wxEvent *) ((wxMouseEvent *) x));
41982}
41983static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
41984 return (void *)((wxEvent *) ((wxEraseEvent *) x));
41985}
41986static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
41987 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
41988}
41989static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
41990 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
41991}
41992static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
41993 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
41994}
41995static void *_p_wxPyEventTo_p_wxEvent(void *x) {
41996 return (void *)((wxEvent *) ((wxPyEvent *) x));
41997}
41998static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
41999 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
42000}
42001static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
42002 return (void *)((wxEvent *) ((wxIdleEvent *) x));
42003}
42004static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
42005 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
42006}
42007static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
42008 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
42009}
42010static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
42011 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
42012}
42013static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
42014 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
42015}
42016static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
42017 return (void *)((wxEvent *) ((wxActivateEvent *) x));
42018}
42019static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
42020 return (void *)((wxEvent *) ((wxSizeEvent *) x));
42021}
42022static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
42023 return (void *)((wxEvent *) ((wxMoveEvent *) x));
42024}
42025static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
42026 return (void *)((wxEvent *) ((wxPaintEvent *) x));
42027}
42028static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
42029 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
42030}
42031static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
42032 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
42033}
42034static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
42035 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
42036}
42037static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
42038 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
42039}
42040static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
42041 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
42042}
42043static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
42044 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
42045}
42046static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
42047 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
42048}
42049static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
42050 return (void *)((wxEvent *) ((wxFocusEvent *) x));
42051}
42052static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
42053 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
42054}
42055static void *_p_wxShowEventTo_p_wxEvent(void *x) {
42056 return (void *)((wxEvent *) ((wxShowEvent *) x));
42057}
42058static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
42059 return (void *)((wxEvent *) ((wxCommandEvent *) x));
42060}
42061static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
42062 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
42063}
42064static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
42065 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
42066}
42067static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
42068 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
42069}
42070static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
42071 return (void *)((wxEvent *) ((wxKeyEvent *) x));
42072}
42073static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
42074 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
42075}
42076static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
42077 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
42078}
42079static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
42080 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
42081}
42082static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
42083 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
42084}
42085static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
42086 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
42087}
42088static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
42089 return (void *)((wxControl *) ((wxControlWithItems *) x));
42090}
42091static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
42092 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
42093}
42094static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
42095 return (void *)((wxEvtHandler *) ((wxWindow *) x));
42096}
42097static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
42098 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
42099}
42100static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
42101 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
42102}
42103static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
42104 return (void *)((wxEvtHandler *) ((wxValidator *) x));
42105}
42106static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
42107 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
42108}
42109static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
42110 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
42111}
42112static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
42113 return (void *)((wxEvtHandler *) ((wxMenu *) x));
42114}
42115static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
42116 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
42117}
42118static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
42119 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
42120}
42121static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
42122 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
42123}
42124static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
42125 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
42126}
42127static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
42128 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
42129}
42130static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
42131 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
42132}
42133static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
42134 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
42135}
42136static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
42137 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
42138}
42139static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
42140 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
42141}
42142static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
42143 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
42144}
42145static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
42146 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
42147}
42148static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
42149 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
42150}
42151static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
42152 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
42153}
42154static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
42155 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
42156}
42157static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
42158 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
42159}
42160static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
42161 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
42162}
42163static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
42164 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
42165}
42166static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
42167 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
42168}
42169static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
42170 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
42171}
42172static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
42173 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
42174}
42175static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
42176 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
42177}
42178static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
42179 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
42180}
42181static void *_p_wxMenuEventTo_p_wxObject(void *x) {
42182 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
42183}
42184static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
42185 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
42186}
42187static void *_p_wxEraseEventTo_p_wxObject(void *x) {
42188 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
42189}
42190static void *_p_wxMouseEventTo_p_wxObject(void *x) {
42191 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
42192}
42193static void *_p_wxCloseEventTo_p_wxObject(void *x) {
42194 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
42195}
42196static void *_p_wxValidatorTo_p_wxObject(void *x) {
42197 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
42198}
42199static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
42200 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
42201}
42202static void *_p_wxMenuBarTo_p_wxObject(void *x) {
42203 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
42204}
42205static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
42206 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
42207}
42208static void *_p_wxSizerTo_p_wxObject(void *x) {
42209 return (void *)((wxObject *) ((wxSizer *) x));
42210}
42211static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
42212 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
42213}
42214static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
42215 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
42216}
42217static void *_p_wxMenuTo_p_wxObject(void *x) {
42218 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
42219}
42220static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
42221 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
42222}
42223static void *_p_wxImageTo_p_wxObject(void *x) {
42224 return (void *)((wxObject *) ((wxImage *) x));
42225}
42226static void *_p_wxScrollEventTo_p_wxObject(void *x) {
42227 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
42228}
42229static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
42230 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
42231}
42232static void *_p_wxPyEventTo_p_wxObject(void *x) {
42233 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
42234}
42235static void *_p_wxWindowTo_p_wxObject(void *x) {
42236 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
42237}
42238static void *_p_wxControlTo_p_wxObject(void *x) {
42239 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
42240}
41f1cec7
RD
42241static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
42242 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
42243}
d14a1e28
RD
42244static void *_p_wxGridSizerTo_p_wxObject(void *x) {
42245 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
42246}
42247static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
42248 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
42249}
42250static void *_p_wxPyAppTo_p_wxObject(void *x) {
42251 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
42252}
42253static void *_p_wxEventTo_p_wxObject(void *x) {
42254 return (void *)((wxObject *) ((wxEvent *) x));
42255}
42256static void *_p_wxActivateEventTo_p_wxObject(void *x) {
42257 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
42258}
42259static void *_p_wxMoveEventTo_p_wxObject(void *x) {
42260 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
42261}
42262static void *_p_wxSizeEventTo_p_wxObject(void *x) {
42263 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
42264}
42265static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
42266 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
42267}
42268static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
42269 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
42270}
42271static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
42272 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
42273}
42274static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
42275 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
42276}
42277static void *_p_wxIdleEventTo_p_wxObject(void *x) {
42278 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
42279}
42280static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
42281 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
42282}
42283static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
42284 return (void *)((wxObject *) ((wxEvtHandler *) x));
42285}
42286static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
42287 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
42288}
42289static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
42290 return (void *)((wxObject *) ((wxImageHandler *) x));
42291}
42292static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
42293 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
42294}
42295static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
42296 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
42297}
42298static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
42299 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
42300}
42301static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
42302 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
42303}
42304static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
42305 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
42306}
42307static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
42308 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
42309}
42310static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
42311 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
42312}
42313static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
42314 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
42315}
42316static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
42317 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
42318}
42319static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
42320 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
42321}
42322static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
42323 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
42324}
42325static void *_p_wxPaintEventTo_p_wxObject(void *x) {
42326 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
42327}
42328static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
42329 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
42330}
42331static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
42332 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
42333}
42334static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
42335 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
42336}
42337static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
42338 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
42339}
42340static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
42341 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
42342}
42343static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
42344 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
42345}
42346static void *_p_wxFileSystemTo_p_wxObject(void *x) {
42347 return (void *)((wxObject *) ((wxFileSystem *) x));
42348}
42349static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
42350 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
42351}
42352static void *_p_wxFocusEventTo_p_wxObject(void *x) {
42353 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
42354}
42355static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
42356 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
42357}
42358static void *_p_wxSizerItemTo_p_wxObject(void *x) {
42359 return (void *)((wxObject *) ((wxSizerItem *) x));
42360}
42361static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
42362 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
42363}
42364static void *_p_wxShowEventTo_p_wxObject(void *x) {
42365 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
42366}
42367static void *_p_wxFSFileTo_p_wxObject(void *x) {
42368 return (void *)((wxObject *) ((wxFSFile *) x));
42369}
42370static void *_p_wxCommandEventTo_p_wxObject(void *x) {
42371 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
42372}
42373static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
42374 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
42375}
42376static void *_p_wxKeyEventTo_p_wxObject(void *x) {
42377 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
42378}
42379static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
42380 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
42381}
42382static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
42383 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
42384}
42385static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
42386 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
42387}
42388static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
42389 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
42390}
42391static void *_p_wxMenuItemTo_p_wxObject(void *x) {
42392 return (void *)((wxObject *) ((wxMenuItem *) x));
42393}
42394static void *_p_wxPySizerTo_p_wxObject(void *x) {
42395 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
42396}
42397static void *_p_wxControlTo_p_wxWindow(void *x) {
42398 return (void *)((wxWindow *) ((wxControl *) x));
42399}
42400static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
42401 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
42402}
42403static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
42404 return (void *)((wxWindow *) ((wxMenuBar *) x));
42405}
42406static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
42407 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
42408}
42409static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
42410 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
42411}
42412static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
42413 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
42414}
42415static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
42416 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
42417}
42418static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
42419 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
42420}
42421static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
42422 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
42423}
42424static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
42425 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
42426}
42427static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
42428 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
42429}
42430static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
42431 return (void *)((wxValidator *) ((wxPyValidator *) x));
42432}
2f4c0a16
RD
42433static 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}};
42434static 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}};
42435static 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}};
42436static 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}};
42437static 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}};
42438static 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}};
42439static 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}};
42440static 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}};
42441static 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}};
42442static 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}};
42443static 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}};
42444static 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}};
42445static 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}};
42446static 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}};
42447static 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}};
42448static 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}};
42449static 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}};
42450static 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}};
42451static 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}};
42452static 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}};
42453static 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}};
42454static 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}};
42455static 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}};
42456static 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}};
42457static 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}};
42458static 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}};
42459static 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}};
42460static 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}};
42461static 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}};
42462static 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}};
42463static 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}};
42464static 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}};
42465static 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}};
42466static 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}};
42467static 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}};
42468static 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 42469static 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}};
2f4c0a16
RD
42470static 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}};
42471static 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}};
42472static 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}};
42473static 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}};
42474static 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}};
42475static 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}};
42476static 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}};
42477static 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}};
42478static 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}};
42479static 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}};
42480static 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}};
42481static 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}};
42482static 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}};
42483static 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}};
42484static 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}};
42485static 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}};
42486static 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}};
42487static 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}};
42488static 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}};
42489static 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}};
42490static 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}};
42491static 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}};
42492static 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}};
42493static 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}};
42494static 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}};
42495static 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}};
42496static 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}};
42497static 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}};
42498static 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}};
42499static 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}};
42500static 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}};
42501static 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}};
42502static 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}};
42503static 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}};
42504static 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}};
42505static 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}};
42506static 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}};
42507static 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}};
42508static 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}};
42509static 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}};
42510static 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}};
42511static 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}};
42512static 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}};
42513static 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}};
42514static 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}};
42515static 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}};
42516static 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}};
42517static 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}};
42518static 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}};
42519static 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}};
42520static 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}};
42521static 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}};
42522static 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}};
42523static 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}};
42524static 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}};
42525static 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}};
42526static 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}};
42527static 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}};
42528static 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}};
42529static 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}};
42530static 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}};
42531static 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}};
42532static 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}};
42533static 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}};
42534static 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}};
42535static 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}};
42536static 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}};
42537static 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}};
42538static 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}};
42539static 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}};
42540static 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}};
42541static 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}};
42542static 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}};
42543static 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}};
42544static 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}};
42545static 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}};
42546static 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}};
42547static 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
42548
42549static swig_type_info *swig_types_initial[] = {
42550_swigt__p_wxLayoutConstraints,
42551_swigt__p_wxRealPoint,
42552_swigt__p_wxSizerItem,
42553_swigt__p_wxGBSizerItem,
42554_swigt__p_wxScrollEvent,
42555_swigt__p_wxIndividualLayoutConstraint,
42556_swigt__p_wxSizer,
42557_swigt__p_wxBoxSizer,
42558_swigt__p_wxStaticBoxSizer,
42559_swigt__p_wxGridBagSizer,
42560_swigt__p_wxAcceleratorEntry,
42561_swigt__p_wxUpdateUIEvent,
42562_swigt__p_wxMenu,
42563_swigt__p_wxEvent,
42564_swigt__p_wxGridSizer,
42565_swigt__p_wxFlexGridSizer,
42566_swigt__p_wxInitDialogEvent,
42567_swigt__p_wxItemContainer,
42568_swigt__p_wxNcPaintEvent,
42569_swigt__p_wxPaintEvent,
42570_swigt__p_wxSysColourChangedEvent,
42571_swigt__p_wxMouseCaptureChangedEvent,
42572_swigt__p_wxDisplayChangedEvent,
42573_swigt__p_wxPaletteChangedEvent,
42574_swigt__p_wxControl,
42575_swigt__p_wxFont,
42576_swigt__p_wxMenuBarBase,
42577_swigt__p_wxSetCursorEvent,
42578_swigt__p_wxFSFile,
42579_swigt__p_wxCaret,
42580_swigt__p_wxRegion,
42581_swigt__p_wxPoint2D,
42582_swigt__p_int,
42583_swigt__p_wxSize,
42584_swigt__p_wxDC,
42585_swigt__p_wxPySizer,
74a57fcd 42586_swigt__p_wxVisualAttributes,
d14a1e28
RD
42587_swigt__p_wxNotifyEvent,
42588_swigt__p_wxPyEvent,
42589_swigt__p_wxPropagationDisabler,
42590_swigt__p_wxAppTraits,
42591_swigt__p_wxArrayString,
42592_swigt__p_wxShowEvent,
42593_swigt__p_wxToolTip,
4e760a36 42594_swigt__p_wxMaximizeEvent,
d14a1e28
RD
42595_swigt__p_wxIconizeEvent,
42596_swigt__p_wxActivateEvent,
42597_swigt__p_wxMoveEvent,
42598_swigt__p_wxSizeEvent,
42599_swigt__p_wxQueryNewPaletteEvent,
42600_swigt__p_wxWindowCreateEvent,
42601_swigt__p_wxIdleEvent,
42602_swigt__p_wxMenuItem,
42603_swigt__p_wxStaticBox,
42604_swigt__p_long,
42605_swigt__p_wxTIFFHandler,
42606_swigt__p_wxXPMHandler,
42607_swigt__p_wxPNMHandler,
42608_swigt__p_wxJPEGHandler,
42609_swigt__p_wxPCXHandler,
42610_swigt__p_wxGIFHandler,
42611_swigt__p_wxPNGHandler,
42612_swigt__p_wxANIHandler,
42613_swigt__p_wxMemoryFSHandler,
42614_swigt__p_wxEvtHandler,
42615_swigt__p_wxCURHandler,
42616_swigt__p_wxICOHandler,
42617_swigt__p_wxBMPHandler,
42618_swigt__p_wxImageHandler,
42619_swigt__p_wxFileSystemHandler,
42620_swigt__p_wxPyFileSystemHandler,
42621_swigt__p_wxInternetFSHandler,
4e760a36 42622_swigt__p_wxZipFSHandler,
d14a1e28
RD
42623_swigt__p_wxRect,
42624_swigt__p_wxGBSpan,
42625_swigt__p_wxPropagateOnce,
42626_swigt__p_wxAcceleratorTable,
8edf1c75 42627_swigt__p_char,
d14a1e28
RD
42628_swigt__p_wxGBPosition,
42629_swigt__p_wxImage,
42630_swigt__p_wxFrame,
42631_swigt__p_wxScrollWinEvent,
42632_swigt__p_wxImageHistogram,
42633_swigt__p_byte,
42634_swigt__p_wxPoint,
42635_swigt__p_wxCursor,
42636_swigt__p_wxObject,
42637_swigt__p_wxPyInputStream,
42638_swigt__p_wxOutputStream,
42639_swigt__p_wxInputStream,
42640_swigt__p_wxDateTime,
42641_swigt__p_wxKeyEvent,
42642_swigt__p_wxNavigationKeyEvent,
42643_swigt__p_wxWindowDestroyEvent,
42644_swigt__p_wxWindow,
42645_swigt__p_wxMenuBar,
d14a1e28
RD
42646_swigt__p_wxFileSystem,
42647_swigt__p_wxBitmap,
42648_swigt__p_wxMenuEvent,
42649_swigt__p_wxContextMenuEvent,
42650_swigt__p_unsigned_char,
42651_swigt__p_wxCloseEvent,
42652_swigt__p_wxEraseEvent,
42653_swigt__p_wxMouseEvent,
42654_swigt__p_wxPyApp,
42655_swigt__p_wxCommandEvent,
42656_swigt__p_wxPyCommandEvent,
44127b65 42657_swigt__p_wxPyDropTarget,
d14a1e28
RD
42658_swigt__p_wxChildFocusEvent,
42659_swigt__p_wxFocusEvent,
42660_swigt__p_wxDropFilesEvent,
42661_swigt__p_wxControlWithItems,
42662_swigt__p_wxColour,
42663_swigt__p_wxValidator,
42664_swigt__p_wxPyValidator,
426650
42666};
42667
42668
42669/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42670
42671static swig_const_info swig_const_table[] = {
d14a1e28
RD
42672{0}};
42673
42674#ifdef __cplusplus
42675}
42676#endif
42677
42678#ifdef __cplusplus
42679extern "C"
42680#endif
42681SWIGEXPORT(void) SWIG_init(void) {
42682 static PyObject *SWIG_globals = 0;
42683 static int typeinit = 0;
42684 PyObject *m, *d;
42685 int i;
42686 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
42687 m = Py_InitModule((char *) SWIG_name, SwigMethods);
42688 d = PyModule_GetDict(m);
42689
42690 if (!typeinit) {
42691 for (i = 0; swig_types_initial[i]; i++) {
42692 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
42693 }
42694 typeinit = 1;
42695 }
42696 SWIG_InstallConstants(d,swig_const_table);
42697
42698
42699#ifndef wxPyUSE_EXPORT
42700 // Make our API structure a CObject so other modules can import it
42701 // from this module.
42702 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
42703 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
42704 Py_XDECREF(cobj);
42705#endif
42706
2f4c0a16
RD
42707 PyDict_SetItemString(d,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND));
42708 PyDict_SetItemString(d,"VSCROLL", SWIG_FromInt((int)wxVSCROLL));
42709 PyDict_SetItemString(d,"HSCROLL", SWIG_FromInt((int)wxHSCROLL));
42710 PyDict_SetItemString(d,"CAPTION", SWIG_FromInt((int)wxCAPTION));
42711 PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER));
42712 PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER));
42713 PyDict_SetItemString(d,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER));
42714 PyDict_SetItemString(d,"BORDER", SWIG_FromInt((int)wxBORDER));
42715 PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER));
42716 PyDict_SetItemString(d,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER));
42717 PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW));
42718 PyDict_SetItemString(d,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER));
2f4c0a16
RD
42719 PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL));
42720 PyDict_SetItemString(d,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS));
42721 PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW));
42722 PyDict_SetItemString(d,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME));
42723 PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN));
42724 PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN));
2f4c0a16
RD
42725 PyDict_SetItemString(d,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN));
42726 PyDict_SetItemString(d,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM));
42727 PyDict_SetItemString(d,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT));
42728 PyDict_SetItemString(d,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE));
42729 PyDict_SetItemString(d,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE));
42730 PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN));
42731 PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS));
42732 PyDict_SetItemString(d,"RETAINED", SWIG_FromInt((int)wxRETAINED));
42733 PyDict_SetItemString(d,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE));
42734 PyDict_SetItemString(d,"COLOURED", SWIG_FromInt((int)wxCOLOURED));
42735 PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH));
42736 PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB));
42737 PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB));
42738 PyDict_SetItemString(d,"LB_SORT", SWIG_FromInt((int)wxLB_SORT));
42739 PyDict_SetItemString(d,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE));
42740 PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE));
42741 PyDict_SetItemString(d,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED));
42742 PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW));
42743 PyDict_SetItemString(d,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL));
42744 PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER));
42745 PyDict_SetItemString(d,"PASSWORD", SWIG_FromInt((int)wxPASSWORD));
42746 PyDict_SetItemString(d,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE));
42747 PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN));
42748 PyDict_SetItemString(d,"CB_SORT", SWIG_FromInt((int)wxCB_SORT));
42749 PyDict_SetItemString(d,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY));
42750 PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL));
42751 PyDict_SetItemString(d,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL));
42752 PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS));
42753 PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS));
42754 PyDict_SetItemString(d,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP));
42755 PyDict_SetItemString(d,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE));
42756 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL));
42757 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL));
42758 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS));
42759 PyDict_SetItemString(d,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS));
42760 PyDict_SetItemString(d,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT));
42761 PyDict_SetItemString(d,"SL_TOP", SWIG_FromInt((int)wxSL_TOP));
42762 PyDict_SetItemString(d,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT));
42763 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM));
42764 PyDict_SetItemString(d,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH));
42765 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE));
42766 PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL));
42767 PyDict_SetItemString(d,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL));
42768 PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP));
42769 PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE));
42770 PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE));
42771 PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER));
42772 PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE));
42773 PyDict_SetItemString(d,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE));
42774 PyDict_SetItemString(d,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP));
42775 PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM));
42776 PyDict_SetItemString(d,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT));
42777 PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT));
42778 PyDict_SetItemString(d,"OK", SWIG_FromInt((int)wxOK));
42779 PyDict_SetItemString(d,"YES_NO", SWIG_FromInt((int)wxYES_NO));
42780 PyDict_SetItemString(d,"CANCEL", SWIG_FromInt((int)wxCANCEL));
42781 PyDict_SetItemString(d,"YES", SWIG_FromInt((int)wxYES));
42782 PyDict_SetItemString(d,"NO", SWIG_FromInt((int)wxNO));
42783 PyDict_SetItemString(d,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT));
42784 PyDict_SetItemString(d,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT));
42785 PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION));
42786 PyDict_SetItemString(d,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND));
42787 PyDict_SetItemString(d,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION));
42788 PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION));
42789 PyDict_SetItemString(d,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP));
42790 PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK));
42791 PyDict_SetItemString(d,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK));
42792 PyDict_SetItemString(d,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING));
42793 PyDict_SetItemString(d,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR));
42794 PyDict_SetItemString(d,"FORWARD", SWIG_FromInt((int)wxFORWARD));
42795 PyDict_SetItemString(d,"BACKWARD", SWIG_FromInt((int)wxBACKWARD));
42796 PyDict_SetItemString(d,"RESET", SWIG_FromInt((int)wxRESET));
42797 PyDict_SetItemString(d,"HELP", SWIG_FromInt((int)wxHELP));
42798 PyDict_SetItemString(d,"MORE", SWIG_FromInt((int)wxMORE));
42799 PyDict_SetItemString(d,"SETUP", SWIG_FromInt((int)wxSETUP));
42800 PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH));
42801 PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT));
42802 PyDict_SetItemString(d,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO));
42803 PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING));
42804 PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE));
42805 PyDict_SetItemString(d,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT));
42806 PyDict_SetItemString(d,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE));
42807 PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH));
42808 PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM));
42809 PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW));
42810 PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT));
42811 PyDict_SetItemString(d,"ID_ANY", SWIG_FromInt((int)wxID_ANY));
42812 PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR));
42813 PyDict_SetItemString(d,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST));
42814 PyDict_SetItemString(d,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN));
42815 PyDict_SetItemString(d,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE));
42816 PyDict_SetItemString(d,"ID_NEW", SWIG_FromInt((int)wxID_NEW));
42817 PyDict_SetItemString(d,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE));
42818 PyDict_SetItemString(d,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS));
42819 PyDict_SetItemString(d,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT));
42820 PyDict_SetItemString(d,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT));
42821 PyDict_SetItemString(d,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO));
42822 PyDict_SetItemString(d,"ID_REDO", SWIG_FromInt((int)wxID_REDO));
42823 PyDict_SetItemString(d,"ID_HELP", SWIG_FromInt((int)wxID_HELP));
42824 PyDict_SetItemString(d,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT));
42825 PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP));
42826 PyDict_SetItemString(d,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW));
42827 PyDict_SetItemString(d,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT));
42828 PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS));
42829 PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS));
42830 PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES));
42831 PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT));
42832 PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL));
42833 PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES));
42834 PyDict_SetItemString(d,"ID_CUT", SWIG_FromInt((int)wxID_CUT));
42835 PyDict_SetItemString(d,"ID_COPY", SWIG_FromInt((int)wxID_COPY));
42836 PyDict_SetItemString(d,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE));
42837 PyDict_SetItemString(d,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR));
42838 PyDict_SetItemString(d,"ID_FIND", SWIG_FromInt((int)wxID_FIND));
42839 PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE));
42840 PyDict_SetItemString(d,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL));
42841 PyDict_SetItemString(d,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE));
42842 PyDict_SetItemString(d,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE));
42843 PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL));
42844 PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES));
42845 PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS));
42846 PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS));
42847 PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS));
42848 PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST));
42849 PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE));
42850 PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME));
42851 PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE));
42852 PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE));
42853 PyDict_SetItemString(d,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1));
42854 PyDict_SetItemString(d,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2));
42855 PyDict_SetItemString(d,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3));
42856 PyDict_SetItemString(d,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4));
42857 PyDict_SetItemString(d,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5));
42858 PyDict_SetItemString(d,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6));
42859 PyDict_SetItemString(d,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7));
42860 PyDict_SetItemString(d,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8));
42861 PyDict_SetItemString(d,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9));
42862 PyDict_SetItemString(d,"ID_OK", SWIG_FromInt((int)wxID_OK));
42863 PyDict_SetItemString(d,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL));
42864 PyDict_SetItemString(d,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY));
42865 PyDict_SetItemString(d,"ID_YES", SWIG_FromInt((int)wxID_YES));
42866 PyDict_SetItemString(d,"ID_NO", SWIG_FromInt((int)wxID_NO));
42867 PyDict_SetItemString(d,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC));
42868 PyDict_SetItemString(d,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD));
42869 PyDict_SetItemString(d,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD));
42870 PyDict_SetItemString(d,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT));
42871 PyDict_SetItemString(d,"ID_MORE", SWIG_FromInt((int)wxID_MORE));
42872 PyDict_SetItemString(d,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP));
42873 PyDict_SetItemString(d,"ID_RESET", SWIG_FromInt((int)wxID_RESET));
42874 PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP));
42875 PyDict_SetItemString(d,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL));
42876 PyDict_SetItemString(d,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL));
42877 PyDict_SetItemString(d,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT));
42878 PyDict_SetItemString(d,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY));
42879 PyDict_SetItemString(d,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE));
42880 PyDict_SetItemString(d,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST));
42881 PyDict_SetItemString(d,"OPEN", SWIG_FromInt((int)wxOPEN));
42882 PyDict_SetItemString(d,"SAVE", SWIG_FromInt((int)wxSAVE));
42883 PyDict_SetItemString(d,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY));
42884 PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT));
42885 PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST));
42886 PyDict_SetItemString(d,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE));
42887 PyDict_SetItemString(d,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR));
42888 PyDict_SetItemString(d,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT));
42889 PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL));
42890 PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT));
42891 PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL));
42892 PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE));
42893 PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL));
42894 PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT));
42895 PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME));
42896 PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME));
42897 PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME));
42898 PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON));
42899 PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE));
42900 PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF));
42901 PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE));
42902 PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE));
42903 PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE));
42904 PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL));
42905 PyDict_SetItemString(d,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL));
42906 PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY));
42907 PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS));
42908 PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT));
42909 PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND));
42910 PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE));
42911 PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES));
42912 PyDict_SetItemString(d,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT));
42913 PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC));
42914 PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC));
42915 PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH));
42916 PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH));
42917 PyDict_SetItemString(d,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS));
42918 PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC));
42919 PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC));
42920 PyDict_SetItemString(d,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS));
42921 PyDict_SetItemString(d,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC));
42922 PyDict_SetItemString(d,"CENTRE", SWIG_FromInt((int)wxCENTRE));
42923 PyDict_SetItemString(d,"CENTER", SWIG_FromInt((int)wxCENTER));
42924 PyDict_SetItemString(d,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL));
42925 PyDict_SetItemString(d,"VERTICAL", SWIG_FromInt((int)wxVERTICAL));
42926 PyDict_SetItemString(d,"BOTH", SWIG_FromInt((int)wxBOTH));
42927 PyDict_SetItemString(d,"LEFT", SWIG_FromInt((int)wxLEFT));
42928 PyDict_SetItemString(d,"RIGHT", SWIG_FromInt((int)wxRIGHT));
42929 PyDict_SetItemString(d,"UP", SWIG_FromInt((int)wxUP));
42930 PyDict_SetItemString(d,"DOWN", SWIG_FromInt((int)wxDOWN));
42931 PyDict_SetItemString(d,"TOP", SWIG_FromInt((int)wxTOP));
42932 PyDict_SetItemString(d,"BOTTOM", SWIG_FromInt((int)wxBOTTOM));
42933 PyDict_SetItemString(d,"NORTH", SWIG_FromInt((int)wxNORTH));
42934 PyDict_SetItemString(d,"SOUTH", SWIG_FromInt((int)wxSOUTH));
42935 PyDict_SetItemString(d,"WEST", SWIG_FromInt((int)wxWEST));
42936 PyDict_SetItemString(d,"EAST", SWIG_FromInt((int)wxEAST));
42937 PyDict_SetItemString(d,"ALL", SWIG_FromInt((int)wxALL));
42938 PyDict_SetItemString(d,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT));
42939 PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL));
42940 PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL));
42941 PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT));
42942 PyDict_SetItemString(d,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP));
42943 PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT));
42944 PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM));
42945 PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL));
42946 PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL));
42947 PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER));
42948 PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE));
42949 PyDict_SetItemString(d,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK));
42950 PyDict_SetItemString(d,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT));
42951 PyDict_SetItemString(d,"SHRINK", SWIG_FromInt((int)wxSHRINK));
42952 PyDict_SetItemString(d,"GROW", SWIG_FromInt((int)wxGROW));
42953 PyDict_SetItemString(d,"EXPAND", SWIG_FromInt((int)wxEXPAND));
42954 PyDict_SetItemString(d,"SHAPED", SWIG_FromInt((int)wxSHAPED));
cfe5e918 42955 PyDict_SetItemString(d,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE));
2f4c0a16 42956 PyDict_SetItemString(d,"TILE", SWIG_FromInt((int)wxTILE));
74a57fcd 42957 PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE));
2f4c0a16
RD
42958 PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT));
42959 PyDict_SetItemString(d,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE));
42960 PyDict_SetItemString(d,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC));
42961 PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE));
42962 PyDict_SetItemString(d,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED));
42963 PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN));
42964 PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE));
42965 PyDict_SetItemString(d,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK));
42966 PyDict_SetItemString(d,"DEFAULT", SWIG_FromInt((int)wxDEFAULT));
42967 PyDict_SetItemString(d,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE));
42968 PyDict_SetItemString(d,"ROMAN", SWIG_FromInt((int)wxROMAN));
42969 PyDict_SetItemString(d,"SCRIPT", SWIG_FromInt((int)wxSCRIPT));
42970 PyDict_SetItemString(d,"SWISS", SWIG_FromInt((int)wxSWISS));
42971 PyDict_SetItemString(d,"MODERN", SWIG_FromInt((int)wxMODERN));
42972 PyDict_SetItemString(d,"TELETYPE", SWIG_FromInt((int)wxTELETYPE));
42973 PyDict_SetItemString(d,"VARIABLE", SWIG_FromInt((int)wxVARIABLE));
42974 PyDict_SetItemString(d,"FIXED", SWIG_FromInt((int)wxFIXED));
42975 PyDict_SetItemString(d,"NORMAL", SWIG_FromInt((int)wxNORMAL));
42976 PyDict_SetItemString(d,"LIGHT", SWIG_FromInt((int)wxLIGHT));
42977 PyDict_SetItemString(d,"BOLD", SWIG_FromInt((int)wxBOLD));
42978 PyDict_SetItemString(d,"ITALIC", SWIG_FromInt((int)wxITALIC));
42979 PyDict_SetItemString(d,"SLANT", SWIG_FromInt((int)wxSLANT));
42980 PyDict_SetItemString(d,"SOLID", SWIG_FromInt((int)wxSOLID));
42981 PyDict_SetItemString(d,"DOT", SWIG_FromInt((int)wxDOT));
42982 PyDict_SetItemString(d,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH));
42983 PyDict_SetItemString(d,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH));
42984 PyDict_SetItemString(d,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH));
42985 PyDict_SetItemString(d,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH));
42986 PyDict_SetItemString(d,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT));
42987 PyDict_SetItemString(d,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE));
42988 PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH));
42989 PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH));
42990 PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH));
42991 PyDict_SetItemString(d,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH));
42992 PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH));
42993 PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH));
42994 PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL));
42995 PyDict_SetItemString(d,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER));
42996 PyDict_SetItemString(d,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND));
42997 PyDict_SetItemString(d,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND));
42998 PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING));
42999 PyDict_SetItemString(d,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT));
43000 PyDict_SetItemString(d,"CLEAR", SWIG_FromInt((int)wxCLEAR));
43001 PyDict_SetItemString(d,"XOR", SWIG_FromInt((int)wxXOR));
43002 PyDict_SetItemString(d,"INVERT", SWIG_FromInt((int)wxINVERT));
43003 PyDict_SetItemString(d,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE));
43004 PyDict_SetItemString(d,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE));
43005 PyDict_SetItemString(d,"COPY", SWIG_FromInt((int)wxCOPY));
43006 PyDict_SetItemString(d,"AND", SWIG_FromInt((int)wxAND));
43007 PyDict_SetItemString(d,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT));
43008 PyDict_SetItemString(d,"NO_OP", SWIG_FromInt((int)wxNO_OP));
43009 PyDict_SetItemString(d,"NOR", SWIG_FromInt((int)wxNOR));
43010 PyDict_SetItemString(d,"EQUIV", SWIG_FromInt((int)wxEQUIV));
43011 PyDict_SetItemString(d,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT));
43012 PyDict_SetItemString(d,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT));
43013 PyDict_SetItemString(d,"NAND", SWIG_FromInt((int)wxNAND));
43014 PyDict_SetItemString(d,"OR", SWIG_FromInt((int)wxOR));
43015 PyDict_SetItemString(d,"SET", SWIG_FromInt((int)wxSET));
43016 PyDict_SetItemString(d,"WXK_BACK", SWIG_FromInt((int)WXK_BACK));
43017 PyDict_SetItemString(d,"WXK_TAB", SWIG_FromInt((int)WXK_TAB));
43018 PyDict_SetItemString(d,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN));
43019 PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE));
43020 PyDict_SetItemString(d,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE));
43021 PyDict_SetItemString(d,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE));
43022 PyDict_SetItemString(d,"WXK_START", SWIG_FromInt((int)WXK_START));
43023 PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON));
43024 PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON));
43025 PyDict_SetItemString(d,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL));
43026 PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON));
43027 PyDict_SetItemString(d,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR));
43028 PyDict_SetItemString(d,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT));
43029 PyDict_SetItemString(d,"WXK_ALT", SWIG_FromInt((int)WXK_ALT));
43030 PyDict_SetItemString(d,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL));
43031 PyDict_SetItemString(d,"WXK_MENU", SWIG_FromInt((int)WXK_MENU));
43032 PyDict_SetItemString(d,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE));
43033 PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL));
43034 PyDict_SetItemString(d,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR));
43035 PyDict_SetItemString(d,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT));
43036 PyDict_SetItemString(d,"WXK_END", SWIG_FromInt((int)WXK_END));
43037 PyDict_SetItemString(d,"WXK_HOME", SWIG_FromInt((int)WXK_HOME));
43038 PyDict_SetItemString(d,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT));
43039 PyDict_SetItemString(d,"WXK_UP", SWIG_FromInt((int)WXK_UP));
43040 PyDict_SetItemString(d,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT));
43041 PyDict_SetItemString(d,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN));
43042 PyDict_SetItemString(d,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT));
43043 PyDict_SetItemString(d,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT));
43044 PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE));
43045 PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT));
43046 PyDict_SetItemString(d,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT));
43047 PyDict_SetItemString(d,"WXK_HELP", SWIG_FromInt((int)WXK_HELP));
43048 PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0));
43049 PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1));
43050 PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2));
43051 PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3));
43052 PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4));
43053 PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5));
43054 PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6));
43055 PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7));
43056 PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8));
43057 PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9));
43058 PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY));
43059 PyDict_SetItemString(d,"WXK_ADD", SWIG_FromInt((int)WXK_ADD));
43060 PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR));
43061 PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT));
43062 PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL));
43063 PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE));
43064 PyDict_SetItemString(d,"WXK_F1", SWIG_FromInt((int)WXK_F1));
43065 PyDict_SetItemString(d,"WXK_F2", SWIG_FromInt((int)WXK_F2));
43066 PyDict_SetItemString(d,"WXK_F3", SWIG_FromInt((int)WXK_F3));
43067 PyDict_SetItemString(d,"WXK_F4", SWIG_FromInt((int)WXK_F4));
43068 PyDict_SetItemString(d,"WXK_F5", SWIG_FromInt((int)WXK_F5));
43069 PyDict_SetItemString(d,"WXK_F6", SWIG_FromInt((int)WXK_F6));
43070 PyDict_SetItemString(d,"WXK_F7", SWIG_FromInt((int)WXK_F7));
43071 PyDict_SetItemString(d,"WXK_F8", SWIG_FromInt((int)WXK_F8));
43072 PyDict_SetItemString(d,"WXK_F9", SWIG_FromInt((int)WXK_F9));
43073 PyDict_SetItemString(d,"WXK_F10", SWIG_FromInt((int)WXK_F10));
43074 PyDict_SetItemString(d,"WXK_F11", SWIG_FromInt((int)WXK_F11));
43075 PyDict_SetItemString(d,"WXK_F12", SWIG_FromInt((int)WXK_F12));
43076 PyDict_SetItemString(d,"WXK_F13", SWIG_FromInt((int)WXK_F13));
43077 PyDict_SetItemString(d,"WXK_F14", SWIG_FromInt((int)WXK_F14));
43078 PyDict_SetItemString(d,"WXK_F15", SWIG_FromInt((int)WXK_F15));
43079 PyDict_SetItemString(d,"WXK_F16", SWIG_FromInt((int)WXK_F16));
43080 PyDict_SetItemString(d,"WXK_F17", SWIG_FromInt((int)WXK_F17));
43081 PyDict_SetItemString(d,"WXK_F18", SWIG_FromInt((int)WXK_F18));
43082 PyDict_SetItemString(d,"WXK_F19", SWIG_FromInt((int)WXK_F19));
43083 PyDict_SetItemString(d,"WXK_F20", SWIG_FromInt((int)WXK_F20));
43084 PyDict_SetItemString(d,"WXK_F21", SWIG_FromInt((int)WXK_F21));
43085 PyDict_SetItemString(d,"WXK_F22", SWIG_FromInt((int)WXK_F22));
43086 PyDict_SetItemString(d,"WXK_F23", SWIG_FromInt((int)WXK_F23));
43087 PyDict_SetItemString(d,"WXK_F24", SWIG_FromInt((int)WXK_F24));
43088 PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK));
43089 PyDict_SetItemString(d,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL));
43090 PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP));
43091 PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN));
43092 PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE));
43093 PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB));
43094 PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER));
43095 PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1));
43096 PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2));
43097 PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3));
43098 PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4));
43099 PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME));
43100 PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT));
43101 PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP));
43102 PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT));
43103 PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN));
43104 PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR));
43105 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP));
43106 PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT));
43107 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN));
43108 PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END));
43109 PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN));
43110 PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT));
43111 PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE));
43112 PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL));
43113 PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY));
43114 PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD));
43115 PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR));
43116 PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT));
43117 PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL));
43118 PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE));
43119 PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT));
43120 PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT));
43121 PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU));
43122 PyDict_SetItemString(d,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE));
43123 PyDict_SetItemString(d,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER));
43124 PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL));
43125 PyDict_SetItemString(d,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4));
43126 PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET));
43127 PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET));
43128 PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET));
43129 PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL));
43130 PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID));
43131 PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER));
43132 PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT));
43133 PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE));
43134 PyDict_SetItemString(d,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3));
43135 PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL));
43136 PyDict_SetItemString(d,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5));
43137 PyDict_SetItemString(d,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4));
43138 PyDict_SetItemString(d,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5));
43139 PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO));
43140 PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO));
43141 PyDict_SetItemString(d,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14));
43142 PyDict_SetItemString(d,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17));
43143 PyDict_SetItemString(d,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE));
43144 PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9));
43145 PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10));
43146 PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11));
43147 PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12));
43148 PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14));
43149 PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL));
43150 PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5));
43151 PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3));
43152 PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4));
43153 PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6));
43154 PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65));
43155 PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4));
43156 PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5));
43157 PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6));
43158 PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY));
43159 PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH));
43160 PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL));
43161 PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US));
43162 PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN));
43163 PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN));
43164 PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4));
43165 PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD));
43166 PyDict_SetItemString(d,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11));
43167 PyDict_SetItemString(d,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11));
43168 PyDict_SetItemString(d,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11));
43169 PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE));
43170 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA));
43171 PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA));
43172 PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA));
43173 PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA));
43174 PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE));
43175 PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE));
43176 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE));
43177 PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS));
43178 PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS));
43179 PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS));
43180 PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS));
43181 PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE));
43182 PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE));
43183 PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA));
43184 PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA));
43185 PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA));
43186 PyDict_SetItemString(d,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2));
43187 PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE));
43188 PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE));
43189 PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX));
43190 PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL));
43191 PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL));
43192 PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR));
43193 PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL));
43194 PyDict_SetItemString(d,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK));
43195 PyDict_SetItemString(d,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO));
43196 PyDict_SetItemString(d,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX));
43197 PyDict_SetItemString(d,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE));
43198 PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST));
43199 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1));
43200 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2));
43201 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1));
43202 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2));
43203 PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB));
43204 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1));
43205 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2));
43206 PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST));
43207 PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE));
43208 PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE));
43209 PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR));
43210 PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR));
43211 PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER));
43212 PyDict_SetItemString(d,"HT_MAX", SWIG_FromInt((int)wxHT_MAX));
43213 PyDict_SetItemString(d,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE));
43214 PyDict_SetItemString(d,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT));
43215 PyDict_SetItemString(d,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL));
43216 PyDict_SetItemString(d,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT));
43217 PyDict_SetItemString(d,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN));
43218 PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE));
43219 PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE));
43220 PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE));
d14a1e28 43221 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
d03fd34d 43222 SWIG_addvarlink(SWIG_globals,(char*)"EmptyString",_wrap_EmptyString_get, _wrap_EmptyString_set);
2f4c0a16
RD
43223 PyDict_SetItemString(d,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID));
43224 PyDict_SetItemString(d,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP));
43225 PyDict_SetItemString(d,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO));
43226 PyDict_SetItemString(d,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR));
43227 PyDict_SetItemString(d,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM));
43228 PyDict_SetItemString(d,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA));
43229 PyDict_SetItemString(d,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM));
43230 PyDict_SetItemString(d,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA));
43231 PyDict_SetItemString(d,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF));
43232 PyDict_SetItemString(d,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF));
43233 PyDict_SetItemString(d,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG));
43234 PyDict_SetItemString(d,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG));
43235 PyDict_SetItemString(d,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM));
43236 PyDict_SetItemString(d,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX));
43237 PyDict_SetItemString(d,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT));
43238 PyDict_SetItemString(d,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON));
43239 PyDict_SetItemString(d,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI));
43240 PyDict_SetItemString(d,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF));
43241 PyDict_SetItemString(d,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR));
43242 PyDict_SetItemString(d,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY));
43243 PyDict_SetItemString(d,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE));
43244 PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW));
43245 PyDict_SetItemString(d,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW));
43246 PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE));
43247 PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR));
43248 PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS));
43249 PyDict_SetItemString(d,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND));
43250 PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM));
43251 PyDict_SetItemString(d,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON));
43252 PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER));
43253 PyDict_SetItemString(d,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON));
43254 PyDict_SetItemString(d,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY));
43255 PyDict_SetItemString(d,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH));
43256 PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL));
43257 PyDict_SetItemString(d,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT));
43258 PyDict_SetItemString(d,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT));
43259 PyDict_SetItemString(d,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW));
43260 PyDict_SetItemString(d,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON));
43261 PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW));
43262 PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS));
43263 PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE));
43264 PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE));
43265 PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING));
43266 PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN));
43267 PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT));
43268 PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH));
43269 PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK));
43270 PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT));
43271 PyDict_SetItemString(d,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW));
43272 PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT));
43273 PyDict_SetItemString(d,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX));
d14a1e28
RD
43274 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
43275 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
2f4c0a16
RD
43276 PyDict_SetItemString(d,"FromStart", SWIG_FromInt((int)wxFromStart));
43277 PyDict_SetItemString(d,"FromCurrent", SWIG_FromInt((int)wxFromCurrent));
43278 PyDict_SetItemString(d,"FromEnd", SWIG_FromInt((int)wxFromEnd));
d14a1e28
RD
43279
43280 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43281
43282
43283 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43284
43285 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
43286 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
43287 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
43288 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
43289 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
43290 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
2f4c0a16
RD
43291 PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES));
43292 PyDict_SetItemString(d,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM));
43293 PyDict_SetItemString(d,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP));
43294 PyDict_SetItemString(d,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP));
43295 PyDict_SetItemString(d,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY));
43296 PyDict_SetItemString(d,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY));
43297 PyDict_SetItemString(d,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED));
43298 PyDict_SetItemString(d,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE));
43299 PyDict_SetItemString(d,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP));
43300 PyDict_SetItemString(d,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP));
43301 PyDict_SetItemString(d,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW));
43302 PyDict_SetItemString(d,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE));
43303 PyDict_SetItemString(d,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX));
d14a1e28
RD
43304 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
43305 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
43306 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
43307 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
43308 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
43309 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
43310 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
43311 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
43312 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
43313 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
43314 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
43315 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
43316 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
43317 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
43318 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
43319 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
43320 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
43321 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
43322 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
43323 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
43324 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
43325 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
43326 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
43327 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
43328 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
43329 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
43330 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
43331 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
43332 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
43333 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
43334 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
43335 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
43336 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
43337 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
43338 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
43339 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
43340 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
43341 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
43342 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
43343 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
43344 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
43345 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
43346 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
43347 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
43348 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
43349 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
43350 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
43351 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
43352 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
43353 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
43354 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
43355 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
43356 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
43357 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
43358 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
43359 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
43360 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
43361 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
43362 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
43363 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
43364 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
43365 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
43366 PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
43367 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
43368 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
43369 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
43370 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
43371 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
43372 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
43373 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
43374 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
43375 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
43376 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
43377 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
43378 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
43379 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
43380 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
43381 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
43382 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
43383 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
43384 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
43385 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
43386 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
43387 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
43388 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
43389 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
43390 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
43391 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
43392 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
43393 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
43394 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
43395 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
43396 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
43397 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
43398 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
43399 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
43400 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
43401 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
43402 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
43403 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
43404 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
43405 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
43406 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
43407 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
43408 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
43409 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
43410 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
43411 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
43412 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
43413 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
43414 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
43415 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
43416 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
43417 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
2f4c0a16
RD
43418 PyDict_SetItemString(d,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY));
43419 PyDict_SetItemString(d,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE));
43420 PyDict_SetItemString(d,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT));
43421 PyDict_SetItemString(d,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE));
43422 PyDict_SetItemString(d,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT));
43423 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL));
43424 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED));
43425 PyDict_SetItemString(d,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL));
43426 PyDict_SetItemString(d,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED));
43427 PyDict_SetItemString(d,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS));
43428 PyDict_SetItemString(d,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION));
43429 PyDict_SetItemString(d,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG));
43430 PyDict_SetItemString(d,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG));
43431 PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS));
43432 PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT));
41f1cec7 43433 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
423f194a 43434 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
fe763115
RD
43435 PyDict_SetItemString(d,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL));
43436 PyDict_SetItemString(d,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL));
43437 PyDict_SetItemString(d,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI));
43438 PyDict_SetItemString(d,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE));
74a57fcd 43439 PyDict_SetItemString(d,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX));
d14a1e28 43440 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
d03fd34d 43441 SWIG_addvarlink(SWIG_globals,(char*)"ControlNameStr",_wrap_ControlNameStr_get, _wrap_ControlNameStr_set);
2f4c0a16
RD
43442 PyDict_SetItemString(d,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE));
43443 PyDict_SetItemString(d,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED));
43444 PyDict_SetItemString(d,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL));
d14a1e28 43445 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
2f4c0a16
RD
43446 PyDict_SetItemString(d,"Left", SWIG_FromInt((int)wxLeft));
43447 PyDict_SetItemString(d,"Top", SWIG_FromInt((int)wxTop));
43448 PyDict_SetItemString(d,"Right", SWIG_FromInt((int)wxRight));
43449 PyDict_SetItemString(d,"Bottom", SWIG_FromInt((int)wxBottom));
43450 PyDict_SetItemString(d,"Width", SWIG_FromInt((int)wxWidth));
43451 PyDict_SetItemString(d,"Height", SWIG_FromInt((int)wxHeight));
43452 PyDict_SetItemString(d,"Centre", SWIG_FromInt((int)wxCentre));
43453 PyDict_SetItemString(d,"Center", SWIG_FromInt((int)wxCenter));
43454 PyDict_SetItemString(d,"CentreX", SWIG_FromInt((int)wxCentreX));
43455 PyDict_SetItemString(d,"CentreY", SWIG_FromInt((int)wxCentreY));
43456 PyDict_SetItemString(d,"Unconstrained", SWIG_FromInt((int)wxUnconstrained));
43457 PyDict_SetItemString(d,"AsIs", SWIG_FromInt((int)wxAsIs));
43458 PyDict_SetItemString(d,"PercentOf", SWIG_FromInt((int)wxPercentOf));
43459 PyDict_SetItemString(d,"Above", SWIG_FromInt((int)wxAbove));
43460 PyDict_SetItemString(d,"Below", SWIG_FromInt((int)wxBelow));
43461 PyDict_SetItemString(d,"LeftOf", SWIG_FromInt((int)wxLeftOf));
43462 PyDict_SetItemString(d,"RightOf", SWIG_FromInt((int)wxRightOf));
43463 PyDict_SetItemString(d,"SameAs", SWIG_FromInt((int)wxSameAs));
43464 PyDict_SetItemString(d,"Absolute", SWIG_FromInt((int)wxAbsolute));
d14a1e28
RD
43465
43466 // Initialize threading, some globals and such
43467 __wxPyPreStart(d);
43468
43469
43470 // Although these are defined in __version__ they need to be here too so
43471 // that an assert can be done to ensure that the wxPython and the wxWindows
43472 // versions match.
43473 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
43474 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
43475 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
43476
43477}
43478