]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/core_wrap.cpp
Added selection methods
[wxWidgets.git] / wxPython / src / gtk / core_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
a41e16b6 3 * Version 1.3.22
d14a1e28
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
c9c7117a
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
d14a1e28
RD
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
cc6dd355
RD
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
d14a1e28 82#else
cc6dd355
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
cc6dd355 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
cc6dd355 90# define SWIGRUNTIME(a) static a
d14a1e28
RD
91#endif
92
d14a1e28
RD
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
cc6dd355 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
cc6dd355 104 void *clientdata;
d14a1e28
RD
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
cc6dd355
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
120
121
122#ifdef __cplusplus
123}
124#endif
125
cc6dd355 126
d14a1e28
RD
127/***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
d14a1e28
RD
137#include "Python.h"
138
139#ifdef __cplusplus
140extern "C" {
141#endif
142
143#define SWIG_PY_INT 1
144#define SWIG_PY_FLOAT 2
145#define SWIG_PY_STRING 3
146#define SWIG_PY_POINTER 4
147#define SWIG_PY_BINARY 5
148
149/* Flags for pointer conversion */
150
151#define SWIG_POINTER_EXCEPTION 0x1
152#define SWIG_POINTER_DISOWN 0x2
153
154/* Exception handling in wrappers */
155#define SWIG_fail goto fail
156
157/* Constant information structure */
158typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165} swig_const_info;
166
d14a1e28
RD
167/* Common SWIG API */
168#define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170#define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172#define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
a41e16b6 174
d14a1e28
RD
175/* Python-specific SWIG API */
176#define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178#define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
182#define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184#define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
994141e6 187typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 188
cc6dd355
RD
189SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 197
994141e6
RD
198/* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
201/* basic types */
202/*
203 utilities
204*/
205SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject *obj, swig_type_info* pchar_info);
206SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharPtr(const char* cptr);
207SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject * obj);
208SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject * obj, const char* type,
209 long min_value, long max_value);
210SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject *obj, const char* type,
211 unsigned long max_value);
212SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject *obj, swig_type_info* pchar_info);
213SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject *obj, swig_type_info* pchar_info,
214 char** cptr, size_t* size);
215SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject *obj, swig_type_info* pchar_info,
216 char* carray, size_t size);
217SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharArray(const char* carray, size_t size);
218SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject *obj, py_objasdbl_conv pyconv);
d14a1e28
RD
219
220
221/* Contract support */
222
9d1d5697 223#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 224
d14a1e28
RD
225#ifdef __cplusplus
226}
227#endif
228
229
230
231/* -------- TYPES TABLE (BEGIN) -------- */
232
233#define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
234#define SWIGTYPE_p_wxRealPoint swig_types[1]
235#define SWIGTYPE_p_wxSizerItem swig_types[2]
236#define SWIGTYPE_p_wxGBSizerItem swig_types[3]
237#define SWIGTYPE_p_wxScrollEvent swig_types[4]
238#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
239#define SWIGTYPE_p_wxSizer swig_types[6]
240#define SWIGTYPE_p_wxBoxSizer swig_types[7]
241#define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
242#define SWIGTYPE_p_wxGridBagSizer swig_types[9]
243#define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
244#define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
245#define SWIGTYPE_p_wxMenu swig_types[12]
246#define SWIGTYPE_p_wxEvent swig_types[13]
247#define SWIGTYPE_p_wxGridSizer swig_types[14]
248#define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
249#define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
250#define SWIGTYPE_p_wxItemContainer swig_types[17]
251#define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
252#define SWIGTYPE_p_wxPaintEvent swig_types[19]
253#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
254#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
255#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
256#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
257#define SWIGTYPE_p_wxControl swig_types[24]
258#define SWIGTYPE_p_wxFont swig_types[25]
259#define SWIGTYPE_p_wxMenuBarBase swig_types[26]
260#define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
261#define SWIGTYPE_p_wxFSFile swig_types[28]
262#define SWIGTYPE_p_wxCaret swig_types[29]
263#define SWIGTYPE_p_wxRegion swig_types[30]
264#define SWIGTYPE_p_wxPoint2D swig_types[31]
265#define SWIGTYPE_p_int swig_types[32]
266#define SWIGTYPE_p_wxSize swig_types[33]
267#define SWIGTYPE_p_wxDC swig_types[34]
268#define SWIGTYPE_p_wxPySizer swig_types[35]
269#define SWIGTYPE_p_wxNotifyEvent swig_types[36]
270#define SWIGTYPE_p_wxPyEvent swig_types[37]
271#define SWIGTYPE_p_wxPropagationDisabler swig_types[38]
272#define SWIGTYPE_p_wxAppTraits swig_types[39]
273#define SWIGTYPE_p_wxArrayString swig_types[40]
274#define SWIGTYPE_p_wxShowEvent swig_types[41]
275#define SWIGTYPE_p_wxToolTip swig_types[42]
4d5c3d91
RD
276#define SWIGTYPE_p_wxMaximizeEvent swig_types[43]
277#define SWIGTYPE_p_wxIconizeEvent swig_types[44]
278#define SWIGTYPE_p_wxActivateEvent swig_types[45]
279#define SWIGTYPE_p_wxMoveEvent swig_types[46]
280#define SWIGTYPE_p_wxSizeEvent swig_types[47]
d14a1e28
RD
281#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[48]
282#define SWIGTYPE_p_wxWindowCreateEvent swig_types[49]
283#define SWIGTYPE_p_wxIdleEvent swig_types[50]
284#define SWIGTYPE_p_wxMenuItem swig_types[51]
285#define SWIGTYPE_p_wxStaticBox swig_types[52]
286#define SWIGTYPE_p_long swig_types[53]
287#define SWIGTYPE_p_wxTIFFHandler swig_types[54]
288#define SWIGTYPE_p_wxXPMHandler swig_types[55]
289#define SWIGTYPE_p_wxPNMHandler swig_types[56]
290#define SWIGTYPE_p_wxJPEGHandler swig_types[57]
291#define SWIGTYPE_p_wxPCXHandler swig_types[58]
292#define SWIGTYPE_p_wxGIFHandler swig_types[59]
293#define SWIGTYPE_p_wxPNGHandler swig_types[60]
294#define SWIGTYPE_p_wxANIHandler swig_types[61]
295#define SWIGTYPE_p_wxMemoryFSHandler swig_types[62]
4d5c3d91
RD
296#define SWIGTYPE_p_wxEvtHandler swig_types[63]
297#define SWIGTYPE_p_wxCURHandler swig_types[64]
298#define SWIGTYPE_p_wxICOHandler swig_types[65]
299#define SWIGTYPE_p_wxBMPHandler swig_types[66]
300#define SWIGTYPE_p_wxImageHandler swig_types[67]
301#define SWIGTYPE_p_wxFileSystemHandler swig_types[68]
302#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[69]
303#define SWIGTYPE_p_wxInternetFSHandler swig_types[70]
304#define SWIGTYPE_p_wxZipFSHandler swig_types[71]
d14a1e28
RD
305#define SWIGTYPE_p_wxRect swig_types[72]
306#define SWIGTYPE_p_wxGBSpan swig_types[73]
307#define SWIGTYPE_p_wxPropagateOnce swig_types[74]
308#define SWIGTYPE_p_wxAcceleratorTable swig_types[75]
994141e6
RD
309#define SWIGTYPE_p_char swig_types[76]
310#define SWIGTYPE_p_wxGBPosition swig_types[77]
311#define SWIGTYPE_p_wxImage swig_types[78]
312#define SWIGTYPE_p_wxFrame swig_types[79]
313#define SWIGTYPE_p_wxScrollWinEvent swig_types[80]
314#define SWIGTYPE_p_wxImageHistogram swig_types[81]
315#define SWIGTYPE_p_byte swig_types[82]
316#define SWIGTYPE_p_wxPoint swig_types[83]
317#define SWIGTYPE_p_wxCursor swig_types[84]
318#define SWIGTYPE_p_wxObject swig_types[85]
319#define SWIGTYPE_p_wxPyInputStream swig_types[86]
320#define SWIGTYPE_p_wxOutputStream swig_types[87]
321#define SWIGTYPE_p_wxInputStream swig_types[88]
322#define SWIGTYPE_p_wxDateTime swig_types[89]
323#define SWIGTYPE_p_wxKeyEvent swig_types[90]
324#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[91]
325#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[92]
326#define SWIGTYPE_p_wxWindow swig_types[93]
327#define SWIGTYPE_p_wxMenuBar swig_types[94]
4d5c3d91
RD
328#define SWIGTYPE_p_wxFileSystem swig_types[95]
329#define SWIGTYPE_p_wxBitmap swig_types[96]
330#define SWIGTYPE_p_wxMenuEvent swig_types[97]
331#define SWIGTYPE_p_wxContextMenuEvent swig_types[98]
332#define SWIGTYPE_p_unsigned_char swig_types[99]
333#define SWIGTYPE_p_wxCloseEvent swig_types[100]
334#define SWIGTYPE_p_wxEraseEvent swig_types[101]
335#define SWIGTYPE_p_wxMouseEvent swig_types[102]
336#define SWIGTYPE_p_wxPyApp swig_types[103]
337#define SWIGTYPE_p_wxCommandEvent swig_types[104]
338#define SWIGTYPE_p_wxPyCommandEvent swig_types[105]
339#define SWIGTYPE_p_wxPyDropTarget swig_types[106]
340#define SWIGTYPE_p_wxChildFocusEvent swig_types[107]
341#define SWIGTYPE_p_wxFocusEvent swig_types[108]
342#define SWIGTYPE_p_wxDropFilesEvent swig_types[109]
343#define SWIGTYPE_p_wxControlWithItems swig_types[110]
344#define SWIGTYPE_p_wxColour swig_types[111]
345#define SWIGTYPE_p_wxValidator swig_types[112]
346#define SWIGTYPE_p_wxPyValidator swig_types[113]
347static swig_type_info *swig_types[115];
d14a1e28
RD
348
349/* -------- TYPES TABLE (END) -------- */
350
351
352/*-----------------------------------------------
353 @(target):= _core.so
354 ------------------------------------------------*/
355#define SWIG_init init_core
356
357#define SWIG_name "_core"
358
994141e6
RD
359#include <limits.h>
360#include <float.h>
361#include <string.h>
362
363#ifndef SWIGSTATIC
364#ifdef __cplusplus
365#define SWIGSTATIC(a) static inline a
366#else
367#define SWIGSTATIC(a) static a
368#endif
369#endif
370
371#ifndef numeric_cast
372#ifdef __cplusplus
373#ifdef HAVE_NUMERIC_CAST
374#define numeric_cast(type,a) numeric_cast<type>(a)
375#else
376#define numeric_cast(type,a) static_cast<type>(a)
377#endif
378#else
379#define numeric_cast(type,a) (type)(a)
380#endif
381#endif
382
383
384
385#define SWIG_PyObj_FromSignedChar PyInt_FromLong
386#define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
387#define SWIG_PyObj_FromShort PyInt_FromLong
388#define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
389#define SWIG_PyObj_FromInt PyInt_FromLong
390#define SWIG_PyObj_FromLong PyInt_FromLong
391#define SWIG_PyObj_FromFloat PyFloat_FromDouble
392#define SWIG_PyObj_FromDouble PyFloat_FromDouble
393#define SWIG_PyObj_FromFloat PyFloat_FromDouble
394#define SWIG_PyObj_FromDouble PyFloat_FromDouble
395
396
d14a1e28
RD
397#include "wx/wxPython/wxPython_int.h"
398#include "wx/wxPython/pyclasses.h"
399
400
401#ifndef wxPyUSE_EXPORT
402// Helper functions for dealing with SWIG objects and such. These are
403// located here so they know about the SWIG types and functions declared
404// in the wrapper code.
405
406#include <wx/hashmap.h>
407WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap );
408
409
410// Maintains a hashmap of className to swig_type_info pointers. Given the
411// name of a class either looks up the type info in the cache, or scans the
412// SWIG tables for it.
413extern PyObject* wxPyPtrTypeMap;
414static
415swig_type_info* wxPyFindSwigType(const wxChar* className) {
416
417 static wxPyTypeInfoHashMap* typeInfoCache = NULL;
418
419 if (typeInfoCache == NULL)
420 typeInfoCache = new wxPyTypeInfoHashMap;
421
422 wxString name(className);
423 swig_type_info* swigType = (*typeInfoCache)[name];
424
425 if (! swigType) {
426 // it wasn't in the cache, so look it up from SWIG
427 name.Append(wxT(" *"));
428 swigType = SWIG_Python_TypeQuery(name.mb_str());
429
430 // if it still wasn't found, try looking for a mapped name
431 if (!swigType) {
432 PyObject* item;
433 name = className;
434
435 if ((item = PyDict_GetItemString(wxPyPtrTypeMap,
436 (char*)(const char*)name.mbc_str())) != NULL) {
437 name = wxString(PyString_AsString(item), *wxConvCurrent);
438 name.Append(wxT(" *"));
439 swigType = SWIG_Python_TypeQuery(name.mb_str());
440 }
441 }
442 if (swigType) {
443 // and add it to the map if found
444 (*typeInfoCache)[className] = swigType;
445 }
446 }
447 return swigType;
448}
449
450
451// Check if a class name is a type known to SWIG
452bool wxPyCheckSwigType(const wxChar* className) {
453
454 swig_type_info* swigType = wxPyFindSwigType(className);
455 return swigType != NULL;
456}
457
458
459// Given a pointer to a C++ object and a class name, construct a Python proxy
460// object for it.
461PyObject* wxPyConstructObject(void* ptr,
462 const wxChar* className,
463 int setThisOwn) {
464
465 swig_type_info* swigType = wxPyFindSwigType(className);
466 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConstructObject"));
467
468 return SWIG_Python_NewPointerObj(ptr, swigType, setThisOwn);
469}
470
471
472// Extract a pointer to the wrapped C++ object from a Python proxy object.
473// Ensures that the proxy object is of the specified (or derived) type. If
474// not able to perform the conversion then a Python exception is set and the
e811c8ce 475// error should be handled properly in the caller. Returns True on success.
d14a1e28
RD
476bool wxPyConvertSwigPtr(PyObject* obj, void **ptr,
477 const wxChar* className) {
478
479 swig_type_info* swigType = wxPyFindSwigType(className);
e811c8ce 480 wxCHECK_MSG(swigType != NULL, False, wxT("Unknown type in wxPyConvertSwigPtr"));
d14a1e28
RD
481
482 return SWIG_Python_ConvertPtr(obj, ptr, swigType, SWIG_POINTER_EXCEPTION) != -1;
483}
484
485
486// Make a SWIGified pointer object suitable for a .this attribute
487PyObject* wxPyMakeSwigPtr(void* ptr, const wxChar* className) {
488
489 PyObject* robj = NULL;
490
491 swig_type_info* swigType = wxPyFindSwigType(className);
492 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConvertSwigPtr"));
493
494#ifdef SWIG_COBJECT_TYPES
495 robj = PyCObject_FromVoidPtrAndDesc((void *) ptr, (char *) swigType->name, NULL);
496#else
497 {
498 char result[1024];
499 char *r = result;
500 *(r++) = '_';
501 r = SWIG_Python_PackData(r, &ptr, sizeof(void *));
502 strcpy(r, swigType->name);
503 robj = PyString_FromString(result);
504 }
505#endif
506
507 return robj;
508}
509
510
511
512
513// Export a C API in a struct. Other modules will be able to load this from
514// the wx.core module and will then have safe access to these functions, even if
515// they are located in another shared library.
516static wxPyCoreAPI API = {
517
518 (p_SWIG_Python_TypeRegister_t)SWIG_Python_TypeRegister,
519 (p_SWIG_Python_TypeCheck_t)SWIG_Python_TypeCheck,
520 (p_SWIG_Python_TypeCast_t)SWIG_Python_TypeCast,
521 (p_SWIG_Python_TypeDynamicCast_t)SWIG_Python_TypeDynamicCast,
522 (p_SWIG_Python_TypeName_t)SWIG_Python_TypeName,
523 (p_SWIG_Python_TypeQuery_t)SWIG_Python_TypeQuery,
524 (p_SWIG_Python_TypeClientData_t)SWIG_Python_TypeClientData,
525 (p_SWIG_Python_newvarlink_t)SWIG_Python_newvarlink,
526 (p_SWIG_Python_addvarlink_t)SWIG_Python_addvarlink,
527 (p_SWIG_Python_ConvertPtr_t)SWIG_Python_ConvertPtr,
528 (p_SWIG_Python_ConvertPacked_t)SWIG_Python_ConvertPacked,
529 (p_SWIG_Python_PackData_t)SWIG_Python_PackData,
530 (p_SWIG_Python_UnpackData_t)SWIG_Python_UnpackData,
531 (p_SWIG_Python_NewPointerObj_t)SWIG_Python_NewPointerObj,
532 (p_SWIG_Python_NewPackedObj_t)SWIG_Python_NewPackedObj,
533 (p_SWIG_Python_InstallConstants_t)SWIG_Python_InstallConstants,
534 (p_SWIG_Python_MustGetPtr_t)SWIG_Python_MustGetPtr,
535
994141e6
RD
536 (p_SWIG_PyObj_AsCharPtr_t)SWIG_PyObj_AsCharPtr,
537 (p_SWIG_PyObj_FromCharPtr_t)SWIG_PyObj_FromCharPtr,
538 (p_SWIG_PyObj_AsUnsignedLong_t)SWIG_PyObj_AsUnsignedLong,
539 (p_SWIG_PyObj_AsLongInRange_t)SWIG_PyObj_AsLongInRange,
540 (p_SWIG_PyObj_AsUnsignedLongInRange_t)SWIG_PyObj_AsUnsignedLongInRange,
541 (p_SWIG_PyObj_AsNewCharPtr_t)SWIG_PyObj_AsNewCharPtr,
542 (p_SWIG_PyObj_AsCharPtrAndSize_t)SWIG_PyObj_AsCharPtrAndSize,
543 (p_SWIG_PyObj_AsCharArray_t)SWIG_PyObj_AsCharArray,
544 (p_SWIG_PyObj_FromCharArray_t)SWIG_PyObj_FromCharArray,
545 (p_SWIG_PyObj_AsFloatConv_t)SWIG_PyObj_AsFloatConv,
546
d14a1e28
RD
547 wxPyCheckSwigType,
548 wxPyConstructObject,
549 wxPyConvertSwigPtr,
550 wxPyMakeSwigPtr,
551
552 wxPyBeginAllowThreads,
553 wxPyEndAllowThreads,
554 wxPyBeginBlockThreads,
555 wxPyEndBlockThreads,
556
557 wxPy_ConvertList,
558
559 wxString_in_helper,
560 Py2wxString,
561 wx2PyString,
562
563 byte_LIST_helper,
564 int_LIST_helper,
565 long_LIST_helper,
566 string_LIST_helper,
567 wxPoint_LIST_helper,
568 wxBitmap_LIST_helper,
569 wxString_LIST_helper,
570 wxAcceleratorEntry_LIST_helper,
571
572 wxSize_helper,
573 wxPoint_helper,
574 wxRealPoint_helper,
575 wxRect_helper,
576 wxColour_helper,
577 wxPoint2D_helper,
578
579 wxPySimple_typecheck,
580 wxColour_typecheck,
581
582 wxPyCBH_setCallbackInfo,
583 wxPyCBH_findCallback,
584 wxPyCBH_callCallback,
585 wxPyCBH_callCallbackObj,
586 wxPyCBH_delete,
587
588 wxPyMake_wxObject,
589 wxPyMake_wxSizer,
590 wxPyPtrTypeMap_Add,
591 wxPy2int_seq_helper,
592 wxPy4int_seq_helper,
593 wxArrayString2PyList_helper,
594 wxArrayInt2PyList_helper,
595
596 wxPyClientData_dtor,
597 wxPyUserData_dtor,
598 wxPyOORClientData_dtor,
599
600 wxPyCBInputStream_create,
601
602 wxPyInstance_Check,
603 wxPySwigInstance_Check
604
605};
606
607#endif
608
609
d14a1e28
RD
610#if ! wxUSE_HOTKEY
611enum wxHotkeyModifier
612{
613 wxMOD_NONE = 0,
614 wxMOD_ALT = 1,
615 wxMOD_CONTROL = 2,
616 wxMOD_SHIFT = 4,
617 wxMOD_WIN = 8
618};
619#define wxEVT_HOTKEY 9999
620#endif
621
196addbf 622 static const wxString wxPyEmptyString(wxEmptyString);
d14a1e28
RD
623wxString wxObject_GetClassName(wxObject *self){
624 return self->GetClassInfo()->GetClassName();
625 }
626void wxObject_Destroy(wxObject *self){
627 delete self;
628 }
629
630#ifndef __WXMAC__
631#define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
632#endif
633
994141e6
RD
634
635SWIGSTATIC(int)
636SWIG_PyObj_AsInt(PyObject *obj)
637{
638 return numeric_cast(int,
639 SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX));
640}
641
e811c8ce 642PyObject *wxSize_Get(wxSize *self){
d14a1e28
RD
643 wxPyBeginBlockThreads();
644 PyObject* tup = PyTuple_New(2);
645 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
646 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
647 wxPyEndBlockThreads();
648 return tup;
649 }
994141e6
RD
650
651SWIGSTATIC(double)
652SWIG_PyObj_AsDouble(PyObject *obj)
653{
654 return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
655#if HAVE_LONG_LONG
656 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
657#else
658 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
659#endif
660 if (PyErr_Occurred()) {
661 PyErr_Clear();
662 PyErr_SetString(PyExc_TypeError, "a double is expected");
663 }
664}
665
d14a1e28
RD
666void wxRealPoint_Set(wxRealPoint *self,double x,double y){
667 self->x = x;
668 self->y = y;
669 }
e811c8ce 670PyObject *wxRealPoint_Get(wxRealPoint *self){
d14a1e28
RD
671 wxPyBeginBlockThreads();
672 PyObject* tup = PyTuple_New(2);
673 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x));
674 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
675 wxPyEndBlockThreads();
676 return tup;
677 }
994141e6
RD
678
679SWIGSTATIC(long)
680SWIG_PyObj_AsLong(PyObject * obj)
681{
682 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
683}
684
d14a1e28
RD
685void wxPoint_Set(wxPoint *self,long x,long y){
686 self->x = x;
687 self->y = y;
688 }
e811c8ce 689PyObject *wxPoint_Get(wxPoint *self){
d14a1e28
RD
690 wxPyBeginBlockThreads();
691 PyObject* tup = PyTuple_New(2);
692 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
693 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
694 wxPyEndBlockThreads();
695 return tup;
696 }
697void wxRect_Set(wxRect *self,int x,int y,int width,int height){
698 self->x = x;
699 self->y = y;
700 self->width = width;
701 self->height = height;
702 }
e811c8ce 703PyObject *wxRect_Get(wxRect *self){
d14a1e28
RD
704 wxPyBeginBlockThreads();
705 PyObject* tup = PyTuple_New(4);
706 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
707 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
708 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(self->width));
709 PyTuple_SET_ITEM(tup, 3, PyInt_FromLong(self->height));
710 wxPyEndBlockThreads();
711 return tup;
712 }
713
714 PyObject* wxIntersectRect(wxRect* r1, wxRect* r2) {
715 wxRegion reg1(*r1);
716 wxRegion reg2(*r2);
717 wxRect dest(0,0,0,0);
718 PyObject* obj;
719
720 reg1.Intersect(reg2);
721 dest = reg1.GetBox();
722
723 if (dest != wxRect(0,0,0,0)) {
724 wxPyBeginBlockThreads();
725 wxRect* newRect = new wxRect(dest);
e811c8ce 726 obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), True);
d14a1e28
RD
727 wxPyEndBlockThreads();
728 return obj;
729 }
730 Py_INCREF(Py_None);
731 return Py_None;
732 }
733
734
735static PyObject* t_output_helper(PyObject* target, PyObject* o) {
736 PyObject* o2;
737 PyObject* o3;
738
739 if (!target) {
740 target = o;
741 } else if (target == Py_None) {
742 Py_DECREF(Py_None);
743 target = o;
744 } else {
745 if (!PyTuple_Check(target)) {
746 o2 = target;
747 target = PyTuple_New(1);
748 PyTuple_SetItem(target, 0, o2);
749 }
750 o3 = PyTuple_New(1);
751 PyTuple_SetItem(o3, 0, o);
752
753 o2 = target;
754 target = PySequence_Concat(o2, o3);
755 Py_DECREF(o2);
756 Py_DECREF(o3);
757 }
758 return target;
759}
760
761void wxPoint2D_Set(wxPoint2D *self,double x,double y){
762 self->m_x = x;
763 self->m_y = y;
764 }
e811c8ce 765PyObject *wxPoint2D_Get(wxPoint2D *self){
d14a1e28
RD
766 wxPyBeginBlockThreads();
767 PyObject* tup = PyTuple_New(2);
768 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->m_x));
769 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->m_y));
770 wxPyEndBlockThreads();
771 return tup;
772 }
773
774#include "wx/wxPython/pyistream.h"
775
776wxPyInputStream *new_wxPyInputStream(PyObject *p){
777 wxInputStream* wxis = wxPyCBInputStream::create(p);
778 if (wxis)
779 return new wxPyInputStream(wxis);
780 else
781 return NULL;
782 }
994141e6
RD
783
784SWIGSTATIC(PyObject*)
785SWIG_PyObj_FromChar(char c)
786{
787 return PyString_FromStringAndSize(&c,1);
788}
789
790
791SWIGSTATIC(PyObject* )
792SWIG_PyObj_FromUnsignedLong(unsigned long value)
793{
794 return (value > (unsigned long)(LONG_MAX)) ?
795 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
796}
797
798
799SWIGSTATIC(char)
800SWIG_PyObj_AsChar(PyObject *obj)
801{
802 char c = 0;
803 if (PyInt_Check(obj) || PyLong_Check(obj)) {
804 c = numeric_cast(char,
805 SWIG_PyObj_AsLongInRange(obj, "char",CHAR_MIN, CHAR_MAX));
806 } else {
807 char* cptr; size_t csize;
808 SWIG_PyObj_AsCharPtrAndSize(obj, 0, &cptr, &csize);
809 if (csize == 1) {
810 c = cptr[0];
811 } else {
812 PyErr_SetString(PyExc_TypeError, "a char is expected");
813 }
814 }
815 return c;
816}
817
d14a1e28
RD
818void wxOutputStream_write(wxOutputStream *self,PyObject *obj){
819 // We use only strings for the streams, not unicode
820 PyObject* str = PyObject_Str(obj);
821 if (! str) {
822 PyErr_SetString(PyExc_TypeError, "Unable to convert to string");
823 return;
824 }
825 self->Write(PyString_AS_STRING(str),
826 PyString_GET_SIZE(str));
827 Py_DECREF(str);
828 }
829
830#include "wx/wxPython/pyistream.h"
831
832
833class wxPyFileSystemHandler : public wxFileSystemHandler
834{
835public:
836 wxPyFileSystemHandler() : wxFileSystemHandler() {}
837
838 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen);
839 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile);
840 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst);
841 DEC_PYCALLBACK_STRING__pure(FindNext);
842
843 wxString GetProtocol(const wxString& location) {
844 return wxFileSystemHandler::GetProtocol(location);
845 }
846
847 wxString GetLeftLocation(const wxString& location) {
848 return wxFileSystemHandler::GetLeftLocation(location);
849 }
850
851 wxString GetAnchor(const wxString& location) {
852 return wxFileSystemHandler::GetAnchor(location);
853 }
854
855 wxString GetRightLocation(const wxString& location) {
856 return wxFileSystemHandler::GetRightLocation(location);
857 }
858
859 wxString GetMimeTypeFromExt(const wxString& location) {
860 return wxFileSystemHandler::GetMimeTypeFromExt(location);
861 }
862
863 PYPRIVATE;
864};
865
866
867IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, CanOpen);
868IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, OpenFile);
869IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler, wxFileSystemHandler, FindFirst);
870IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler, wxFileSystemHandler, FindNext);
871
872
994141e6
RD
873SWIGSTATIC(bool)
874SWIG_PyObj_AsBool(PyObject *obj)
875{
876 return PyObject_IsTrue(obj) ? true : false;
877}
878
879
d14a1e28
RD
880 wxString wxFileSystem_URLToFileName(const wxString& url) {
881 wxFileName fname = wxFileSystem::URLToFileName(url);
882 return fname.GetFullPath();
883 }
884
885
886 void __wxMemoryFSHandler_AddFile_wxImage(const wxString& filename,
887 wxImage& image,
888 long type) {
889 wxMemoryFSHandler::AddFile(filename, image, type);
890 }
891
892 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString& filename,
893 const wxBitmap& bitmap,
894 long type) {
895 wxMemoryFSHandler::AddFile(filename, bitmap, type);
896 }
897
898 void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
899 PyObject* data) {
900 wxMemoryFSHandler::AddFile(filename,
901 // TODO: Verify data type
902 (void*)PyString_AsString(data),
903 (size_t)PyString_Size(data));
904 }
905
906
907#include "wx/wxPython/pyistream.h"
908
994141e6
RD
909
910SWIGSTATIC(unsigned char)
911SWIG_PyObj_AsUnsignedChar(PyObject *obj)
912{
913 return numeric_cast(unsigned char,
914 SWIG_PyObj_AsUnsignedLongInRange(obj, "unsigned char", UCHAR_MAX));
915}
916
d14a1e28
RD
917wxImage *new_wxImage(int width,int height,bool clear){
918 if (width > 0 && height > 0)
919 return new wxImage(width, height, clear);
920 else
921 return new wxImage;
922 }
923wxImage *new_wxImage(wxBitmap const &bitmap){
924 return new wxImage(bitmap.ConvertToImage());
925 }
926wxImage *new_wxImage(int width,int height,unsigned char *data){
927 // Copy the source data so the wxImage can clean it up later
928 unsigned char* copy = (unsigned char*)malloc(width*height*3);
929 if (copy == NULL) {
930 PyErr_NoMemory();
931 return NULL;
932 }
933 memcpy(copy, data, width*height*3);
e811c8ce 934 return new wxImage(width, height, copy, False);
d14a1e28
RD
935 }
936PyObject *wxImage_GetData(wxImage *self){
937 unsigned char* data = self->GetData();
938 int len = self->GetWidth() * self->GetHeight() * 3;
939 PyObject* rv;
940 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len));
941 return rv;
942 }
943void wxImage_SetData(wxImage *self,PyObject *data){
944 unsigned char* dataPtr;
945
946 if (! PyString_Check(data)) {
947 PyErr_SetString(PyExc_TypeError, "Expected string object");
948 return /* NULL */ ;
949 }
950
951 size_t len = self->GetWidth() * self->GetHeight() * 3;
952 dataPtr = (unsigned char*) malloc(len);
953 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
954 self->SetData(dataPtr);
955 // wxImage takes ownership of dataPtr...
956 }
957PyObject *wxImage_GetDataBuffer(wxImage *self){
958 unsigned char* data = self->GetData();
959 int len = self->GetWidth() * self->GetHeight() * 3;
960 PyObject* rv;
961 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
962 return rv;
963 }
964void wxImage_SetDataBuffer(wxImage *self,PyObject *data){
965 unsigned char* buffer;
966 int size;
967
968 wxPyBeginBlockThreads();
969 if (!PyArg_Parse(data, "t#", &buffer, &size))
970 goto done;
971
972 if (size != self->GetWidth() * self->GetHeight() * 3) {
973 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
974 goto done;
975 }
976 self->SetData(buffer);
977 done:
978 wxPyEndBlockThreads();
979 }
980PyObject *wxImage_GetAlphaData(wxImage *self){
981 unsigned char* data = self->GetAlpha();
982 if (! data) {
983 RETURN_NONE();
984 } else {
985 int len = self->GetWidth() * self->GetHeight();
986 PyObject* rv;
987 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len) );
988 return rv;
989 }
990 }
991void wxImage_SetAlphaData(wxImage *self,PyObject *data){
992 unsigned char* dataPtr;
993
994 if (! PyString_Check(data)) {
995 PyErr_SetString(PyExc_TypeError, "Expected string object");
996 return /* NULL */ ;
997 }
998
999 size_t len = self->GetWidth() * self->GetHeight();
1000 dataPtr = (unsigned char*) malloc(len);
1001 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1002 self->SetAlpha(dataPtr);
1003 // wxImage takes ownership of dataPtr...
1004 }
1005PyObject *wxImage_GetAlphaBuffer(wxImage *self){
1006 unsigned char* data = self->GetAlpha();
1007 int len = self->GetWidth() * self->GetHeight();
1008 PyObject* rv;
1009 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1010 return rv;
1011 }
1012void wxImage_SetAlphaBuffer(wxImage *self,PyObject *data){
1013 unsigned char* buffer;
1014 int size;
1015
1016 wxPyBeginBlockThreads();
1017 if (!PyArg_Parse(data, "t#", &buffer, &size))
1018 goto done;
1019
1020 if (size != self->GetWidth() * self->GetHeight()) {
1021 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1022 goto done;
1023 }
1024 self->SetAlpha(buffer);
1025 done:
1026 wxPyEndBlockThreads();
1027 }
1028wxBitmap wxImage_ConvertToBitmap(wxImage *self){
1029 wxBitmap bitmap(*self);
1030 return bitmap;
1031 }
1032wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,unsigned char red,unsigned char green,unsigned char blue){
1033 wxImage mono = self->ConvertToMono( red, green, blue );
1034 wxBitmap bitmap( mono, 1 );
1035 return bitmap;
1036 }
1037 static const wxString wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT);
1038 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X);
1039 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y);
1040 static const wxString wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION);
1041 static const wxString wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT);
1042void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject *func){
1043 if (PyCallable_Check(func)) {
1044 self->Connect(id, lastId, eventType,
1045 (wxObjectEventFunction) &wxPyCallback::EventThunker,
1046 new wxPyCallback(func));
1047 }
1048 else if (func == Py_None) {
1049 self->Disconnect(id, lastId, eventType,
1050 (wxObjectEventFunction)
1051 &wxPyCallback::EventThunker);
1052 }
1053 else {
1054 PyErr_SetString(PyExc_TypeError, "Expected callable object or None.");
1055 }
1056 }
1057bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType){
1058 return self->Disconnect(id, lastId, eventType,
1059 (wxObjectEventFunction)
1060 &wxPyCallback::EventThunker);
1061 }
1062void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject *_self){
1063 if (_self && _self != Py_None) {
1064 self->SetClientObject(new wxPyOORClientData(_self));
1065 }
1066 else {
1067 wxPyOORClientData* data = (wxPyOORClientData*)self->GetClientObject();
1068 if (data) {
1069 self->SetClientObject(NULL); // This will delete it too
1070 }
1071 }
1072 }
1073int wxKeyEvent_GetUniChar(wxKeyEvent *self){
3b7224dc
RD
1074 #if wxUSE_UNICODE
1075 return self->m_uniChar;
1076 #else
d14a1e28 1077 return 0;
3b7224dc 1078 #endif
d14a1e28 1079 }
994141e6
RD
1080
1081#define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
1082
1083
1084SWIGSTATIC(unsigned int)
1085SWIG_PyObj_AsUnsignedInt(PyObject *obj)
1086{
1087 return numeric_cast(unsigned int,
1088 SWIG_PyObj_AsUnsignedLongInRange(obj, "unsigned int", UINT_MAX));
1089}
1090
d14a1e28
RD
1091void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){
1092 self->m_size = size;
1093 }
1094void wxMoveEvent_SetPosition(wxMoveEvent *self,wxPoint pos){
1095 self->m_pos = pos;
1096 }
1097PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
1098 int count = self->GetNumberOfFiles();
1099 wxString* files = self->GetFiles();
1100 PyObject* list = PyList_New(count);
1101
1102 if (!list) {
1103 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
1104 return NULL;
1105 }
1106
1107 for (int i=0; i<count; i++) {
1fc9204a 1108 PyList_SetItem(list, i, wx2PyString(files[i]));
d14a1e28
RD
1109 }
1110 return list;
1111 }
1112
1113
1114wxPyApp *new_wxPyApp(){
1115 wxPythonApp = new wxPyApp();
1116 return wxPythonApp;
1117 }
39f61e25 1118int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
d14a1e28
RD
1119
1120 void wxApp_CleanUp() {
1121 __wxPyCleanup();
1122 }
1123
1124
1125 wxPyApp* wxGetApp() {
1126 return (wxPyApp*)wxTheApp;
1127 }
1128
1129
1130
e811c8ce 1131 static const wxString wxPyPanelNameStr(wxPanelNameStr);
d14a1e28
RD
1132PyObject *wxWindow_GetChildren(wxWindow *self){
1133 wxWindowList& list = self->GetChildren();
1134 return wxPy_ConvertList(&list);
1135 }
1136bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keycode){
1137
1138
1139
e811c8ce 1140 return False;
d14a1e28
RD
1141
1142 }
1143bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId){
1144
1145
1146
e811c8ce 1147 return False;
d14a1e28
RD
1148
1149 }
1150long wxWindow_GetHandle(wxWindow *self){
1151 return wxPyGetWinHandle(self);
1152 }
1153
1154wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
1155 return wxWindow::FindWindowById(id, parent);
1156}
1157
1158wxWindow* wxFindWindowByName( const wxString& name,
1159 const wxWindow *parent = NULL ) {
1160 return wxWindow::FindWindowByName(name, parent);
1161}
1162
1163wxWindow* wxFindWindowByLabel( const wxString& label,
1164 const wxWindow *parent = NULL ) {
1165 return wxWindow::FindWindowByLabel(label, parent);
1166}
1167
1168
1169 wxWindow* wxWindow_FromHWND(unsigned long hWnd) {
1170#ifdef __WXMSW__
1171 wxWindow* win = new wxWindow;
1172 win->SetHWND(hWnd);
1173 win->SubclassWin(hWnd);
1174 return win;
1175#else
39f61e25 1176 wxPyRaiseNotImplemented();
d14a1e28
RD
1177 return NULL;
1178#endif
1179 }
1180
1181
1182IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
1183IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
1184IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
1185
1186IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
1187
1188void wxMenu_Destroy(wxMenu *self){ delete self; }
1189PyObject *wxMenu_GetMenuItems(wxMenu *self){
1190 wxMenuItemList& list = self->GetMenuItems();
1191 return wxPy_ConvertList(&list);
1192 }
1193int MenuItem_GetDefaultMarginWidth(){ return 0; }
b2dc1044 1194 static const wxString wxPyControlNameStr(wxControlNameStr);
d14a1e28
RD
1195int wxItemContainer_Append(wxItemContainer *self,wxString const &item,PyObject *clientData){
1196 if (clientData) {
1197 wxPyClientData* data = new wxPyClientData(clientData);
1198 return self->Append(item, data);
1199 } else
1200 return self->Append(item);
1201 }
1202int wxItemContainer_Insert(wxItemContainer *self,wxString const &item,int pos,PyObject *clientData){
1203 if (clientData) {
1204 wxPyClientData* data = new wxPyClientData(clientData);
1205 return self->Insert(item, pos, data);
1206 } else
1207 return self->Insert(item, pos);
1208 }
1209PyObject *wxItemContainer_GetClientData(wxItemContainer *self,int n){
1210 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
1211 if (data) {
1212 Py_INCREF(data->m_obj);
1213 return data->m_obj;
1214 } else {
1215 Py_INCREF(Py_None);
1216 return Py_None;
1217 }
1218 }
1219void wxItemContainer_SetClientData(wxItemContainer *self,int n,PyObject *clientData){
1220 wxPyClientData* data = new wxPyClientData(clientData);
1221 self->SetClientObject(n, data);
1222 }
1223
1224
994141e6
RD
1225
1226SWIGSTATIC(float)
1227SWIG_PyObj_AsFloat(PyObject *obj)
1228{
1229 return SWIG_PyObj_AsFloatConv(obj, SWIG_PyObj_AsDouble);
1230}
1231
d14a1e28
RD
1232PyObject *wxSizerItem_GetUserData(wxSizerItem *self){
1233 wxPyUserData* data = (wxPyUserData*)self->GetUserData();
1234 if (data) {
1235 Py_INCREF(data->m_obj);
1236 return data->m_obj;
1237 } else {
1238 Py_INCREF(Py_None);
1239 return Py_None;
1240 }
1241 }
1242
1243// Figure out the type of the sizer item
1244
1245struct wxPySizerItemInfo {
1246 wxPySizerItemInfo()
e811c8ce
RD
1247 : window(NULL), sizer(NULL), gotSize(False),
1248 size(wxDefaultSize), gotPos(False), pos(-1)
d14a1e28
RD
1249 {}
1250
1251 wxWindow* window;
1252 wxSizer* sizer;
1253 bool gotSize;
1254 wxSize size;
1255 bool gotPos;
1256 int pos;
1257};
1258
1259static wxPySizerItemInfo wxPySizerItemTypeHelper(PyObject* item, bool checkSize, bool checkIdx ) {
1260
1261 wxPySizerItemInfo info;
1262 wxSize size;
1263 wxSize* sizePtr = &size;
1264
1265 // Find out what the type of the item is
1266 // try wxWindow
1267 if ( ! wxPyConvertSwigPtr(item, (void**)&info.window, wxT("wxWindow")) ) {
1268 PyErr_Clear();
1269 info.window = NULL;
1270
1271 // try wxSizer
1272 if ( ! wxPyConvertSwigPtr(item, (void**)&info.sizer, wxT("wxSizer")) ) {
1273 PyErr_Clear();
1274 info.sizer = NULL;
1275
1276 // try wxSize or (w,h)
1277 if ( checkSize && wxSize_helper(item, &sizePtr)) {
1278 info.size = *sizePtr;
e811c8ce 1279 info.gotSize = True;
d14a1e28
RD
1280 }
1281
1282 // or a single int
1283 if (checkIdx && PyInt_Check(item)) {
1284 info.pos = PyInt_AsLong(item);
e811c8ce 1285 info.gotPos = True;
d14a1e28
RD
1286 }
1287 }
1288 }
1289
1290 if ( !(info.window || info.sizer || (checkSize && info.gotSize) || (checkIdx && info.gotPos)) ) {
1291 // no expected type, figure out what kind of error message to generate
1292 if ( !checkSize && !checkIdx )
1293 PyErr_SetString(PyExc_TypeError, "wxWindow or wxSizer expected for item");
1294 else if ( checkSize && !checkIdx )
1295 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1296 else if ( !checkSize && checkIdx)
1297 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer or int (position) expected for item");
1298 else
1299 // can this one happen?
1300 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1301 }
1302
1303 return info;
1304}
1305
1306void wxSizer__setOORInfo(wxSizer *self,PyObject *_self){
1307 self->SetClientObject(new wxPyOORClientData(_self));
1308 }
1309void wxSizer_Add(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1310
1311 wxPyUserData* data = NULL;
1312 wxPyBeginBlockThreads();
e811c8ce 1313 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1314 if ( userData && (info.window || info.sizer || info.gotSize) )
1315 data = new wxPyUserData(userData);
1316 wxPyEndBlockThreads();
1317
1318 // Now call the real Add method if a valid item type was found
1319 if ( info.window )
1320 self->Add(info.window, proportion, flag, border, data);
1321 else if ( info.sizer )
1322 self->Add(info.sizer, proportion, flag, border, data);
1323 else if (info.gotSize)
1324 self->Add(info.size.GetWidth(), info.size.GetHeight(),
1325 proportion, flag, border, data);
1326 }
1327void wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1328
1329 wxPyUserData* data = NULL;
1330 wxPyBeginBlockThreads();
e811c8ce 1331 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1332 if ( userData && (info.window || info.sizer || info.gotSize) )
1333 data = new wxPyUserData(userData);
1334 wxPyEndBlockThreads();
1335
1336 // Now call the real Insert method if a valid item type was found
1337 if ( info.window )
1338 self->Insert(before, info.window, proportion, flag, border, data);
1339 else if ( info.sizer )
1340 self->Insert(before, info.sizer, proportion, flag, border, data);
1341 else if (info.gotSize)
1342 self->Insert(before, info.size.GetWidth(), info.size.GetHeight(),
1343 proportion, flag, border, data);
1344 }
1345void wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1346
1347 wxPyUserData* data = NULL;
1348 wxPyBeginBlockThreads();
e811c8ce 1349 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1350 if ( userData && (info.window || info.sizer || info.gotSize) )
1351 data = new wxPyUserData(userData);
1352 wxPyEndBlockThreads();
1353
1354 // Now call the real Prepend method if a valid item type was found
1355 if ( info.window )
1356 self->Prepend(info.window, proportion, flag, border, data);
1357 else if ( info.sizer )
1358 self->Prepend(info.sizer, proportion, flag, border, data);
1359 else if (info.gotSize)
1360 self->Prepend(info.size.GetWidth(), info.size.GetHeight(),
1361 proportion, flag, border, data);
1362 }
1363bool wxSizer_Remove(wxSizer *self,PyObject *item){
1364 wxPyBeginBlockThreads();
e811c8ce 1365 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
d14a1e28
RD
1366 wxPyEndBlockThreads();
1367 if ( info.window )
1368 return self->Remove(info.window);
1369 else if ( info.sizer )
1370 return self->Remove(info.sizer);
1371 else if ( info.gotPos )
1372 return self->Remove(info.pos);
1373 else
e811c8ce 1374 return False;
d14a1e28 1375 }
e811c8ce 1376void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){
d14a1e28 1377 wxPyBeginBlockThreads();
e811c8ce 1378 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
d14a1e28
RD
1379 wxPyEndBlockThreads();
1380 if ( info.window )
1381 self->SetItemMinSize(info.window, size);
1382 else if ( info.sizer )
1383 self->SetItemMinSize(info.sizer, size);
1384 else if ( info.gotPos )
1385 self->SetItemMinSize(info.pos, size);
1386 }
1387PyObject *wxSizer_GetChildren(wxSizer *self){
1388 wxSizerItemList& list = self->GetChildren();
1389 return wxPy_ConvertList(&list);
1390 }
1391void wxSizer_Show(wxSizer *self,PyObject *item,bool show){
e811c8ce 1392 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d14a1e28
RD
1393 if ( info.window )
1394 self->Show(info.window, show);
1395 else if ( info.sizer )
1396 self->Show(info.sizer, show);
1397 }
1398void wxSizer_Hide(wxSizer *self,PyObject *item){
e811c8ce 1399 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d14a1e28
RD
1400 if ( info.window )
1401 self->Hide(info.window);
1402 else if ( info.sizer )
1403 self->Hide(info.sizer);
1404 }
1405bool wxSizer_IsShown(wxSizer *self,PyObject *item){
e811c8ce 1406 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d14a1e28
RD
1407 if ( info.window )
1408 return self->IsShown(info.window);
1409 else if ( info.sizer )
1410 return self->IsShown(info.sizer);
1411 else
e811c8ce 1412 return False;
d14a1e28
RD
1413 }
1414
1415// See pyclasses.h
1416IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
1417IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
1418IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
1419
1420
1421
1422
1423bool wxGBPosition_helper(PyObject* source, wxGBPosition** obj)
1424{
1425 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBPosition"));
1426}
1427
1428bool wxGBSpan_helper(PyObject* source, wxGBSpan** obj)
1429{
1430 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBSpan"));
1431}
1432
1433
e811c8ce
RD
1434void wxGBPosition_Set(wxGBPosition *self,int row,int col){
1435 self->SetRow(row);
1436 self->SetCol(col);
1437 }
1438PyObject *wxGBPosition_Get(wxGBPosition *self){
d14a1e28
RD
1439 wxPyBeginBlockThreads();
1440 PyObject* tup = PyTuple_New(2);
1441 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1442 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
1443 wxPyEndBlockThreads();
1444 return tup;
1445 }
e811c8ce
RD
1446void wxGBSpan_Set(wxGBSpan *self,int rowspan,int colspan){
1447 self->SetRowspan(rowspan);
1448 self->SetColspan(colspan);
1449 }
1450PyObject *wxGBSpan_Get(wxGBSpan *self){
d14a1e28
RD
1451 wxPyBeginBlockThreads();
1452 PyObject* tup = PyTuple_New(2);
1453 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRowspan()));
1454 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetColspan()));
1455 wxPyEndBlockThreads();
1456 return tup;
1457 }
1458bool wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1459
1460 wxPyUserData* data = NULL;
1461 wxPyBeginBlockThreads();
e811c8ce 1462 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1463 if ( userData && (info.window || info.sizer || info.gotSize) )
1464 data = new wxPyUserData(userData);
1465 wxPyEndBlockThreads();
1466
1467 // Now call the real Add method if a valid item type was found
1468 if ( info.window )
1469 return self->Add(info.window, pos, span, flag, border, data);
1470 else if ( info.sizer )
1471 return self->Add(info.sizer, pos, span, flag, border, data);
1472 else if (info.gotSize)
1473 return self->Add(info.size.GetWidth(), info.size.GetHeight(),
1474 pos, span, flag, border, data);
e811c8ce 1475 return False;
d14a1e28
RD
1476 }
1477
1478
1479#ifdef __cplusplus
1480extern "C" {
1481#endif
196addbf
RD
1482static int _wrap_EmptyString_set(PyObject *_val) {
1483 PyErr_SetString(PyExc_TypeError,"Variable EmptyString is read-only.");
1484 return 1;
1485}
1486
1487
1488static PyObject *_wrap_EmptyString_get() {
1489 PyObject *pyobj;
1490
1491 {
1492#if wxUSE_UNICODE
1493 pyobj = PyUnicode_FromWideChar((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1494#else
1495 pyobj = PyString_FromStringAndSize((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1496#endif
1497 }
1498 return pyobj;
1499}
1500
1501
d14a1e28
RD
1502static PyObject *_wrap_Object_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
1503 PyObject *resultobj;
1504 wxObject *arg1 = (wxObject *) 0 ;
1505 wxString result;
1506 PyObject * obj0 = 0 ;
1507 char *kwnames[] = {
1508 (char *) "self", NULL
1509 };
1510
1511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_GetClassName",kwnames,&obj0)) goto fail;
1512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1513 {
1514 PyThreadState* __tstate = wxPyBeginAllowThreads();
1515 result = wxObject_GetClassName(arg1);
1516
1517 wxPyEndAllowThreads(__tstate);
1518 if (PyErr_Occurred()) SWIG_fail;
1519 }
1520 {
1521#if wxUSE_UNICODE
1522 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1523#else
1524 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1525#endif
1526 }
1527 return resultobj;
1528 fail:
1529 return NULL;
1530}
1531
1532
1533static PyObject *_wrap_Object_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
1534 PyObject *resultobj;
1535 wxObject *arg1 = (wxObject *) 0 ;
1536 PyObject * obj0 = 0 ;
1537 char *kwnames[] = {
1538 (char *) "self", NULL
1539 };
1540
1541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_Destroy",kwnames,&obj0)) goto fail;
1542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1543 {
1544 PyThreadState* __tstate = wxPyBeginAllowThreads();
1545 wxObject_Destroy(arg1);
1546
1547 wxPyEndAllowThreads(__tstate);
1548 if (PyErr_Occurred()) SWIG_fail;
1549 }
1550 Py_INCREF(Py_None); resultobj = Py_None;
1551 return resultobj;
1552 fail:
1553 return NULL;
1554}
1555
1556
1557static PyObject * Object_swigregister(PyObject *self, PyObject *args) {
1558 PyObject *obj;
1559 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1560 SWIG_TypeClientData(SWIGTYPE_p_wxObject, obj);
1561 Py_INCREF(obj);
1562 return Py_BuildValue((char *)"");
1563}
1564static PyObject *_wrap_Size_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1565 PyObject *resultobj;
1566 wxSize *arg1 = (wxSize *) 0 ;
1567 int arg2 ;
1568 PyObject * obj0 = 0 ;
994141e6 1569 PyObject * obj1 = 0 ;
d14a1e28
RD
1570 char *kwnames[] = {
1571 (char *) "self",(char *) "x", NULL
1572 };
1573
994141e6 1574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_width_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 1575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
1576 {
1577 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1578 if (PyErr_Occurred()) SWIG_fail;
1579 }
d14a1e28
RD
1580 if (arg1) (arg1)->x = arg2;
1581
1582 Py_INCREF(Py_None); resultobj = Py_None;
1583 return resultobj;
1584 fail:
1585 return NULL;
1586}
1587
1588
1589static PyObject *_wrap_Size_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1590 PyObject *resultobj;
1591 wxSize *arg1 = (wxSize *) 0 ;
1592 int result;
1593 PyObject * obj0 = 0 ;
1594 char *kwnames[] = {
1595 (char *) "self", NULL
1596 };
1597
1598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_width_get",kwnames,&obj0)) goto fail;
1599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1600 result = (int) ((arg1)->x);
1601
994141e6 1602 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
1603 return resultobj;
1604 fail:
1605 return NULL;
1606}
1607
1608
1609static PyObject *_wrap_Size_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1610 PyObject *resultobj;
1611 wxSize *arg1 = (wxSize *) 0 ;
1612 int arg2 ;
1613 PyObject * obj0 = 0 ;
994141e6 1614 PyObject * obj1 = 0 ;
d14a1e28
RD
1615 char *kwnames[] = {
1616 (char *) "self",(char *) "y", NULL
1617 };
1618
994141e6 1619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_height_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 1620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
1621 {
1622 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1623 if (PyErr_Occurred()) SWIG_fail;
1624 }
d14a1e28
RD
1625 if (arg1) (arg1)->y = arg2;
1626
1627 Py_INCREF(Py_None); resultobj = Py_None;
1628 return resultobj;
1629 fail:
1630 return NULL;
1631}
1632
1633
1634static PyObject *_wrap_Size_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1635 PyObject *resultobj;
1636 wxSize *arg1 = (wxSize *) 0 ;
1637 int result;
1638 PyObject * obj0 = 0 ;
1639 char *kwnames[] = {
1640 (char *) "self", NULL
1641 };
1642
1643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_height_get",kwnames,&obj0)) goto fail;
1644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1645 result = (int) ((arg1)->y);
1646
994141e6 1647 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
1648 return resultobj;
1649 fail:
1650 return NULL;
1651}
1652
1653
1654static PyObject *_wrap_new_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
1655 PyObject *resultobj;
1656 int arg1 = (int) 0 ;
1657 int arg2 = (int) 0 ;
1658 wxSize *result;
994141e6
RD
1659 PyObject * obj0 = 0 ;
1660 PyObject * obj1 = 0 ;
d14a1e28
RD
1661 char *kwnames[] = {
1662 (char *) "w",(char *) "h", NULL
1663 };
1664
994141e6
RD
1665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Size",kwnames,&obj0,&obj1)) goto fail;
1666 if (obj0) {
1667 {
1668 arg1 = (int) SWIG_PyObj_AsInt(obj0);
1669 if (PyErr_Occurred()) SWIG_fail;
1670 }
1671 }
1672 if (obj1) {
1673 {
1674 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1675 if (PyErr_Occurred()) SWIG_fail;
1676 }
1677 }
d14a1e28
RD
1678 {
1679 PyThreadState* __tstate = wxPyBeginAllowThreads();
1680 result = (wxSize *)new wxSize(arg1,arg2);
1681
1682 wxPyEndAllowThreads(__tstate);
1683 if (PyErr_Occurred()) SWIG_fail;
1684 }
1685 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 1);
1686 return resultobj;
1687 fail:
1688 return NULL;
1689}
1690
1691
1692static PyObject *_wrap_delete_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
1693 PyObject *resultobj;
1694 wxSize *arg1 = (wxSize *) 0 ;
1695 PyObject * obj0 = 0 ;
1696 char *kwnames[] = {
1697 (char *) "self", NULL
1698 };
1699
1700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Size",kwnames,&obj0)) goto fail;
1701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1702 {
1703 PyThreadState* __tstate = wxPyBeginAllowThreads();
1704 delete arg1;
1705
1706 wxPyEndAllowThreads(__tstate);
1707 if (PyErr_Occurred()) SWIG_fail;
1708 }
1709 Py_INCREF(Py_None); resultobj = Py_None;
1710 return resultobj;
1711 fail:
1712 return NULL;
1713}
1714
1715
1716static PyObject *_wrap_Size___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
1717 PyObject *resultobj;
1718 wxSize *arg1 = (wxSize *) 0 ;
1719 wxSize *arg2 = 0 ;
1720 bool result;
1721 wxSize temp2 ;
1722 PyObject * obj0 = 0 ;
1723 PyObject * obj1 = 0 ;
1724 char *kwnames[] = {
1725 (char *) "self",(char *) "sz", NULL
1726 };
1727
1728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___eq__",kwnames,&obj0,&obj1)) goto fail;
1729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1730 {
1731 arg2 = &temp2;
1732 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1733 }
1734 {
1735 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 1736 result = (bool)(arg1)->operator ==((wxSize const &)*arg2);
d14a1e28
RD
1737
1738 wxPyEndAllowThreads(__tstate);
1739 if (PyErr_Occurred()) SWIG_fail;
1740 }
4d5c3d91 1741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1742 return resultobj;
1743 fail:
1744 return NULL;
1745}
1746
1747
1748static PyObject *_wrap_Size___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
1749 PyObject *resultobj;
1750 wxSize *arg1 = (wxSize *) 0 ;
1751 wxSize *arg2 = 0 ;
1752 bool result;
1753 wxSize temp2 ;
1754 PyObject * obj0 = 0 ;
1755 PyObject * obj1 = 0 ;
1756 char *kwnames[] = {
1757 (char *) "self",(char *) "sz", NULL
1758 };
1759
1760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___ne__",kwnames,&obj0,&obj1)) goto fail;
1761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1762 {
1763 arg2 = &temp2;
1764 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1765 }
1766 {
1767 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 1768 result = (bool)(arg1)->operator !=((wxSize const &)*arg2);
d14a1e28
RD
1769
1770 wxPyEndAllowThreads(__tstate);
1771 if (PyErr_Occurred()) SWIG_fail;
1772 }
4d5c3d91 1773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1774 return resultobj;
1775 fail:
1776 return NULL;
1777}
1778
1779
1780static PyObject *_wrap_Size___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
1781 PyObject *resultobj;
1782 wxSize *arg1 = (wxSize *) 0 ;
1783 wxSize *arg2 = 0 ;
1784 wxSize result;
1785 wxSize temp2 ;
1786 PyObject * obj0 = 0 ;
1787 PyObject * obj1 = 0 ;
1788 char *kwnames[] = {
1789 (char *) "self",(char *) "sz", NULL
1790 };
1791
1792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___add__",kwnames,&obj0,&obj1)) goto fail;
1793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1794 {
1795 arg2 = &temp2;
1796 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1797 }
1798 {
1799 PyThreadState* __tstate = wxPyBeginAllowThreads();
1800 result = (arg1)->operator +((wxSize const &)*arg2);
1801
1802 wxPyEndAllowThreads(__tstate);
1803 if (PyErr_Occurred()) SWIG_fail;
1804 }
1805 {
1806 wxSize * resultptr;
1807 resultptr = new wxSize((wxSize &) result);
1808 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1809 }
1810 return resultobj;
1811 fail:
1812 return NULL;
1813}
1814
1815
1816static PyObject *_wrap_Size___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
1817 PyObject *resultobj;
1818 wxSize *arg1 = (wxSize *) 0 ;
1819 wxSize *arg2 = 0 ;
1820 wxSize result;
1821 wxSize temp2 ;
1822 PyObject * obj0 = 0 ;
1823 PyObject * obj1 = 0 ;
1824 char *kwnames[] = {
1825 (char *) "self",(char *) "sz", NULL
1826 };
1827
1828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___sub__",kwnames,&obj0,&obj1)) goto fail;
1829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1830 {
1831 arg2 = &temp2;
1832 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1833 }
1834 {
1835 PyThreadState* __tstate = wxPyBeginAllowThreads();
1836 result = (arg1)->operator -((wxSize const &)*arg2);
1837
1838 wxPyEndAllowThreads(__tstate);
1839 if (PyErr_Occurred()) SWIG_fail;
1840 }
1841 {
1842 wxSize * resultptr;
1843 resultptr = new wxSize((wxSize &) result);
1844 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1845 }
1846 return resultobj;
1847 fail:
1848 return NULL;
1849}
1850
1851
1852static PyObject *_wrap_Size_IncTo(PyObject *self, PyObject *args, PyObject *kwargs) {
1853 PyObject *resultobj;
1854 wxSize *arg1 = (wxSize *) 0 ;
1855 wxSize *arg2 = 0 ;
1856 wxSize temp2 ;
1857 PyObject * obj0 = 0 ;
1858 PyObject * obj1 = 0 ;
1859 char *kwnames[] = {
1860 (char *) "self",(char *) "sz", NULL
1861 };
1862
1863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_IncTo",kwnames,&obj0,&obj1)) goto fail;
1864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1865 {
1866 arg2 = &temp2;
1867 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1868 }
1869 {
1870 PyThreadState* __tstate = wxPyBeginAllowThreads();
1871 (arg1)->IncTo((wxSize const &)*arg2);
1872
1873 wxPyEndAllowThreads(__tstate);
1874 if (PyErr_Occurred()) SWIG_fail;
1875 }
1876 Py_INCREF(Py_None); resultobj = Py_None;
1877 return resultobj;
1878 fail:
1879 return NULL;
1880}
1881
1882
1883static PyObject *_wrap_Size_DecTo(PyObject *self, PyObject *args, PyObject *kwargs) {
1884 PyObject *resultobj;
1885 wxSize *arg1 = (wxSize *) 0 ;
1886 wxSize *arg2 = 0 ;
1887 wxSize temp2 ;
1888 PyObject * obj0 = 0 ;
1889 PyObject * obj1 = 0 ;
1890 char *kwnames[] = {
1891 (char *) "self",(char *) "sz", NULL
1892 };
1893
1894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_DecTo",kwnames,&obj0,&obj1)) goto fail;
1895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1896 {
1897 arg2 = &temp2;
1898 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1899 }
1900 {
1901 PyThreadState* __tstate = wxPyBeginAllowThreads();
1902 (arg1)->DecTo((wxSize const &)*arg2);
1903
1904 wxPyEndAllowThreads(__tstate);
1905 if (PyErr_Occurred()) SWIG_fail;
1906 }
1907 Py_INCREF(Py_None); resultobj = Py_None;
1908 return resultobj;
1909 fail:
1910 return NULL;
1911}
1912
1913
1914static PyObject *_wrap_Size_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
1915 PyObject *resultobj;
1916 wxSize *arg1 = (wxSize *) 0 ;
1917 int arg2 ;
1918 int arg3 ;
1919 PyObject * obj0 = 0 ;
994141e6
RD
1920 PyObject * obj1 = 0 ;
1921 PyObject * obj2 = 0 ;
d14a1e28 1922 char *kwnames[] = {
e811c8ce 1923 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
1924 };
1925
994141e6 1926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Size_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 1927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
1928 {
1929 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1930 if (PyErr_Occurred()) SWIG_fail;
1931 }
1932 {
1933 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1934 if (PyErr_Occurred()) SWIG_fail;
1935 }
d14a1e28
RD
1936 {
1937 PyThreadState* __tstate = wxPyBeginAllowThreads();
1938 (arg1)->Set(arg2,arg3);
1939
1940 wxPyEndAllowThreads(__tstate);
1941 if (PyErr_Occurred()) SWIG_fail;
1942 }
1943 Py_INCREF(Py_None); resultobj = Py_None;
1944 return resultobj;
1945 fail:
1946 return NULL;
1947}
1948
1949
1950static PyObject *_wrap_Size_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1951 PyObject *resultobj;
1952 wxSize *arg1 = (wxSize *) 0 ;
1953 int arg2 ;
1954 PyObject * obj0 = 0 ;
994141e6 1955 PyObject * obj1 = 0 ;
d14a1e28
RD
1956 char *kwnames[] = {
1957 (char *) "self",(char *) "w", NULL
1958 };
1959
994141e6 1960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetWidth",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 1961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
1962 {
1963 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1964 if (PyErr_Occurred()) SWIG_fail;
1965 }
d14a1e28
RD
1966 {
1967 PyThreadState* __tstate = wxPyBeginAllowThreads();
1968 (arg1)->SetWidth(arg2);
1969
1970 wxPyEndAllowThreads(__tstate);
1971 if (PyErr_Occurred()) SWIG_fail;
1972 }
1973 Py_INCREF(Py_None); resultobj = Py_None;
1974 return resultobj;
1975 fail:
1976 return NULL;
1977}
1978
1979
1980static PyObject *_wrap_Size_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1981 PyObject *resultobj;
1982 wxSize *arg1 = (wxSize *) 0 ;
1983 int arg2 ;
1984 PyObject * obj0 = 0 ;
994141e6 1985 PyObject * obj1 = 0 ;
d14a1e28
RD
1986 char *kwnames[] = {
1987 (char *) "self",(char *) "h", NULL
1988 };
1989
994141e6 1990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetHeight",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 1991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
1992 {
1993 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1994 if (PyErr_Occurred()) SWIG_fail;
1995 }
d14a1e28
RD
1996 {
1997 PyThreadState* __tstate = wxPyBeginAllowThreads();
1998 (arg1)->SetHeight(arg2);
1999
2000 wxPyEndAllowThreads(__tstate);
2001 if (PyErr_Occurred()) SWIG_fail;
2002 }
2003 Py_INCREF(Py_None); resultobj = Py_None;
2004 return resultobj;
2005 fail:
2006 return NULL;
2007}
2008
2009
2010static PyObject *_wrap_Size_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2011 PyObject *resultobj;
2012 wxSize *arg1 = (wxSize *) 0 ;
2013 int result;
2014 PyObject * obj0 = 0 ;
2015 char *kwnames[] = {
2016 (char *) "self", NULL
2017 };
2018
2019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetWidth",kwnames,&obj0)) goto fail;
2020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2021 {
2022 PyThreadState* __tstate = wxPyBeginAllowThreads();
2023 result = (int)((wxSize const *)arg1)->GetWidth();
2024
2025 wxPyEndAllowThreads(__tstate);
2026 if (PyErr_Occurred()) SWIG_fail;
2027 }
994141e6 2028 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
2029 return resultobj;
2030 fail:
2031 return NULL;
2032}
2033
2034
2035static PyObject *_wrap_Size_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2036 PyObject *resultobj;
2037 wxSize *arg1 = (wxSize *) 0 ;
2038 int result;
2039 PyObject * obj0 = 0 ;
2040 char *kwnames[] = {
2041 (char *) "self", NULL
2042 };
2043
2044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetHeight",kwnames,&obj0)) goto fail;
2045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2046 {
2047 PyThreadState* __tstate = wxPyBeginAllowThreads();
2048 result = (int)((wxSize const *)arg1)->GetHeight();
2049
2050 wxPyEndAllowThreads(__tstate);
2051 if (PyErr_Occurred()) SWIG_fail;
2052 }
994141e6 2053 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
2054 return resultobj;
2055 fail:
2056 return NULL;
2057}
2058
2059
e811c8ce 2060static PyObject *_wrap_Size_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2061 PyObject *resultobj;
2062 wxSize *arg1 = (wxSize *) 0 ;
2063 PyObject *result;
2064 PyObject * obj0 = 0 ;
2065 char *kwnames[] = {
2066 (char *) "self", NULL
2067 };
2068
e811c8ce 2069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
2070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2071 {
2072 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2073 result = (PyObject *)wxSize_Get(arg1);
d14a1e28
RD
2074
2075 wxPyEndAllowThreads(__tstate);
2076 if (PyErr_Occurred()) SWIG_fail;
2077 }
2078 resultobj = result;
2079 return resultobj;
2080 fail:
2081 return NULL;
2082}
2083
2084
2085static PyObject * Size_swigregister(PyObject *self, PyObject *args) {
2086 PyObject *obj;
2087 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2088 SWIG_TypeClientData(SWIGTYPE_p_wxSize, obj);
2089 Py_INCREF(obj);
2090 return Py_BuildValue((char *)"");
2091}
2092static PyObject *_wrap_RealPoint_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2093 PyObject *resultobj;
2094 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2095 double arg2 ;
2096 PyObject * obj0 = 0 ;
994141e6 2097 PyObject * obj1 = 0 ;
d14a1e28
RD
2098 char *kwnames[] = {
2099 (char *) "self",(char *) "x", NULL
2100 };
2101
994141e6 2102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_x_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 2103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
2104 {
2105 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
2106 if (PyErr_Occurred()) SWIG_fail;
2107 }
d14a1e28
RD
2108 if (arg1) (arg1)->x = arg2;
2109
2110 Py_INCREF(Py_None); resultobj = Py_None;
2111 return resultobj;
2112 fail:
2113 return NULL;
2114}
2115
2116
2117static PyObject *_wrap_RealPoint_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2118 PyObject *resultobj;
2119 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2120 double result;
2121 PyObject * obj0 = 0 ;
2122 char *kwnames[] = {
2123 (char *) "self", NULL
2124 };
2125
2126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_x_get",kwnames,&obj0)) goto fail;
2127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2128 result = (double) ((arg1)->x);
2129
994141e6 2130 resultobj = SWIG_PyObj_FromDouble((double)result);
d14a1e28
RD
2131 return resultobj;
2132 fail:
2133 return NULL;
2134}
2135
2136
2137static PyObject *_wrap_RealPoint_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2138 PyObject *resultobj;
2139 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2140 double arg2 ;
2141 PyObject * obj0 = 0 ;
994141e6 2142 PyObject * obj1 = 0 ;
d14a1e28
RD
2143 char *kwnames[] = {
2144 (char *) "self",(char *) "y", NULL
2145 };
2146
994141e6 2147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_y_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 2148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
2149 {
2150 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
2151 if (PyErr_Occurred()) SWIG_fail;
2152 }
d14a1e28
RD
2153 if (arg1) (arg1)->y = arg2;
2154
2155 Py_INCREF(Py_None); resultobj = Py_None;
2156 return resultobj;
2157 fail:
2158 return NULL;
2159}
2160
2161
2162static PyObject *_wrap_RealPoint_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2163 PyObject *resultobj;
2164 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2165 double result;
2166 PyObject * obj0 = 0 ;
2167 char *kwnames[] = {
2168 (char *) "self", NULL
2169 };
2170
2171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_y_get",kwnames,&obj0)) goto fail;
2172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2173 result = (double) ((arg1)->y);
2174
994141e6 2175 resultobj = SWIG_PyObj_FromDouble((double)result);
d14a1e28
RD
2176 return resultobj;
2177 fail:
2178 return NULL;
2179}
2180
2181
2182static PyObject *_wrap_new_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2183 PyObject *resultobj;
2184 double arg1 = (double) 0.0 ;
2185 double arg2 = (double) 0.0 ;
2186 wxRealPoint *result;
994141e6
RD
2187 PyObject * obj0 = 0 ;
2188 PyObject * obj1 = 0 ;
d14a1e28
RD
2189 char *kwnames[] = {
2190 (char *) "x",(char *) "y", NULL
2191 };
2192
994141e6
RD
2193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RealPoint",kwnames,&obj0,&obj1)) goto fail;
2194 if (obj0) {
2195 {
2196 arg1 = (double) SWIG_PyObj_AsDouble(obj0);
2197 if (PyErr_Occurred()) SWIG_fail;
2198 }
2199 }
2200 if (obj1) {
2201 {
2202 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
2203 if (PyErr_Occurred()) SWIG_fail;
2204 }
2205 }
d14a1e28
RD
2206 {
2207 PyThreadState* __tstate = wxPyBeginAllowThreads();
2208 result = (wxRealPoint *)new wxRealPoint(arg1,arg2);
2209
2210 wxPyEndAllowThreads(__tstate);
2211 if (PyErr_Occurred()) SWIG_fail;
2212 }
2213 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRealPoint, 1);
2214 return resultobj;
2215 fail:
2216 return NULL;
2217}
2218
2219
2220static PyObject *_wrap_delete_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2221 PyObject *resultobj;
2222 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2223 PyObject * obj0 = 0 ;
2224 char *kwnames[] = {
2225 (char *) "self", NULL
2226 };
2227
2228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RealPoint",kwnames,&obj0)) goto fail;
2229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2230 {
2231 PyThreadState* __tstate = wxPyBeginAllowThreads();
2232 delete arg1;
2233
2234 wxPyEndAllowThreads(__tstate);
2235 if (PyErr_Occurred()) SWIG_fail;
2236 }
2237 Py_INCREF(Py_None); resultobj = Py_None;
2238 return resultobj;
2239 fail:
2240 return NULL;
2241}
2242
2243
e811c8ce 2244static PyObject *_wrap_RealPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2245 PyObject *resultobj;
2246 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2247 wxRealPoint *arg2 = 0 ;
e811c8ce 2248 bool result;
d14a1e28
RD
2249 wxRealPoint temp2 ;
2250 PyObject * obj0 = 0 ;
2251 PyObject * obj1 = 0 ;
2252 char *kwnames[] = {
2253 (char *) "self",(char *) "pt", NULL
2254 };
2255
e811c8ce 2256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
2257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2258 {
2259 arg2 = &temp2;
2260 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2261 }
2262 {
2263 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2264 result = (bool)(arg1)->operator ==((wxRealPoint const &)*arg2);
d14a1e28
RD
2265
2266 wxPyEndAllowThreads(__tstate);
2267 if (PyErr_Occurred()) SWIG_fail;
2268 }
4d5c3d91 2269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2270 return resultobj;
2271 fail:
2272 return NULL;
2273}
2274
2275
e811c8ce 2276static PyObject *_wrap_RealPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2277 PyObject *resultobj;
2278 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2279 wxRealPoint *arg2 = 0 ;
e811c8ce 2280 bool result;
d14a1e28
RD
2281 wxRealPoint temp2 ;
2282 PyObject * obj0 = 0 ;
2283 PyObject * obj1 = 0 ;
2284 char *kwnames[] = {
2285 (char *) "self",(char *) "pt", NULL
2286 };
2287
e811c8ce 2288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
2289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2290 {
2291 arg2 = &temp2;
2292 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2293 }
2294 {
2295 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2296 result = (bool)(arg1)->operator !=((wxRealPoint const &)*arg2);
d14a1e28
RD
2297
2298 wxPyEndAllowThreads(__tstate);
2299 if (PyErr_Occurred()) SWIG_fail;
2300 }
4d5c3d91 2301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2302 return resultobj;
2303 fail:
2304 return NULL;
2305}
2306
2307
e811c8ce 2308static PyObject *_wrap_RealPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2309 PyObject *resultobj;
2310 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2311 wxRealPoint *arg2 = 0 ;
e811c8ce 2312 wxRealPoint result;
d14a1e28
RD
2313 wxRealPoint temp2 ;
2314 PyObject * obj0 = 0 ;
2315 PyObject * obj1 = 0 ;
2316 char *kwnames[] = {
2317 (char *) "self",(char *) "pt", NULL
2318 };
2319
e811c8ce 2320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
2321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2322 {
2323 arg2 = &temp2;
2324 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2325 }
2326 {
2327 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2328 result = (arg1)->operator +((wxRealPoint const &)*arg2);
d14a1e28
RD
2329
2330 wxPyEndAllowThreads(__tstate);
2331 if (PyErr_Occurred()) SWIG_fail;
2332 }
e811c8ce
RD
2333 {
2334 wxRealPoint * resultptr;
2335 resultptr = new wxRealPoint((wxRealPoint &) result);
2336 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
2337 }
d14a1e28
RD
2338 return resultobj;
2339 fail:
2340 return NULL;
2341}
2342
2343
e811c8ce 2344static PyObject *_wrap_RealPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2345 PyObject *resultobj;
2346 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2347 wxRealPoint *arg2 = 0 ;
e811c8ce 2348 wxRealPoint result;
d14a1e28
RD
2349 wxRealPoint temp2 ;
2350 PyObject * obj0 = 0 ;
2351 PyObject * obj1 = 0 ;
2352 char *kwnames[] = {
2353 (char *) "self",(char *) "pt", NULL
2354 };
2355
e811c8ce 2356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
2357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2358 {
2359 arg2 = &temp2;
2360 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2361 }
2362 {
2363 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2364 result = (arg1)->operator -((wxRealPoint const &)*arg2);
d14a1e28
RD
2365
2366 wxPyEndAllowThreads(__tstate);
2367 if (PyErr_Occurred()) SWIG_fail;
2368 }
e811c8ce
RD
2369 {
2370 wxRealPoint * resultptr;
2371 resultptr = new wxRealPoint((wxRealPoint &) result);
2372 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
2373 }
d14a1e28
RD
2374 return resultobj;
2375 fail:
2376 return NULL;
2377}
2378
2379
2380static PyObject *_wrap_RealPoint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2381 PyObject *resultobj;
2382 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2383 double arg2 ;
2384 double arg3 ;
2385 PyObject * obj0 = 0 ;
994141e6
RD
2386 PyObject * obj1 = 0 ;
2387 PyObject * obj2 = 0 ;
d14a1e28
RD
2388 char *kwnames[] = {
2389 (char *) "self",(char *) "x",(char *) "y", NULL
2390 };
2391
994141e6 2392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RealPoint_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 2393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
2394 {
2395 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
2396 if (PyErr_Occurred()) SWIG_fail;
2397 }
2398 {
2399 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
2400 if (PyErr_Occurred()) SWIG_fail;
2401 }
d14a1e28
RD
2402 {
2403 PyThreadState* __tstate = wxPyBeginAllowThreads();
2404 wxRealPoint_Set(arg1,arg2,arg3);
2405
2406 wxPyEndAllowThreads(__tstate);
2407 if (PyErr_Occurred()) SWIG_fail;
2408 }
2409 Py_INCREF(Py_None); resultobj = Py_None;
2410 return resultobj;
2411 fail:
2412 return NULL;
2413}
2414
2415
e811c8ce 2416static PyObject *_wrap_RealPoint_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2417 PyObject *resultobj;
2418 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2419 PyObject *result;
2420 PyObject * obj0 = 0 ;
2421 char *kwnames[] = {
2422 (char *) "self", NULL
2423 };
2424
e811c8ce 2425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
2426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2427 {
2428 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2429 result = (PyObject *)wxRealPoint_Get(arg1);
d14a1e28
RD
2430
2431 wxPyEndAllowThreads(__tstate);
2432 if (PyErr_Occurred()) SWIG_fail;
2433 }
2434 resultobj = result;
2435 return resultobj;
2436 fail:
2437 return NULL;
2438}
2439
2440
2441static PyObject * RealPoint_swigregister(PyObject *self, PyObject *args) {
2442 PyObject *obj;
2443 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2444 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint, obj);
2445 Py_INCREF(obj);
2446 return Py_BuildValue((char *)"");
2447}
2448static PyObject *_wrap_Point_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2449 PyObject *resultobj;
2450 wxPoint *arg1 = (wxPoint *) 0 ;
2451 int arg2 ;
2452 PyObject * obj0 = 0 ;
994141e6 2453 PyObject * obj1 = 0 ;
d14a1e28
RD
2454 char *kwnames[] = {
2455 (char *) "self",(char *) "x", NULL
2456 };
2457
994141e6 2458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_x_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 2459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
2460 {
2461 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2462 if (PyErr_Occurred()) SWIG_fail;
2463 }
d14a1e28
RD
2464 if (arg1) (arg1)->x = arg2;
2465
2466 Py_INCREF(Py_None); resultobj = Py_None;
2467 return resultobj;
2468 fail:
2469 return NULL;
2470}
2471
2472
2473static PyObject *_wrap_Point_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2474 PyObject *resultobj;
2475 wxPoint *arg1 = (wxPoint *) 0 ;
2476 int result;
2477 PyObject * obj0 = 0 ;
2478 char *kwnames[] = {
2479 (char *) "self", NULL
2480 };
2481
2482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_x_get",kwnames,&obj0)) goto fail;
2483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2484 result = (int) ((arg1)->x);
2485
994141e6 2486 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
2487 return resultobj;
2488 fail:
2489 return NULL;
2490}
2491
2492
2493static PyObject *_wrap_Point_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2494 PyObject *resultobj;
2495 wxPoint *arg1 = (wxPoint *) 0 ;
2496 int arg2 ;
2497 PyObject * obj0 = 0 ;
994141e6 2498 PyObject * obj1 = 0 ;
d14a1e28
RD
2499 char *kwnames[] = {
2500 (char *) "self",(char *) "y", NULL
2501 };
2502
994141e6 2503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_y_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 2504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
2505 {
2506 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2507 if (PyErr_Occurred()) SWIG_fail;
2508 }
d14a1e28
RD
2509 if (arg1) (arg1)->y = arg2;
2510
2511 Py_INCREF(Py_None); resultobj = Py_None;
2512 return resultobj;
2513 fail:
2514 return NULL;
2515}
2516
2517
2518static PyObject *_wrap_Point_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2519 PyObject *resultobj;
2520 wxPoint *arg1 = (wxPoint *) 0 ;
2521 int result;
2522 PyObject * obj0 = 0 ;
2523 char *kwnames[] = {
2524 (char *) "self", NULL
2525 };
2526
2527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_y_get",kwnames,&obj0)) goto fail;
2528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2529 result = (int) ((arg1)->y);
2530
994141e6 2531 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
2532 return resultobj;
2533 fail:
2534 return NULL;
2535}
2536
2537
2538static PyObject *_wrap_new_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2539 PyObject *resultobj;
2540 int arg1 = (int) 0 ;
2541 int arg2 = (int) 0 ;
2542 wxPoint *result;
994141e6
RD
2543 PyObject * obj0 = 0 ;
2544 PyObject * obj1 = 0 ;
d14a1e28
RD
2545 char *kwnames[] = {
2546 (char *) "x",(char *) "y", NULL
2547 };
2548
994141e6
RD
2549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point",kwnames,&obj0,&obj1)) goto fail;
2550 if (obj0) {
2551 {
2552 arg1 = (int) SWIG_PyObj_AsInt(obj0);
2553 if (PyErr_Occurred()) SWIG_fail;
2554 }
2555 }
2556 if (obj1) {
2557 {
2558 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2559 if (PyErr_Occurred()) SWIG_fail;
2560 }
2561 }
d14a1e28
RD
2562 {
2563 PyThreadState* __tstate = wxPyBeginAllowThreads();
2564 result = (wxPoint *)new wxPoint(arg1,arg2);
2565
2566 wxPyEndAllowThreads(__tstate);
2567 if (PyErr_Occurred()) SWIG_fail;
2568 }
2569 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 1);
2570 return resultobj;
2571 fail:
2572 return NULL;
2573}
2574
2575
2576static PyObject *_wrap_delete_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2577 PyObject *resultobj;
2578 wxPoint *arg1 = (wxPoint *) 0 ;
2579 PyObject * obj0 = 0 ;
2580 char *kwnames[] = {
2581 (char *) "self", NULL
2582 };
2583
2584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Point",kwnames,&obj0)) goto fail;
2585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2586 {
2587 PyThreadState* __tstate = wxPyBeginAllowThreads();
2588 delete arg1;
2589
2590 wxPyEndAllowThreads(__tstate);
2591 if (PyErr_Occurred()) SWIG_fail;
2592 }
2593 Py_INCREF(Py_None); resultobj = Py_None;
2594 return resultobj;
2595 fail:
2596 return NULL;
2597}
2598
2599
2600static PyObject *_wrap_Point___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
2601 PyObject *resultobj;
2602 wxPoint *arg1 = (wxPoint *) 0 ;
2603 wxPoint *arg2 = 0 ;
2604 bool result;
2605 wxPoint temp2 ;
2606 PyObject * obj0 = 0 ;
2607 PyObject * obj1 = 0 ;
2608 char *kwnames[] = {
e811c8ce 2609 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2610 };
2611
2612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail;
2613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2614 {
2615 arg2 = &temp2;
2616 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2617 }
2618 {
2619 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2620 result = (bool)(arg1)->operator ==((wxPoint const &)*arg2);
d14a1e28
RD
2621
2622 wxPyEndAllowThreads(__tstate);
2623 if (PyErr_Occurred()) SWIG_fail;
2624 }
4d5c3d91 2625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2626 return resultobj;
2627 fail:
2628 return NULL;
2629}
2630
2631
2632static PyObject *_wrap_Point___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2633 PyObject *resultobj;
2634 wxPoint *arg1 = (wxPoint *) 0 ;
2635 wxPoint *arg2 = 0 ;
2636 bool result;
2637 wxPoint temp2 ;
2638 PyObject * obj0 = 0 ;
2639 PyObject * obj1 = 0 ;
2640 char *kwnames[] = {
e811c8ce 2641 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2642 };
2643
2644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail;
2645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2646 {
2647 arg2 = &temp2;
2648 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2649 }
2650 {
2651 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2652 result = (bool)(arg1)->operator !=((wxPoint const &)*arg2);
d14a1e28
RD
2653
2654 wxPyEndAllowThreads(__tstate);
2655 if (PyErr_Occurred()) SWIG_fail;
2656 }
4d5c3d91 2657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2658 return resultobj;
2659 fail:
2660 return NULL;
2661}
2662
2663
2664static PyObject *_wrap_Point___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2665 PyObject *resultobj;
2666 wxPoint *arg1 = (wxPoint *) 0 ;
2667 wxPoint *arg2 = 0 ;
2668 wxPoint result;
2669 wxPoint temp2 ;
2670 PyObject * obj0 = 0 ;
2671 PyObject * obj1 = 0 ;
2672 char *kwnames[] = {
e811c8ce 2673 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2674 };
2675
2676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail;
2677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2678 {
2679 arg2 = &temp2;
2680 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2681 }
2682 {
2683 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2684 result = (arg1)->operator +((wxPoint const &)*arg2);
d14a1e28
RD
2685
2686 wxPyEndAllowThreads(__tstate);
2687 if (PyErr_Occurred()) SWIG_fail;
2688 }
2689 {
2690 wxPoint * resultptr;
2691 resultptr = new wxPoint((wxPoint &) result);
2692 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2693 }
2694 return resultobj;
2695 fail:
2696 return NULL;
2697}
2698
2699
2700static PyObject *_wrap_Point___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2701 PyObject *resultobj;
2702 wxPoint *arg1 = (wxPoint *) 0 ;
2703 wxPoint *arg2 = 0 ;
2704 wxPoint result;
2705 wxPoint temp2 ;
2706 PyObject * obj0 = 0 ;
2707 PyObject * obj1 = 0 ;
2708 char *kwnames[] = {
e811c8ce 2709 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2710 };
2711
2712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail;
2713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2714 {
2715 arg2 = &temp2;
2716 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2717 }
2718 {
2719 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2720 result = (arg1)->operator -((wxPoint const &)*arg2);
d14a1e28
RD
2721
2722 wxPyEndAllowThreads(__tstate);
2723 if (PyErr_Occurred()) SWIG_fail;
2724 }
2725 {
2726 wxPoint * resultptr;
2727 resultptr = new wxPoint((wxPoint &) result);
2728 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2729 }
2730 return resultobj;
2731 fail:
2732 return NULL;
2733}
2734
2735
2736static PyObject *_wrap_Point___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
2737 PyObject *resultobj;
2738 wxPoint *arg1 = (wxPoint *) 0 ;
2739 wxPoint *arg2 = 0 ;
2740 wxPoint *result;
2741 wxPoint temp2 ;
2742 PyObject * obj0 = 0 ;
2743 PyObject * obj1 = 0 ;
2744 char *kwnames[] = {
e811c8ce 2745 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2746 };
2747
2748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail;
2749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2750 {
2751 arg2 = &temp2;
2752 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2753 }
2754 {
2755 PyThreadState* __tstate = wxPyBeginAllowThreads();
2756 {
2757 wxPoint &_result_ref = (arg1)->operator +=((wxPoint const &)*arg2);
2758 result = (wxPoint *) &_result_ref;
2759 }
2760
2761 wxPyEndAllowThreads(__tstate);
2762 if (PyErr_Occurred()) SWIG_fail;
2763 }
2764 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
2765 return resultobj;
2766 fail:
2767 return NULL;
2768}
2769
2770
2771static PyObject *_wrap_Point___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2772 PyObject *resultobj;
2773 wxPoint *arg1 = (wxPoint *) 0 ;
2774 wxPoint *arg2 = 0 ;
2775 wxPoint *result;
2776 wxPoint temp2 ;
2777 PyObject * obj0 = 0 ;
2778 PyObject * obj1 = 0 ;
2779 char *kwnames[] = {
e811c8ce 2780 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2781 };
2782
2783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___isub__",kwnames,&obj0,&obj1)) goto fail;
2784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2785 {
2786 arg2 = &temp2;
2787 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2788 }
2789 {
2790 PyThreadState* __tstate = wxPyBeginAllowThreads();
2791 {
2792 wxPoint &_result_ref = (arg1)->operator -=((wxPoint const &)*arg2);
2793 result = (wxPoint *) &_result_ref;
2794 }
2795
2796 wxPyEndAllowThreads(__tstate);
2797 if (PyErr_Occurred()) SWIG_fail;
2798 }
2799 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
2800 return resultobj;
2801 fail:
2802 return NULL;
2803}
2804
2805
2806static PyObject *_wrap_Point_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2807 PyObject *resultobj;
2808 wxPoint *arg1 = (wxPoint *) 0 ;
2809 long arg2 ;
2810 long arg3 ;
2811 PyObject * obj0 = 0 ;
994141e6
RD
2812 PyObject * obj1 = 0 ;
2813 PyObject * obj2 = 0 ;
d14a1e28
RD
2814 char *kwnames[] = {
2815 (char *) "self",(char *) "x",(char *) "y", NULL
2816 };
2817
994141e6 2818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Point_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 2819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
2820 {
2821 arg2 = (long) SWIG_PyObj_AsLong(obj1);
2822 if (PyErr_Occurred()) SWIG_fail;
2823 }
2824 {
2825 arg3 = (long) SWIG_PyObj_AsLong(obj2);
2826 if (PyErr_Occurred()) SWIG_fail;
2827 }
d14a1e28
RD
2828 {
2829 PyThreadState* __tstate = wxPyBeginAllowThreads();
2830 wxPoint_Set(arg1,arg2,arg3);
2831
2832 wxPyEndAllowThreads(__tstate);
2833 if (PyErr_Occurred()) SWIG_fail;
2834 }
2835 Py_INCREF(Py_None); resultobj = Py_None;
2836 return resultobj;
2837 fail:
2838 return NULL;
2839}
2840
2841
e811c8ce 2842static PyObject *_wrap_Point_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2843 PyObject *resultobj;
2844 wxPoint *arg1 = (wxPoint *) 0 ;
2845 PyObject *result;
2846 PyObject * obj0 = 0 ;
2847 char *kwnames[] = {
2848 (char *) "self", NULL
2849 };
2850
e811c8ce 2851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
2852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2853 {
2854 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2855 result = (PyObject *)wxPoint_Get(arg1);
d14a1e28
RD
2856
2857 wxPyEndAllowThreads(__tstate);
2858 if (PyErr_Occurred()) SWIG_fail;
2859 }
2860 resultobj = result;
2861 return resultobj;
2862 fail:
2863 return NULL;
2864}
2865
2866
2867static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
2868 PyObject *obj;
2869 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2870 SWIG_TypeClientData(SWIGTYPE_p_wxPoint, obj);
2871 Py_INCREF(obj);
2872 return Py_BuildValue((char *)"");
2873}
2874static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
2875 PyObject *resultobj;
2876 int arg1 = (int) 0 ;
2877 int arg2 = (int) 0 ;
2878 int arg3 = (int) 0 ;
2879 int arg4 = (int) 0 ;
2880 wxRect *result;
994141e6
RD
2881 PyObject * obj0 = 0 ;
2882 PyObject * obj1 = 0 ;
2883 PyObject * obj2 = 0 ;
2884 PyObject * obj3 = 0 ;
d14a1e28
RD
2885 char *kwnames[] = {
2886 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2887 };
2888
994141e6
RD
2889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Rect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2890 if (obj0) {
2891 {
2892 arg1 = (int) SWIG_PyObj_AsInt(obj0);
2893 if (PyErr_Occurred()) SWIG_fail;
2894 }
2895 }
2896 if (obj1) {
2897 {
2898 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2899 if (PyErr_Occurred()) SWIG_fail;
2900 }
2901 }
2902 if (obj2) {
2903 {
2904 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2905 if (PyErr_Occurred()) SWIG_fail;
2906 }
2907 }
2908 if (obj3) {
2909 {
2910 arg4 = (int) SWIG_PyObj_AsInt(obj3);
2911 if (PyErr_Occurred()) SWIG_fail;
2912 }
2913 }
d14a1e28
RD
2914 {
2915 PyThreadState* __tstate = wxPyBeginAllowThreads();
2916 result = (wxRect *)new wxRect(arg1,arg2,arg3,arg4);
2917
2918 wxPyEndAllowThreads(__tstate);
2919 if (PyErr_Occurred()) SWIG_fail;
2920 }
2921 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 1);
2922 return resultobj;
2923 fail:
2924 return NULL;
2925}
2926
2927
2928static PyObject *_wrap_new_RectPP(PyObject *self, PyObject *args, PyObject *kwargs) {
2929 PyObject *resultobj;
2930 wxPoint *arg1 = 0 ;
2931 wxPoint *arg2 = 0 ;
2932 wxRect *result;
2933 wxPoint temp1 ;
2934 wxPoint temp2 ;
2935 PyObject * obj0 = 0 ;
2936 PyObject * obj1 = 0 ;
2937 char *kwnames[] = {
2938 (char *) "topLeft",(char *) "bottomRight", NULL
2939 };
2940
2941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPP",kwnames,&obj0,&obj1)) goto fail;
2942 {
2943 arg1 = &temp1;
2944 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
2945 }
2946 {
2947 arg2 = &temp2;
2948 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2949 }
2950 {
2951 PyThreadState* __tstate = wxPyBeginAllowThreads();
2952 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxPoint const &)*arg2);
2953
2954 wxPyEndAllowThreads(__tstate);
2955 if (PyErr_Occurred()) SWIG_fail;
2956 }
2957 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 1);
2958 return resultobj;
2959 fail:
2960 return NULL;
2961}
2962
2963
2964static PyObject *_wrap_new_RectPS(PyObject *self, PyObject *args, PyObject *kwargs) {
2965 PyObject *resultobj;
2966 wxPoint *arg1 = 0 ;
2967 wxSize *arg2 = 0 ;
2968 wxRect *result;
2969 wxPoint temp1 ;
2970 wxSize temp2 ;
2971 PyObject * obj0 = 0 ;
2972 PyObject * obj1 = 0 ;
2973 char *kwnames[] = {
2974 (char *) "pos",(char *) "size", NULL
2975 };
2976
2977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPS",kwnames,&obj0,&obj1)) goto fail;
2978 {
2979 arg1 = &temp1;
2980 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
2981 }
2982 {
2983 arg2 = &temp2;
2984 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2985 }
2986 {
2987 PyThreadState* __tstate = wxPyBeginAllowThreads();
2988 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxSize const &)*arg2);
2989
2990 wxPyEndAllowThreads(__tstate);
2991 if (PyErr_Occurred()) SWIG_fail;
2992 }
2993 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 1);
2994 return resultobj;
2995 fail:
2996 return NULL;
2997}
2998
2999
3000static PyObject *_wrap_delete_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
3001 PyObject *resultobj;
3002 wxRect *arg1 = (wxRect *) 0 ;
3003 PyObject * obj0 = 0 ;
3004 char *kwnames[] = {
3005 (char *) "self", NULL
3006 };
3007
3008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Rect",kwnames,&obj0)) goto fail;
3009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3010 {
3011 PyThreadState* __tstate = wxPyBeginAllowThreads();
3012 delete arg1;
3013
3014 wxPyEndAllowThreads(__tstate);
3015 if (PyErr_Occurred()) SWIG_fail;
3016 }
3017 Py_INCREF(Py_None); resultobj = Py_None;
3018 return resultobj;
3019 fail:
3020 return NULL;
3021}
3022
3023
3024static PyObject *_wrap_Rect_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3025 PyObject *resultobj;
3026 wxRect *arg1 = (wxRect *) 0 ;
3027 int result;
3028 PyObject * obj0 = 0 ;
3029 char *kwnames[] = {
3030 (char *) "self", NULL
3031 };
3032
3033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetX",kwnames,&obj0)) goto fail;
3034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3035 {
3036 PyThreadState* __tstate = wxPyBeginAllowThreads();
3037 result = (int)((wxRect const *)arg1)->GetX();
3038
3039 wxPyEndAllowThreads(__tstate);
3040 if (PyErr_Occurred()) SWIG_fail;
3041 }
994141e6 3042 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
3043 return resultobj;
3044 fail:
3045 return NULL;
3046}
3047
3048
3049static PyObject *_wrap_Rect_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3050 PyObject *resultobj;
3051 wxRect *arg1 = (wxRect *) 0 ;
3052 int arg2 ;
3053 PyObject * obj0 = 0 ;
994141e6 3054 PyObject * obj1 = 0 ;
d14a1e28
RD
3055 char *kwnames[] = {
3056 (char *) "self",(char *) "x", NULL
3057 };
3058
994141e6 3059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetX",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 3060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
3061 {
3062 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3063 if (PyErr_Occurred()) SWIG_fail;
3064 }
d14a1e28
RD
3065 {
3066 PyThreadState* __tstate = wxPyBeginAllowThreads();
3067 (arg1)->SetX(arg2);
3068
3069 wxPyEndAllowThreads(__tstate);
3070 if (PyErr_Occurred()) SWIG_fail;
3071 }
3072 Py_INCREF(Py_None); resultobj = Py_None;
3073 return resultobj;
3074 fail:
3075 return NULL;
3076}
3077
3078
3079static PyObject *_wrap_Rect_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3080 PyObject *resultobj;
3081 wxRect *arg1 = (wxRect *) 0 ;
3082 int result;
3083 PyObject * obj0 = 0 ;
3084 char *kwnames[] = {
3085 (char *) "self", NULL
3086 };
3087
3088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetY",kwnames,&obj0)) goto fail;
3089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3090 {
3091 PyThreadState* __tstate = wxPyBeginAllowThreads();
3092 result = (int)(arg1)->GetY();
3093
3094 wxPyEndAllowThreads(__tstate);
3095 if (PyErr_Occurred()) SWIG_fail;
3096 }
994141e6 3097 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
3098 return resultobj;
3099 fail:
3100 return NULL;
3101}
3102
3103
3104static PyObject *_wrap_Rect_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3105 PyObject *resultobj;
3106 wxRect *arg1 = (wxRect *) 0 ;
3107 int arg2 ;
3108 PyObject * obj0 = 0 ;
994141e6 3109 PyObject * obj1 = 0 ;
d14a1e28
RD
3110 char *kwnames[] = {
3111 (char *) "self",(char *) "y", NULL
3112 };
3113
994141e6 3114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetY",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 3115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
3116 {
3117 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3118 if (PyErr_Occurred()) SWIG_fail;
3119 }
d14a1e28
RD
3120 {
3121 PyThreadState* __tstate = wxPyBeginAllowThreads();
3122 (arg1)->SetY(arg2);
3123
3124 wxPyEndAllowThreads(__tstate);
3125 if (PyErr_Occurred()) SWIG_fail;
3126 }
3127 Py_INCREF(Py_None); resultobj = Py_None;
3128 return resultobj;
3129 fail:
3130 return NULL;
3131}
3132
3133
3134static PyObject *_wrap_Rect_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3135 PyObject *resultobj;
3136 wxRect *arg1 = (wxRect *) 0 ;
3137 int result;
3138 PyObject * obj0 = 0 ;
3139 char *kwnames[] = {
3140 (char *) "self", NULL
3141 };
3142
3143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetWidth",kwnames,&obj0)) goto fail;
3144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3145 {
3146 PyThreadState* __tstate = wxPyBeginAllowThreads();
3147 result = (int)((wxRect const *)arg1)->GetWidth();
3148
3149 wxPyEndAllowThreads(__tstate);
3150 if (PyErr_Occurred()) SWIG_fail;
3151 }
994141e6 3152 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
3153 return resultobj;
3154 fail:
3155 return NULL;
3156}
3157
3158
3159static PyObject *_wrap_Rect_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3160 PyObject *resultobj;
3161 wxRect *arg1 = (wxRect *) 0 ;
3162 int arg2 ;
3163 PyObject * obj0 = 0 ;
994141e6 3164 PyObject * obj1 = 0 ;
d14a1e28
RD
3165 char *kwnames[] = {
3166 (char *) "self",(char *) "w", NULL
3167 };
3168
994141e6 3169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetWidth",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 3170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
3171 {
3172 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3173 if (PyErr_Occurred()) SWIG_fail;
3174 }
d14a1e28
RD
3175 {
3176 PyThreadState* __tstate = wxPyBeginAllowThreads();
3177 (arg1)->SetWidth(arg2);
3178
3179 wxPyEndAllowThreads(__tstate);
3180 if (PyErr_Occurred()) SWIG_fail;
3181 }
3182 Py_INCREF(Py_None); resultobj = Py_None;
3183 return resultobj;
3184 fail:
3185 return NULL;
3186}
3187
3188
3189static PyObject *_wrap_Rect_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3190 PyObject *resultobj;
3191 wxRect *arg1 = (wxRect *) 0 ;
3192 int result;
3193 PyObject * obj0 = 0 ;
3194 char *kwnames[] = {
3195 (char *) "self", NULL
3196 };
3197
3198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetHeight",kwnames,&obj0)) goto fail;
3199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3200 {
3201 PyThreadState* __tstate = wxPyBeginAllowThreads();
3202 result = (int)((wxRect const *)arg1)->GetHeight();
3203
3204 wxPyEndAllowThreads(__tstate);
3205 if (PyErr_Occurred()) SWIG_fail;
3206 }
994141e6 3207 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
3208 return resultobj;
3209 fail:
3210 return NULL;
3211}
3212
3213
3214static PyObject *_wrap_Rect_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3215 PyObject *resultobj;
3216 wxRect *arg1 = (wxRect *) 0 ;
3217 int arg2 ;
3218 PyObject * obj0 = 0 ;
994141e6 3219 PyObject * obj1 = 0 ;
d14a1e28
RD
3220 char *kwnames[] = {
3221 (char *) "self",(char *) "h", NULL
3222 };
3223
994141e6 3224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetHeight",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 3225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
3226 {
3227 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3228 if (PyErr_Occurred()) SWIG_fail;
3229 }
d14a1e28
RD
3230 {
3231 PyThreadState* __tstate = wxPyBeginAllowThreads();
3232 (arg1)->SetHeight(arg2);
3233
3234 wxPyEndAllowThreads(__tstate);
3235 if (PyErr_Occurred()) SWIG_fail;
3236 }
3237 Py_INCREF(Py_None); resultobj = Py_None;
3238 return resultobj;
3239 fail:
3240 return NULL;
3241}
3242
3243
3244static PyObject *_wrap_Rect_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3245 PyObject *resultobj;
3246 wxRect *arg1 = (wxRect *) 0 ;
3247 wxPoint result;
3248 PyObject * obj0 = 0 ;
3249 char *kwnames[] = {
3250 (char *) "self", NULL
3251 };
3252
3253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetPosition",kwnames,&obj0)) goto fail;
3254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3255 {
3256 PyThreadState* __tstate = wxPyBeginAllowThreads();
3257 result = ((wxRect const *)arg1)->GetPosition();
3258
3259 wxPyEndAllowThreads(__tstate);
3260 if (PyErr_Occurred()) SWIG_fail;
3261 }
3262 {
3263 wxPoint * resultptr;
3264 resultptr = new wxPoint((wxPoint &) result);
3265 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
3266 }
3267 return resultobj;
3268 fail:
3269 return NULL;
3270}
3271
3272
3273static PyObject *_wrap_Rect_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3274 PyObject *resultobj;
3275 wxRect *arg1 = (wxRect *) 0 ;
3276 wxPoint *arg2 = 0 ;
3277 wxPoint temp2 ;
3278 PyObject * obj0 = 0 ;
3279 PyObject * obj1 = 0 ;
3280 char *kwnames[] = {
3281 (char *) "self",(char *) "p", NULL
3282 };
3283
3284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetPosition",kwnames,&obj0,&obj1)) goto fail;
3285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3286 {
3287 arg2 = &temp2;
3288 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3289 }
3290 {
3291 PyThreadState* __tstate = wxPyBeginAllowThreads();
3292 (arg1)->SetPosition((wxPoint const &)*arg2);
3293
3294 wxPyEndAllowThreads(__tstate);
3295 if (PyErr_Occurred()) SWIG_fail;
3296 }
3297 Py_INCREF(Py_None); resultobj = Py_None;
3298 return resultobj;
3299 fail:
3300 return NULL;
3301}
3302
3303
3304static PyObject *_wrap_Rect_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3305 PyObject *resultobj;
3306 wxRect *arg1 = (wxRect *) 0 ;
3307 wxSize result;
3308 PyObject * obj0 = 0 ;
3309 char *kwnames[] = {
3310 (char *) "self", NULL
3311 };
3312
3313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetSize",kwnames,&obj0)) goto fail;
3314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3315 {
3316 PyThreadState* __tstate = wxPyBeginAllowThreads();
3317 result = ((wxRect const *)arg1)->GetSize();
3318
3319 wxPyEndAllowThreads(__tstate);
3320 if (PyErr_Occurred()) SWIG_fail;
3321 }
3322 {
3323 wxSize * resultptr;
3324 resultptr = new wxSize((wxSize &) result);
3325 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3326 }
3327 return resultobj;
3328 fail:
3329 return NULL;
3330}
3331
3332
3333static PyObject *_wrap_Rect_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3334 PyObject *resultobj;
3335 wxRect *arg1 = (wxRect *) 0 ;
3336 wxSize *arg2 = 0 ;
3337 wxSize temp2 ;
3338 PyObject * obj0 = 0 ;
3339 PyObject * obj1 = 0 ;
3340 char *kwnames[] = {
3341 (char *) "self",(char *) "s", NULL
3342 };
3343
3344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetSize",kwnames,&obj0,&obj1)) goto fail;
3345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3346 {
3347 arg2 = &temp2;
3348 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3349 }
3350 {
3351 PyThreadState* __tstate = wxPyBeginAllowThreads();
3352 (arg1)->SetSize((wxSize const &)*arg2);
3353
3354 wxPyEndAllowThreads(__tstate);
3355 if (PyErr_Occurred()) SWIG_fail;
3356 }
3357 Py_INCREF(Py_None); resultobj = Py_None;
3358 return resultobj;
3359 fail:
3360 return NULL;
3361}
3362
3363
c9c7117a
RD
3364static PyObject *_wrap_Rect_GetTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3365 PyObject *resultobj;
3366 wxRect *arg1 = (wxRect *) 0 ;
3367 wxPoint result;
3368 PyObject * obj0 = 0 ;
3369 char *kwnames[] = {
3370 (char *) "self", NULL
3371 };
3372
3373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTopLeft",kwnames,&obj0)) goto fail;
3374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3375 {
3376 PyThreadState* __tstate = wxPyBeginAllowThreads();
3377 result = ((wxRect const *)arg1)->GetTopLeft();
3378
3379 wxPyEndAllowThreads(__tstate);
3380 if (PyErr_Occurred()) SWIG_fail;
3381 }
3382 {
3383 wxPoint * resultptr;
3384 resultptr = new wxPoint((wxPoint &) result);
3385 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
3386 }
3387 return resultobj;
3388 fail:
3389 return NULL;
3390}
3391
3392
3393static PyObject *_wrap_Rect_SetTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3394 PyObject *resultobj;
3395 wxRect *arg1 = (wxRect *) 0 ;
3396 wxPoint *arg2 = 0 ;
3397 wxPoint temp2 ;
3398 PyObject * obj0 = 0 ;
3399 PyObject * obj1 = 0 ;
3400 char *kwnames[] = {
3401 (char *) "self",(char *) "p", NULL
3402 };
3403
3404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTopLeft",kwnames,&obj0,&obj1)) goto fail;
3405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3406 {
3407 arg2 = &temp2;
3408 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3409 }
3410 {
3411 PyThreadState* __tstate = wxPyBeginAllowThreads();
3412 (arg1)->SetTopLeft((wxPoint const &)*arg2);
3413
3414 wxPyEndAllowThreads(__tstate);
3415 if (PyErr_Occurred()) SWIG_fail;
3416 }
3417 Py_INCREF(Py_None); resultobj = Py_None;
3418 return resultobj;
3419 fail:
3420 return NULL;
3421}
3422
3423
3424static PyObject *_wrap_Rect_GetBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3425 PyObject *resultobj;
3426 wxRect *arg1 = (wxRect *) 0 ;
3427 wxPoint result;
3428 PyObject * obj0 = 0 ;
3429 char *kwnames[] = {
3430 (char *) "self", NULL
3431 };
3432
3433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottomRight",kwnames,&obj0)) goto fail;
3434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3435 {
3436 PyThreadState* __tstate = wxPyBeginAllowThreads();
3437 result = ((wxRect const *)arg1)->GetBottomRight();
3438
3439 wxPyEndAllowThreads(__tstate);
3440 if (PyErr_Occurred()) SWIG_fail;
3441 }
3442 {
3443 wxPoint * resultptr;
3444 resultptr = new wxPoint((wxPoint &) result);
3445 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
3446 }
3447 return resultobj;
3448 fail:
3449 return NULL;
3450}
3451
3452
3453static PyObject *_wrap_Rect_SetBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3454 PyObject *resultobj;
3455 wxRect *arg1 = (wxRect *) 0 ;
3456 wxPoint *arg2 = 0 ;
3457 wxPoint temp2 ;
3458 PyObject * obj0 = 0 ;
3459 PyObject * obj1 = 0 ;
3460 char *kwnames[] = {
3461 (char *) "self",(char *) "p", NULL
3462 };
3463
3464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottomRight",kwnames,&obj0,&obj1)) goto fail;
3465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3466 {
3467 arg2 = &temp2;
3468 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3469 }
3470 {
3471 PyThreadState* __tstate = wxPyBeginAllowThreads();
3472 (arg1)->SetBottomRight((wxPoint const &)*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
d14a1e28
RD
3484static PyObject *_wrap_Rect_GetLeft(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_GetLeft",kwnames,&obj0)) goto fail;
3494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3495 {
3496 PyThreadState* __tstate = wxPyBeginAllowThreads();
3497 result = (int)((wxRect const *)arg1)->GetLeft();
3498
3499 wxPyEndAllowThreads(__tstate);
3500 if (PyErr_Occurred()) SWIG_fail;
3501 }
994141e6 3502 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
3503 return resultobj;
3504 fail:
3505 return NULL;
3506}
3507
3508
3509static PyObject *_wrap_Rect_GetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
3510 PyObject *resultobj;
3511 wxRect *arg1 = (wxRect *) 0 ;
3512 int result;
3513 PyObject * obj0 = 0 ;
3514 char *kwnames[] = {
3515 (char *) "self", NULL
3516 };
3517
3518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTop",kwnames,&obj0)) goto fail;
3519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3520 {
3521 PyThreadState* __tstate = wxPyBeginAllowThreads();
3522 result = (int)((wxRect const *)arg1)->GetTop();
3523
3524 wxPyEndAllowThreads(__tstate);
3525 if (PyErr_Occurred()) SWIG_fail;
3526 }
994141e6 3527 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
3528 return resultobj;
3529 fail:
3530 return NULL;
3531}
3532
3533
3534static PyObject *_wrap_Rect_GetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
3535 PyObject *resultobj;
3536 wxRect *arg1 = (wxRect *) 0 ;
3537 int result;
3538 PyObject * obj0 = 0 ;
3539 char *kwnames[] = {
3540 (char *) "self", NULL
3541 };
3542
3543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottom",kwnames,&obj0)) goto fail;
3544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3545 {
3546 PyThreadState* __tstate = wxPyBeginAllowThreads();
3547 result = (int)((wxRect const *)arg1)->GetBottom();
3548
3549 wxPyEndAllowThreads(__tstate);
3550 if (PyErr_Occurred()) SWIG_fail;
3551 }
994141e6 3552 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
3553 return resultobj;
3554 fail:
3555 return NULL;
3556}
3557
3558
3559static PyObject *_wrap_Rect_GetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3560 PyObject *resultobj;
3561 wxRect *arg1 = (wxRect *) 0 ;
3562 int result;
3563 PyObject * obj0 = 0 ;
3564 char *kwnames[] = {
3565 (char *) "self", NULL
3566 };
3567
3568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetRight",kwnames,&obj0)) goto fail;
3569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3570 {
3571 PyThreadState* __tstate = wxPyBeginAllowThreads();
3572 result = (int)((wxRect const *)arg1)->GetRight();
3573
3574 wxPyEndAllowThreads(__tstate);
3575 if (PyErr_Occurred()) SWIG_fail;
3576 }
994141e6 3577 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
3578 return resultobj;
3579 fail:
3580 return NULL;
3581}
3582
3583
3584static PyObject *_wrap_Rect_SetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3585 PyObject *resultobj;
3586 wxRect *arg1 = (wxRect *) 0 ;
3587 int arg2 ;
3588 PyObject * obj0 = 0 ;
994141e6 3589 PyObject * obj1 = 0 ;
d14a1e28
RD
3590 char *kwnames[] = {
3591 (char *) "self",(char *) "left", NULL
3592 };
3593
994141e6 3594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetLeft",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 3595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
3596 {
3597 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3598 if (PyErr_Occurred()) SWIG_fail;
3599 }
d14a1e28
RD
3600 {
3601 PyThreadState* __tstate = wxPyBeginAllowThreads();
3602 (arg1)->SetLeft(arg2);
3603
3604 wxPyEndAllowThreads(__tstate);
3605 if (PyErr_Occurred()) SWIG_fail;
3606 }
3607 Py_INCREF(Py_None); resultobj = Py_None;
3608 return resultobj;
3609 fail:
3610 return NULL;
3611}
3612
3613
3614static PyObject *_wrap_Rect_SetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3615 PyObject *resultobj;
3616 wxRect *arg1 = (wxRect *) 0 ;
3617 int arg2 ;
3618 PyObject * obj0 = 0 ;
994141e6 3619 PyObject * obj1 = 0 ;
d14a1e28
RD
3620 char *kwnames[] = {
3621 (char *) "self",(char *) "right", NULL
3622 };
3623
994141e6 3624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetRight",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 3625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
3626 {
3627 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3628 if (PyErr_Occurred()) SWIG_fail;
3629 }
d14a1e28
RD
3630 {
3631 PyThreadState* __tstate = wxPyBeginAllowThreads();
3632 (arg1)->SetRight(arg2);
3633
3634 wxPyEndAllowThreads(__tstate);
3635 if (PyErr_Occurred()) SWIG_fail;
3636 }
3637 Py_INCREF(Py_None); resultobj = Py_None;
3638 return resultobj;
3639 fail:
3640 return NULL;
3641}
3642
3643
3644static PyObject *_wrap_Rect_SetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
3645 PyObject *resultobj;
3646 wxRect *arg1 = (wxRect *) 0 ;
3647 int arg2 ;
3648 PyObject * obj0 = 0 ;
994141e6 3649 PyObject * obj1 = 0 ;
d14a1e28
RD
3650 char *kwnames[] = {
3651 (char *) "self",(char *) "top", NULL
3652 };
3653
994141e6 3654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTop",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 3655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
3656 {
3657 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3658 if (PyErr_Occurred()) SWIG_fail;
3659 }
d14a1e28
RD
3660 {
3661 PyThreadState* __tstate = wxPyBeginAllowThreads();
3662 (arg1)->SetTop(arg2);
3663
3664 wxPyEndAllowThreads(__tstate);
3665 if (PyErr_Occurred()) SWIG_fail;
3666 }
3667 Py_INCREF(Py_None); resultobj = Py_None;
3668 return resultobj;
3669 fail:
3670 return NULL;
3671}
3672
3673
3674static PyObject *_wrap_Rect_SetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
3675 PyObject *resultobj;
3676 wxRect *arg1 = (wxRect *) 0 ;
3677 int arg2 ;
3678 PyObject * obj0 = 0 ;
994141e6 3679 PyObject * obj1 = 0 ;
d14a1e28
RD
3680 char *kwnames[] = {
3681 (char *) "self",(char *) "bottom", NULL
3682 };
3683
994141e6 3684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottom",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 3685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
3686 {
3687 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3688 if (PyErr_Occurred()) SWIG_fail;
3689 }
d14a1e28
RD
3690 {
3691 PyThreadState* __tstate = wxPyBeginAllowThreads();
3692 (arg1)->SetBottom(arg2);
3693
3694 wxPyEndAllowThreads(__tstate);
3695 if (PyErr_Occurred()) SWIG_fail;
3696 }
3697 Py_INCREF(Py_None); resultobj = Py_None;
3698 return resultobj;
3699 fail:
3700 return NULL;
3701}
3702
3703
3704static PyObject *_wrap_Rect_Inflate(PyObject *self, PyObject *args, PyObject *kwargs) {
3705 PyObject *resultobj;
3706 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
3707 int arg2 ;
3708 int arg3 ;
d14a1e28
RD
3709 wxRect *result;
3710 PyObject * obj0 = 0 ;
994141e6
RD
3711 PyObject * obj1 = 0 ;
3712 PyObject * obj2 = 0 ;
d14a1e28
RD
3713 char *kwnames[] = {
3714 (char *) "self",(char *) "dx",(char *) "dy", NULL
3715 };
3716
994141e6 3717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Inflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 3718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
3719 {
3720 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3721 if (PyErr_Occurred()) SWIG_fail;
3722 }
3723 {
3724 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3725 if (PyErr_Occurred()) SWIG_fail;
3726 }
d14a1e28
RD
3727 {
3728 PyThreadState* __tstate = wxPyBeginAllowThreads();
3729 {
3730 wxRect &_result_ref = (arg1)->Inflate(arg2,arg3);
3731 result = (wxRect *) &_result_ref;
3732 }
3733
3734 wxPyEndAllowThreads(__tstate);
3735 if (PyErr_Occurred()) SWIG_fail;
3736 }
3737 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3738 return resultobj;
3739 fail:
3740 return NULL;
3741}
3742
3743
3744static PyObject *_wrap_Rect_Deflate(PyObject *self, PyObject *args, PyObject *kwargs) {
3745 PyObject *resultobj;
3746 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
3747 int arg2 ;
3748 int arg3 ;
d14a1e28
RD
3749 wxRect *result;
3750 PyObject * obj0 = 0 ;
994141e6
RD
3751 PyObject * obj1 = 0 ;
3752 PyObject * obj2 = 0 ;
d14a1e28
RD
3753 char *kwnames[] = {
3754 (char *) "self",(char *) "dx",(char *) "dy", NULL
3755 };
3756
994141e6 3757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Deflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 3758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
3759 {
3760 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3761 if (PyErr_Occurred()) SWIG_fail;
3762 }
3763 {
3764 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3765 if (PyErr_Occurred()) SWIG_fail;
3766 }
d14a1e28
RD
3767 {
3768 PyThreadState* __tstate = wxPyBeginAllowThreads();
3769 {
3770 wxRect &_result_ref = (arg1)->Deflate(arg2,arg3);
3771 result = (wxRect *) &_result_ref;
3772 }
3773
3774 wxPyEndAllowThreads(__tstate);
3775 if (PyErr_Occurred()) SWIG_fail;
3776 }
3777 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3778 return resultobj;
3779 fail:
3780 return NULL;
3781}
3782
3783
3784static PyObject *_wrap_Rect_OffsetXY(PyObject *self, PyObject *args, PyObject *kwargs) {
3785 PyObject *resultobj;
3786 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
3787 int arg2 ;
3788 int arg3 ;
d14a1e28 3789 PyObject * obj0 = 0 ;
994141e6
RD
3790 PyObject * obj1 = 0 ;
3791 PyObject * obj2 = 0 ;
d14a1e28
RD
3792 char *kwnames[] = {
3793 (char *) "self",(char *) "dx",(char *) "dy", NULL
3794 };
3795
994141e6 3796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_OffsetXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 3797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
3798 {
3799 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3800 if (PyErr_Occurred()) SWIG_fail;
3801 }
3802 {
3803 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3804 if (PyErr_Occurred()) SWIG_fail;
3805 }
d14a1e28
RD
3806 {
3807 PyThreadState* __tstate = wxPyBeginAllowThreads();
3808 (arg1)->Offset(arg2,arg3);
3809
3810 wxPyEndAllowThreads(__tstate);
3811 if (PyErr_Occurred()) SWIG_fail;
3812 }
3813 Py_INCREF(Py_None); resultobj = Py_None;
3814 return resultobj;
3815 fail:
3816 return NULL;
3817}
3818
3819
3820static PyObject *_wrap_Rect_Offset(PyObject *self, PyObject *args, PyObject *kwargs) {
3821 PyObject *resultobj;
3822 wxRect *arg1 = (wxRect *) 0 ;
3823 wxPoint *arg2 = 0 ;
3824 wxPoint temp2 ;
3825 PyObject * obj0 = 0 ;
3826 PyObject * obj1 = 0 ;
3827 char *kwnames[] = {
3828 (char *) "self",(char *) "pt", NULL
3829 };
3830
3831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Offset",kwnames,&obj0,&obj1)) goto fail;
3832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3833 {
3834 arg2 = &temp2;
3835 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3836 }
3837 {
3838 PyThreadState* __tstate = wxPyBeginAllowThreads();
3839 (arg1)->Offset((wxPoint const &)*arg2);
3840
3841 wxPyEndAllowThreads(__tstate);
3842 if (PyErr_Occurred()) SWIG_fail;
3843 }
3844 Py_INCREF(Py_None); resultobj = Py_None;
3845 return resultobj;
3846 fail:
3847 return NULL;
3848}
3849
3850
3851static PyObject *_wrap_Rect_Intersect(PyObject *self, PyObject *args, PyObject *kwargs) {
3852 PyObject *resultobj;
3853 wxRect *arg1 = (wxRect *) 0 ;
3854 wxRect *arg2 = 0 ;
3855 wxRect *result;
3856 wxRect temp2 ;
3857 PyObject * obj0 = 0 ;
3858 PyObject * obj1 = 0 ;
3859 char *kwnames[] = {
3860 (char *) "self",(char *) "rect", NULL
3861 };
3862
3863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersect",kwnames,&obj0,&obj1)) goto fail;
3864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3865 {
3866 arg2 = &temp2;
3867 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3868 }
3869 {
3870 PyThreadState* __tstate = wxPyBeginAllowThreads();
3871 {
3872 wxRect &_result_ref = (arg1)->Intersect((wxRect const &)*arg2);
3873 result = (wxRect *) &_result_ref;
3874 }
3875
3876 wxPyEndAllowThreads(__tstate);
3877 if (PyErr_Occurred()) SWIG_fail;
3878 }
3879 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3880 return resultobj;
3881 fail:
3882 return NULL;
3883}
3884
3885
3886static PyObject *_wrap_Rect___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
3887 PyObject *resultobj;
3888 wxRect *arg1 = (wxRect *) 0 ;
3889 wxRect *arg2 = 0 ;
3890 wxRect result;
3891 wxRect temp2 ;
3892 PyObject * obj0 = 0 ;
3893 PyObject * obj1 = 0 ;
3894 char *kwnames[] = {
3895 (char *) "self",(char *) "rect", NULL
3896 };
3897
3898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___add__",kwnames,&obj0,&obj1)) goto fail;
3899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3900 {
3901 arg2 = &temp2;
3902 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3903 }
3904 {
3905 PyThreadState* __tstate = wxPyBeginAllowThreads();
3906 result = ((wxRect const *)arg1)->operator +((wxRect const &)*arg2);
3907
3908 wxPyEndAllowThreads(__tstate);
3909 if (PyErr_Occurred()) SWIG_fail;
3910 }
3911 {
3912 wxRect * resultptr;
3913 resultptr = new wxRect((wxRect &) result);
3914 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
3915 }
3916 return resultobj;
3917 fail:
3918 return NULL;
3919}
3920
3921
3922static PyObject *_wrap_Rect___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
3923 PyObject *resultobj;
3924 wxRect *arg1 = (wxRect *) 0 ;
3925 wxRect *arg2 = 0 ;
3926 wxRect *result;
3927 wxRect temp2 ;
3928 PyObject * obj0 = 0 ;
3929 PyObject * obj1 = 0 ;
3930 char *kwnames[] = {
3931 (char *) "self",(char *) "rect", NULL
3932 };
3933
3934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___iadd__",kwnames,&obj0,&obj1)) goto fail;
3935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3936 {
3937 arg2 = &temp2;
3938 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3939 }
3940 {
3941 PyThreadState* __tstate = wxPyBeginAllowThreads();
3942 {
3943 wxRect &_result_ref = (arg1)->operator +=((wxRect const &)*arg2);
3944 result = (wxRect *) &_result_ref;
3945 }
3946
3947 wxPyEndAllowThreads(__tstate);
3948 if (PyErr_Occurred()) SWIG_fail;
3949 }
3950 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3951 return resultobj;
3952 fail:
3953 return NULL;
3954}
3955
3956
3957static PyObject *_wrap_Rect___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
3958 PyObject *resultobj;
3959 wxRect *arg1 = (wxRect *) 0 ;
3960 wxRect *arg2 = 0 ;
3961 bool result;
3962 wxRect temp2 ;
3963 PyObject * obj0 = 0 ;
3964 PyObject * obj1 = 0 ;
3965 char *kwnames[] = {
3966 (char *) "self",(char *) "rect", NULL
3967 };
3968
3969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___eq__",kwnames,&obj0,&obj1)) goto fail;
3970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3971 {
3972 arg2 = &temp2;
3973 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3974 }
3975 {
3976 PyThreadState* __tstate = wxPyBeginAllowThreads();
3977 result = (bool)((wxRect const *)arg1)->operator ==((wxRect const &)*arg2);
3978
3979 wxPyEndAllowThreads(__tstate);
3980 if (PyErr_Occurred()) SWIG_fail;
3981 }
4d5c3d91 3982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
3983 return resultobj;
3984 fail:
3985 return NULL;
3986}
3987
3988
3989static PyObject *_wrap_Rect___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
3990 PyObject *resultobj;
3991 wxRect *arg1 = (wxRect *) 0 ;
3992 wxRect *arg2 = 0 ;
3993 bool result;
3994 wxRect temp2 ;
3995 PyObject * obj0 = 0 ;
3996 PyObject * obj1 = 0 ;
3997 char *kwnames[] = {
3998 (char *) "self",(char *) "rect", NULL
3999 };
4000
4001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___ne__",kwnames,&obj0,&obj1)) goto fail;
4002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4003 {
4004 arg2 = &temp2;
4005 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4006 }
4007 {
4008 PyThreadState* __tstate = wxPyBeginAllowThreads();
4009 result = (bool)((wxRect const *)arg1)->operator !=((wxRect const &)*arg2);
4010
4011 wxPyEndAllowThreads(__tstate);
4012 if (PyErr_Occurred()) SWIG_fail;
4013 }
4d5c3d91 4014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4015 return resultobj;
4016 fail:
4017 return NULL;
4018}
4019
4020
4021static PyObject *_wrap_Rect_InsideXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4022 PyObject *resultobj;
4023 wxRect *arg1 = (wxRect *) 0 ;
4024 int arg2 ;
4025 int arg3 ;
4026 bool result;
4027 PyObject * obj0 = 0 ;
994141e6
RD
4028 PyObject * obj1 = 0 ;
4029 PyObject * obj2 = 0 ;
d14a1e28
RD
4030 char *kwnames[] = {
4031 (char *) "self",(char *) "x",(char *) "y", NULL
4032 };
4033
994141e6 4034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_InsideXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 4035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
4036 {
4037 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4038 if (PyErr_Occurred()) SWIG_fail;
4039 }
4040 {
4041 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4042 if (PyErr_Occurred()) SWIG_fail;
4043 }
d14a1e28
RD
4044 {
4045 PyThreadState* __tstate = wxPyBeginAllowThreads();
4046 result = (bool)((wxRect const *)arg1)->Inside(arg2,arg3);
4047
4048 wxPyEndAllowThreads(__tstate);
4049 if (PyErr_Occurred()) SWIG_fail;
4050 }
4d5c3d91 4051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4052 return resultobj;
4053 fail:
4054 return NULL;
4055}
4056
4057
4058static PyObject *_wrap_Rect_Inside(PyObject *self, PyObject *args, PyObject *kwargs) {
4059 PyObject *resultobj;
4060 wxRect *arg1 = (wxRect *) 0 ;
4061 wxPoint *arg2 = 0 ;
4062 bool result;
4063 wxPoint temp2 ;
4064 PyObject * obj0 = 0 ;
4065 PyObject * obj1 = 0 ;
4066 char *kwnames[] = {
4067 (char *) "self",(char *) "pt", NULL
4068 };
4069
4070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) goto fail;
4071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4072 {
4073 arg2 = &temp2;
4074 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4075 }
4076 {
4077 PyThreadState* __tstate = wxPyBeginAllowThreads();
4078 result = (bool)((wxRect const *)arg1)->Inside((wxPoint const &)*arg2);
4079
4080 wxPyEndAllowThreads(__tstate);
4081 if (PyErr_Occurred()) SWIG_fail;
4082 }
4d5c3d91 4083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4084 return resultobj;
4085 fail:
4086 return NULL;
4087}
4088
4089
4090static PyObject *_wrap_Rect_Intersects(PyObject *self, PyObject *args, PyObject *kwargs) {
4091 PyObject *resultobj;
4092 wxRect *arg1 = (wxRect *) 0 ;
4093 wxRect *arg2 = 0 ;
4094 bool result;
4095 wxRect temp2 ;
4096 PyObject * obj0 = 0 ;
4097 PyObject * obj1 = 0 ;
4098 char *kwnames[] = {
4099 (char *) "self",(char *) "rect", NULL
4100 };
4101
4102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersects",kwnames,&obj0,&obj1)) goto fail;
4103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4104 {
4105 arg2 = &temp2;
4106 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4107 }
4108 {
4109 PyThreadState* __tstate = wxPyBeginAllowThreads();
4110 result = (bool)((wxRect const *)arg1)->Intersects((wxRect const &)*arg2);
4111
4112 wxPyEndAllowThreads(__tstate);
4113 if (PyErr_Occurred()) SWIG_fail;
4114 }
4d5c3d91 4115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4116 return resultobj;
4117 fail:
4118 return NULL;
4119}
4120
4121
4122static PyObject *_wrap_Rect_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4123 PyObject *resultobj;
4124 wxRect *arg1 = (wxRect *) 0 ;
4125 int arg2 ;
4126 PyObject * obj0 = 0 ;
994141e6 4127 PyObject * obj1 = 0 ;
d14a1e28
RD
4128 char *kwnames[] = {
4129 (char *) "self",(char *) "x", NULL
4130 };
4131
994141e6 4132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_x_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 4133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
4134 {
4135 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4136 if (PyErr_Occurred()) SWIG_fail;
4137 }
d14a1e28
RD
4138 if (arg1) (arg1)->x = arg2;
4139
4140 Py_INCREF(Py_None); resultobj = Py_None;
4141 return resultobj;
4142 fail:
4143 return NULL;
4144}
4145
4146
4147static PyObject *_wrap_Rect_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4148 PyObject *resultobj;
4149 wxRect *arg1 = (wxRect *) 0 ;
4150 int result;
4151 PyObject * obj0 = 0 ;
4152 char *kwnames[] = {
4153 (char *) "self", NULL
4154 };
4155
4156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_x_get",kwnames,&obj0)) goto fail;
4157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4158 result = (int) ((arg1)->x);
4159
994141e6 4160 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
4161 return resultobj;
4162 fail:
4163 return NULL;
4164}
4165
4166
4167static PyObject *_wrap_Rect_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4168 PyObject *resultobj;
4169 wxRect *arg1 = (wxRect *) 0 ;
4170 int arg2 ;
4171 PyObject * obj0 = 0 ;
994141e6 4172 PyObject * obj1 = 0 ;
d14a1e28
RD
4173 char *kwnames[] = {
4174 (char *) "self",(char *) "y", NULL
4175 };
4176
994141e6 4177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_y_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 4178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
4179 {
4180 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4181 if (PyErr_Occurred()) SWIG_fail;
4182 }
d14a1e28
RD
4183 if (arg1) (arg1)->y = arg2;
4184
4185 Py_INCREF(Py_None); resultobj = Py_None;
4186 return resultobj;
4187 fail:
4188 return NULL;
4189}
4190
4191
4192static PyObject *_wrap_Rect_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4193 PyObject *resultobj;
4194 wxRect *arg1 = (wxRect *) 0 ;
4195 int result;
4196 PyObject * obj0 = 0 ;
4197 char *kwnames[] = {
4198 (char *) "self", NULL
4199 };
4200
4201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_y_get",kwnames,&obj0)) goto fail;
4202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4203 result = (int) ((arg1)->y);
4204
994141e6 4205 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
4206 return resultobj;
4207 fail:
4208 return NULL;
4209}
4210
4211
4212static PyObject *_wrap_Rect_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4213 PyObject *resultobj;
4214 wxRect *arg1 = (wxRect *) 0 ;
4215 int arg2 ;
4216 PyObject * obj0 = 0 ;
994141e6 4217 PyObject * obj1 = 0 ;
d14a1e28
RD
4218 char *kwnames[] = {
4219 (char *) "self",(char *) "width", NULL
4220 };
4221
994141e6 4222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_width_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 4223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
4224 {
4225 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4226 if (PyErr_Occurred()) SWIG_fail;
4227 }
d14a1e28
RD
4228 if (arg1) (arg1)->width = arg2;
4229
4230 Py_INCREF(Py_None); resultobj = Py_None;
4231 return resultobj;
4232 fail:
4233 return NULL;
4234}
4235
4236
4237static PyObject *_wrap_Rect_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4238 PyObject *resultobj;
4239 wxRect *arg1 = (wxRect *) 0 ;
4240 int result;
4241 PyObject * obj0 = 0 ;
4242 char *kwnames[] = {
4243 (char *) "self", NULL
4244 };
4245
4246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_width_get",kwnames,&obj0)) goto fail;
4247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4248 result = (int) ((arg1)->width);
4249
994141e6 4250 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
4251 return resultobj;
4252 fail:
4253 return NULL;
4254}
4255
4256
4257static PyObject *_wrap_Rect_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4258 PyObject *resultobj;
4259 wxRect *arg1 = (wxRect *) 0 ;
4260 int arg2 ;
4261 PyObject * obj0 = 0 ;
994141e6 4262 PyObject * obj1 = 0 ;
d14a1e28
RD
4263 char *kwnames[] = {
4264 (char *) "self",(char *) "height", NULL
4265 };
4266
994141e6 4267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_height_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 4268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
4269 {
4270 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4271 if (PyErr_Occurred()) SWIG_fail;
4272 }
d14a1e28
RD
4273 if (arg1) (arg1)->height = arg2;
4274
4275 Py_INCREF(Py_None); resultobj = Py_None;
4276 return resultobj;
4277 fail:
4278 return NULL;
4279}
4280
4281
4282static PyObject *_wrap_Rect_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4283 PyObject *resultobj;
4284 wxRect *arg1 = (wxRect *) 0 ;
4285 int result;
4286 PyObject * obj0 = 0 ;
4287 char *kwnames[] = {
4288 (char *) "self", NULL
4289 };
4290
4291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_height_get",kwnames,&obj0)) goto fail;
4292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4293 result = (int) ((arg1)->height);
4294
994141e6 4295 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
4296 return resultobj;
4297 fail:
4298 return NULL;
4299}
4300
4301
4302static PyObject *_wrap_Rect_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4303 PyObject *resultobj;
4304 wxRect *arg1 = (wxRect *) 0 ;
4305 int arg2 = (int) 0 ;
4306 int arg3 = (int) 0 ;
4307 int arg4 = (int) 0 ;
4308 int arg5 = (int) 0 ;
4309 PyObject * obj0 = 0 ;
994141e6
RD
4310 PyObject * obj1 = 0 ;
4311 PyObject * obj2 = 0 ;
4312 PyObject * obj3 = 0 ;
4313 PyObject * obj4 = 0 ;
d14a1e28
RD
4314 char *kwnames[] = {
4315 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4316 };
4317
994141e6 4318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Rect_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28 4319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
4320 if (obj1) {
4321 {
4322 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4323 if (PyErr_Occurred()) SWIG_fail;
4324 }
4325 }
4326 if (obj2) {
4327 {
4328 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4329 if (PyErr_Occurred()) SWIG_fail;
4330 }
4331 }
4332 if (obj3) {
4333 {
4334 arg4 = (int) SWIG_PyObj_AsInt(obj3);
4335 if (PyErr_Occurred()) SWIG_fail;
4336 }
4337 }
4338 if (obj4) {
4339 {
4340 arg5 = (int) SWIG_PyObj_AsInt(obj4);
4341 if (PyErr_Occurred()) SWIG_fail;
4342 }
4343 }
d14a1e28
RD
4344 {
4345 PyThreadState* __tstate = wxPyBeginAllowThreads();
4346 wxRect_Set(arg1,arg2,arg3,arg4,arg5);
4347
4348 wxPyEndAllowThreads(__tstate);
4349 if (PyErr_Occurred()) SWIG_fail;
4350 }
4351 Py_INCREF(Py_None); resultobj = Py_None;
4352 return resultobj;
4353 fail:
4354 return NULL;
4355}
4356
4357
e811c8ce 4358static PyObject *_wrap_Rect_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4359 PyObject *resultobj;
4360 wxRect *arg1 = (wxRect *) 0 ;
4361 PyObject *result;
4362 PyObject * obj0 = 0 ;
4363 char *kwnames[] = {
4364 (char *) "self", NULL
4365 };
4366
e811c8ce 4367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
4368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4369 {
4370 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 4371 result = (PyObject *)wxRect_Get(arg1);
d14a1e28
RD
4372
4373 wxPyEndAllowThreads(__tstate);
4374 if (PyErr_Occurred()) SWIG_fail;
4375 }
4376 resultobj = result;
4377 return resultobj;
4378 fail:
4379 return NULL;
4380}
4381
4382
4383static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
4384 PyObject *obj;
4385 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4386 SWIG_TypeClientData(SWIGTYPE_p_wxRect, obj);
4387 Py_INCREF(obj);
4388 return Py_BuildValue((char *)"");
4389}
4390static PyObject *_wrap_IntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4391 PyObject *resultobj;
4392 wxRect *arg1 = (wxRect *) 0 ;
4393 wxRect *arg2 = (wxRect *) 0 ;
4394 PyObject *result;
4395 PyObject * obj0 = 0 ;
4396 PyObject * obj1 = 0 ;
4397 char *kwnames[] = {
4398 (char *) "r1",(char *) "r2", NULL
4399 };
4400
4401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IntersectRect",kwnames,&obj0,&obj1)) goto fail;
4402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4403 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4404 {
4405 PyThreadState* __tstate = wxPyBeginAllowThreads();
4406 result = (PyObject *)wxIntersectRect(arg1,arg2);
4407
4408 wxPyEndAllowThreads(__tstate);
4409 if (PyErr_Occurred()) SWIG_fail;
4410 }
4411 resultobj = result;
4412 return resultobj;
4413 fail:
4414 return NULL;
4415}
4416
4417
4418static PyObject *_wrap_new_Point2D(PyObject *self, PyObject *args, PyObject *kwargs) {
4419 PyObject *resultobj;
4420 double arg1 = (double) 0.0 ;
4421 double arg2 = (double) 0.0 ;
4422 wxPoint2D *result;
994141e6
RD
4423 PyObject * obj0 = 0 ;
4424 PyObject * obj1 = 0 ;
d14a1e28
RD
4425 char *kwnames[] = {
4426 (char *) "x",(char *) "y", NULL
4427 };
4428
994141e6
RD
4429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point2D",kwnames,&obj0,&obj1)) goto fail;
4430 if (obj0) {
4431 {
4432 arg1 = (double) SWIG_PyObj_AsDouble(obj0);
4433 if (PyErr_Occurred()) SWIG_fail;
4434 }
4435 }
4436 if (obj1) {
4437 {
4438 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
4439 if (PyErr_Occurred()) SWIG_fail;
4440 }
4441 }
d14a1e28
RD
4442 {
4443 PyThreadState* __tstate = wxPyBeginAllowThreads();
4444 result = (wxPoint2D *)new wxPoint2D(arg1,arg2);
4445
4446 wxPyEndAllowThreads(__tstate);
4447 if (PyErr_Occurred()) SWIG_fail;
4448 }
4449 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 1);
4450 return resultobj;
4451 fail:
4452 return NULL;
4453}
4454
4455
4456static PyObject *_wrap_new_Point2DCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
4457 PyObject *resultobj;
4458 wxPoint2D *arg1 = 0 ;
4459 wxPoint2D *result;
4460 wxPoint2D temp1 ;
4461 PyObject * obj0 = 0 ;
4462 char *kwnames[] = {
4463 (char *) "pt", NULL
4464 };
4465
4466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DCopy",kwnames,&obj0)) goto fail;
4467 {
4468 arg1 = &temp1;
4469 if ( ! wxPoint2D_helper(obj0, &arg1)) SWIG_fail;
4470 }
4471 {
4472 PyThreadState* __tstate = wxPyBeginAllowThreads();
4473 result = (wxPoint2D *)new wxPoint2D((wxPoint2D const &)*arg1);
4474
4475 wxPyEndAllowThreads(__tstate);
4476 if (PyErr_Occurred()) SWIG_fail;
4477 }
4478 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 1);
4479 return resultobj;
4480 fail:
4481 return NULL;
4482}
4483
4484
4485static PyObject *_wrap_new_Point2DFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4486 PyObject *resultobj;
4487 wxPoint *arg1 = 0 ;
4488 wxPoint2D *result;
4489 wxPoint temp1 ;
4490 PyObject * obj0 = 0 ;
4491 char *kwnames[] = {
4492 (char *) "pt", NULL
4493 };
4494
4495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DFromPoint",kwnames,&obj0)) goto fail;
4496 {
4497 arg1 = &temp1;
4498 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4499 }
4500 {
4501 PyThreadState* __tstate = wxPyBeginAllowThreads();
4502 result = (wxPoint2D *)new wxPoint2D((wxPoint const &)*arg1);
4503
4504 wxPyEndAllowThreads(__tstate);
4505 if (PyErr_Occurred()) SWIG_fail;
4506 }
4507 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 1);
4508 return resultobj;
4509 fail:
4510 return NULL;
4511}
4512
4513
4514static PyObject *_wrap_Point2D_GetFloor(PyObject *self, PyObject *args, PyObject *kwargs) {
4515 PyObject *resultobj;
4516 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4517 int *arg2 = (int *) 0 ;
4518 int *arg3 = (int *) 0 ;
4519 int temp2 ;
4520 int temp3 ;
4521 PyObject * obj0 = 0 ;
4522 char *kwnames[] = {
4523 (char *) "self", NULL
4524 };
4525
4526 arg2 = &temp2;
4527 arg3 = &temp3;
4528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetFloor",kwnames,&obj0)) goto fail;
4529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4530 {
4531 PyThreadState* __tstate = wxPyBeginAllowThreads();
4532 ((wxPoint2D const *)arg1)->GetFloor(arg2,arg3);
4533
4534 wxPyEndAllowThreads(__tstate);
4535 if (PyErr_Occurred()) SWIG_fail;
4536 }
4537 Py_INCREF(Py_None); resultobj = Py_None;
4538 {
4539 PyObject *o = PyInt_FromLong((long) (*arg2));
4540 resultobj = t_output_helper(resultobj,o);
4541 }
4542 {
4543 PyObject *o = PyInt_FromLong((long) (*arg3));
4544 resultobj = t_output_helper(resultobj,o);
4545 }
4546 return resultobj;
4547 fail:
4548 return NULL;
4549}
4550
4551
4552static PyObject *_wrap_Point2D_GetRounded(PyObject *self, PyObject *args, PyObject *kwargs) {
4553 PyObject *resultobj;
4554 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4555 int *arg2 = (int *) 0 ;
4556 int *arg3 = (int *) 0 ;
4557 int temp2 ;
4558 int temp3 ;
4559 PyObject * obj0 = 0 ;
4560 char *kwnames[] = {
4561 (char *) "self", NULL
4562 };
4563
4564 arg2 = &temp2;
4565 arg3 = &temp3;
4566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetRounded",kwnames,&obj0)) goto fail;
4567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4568 {
4569 PyThreadState* __tstate = wxPyBeginAllowThreads();
4570 ((wxPoint2D const *)arg1)->GetRounded(arg2,arg3);
4571
4572 wxPyEndAllowThreads(__tstate);
4573 if (PyErr_Occurred()) SWIG_fail;
4574 }
4575 Py_INCREF(Py_None); resultobj = Py_None;
4576 {
4577 PyObject *o = PyInt_FromLong((long) (*arg2));
4578 resultobj = t_output_helper(resultobj,o);
4579 }
4580 {
4581 PyObject *o = PyInt_FromLong((long) (*arg3));
4582 resultobj = t_output_helper(resultobj,o);
4583 }
4584 return resultobj;
4585 fail:
4586 return NULL;
4587}
4588
4589
4590static PyObject *_wrap_Point2D_GetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
4591 PyObject *resultobj;
4592 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4593 double result;
4594 PyObject * obj0 = 0 ;
4595 char *kwnames[] = {
4596 (char *) "self", NULL
4597 };
4598
4599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorLength",kwnames,&obj0)) goto fail;
4600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4601 {
4602 PyThreadState* __tstate = wxPyBeginAllowThreads();
4603 result = (double)((wxPoint2D const *)arg1)->GetVectorLength();
4604
4605 wxPyEndAllowThreads(__tstate);
4606 if (PyErr_Occurred()) SWIG_fail;
4607 }
994141e6 4608 resultobj = SWIG_PyObj_FromDouble((double)result);
d14a1e28
RD
4609 return resultobj;
4610 fail:
4611 return NULL;
4612}
4613
4614
4615static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
4616 PyObject *resultobj;
4617 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4618 double result;
4619 PyObject * obj0 = 0 ;
4620 char *kwnames[] = {
4621 (char *) "self", NULL
4622 };
4623
4624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorAngle",kwnames,&obj0)) goto fail;
4625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4626 {
4627 PyThreadState* __tstate = wxPyBeginAllowThreads();
4628 result = (double)((wxPoint2D const *)arg1)->GetVectorAngle();
4629
4630 wxPyEndAllowThreads(__tstate);
4631 if (PyErr_Occurred()) SWIG_fail;
4632 }
994141e6 4633 resultobj = SWIG_PyObj_FromDouble((double)result);
d14a1e28
RD
4634 return resultobj;
4635 fail:
4636 return NULL;
4637}
4638
4639
4640static PyObject *_wrap_Point2D_SetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
4641 PyObject *resultobj;
4642 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4643 double arg2 ;
4644 PyObject * obj0 = 0 ;
994141e6 4645 PyObject * obj1 = 0 ;
d14a1e28
RD
4646 char *kwnames[] = {
4647 (char *) "self",(char *) "length", NULL
4648 };
4649
994141e6 4650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorLength",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 4651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
4652 {
4653 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
4654 if (PyErr_Occurred()) SWIG_fail;
4655 }
d14a1e28
RD
4656 {
4657 PyThreadState* __tstate = wxPyBeginAllowThreads();
4658 (arg1)->SetVectorLength(arg2);
4659
4660 wxPyEndAllowThreads(__tstate);
4661 if (PyErr_Occurred()) SWIG_fail;
4662 }
4663 Py_INCREF(Py_None); resultobj = Py_None;
4664 return resultobj;
4665 fail:
4666 return NULL;
4667}
4668
4669
4670static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
4671 PyObject *resultobj;
4672 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4673 double arg2 ;
4674 PyObject * obj0 = 0 ;
994141e6 4675 PyObject * obj1 = 0 ;
d14a1e28
RD
4676 char *kwnames[] = {
4677 (char *) "self",(char *) "degrees", NULL
4678 };
4679
994141e6 4680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorAngle",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 4681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
4682 {
4683 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
4684 if (PyErr_Occurred()) SWIG_fail;
4685 }
d14a1e28
RD
4686 {
4687 PyThreadState* __tstate = wxPyBeginAllowThreads();
4688 (arg1)->SetVectorAngle(arg2);
4689
4690 wxPyEndAllowThreads(__tstate);
4691 if (PyErr_Occurred()) SWIG_fail;
4692 }
4693 Py_INCREF(Py_None); resultobj = Py_None;
4694 return resultobj;
4695 fail:
4696 return NULL;
4697}
4698
4699
4700static PyObject *_wrap_Point2D_GetDistance(PyObject *self, PyObject *args, PyObject *kwargs) {
4701 PyObject *resultobj;
4702 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4703 wxPoint2D *arg2 = 0 ;
4704 double result;
4705 wxPoint2D temp2 ;
4706 PyObject * obj0 = 0 ;
4707 PyObject * obj1 = 0 ;
4708 char *kwnames[] = {
4709 (char *) "self",(char *) "pt", NULL
4710 };
4711
4712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistance",kwnames,&obj0,&obj1)) goto fail;
4713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4714 {
4715 arg2 = &temp2;
4716 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4717 }
4718 {
4719 PyThreadState* __tstate = wxPyBeginAllowThreads();
4720 result = (double)((wxPoint2D const *)arg1)->GetDistance((wxPoint2D const &)*arg2);
4721
4722 wxPyEndAllowThreads(__tstate);
4723 if (PyErr_Occurred()) SWIG_fail;
4724 }
994141e6 4725 resultobj = SWIG_PyObj_FromDouble((double)result);
d14a1e28
RD
4726 return resultobj;
4727 fail:
4728 return NULL;
4729}
4730
4731
4732static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *self, PyObject *args, PyObject *kwargs) {
4733 PyObject *resultobj;
4734 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4735 wxPoint2D *arg2 = 0 ;
4736 double result;
4737 wxPoint2D temp2 ;
4738 PyObject * obj0 = 0 ;
4739 PyObject * obj1 = 0 ;
4740 char *kwnames[] = {
4741 (char *) "self",(char *) "pt", NULL
4742 };
4743
4744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistanceSquare",kwnames,&obj0,&obj1)) goto fail;
4745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4746 {
4747 arg2 = &temp2;
4748 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4749 }
4750 {
4751 PyThreadState* __tstate = wxPyBeginAllowThreads();
4752 result = (double)((wxPoint2D const *)arg1)->GetDistanceSquare((wxPoint2D const &)*arg2);
4753
4754 wxPyEndAllowThreads(__tstate);
4755 if (PyErr_Occurred()) SWIG_fail;
4756 }
994141e6 4757 resultobj = SWIG_PyObj_FromDouble((double)result);
d14a1e28
RD
4758 return resultobj;
4759 fail:
4760 return NULL;
4761}
4762
4763
4764static PyObject *_wrap_Point2D_GetDotProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
4765 PyObject *resultobj;
4766 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4767 wxPoint2D *arg2 = 0 ;
4768 double result;
4769 wxPoint2D temp2 ;
4770 PyObject * obj0 = 0 ;
4771 PyObject * obj1 = 0 ;
4772 char *kwnames[] = {
4773 (char *) "self",(char *) "vec", NULL
4774 };
4775
4776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDotProduct",kwnames,&obj0,&obj1)) goto fail;
4777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4778 {
4779 arg2 = &temp2;
4780 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4781 }
4782 {
4783 PyThreadState* __tstate = wxPyBeginAllowThreads();
4784 result = (double)((wxPoint2D const *)arg1)->GetDotProduct((wxPoint2D const &)*arg2);
4785
4786 wxPyEndAllowThreads(__tstate);
4787 if (PyErr_Occurred()) SWIG_fail;
4788 }
994141e6 4789 resultobj = SWIG_PyObj_FromDouble((double)result);
d14a1e28
RD
4790 return resultobj;
4791 fail:
4792 return NULL;
4793}
4794
4795
4796static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
4797 PyObject *resultobj;
4798 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4799 wxPoint2D *arg2 = 0 ;
4800 double result;
4801 wxPoint2D temp2 ;
4802 PyObject * obj0 = 0 ;
4803 PyObject * obj1 = 0 ;
4804 char *kwnames[] = {
4805 (char *) "self",(char *) "vec", NULL
4806 };
4807
4808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetCrossProduct",kwnames,&obj0,&obj1)) goto fail;
4809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4810 {
4811 arg2 = &temp2;
4812 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4813 }
4814 {
4815 PyThreadState* __tstate = wxPyBeginAllowThreads();
4816 result = (double)((wxPoint2D const *)arg1)->GetCrossProduct((wxPoint2D const &)*arg2);
4817
4818 wxPyEndAllowThreads(__tstate);
4819 if (PyErr_Occurred()) SWIG_fail;
4820 }
994141e6 4821 resultobj = SWIG_PyObj_FromDouble((double)result);
d14a1e28
RD
4822 return resultobj;
4823 fail:
4824 return NULL;
4825}
4826
4827
4828static PyObject *_wrap_Point2D___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
4829 PyObject *resultobj;
4830 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4831 wxPoint2D result;
4832 PyObject * obj0 = 0 ;
4833 char *kwnames[] = {
4834 (char *) "self", NULL
4835 };
4836
4837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D___neg__",kwnames,&obj0)) goto fail;
4838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4839 {
4840 PyThreadState* __tstate = wxPyBeginAllowThreads();
4841 result = (arg1)->operator -();
4842
4843 wxPyEndAllowThreads(__tstate);
4844 if (PyErr_Occurred()) SWIG_fail;
4845 }
4846 {
4847 wxPoint2D * resultptr;
4848 resultptr = new wxPoint2D((wxPoint2D &) result);
4849 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint2D, 1);
4850 }
4851 return resultobj;
4852 fail:
4853 return NULL;
4854}
4855
4856
4857static PyObject *_wrap_Point2D___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
4858 PyObject *resultobj;
4859 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4860 wxPoint2D *arg2 = 0 ;
4861 wxPoint2D *result;
4862 wxPoint2D temp2 ;
4863 PyObject * obj0 = 0 ;
4864 PyObject * obj1 = 0 ;
4865 char *kwnames[] = {
4866 (char *) "self",(char *) "pt", NULL
4867 };
4868
4869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___iadd__",kwnames,&obj0,&obj1)) goto fail;
4870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4871 {
4872 arg2 = &temp2;
4873 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4874 }
4875 {
4876 PyThreadState* __tstate = wxPyBeginAllowThreads();
4877 {
4878 wxPoint2D &_result_ref = (arg1)->operator +=((wxPoint2D const &)*arg2);
4879 result = (wxPoint2D *) &_result_ref;
4880 }
4881
4882 wxPyEndAllowThreads(__tstate);
4883 if (PyErr_Occurred()) SWIG_fail;
4884 }
4885 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4886 return resultobj;
4887 fail:
4888 return NULL;
4889}
4890
4891
4892static PyObject *_wrap_Point2D___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
4893 PyObject *resultobj;
4894 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4895 wxPoint2D *arg2 = 0 ;
4896 wxPoint2D *result;
4897 wxPoint2D temp2 ;
4898 PyObject * obj0 = 0 ;
4899 PyObject * obj1 = 0 ;
4900 char *kwnames[] = {
4901 (char *) "self",(char *) "pt", NULL
4902 };
4903
4904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___isub__",kwnames,&obj0,&obj1)) goto fail;
4905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4906 {
4907 arg2 = &temp2;
4908 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4909 }
4910 {
4911 PyThreadState* __tstate = wxPyBeginAllowThreads();
4912 {
4913 wxPoint2D &_result_ref = (arg1)->operator -=((wxPoint2D const &)*arg2);
4914 result = (wxPoint2D *) &_result_ref;
4915 }
4916
4917 wxPyEndAllowThreads(__tstate);
4918 if (PyErr_Occurred()) SWIG_fail;
4919 }
4920 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4921 return resultobj;
4922 fail:
4923 return NULL;
4924}
4925
4926
4927static PyObject *_wrap_Point2D___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
4928 PyObject *resultobj;
4929 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4930 wxPoint2D *arg2 = 0 ;
4931 wxPoint2D *result;
4932 wxPoint2D temp2 ;
4933 PyObject * obj0 = 0 ;
4934 PyObject * obj1 = 0 ;
4935 char *kwnames[] = {
4936 (char *) "self",(char *) "pt", NULL
4937 };
4938
4939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___imul__",kwnames,&obj0,&obj1)) goto fail;
4940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4941 {
4942 arg2 = &temp2;
4943 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4944 }
4945 {
4946 PyThreadState* __tstate = wxPyBeginAllowThreads();
4947 {
4948 wxPoint2D &_result_ref = (arg1)->operator *=((wxPoint2D const &)*arg2);
4949 result = (wxPoint2D *) &_result_ref;
4950 }
4951
4952 wxPyEndAllowThreads(__tstate);
4953 if (PyErr_Occurred()) SWIG_fail;
4954 }
4955 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4956 return resultobj;
4957 fail:
4958 return NULL;
4959}
4960
4961
4962static PyObject *_wrap_Point2D___idiv__(PyObject *self, PyObject *args, PyObject *kwargs) {
4963 PyObject *resultobj;
4964 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4965 wxPoint2D *arg2 = 0 ;
4966 wxPoint2D *result;
4967 wxPoint2D temp2 ;
4968 PyObject * obj0 = 0 ;
4969 PyObject * obj1 = 0 ;
4970 char *kwnames[] = {
4971 (char *) "self",(char *) "pt", NULL
4972 };
4973
4974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___idiv__",kwnames,&obj0,&obj1)) goto fail;
4975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4976 {
4977 arg2 = &temp2;
4978 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4979 }
4980 {
4981 PyThreadState* __tstate = wxPyBeginAllowThreads();
4982 {
4983 wxPoint2D &_result_ref = (arg1)->operator /=((wxPoint2D const &)*arg2);
4984 result = (wxPoint2D *) &_result_ref;
4985 }
4986
4987 wxPyEndAllowThreads(__tstate);
4988 if (PyErr_Occurred()) SWIG_fail;
4989 }
4990 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4991 return resultobj;
4992 fail:
4993 return NULL;
4994}
4995
4996
4997static PyObject *_wrap_Point2D___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
4998 PyObject *resultobj;
4999 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5000 wxPoint2D *arg2 = 0 ;
5001 bool result;
5002 wxPoint2D temp2 ;
5003 PyObject * obj0 = 0 ;
5004 PyObject * obj1 = 0 ;
5005 char *kwnames[] = {
5006 (char *) "self",(char *) "pt", NULL
5007 };
5008
5009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___eq__",kwnames,&obj0,&obj1)) goto fail;
5010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5011 {
5012 arg2 = &temp2;
5013 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5014 }
5015 {
5016 PyThreadState* __tstate = wxPyBeginAllowThreads();
5017 result = (bool)((wxPoint2D const *)arg1)->operator ==((wxPoint2D const &)*arg2);
5018
5019 wxPyEndAllowThreads(__tstate);
5020 if (PyErr_Occurred()) SWIG_fail;
5021 }
4d5c3d91 5022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5023 return resultobj;
5024 fail:
5025 return NULL;
5026}
5027
5028
5029static PyObject *_wrap_Point2D___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
5030 PyObject *resultobj;
5031 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5032 wxPoint2D *arg2 = 0 ;
5033 bool result;
5034 wxPoint2D temp2 ;
5035 PyObject * obj0 = 0 ;
5036 PyObject * obj1 = 0 ;
5037 char *kwnames[] = {
5038 (char *) "self",(char *) "pt", NULL
5039 };
5040
5041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___ne__",kwnames,&obj0,&obj1)) goto fail;
5042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5043 {
5044 arg2 = &temp2;
5045 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5046 }
5047 {
5048 PyThreadState* __tstate = wxPyBeginAllowThreads();
5049 result = (bool)((wxPoint2D const *)arg1)->operator !=((wxPoint2D const &)*arg2);
5050
5051 wxPyEndAllowThreads(__tstate);
5052 if (PyErr_Occurred()) SWIG_fail;
5053 }
4d5c3d91 5054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5055 return resultobj;
5056 fail:
5057 return NULL;
5058}
5059
5060
d14a1e28
RD
5061static PyObject *_wrap_Point2D_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5062 PyObject *resultobj;
5063 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5064 double arg2 ;
5065 PyObject * obj0 = 0 ;
994141e6 5066 PyObject * obj1 = 0 ;
d14a1e28
RD
5067 char *kwnames[] = {
5068 (char *) "self",(char *) "m_x", NULL
5069 };
5070
994141e6 5071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_x_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 5072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
5073 {
5074 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
5075 if (PyErr_Occurred()) SWIG_fail;
5076 }
d14a1e28
RD
5077 if (arg1) (arg1)->m_x = arg2;
5078
5079 Py_INCREF(Py_None); resultobj = Py_None;
5080 return resultobj;
5081 fail:
5082 return NULL;
5083}
5084
5085
5086static PyObject *_wrap_Point2D_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5087 PyObject *resultobj;
5088 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5089 double result;
5090 PyObject * obj0 = 0 ;
5091 char *kwnames[] = {
5092 (char *) "self", NULL
5093 };
5094
5095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_x_get",kwnames,&obj0)) goto fail;
5096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5097 result = (double) ((arg1)->m_x);
5098
994141e6 5099 resultobj = SWIG_PyObj_FromDouble((double)result);
d14a1e28
RD
5100 return resultobj;
5101 fail:
5102 return NULL;
5103}
5104
5105
5106static PyObject *_wrap_Point2D_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5107 PyObject *resultobj;
5108 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5109 double arg2 ;
5110 PyObject * obj0 = 0 ;
994141e6 5111 PyObject * obj1 = 0 ;
d14a1e28
RD
5112 char *kwnames[] = {
5113 (char *) "self",(char *) "m_y", NULL
5114 };
5115
994141e6 5116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_y_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 5117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
5118 {
5119 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
5120 if (PyErr_Occurred()) SWIG_fail;
5121 }
d14a1e28
RD
5122 if (arg1) (arg1)->m_y = arg2;
5123
5124 Py_INCREF(Py_None); resultobj = Py_None;
5125 return resultobj;
5126 fail:
5127 return NULL;
5128}
5129
5130
5131static PyObject *_wrap_Point2D_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5132 PyObject *resultobj;
5133 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5134 double result;
5135 PyObject * obj0 = 0 ;
5136 char *kwnames[] = {
5137 (char *) "self", NULL
5138 };
5139
5140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_y_get",kwnames,&obj0)) goto fail;
5141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5142 result = (double) ((arg1)->m_y);
5143
994141e6 5144 resultobj = SWIG_PyObj_FromDouble((double)result);
d14a1e28
RD
5145 return resultobj;
5146 fail:
5147 return NULL;
5148}
5149
5150
5151static PyObject *_wrap_Point2D_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5152 PyObject *resultobj;
5153 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5154 double arg2 = (double) 0 ;
5155 double arg3 = (double) 0 ;
5156 PyObject * obj0 = 0 ;
994141e6
RD
5157 PyObject * obj1 = 0 ;
5158 PyObject * obj2 = 0 ;
d14a1e28
RD
5159 char *kwnames[] = {
5160 (char *) "self",(char *) "x",(char *) "y", NULL
5161 };
5162
994141e6 5163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Point2D_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 5164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
5165 if (obj1) {
5166 {
5167 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
5168 if (PyErr_Occurred()) SWIG_fail;
5169 }
5170 }
5171 if (obj2) {
5172 {
5173 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
5174 if (PyErr_Occurred()) SWIG_fail;
5175 }
5176 }
d14a1e28
RD
5177 {
5178 PyThreadState* __tstate = wxPyBeginAllowThreads();
5179 wxPoint2D_Set(arg1,arg2,arg3);
5180
5181 wxPyEndAllowThreads(__tstate);
5182 if (PyErr_Occurred()) SWIG_fail;
5183 }
5184 Py_INCREF(Py_None); resultobj = Py_None;
5185 return resultobj;
5186 fail:
5187 return NULL;
5188}
5189
5190
e811c8ce 5191static PyObject *_wrap_Point2D_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5192 PyObject *resultobj;
5193 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5194 PyObject *result;
5195 PyObject * obj0 = 0 ;
5196 char *kwnames[] = {
5197 (char *) "self", NULL
5198 };
5199
e811c8ce 5200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
5201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5202 {
5203 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5204 result = (PyObject *)wxPoint2D_Get(arg1);
d14a1e28
RD
5205
5206 wxPyEndAllowThreads(__tstate);
5207 if (PyErr_Occurred()) SWIG_fail;
5208 }
5209 resultobj = result;
5210 return resultobj;
5211 fail:
5212 return NULL;
5213}
5214
5215
5216static PyObject * Point2D_swigregister(PyObject *self, PyObject *args) {
5217 PyObject *obj;
5218 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5219 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D, obj);
5220 Py_INCREF(obj);
5221 return Py_BuildValue((char *)"");
5222}
5223static int _wrap_DefaultPosition_set(PyObject *_val) {
5224 PyErr_SetString(PyExc_TypeError,"Variable DefaultPosition is read-only.");
5225 return 1;
5226}
5227
5228
5229static PyObject *_wrap_DefaultPosition_get() {
5230 PyObject *pyobj;
5231
5232 pyobj = SWIG_NewPointerObj((void *) &wxDefaultPosition, SWIGTYPE_p_wxPoint, 0);
5233 return pyobj;
5234}
5235
5236
5237static int _wrap_DefaultSize_set(PyObject *_val) {
5238 PyErr_SetString(PyExc_TypeError,"Variable DefaultSize is read-only.");
5239 return 1;
5240}
5241
5242
5243static PyObject *_wrap_DefaultSize_get() {
5244 PyObject *pyobj;
5245
5246 pyobj = SWIG_NewPointerObj((void *) &wxDefaultSize, SWIGTYPE_p_wxSize, 0);
5247 return pyobj;
5248}
5249
5250
5251static PyObject *_wrap_new_InputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
5252 PyObject *resultobj;
5253 PyObject *arg1 = (PyObject *) 0 ;
5254 wxPyInputStream *result;
5255 PyObject * obj0 = 0 ;
5256 char *kwnames[] = {
5257 (char *) "p", NULL
5258 };
5259
5260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_InputStream",kwnames,&obj0)) goto fail;
5261 arg1 = obj0;
5262 {
5263 PyThreadState* __tstate = wxPyBeginAllowThreads();
5264 result = (wxPyInputStream *)new_wxPyInputStream(arg1);
5265
5266 wxPyEndAllowThreads(__tstate);
5267 if (PyErr_Occurred()) SWIG_fail;
5268 }
5269 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyInputStream, 1);
5270 return resultobj;
5271 fail:
5272 return NULL;
5273}
5274
5275
5276static PyObject *_wrap_InputStream_close(PyObject *self, PyObject *args, PyObject *kwargs) {
5277 PyObject *resultobj;
5278 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5279 PyObject * obj0 = 0 ;
5280 char *kwnames[] = {
5281 (char *) "self", NULL
5282 };
5283
5284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_close",kwnames,&obj0)) goto fail;
5285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5286 {
5287 PyThreadState* __tstate = wxPyBeginAllowThreads();
5288 (arg1)->close();
5289
5290 wxPyEndAllowThreads(__tstate);
5291 if (PyErr_Occurred()) SWIG_fail;
5292 }
5293 Py_INCREF(Py_None); resultobj = Py_None;
5294 return resultobj;
5295 fail:
5296 return NULL;
5297}
5298
5299
5300static PyObject *_wrap_InputStream_flush(PyObject *self, PyObject *args, PyObject *kwargs) {
5301 PyObject *resultobj;
5302 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5303 PyObject * obj0 = 0 ;
5304 char *kwnames[] = {
5305 (char *) "self", NULL
5306 };
5307
5308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_flush",kwnames,&obj0)) goto fail;
5309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5310 {
5311 PyThreadState* __tstate = wxPyBeginAllowThreads();
5312 (arg1)->flush();
5313
5314 wxPyEndAllowThreads(__tstate);
5315 if (PyErr_Occurred()) SWIG_fail;
5316 }
5317 Py_INCREF(Py_None); resultobj = Py_None;
5318 return resultobj;
5319 fail:
5320 return NULL;
5321}
5322
5323
5324static PyObject *_wrap_InputStream_eof(PyObject *self, PyObject *args, PyObject *kwargs) {
5325 PyObject *resultobj;
5326 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5327 bool result;
5328 PyObject * obj0 = 0 ;
5329 char *kwnames[] = {
5330 (char *) "self", NULL
5331 };
5332
5333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_eof",kwnames,&obj0)) goto fail;
5334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5335 {
5336 PyThreadState* __tstate = wxPyBeginAllowThreads();
5337 result = (bool)(arg1)->eof();
5338
5339 wxPyEndAllowThreads(__tstate);
5340 if (PyErr_Occurred()) SWIG_fail;
5341 }
4d5c3d91 5342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5343 return resultobj;
5344 fail:
5345 return NULL;
5346}
5347
5348
5349static PyObject *_wrap_InputStream_read(PyObject *self, PyObject *args, PyObject *kwargs) {
5350 PyObject *resultobj;
5351 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5352 int arg2 = (int) -1 ;
5353 PyObject *result;
5354 PyObject * obj0 = 0 ;
994141e6 5355 PyObject * obj1 = 0 ;
d14a1e28
RD
5356 char *kwnames[] = {
5357 (char *) "self",(char *) "size", NULL
5358 };
5359
994141e6 5360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_read",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 5361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
5362 if (obj1) {
5363 {
5364 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5365 if (PyErr_Occurred()) SWIG_fail;
5366 }
5367 }
d14a1e28
RD
5368 {
5369 PyThreadState* __tstate = wxPyBeginAllowThreads();
5370 result = (PyObject *)(arg1)->read(arg2);
5371
5372 wxPyEndAllowThreads(__tstate);
5373 if (PyErr_Occurred()) SWIG_fail;
5374 }
5375 resultobj = result;
5376 return resultobj;
5377 fail:
5378 return NULL;
5379}
5380
5381
5382static PyObject *_wrap_InputStream_readline(PyObject *self, PyObject *args, PyObject *kwargs) {
5383 PyObject *resultobj;
5384 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5385 int arg2 = (int) -1 ;
5386 PyObject *result;
5387 PyObject * obj0 = 0 ;
994141e6 5388 PyObject * obj1 = 0 ;
d14a1e28
RD
5389 char *kwnames[] = {
5390 (char *) "self",(char *) "size", NULL
5391 };
5392
994141e6 5393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readline",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 5394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
5395 if (obj1) {
5396 {
5397 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5398 if (PyErr_Occurred()) SWIG_fail;
5399 }
5400 }
d14a1e28
RD
5401 {
5402 PyThreadState* __tstate = wxPyBeginAllowThreads();
5403 result = (PyObject *)(arg1)->readline(arg2);
5404
5405 wxPyEndAllowThreads(__tstate);
5406 if (PyErr_Occurred()) SWIG_fail;
5407 }
5408 resultobj = result;
5409 return resultobj;
5410 fail:
5411 return NULL;
5412}
5413
5414
5415static PyObject *_wrap_InputStream_readlines(PyObject *self, PyObject *args, PyObject *kwargs) {
5416 PyObject *resultobj;
5417 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5418 int arg2 = (int) -1 ;
5419 PyObject *result;
5420 PyObject * obj0 = 0 ;
994141e6 5421 PyObject * obj1 = 0 ;
d14a1e28
RD
5422 char *kwnames[] = {
5423 (char *) "self",(char *) "sizehint", NULL
5424 };
5425
994141e6 5426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readlines",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 5427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
5428 if (obj1) {
5429 {
5430 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5431 if (PyErr_Occurred()) SWIG_fail;
5432 }
5433 }
d14a1e28
RD
5434 {
5435 PyThreadState* __tstate = wxPyBeginAllowThreads();
5436 result = (PyObject *)(arg1)->readlines(arg2);
5437
5438 wxPyEndAllowThreads(__tstate);
5439 if (PyErr_Occurred()) SWIG_fail;
5440 }
5441 resultobj = result;
5442 return resultobj;
5443 fail:
5444 return NULL;
5445}
5446
5447
5448static PyObject *_wrap_InputStream_seek(PyObject *self, PyObject *args, PyObject *kwargs) {
5449 PyObject *resultobj;
5450 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5451 int arg2 ;
5452 int arg3 = (int) 0 ;
5453 PyObject * obj0 = 0 ;
994141e6
RD
5454 PyObject * obj1 = 0 ;
5455 PyObject * obj2 = 0 ;
d14a1e28
RD
5456 char *kwnames[] = {
5457 (char *) "self",(char *) "offset",(char *) "whence", NULL
5458 };
5459
994141e6 5460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_seek",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 5461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
5462 {
5463 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5464 if (PyErr_Occurred()) SWIG_fail;
5465 }
5466 if (obj2) {
5467 {
5468 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5469 if (PyErr_Occurred()) SWIG_fail;
5470 }
5471 }
d14a1e28
RD
5472 {
5473 PyThreadState* __tstate = wxPyBeginAllowThreads();
5474 (arg1)->seek(arg2,arg3);
5475
5476 wxPyEndAllowThreads(__tstate);
5477 if (PyErr_Occurred()) SWIG_fail;
5478 }
5479 Py_INCREF(Py_None); resultobj = Py_None;
5480 return resultobj;
5481 fail:
5482 return NULL;
5483}
5484
5485
5486static PyObject *_wrap_InputStream_tell(PyObject *self, PyObject *args, PyObject *kwargs) {
5487 PyObject *resultobj;
5488 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5489 int result;
5490 PyObject * obj0 = 0 ;
5491 char *kwnames[] = {
5492 (char *) "self", NULL
5493 };
5494
5495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_tell",kwnames,&obj0)) goto fail;
5496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5497 {
5498 PyThreadState* __tstate = wxPyBeginAllowThreads();
5499 result = (int)(arg1)->tell();
5500
5501 wxPyEndAllowThreads(__tstate);
5502 if (PyErr_Occurred()) SWIG_fail;
5503 }
994141e6 5504 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
5505 return resultobj;
5506 fail:
5507 return NULL;
5508}
5509
5510
5511static PyObject *_wrap_InputStream_Peek(PyObject *self, PyObject *args, PyObject *kwargs) {
5512 PyObject *resultobj;
5513 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5514 char result;
5515 PyObject * obj0 = 0 ;
5516 char *kwnames[] = {
5517 (char *) "self", NULL
5518 };
5519
5520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Peek",kwnames,&obj0)) goto fail;
5521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5522 {
5523 PyThreadState* __tstate = wxPyBeginAllowThreads();
5524 result = (char)(arg1)->Peek();
5525
5526 wxPyEndAllowThreads(__tstate);
5527 if (PyErr_Occurred()) SWIG_fail;
5528 }
994141e6 5529 resultobj = SWIG_PyObj_FromChar((char)result);
d14a1e28
RD
5530 return resultobj;
5531 fail:
5532 return NULL;
5533}
5534
5535
5536static PyObject *_wrap_InputStream_GetC(PyObject *self, PyObject *args, PyObject *kwargs) {
5537 PyObject *resultobj;
5538 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5539 char result;
5540 PyObject * obj0 = 0 ;
5541 char *kwnames[] = {
5542 (char *) "self", NULL
5543 };
5544
5545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_GetC",kwnames,&obj0)) goto fail;
5546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5547 {
5548 PyThreadState* __tstate = wxPyBeginAllowThreads();
5549 result = (char)(arg1)->GetC();
5550
5551 wxPyEndAllowThreads(__tstate);
5552 if (PyErr_Occurred()) SWIG_fail;
5553 }
994141e6 5554 resultobj = SWIG_PyObj_FromChar((char)result);
d14a1e28
RD
5555 return resultobj;
5556 fail:
5557 return NULL;
5558}
5559
5560
5561static PyObject *_wrap_InputStream_LastRead(PyObject *self, PyObject *args, PyObject *kwargs) {
5562 PyObject *resultobj;
5563 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5564 size_t result;
5565 PyObject * obj0 = 0 ;
5566 char *kwnames[] = {
5567 (char *) "self", NULL
5568 };
5569
5570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_LastRead",kwnames,&obj0)) goto fail;
5571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5572 {
5573 PyThreadState* __tstate = wxPyBeginAllowThreads();
5574 result = (size_t)(arg1)->LastRead();
5575
5576 wxPyEndAllowThreads(__tstate);
5577 if (PyErr_Occurred()) SWIG_fail;
5578 }
994141e6 5579 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
5580 return resultobj;
5581 fail:
5582 return NULL;
5583}
5584
5585
5586static PyObject *_wrap_InputStream_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
5587 PyObject *resultobj;
5588 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5589 bool result;
5590 PyObject * obj0 = 0 ;
5591 char *kwnames[] = {
5592 (char *) "self", NULL
5593 };
5594
5595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_CanRead",kwnames,&obj0)) goto fail;
5596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5597 {
5598 PyThreadState* __tstate = wxPyBeginAllowThreads();
5599 result = (bool)(arg1)->CanRead();
5600
5601 wxPyEndAllowThreads(__tstate);
5602 if (PyErr_Occurred()) SWIG_fail;
5603 }
4d5c3d91 5604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5605 return resultobj;
5606 fail:
5607 return NULL;
5608}
5609
5610
5611static PyObject *_wrap_InputStream_Eof(PyObject *self, PyObject *args, PyObject *kwargs) {
5612 PyObject *resultobj;
5613 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5614 bool result;
5615 PyObject * obj0 = 0 ;
5616 char *kwnames[] = {
5617 (char *) "self", NULL
5618 };
5619
5620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Eof",kwnames,&obj0)) goto fail;
5621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5622 {
5623 PyThreadState* __tstate = wxPyBeginAllowThreads();
5624 result = (bool)(arg1)->Eof();
5625
5626 wxPyEndAllowThreads(__tstate);
5627 if (PyErr_Occurred()) SWIG_fail;
5628 }
4d5c3d91 5629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5630 return resultobj;
5631 fail:
5632 return NULL;
5633}
5634
5635
5636static PyObject *_wrap_InputStream_Ungetch(PyObject *self, PyObject *args, PyObject *kwargs) {
5637 PyObject *resultobj;
5638 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5639 char arg2 ;
5640 bool result;
5641 PyObject * obj0 = 0 ;
994141e6 5642 PyObject * obj1 = 0 ;
d14a1e28
RD
5643 char *kwnames[] = {
5644 (char *) "self",(char *) "c", NULL
5645 };
5646
994141e6 5647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InputStream_Ungetch",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 5648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
5649 {
5650 arg2 = (char) SWIG_PyObj_AsChar(obj1);
5651 if (PyErr_Occurred()) SWIG_fail;
5652 }
d14a1e28
RD
5653 {
5654 PyThreadState* __tstate = wxPyBeginAllowThreads();
5655 result = (bool)(arg1)->Ungetch(arg2);
5656
5657 wxPyEndAllowThreads(__tstate);
5658 if (PyErr_Occurred()) SWIG_fail;
5659 }
4d5c3d91 5660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5661 return resultobj;
5662 fail:
5663 return NULL;
5664}
5665
5666
5667static PyObject *_wrap_InputStream_SeekI(PyObject *self, PyObject *args, PyObject *kwargs) {
5668 PyObject *resultobj;
5669 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5670 long arg2 ;
5671 int arg3 = (int) wxFromStart ;
5672 long result;
5673 PyObject * obj0 = 0 ;
994141e6
RD
5674 PyObject * obj1 = 0 ;
5675 PyObject * obj2 = 0 ;
d14a1e28
RD
5676 char *kwnames[] = {
5677 (char *) "self",(char *) "pos",(char *) "mode", NULL
5678 };
5679
994141e6 5680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_SeekI",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 5681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
5682 {
5683 arg2 = (long) SWIG_PyObj_AsLong(obj1);
5684 if (PyErr_Occurred()) SWIG_fail;
5685 }
5686 if (obj2) {
5687 {
5688 arg3 = (wxSeekMode) SWIG_PyObj_AsInt(obj2);
5689 if (PyErr_Occurred()) SWIG_fail;
5690 }
5691 }
d14a1e28
RD
5692 {
5693 PyThreadState* __tstate = wxPyBeginAllowThreads();
5694 result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3);
5695
5696 wxPyEndAllowThreads(__tstate);
5697 if (PyErr_Occurred()) SWIG_fail;
5698 }
994141e6 5699 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
5700 return resultobj;
5701 fail:
5702 return NULL;
5703}
5704
5705
5706static PyObject *_wrap_InputStream_TellI(PyObject *self, PyObject *args, PyObject *kwargs) {
5707 PyObject *resultobj;
5708 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5709 long result;
5710 PyObject * obj0 = 0 ;
5711 char *kwnames[] = {
5712 (char *) "self", NULL
5713 };
5714
5715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_TellI",kwnames,&obj0)) goto fail;
5716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5717 {
5718 PyThreadState* __tstate = wxPyBeginAllowThreads();
5719 result = (long)(arg1)->TellI();
5720
5721 wxPyEndAllowThreads(__tstate);
5722 if (PyErr_Occurred()) SWIG_fail;
5723 }
994141e6 5724 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
5725 return resultobj;
5726 fail:
5727 return NULL;
5728}
5729
5730
5731static PyObject * InputStream_swigregister(PyObject *self, PyObject *args) {
5732 PyObject *obj;
5733 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5734 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream, obj);
5735 Py_INCREF(obj);
5736 return Py_BuildValue((char *)"");
5737}
5738static PyObject *_wrap_OutputStream_write(PyObject *self, PyObject *args, PyObject *kwargs) {
5739 PyObject *resultobj;
5740 wxOutputStream *arg1 = (wxOutputStream *) 0 ;
5741 PyObject *arg2 = (PyObject *) 0 ;
5742 PyObject * obj0 = 0 ;
5743 PyObject * obj1 = 0 ;
5744 char *kwnames[] = {
5745 (char *) "self",(char *) "obj", NULL
5746 };
5747
5748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:OutputStream_write",kwnames,&obj0,&obj1)) goto fail;
5749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOutputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5750 arg2 = obj1;
5751 {
5752 PyThreadState* __tstate = wxPyBeginAllowThreads();
5753 wxOutputStream_write(arg1,arg2);
5754
5755 wxPyEndAllowThreads(__tstate);
5756 if (PyErr_Occurred()) SWIG_fail;
5757 }
5758 Py_INCREF(Py_None); resultobj = Py_None;
5759 return resultobj;
5760 fail:
5761 return NULL;
5762}
5763
5764
5765static PyObject * OutputStream_swigregister(PyObject *self, PyObject *args) {
5766 PyObject *obj;
5767 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5768 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream, obj);
5769 Py_INCREF(obj);
5770 return Py_BuildValue((char *)"");
5771}
5772static PyObject *_wrap_new_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5773 PyObject *resultobj;
5774 wxInputStream *arg1 = (wxInputStream *) 0 ;
5775 wxString *arg2 = 0 ;
5776 wxString *arg3 = 0 ;
5777 wxString *arg4 = 0 ;
5778 wxDateTime arg5 ;
5779 wxFSFile *result;
5780 wxPyInputStream *temp1 ;
5781 bool created1 ;
e811c8ce
RD
5782 bool temp2 = False ;
5783 bool temp3 = False ;
5784 bool temp4 = False ;
d14a1e28
RD
5785 wxDateTime *argp5 ;
5786 PyObject * obj0 = 0 ;
5787 PyObject * obj1 = 0 ;
5788 PyObject * obj2 = 0 ;
5789 PyObject * obj3 = 0 ;
5790 PyObject * obj4 = 0 ;
5791 char *kwnames[] = {
5792 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
5793 };
5794
5795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_FSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5796 {
5797 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
5798 arg1 = temp1->m_wxis;
e811c8ce 5799 created1 = False;
d14a1e28
RD
5800 } else {
5801 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 5802 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
5803 if (arg1 == NULL) {
5804 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
5805 SWIG_fail;
5806 }
e811c8ce 5807 created1 = True;
d14a1e28
RD
5808 }
5809 }
5810 {
5811 arg2 = wxString_in_helper(obj1);
5812 if (arg2 == NULL) SWIG_fail;
e811c8ce 5813 temp2 = True;
d14a1e28
RD
5814 }
5815 {
5816 arg3 = wxString_in_helper(obj2);
5817 if (arg3 == NULL) SWIG_fail;
e811c8ce 5818 temp3 = True;
d14a1e28
RD
5819 }
5820 {
5821 arg4 = wxString_in_helper(obj3);
5822 if (arg4 == NULL) SWIG_fail;
e811c8ce 5823 temp4 = True;
d14a1e28
RD
5824 }
5825 if ((SWIG_ConvertPtr(obj4,(void **) &argp5, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5826 arg5 = *argp5;
5827 {
5828 PyThreadState* __tstate = wxPyBeginAllowThreads();
5829 result = (wxFSFile *)new wxFSFile(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
5830
5831 wxPyEndAllowThreads(__tstate);
5832 if (PyErr_Occurred()) SWIG_fail;
5833 }
5834 {
5835 resultobj = wxPyMake_wxObject(result);
5836 }
5837 {
5838 if (created1)
5839 delete arg1;
5840 }
5841 {
5842 if (temp2)
5843 delete arg2;
5844 }
5845 {
5846 if (temp3)
5847 delete arg3;
5848 }
5849 {
5850 if (temp4)
5851 delete arg4;
5852 }
5853 return resultobj;
5854 fail:
5855 {
5856 if (created1)
5857 delete arg1;
5858 }
5859 {
5860 if (temp2)
5861 delete arg2;
5862 }
5863 {
5864 if (temp3)
5865 delete arg3;
5866 }
5867 {
5868 if (temp4)
5869 delete arg4;
5870 }
5871 return NULL;
5872}
5873
5874
5875static PyObject *_wrap_delete_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5876 PyObject *resultobj;
5877 wxFSFile *arg1 = (wxFSFile *) 0 ;
5878 PyObject * obj0 = 0 ;
5879 char *kwnames[] = {
5880 (char *) "self", NULL
5881 };
5882
5883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FSFile",kwnames,&obj0)) goto fail;
5884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5885 {
5886 PyThreadState* __tstate = wxPyBeginAllowThreads();
5887 delete arg1;
5888
5889 wxPyEndAllowThreads(__tstate);
5890 if (PyErr_Occurred()) SWIG_fail;
5891 }
5892 Py_INCREF(Py_None); resultobj = Py_None;
5893 return resultobj;
5894 fail:
5895 return NULL;
5896}
5897
5898
5899static PyObject *_wrap_FSFile_GetStream(PyObject *self, PyObject *args, PyObject *kwargs) {
5900 PyObject *resultobj;
5901 wxFSFile *arg1 = (wxFSFile *) 0 ;
5902 wxInputStream *result;
5903 PyObject * obj0 = 0 ;
5904 char *kwnames[] = {
5905 (char *) "self", NULL
5906 };
5907
5908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetStream",kwnames,&obj0)) goto fail;
5909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5910 {
5911 PyThreadState* __tstate = wxPyBeginAllowThreads();
5912 result = (wxInputStream *)(arg1)->GetStream();
5913
5914 wxPyEndAllowThreads(__tstate);
5915 if (PyErr_Occurred()) SWIG_fail;
5916 }
5917 {
5918 wxPyInputStream * _ptr = NULL;
5919
5920 if (result) {
5921 _ptr = new wxPyInputStream(result);
5922 }
e811c8ce 5923 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
5924 }
5925 return resultobj;
5926 fail:
5927 return NULL;
5928}
5929
5930
5931static PyObject *_wrap_FSFile_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
5932 PyObject *resultobj;
5933 wxFSFile *arg1 = (wxFSFile *) 0 ;
5934 wxString *result;
5935 PyObject * obj0 = 0 ;
5936 char *kwnames[] = {
5937 (char *) "self", NULL
5938 };
5939
5940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetMimeType",kwnames,&obj0)) goto fail;
5941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5942 {
5943 PyThreadState* __tstate = wxPyBeginAllowThreads();
5944 {
5945 wxString const &_result_ref = (arg1)->GetMimeType();
5946 result = (wxString *) &_result_ref;
5947 }
5948
5949 wxPyEndAllowThreads(__tstate);
5950 if (PyErr_Occurred()) SWIG_fail;
5951 }
cc6dd355
RD
5952 {
5953#if wxUSE_UNICODE
5954 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5955#else
5956 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5957#endif
5958 }
d14a1e28
RD
5959 return resultobj;
5960 fail:
5961 return NULL;
5962}
5963
5964
5965static PyObject *_wrap_FSFile_GetLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
5966 PyObject *resultobj;
5967 wxFSFile *arg1 = (wxFSFile *) 0 ;
5968 wxString *result;
5969 PyObject * obj0 = 0 ;
5970 char *kwnames[] = {
5971 (char *) "self", NULL
5972 };
5973
5974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetLocation",kwnames,&obj0)) goto fail;
5975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5976 {
5977 PyThreadState* __tstate = wxPyBeginAllowThreads();
5978 {
5979 wxString const &_result_ref = (arg1)->GetLocation();
5980 result = (wxString *) &_result_ref;
5981 }
5982
5983 wxPyEndAllowThreads(__tstate);
5984 if (PyErr_Occurred()) SWIG_fail;
5985 }
cc6dd355
RD
5986 {
5987#if wxUSE_UNICODE
5988 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5989#else
5990 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5991#endif
5992 }
d14a1e28
RD
5993 return resultobj;
5994 fail:
5995 return NULL;
5996}
5997
5998
5999static PyObject *_wrap_FSFile_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6000 PyObject *resultobj;
6001 wxFSFile *arg1 = (wxFSFile *) 0 ;
6002 wxString *result;
6003 PyObject * obj0 = 0 ;
6004 char *kwnames[] = {
6005 (char *) "self", NULL
6006 };
6007
6008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetAnchor",kwnames,&obj0)) goto fail;
6009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6010 {
6011 PyThreadState* __tstate = wxPyBeginAllowThreads();
6012 {
6013 wxString const &_result_ref = (arg1)->GetAnchor();
6014 result = (wxString *) &_result_ref;
6015 }
6016
6017 wxPyEndAllowThreads(__tstate);
6018 if (PyErr_Occurred()) SWIG_fail;
6019 }
cc6dd355
RD
6020 {
6021#if wxUSE_UNICODE
6022 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6023#else
6024 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6025#endif
6026 }
d14a1e28
RD
6027 return resultobj;
6028 fail:
6029 return NULL;
6030}
6031
6032
6033static PyObject *_wrap_FSFile_GetModificationTime(PyObject *self, PyObject *args, PyObject *kwargs) {
6034 PyObject *resultobj;
6035 wxFSFile *arg1 = (wxFSFile *) 0 ;
6036 wxDateTime result;
6037 PyObject * obj0 = 0 ;
6038 char *kwnames[] = {
6039 (char *) "self", NULL
6040 };
6041
6042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetModificationTime",kwnames,&obj0)) goto fail;
6043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6044 {
6045 PyThreadState* __tstate = wxPyBeginAllowThreads();
6046 result = (arg1)->GetModificationTime();
6047
6048 wxPyEndAllowThreads(__tstate);
6049 if (PyErr_Occurred()) SWIG_fail;
6050 }
6051 {
6052 wxDateTime * resultptr;
6053 resultptr = new wxDateTime((wxDateTime &) result);
6054 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
6055 }
6056 return resultobj;
6057 fail:
6058 return NULL;
6059}
6060
6061
6062static PyObject * FSFile_swigregister(PyObject *self, PyObject *args) {
6063 PyObject *obj;
6064 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6065 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile, obj);
6066 Py_INCREF(obj);
6067 return Py_BuildValue((char *)"");
6068}
6069static PyObject * CPPFileSystemHandler_swigregister(PyObject *self, PyObject *args) {
6070 PyObject *obj;
6071 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6072 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler, obj);
6073 Py_INCREF(obj);
6074 return Py_BuildValue((char *)"");
6075}
6076static PyObject *_wrap_new_FileSystemHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6077 PyObject *resultobj;
6078 wxPyFileSystemHandler *result;
6079 char *kwnames[] = {
6080 NULL
6081 };
6082
6083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystemHandler",kwnames)) goto fail;
6084 {
6085 PyThreadState* __tstate = wxPyBeginAllowThreads();
6086 result = (wxPyFileSystemHandler *)new wxPyFileSystemHandler();
6087
6088 wxPyEndAllowThreads(__tstate);
6089 if (PyErr_Occurred()) SWIG_fail;
6090 }
6091 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyFileSystemHandler, 1);
6092 return resultobj;
6093 fail:
6094 return NULL;
6095}
6096
6097
6098static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6099 PyObject *resultobj;
6100 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6101 PyObject *arg2 = (PyObject *) 0 ;
6102 PyObject *arg3 = (PyObject *) 0 ;
6103 PyObject * obj0 = 0 ;
6104 PyObject * obj1 = 0 ;
6105 PyObject * obj2 = 0 ;
6106 char *kwnames[] = {
6107 (char *) "self",(char *) "self",(char *) "_class", NULL
6108 };
6109
6110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6112 arg2 = obj1;
6113 arg3 = obj2;
6114 {
6115 PyThreadState* __tstate = wxPyBeginAllowThreads();
6116 (arg1)->_setCallbackInfo(arg2,arg3);
6117
6118 wxPyEndAllowThreads(__tstate);
6119 if (PyErr_Occurred()) SWIG_fail;
6120 }
6121 Py_INCREF(Py_None); resultobj = Py_None;
6122 return resultobj;
6123 fail:
6124 return NULL;
6125}
6126
6127
6128static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6129 PyObject *resultobj;
6130 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6131 wxString *arg2 = 0 ;
6132 bool result;
e811c8ce 6133 bool temp2 = False ;
d14a1e28
RD
6134 PyObject * obj0 = 0 ;
6135 PyObject * obj1 = 0 ;
6136 char *kwnames[] = {
6137 (char *) "self",(char *) "location", NULL
6138 };
6139
6140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
6141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6142 {
6143 arg2 = wxString_in_helper(obj1);
6144 if (arg2 == NULL) SWIG_fail;
e811c8ce 6145 temp2 = True;
d14a1e28
RD
6146 }
6147 {
6148 PyThreadState* __tstate = wxPyBeginAllowThreads();
6149 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6150
6151 wxPyEndAllowThreads(__tstate);
6152 if (PyErr_Occurred()) SWIG_fail;
6153 }
4d5c3d91 6154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6155 {
6156 if (temp2)
6157 delete arg2;
6158 }
6159 return resultobj;
6160 fail:
6161 {
6162 if (temp2)
6163 delete arg2;
6164 }
6165 return NULL;
6166}
6167
6168
6169static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6170 PyObject *resultobj;
6171 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6172 wxFileSystem *arg2 = 0 ;
6173 wxString *arg3 = 0 ;
6174 wxFSFile *result;
e811c8ce 6175 bool temp3 = False ;
d14a1e28
RD
6176 PyObject * obj0 = 0 ;
6177 PyObject * obj1 = 0 ;
6178 PyObject * obj2 = 0 ;
6179 char *kwnames[] = {
6180 (char *) "self",(char *) "fs",(char *) "location", NULL
6181 };
6182
6183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6185 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6186 if (arg2 == NULL) {
6187 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6188 }
6189 {
6190 arg3 = wxString_in_helper(obj2);
6191 if (arg3 == NULL) SWIG_fail;
e811c8ce 6192 temp3 = True;
d14a1e28
RD
6193 }
6194 {
6195 PyThreadState* __tstate = wxPyBeginAllowThreads();
6196 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6197
6198 wxPyEndAllowThreads(__tstate);
6199 if (PyErr_Occurred()) SWIG_fail;
6200 }
6201 {
6202 resultobj = wxPyMake_wxObject(result);
6203 }
6204 {
6205 if (temp3)
6206 delete arg3;
6207 }
6208 return resultobj;
6209 fail:
6210 {
6211 if (temp3)
6212 delete arg3;
6213 }
6214 return NULL;
6215}
6216
6217
6218static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6219 PyObject *resultobj;
6220 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6221 wxString *arg2 = 0 ;
6222 int arg3 = (int) 0 ;
6223 wxString result;
e811c8ce 6224 bool temp2 = False ;
d14a1e28
RD
6225 PyObject * obj0 = 0 ;
6226 PyObject * obj1 = 0 ;
994141e6 6227 PyObject * obj2 = 0 ;
d14a1e28
RD
6228 char *kwnames[] = {
6229 (char *) "self",(char *) "spec",(char *) "flags", NULL
6230 };
6231
994141e6 6232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
6233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6234 {
6235 arg2 = wxString_in_helper(obj1);
6236 if (arg2 == NULL) SWIG_fail;
e811c8ce 6237 temp2 = True;
d14a1e28 6238 }
994141e6
RD
6239 if (obj2) {
6240 {
6241 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6242 if (PyErr_Occurred()) SWIG_fail;
6243 }
6244 }
d14a1e28
RD
6245 {
6246 PyThreadState* __tstate = wxPyBeginAllowThreads();
6247 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6248
6249 wxPyEndAllowThreads(__tstate);
6250 if (PyErr_Occurred()) SWIG_fail;
6251 }
6252 {
6253#if wxUSE_UNICODE
6254 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6255#else
6256 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6257#endif
6258 }
6259 {
6260 if (temp2)
6261 delete arg2;
6262 }
6263 return resultobj;
6264 fail:
6265 {
6266 if (temp2)
6267 delete arg2;
6268 }
6269 return NULL;
6270}
6271
6272
6273static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6274 PyObject *resultobj;
6275 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6276 wxString result;
6277 PyObject * obj0 = 0 ;
6278 char *kwnames[] = {
6279 (char *) "self", NULL
6280 };
6281
6282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystemHandler_FindNext",kwnames,&obj0)) goto fail;
6283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6284 {
6285 PyThreadState* __tstate = wxPyBeginAllowThreads();
6286 result = (arg1)->FindNext();
6287
6288 wxPyEndAllowThreads(__tstate);
6289 if (PyErr_Occurred()) SWIG_fail;
6290 }
6291 {
6292#if wxUSE_UNICODE
6293 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6294#else
6295 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6296#endif
6297 }
6298 return resultobj;
6299 fail:
6300 return NULL;
6301}
6302
6303
6304static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *self, PyObject *args, PyObject *kwargs) {
6305 PyObject *resultobj;
6306 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6307 wxString *arg2 = 0 ;
6308 wxString result;
e811c8ce 6309 bool temp2 = False ;
d14a1e28
RD
6310 PyObject * obj0 = 0 ;
6311 PyObject * obj1 = 0 ;
6312 char *kwnames[] = {
6313 (char *) "self",(char *) "location", NULL
6314 };
6315
6316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetProtocol",kwnames,&obj0,&obj1)) goto fail;
6317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6318 {
6319 arg2 = wxString_in_helper(obj1);
6320 if (arg2 == NULL) SWIG_fail;
e811c8ce 6321 temp2 = True;
d14a1e28
RD
6322 }
6323 {
6324 PyThreadState* __tstate = wxPyBeginAllowThreads();
6325 result = (arg1)->GetProtocol((wxString const &)*arg2);
6326
6327 wxPyEndAllowThreads(__tstate);
6328 if (PyErr_Occurred()) SWIG_fail;
6329 }
6330 {
6331#if wxUSE_UNICODE
6332 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6333#else
6334 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6335#endif
6336 }
6337 {
6338 if (temp2)
6339 delete arg2;
6340 }
6341 return resultobj;
6342 fail:
6343 {
6344 if (temp2)
6345 delete arg2;
6346 }
6347 return NULL;
6348}
6349
6350
6351static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6352 PyObject *resultobj;
6353 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6354 wxString *arg2 = 0 ;
6355 wxString result;
e811c8ce 6356 bool temp2 = False ;
d14a1e28
RD
6357 PyObject * obj0 = 0 ;
6358 PyObject * obj1 = 0 ;
6359 char *kwnames[] = {
6360 (char *) "self",(char *) "location", NULL
6361 };
6362
6363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames,&obj0,&obj1)) goto fail;
6364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6365 {
6366 arg2 = wxString_in_helper(obj1);
6367 if (arg2 == NULL) SWIG_fail;
e811c8ce 6368 temp2 = True;
d14a1e28
RD
6369 }
6370 {
6371 PyThreadState* __tstate = wxPyBeginAllowThreads();
6372 result = (arg1)->GetLeftLocation((wxString const &)*arg2);
6373
6374 wxPyEndAllowThreads(__tstate);
6375 if (PyErr_Occurred()) SWIG_fail;
6376 }
6377 {
6378#if wxUSE_UNICODE
6379 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6380#else
6381 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6382#endif
6383 }
6384 {
6385 if (temp2)
6386 delete arg2;
6387 }
6388 return resultobj;
6389 fail:
6390 {
6391 if (temp2)
6392 delete arg2;
6393 }
6394 return NULL;
6395}
6396
6397
6398static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6399 PyObject *resultobj;
6400 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6401 wxString *arg2 = 0 ;
6402 wxString result;
e811c8ce 6403 bool temp2 = False ;
d14a1e28
RD
6404 PyObject * obj0 = 0 ;
6405 PyObject * obj1 = 0 ;
6406 char *kwnames[] = {
6407 (char *) "self",(char *) "location", NULL
6408 };
6409
6410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetAnchor",kwnames,&obj0,&obj1)) goto fail;
6411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6412 {
6413 arg2 = wxString_in_helper(obj1);
6414 if (arg2 == NULL) SWIG_fail;
e811c8ce 6415 temp2 = True;
d14a1e28
RD
6416 }
6417 {
6418 PyThreadState* __tstate = wxPyBeginAllowThreads();
6419 result = (arg1)->GetAnchor((wxString const &)*arg2);
6420
6421 wxPyEndAllowThreads(__tstate);
6422 if (PyErr_Occurred()) SWIG_fail;
6423 }
6424 {
6425#if wxUSE_UNICODE
6426 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6427#else
6428 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6429#endif
6430 }
6431 {
6432 if (temp2)
6433 delete arg2;
6434 }
6435 return resultobj;
6436 fail:
6437 {
6438 if (temp2)
6439 delete arg2;
6440 }
6441 return NULL;
6442}
6443
6444
6445static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6446 PyObject *resultobj;
6447 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6448 wxString *arg2 = 0 ;
6449 wxString result;
e811c8ce 6450 bool temp2 = False ;
d14a1e28
RD
6451 PyObject * obj0 = 0 ;
6452 PyObject * obj1 = 0 ;
6453 char *kwnames[] = {
6454 (char *) "self",(char *) "location", NULL
6455 };
6456
6457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames,&obj0,&obj1)) goto fail;
6458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6459 {
6460 arg2 = wxString_in_helper(obj1);
6461 if (arg2 == NULL) SWIG_fail;
e811c8ce 6462 temp2 = True;
d14a1e28
RD
6463 }
6464 {
6465 PyThreadState* __tstate = wxPyBeginAllowThreads();
6466 result = (arg1)->GetRightLocation((wxString const &)*arg2);
6467
6468 wxPyEndAllowThreads(__tstate);
6469 if (PyErr_Occurred()) SWIG_fail;
6470 }
6471 {
6472#if wxUSE_UNICODE
6473 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6474#else
6475 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6476#endif
6477 }
6478 {
6479 if (temp2)
6480 delete arg2;
6481 }
6482 return resultobj;
6483 fail:
6484 {
6485 if (temp2)
6486 delete arg2;
6487 }
6488 return NULL;
6489}
6490
6491
6492static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *self, PyObject *args, PyObject *kwargs) {
6493 PyObject *resultobj;
6494 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6495 wxString *arg2 = 0 ;
6496 wxString result;
e811c8ce 6497 bool temp2 = False ;
d14a1e28
RD
6498 PyObject * obj0 = 0 ;
6499 PyObject * obj1 = 0 ;
6500 char *kwnames[] = {
6501 (char *) "self",(char *) "location", NULL
6502 };
6503
6504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames,&obj0,&obj1)) goto fail;
6505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6506 {
6507 arg2 = wxString_in_helper(obj1);
6508 if (arg2 == NULL) SWIG_fail;
e811c8ce 6509 temp2 = True;
d14a1e28
RD
6510 }
6511 {
6512 PyThreadState* __tstate = wxPyBeginAllowThreads();
6513 result = (arg1)->GetMimeTypeFromExt((wxString const &)*arg2);
6514
6515 wxPyEndAllowThreads(__tstate);
6516 if (PyErr_Occurred()) SWIG_fail;
6517 }
6518 {
6519#if wxUSE_UNICODE
6520 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6521#else
6522 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6523#endif
6524 }
6525 {
6526 if (temp2)
6527 delete arg2;
6528 }
6529 return resultobj;
6530 fail:
6531 {
6532 if (temp2)
6533 delete arg2;
6534 }
6535 return NULL;
6536}
6537
6538
6539static PyObject * FileSystemHandler_swigregister(PyObject *self, PyObject *args) {
6540 PyObject *obj;
6541 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6542 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler, obj);
6543 Py_INCREF(obj);
6544 return Py_BuildValue((char *)"");
6545}
6546static PyObject *_wrap_new_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
6547 PyObject *resultobj;
6548 wxFileSystem *result;
6549 char *kwnames[] = {
6550 NULL
6551 };
6552
6553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystem",kwnames)) goto fail;
6554 {
6555 PyThreadState* __tstate = wxPyBeginAllowThreads();
6556 result = (wxFileSystem *)new wxFileSystem();
6557
6558 wxPyEndAllowThreads(__tstate);
6559 if (PyErr_Occurred()) SWIG_fail;
6560 }
6561 {
6562 resultobj = wxPyMake_wxObject(result);
6563 }
6564 return resultobj;
6565 fail:
6566 return NULL;
6567}
6568
6569
6570static PyObject *_wrap_delete_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
6571 PyObject *resultobj;
6572 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6573 PyObject * obj0 = 0 ;
6574 char *kwnames[] = {
6575 (char *) "self", NULL
6576 };
6577
6578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileSystem",kwnames,&obj0)) goto fail;
6579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6580 {
6581 PyThreadState* __tstate = wxPyBeginAllowThreads();
6582 delete arg1;
6583
6584 wxPyEndAllowThreads(__tstate);
6585 if (PyErr_Occurred()) SWIG_fail;
6586 }
6587 Py_INCREF(Py_None); resultobj = Py_None;
6588 return resultobj;
6589 fail:
6590 return NULL;
6591}
6592
6593
6594static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *self, PyObject *args, PyObject *kwargs) {
6595 PyObject *resultobj;
6596 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6597 wxString *arg2 = 0 ;
e811c8ce
RD
6598 bool arg3 = (bool) False ;
6599 bool temp2 = False ;
d14a1e28
RD
6600 PyObject * obj0 = 0 ;
6601 PyObject * obj1 = 0 ;
6602 PyObject * obj2 = 0 ;
6603 char *kwnames[] = {
6604 (char *) "self",(char *) "location",(char *) "is_dir", NULL
6605 };
6606
6607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6609 {
6610 arg2 = wxString_in_helper(obj1);
6611 if (arg2 == NULL) SWIG_fail;
e811c8ce 6612 temp2 = True;
d14a1e28
RD
6613 }
6614 if (obj2) {
a41e16b6 6615 {
994141e6 6616 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
a41e16b6
RD
6617 if (PyErr_Occurred()) SWIG_fail;
6618 }
d14a1e28
RD
6619 }
6620 {
6621 PyThreadState* __tstate = wxPyBeginAllowThreads();
6622 (arg1)->ChangePathTo((wxString const &)*arg2,arg3);
6623
6624 wxPyEndAllowThreads(__tstate);
6625 if (PyErr_Occurred()) SWIG_fail;
6626 }
6627 Py_INCREF(Py_None); resultobj = Py_None;
6628 {
6629 if (temp2)
6630 delete arg2;
6631 }
6632 return resultobj;
6633 fail:
6634 {
6635 if (temp2)
6636 delete arg2;
6637 }
6638 return NULL;
6639}
6640
6641
6642static PyObject *_wrap_FileSystem_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
6643 PyObject *resultobj;
6644 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6645 wxString result;
6646 PyObject * obj0 = 0 ;
6647 char *kwnames[] = {
6648 (char *) "self", NULL
6649 };
6650
6651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_GetPath",kwnames,&obj0)) goto fail;
6652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6653 {
6654 PyThreadState* __tstate = wxPyBeginAllowThreads();
6655 result = (arg1)->GetPath();
6656
6657 wxPyEndAllowThreads(__tstate);
6658 if (PyErr_Occurred()) SWIG_fail;
6659 }
6660 {
6661#if wxUSE_UNICODE
6662 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6663#else
6664 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6665#endif
6666 }
6667 return resultobj;
6668 fail:
6669 return NULL;
6670}
6671
6672
6673static PyObject *_wrap_FileSystem_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6674 PyObject *resultobj;
6675 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6676 wxString *arg2 = 0 ;
6677 wxFSFile *result;
e811c8ce 6678 bool temp2 = False ;
d14a1e28
RD
6679 PyObject * obj0 = 0 ;
6680 PyObject * obj1 = 0 ;
6681 char *kwnames[] = {
6682 (char *) "self",(char *) "location", NULL
6683 };
6684
6685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail;
6686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6687 {
6688 arg2 = wxString_in_helper(obj1);
6689 if (arg2 == NULL) SWIG_fail;
e811c8ce 6690 temp2 = True;
d14a1e28
RD
6691 }
6692 {
6693 PyThreadState* __tstate = wxPyBeginAllowThreads();
6694 result = (wxFSFile *)(arg1)->OpenFile((wxString const &)*arg2);
6695
6696 wxPyEndAllowThreads(__tstate);
6697 if (PyErr_Occurred()) SWIG_fail;
6698 }
6699 {
6700 resultobj = wxPyMake_wxObject(result);
6701 }
6702 {
6703 if (temp2)
6704 delete arg2;
6705 }
6706 return resultobj;
6707 fail:
6708 {
6709 if (temp2)
6710 delete arg2;
6711 }
6712 return NULL;
6713}
6714
6715
6716static PyObject *_wrap_FileSystem_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6717 PyObject *resultobj;
6718 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6719 wxString *arg2 = 0 ;
6720 int arg3 = (int) 0 ;
6721 wxString result;
e811c8ce 6722 bool temp2 = False ;
d14a1e28
RD
6723 PyObject * obj0 = 0 ;
6724 PyObject * obj1 = 0 ;
994141e6 6725 PyObject * obj2 = 0 ;
d14a1e28
RD
6726 char *kwnames[] = {
6727 (char *) "self",(char *) "spec",(char *) "flags", NULL
6728 };
6729
994141e6 6730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
6731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6732 {
6733 arg2 = wxString_in_helper(obj1);
6734 if (arg2 == NULL) SWIG_fail;
e811c8ce 6735 temp2 = True;
d14a1e28 6736 }
994141e6
RD
6737 if (obj2) {
6738 {
6739 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6740 if (PyErr_Occurred()) SWIG_fail;
6741 }
6742 }
d14a1e28
RD
6743 {
6744 PyThreadState* __tstate = wxPyBeginAllowThreads();
6745 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6746
6747 wxPyEndAllowThreads(__tstate);
6748 if (PyErr_Occurred()) SWIG_fail;
6749 }
6750 {
6751#if wxUSE_UNICODE
6752 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6753#else
6754 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6755#endif
6756 }
6757 {
6758 if (temp2)
6759 delete arg2;
6760 }
6761 return resultobj;
6762 fail:
6763 {
6764 if (temp2)
6765 delete arg2;
6766 }
6767 return NULL;
6768}
6769
6770
6771static PyObject *_wrap_FileSystem_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6772 PyObject *resultobj;
6773 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6774 wxString result;
6775 PyObject * obj0 = 0 ;
6776 char *kwnames[] = {
6777 (char *) "self", NULL
6778 };
6779
6780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FindNext",kwnames,&obj0)) goto fail;
6781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6782 {
6783 PyThreadState* __tstate = wxPyBeginAllowThreads();
6784 result = (arg1)->FindNext();
6785
6786 wxPyEndAllowThreads(__tstate);
6787 if (PyErr_Occurred()) SWIG_fail;
6788 }
6789 {
6790#if wxUSE_UNICODE
6791 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6792#else
6793 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6794#endif
6795 }
6796 return resultobj;
6797 fail:
6798 return NULL;
6799}
6800
6801
6802static PyObject *_wrap_FileSystem_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6803 PyObject *resultobj;
6804 wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ;
6805 PyObject * obj0 = 0 ;
6806 char *kwnames[] = {
6807 (char *) "handler", NULL
6808 };
6809
6810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_AddHandler",kwnames,&obj0)) goto fail;
6811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6812 {
6813 PyThreadState* __tstate = wxPyBeginAllowThreads();
6814 wxFileSystem::AddHandler(arg1);
6815
6816 wxPyEndAllowThreads(__tstate);
6817 if (PyErr_Occurred()) SWIG_fail;
6818 }
6819 Py_INCREF(Py_None); resultobj = Py_None;
6820 return resultobj;
6821 fail:
6822 return NULL;
6823}
6824
6825
6826static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
6827 PyObject *resultobj;
6828 char *kwnames[] = {
6829 NULL
6830 };
6831
6832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FileSystem_CleanUpHandlers",kwnames)) goto fail;
6833 {
6834 PyThreadState* __tstate = wxPyBeginAllowThreads();
6835 wxFileSystem::CleanUpHandlers();
6836
6837 wxPyEndAllowThreads(__tstate);
6838 if (PyErr_Occurred()) SWIG_fail;
6839 }
6840 Py_INCREF(Py_None); resultobj = Py_None;
6841 return resultobj;
6842 fail:
6843 return NULL;
6844}
6845
6846
6847static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *self, PyObject *args, PyObject *kwargs) {
6848 PyObject *resultobj;
6849 wxString *arg1 = 0 ;
6850 wxString result;
e811c8ce 6851 bool temp1 = False ;
d14a1e28
RD
6852 PyObject * obj0 = 0 ;
6853 char *kwnames[] = {
6854 (char *) "filename", NULL
6855 };
6856
6857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FileNameToURL",kwnames,&obj0)) goto fail;
6858 {
6859 arg1 = wxString_in_helper(obj0);
6860 if (arg1 == NULL) SWIG_fail;
e811c8ce 6861 temp1 = True;
d14a1e28
RD
6862 }
6863 {
6864 PyThreadState* __tstate = wxPyBeginAllowThreads();
6865 result = wxFileSystem::FileNameToURL((wxString const &)*arg1);
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 (temp1)
6879 delete arg1;
6880 }
6881 return resultobj;
6882 fail:
6883 {
6884 if (temp1)
6885 delete arg1;
6886 }
6887 return NULL;
6888}
6889
6890
6891static PyObject * FileSystem_swigregister(PyObject *self, PyObject *args) {
6892 PyObject *obj;
6893 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6894 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
6895 Py_INCREF(obj);
6896 return Py_BuildValue((char *)"");
6897}
6898static PyObject *_wrap_FileSystem_URLToFileName(PyObject *self, PyObject *args, PyObject *kwargs) {
6899 PyObject *resultobj;
6900 wxString *arg1 = 0 ;
6901 wxString result;
e811c8ce 6902 bool temp1 = False ;
d14a1e28
RD
6903 PyObject * obj0 = 0 ;
6904 char *kwnames[] = {
6905 (char *) "url", NULL
6906 };
6907
6908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_URLToFileName",kwnames,&obj0)) goto fail;
6909 {
6910 arg1 = wxString_in_helper(obj0);
6911 if (arg1 == NULL) SWIG_fail;
e811c8ce 6912 temp1 = True;
d14a1e28
RD
6913 }
6914 {
6915 PyThreadState* __tstate = wxPyBeginAllowThreads();
6916 result = wxFileSystem_URLToFileName((wxString const &)*arg1);
6917
6918 wxPyEndAllowThreads(__tstate);
6919 if (PyErr_Occurred()) SWIG_fail;
6920 }
6921 {
6922#if wxUSE_UNICODE
6923 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6924#else
6925 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6926#endif
6927 }
6928 {
6929 if (temp1)
6930 delete arg1;
6931 }
6932 return resultobj;
6933 fail:
6934 {
6935 if (temp1)
6936 delete arg1;
6937 }
6938 return NULL;
6939}
6940
6941
6942static PyObject *_wrap_new_InternetFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6943 PyObject *resultobj;
6944 wxInternetFSHandler *result;
6945 char *kwnames[] = {
6946 NULL
6947 };
6948
6949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_InternetFSHandler",kwnames)) goto fail;
6950 {
6951 PyThreadState* __tstate = wxPyBeginAllowThreads();
6952 result = (wxInternetFSHandler *)new wxInternetFSHandler();
6953
6954 wxPyEndAllowThreads(__tstate);
6955 if (PyErr_Occurred()) SWIG_fail;
6956 }
6957 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxInternetFSHandler, 1);
6958 return resultobj;
6959 fail:
6960 return NULL;
6961}
6962
6963
6964static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6965 PyObject *resultobj;
6966 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
6967 wxString *arg2 = 0 ;
6968 bool result;
e811c8ce 6969 bool temp2 = False ;
d14a1e28
RD
6970 PyObject * obj0 = 0 ;
6971 PyObject * obj1 = 0 ;
6972 char *kwnames[] = {
6973 (char *) "self",(char *) "location", NULL
6974 };
6975
6976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
6977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxInternetFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6978 {
6979 arg2 = wxString_in_helper(obj1);
6980 if (arg2 == NULL) SWIG_fail;
e811c8ce 6981 temp2 = True;
d14a1e28
RD
6982 }
6983 {
6984 PyThreadState* __tstate = wxPyBeginAllowThreads();
6985 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6986
6987 wxPyEndAllowThreads(__tstate);
6988 if (PyErr_Occurred()) SWIG_fail;
6989 }
4d5c3d91 6990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6991 {
6992 if (temp2)
6993 delete arg2;
6994 }
6995 return resultobj;
6996 fail:
6997 {
6998 if (temp2)
6999 delete arg2;
7000 }
7001 return NULL;
7002}
7003
7004
7005static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7006 PyObject *resultobj;
7007 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7008 wxFileSystem *arg2 = 0 ;
7009 wxString *arg3 = 0 ;
7010 wxFSFile *result;
e811c8ce 7011 bool temp3 = False ;
d14a1e28
RD
7012 PyObject * obj0 = 0 ;
7013 PyObject * obj1 = 0 ;
7014 PyObject * obj2 = 0 ;
7015 char *kwnames[] = {
7016 (char *) "self",(char *) "fs",(char *) "location", NULL
7017 };
7018
7019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:InternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
7020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxInternetFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7021 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7022 if (arg2 == NULL) {
7023 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7024 }
7025 {
7026 arg3 = wxString_in_helper(obj2);
7027 if (arg3 == NULL) SWIG_fail;
e811c8ce 7028 temp3 = True;
d14a1e28
RD
7029 }
7030 {
7031 PyThreadState* __tstate = wxPyBeginAllowThreads();
7032 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7033
7034 wxPyEndAllowThreads(__tstate);
7035 if (PyErr_Occurred()) SWIG_fail;
7036 }
7037 {
7038 resultobj = wxPyMake_wxObject(result);
7039 }
7040 {
7041 if (temp3)
7042 delete arg3;
7043 }
7044 return resultobj;
7045 fail:
7046 {
7047 if (temp3)
7048 delete arg3;
7049 }
7050 return NULL;
7051}
7052
7053
7054static PyObject * InternetFSHandler_swigregister(PyObject *self, PyObject *args) {
7055 PyObject *obj;
7056 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7057 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler, obj);
7058 Py_INCREF(obj);
7059 return Py_BuildValue((char *)"");
7060}
7061static PyObject *_wrap_new_ZipFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7062 PyObject *resultobj;
7063 wxZipFSHandler *result;
7064 char *kwnames[] = {
7065 NULL
7066 };
7067
7068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ZipFSHandler",kwnames)) goto fail;
7069 {
7070 PyThreadState* __tstate = wxPyBeginAllowThreads();
7071 result = (wxZipFSHandler *)new wxZipFSHandler();
7072
7073 wxPyEndAllowThreads(__tstate);
7074 if (PyErr_Occurred()) SWIG_fail;
7075 }
7076 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxZipFSHandler, 1);
7077 return resultobj;
7078 fail:
7079 return NULL;
7080}
7081
7082
7083static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7084 PyObject *resultobj;
7085 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7086 wxString *arg2 = 0 ;
7087 bool result;
e811c8ce 7088 bool temp2 = False ;
d14a1e28
RD
7089 PyObject * obj0 = 0 ;
7090 PyObject * obj1 = 0 ;
7091 char *kwnames[] = {
7092 (char *) "self",(char *) "location", NULL
7093 };
7094
7095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
7096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7097 {
7098 arg2 = wxString_in_helper(obj1);
7099 if (arg2 == NULL) SWIG_fail;
e811c8ce 7100 temp2 = True;
d14a1e28
RD
7101 }
7102 {
7103 PyThreadState* __tstate = wxPyBeginAllowThreads();
7104 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7105
7106 wxPyEndAllowThreads(__tstate);
7107 if (PyErr_Occurred()) SWIG_fail;
7108 }
4d5c3d91 7109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7110 {
7111 if (temp2)
7112 delete arg2;
7113 }
7114 return resultobj;
7115 fail:
7116 {
7117 if (temp2)
7118 delete arg2;
7119 }
7120 return NULL;
7121}
7122
7123
7124static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7125 PyObject *resultobj;
7126 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7127 wxFileSystem *arg2 = 0 ;
7128 wxString *arg3 = 0 ;
7129 wxFSFile *result;
e811c8ce 7130 bool temp3 = False ;
d14a1e28
RD
7131 PyObject * obj0 = 0 ;
7132 PyObject * obj1 = 0 ;
7133 PyObject * obj2 = 0 ;
7134 char *kwnames[] = {
7135 (char *) "self",(char *) "fs",(char *) "location", NULL
7136 };
7137
7138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
7139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7140 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7141 if (arg2 == NULL) {
7142 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7143 }
7144 {
7145 arg3 = wxString_in_helper(obj2);
7146 if (arg3 == NULL) SWIG_fail;
e811c8ce 7147 temp3 = True;
d14a1e28
RD
7148 }
7149 {
7150 PyThreadState* __tstate = wxPyBeginAllowThreads();
7151 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7152
7153 wxPyEndAllowThreads(__tstate);
7154 if (PyErr_Occurred()) SWIG_fail;
7155 }
7156 {
7157 resultobj = wxPyMake_wxObject(result);
7158 }
7159 {
7160 if (temp3)
7161 delete arg3;
7162 }
7163 return resultobj;
7164 fail:
7165 {
7166 if (temp3)
7167 delete arg3;
7168 }
7169 return NULL;
7170}
7171
7172
7173static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
7174 PyObject *resultobj;
7175 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7176 wxString *arg2 = 0 ;
7177 int arg3 = (int) 0 ;
7178 wxString result;
e811c8ce 7179 bool temp2 = False ;
d14a1e28
RD
7180 PyObject * obj0 = 0 ;
7181 PyObject * obj1 = 0 ;
994141e6 7182 PyObject * obj2 = 0 ;
d14a1e28
RD
7183 char *kwnames[] = {
7184 (char *) "self",(char *) "spec",(char *) "flags", NULL
7185 };
7186
994141e6 7187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
7188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7189 {
7190 arg2 = wxString_in_helper(obj1);
7191 if (arg2 == NULL) SWIG_fail;
e811c8ce 7192 temp2 = True;
d14a1e28 7193 }
994141e6
RD
7194 if (obj2) {
7195 {
7196 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7197 if (PyErr_Occurred()) SWIG_fail;
7198 }
7199 }
d14a1e28
RD
7200 {
7201 PyThreadState* __tstate = wxPyBeginAllowThreads();
7202 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7203
7204 wxPyEndAllowThreads(__tstate);
7205 if (PyErr_Occurred()) SWIG_fail;
7206 }
7207 {
7208#if wxUSE_UNICODE
7209 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7210#else
7211 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7212#endif
7213 }
7214 {
7215 if (temp2)
7216 delete arg2;
7217 }
7218 return resultobj;
7219 fail:
7220 {
7221 if (temp2)
7222 delete arg2;
7223 }
7224 return NULL;
7225}
7226
7227
7228static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7229 PyObject *resultobj;
7230 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7231 wxString result;
7232 PyObject * obj0 = 0 ;
7233 char *kwnames[] = {
7234 (char *) "self", NULL
7235 };
7236
7237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ZipFSHandler_FindNext",kwnames,&obj0)) goto fail;
7238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7239 {
7240 PyThreadState* __tstate = wxPyBeginAllowThreads();
7241 result = (arg1)->FindNext();
7242
7243 wxPyEndAllowThreads(__tstate);
7244 if (PyErr_Occurred()) SWIG_fail;
7245 }
7246 {
7247#if wxUSE_UNICODE
7248 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7249#else
7250 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7251#endif
7252 }
7253 return resultobj;
7254 fail:
7255 return NULL;
7256}
7257
7258
7259static PyObject * ZipFSHandler_swigregister(PyObject *self, PyObject *args) {
7260 PyObject *obj;
7261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7262 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler, obj);
7263 Py_INCREF(obj);
7264 return Py_BuildValue((char *)"");
7265}
7266static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *self, PyObject *args, PyObject *kwargs) {
7267 PyObject *resultobj;
7268 wxString *arg1 = 0 ;
7269 wxImage *arg2 = 0 ;
7270 long arg3 ;
e811c8ce 7271 bool temp1 = False ;
d14a1e28
RD
7272 PyObject * obj0 = 0 ;
7273 PyObject * obj1 = 0 ;
994141e6 7274 PyObject * obj2 = 0 ;
d14a1e28
RD
7275 char *kwnames[] = {
7276 (char *) "filename",(char *) "image",(char *) "type", NULL
7277 };
7278
994141e6 7279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
7280 {
7281 arg1 = wxString_in_helper(obj0);
7282 if (arg1 == NULL) SWIG_fail;
e811c8ce 7283 temp1 = True;
d14a1e28
RD
7284 }
7285 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7286 if (arg2 == NULL) {
7287 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7288 }
994141e6
RD
7289 {
7290 arg3 = (long) SWIG_PyObj_AsLong(obj2);
7291 if (PyErr_Occurred()) SWIG_fail;
7292 }
d14a1e28
RD
7293 {
7294 PyThreadState* __tstate = wxPyBeginAllowThreads();
7295 __wxMemoryFSHandler_AddFile_wxImage((wxString const &)*arg1,*arg2,arg3);
7296
7297 wxPyEndAllowThreads(__tstate);
7298 if (PyErr_Occurred()) SWIG_fail;
7299 }
7300 Py_INCREF(Py_None); resultobj = Py_None;
7301 {
7302 if (temp1)
7303 delete arg1;
7304 }
7305 return resultobj;
7306 fail:
7307 {
7308 if (temp1)
7309 delete arg1;
7310 }
7311 return NULL;
7312}
7313
7314
7315static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
7316 PyObject *resultobj;
7317 wxString *arg1 = 0 ;
7318 wxBitmap *arg2 = 0 ;
7319 long arg3 ;
e811c8ce 7320 bool temp1 = False ;
d14a1e28
RD
7321 PyObject * obj0 = 0 ;
7322 PyObject * obj1 = 0 ;
994141e6 7323 PyObject * obj2 = 0 ;
d14a1e28
RD
7324 char *kwnames[] = {
7325 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7326 };
7327
994141e6 7328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
7329 {
7330 arg1 = wxString_in_helper(obj0);
7331 if (arg1 == NULL) SWIG_fail;
e811c8ce 7332 temp1 = True;
d14a1e28
RD
7333 }
7334 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7335 if (arg2 == NULL) {
7336 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7337 }
994141e6
RD
7338 {
7339 arg3 = (long) SWIG_PyObj_AsLong(obj2);
7340 if (PyErr_Occurred()) SWIG_fail;
7341 }
d14a1e28
RD
7342 {
7343 PyThreadState* __tstate = wxPyBeginAllowThreads();
7344 __wxMemoryFSHandler_AddFile_wxBitmap((wxString const &)*arg1,(wxBitmap const &)*arg2,arg3);
7345
7346 wxPyEndAllowThreads(__tstate);
7347 if (PyErr_Occurred()) SWIG_fail;
7348 }
7349 Py_INCREF(Py_None); resultobj = Py_None;
7350 {
7351 if (temp1)
7352 delete arg1;
7353 }
7354 return resultobj;
7355 fail:
7356 {
7357 if (temp1)
7358 delete arg1;
7359 }
7360 return NULL;
7361}
7362
7363
7364static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *self, PyObject *args, PyObject *kwargs) {
7365 PyObject *resultobj;
7366 wxString *arg1 = 0 ;
7367 PyObject *arg2 = (PyObject *) 0 ;
e811c8ce 7368 bool temp1 = False ;
d14a1e28
RD
7369 PyObject * obj0 = 0 ;
7370 PyObject * obj1 = 0 ;
7371 char *kwnames[] = {
7372 (char *) "filename",(char *) "data", NULL
7373 };
7374
7375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames,&obj0,&obj1)) goto fail;
7376 {
7377 arg1 = wxString_in_helper(obj0);
7378 if (arg1 == NULL) SWIG_fail;
e811c8ce 7379 temp1 = True;
d14a1e28
RD
7380 }
7381 arg2 = obj1;
7382 {
7383 PyThreadState* __tstate = wxPyBeginAllowThreads();
7384 __wxMemoryFSHandler_AddFile_Data((wxString const &)*arg1,arg2);
7385
7386 wxPyEndAllowThreads(__tstate);
7387 if (PyErr_Occurred()) SWIG_fail;
7388 }
7389 Py_INCREF(Py_None); resultobj = Py_None;
7390 {
7391 if (temp1)
7392 delete arg1;
7393 }
7394 return resultobj;
7395 fail:
7396 {
7397 if (temp1)
7398 delete arg1;
7399 }
7400 return NULL;
7401}
7402
7403
7404static PyObject *_wrap_new_MemoryFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7405 PyObject *resultobj;
7406 wxMemoryFSHandler *result;
7407 char *kwnames[] = {
7408 NULL
7409 };
7410
7411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryFSHandler",kwnames)) goto fail;
7412 {
7413 PyThreadState* __tstate = wxPyBeginAllowThreads();
7414 result = (wxMemoryFSHandler *)new wxMemoryFSHandler();
7415
7416 wxPyEndAllowThreads(__tstate);
7417 if (PyErr_Occurred()) SWIG_fail;
7418 }
7419 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMemoryFSHandler, 1);
7420 return resultobj;
7421 fail:
7422 return NULL;
7423}
7424
7425
7426static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7427 PyObject *resultobj;
7428 wxString *arg1 = 0 ;
e811c8ce 7429 bool temp1 = False ;
d14a1e28
RD
7430 PyObject * obj0 = 0 ;
7431 char *kwnames[] = {
7432 (char *) "filename", NULL
7433 };
7434
7435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail;
7436 {
7437 arg1 = wxString_in_helper(obj0);
7438 if (arg1 == NULL) SWIG_fail;
e811c8ce 7439 temp1 = True;
d14a1e28
RD
7440 }
7441 {
7442 PyThreadState* __tstate = wxPyBeginAllowThreads();
7443 wxMemoryFSHandler::RemoveFile((wxString const &)*arg1);
7444
7445 wxPyEndAllowThreads(__tstate);
7446 if (PyErr_Occurred()) SWIG_fail;
7447 }
7448 Py_INCREF(Py_None); resultobj = Py_None;
7449 {
7450 if (temp1)
7451 delete arg1;
7452 }
7453 return resultobj;
7454 fail:
7455 {
7456 if (temp1)
7457 delete arg1;
7458 }
7459 return NULL;
7460}
7461
7462
7463static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7464 PyObject *resultobj;
7465 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7466 wxString *arg2 = 0 ;
7467 bool result;
e811c8ce 7468 bool temp2 = False ;
d14a1e28
RD
7469 PyObject * obj0 = 0 ;
7470 PyObject * obj1 = 0 ;
7471 char *kwnames[] = {
7472 (char *) "self",(char *) "location", NULL
7473 };
7474
7475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
7476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7477 {
7478 arg2 = wxString_in_helper(obj1);
7479 if (arg2 == NULL) SWIG_fail;
e811c8ce 7480 temp2 = True;
d14a1e28
RD
7481 }
7482 {
7483 PyThreadState* __tstate = wxPyBeginAllowThreads();
7484 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7485
7486 wxPyEndAllowThreads(__tstate);
7487 if (PyErr_Occurred()) SWIG_fail;
7488 }
4d5c3d91 7489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7490 {
7491 if (temp2)
7492 delete arg2;
7493 }
7494 return resultobj;
7495 fail:
7496 {
7497 if (temp2)
7498 delete arg2;
7499 }
7500 return NULL;
7501}
7502
7503
7504static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7505 PyObject *resultobj;
7506 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7507 wxFileSystem *arg2 = 0 ;
7508 wxString *arg3 = 0 ;
7509 wxFSFile *result;
e811c8ce 7510 bool temp3 = False ;
d14a1e28
RD
7511 PyObject * obj0 = 0 ;
7512 PyObject * obj1 = 0 ;
7513 PyObject * obj2 = 0 ;
7514 char *kwnames[] = {
7515 (char *) "self",(char *) "fs",(char *) "location", NULL
7516 };
7517
7518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
7519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7520 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7521 if (arg2 == NULL) {
7522 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7523 }
7524 {
7525 arg3 = wxString_in_helper(obj2);
7526 if (arg3 == NULL) SWIG_fail;
e811c8ce 7527 temp3 = True;
d14a1e28
RD
7528 }
7529 {
7530 PyThreadState* __tstate = wxPyBeginAllowThreads();
7531 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7532
7533 wxPyEndAllowThreads(__tstate);
7534 if (PyErr_Occurred()) SWIG_fail;
7535 }
7536 {
7537 resultobj = wxPyMake_wxObject(result);
7538 }
7539 {
7540 if (temp3)
7541 delete arg3;
7542 }
7543 return resultobj;
7544 fail:
7545 {
7546 if (temp3)
7547 delete arg3;
7548 }
7549 return NULL;
7550}
7551
7552
7553static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
7554 PyObject *resultobj;
7555 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7556 wxString *arg2 = 0 ;
7557 int arg3 = (int) 0 ;
7558 wxString result;
e811c8ce 7559 bool temp2 = False ;
d14a1e28
RD
7560 PyObject * obj0 = 0 ;
7561 PyObject * obj1 = 0 ;
994141e6 7562 PyObject * obj2 = 0 ;
d14a1e28
RD
7563 char *kwnames[] = {
7564 (char *) "self",(char *) "spec",(char *) "flags", NULL
7565 };
7566
994141e6 7567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
7568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7569 {
7570 arg2 = wxString_in_helper(obj1);
7571 if (arg2 == NULL) SWIG_fail;
e811c8ce 7572 temp2 = True;
d14a1e28 7573 }
994141e6
RD
7574 if (obj2) {
7575 {
7576 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7577 if (PyErr_Occurred()) SWIG_fail;
7578 }
7579 }
d14a1e28
RD
7580 {
7581 PyThreadState* __tstate = wxPyBeginAllowThreads();
7582 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7583
7584 wxPyEndAllowThreads(__tstate);
7585 if (PyErr_Occurred()) SWIG_fail;
7586 }
7587 {
7588#if wxUSE_UNICODE
7589 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7590#else
7591 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7592#endif
7593 }
7594 {
7595 if (temp2)
7596 delete arg2;
7597 }
7598 return resultobj;
7599 fail:
7600 {
7601 if (temp2)
7602 delete arg2;
7603 }
7604 return NULL;
7605}
7606
7607
7608static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7609 PyObject *resultobj;
7610 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7611 wxString result;
7612 PyObject * obj0 = 0 ;
7613 char *kwnames[] = {
7614 (char *) "self", NULL
7615 };
7616
7617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_FindNext",kwnames,&obj0)) goto fail;
7618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7619 {
7620 PyThreadState* __tstate = wxPyBeginAllowThreads();
7621 result = (arg1)->FindNext();
7622
7623 wxPyEndAllowThreads(__tstate);
7624 if (PyErr_Occurred()) SWIG_fail;
7625 }
7626 {
7627#if wxUSE_UNICODE
7628 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7629#else
7630 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7631#endif
7632 }
7633 return resultobj;
7634 fail:
7635 return NULL;
7636}
7637
7638
7639static PyObject * MemoryFSHandler_swigregister(PyObject *self, PyObject *args) {
7640 PyObject *obj;
7641 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7642 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler, obj);
7643 Py_INCREF(obj);
7644 return Py_BuildValue((char *)"");
7645}
7646static PyObject *_wrap_ImageHandler_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
7647 PyObject *resultobj;
7648 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7649 wxString result;
7650 PyObject * obj0 = 0 ;
7651 char *kwnames[] = {
7652 (char *) "self", NULL
7653 };
7654
7655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetName",kwnames,&obj0)) goto fail;
7656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7657 {
7658 PyThreadState* __tstate = wxPyBeginAllowThreads();
7659 result = (arg1)->GetName();
7660
7661 wxPyEndAllowThreads(__tstate);
7662 if (PyErr_Occurred()) SWIG_fail;
7663 }
7664 {
7665#if wxUSE_UNICODE
7666 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7667#else
7668 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7669#endif
7670 }
7671 return resultobj;
7672 fail:
7673 return NULL;
7674}
7675
7676
7677static PyObject *_wrap_ImageHandler_GetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
7678 PyObject *resultobj;
7679 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7680 wxString result;
7681 PyObject * obj0 = 0 ;
7682 char *kwnames[] = {
7683 (char *) "self", NULL
7684 };
7685
7686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetExtension",kwnames,&obj0)) goto fail;
7687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7688 {
7689 PyThreadState* __tstate = wxPyBeginAllowThreads();
7690 result = (arg1)->GetExtension();
7691
7692 wxPyEndAllowThreads(__tstate);
7693 if (PyErr_Occurred()) SWIG_fail;
7694 }
7695 {
7696#if wxUSE_UNICODE
7697 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7698#else
7699 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7700#endif
7701 }
7702 return resultobj;
7703 fail:
7704 return NULL;
7705}
7706
7707
7708static PyObject *_wrap_ImageHandler_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
7709 PyObject *resultobj;
7710 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7711 long result;
7712 PyObject * obj0 = 0 ;
7713 char *kwnames[] = {
7714 (char *) "self", NULL
7715 };
7716
7717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetType",kwnames,&obj0)) goto fail;
7718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7719 {
7720 PyThreadState* __tstate = wxPyBeginAllowThreads();
7721 result = (long)(arg1)->GetType();
7722
7723 wxPyEndAllowThreads(__tstate);
7724 if (PyErr_Occurred()) SWIG_fail;
7725 }
994141e6 7726 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
7727 return resultobj;
7728 fail:
7729 return NULL;
7730}
7731
7732
7733static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
7734 PyObject *resultobj;
7735 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7736 wxString result;
7737 PyObject * obj0 = 0 ;
7738 char *kwnames[] = {
7739 (char *) "self", NULL
7740 };
7741
7742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetMimeType",kwnames,&obj0)) goto fail;
7743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7744 {
7745 PyThreadState* __tstate = wxPyBeginAllowThreads();
7746 result = (arg1)->GetMimeType();
7747
7748 wxPyEndAllowThreads(__tstate);
7749 if (PyErr_Occurred()) SWIG_fail;
7750 }
7751 {
7752#if wxUSE_UNICODE
7753 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7754#else
7755 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7756#endif
7757 }
7758 return resultobj;
7759 fail:
7760 return NULL;
7761}
7762
7763
7764static PyObject *_wrap_ImageHandler_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
7765 PyObject *resultobj;
7766 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7767 wxString *arg2 = 0 ;
7768 bool result;
e811c8ce 7769 bool temp2 = False ;
d14a1e28
RD
7770 PyObject * obj0 = 0 ;
7771 PyObject * obj1 = 0 ;
7772 char *kwnames[] = {
7773 (char *) "self",(char *) "name", NULL
7774 };
7775
7776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail;
7777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7778 {
7779 arg2 = wxString_in_helper(obj1);
7780 if (arg2 == NULL) SWIG_fail;
e811c8ce 7781 temp2 = True;
d14a1e28
RD
7782 }
7783 {
7784 PyThreadState* __tstate = wxPyBeginAllowThreads();
7785 result = (bool)(arg1)->CanRead((wxString const &)*arg2);
7786
7787 wxPyEndAllowThreads(__tstate);
7788 if (PyErr_Occurred()) SWIG_fail;
7789 }
4d5c3d91 7790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7791 {
7792 if (temp2)
7793 delete arg2;
7794 }
7795 return resultobj;
7796 fail:
7797 {
7798 if (temp2)
7799 delete arg2;
7800 }
7801 return NULL;
7802}
7803
7804
7805static PyObject *_wrap_ImageHandler_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
7806 PyObject *resultobj;
7807 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7808 wxString *arg2 = 0 ;
e811c8ce 7809 bool temp2 = False ;
d14a1e28
RD
7810 PyObject * obj0 = 0 ;
7811 PyObject * obj1 = 0 ;
7812 char *kwnames[] = {
7813 (char *) "self",(char *) "name", NULL
7814 };
7815
7816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail;
7817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7818 {
7819 arg2 = wxString_in_helper(obj1);
7820 if (arg2 == NULL) SWIG_fail;
e811c8ce 7821 temp2 = True;
d14a1e28
RD
7822 }
7823 {
7824 PyThreadState* __tstate = wxPyBeginAllowThreads();
7825 (arg1)->SetName((wxString const &)*arg2);
7826
7827 wxPyEndAllowThreads(__tstate);
7828 if (PyErr_Occurred()) SWIG_fail;
7829 }
7830 Py_INCREF(Py_None); resultobj = Py_None;
7831 {
7832 if (temp2)
7833 delete arg2;
7834 }
7835 return resultobj;
7836 fail:
7837 {
7838 if (temp2)
7839 delete arg2;
7840 }
7841 return NULL;
7842}
7843
7844
7845static PyObject *_wrap_ImageHandler_SetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
7846 PyObject *resultobj;
7847 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7848 wxString *arg2 = 0 ;
e811c8ce 7849 bool temp2 = False ;
d14a1e28
RD
7850 PyObject * obj0 = 0 ;
7851 PyObject * obj1 = 0 ;
7852 char *kwnames[] = {
7853 (char *) "self",(char *) "extension", NULL
7854 };
7855
7856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail;
7857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7858 {
7859 arg2 = wxString_in_helper(obj1);
7860 if (arg2 == NULL) SWIG_fail;
e811c8ce 7861 temp2 = True;
d14a1e28
RD
7862 }
7863 {
7864 PyThreadState* __tstate = wxPyBeginAllowThreads();
7865 (arg1)->SetExtension((wxString const &)*arg2);
7866
7867 wxPyEndAllowThreads(__tstate);
7868 if (PyErr_Occurred()) SWIG_fail;
7869 }
7870 Py_INCREF(Py_None); resultobj = Py_None;
7871 {
7872 if (temp2)
7873 delete arg2;
7874 }
7875 return resultobj;
7876 fail:
7877 {
7878 if (temp2)
7879 delete arg2;
7880 }
7881 return NULL;
7882}
7883
7884
7885static PyObject *_wrap_ImageHandler_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
7886 PyObject *resultobj;
7887 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7888 long arg2 ;
7889 PyObject * obj0 = 0 ;
994141e6 7890 PyObject * obj1 = 0 ;
d14a1e28
RD
7891 char *kwnames[] = {
7892 (char *) "self",(char *) "type", NULL
7893 };
7894
994141e6 7895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetType",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 7896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
7897 {
7898 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7899 if (PyErr_Occurred()) SWIG_fail;
7900 }
d14a1e28
RD
7901 {
7902 PyThreadState* __tstate = wxPyBeginAllowThreads();
7903 (arg1)->SetType(arg2);
7904
7905 wxPyEndAllowThreads(__tstate);
7906 if (PyErr_Occurred()) SWIG_fail;
7907 }
7908 Py_INCREF(Py_None); resultobj = Py_None;
7909 return resultobj;
7910 fail:
7911 return NULL;
7912}
7913
7914
7915static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
7916 PyObject *resultobj;
7917 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7918 wxString *arg2 = 0 ;
e811c8ce 7919 bool temp2 = False ;
d14a1e28
RD
7920 PyObject * obj0 = 0 ;
7921 PyObject * obj1 = 0 ;
7922 char *kwnames[] = {
7923 (char *) "self",(char *) "mimetype", NULL
7924 };
7925
7926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetMimeType",kwnames,&obj0,&obj1)) goto fail;
7927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7928 {
7929 arg2 = wxString_in_helper(obj1);
7930 if (arg2 == NULL) SWIG_fail;
e811c8ce 7931 temp2 = True;
d14a1e28
RD
7932 }
7933 {
7934 PyThreadState* __tstate = wxPyBeginAllowThreads();
7935 (arg1)->SetMimeType((wxString const &)*arg2);
7936
7937 wxPyEndAllowThreads(__tstate);
7938 if (PyErr_Occurred()) SWIG_fail;
7939 }
7940 Py_INCREF(Py_None); resultobj = Py_None;
7941 {
7942 if (temp2)
7943 delete arg2;
7944 }
7945 return resultobj;
7946 fail:
7947 {
7948 if (temp2)
7949 delete arg2;
7950 }
7951 return NULL;
7952}
7953
7954
7955static PyObject * ImageHandler_swigregister(PyObject *self, PyObject *args) {
7956 PyObject *obj;
7957 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7958 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler, obj);
7959 Py_INCREF(obj);
7960 return Py_BuildValue((char *)"");
7961}
7962static PyObject *_wrap_new_ImageHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
7963 PyObject *resultobj;
7964 wxImageHistogram *result;
7965 char *kwnames[] = {
7966 NULL
7967 };
7968
7969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ImageHistogram",kwnames)) goto fail;
7970 {
7971 PyThreadState* __tstate = wxPyBeginAllowThreads();
7972 result = (wxImageHistogram *)new wxImageHistogram();
7973
7974 wxPyEndAllowThreads(__tstate);
7975 if (PyErr_Occurred()) SWIG_fail;
7976 }
7977 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImageHistogram, 1);
7978 return resultobj;
7979 fail:
7980 return NULL;
7981}
7982
7983
7984static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *self, PyObject *args, PyObject *kwargs) {
7985 PyObject *resultobj;
7986 unsigned char arg1 ;
7987 unsigned char arg2 ;
7988 unsigned char arg3 ;
7989 unsigned long result;
7990 PyObject * obj0 = 0 ;
7991 PyObject * obj1 = 0 ;
7992 PyObject * obj2 = 0 ;
7993 char *kwnames[] = {
7994 (char *) "r",(char *) "g",(char *) "b", NULL
7995 };
7996
7997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail;
a41e16b6 7998 {
994141e6 7999 arg1 = (unsigned char) SWIG_PyObj_AsUnsignedChar(obj0);
a41e16b6
RD
8000 if (PyErr_Occurred()) SWIG_fail;
8001 }
8002 {
994141e6 8003 arg2 = (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1);
a41e16b6
RD
8004 if (PyErr_Occurred()) SWIG_fail;
8005 }
8006 {
994141e6 8007 arg3 = (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2);
a41e16b6
RD
8008 if (PyErr_Occurred()) SWIG_fail;
8009 }
d14a1e28
RD
8010 {
8011 PyThreadState* __tstate = wxPyBeginAllowThreads();
8012 result = (unsigned long)wxImageHistogram::MakeKey(arg1,arg2,arg3);
8013
8014 wxPyEndAllowThreads(__tstate);
8015 if (PyErr_Occurred()) SWIG_fail;
8016 }
994141e6 8017 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
8018 return resultobj;
8019 fail:
8020 return NULL;
8021}
8022
8023
8024static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8025 PyObject *resultobj;
8026 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
8027 unsigned char *arg2 = (unsigned char *) 0 ;
8028 unsigned char *arg3 = (unsigned char *) 0 ;
8029 unsigned char *arg4 = (unsigned char *) 0 ;
8030 unsigned char arg5 = (unsigned char) 1 ;
8031 unsigned char arg6 = (unsigned char) 0 ;
8032 unsigned char arg7 = (unsigned char) 0 ;
8033 bool result;
8034 unsigned char temp2 ;
8035 unsigned char temp3 ;
8036 unsigned char temp4 ;
8037 PyObject * obj0 = 0 ;
8038 PyObject * obj1 = 0 ;
8039 PyObject * obj2 = 0 ;
8040 PyObject * obj3 = 0 ;
8041 char *kwnames[] = {
8042 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8043 };
8044
8045 arg2 = &temp2;
8046 arg3 = &temp3;
8047 arg4 = &temp4;
8048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHistogram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8050 if (obj1) {
a41e16b6 8051 {
994141e6 8052 arg5 = (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1);
a41e16b6
RD
8053 if (PyErr_Occurred()) SWIG_fail;
8054 }
d14a1e28
RD
8055 }
8056 if (obj2) {
a41e16b6 8057 {
994141e6 8058 arg6 = (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2);
a41e16b6
RD
8059 if (PyErr_Occurred()) SWIG_fail;
8060 }
d14a1e28
RD
8061 }
8062 if (obj3) {
a41e16b6 8063 {
994141e6 8064 arg7 = (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3);
a41e16b6
RD
8065 if (PyErr_Occurred()) SWIG_fail;
8066 }
d14a1e28
RD
8067 }
8068 {
8069 PyThreadState* __tstate = wxPyBeginAllowThreads();
8070 result = (bool)((wxImageHistogram const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
8071
8072 wxPyEndAllowThreads(__tstate);
8073 if (PyErr_Occurred()) SWIG_fail;
8074 }
4d5c3d91 8075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8076 {
8077 PyObject *o = PyInt_FromLong((long) (*arg2));
8078 resultobj = t_output_helper(resultobj,o);
8079 }
8080 {
8081 PyObject *o = PyInt_FromLong((long) (*arg3));
8082 resultobj = t_output_helper(resultobj,o);
8083 }
8084 {
8085 PyObject *o = PyInt_FromLong((long) (*arg4));
8086 resultobj = t_output_helper(resultobj,o);
8087 }
8088 return resultobj;
8089 fail:
8090 return NULL;
8091}
8092
8093
8094static PyObject * ImageHistogram_swigregister(PyObject *self, PyObject *args) {
8095 PyObject *obj;
8096 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8097 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram, obj);
8098 Py_INCREF(obj);
8099 return Py_BuildValue((char *)"");
8100}
8101static PyObject *_wrap_new_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
8102 PyObject *resultobj;
8103 wxString *arg1 = 0 ;
8104 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8105 int arg3 = (int) -1 ;
8106 wxImage *result;
e811c8ce 8107 bool temp1 = False ;
d14a1e28 8108 PyObject * obj0 = 0 ;
994141e6
RD
8109 PyObject * obj1 = 0 ;
8110 PyObject * obj2 = 0 ;
d14a1e28
RD
8111 char *kwnames[] = {
8112 (char *) "name",(char *) "type",(char *) "index", NULL
8113 };
8114
994141e6 8115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_Image",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8116 {
8117 arg1 = wxString_in_helper(obj0);
8118 if (arg1 == NULL) SWIG_fail;
e811c8ce 8119 temp1 = True;
d14a1e28 8120 }
994141e6
RD
8121 if (obj1) {
8122 {
8123 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8124 if (PyErr_Occurred()) SWIG_fail;
8125 }
8126 }
8127 if (obj2) {
8128 {
8129 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8130 if (PyErr_Occurred()) SWIG_fail;
8131 }
8132 }
d14a1e28
RD
8133 {
8134 PyThreadState* __tstate = wxPyBeginAllowThreads();
8135 result = (wxImage *)new wxImage((wxString const &)*arg1,arg2,arg3);
8136
8137 wxPyEndAllowThreads(__tstate);
8138 if (PyErr_Occurred()) SWIG_fail;
8139 }
8140 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
8141 {
8142 if (temp1)
8143 delete arg1;
8144 }
8145 return resultobj;
8146 fail:
8147 {
8148 if (temp1)
8149 delete arg1;
8150 }
8151 return NULL;
8152}
8153
8154
8155static PyObject *_wrap_delete_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
8156 PyObject *resultobj;
8157 wxImage *arg1 = (wxImage *) 0 ;
8158 PyObject * obj0 = 0 ;
8159 char *kwnames[] = {
8160 (char *) "self", NULL
8161 };
8162
8163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Image",kwnames,&obj0)) goto fail;
8164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8165 {
8166 PyThreadState* __tstate = wxPyBeginAllowThreads();
8167 delete arg1;
8168
8169 wxPyEndAllowThreads(__tstate);
8170 if (PyErr_Occurred()) SWIG_fail;
8171 }
8172 Py_INCREF(Py_None); resultobj = Py_None;
8173 return resultobj;
8174 fail:
8175 return NULL;
8176}
8177
8178
8179static PyObject *_wrap_new_ImageFromMime(PyObject *self, PyObject *args, PyObject *kwargs) {
8180 PyObject *resultobj;
8181 wxString *arg1 = 0 ;
8182 wxString *arg2 = 0 ;
8183 int arg3 = (int) -1 ;
8184 wxImage *result;
e811c8ce
RD
8185 bool temp1 = False ;
8186 bool temp2 = False ;
d14a1e28
RD
8187 PyObject * obj0 = 0 ;
8188 PyObject * obj1 = 0 ;
994141e6 8189 PyObject * obj2 = 0 ;
d14a1e28
RD
8190 char *kwnames[] = {
8191 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8192 };
8193
994141e6 8194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8195 {
8196 arg1 = wxString_in_helper(obj0);
8197 if (arg1 == NULL) SWIG_fail;
e811c8ce 8198 temp1 = True;
d14a1e28
RD
8199 }
8200 {
8201 arg2 = wxString_in_helper(obj1);
8202 if (arg2 == NULL) SWIG_fail;
e811c8ce 8203 temp2 = True;
d14a1e28 8204 }
994141e6
RD
8205 if (obj2) {
8206 {
8207 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8208 if (PyErr_Occurred()) SWIG_fail;
8209 }
8210 }
d14a1e28
RD
8211 {
8212 PyThreadState* __tstate = wxPyBeginAllowThreads();
8213 result = (wxImage *)new wxImage((wxString const &)*arg1,(wxString const &)*arg2,arg3);
8214
8215 wxPyEndAllowThreads(__tstate);
8216 if (PyErr_Occurred()) SWIG_fail;
8217 }
8218 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
8219 {
8220 if (temp1)
8221 delete arg1;
8222 }
8223 {
8224 if (temp2)
8225 delete arg2;
8226 }
8227 return resultobj;
8228 fail:
8229 {
8230 if (temp1)
8231 delete arg1;
8232 }
8233 {
8234 if (temp2)
8235 delete arg2;
8236 }
8237 return NULL;
8238}
8239
8240
8241static PyObject *_wrap_new_ImageFromStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8242 PyObject *resultobj;
8243 wxInputStream *arg1 = 0 ;
8244 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8245 int arg3 = (int) -1 ;
8246 wxImage *result;
8247 wxPyInputStream *temp1 ;
8248 bool created1 ;
8249 PyObject * obj0 = 0 ;
994141e6
RD
8250 PyObject * obj1 = 0 ;
8251 PyObject * obj2 = 0 ;
d14a1e28
RD
8252 char *kwnames[] = {
8253 (char *) "stream",(char *) "type",(char *) "index", NULL
8254 };
8255
994141e6 8256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_ImageFromStream",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8257 {
8258 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8259 arg1 = temp1->m_wxis;
e811c8ce 8260 created1 = False;
d14a1e28
RD
8261 } else {
8262 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 8263 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
8264 if (arg1 == NULL) {
8265 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8266 SWIG_fail;
8267 }
e811c8ce 8268 created1 = True;
d14a1e28
RD
8269 }
8270 }
994141e6
RD
8271 if (obj1) {
8272 {
8273 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8274 if (PyErr_Occurred()) SWIG_fail;
8275 }
8276 }
8277 if (obj2) {
8278 {
8279 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8280 if (PyErr_Occurred()) SWIG_fail;
8281 }
8282 }
d14a1e28
RD
8283 {
8284 PyThreadState* __tstate = wxPyBeginAllowThreads();
8285 result = (wxImage *)new wxImage(*arg1,arg2,arg3);
8286
8287 wxPyEndAllowThreads(__tstate);
8288 if (PyErr_Occurred()) SWIG_fail;
8289 }
8290 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
8291 {
8292 if (created1)
8293 delete arg1;
8294 }
8295 return resultobj;
8296 fail:
8297 {
8298 if (created1)
8299 delete arg1;
8300 }
8301 return NULL;
8302}
8303
8304
8305static PyObject *_wrap_new_ImageFromStreamMime(PyObject *self, PyObject *args, PyObject *kwargs) {
8306 PyObject *resultobj;
8307 wxInputStream *arg1 = 0 ;
8308 wxString *arg2 = 0 ;
8309 int arg3 = (int) -1 ;
8310 wxImage *result;
8311 wxPyInputStream *temp1 ;
8312 bool created1 ;
e811c8ce 8313 bool temp2 = False ;
d14a1e28
RD
8314 PyObject * obj0 = 0 ;
8315 PyObject * obj1 = 0 ;
994141e6 8316 PyObject * obj2 = 0 ;
d14a1e28
RD
8317 char *kwnames[] = {
8318 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8319 };
8320
994141e6 8321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromStreamMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8322 {
8323 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8324 arg1 = temp1->m_wxis;
e811c8ce 8325 created1 = False;
d14a1e28
RD
8326 } else {
8327 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 8328 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
8329 if (arg1 == NULL) {
8330 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8331 SWIG_fail;
8332 }
e811c8ce 8333 created1 = True;
d14a1e28
RD
8334 }
8335 }
8336 {
8337 arg2 = wxString_in_helper(obj1);
8338 if (arg2 == NULL) SWIG_fail;
e811c8ce 8339 temp2 = True;
d14a1e28 8340 }
994141e6
RD
8341 if (obj2) {
8342 {
8343 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8344 if (PyErr_Occurred()) SWIG_fail;
8345 }
8346 }
d14a1e28
RD
8347 {
8348 PyThreadState* __tstate = wxPyBeginAllowThreads();
8349 result = (wxImage *)new wxImage(*arg1,(wxString const &)*arg2,arg3);
8350
8351 wxPyEndAllowThreads(__tstate);
8352 if (PyErr_Occurred()) SWIG_fail;
8353 }
8354 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
8355 {
8356 if (created1)
8357 delete arg1;
8358 }
8359 {
8360 if (temp2)
8361 delete arg2;
8362 }
8363 return resultobj;
8364 fail:
8365 {
8366 if (created1)
8367 delete arg1;
8368 }
8369 {
8370 if (temp2)
8371 delete arg2;
8372 }
8373 return NULL;
8374}
8375
8376
8377static PyObject *_wrap_new_EmptyImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8378 PyObject *resultobj;
8379 int arg1 = (int) 0 ;
8380 int arg2 = (int) 0 ;
e811c8ce 8381 bool arg3 = (bool) True ;
d14a1e28 8382 wxImage *result;
994141e6
RD
8383 PyObject * obj0 = 0 ;
8384 PyObject * obj1 = 0 ;
d14a1e28
RD
8385 PyObject * obj2 = 0 ;
8386 char *kwnames[] = {
8387 (char *) "width",(char *) "height",(char *) "clear", NULL
8388 };
8389
994141e6
RD
8390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_EmptyImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
8391 if (obj0) {
8392 {
8393 arg1 = (int) SWIG_PyObj_AsInt(obj0);
8394 if (PyErr_Occurred()) SWIG_fail;
8395 }
8396 }
8397 if (obj1) {
8398 {
8399 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8400 if (PyErr_Occurred()) SWIG_fail;
8401 }
8402 }
d14a1e28 8403 if (obj2) {
a41e16b6 8404 {
994141e6 8405 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
a41e16b6
RD
8406 if (PyErr_Occurred()) SWIG_fail;
8407 }
d14a1e28
RD
8408 }
8409 {
8410 PyThreadState* __tstate = wxPyBeginAllowThreads();
8411 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
8412
8413 wxPyEndAllowThreads(__tstate);
8414 if (PyErr_Occurred()) SWIG_fail;
8415 }
8416 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
8417 return resultobj;
8418 fail:
8419 return NULL;
8420}
8421
8422
8423static PyObject *_wrap_new_ImageFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8424 PyObject *resultobj;
8425 wxBitmap *arg1 = 0 ;
8426 wxImage *result;
8427 PyObject * obj0 = 0 ;
8428 char *kwnames[] = {
8429 (char *) "bitmap", NULL
8430 };
8431
8432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ImageFromBitmap",kwnames,&obj0)) goto fail;
8433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8434 if (arg1 == NULL) {
8435 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8436 }
8437 {
8438 PyThreadState* __tstate = wxPyBeginAllowThreads();
8439 result = (wxImage *)new_wxImage((wxBitmap const &)*arg1);
8440
8441 wxPyEndAllowThreads(__tstate);
8442 if (PyErr_Occurred()) SWIG_fail;
8443 }
8444 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
8445 return resultobj;
8446 fail:
8447 return NULL;
8448}
8449
8450
8451static PyObject *_wrap_new_ImageFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
8452 PyObject *resultobj;
8453 int arg1 ;
8454 int arg2 ;
8455 unsigned char *arg3 = (unsigned char *) 0 ;
8456 wxImage *result;
994141e6
RD
8457 PyObject * obj0 = 0 ;
8458 PyObject * obj1 = 0 ;
d14a1e28
RD
8459 PyObject * obj2 = 0 ;
8460 char *kwnames[] = {
8461 (char *) "width",(char *) "height",(char *) "data", NULL
8462 };
8463
994141e6
RD
8464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ImageFromData",kwnames,&obj0,&obj1,&obj2)) goto fail;
8465 {
8466 arg1 = (int) SWIG_PyObj_AsInt(obj0);
8467 if (PyErr_Occurred()) SWIG_fail;
8468 }
8469 {
8470 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8471 if (PyErr_Occurred()) SWIG_fail;
8472 }
d14a1e28
RD
8473 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8474 {
8475 PyThreadState* __tstate = wxPyBeginAllowThreads();
8476 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
8477
8478 wxPyEndAllowThreads(__tstate);
8479 if (PyErr_Occurred()) SWIG_fail;
8480 }
8481 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
8482 return resultobj;
8483 fail:
8484 return NULL;
8485}
8486
8487
8488static PyObject *_wrap_Image_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8489 PyObject *resultobj;
8490 wxImage *arg1 = (wxImage *) 0 ;
8491 int arg2 ;
8492 int arg3 ;
8493 PyObject * obj0 = 0 ;
994141e6
RD
8494 PyObject * obj1 = 0 ;
8495 PyObject * obj2 = 0 ;
d14a1e28
RD
8496 char *kwnames[] = {
8497 (char *) "self",(char *) "width",(char *) "height", NULL
8498 };
8499
994141e6 8500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 8501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
8502 {
8503 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8504 if (PyErr_Occurred()) SWIG_fail;
8505 }
8506 {
8507 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8508 if (PyErr_Occurred()) SWIG_fail;
8509 }
d14a1e28
RD
8510 {
8511 PyThreadState* __tstate = wxPyBeginAllowThreads();
8512 (arg1)->Create(arg2,arg3);
8513
8514 wxPyEndAllowThreads(__tstate);
8515 if (PyErr_Occurred()) SWIG_fail;
8516 }
8517 Py_INCREF(Py_None); resultobj = Py_None;
8518 return resultobj;
8519 fail:
8520 return NULL;
8521}
8522
8523
8524static PyObject *_wrap_Image_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
8525 PyObject *resultobj;
8526 wxImage *arg1 = (wxImage *) 0 ;
8527 PyObject * obj0 = 0 ;
8528 char *kwnames[] = {
8529 (char *) "self", NULL
8530 };
8531
8532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail;
8533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8534 {
8535 PyThreadState* __tstate = wxPyBeginAllowThreads();
8536 (arg1)->Destroy();
8537
8538 wxPyEndAllowThreads(__tstate);
8539 if (PyErr_Occurred()) SWIG_fail;
8540 }
8541 Py_INCREF(Py_None); resultobj = Py_None;
8542 return resultobj;
8543 fail:
8544 return NULL;
8545}
8546
8547
8548static PyObject *_wrap_Image_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
8549 PyObject *resultobj;
8550 wxImage *arg1 = (wxImage *) 0 ;
8551 int arg2 ;
8552 int arg3 ;
8553 SwigValueWrapper< wxImage > result;
8554 PyObject * obj0 = 0 ;
994141e6
RD
8555 PyObject * obj1 = 0 ;
8556 PyObject * obj2 = 0 ;
d14a1e28
RD
8557 char *kwnames[] = {
8558 (char *) "self",(char *) "width",(char *) "height", NULL
8559 };
8560
994141e6 8561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 8562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
8563 {
8564 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8565 if (PyErr_Occurred()) SWIG_fail;
8566 }
8567 {
8568 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8569 if (PyErr_Occurred()) SWIG_fail;
8570 }
d14a1e28
RD
8571 {
8572 PyThreadState* __tstate = wxPyBeginAllowThreads();
8573 result = (arg1)->Scale(arg2,arg3);
8574
8575 wxPyEndAllowThreads(__tstate);
8576 if (PyErr_Occurred()) SWIG_fail;
8577 }
8578 {
8579 wxImage * resultptr;
8580 resultptr = new wxImage((wxImage &) result);
8581 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
8582 }
8583 return resultobj;
8584 fail:
8585 return NULL;
8586}
8587
8588
8589static PyObject *_wrap_Image_ShrinkBy(PyObject *self, PyObject *args, PyObject *kwargs) {
8590 PyObject *resultobj;
8591 wxImage *arg1 = (wxImage *) 0 ;
8592 int arg2 ;
8593 int arg3 ;
8594 SwigValueWrapper< wxImage > result;
8595 PyObject * obj0 = 0 ;
994141e6
RD
8596 PyObject * obj1 = 0 ;
8597 PyObject * obj2 = 0 ;
d14a1e28
RD
8598 char *kwnames[] = {
8599 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
8600 };
8601
994141e6 8602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_ShrinkBy",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 8603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
8604 {
8605 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8606 if (PyErr_Occurred()) SWIG_fail;
8607 }
8608 {
8609 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8610 if (PyErr_Occurred()) SWIG_fail;
8611 }
d14a1e28
RD
8612 {
8613 PyThreadState* __tstate = wxPyBeginAllowThreads();
8614 result = ((wxImage const *)arg1)->ShrinkBy(arg2,arg3);
8615
8616 wxPyEndAllowThreads(__tstate);
8617 if (PyErr_Occurred()) SWIG_fail;
8618 }
8619 {
8620 wxImage * resultptr;
8621 resultptr = new wxImage((wxImage &) result);
8622 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
8623 }
8624 return resultobj;
8625 fail:
8626 return NULL;
8627}
8628
8629
8630static PyObject *_wrap_Image_Rescale(PyObject *self, PyObject *args, PyObject *kwargs) {
8631 PyObject *resultobj;
8632 wxImage *arg1 = (wxImage *) 0 ;
8633 int arg2 ;
8634 int arg3 ;
8635 wxImage *result;
8636 PyObject * obj0 = 0 ;
994141e6
RD
8637 PyObject * obj1 = 0 ;
8638 PyObject * obj2 = 0 ;
d14a1e28
RD
8639 char *kwnames[] = {
8640 (char *) "self",(char *) "width",(char *) "height", NULL
8641 };
8642
994141e6 8643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Rescale",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 8644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
8645 {
8646 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8647 if (PyErr_Occurred()) SWIG_fail;
8648 }
8649 {
8650 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8651 if (PyErr_Occurred()) SWIG_fail;
8652 }
d14a1e28
RD
8653 {
8654 PyThreadState* __tstate = wxPyBeginAllowThreads();
8655 {
8656 wxImage &_result_ref = (arg1)->Rescale(arg2,arg3);
8657 result = (wxImage *) &_result_ref;
8658 }
8659
8660 wxPyEndAllowThreads(__tstate);
8661 if (PyErr_Occurred()) SWIG_fail;
8662 }
8663 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 0);
8664 return resultobj;
8665 fail:
8666 return NULL;
8667}
8668
8669
8670static PyObject *_wrap_Image_SetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
8671 PyObject *resultobj;
8672 wxImage *arg1 = (wxImage *) 0 ;
8673 int arg2 ;
8674 int arg3 ;
8675 unsigned char arg4 ;
8676 unsigned char arg5 ;
8677 unsigned char arg6 ;
8678 PyObject * obj0 = 0 ;
994141e6
RD
8679 PyObject * obj1 = 0 ;
8680 PyObject * obj2 = 0 ;
d14a1e28
RD
8681 PyObject * obj3 = 0 ;
8682 PyObject * obj4 = 0 ;
8683 PyObject * obj5 = 0 ;
8684 char *kwnames[] = {
8685 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
8686 };
8687
994141e6 8688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Image_SetRGB",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 8689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 8690 {
994141e6
RD
8691 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8692 if (PyErr_Occurred()) SWIG_fail;
8693 }
8694 {
8695 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8696 if (PyErr_Occurred()) SWIG_fail;
8697 }
8698 {
8699 arg4 = (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3);
a41e16b6
RD
8700 if (PyErr_Occurred()) SWIG_fail;
8701 }
8702 {
994141e6 8703 arg5 = (unsigned char) SWIG_PyObj_AsUnsignedChar(obj4);
a41e16b6
RD
8704 if (PyErr_Occurred()) SWIG_fail;
8705 }
8706 {
994141e6 8707 arg6 = (unsigned char) SWIG_PyObj_AsUnsignedChar(obj5);
a41e16b6
RD
8708 if (PyErr_Occurred()) SWIG_fail;
8709 }
d14a1e28
RD
8710 {
8711 PyThreadState* __tstate = wxPyBeginAllowThreads();
8712 (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
8713
8714 wxPyEndAllowThreads(__tstate);
8715 if (PyErr_Occurred()) SWIG_fail;
8716 }
8717 Py_INCREF(Py_None); resultobj = Py_None;
8718 return resultobj;
8719 fail:
8720 return NULL;
8721}
8722
8723
8724static PyObject *_wrap_Image_GetRed(PyObject *self, PyObject *args, PyObject *kwargs) {
8725 PyObject *resultobj;
8726 wxImage *arg1 = (wxImage *) 0 ;
8727 int arg2 ;
8728 int arg3 ;
8729 unsigned char result;
8730 PyObject * obj0 = 0 ;
994141e6
RD
8731 PyObject * obj1 = 0 ;
8732 PyObject * obj2 = 0 ;
d14a1e28
RD
8733 char *kwnames[] = {
8734 (char *) "self",(char *) "x",(char *) "y", NULL
8735 };
8736
994141e6 8737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetRed",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 8738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
8739 {
8740 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8741 if (PyErr_Occurred()) SWIG_fail;
8742 }
8743 {
8744 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8745 if (PyErr_Occurred()) SWIG_fail;
8746 }
d14a1e28
RD
8747 {
8748 PyThreadState* __tstate = wxPyBeginAllowThreads();
8749 result = (unsigned char)(arg1)->GetRed(arg2,arg3);
8750
8751 wxPyEndAllowThreads(__tstate);
8752 if (PyErr_Occurred()) SWIG_fail;
8753 }
994141e6 8754 resultobj = SWIG_PyObj_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
8755 return resultobj;
8756 fail:
8757 return NULL;
8758}
8759
8760
8761static PyObject *_wrap_Image_GetGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
8762 PyObject *resultobj;
8763 wxImage *arg1 = (wxImage *) 0 ;
8764 int arg2 ;
8765 int arg3 ;
8766 unsigned char result;
8767 PyObject * obj0 = 0 ;
994141e6
RD
8768 PyObject * obj1 = 0 ;
8769 PyObject * obj2 = 0 ;
d14a1e28
RD
8770 char *kwnames[] = {
8771 (char *) "self",(char *) "x",(char *) "y", NULL
8772 };
8773
994141e6 8774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetGreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 8775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
8776 {
8777 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8778 if (PyErr_Occurred()) SWIG_fail;
8779 }
8780 {
8781 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8782 if (PyErr_Occurred()) SWIG_fail;
8783 }
d14a1e28
RD
8784 {
8785 PyThreadState* __tstate = wxPyBeginAllowThreads();
8786 result = (unsigned char)(arg1)->GetGreen(arg2,arg3);
8787
8788 wxPyEndAllowThreads(__tstate);
8789 if (PyErr_Occurred()) SWIG_fail;
8790 }
994141e6 8791 resultobj = SWIG_PyObj_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
8792 return resultobj;
8793 fail:
8794 return NULL;
8795}
8796
8797
8798static PyObject *_wrap_Image_GetBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
8799 PyObject *resultobj;
8800 wxImage *arg1 = (wxImage *) 0 ;
8801 int arg2 ;
8802 int arg3 ;
8803 unsigned char result;
8804 PyObject * obj0 = 0 ;
994141e6
RD
8805 PyObject * obj1 = 0 ;
8806 PyObject * obj2 = 0 ;
d14a1e28
RD
8807 char *kwnames[] = {
8808 (char *) "self",(char *) "x",(char *) "y", NULL
8809 };
8810
994141e6 8811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetBlue",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 8812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
8813 {
8814 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8815 if (PyErr_Occurred()) SWIG_fail;
8816 }
8817 {
8818 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8819 if (PyErr_Occurred()) SWIG_fail;
8820 }
d14a1e28
RD
8821 {
8822 PyThreadState* __tstate = wxPyBeginAllowThreads();
8823 result = (unsigned char)(arg1)->GetBlue(arg2,arg3);
8824
8825 wxPyEndAllowThreads(__tstate);
8826 if (PyErr_Occurred()) SWIG_fail;
8827 }
994141e6 8828 resultobj = SWIG_PyObj_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
8829 return resultobj;
8830 fail:
8831 return NULL;
8832}
8833
8834
8835static PyObject *_wrap_Image_SetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
8836 PyObject *resultobj;
8837 wxImage *arg1 = (wxImage *) 0 ;
8838 int arg2 ;
8839 int arg3 ;
8840 unsigned char arg4 ;
8841 PyObject * obj0 = 0 ;
994141e6
RD
8842 PyObject * obj1 = 0 ;
8843 PyObject * obj2 = 0 ;
d14a1e28
RD
8844 PyObject * obj3 = 0 ;
8845 char *kwnames[] = {
8846 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
8847 };
8848
994141e6 8849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 8850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 8851 {
994141e6
RD
8852 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 }
8855 {
8856 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8857 if (PyErr_Occurred()) SWIG_fail;
8858 }
8859 {
8860 arg4 = (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3);
a41e16b6
RD
8861 if (PyErr_Occurred()) SWIG_fail;
8862 }
d14a1e28
RD
8863 {
8864 PyThreadState* __tstate = wxPyBeginAllowThreads();
8865 (arg1)->SetAlpha(arg2,arg3,arg4);
8866
8867 wxPyEndAllowThreads(__tstate);
8868 if (PyErr_Occurred()) SWIG_fail;
8869 }
8870 Py_INCREF(Py_None); resultobj = Py_None;
8871 return resultobj;
8872 fail:
8873 return NULL;
8874}
8875
8876
8877static PyObject *_wrap_Image_GetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
8878 PyObject *resultobj;
8879 wxImage *arg1 = (wxImage *) 0 ;
8880 int arg2 ;
8881 int arg3 ;
8882 unsigned char result;
8883 PyObject * obj0 = 0 ;
994141e6
RD
8884 PyObject * obj1 = 0 ;
8885 PyObject * obj2 = 0 ;
d14a1e28
RD
8886 char *kwnames[] = {
8887 (char *) "self",(char *) "x",(char *) "y", NULL
8888 };
8889
994141e6 8890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetAlpha",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 8891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
8892 {
8893 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8894 if (PyErr_Occurred()) SWIG_fail;
8895 }
8896 {
8897 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8898 if (PyErr_Occurred()) SWIG_fail;
8899 }
d14a1e28
RD
8900 {
8901 PyThreadState* __tstate = wxPyBeginAllowThreads();
8902 result = (unsigned char)(arg1)->GetAlpha(arg2,arg3);
8903
8904 wxPyEndAllowThreads(__tstate);
8905 if (PyErr_Occurred()) SWIG_fail;
8906 }
994141e6 8907 resultobj = SWIG_PyObj_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
8908 return resultobj;
8909 fail:
8910 return NULL;
8911}
8912
8913
8914static PyObject *_wrap_Image_HasAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
8915 PyObject *resultobj;
8916 wxImage *arg1 = (wxImage *) 0 ;
8917 bool result;
8918 PyObject * obj0 = 0 ;
8919 char *kwnames[] = {
8920 (char *) "self", NULL
8921 };
8922
8923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail;
8924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8925 {
8926 PyThreadState* __tstate = wxPyBeginAllowThreads();
8927 result = (bool)(arg1)->HasAlpha();
8928
8929 wxPyEndAllowThreads(__tstate);
8930 if (PyErr_Occurred()) SWIG_fail;
8931 }
4d5c3d91 8932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8933 return resultobj;
8934 fail:
8935 return NULL;
8936}
8937
8938
8939static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8940 PyObject *resultobj;
8941 wxImage *arg1 = (wxImage *) 0 ;
8942 byte *arg2 = (byte *) 0 ;
8943 byte *arg3 = (byte *) 0 ;
8944 byte *arg4 = (byte *) 0 ;
8945 byte arg5 = (byte) 0 ;
8946 byte arg6 = (byte) 0 ;
8947 byte arg7 = (byte) 0 ;
8948 bool result;
8949 byte temp2 ;
8950 byte temp3 ;
8951 byte temp4 ;
8952 PyObject * obj0 = 0 ;
8953 PyObject * obj1 = 0 ;
8954 PyObject * obj2 = 0 ;
8955 PyObject * obj3 = 0 ;
8956 char *kwnames[] = {
8957 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8958 };
8959
8960 arg2 = &temp2;
8961 arg3 = &temp3;
8962 arg4 = &temp4;
8963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8965 if (obj1) {
a41e16b6 8966 {
994141e6 8967 arg5 = (byte) SWIG_PyObj_AsUnsignedChar(obj1);
a41e16b6
RD
8968 if (PyErr_Occurred()) SWIG_fail;
8969 }
d14a1e28
RD
8970 }
8971 if (obj2) {
a41e16b6 8972 {
994141e6 8973 arg6 = (byte) SWIG_PyObj_AsUnsignedChar(obj2);
a41e16b6
RD
8974 if (PyErr_Occurred()) SWIG_fail;
8975 }
d14a1e28
RD
8976 }
8977 if (obj3) {
a41e16b6 8978 {
994141e6 8979 arg7 = (byte) SWIG_PyObj_AsUnsignedChar(obj3);
a41e16b6
RD
8980 if (PyErr_Occurred()) SWIG_fail;
8981 }
d14a1e28
RD
8982 }
8983 {
8984 PyThreadState* __tstate = wxPyBeginAllowThreads();
8985 result = (bool)((wxImage const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
8986
8987 wxPyEndAllowThreads(__tstate);
8988 if (PyErr_Occurred()) SWIG_fail;
8989 }
4d5c3d91 8990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8991 {
8992 PyObject *o = PyInt_FromLong((long) (*arg2));
8993 resultobj = t_output_helper(resultobj,o);
8994 }
8995 {
8996 PyObject *o = PyInt_FromLong((long) (*arg3));
8997 resultobj = t_output_helper(resultobj,o);
8998 }
8999 {
9000 PyObject *o = PyInt_FromLong((long) (*arg4));
9001 resultobj = t_output_helper(resultobj,o);
9002 }
9003 return resultobj;
9004 fail:
9005 return NULL;
9006}
9007
9008
9009static PyObject *_wrap_Image_SetMaskFromImage(PyObject *self, PyObject *args, PyObject *kwargs) {
9010 PyObject *resultobj;
9011 wxImage *arg1 = (wxImage *) 0 ;
9012 wxImage *arg2 = 0 ;
9013 byte arg3 ;
9014 byte arg4 ;
9015 byte arg5 ;
9016 bool result;
9017 PyObject * obj0 = 0 ;
9018 PyObject * obj1 = 0 ;
9019 PyObject * obj2 = 0 ;
9020 PyObject * obj3 = 0 ;
9021 PyObject * obj4 = 0 ;
9022 char *kwnames[] = {
9023 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9024 };
9025
9026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
9027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9028 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9029 if (arg2 == NULL) {
9030 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9031 }
a41e16b6 9032 {
994141e6 9033 arg3 = (byte) SWIG_PyObj_AsUnsignedChar(obj2);
a41e16b6
RD
9034 if (PyErr_Occurred()) SWIG_fail;
9035 }
9036 {
994141e6 9037 arg4 = (byte) SWIG_PyObj_AsUnsignedChar(obj3);
a41e16b6
RD
9038 if (PyErr_Occurred()) SWIG_fail;
9039 }
9040 {
994141e6 9041 arg5 = (byte) SWIG_PyObj_AsUnsignedChar(obj4);
a41e16b6
RD
9042 if (PyErr_Occurred()) SWIG_fail;
9043 }
d14a1e28
RD
9044 {
9045 PyThreadState* __tstate = wxPyBeginAllowThreads();
9046 result = (bool)(arg1)->SetMaskFromImage((wxImage const &)*arg2,arg3,arg4,arg5);
9047
9048 wxPyEndAllowThreads(__tstate);
9049 if (PyErr_Occurred()) SWIG_fail;
9050 }
4d5c3d91 9051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9052 return resultobj;
9053 fail:
9054 return NULL;
9055}
9056
9057
9058static PyObject *_wrap_Image_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
9059 PyObject *resultobj;
9060 wxString *arg1 = 0 ;
9061 bool result;
e811c8ce 9062 bool temp1 = False ;
d14a1e28
RD
9063 PyObject * obj0 = 0 ;
9064 char *kwnames[] = {
9065 (char *) "name", NULL
9066 };
9067
9068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
9069 {
9070 arg1 = wxString_in_helper(obj0);
9071 if (arg1 == NULL) SWIG_fail;
e811c8ce 9072 temp1 = True;
d14a1e28
RD
9073 }
9074 {
9075 PyThreadState* __tstate = wxPyBeginAllowThreads();
9076 result = (bool)wxImage::CanRead((wxString const &)*arg1);
9077
9078 wxPyEndAllowThreads(__tstate);
9079 if (PyErr_Occurred()) SWIG_fail;
9080 }
4d5c3d91 9081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9082 {
9083 if (temp1)
9084 delete arg1;
9085 }
9086 return resultobj;
9087 fail:
9088 {
9089 if (temp1)
9090 delete arg1;
9091 }
9092 return NULL;
9093}
9094
9095
9096static PyObject *_wrap_Image_GetImageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9097 PyObject *resultobj;
9098 wxString *arg1 = 0 ;
9099 long arg2 = (long) wxBITMAP_TYPE_ANY ;
9100 int result;
e811c8ce 9101 bool temp1 = False ;
d14a1e28 9102 PyObject * obj0 = 0 ;
994141e6 9103 PyObject * obj1 = 0 ;
d14a1e28
RD
9104 char *kwnames[] = {
9105 (char *) "name",(char *) "type", NULL
9106 };
9107
994141e6 9108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_GetImageCount",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
9109 {
9110 arg1 = wxString_in_helper(obj0);
9111 if (arg1 == NULL) SWIG_fail;
e811c8ce 9112 temp1 = True;
d14a1e28 9113 }
994141e6
RD
9114 if (obj1) {
9115 {
9116 arg2 = (long) SWIG_PyObj_AsLong(obj1);
9117 if (PyErr_Occurred()) SWIG_fail;
9118 }
9119 }
d14a1e28
RD
9120 {
9121 PyThreadState* __tstate = wxPyBeginAllowThreads();
9122 result = (int)wxImage::GetImageCount((wxString const &)*arg1,arg2);
9123
9124 wxPyEndAllowThreads(__tstate);
9125 if (PyErr_Occurred()) SWIG_fail;
9126 }
994141e6 9127 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9128 {
9129 if (temp1)
9130 delete arg1;
9131 }
9132 return resultobj;
9133 fail:
9134 {
9135 if (temp1)
9136 delete arg1;
9137 }
9138 return NULL;
9139}
9140
9141
9142static PyObject *_wrap_Image_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9143 PyObject *resultobj;
9144 wxImage *arg1 = (wxImage *) 0 ;
9145 wxString *arg2 = 0 ;
9146 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9147 int arg4 = (int) -1 ;
9148 bool result;
e811c8ce 9149 bool temp2 = False ;
d14a1e28
RD
9150 PyObject * obj0 = 0 ;
9151 PyObject * obj1 = 0 ;
994141e6
RD
9152 PyObject * obj2 = 0 ;
9153 PyObject * obj3 = 0 ;
d14a1e28
RD
9154 char *kwnames[] = {
9155 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9156 };
9157
994141e6 9158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
9159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9160 {
9161 arg2 = wxString_in_helper(obj1);
9162 if (arg2 == NULL) SWIG_fail;
e811c8ce 9163 temp2 = True;
d14a1e28 9164 }
994141e6
RD
9165 if (obj2) {
9166 {
9167 arg3 = (long) SWIG_PyObj_AsLong(obj2);
9168 if (PyErr_Occurred()) SWIG_fail;
9169 }
9170 }
9171 if (obj3) {
9172 {
9173 arg4 = (int) SWIG_PyObj_AsInt(obj3);
9174 if (PyErr_Occurred()) SWIG_fail;
9175 }
9176 }
d14a1e28
RD
9177 {
9178 PyThreadState* __tstate = wxPyBeginAllowThreads();
9179 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3,arg4);
9180
9181 wxPyEndAllowThreads(__tstate);
9182 if (PyErr_Occurred()) SWIG_fail;
9183 }
4d5c3d91 9184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9185 {
9186 if (temp2)
9187 delete arg2;
9188 }
9189 return resultobj;
9190 fail:
9191 {
9192 if (temp2)
9193 delete arg2;
9194 }
9195 return NULL;
9196}
9197
9198
9199static PyObject *_wrap_Image_LoadMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9200 PyObject *resultobj;
9201 wxImage *arg1 = (wxImage *) 0 ;
9202 wxString *arg2 = 0 ;
9203 wxString *arg3 = 0 ;
9204 int arg4 = (int) -1 ;
9205 bool result;
e811c8ce
RD
9206 bool temp2 = False ;
9207 bool temp3 = False ;
d14a1e28
RD
9208 PyObject * obj0 = 0 ;
9209 PyObject * obj1 = 0 ;
9210 PyObject * obj2 = 0 ;
994141e6 9211 PyObject * obj3 = 0 ;
d14a1e28
RD
9212 char *kwnames[] = {
9213 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9214 };
9215
994141e6 9216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
9217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9218 {
9219 arg2 = wxString_in_helper(obj1);
9220 if (arg2 == NULL) SWIG_fail;
e811c8ce 9221 temp2 = True;
d14a1e28
RD
9222 }
9223 {
9224 arg3 = wxString_in_helper(obj2);
9225 if (arg3 == NULL) SWIG_fail;
e811c8ce 9226 temp3 = True;
d14a1e28 9227 }
994141e6
RD
9228 if (obj3) {
9229 {
9230 arg4 = (int) SWIG_PyObj_AsInt(obj3);
9231 if (PyErr_Occurred()) SWIG_fail;
9232 }
9233 }
d14a1e28
RD
9234 {
9235 PyThreadState* __tstate = wxPyBeginAllowThreads();
9236 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9237
9238 wxPyEndAllowThreads(__tstate);
9239 if (PyErr_Occurred()) SWIG_fail;
9240 }
4d5c3d91 9241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9242 {
9243 if (temp2)
9244 delete arg2;
9245 }
9246 {
9247 if (temp3)
9248 delete arg3;
9249 }
9250 return resultobj;
9251 fail:
9252 {
9253 if (temp2)
9254 delete arg2;
9255 }
9256 {
9257 if (temp3)
9258 delete arg3;
9259 }
9260 return NULL;
9261}
9262
9263
9264static PyObject *_wrap_Image_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9265 PyObject *resultobj;
9266 wxImage *arg1 = (wxImage *) 0 ;
9267 wxString *arg2 = 0 ;
9268 int arg3 ;
9269 bool result;
e811c8ce 9270 bool temp2 = False ;
d14a1e28
RD
9271 PyObject * obj0 = 0 ;
9272 PyObject * obj1 = 0 ;
994141e6 9273 PyObject * obj2 = 0 ;
d14a1e28
RD
9274 char *kwnames[] = {
9275 (char *) "self",(char *) "name",(char *) "type", NULL
9276 };
9277
994141e6 9278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
9279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9280 {
9281 arg2 = wxString_in_helper(obj1);
9282 if (arg2 == NULL) SWIG_fail;
e811c8ce 9283 temp2 = True;
d14a1e28 9284 }
994141e6
RD
9285 {
9286 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9287 if (PyErr_Occurred()) SWIG_fail;
9288 }
d14a1e28
RD
9289 {
9290 PyThreadState* __tstate = wxPyBeginAllowThreads();
9291 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
9292
9293 wxPyEndAllowThreads(__tstate);
9294 if (PyErr_Occurred()) SWIG_fail;
9295 }
4d5c3d91 9296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9297 {
9298 if (temp2)
9299 delete arg2;
9300 }
9301 return resultobj;
9302 fail:
9303 {
9304 if (temp2)
9305 delete arg2;
9306 }
9307 return NULL;
9308}
9309
9310
9311static PyObject *_wrap_Image_SaveMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9312 PyObject *resultobj;
9313 wxImage *arg1 = (wxImage *) 0 ;
9314 wxString *arg2 = 0 ;
9315 wxString *arg3 = 0 ;
9316 bool result;
e811c8ce
RD
9317 bool temp2 = False ;
9318 bool temp3 = False ;
d14a1e28
RD
9319 PyObject * obj0 = 0 ;
9320 PyObject * obj1 = 0 ;
9321 PyObject * obj2 = 0 ;
9322 char *kwnames[] = {
9323 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9324 };
9325
9326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
9327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9328 {
9329 arg2 = wxString_in_helper(obj1);
9330 if (arg2 == NULL) SWIG_fail;
e811c8ce 9331 temp2 = True;
d14a1e28
RD
9332 }
9333 {
9334 arg3 = wxString_in_helper(obj2);
9335 if (arg3 == NULL) SWIG_fail;
e811c8ce 9336 temp3 = True;
d14a1e28
RD
9337 }
9338 {
9339 PyThreadState* __tstate = wxPyBeginAllowThreads();
9340 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxString const &)*arg3);
9341
9342 wxPyEndAllowThreads(__tstate);
9343 if (PyErr_Occurred()) SWIG_fail;
9344 }
4d5c3d91 9345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9346 {
9347 if (temp2)
9348 delete arg2;
9349 }
9350 {
9351 if (temp3)
9352 delete arg3;
9353 }
9354 return resultobj;
9355 fail:
9356 {
9357 if (temp2)
9358 delete arg2;
9359 }
9360 {
9361 if (temp3)
9362 delete arg3;
9363 }
9364 return NULL;
9365}
9366
9367
9368static PyObject *_wrap_Image_CanReadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9369 PyObject *resultobj;
9370 wxInputStream *arg1 = 0 ;
9371 bool result;
9372 wxPyInputStream *temp1 ;
9373 bool created1 ;
9374 PyObject * obj0 = 0 ;
9375 char *kwnames[] = {
9376 (char *) "stream", NULL
9377 };
9378
9379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail;
9380 {
9381 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
9382 arg1 = temp1->m_wxis;
e811c8ce 9383 created1 = False;
d14a1e28
RD
9384 } else {
9385 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 9386 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
9387 if (arg1 == NULL) {
9388 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9389 SWIG_fail;
9390 }
e811c8ce 9391 created1 = True;
d14a1e28
RD
9392 }
9393 }
9394 {
9395 PyThreadState* __tstate = wxPyBeginAllowThreads();
9396 result = (bool)wxImage::CanRead(*arg1);
9397
9398 wxPyEndAllowThreads(__tstate);
9399 if (PyErr_Occurred()) SWIG_fail;
9400 }
4d5c3d91 9401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9402 {
9403 if (created1)
9404 delete arg1;
9405 }
9406 return resultobj;
9407 fail:
9408 {
9409 if (created1)
9410 delete arg1;
9411 }
9412 return NULL;
9413}
9414
9415
9416static PyObject *_wrap_Image_LoadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9417 PyObject *resultobj;
9418 wxImage *arg1 = (wxImage *) 0 ;
9419 wxInputStream *arg2 = 0 ;
9420 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9421 int arg4 = (int) -1 ;
9422 bool result;
9423 wxPyInputStream *temp2 ;
9424 bool created2 ;
9425 PyObject * obj0 = 0 ;
9426 PyObject * obj1 = 0 ;
994141e6
RD
9427 PyObject * obj2 = 0 ;
9428 PyObject * obj3 = 0 ;
d14a1e28
RD
9429 char *kwnames[] = {
9430 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9431 };
9432
994141e6 9433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
9434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9435 {
9436 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9437 arg2 = temp2->m_wxis;
e811c8ce 9438 created2 = False;
d14a1e28
RD
9439 } else {
9440 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 9441 arg2 = wxPyCBInputStream_create(obj1, False);
d14a1e28
RD
9442 if (arg2 == NULL) {
9443 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9444 SWIG_fail;
9445 }
e811c8ce 9446 created2 = True;
d14a1e28
RD
9447 }
9448 }
994141e6
RD
9449 if (obj2) {
9450 {
9451 arg3 = (long) SWIG_PyObj_AsLong(obj2);
9452 if (PyErr_Occurred()) SWIG_fail;
9453 }
9454 }
9455 if (obj3) {
9456 {
9457 arg4 = (int) SWIG_PyObj_AsInt(obj3);
9458 if (PyErr_Occurred()) SWIG_fail;
9459 }
9460 }
d14a1e28
RD
9461 {
9462 PyThreadState* __tstate = wxPyBeginAllowThreads();
9463 result = (bool)(arg1)->LoadFile(*arg2,arg3,arg4);
9464
9465 wxPyEndAllowThreads(__tstate);
9466 if (PyErr_Occurred()) SWIG_fail;
9467 }
4d5c3d91 9468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9469 {
9470 if (created2)
9471 delete arg2;
9472 }
9473 return resultobj;
9474 fail:
9475 {
9476 if (created2)
9477 delete arg2;
9478 }
9479 return NULL;
9480}
9481
9482
9483static PyObject *_wrap_Image_LoadMimeStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9484 PyObject *resultobj;
9485 wxImage *arg1 = (wxImage *) 0 ;
9486 wxInputStream *arg2 = 0 ;
9487 wxString *arg3 = 0 ;
9488 int arg4 = (int) -1 ;
9489 bool result;
9490 wxPyInputStream *temp2 ;
9491 bool created2 ;
e811c8ce 9492 bool temp3 = False ;
d14a1e28
RD
9493 PyObject * obj0 = 0 ;
9494 PyObject * obj1 = 0 ;
9495 PyObject * obj2 = 0 ;
994141e6 9496 PyObject * obj3 = 0 ;
d14a1e28
RD
9497 char *kwnames[] = {
9498 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9499 };
9500
994141e6 9501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
9502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9503 {
9504 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9505 arg2 = temp2->m_wxis;
e811c8ce 9506 created2 = False;
d14a1e28
RD
9507 } else {
9508 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 9509 arg2 = wxPyCBInputStream_create(obj1, False);
d14a1e28
RD
9510 if (arg2 == NULL) {
9511 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9512 SWIG_fail;
9513 }
e811c8ce 9514 created2 = True;
d14a1e28
RD
9515 }
9516 }
9517 {
9518 arg3 = wxString_in_helper(obj2);
9519 if (arg3 == NULL) SWIG_fail;
e811c8ce 9520 temp3 = True;
d14a1e28 9521 }
994141e6
RD
9522 if (obj3) {
9523 {
9524 arg4 = (int) SWIG_PyObj_AsInt(obj3);
9525 if (PyErr_Occurred()) SWIG_fail;
9526 }
9527 }
d14a1e28
RD
9528 {
9529 PyThreadState* __tstate = wxPyBeginAllowThreads();
9530 result = (bool)(arg1)->LoadFile(*arg2,(wxString const &)*arg3,arg4);
9531
9532 wxPyEndAllowThreads(__tstate);
9533 if (PyErr_Occurred()) SWIG_fail;
9534 }
4d5c3d91 9535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9536 {
9537 if (created2)
9538 delete arg2;
9539 }
9540 {
9541 if (temp3)
9542 delete arg3;
9543 }
9544 return resultobj;
9545 fail:
9546 {
9547 if (created2)
9548 delete arg2;
9549 }
9550 {
9551 if (temp3)
9552 delete arg3;
9553 }
9554 return NULL;
9555}
9556
9557
9558static PyObject *_wrap_Image_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
9559 PyObject *resultobj;
9560 wxImage *arg1 = (wxImage *) 0 ;
9561 bool result;
9562 PyObject * obj0 = 0 ;
9563 char *kwnames[] = {
9564 (char *) "self", NULL
9565 };
9566
9567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail;
9568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9569 {
9570 PyThreadState* __tstate = wxPyBeginAllowThreads();
9571 result = (bool)(arg1)->Ok();
9572
9573 wxPyEndAllowThreads(__tstate);
9574 if (PyErr_Occurred()) SWIG_fail;
9575 }
4d5c3d91 9576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9577 return resultobj;
9578 fail:
9579 return NULL;
9580}
9581
9582
9583static PyObject *_wrap_Image_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9584 PyObject *resultobj;
9585 wxImage *arg1 = (wxImage *) 0 ;
9586 int result;
9587 PyObject * obj0 = 0 ;
9588 char *kwnames[] = {
9589 (char *) "self", NULL
9590 };
9591
9592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail;
9593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9594 {
9595 PyThreadState* __tstate = wxPyBeginAllowThreads();
9596 result = (int)(arg1)->GetWidth();
9597
9598 wxPyEndAllowThreads(__tstate);
9599 if (PyErr_Occurred()) SWIG_fail;
9600 }
994141e6 9601 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9602 return resultobj;
9603 fail:
9604 return NULL;
9605}
9606
9607
9608static PyObject *_wrap_Image_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
9609 PyObject *resultobj;
9610 wxImage *arg1 = (wxImage *) 0 ;
9611 int result;
9612 PyObject * obj0 = 0 ;
9613 char *kwnames[] = {
9614 (char *) "self", NULL
9615 };
9616
9617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) goto fail;
9618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9619 {
9620 PyThreadState* __tstate = wxPyBeginAllowThreads();
9621 result = (int)(arg1)->GetHeight();
9622
9623 wxPyEndAllowThreads(__tstate);
9624 if (PyErr_Occurred()) SWIG_fail;
9625 }
994141e6 9626 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9627 return resultobj;
9628 fail:
9629 return NULL;
9630}
9631
9632
9633static PyObject *_wrap_Image_GetSubImage(PyObject *self, PyObject *args, PyObject *kwargs) {
9634 PyObject *resultobj;
9635 wxImage *arg1 = (wxImage *) 0 ;
9636 wxRect *arg2 = 0 ;
9637 SwigValueWrapper< wxImage > result;
9638 wxRect temp2 ;
9639 PyObject * obj0 = 0 ;
9640 PyObject * obj1 = 0 ;
9641 char *kwnames[] = {
9642 (char *) "self",(char *) "rect", NULL
9643 };
9644
9645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail;
9646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9647 {
9648 arg2 = &temp2;
9649 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9650 }
9651 {
9652 PyThreadState* __tstate = wxPyBeginAllowThreads();
9653 result = (arg1)->GetSubImage((wxRect const &)*arg2);
9654
9655 wxPyEndAllowThreads(__tstate);
9656 if (PyErr_Occurred()) SWIG_fail;
9657 }
9658 {
9659 wxImage * resultptr;
9660 resultptr = new wxImage((wxImage &) result);
9661 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9662 }
9663 return resultobj;
9664 fail:
9665 return NULL;
9666}
9667
9668
9669static PyObject *_wrap_Image_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
9670 PyObject *resultobj;
9671 wxImage *arg1 = (wxImage *) 0 ;
9672 SwigValueWrapper< wxImage > result;
9673 PyObject * obj0 = 0 ;
9674 char *kwnames[] = {
9675 (char *) "self", NULL
9676 };
9677
9678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail;
9679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9680 {
9681 PyThreadState* __tstate = wxPyBeginAllowThreads();
9682 result = (arg1)->Copy();
9683
9684 wxPyEndAllowThreads(__tstate);
9685 if (PyErr_Occurred()) SWIG_fail;
9686 }
9687 {
9688 wxImage * resultptr;
9689 resultptr = new wxImage((wxImage &) result);
9690 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9691 }
9692 return resultobj;
9693 fail:
9694 return NULL;
9695}
9696
9697
9698static PyObject *_wrap_Image_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
9699 PyObject *resultobj;
9700 wxImage *arg1 = (wxImage *) 0 ;
9701 wxImage *arg2 = 0 ;
9702 int arg3 ;
9703 int arg4 ;
9704 PyObject * obj0 = 0 ;
9705 PyObject * obj1 = 0 ;
994141e6
RD
9706 PyObject * obj2 = 0 ;
9707 PyObject * obj3 = 0 ;
d14a1e28
RD
9708 char *kwnames[] = {
9709 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
9710 };
9711
994141e6 9712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_Paste",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
9713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9714 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9715 if (arg2 == NULL) {
9716 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9717 }
994141e6
RD
9718 {
9719 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9720 if (PyErr_Occurred()) SWIG_fail;
9721 }
9722 {
9723 arg4 = (int) SWIG_PyObj_AsInt(obj3);
9724 if (PyErr_Occurred()) SWIG_fail;
9725 }
d14a1e28
RD
9726 {
9727 PyThreadState* __tstate = wxPyBeginAllowThreads();
9728 (arg1)->Paste((wxImage const &)*arg2,arg3,arg4);
9729
9730 wxPyEndAllowThreads(__tstate);
9731 if (PyErr_Occurred()) SWIG_fail;
9732 }
9733 Py_INCREF(Py_None); resultobj = Py_None;
9734 return resultobj;
9735 fail:
9736 return NULL;
9737}
9738
9739
9740static PyObject *_wrap_Image_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
9741 PyObject *resultobj;
9742 wxImage *arg1 = (wxImage *) 0 ;
9743 PyObject *result;
9744 PyObject * obj0 = 0 ;
9745 char *kwnames[] = {
9746 (char *) "self", NULL
9747 };
9748
9749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) goto fail;
9750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9751 {
9752 PyThreadState* __tstate = wxPyBeginAllowThreads();
9753 result = (PyObject *)wxImage_GetData(arg1);
9754
9755 wxPyEndAllowThreads(__tstate);
9756 if (PyErr_Occurred()) SWIG_fail;
9757 }
9758 resultobj = result;
9759 return resultobj;
9760 fail:
9761 return NULL;
9762}
9763
9764
9765static PyObject *_wrap_Image_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
9766 PyObject *resultobj;
9767 wxImage *arg1 = (wxImage *) 0 ;
9768 PyObject *arg2 = (PyObject *) 0 ;
9769 PyObject * obj0 = 0 ;
9770 PyObject * obj1 = 0 ;
9771 char *kwnames[] = {
9772 (char *) "self",(char *) "data", NULL
9773 };
9774
9775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail;
9776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9777 arg2 = obj1;
9778 {
9779 PyThreadState* __tstate = wxPyBeginAllowThreads();
9780 wxImage_SetData(arg1,arg2);
9781
9782 wxPyEndAllowThreads(__tstate);
9783 if (PyErr_Occurred()) SWIG_fail;
9784 }
9785 Py_INCREF(Py_None); resultobj = Py_None;
9786 return resultobj;
9787 fail:
9788 return NULL;
9789}
9790
9791
9792static PyObject *_wrap_Image_GetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
9793 PyObject *resultobj;
9794 wxImage *arg1 = (wxImage *) 0 ;
9795 PyObject *result;
9796 PyObject * obj0 = 0 ;
9797 char *kwnames[] = {
9798 (char *) "self", NULL
9799 };
9800
9801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail;
9802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9803 {
9804 PyThreadState* __tstate = wxPyBeginAllowThreads();
9805 result = (PyObject *)wxImage_GetDataBuffer(arg1);
9806
9807 wxPyEndAllowThreads(__tstate);
9808 if (PyErr_Occurred()) SWIG_fail;
9809 }
9810 resultobj = result;
9811 return resultobj;
9812 fail:
9813 return NULL;
9814}
9815
9816
9817static PyObject *_wrap_Image_SetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
9818 PyObject *resultobj;
9819 wxImage *arg1 = (wxImage *) 0 ;
9820 PyObject *arg2 = (PyObject *) 0 ;
9821 PyObject * obj0 = 0 ;
9822 PyObject * obj1 = 0 ;
9823 char *kwnames[] = {
9824 (char *) "self",(char *) "data", NULL
9825 };
9826
9827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail;
9828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9829 arg2 = obj1;
9830 {
9831 PyThreadState* __tstate = wxPyBeginAllowThreads();
9832 wxImage_SetDataBuffer(arg1,arg2);
9833
9834 wxPyEndAllowThreads(__tstate);
9835 if (PyErr_Occurred()) SWIG_fail;
9836 }
9837 Py_INCREF(Py_None); resultobj = Py_None;
9838 return resultobj;
9839 fail:
9840 return NULL;
9841}
9842
9843
9844static PyObject *_wrap_Image_GetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
9845 PyObject *resultobj;
9846 wxImage *arg1 = (wxImage *) 0 ;
9847 PyObject *result;
9848 PyObject * obj0 = 0 ;
9849 char *kwnames[] = {
9850 (char *) "self", NULL
9851 };
9852
9853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail;
9854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9855 {
9856 PyThreadState* __tstate = wxPyBeginAllowThreads();
9857 result = (PyObject *)wxImage_GetAlphaData(arg1);
9858
9859 wxPyEndAllowThreads(__tstate);
9860 if (PyErr_Occurred()) SWIG_fail;
9861 }
9862 resultobj = result;
9863 return resultobj;
9864 fail:
9865 return NULL;
9866}
9867
9868
9869static PyObject *_wrap_Image_SetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
9870 PyObject *resultobj;
9871 wxImage *arg1 = (wxImage *) 0 ;
9872 PyObject *arg2 = (PyObject *) 0 ;
9873 PyObject * obj0 = 0 ;
9874 PyObject * obj1 = 0 ;
9875 char *kwnames[] = {
9876 (char *) "self",(char *) "data", NULL
9877 };
9878
9879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail;
9880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9881 arg2 = obj1;
9882 {
9883 PyThreadState* __tstate = wxPyBeginAllowThreads();
9884 wxImage_SetAlphaData(arg1,arg2);
9885
9886 wxPyEndAllowThreads(__tstate);
9887 if (PyErr_Occurred()) SWIG_fail;
9888 }
9889 Py_INCREF(Py_None); resultobj = Py_None;
9890 return resultobj;
9891 fail:
9892 return NULL;
9893}
9894
9895
9896static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
9897 PyObject *resultobj;
9898 wxImage *arg1 = (wxImage *) 0 ;
9899 PyObject *result;
9900 PyObject * obj0 = 0 ;
9901 char *kwnames[] = {
9902 (char *) "self", NULL
9903 };
9904
9905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail;
9906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9907 {
9908 PyThreadState* __tstate = wxPyBeginAllowThreads();
9909 result = (PyObject *)wxImage_GetAlphaBuffer(arg1);
9910
9911 wxPyEndAllowThreads(__tstate);
9912 if (PyErr_Occurred()) SWIG_fail;
9913 }
9914 resultobj = result;
9915 return resultobj;
9916 fail:
9917 return NULL;
9918}
9919
9920
9921static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
9922 PyObject *resultobj;
9923 wxImage *arg1 = (wxImage *) 0 ;
9924 PyObject *arg2 = (PyObject *) 0 ;
9925 PyObject * obj0 = 0 ;
9926 PyObject * obj1 = 0 ;
9927 char *kwnames[] = {
9928 (char *) "self",(char *) "data", NULL
9929 };
9930
9931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail;
9932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9933 arg2 = obj1;
9934 {
9935 PyThreadState* __tstate = wxPyBeginAllowThreads();
9936 wxImage_SetAlphaBuffer(arg1,arg2);
9937
9938 wxPyEndAllowThreads(__tstate);
9939 if (PyErr_Occurred()) SWIG_fail;
9940 }
9941 Py_INCREF(Py_None); resultobj = Py_None;
9942 return resultobj;
9943 fail:
9944 return NULL;
9945}
9946
9947
9948static PyObject *_wrap_Image_SetMaskColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9949 PyObject *resultobj;
9950 wxImage *arg1 = (wxImage *) 0 ;
9951 unsigned char arg2 ;
9952 unsigned char arg3 ;
9953 unsigned char arg4 ;
9954 PyObject * obj0 = 0 ;
9955 PyObject * obj1 = 0 ;
9956 PyObject * obj2 = 0 ;
9957 PyObject * obj3 = 0 ;
9958 char *kwnames[] = {
9959 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9960 };
9961
9962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 9964 {
994141e6 9965 arg2 = (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1);
a41e16b6
RD
9966 if (PyErr_Occurred()) SWIG_fail;
9967 }
9968 {
994141e6 9969 arg3 = (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2);
a41e16b6
RD
9970 if (PyErr_Occurred()) SWIG_fail;
9971 }
9972 {
994141e6 9973 arg4 = (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3);
a41e16b6
RD
9974 if (PyErr_Occurred()) SWIG_fail;
9975 }
d14a1e28
RD
9976 {
9977 PyThreadState* __tstate = wxPyBeginAllowThreads();
9978 (arg1)->SetMaskColour(arg2,arg3,arg4);
9979
9980 wxPyEndAllowThreads(__tstate);
9981 if (PyErr_Occurred()) SWIG_fail;
9982 }
9983 Py_INCREF(Py_None); resultobj = Py_None;
9984 return resultobj;
9985 fail:
9986 return NULL;
9987}
9988
9989
9990static PyObject *_wrap_Image_GetMaskRed(PyObject *self, PyObject *args, PyObject *kwargs) {
9991 PyObject *resultobj;
9992 wxImage *arg1 = (wxImage *) 0 ;
9993 unsigned char result;
9994 PyObject * obj0 = 0 ;
9995 char *kwnames[] = {
9996 (char *) "self", NULL
9997 };
9998
9999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail;
10000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10001 {
10002 PyThreadState* __tstate = wxPyBeginAllowThreads();
10003 result = (unsigned char)(arg1)->GetMaskRed();
10004
10005 wxPyEndAllowThreads(__tstate);
10006 if (PyErr_Occurred()) SWIG_fail;
10007 }
994141e6 10008 resultobj = SWIG_PyObj_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10009 return resultobj;
10010 fail:
10011 return NULL;
10012}
10013
10014
10015static PyObject *_wrap_Image_GetMaskGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
10016 PyObject *resultobj;
10017 wxImage *arg1 = (wxImage *) 0 ;
10018 unsigned char result;
10019 PyObject * obj0 = 0 ;
10020 char *kwnames[] = {
10021 (char *) "self", NULL
10022 };
10023
10024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail;
10025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10026 {
10027 PyThreadState* __tstate = wxPyBeginAllowThreads();
10028 result = (unsigned char)(arg1)->GetMaskGreen();
10029
10030 wxPyEndAllowThreads(__tstate);
10031 if (PyErr_Occurred()) SWIG_fail;
10032 }
994141e6 10033 resultobj = SWIG_PyObj_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10034 return resultobj;
10035 fail:
10036 return NULL;
10037}
10038
10039
10040static PyObject *_wrap_Image_GetMaskBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
10041 PyObject *resultobj;
10042 wxImage *arg1 = (wxImage *) 0 ;
10043 unsigned char result;
10044 PyObject * obj0 = 0 ;
10045 char *kwnames[] = {
10046 (char *) "self", NULL
10047 };
10048
10049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail;
10050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10051 {
10052 PyThreadState* __tstate = wxPyBeginAllowThreads();
10053 result = (unsigned char)(arg1)->GetMaskBlue();
10054
10055 wxPyEndAllowThreads(__tstate);
10056 if (PyErr_Occurred()) SWIG_fail;
10057 }
994141e6 10058 resultobj = SWIG_PyObj_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10059 return resultobj;
10060 fail:
10061 return NULL;
10062}
10063
10064
10065static PyObject *_wrap_Image_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
10066 PyObject *resultobj;
10067 wxImage *arg1 = (wxImage *) 0 ;
e811c8ce 10068 bool arg2 = (bool) True ;
d14a1e28
RD
10069 PyObject * obj0 = 0 ;
10070 PyObject * obj1 = 0 ;
10071 char *kwnames[] = {
10072 (char *) "self",(char *) "mask", NULL
10073 };
10074
10075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail;
10076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10077 if (obj1) {
a41e16b6 10078 {
994141e6 10079 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
10080 if (PyErr_Occurred()) SWIG_fail;
10081 }
d14a1e28
RD
10082 }
10083 {
10084 PyThreadState* __tstate = wxPyBeginAllowThreads();
10085 (arg1)->SetMask(arg2);
10086
10087 wxPyEndAllowThreads(__tstate);
10088 if (PyErr_Occurred()) SWIG_fail;
10089 }
10090 Py_INCREF(Py_None); resultobj = Py_None;
10091 return resultobj;
10092 fail:
10093 return NULL;
10094}
10095
10096
10097static PyObject *_wrap_Image_HasMask(PyObject *self, PyObject *args, PyObject *kwargs) {
10098 PyObject *resultobj;
10099 wxImage *arg1 = (wxImage *) 0 ;
10100 bool result;
10101 PyObject * obj0 = 0 ;
10102 char *kwnames[] = {
10103 (char *) "self", NULL
10104 };
10105
10106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail;
10107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10108 {
10109 PyThreadState* __tstate = wxPyBeginAllowThreads();
10110 result = (bool)(arg1)->HasMask();
10111
10112 wxPyEndAllowThreads(__tstate);
10113 if (PyErr_Occurred()) SWIG_fail;
10114 }
4d5c3d91 10115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10116 return resultobj;
10117 fail:
10118 return NULL;
10119}
10120
10121
10122static PyObject *_wrap_Image_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
10123 PyObject *resultobj;
10124 wxImage *arg1 = (wxImage *) 0 ;
10125 double arg2 ;
10126 wxPoint *arg3 = 0 ;
e811c8ce 10127 bool arg4 = (bool) True ;
d14a1e28
RD
10128 wxPoint *arg5 = (wxPoint *) NULL ;
10129 SwigValueWrapper< wxImage > result;
10130 wxPoint temp3 ;
10131 PyObject * obj0 = 0 ;
994141e6 10132 PyObject * obj1 = 0 ;
d14a1e28
RD
10133 PyObject * obj2 = 0 ;
10134 PyObject * obj3 = 0 ;
10135 PyObject * obj4 = 0 ;
10136 char *kwnames[] = {
10137 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10138 };
10139
994141e6 10140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Image_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28 10141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
10142 {
10143 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
10144 if (PyErr_Occurred()) SWIG_fail;
10145 }
d14a1e28
RD
10146 {
10147 arg3 = &temp3;
10148 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10149 }
10150 if (obj3) {
a41e16b6 10151 {
994141e6 10152 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
a41e16b6
RD
10153 if (PyErr_Occurred()) SWIG_fail;
10154 }
d14a1e28
RD
10155 }
10156 if (obj4) {
10157 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10158 }
10159 {
10160 PyThreadState* __tstate = wxPyBeginAllowThreads();
10161 result = ((wxImage const *)arg1)->Rotate(arg2,(wxPoint const &)*arg3,arg4,arg5);
10162
10163 wxPyEndAllowThreads(__tstate);
10164 if (PyErr_Occurred()) SWIG_fail;
10165 }
10166 {
10167 wxImage * resultptr;
10168 resultptr = new wxImage((wxImage &) result);
10169 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
10170 }
10171 return resultobj;
10172 fail:
10173 return NULL;
10174}
10175
10176
10177static PyObject *_wrap_Image_Rotate90(PyObject *self, PyObject *args, PyObject *kwargs) {
10178 PyObject *resultobj;
10179 wxImage *arg1 = (wxImage *) 0 ;
e811c8ce 10180 bool arg2 = (bool) True ;
d14a1e28
RD
10181 SwigValueWrapper< wxImage > result;
10182 PyObject * obj0 = 0 ;
10183 PyObject * obj1 = 0 ;
10184 char *kwnames[] = {
10185 (char *) "self",(char *) "clockwise", NULL
10186 };
10187
10188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail;
10189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10190 if (obj1) {
a41e16b6 10191 {
994141e6 10192 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
10193 if (PyErr_Occurred()) SWIG_fail;
10194 }
d14a1e28
RD
10195 }
10196 {
10197 PyThreadState* __tstate = wxPyBeginAllowThreads();
10198 result = (arg1)->Rotate90(arg2);
10199
10200 wxPyEndAllowThreads(__tstate);
10201 if (PyErr_Occurred()) SWIG_fail;
10202 }
10203 {
10204 wxImage * resultptr;
10205 resultptr = new wxImage((wxImage &) result);
10206 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
10207 }
10208 return resultobj;
10209 fail:
10210 return NULL;
10211}
10212
10213
10214static PyObject *_wrap_Image_Mirror(PyObject *self, PyObject *args, PyObject *kwargs) {
10215 PyObject *resultobj;
10216 wxImage *arg1 = (wxImage *) 0 ;
e811c8ce 10217 bool arg2 = (bool) True ;
d14a1e28
RD
10218 SwigValueWrapper< wxImage > result;
10219 PyObject * obj0 = 0 ;
10220 PyObject * obj1 = 0 ;
10221 char *kwnames[] = {
10222 (char *) "self",(char *) "horizontally", NULL
10223 };
10224
10225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail;
10226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10227 if (obj1) {
a41e16b6 10228 {
994141e6 10229 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
10230 if (PyErr_Occurred()) SWIG_fail;
10231 }
d14a1e28
RD
10232 }
10233 {
10234 PyThreadState* __tstate = wxPyBeginAllowThreads();
10235 result = (arg1)->Mirror(arg2);
10236
10237 wxPyEndAllowThreads(__tstate);
10238 if (PyErr_Occurred()) SWIG_fail;
10239 }
10240 {
10241 wxImage * resultptr;
10242 resultptr = new wxImage((wxImage &) result);
10243 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
10244 }
10245 return resultobj;
10246 fail:
10247 return NULL;
10248}
10249
10250
10251static PyObject *_wrap_Image_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
10252 PyObject *resultobj;
10253 wxImage *arg1 = (wxImage *) 0 ;
10254 unsigned char arg2 ;
10255 unsigned char arg3 ;
10256 unsigned char arg4 ;
10257 unsigned char arg5 ;
10258 unsigned char arg6 ;
10259 unsigned char arg7 ;
10260 PyObject * obj0 = 0 ;
10261 PyObject * obj1 = 0 ;
10262 PyObject * obj2 = 0 ;
10263 PyObject * obj3 = 0 ;
10264 PyObject * obj4 = 0 ;
10265 PyObject * obj5 = 0 ;
10266 PyObject * obj6 = 0 ;
10267 char *kwnames[] = {
10268 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10269 };
10270
10271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 10273 {
994141e6 10274 arg2 = (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1);
a41e16b6
RD
10275 if (PyErr_Occurred()) SWIG_fail;
10276 }
10277 {
994141e6 10278 arg3 = (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2);
a41e16b6
RD
10279 if (PyErr_Occurred()) SWIG_fail;
10280 }
10281 {
994141e6 10282 arg4 = (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3);
a41e16b6
RD
10283 if (PyErr_Occurred()) SWIG_fail;
10284 }
10285 {
994141e6 10286 arg5 = (unsigned char) SWIG_PyObj_AsUnsignedChar(obj4);
a41e16b6
RD
10287 if (PyErr_Occurred()) SWIG_fail;
10288 }
10289 {
994141e6 10290 arg6 = (unsigned char) SWIG_PyObj_AsUnsignedChar(obj5);
a41e16b6
RD
10291 if (PyErr_Occurred()) SWIG_fail;
10292 }
10293 {
994141e6 10294 arg7 = (unsigned char) SWIG_PyObj_AsUnsignedChar(obj6);
a41e16b6
RD
10295 if (PyErr_Occurred()) SWIG_fail;
10296 }
d14a1e28
RD
10297 {
10298 PyThreadState* __tstate = wxPyBeginAllowThreads();
10299 (arg1)->Replace(arg2,arg3,arg4,arg5,arg6,arg7);
10300
10301 wxPyEndAllowThreads(__tstate);
10302 if (PyErr_Occurred()) SWIG_fail;
10303 }
10304 Py_INCREF(Py_None); resultobj = Py_None;
10305 return resultobj;
10306 fail:
10307 return NULL;
10308}
10309
10310
10311static PyObject *_wrap_Image_ConvertToMono(PyObject *self, PyObject *args, PyObject *kwargs) {
10312 PyObject *resultobj;
10313 wxImage *arg1 = (wxImage *) 0 ;
10314 unsigned char arg2 ;
10315 unsigned char arg3 ;
10316 unsigned char arg4 ;
10317 SwigValueWrapper< wxImage > result;
10318 PyObject * obj0 = 0 ;
10319 PyObject * obj1 = 0 ;
10320 PyObject * obj2 = 0 ;
10321 PyObject * obj3 = 0 ;
10322 char *kwnames[] = {
10323 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10324 };
10325
10326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 10328 {
994141e6 10329 arg2 = (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1);
a41e16b6
RD
10330 if (PyErr_Occurred()) SWIG_fail;
10331 }
10332 {
994141e6 10333 arg3 = (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2);
a41e16b6
RD
10334 if (PyErr_Occurred()) SWIG_fail;
10335 }
10336 {
994141e6 10337 arg4 = (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3);
a41e16b6
RD
10338 if (PyErr_Occurred()) SWIG_fail;
10339 }
d14a1e28
RD
10340 {
10341 PyThreadState* __tstate = wxPyBeginAllowThreads();
10342 result = ((wxImage const *)arg1)->ConvertToMono(arg2,arg3,arg4);
10343
10344 wxPyEndAllowThreads(__tstate);
10345 if (PyErr_Occurred()) SWIG_fail;
10346 }
10347 {
10348 wxImage * resultptr;
10349 resultptr = new wxImage((wxImage &) result);
10350 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
10351 }
10352 return resultobj;
10353 fail:
10354 return NULL;
10355}
10356
10357
10358static PyObject *_wrap_Image_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10359 PyObject *resultobj;
10360 wxImage *arg1 = (wxImage *) 0 ;
10361 wxString *arg2 = 0 ;
10362 wxString *arg3 = 0 ;
e811c8ce
RD
10363 bool temp2 = False ;
10364 bool temp3 = False ;
d14a1e28
RD
10365 PyObject * obj0 = 0 ;
10366 PyObject * obj1 = 0 ;
10367 PyObject * obj2 = 0 ;
10368 char *kwnames[] = {
10369 (char *) "self",(char *) "name",(char *) "value", NULL
10370 };
10371
10372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail;
10373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10374 {
10375 arg2 = wxString_in_helper(obj1);
10376 if (arg2 == NULL) SWIG_fail;
e811c8ce 10377 temp2 = True;
d14a1e28
RD
10378 }
10379 {
10380 arg3 = wxString_in_helper(obj2);
10381 if (arg3 == NULL) SWIG_fail;
e811c8ce 10382 temp3 = True;
d14a1e28
RD
10383 }
10384 {
10385 PyThreadState* __tstate = wxPyBeginAllowThreads();
10386 (arg1)->SetOption((wxString const &)*arg2,(wxString const &)*arg3);
10387
10388 wxPyEndAllowThreads(__tstate);
10389 if (PyErr_Occurred()) SWIG_fail;
10390 }
10391 Py_INCREF(Py_None); resultobj = Py_None;
10392 {
10393 if (temp2)
10394 delete arg2;
10395 }
10396 {
10397 if (temp3)
10398 delete arg3;
10399 }
10400 return resultobj;
10401 fail:
10402 {
10403 if (temp2)
10404 delete arg2;
10405 }
10406 {
10407 if (temp3)
10408 delete arg3;
10409 }
10410 return NULL;
10411}
10412
10413
10414static PyObject *_wrap_Image_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
10415 PyObject *resultobj;
10416 wxImage *arg1 = (wxImage *) 0 ;
10417 wxString *arg2 = 0 ;
10418 int arg3 ;
e811c8ce 10419 bool temp2 = False ;
d14a1e28
RD
10420 PyObject * obj0 = 0 ;
10421 PyObject * obj1 = 0 ;
994141e6 10422 PyObject * obj2 = 0 ;
d14a1e28
RD
10423 char *kwnames[] = {
10424 (char *) "self",(char *) "name",(char *) "value", NULL
10425 };
10426
994141e6 10427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOptionInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
10428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10429 {
10430 arg2 = wxString_in_helper(obj1);
10431 if (arg2 == NULL) SWIG_fail;
e811c8ce 10432 temp2 = True;
d14a1e28 10433 }
994141e6
RD
10434 {
10435 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10436 if (PyErr_Occurred()) SWIG_fail;
10437 }
d14a1e28
RD
10438 {
10439 PyThreadState* __tstate = wxPyBeginAllowThreads();
10440 (arg1)->SetOption((wxString const &)*arg2,arg3);
10441
10442 wxPyEndAllowThreads(__tstate);
10443 if (PyErr_Occurred()) SWIG_fail;
10444 }
10445 Py_INCREF(Py_None); resultobj = Py_None;
10446 {
10447 if (temp2)
10448 delete arg2;
10449 }
10450 return resultobj;
10451 fail:
10452 {
10453 if (temp2)
10454 delete arg2;
10455 }
10456 return NULL;
10457}
10458
10459
10460static PyObject *_wrap_Image_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10461 PyObject *resultobj;
10462 wxImage *arg1 = (wxImage *) 0 ;
10463 wxString *arg2 = 0 ;
10464 wxString result;
e811c8ce 10465 bool temp2 = False ;
d14a1e28
RD
10466 PyObject * obj0 = 0 ;
10467 PyObject * obj1 = 0 ;
10468 char *kwnames[] = {
10469 (char *) "self",(char *) "name", NULL
10470 };
10471
10472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail;
10473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10474 {
10475 arg2 = wxString_in_helper(obj1);
10476 if (arg2 == NULL) SWIG_fail;
e811c8ce 10477 temp2 = True;
d14a1e28
RD
10478 }
10479 {
10480 PyThreadState* __tstate = wxPyBeginAllowThreads();
10481 result = ((wxImage const *)arg1)->GetOption((wxString const &)*arg2);
10482
10483 wxPyEndAllowThreads(__tstate);
10484 if (PyErr_Occurred()) SWIG_fail;
10485 }
10486 {
10487#if wxUSE_UNICODE
10488 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10489#else
10490 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10491#endif
10492 }
10493 {
10494 if (temp2)
10495 delete arg2;
10496 }
10497 return resultobj;
10498 fail:
10499 {
10500 if (temp2)
10501 delete arg2;
10502 }
10503 return NULL;
10504}
10505
10506
10507static PyObject *_wrap_Image_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
10508 PyObject *resultobj;
10509 wxImage *arg1 = (wxImage *) 0 ;
10510 wxString *arg2 = 0 ;
10511 int result;
e811c8ce 10512 bool temp2 = False ;
d14a1e28
RD
10513 PyObject * obj0 = 0 ;
10514 PyObject * obj1 = 0 ;
10515 char *kwnames[] = {
10516 (char *) "self",(char *) "name", NULL
10517 };
10518
10519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail;
10520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10521 {
10522 arg2 = wxString_in_helper(obj1);
10523 if (arg2 == NULL) SWIG_fail;
e811c8ce 10524 temp2 = True;
d14a1e28
RD
10525 }
10526 {
10527 PyThreadState* __tstate = wxPyBeginAllowThreads();
10528 result = (int)((wxImage const *)arg1)->GetOptionInt((wxString const &)*arg2);
10529
10530 wxPyEndAllowThreads(__tstate);
10531 if (PyErr_Occurred()) SWIG_fail;
10532 }
994141e6 10533 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
10534 {
10535 if (temp2)
10536 delete arg2;
10537 }
10538 return resultobj;
10539 fail:
10540 {
10541 if (temp2)
10542 delete arg2;
10543 }
10544 return NULL;
10545}
10546
10547
10548static PyObject *_wrap_Image_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10549 PyObject *resultobj;
10550 wxImage *arg1 = (wxImage *) 0 ;
10551 wxString *arg2 = 0 ;
10552 bool result;
e811c8ce 10553 bool temp2 = False ;
d14a1e28
RD
10554 PyObject * obj0 = 0 ;
10555 PyObject * obj1 = 0 ;
10556 char *kwnames[] = {
10557 (char *) "self",(char *) "name", NULL
10558 };
10559
10560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail;
10561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10562 {
10563 arg2 = wxString_in_helper(obj1);
10564 if (arg2 == NULL) SWIG_fail;
e811c8ce 10565 temp2 = True;
d14a1e28
RD
10566 }
10567 {
10568 PyThreadState* __tstate = wxPyBeginAllowThreads();
10569 result = (bool)((wxImage const *)arg1)->HasOption((wxString const &)*arg2);
10570
10571 wxPyEndAllowThreads(__tstate);
10572 if (PyErr_Occurred()) SWIG_fail;
10573 }
4d5c3d91 10574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10575 {
10576 if (temp2)
10577 delete arg2;
10578 }
10579 return resultobj;
10580 fail:
10581 {
10582 if (temp2)
10583 delete arg2;
10584 }
10585 return NULL;
10586}
10587
10588
10589static PyObject *_wrap_Image_CountColours(PyObject *self, PyObject *args, PyObject *kwargs) {
10590 PyObject *resultobj;
10591 wxImage *arg1 = (wxImage *) 0 ;
10592 unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
10593 unsigned long result;
10594 PyObject * obj0 = 0 ;
10595 PyObject * obj1 = 0 ;
10596 char *kwnames[] = {
10597 (char *) "self",(char *) "stopafter", NULL
10598 };
10599
10600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail;
10601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10602 if (obj1) {
a41e16b6 10603 {
994141e6 10604 arg2 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1);
a41e16b6
RD
10605 if (PyErr_Occurred()) SWIG_fail;
10606 }
d14a1e28
RD
10607 }
10608 {
10609 PyThreadState* __tstate = wxPyBeginAllowThreads();
10610 result = (unsigned long)(arg1)->CountColours(arg2);
10611
10612 wxPyEndAllowThreads(__tstate);
10613 if (PyErr_Occurred()) SWIG_fail;
10614 }
994141e6 10615 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
10616 return resultobj;
10617 fail:
10618 return NULL;
10619}
10620
10621
10622static PyObject *_wrap_Image_ComputeHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
10623 PyObject *resultobj;
10624 wxImage *arg1 = (wxImage *) 0 ;
10625 wxImageHistogram *arg2 = 0 ;
10626 unsigned long result;
10627 PyObject * obj0 = 0 ;
10628 PyObject * obj1 = 0 ;
10629 char *kwnames[] = {
10630 (char *) "self",(char *) "h", NULL
10631 };
10632
10633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail;
10634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10635 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageHistogram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10636 if (arg2 == NULL) {
10637 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10638 }
10639 {
10640 PyThreadState* __tstate = wxPyBeginAllowThreads();
10641 result = (unsigned long)(arg1)->ComputeHistogram(*arg2);
10642
10643 wxPyEndAllowThreads(__tstate);
10644 if (PyErr_Occurred()) SWIG_fail;
10645 }
994141e6 10646 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
10647 return resultobj;
10648 fail:
10649 return NULL;
10650}
10651
10652
10653static PyObject *_wrap_Image_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10654 PyObject *resultobj;
10655 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10656 PyObject * obj0 = 0 ;
10657 char *kwnames[] = {
10658 (char *) "handler", NULL
10659 };
10660
10661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail;
10662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10663 {
10664 PyThreadState* __tstate = wxPyBeginAllowThreads();
10665 wxImage::AddHandler(arg1);
10666
10667 wxPyEndAllowThreads(__tstate);
10668 if (PyErr_Occurred()) SWIG_fail;
10669 }
10670 Py_INCREF(Py_None); resultobj = Py_None;
10671 return resultobj;
10672 fail:
10673 return NULL;
10674}
10675
10676
10677static PyObject *_wrap_Image_InsertHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10678 PyObject *resultobj;
10679 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10680 PyObject * obj0 = 0 ;
10681 char *kwnames[] = {
10682 (char *) "handler", NULL
10683 };
10684
10685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail;
10686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10687 {
10688 PyThreadState* __tstate = wxPyBeginAllowThreads();
10689 wxImage::InsertHandler(arg1);
10690
10691 wxPyEndAllowThreads(__tstate);
10692 if (PyErr_Occurred()) SWIG_fail;
10693 }
10694 Py_INCREF(Py_None); resultobj = Py_None;
10695 return resultobj;
10696 fail:
10697 return NULL;
10698}
10699
10700
10701static PyObject *_wrap_Image_RemoveHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10702 PyObject *resultobj;
10703 wxString *arg1 = 0 ;
10704 bool result;
e811c8ce 10705 bool temp1 = False ;
d14a1e28
RD
10706 PyObject * obj0 = 0 ;
10707 char *kwnames[] = {
10708 (char *) "name", NULL
10709 };
10710
10711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail;
10712 {
10713 arg1 = wxString_in_helper(obj0);
10714 if (arg1 == NULL) SWIG_fail;
e811c8ce 10715 temp1 = True;
d14a1e28
RD
10716 }
10717 {
10718 PyThreadState* __tstate = wxPyBeginAllowThreads();
10719 result = (bool)wxImage::RemoveHandler((wxString const &)*arg1);
10720
10721 wxPyEndAllowThreads(__tstate);
10722 if (PyErr_Occurred()) SWIG_fail;
10723 }
4d5c3d91 10724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10725 {
10726 if (temp1)
10727 delete arg1;
10728 }
10729 return resultobj;
10730 fail:
10731 {
10732 if (temp1)
10733 delete arg1;
10734 }
10735 return NULL;
10736}
10737
10738
10739static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10740 PyObject *resultobj;
10741 wxString result;
10742 char *kwnames[] = {
10743 NULL
10744 };
10745
10746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail;
10747 {
10748 PyThreadState* __tstate = wxPyBeginAllowThreads();
10749 result = wxImage::GetImageExtWildcard();
10750
10751 wxPyEndAllowThreads(__tstate);
10752 if (PyErr_Occurred()) SWIG_fail;
10753 }
10754 {
10755#if wxUSE_UNICODE
10756 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10757#else
10758 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10759#endif
10760 }
10761 return resultobj;
10762 fail:
10763 return NULL;
10764}
10765
10766
10767static PyObject *_wrap_Image_ConvertToBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
10768 PyObject *resultobj;
10769 wxImage *arg1 = (wxImage *) 0 ;
10770 wxBitmap result;
10771 PyObject * obj0 = 0 ;
10772 char *kwnames[] = {
10773 (char *) "self", NULL
10774 };
10775
10776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_ConvertToBitmap",kwnames,&obj0)) goto fail;
10777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10778 {
10779 PyThreadState* __tstate = wxPyBeginAllowThreads();
10780 result = wxImage_ConvertToBitmap(arg1);
10781
10782 wxPyEndAllowThreads(__tstate);
10783 if (PyErr_Occurred()) SWIG_fail;
10784 }
10785 {
10786 wxBitmap * resultptr;
10787 resultptr = new wxBitmap((wxBitmap &) result);
10788 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
10789 }
10790 return resultobj;
10791 fail:
10792 return NULL;
10793}
10794
10795
10796static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
10797 PyObject *resultobj;
10798 wxImage *arg1 = (wxImage *) 0 ;
10799 unsigned char arg2 ;
10800 unsigned char arg3 ;
10801 unsigned char arg4 ;
10802 wxBitmap result;
10803 PyObject * obj0 = 0 ;
10804 PyObject * obj1 = 0 ;
10805 PyObject * obj2 = 0 ;
10806 PyObject * obj3 = 0 ;
10807 char *kwnames[] = {
10808 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
10809 };
10810
10811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 10813 {
994141e6 10814 arg2 = (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1);
a41e16b6
RD
10815 if (PyErr_Occurred()) SWIG_fail;
10816 }
10817 {
994141e6 10818 arg3 = (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2);
a41e16b6
RD
10819 if (PyErr_Occurred()) SWIG_fail;
10820 }
10821 {
994141e6 10822 arg4 = (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3);
a41e16b6
RD
10823 if (PyErr_Occurred()) SWIG_fail;
10824 }
d14a1e28
RD
10825 {
10826 PyThreadState* __tstate = wxPyBeginAllowThreads();
10827 result = wxImage_ConvertToMonoBitmap(arg1,arg2,arg3,arg4);
10828
10829 wxPyEndAllowThreads(__tstate);
10830 if (PyErr_Occurred()) SWIG_fail;
10831 }
10832 {
10833 wxBitmap * resultptr;
10834 resultptr = new wxBitmap((wxBitmap &) result);
10835 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
10836 }
10837 return resultobj;
10838 fail:
10839 return NULL;
10840}
10841
10842
10843static PyObject * Image_swigregister(PyObject *self, PyObject *args) {
10844 PyObject *obj;
10845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10846 SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj);
10847 Py_INCREF(obj);
10848 return Py_BuildValue((char *)"");
10849}
10850static PyObject *_wrap_InitAllImageHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
10851 PyObject *resultobj;
10852 char *kwnames[] = {
10853 NULL
10854 };
10855
10856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":InitAllImageHandlers",kwnames)) goto fail;
10857 {
10858 PyThreadState* __tstate = wxPyBeginAllowThreads();
10859 wxInitAllImageHandlers();
10860
10861 wxPyEndAllowThreads(__tstate);
10862 if (PyErr_Occurred()) SWIG_fail;
10863 }
10864 Py_INCREF(Py_None); resultobj = Py_None;
10865 return resultobj;
10866 fail:
10867 return NULL;
10868}
10869
10870
10871static int _wrap_NullImage_set(PyObject *_val) {
10872 PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only.");
10873 return 1;
10874}
10875
10876
10877static PyObject *_wrap_NullImage_get() {
10878 PyObject *pyobj;
10879
10880 pyobj = SWIG_NewPointerObj((void *) &wxNullImage, SWIGTYPE_p_wxImage, 0);
10881 return pyobj;
10882}
10883
10884
10885static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *_val) {
10886 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
10887 return 1;
10888}
10889
10890
10891static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
10892 PyObject *pyobj;
10893
10894 {
10895#if wxUSE_UNICODE
10896 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
10897#else
10898 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
10899#endif
10900 }
10901 return pyobj;
10902}
10903
10904
10905static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *_val) {
10906 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
10907 return 1;
10908}
10909
10910
10911static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
10912 PyObject *pyobj;
10913
10914 {
10915#if wxUSE_UNICODE
10916 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
10917#else
10918 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
10919#endif
10920 }
10921 return pyobj;
10922}
10923
10924
10925static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *_val) {
10926 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
10927 return 1;
10928}
10929
10930
10931static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
10932 PyObject *pyobj;
10933
10934 {
10935#if wxUSE_UNICODE
10936 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
10937#else
10938 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
10939#endif
10940 }
10941 return pyobj;
10942}
10943
10944
10945static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *_val) {
10946 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
10947 return 1;
10948}
10949
10950
10951static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get() {
10952 PyObject *pyobj;
10953
10954 {
10955#if wxUSE_UNICODE
10956 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
10957#else
10958 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
10959#endif
10960 }
10961 return pyobj;
10962}
10963
10964
10965static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *_val) {
10966 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
10967 return 1;
10968}
10969
10970
10971static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
10972 PyObject *pyobj;
10973
10974 {
10975#if wxUSE_UNICODE
10976 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
10977#else
10978 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
10979#endif
10980 }
10981 return pyobj;
10982}
10983
10984
10985static PyObject *_wrap_new_BMPHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10986 PyObject *resultobj;
10987 wxBMPHandler *result;
10988 char *kwnames[] = {
10989 NULL
10990 };
10991
10992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail;
10993 {
10994 PyThreadState* __tstate = wxPyBeginAllowThreads();
10995 result = (wxBMPHandler *)new wxBMPHandler();
10996
10997 wxPyEndAllowThreads(__tstate);
10998 if (PyErr_Occurred()) SWIG_fail;
10999 }
11000 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBMPHandler, 1);
11001 return resultobj;
11002 fail:
11003 return NULL;
11004}
11005
11006
11007static PyObject * BMPHandler_swigregister(PyObject *self, PyObject *args) {
11008 PyObject *obj;
11009 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11010 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj);
11011 Py_INCREF(obj);
11012 return Py_BuildValue((char *)"");
11013}
11014static PyObject *_wrap_new_ICOHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11015 PyObject *resultobj;
11016 wxICOHandler *result;
11017 char *kwnames[] = {
11018 NULL
11019 };
11020
11021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail;
11022 {
11023 PyThreadState* __tstate = wxPyBeginAllowThreads();
11024 result = (wxICOHandler *)new wxICOHandler();
11025
11026 wxPyEndAllowThreads(__tstate);
11027 if (PyErr_Occurred()) SWIG_fail;
11028 }
11029 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxICOHandler, 1);
11030 return resultobj;
11031 fail:
11032 return NULL;
11033}
11034
11035
11036static PyObject * ICOHandler_swigregister(PyObject *self, PyObject *args) {
11037 PyObject *obj;
11038 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11039 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj);
11040 Py_INCREF(obj);
11041 return Py_BuildValue((char *)"");
11042}
11043static PyObject *_wrap_new_CURHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11044 PyObject *resultobj;
11045 wxCURHandler *result;
11046 char *kwnames[] = {
11047 NULL
11048 };
11049
11050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail;
11051 {
11052 PyThreadState* __tstate = wxPyBeginAllowThreads();
11053 result = (wxCURHandler *)new wxCURHandler();
11054
11055 wxPyEndAllowThreads(__tstate);
11056 if (PyErr_Occurred()) SWIG_fail;
11057 }
11058 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCURHandler, 1);
11059 return resultobj;
11060 fail:
11061 return NULL;
11062}
11063
11064
11065static PyObject * CURHandler_swigregister(PyObject *self, PyObject *args) {
11066 PyObject *obj;
11067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11068 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj);
11069 Py_INCREF(obj);
11070 return Py_BuildValue((char *)"");
11071}
11072static PyObject *_wrap_new_ANIHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11073 PyObject *resultobj;
11074 wxANIHandler *result;
11075 char *kwnames[] = {
11076 NULL
11077 };
11078
11079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail;
11080 {
11081 PyThreadState* __tstate = wxPyBeginAllowThreads();
11082 result = (wxANIHandler *)new wxANIHandler();
11083
11084 wxPyEndAllowThreads(__tstate);
11085 if (PyErr_Occurred()) SWIG_fail;
11086 }
11087 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxANIHandler, 1);
11088 return resultobj;
11089 fail:
11090 return NULL;
11091}
11092
11093
11094static PyObject * ANIHandler_swigregister(PyObject *self, PyObject *args) {
11095 PyObject *obj;
11096 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11097 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj);
11098 Py_INCREF(obj);
11099 return Py_BuildValue((char *)"");
11100}
11101static PyObject *_wrap_new_PNGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11102 PyObject *resultobj;
11103 wxPNGHandler *result;
11104 char *kwnames[] = {
11105 NULL
11106 };
11107
11108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail;
11109 {
11110 PyThreadState* __tstate = wxPyBeginAllowThreads();
11111 result = (wxPNGHandler *)new wxPNGHandler();
11112
11113 wxPyEndAllowThreads(__tstate);
11114 if (PyErr_Occurred()) SWIG_fail;
11115 }
11116 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPNGHandler, 1);
11117 return resultobj;
11118 fail:
11119 return NULL;
11120}
11121
11122
11123static PyObject * PNGHandler_swigregister(PyObject *self, PyObject *args) {
11124 PyObject *obj;
11125 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11126 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj);
11127 Py_INCREF(obj);
11128 return Py_BuildValue((char *)"");
11129}
11130static PyObject *_wrap_new_GIFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11131 PyObject *resultobj;
11132 wxGIFHandler *result;
11133 char *kwnames[] = {
11134 NULL
11135 };
11136
11137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail;
11138 {
11139 PyThreadState* __tstate = wxPyBeginAllowThreads();
11140 result = (wxGIFHandler *)new wxGIFHandler();
11141
11142 wxPyEndAllowThreads(__tstate);
11143 if (PyErr_Occurred()) SWIG_fail;
11144 }
11145 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGIFHandler, 1);
11146 return resultobj;
11147 fail:
11148 return NULL;
11149}
11150
11151
11152static PyObject * GIFHandler_swigregister(PyObject *self, PyObject *args) {
11153 PyObject *obj;
11154 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11155 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj);
11156 Py_INCREF(obj);
11157 return Py_BuildValue((char *)"");
11158}
11159static PyObject *_wrap_new_PCXHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11160 PyObject *resultobj;
11161 wxPCXHandler *result;
11162 char *kwnames[] = {
11163 NULL
11164 };
11165
11166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail;
11167 {
11168 PyThreadState* __tstate = wxPyBeginAllowThreads();
11169 result = (wxPCXHandler *)new wxPCXHandler();
11170
11171 wxPyEndAllowThreads(__tstate);
11172 if (PyErr_Occurred()) SWIG_fail;
11173 }
11174 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPCXHandler, 1);
11175 return resultobj;
11176 fail:
11177 return NULL;
11178}
11179
11180
11181static PyObject * PCXHandler_swigregister(PyObject *self, PyObject *args) {
11182 PyObject *obj;
11183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11184 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj);
11185 Py_INCREF(obj);
11186 return Py_BuildValue((char *)"");
11187}
11188static PyObject *_wrap_new_JPEGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11189 PyObject *resultobj;
11190 wxJPEGHandler *result;
11191 char *kwnames[] = {
11192 NULL
11193 };
11194
11195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail;
11196 {
11197 PyThreadState* __tstate = wxPyBeginAllowThreads();
11198 result = (wxJPEGHandler *)new wxJPEGHandler();
11199
11200 wxPyEndAllowThreads(__tstate);
11201 if (PyErr_Occurred()) SWIG_fail;
11202 }
11203 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJPEGHandler, 1);
11204 return resultobj;
11205 fail:
11206 return NULL;
11207}
11208
11209
11210static PyObject * JPEGHandler_swigregister(PyObject *self, PyObject *args) {
11211 PyObject *obj;
11212 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11213 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj);
11214 Py_INCREF(obj);
11215 return Py_BuildValue((char *)"");
11216}
11217static PyObject *_wrap_new_PNMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11218 PyObject *resultobj;
11219 wxPNMHandler *result;
11220 char *kwnames[] = {
11221 NULL
11222 };
11223
11224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail;
11225 {
11226 PyThreadState* __tstate = wxPyBeginAllowThreads();
11227 result = (wxPNMHandler *)new wxPNMHandler();
11228
11229 wxPyEndAllowThreads(__tstate);
11230 if (PyErr_Occurred()) SWIG_fail;
11231 }
11232 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPNMHandler, 1);
11233 return resultobj;
11234 fail:
11235 return NULL;
11236}
11237
11238
11239static PyObject * PNMHandler_swigregister(PyObject *self, PyObject *args) {
11240 PyObject *obj;
11241 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11242 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj);
11243 Py_INCREF(obj);
11244 return Py_BuildValue((char *)"");
11245}
11246static PyObject *_wrap_new_XPMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11247 PyObject *resultobj;
11248 wxXPMHandler *result;
11249 char *kwnames[] = {
11250 NULL
11251 };
11252
11253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail;
11254 {
11255 PyThreadState* __tstate = wxPyBeginAllowThreads();
11256 result = (wxXPMHandler *)new wxXPMHandler();
11257
11258 wxPyEndAllowThreads(__tstate);
11259 if (PyErr_Occurred()) SWIG_fail;
11260 }
11261 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxXPMHandler, 1);
11262 return resultobj;
11263 fail:
11264 return NULL;
11265}
11266
11267
11268static PyObject * XPMHandler_swigregister(PyObject *self, PyObject *args) {
11269 PyObject *obj;
11270 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11271 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj);
11272 Py_INCREF(obj);
11273 return Py_BuildValue((char *)"");
11274}
11275static PyObject *_wrap_new_TIFFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11276 PyObject *resultobj;
11277 wxTIFFHandler *result;
11278 char *kwnames[] = {
11279 NULL
11280 };
11281
11282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail;
11283 {
11284 PyThreadState* __tstate = wxPyBeginAllowThreads();
11285 result = (wxTIFFHandler *)new wxTIFFHandler();
11286
11287 wxPyEndAllowThreads(__tstate);
11288 if (PyErr_Occurred()) SWIG_fail;
11289 }
11290 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTIFFHandler, 1);
11291 return resultobj;
11292 fail:
11293 return NULL;
11294}
11295
11296
11297static PyObject * TIFFHandler_swigregister(PyObject *self, PyObject *args) {
11298 PyObject *obj;
11299 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11300 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj);
11301 Py_INCREF(obj);
11302 return Py_BuildValue((char *)"");
11303}
11304static PyObject *_wrap_new_EvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11305 PyObject *resultobj;
11306 wxEvtHandler *result;
11307 char *kwnames[] = {
11308 NULL
11309 };
11310
11311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail;
11312 {
11313 PyThreadState* __tstate = wxPyBeginAllowThreads();
11314 result = (wxEvtHandler *)new wxEvtHandler();
11315
11316 wxPyEndAllowThreads(__tstate);
11317 if (PyErr_Occurred()) SWIG_fail;
11318 }
11319 {
11320 resultobj = wxPyMake_wxObject(result);
11321 }
11322 return resultobj;
11323 fail:
11324 return NULL;
11325}
11326
11327
11328static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11329 PyObject *resultobj;
11330 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11331 wxEvtHandler *result;
11332 PyObject * obj0 = 0 ;
11333 char *kwnames[] = {
11334 (char *) "self", NULL
11335 };
11336
11337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail;
11338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11339 {
11340 PyThreadState* __tstate = wxPyBeginAllowThreads();
11341 result = (wxEvtHandler *)(arg1)->GetNextHandler();
11342
11343 wxPyEndAllowThreads(__tstate);
11344 if (PyErr_Occurred()) SWIG_fail;
11345 }
11346 {
11347 resultobj = wxPyMake_wxObject(result);
11348 }
11349 return resultobj;
11350 fail:
11351 return NULL;
11352}
11353
11354
11355static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11356 PyObject *resultobj;
11357 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11358 wxEvtHandler *result;
11359 PyObject * obj0 = 0 ;
11360 char *kwnames[] = {
11361 (char *) "self", NULL
11362 };
11363
11364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
11365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11366 {
11367 PyThreadState* __tstate = wxPyBeginAllowThreads();
11368 result = (wxEvtHandler *)(arg1)->GetPreviousHandler();
11369
11370 wxPyEndAllowThreads(__tstate);
11371 if (PyErr_Occurred()) SWIG_fail;
11372 }
11373 {
11374 resultobj = wxPyMake_wxObject(result);
11375 }
11376 return resultobj;
11377 fail:
11378 return NULL;
11379}
11380
11381
11382static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11383 PyObject *resultobj;
11384 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11385 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11386 PyObject * obj0 = 0 ;
11387 PyObject * obj1 = 0 ;
11388 char *kwnames[] = {
11389 (char *) "self",(char *) "handler", NULL
11390 };
11391
11392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail;
11393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11394 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11395 {
11396 PyThreadState* __tstate = wxPyBeginAllowThreads();
11397 (arg1)->SetNextHandler(arg2);
11398
11399 wxPyEndAllowThreads(__tstate);
11400 if (PyErr_Occurred()) SWIG_fail;
11401 }
11402 Py_INCREF(Py_None); resultobj = Py_None;
11403 return resultobj;
11404 fail:
11405 return NULL;
11406}
11407
11408
11409static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11410 PyObject *resultobj;
11411 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11412 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11413 PyObject * obj0 = 0 ;
11414 PyObject * obj1 = 0 ;
11415 char *kwnames[] = {
11416 (char *) "self",(char *) "handler", NULL
11417 };
11418
11419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
11420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11421 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11422 {
11423 PyThreadState* __tstate = wxPyBeginAllowThreads();
11424 (arg1)->SetPreviousHandler(arg2);
11425
11426 wxPyEndAllowThreads(__tstate);
11427 if (PyErr_Occurred()) SWIG_fail;
11428 }
11429 Py_INCREF(Py_None); resultobj = Py_None;
11430 return resultobj;
11431 fail:
11432 return NULL;
11433}
11434
11435
11436static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11437 PyObject *resultobj;
11438 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11439 bool result;
11440 PyObject * obj0 = 0 ;
11441 char *kwnames[] = {
11442 (char *) "self", NULL
11443 };
11444
11445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail;
11446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11447 {
11448 PyThreadState* __tstate = wxPyBeginAllowThreads();
11449 result = (bool)(arg1)->GetEvtHandlerEnabled();
11450
11451 wxPyEndAllowThreads(__tstate);
11452 if (PyErr_Occurred()) SWIG_fail;
11453 }
4d5c3d91 11454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11455 return resultobj;
11456 fail:
11457 return NULL;
11458}
11459
11460
11461static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11462 PyObject *resultobj;
11463 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11464 bool arg2 ;
11465 PyObject * obj0 = 0 ;
11466 PyObject * obj1 = 0 ;
11467 char *kwnames[] = {
11468 (char *) "self",(char *) "enabled", NULL
11469 };
11470
11471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail;
11472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 11473 {
994141e6 11474 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
11475 if (PyErr_Occurred()) SWIG_fail;
11476 }
d14a1e28
RD
11477 {
11478 PyThreadState* __tstate = wxPyBeginAllowThreads();
11479 (arg1)->SetEvtHandlerEnabled(arg2);
11480
11481 wxPyEndAllowThreads(__tstate);
11482 if (PyErr_Occurred()) SWIG_fail;
11483 }
11484 Py_INCREF(Py_None); resultobj = Py_None;
11485 return resultobj;
11486 fail:
11487 return NULL;
11488}
11489
11490
11491static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11492 PyObject *resultobj;
11493 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11494 wxEvent *arg2 = 0 ;
11495 bool result;
11496 PyObject * obj0 = 0 ;
11497 PyObject * obj1 = 0 ;
11498 char *kwnames[] = {
11499 (char *) "self",(char *) "event", NULL
11500 };
11501
11502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail;
11503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11504 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11505 if (arg2 == NULL) {
11506 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11507 }
11508 {
11509 PyThreadState* __tstate = wxPyBeginAllowThreads();
11510 result = (bool)(arg1)->ProcessEvent(*arg2);
11511
11512 wxPyEndAllowThreads(__tstate);
11513 if (PyErr_Occurred()) SWIG_fail;
11514 }
4d5c3d91 11515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11516 return resultobj;
11517 fail:
11518 return NULL;
11519}
11520
11521
11522static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11523 PyObject *resultobj;
11524 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11525 wxEvent *arg2 = 0 ;
11526 PyObject * obj0 = 0 ;
11527 PyObject * obj1 = 0 ;
11528 char *kwnames[] = {
11529 (char *) "self",(char *) "event", NULL
11530 };
11531
11532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail;
11533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11534 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11535 if (arg2 == NULL) {
11536 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11537 }
11538 {
11539 PyThreadState* __tstate = wxPyBeginAllowThreads();
11540 (arg1)->AddPendingEvent(*arg2);
11541
11542 wxPyEndAllowThreads(__tstate);
11543 if (PyErr_Occurred()) SWIG_fail;
11544 }
11545 Py_INCREF(Py_None); resultobj = Py_None;
11546 return resultobj;
11547 fail:
11548 return NULL;
11549}
11550
11551
11552static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
11553 PyObject *resultobj;
11554 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11555 PyObject * obj0 = 0 ;
11556 char *kwnames[] = {
11557 (char *) "self", NULL
11558 };
11559
11560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail;
11561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11562 {
11563 PyThreadState* __tstate = wxPyBeginAllowThreads();
11564 (arg1)->ProcessPendingEvents();
11565
11566 wxPyEndAllowThreads(__tstate);
11567 if (PyErr_Occurred()) SWIG_fail;
11568 }
11569 Py_INCREF(Py_None); resultobj = Py_None;
11570 return resultobj;
11571 fail:
11572 return NULL;
11573}
11574
11575
11576static PyObject *_wrap_EvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
11577 PyObject *resultobj;
11578 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11579 int arg2 ;
11580 int arg3 ;
11581 int arg4 ;
11582 PyObject *arg5 = (PyObject *) 0 ;
11583 PyObject * obj0 = 0 ;
994141e6
RD
11584 PyObject * obj1 = 0 ;
11585 PyObject * obj2 = 0 ;
11586 PyObject * obj3 = 0 ;
d14a1e28
RD
11587 PyObject * obj4 = 0 ;
11588 char *kwnames[] = {
11589 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
11590 };
11591
994141e6 11592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:EvtHandler_Connect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28 11593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
11594 {
11595 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11596 if (PyErr_Occurred()) SWIG_fail;
11597 }
11598 {
11599 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11600 if (PyErr_Occurred()) SWIG_fail;
11601 }
11602 {
11603 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11604 if (PyErr_Occurred()) SWIG_fail;
11605 }
d14a1e28
RD
11606 arg5 = obj4;
11607 {
11608 PyThreadState* __tstate = wxPyBeginAllowThreads();
11609 wxEvtHandler_Connect(arg1,arg2,arg3,arg4,arg5);
11610
11611 wxPyEndAllowThreads(__tstate);
11612 if (PyErr_Occurred()) SWIG_fail;
11613 }
11614 Py_INCREF(Py_None); resultobj = Py_None;
11615 return resultobj;
11616 fail:
11617 return NULL;
11618}
11619
11620
11621static PyObject *_wrap_EvtHandler_Disconnect(PyObject *self, PyObject *args, PyObject *kwargs) {
11622 PyObject *resultobj;
11623 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11624 int arg2 ;
11625 int arg3 = (int) -1 ;
11626 wxEventType arg4 = (wxEventType) wxEVT_NULL ;
11627 bool result;
11628 PyObject * obj0 = 0 ;
994141e6
RD
11629 PyObject * obj1 = 0 ;
11630 PyObject * obj2 = 0 ;
11631 PyObject * obj3 = 0 ;
d14a1e28
RD
11632 char *kwnames[] = {
11633 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
11634 };
11635
994141e6 11636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:EvtHandler_Disconnect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 11637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
11638 {
11639 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11640 if (PyErr_Occurred()) SWIG_fail;
11641 }
11642 if (obj2) {
11643 {
11644 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11645 if (PyErr_Occurred()) SWIG_fail;
11646 }
11647 }
11648 if (obj3) {
11649 {
11650 arg4 = (wxEventType) SWIG_PyObj_AsInt(obj3);
11651 if (PyErr_Occurred()) SWIG_fail;
11652 }
11653 }
d14a1e28
RD
11654 {
11655 PyThreadState* __tstate = wxPyBeginAllowThreads();
11656 result = (bool)wxEvtHandler_Disconnect(arg1,arg2,arg3,arg4);
11657
11658 wxPyEndAllowThreads(__tstate);
11659 if (PyErr_Occurred()) SWIG_fail;
11660 }
4d5c3d91 11661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11662 return resultobj;
11663 fail:
11664 return NULL;
11665}
11666
11667
11668static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11669 PyObject *resultobj;
11670 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11671 PyObject *arg2 = (PyObject *) 0 ;
11672 PyObject * obj0 = 0 ;
11673 PyObject * obj1 = 0 ;
11674 char *kwnames[] = {
11675 (char *) "self",(char *) "_self", NULL
11676 };
11677
11678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
11679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11680 arg2 = obj1;
11681 {
11682 PyThreadState* __tstate = wxPyBeginAllowThreads();
11683 wxEvtHandler__setOORInfo(arg1,arg2);
11684
11685 wxPyEndAllowThreads(__tstate);
11686 if (PyErr_Occurred()) SWIG_fail;
11687 }
11688 Py_INCREF(Py_None); resultobj = Py_None;
11689 return resultobj;
11690 fail:
11691 return NULL;
11692}
11693
11694
11695static PyObject * EvtHandler_swigregister(PyObject *self, PyObject *args) {
11696 PyObject *obj;
11697 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11698 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj);
11699 Py_INCREF(obj);
11700 return Py_BuildValue((char *)"");
11701}
11702static PyObject *_wrap_NewEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
11703 PyObject *resultobj;
11704 wxEventType result;
11705 char *kwnames[] = {
11706 NULL
11707 };
11708
11709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail;
11710 {
11711 PyThreadState* __tstate = wxPyBeginAllowThreads();
11712 result = (wxEventType)wxNewEventType();
11713
11714 wxPyEndAllowThreads(__tstate);
11715 if (PyErr_Occurred()) SWIG_fail;
11716 }
994141e6 11717 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
11718 return resultobj;
11719 fail:
11720 return NULL;
11721}
11722
11723
11724static PyObject *_wrap_delete_Event(PyObject *self, PyObject *args, PyObject *kwargs) {
11725 PyObject *resultobj;
11726 wxEvent *arg1 = (wxEvent *) 0 ;
11727 PyObject * obj0 = 0 ;
11728 char *kwnames[] = {
11729 (char *) "self", NULL
11730 };
11731
11732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail;
11733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11734 {
11735 PyThreadState* __tstate = wxPyBeginAllowThreads();
11736 delete arg1;
11737
11738 wxPyEndAllowThreads(__tstate);
11739 if (PyErr_Occurred()) SWIG_fail;
11740 }
11741 Py_INCREF(Py_None); resultobj = Py_None;
11742 return resultobj;
11743 fail:
11744 return NULL;
11745}
11746
11747
11748static PyObject *_wrap_Event_SetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
11749 PyObject *resultobj;
11750 wxEvent *arg1 = (wxEvent *) 0 ;
11751 wxEventType arg2 ;
11752 PyObject * obj0 = 0 ;
994141e6 11753 PyObject * obj1 = 0 ;
d14a1e28
RD
11754 char *kwnames[] = {
11755 (char *) "self",(char *) "typ", NULL
11756 };
11757
994141e6 11758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventType",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 11759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
11760 {
11761 arg2 = (wxEventType) SWIG_PyObj_AsInt(obj1);
11762 if (PyErr_Occurred()) SWIG_fail;
11763 }
d14a1e28
RD
11764 {
11765 PyThreadState* __tstate = wxPyBeginAllowThreads();
11766 (arg1)->SetEventType(arg2);
11767
11768 wxPyEndAllowThreads(__tstate);
11769 if (PyErr_Occurred()) SWIG_fail;
11770 }
11771 Py_INCREF(Py_None); resultobj = Py_None;
11772 return resultobj;
11773 fail:
11774 return NULL;
11775}
11776
11777
11778static PyObject *_wrap_Event_GetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
11779 PyObject *resultobj;
11780 wxEvent *arg1 = (wxEvent *) 0 ;
11781 wxEventType result;
11782 PyObject * obj0 = 0 ;
11783 char *kwnames[] = {
11784 (char *) "self", NULL
11785 };
11786
11787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail;
11788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11789 {
11790 PyThreadState* __tstate = wxPyBeginAllowThreads();
11791 result = (wxEventType)((wxEvent const *)arg1)->GetEventType();
11792
11793 wxPyEndAllowThreads(__tstate);
11794 if (PyErr_Occurred()) SWIG_fail;
11795 }
994141e6 11796 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
11797 return resultobj;
11798 fail:
11799 return NULL;
11800}
11801
11802
11803static PyObject *_wrap_Event_GetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
11804 PyObject *resultobj;
11805 wxEvent *arg1 = (wxEvent *) 0 ;
11806 wxObject *result;
11807 PyObject * obj0 = 0 ;
11808 char *kwnames[] = {
11809 (char *) "self", NULL
11810 };
11811
11812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail;
11813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11814 {
11815 PyThreadState* __tstate = wxPyBeginAllowThreads();
11816 result = (wxObject *)((wxEvent const *)arg1)->GetEventObject();
11817
11818 wxPyEndAllowThreads(__tstate);
11819 if (PyErr_Occurred()) SWIG_fail;
11820 }
11821 {
11822 resultobj = wxPyMake_wxObject(result);
11823 }
11824 return resultobj;
11825 fail:
11826 return NULL;
11827}
11828
11829
11830static PyObject *_wrap_Event_SetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
11831 PyObject *resultobj;
11832 wxEvent *arg1 = (wxEvent *) 0 ;
11833 wxObject *arg2 = (wxObject *) 0 ;
11834 PyObject * obj0 = 0 ;
11835 PyObject * obj1 = 0 ;
11836 char *kwnames[] = {
11837 (char *) "self",(char *) "obj", NULL
11838 };
11839
11840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail;
11841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11842 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11843 {
11844 PyThreadState* __tstate = wxPyBeginAllowThreads();
11845 (arg1)->SetEventObject(arg2);
11846
11847 wxPyEndAllowThreads(__tstate);
11848 if (PyErr_Occurred()) SWIG_fail;
11849 }
11850 Py_INCREF(Py_None); resultobj = Py_None;
11851 return resultobj;
11852 fail:
11853 return NULL;
11854}
11855
11856
11857static PyObject *_wrap_Event_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
11858 PyObject *resultobj;
11859 wxEvent *arg1 = (wxEvent *) 0 ;
11860 long result;
11861 PyObject * obj0 = 0 ;
11862 char *kwnames[] = {
11863 (char *) "self", NULL
11864 };
11865
11866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail;
11867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11868 {
11869 PyThreadState* __tstate = wxPyBeginAllowThreads();
11870 result = (long)((wxEvent const *)arg1)->GetTimestamp();
11871
11872 wxPyEndAllowThreads(__tstate);
11873 if (PyErr_Occurred()) SWIG_fail;
11874 }
994141e6 11875 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
11876 return resultobj;
11877 fail:
11878 return NULL;
11879}
11880
11881
11882static PyObject *_wrap_Event_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
11883 PyObject *resultobj;
11884 wxEvent *arg1 = (wxEvent *) 0 ;
11885 long arg2 = (long) 0 ;
11886 PyObject * obj0 = 0 ;
994141e6 11887 PyObject * obj1 = 0 ;
d14a1e28
RD
11888 char *kwnames[] = {
11889 (char *) "self",(char *) "ts", NULL
11890 };
11891
994141e6 11892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_SetTimestamp",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 11893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
11894 if (obj1) {
11895 {
11896 arg2 = (long) SWIG_PyObj_AsLong(obj1);
11897 if (PyErr_Occurred()) SWIG_fail;
11898 }
11899 }
d14a1e28
RD
11900 {
11901 PyThreadState* __tstate = wxPyBeginAllowThreads();
11902 (arg1)->SetTimestamp(arg2);
11903
11904 wxPyEndAllowThreads(__tstate);
11905 if (PyErr_Occurred()) SWIG_fail;
11906 }
11907 Py_INCREF(Py_None); resultobj = Py_None;
11908 return resultobj;
11909 fail:
11910 return NULL;
11911}
11912
11913
11914static PyObject *_wrap_Event_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
11915 PyObject *resultobj;
11916 wxEvent *arg1 = (wxEvent *) 0 ;
11917 int result;
11918 PyObject * obj0 = 0 ;
11919 char *kwnames[] = {
11920 (char *) "self", NULL
11921 };
11922
11923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail;
11924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11925 {
11926 PyThreadState* __tstate = wxPyBeginAllowThreads();
11927 result = (int)((wxEvent const *)arg1)->GetId();
11928
11929 wxPyEndAllowThreads(__tstate);
11930 if (PyErr_Occurred()) SWIG_fail;
11931 }
994141e6 11932 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
11933 return resultobj;
11934 fail:
11935 return NULL;
11936}
11937
11938
11939static PyObject *_wrap_Event_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
11940 PyObject *resultobj;
11941 wxEvent *arg1 = (wxEvent *) 0 ;
11942 int arg2 ;
11943 PyObject * obj0 = 0 ;
994141e6 11944 PyObject * obj1 = 0 ;
d14a1e28
RD
11945 char *kwnames[] = {
11946 (char *) "self",(char *) "Id", NULL
11947 };
11948
994141e6 11949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetId",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 11950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
11951 {
11952 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11953 if (PyErr_Occurred()) SWIG_fail;
11954 }
d14a1e28
RD
11955 {
11956 PyThreadState* __tstate = wxPyBeginAllowThreads();
11957 (arg1)->SetId(arg2);
11958
11959 wxPyEndAllowThreads(__tstate);
11960 if (PyErr_Occurred()) SWIG_fail;
11961 }
11962 Py_INCREF(Py_None); resultobj = Py_None;
11963 return resultobj;
11964 fail:
11965 return NULL;
11966}
11967
11968
11969static PyObject *_wrap_Event_IsCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11970 PyObject *resultobj;
11971 wxEvent *arg1 = (wxEvent *) 0 ;
11972 bool result;
11973 PyObject * obj0 = 0 ;
11974 char *kwnames[] = {
11975 (char *) "self", NULL
11976 };
11977
11978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_IsCommandEvent",kwnames,&obj0)) goto fail;
11979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11980 {
11981 PyThreadState* __tstate = wxPyBeginAllowThreads();
11982 result = (bool)((wxEvent const *)arg1)->IsCommandEvent();
11983
11984 wxPyEndAllowThreads(__tstate);
11985 if (PyErr_Occurred()) SWIG_fail;
11986 }
4d5c3d91 11987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11988 return resultobj;
11989 fail:
11990 return NULL;
11991}
11992
11993
11994static PyObject *_wrap_Event_Skip(PyObject *self, PyObject *args, PyObject *kwargs) {
11995 PyObject *resultobj;
11996 wxEvent *arg1 = (wxEvent *) 0 ;
e811c8ce 11997 bool arg2 = (bool) True ;
d14a1e28
RD
11998 PyObject * obj0 = 0 ;
11999 PyObject * obj1 = 0 ;
12000 char *kwnames[] = {
12001 (char *) "self",(char *) "skip", NULL
12002 };
12003
12004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail;
12005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12006 if (obj1) {
a41e16b6 12007 {
994141e6 12008 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
12009 if (PyErr_Occurred()) SWIG_fail;
12010 }
d14a1e28
RD
12011 }
12012 {
12013 PyThreadState* __tstate = wxPyBeginAllowThreads();
12014 (arg1)->Skip(arg2);
12015
12016 wxPyEndAllowThreads(__tstate);
12017 if (PyErr_Occurred()) SWIG_fail;
12018 }
12019 Py_INCREF(Py_None); resultobj = Py_None;
12020 return resultobj;
12021 fail:
12022 return NULL;
12023}
12024
12025
12026static PyObject *_wrap_Event_GetSkipped(PyObject *self, PyObject *args, PyObject *kwargs) {
12027 PyObject *resultobj;
12028 wxEvent *arg1 = (wxEvent *) 0 ;
12029 bool result;
12030 PyObject * obj0 = 0 ;
12031 char *kwnames[] = {
12032 (char *) "self", NULL
12033 };
12034
12035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail;
12036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12037 {
12038 PyThreadState* __tstate = wxPyBeginAllowThreads();
12039 result = (bool)((wxEvent const *)arg1)->GetSkipped();
12040
12041 wxPyEndAllowThreads(__tstate);
12042 if (PyErr_Occurred()) SWIG_fail;
12043 }
4d5c3d91 12044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12045 return resultobj;
12046 fail:
12047 return NULL;
12048}
12049
12050
12051static PyObject *_wrap_Event_ShouldPropagate(PyObject *self, PyObject *args, PyObject *kwargs) {
12052 PyObject *resultobj;
12053 wxEvent *arg1 = (wxEvent *) 0 ;
12054 bool result;
12055 PyObject * obj0 = 0 ;
12056 char *kwnames[] = {
12057 (char *) "self", NULL
12058 };
12059
12060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_ShouldPropagate",kwnames,&obj0)) goto fail;
12061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12062 {
12063 PyThreadState* __tstate = wxPyBeginAllowThreads();
12064 result = (bool)((wxEvent const *)arg1)->ShouldPropagate();
12065
12066 wxPyEndAllowThreads(__tstate);
12067 if (PyErr_Occurred()) SWIG_fail;
12068 }
4d5c3d91 12069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12070 return resultobj;
12071 fail:
12072 return NULL;
12073}
12074
12075
12076static PyObject *_wrap_Event_StopPropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
12077 PyObject *resultobj;
12078 wxEvent *arg1 = (wxEvent *) 0 ;
12079 int result;
12080 PyObject * obj0 = 0 ;
12081 char *kwnames[] = {
12082 (char *) "self", NULL
12083 };
12084
12085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",kwnames,&obj0)) goto fail;
12086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12087 {
12088 PyThreadState* __tstate = wxPyBeginAllowThreads();
12089 result = (int)(arg1)->StopPropagation();
12090
12091 wxPyEndAllowThreads(__tstate);
12092 if (PyErr_Occurred()) SWIG_fail;
12093 }
994141e6 12094 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
12095 return resultobj;
12096 fail:
12097 return NULL;
12098}
12099
12100
12101static PyObject *_wrap_Event_ResumePropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
12102 PyObject *resultobj;
12103 wxEvent *arg1 = (wxEvent *) 0 ;
12104 int arg2 ;
12105 PyObject * obj0 = 0 ;
994141e6 12106 PyObject * obj1 = 0 ;
d14a1e28
RD
12107 char *kwnames[] = {
12108 (char *) "self",(char *) "propagationLevel", NULL
12109 };
12110
994141e6 12111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_ResumePropagation",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 12112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
12113 {
12114 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12115 if (PyErr_Occurred()) SWIG_fail;
12116 }
d14a1e28
RD
12117 {
12118 PyThreadState* __tstate = wxPyBeginAllowThreads();
12119 (arg1)->ResumePropagation(arg2);
12120
12121 wxPyEndAllowThreads(__tstate);
12122 if (PyErr_Occurred()) SWIG_fail;
12123 }
12124 Py_INCREF(Py_None); resultobj = Py_None;
12125 return resultobj;
12126 fail:
12127 return NULL;
12128}
12129
12130
12131static PyObject *_wrap_Event_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
12132 PyObject *resultobj;
12133 wxEvent *arg1 = (wxEvent *) 0 ;
12134 wxEvent *result;
12135 PyObject * obj0 = 0 ;
12136 char *kwnames[] = {
12137 (char *) "self", NULL
12138 };
12139
12140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail;
12141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12142 {
12143 PyThreadState* __tstate = wxPyBeginAllowThreads();
12144 result = (wxEvent *)(arg1)->Clone();
12145
12146 wxPyEndAllowThreads(__tstate);
12147 if (PyErr_Occurred()) SWIG_fail;
12148 }
12149 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEvent, 0);
12150 return resultobj;
12151 fail:
12152 return NULL;
12153}
12154
12155
12156static PyObject * Event_swigregister(PyObject *self, PyObject *args) {
12157 PyObject *obj;
12158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12159 SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj);
12160 Py_INCREF(obj);
12161 return Py_BuildValue((char *)"");
12162}
12163static PyObject *_wrap_new_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
12164 PyObject *resultobj;
12165 wxEvent *arg1 = 0 ;
12166 wxPropagationDisabler *result;
12167 PyObject * obj0 = 0 ;
12168 char *kwnames[] = {
12169 (char *) "event", NULL
12170 };
12171
12172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail;
12173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12174 if (arg1 == NULL) {
12175 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12176 }
12177 {
12178 PyThreadState* __tstate = wxPyBeginAllowThreads();
12179 result = (wxPropagationDisabler *)new wxPropagationDisabler(*arg1);
12180
12181 wxPyEndAllowThreads(__tstate);
12182 if (PyErr_Occurred()) SWIG_fail;
12183 }
12184 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPropagationDisabler, 1);
12185 return resultobj;
12186 fail:
12187 return NULL;
12188}
12189
12190
12191static PyObject *_wrap_delete_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
12192 PyObject *resultobj;
12193 wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
12194 PyObject * obj0 = 0 ;
12195 char *kwnames[] = {
12196 (char *) "self", NULL
12197 };
12198
12199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail;
12200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPropagationDisabler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12201 {
12202 PyThreadState* __tstate = wxPyBeginAllowThreads();
12203 delete arg1;
12204
12205 wxPyEndAllowThreads(__tstate);
12206 if (PyErr_Occurred()) SWIG_fail;
12207 }
12208 Py_INCREF(Py_None); resultobj = Py_None;
12209 return resultobj;
12210 fail:
12211 return NULL;
12212}
12213
12214
12215static PyObject * PropagationDisabler_swigregister(PyObject *self, PyObject *args) {
12216 PyObject *obj;
12217 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12218 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj);
12219 Py_INCREF(obj);
12220 return Py_BuildValue((char *)"");
12221}
12222static PyObject *_wrap_new_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
12223 PyObject *resultobj;
12224 wxEvent *arg1 = 0 ;
12225 wxPropagateOnce *result;
12226 PyObject * obj0 = 0 ;
12227 char *kwnames[] = {
12228 (char *) "event", NULL
12229 };
12230
12231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail;
12232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12233 if (arg1 == NULL) {
12234 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12235 }
12236 {
12237 PyThreadState* __tstate = wxPyBeginAllowThreads();
12238 result = (wxPropagateOnce *)new wxPropagateOnce(*arg1);
12239
12240 wxPyEndAllowThreads(__tstate);
12241 if (PyErr_Occurred()) SWIG_fail;
12242 }
12243 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPropagateOnce, 1);
12244 return resultobj;
12245 fail:
12246 return NULL;
12247}
12248
12249
12250static PyObject *_wrap_delete_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
12251 PyObject *resultobj;
12252 wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
12253 PyObject * obj0 = 0 ;
12254 char *kwnames[] = {
12255 (char *) "self", NULL
12256 };
12257
12258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail;
12259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPropagateOnce,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12260 {
12261 PyThreadState* __tstate = wxPyBeginAllowThreads();
12262 delete arg1;
12263
12264 wxPyEndAllowThreads(__tstate);
12265 if (PyErr_Occurred()) SWIG_fail;
12266 }
12267 Py_INCREF(Py_None); resultobj = Py_None;
12268 return resultobj;
12269 fail:
12270 return NULL;
12271}
12272
12273
12274static PyObject * PropagateOnce_swigregister(PyObject *self, PyObject *args) {
12275 PyObject *obj;
12276 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12277 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj);
12278 Py_INCREF(obj);
12279 return Py_BuildValue((char *)"");
12280}
12281static PyObject *_wrap_new_CommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12282 PyObject *resultobj;
12283 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12284 int arg2 = (int) 0 ;
12285 wxCommandEvent *result;
994141e6
RD
12286 PyObject * obj0 = 0 ;
12287 PyObject * obj1 = 0 ;
d14a1e28
RD
12288 char *kwnames[] = {
12289 (char *) "commandType",(char *) "winid", NULL
12290 };
12291
994141e6
RD
12292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CommandEvent",kwnames,&obj0,&obj1)) goto fail;
12293 if (obj0) {
12294 {
12295 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
12296 if (PyErr_Occurred()) SWIG_fail;
12297 }
12298 }
12299 if (obj1) {
12300 {
12301 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12302 if (PyErr_Occurred()) SWIG_fail;
12303 }
12304 }
d14a1e28
RD
12305 {
12306 PyThreadState* __tstate = wxPyBeginAllowThreads();
12307 result = (wxCommandEvent *)new wxCommandEvent(arg1,arg2);
12308
12309 wxPyEndAllowThreads(__tstate);
12310 if (PyErr_Occurred()) SWIG_fail;
12311 }
12312 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCommandEvent, 1);
12313 return resultobj;
12314 fail:
12315 return NULL;
12316}
12317
12318
12319static PyObject *_wrap_CommandEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12320 PyObject *resultobj;
12321 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12322 int result;
12323 PyObject * obj0 = 0 ;
12324 char *kwnames[] = {
12325 (char *) "self", NULL
12326 };
12327
12328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail;
12329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12330 {
12331 PyThreadState* __tstate = wxPyBeginAllowThreads();
12332 result = (int)((wxCommandEvent const *)arg1)->GetSelection();
12333
12334 wxPyEndAllowThreads(__tstate);
12335 if (PyErr_Occurred()) SWIG_fail;
12336 }
994141e6 12337 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
12338 return resultobj;
12339 fail:
12340 return NULL;
12341}
12342
12343
12344static PyObject *_wrap_CommandEvent_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12345 PyObject *resultobj;
12346 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12347 wxString *arg2 = 0 ;
e811c8ce 12348 bool temp2 = False ;
d14a1e28
RD
12349 PyObject * obj0 = 0 ;
12350 PyObject * obj1 = 0 ;
12351 char *kwnames[] = {
12352 (char *) "self",(char *) "s", NULL
12353 };
12354
12355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail;
12356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12357 {
12358 arg2 = wxString_in_helper(obj1);
12359 if (arg2 == NULL) SWIG_fail;
e811c8ce 12360 temp2 = True;
d14a1e28
RD
12361 }
12362 {
12363 PyThreadState* __tstate = wxPyBeginAllowThreads();
12364 (arg1)->SetString((wxString const &)*arg2);
12365
12366 wxPyEndAllowThreads(__tstate);
12367 if (PyErr_Occurred()) SWIG_fail;
12368 }
12369 Py_INCREF(Py_None); resultobj = Py_None;
12370 {
12371 if (temp2)
12372 delete arg2;
12373 }
12374 return resultobj;
12375 fail:
12376 {
12377 if (temp2)
12378 delete arg2;
12379 }
12380 return NULL;
12381}
12382
12383
12384static PyObject *_wrap_CommandEvent_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12385 PyObject *resultobj;
12386 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12387 wxString result;
12388 PyObject * obj0 = 0 ;
12389 char *kwnames[] = {
12390 (char *) "self", NULL
12391 };
12392
12393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) goto fail;
12394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12395 {
12396 PyThreadState* __tstate = wxPyBeginAllowThreads();
12397 result = ((wxCommandEvent const *)arg1)->GetString();
12398
12399 wxPyEndAllowThreads(__tstate);
12400 if (PyErr_Occurred()) SWIG_fail;
12401 }
12402 {
12403#if wxUSE_UNICODE
12404 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12405#else
12406 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12407#endif
12408 }
12409 return resultobj;
12410 fail:
12411 return NULL;
12412}
12413
12414
12415static PyObject *_wrap_CommandEvent_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
12416 PyObject *resultobj;
12417 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12418 bool result;
12419 PyObject * obj0 = 0 ;
12420 char *kwnames[] = {
12421 (char *) "self", NULL
12422 };
12423
12424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsChecked",kwnames,&obj0)) goto fail;
12425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12426 {
12427 PyThreadState* __tstate = wxPyBeginAllowThreads();
12428 result = (bool)((wxCommandEvent const *)arg1)->IsChecked();
12429
12430 wxPyEndAllowThreads(__tstate);
12431 if (PyErr_Occurred()) SWIG_fail;
12432 }
4d5c3d91 12433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12434 return resultobj;
12435 fail:
12436 return NULL;
12437}
12438
12439
12440static PyObject *_wrap_CommandEvent_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12441 PyObject *resultobj;
12442 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12443 bool result;
12444 PyObject * obj0 = 0 ;
12445 char *kwnames[] = {
12446 (char *) "self", NULL
12447 };
12448
12449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail;
12450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12451 {
12452 PyThreadState* __tstate = wxPyBeginAllowThreads();
12453 result = (bool)((wxCommandEvent const *)arg1)->IsSelection();
12454
12455 wxPyEndAllowThreads(__tstate);
12456 if (PyErr_Occurred()) SWIG_fail;
12457 }
4d5c3d91 12458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12459 return resultobj;
12460 fail:
12461 return NULL;
12462}
12463
12464
12465static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
12466 PyObject *resultobj;
12467 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12468 long arg2 ;
12469 PyObject * obj0 = 0 ;
994141e6 12470 PyObject * obj1 = 0 ;
d14a1e28
RD
12471 char *kwnames[] = {
12472 (char *) "self",(char *) "extraLong", NULL
12473 };
12474
994141e6 12475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetExtraLong",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 12476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
12477 {
12478 arg2 = (long) SWIG_PyObj_AsLong(obj1);
12479 if (PyErr_Occurred()) SWIG_fail;
12480 }
d14a1e28
RD
12481 {
12482 PyThreadState* __tstate = wxPyBeginAllowThreads();
12483 (arg1)->SetExtraLong(arg2);
12484
12485 wxPyEndAllowThreads(__tstate);
12486 if (PyErr_Occurred()) SWIG_fail;
12487 }
12488 Py_INCREF(Py_None); resultobj = Py_None;
12489 return resultobj;
12490 fail:
12491 return NULL;
12492}
12493
12494
12495static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
12496 PyObject *resultobj;
12497 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12498 long result;
12499 PyObject * obj0 = 0 ;
12500 char *kwnames[] = {
12501 (char *) "self", NULL
12502 };
12503
12504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail;
12505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12506 {
12507 PyThreadState* __tstate = wxPyBeginAllowThreads();
12508 result = (long)((wxCommandEvent const *)arg1)->GetExtraLong();
12509
12510 wxPyEndAllowThreads(__tstate);
12511 if (PyErr_Occurred()) SWIG_fail;
12512 }
994141e6 12513 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
12514 return resultobj;
12515 fail:
12516 return NULL;
12517}
12518
12519
12520static PyObject *_wrap_CommandEvent_SetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
12521 PyObject *resultobj;
12522 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12523 int arg2 ;
12524 PyObject * obj0 = 0 ;
994141e6 12525 PyObject * obj1 = 0 ;
d14a1e28
RD
12526 char *kwnames[] = {
12527 (char *) "self",(char *) "i", NULL
12528 };
12529
994141e6 12530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetInt",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 12531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
12532 {
12533 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12534 if (PyErr_Occurred()) SWIG_fail;
12535 }
d14a1e28
RD
12536 {
12537 PyThreadState* __tstate = wxPyBeginAllowThreads();
12538 (arg1)->SetInt(arg2);
12539
12540 wxPyEndAllowThreads(__tstate);
12541 if (PyErr_Occurred()) SWIG_fail;
12542 }
12543 Py_INCREF(Py_None); resultobj = Py_None;
12544 return resultobj;
12545 fail:
12546 return NULL;
12547}
12548
12549
12550static PyObject *_wrap_CommandEvent_GetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
12551 PyObject *resultobj;
12552 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12553 long result;
12554 PyObject * obj0 = 0 ;
12555 char *kwnames[] = {
12556 (char *) "self", NULL
12557 };
12558
12559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail;
12560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12561 {
12562 PyThreadState* __tstate = wxPyBeginAllowThreads();
12563 result = (long)((wxCommandEvent const *)arg1)->GetInt();
12564
12565 wxPyEndAllowThreads(__tstate);
12566 if (PyErr_Occurred()) SWIG_fail;
12567 }
994141e6 12568 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
12569 return resultobj;
12570 fail:
12571 return NULL;
12572}
12573
12574
12575static PyObject *_wrap_CommandEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
12576 PyObject *resultobj;
12577 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12578 wxEvent *result;
12579 PyObject * obj0 = 0 ;
12580 char *kwnames[] = {
12581 (char *) "self", NULL
12582 };
12583
12584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail;
12585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12586 {
12587 PyThreadState* __tstate = wxPyBeginAllowThreads();
12588 result = (wxEvent *)((wxCommandEvent const *)arg1)->Clone();
12589
12590 wxPyEndAllowThreads(__tstate);
12591 if (PyErr_Occurred()) SWIG_fail;
12592 }
12593 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEvent, 0);
12594 return resultobj;
12595 fail:
12596 return NULL;
12597}
12598
12599
12600static PyObject * CommandEvent_swigregister(PyObject *self, PyObject *args) {
12601 PyObject *obj;
12602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12603 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj);
12604 Py_INCREF(obj);
12605 return Py_BuildValue((char *)"");
12606}
12607static PyObject *_wrap_new_NotifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12608 PyObject *resultobj;
12609 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12610 int arg2 = (int) 0 ;
12611 wxNotifyEvent *result;
994141e6
RD
12612 PyObject * obj0 = 0 ;
12613 PyObject * obj1 = 0 ;
d14a1e28
RD
12614 char *kwnames[] = {
12615 (char *) "commandType",(char *) "winid", NULL
12616 };
12617
994141e6
RD
12618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_NotifyEvent",kwnames,&obj0,&obj1)) goto fail;
12619 if (obj0) {
12620 {
12621 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
12622 if (PyErr_Occurred()) SWIG_fail;
12623 }
12624 }
12625 if (obj1) {
12626 {
12627 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12628 if (PyErr_Occurred()) SWIG_fail;
12629 }
12630 }
d14a1e28
RD
12631 {
12632 PyThreadState* __tstate = wxPyBeginAllowThreads();
12633 result = (wxNotifyEvent *)new wxNotifyEvent(arg1,arg2);
12634
12635 wxPyEndAllowThreads(__tstate);
12636 if (PyErr_Occurred()) SWIG_fail;
12637 }
12638 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotifyEvent, 1);
12639 return resultobj;
12640 fail:
12641 return NULL;
12642}
12643
12644
12645static PyObject *_wrap_NotifyEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
12646 PyObject *resultobj;
12647 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
12648 PyObject * obj0 = 0 ;
12649 char *kwnames[] = {
12650 (char *) "self", NULL
12651 };
12652
12653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail;
12654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotifyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12655 {
12656 PyThreadState* __tstate = wxPyBeginAllowThreads();
12657 (arg1)->Veto();
12658
12659 wxPyEndAllowThreads(__tstate);
12660 if (PyErr_Occurred()) SWIG_fail;
12661 }
12662 Py_INCREF(Py_None); resultobj = Py_None;
12663 return resultobj;
12664 fail:
12665 return NULL;
12666}
12667
12668
12669static PyObject *_wrap_NotifyEvent_Allow(PyObject *self, PyObject *args, PyObject *kwargs) {
12670 PyObject *resultobj;
12671 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
12672 PyObject * obj0 = 0 ;
12673 char *kwnames[] = {
12674 (char *) "self", NULL
12675 };
12676
12677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail;
12678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotifyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12679 {
12680 PyThreadState* __tstate = wxPyBeginAllowThreads();
12681 (arg1)->Allow();
12682
12683 wxPyEndAllowThreads(__tstate);
12684 if (PyErr_Occurred()) SWIG_fail;
12685 }
12686 Py_INCREF(Py_None); resultobj = Py_None;
12687 return resultobj;
12688 fail:
12689 return NULL;
12690}
12691
12692
12693static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
12694 PyObject *resultobj;
12695 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
12696 bool result;
12697 PyObject * obj0 = 0 ;
12698 char *kwnames[] = {
12699 (char *) "self", NULL
12700 };
12701
12702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail;
12703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotifyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12704 {
12705 PyThreadState* __tstate = wxPyBeginAllowThreads();
12706 result = (bool)(arg1)->IsAllowed();
12707
12708 wxPyEndAllowThreads(__tstate);
12709 if (PyErr_Occurred()) SWIG_fail;
12710 }
4d5c3d91 12711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12712 return resultobj;
12713 fail:
12714 return NULL;
12715}
12716
12717
12718static PyObject * NotifyEvent_swigregister(PyObject *self, PyObject *args) {
12719 PyObject *obj;
12720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12721 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj);
12722 Py_INCREF(obj);
12723 return Py_BuildValue((char *)"");
12724}
12725static PyObject *_wrap_new_ScrollEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12726 PyObject *resultobj;
12727 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12728 int arg2 = (int) 0 ;
12729 int arg3 = (int) 0 ;
12730 int arg4 = (int) 0 ;
12731 wxScrollEvent *result;
994141e6
RD
12732 PyObject * obj0 = 0 ;
12733 PyObject * obj1 = 0 ;
12734 PyObject * obj2 = 0 ;
12735 PyObject * obj3 = 0 ;
d14a1e28
RD
12736 char *kwnames[] = {
12737 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
12738 };
12739
994141e6
RD
12740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ScrollEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12741 if (obj0) {
12742 {
12743 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
12744 if (PyErr_Occurred()) SWIG_fail;
12745 }
12746 }
12747 if (obj1) {
12748 {
12749 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12750 if (PyErr_Occurred()) SWIG_fail;
12751 }
12752 }
12753 if (obj2) {
12754 {
12755 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12756 if (PyErr_Occurred()) SWIG_fail;
12757 }
12758 }
12759 if (obj3) {
12760 {
12761 arg4 = (int) SWIG_PyObj_AsInt(obj3);
12762 if (PyErr_Occurred()) SWIG_fail;
12763 }
12764 }
d14a1e28
RD
12765 {
12766 PyThreadState* __tstate = wxPyBeginAllowThreads();
12767 result = (wxScrollEvent *)new wxScrollEvent(arg1,arg2,arg3,arg4);
12768
12769 wxPyEndAllowThreads(__tstate);
12770 if (PyErr_Occurred()) SWIG_fail;
12771 }
12772 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollEvent, 1);
12773 return resultobj;
12774 fail:
12775 return NULL;
12776}
12777
12778
12779static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
12780 PyObject *resultobj;
12781 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
12782 int result;
12783 PyObject * obj0 = 0 ;
12784 char *kwnames[] = {
12785 (char *) "self", NULL
12786 };
12787
12788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail;
12789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12790 {
12791 PyThreadState* __tstate = wxPyBeginAllowThreads();
12792 result = (int)((wxScrollEvent const *)arg1)->GetOrientation();
12793
12794 wxPyEndAllowThreads(__tstate);
12795 if (PyErr_Occurred()) SWIG_fail;
12796 }
994141e6 12797 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
12798 return resultobj;
12799 fail:
12800 return NULL;
12801}
12802
12803
12804static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12805 PyObject *resultobj;
12806 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
12807 int result;
12808 PyObject * obj0 = 0 ;
12809 char *kwnames[] = {
12810 (char *) "self", NULL
12811 };
12812
12813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail;
12814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12815 {
12816 PyThreadState* __tstate = wxPyBeginAllowThreads();
12817 result = (int)((wxScrollEvent const *)arg1)->GetPosition();
12818
12819 wxPyEndAllowThreads(__tstate);
12820 if (PyErr_Occurred()) SWIG_fail;
12821 }
994141e6 12822 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
12823 return resultobj;
12824 fail:
12825 return NULL;
12826}
12827
12828
12829static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
12830 PyObject *resultobj;
12831 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
12832 int arg2 ;
12833 PyObject * obj0 = 0 ;
994141e6 12834 PyObject * obj1 = 0 ;
d14a1e28
RD
12835 char *kwnames[] = {
12836 (char *) "self",(char *) "orient", NULL
12837 };
12838
994141e6 12839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 12840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
12841 {
12842 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12843 if (PyErr_Occurred()) SWIG_fail;
12844 }
d14a1e28
RD
12845 {
12846 PyThreadState* __tstate = wxPyBeginAllowThreads();
12847 (arg1)->SetOrientation(arg2);
12848
12849 wxPyEndAllowThreads(__tstate);
12850 if (PyErr_Occurred()) SWIG_fail;
12851 }
12852 Py_INCREF(Py_None); resultobj = Py_None;
12853 return resultobj;
12854 fail:
12855 return NULL;
12856}
12857
12858
12859static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12860 PyObject *resultobj;
12861 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
12862 int arg2 ;
12863 PyObject * obj0 = 0 ;
994141e6 12864 PyObject * obj1 = 0 ;
d14a1e28
RD
12865 char *kwnames[] = {
12866 (char *) "self",(char *) "pos", NULL
12867 };
12868
994141e6 12869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 12870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
12871 {
12872 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12873 if (PyErr_Occurred()) SWIG_fail;
12874 }
d14a1e28
RD
12875 {
12876 PyThreadState* __tstate = wxPyBeginAllowThreads();
12877 (arg1)->SetPosition(arg2);
12878
12879 wxPyEndAllowThreads(__tstate);
12880 if (PyErr_Occurred()) SWIG_fail;
12881 }
12882 Py_INCREF(Py_None); resultobj = Py_None;
12883 return resultobj;
12884 fail:
12885 return NULL;
12886}
12887
12888
12889static PyObject * ScrollEvent_swigregister(PyObject *self, PyObject *args) {
12890 PyObject *obj;
12891 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12892 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj);
12893 Py_INCREF(obj);
12894 return Py_BuildValue((char *)"");
12895}
12896static PyObject *_wrap_new_ScrollWinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12897 PyObject *resultobj;
12898 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12899 int arg2 = (int) 0 ;
12900 int arg3 = (int) 0 ;
12901 wxScrollWinEvent *result;
994141e6
RD
12902 PyObject * obj0 = 0 ;
12903 PyObject * obj1 = 0 ;
12904 PyObject * obj2 = 0 ;
d14a1e28
RD
12905 char *kwnames[] = {
12906 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
12907 };
12908
994141e6
RD
12909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ScrollWinEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
12910 if (obj0) {
12911 {
12912 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
12913 if (PyErr_Occurred()) SWIG_fail;
12914 }
12915 }
12916 if (obj1) {
12917 {
12918 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12919 if (PyErr_Occurred()) SWIG_fail;
12920 }
12921 }
12922 if (obj2) {
12923 {
12924 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12925 if (PyErr_Occurred()) SWIG_fail;
12926 }
12927 }
d14a1e28
RD
12928 {
12929 PyThreadState* __tstate = wxPyBeginAllowThreads();
12930 result = (wxScrollWinEvent *)new wxScrollWinEvent(arg1,arg2,arg3);
12931
12932 wxPyEndAllowThreads(__tstate);
12933 if (PyErr_Occurred()) SWIG_fail;
12934 }
12935 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollWinEvent, 1);
12936 return resultobj;
12937 fail:
12938 return NULL;
12939}
12940
12941
12942static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
12943 PyObject *resultobj;
12944 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
12945 int result;
12946 PyObject * obj0 = 0 ;
12947 char *kwnames[] = {
12948 (char *) "self", NULL
12949 };
12950
12951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail;
12952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12953 {
12954 PyThreadState* __tstate = wxPyBeginAllowThreads();
12955 result = (int)((wxScrollWinEvent const *)arg1)->GetOrientation();
12956
12957 wxPyEndAllowThreads(__tstate);
12958 if (PyErr_Occurred()) SWIG_fail;
12959 }
994141e6 12960 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
12961 return resultobj;
12962 fail:
12963 return NULL;
12964}
12965
12966
12967static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12968 PyObject *resultobj;
12969 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
12970 int result;
12971 PyObject * obj0 = 0 ;
12972 char *kwnames[] = {
12973 (char *) "self", NULL
12974 };
12975
12976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail;
12977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12978 {
12979 PyThreadState* __tstate = wxPyBeginAllowThreads();
12980 result = (int)((wxScrollWinEvent const *)arg1)->GetPosition();
12981
12982 wxPyEndAllowThreads(__tstate);
12983 if (PyErr_Occurred()) SWIG_fail;
12984 }
994141e6 12985 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
12986 return resultobj;
12987 fail:
12988 return NULL;
12989}
12990
12991
12992static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
12993 PyObject *resultobj;
12994 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
12995 int arg2 ;
12996 PyObject * obj0 = 0 ;
994141e6 12997 PyObject * obj1 = 0 ;
d14a1e28
RD
12998 char *kwnames[] = {
12999 (char *) "self",(char *) "orient", NULL
13000 };
13001
994141e6 13002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 13003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
13004 {
13005 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13006 if (PyErr_Occurred()) SWIG_fail;
13007 }
d14a1e28
RD
13008 {
13009 PyThreadState* __tstate = wxPyBeginAllowThreads();
13010 (arg1)->SetOrientation(arg2);
13011
13012 wxPyEndAllowThreads(__tstate);
13013 if (PyErr_Occurred()) SWIG_fail;
13014 }
13015 Py_INCREF(Py_None); resultobj = Py_None;
13016 return resultobj;
13017 fail:
13018 return NULL;
13019}
13020
13021
13022static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13023 PyObject *resultobj;
13024 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13025 int arg2 ;
13026 PyObject * obj0 = 0 ;
994141e6 13027 PyObject * obj1 = 0 ;
d14a1e28
RD
13028 char *kwnames[] = {
13029 (char *) "self",(char *) "pos", NULL
13030 };
13031
994141e6 13032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 13033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
13034 {
13035 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13036 if (PyErr_Occurred()) SWIG_fail;
13037 }
d14a1e28
RD
13038 {
13039 PyThreadState* __tstate = wxPyBeginAllowThreads();
13040 (arg1)->SetPosition(arg2);
13041
13042 wxPyEndAllowThreads(__tstate);
13043 if (PyErr_Occurred()) SWIG_fail;
13044 }
13045 Py_INCREF(Py_None); resultobj = Py_None;
13046 return resultobj;
13047 fail:
13048 return NULL;
13049}
13050
13051
13052static PyObject * ScrollWinEvent_swigregister(PyObject *self, PyObject *args) {
13053 PyObject *obj;
13054 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13055 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj);
13056 Py_INCREF(obj);
13057 return Py_BuildValue((char *)"");
13058}
13059static PyObject *_wrap_new_MouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13060 PyObject *resultobj;
13061 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13062 wxMouseEvent *result;
994141e6 13063 PyObject * obj0 = 0 ;
d14a1e28
RD
13064 char *kwnames[] = {
13065 (char *) "mouseType", NULL
13066 };
13067
994141e6
RD
13068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MouseEvent",kwnames,&obj0)) goto fail;
13069 if (obj0) {
13070 {
13071 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
13072 if (PyErr_Occurred()) SWIG_fail;
13073 }
13074 }
d14a1e28
RD
13075 {
13076 PyThreadState* __tstate = wxPyBeginAllowThreads();
13077 result = (wxMouseEvent *)new wxMouseEvent(arg1);
13078
13079 wxPyEndAllowThreads(__tstate);
13080 if (PyErr_Occurred()) SWIG_fail;
13081 }
13082 {
13083 resultobj = wxPyMake_wxObject(result);
13084 }
13085 return resultobj;
13086 fail:
13087 return NULL;
13088}
13089
13090
13091static PyObject *_wrap_MouseEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13092 PyObject *resultobj;
13093 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13094 bool result;
13095 PyObject * obj0 = 0 ;
13096 char *kwnames[] = {
13097 (char *) "self", NULL
13098 };
13099
13100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsButton",kwnames,&obj0)) goto fail;
13101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13102 {
13103 PyThreadState* __tstate = wxPyBeginAllowThreads();
13104 result = (bool)((wxMouseEvent const *)arg1)->IsButton();
13105
13106 wxPyEndAllowThreads(__tstate);
13107 if (PyErr_Occurred()) SWIG_fail;
13108 }
4d5c3d91 13109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13110 return resultobj;
13111 fail:
13112 return NULL;
13113}
13114
13115
13116static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13117 PyObject *resultobj;
13118 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13119 int arg2 = (int) wxMOUSE_BTN_ANY ;
13120 bool result;
13121 PyObject * obj0 = 0 ;
994141e6 13122 PyObject * obj1 = 0 ;
d14a1e28
RD
13123 char *kwnames[] = {
13124 (char *) "self",(char *) "but", NULL
13125 };
13126
994141e6 13127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 13128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
13129 if (obj1) {
13130 {
13131 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13132 if (PyErr_Occurred()) SWIG_fail;
13133 }
13134 }
d14a1e28
RD
13135 {
13136 PyThreadState* __tstate = wxPyBeginAllowThreads();
13137 result = (bool)((wxMouseEvent const *)arg1)->ButtonDown(arg2);
13138
13139 wxPyEndAllowThreads(__tstate);
13140 if (PyErr_Occurred()) SWIG_fail;
13141 }
4d5c3d91 13142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13143 return resultobj;
13144 fail:
13145 return NULL;
13146}
13147
13148
13149static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13150 PyObject *resultobj;
13151 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13152 int arg2 = (int) wxMOUSE_BTN_ANY ;
13153 bool result;
13154 PyObject * obj0 = 0 ;
994141e6 13155 PyObject * obj1 = 0 ;
d14a1e28
RD
13156 char *kwnames[] = {
13157 (char *) "self",(char *) "but", NULL
13158 };
13159
994141e6 13160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDClick",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 13161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
13162 if (obj1) {
13163 {
13164 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13165 if (PyErr_Occurred()) SWIG_fail;
13166 }
13167 }
d14a1e28
RD
13168 {
13169 PyThreadState* __tstate = wxPyBeginAllowThreads();
13170 result = (bool)((wxMouseEvent const *)arg1)->ButtonDClick(arg2);
13171
13172 wxPyEndAllowThreads(__tstate);
13173 if (PyErr_Occurred()) SWIG_fail;
13174 }
4d5c3d91 13175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13176 return resultobj;
13177 fail:
13178 return NULL;
13179}
13180
13181
13182static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
13183 PyObject *resultobj;
13184 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13185 int arg2 = (int) wxMOUSE_BTN_ANY ;
13186 bool result;
13187 PyObject * obj0 = 0 ;
994141e6 13188 PyObject * obj1 = 0 ;
d14a1e28
RD
13189 char *kwnames[] = {
13190 (char *) "self",(char *) "but", NULL
13191 };
13192
994141e6 13193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 13194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
13195 if (obj1) {
13196 {
13197 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13198 if (PyErr_Occurred()) SWIG_fail;
13199 }
13200 }
d14a1e28
RD
13201 {
13202 PyThreadState* __tstate = wxPyBeginAllowThreads();
13203 result = (bool)((wxMouseEvent const *)arg1)->ButtonUp(arg2);
13204
13205 wxPyEndAllowThreads(__tstate);
13206 if (PyErr_Occurred()) SWIG_fail;
13207 }
4d5c3d91 13208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13209 return resultobj;
13210 fail:
13211 return NULL;
13212}
13213
13214
13215static PyObject *_wrap_MouseEvent_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
13216 PyObject *resultobj;
13217 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13218 int arg2 ;
13219 bool result;
13220 PyObject * obj0 = 0 ;
994141e6 13221 PyObject * obj1 = 0 ;
d14a1e28
RD
13222 char *kwnames[] = {
13223 (char *) "self",(char *) "but", NULL
13224 };
13225
994141e6 13226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_Button",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 13227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
13228 {
13229 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13230 if (PyErr_Occurred()) SWIG_fail;
13231 }
d14a1e28
RD
13232 {
13233 PyThreadState* __tstate = wxPyBeginAllowThreads();
13234 result = (bool)((wxMouseEvent const *)arg1)->Button(arg2);
13235
13236 wxPyEndAllowThreads(__tstate);
13237 if (PyErr_Occurred()) SWIG_fail;
13238 }
4d5c3d91 13239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13240 return resultobj;
13241 fail:
13242 return NULL;
13243}
13244
13245
13246static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13247 PyObject *resultobj;
13248 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13249 int arg2 ;
13250 bool result;
13251 PyObject * obj0 = 0 ;
994141e6 13252 PyObject * obj1 = 0 ;
d14a1e28
RD
13253 char *kwnames[] = {
13254 (char *) "self",(char *) "but", NULL
13255 };
13256
994141e6 13257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 13258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
13259 {
13260 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13261 if (PyErr_Occurred()) SWIG_fail;
13262 }
d14a1e28
RD
13263 {
13264 PyThreadState* __tstate = wxPyBeginAllowThreads();
13265 result = (bool)((wxMouseEvent const *)arg1)->ButtonIsDown(arg2);
13266
13267 wxPyEndAllowThreads(__tstate);
13268 if (PyErr_Occurred()) SWIG_fail;
13269 }
4d5c3d91 13270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13271 return resultobj;
13272 fail:
13273 return NULL;
13274}
13275
13276
13277static PyObject *_wrap_MouseEvent_GetButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13278 PyObject *resultobj;
13279 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13280 int result;
13281 PyObject * obj0 = 0 ;
13282 char *kwnames[] = {
13283 (char *) "self", NULL
13284 };
13285
13286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail;
13287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13288 {
13289 PyThreadState* __tstate = wxPyBeginAllowThreads();
13290 result = (int)((wxMouseEvent const *)arg1)->GetButton();
13291
13292 wxPyEndAllowThreads(__tstate);
13293 if (PyErr_Occurred()) SWIG_fail;
13294 }
994141e6 13295 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
13296 return resultobj;
13297 fail:
13298 return NULL;
13299}
13300
13301
13302static PyObject *_wrap_MouseEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13303 PyObject *resultobj;
13304 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13305 bool result;
13306 PyObject * obj0 = 0 ;
13307 char *kwnames[] = {
13308 (char *) "self", NULL
13309 };
13310
13311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail;
13312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13313 {
13314 PyThreadState* __tstate = wxPyBeginAllowThreads();
13315 result = (bool)((wxMouseEvent const *)arg1)->ControlDown();
13316
13317 wxPyEndAllowThreads(__tstate);
13318 if (PyErr_Occurred()) SWIG_fail;
13319 }
4d5c3d91 13320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13321 return resultobj;
13322 fail:
13323 return NULL;
13324}
13325
13326
13327static PyObject *_wrap_MouseEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13328 PyObject *resultobj;
13329 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13330 bool result;
13331 PyObject * obj0 = 0 ;
13332 char *kwnames[] = {
13333 (char *) "self", NULL
13334 };
13335
13336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail;
13337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13338 {
13339 PyThreadState* __tstate = wxPyBeginAllowThreads();
13340 result = (bool)((wxMouseEvent const *)arg1)->MetaDown();
13341
13342 wxPyEndAllowThreads(__tstate);
13343 if (PyErr_Occurred()) SWIG_fail;
13344 }
4d5c3d91 13345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13346 return resultobj;
13347 fail:
13348 return NULL;
13349}
13350
13351
13352static PyObject *_wrap_MouseEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13353 PyObject *resultobj;
13354 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13355 bool result;
13356 PyObject * obj0 = 0 ;
13357 char *kwnames[] = {
13358 (char *) "self", NULL
13359 };
13360
13361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_AltDown",kwnames,&obj0)) goto fail;
13362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13363 {
13364 PyThreadState* __tstate = wxPyBeginAllowThreads();
13365 result = (bool)((wxMouseEvent const *)arg1)->AltDown();
13366
13367 wxPyEndAllowThreads(__tstate);
13368 if (PyErr_Occurred()) SWIG_fail;
13369 }
4d5c3d91 13370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13371 return resultobj;
13372 fail:
13373 return NULL;
13374}
13375
13376
13377static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13378 PyObject *resultobj;
13379 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13380 bool result;
13381 PyObject * obj0 = 0 ;
13382 char *kwnames[] = {
13383 (char *) "self", NULL
13384 };
13385
13386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ShiftDown",kwnames,&obj0)) goto fail;
13387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13388 {
13389 PyThreadState* __tstate = wxPyBeginAllowThreads();
13390 result = (bool)((wxMouseEvent const *)arg1)->ShiftDown();
13391
13392 wxPyEndAllowThreads(__tstate);
13393 if (PyErr_Occurred()) SWIG_fail;
13394 }
4d5c3d91 13395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13396 return resultobj;
13397 fail:
13398 return NULL;
13399}
13400
13401
13402static PyObject *_wrap_MouseEvent_LeftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13403 PyObject *resultobj;
13404 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13405 bool result;
13406 PyObject * obj0 = 0 ;
13407 char *kwnames[] = {
13408 (char *) "self", NULL
13409 };
13410
13411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDown",kwnames,&obj0)) goto fail;
13412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13413 {
13414 PyThreadState* __tstate = wxPyBeginAllowThreads();
13415 result = (bool)((wxMouseEvent const *)arg1)->LeftDown();
13416
13417 wxPyEndAllowThreads(__tstate);
13418 if (PyErr_Occurred()) SWIG_fail;
13419 }
4d5c3d91 13420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13421 return resultobj;
13422 fail:
13423 return NULL;
13424}
13425
13426
13427static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13428 PyObject *resultobj;
13429 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13430 bool result;
13431 PyObject * obj0 = 0 ;
13432 char *kwnames[] = {
13433 (char *) "self", NULL
13434 };
13435
13436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDown",kwnames,&obj0)) goto fail;
13437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13438 {
13439 PyThreadState* __tstate = wxPyBeginAllowThreads();
13440 result = (bool)((wxMouseEvent const *)arg1)->MiddleDown();
13441
13442 wxPyEndAllowThreads(__tstate);
13443 if (PyErr_Occurred()) SWIG_fail;
13444 }
4d5c3d91 13445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13446 return resultobj;
13447 fail:
13448 return NULL;
13449}
13450
13451
13452static PyObject *_wrap_MouseEvent_RightDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13453 PyObject *resultobj;
13454 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13455 bool result;
13456 PyObject * obj0 = 0 ;
13457 char *kwnames[] = {
13458 (char *) "self", NULL
13459 };
13460
13461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDown",kwnames,&obj0)) goto fail;
13462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13463 {
13464 PyThreadState* __tstate = wxPyBeginAllowThreads();
13465 result = (bool)((wxMouseEvent const *)arg1)->RightDown();
13466
13467 wxPyEndAllowThreads(__tstate);
13468 if (PyErr_Occurred()) SWIG_fail;
13469 }
4d5c3d91 13470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13471 return resultobj;
13472 fail:
13473 return NULL;
13474}
13475
13476
13477static PyObject *_wrap_MouseEvent_LeftUp(PyObject *self, PyObject *args, PyObject *kwargs) {
13478 PyObject *resultobj;
13479 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13480 bool result;
13481 PyObject * obj0 = 0 ;
13482 char *kwnames[] = {
13483 (char *) "self", NULL
13484 };
13485
13486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftUp",kwnames,&obj0)) goto fail;
13487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13488 {
13489 PyThreadState* __tstate = wxPyBeginAllowThreads();
13490 result = (bool)((wxMouseEvent const *)arg1)->LeftUp();
13491
13492 wxPyEndAllowThreads(__tstate);
13493 if (PyErr_Occurred()) SWIG_fail;
13494 }
4d5c3d91 13495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13496 return resultobj;
13497 fail:
13498 return NULL;
13499}
13500
13501
13502static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *self, PyObject *args, PyObject *kwargs) {
13503 PyObject *resultobj;
13504 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13505 bool result;
13506 PyObject * obj0 = 0 ;
13507 char *kwnames[] = {
13508 (char *) "self", NULL
13509 };
13510
13511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleUp",kwnames,&obj0)) goto fail;
13512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13513 {
13514 PyThreadState* __tstate = wxPyBeginAllowThreads();
13515 result = (bool)((wxMouseEvent const *)arg1)->MiddleUp();
13516
13517 wxPyEndAllowThreads(__tstate);
13518 if (PyErr_Occurred()) SWIG_fail;
13519 }
4d5c3d91 13520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13521 return resultobj;
13522 fail:
13523 return NULL;
13524}
13525
13526
13527static PyObject *_wrap_MouseEvent_RightUp(PyObject *self, PyObject *args, PyObject *kwargs) {
13528 PyObject *resultobj;
13529 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13530 bool result;
13531 PyObject * obj0 = 0 ;
13532 char *kwnames[] = {
13533 (char *) "self", NULL
13534 };
13535
13536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightUp",kwnames,&obj0)) goto fail;
13537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13538 {
13539 PyThreadState* __tstate = wxPyBeginAllowThreads();
13540 result = (bool)((wxMouseEvent const *)arg1)->RightUp();
13541
13542 wxPyEndAllowThreads(__tstate);
13543 if (PyErr_Occurred()) SWIG_fail;
13544 }
4d5c3d91 13545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13546 return resultobj;
13547 fail:
13548 return NULL;
13549}
13550
13551
13552static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13553 PyObject *resultobj;
13554 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13555 bool result;
13556 PyObject * obj0 = 0 ;
13557 char *kwnames[] = {
13558 (char *) "self", NULL
13559 };
13560
13561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDClick",kwnames,&obj0)) goto fail;
13562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13563 {
13564 PyThreadState* __tstate = wxPyBeginAllowThreads();
13565 result = (bool)((wxMouseEvent const *)arg1)->LeftDClick();
13566
13567 wxPyEndAllowThreads(__tstate);
13568 if (PyErr_Occurred()) SWIG_fail;
13569 }
4d5c3d91 13570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13571 return resultobj;
13572 fail:
13573 return NULL;
13574}
13575
13576
13577static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13578 PyObject *resultobj;
13579 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13580 bool result;
13581 PyObject * obj0 = 0 ;
13582 char *kwnames[] = {
13583 (char *) "self", NULL
13584 };
13585
13586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDClick",kwnames,&obj0)) goto fail;
13587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13588 {
13589 PyThreadState* __tstate = wxPyBeginAllowThreads();
13590 result = (bool)((wxMouseEvent const *)arg1)->MiddleDClick();
13591
13592 wxPyEndAllowThreads(__tstate);
13593 if (PyErr_Occurred()) SWIG_fail;
13594 }
4d5c3d91 13595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13596 return resultobj;
13597 fail:
13598 return NULL;
13599}
13600
13601
13602static PyObject *_wrap_MouseEvent_RightDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13603 PyObject *resultobj;
13604 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13605 bool result;
13606 PyObject * obj0 = 0 ;
13607 char *kwnames[] = {
13608 (char *) "self", NULL
13609 };
13610
13611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDClick",kwnames,&obj0)) goto fail;
13612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13613 {
13614 PyThreadState* __tstate = wxPyBeginAllowThreads();
13615 result = (bool)((wxMouseEvent const *)arg1)->RightDClick();
13616
13617 wxPyEndAllowThreads(__tstate);
13618 if (PyErr_Occurred()) SWIG_fail;
13619 }
4d5c3d91 13620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13621 return resultobj;
13622 fail:
13623 return NULL;
13624}
13625
13626
13627static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13628 PyObject *resultobj;
13629 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13630 bool result;
13631 PyObject * obj0 = 0 ;
13632 char *kwnames[] = {
13633 (char *) "self", NULL
13634 };
13635
13636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftIsDown",kwnames,&obj0)) goto fail;
13637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13638 {
13639 PyThreadState* __tstate = wxPyBeginAllowThreads();
13640 result = (bool)(arg1)->LeftIsDown();
13641
13642 wxPyEndAllowThreads(__tstate);
13643 if (PyErr_Occurred()) SWIG_fail;
13644 }
4d5c3d91 13645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13646 return resultobj;
13647 fail:
13648 return NULL;
13649}
13650
13651
13652static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13653 PyObject *resultobj;
13654 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13655 bool result;
13656 PyObject * obj0 = 0 ;
13657 char *kwnames[] = {
13658 (char *) "self", NULL
13659 };
13660
13661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail;
13662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13663 {
13664 PyThreadState* __tstate = wxPyBeginAllowThreads();
13665 result = (bool)(arg1)->MiddleIsDown();
13666
13667 wxPyEndAllowThreads(__tstate);
13668 if (PyErr_Occurred()) SWIG_fail;
13669 }
4d5c3d91 13670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13671 return resultobj;
13672 fail:
13673 return NULL;
13674}
13675
13676
13677static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13678 PyObject *resultobj;
13679 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13680 bool result;
13681 PyObject * obj0 = 0 ;
13682 char *kwnames[] = {
13683 (char *) "self", NULL
13684 };
13685
13686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightIsDown",kwnames,&obj0)) goto fail;
13687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13688 {
13689 PyThreadState* __tstate = wxPyBeginAllowThreads();
13690 result = (bool)(arg1)->RightIsDown();
13691
13692 wxPyEndAllowThreads(__tstate);
13693 if (PyErr_Occurred()) SWIG_fail;
13694 }
4d5c3d91 13695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13696 return resultobj;
13697 fail:
13698 return NULL;
13699}
13700
13701
13702static PyObject *_wrap_MouseEvent_Dragging(PyObject *self, PyObject *args, PyObject *kwargs) {
13703 PyObject *resultobj;
13704 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13705 bool result;
13706 PyObject * obj0 = 0 ;
13707 char *kwnames[] = {
13708 (char *) "self", NULL
13709 };
13710
13711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Dragging",kwnames,&obj0)) goto fail;
13712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13713 {
13714 PyThreadState* __tstate = wxPyBeginAllowThreads();
13715 result = (bool)((wxMouseEvent const *)arg1)->Dragging();
13716
13717 wxPyEndAllowThreads(__tstate);
13718 if (PyErr_Occurred()) SWIG_fail;
13719 }
4d5c3d91 13720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13721 return resultobj;
13722 fail:
13723 return NULL;
13724}
13725
13726
13727static PyObject *_wrap_MouseEvent_Moving(PyObject *self, PyObject *args, PyObject *kwargs) {
13728 PyObject *resultobj;
13729 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13730 bool result;
13731 PyObject * obj0 = 0 ;
13732 char *kwnames[] = {
13733 (char *) "self", NULL
13734 };
13735
13736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Moving",kwnames,&obj0)) goto fail;
13737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13738 {
13739 PyThreadState* __tstate = wxPyBeginAllowThreads();
13740 result = (bool)((wxMouseEvent const *)arg1)->Moving();
13741
13742 wxPyEndAllowThreads(__tstate);
13743 if (PyErr_Occurred()) SWIG_fail;
13744 }
4d5c3d91 13745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13746 return resultobj;
13747 fail:
13748 return NULL;
13749}
13750
13751
13752static PyObject *_wrap_MouseEvent_Entering(PyObject *self, PyObject *args, PyObject *kwargs) {
13753 PyObject *resultobj;
13754 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13755 bool result;
13756 PyObject * obj0 = 0 ;
13757 char *kwnames[] = {
13758 (char *) "self", NULL
13759 };
13760
13761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Entering",kwnames,&obj0)) goto fail;
13762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13763 {
13764 PyThreadState* __tstate = wxPyBeginAllowThreads();
13765 result = (bool)((wxMouseEvent const *)arg1)->Entering();
13766
13767 wxPyEndAllowThreads(__tstate);
13768 if (PyErr_Occurred()) SWIG_fail;
13769 }
4d5c3d91 13770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13771 return resultobj;
13772 fail:
13773 return NULL;
13774}
13775
13776
13777static PyObject *_wrap_MouseEvent_Leaving(PyObject *self, PyObject *args, PyObject *kwargs) {
13778 PyObject *resultobj;
13779 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13780 bool result;
13781 PyObject * obj0 = 0 ;
13782 char *kwnames[] = {
13783 (char *) "self", NULL
13784 };
13785
13786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Leaving",kwnames,&obj0)) goto fail;
13787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13788 {
13789 PyThreadState* __tstate = wxPyBeginAllowThreads();
13790 result = (bool)((wxMouseEvent const *)arg1)->Leaving();
13791
13792 wxPyEndAllowThreads(__tstate);
13793 if (PyErr_Occurred()) SWIG_fail;
13794 }
4d5c3d91 13795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13796 return resultobj;
13797 fail:
13798 return NULL;
13799}
13800
13801
13802static PyObject *_wrap_MouseEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13803 PyObject *resultobj;
13804 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13805 wxPoint result;
13806 PyObject * obj0 = 0 ;
13807 char *kwnames[] = {
13808 (char *) "self", NULL
13809 };
13810
13811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",kwnames,&obj0)) goto fail;
13812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13813 {
13814 PyThreadState* __tstate = wxPyBeginAllowThreads();
13815 result = (arg1)->GetPosition();
13816
13817 wxPyEndAllowThreads(__tstate);
13818 if (PyErr_Occurred()) SWIG_fail;
13819 }
13820 {
13821 wxPoint * resultptr;
13822 resultptr = new wxPoint((wxPoint &) result);
13823 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
13824 }
13825 return resultobj;
13826 fail:
13827 return NULL;
13828}
13829
13830
13831static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
13832 PyObject *resultobj;
13833 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13834 long *arg2 = (long *) 0 ;
13835 long *arg3 = (long *) 0 ;
13836 long temp2 ;
13837 long temp3 ;
13838 PyObject * obj0 = 0 ;
13839 char *kwnames[] = {
13840 (char *) "self", NULL
13841 };
13842
13843 arg2 = &temp2;
13844 arg3 = &temp3;
13845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
13846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13847 {
13848 PyThreadState* __tstate = wxPyBeginAllowThreads();
13849 (arg1)->GetPosition(arg2,arg3);
13850
13851 wxPyEndAllowThreads(__tstate);
13852 if (PyErr_Occurred()) SWIG_fail;
13853 }
13854 Py_INCREF(Py_None); resultobj = Py_None;
13855 {
13856 PyObject *o = PyInt_FromLong((long) (*arg2));
13857 resultobj = t_output_helper(resultobj,o);
13858 }
13859 {
13860 PyObject *o = PyInt_FromLong((long) (*arg3));
13861 resultobj = t_output_helper(resultobj,o);
13862 }
13863 return resultobj;
13864 fail:
13865 return NULL;
13866}
13867
13868
13869static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13870 PyObject *resultobj;
13871 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13872 wxDC *arg2 = 0 ;
13873 wxPoint result;
13874 PyObject * obj0 = 0 ;
13875 PyObject * obj1 = 0 ;
13876 char *kwnames[] = {
13877 (char *) "self",(char *) "dc", NULL
13878 };
13879
13880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail;
13881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13882 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13883 if (arg2 == NULL) {
13884 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13885 }
13886 {
13887 PyThreadState* __tstate = wxPyBeginAllowThreads();
13888 result = ((wxMouseEvent const *)arg1)->GetLogicalPosition((wxDC const &)*arg2);
13889
13890 wxPyEndAllowThreads(__tstate);
13891 if (PyErr_Occurred()) SWIG_fail;
13892 }
13893 {
13894 wxPoint * resultptr;
13895 resultptr = new wxPoint((wxPoint &) result);
13896 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
13897 }
13898 return resultobj;
13899 fail:
13900 return NULL;
13901}
13902
13903
13904static PyObject *_wrap_MouseEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
13905 PyObject *resultobj;
13906 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 13907 int result;
d14a1e28
RD
13908 PyObject * obj0 = 0 ;
13909 char *kwnames[] = {
13910 (char *) "self", NULL
13911 };
13912
13913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail;
13914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13915 {
13916 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13917 result = (int)((wxMouseEvent const *)arg1)->GetX();
d14a1e28
RD
13918
13919 wxPyEndAllowThreads(__tstate);
13920 if (PyErr_Occurred()) SWIG_fail;
13921 }
994141e6 13922 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
13923 return resultobj;
13924 fail:
13925 return NULL;
13926}
13927
13928
13929static PyObject *_wrap_MouseEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
13930 PyObject *resultobj;
13931 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 13932 int result;
d14a1e28
RD
13933 PyObject * obj0 = 0 ;
13934 char *kwnames[] = {
13935 (char *) "self", NULL
13936 };
13937
13938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail;
13939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13940 {
13941 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13942 result = (int)((wxMouseEvent const *)arg1)->GetY();
d14a1e28
RD
13943
13944 wxPyEndAllowThreads(__tstate);
13945 if (PyErr_Occurred()) SWIG_fail;
13946 }
994141e6 13947 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
13948 return resultobj;
13949 fail:
13950 return NULL;
13951}
13952
13953
13954static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
13955 PyObject *resultobj;
13956 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13957 int result;
13958 PyObject * obj0 = 0 ;
13959 char *kwnames[] = {
13960 (char *) "self", NULL
13961 };
13962
13963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail;
13964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13965 {
13966 PyThreadState* __tstate = wxPyBeginAllowThreads();
13967 result = (int)((wxMouseEvent const *)arg1)->GetWheelRotation();
13968
13969 wxPyEndAllowThreads(__tstate);
13970 if (PyErr_Occurred()) SWIG_fail;
13971 }
994141e6 13972 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
13973 return resultobj;
13974 fail:
13975 return NULL;
13976}
13977
13978
13979static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *self, PyObject *args, PyObject *kwargs) {
13980 PyObject *resultobj;
13981 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13982 int result;
13983 PyObject * obj0 = 0 ;
13984 char *kwnames[] = {
13985 (char *) "self", NULL
13986 };
13987
13988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail;
13989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13990 {
13991 PyThreadState* __tstate = wxPyBeginAllowThreads();
13992 result = (int)((wxMouseEvent const *)arg1)->GetWheelDelta();
13993
13994 wxPyEndAllowThreads(__tstate);
13995 if (PyErr_Occurred()) SWIG_fail;
13996 }
994141e6 13997 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
13998 return resultobj;
13999 fail:
14000 return NULL;
14001}
14002
14003
14004static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *self, PyObject *args, PyObject *kwargs) {
14005 PyObject *resultobj;
14006 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14007 int result;
14008 PyObject * obj0 = 0 ;
14009 char *kwnames[] = {
14010 (char *) "self", NULL
14011 };
14012
14013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail;
14014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14015 {
14016 PyThreadState* __tstate = wxPyBeginAllowThreads();
14017 result = (int)((wxMouseEvent const *)arg1)->GetLinesPerAction();
14018
14019 wxPyEndAllowThreads(__tstate);
14020 if (PyErr_Occurred()) SWIG_fail;
14021 }
994141e6 14022 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
14023 return resultobj;
14024 fail:
14025 return NULL;
14026}
14027
14028
14029static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
14030 PyObject *resultobj;
14031 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14032 bool result;
14033 PyObject * obj0 = 0 ;
14034 char *kwnames[] = {
14035 (char *) "self", NULL
14036 };
14037
14038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsPageScroll",kwnames,&obj0)) goto fail;
14039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14040 {
14041 PyThreadState* __tstate = wxPyBeginAllowThreads();
14042 result = (bool)((wxMouseEvent const *)arg1)->IsPageScroll();
14043
14044 wxPyEndAllowThreads(__tstate);
14045 if (PyErr_Occurred()) SWIG_fail;
14046 }
4d5c3d91 14047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14048 return resultobj;
14049 fail:
14050 return NULL;
14051}
14052
14053
14054static PyObject *_wrap_MouseEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14055 PyObject *resultobj;
14056 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14057 int arg2 ;
d14a1e28 14058 PyObject * obj0 = 0 ;
994141e6 14059 PyObject * obj1 = 0 ;
d14a1e28
RD
14060 char *kwnames[] = {
14061 (char *) "self",(char *) "m_x", NULL
14062 };
14063
994141e6 14064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 14065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
14066 {
14067 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14068 if (PyErr_Occurred()) SWIG_fail;
14069 }
d14a1e28
RD
14070 if (arg1) (arg1)->m_x = arg2;
14071
14072 Py_INCREF(Py_None); resultobj = Py_None;
14073 return resultobj;
14074 fail:
14075 return NULL;
14076}
14077
14078
14079static PyObject *_wrap_MouseEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14080 PyObject *resultobj;
14081 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14082 int result;
d14a1e28
RD
14083 PyObject * obj0 = 0 ;
14084 char *kwnames[] = {
14085 (char *) "self", NULL
14086 };
14087
14088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail;
14089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
e811c8ce 14090 result = (int) ((arg1)->m_x);
d14a1e28 14091
994141e6 14092 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
14093 return resultobj;
14094 fail:
14095 return NULL;
14096}
14097
14098
14099static PyObject *_wrap_MouseEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14100 PyObject *resultobj;
14101 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14102 int arg2 ;
d14a1e28 14103 PyObject * obj0 = 0 ;
994141e6 14104 PyObject * obj1 = 0 ;
d14a1e28
RD
14105 char *kwnames[] = {
14106 (char *) "self",(char *) "m_y", NULL
14107 };
14108
994141e6 14109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 14110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
14111 {
14112 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14113 if (PyErr_Occurred()) SWIG_fail;
14114 }
d14a1e28
RD
14115 if (arg1) (arg1)->m_y = arg2;
14116
14117 Py_INCREF(Py_None); resultobj = Py_None;
14118 return resultobj;
14119 fail:
14120 return NULL;
14121}
14122
14123
14124static PyObject *_wrap_MouseEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14125 PyObject *resultobj;
14126 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14127 int result;
d14a1e28
RD
14128 PyObject * obj0 = 0 ;
14129 char *kwnames[] = {
14130 (char *) "self", NULL
14131 };
14132
14133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail;
14134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
e811c8ce 14135 result = (int) ((arg1)->m_y);
d14a1e28 14136
994141e6 14137 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
14138 return resultobj;
14139 fail:
14140 return NULL;
14141}
14142
14143
14144static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14145 PyObject *resultobj;
14146 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14147 bool arg2 ;
14148 PyObject * obj0 = 0 ;
14149 PyObject * obj1 = 0 ;
14150 char *kwnames[] = {
14151 (char *) "self",(char *) "m_leftDown", NULL
14152 };
14153
14154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail;
14155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 14156 {
994141e6 14157 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
14158 if (PyErr_Occurred()) SWIG_fail;
14159 }
d14a1e28
RD
14160 if (arg1) (arg1)->m_leftDown = arg2;
14161
14162 Py_INCREF(Py_None); resultobj = Py_None;
14163 return resultobj;
14164 fail:
14165 return NULL;
14166}
14167
14168
14169static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14170 PyObject *resultobj;
14171 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14172 bool result;
14173 PyObject * obj0 = 0 ;
14174 char *kwnames[] = {
14175 (char *) "self", NULL
14176 };
14177
14178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail;
14179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14180 result = (bool) ((arg1)->m_leftDown);
14181
4d5c3d91 14182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14183 return resultobj;
14184 fail:
14185 return NULL;
14186}
14187
14188
14189static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14190 PyObject *resultobj;
14191 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14192 bool arg2 ;
14193 PyObject * obj0 = 0 ;
14194 PyObject * obj1 = 0 ;
14195 char *kwnames[] = {
14196 (char *) "self",(char *) "m_middleDown", NULL
14197 };
14198
14199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail;
14200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 14201 {
994141e6 14202 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
14203 if (PyErr_Occurred()) SWIG_fail;
14204 }
d14a1e28
RD
14205 if (arg1) (arg1)->m_middleDown = arg2;
14206
14207 Py_INCREF(Py_None); resultobj = Py_None;
14208 return resultobj;
14209 fail:
14210 return NULL;
14211}
14212
14213
14214static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14215 PyObject *resultobj;
14216 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14217 bool result;
14218 PyObject * obj0 = 0 ;
14219 char *kwnames[] = {
14220 (char *) "self", NULL
14221 };
14222
14223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail;
14224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14225 result = (bool) ((arg1)->m_middleDown);
14226
4d5c3d91 14227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14228 return resultobj;
14229 fail:
14230 return NULL;
14231}
14232
14233
14234static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14235 PyObject *resultobj;
14236 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14237 bool arg2 ;
14238 PyObject * obj0 = 0 ;
14239 PyObject * obj1 = 0 ;
14240 char *kwnames[] = {
14241 (char *) "self",(char *) "m_rightDown", NULL
14242 };
14243
14244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail;
14245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 14246 {
994141e6 14247 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
14248 if (PyErr_Occurred()) SWIG_fail;
14249 }
d14a1e28
RD
14250 if (arg1) (arg1)->m_rightDown = arg2;
14251
14252 Py_INCREF(Py_None); resultobj = Py_None;
14253 return resultobj;
14254 fail:
14255 return NULL;
14256}
14257
14258
14259static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14260 PyObject *resultobj;
14261 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14262 bool result;
14263 PyObject * obj0 = 0 ;
14264 char *kwnames[] = {
14265 (char *) "self", NULL
14266 };
14267
14268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail;
14269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14270 result = (bool) ((arg1)->m_rightDown);
14271
4d5c3d91 14272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14273 return resultobj;
14274 fail:
14275 return NULL;
14276}
14277
14278
14279static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14280 PyObject *resultobj;
14281 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14282 bool arg2 ;
14283 PyObject * obj0 = 0 ;
14284 PyObject * obj1 = 0 ;
14285 char *kwnames[] = {
14286 (char *) "self",(char *) "m_controlDown", NULL
14287 };
14288
14289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
14290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 14291 {
994141e6 14292 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
14293 if (PyErr_Occurred()) SWIG_fail;
14294 }
d14a1e28
RD
14295 if (arg1) (arg1)->m_controlDown = arg2;
14296
14297 Py_INCREF(Py_None); resultobj = Py_None;
14298 return resultobj;
14299 fail:
14300 return NULL;
14301}
14302
14303
14304static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14305 PyObject *resultobj;
14306 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14307 bool result;
14308 PyObject * obj0 = 0 ;
14309 char *kwnames[] = {
14310 (char *) "self", NULL
14311 };
14312
14313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
14314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14315 result = (bool) ((arg1)->m_controlDown);
14316
4d5c3d91 14317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14318 return resultobj;
14319 fail:
14320 return NULL;
14321}
14322
14323
14324static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14325 PyObject *resultobj;
14326 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14327 bool arg2 ;
14328 PyObject * obj0 = 0 ;
14329 PyObject * obj1 = 0 ;
14330 char *kwnames[] = {
14331 (char *) "self",(char *) "m_shiftDown", NULL
14332 };
14333
14334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
14335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 14336 {
994141e6 14337 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
14338 if (PyErr_Occurred()) SWIG_fail;
14339 }
d14a1e28
RD
14340 if (arg1) (arg1)->m_shiftDown = arg2;
14341
14342 Py_INCREF(Py_None); resultobj = Py_None;
14343 return resultobj;
14344 fail:
14345 return NULL;
14346}
14347
14348
14349static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14350 PyObject *resultobj;
14351 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14352 bool result;
14353 PyObject * obj0 = 0 ;
14354 char *kwnames[] = {
14355 (char *) "self", NULL
14356 };
14357
14358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
14359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14360 result = (bool) ((arg1)->m_shiftDown);
14361
4d5c3d91 14362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14363 return resultobj;
14364 fail:
14365 return NULL;
14366}
14367
14368
14369static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14370 PyObject *resultobj;
14371 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14372 bool arg2 ;
14373 PyObject * obj0 = 0 ;
14374 PyObject * obj1 = 0 ;
14375 char *kwnames[] = {
14376 (char *) "self",(char *) "m_altDown", NULL
14377 };
14378
14379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
14380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 14381 {
994141e6 14382 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
14383 if (PyErr_Occurred()) SWIG_fail;
14384 }
d14a1e28
RD
14385 if (arg1) (arg1)->m_altDown = arg2;
14386
14387 Py_INCREF(Py_None); resultobj = Py_None;
14388 return resultobj;
14389 fail:
14390 return NULL;
14391}
14392
14393
14394static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14395 PyObject *resultobj;
14396 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14397 bool result;
14398 PyObject * obj0 = 0 ;
14399 char *kwnames[] = {
14400 (char *) "self", NULL
14401 };
14402
14403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail;
14404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14405 result = (bool) ((arg1)->m_altDown);
14406
4d5c3d91 14407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14408 return resultobj;
14409 fail:
14410 return NULL;
14411}
14412
14413
14414static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14415 PyObject *resultobj;
14416 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14417 bool arg2 ;
14418 PyObject * obj0 = 0 ;
14419 PyObject * obj1 = 0 ;
14420 char *kwnames[] = {
14421 (char *) "self",(char *) "m_metaDown", NULL
14422 };
14423
14424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
14425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 14426 {
994141e6 14427 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
14428 if (PyErr_Occurred()) SWIG_fail;
14429 }
d14a1e28
RD
14430 if (arg1) (arg1)->m_metaDown = arg2;
14431
14432 Py_INCREF(Py_None); resultobj = Py_None;
14433 return resultobj;
14434 fail:
14435 return NULL;
14436}
14437
14438
14439static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14440 PyObject *resultobj;
14441 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14442 bool result;
14443 PyObject * obj0 = 0 ;
14444 char *kwnames[] = {
14445 (char *) "self", NULL
14446 };
14447
14448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
14449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14450 result = (bool) ((arg1)->m_metaDown);
14451
4d5c3d91 14452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14453 return resultobj;
14454 fail:
14455 return NULL;
14456}
14457
14458
14459static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14460 PyObject *resultobj;
14461 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14462 int arg2 ;
14463 PyObject * obj0 = 0 ;
994141e6 14464 PyObject * obj1 = 0 ;
d14a1e28
RD
14465 char *kwnames[] = {
14466 (char *) "self",(char *) "m_wheelRotation", NULL
14467 };
14468
994141e6 14469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 14470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
14471 {
14472 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14473 if (PyErr_Occurred()) SWIG_fail;
14474 }
d14a1e28
RD
14475 if (arg1) (arg1)->m_wheelRotation = arg2;
14476
14477 Py_INCREF(Py_None); resultobj = Py_None;
14478 return resultobj;
14479 fail:
14480 return NULL;
14481}
14482
14483
14484static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14485 PyObject *resultobj;
14486 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14487 int result;
14488 PyObject * obj0 = 0 ;
14489 char *kwnames[] = {
14490 (char *) "self", NULL
14491 };
14492
14493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail;
14494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14495 result = (int) ((arg1)->m_wheelRotation);
14496
994141e6 14497 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
14498 return resultobj;
14499 fail:
14500 return NULL;
14501}
14502
14503
14504static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14505 PyObject *resultobj;
14506 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14507 int arg2 ;
14508 PyObject * obj0 = 0 ;
994141e6 14509 PyObject * obj1 = 0 ;
d14a1e28
RD
14510 char *kwnames[] = {
14511 (char *) "self",(char *) "m_wheelDelta", NULL
14512 };
14513
994141e6 14514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 14515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
14516 {
14517 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14518 if (PyErr_Occurred()) SWIG_fail;
14519 }
d14a1e28
RD
14520 if (arg1) (arg1)->m_wheelDelta = arg2;
14521
14522 Py_INCREF(Py_None); resultobj = Py_None;
14523 return resultobj;
14524 fail:
14525 return NULL;
14526}
14527
14528
14529static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14530 PyObject *resultobj;
14531 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14532 int result;
14533 PyObject * obj0 = 0 ;
14534 char *kwnames[] = {
14535 (char *) "self", NULL
14536 };
14537
14538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail;
14539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14540 result = (int) ((arg1)->m_wheelDelta);
14541
994141e6 14542 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
14543 return resultobj;
14544 fail:
14545 return NULL;
14546}
14547
14548
14549static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14550 PyObject *resultobj;
14551 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14552 int arg2 ;
14553 PyObject * obj0 = 0 ;
994141e6 14554 PyObject * obj1 = 0 ;
d14a1e28
RD
14555 char *kwnames[] = {
14556 (char *) "self",(char *) "m_linesPerAction", NULL
14557 };
14558
994141e6 14559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 14560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
14561 {
14562 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14563 if (PyErr_Occurred()) SWIG_fail;
14564 }
d14a1e28
RD
14565 if (arg1) (arg1)->m_linesPerAction = arg2;
14566
14567 Py_INCREF(Py_None); resultobj = Py_None;
14568 return resultobj;
14569 fail:
14570 return NULL;
14571}
14572
14573
14574static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14575 PyObject *resultobj;
14576 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14577 int result;
14578 PyObject * obj0 = 0 ;
14579 char *kwnames[] = {
14580 (char *) "self", NULL
14581 };
14582
14583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail;
14584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14585 result = (int) ((arg1)->m_linesPerAction);
14586
994141e6 14587 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
14588 return resultobj;
14589 fail:
14590 return NULL;
14591}
14592
14593
14594static PyObject * MouseEvent_swigregister(PyObject *self, PyObject *args) {
14595 PyObject *obj;
14596 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14597 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj);
14598 Py_INCREF(obj);
14599 return Py_BuildValue((char *)"");
14600}
14601static PyObject *_wrap_new_SetCursorEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14602 PyObject *resultobj;
e811c8ce
RD
14603 int arg1 = (int) 0 ;
14604 int arg2 = (int) 0 ;
d14a1e28 14605 wxSetCursorEvent *result;
994141e6
RD
14606 PyObject * obj0 = 0 ;
14607 PyObject * obj1 = 0 ;
d14a1e28
RD
14608 char *kwnames[] = {
14609 (char *) "x",(char *) "y", NULL
14610 };
14611
994141e6
RD
14612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SetCursorEvent",kwnames,&obj0,&obj1)) goto fail;
14613 if (obj0) {
14614 {
14615 arg1 = (int) SWIG_PyObj_AsInt(obj0);
14616 if (PyErr_Occurred()) SWIG_fail;
14617 }
14618 }
14619 if (obj1) {
14620 {
14621 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14622 if (PyErr_Occurred()) SWIG_fail;
14623 }
14624 }
d14a1e28
RD
14625 {
14626 PyThreadState* __tstate = wxPyBeginAllowThreads();
14627 result = (wxSetCursorEvent *)new wxSetCursorEvent(arg1,arg2);
14628
14629 wxPyEndAllowThreads(__tstate);
14630 if (PyErr_Occurred()) SWIG_fail;
14631 }
14632 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSetCursorEvent, 1);
14633 return resultobj;
14634 fail:
14635 return NULL;
14636}
14637
14638
14639static PyObject *_wrap_SetCursorEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
14640 PyObject *resultobj;
14641 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
e811c8ce 14642 int result;
d14a1e28
RD
14643 PyObject * obj0 = 0 ;
14644 char *kwnames[] = {
14645 (char *) "self", NULL
14646 };
14647
14648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail;
14649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14650 {
14651 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14652 result = (int)((wxSetCursorEvent const *)arg1)->GetX();
d14a1e28
RD
14653
14654 wxPyEndAllowThreads(__tstate);
14655 if (PyErr_Occurred()) SWIG_fail;
14656 }
994141e6 14657 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
14658 return resultobj;
14659 fail:
14660 return NULL;
14661}
14662
14663
14664static PyObject *_wrap_SetCursorEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
14665 PyObject *resultobj;
14666 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
e811c8ce 14667 int result;
d14a1e28
RD
14668 PyObject * obj0 = 0 ;
14669 char *kwnames[] = {
14670 (char *) "self", NULL
14671 };
14672
14673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail;
14674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14675 {
14676 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14677 result = (int)((wxSetCursorEvent const *)arg1)->GetY();
d14a1e28
RD
14678
14679 wxPyEndAllowThreads(__tstate);
14680 if (PyErr_Occurred()) SWIG_fail;
14681 }
994141e6 14682 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
14683 return resultobj;
14684 fail:
14685 return NULL;
14686}
14687
14688
14689static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
14690 PyObject *resultobj;
14691 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
14692 wxCursor *arg2 = 0 ;
14693 PyObject * obj0 = 0 ;
14694 PyObject * obj1 = 0 ;
14695 char *kwnames[] = {
14696 (char *) "self",(char *) "cursor", NULL
14697 };
14698
14699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail;
14700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14701 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14702 if (arg2 == NULL) {
14703 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14704 }
14705 {
14706 PyThreadState* __tstate = wxPyBeginAllowThreads();
14707 (arg1)->SetCursor((wxCursor const &)*arg2);
14708
14709 wxPyEndAllowThreads(__tstate);
14710 if (PyErr_Occurred()) SWIG_fail;
14711 }
14712 Py_INCREF(Py_None); resultobj = Py_None;
14713 return resultobj;
14714 fail:
14715 return NULL;
14716}
14717
14718
14719static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
14720 PyObject *resultobj;
14721 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
14722 wxCursor *result;
14723 PyObject * obj0 = 0 ;
14724 char *kwnames[] = {
14725 (char *) "self", NULL
14726 };
14727
14728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail;
14729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14730 {
14731 PyThreadState* __tstate = wxPyBeginAllowThreads();
14732 {
14733 wxCursor const &_result_ref = ((wxSetCursorEvent const *)arg1)->GetCursor();
14734 result = (wxCursor *) &_result_ref;
14735 }
14736
14737 wxPyEndAllowThreads(__tstate);
14738 if (PyErr_Occurred()) SWIG_fail;
14739 }
14740 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCursor, 0);
14741 return resultobj;
14742 fail:
14743 return NULL;
14744}
14745
14746
14747static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
14748 PyObject *resultobj;
14749 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
14750 bool result;
14751 PyObject * obj0 = 0 ;
14752 char *kwnames[] = {
14753 (char *) "self", NULL
14754 };
14755
14756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail;
14757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14758 {
14759 PyThreadState* __tstate = wxPyBeginAllowThreads();
14760 result = (bool)((wxSetCursorEvent const *)arg1)->HasCursor();
14761
14762 wxPyEndAllowThreads(__tstate);
14763 if (PyErr_Occurred()) SWIG_fail;
14764 }
4d5c3d91 14765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14766 return resultobj;
14767 fail:
14768 return NULL;
14769}
14770
14771
14772static PyObject * SetCursorEvent_swigregister(PyObject *self, PyObject *args) {
14773 PyObject *obj;
14774 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14775 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj);
14776 Py_INCREF(obj);
14777 return Py_BuildValue((char *)"");
14778}
14779static PyObject *_wrap_new_KeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14780 PyObject *resultobj;
14781 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14782 wxKeyEvent *result;
994141e6 14783 PyObject * obj0 = 0 ;
d14a1e28
RD
14784 char *kwnames[] = {
14785 (char *) "keyType", NULL
14786 };
14787
994141e6
RD
14788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail;
14789 if (obj0) {
14790 {
14791 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
14792 if (PyErr_Occurred()) SWIG_fail;
14793 }
14794 }
d14a1e28
RD
14795 {
14796 PyThreadState* __tstate = wxPyBeginAllowThreads();
14797 result = (wxKeyEvent *)new wxKeyEvent(arg1);
14798
14799 wxPyEndAllowThreads(__tstate);
14800 if (PyErr_Occurred()) SWIG_fail;
14801 }
14802 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 1);
14803 return resultobj;
14804 fail:
14805 return NULL;
14806}
14807
14808
14809static PyObject *_wrap_KeyEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14810 PyObject *resultobj;
14811 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14812 bool result;
14813 PyObject * obj0 = 0 ;
14814 char *kwnames[] = {
14815 (char *) "self", NULL
14816 };
14817
14818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail;
14819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14820 {
14821 PyThreadState* __tstate = wxPyBeginAllowThreads();
14822 result = (bool)((wxKeyEvent const *)arg1)->ControlDown();
14823
14824 wxPyEndAllowThreads(__tstate);
14825 if (PyErr_Occurred()) SWIG_fail;
14826 }
4d5c3d91 14827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14828 return resultobj;
14829 fail:
14830 return NULL;
14831}
14832
14833
14834static PyObject *_wrap_KeyEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14835 PyObject *resultobj;
14836 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14837 bool result;
14838 PyObject * obj0 = 0 ;
14839 char *kwnames[] = {
14840 (char *) "self", NULL
14841 };
14842
14843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail;
14844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14845 {
14846 PyThreadState* __tstate = wxPyBeginAllowThreads();
14847 result = (bool)((wxKeyEvent const *)arg1)->MetaDown();
14848
14849 wxPyEndAllowThreads(__tstate);
14850 if (PyErr_Occurred()) SWIG_fail;
14851 }
4d5c3d91 14852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14853 return resultobj;
14854 fail:
14855 return NULL;
14856}
14857
14858
14859static PyObject *_wrap_KeyEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14860 PyObject *resultobj;
14861 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14862 bool result;
14863 PyObject * obj0 = 0 ;
14864 char *kwnames[] = {
14865 (char *) "self", NULL
14866 };
14867
14868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail;
14869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14870 {
14871 PyThreadState* __tstate = wxPyBeginAllowThreads();
14872 result = (bool)((wxKeyEvent const *)arg1)->AltDown();
14873
14874 wxPyEndAllowThreads(__tstate);
14875 if (PyErr_Occurred()) SWIG_fail;
14876 }
4d5c3d91 14877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14878 return resultobj;
14879 fail:
14880 return NULL;
14881}
14882
14883
14884static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14885 PyObject *resultobj;
14886 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14887 bool result;
14888 PyObject * obj0 = 0 ;
14889 char *kwnames[] = {
14890 (char *) "self", NULL
14891 };
14892
14893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ShiftDown",kwnames,&obj0)) goto fail;
14894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14895 {
14896 PyThreadState* __tstate = wxPyBeginAllowThreads();
14897 result = (bool)((wxKeyEvent const *)arg1)->ShiftDown();
14898
14899 wxPyEndAllowThreads(__tstate);
14900 if (PyErr_Occurred()) SWIG_fail;
14901 }
4d5c3d91 14902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14903 return resultobj;
14904 fail:
14905 return NULL;
14906}
14907
14908
14909static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
14910 PyObject *resultobj;
14911 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14912 bool result;
14913 PyObject * obj0 = 0 ;
14914 char *kwnames[] = {
14915 (char *) "self", NULL
14916 };
14917
14918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_HasModifiers",kwnames,&obj0)) goto fail;
14919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14920 {
14921 PyThreadState* __tstate = wxPyBeginAllowThreads();
14922 result = (bool)((wxKeyEvent const *)arg1)->HasModifiers();
14923
14924 wxPyEndAllowThreads(__tstate);
14925 if (PyErr_Occurred()) SWIG_fail;
14926 }
4d5c3d91 14927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14928 return resultobj;
14929 fail:
14930 return NULL;
14931}
14932
14933
14934static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
14935 PyObject *resultobj;
14936 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14937 int result;
14938 PyObject * obj0 = 0 ;
14939 char *kwnames[] = {
14940 (char *) "self", NULL
14941 };
14942
14943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",kwnames,&obj0)) goto fail;
14944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14945 {
14946 PyThreadState* __tstate = wxPyBeginAllowThreads();
14947 result = (int)((wxKeyEvent const *)arg1)->GetKeyCode();
14948
14949 wxPyEndAllowThreads(__tstate);
14950 if (PyErr_Occurred()) SWIG_fail;
14951 }
994141e6 14952 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
14953 return resultobj;
14954 fail:
14955 return NULL;
14956}
14957
14958
14959static PyObject *_wrap_KeyEvent_GetUniChar(PyObject *self, PyObject *args, PyObject *kwargs) {
14960 PyObject *resultobj;
14961 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14962 int result;
14963 PyObject * obj0 = 0 ;
14964 char *kwnames[] = {
14965 (char *) "self", NULL
14966 };
14967
14968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUniChar",kwnames,&obj0)) goto fail;
14969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14970 {
14971 PyThreadState* __tstate = wxPyBeginAllowThreads();
14972 result = (int)wxKeyEvent_GetUniChar(arg1);
14973
14974 wxPyEndAllowThreads(__tstate);
14975 if (PyErr_Occurred()) SWIG_fail;
14976 }
994141e6 14977 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
14978 return resultobj;
14979 fail:
14980 return NULL;
14981}
14982
14983
14984static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
14985 PyObject *resultobj;
14986 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 14987 unsigned int result;
d14a1e28
RD
14988 PyObject * obj0 = 0 ;
14989 char *kwnames[] = {
14990 (char *) "self", NULL
14991 };
14992
14993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail;
14994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14995 {
14996 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14997 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode();
d14a1e28
RD
14998
14999 wxPyEndAllowThreads(__tstate);
15000 if (PyErr_Occurred()) SWIG_fail;
15001 }
994141e6 15002 resultobj = SWIG_PyObj_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
15003 return resultobj;
15004 fail:
15005 return NULL;
15006}
15007
15008
15009static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
15010 PyObject *resultobj;
15011 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15012 unsigned int result;
d14a1e28
RD
15013 PyObject * obj0 = 0 ;
15014 char *kwnames[] = {
15015 (char *) "self", NULL
15016 };
15017
15018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail;
15019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15020 {
15021 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15022 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags();
d14a1e28
RD
15023
15024 wxPyEndAllowThreads(__tstate);
15025 if (PyErr_Occurred()) SWIG_fail;
15026 }
994141e6 15027 resultobj = SWIG_PyObj_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
15028 return resultobj;
15029 fail:
15030 return NULL;
15031}
15032
15033
15034static PyObject *_wrap_KeyEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15035 PyObject *resultobj;
15036 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15037 wxPoint result;
15038 PyObject * obj0 = 0 ;
15039 char *kwnames[] = {
15040 (char *) "self", NULL
15041 };
15042
15043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",kwnames,&obj0)) goto fail;
15044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15045 {
15046 PyThreadState* __tstate = wxPyBeginAllowThreads();
15047 result = (arg1)->GetPosition();
15048
15049 wxPyEndAllowThreads(__tstate);
15050 if (PyErr_Occurred()) SWIG_fail;
15051 }
15052 {
15053 wxPoint * resultptr;
15054 resultptr = new wxPoint((wxPoint &) result);
15055 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
15056 }
15057 return resultobj;
15058 fail:
15059 return NULL;
15060}
15061
15062
15063static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
15064 PyObject *resultobj;
15065 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15066 long *arg2 = (long *) 0 ;
15067 long *arg3 = (long *) 0 ;
15068 long temp2 ;
15069 long temp3 ;
15070 PyObject * obj0 = 0 ;
15071 char *kwnames[] = {
15072 (char *) "self", NULL
15073 };
15074
15075 arg2 = &temp2;
15076 arg3 = &temp3;
15077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
15078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15079 {
15080 PyThreadState* __tstate = wxPyBeginAllowThreads();
15081 (arg1)->GetPosition(arg2,arg3);
15082
15083 wxPyEndAllowThreads(__tstate);
15084 if (PyErr_Occurred()) SWIG_fail;
15085 }
15086 Py_INCREF(Py_None); resultobj = Py_None;
15087 {
15088 PyObject *o = PyInt_FromLong((long) (*arg2));
15089 resultobj = t_output_helper(resultobj,o);
15090 }
15091 {
15092 PyObject *o = PyInt_FromLong((long) (*arg3));
15093 resultobj = t_output_helper(resultobj,o);
15094 }
15095 return resultobj;
15096 fail:
15097 return NULL;
15098}
15099
15100
15101static PyObject *_wrap_KeyEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
15102 PyObject *resultobj;
15103 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15104 int result;
d14a1e28
RD
15105 PyObject * obj0 = 0 ;
15106 char *kwnames[] = {
15107 (char *) "self", NULL
15108 };
15109
15110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail;
15111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15112 {
15113 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15114 result = (int)((wxKeyEvent const *)arg1)->GetX();
d14a1e28
RD
15115
15116 wxPyEndAllowThreads(__tstate);
15117 if (PyErr_Occurred()) SWIG_fail;
15118 }
994141e6 15119 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
15120 return resultobj;
15121 fail:
15122 return NULL;
15123}
15124
15125
15126static PyObject *_wrap_KeyEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
15127 PyObject *resultobj;
15128 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15129 int result;
d14a1e28
RD
15130 PyObject * obj0 = 0 ;
15131 char *kwnames[] = {
15132 (char *) "self", NULL
15133 };
15134
15135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail;
15136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15137 {
15138 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15139 result = (int)((wxKeyEvent const *)arg1)->GetY();
d14a1e28
RD
15140
15141 wxPyEndAllowThreads(__tstate);
15142 if (PyErr_Occurred()) SWIG_fail;
15143 }
994141e6 15144 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
15145 return resultobj;
15146 fail:
15147 return NULL;
15148}
15149
15150
15151static PyObject *_wrap_KeyEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15152 PyObject *resultobj;
15153 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15154 int arg2 ;
d14a1e28 15155 PyObject * obj0 = 0 ;
994141e6 15156 PyObject * obj1 = 0 ;
d14a1e28
RD
15157 char *kwnames[] = {
15158 (char *) "self",(char *) "m_x", NULL
15159 };
15160
994141e6 15161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 15162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
15163 {
15164 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15165 if (PyErr_Occurred()) SWIG_fail;
15166 }
d14a1e28
RD
15167 if (arg1) (arg1)->m_x = arg2;
15168
15169 Py_INCREF(Py_None); resultobj = Py_None;
15170 return resultobj;
15171 fail:
15172 return NULL;
15173}
15174
15175
15176static PyObject *_wrap_KeyEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15177 PyObject *resultobj;
15178 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15179 int result;
d14a1e28
RD
15180 PyObject * obj0 = 0 ;
15181 char *kwnames[] = {
15182 (char *) "self", NULL
15183 };
15184
15185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail;
15186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
e811c8ce 15187 result = (int) ((arg1)->m_x);
d14a1e28 15188
994141e6 15189 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
15190 return resultobj;
15191 fail:
15192 return NULL;
15193}
15194
15195
15196static PyObject *_wrap_KeyEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15197 PyObject *resultobj;
15198 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15199 int arg2 ;
d14a1e28 15200 PyObject * obj0 = 0 ;
994141e6 15201 PyObject * obj1 = 0 ;
d14a1e28
RD
15202 char *kwnames[] = {
15203 (char *) "self",(char *) "m_y", NULL
15204 };
15205
994141e6 15206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 15207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
15208 {
15209 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15210 if (PyErr_Occurred()) SWIG_fail;
15211 }
d14a1e28
RD
15212 if (arg1) (arg1)->m_y = arg2;
15213
15214 Py_INCREF(Py_None); resultobj = Py_None;
15215 return resultobj;
15216 fail:
15217 return NULL;
15218}
15219
15220
15221static PyObject *_wrap_KeyEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15222 PyObject *resultobj;
15223 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15224 int result;
d14a1e28
RD
15225 PyObject * obj0 = 0 ;
15226 char *kwnames[] = {
15227 (char *) "self", NULL
15228 };
15229
15230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail;
15231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
e811c8ce 15232 result = (int) ((arg1)->m_y);
d14a1e28 15233
994141e6 15234 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
15235 return resultobj;
15236 fail:
15237 return NULL;
15238}
15239
15240
15241static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15242 PyObject *resultobj;
15243 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15244 long arg2 ;
15245 PyObject * obj0 = 0 ;
994141e6 15246 PyObject * obj1 = 0 ;
d14a1e28
RD
15247 char *kwnames[] = {
15248 (char *) "self",(char *) "m_keyCode", NULL
15249 };
15250
994141e6 15251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_keyCode_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 15252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
15253 {
15254 arg2 = (long) SWIG_PyObj_AsLong(obj1);
15255 if (PyErr_Occurred()) SWIG_fail;
15256 }
d14a1e28
RD
15257 if (arg1) (arg1)->m_keyCode = arg2;
15258
15259 Py_INCREF(Py_None); resultobj = Py_None;
15260 return resultobj;
15261 fail:
15262 return NULL;
15263}
15264
15265
15266static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15267 PyObject *resultobj;
15268 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15269 long result;
15270 PyObject * obj0 = 0 ;
15271 char *kwnames[] = {
15272 (char *) "self", NULL
15273 };
15274
15275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail;
15276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15277 result = (long) ((arg1)->m_keyCode);
15278
994141e6 15279 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
15280 return resultobj;
15281 fail:
15282 return NULL;
15283}
15284
15285
15286static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15287 PyObject *resultobj;
15288 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15289 bool arg2 ;
15290 PyObject * obj0 = 0 ;
15291 PyObject * obj1 = 0 ;
15292 char *kwnames[] = {
15293 (char *) "self",(char *) "m_controlDown", NULL
15294 };
15295
15296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
15297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 15298 {
994141e6 15299 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
15300 if (PyErr_Occurred()) SWIG_fail;
15301 }
d14a1e28
RD
15302 if (arg1) (arg1)->m_controlDown = arg2;
15303
15304 Py_INCREF(Py_None); resultobj = Py_None;
15305 return resultobj;
15306 fail:
15307 return NULL;
15308}
15309
15310
15311static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15312 PyObject *resultobj;
15313 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15314 bool result;
15315 PyObject * obj0 = 0 ;
15316 char *kwnames[] = {
15317 (char *) "self", NULL
15318 };
15319
15320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
15321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15322 result = (bool) ((arg1)->m_controlDown);
15323
4d5c3d91 15324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15325 return resultobj;
15326 fail:
15327 return NULL;
15328}
15329
15330
15331static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15332 PyObject *resultobj;
15333 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15334 bool arg2 ;
15335 PyObject * obj0 = 0 ;
15336 PyObject * obj1 = 0 ;
15337 char *kwnames[] = {
15338 (char *) "self",(char *) "m_shiftDown", NULL
15339 };
15340
15341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
15342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 15343 {
994141e6 15344 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
15345 if (PyErr_Occurred()) SWIG_fail;
15346 }
d14a1e28
RD
15347 if (arg1) (arg1)->m_shiftDown = arg2;
15348
15349 Py_INCREF(Py_None); resultobj = Py_None;
15350 return resultobj;
15351 fail:
15352 return NULL;
15353}
15354
15355
15356static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15357 PyObject *resultobj;
15358 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15359 bool result;
15360 PyObject * obj0 = 0 ;
15361 char *kwnames[] = {
15362 (char *) "self", NULL
15363 };
15364
15365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
15366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15367 result = (bool) ((arg1)->m_shiftDown);
15368
4d5c3d91 15369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15370 return resultobj;
15371 fail:
15372 return NULL;
15373}
15374
15375
15376static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15377 PyObject *resultobj;
15378 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15379 bool arg2 ;
15380 PyObject * obj0 = 0 ;
15381 PyObject * obj1 = 0 ;
15382 char *kwnames[] = {
15383 (char *) "self",(char *) "m_altDown", NULL
15384 };
15385
15386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
15387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 15388 {
994141e6 15389 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
15390 if (PyErr_Occurred()) SWIG_fail;
15391 }
d14a1e28
RD
15392 if (arg1) (arg1)->m_altDown = arg2;
15393
15394 Py_INCREF(Py_None); resultobj = Py_None;
15395 return resultobj;
15396 fail:
15397 return NULL;
15398}
15399
15400
15401static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15402 PyObject *resultobj;
15403 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15404 bool result;
15405 PyObject * obj0 = 0 ;
15406 char *kwnames[] = {
15407 (char *) "self", NULL
15408 };
15409
15410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail;
15411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15412 result = (bool) ((arg1)->m_altDown);
15413
4d5c3d91 15414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15415 return resultobj;
15416 fail:
15417 return NULL;
15418}
15419
15420
15421static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15422 PyObject *resultobj;
15423 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15424 bool arg2 ;
15425 PyObject * obj0 = 0 ;
15426 PyObject * obj1 = 0 ;
15427 char *kwnames[] = {
15428 (char *) "self",(char *) "m_metaDown", NULL
15429 };
15430
15431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
15432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 15433 {
994141e6 15434 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
15435 if (PyErr_Occurred()) SWIG_fail;
15436 }
d14a1e28
RD
15437 if (arg1) (arg1)->m_metaDown = arg2;
15438
15439 Py_INCREF(Py_None); resultobj = Py_None;
15440 return resultobj;
15441 fail:
15442 return NULL;
15443}
15444
15445
15446static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15447 PyObject *resultobj;
15448 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15449 bool result;
15450 PyObject * obj0 = 0 ;
15451 char *kwnames[] = {
15452 (char *) "self", NULL
15453 };
15454
15455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
15456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15457 result = (bool) ((arg1)->m_metaDown);
15458
4d5c3d91 15459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15460 return resultobj;
15461 fail:
15462 return NULL;
15463}
15464
15465
15466static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15467 PyObject *resultobj;
15468 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15469 bool arg2 ;
15470 PyObject * obj0 = 0 ;
15471 PyObject * obj1 = 0 ;
15472 char *kwnames[] = {
15473 (char *) "self",(char *) "m_scanCode", NULL
15474 };
15475
15476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail;
15477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 15478 {
994141e6 15479 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
15480 if (PyErr_Occurred()) SWIG_fail;
15481 }
d14a1e28
RD
15482 if (arg1) (arg1)->m_scanCode = arg2;
15483
15484 Py_INCREF(Py_None); resultobj = Py_None;
15485 return resultobj;
15486 fail:
15487 return NULL;
15488}
15489
15490
15491static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15492 PyObject *resultobj;
15493 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15494 bool result;
15495 PyObject * obj0 = 0 ;
15496 char *kwnames[] = {
15497 (char *) "self", NULL
15498 };
15499
15500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail;
15501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15502 result = (bool) ((arg1)->m_scanCode);
15503
4d5c3d91 15504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15505 return resultobj;
15506 fail:
15507 return NULL;
15508}
15509
15510
15511static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15512 PyObject *resultobj;
15513 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15514 unsigned int arg2 ;
d14a1e28
RD
15515 PyObject * obj0 = 0 ;
15516 PyObject * obj1 = 0 ;
15517 char *kwnames[] = {
15518 (char *) "self",(char *) "m_rawCode", NULL
15519 };
15520
15521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail;
15522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 15523 {
994141e6 15524 arg2 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1);
a41e16b6
RD
15525 if (PyErr_Occurred()) SWIG_fail;
15526 }
d14a1e28
RD
15527 if (arg1) (arg1)->m_rawCode = arg2;
15528
15529 Py_INCREF(Py_None); resultobj = Py_None;
15530 return resultobj;
15531 fail:
15532 return NULL;
15533}
15534
15535
15536static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15537 PyObject *resultobj;
15538 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15539 unsigned int result;
d14a1e28
RD
15540 PyObject * obj0 = 0 ;
15541 char *kwnames[] = {
15542 (char *) "self", NULL
15543 };
15544
15545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail;
15546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
e811c8ce 15547 result = (unsigned int) ((arg1)->m_rawCode);
d14a1e28 15548
994141e6 15549 resultobj = SWIG_PyObj_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
15550 return resultobj;
15551 fail:
15552 return NULL;
15553}
15554
15555
15556static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15557 PyObject *resultobj;
15558 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15559 unsigned int arg2 ;
d14a1e28
RD
15560 PyObject * obj0 = 0 ;
15561 PyObject * obj1 = 0 ;
15562 char *kwnames[] = {
15563 (char *) "self",(char *) "m_rawFlags", NULL
15564 };
15565
15566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail;
15567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 15568 {
994141e6 15569 arg2 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1);
a41e16b6
RD
15570 if (PyErr_Occurred()) SWIG_fail;
15571 }
d14a1e28
RD
15572 if (arg1) (arg1)->m_rawFlags = arg2;
15573
15574 Py_INCREF(Py_None); resultobj = Py_None;
15575 return resultobj;
15576 fail:
15577 return NULL;
15578}
15579
15580
15581static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15582 PyObject *resultobj;
15583 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15584 unsigned int result;
d14a1e28
RD
15585 PyObject * obj0 = 0 ;
15586 char *kwnames[] = {
15587 (char *) "self", NULL
15588 };
15589
15590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail;
15591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
e811c8ce 15592 result = (unsigned int) ((arg1)->m_rawFlags);
d14a1e28 15593
994141e6 15594 resultobj = SWIG_PyObj_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
15595 return resultobj;
15596 fail:
15597 return NULL;
15598}
15599
15600
15601static PyObject * KeyEvent_swigregister(PyObject *self, PyObject *args) {
15602 PyObject *obj;
15603 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15604 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj);
15605 Py_INCREF(obj);
15606 return Py_BuildValue((char *)"");
15607}
15608static PyObject *_wrap_new_SizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15609 PyObject *resultobj;
15610 wxSize const &arg1_defvalue = wxDefaultSize ;
15611 wxSize *arg1 = (wxSize *) &arg1_defvalue ;
15612 int arg2 = (int) 0 ;
15613 wxSizeEvent *result;
15614 wxSize temp1 ;
15615 PyObject * obj0 = 0 ;
994141e6 15616 PyObject * obj1 = 0 ;
d14a1e28
RD
15617 char *kwnames[] = {
15618 (char *) "sz",(char *) "winid", NULL
15619 };
15620
994141e6 15621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SizeEvent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
15622 if (obj0) {
15623 {
15624 arg1 = &temp1;
15625 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
15626 }
15627 }
994141e6
RD
15628 if (obj1) {
15629 {
15630 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15631 if (PyErr_Occurred()) SWIG_fail;
15632 }
15633 }
d14a1e28
RD
15634 {
15635 PyThreadState* __tstate = wxPyBeginAllowThreads();
15636 result = (wxSizeEvent *)new wxSizeEvent((wxSize const &)*arg1,arg2);
15637
15638 wxPyEndAllowThreads(__tstate);
15639 if (PyErr_Occurred()) SWIG_fail;
15640 }
15641 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizeEvent, 1);
15642 return resultobj;
15643 fail:
15644 return NULL;
15645}
15646
15647
15648static PyObject *_wrap_SizeEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15649 PyObject *resultobj;
15650 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
15651 wxSize result;
15652 PyObject * obj0 = 0 ;
15653 char *kwnames[] = {
15654 (char *) "self", NULL
15655 };
15656
15657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail;
15658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15659 {
15660 PyThreadState* __tstate = wxPyBeginAllowThreads();
15661 result = ((wxSizeEvent const *)arg1)->GetSize();
15662
15663 wxPyEndAllowThreads(__tstate);
15664 if (PyErr_Occurred()) SWIG_fail;
15665 }
15666 {
15667 wxSize * resultptr;
15668 resultptr = new wxSize((wxSize &) result);
15669 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15670 }
15671 return resultobj;
15672 fail:
15673 return NULL;
15674}
15675
15676
15677static PyObject *_wrap_SizeEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
15678 PyObject *resultobj;
15679 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
15680 wxRect result;
15681 PyObject * obj0 = 0 ;
15682 char *kwnames[] = {
15683 (char *) "self", NULL
15684 };
15685
15686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail;
15687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15688 {
15689 PyThreadState* __tstate = wxPyBeginAllowThreads();
15690 result = ((wxSizeEvent const *)arg1)->GetRect();
15691
15692 wxPyEndAllowThreads(__tstate);
15693 if (PyErr_Occurred()) SWIG_fail;
15694 }
15695 {
15696 wxRect * resultptr;
15697 resultptr = new wxRect((wxRect &) result);
15698 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
15699 }
15700 return resultobj;
15701 fail:
15702 return NULL;
15703}
15704
15705
15706static PyObject *_wrap_SizeEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
15707 PyObject *resultobj;
15708 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
15709 wxRect arg2 ;
15710 wxRect *argp2 ;
15711 PyObject * obj0 = 0 ;
15712 PyObject * obj1 = 0 ;
15713 char *kwnames[] = {
15714 (char *) "self",(char *) "rect", NULL
15715 };
15716
15717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
15718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15719 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
15720 arg2 = *argp2;
15721 {
15722 PyThreadState* __tstate = wxPyBeginAllowThreads();
15723 (arg1)->SetRect(arg2);
15724
15725 wxPyEndAllowThreads(__tstate);
15726 if (PyErr_Occurred()) SWIG_fail;
15727 }
15728 Py_INCREF(Py_None); resultobj = Py_None;
15729 return resultobj;
15730 fail:
15731 return NULL;
15732}
15733
15734
15735static PyObject *_wrap_SizeEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15736 PyObject *resultobj;
15737 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
15738 wxSize arg2 ;
15739 wxSize *argp2 ;
15740 PyObject * obj0 = 0 ;
15741 PyObject * obj1 = 0 ;
15742 char *kwnames[] = {
15743 (char *) "self",(char *) "size", NULL
15744 };
15745
15746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
15747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15748 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
15749 arg2 = *argp2;
15750 {
15751 PyThreadState* __tstate = wxPyBeginAllowThreads();
15752 wxSizeEvent_SetSize(arg1,arg2);
15753
15754 wxPyEndAllowThreads(__tstate);
15755 if (PyErr_Occurred()) SWIG_fail;
15756 }
15757 Py_INCREF(Py_None); resultobj = Py_None;
15758 return resultobj;
15759 fail:
15760 return NULL;
15761}
15762
15763
15764static PyObject *_wrap_SizeEvent_m_size_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15765 PyObject *resultobj;
15766 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
15767 wxSize *arg2 = (wxSize *) 0 ;
15768 PyObject * obj0 = 0 ;
15769 PyObject * obj1 = 0 ;
15770 char *kwnames[] = {
15771 (char *) "self",(char *) "m_size", NULL
15772 };
15773
15774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail;
15775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15776 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15777 if (arg1) (arg1)->m_size = *arg2;
15778
15779 Py_INCREF(Py_None); resultobj = Py_None;
15780 return resultobj;
15781 fail:
15782 return NULL;
15783}
15784
15785
15786static PyObject *_wrap_SizeEvent_m_size_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15787 PyObject *resultobj;
15788 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
15789 wxSize *result;
15790 PyObject * obj0 = 0 ;
15791 char *kwnames[] = {
15792 (char *) "self", NULL
15793 };
15794
15795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail;
15796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15797 result = (wxSize *)& ((arg1)->m_size);
15798
15799 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
15800 return resultobj;
15801 fail:
15802 return NULL;
15803}
15804
15805
15806static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15807 PyObject *resultobj;
15808 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
15809 wxRect *arg2 = (wxRect *) 0 ;
15810 PyObject * obj0 = 0 ;
15811 PyObject * obj1 = 0 ;
15812 char *kwnames[] = {
15813 (char *) "self",(char *) "m_rect", NULL
15814 };
15815
15816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
15817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15818 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15819 if (arg1) (arg1)->m_rect = *arg2;
15820
15821 Py_INCREF(Py_None); resultobj = Py_None;
15822 return resultobj;
15823 fail:
15824 return NULL;
15825}
15826
15827
15828static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15829 PyObject *resultobj;
15830 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
15831 wxRect *result;
15832 PyObject * obj0 = 0 ;
15833 char *kwnames[] = {
15834 (char *) "self", NULL
15835 };
15836
15837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail;
15838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15839 result = (wxRect *)& ((arg1)->m_rect);
15840
15841 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
15842 return resultobj;
15843 fail:
15844 return NULL;
15845}
15846
15847
15848static PyObject * SizeEvent_swigregister(PyObject *self, PyObject *args) {
15849 PyObject *obj;
15850 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15851 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj);
15852 Py_INCREF(obj);
15853 return Py_BuildValue((char *)"");
15854}
15855static PyObject *_wrap_new_MoveEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15856 PyObject *resultobj;
15857 wxPoint const &arg1_defvalue = wxDefaultPosition ;
15858 wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
15859 int arg2 = (int) 0 ;
15860 wxMoveEvent *result;
15861 wxPoint temp1 ;
15862 PyObject * obj0 = 0 ;
994141e6 15863 PyObject * obj1 = 0 ;
d14a1e28
RD
15864 char *kwnames[] = {
15865 (char *) "pos",(char *) "winid", NULL
15866 };
15867
994141e6 15868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MoveEvent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
15869 if (obj0) {
15870 {
15871 arg1 = &temp1;
15872 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
15873 }
15874 }
994141e6
RD
15875 if (obj1) {
15876 {
15877 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15878 if (PyErr_Occurred()) SWIG_fail;
15879 }
15880 }
d14a1e28
RD
15881 {
15882 PyThreadState* __tstate = wxPyBeginAllowThreads();
15883 result = (wxMoveEvent *)new wxMoveEvent((wxPoint const &)*arg1,arg2);
15884
15885 wxPyEndAllowThreads(__tstate);
15886 if (PyErr_Occurred()) SWIG_fail;
15887 }
15888 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMoveEvent, 1);
15889 return resultobj;
15890 fail:
15891 return NULL;
15892}
15893
15894
15895static PyObject *_wrap_MoveEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15896 PyObject *resultobj;
15897 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
15898 wxPoint result;
15899 PyObject * obj0 = 0 ;
15900 char *kwnames[] = {
15901 (char *) "self", NULL
15902 };
15903
15904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail;
15905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15906 {
15907 PyThreadState* __tstate = wxPyBeginAllowThreads();
15908 result = ((wxMoveEvent const *)arg1)->GetPosition();
15909
15910 wxPyEndAllowThreads(__tstate);
15911 if (PyErr_Occurred()) SWIG_fail;
15912 }
15913 {
15914 wxPoint * resultptr;
15915 resultptr = new wxPoint((wxPoint &) result);
15916 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
15917 }
15918 return resultobj;
15919 fail:
15920 return NULL;
15921}
15922
15923
15924static PyObject *_wrap_MoveEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
15925 PyObject *resultobj;
15926 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
15927 wxRect result;
15928 PyObject * obj0 = 0 ;
15929 char *kwnames[] = {
15930 (char *) "self", NULL
15931 };
15932
15933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail;
15934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15935 {
15936 PyThreadState* __tstate = wxPyBeginAllowThreads();
15937 result = ((wxMoveEvent const *)arg1)->GetRect();
15938
15939 wxPyEndAllowThreads(__tstate);
15940 if (PyErr_Occurred()) SWIG_fail;
15941 }
15942 {
15943 wxRect * resultptr;
15944 resultptr = new wxRect((wxRect &) result);
15945 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
15946 }
15947 return resultobj;
15948 fail:
15949 return NULL;
15950}
15951
15952
15953static PyObject *_wrap_MoveEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
15954 PyObject *resultobj;
15955 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
15956 wxRect arg2 ;
15957 wxRect *argp2 ;
15958 PyObject * obj0 = 0 ;
15959 PyObject * obj1 = 0 ;
15960 char *kwnames[] = {
15961 (char *) "self",(char *) "rect", NULL
15962 };
15963
15964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
15965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15966 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
15967 arg2 = *argp2;
15968 {
15969 PyThreadState* __tstate = wxPyBeginAllowThreads();
15970 (arg1)->SetRect(arg2);
15971
15972 wxPyEndAllowThreads(__tstate);
15973 if (PyErr_Occurred()) SWIG_fail;
15974 }
15975 Py_INCREF(Py_None); resultobj = Py_None;
15976 return resultobj;
15977 fail:
15978 return NULL;
15979}
15980
15981
15982static PyObject *_wrap_MoveEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15983 PyObject *resultobj;
15984 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
15985 wxPoint arg2 ;
15986 wxPoint *argp2 ;
15987 PyObject * obj0 = 0 ;
15988 PyObject * obj1 = 0 ;
15989 char *kwnames[] = {
15990 (char *) "self",(char *) "pos", NULL
15991 };
15992
15993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15995 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
15996 arg2 = *argp2;
15997 {
15998 PyThreadState* __tstate = wxPyBeginAllowThreads();
15999 wxMoveEvent_SetPosition(arg1,arg2);
16000
16001 wxPyEndAllowThreads(__tstate);
16002 if (PyErr_Occurred()) SWIG_fail;
16003 }
16004 Py_INCREF(Py_None); resultobj = Py_None;
16005 return resultobj;
16006 fail:
16007 return NULL;
16008}
16009
16010
16011static PyObject *_wrap_MoveEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16012 PyObject *resultobj;
16013 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16014 wxPoint *arg2 = (wxPoint *) 0 ;
16015 PyObject * obj0 = 0 ;
16016 PyObject * obj1 = 0 ;
16017 char *kwnames[] = {
16018 (char *) "self",(char *) "m_pos", NULL
16019 };
16020
16021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
16022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16023 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16024 if (arg1) (arg1)->m_pos = *arg2;
16025
16026 Py_INCREF(Py_None); resultobj = Py_None;
16027 return resultobj;
16028 fail:
16029 return NULL;
16030}
16031
16032
16033static PyObject *_wrap_MoveEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16034 PyObject *resultobj;
16035 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16036 wxPoint *result;
16037 PyObject * obj0 = 0 ;
16038 char *kwnames[] = {
16039 (char *) "self", NULL
16040 };
16041
16042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_pos_get",kwnames,&obj0)) goto fail;
16043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16044 result = (wxPoint *)& ((arg1)->m_pos);
16045
16046 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
16047 return resultobj;
16048 fail:
16049 return NULL;
16050}
16051
16052
16053static PyObject *_wrap_MoveEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16054 PyObject *resultobj;
16055 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16056 wxRect *arg2 = (wxRect *) 0 ;
16057 PyObject * obj0 = 0 ;
16058 PyObject * obj1 = 0 ;
16059 char *kwnames[] = {
16060 (char *) "self",(char *) "m_rect", NULL
16061 };
16062
16063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
16064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16065 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16066 if (arg1) (arg1)->m_rect = *arg2;
16067
16068 Py_INCREF(Py_None); resultobj = Py_None;
16069 return resultobj;
16070 fail:
16071 return NULL;
16072}
16073
16074
16075static PyObject *_wrap_MoveEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16076 PyObject *resultobj;
16077 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16078 wxRect *result;
16079 PyObject * obj0 = 0 ;
16080 char *kwnames[] = {
16081 (char *) "self", NULL
16082 };
16083
16084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_rect_get",kwnames,&obj0)) goto fail;
16085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16086 result = (wxRect *)& ((arg1)->m_rect);
16087
16088 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
16089 return resultobj;
16090 fail:
16091 return NULL;
16092}
16093
16094
16095static PyObject * MoveEvent_swigregister(PyObject *self, PyObject *args) {
16096 PyObject *obj;
16097 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16098 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj);
16099 Py_INCREF(obj);
16100 return Py_BuildValue((char *)"");
16101}
16102static PyObject *_wrap_new_PaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16103 PyObject *resultobj;
16104 int arg1 = (int) 0 ;
16105 wxPaintEvent *result;
994141e6 16106 PyObject * obj0 = 0 ;
d14a1e28
RD
16107 char *kwnames[] = {
16108 (char *) "Id", NULL
16109 };
16110
994141e6
RD
16111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaintEvent",kwnames,&obj0)) goto fail;
16112 if (obj0) {
16113 {
16114 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16115 if (PyErr_Occurred()) SWIG_fail;
16116 }
16117 }
d14a1e28
RD
16118 {
16119 PyThreadState* __tstate = wxPyBeginAllowThreads();
16120 result = (wxPaintEvent *)new wxPaintEvent(arg1);
16121
16122 wxPyEndAllowThreads(__tstate);
16123 if (PyErr_Occurred()) SWIG_fail;
16124 }
16125 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPaintEvent, 1);
16126 return resultobj;
16127 fail:
16128 return NULL;
16129}
16130
16131
16132static PyObject * PaintEvent_swigregister(PyObject *self, PyObject *args) {
16133 PyObject *obj;
16134 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16135 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj);
16136 Py_INCREF(obj);
16137 return Py_BuildValue((char *)"");
16138}
16139static PyObject *_wrap_new_NcPaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16140 PyObject *resultobj;
16141 int arg1 = (int) 0 ;
16142 wxNcPaintEvent *result;
994141e6 16143 PyObject * obj0 = 0 ;
d14a1e28
RD
16144 char *kwnames[] = {
16145 (char *) "winid", NULL
16146 };
16147
994141e6
RD
16148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_NcPaintEvent",kwnames,&obj0)) goto fail;
16149 if (obj0) {
16150 {
16151 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16152 if (PyErr_Occurred()) SWIG_fail;
16153 }
16154 }
d14a1e28
RD
16155 {
16156 PyThreadState* __tstate = wxPyBeginAllowThreads();
16157 result = (wxNcPaintEvent *)new wxNcPaintEvent(arg1);
16158
16159 wxPyEndAllowThreads(__tstate);
16160 if (PyErr_Occurred()) SWIG_fail;
16161 }
16162 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNcPaintEvent, 1);
16163 return resultobj;
16164 fail:
16165 return NULL;
16166}
16167
16168
16169static PyObject * NcPaintEvent_swigregister(PyObject *self, PyObject *args) {
16170 PyObject *obj;
16171 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16172 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj);
16173 Py_INCREF(obj);
16174 return Py_BuildValue((char *)"");
16175}
16176static PyObject *_wrap_new_EraseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16177 PyObject *resultobj;
16178 int arg1 = (int) 0 ;
16179 wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
16180 wxEraseEvent *result;
994141e6 16181 PyObject * obj0 = 0 ;
d14a1e28
RD
16182 PyObject * obj1 = 0 ;
16183 char *kwnames[] = {
16184 (char *) "Id",(char *) "dc", NULL
16185 };
16186
994141e6
RD
16187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_EraseEvent",kwnames,&obj0,&obj1)) goto fail;
16188 if (obj0) {
16189 {
16190 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16191 if (PyErr_Occurred()) SWIG_fail;
16192 }
16193 }
d14a1e28
RD
16194 if (obj1) {
16195 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16196 }
16197 {
16198 PyThreadState* __tstate = wxPyBeginAllowThreads();
16199 result = (wxEraseEvent *)new wxEraseEvent(arg1,arg2);
16200
16201 wxPyEndAllowThreads(__tstate);
16202 if (PyErr_Occurred()) SWIG_fail;
16203 }
16204 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEraseEvent, 1);
16205 return resultobj;
16206 fail:
16207 return NULL;
16208}
16209
16210
16211static PyObject *_wrap_EraseEvent_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
16212 PyObject *resultobj;
16213 wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
16214 wxDC *result;
16215 PyObject * obj0 = 0 ;
16216 char *kwnames[] = {
16217 (char *) "self", NULL
16218 };
16219
16220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail;
16221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEraseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16222 {
16223 PyThreadState* __tstate = wxPyBeginAllowThreads();
16224 result = (wxDC *)((wxEraseEvent const *)arg1)->GetDC();
16225
16226 wxPyEndAllowThreads(__tstate);
16227 if (PyErr_Occurred()) SWIG_fail;
16228 }
16229 {
16230 resultobj = wxPyMake_wxObject(result);
16231 }
16232 return resultobj;
16233 fail:
16234 return NULL;
16235}
16236
16237
16238static PyObject * EraseEvent_swigregister(PyObject *self, PyObject *args) {
16239 PyObject *obj;
16240 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16241 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj);
16242 Py_INCREF(obj);
16243 return Py_BuildValue((char *)"");
16244}
16245static PyObject *_wrap_new_FocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16246 PyObject *resultobj;
16247 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16248 int arg2 = (int) 0 ;
16249 wxFocusEvent *result;
994141e6
RD
16250 PyObject * obj0 = 0 ;
16251 PyObject * obj1 = 0 ;
d14a1e28
RD
16252 char *kwnames[] = {
16253 (char *) "type",(char *) "winid", NULL
16254 };
16255
994141e6
RD
16256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FocusEvent",kwnames,&obj0,&obj1)) goto fail;
16257 if (obj0) {
16258 {
16259 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
16260 if (PyErr_Occurred()) SWIG_fail;
16261 }
16262 }
16263 if (obj1) {
16264 {
16265 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16266 if (PyErr_Occurred()) SWIG_fail;
16267 }
16268 }
d14a1e28
RD
16269 {
16270 PyThreadState* __tstate = wxPyBeginAllowThreads();
16271 result = (wxFocusEvent *)new wxFocusEvent(arg1,arg2);
16272
16273 wxPyEndAllowThreads(__tstate);
16274 if (PyErr_Occurred()) SWIG_fail;
16275 }
16276 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFocusEvent, 1);
16277 return resultobj;
16278 fail:
16279 return NULL;
16280}
16281
16282
16283static PyObject *_wrap_FocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16284 PyObject *resultobj;
16285 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
16286 wxWindow *result;
16287 PyObject * obj0 = 0 ;
16288 char *kwnames[] = {
16289 (char *) "self", NULL
16290 };
16291
16292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail;
16293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFocusEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16294 {
16295 PyThreadState* __tstate = wxPyBeginAllowThreads();
16296 result = (wxWindow *)((wxFocusEvent const *)arg1)->GetWindow();
16297
16298 wxPyEndAllowThreads(__tstate);
16299 if (PyErr_Occurred()) SWIG_fail;
16300 }
16301 {
16302 resultobj = wxPyMake_wxObject(result);
16303 }
16304 return resultobj;
16305 fail:
16306 return NULL;
16307}
16308
16309
16310static PyObject *_wrap_FocusEvent_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16311 PyObject *resultobj;
16312 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
16313 wxWindow *arg2 = (wxWindow *) 0 ;
16314 PyObject * obj0 = 0 ;
16315 PyObject * obj1 = 0 ;
16316 char *kwnames[] = {
16317 (char *) "self",(char *) "win", NULL
16318 };
16319
16320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail;
16321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFocusEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16322 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16323 {
16324 PyThreadState* __tstate = wxPyBeginAllowThreads();
16325 (arg1)->SetWindow(arg2);
16326
16327 wxPyEndAllowThreads(__tstate);
16328 if (PyErr_Occurred()) SWIG_fail;
16329 }
16330 Py_INCREF(Py_None); resultobj = Py_None;
16331 return resultobj;
16332 fail:
16333 return NULL;
16334}
16335
16336
16337static PyObject * FocusEvent_swigregister(PyObject *self, PyObject *args) {
16338 PyObject *obj;
16339 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16340 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj);
16341 Py_INCREF(obj);
16342 return Py_BuildValue((char *)"");
16343}
16344static PyObject *_wrap_new_ChildFocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16345 PyObject *resultobj;
16346 wxWindow *arg1 = (wxWindow *) NULL ;
16347 wxChildFocusEvent *result;
16348 PyObject * obj0 = 0 ;
16349 char *kwnames[] = {
16350 (char *) "win", NULL
16351 };
16352
16353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail;
16354 if (obj0) {
16355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16356 }
16357 {
16358 PyThreadState* __tstate = wxPyBeginAllowThreads();
16359 result = (wxChildFocusEvent *)new wxChildFocusEvent(arg1);
16360
16361 wxPyEndAllowThreads(__tstate);
16362 if (PyErr_Occurred()) SWIG_fail;
16363 }
16364 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChildFocusEvent, 1);
16365 return resultobj;
16366 fail:
16367 return NULL;
16368}
16369
16370
16371static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16372 PyObject *resultobj;
16373 wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
16374 wxWindow *result;
16375 PyObject * obj0 = 0 ;
16376 char *kwnames[] = {
16377 (char *) "self", NULL
16378 };
16379
16380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail;
16381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChildFocusEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16382 {
16383 PyThreadState* __tstate = wxPyBeginAllowThreads();
16384 result = (wxWindow *)((wxChildFocusEvent const *)arg1)->GetWindow();
16385
16386 wxPyEndAllowThreads(__tstate);
16387 if (PyErr_Occurred()) SWIG_fail;
16388 }
16389 {
16390 resultobj = wxPyMake_wxObject(result);
16391 }
16392 return resultobj;
16393 fail:
16394 return NULL;
16395}
16396
16397
16398static PyObject * ChildFocusEvent_swigregister(PyObject *self, PyObject *args) {
16399 PyObject *obj;
16400 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16401 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj);
16402 Py_INCREF(obj);
16403 return Py_BuildValue((char *)"");
16404}
16405static PyObject *_wrap_new_ActivateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16406 PyObject *resultobj;
16407 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 16408 bool arg2 = (bool) True ;
d14a1e28
RD
16409 int arg3 = (int) 0 ;
16410 wxActivateEvent *result;
994141e6 16411 PyObject * obj0 = 0 ;
d14a1e28 16412 PyObject * obj1 = 0 ;
994141e6 16413 PyObject * obj2 = 0 ;
d14a1e28
RD
16414 char *kwnames[] = {
16415 (char *) "type",(char *) "active",(char *) "Id", NULL
16416 };
16417
994141e6
RD
16418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ActivateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
16419 if (obj0) {
16420 {
16421 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
16422 if (PyErr_Occurred()) SWIG_fail;
16423 }
16424 }
d14a1e28 16425 if (obj1) {
a41e16b6 16426 {
994141e6
RD
16427 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
16428 if (PyErr_Occurred()) SWIG_fail;
16429 }
16430 }
16431 if (obj2) {
16432 {
16433 arg3 = (int) SWIG_PyObj_AsInt(obj2);
a41e16b6
RD
16434 if (PyErr_Occurred()) SWIG_fail;
16435 }
d14a1e28
RD
16436 }
16437 {
16438 PyThreadState* __tstate = wxPyBeginAllowThreads();
16439 result = (wxActivateEvent *)new wxActivateEvent(arg1,arg2,arg3);
16440
16441 wxPyEndAllowThreads(__tstate);
16442 if (PyErr_Occurred()) SWIG_fail;
16443 }
16444 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxActivateEvent, 1);
16445 return resultobj;
16446 fail:
16447 return NULL;
16448}
16449
16450
16451static PyObject *_wrap_ActivateEvent_GetActive(PyObject *self, PyObject *args, PyObject *kwargs) {
16452 PyObject *resultobj;
16453 wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
16454 bool result;
16455 PyObject * obj0 = 0 ;
16456 char *kwnames[] = {
16457 (char *) "self", NULL
16458 };
16459
16460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail;
16461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxActivateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16462 {
16463 PyThreadState* __tstate = wxPyBeginAllowThreads();
16464 result = (bool)((wxActivateEvent const *)arg1)->GetActive();
16465
16466 wxPyEndAllowThreads(__tstate);
16467 if (PyErr_Occurred()) SWIG_fail;
16468 }
4d5c3d91 16469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16470 return resultobj;
16471 fail:
16472 return NULL;
16473}
16474
16475
16476static PyObject * ActivateEvent_swigregister(PyObject *self, PyObject *args) {
16477 PyObject *obj;
16478 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16479 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj);
16480 Py_INCREF(obj);
16481 return Py_BuildValue((char *)"");
16482}
16483static PyObject *_wrap_new_InitDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16484 PyObject *resultobj;
16485 int arg1 = (int) 0 ;
16486 wxInitDialogEvent *result;
994141e6 16487 PyObject * obj0 = 0 ;
d14a1e28
RD
16488 char *kwnames[] = {
16489 (char *) "Id", NULL
16490 };
16491
994141e6
RD
16492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_InitDialogEvent",kwnames,&obj0)) goto fail;
16493 if (obj0) {
16494 {
16495 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16496 if (PyErr_Occurred()) SWIG_fail;
16497 }
16498 }
d14a1e28
RD
16499 {
16500 PyThreadState* __tstate = wxPyBeginAllowThreads();
16501 result = (wxInitDialogEvent *)new wxInitDialogEvent(arg1);
16502
16503 wxPyEndAllowThreads(__tstate);
16504 if (PyErr_Occurred()) SWIG_fail;
16505 }
16506 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxInitDialogEvent, 1);
16507 return resultobj;
16508 fail:
16509 return NULL;
16510}
16511
16512
16513static PyObject * InitDialogEvent_swigregister(PyObject *self, PyObject *args) {
16514 PyObject *obj;
16515 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16516 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj);
16517 Py_INCREF(obj);
16518 return Py_BuildValue((char *)"");
16519}
16520static PyObject *_wrap_new_MenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16521 PyObject *resultobj;
16522 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16523 int arg2 = (int) 0 ;
16524 wxMenu *arg3 = (wxMenu *) NULL ;
16525 wxMenuEvent *result;
994141e6
RD
16526 PyObject * obj0 = 0 ;
16527 PyObject * obj1 = 0 ;
d14a1e28
RD
16528 PyObject * obj2 = 0 ;
16529 char *kwnames[] = {
16530 (char *) "type",(char *) "winid",(char *) "menu", NULL
16531 };
16532
994141e6
RD
16533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_MenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
16534 if (obj0) {
16535 {
16536 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
16537 if (PyErr_Occurred()) SWIG_fail;
16538 }
16539 }
16540 if (obj1) {
16541 {
16542 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16543 if (PyErr_Occurred()) SWIG_fail;
16544 }
16545 }
d14a1e28
RD
16546 if (obj2) {
16547 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16548 }
16549 {
16550 PyThreadState* __tstate = wxPyBeginAllowThreads();
16551 result = (wxMenuEvent *)new wxMenuEvent(arg1,arg2,arg3);
16552
16553 wxPyEndAllowThreads(__tstate);
16554 if (PyErr_Occurred()) SWIG_fail;
16555 }
16556 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMenuEvent, 1);
16557 return resultobj;
16558 fail:
16559 return NULL;
16560}
16561
16562
16563static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *self, PyObject *args, PyObject *kwargs) {
16564 PyObject *resultobj;
16565 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
16566 int result;
16567 PyObject * obj0 = 0 ;
16568 char *kwnames[] = {
16569 (char *) "self", NULL
16570 };
16571
16572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail;
16573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16574 {
16575 PyThreadState* __tstate = wxPyBeginAllowThreads();
16576 result = (int)((wxMenuEvent const *)arg1)->GetMenuId();
16577
16578 wxPyEndAllowThreads(__tstate);
16579 if (PyErr_Occurred()) SWIG_fail;
16580 }
994141e6 16581 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
16582 return resultobj;
16583 fail:
16584 return NULL;
16585}
16586
16587
16588static PyObject *_wrap_MenuEvent_IsPopup(PyObject *self, PyObject *args, PyObject *kwargs) {
16589 PyObject *resultobj;
16590 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
16591 bool result;
16592 PyObject * obj0 = 0 ;
16593 char *kwnames[] = {
16594 (char *) "self", NULL
16595 };
16596
16597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail;
16598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16599 {
16600 PyThreadState* __tstate = wxPyBeginAllowThreads();
16601 result = (bool)((wxMenuEvent const *)arg1)->IsPopup();
16602
16603 wxPyEndAllowThreads(__tstate);
16604 if (PyErr_Occurred()) SWIG_fail;
16605 }
4d5c3d91 16606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16607 return resultobj;
16608 fail:
16609 return NULL;
16610}
16611
16612
16613static PyObject *_wrap_MenuEvent_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
16614 PyObject *resultobj;
16615 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
16616 wxMenu *result;
16617 PyObject * obj0 = 0 ;
16618 char *kwnames[] = {
16619 (char *) "self", NULL
16620 };
16621
16622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail;
16623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16624 {
16625 PyThreadState* __tstate = wxPyBeginAllowThreads();
16626 result = (wxMenu *)((wxMenuEvent const *)arg1)->GetMenu();
16627
16628 wxPyEndAllowThreads(__tstate);
16629 if (PyErr_Occurred()) SWIG_fail;
16630 }
16631 {
16632 resultobj = wxPyMake_wxObject(result);
16633 }
16634 return resultobj;
16635 fail:
16636 return NULL;
16637}
16638
16639
16640static PyObject * MenuEvent_swigregister(PyObject *self, PyObject *args) {
16641 PyObject *obj;
16642 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16643 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj);
16644 Py_INCREF(obj);
16645 return Py_BuildValue((char *)"");
16646}
16647static PyObject *_wrap_new_CloseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16648 PyObject *resultobj;
16649 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16650 int arg2 = (int) 0 ;
16651 wxCloseEvent *result;
994141e6
RD
16652 PyObject * obj0 = 0 ;
16653 PyObject * obj1 = 0 ;
d14a1e28
RD
16654 char *kwnames[] = {
16655 (char *) "type",(char *) "winid", NULL
16656 };
16657
994141e6
RD
16658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CloseEvent",kwnames,&obj0,&obj1)) goto fail;
16659 if (obj0) {
16660 {
16661 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
16662 if (PyErr_Occurred()) SWIG_fail;
16663 }
16664 }
16665 if (obj1) {
16666 {
16667 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16668 if (PyErr_Occurred()) SWIG_fail;
16669 }
16670 }
d14a1e28
RD
16671 {
16672 PyThreadState* __tstate = wxPyBeginAllowThreads();
16673 result = (wxCloseEvent *)new wxCloseEvent(arg1,arg2);
16674
16675 wxPyEndAllowThreads(__tstate);
16676 if (PyErr_Occurred()) SWIG_fail;
16677 }
16678 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCloseEvent, 1);
16679 return resultobj;
16680 fail:
16681 return NULL;
16682}
16683
16684
16685static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
16686 PyObject *resultobj;
16687 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
16688 bool arg2 ;
16689 PyObject * obj0 = 0 ;
16690 PyObject * obj1 = 0 ;
16691 char *kwnames[] = {
16692 (char *) "self",(char *) "logOff", NULL
16693 };
16694
16695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail;
16696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 16697 {
994141e6 16698 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
16699 if (PyErr_Occurred()) SWIG_fail;
16700 }
d14a1e28
RD
16701 {
16702 PyThreadState* __tstate = wxPyBeginAllowThreads();
16703 (arg1)->SetLoggingOff(arg2);
16704
16705 wxPyEndAllowThreads(__tstate);
16706 if (PyErr_Occurred()) SWIG_fail;
16707 }
16708 Py_INCREF(Py_None); resultobj = Py_None;
16709 return resultobj;
16710 fail:
16711 return NULL;
16712}
16713
16714
16715static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
16716 PyObject *resultobj;
16717 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
16718 bool result;
16719 PyObject * obj0 = 0 ;
16720 char *kwnames[] = {
16721 (char *) "self", NULL
16722 };
16723
16724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail;
16725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16726 {
16727 PyThreadState* __tstate = wxPyBeginAllowThreads();
16728 result = (bool)((wxCloseEvent const *)arg1)->GetLoggingOff();
16729
16730 wxPyEndAllowThreads(__tstate);
16731 if (PyErr_Occurred()) SWIG_fail;
16732 }
4d5c3d91 16733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16734 return resultobj;
16735 fail:
16736 return NULL;
16737}
16738
16739
16740static PyObject *_wrap_CloseEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
16741 PyObject *resultobj;
16742 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
e811c8ce 16743 bool arg2 = (bool) True ;
d14a1e28
RD
16744 PyObject * obj0 = 0 ;
16745 PyObject * obj1 = 0 ;
16746 char *kwnames[] = {
16747 (char *) "self",(char *) "veto", NULL
16748 };
16749
16750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail;
16751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16752 if (obj1) {
a41e16b6 16753 {
994141e6 16754 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
16755 if (PyErr_Occurred()) SWIG_fail;
16756 }
d14a1e28
RD
16757 }
16758 {
16759 PyThreadState* __tstate = wxPyBeginAllowThreads();
16760 (arg1)->Veto(arg2);
16761
16762 wxPyEndAllowThreads(__tstate);
16763 if (PyErr_Occurred()) SWIG_fail;
16764 }
16765 Py_INCREF(Py_None); resultobj = Py_None;
16766 return resultobj;
16767 fail:
16768 return NULL;
16769}
16770
16771
16772static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
16773 PyObject *resultobj;
16774 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
16775 bool arg2 ;
16776 PyObject * obj0 = 0 ;
16777 PyObject * obj1 = 0 ;
16778 char *kwnames[] = {
16779 (char *) "self",(char *) "canVeto", NULL
16780 };
16781
16782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
16783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 16784 {
994141e6 16785 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
16786 if (PyErr_Occurred()) SWIG_fail;
16787 }
d14a1e28
RD
16788 {
16789 PyThreadState* __tstate = wxPyBeginAllowThreads();
16790 (arg1)->SetCanVeto(arg2);
16791
16792 wxPyEndAllowThreads(__tstate);
16793 if (PyErr_Occurred()) SWIG_fail;
16794 }
16795 Py_INCREF(Py_None); resultobj = Py_None;
16796 return resultobj;
16797 fail:
16798 return NULL;
16799}
16800
16801
16802static PyObject *_wrap_CloseEvent_CanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
16803 PyObject *resultobj;
16804 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
16805 bool result;
16806 PyObject * obj0 = 0 ;
16807 char *kwnames[] = {
16808 (char *) "self", NULL
16809 };
16810
16811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
16812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16813 {
16814 PyThreadState* __tstate = wxPyBeginAllowThreads();
16815 result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
16816
16817 wxPyEndAllowThreads(__tstate);
16818 if (PyErr_Occurred()) SWIG_fail;
16819 }
4d5c3d91 16820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16821 return resultobj;
16822 fail:
16823 return NULL;
16824}
16825
16826
16827static PyObject *_wrap_CloseEvent_GetVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
16828 PyObject *resultobj;
16829 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
16830 bool result;
16831 PyObject * obj0 = 0 ;
16832 char *kwnames[] = {
16833 (char *) "self", NULL
16834 };
16835
16836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
16837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16838 {
16839 PyThreadState* __tstate = wxPyBeginAllowThreads();
16840 result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
16841
16842 wxPyEndAllowThreads(__tstate);
16843 if (PyErr_Occurred()) SWIG_fail;
16844 }
4d5c3d91 16845 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16846 return resultobj;
16847 fail:
16848 return NULL;
16849}
16850
16851
16852static PyObject * CloseEvent_swigregister(PyObject *self, PyObject *args) {
16853 PyObject *obj;
16854 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16855 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj);
16856 Py_INCREF(obj);
16857 return Py_BuildValue((char *)"");
16858}
16859static PyObject *_wrap_new_ShowEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16860 PyObject *resultobj;
16861 int arg1 = (int) 0 ;
e811c8ce 16862 bool arg2 = (bool) False ;
d14a1e28 16863 wxShowEvent *result;
994141e6 16864 PyObject * obj0 = 0 ;
d14a1e28
RD
16865 PyObject * obj1 = 0 ;
16866 char *kwnames[] = {
16867 (char *) "winid",(char *) "show", NULL
16868 };
16869
994141e6
RD
16870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ShowEvent",kwnames,&obj0,&obj1)) goto fail;
16871 if (obj0) {
16872 {
16873 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16874 if (PyErr_Occurred()) SWIG_fail;
16875 }
16876 }
d14a1e28 16877 if (obj1) {
a41e16b6 16878 {
994141e6 16879 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
16880 if (PyErr_Occurred()) SWIG_fail;
16881 }
d14a1e28
RD
16882 }
16883 {
16884 PyThreadState* __tstate = wxPyBeginAllowThreads();
16885 result = (wxShowEvent *)new wxShowEvent(arg1,arg2);
16886
16887 wxPyEndAllowThreads(__tstate);
16888 if (PyErr_Occurred()) SWIG_fail;
16889 }
16890 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxShowEvent, 1);
16891 return resultobj;
16892 fail:
16893 return NULL;
16894}
16895
16896
16897static PyObject *_wrap_ShowEvent_SetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
16898 PyObject *resultobj;
16899 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
16900 bool arg2 ;
16901 PyObject * obj0 = 0 ;
16902 PyObject * obj1 = 0 ;
16903 char *kwnames[] = {
16904 (char *) "self",(char *) "show", NULL
16905 };
16906
16907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail;
16908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 16909 {
994141e6 16910 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
16911 if (PyErr_Occurred()) SWIG_fail;
16912 }
d14a1e28
RD
16913 {
16914 PyThreadState* __tstate = wxPyBeginAllowThreads();
16915 (arg1)->SetShow(arg2);
16916
16917 wxPyEndAllowThreads(__tstate);
16918 if (PyErr_Occurred()) SWIG_fail;
16919 }
16920 Py_INCREF(Py_None); resultobj = Py_None;
16921 return resultobj;
16922 fail:
16923 return NULL;
16924}
16925
16926
16927static PyObject *_wrap_ShowEvent_GetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
16928 PyObject *resultobj;
16929 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
16930 bool result;
16931 PyObject * obj0 = 0 ;
16932 char *kwnames[] = {
16933 (char *) "self", NULL
16934 };
16935
16936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail;
16937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16938 {
16939 PyThreadState* __tstate = wxPyBeginAllowThreads();
16940 result = (bool)((wxShowEvent const *)arg1)->GetShow();
16941
16942 wxPyEndAllowThreads(__tstate);
16943 if (PyErr_Occurred()) SWIG_fail;
16944 }
4d5c3d91 16945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16946 return resultobj;
16947 fail:
16948 return NULL;
16949}
16950
16951
16952static PyObject * ShowEvent_swigregister(PyObject *self, PyObject *args) {
16953 PyObject *obj;
16954 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16955 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj);
16956 Py_INCREF(obj);
16957 return Py_BuildValue((char *)"");
16958}
16959static PyObject *_wrap_new_IconizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16960 PyObject *resultobj;
16961 int arg1 = (int) 0 ;
e811c8ce 16962 bool arg2 = (bool) True ;
d14a1e28 16963 wxIconizeEvent *result;
994141e6 16964 PyObject * obj0 = 0 ;
d14a1e28
RD
16965 PyObject * obj1 = 0 ;
16966 char *kwnames[] = {
16967 (char *) "id",(char *) "iconized", NULL
16968 };
16969
994141e6
RD
16970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconizeEvent",kwnames,&obj0,&obj1)) goto fail;
16971 if (obj0) {
16972 {
16973 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16974 if (PyErr_Occurred()) SWIG_fail;
16975 }
16976 }
d14a1e28 16977 if (obj1) {
a41e16b6 16978 {
994141e6 16979 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
16980 if (PyErr_Occurred()) SWIG_fail;
16981 }
d14a1e28
RD
16982 }
16983 {
16984 PyThreadState* __tstate = wxPyBeginAllowThreads();
16985 result = (wxIconizeEvent *)new wxIconizeEvent(arg1,arg2);
16986
16987 wxPyEndAllowThreads(__tstate);
16988 if (PyErr_Occurred()) SWIG_fail;
16989 }
16990 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIconizeEvent, 1);
16991 return resultobj;
16992 fail:
16993 return NULL;
16994}
16995
16996
16997static PyObject *_wrap_IconizeEvent_Iconized(PyObject *self, PyObject *args, PyObject *kwargs) {
16998 PyObject *resultobj;
16999 wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
17000 bool result;
17001 PyObject * obj0 = 0 ;
17002 char *kwnames[] = {
17003 (char *) "self", NULL
17004 };
17005
17006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail;
17007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIconizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17008 {
17009 PyThreadState* __tstate = wxPyBeginAllowThreads();
17010 result = (bool)(arg1)->Iconized();
17011
17012 wxPyEndAllowThreads(__tstate);
17013 if (PyErr_Occurred()) SWIG_fail;
17014 }
4d5c3d91 17015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17016 return resultobj;
17017 fail:
17018 return NULL;
17019}
17020
17021
17022static PyObject * IconizeEvent_swigregister(PyObject *self, PyObject *args) {
17023 PyObject *obj;
17024 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17025 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj);
17026 Py_INCREF(obj);
17027 return Py_BuildValue((char *)"");
17028}
17029static PyObject *_wrap_new_MaximizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17030 PyObject *resultobj;
17031 int arg1 = (int) 0 ;
17032 wxMaximizeEvent *result;
994141e6 17033 PyObject * obj0 = 0 ;
d14a1e28
RD
17034 char *kwnames[] = {
17035 (char *) "id", NULL
17036 };
17037
994141e6
RD
17038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MaximizeEvent",kwnames,&obj0)) goto fail;
17039 if (obj0) {
17040 {
17041 arg1 = (int) SWIG_PyObj_AsInt(obj0);
17042 if (PyErr_Occurred()) SWIG_fail;
17043 }
17044 }
d14a1e28
RD
17045 {
17046 PyThreadState* __tstate = wxPyBeginAllowThreads();
17047 result = (wxMaximizeEvent *)new wxMaximizeEvent(arg1);
17048
17049 wxPyEndAllowThreads(__tstate);
17050 if (PyErr_Occurred()) SWIG_fail;
17051 }
17052 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMaximizeEvent, 1);
17053 return resultobj;
17054 fail:
17055 return NULL;
17056}
17057
17058
17059static PyObject * MaximizeEvent_swigregister(PyObject *self, PyObject *args) {
17060 PyObject *obj;
17061 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17062 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj);
17063 Py_INCREF(obj);
17064 return Py_BuildValue((char *)"");
17065}
17066static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17067 PyObject *resultobj;
17068 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17069 wxPoint result;
17070 PyObject * obj0 = 0 ;
17071 char *kwnames[] = {
17072 (char *) "self", NULL
17073 };
17074
17075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail;
17076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDropFilesEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17077 {
17078 PyThreadState* __tstate = wxPyBeginAllowThreads();
17079 result = (arg1)->GetPosition();
17080
17081 wxPyEndAllowThreads(__tstate);
17082 if (PyErr_Occurred()) SWIG_fail;
17083 }
17084 {
17085 wxPoint * resultptr;
17086 resultptr = new wxPoint((wxPoint &) result);
17087 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17088 }
17089 return resultobj;
17090 fail:
17091 return NULL;
17092}
17093
17094
17095static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
17096 PyObject *resultobj;
17097 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17098 int result;
17099 PyObject * obj0 = 0 ;
17100 char *kwnames[] = {
17101 (char *) "self", NULL
17102 };
17103
17104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail;
17105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDropFilesEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17106 {
17107 PyThreadState* __tstate = wxPyBeginAllowThreads();
17108 result = (int)(arg1)->GetNumberOfFiles();
17109
17110 wxPyEndAllowThreads(__tstate);
17111 if (PyErr_Occurred()) SWIG_fail;
17112 }
994141e6 17113 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
17114 return resultobj;
17115 fail:
17116 return NULL;
17117}
17118
17119
17120static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
17121 PyObject *resultobj;
17122 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17123 PyObject *result;
17124 PyObject * obj0 = 0 ;
17125 char *kwnames[] = {
17126 (char *) "self", NULL
17127 };
17128
17129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail;
17130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDropFilesEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17131 {
17132 PyThreadState* __tstate = wxPyBeginAllowThreads();
17133 result = (PyObject *)wxDropFilesEvent_GetFiles(arg1);
17134
17135 wxPyEndAllowThreads(__tstate);
17136 if (PyErr_Occurred()) SWIG_fail;
17137 }
17138 resultobj = result;
17139 return resultobj;
17140 fail:
17141 return NULL;
17142}
17143
17144
17145static PyObject * DropFilesEvent_swigregister(PyObject *self, PyObject *args) {
17146 PyObject *obj;
17147 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17148 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj);
17149 Py_INCREF(obj);
17150 return Py_BuildValue((char *)"");
17151}
17152static PyObject *_wrap_new_UpdateUIEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17153 PyObject *resultobj;
e811c8ce 17154 int arg1 = (int) 0 ;
d14a1e28 17155 wxUpdateUIEvent *result;
994141e6 17156 PyObject * obj0 = 0 ;
d14a1e28
RD
17157 char *kwnames[] = {
17158 (char *) "commandId", NULL
17159 };
17160
994141e6
RD
17161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_UpdateUIEvent",kwnames,&obj0)) goto fail;
17162 if (obj0) {
17163 {
17164 arg1 = (int) SWIG_PyObj_AsInt(obj0);
17165 if (PyErr_Occurred()) SWIG_fail;
17166 }
17167 }
d14a1e28
RD
17168 {
17169 PyThreadState* __tstate = wxPyBeginAllowThreads();
17170 result = (wxUpdateUIEvent *)new wxUpdateUIEvent(arg1);
17171
17172 wxPyEndAllowThreads(__tstate);
17173 if (PyErr_Occurred()) SWIG_fail;
17174 }
17175 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxUpdateUIEvent, 1);
17176 return resultobj;
17177 fail:
17178 return NULL;
17179}
17180
17181
17182static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
17183 PyObject *resultobj;
17184 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17185 bool result;
17186 PyObject * obj0 = 0 ;
17187 char *kwnames[] = {
17188 (char *) "self", NULL
17189 };
17190
17191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail;
17192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17193 {
17194 PyThreadState* __tstate = wxPyBeginAllowThreads();
17195 result = (bool)((wxUpdateUIEvent const *)arg1)->GetChecked();
17196
17197 wxPyEndAllowThreads(__tstate);
17198 if (PyErr_Occurred()) SWIG_fail;
17199 }
4d5c3d91 17200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17201 return resultobj;
17202 fail:
17203 return NULL;
17204}
17205
17206
17207static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17208 PyObject *resultobj;
17209 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17210 bool result;
17211 PyObject * obj0 = 0 ;
17212 char *kwnames[] = {
17213 (char *) "self", NULL
17214 };
17215
17216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail;
17217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17218 {
17219 PyThreadState* __tstate = wxPyBeginAllowThreads();
17220 result = (bool)((wxUpdateUIEvent const *)arg1)->GetEnabled();
17221
17222 wxPyEndAllowThreads(__tstate);
17223 if (PyErr_Occurred()) SWIG_fail;
17224 }
4d5c3d91 17225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17226 return resultobj;
17227 fail:
17228 return NULL;
17229}
17230
17231
17232static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17233 PyObject *resultobj;
17234 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17235 wxString result;
17236 PyObject * obj0 = 0 ;
17237 char *kwnames[] = {
17238 (char *) "self", NULL
17239 };
17240
17241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail;
17242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17243 {
17244 PyThreadState* __tstate = wxPyBeginAllowThreads();
17245 result = ((wxUpdateUIEvent const *)arg1)->GetText();
17246
17247 wxPyEndAllowThreads(__tstate);
17248 if (PyErr_Occurred()) SWIG_fail;
17249 }
17250 {
17251#if wxUSE_UNICODE
17252 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17253#else
17254 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17255#endif
17256 }
17257 return resultobj;
17258 fail:
17259 return NULL;
17260}
17261
17262
17263static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17264 PyObject *resultobj;
17265 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17266 bool result;
17267 PyObject * obj0 = 0 ;
17268 char *kwnames[] = {
17269 (char *) "self", NULL
17270 };
17271
17272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail;
17273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17274 {
17275 PyThreadState* __tstate = wxPyBeginAllowThreads();
17276 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetText();
17277
17278 wxPyEndAllowThreads(__tstate);
17279 if (PyErr_Occurred()) SWIG_fail;
17280 }
4d5c3d91 17281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17282 return resultobj;
17283 fail:
17284 return NULL;
17285}
17286
17287
17288static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
17289 PyObject *resultobj;
17290 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17291 bool result;
17292 PyObject * obj0 = 0 ;
17293 char *kwnames[] = {
17294 (char *) "self", NULL
17295 };
17296
17297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail;
17298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17299 {
17300 PyThreadState* __tstate = wxPyBeginAllowThreads();
17301 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetChecked();
17302
17303 wxPyEndAllowThreads(__tstate);
17304 if (PyErr_Occurred()) SWIG_fail;
17305 }
4d5c3d91 17306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17307 return resultobj;
17308 fail:
17309 return NULL;
17310}
17311
17312
17313static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17314 PyObject *resultobj;
17315 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17316 bool result;
17317 PyObject * obj0 = 0 ;
17318 char *kwnames[] = {
17319 (char *) "self", NULL
17320 };
17321
17322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail;
17323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17324 {
17325 PyThreadState* __tstate = wxPyBeginAllowThreads();
17326 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetEnabled();
17327
17328 wxPyEndAllowThreads(__tstate);
17329 if (PyErr_Occurred()) SWIG_fail;
17330 }
4d5c3d91 17331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17332 return resultobj;
17333 fail:
17334 return NULL;
17335}
17336
17337
17338static PyObject *_wrap_UpdateUIEvent_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
17339 PyObject *resultobj;
17340 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17341 bool arg2 ;
17342 PyObject * obj0 = 0 ;
17343 PyObject * obj1 = 0 ;
17344 char *kwnames[] = {
17345 (char *) "self",(char *) "check", NULL
17346 };
17347
17348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail;
17349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 17350 {
994141e6 17351 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
17352 if (PyErr_Occurred()) SWIG_fail;
17353 }
d14a1e28
RD
17354 {
17355 PyThreadState* __tstate = wxPyBeginAllowThreads();
17356 (arg1)->Check(arg2);
17357
17358 wxPyEndAllowThreads(__tstate);
17359 if (PyErr_Occurred()) SWIG_fail;
17360 }
17361 Py_INCREF(Py_None); resultobj = Py_None;
17362 return resultobj;
17363 fail:
17364 return NULL;
17365}
17366
17367
17368static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
17369 PyObject *resultobj;
17370 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17371 bool arg2 ;
17372 PyObject * obj0 = 0 ;
17373 PyObject * obj1 = 0 ;
17374 char *kwnames[] = {
17375 (char *) "self",(char *) "enable", NULL
17376 };
17377
17378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail;
17379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 17380 {
994141e6 17381 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
17382 if (PyErr_Occurred()) SWIG_fail;
17383 }
d14a1e28
RD
17384 {
17385 PyThreadState* __tstate = wxPyBeginAllowThreads();
17386 (arg1)->Enable(arg2);
17387
17388 wxPyEndAllowThreads(__tstate);
17389 if (PyErr_Occurred()) SWIG_fail;
17390 }
17391 Py_INCREF(Py_None); resultobj = Py_None;
17392 return resultobj;
17393 fail:
17394 return NULL;
17395}
17396
17397
17398static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17399 PyObject *resultobj;
17400 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17401 wxString *arg2 = 0 ;
e811c8ce 17402 bool temp2 = False ;
d14a1e28
RD
17403 PyObject * obj0 = 0 ;
17404 PyObject * obj1 = 0 ;
17405 char *kwnames[] = {
17406 (char *) "self",(char *) "text", NULL
17407 };
17408
17409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
17410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17411 {
17412 arg2 = wxString_in_helper(obj1);
17413 if (arg2 == NULL) SWIG_fail;
e811c8ce 17414 temp2 = True;
d14a1e28
RD
17415 }
17416 {
17417 PyThreadState* __tstate = wxPyBeginAllowThreads();
17418 (arg1)->SetText((wxString const &)*arg2);
17419
17420 wxPyEndAllowThreads(__tstate);
17421 if (PyErr_Occurred()) SWIG_fail;
17422 }
17423 Py_INCREF(Py_None); resultobj = Py_None;
17424 {
17425 if (temp2)
17426 delete arg2;
17427 }
17428 return resultobj;
17429 fail:
17430 {
17431 if (temp2)
17432 delete arg2;
17433 }
17434 return NULL;
17435}
17436
17437
17438static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
17439 PyObject *resultobj;
17440 long arg1 ;
994141e6 17441 PyObject * obj0 = 0 ;
d14a1e28
RD
17442 char *kwnames[] = {
17443 (char *) "updateInterval", NULL
17444 };
17445
994141e6
RD
17446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames,&obj0)) goto fail;
17447 {
17448 arg1 = (long) SWIG_PyObj_AsLong(obj0);
17449 if (PyErr_Occurred()) SWIG_fail;
17450 }
d14a1e28
RD
17451 {
17452 PyThreadState* __tstate = wxPyBeginAllowThreads();
17453 wxUpdateUIEvent::SetUpdateInterval(arg1);
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_UpdateUIEvent_GetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
17466 PyObject *resultobj;
17467 long result;
17468 char *kwnames[] = {
17469 NULL
17470 };
17471
17472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail;
17473 {
17474 PyThreadState* __tstate = wxPyBeginAllowThreads();
17475 result = (long)wxUpdateUIEvent::GetUpdateInterval();
17476
17477 wxPyEndAllowThreads(__tstate);
17478 if (PyErr_Occurred()) SWIG_fail;
17479 }
994141e6 17480 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
17481 return resultobj;
17482 fail:
17483 return NULL;
17484}
17485
17486
17487static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *self, PyObject *args, PyObject *kwargs) {
17488 PyObject *resultobj;
17489 wxWindow *arg1 = (wxWindow *) 0 ;
17490 bool result;
17491 PyObject * obj0 = 0 ;
17492 char *kwnames[] = {
17493 (char *) "win", NULL
17494 };
17495
17496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail;
17497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17498 {
17499 PyThreadState* __tstate = wxPyBeginAllowThreads();
17500 result = (bool)wxUpdateUIEvent::CanUpdate(arg1);
17501
17502 wxPyEndAllowThreads(__tstate);
17503 if (PyErr_Occurred()) SWIG_fail;
17504 }
4d5c3d91 17505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17506 return resultobj;
17507 fail:
17508 return NULL;
17509}
17510
17511
17512static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17513 PyObject *resultobj;
17514 char *kwnames[] = {
17515 NULL
17516 };
17517
17518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail;
17519 {
17520 PyThreadState* __tstate = wxPyBeginAllowThreads();
17521 wxUpdateUIEvent::ResetUpdateTime();
17522
17523 wxPyEndAllowThreads(__tstate);
17524 if (PyErr_Occurred()) SWIG_fail;
17525 }
17526 Py_INCREF(Py_None); resultobj = Py_None;
17527 return resultobj;
17528 fail:
17529 return NULL;
17530}
17531
17532
17533static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17534 PyObject *resultobj;
17535 int arg1 ;
994141e6 17536 PyObject * obj0 = 0 ;
d14a1e28
RD
17537 char *kwnames[] = {
17538 (char *) "mode", NULL
17539 };
17540
994141e6
RD
17541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetMode",kwnames,&obj0)) goto fail;
17542 {
17543 arg1 = (wxUpdateUIMode) SWIG_PyObj_AsInt(obj0);
17544 if (PyErr_Occurred()) SWIG_fail;
17545 }
d14a1e28
RD
17546 {
17547 PyThreadState* __tstate = wxPyBeginAllowThreads();
17548 wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1);
17549
17550 wxPyEndAllowThreads(__tstate);
17551 if (PyErr_Occurred()) SWIG_fail;
17552 }
17553 Py_INCREF(Py_None); resultobj = Py_None;
17554 return resultobj;
17555 fail:
17556 return NULL;
17557}
17558
17559
17560static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17561 PyObject *resultobj;
17562 int result;
17563 char *kwnames[] = {
17564 NULL
17565 };
17566
17567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail;
17568 {
17569 PyThreadState* __tstate = wxPyBeginAllowThreads();
17570 result = (int)wxUpdateUIEvent::GetMode();
17571
17572 wxPyEndAllowThreads(__tstate);
17573 if (PyErr_Occurred()) SWIG_fail;
17574 }
994141e6 17575 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
17576 return resultobj;
17577 fail:
17578 return NULL;
17579}
17580
17581
17582static PyObject * UpdateUIEvent_swigregister(PyObject *self, PyObject *args) {
17583 PyObject *obj;
17584 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17585 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj);
17586 Py_INCREF(obj);
17587 return Py_BuildValue((char *)"");
17588}
17589static PyObject *_wrap_new_SysColourChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17590 PyObject *resultobj;
17591 wxSysColourChangedEvent *result;
17592 char *kwnames[] = {
17593 NULL
17594 };
17595
17596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail;
17597 {
17598 PyThreadState* __tstate = wxPyBeginAllowThreads();
17599 result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent();
17600
17601 wxPyEndAllowThreads(__tstate);
17602 if (PyErr_Occurred()) SWIG_fail;
17603 }
17604 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSysColourChangedEvent, 1);
17605 return resultobj;
17606 fail:
17607 return NULL;
17608}
17609
17610
17611static PyObject * SysColourChangedEvent_swigregister(PyObject *self, PyObject *args) {
17612 PyObject *obj;
17613 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17614 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj);
17615 Py_INCREF(obj);
17616 return Py_BuildValue((char *)"");
17617}
17618static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17619 PyObject *resultobj;
e811c8ce 17620 int arg1 = (int) 0 ;
d14a1e28
RD
17621 wxWindow *arg2 = (wxWindow *) NULL ;
17622 wxMouseCaptureChangedEvent *result;
994141e6 17623 PyObject * obj0 = 0 ;
d14a1e28
RD
17624 PyObject * obj1 = 0 ;
17625 char *kwnames[] = {
17626 (char *) "winid",(char *) "gainedCapture", NULL
17627 };
17628
994141e6
RD
17629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames,&obj0,&obj1)) goto fail;
17630 if (obj0) {
17631 {
17632 arg1 = (int) SWIG_PyObj_AsInt(obj0);
17633 if (PyErr_Occurred()) SWIG_fail;
17634 }
17635 }
d14a1e28
RD
17636 if (obj1) {
17637 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17638 }
17639 {
17640 PyThreadState* __tstate = wxPyBeginAllowThreads();
17641 result = (wxMouseCaptureChangedEvent *)new wxMouseCaptureChangedEvent(arg1,arg2);
17642
17643 wxPyEndAllowThreads(__tstate);
17644 if (PyErr_Occurred()) SWIG_fail;
17645 }
17646 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseCaptureChangedEvent, 1);
17647 return resultobj;
17648 fail:
17649 return NULL;
17650}
17651
17652
17653static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17654 PyObject *resultobj;
17655 wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
17656 wxWindow *result;
17657 PyObject * obj0 = 0 ;
17658 char *kwnames[] = {
17659 (char *) "self", NULL
17660 };
17661
17662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail;
17663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseCaptureChangedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17664 {
17665 PyThreadState* __tstate = wxPyBeginAllowThreads();
17666 result = (wxWindow *)((wxMouseCaptureChangedEvent const *)arg1)->GetCapturedWindow();
17667
17668 wxPyEndAllowThreads(__tstate);
17669 if (PyErr_Occurred()) SWIG_fail;
17670 }
17671 {
17672 resultobj = wxPyMake_wxObject(result);
17673 }
17674 return resultobj;
17675 fail:
17676 return NULL;
17677}
17678
17679
17680static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *self, PyObject *args) {
17681 PyObject *obj;
17682 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17683 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj);
17684 Py_INCREF(obj);
17685 return Py_BuildValue((char *)"");
17686}
17687static PyObject *_wrap_new_DisplayChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17688 PyObject *resultobj;
17689 wxDisplayChangedEvent *result;
17690 char *kwnames[] = {
17691 NULL
17692 };
17693
17694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail;
17695 {
17696 PyThreadState* __tstate = wxPyBeginAllowThreads();
17697 result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent();
17698
17699 wxPyEndAllowThreads(__tstate);
17700 if (PyErr_Occurred()) SWIG_fail;
17701 }
17702 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDisplayChangedEvent, 1);
17703 return resultobj;
17704 fail:
17705 return NULL;
17706}
17707
17708
17709static PyObject * DisplayChangedEvent_swigregister(PyObject *self, PyObject *args) {
17710 PyObject *obj;
17711 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17712 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj);
17713 Py_INCREF(obj);
17714 return Py_BuildValue((char *)"");
17715}
17716static PyObject *_wrap_new_PaletteChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17717 PyObject *resultobj;
e811c8ce 17718 int arg1 = (int) 0 ;
d14a1e28 17719 wxPaletteChangedEvent *result;
994141e6 17720 PyObject * obj0 = 0 ;
d14a1e28
RD
17721 char *kwnames[] = {
17722 (char *) "id", NULL
17723 };
17724
994141e6
RD
17725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaletteChangedEvent",kwnames,&obj0)) goto fail;
17726 if (obj0) {
17727 {
17728 arg1 = (int) SWIG_PyObj_AsInt(obj0);
17729 if (PyErr_Occurred()) SWIG_fail;
17730 }
17731 }
d14a1e28
RD
17732 {
17733 PyThreadState* __tstate = wxPyBeginAllowThreads();
17734 result = (wxPaletteChangedEvent *)new wxPaletteChangedEvent(arg1);
17735
17736 wxPyEndAllowThreads(__tstate);
17737 if (PyErr_Occurred()) SWIG_fail;
17738 }
17739 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPaletteChangedEvent, 1);
17740 return resultobj;
17741 fail:
17742 return NULL;
17743}
17744
17745
17746static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17747 PyObject *resultobj;
17748 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
17749 wxWindow *arg2 = (wxWindow *) 0 ;
17750 PyObject * obj0 = 0 ;
17751 PyObject * obj1 = 0 ;
17752 char *kwnames[] = {
17753 (char *) "self",(char *) "win", NULL
17754 };
17755
17756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail;
17757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPaletteChangedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17758 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17759 {
17760 PyThreadState* __tstate = wxPyBeginAllowThreads();
17761 (arg1)->SetChangedWindow(arg2);
17762
17763 wxPyEndAllowThreads(__tstate);
17764 if (PyErr_Occurred()) SWIG_fail;
17765 }
17766 Py_INCREF(Py_None); resultobj = Py_None;
17767 return resultobj;
17768 fail:
17769 return NULL;
17770}
17771
17772
17773static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17774 PyObject *resultobj;
17775 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
17776 wxWindow *result;
17777 PyObject * obj0 = 0 ;
17778 char *kwnames[] = {
17779 (char *) "self", NULL
17780 };
17781
17782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail;
17783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPaletteChangedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17784 {
17785 PyThreadState* __tstate = wxPyBeginAllowThreads();
17786 result = (wxWindow *)(arg1)->GetChangedWindow();
17787
17788 wxPyEndAllowThreads(__tstate);
17789 if (PyErr_Occurred()) SWIG_fail;
17790 }
17791 {
17792 resultobj = wxPyMake_wxObject(result);
17793 }
17794 return resultobj;
17795 fail:
17796 return NULL;
17797}
17798
17799
17800static PyObject * PaletteChangedEvent_swigregister(PyObject *self, PyObject *args) {
17801 PyObject *obj;
17802 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17803 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj);
17804 Py_INCREF(obj);
17805 return Py_BuildValue((char *)"");
17806}
17807static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17808 PyObject *resultobj;
e811c8ce 17809 int arg1 = (int) 0 ;
d14a1e28 17810 wxQueryNewPaletteEvent *result;
994141e6 17811 PyObject * obj0 = 0 ;
d14a1e28
RD
17812 char *kwnames[] = {
17813 (char *) "winid", NULL
17814 };
17815
994141e6
RD
17816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryNewPaletteEvent",kwnames,&obj0)) goto fail;
17817 if (obj0) {
17818 {
17819 arg1 = (int) SWIG_PyObj_AsInt(obj0);
17820 if (PyErr_Occurred()) SWIG_fail;
17821 }
17822 }
d14a1e28
RD
17823 {
17824 PyThreadState* __tstate = wxPyBeginAllowThreads();
17825 result = (wxQueryNewPaletteEvent *)new wxQueryNewPaletteEvent(arg1);
17826
17827 wxPyEndAllowThreads(__tstate);
17828 if (PyErr_Occurred()) SWIG_fail;
17829 }
17830 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryNewPaletteEvent, 1);
17831 return resultobj;
17832 fail:
17833 return NULL;
17834}
17835
17836
17837static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
17838 PyObject *resultobj;
17839 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
17840 bool arg2 ;
17841 PyObject * obj0 = 0 ;
17842 PyObject * obj1 = 0 ;
17843 char *kwnames[] = {
17844 (char *) "self",(char *) "realized", NULL
17845 };
17846
17847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail;
17848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryNewPaletteEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 17849 {
994141e6 17850 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
17851 if (PyErr_Occurred()) SWIG_fail;
17852 }
d14a1e28
RD
17853 {
17854 PyThreadState* __tstate = wxPyBeginAllowThreads();
17855 (arg1)->SetPaletteRealized(arg2);
17856
17857 wxPyEndAllowThreads(__tstate);
17858 if (PyErr_Occurred()) SWIG_fail;
17859 }
17860 Py_INCREF(Py_None); resultobj = Py_None;
17861 return resultobj;
17862 fail:
17863 return NULL;
17864}
17865
17866
17867static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
17868 PyObject *resultobj;
17869 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
17870 bool result;
17871 PyObject * obj0 = 0 ;
17872 char *kwnames[] = {
17873 (char *) "self", NULL
17874 };
17875
17876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail;
17877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryNewPaletteEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17878 {
17879 PyThreadState* __tstate = wxPyBeginAllowThreads();
17880 result = (bool)((wxQueryNewPaletteEvent const *)arg1)->GetPaletteRealized();
17881
17882 wxPyEndAllowThreads(__tstate);
17883 if (PyErr_Occurred()) SWIG_fail;
17884 }
4d5c3d91 17885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17886 return resultobj;
17887 fail:
17888 return NULL;
17889}
17890
17891
17892static PyObject * QueryNewPaletteEvent_swigregister(PyObject *self, PyObject *args) {
17893 PyObject *obj;
17894 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17895 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj);
17896 Py_INCREF(obj);
17897 return Py_BuildValue((char *)"");
17898}
17899static PyObject *_wrap_new_NavigationKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17900 PyObject *resultobj;
17901 wxNavigationKeyEvent *result;
17902 char *kwnames[] = {
17903 NULL
17904 };
17905
17906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail;
17907 {
17908 PyThreadState* __tstate = wxPyBeginAllowThreads();
17909 result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent();
17910
17911 wxPyEndAllowThreads(__tstate);
17912 if (PyErr_Occurred()) SWIG_fail;
17913 }
17914 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNavigationKeyEvent, 1);
17915 return resultobj;
17916 fail:
17917 return NULL;
17918}
17919
17920
17921static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
17922 PyObject *resultobj;
17923 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
17924 bool result;
17925 PyObject * obj0 = 0 ;
17926 char *kwnames[] = {
17927 (char *) "self", NULL
17928 };
17929
17930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail;
17931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17932 {
17933 PyThreadState* __tstate = wxPyBeginAllowThreads();
17934 result = (bool)((wxNavigationKeyEvent const *)arg1)->GetDirection();
17935
17936 wxPyEndAllowThreads(__tstate);
17937 if (PyErr_Occurred()) SWIG_fail;
17938 }
4d5c3d91 17939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17940 return resultobj;
17941 fail:
17942 return NULL;
17943}
17944
17945
17946static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
17947 PyObject *resultobj;
17948 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
17949 bool arg2 ;
17950 PyObject * obj0 = 0 ;
17951 PyObject * obj1 = 0 ;
17952 char *kwnames[] = {
17953 (char *) "self",(char *) "bForward", NULL
17954 };
17955
17956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail;
17957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 17958 {
994141e6 17959 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
17960 if (PyErr_Occurred()) SWIG_fail;
17961 }
d14a1e28
RD
17962 {
17963 PyThreadState* __tstate = wxPyBeginAllowThreads();
17964 (arg1)->SetDirection(arg2);
17965
17966 wxPyEndAllowThreads(__tstate);
17967 if (PyErr_Occurred()) SWIG_fail;
17968 }
17969 Py_INCREF(Py_None); resultobj = Py_None;
17970 return resultobj;
17971 fail:
17972 return NULL;
17973}
17974
17975
17976static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
17977 PyObject *resultobj;
17978 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
17979 bool result;
17980 PyObject * obj0 = 0 ;
17981 char *kwnames[] = {
17982 (char *) "self", NULL
17983 };
17984
17985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail;
17986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17987 {
17988 PyThreadState* __tstate = wxPyBeginAllowThreads();
17989 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsWindowChange();
17990
17991 wxPyEndAllowThreads(__tstate);
17992 if (PyErr_Occurred()) SWIG_fail;
17993 }
4d5c3d91 17994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17995 return resultobj;
17996 fail:
17997 return NULL;
17998}
17999
18000
18001static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
18002 PyObject *resultobj;
18003 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18004 bool arg2 ;
18005 PyObject * obj0 = 0 ;
18006 PyObject * obj1 = 0 ;
18007 char *kwnames[] = {
18008 (char *) "self",(char *) "bIs", NULL
18009 };
18010
18011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail;
18012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 18013 {
994141e6 18014 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
18015 if (PyErr_Occurred()) SWIG_fail;
18016 }
d14a1e28
RD
18017 {
18018 PyThreadState* __tstate = wxPyBeginAllowThreads();
18019 (arg1)->SetWindowChange(arg2);
18020
18021 wxPyEndAllowThreads(__tstate);
18022 if (PyErr_Occurred()) SWIG_fail;
18023 }
18024 Py_INCREF(Py_None); resultobj = Py_None;
18025 return resultobj;
18026 fail:
18027 return NULL;
18028}
18029
18030
18031static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
18032 PyObject *resultobj;
18033 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18034 wxWindow *result;
18035 PyObject * obj0 = 0 ;
18036 char *kwnames[] = {
18037 (char *) "self", NULL
18038 };
18039
18040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail;
18041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18042 {
18043 PyThreadState* __tstate = wxPyBeginAllowThreads();
18044 result = (wxWindow *)((wxNavigationKeyEvent const *)arg1)->GetCurrentFocus();
18045
18046 wxPyEndAllowThreads(__tstate);
18047 if (PyErr_Occurred()) SWIG_fail;
18048 }
18049 {
18050 resultobj = wxPyMake_wxObject(result);
18051 }
18052 return resultobj;
18053 fail:
18054 return NULL;
18055}
18056
18057
18058static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
18059 PyObject *resultobj;
18060 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18061 wxWindow *arg2 = (wxWindow *) 0 ;
18062 PyObject * obj0 = 0 ;
18063 PyObject * obj1 = 0 ;
18064 char *kwnames[] = {
18065 (char *) "self",(char *) "win", NULL
18066 };
18067
18068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail;
18069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18070 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18071 {
18072 PyThreadState* __tstate = wxPyBeginAllowThreads();
18073 (arg1)->SetCurrentFocus(arg2);
18074
18075 wxPyEndAllowThreads(__tstate);
18076 if (PyErr_Occurred()) SWIG_fail;
18077 }
18078 Py_INCREF(Py_None); resultobj = Py_None;
18079 return resultobj;
18080 fail:
18081 return NULL;
18082}
18083
18084
18085static PyObject * NavigationKeyEvent_swigregister(PyObject *self, PyObject *args) {
18086 PyObject *obj;
18087 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18088 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj);
18089 Py_INCREF(obj);
18090 return Py_BuildValue((char *)"");
18091}
18092static PyObject *_wrap_new_WindowCreateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18093 PyObject *resultobj;
18094 wxWindow *arg1 = (wxWindow *) NULL ;
18095 wxWindowCreateEvent *result;
18096 PyObject * obj0 = 0 ;
18097 char *kwnames[] = {
18098 (char *) "win", NULL
18099 };
18100
18101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail;
18102 if (obj0) {
18103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18104 }
18105 {
18106 PyThreadState* __tstate = wxPyBeginAllowThreads();
18107 result = (wxWindowCreateEvent *)new wxWindowCreateEvent(arg1);
18108
18109 wxPyEndAllowThreads(__tstate);
18110 if (PyErr_Occurred()) SWIG_fail;
18111 }
18112 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowCreateEvent, 1);
18113 return resultobj;
18114 fail:
18115 return NULL;
18116}
18117
18118
18119static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18120 PyObject *resultobj;
18121 wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
18122 wxWindow *result;
18123 PyObject * obj0 = 0 ;
18124 char *kwnames[] = {
18125 (char *) "self", NULL
18126 };
18127
18128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail;
18129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowCreateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18130 {
18131 PyThreadState* __tstate = wxPyBeginAllowThreads();
18132 result = (wxWindow *)((wxWindowCreateEvent const *)arg1)->GetWindow();
18133
18134 wxPyEndAllowThreads(__tstate);
18135 if (PyErr_Occurred()) SWIG_fail;
18136 }
18137 {
18138 resultobj = wxPyMake_wxObject(result);
18139 }
18140 return resultobj;
18141 fail:
18142 return NULL;
18143}
18144
18145
18146static PyObject * WindowCreateEvent_swigregister(PyObject *self, PyObject *args) {
18147 PyObject *obj;
18148 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18149 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj);
18150 Py_INCREF(obj);
18151 return Py_BuildValue((char *)"");
18152}
18153static PyObject *_wrap_new_WindowDestroyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18154 PyObject *resultobj;
18155 wxWindow *arg1 = (wxWindow *) NULL ;
18156 wxWindowDestroyEvent *result;
18157 PyObject * obj0 = 0 ;
18158 char *kwnames[] = {
18159 (char *) "win", NULL
18160 };
18161
18162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail;
18163 if (obj0) {
18164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18165 }
18166 {
18167 PyThreadState* __tstate = wxPyBeginAllowThreads();
18168 result = (wxWindowDestroyEvent *)new wxWindowDestroyEvent(arg1);
18169
18170 wxPyEndAllowThreads(__tstate);
18171 if (PyErr_Occurred()) SWIG_fail;
18172 }
18173 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowDestroyEvent, 1);
18174 return resultobj;
18175 fail:
18176 return NULL;
18177}
18178
18179
18180static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18181 PyObject *resultobj;
18182 wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
18183 wxWindow *result;
18184 PyObject * obj0 = 0 ;
18185 char *kwnames[] = {
18186 (char *) "self", NULL
18187 };
18188
18189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail;
18190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowDestroyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18191 {
18192 PyThreadState* __tstate = wxPyBeginAllowThreads();
18193 result = (wxWindow *)((wxWindowDestroyEvent const *)arg1)->GetWindow();
18194
18195 wxPyEndAllowThreads(__tstate);
18196 if (PyErr_Occurred()) SWIG_fail;
18197 }
18198 {
18199 resultobj = wxPyMake_wxObject(result);
18200 }
18201 return resultobj;
18202 fail:
18203 return NULL;
18204}
18205
18206
18207static PyObject * WindowDestroyEvent_swigregister(PyObject *self, PyObject *args) {
18208 PyObject *obj;
18209 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18210 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj);
18211 Py_INCREF(obj);
18212 return Py_BuildValue((char *)"");
18213}
18214static PyObject *_wrap_new_ContextMenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18215 PyObject *resultobj;
18216 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 18217 int arg2 = (int) 0 ;
d14a1e28
RD
18218 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18219 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18220 wxContextMenuEvent *result;
18221 wxPoint temp3 ;
994141e6
RD
18222 PyObject * obj0 = 0 ;
18223 PyObject * obj1 = 0 ;
d14a1e28
RD
18224 PyObject * obj2 = 0 ;
18225 char *kwnames[] = {
18226 (char *) "type",(char *) "winid",(char *) "pt", NULL
18227 };
18228
994141e6
RD
18229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ContextMenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
18230 if (obj0) {
18231 {
18232 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
18233 if (PyErr_Occurred()) SWIG_fail;
18234 }
18235 }
18236 if (obj1) {
18237 {
18238 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18239 if (PyErr_Occurred()) SWIG_fail;
18240 }
18241 }
d14a1e28
RD
18242 if (obj2) {
18243 {
18244 arg3 = &temp3;
18245 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18246 }
18247 }
18248 {
18249 PyThreadState* __tstate = wxPyBeginAllowThreads();
18250 result = (wxContextMenuEvent *)new wxContextMenuEvent(arg1,arg2,(wxPoint const &)*arg3);
18251
18252 wxPyEndAllowThreads(__tstate);
18253 if (PyErr_Occurred()) SWIG_fail;
18254 }
18255 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextMenuEvent, 1);
18256 return resultobj;
18257 fail:
18258 return NULL;
18259}
18260
18261
18262static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18263 PyObject *resultobj;
18264 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
18265 wxPoint *result;
18266 PyObject * obj0 = 0 ;
18267 char *kwnames[] = {
18268 (char *) "self", NULL
18269 };
18270
18271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail;
18272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18273 {
18274 PyThreadState* __tstate = wxPyBeginAllowThreads();
18275 {
18276 wxPoint const &_result_ref = ((wxContextMenuEvent const *)arg1)->GetPosition();
18277 result = (wxPoint *) &_result_ref;
18278 }
18279
18280 wxPyEndAllowThreads(__tstate);
18281 if (PyErr_Occurred()) SWIG_fail;
18282 }
18283 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
18284 return resultobj;
18285 fail:
18286 return NULL;
18287}
18288
18289
18290static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18291 PyObject *resultobj;
18292 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
18293 wxPoint *arg2 = 0 ;
18294 wxPoint temp2 ;
18295 PyObject * obj0 = 0 ;
18296 PyObject * obj1 = 0 ;
18297 char *kwnames[] = {
18298 (char *) "self",(char *) "pos", NULL
18299 };
18300
18301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
18302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18303 {
18304 arg2 = &temp2;
18305 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18306 }
18307 {
18308 PyThreadState* __tstate = wxPyBeginAllowThreads();
18309 (arg1)->SetPosition((wxPoint const &)*arg2);
18310
18311 wxPyEndAllowThreads(__tstate);
18312 if (PyErr_Occurred()) SWIG_fail;
18313 }
18314 Py_INCREF(Py_None); resultobj = Py_None;
18315 return resultobj;
18316 fail:
18317 return NULL;
18318}
18319
18320
18321static PyObject * ContextMenuEvent_swigregister(PyObject *self, PyObject *args) {
18322 PyObject *obj;
18323 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18324 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj);
18325 Py_INCREF(obj);
18326 return Py_BuildValue((char *)"");
18327}
18328static PyObject *_wrap_new_IdleEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18329 PyObject *resultobj;
18330 wxIdleEvent *result;
18331 char *kwnames[] = {
18332 NULL
18333 };
18334
18335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail;
18336 {
18337 PyThreadState* __tstate = wxPyBeginAllowThreads();
18338 result = (wxIdleEvent *)new wxIdleEvent();
18339
18340 wxPyEndAllowThreads(__tstate);
18341 if (PyErr_Occurred()) SWIG_fail;
18342 }
18343 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIdleEvent, 1);
18344 return resultobj;
18345 fail:
18346 return NULL;
18347}
18348
18349
18350static PyObject *_wrap_IdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) {
18351 PyObject *resultobj;
18352 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
e811c8ce 18353 bool arg2 = (bool) True ;
d14a1e28
RD
18354 PyObject * obj0 = 0 ;
18355 PyObject * obj1 = 0 ;
18356 char *kwnames[] = {
18357 (char *) "self",(char *) "needMore", NULL
18358 };
18359
18360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail;
18361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIdleEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18362 if (obj1) {
a41e16b6 18363 {
994141e6 18364 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
18365 if (PyErr_Occurred()) SWIG_fail;
18366 }
d14a1e28
RD
18367 }
18368 {
18369 PyThreadState* __tstate = wxPyBeginAllowThreads();
18370 (arg1)->RequestMore(arg2);
18371
18372 wxPyEndAllowThreads(__tstate);
18373 if (PyErr_Occurred()) SWIG_fail;
18374 }
18375 Py_INCREF(Py_None); resultobj = Py_None;
18376 return resultobj;
18377 fail:
18378 return NULL;
18379}
18380
18381
18382static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *self, PyObject *args, PyObject *kwargs) {
18383 PyObject *resultobj;
18384 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
18385 bool result;
18386 PyObject * obj0 = 0 ;
18387 char *kwnames[] = {
18388 (char *) "self", NULL
18389 };
18390
18391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail;
18392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIdleEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18393 {
18394 PyThreadState* __tstate = wxPyBeginAllowThreads();
18395 result = (bool)((wxIdleEvent const *)arg1)->MoreRequested();
18396
18397 wxPyEndAllowThreads(__tstate);
18398 if (PyErr_Occurred()) SWIG_fail;
18399 }
4d5c3d91 18400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18401 return resultobj;
18402 fail:
18403 return NULL;
18404}
18405
18406
18407static PyObject *_wrap_IdleEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18408 PyObject *resultobj;
18409 int arg1 ;
994141e6 18410 PyObject * obj0 = 0 ;
d14a1e28
RD
18411 char *kwnames[] = {
18412 (char *) "mode", NULL
18413 };
18414
994141e6
RD
18415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_SetMode",kwnames,&obj0)) goto fail;
18416 {
18417 arg1 = (wxIdleMode) SWIG_PyObj_AsInt(obj0);
18418 if (PyErr_Occurred()) SWIG_fail;
18419 }
d14a1e28
RD
18420 {
18421 PyThreadState* __tstate = wxPyBeginAllowThreads();
18422 wxIdleEvent::SetMode((wxIdleMode )arg1);
18423
18424 wxPyEndAllowThreads(__tstate);
18425 if (PyErr_Occurred()) SWIG_fail;
18426 }
18427 Py_INCREF(Py_None); resultobj = Py_None;
18428 return resultobj;
18429 fail:
18430 return NULL;
18431}
18432
18433
18434static PyObject *_wrap_IdleEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18435 PyObject *resultobj;
18436 int result;
18437 char *kwnames[] = {
18438 NULL
18439 };
18440
18441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail;
18442 {
18443 PyThreadState* __tstate = wxPyBeginAllowThreads();
18444 result = (int)wxIdleEvent::GetMode();
18445
18446 wxPyEndAllowThreads(__tstate);
18447 if (PyErr_Occurred()) SWIG_fail;
18448 }
994141e6 18449 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
18450 return resultobj;
18451 fail:
18452 return NULL;
18453}
18454
18455
18456static PyObject *_wrap_IdleEvent_CanSend(PyObject *self, PyObject *args, PyObject *kwargs) {
18457 PyObject *resultobj;
18458 wxWindow *arg1 = (wxWindow *) 0 ;
18459 bool result;
18460 PyObject * obj0 = 0 ;
18461 char *kwnames[] = {
18462 (char *) "win", NULL
18463 };
18464
18465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail;
18466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18467 {
18468 PyThreadState* __tstate = wxPyBeginAllowThreads();
18469 result = (bool)wxIdleEvent::CanSend(arg1);
18470
18471 wxPyEndAllowThreads(__tstate);
18472 if (PyErr_Occurred()) SWIG_fail;
18473 }
4d5c3d91 18474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18475 return resultobj;
18476 fail:
18477 return NULL;
18478}
18479
18480
18481static PyObject * IdleEvent_swigregister(PyObject *self, PyObject *args) {
18482 PyObject *obj;
18483 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18484 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj);
18485 Py_INCREF(obj);
18486 return Py_BuildValue((char *)"");
18487}
18488static PyObject *_wrap_new_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18489 PyObject *resultobj;
18490 int arg1 = (int) 0 ;
18491 wxEventType arg2 = (wxEventType) wxEVT_NULL ;
18492 wxPyEvent *result;
994141e6
RD
18493 PyObject * obj0 = 0 ;
18494 PyObject * obj1 = 0 ;
d14a1e28
RD
18495 char *kwnames[] = {
18496 (char *) "winid",(char *) "commandType", NULL
18497 };
18498
994141e6
RD
18499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail;
18500 if (obj0) {
18501 {
18502 arg1 = (int) SWIG_PyObj_AsInt(obj0);
18503 if (PyErr_Occurred()) SWIG_fail;
18504 }
18505 }
18506 if (obj1) {
18507 {
18508 arg2 = (wxEventType) SWIG_PyObj_AsInt(obj1);
18509 if (PyErr_Occurred()) SWIG_fail;
18510 }
18511 }
d14a1e28
RD
18512 {
18513 PyThreadState* __tstate = wxPyBeginAllowThreads();
18514 result = (wxPyEvent *)new wxPyEvent(arg1,arg2);
18515
18516 wxPyEndAllowThreads(__tstate);
18517 if (PyErr_Occurred()) SWIG_fail;
18518 }
18519 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyEvent, 1);
18520 return resultobj;
18521 fail:
18522 return NULL;
18523}
18524
18525
18526static PyObject *_wrap_delete_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18527 PyObject *resultobj;
18528 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
18529 PyObject * obj0 = 0 ;
18530 char *kwnames[] = {
18531 (char *) "self", NULL
18532 };
18533
18534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail;
18535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18536 {
18537 PyThreadState* __tstate = wxPyBeginAllowThreads();
18538 delete arg1;
18539
18540 wxPyEndAllowThreads(__tstate);
18541 if (PyErr_Occurred()) SWIG_fail;
18542 }
18543 Py_INCREF(Py_None); resultobj = Py_None;
18544 return resultobj;
18545 fail:
18546 return NULL;
18547}
18548
18549
18550static PyObject *_wrap_PyEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
18551 PyObject *resultobj;
18552 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
18553 PyObject *arg2 = (PyObject *) 0 ;
18554 PyObject * obj0 = 0 ;
18555 PyObject * obj1 = 0 ;
18556 char *kwnames[] = {
18557 (char *) "self",(char *) "self", NULL
18558 };
18559
18560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
18561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18562 arg2 = obj1;
18563 {
18564 PyThreadState* __tstate = wxPyBeginAllowThreads();
18565 (arg1)->SetSelf(arg2);
18566
18567 wxPyEndAllowThreads(__tstate);
18568 if (PyErr_Occurred()) SWIG_fail;
18569 }
18570 Py_INCREF(Py_None); resultobj = Py_None;
18571 return resultobj;
18572 fail:
18573 return NULL;
18574}
18575
18576
18577static PyObject *_wrap_PyEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
18578 PyObject *resultobj;
18579 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
18580 PyObject *result;
18581 PyObject * obj0 = 0 ;
18582 char *kwnames[] = {
18583 (char *) "self", NULL
18584 };
18585
18586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
18587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18588 {
18589 PyThreadState* __tstate = wxPyBeginAllowThreads();
18590 result = (PyObject *)(arg1)->GetSelf();
18591
18592 wxPyEndAllowThreads(__tstate);
18593 if (PyErr_Occurred()) SWIG_fail;
18594 }
18595 resultobj = result;
18596 return resultobj;
18597 fail:
18598 return NULL;
18599}
18600
18601
18602static PyObject * PyEvent_swigregister(PyObject *self, PyObject *args) {
18603 PyObject *obj;
18604 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18605 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj);
18606 Py_INCREF(obj);
18607 return Py_BuildValue((char *)"");
18608}
18609static PyObject *_wrap_new_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18610 PyObject *resultobj;
18611 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18612 int arg2 = (int) 0 ;
18613 wxPyCommandEvent *result;
994141e6
RD
18614 PyObject * obj0 = 0 ;
18615 PyObject * obj1 = 0 ;
d14a1e28
RD
18616 char *kwnames[] = {
18617 (char *) "commandType",(char *) "id", NULL
18618 };
18619
994141e6
RD
18620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail;
18621 if (obj0) {
18622 {
18623 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
18624 if (PyErr_Occurred()) SWIG_fail;
18625 }
18626 }
18627 if (obj1) {
18628 {
18629 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18630 if (PyErr_Occurred()) SWIG_fail;
18631 }
18632 }
d14a1e28
RD
18633 {
18634 PyThreadState* __tstate = wxPyBeginAllowThreads();
18635 result = (wxPyCommandEvent *)new wxPyCommandEvent(arg1,arg2);
18636
18637 wxPyEndAllowThreads(__tstate);
18638 if (PyErr_Occurred()) SWIG_fail;
18639 }
18640 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyCommandEvent, 1);
18641 return resultobj;
18642 fail:
18643 return NULL;
18644}
18645
18646
18647static PyObject *_wrap_delete_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18648 PyObject *resultobj;
18649 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
18650 PyObject * obj0 = 0 ;
18651 char *kwnames[] = {
18652 (char *) "self", NULL
18653 };
18654
18655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail;
18656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18657 {
18658 PyThreadState* __tstate = wxPyBeginAllowThreads();
18659 delete arg1;
18660
18661 wxPyEndAllowThreads(__tstate);
18662 if (PyErr_Occurred()) SWIG_fail;
18663 }
18664 Py_INCREF(Py_None); resultobj = Py_None;
18665 return resultobj;
18666 fail:
18667 return NULL;
18668}
18669
18670
18671static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
18672 PyObject *resultobj;
18673 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
18674 PyObject *arg2 = (PyObject *) 0 ;
18675 PyObject * obj0 = 0 ;
18676 PyObject * obj1 = 0 ;
18677 char *kwnames[] = {
18678 (char *) "self",(char *) "self", NULL
18679 };
18680
18681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
18682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18683 arg2 = obj1;
18684 {
18685 PyThreadState* __tstate = wxPyBeginAllowThreads();
18686 (arg1)->SetSelf(arg2);
18687
18688 wxPyEndAllowThreads(__tstate);
18689 if (PyErr_Occurred()) SWIG_fail;
18690 }
18691 Py_INCREF(Py_None); resultobj = Py_None;
18692 return resultobj;
18693 fail:
18694 return NULL;
18695}
18696
18697
18698static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
18699 PyObject *resultobj;
18700 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
18701 PyObject *result;
18702 PyObject * obj0 = 0 ;
18703 char *kwnames[] = {
18704 (char *) "self", NULL
18705 };
18706
18707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
18708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18709 {
18710 PyThreadState* __tstate = wxPyBeginAllowThreads();
18711 result = (PyObject *)(arg1)->GetSelf();
18712
18713 wxPyEndAllowThreads(__tstate);
18714 if (PyErr_Occurred()) SWIG_fail;
18715 }
18716 resultobj = result;
18717 return resultobj;
18718 fail:
18719 return NULL;
18720}
18721
18722
18723static PyObject * PyCommandEvent_swigregister(PyObject *self, PyObject *args) {
18724 PyObject *obj;
18725 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18726 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj);
18727 Py_INCREF(obj);
18728 return Py_BuildValue((char *)"");
18729}
18730static PyObject *_wrap_new_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
18731 PyObject *resultobj;
18732 wxPyApp *result;
18733 char *kwnames[] = {
18734 NULL
18735 };
18736
18737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail;
18738 {
18739 PyThreadState* __tstate = wxPyBeginAllowThreads();
18740 result = (wxPyApp *)new_wxPyApp();
18741
18742 wxPyEndAllowThreads(__tstate);
18743 if (PyErr_Occurred()) SWIG_fail;
18744 }
18745 {
18746 resultobj = wxPyMake_wxObject(result);
18747 }
18748 return resultobj;
18749 fail:
18750 return NULL;
18751}
18752
18753
18754static PyObject *_wrap_delete_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
18755 PyObject *resultobj;
18756 wxPyApp *arg1 = (wxPyApp *) 0 ;
18757 PyObject * obj0 = 0 ;
18758 char *kwnames[] = {
18759 (char *) "self", NULL
18760 };
18761
18762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail;
18763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18764 {
18765 PyThreadState* __tstate = wxPyBeginAllowThreads();
18766 delete arg1;
18767
18768 wxPyEndAllowThreads(__tstate);
18769 if (PyErr_Occurred()) SWIG_fail;
18770 }
18771 Py_INCREF(Py_None); resultobj = Py_None;
18772 return resultobj;
18773 fail:
18774 return NULL;
18775}
18776
18777
18778static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18779 PyObject *resultobj;
18780 wxPyApp *arg1 = (wxPyApp *) 0 ;
18781 PyObject *arg2 = (PyObject *) 0 ;
18782 PyObject *arg3 = (PyObject *) 0 ;
18783 PyObject * obj0 = 0 ;
18784 PyObject * obj1 = 0 ;
18785 PyObject * obj2 = 0 ;
18786 char *kwnames[] = {
18787 (char *) "self",(char *) "self",(char *) "_class", NULL
18788 };
18789
18790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18792 arg2 = obj1;
18793 arg3 = obj2;
18794 {
18795 PyThreadState* __tstate = wxPyBeginAllowThreads();
18796 (arg1)->_setCallbackInfo(arg2,arg3);
18797
18798 wxPyEndAllowThreads(__tstate);
18799 if (PyErr_Occurred()) SWIG_fail;
18800 }
18801 Py_INCREF(Py_None); resultobj = Py_None;
18802 return resultobj;
18803 fail:
18804 return NULL;
18805}
18806
18807
18808static PyObject *_wrap_PyApp_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
18809 PyObject *resultobj;
18810 wxPyApp *arg1 = (wxPyApp *) 0 ;
18811 wxString result;
18812 PyObject * obj0 = 0 ;
18813 char *kwnames[] = {
18814 (char *) "self", NULL
18815 };
18816
18817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail;
18818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18819 {
18820 PyThreadState* __tstate = wxPyBeginAllowThreads();
18821 result = ((wxPyApp const *)arg1)->GetAppName();
18822
18823 wxPyEndAllowThreads(__tstate);
18824 if (PyErr_Occurred()) SWIG_fail;
18825 }
18826 {
18827#if wxUSE_UNICODE
18828 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18829#else
18830 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18831#endif
18832 }
18833 return resultobj;
18834 fail:
18835 return NULL;
18836}
18837
18838
18839static PyObject *_wrap_PyApp_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
18840 PyObject *resultobj;
18841 wxPyApp *arg1 = (wxPyApp *) 0 ;
18842 wxString *arg2 = 0 ;
e811c8ce 18843 bool temp2 = False ;
d14a1e28
RD
18844 PyObject * obj0 = 0 ;
18845 PyObject * obj1 = 0 ;
18846 char *kwnames[] = {
18847 (char *) "self",(char *) "name", NULL
18848 };
18849
18850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail;
18851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18852 {
18853 arg2 = wxString_in_helper(obj1);
18854 if (arg2 == NULL) SWIG_fail;
e811c8ce 18855 temp2 = True;
d14a1e28
RD
18856 }
18857 {
18858 PyThreadState* __tstate = wxPyBeginAllowThreads();
18859 (arg1)->SetAppName((wxString const &)*arg2);
18860
18861 wxPyEndAllowThreads(__tstate);
18862 if (PyErr_Occurred()) SWIG_fail;
18863 }
18864 Py_INCREF(Py_None); resultobj = Py_None;
18865 {
18866 if (temp2)
18867 delete arg2;
18868 }
18869 return resultobj;
18870 fail:
18871 {
18872 if (temp2)
18873 delete arg2;
18874 }
18875 return NULL;
18876}
18877
18878
18879static PyObject *_wrap_PyApp_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
18880 PyObject *resultobj;
18881 wxPyApp *arg1 = (wxPyApp *) 0 ;
18882 wxString result;
18883 PyObject * obj0 = 0 ;
18884 char *kwnames[] = {
18885 (char *) "self", NULL
18886 };
18887
18888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail;
18889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18890 {
18891 PyThreadState* __tstate = wxPyBeginAllowThreads();
18892 result = ((wxPyApp const *)arg1)->GetClassName();
18893
18894 wxPyEndAllowThreads(__tstate);
18895 if (PyErr_Occurred()) SWIG_fail;
18896 }
18897 {
18898#if wxUSE_UNICODE
18899 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18900#else
18901 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18902#endif
18903 }
18904 return resultobj;
18905 fail:
18906 return NULL;
18907}
18908
18909
18910static PyObject *_wrap_PyApp_SetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
18911 PyObject *resultobj;
18912 wxPyApp *arg1 = (wxPyApp *) 0 ;
18913 wxString *arg2 = 0 ;
e811c8ce 18914 bool temp2 = False ;
d14a1e28
RD
18915 PyObject * obj0 = 0 ;
18916 PyObject * obj1 = 0 ;
18917 char *kwnames[] = {
18918 (char *) "self",(char *) "name", NULL
18919 };
18920
18921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail;
18922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18923 {
18924 arg2 = wxString_in_helper(obj1);
18925 if (arg2 == NULL) SWIG_fail;
e811c8ce 18926 temp2 = True;
d14a1e28
RD
18927 }
18928 {
18929 PyThreadState* __tstate = wxPyBeginAllowThreads();
18930 (arg1)->SetClassName((wxString const &)*arg2);
18931
18932 wxPyEndAllowThreads(__tstate);
18933 if (PyErr_Occurred()) SWIG_fail;
18934 }
18935 Py_INCREF(Py_None); resultobj = Py_None;
18936 {
18937 if (temp2)
18938 delete arg2;
18939 }
18940 return resultobj;
18941 fail:
18942 {
18943 if (temp2)
18944 delete arg2;
18945 }
18946 return NULL;
18947}
18948
18949
18950static PyObject *_wrap_PyApp_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
18951 PyObject *resultobj;
18952 wxPyApp *arg1 = (wxPyApp *) 0 ;
18953 wxString *result;
18954 PyObject * obj0 = 0 ;
18955 char *kwnames[] = {
18956 (char *) "self", NULL
18957 };
18958
18959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail;
18960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18961 {
18962 PyThreadState* __tstate = wxPyBeginAllowThreads();
18963 {
18964 wxString const &_result_ref = ((wxPyApp const *)arg1)->GetVendorName();
18965 result = (wxString *) &_result_ref;
18966 }
18967
18968 wxPyEndAllowThreads(__tstate);
18969 if (PyErr_Occurred()) SWIG_fail;
18970 }
cc6dd355
RD
18971 {
18972#if wxUSE_UNICODE
18973 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18974#else
18975 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18976#endif
18977 }
d14a1e28
RD
18978 return resultobj;
18979 fail:
18980 return NULL;
18981}
18982
18983
18984static PyObject *_wrap_PyApp_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
18985 PyObject *resultobj;
18986 wxPyApp *arg1 = (wxPyApp *) 0 ;
18987 wxString *arg2 = 0 ;
e811c8ce 18988 bool temp2 = False ;
d14a1e28
RD
18989 PyObject * obj0 = 0 ;
18990 PyObject * obj1 = 0 ;
18991 char *kwnames[] = {
18992 (char *) "self",(char *) "name", NULL
18993 };
18994
18995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
18996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18997 {
18998 arg2 = wxString_in_helper(obj1);
18999 if (arg2 == NULL) SWIG_fail;
e811c8ce 19000 temp2 = True;
d14a1e28
RD
19001 }
19002 {
19003 PyThreadState* __tstate = wxPyBeginAllowThreads();
19004 (arg1)->SetVendorName((wxString const &)*arg2);
19005
19006 wxPyEndAllowThreads(__tstate);
19007 if (PyErr_Occurred()) SWIG_fail;
19008 }
19009 Py_INCREF(Py_None); resultobj = Py_None;
19010 {
19011 if (temp2)
19012 delete arg2;
19013 }
19014 return resultobj;
19015 fail:
19016 {
19017 if (temp2)
19018 delete arg2;
19019 }
19020 return NULL;
19021}
19022
19023
19024static PyObject *_wrap_PyApp_GetTraits(PyObject *self, PyObject *args, PyObject *kwargs) {
19025 PyObject *resultobj;
19026 wxPyApp *arg1 = (wxPyApp *) 0 ;
19027 wxAppTraits *result;
19028 PyObject * obj0 = 0 ;
19029 char *kwnames[] = {
19030 (char *) "self", NULL
19031 };
19032
19033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail;
19034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19035 {
19036 PyThreadState* __tstate = wxPyBeginAllowThreads();
19037 result = (wxAppTraits *)(arg1)->GetTraits();
19038
19039 wxPyEndAllowThreads(__tstate);
19040 if (PyErr_Occurred()) SWIG_fail;
19041 }
19042 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAppTraits, 0);
19043 return resultobj;
19044 fail:
19045 return NULL;
19046}
19047
19048
19049static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
19050 PyObject *resultobj;
19051 wxPyApp *arg1 = (wxPyApp *) 0 ;
19052 PyObject * obj0 = 0 ;
19053 char *kwnames[] = {
19054 (char *) "self", NULL
19055 };
19056
19057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail;
19058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19059 {
19060 PyThreadState* __tstate = wxPyBeginAllowThreads();
19061 (arg1)->ProcessPendingEvents();
19062
19063 wxPyEndAllowThreads(__tstate);
19064 if (PyErr_Occurred()) SWIG_fail;
19065 }
19066 Py_INCREF(Py_None); resultobj = Py_None;
19067 return resultobj;
19068 fail:
19069 return NULL;
19070}
19071
19072
19073static PyObject *_wrap_PyApp_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
19074 PyObject *resultobj;
19075 wxPyApp *arg1 = (wxPyApp *) 0 ;
e811c8ce 19076 bool arg2 = (bool) False ;
d14a1e28
RD
19077 bool result;
19078 PyObject * obj0 = 0 ;
19079 PyObject * obj1 = 0 ;
19080 char *kwnames[] = {
19081 (char *) "self",(char *) "onlyIfNeeded", NULL
19082 };
19083
19084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail;
19085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19086 if (obj1) {
a41e16b6 19087 {
994141e6 19088 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
19089 if (PyErr_Occurred()) SWIG_fail;
19090 }
d14a1e28
RD
19091 }
19092 {
19093 PyThreadState* __tstate = wxPyBeginAllowThreads();
19094 result = (bool)(arg1)->Yield(arg2);
19095
19096 wxPyEndAllowThreads(__tstate);
19097 if (PyErr_Occurred()) SWIG_fail;
19098 }
4d5c3d91 19099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19100 return resultobj;
19101 fail:
19102 return NULL;
19103}
19104
19105
19106static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
19107 PyObject *resultobj;
19108 wxPyApp *arg1 = (wxPyApp *) 0 ;
19109 PyObject * obj0 = 0 ;
19110 char *kwnames[] = {
19111 (char *) "self", NULL
19112 };
19113
19114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail;
19115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19116 {
19117 PyThreadState* __tstate = wxPyBeginAllowThreads();
19118 (arg1)->WakeUpIdle();
19119
19120 wxPyEndAllowThreads(__tstate);
19121 if (PyErr_Occurred()) SWIG_fail;
19122 }
19123 Py_INCREF(Py_None); resultobj = Py_None;
19124 return resultobj;
19125 fail:
19126 return NULL;
19127}
19128
19129
19130static PyObject *_wrap_PyApp_MainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
19131 PyObject *resultobj;
19132 wxPyApp *arg1 = (wxPyApp *) 0 ;
19133 int result;
19134 PyObject * obj0 = 0 ;
19135 char *kwnames[] = {
19136 (char *) "self", NULL
19137 };
19138
19139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail;
19140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19141 {
19142 PyThreadState* __tstate = wxPyBeginAllowThreads();
19143 result = (int)(arg1)->MainLoop();
19144
19145 wxPyEndAllowThreads(__tstate);
19146 if (PyErr_Occurred()) SWIG_fail;
19147 }
994141e6 19148 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
19149 return resultobj;
19150 fail:
19151 return NULL;
19152}
19153
19154
19155static PyObject *_wrap_PyApp_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
19156 PyObject *resultobj;
19157 wxPyApp *arg1 = (wxPyApp *) 0 ;
19158 PyObject * obj0 = 0 ;
19159 char *kwnames[] = {
19160 (char *) "self", NULL
19161 };
19162
19163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail;
19164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19165 {
19166 PyThreadState* __tstate = wxPyBeginAllowThreads();
19167 (arg1)->Exit();
19168
19169 wxPyEndAllowThreads(__tstate);
19170 if (PyErr_Occurred()) SWIG_fail;
19171 }
19172 Py_INCREF(Py_None); resultobj = Py_None;
19173 return resultobj;
19174 fail:
19175 return NULL;
19176}
19177
19178
19179static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
19180 PyObject *resultobj;
19181 wxPyApp *arg1 = (wxPyApp *) 0 ;
19182 PyObject * obj0 = 0 ;
19183 char *kwnames[] = {
19184 (char *) "self", NULL
19185 };
19186
19187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail;
19188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19189 {
19190 PyThreadState* __tstate = wxPyBeginAllowThreads();
19191 (arg1)->ExitMainLoop();
19192
19193 wxPyEndAllowThreads(__tstate);
19194 if (PyErr_Occurred()) SWIG_fail;
19195 }
19196 Py_INCREF(Py_None); resultobj = Py_None;
19197 return resultobj;
19198 fail:
19199 return NULL;
19200}
19201
19202
19203static PyObject *_wrap_PyApp_Pending(PyObject *self, PyObject *args, PyObject *kwargs) {
19204 PyObject *resultobj;
19205 wxPyApp *arg1 = (wxPyApp *) 0 ;
19206 bool result;
19207 PyObject * obj0 = 0 ;
19208 char *kwnames[] = {
19209 (char *) "self", NULL
19210 };
19211
19212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail;
19213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19214 {
19215 PyThreadState* __tstate = wxPyBeginAllowThreads();
19216 result = (bool)(arg1)->Pending();
19217
19218 wxPyEndAllowThreads(__tstate);
19219 if (PyErr_Occurred()) SWIG_fail;
19220 }
4d5c3d91 19221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19222 return resultobj;
19223 fail:
19224 return NULL;
19225}
19226
19227
19228static PyObject *_wrap_PyApp_Dispatch(PyObject *self, PyObject *args, PyObject *kwargs) {
19229 PyObject *resultobj;
19230 wxPyApp *arg1 = (wxPyApp *) 0 ;
19231 bool result;
19232 PyObject * obj0 = 0 ;
19233 char *kwnames[] = {
19234 (char *) "self", NULL
19235 };
19236
19237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",kwnames,&obj0)) goto fail;
19238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19239 {
19240 PyThreadState* __tstate = wxPyBeginAllowThreads();
19241 result = (bool)(arg1)->Dispatch();
19242
19243 wxPyEndAllowThreads(__tstate);
19244 if (PyErr_Occurred()) SWIG_fail;
19245 }
4d5c3d91 19246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19247 return resultobj;
19248 fail:
19249 return NULL;
19250}
19251
19252
19253static PyObject *_wrap_PyApp_ProcessIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
19254 PyObject *resultobj;
19255 wxPyApp *arg1 = (wxPyApp *) 0 ;
19256 bool result;
19257 PyObject * obj0 = 0 ;
19258 char *kwnames[] = {
19259 (char *) "self", NULL
19260 };
19261
19262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail;
19263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19264 {
19265 PyThreadState* __tstate = wxPyBeginAllowThreads();
19266 result = (bool)(arg1)->ProcessIdle();
19267
19268 wxPyEndAllowThreads(__tstate);
19269 if (PyErr_Occurred()) SWIG_fail;
19270 }
4d5c3d91 19271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19272 return resultobj;
19273 fail:
19274 return NULL;
19275}
19276
19277
19278static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
19279 PyObject *resultobj;
19280 wxPyApp *arg1 = (wxPyApp *) 0 ;
19281 wxWindow *arg2 = (wxWindow *) 0 ;
19282 wxIdleEvent *arg3 = 0 ;
19283 bool result;
19284 PyObject * obj0 = 0 ;
19285 PyObject * obj1 = 0 ;
19286 PyObject * obj2 = 0 ;
19287 char *kwnames[] = {
19288 (char *) "self",(char *) "win",(char *) "event", NULL
19289 };
19290
19291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail;
19292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19293 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19294 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxIdleEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19295 if (arg3 == NULL) {
19296 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19297 }
19298 {
19299 PyThreadState* __tstate = wxPyBeginAllowThreads();
19300 result = (bool)(arg1)->SendIdleEvents(arg2,*arg3);
19301
19302 wxPyEndAllowThreads(__tstate);
19303 if (PyErr_Occurred()) SWIG_fail;
19304 }
4d5c3d91 19305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19306 return resultobj;
19307 fail:
19308 return NULL;
19309}
19310
19311
d14a1e28
RD
19312static PyObject *_wrap_PyApp_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
19313 PyObject *resultobj;
19314 wxPyApp *arg1 = (wxPyApp *) 0 ;
19315 bool result;
19316 PyObject * obj0 = 0 ;
19317 char *kwnames[] = {
19318 (char *) "self", NULL
19319 };
19320
19321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
19322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19323 {
19324 PyThreadState* __tstate = wxPyBeginAllowThreads();
19325 result = (bool)((wxPyApp const *)arg1)->IsActive();
19326
19327 wxPyEndAllowThreads(__tstate);
19328 if (PyErr_Occurred()) SWIG_fail;
19329 }
4d5c3d91 19330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19331 return resultobj;
19332 fail:
19333 return NULL;
19334}
19335
19336
19337static PyObject *_wrap_PyApp_SetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19338 PyObject *resultobj;
19339 wxPyApp *arg1 = (wxPyApp *) 0 ;
19340 wxWindow *arg2 = (wxWindow *) 0 ;
19341 PyObject * obj0 = 0 ;
19342 PyObject * obj1 = 0 ;
19343 char *kwnames[] = {
19344 (char *) "self",(char *) "win", NULL
19345 };
19346
19347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
19348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19349 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19350 {
19351 PyThreadState* __tstate = wxPyBeginAllowThreads();
19352 (arg1)->SetTopWindow(arg2);
19353
19354 wxPyEndAllowThreads(__tstate);
19355 if (PyErr_Occurred()) SWIG_fail;
19356 }
19357 Py_INCREF(Py_None); resultobj = Py_None;
19358 return resultobj;
19359 fail:
19360 return NULL;
19361}
19362
19363
19364static PyObject *_wrap_PyApp_GetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19365 PyObject *resultobj;
19366 wxPyApp *arg1 = (wxPyApp *) 0 ;
19367 wxWindow *result;
19368 PyObject * obj0 = 0 ;
19369 char *kwnames[] = {
19370 (char *) "self", NULL
19371 };
19372
19373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
19374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19375 {
19376 PyThreadState* __tstate = wxPyBeginAllowThreads();
19377 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
19378
19379 wxPyEndAllowThreads(__tstate);
19380 if (PyErr_Occurred()) SWIG_fail;
19381 }
19382 {
19383 resultobj = wxPyMake_wxObject(result);
19384 }
19385 return resultobj;
19386 fail:
19387 return NULL;
19388}
19389
19390
19391static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
19392 PyObject *resultobj;
19393 wxPyApp *arg1 = (wxPyApp *) 0 ;
19394 bool arg2 ;
19395 PyObject * obj0 = 0 ;
19396 PyObject * obj1 = 0 ;
19397 char *kwnames[] = {
19398 (char *) "self",(char *) "flag", NULL
19399 };
19400
19401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
19402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 19403 {
994141e6 19404 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
19405 if (PyErr_Occurred()) SWIG_fail;
19406 }
d14a1e28
RD
19407 {
19408 PyThreadState* __tstate = wxPyBeginAllowThreads();
19409 (arg1)->SetExitOnFrameDelete(arg2);
19410
19411 wxPyEndAllowThreads(__tstate);
19412 if (PyErr_Occurred()) SWIG_fail;
19413 }
19414 Py_INCREF(Py_None); resultobj = Py_None;
19415 return resultobj;
19416 fail:
19417 return NULL;
19418}
19419
19420
19421static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
19422 PyObject *resultobj;
19423 wxPyApp *arg1 = (wxPyApp *) 0 ;
19424 bool result;
19425 PyObject * obj0 = 0 ;
19426 char *kwnames[] = {
19427 (char *) "self", NULL
19428 };
19429
19430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
19431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19432 {
19433 PyThreadState* __tstate = wxPyBeginAllowThreads();
19434 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
19435
19436 wxPyEndAllowThreads(__tstate);
19437 if (PyErr_Occurred()) SWIG_fail;
19438 }
4d5c3d91 19439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19440 return resultobj;
19441 fail:
19442 return NULL;
19443}
19444
19445
19446static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
19447 PyObject *resultobj;
19448 wxPyApp *arg1 = (wxPyApp *) 0 ;
19449 bool arg2 ;
19450 PyObject * obj0 = 0 ;
19451 PyObject * obj1 = 0 ;
19452 char *kwnames[] = {
19453 (char *) "self",(char *) "flag", NULL
19454 };
19455
19456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
19457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 19458 {
994141e6 19459 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
19460 if (PyErr_Occurred()) SWIG_fail;
19461 }
d14a1e28
RD
19462 {
19463 PyThreadState* __tstate = wxPyBeginAllowThreads();
19464 (arg1)->SetUseBestVisual(arg2);
19465
19466 wxPyEndAllowThreads(__tstate);
19467 if (PyErr_Occurred()) SWIG_fail;
19468 }
19469 Py_INCREF(Py_None); resultobj = Py_None;
19470 return resultobj;
19471 fail:
19472 return NULL;
19473}
19474
19475
19476static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
19477 PyObject *resultobj;
19478 wxPyApp *arg1 = (wxPyApp *) 0 ;
19479 bool result;
19480 PyObject * obj0 = 0 ;
19481 char *kwnames[] = {
19482 (char *) "self", NULL
19483 };
19484
19485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
19486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19487 {
19488 PyThreadState* __tstate = wxPyBeginAllowThreads();
19489 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
19490
19491 wxPyEndAllowThreads(__tstate);
19492 if (PyErr_Occurred()) SWIG_fail;
19493 }
4d5c3d91 19494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19495 return resultobj;
19496 fail:
19497 return NULL;
19498}
19499
19500
19501static PyObject *_wrap_PyApp_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19502 PyObject *resultobj;
19503 wxPyApp *arg1 = (wxPyApp *) 0 ;
19504 int arg2 ;
19505 PyObject * obj0 = 0 ;
994141e6 19506 PyObject * obj1 = 0 ;
d14a1e28
RD
19507 char *kwnames[] = {
19508 (char *) "self",(char *) "mode", NULL
19509 };
19510
994141e6 19511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 19512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
19513 {
19514 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19515 if (PyErr_Occurred()) SWIG_fail;
19516 }
d14a1e28
RD
19517 {
19518 PyThreadState* __tstate = wxPyBeginAllowThreads();
19519 (arg1)->SetPrintMode(arg2);
19520
19521 wxPyEndAllowThreads(__tstate);
19522 if (PyErr_Occurred()) SWIG_fail;
19523 }
19524 Py_INCREF(Py_None); resultobj = Py_None;
19525 return resultobj;
19526 fail:
19527 return NULL;
19528}
19529
19530
19531static PyObject *_wrap_PyApp_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19532 PyObject *resultobj;
19533 wxPyApp *arg1 = (wxPyApp *) 0 ;
19534 int result;
19535 PyObject * obj0 = 0 ;
19536 char *kwnames[] = {
19537 (char *) "self", NULL
19538 };
19539
19540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
19541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19542 {
19543 PyThreadState* __tstate = wxPyBeginAllowThreads();
19544 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
19545
19546 wxPyEndAllowThreads(__tstate);
19547 if (PyErr_Occurred()) SWIG_fail;
19548 }
994141e6 19549 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
19550 return resultobj;
19551 fail:
19552 return NULL;
19553}
19554
19555
6c3b4aae 19556static PyObject *_wrap_PyApp_SetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19557 PyObject *resultobj;
19558 wxPyApp *arg1 = (wxPyApp *) 0 ;
6c3b4aae 19559 int arg2 ;
d14a1e28 19560 PyObject * obj0 = 0 ;
994141e6 19561 PyObject * obj1 = 0 ;
d14a1e28 19562 char *kwnames[] = {
6c3b4aae 19563 (char *) "self",(char *) "mode", NULL
d14a1e28
RD
19564 };
19565
994141e6 19566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAssertMode",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 19567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
19568 {
19569 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19570 if (PyErr_Occurred()) SWIG_fail;
19571 }
d14a1e28
RD
19572 {
19573 PyThreadState* __tstate = wxPyBeginAllowThreads();
6c3b4aae 19574 (arg1)->SetAssertMode(arg2);
d14a1e28
RD
19575
19576 wxPyEndAllowThreads(__tstate);
19577 if (PyErr_Occurred()) SWIG_fail;
19578 }
6c3b4aae 19579 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
19580 return resultobj;
19581 fail:
19582 return NULL;
19583}
19584
19585
6c3b4aae 19586static PyObject *_wrap_PyApp_GetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19587 PyObject *resultobj;
19588 wxPyApp *arg1 = (wxPyApp *) 0 ;
6c3b4aae 19589 int result;
d14a1e28
RD
19590 PyObject * obj0 = 0 ;
19591 char *kwnames[] = {
6c3b4aae 19592 (char *) "self", NULL
d14a1e28
RD
19593 };
19594
6c3b4aae 19595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
d14a1e28
RD
19596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19597 {
19598 PyThreadState* __tstate = wxPyBeginAllowThreads();
6c3b4aae 19599 result = (int)(arg1)->GetAssertMode();
d14a1e28
RD
19600
19601 wxPyEndAllowThreads(__tstate);
19602 if (PyErr_Occurred()) SWIG_fail;
19603 }
994141e6 19604 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
19605 return resultobj;
19606 fail:
19607 return NULL;
19608}
19609
19610
19611static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
19612 PyObject *resultobj;
19613 bool result;
19614 char *kwnames[] = {
19615 NULL
19616 };
19617
19618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
19619 {
19620 PyThreadState* __tstate = wxPyBeginAllowThreads();
19621 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
19622
19623 wxPyEndAllowThreads(__tstate);
19624 if (PyErr_Occurred()) SWIG_fail;
19625 }
4d5c3d91 19626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19627 return resultobj;
19628 fail:
19629 return NULL;
19630}
19631
19632
19633static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19634 PyObject *resultobj;
19635 long result;
19636 char *kwnames[] = {
19637 NULL
19638 };
19639
19640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
19641 {
19642 PyThreadState* __tstate = wxPyBeginAllowThreads();
19643 result = (long)wxPyApp::GetMacAboutMenuItemId();
19644
19645 wxPyEndAllowThreads(__tstate);
19646 if (PyErr_Occurred()) SWIG_fail;
19647 }
994141e6 19648 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
19649 return resultobj;
19650 fail:
19651 return NULL;
19652}
19653
19654
19655static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19656 PyObject *resultobj;
19657 long result;
19658 char *kwnames[] = {
19659 NULL
19660 };
19661
19662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
19663 {
19664 PyThreadState* __tstate = wxPyBeginAllowThreads();
19665 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
19666
19667 wxPyEndAllowThreads(__tstate);
19668 if (PyErr_Occurred()) SWIG_fail;
19669 }
994141e6 19670 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
19671 return resultobj;
19672 fail:
19673 return NULL;
19674}
19675
19676
19677static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19678 PyObject *resultobj;
19679 long result;
19680 char *kwnames[] = {
19681 NULL
19682 };
19683
19684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
19685 {
19686 PyThreadState* __tstate = wxPyBeginAllowThreads();
19687 result = (long)wxPyApp::GetMacExitMenuItemId();
19688
19689 wxPyEndAllowThreads(__tstate);
19690 if (PyErr_Occurred()) SWIG_fail;
19691 }
994141e6 19692 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
19693 return resultobj;
19694 fail:
19695 return NULL;
19696}
19697
19698
19699static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
19700 PyObject *resultobj;
19701 wxString result;
19702 char *kwnames[] = {
19703 NULL
19704 };
19705
19706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
19707 {
19708 PyThreadState* __tstate = wxPyBeginAllowThreads();
19709 result = wxPyApp::GetMacHelpMenuTitleName();
19710
19711 wxPyEndAllowThreads(__tstate);
19712 if (PyErr_Occurred()) SWIG_fail;
19713 }
19714 {
19715#if wxUSE_UNICODE
19716 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19717#else
19718 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19719#endif
19720 }
19721 return resultobj;
19722 fail:
19723 return NULL;
19724}
19725
19726
19727static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
19728 PyObject *resultobj;
19729 bool arg1 ;
19730 PyObject * obj0 = 0 ;
19731 char *kwnames[] = {
19732 (char *) "val", NULL
19733 };
19734
19735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
a41e16b6 19736 {
994141e6 19737 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
a41e16b6
RD
19738 if (PyErr_Occurred()) SWIG_fail;
19739 }
d14a1e28
RD
19740 {
19741 PyThreadState* __tstate = wxPyBeginAllowThreads();
19742 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
19743
19744 wxPyEndAllowThreads(__tstate);
19745 if (PyErr_Occurred()) SWIG_fail;
19746 }
19747 Py_INCREF(Py_None); resultobj = Py_None;
19748 return resultobj;
19749 fail:
19750 return NULL;
19751}
19752
19753
19754static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19755 PyObject *resultobj;
19756 long arg1 ;
994141e6 19757 PyObject * obj0 = 0 ;
d14a1e28
RD
19758 char *kwnames[] = {
19759 (char *) "val", NULL
19760 };
19761
994141e6
RD
19762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames,&obj0)) goto fail;
19763 {
19764 arg1 = (long) SWIG_PyObj_AsLong(obj0);
19765 if (PyErr_Occurred()) SWIG_fail;
19766 }
d14a1e28
RD
19767 {
19768 PyThreadState* __tstate = wxPyBeginAllowThreads();
19769 wxPyApp::SetMacAboutMenuItemId(arg1);
19770
19771 wxPyEndAllowThreads(__tstate);
19772 if (PyErr_Occurred()) SWIG_fail;
19773 }
19774 Py_INCREF(Py_None); resultobj = Py_None;
19775 return resultobj;
19776 fail:
19777 return NULL;
19778}
19779
19780
19781static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19782 PyObject *resultobj;
19783 long arg1 ;
994141e6 19784 PyObject * obj0 = 0 ;
d14a1e28
RD
19785 char *kwnames[] = {
19786 (char *) "val", NULL
19787 };
19788
994141e6
RD
19789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames,&obj0)) goto fail;
19790 {
19791 arg1 = (long) SWIG_PyObj_AsLong(obj0);
19792 if (PyErr_Occurred()) SWIG_fail;
19793 }
d14a1e28
RD
19794 {
19795 PyThreadState* __tstate = wxPyBeginAllowThreads();
19796 wxPyApp::SetMacPreferencesMenuItemId(arg1);
19797
19798 wxPyEndAllowThreads(__tstate);
19799 if (PyErr_Occurred()) SWIG_fail;
19800 }
19801 Py_INCREF(Py_None); resultobj = Py_None;
19802 return resultobj;
19803 fail:
19804 return NULL;
19805}
19806
19807
19808static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19809 PyObject *resultobj;
19810 long arg1 ;
994141e6 19811 PyObject * obj0 = 0 ;
d14a1e28
RD
19812 char *kwnames[] = {
19813 (char *) "val", NULL
19814 };
19815
994141e6
RD
19816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames,&obj0)) goto fail;
19817 {
19818 arg1 = (long) SWIG_PyObj_AsLong(obj0);
19819 if (PyErr_Occurred()) SWIG_fail;
19820 }
d14a1e28
RD
19821 {
19822 PyThreadState* __tstate = wxPyBeginAllowThreads();
19823 wxPyApp::SetMacExitMenuItemId(arg1);
19824
19825 wxPyEndAllowThreads(__tstate);
19826 if (PyErr_Occurred()) SWIG_fail;
19827 }
19828 Py_INCREF(Py_None); resultobj = Py_None;
19829 return resultobj;
19830 fail:
19831 return NULL;
19832}
19833
19834
19835static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
19836 PyObject *resultobj;
19837 wxString *arg1 = 0 ;
e811c8ce 19838 bool temp1 = False ;
d14a1e28
RD
19839 PyObject * obj0 = 0 ;
19840 char *kwnames[] = {
19841 (char *) "val", NULL
19842 };
19843
19844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
19845 {
19846 arg1 = wxString_in_helper(obj0);
19847 if (arg1 == NULL) SWIG_fail;
e811c8ce 19848 temp1 = True;
d14a1e28
RD
19849 }
19850 {
19851 PyThreadState* __tstate = wxPyBeginAllowThreads();
19852 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
19853
19854 wxPyEndAllowThreads(__tstate);
19855 if (PyErr_Occurred()) SWIG_fail;
19856 }
19857 Py_INCREF(Py_None); resultobj = Py_None;
19858 {
19859 if (temp1)
19860 delete arg1;
19861 }
19862 return resultobj;
19863 fail:
19864 {
19865 if (temp1)
19866 delete arg1;
19867 }
19868 return NULL;
19869}
19870
19871
19872static PyObject *_wrap_PyApp__BootstrapApp(PyObject *self, PyObject *args, PyObject *kwargs) {
19873 PyObject *resultobj;
19874 wxPyApp *arg1 = (wxPyApp *) 0 ;
19875 PyObject * obj0 = 0 ;
19876 char *kwnames[] = {
19877 (char *) "self", NULL
19878 };
19879
19880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
19881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19882 {
19883 PyThreadState* __tstate = wxPyBeginAllowThreads();
19884 (arg1)->_BootstrapApp();
19885
19886 wxPyEndAllowThreads(__tstate);
19887 if (PyErr_Occurred()) SWIG_fail;
19888 }
19889 Py_INCREF(Py_None); resultobj = Py_None;
19890 return resultobj;
19891 fail:
19892 return NULL;
19893}
19894
19895
19896static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *self, PyObject *args, PyObject *kwargs) {
19897 PyObject *resultobj;
19898 int result;
19899 char *kwnames[] = {
19900 NULL
19901 };
19902
19903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
19904 {
19905 PyThreadState* __tstate = wxPyBeginAllowThreads();
19906 result = (int)PyApp_GetComCtl32Version();
19907
19908 wxPyEndAllowThreads(__tstate);
19909 if (PyErr_Occurred()) SWIG_fail;
19910 }
994141e6 19911 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
19912 return resultobj;
19913 fail:
19914 return NULL;
19915}
19916
19917
19918static PyObject * PyApp_swigregister(PyObject *self, PyObject *args) {
19919 PyObject *obj;
19920 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19921 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
19922 Py_INCREF(obj);
19923 return Py_BuildValue((char *)"");
19924}
19925static PyObject *_wrap_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
19926 PyObject *resultobj;
19927 char *kwnames[] = {
19928 NULL
19929 };
19930
19931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
19932 {
19933 PyThreadState* __tstate = wxPyBeginAllowThreads();
19934 wxExit();
19935
19936 wxPyEndAllowThreads(__tstate);
19937 if (PyErr_Occurred()) SWIG_fail;
19938 }
19939 Py_INCREF(Py_None); resultobj = Py_None;
19940 return resultobj;
19941 fail:
19942 return NULL;
19943}
19944
19945
19946static PyObject *_wrap_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
19947 PyObject *resultobj;
19948 bool result;
19949 char *kwnames[] = {
19950 NULL
19951 };
19952
19953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
19954 {
19955 PyThreadState* __tstate = wxPyBeginAllowThreads();
19956 result = (bool)wxYield();
19957
19958 wxPyEndAllowThreads(__tstate);
19959 if (PyErr_Occurred()) SWIG_fail;
19960 }
4d5c3d91 19961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19962 return resultobj;
19963 fail:
19964 return NULL;
19965}
19966
19967
19968static PyObject *_wrap_YieldIfNeeded(PyObject *self, PyObject *args, PyObject *kwargs) {
19969 PyObject *resultobj;
19970 bool result;
19971 char *kwnames[] = {
19972 NULL
19973 };
19974
19975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
19976 {
19977 PyThreadState* __tstate = wxPyBeginAllowThreads();
19978 result = (bool)wxYieldIfNeeded();
19979
19980 wxPyEndAllowThreads(__tstate);
19981 if (PyErr_Occurred()) SWIG_fail;
19982 }
4d5c3d91 19983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19984 return resultobj;
19985 fail:
19986 return NULL;
19987}
19988
19989
19990static PyObject *_wrap_SafeYield(PyObject *self, PyObject *args, PyObject *kwargs) {
19991 PyObject *resultobj;
19992 wxWindow *arg1 = (wxWindow *) NULL ;
e811c8ce 19993 bool arg2 = (bool) False ;
d14a1e28
RD
19994 bool result;
19995 PyObject * obj0 = 0 ;
19996 PyObject * obj1 = 0 ;
19997 char *kwnames[] = {
19998 (char *) "win",(char *) "onlyIfNeeded", NULL
19999 };
20000
20001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
20002 if (obj0) {
20003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20004 }
20005 if (obj1) {
a41e16b6 20006 {
994141e6 20007 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
20008 if (PyErr_Occurred()) SWIG_fail;
20009 }
d14a1e28
RD
20010 }
20011 {
20012 PyThreadState* __tstate = wxPyBeginAllowThreads();
20013 result = (bool)wxSafeYield(arg1,arg2);
20014
20015 wxPyEndAllowThreads(__tstate);
20016 if (PyErr_Occurred()) SWIG_fail;
20017 }
4d5c3d91 20018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20019 return resultobj;
20020 fail:
20021 return NULL;
20022}
20023
20024
20025static PyObject *_wrap_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
20026 PyObject *resultobj;
20027 char *kwnames[] = {
20028 NULL
20029 };
20030
20031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
20032 {
20033 PyThreadState* __tstate = wxPyBeginAllowThreads();
20034 wxWakeUpIdle();
20035
20036 wxPyEndAllowThreads(__tstate);
20037 if (PyErr_Occurred()) SWIG_fail;
20038 }
20039 Py_INCREF(Py_None); resultobj = Py_None;
20040 return resultobj;
20041 fail:
20042 return NULL;
20043}
20044
20045
20046static PyObject *_wrap_PostEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20047 PyObject *resultobj;
20048 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
20049 wxEvent *arg2 = 0 ;
20050 PyObject * obj0 = 0 ;
20051 PyObject * obj1 = 0 ;
20052 char *kwnames[] = {
20053 (char *) "dest",(char *) "event", NULL
20054 };
20055
20056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
20057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20058 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20059 if (arg2 == NULL) {
20060 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20061 }
20062 {
20063 PyThreadState* __tstate = wxPyBeginAllowThreads();
20064 wxPostEvent(arg1,*arg2);
20065
20066 wxPyEndAllowThreads(__tstate);
20067 if (PyErr_Occurred()) SWIG_fail;
20068 }
20069 Py_INCREF(Py_None); resultobj = Py_None;
20070 return resultobj;
20071 fail:
20072 return NULL;
20073}
20074
20075
20076static PyObject *_wrap_App_CleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
20077 PyObject *resultobj;
20078 char *kwnames[] = {
20079 NULL
20080 };
20081
20082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
20083 {
20084 PyThreadState* __tstate = wxPyBeginAllowThreads();
20085 wxApp_CleanUp();
20086
20087 wxPyEndAllowThreads(__tstate);
20088 if (PyErr_Occurred()) SWIG_fail;
20089 }
20090 Py_INCREF(Py_None); resultobj = Py_None;
20091 return resultobj;
20092 fail:
20093 return NULL;
20094}
20095
20096
20097static PyObject *_wrap_GetApp(PyObject *self, PyObject *args, PyObject *kwargs) {
20098 PyObject *resultobj;
20099 wxPyApp *result;
20100 char *kwnames[] = {
20101 NULL
20102 };
20103
20104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
20105 {
20106 PyThreadState* __tstate = wxPyBeginAllowThreads();
20107 result = (wxPyApp *)wxGetApp();
20108
20109 wxPyEndAllowThreads(__tstate);
20110 if (PyErr_Occurred()) SWIG_fail;
20111 }
20112 {
20113 resultobj = wxPyMake_wxObject(result);
20114 }
20115 return resultobj;
20116 fail:
20117 return NULL;
20118}
20119
20120
1e0c8722
RD
20121static PyObject *_wrap_new_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
20122 PyObject *resultobj;
20123 int arg1 = (int) 0 ;
20124 int arg2 = (int) 0 ;
20125 int arg3 = (int) 0 ;
20126 wxMenuItem *arg4 = (wxMenuItem *) NULL ;
20127 wxAcceleratorEntry *result;
994141e6
RD
20128 PyObject * obj0 = 0 ;
20129 PyObject * obj1 = 0 ;
20130 PyObject * obj2 = 0 ;
1e0c8722
RD
20131 PyObject * obj3 = 0 ;
20132 char *kwnames[] = {
20133 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20134 };
20135
994141e6
RD
20136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_AcceleratorEntry",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20137 if (obj0) {
20138 {
20139 arg1 = (int) SWIG_PyObj_AsInt(obj0);
20140 if (PyErr_Occurred()) SWIG_fail;
20141 }
20142 }
20143 if (obj1) {
20144 {
20145 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20146 if (PyErr_Occurred()) SWIG_fail;
20147 }
20148 }
20149 if (obj2) {
20150 {
20151 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20152 if (PyErr_Occurred()) SWIG_fail;
20153 }
20154 }
1e0c8722
RD
20155 if (obj3) {
20156 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20157 }
20158 {
20159 PyThreadState* __tstate = wxPyBeginAllowThreads();
20160 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3,arg4);
20161
20162 wxPyEndAllowThreads(__tstate);
20163 if (PyErr_Occurred()) SWIG_fail;
20164 }
20165 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 1);
20166 return resultobj;
20167 fail:
20168 return NULL;
20169}
20170
20171
20172static PyObject *_wrap_delete_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
20173 PyObject *resultobj;
20174 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20175 PyObject * obj0 = 0 ;
20176 char *kwnames[] = {
20177 (char *) "self", NULL
20178 };
20179
20180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
20181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20182 {
20183 PyThreadState* __tstate = wxPyBeginAllowThreads();
20184 delete arg1;
20185
20186 wxPyEndAllowThreads(__tstate);
20187 if (PyErr_Occurred()) SWIG_fail;
20188 }
20189 Py_INCREF(Py_None); resultobj = Py_None;
20190 return resultobj;
20191 fail:
20192 return NULL;
20193}
20194
20195
20196static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
20197 PyObject *resultobj;
20198 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20199 int arg2 ;
20200 int arg3 ;
20201 int arg4 ;
20202 wxMenuItem *arg5 = (wxMenuItem *) NULL ;
20203 PyObject * obj0 = 0 ;
994141e6
RD
20204 PyObject * obj1 = 0 ;
20205 PyObject * obj2 = 0 ;
20206 PyObject * obj3 = 0 ;
1e0c8722
RD
20207 PyObject * obj4 = 0 ;
20208 char *kwnames[] = {
20209 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20210 };
20211
994141e6 20212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
1e0c8722 20213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
20214 {
20215 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20216 if (PyErr_Occurred()) SWIG_fail;
20217 }
20218 {
20219 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20220 if (PyErr_Occurred()) SWIG_fail;
20221 }
20222 {
20223 arg4 = (int) SWIG_PyObj_AsInt(obj3);
20224 if (PyErr_Occurred()) SWIG_fail;
20225 }
1e0c8722
RD
20226 if (obj4) {
20227 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20228 }
20229 {
20230 PyThreadState* __tstate = wxPyBeginAllowThreads();
20231 (arg1)->Set(arg2,arg3,arg4,arg5);
20232
20233 wxPyEndAllowThreads(__tstate);
20234 if (PyErr_Occurred()) SWIG_fail;
20235 }
20236 Py_INCREF(Py_None); resultobj = Py_None;
20237 return resultobj;
20238 fail:
20239 return NULL;
20240}
20241
20242
20243static PyObject *_wrap_AcceleratorEntry_SetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20244 PyObject *resultobj;
20245 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20246 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
20247 PyObject * obj0 = 0 ;
20248 PyObject * obj1 = 0 ;
20249 char *kwnames[] = {
20250 (char *) "self",(char *) "item", NULL
20251 };
20252
20253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames,&obj0,&obj1)) goto fail;
20254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20255 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20256 {
20257 PyThreadState* __tstate = wxPyBeginAllowThreads();
20258 (arg1)->SetMenuItem(arg2);
20259
20260 wxPyEndAllowThreads(__tstate);
20261 if (PyErr_Occurred()) SWIG_fail;
20262 }
20263 Py_INCREF(Py_None); resultobj = Py_None;
20264 return resultobj;
20265 fail:
20266 return NULL;
20267}
20268
20269
20270static PyObject *_wrap_AcceleratorEntry_GetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20271 PyObject *resultobj;
20272 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20273 wxMenuItem *result;
20274 PyObject * obj0 = 0 ;
20275 char *kwnames[] = {
20276 (char *) "self", NULL
20277 };
20278
20279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames,&obj0)) goto fail;
20280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20281 {
20282 PyThreadState* __tstate = wxPyBeginAllowThreads();
20283 result = (wxMenuItem *)((wxAcceleratorEntry const *)arg1)->GetMenuItem();
20284
20285 wxPyEndAllowThreads(__tstate);
20286 if (PyErr_Occurred()) SWIG_fail;
20287 }
20288 {
20289 resultobj = wxPyMake_wxObject(result);
20290 }
20291 return resultobj;
20292 fail:
20293 return NULL;
20294}
20295
20296
20297static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
20298 PyObject *resultobj;
20299 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20300 int result;
20301 PyObject * obj0 = 0 ;
20302 char *kwnames[] = {
20303 (char *) "self", NULL
20304 };
20305
20306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
20307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20308 {
20309 PyThreadState* __tstate = wxPyBeginAllowThreads();
20310 result = (int)(arg1)->GetFlags();
20311
20312 wxPyEndAllowThreads(__tstate);
20313 if (PyErr_Occurred()) SWIG_fail;
20314 }
994141e6 20315 resultobj = SWIG_PyObj_FromInt((int)result);
1e0c8722
RD
20316 return resultobj;
20317 fail:
20318 return NULL;
20319}
20320
20321
20322static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20323 PyObject *resultobj;
20324 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20325 int result;
20326 PyObject * obj0 = 0 ;
20327 char *kwnames[] = {
20328 (char *) "self", NULL
20329 };
20330
20331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
20332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20333 {
20334 PyThreadState* __tstate = wxPyBeginAllowThreads();
20335 result = (int)(arg1)->GetKeyCode();
20336
20337 wxPyEndAllowThreads(__tstate);
20338 if (PyErr_Occurred()) SWIG_fail;
20339 }
994141e6 20340 resultobj = SWIG_PyObj_FromInt((int)result);
1e0c8722
RD
20341 return resultobj;
20342 fail:
20343 return NULL;
20344}
20345
20346
20347static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
20348 PyObject *resultobj;
20349 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20350 int result;
20351 PyObject * obj0 = 0 ;
20352 char *kwnames[] = {
20353 (char *) "self", NULL
20354 };
20355
20356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
20357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20358 {
20359 PyThreadState* __tstate = wxPyBeginAllowThreads();
20360 result = (int)(arg1)->GetCommand();
20361
20362 wxPyEndAllowThreads(__tstate);
20363 if (PyErr_Occurred()) SWIG_fail;
20364 }
994141e6 20365 resultobj = SWIG_PyObj_FromInt((int)result);
1e0c8722
RD
20366 return resultobj;
20367 fail:
20368 return NULL;
20369}
20370
20371
20372static PyObject * AcceleratorEntry_swigregister(PyObject *self, PyObject *args) {
20373 PyObject *obj;
20374 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20375 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
20376 Py_INCREF(obj);
20377 return Py_BuildValue((char *)"");
20378}
20379static PyObject *_wrap_new_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
20380 PyObject *resultobj;
20381 int arg1 ;
20382 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
20383 wxAcceleratorTable *result;
20384 PyObject * obj0 = 0 ;
20385 char *kwnames[] = {
20386 (char *) "n", NULL
20387 };
20388
20389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
20390 {
20391 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
20392 if (arg2) arg1 = PyList_Size(obj0);
20393 else arg1 = 0;
20394 }
20395 {
20396 PyThreadState* __tstate = wxPyBeginAllowThreads();
20397 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
20398
20399 wxPyEndAllowThreads(__tstate);
20400 if (PyErr_Occurred()) SWIG_fail;
20401 }
20402 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorTable, 1);
20403 {
20404 delete [] arg2;
20405 }
20406 return resultobj;
20407 fail:
20408 {
20409 delete [] arg2;
20410 }
20411 return NULL;
20412}
20413
20414
20415static PyObject *_wrap_delete_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
20416 PyObject *resultobj;
20417 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
20418 PyObject * obj0 = 0 ;
20419 char *kwnames[] = {
20420 (char *) "self", NULL
20421 };
20422
20423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
20424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20425 {
20426 PyThreadState* __tstate = wxPyBeginAllowThreads();
20427 delete arg1;
20428
20429 wxPyEndAllowThreads(__tstate);
20430 if (PyErr_Occurred()) SWIG_fail;
20431 }
20432 Py_INCREF(Py_None); resultobj = Py_None;
20433 return resultobj;
20434 fail:
20435 return NULL;
20436}
20437
20438
20439static PyObject *_wrap_AcceleratorTable_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20440 PyObject *resultobj;
20441 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
20442 bool result;
20443 PyObject * obj0 = 0 ;
20444 char *kwnames[] = {
20445 (char *) "self", NULL
20446 };
20447
20448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
20449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20450 {
20451 PyThreadState* __tstate = wxPyBeginAllowThreads();
20452 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
20453
20454 wxPyEndAllowThreads(__tstate);
20455 if (PyErr_Occurred()) SWIG_fail;
20456 }
4d5c3d91 20457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1e0c8722
RD
20458 return resultobj;
20459 fail:
20460 return NULL;
20461}
20462
20463
20464static PyObject * AcceleratorTable_swigregister(PyObject *self, PyObject *args) {
20465 PyObject *obj;
20466 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20467 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
20468 Py_INCREF(obj);
20469 return Py_BuildValue((char *)"");
20470}
20471static int _wrap_NullAcceleratorTable_set(PyObject *_val) {
20472 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
20473 return 1;
20474}
20475
20476
20477static PyObject *_wrap_NullAcceleratorTable_get() {
20478 PyObject *pyobj;
20479
20480 pyobj = SWIG_NewPointerObj((void *) &wxNullAcceleratorTable, SWIGTYPE_p_wxAcceleratorTable, 0);
20481 return pyobj;
20482}
20483
20484
20485static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) {
20486 PyObject *resultobj;
20487 wxString *arg1 = 0 ;
20488 wxAcceleratorEntry *result;
20489 bool temp1 = False ;
20490 PyObject * obj0 = 0 ;
20491 char *kwnames[] = {
20492 (char *) "label", NULL
20493 };
20494
20495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
20496 {
20497 arg1 = wxString_in_helper(obj0);
20498 if (arg1 == NULL) SWIG_fail;
20499 temp1 = True;
20500 }
20501 {
20502 PyThreadState* __tstate = wxPyBeginAllowThreads();
20503 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
20504
20505 wxPyEndAllowThreads(__tstate);
20506 if (PyErr_Occurred()) SWIG_fail;
20507 }
20508 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 0);
20509 {
20510 if (temp1)
20511 delete arg1;
20512 }
20513 return resultobj;
20514 fail:
20515 {
20516 if (temp1)
20517 delete arg1;
20518 }
20519 return NULL;
20520}
20521
20522
e811c8ce
RD
20523static int _wrap_PanelNameStr_set(PyObject *_val) {
20524 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
20525 return 1;
20526}
20527
20528
20529static PyObject *_wrap_PanelNameStr_get() {
20530 PyObject *pyobj;
20531
20532 {
20533#if wxUSE_UNICODE
20534 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
20535#else
20536 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
20537#endif
20538 }
20539 return pyobj;
20540}
20541
20542
d14a1e28
RD
20543static PyObject *_wrap_new_Window(PyObject *self, PyObject *args, PyObject *kwargs) {
20544 PyObject *resultobj;
20545 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 20546 int arg2 ;
d14a1e28
RD
20547 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20548 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20549 wxSize const &arg4_defvalue = wxDefaultSize ;
20550 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20551 long arg5 = (long) 0 ;
20552 wxString const &arg6_defvalue = wxPyPanelNameStr ;
20553 wxString *arg6 = (wxString *) &arg6_defvalue ;
20554 wxWindow *result;
20555 wxPoint temp3 ;
20556 wxSize temp4 ;
e811c8ce 20557 bool temp6 = False ;
d14a1e28 20558 PyObject * obj0 = 0 ;
994141e6 20559 PyObject * obj1 = 0 ;
d14a1e28
RD
20560 PyObject * obj2 = 0 ;
20561 PyObject * obj3 = 0 ;
994141e6 20562 PyObject * obj4 = 0 ;
d14a1e28
RD
20563 PyObject * obj5 = 0 ;
20564 char *kwnames[] = {
20565 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20566 };
20567
994141e6 20568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Window",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 20569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
20570 {
20571 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
20572 if (PyErr_Occurred()) SWIG_fail;
20573 }
d14a1e28
RD
20574 if (obj2) {
20575 {
20576 arg3 = &temp3;
20577 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20578 }
20579 }
20580 if (obj3) {
20581 {
20582 arg4 = &temp4;
20583 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20584 }
20585 }
994141e6
RD
20586 if (obj4) {
20587 {
20588 arg5 = (long) SWIG_PyObj_AsLong(obj4);
20589 if (PyErr_Occurred()) SWIG_fail;
20590 }
20591 }
d14a1e28
RD
20592 if (obj5) {
20593 {
20594 arg6 = wxString_in_helper(obj5);
20595 if (arg6 == NULL) SWIG_fail;
e811c8ce 20596 temp6 = True;
d14a1e28
RD
20597 }
20598 }
20599 {
20600 PyThreadState* __tstate = wxPyBeginAllowThreads();
20601 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20602
20603 wxPyEndAllowThreads(__tstate);
20604 if (PyErr_Occurred()) SWIG_fail;
20605 }
20606 {
20607 resultobj = wxPyMake_wxObject(result);
20608 }
20609 {
20610 if (temp6)
20611 delete arg6;
20612 }
20613 return resultobj;
20614 fail:
20615 {
20616 if (temp6)
20617 delete arg6;
20618 }
20619 return NULL;
20620}
20621
20622
20623static PyObject *_wrap_new_PreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20624 PyObject *resultobj;
20625 wxWindow *result;
20626 char *kwnames[] = {
20627 NULL
20628 };
20629
20630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
20631 {
20632 PyThreadState* __tstate = wxPyBeginAllowThreads();
20633 result = (wxWindow *)new wxWindow();
20634
20635 wxPyEndAllowThreads(__tstate);
20636 if (PyErr_Occurred()) SWIG_fail;
20637 }
20638 {
20639 resultobj = wxPyMake_wxObject(result);
20640 }
20641 return resultobj;
20642 fail:
20643 return NULL;
20644}
20645
20646
20647static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20648 PyObject *resultobj;
20649 wxWindow *arg1 = (wxWindow *) 0 ;
20650 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 20651 int arg3 ;
d14a1e28
RD
20652 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20653 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20654 wxSize const &arg5_defvalue = wxDefaultSize ;
20655 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20656 long arg6 = (long) 0 ;
20657 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20658 wxString *arg7 = (wxString *) &arg7_defvalue ;
20659 bool result;
20660 wxPoint temp4 ;
20661 wxSize temp5 ;
e811c8ce 20662 bool temp7 = False ;
d14a1e28
RD
20663 PyObject * obj0 = 0 ;
20664 PyObject * obj1 = 0 ;
994141e6 20665 PyObject * obj2 = 0 ;
d14a1e28
RD
20666 PyObject * obj3 = 0 ;
20667 PyObject * obj4 = 0 ;
994141e6 20668 PyObject * obj5 = 0 ;
d14a1e28
RD
20669 PyObject * obj6 = 0 ;
20670 char *kwnames[] = {
20671 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20672 };
20673
994141e6 20674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Window_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28
RD
20675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20676 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
20677 {
20678 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
20679 if (PyErr_Occurred()) SWIG_fail;
20680 }
d14a1e28
RD
20681 if (obj3) {
20682 {
20683 arg4 = &temp4;
20684 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20685 }
20686 }
20687 if (obj4) {
20688 {
20689 arg5 = &temp5;
20690 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20691 }
20692 }
994141e6
RD
20693 if (obj5) {
20694 {
20695 arg6 = (long) SWIG_PyObj_AsLong(obj5);
20696 if (PyErr_Occurred()) SWIG_fail;
20697 }
20698 }
d14a1e28
RD
20699 if (obj6) {
20700 {
20701 arg7 = wxString_in_helper(obj6);
20702 if (arg7 == NULL) SWIG_fail;
e811c8ce 20703 temp7 = True;
d14a1e28
RD
20704 }
20705 }
20706 {
20707 PyThreadState* __tstate = wxPyBeginAllowThreads();
20708 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20709
20710 wxPyEndAllowThreads(__tstate);
20711 if (PyErr_Occurred()) SWIG_fail;
20712 }
4d5c3d91 20713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20714 {
20715 if (temp7)
20716 delete arg7;
20717 }
20718 return resultobj;
20719 fail:
20720 {
20721 if (temp7)
20722 delete arg7;
20723 }
20724 return NULL;
20725}
20726
20727
20728static PyObject *_wrap_Window_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
20729 PyObject *resultobj;
20730 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 20731 bool arg2 = (bool) False ;
d14a1e28
RD
20732 bool result;
20733 PyObject * obj0 = 0 ;
20734 PyObject * obj1 = 0 ;
20735 char *kwnames[] = {
20736 (char *) "self",(char *) "force", NULL
20737 };
20738
20739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
20740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20741 if (obj1) {
a41e16b6 20742 {
994141e6 20743 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
20744 if (PyErr_Occurred()) SWIG_fail;
20745 }
d14a1e28
RD
20746 }
20747 {
20748 PyThreadState* __tstate = wxPyBeginAllowThreads();
20749 result = (bool)(arg1)->Close(arg2);
20750
20751 wxPyEndAllowThreads(__tstate);
20752 if (PyErr_Occurred()) SWIG_fail;
20753 }
4d5c3d91 20754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20755 return resultobj;
20756 fail:
20757 return NULL;
20758}
20759
20760
20761static PyObject *_wrap_Window_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
20762 PyObject *resultobj;
20763 wxWindow *arg1 = (wxWindow *) 0 ;
20764 bool result;
20765 PyObject * obj0 = 0 ;
20766 char *kwnames[] = {
20767 (char *) "self", NULL
20768 };
20769
20770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
20771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20772 {
20773 PyThreadState* __tstate = wxPyBeginAllowThreads();
20774 result = (bool)(arg1)->Destroy();
20775
20776 wxPyEndAllowThreads(__tstate);
20777 if (PyErr_Occurred()) SWIG_fail;
20778 }
4d5c3d91 20779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20780 return resultobj;
20781 fail:
20782 return NULL;
20783}
20784
20785
20786static PyObject *_wrap_Window_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
20787 PyObject *resultobj;
20788 wxWindow *arg1 = (wxWindow *) 0 ;
20789 bool result;
20790 PyObject * obj0 = 0 ;
20791 char *kwnames[] = {
20792 (char *) "self", NULL
20793 };
20794
20795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
20796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20797 {
20798 PyThreadState* __tstate = wxPyBeginAllowThreads();
20799 result = (bool)(arg1)->DestroyChildren();
20800
20801 wxPyEndAllowThreads(__tstate);
20802 if (PyErr_Occurred()) SWIG_fail;
20803 }
4d5c3d91 20804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20805 return resultobj;
20806 fail:
20807 return NULL;
20808}
20809
20810
20811static PyObject *_wrap_Window_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
20812 PyObject *resultobj;
20813 wxWindow *arg1 = (wxWindow *) 0 ;
20814 bool result;
20815 PyObject * obj0 = 0 ;
20816 char *kwnames[] = {
20817 (char *) "self", NULL
20818 };
20819
20820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
20821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20822 {
20823 PyThreadState* __tstate = wxPyBeginAllowThreads();
20824 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
20825
20826 wxPyEndAllowThreads(__tstate);
20827 if (PyErr_Occurred()) SWIG_fail;
20828 }
4d5c3d91 20829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20830 return resultobj;
20831 fail:
20832 return NULL;
20833}
20834
20835
20836static PyObject *_wrap_Window_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
20837 PyObject *resultobj;
20838 wxWindow *arg1 = (wxWindow *) 0 ;
20839 wxString *arg2 = 0 ;
e811c8ce 20840 bool temp2 = False ;
d14a1e28
RD
20841 PyObject * obj0 = 0 ;
20842 PyObject * obj1 = 0 ;
20843 char *kwnames[] = {
20844 (char *) "self",(char *) "title", NULL
20845 };
20846
20847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
20848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20849 {
20850 arg2 = wxString_in_helper(obj1);
20851 if (arg2 == NULL) SWIG_fail;
e811c8ce 20852 temp2 = True;
d14a1e28
RD
20853 }
20854 {
20855 PyThreadState* __tstate = wxPyBeginAllowThreads();
20856 (arg1)->SetTitle((wxString const &)*arg2);
20857
20858 wxPyEndAllowThreads(__tstate);
20859 if (PyErr_Occurred()) SWIG_fail;
20860 }
20861 Py_INCREF(Py_None); resultobj = Py_None;
20862 {
20863 if (temp2)
20864 delete arg2;
20865 }
20866 return resultobj;
20867 fail:
20868 {
20869 if (temp2)
20870 delete arg2;
20871 }
20872 return NULL;
20873}
20874
20875
20876static PyObject *_wrap_Window_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
20877 PyObject *resultobj;
20878 wxWindow *arg1 = (wxWindow *) 0 ;
20879 wxString result;
20880 PyObject * obj0 = 0 ;
20881 char *kwnames[] = {
20882 (char *) "self", NULL
20883 };
20884
20885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
20886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20887 {
20888 PyThreadState* __tstate = wxPyBeginAllowThreads();
20889 result = ((wxWindow const *)arg1)->GetTitle();
20890
20891 wxPyEndAllowThreads(__tstate);
20892 if (PyErr_Occurred()) SWIG_fail;
20893 }
20894 {
20895#if wxUSE_UNICODE
20896 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20897#else
20898 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20899#endif
20900 }
20901 return resultobj;
20902 fail:
20903 return NULL;
20904}
20905
20906
20907static PyObject *_wrap_Window_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20908 PyObject *resultobj;
20909 wxWindow *arg1 = (wxWindow *) 0 ;
20910 wxString *arg2 = 0 ;
e811c8ce 20911 bool temp2 = False ;
d14a1e28
RD
20912 PyObject * obj0 = 0 ;
20913 PyObject * obj1 = 0 ;
20914 char *kwnames[] = {
20915 (char *) "self",(char *) "label", NULL
20916 };
20917
20918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
20919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20920 {
20921 arg2 = wxString_in_helper(obj1);
20922 if (arg2 == NULL) SWIG_fail;
e811c8ce 20923 temp2 = True;
d14a1e28
RD
20924 }
20925 {
20926 PyThreadState* __tstate = wxPyBeginAllowThreads();
20927 (arg1)->SetLabel((wxString const &)*arg2);
20928
20929 wxPyEndAllowThreads(__tstate);
20930 if (PyErr_Occurred()) SWIG_fail;
20931 }
20932 Py_INCREF(Py_None); resultobj = Py_None;
20933 {
20934 if (temp2)
20935 delete arg2;
20936 }
20937 return resultobj;
20938 fail:
20939 {
20940 if (temp2)
20941 delete arg2;
20942 }
20943 return NULL;
20944}
20945
20946
20947static PyObject *_wrap_Window_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20948 PyObject *resultobj;
20949 wxWindow *arg1 = (wxWindow *) 0 ;
20950 wxString result;
20951 PyObject * obj0 = 0 ;
20952 char *kwnames[] = {
20953 (char *) "self", NULL
20954 };
20955
20956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
20957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20958 {
20959 PyThreadState* __tstate = wxPyBeginAllowThreads();
20960 result = ((wxWindow const *)arg1)->GetLabel();
20961
20962 wxPyEndAllowThreads(__tstate);
20963 if (PyErr_Occurred()) SWIG_fail;
20964 }
20965 {
20966#if wxUSE_UNICODE
20967 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20968#else
20969 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20970#endif
20971 }
20972 return resultobj;
20973 fail:
20974 return NULL;
20975}
20976
20977
20978static PyObject *_wrap_Window_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
20979 PyObject *resultobj;
20980 wxWindow *arg1 = (wxWindow *) 0 ;
20981 wxString *arg2 = 0 ;
e811c8ce 20982 bool temp2 = False ;
d14a1e28
RD
20983 PyObject * obj0 = 0 ;
20984 PyObject * obj1 = 0 ;
20985 char *kwnames[] = {
20986 (char *) "self",(char *) "name", NULL
20987 };
20988
20989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
20990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20991 {
20992 arg2 = wxString_in_helper(obj1);
20993 if (arg2 == NULL) SWIG_fail;
e811c8ce 20994 temp2 = True;
d14a1e28
RD
20995 }
20996 {
20997 PyThreadState* __tstate = wxPyBeginAllowThreads();
20998 (arg1)->SetName((wxString const &)*arg2);
20999
21000 wxPyEndAllowThreads(__tstate);
21001 if (PyErr_Occurred()) SWIG_fail;
21002 }
21003 Py_INCREF(Py_None); resultobj = Py_None;
21004 {
21005 if (temp2)
21006 delete arg2;
21007 }
21008 return resultobj;
21009 fail:
21010 {
21011 if (temp2)
21012 delete arg2;
21013 }
21014 return NULL;
21015}
21016
21017
21018static PyObject *_wrap_Window_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
21019 PyObject *resultobj;
21020 wxWindow *arg1 = (wxWindow *) 0 ;
21021 wxString result;
21022 PyObject * obj0 = 0 ;
21023 char *kwnames[] = {
21024 (char *) "self", NULL
21025 };
21026
21027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
21028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21029 {
21030 PyThreadState* __tstate = wxPyBeginAllowThreads();
21031 result = ((wxWindow const *)arg1)->GetName();
21032
21033 wxPyEndAllowThreads(__tstate);
21034 if (PyErr_Occurred()) SWIG_fail;
21035 }
21036 {
21037#if wxUSE_UNICODE
21038 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21039#else
21040 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21041#endif
21042 }
21043 return resultobj;
21044 fail:
21045 return NULL;
21046}
21047
21048
21049static PyObject *_wrap_Window_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21050 PyObject *resultobj;
21051 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 21052 int arg2 ;
d14a1e28 21053 PyObject * obj0 = 0 ;
994141e6 21054 PyObject * obj1 = 0 ;
d14a1e28
RD
21055 char *kwnames[] = {
21056 (char *) "self",(char *) "winid", NULL
21057 };
21058
994141e6 21059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetId",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 21060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
21061 {
21062 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21063 if (PyErr_Occurred()) SWIG_fail;
21064 }
d14a1e28
RD
21065 {
21066 PyThreadState* __tstate = wxPyBeginAllowThreads();
21067 (arg1)->SetId(arg2);
21068
21069 wxPyEndAllowThreads(__tstate);
21070 if (PyErr_Occurred()) SWIG_fail;
21071 }
21072 Py_INCREF(Py_None); resultobj = Py_None;
21073 return resultobj;
21074 fail:
21075 return NULL;
21076}
21077
21078
21079static PyObject *_wrap_Window_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21080 PyObject *resultobj;
21081 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 21082 int result;
d14a1e28
RD
21083 PyObject * obj0 = 0 ;
21084 char *kwnames[] = {
21085 (char *) "self", NULL
21086 };
21087
21088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
21089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21090 {
21091 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 21092 result = (int)((wxWindow const *)arg1)->GetId();
d14a1e28
RD
21093
21094 wxPyEndAllowThreads(__tstate);
21095 if (PyErr_Occurred()) SWIG_fail;
21096 }
994141e6 21097 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
21098 return resultobj;
21099 fail:
21100 return NULL;
21101}
21102
21103
21104static PyObject *_wrap_Window_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
21105 PyObject *resultobj;
21106 int result;
21107 char *kwnames[] = {
21108 NULL
21109 };
21110
21111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
21112 {
21113 PyThreadState* __tstate = wxPyBeginAllowThreads();
21114 result = (int)wxWindow::NewControlId();
21115
21116 wxPyEndAllowThreads(__tstate);
21117 if (PyErr_Occurred()) SWIG_fail;
21118 }
994141e6 21119 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
21120 return resultobj;
21121 fail:
21122 return NULL;
21123}
21124
21125
21126static PyObject *_wrap_Window_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
21127 PyObject *resultobj;
21128 int arg1 ;
21129 int result;
994141e6 21130 PyObject * obj0 = 0 ;
d14a1e28
RD
21131 char *kwnames[] = {
21132 (char *) "winid", NULL
21133 };
21134
994141e6
RD
21135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_NextControlId",kwnames,&obj0)) goto fail;
21136 {
21137 arg1 = (int) SWIG_PyObj_AsInt(obj0);
21138 if (PyErr_Occurred()) SWIG_fail;
21139 }
d14a1e28
RD
21140 {
21141 PyThreadState* __tstate = wxPyBeginAllowThreads();
21142 result = (int)wxWindow::NextControlId(arg1);
21143
21144 wxPyEndAllowThreads(__tstate);
21145 if (PyErr_Occurred()) SWIG_fail;
21146 }
994141e6 21147 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
21148 return resultobj;
21149 fail:
21150 return NULL;
21151}
21152
21153
21154static PyObject *_wrap_Window_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
21155 PyObject *resultobj;
21156 int arg1 ;
21157 int result;
994141e6 21158 PyObject * obj0 = 0 ;
d14a1e28
RD
21159 char *kwnames[] = {
21160 (char *) "winid", NULL
21161 };
21162
994141e6
RD
21163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PrevControlId",kwnames,&obj0)) goto fail;
21164 {
21165 arg1 = (int) SWIG_PyObj_AsInt(obj0);
21166 if (PyErr_Occurred()) SWIG_fail;
21167 }
d14a1e28
RD
21168 {
21169 PyThreadState* __tstate = wxPyBeginAllowThreads();
21170 result = (int)wxWindow::PrevControlId(arg1);
21171
21172 wxPyEndAllowThreads(__tstate);
21173 if (PyErr_Occurred()) SWIG_fail;
21174 }
994141e6 21175 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
21176 return resultobj;
21177 fail:
21178 return NULL;
21179}
21180
21181
21182static PyObject *_wrap_Window_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
21183 PyObject *resultobj;
21184 wxWindow *arg1 = (wxWindow *) 0 ;
21185 wxSize *arg2 = 0 ;
21186 wxSize temp2 ;
21187 PyObject * obj0 = 0 ;
21188 PyObject * obj1 = 0 ;
21189 char *kwnames[] = {
21190 (char *) "self",(char *) "size", NULL
21191 };
21192
21193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
21194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21195 {
21196 arg2 = &temp2;
21197 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21198 }
21199 {
21200 PyThreadState* __tstate = wxPyBeginAllowThreads();
21201 (arg1)->SetSize((wxSize const &)*arg2);
21202
21203 wxPyEndAllowThreads(__tstate);
21204 if (PyErr_Occurred()) SWIG_fail;
21205 }
21206 Py_INCREF(Py_None); resultobj = Py_None;
21207 return resultobj;
21208 fail:
21209 return NULL;
21210}
21211
21212
21213static PyObject *_wrap_Window_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
21214 PyObject *resultobj;
21215 wxWindow *arg1 = (wxWindow *) 0 ;
21216 int arg2 ;
21217 int arg3 ;
21218 int arg4 ;
21219 int arg5 ;
21220 int arg6 = (int) wxSIZE_AUTO ;
21221 PyObject * obj0 = 0 ;
994141e6
RD
21222 PyObject * obj1 = 0 ;
21223 PyObject * obj2 = 0 ;
21224 PyObject * obj3 = 0 ;
21225 PyObject * obj4 = 0 ;
21226 PyObject * obj5 = 0 ;
d14a1e28
RD
21227 char *kwnames[] = {
21228 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21229 };
21230
994141e6 21231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetDimensions",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 21232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
21233 {
21234 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21235 if (PyErr_Occurred()) SWIG_fail;
21236 }
21237 {
21238 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21239 if (PyErr_Occurred()) SWIG_fail;
21240 }
21241 {
21242 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21243 if (PyErr_Occurred()) SWIG_fail;
21244 }
21245 {
21246 arg5 = (int) SWIG_PyObj_AsInt(obj4);
21247 if (PyErr_Occurred()) SWIG_fail;
21248 }
21249 if (obj5) {
21250 {
21251 arg6 = (int) SWIG_PyObj_AsInt(obj5);
21252 if (PyErr_Occurred()) SWIG_fail;
21253 }
21254 }
d14a1e28
RD
21255 {
21256 PyThreadState* __tstate = wxPyBeginAllowThreads();
21257 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
21258
21259 wxPyEndAllowThreads(__tstate);
21260 if (PyErr_Occurred()) SWIG_fail;
21261 }
21262 Py_INCREF(Py_None); resultobj = Py_None;
21263 return resultobj;
21264 fail:
21265 return NULL;
21266}
21267
21268
21269static PyObject *_wrap_Window_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21270 PyObject *resultobj;
21271 wxWindow *arg1 = (wxWindow *) 0 ;
21272 wxRect *arg2 = 0 ;
21273 int arg3 = (int) wxSIZE_AUTO ;
21274 wxRect temp2 ;
21275 PyObject * obj0 = 0 ;
21276 PyObject * obj1 = 0 ;
994141e6 21277 PyObject * obj2 = 0 ;
d14a1e28
RD
21278 char *kwnames[] = {
21279 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
21280 };
21281
994141e6 21282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
21283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21284 {
21285 arg2 = &temp2;
21286 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
21287 }
994141e6
RD
21288 if (obj2) {
21289 {
21290 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21291 if (PyErr_Occurred()) SWIG_fail;
21292 }
21293 }
d14a1e28
RD
21294 {
21295 PyThreadState* __tstate = wxPyBeginAllowThreads();
21296 (arg1)->SetSize((wxRect const &)*arg2,arg3);
21297
21298 wxPyEndAllowThreads(__tstate);
21299 if (PyErr_Occurred()) SWIG_fail;
21300 }
21301 Py_INCREF(Py_None); resultobj = Py_None;
21302 return resultobj;
21303 fail:
21304 return NULL;
21305}
21306
21307
21308static PyObject *_wrap_Window_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
21309 PyObject *resultobj;
21310 wxWindow *arg1 = (wxWindow *) 0 ;
21311 int arg2 ;
21312 int arg3 ;
21313 PyObject * obj0 = 0 ;
994141e6
RD
21314 PyObject * obj1 = 0 ;
21315 PyObject * obj2 = 0 ;
d14a1e28
RD
21316 char *kwnames[] = {
21317 (char *) "self",(char *) "width",(char *) "height", NULL
21318 };
21319
994141e6 21320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 21321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
21322 {
21323 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21324 if (PyErr_Occurred()) SWIG_fail;
21325 }
21326 {
21327 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21328 if (PyErr_Occurred()) SWIG_fail;
21329 }
d14a1e28
RD
21330 {
21331 PyThreadState* __tstate = wxPyBeginAllowThreads();
21332 (arg1)->SetSize(arg2,arg3);
21333
21334 wxPyEndAllowThreads(__tstate);
21335 if (PyErr_Occurred()) SWIG_fail;
21336 }
21337 Py_INCREF(Py_None); resultobj = Py_None;
21338 return resultobj;
21339 fail:
21340 return NULL;
21341}
21342
21343
21344static PyObject *_wrap_Window_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
21345 PyObject *resultobj;
21346 wxWindow *arg1 = (wxWindow *) 0 ;
21347 wxPoint *arg2 = 0 ;
21348 int arg3 = (int) wxSIZE_USE_EXISTING ;
21349 wxPoint temp2 ;
21350 PyObject * obj0 = 0 ;
21351 PyObject * obj1 = 0 ;
994141e6 21352 PyObject * obj2 = 0 ;
d14a1e28
RD
21353 char *kwnames[] = {
21354 (char *) "self",(char *) "pt",(char *) "flags", NULL
21355 };
21356
994141e6 21357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_Move",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
21358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21359 {
21360 arg2 = &temp2;
21361 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21362 }
994141e6
RD
21363 if (obj2) {
21364 {
21365 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21366 if (PyErr_Occurred()) SWIG_fail;
21367 }
21368 }
d14a1e28
RD
21369 {
21370 PyThreadState* __tstate = wxPyBeginAllowThreads();
21371 (arg1)->Move((wxPoint const &)*arg2,arg3);
21372
21373 wxPyEndAllowThreads(__tstate);
21374 if (PyErr_Occurred()) SWIG_fail;
21375 }
21376 Py_INCREF(Py_None); resultobj = Py_None;
21377 return resultobj;
21378 fail:
21379 return NULL;
21380}
21381
21382
21383static PyObject *_wrap_Window_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
21384 PyObject *resultobj;
21385 wxWindow *arg1 = (wxWindow *) 0 ;
21386 int arg2 ;
21387 int arg3 ;
21388 int arg4 = (int) wxSIZE_USE_EXISTING ;
21389 PyObject * obj0 = 0 ;
994141e6
RD
21390 PyObject * obj1 = 0 ;
21391 PyObject * obj2 = 0 ;
21392 PyObject * obj3 = 0 ;
d14a1e28
RD
21393 char *kwnames[] = {
21394 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
21395 };
21396
994141e6 21397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_MoveXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 21398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
21399 {
21400 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21401 if (PyErr_Occurred()) SWIG_fail;
21402 }
21403 {
21404 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21405 if (PyErr_Occurred()) SWIG_fail;
21406 }
21407 if (obj3) {
21408 {
21409 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21410 if (PyErr_Occurred()) SWIG_fail;
21411 }
21412 }
d14a1e28
RD
21413 {
21414 PyThreadState* __tstate = wxPyBeginAllowThreads();
21415 (arg1)->Move(arg2,arg3,arg4);
21416
21417 wxPyEndAllowThreads(__tstate);
21418 if (PyErr_Occurred()) SWIG_fail;
21419 }
21420 Py_INCREF(Py_None); resultobj = Py_None;
21421 return resultobj;
21422 fail:
21423 return NULL;
21424}
21425
21426
21427static PyObject *_wrap_Window_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
21428 PyObject *resultobj;
21429 wxWindow *arg1 = (wxWindow *) 0 ;
21430 PyObject * obj0 = 0 ;
21431 char *kwnames[] = {
21432 (char *) "self", NULL
21433 };
21434
21435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail;
21436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21437 {
21438 PyThreadState* __tstate = wxPyBeginAllowThreads();
21439 (arg1)->Raise();
21440
21441 wxPyEndAllowThreads(__tstate);
21442 if (PyErr_Occurred()) SWIG_fail;
21443 }
21444 Py_INCREF(Py_None); resultobj = Py_None;
21445 return resultobj;
21446 fail:
21447 return NULL;
21448}
21449
21450
21451static PyObject *_wrap_Window_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
21452 PyObject *resultobj;
21453 wxWindow *arg1 = (wxWindow *) 0 ;
21454 PyObject * obj0 = 0 ;
21455 char *kwnames[] = {
21456 (char *) "self", NULL
21457 };
21458
21459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
21460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21461 {
21462 PyThreadState* __tstate = wxPyBeginAllowThreads();
21463 (arg1)->Lower();
21464
21465 wxPyEndAllowThreads(__tstate);
21466 if (PyErr_Occurred()) SWIG_fail;
21467 }
21468 Py_INCREF(Py_None); resultobj = Py_None;
21469 return resultobj;
21470 fail:
21471 return NULL;
21472}
21473
21474
21475static PyObject *_wrap_Window_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
21476 PyObject *resultobj;
21477 wxWindow *arg1 = (wxWindow *) 0 ;
21478 wxSize *arg2 = 0 ;
21479 wxSize temp2 ;
21480 PyObject * obj0 = 0 ;
21481 PyObject * obj1 = 0 ;
21482 char *kwnames[] = {
21483 (char *) "self",(char *) "size", NULL
21484 };
21485
21486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
21487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21488 {
21489 arg2 = &temp2;
21490 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21491 }
21492 {
21493 PyThreadState* __tstate = wxPyBeginAllowThreads();
21494 (arg1)->SetClientSize((wxSize const &)*arg2);
21495
21496 wxPyEndAllowThreads(__tstate);
21497 if (PyErr_Occurred()) SWIG_fail;
21498 }
21499 Py_INCREF(Py_None); resultobj = Py_None;
21500 return resultobj;
21501 fail:
21502 return NULL;
21503}
21504
21505
21506static PyObject *_wrap_Window_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
21507 PyObject *resultobj;
21508 wxWindow *arg1 = (wxWindow *) 0 ;
21509 int arg2 ;
21510 int arg3 ;
21511 PyObject * obj0 = 0 ;
994141e6
RD
21512 PyObject * obj1 = 0 ;
21513 PyObject * obj2 = 0 ;
d14a1e28
RD
21514 char *kwnames[] = {
21515 (char *) "self",(char *) "width",(char *) "height", NULL
21516 };
21517
994141e6 21518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetClientSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 21519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
21520 {
21521 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21522 if (PyErr_Occurred()) SWIG_fail;
21523 }
21524 {
21525 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21526 if (PyErr_Occurred()) SWIG_fail;
21527 }
d14a1e28
RD
21528 {
21529 PyThreadState* __tstate = wxPyBeginAllowThreads();
21530 (arg1)->SetClientSize(arg2,arg3);
21531
21532 wxPyEndAllowThreads(__tstate);
21533 if (PyErr_Occurred()) SWIG_fail;
21534 }
21535 Py_INCREF(Py_None); resultobj = Py_None;
21536 return resultobj;
21537 fail:
21538 return NULL;
21539}
21540
21541
21542static PyObject *_wrap_Window_SetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21543 PyObject *resultobj;
21544 wxWindow *arg1 = (wxWindow *) 0 ;
21545 wxRect *arg2 = 0 ;
21546 wxRect temp2 ;
21547 PyObject * obj0 = 0 ;
21548 PyObject * obj1 = 0 ;
21549 char *kwnames[] = {
21550 (char *) "self",(char *) "rect", NULL
21551 };
21552
21553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
21554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21555 {
21556 arg2 = &temp2;
21557 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
21558 }
21559 {
21560 PyThreadState* __tstate = wxPyBeginAllowThreads();
21561 (arg1)->SetClientSize((wxRect const &)*arg2);
21562
21563 wxPyEndAllowThreads(__tstate);
21564 if (PyErr_Occurred()) SWIG_fail;
21565 }
21566 Py_INCREF(Py_None); resultobj = Py_None;
21567 return resultobj;
21568 fail:
21569 return NULL;
21570}
21571
21572
21573static PyObject *_wrap_Window_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21574 PyObject *resultobj;
21575 wxWindow *arg1 = (wxWindow *) 0 ;
21576 wxPoint result;
21577 PyObject * obj0 = 0 ;
21578 char *kwnames[] = {
21579 (char *) "self", NULL
21580 };
21581
21582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
21583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21584 {
21585 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 21586 result = (arg1)->GetPosition();
d14a1e28
RD
21587
21588 wxPyEndAllowThreads(__tstate);
21589 if (PyErr_Occurred()) SWIG_fail;
21590 }
21591 {
21592 wxPoint * resultptr;
21593 resultptr = new wxPoint((wxPoint &) result);
21594 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
21595 }
21596 return resultobj;
21597 fail:
21598 return NULL;
21599}
21600
21601
21602static PyObject *_wrap_Window_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
21603 PyObject *resultobj;
21604 wxWindow *arg1 = (wxWindow *) 0 ;
21605 int *arg2 = (int *) 0 ;
21606 int *arg3 = (int *) 0 ;
21607 int temp2 ;
21608 int temp3 ;
21609 PyObject * obj0 = 0 ;
21610 char *kwnames[] = {
21611 (char *) "self", NULL
21612 };
21613
21614 arg2 = &temp2;
21615 arg3 = &temp3;
21616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
21617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21618 {
21619 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 21620 (arg1)->GetPosition(arg2,arg3);
d14a1e28
RD
21621
21622 wxPyEndAllowThreads(__tstate);
21623 if (PyErr_Occurred()) SWIG_fail;
21624 }
21625 Py_INCREF(Py_None); resultobj = Py_None;
21626 {
21627 PyObject *o = PyInt_FromLong((long) (*arg2));
21628 resultobj = t_output_helper(resultobj,o);
21629 }
21630 {
21631 PyObject *o = PyInt_FromLong((long) (*arg3));
21632 resultobj = t_output_helper(resultobj,o);
21633 }
21634 return resultobj;
21635 fail:
21636 return NULL;
21637}
21638
21639
21640static PyObject *_wrap_Window_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
21641 PyObject *resultobj;
21642 wxWindow *arg1 = (wxWindow *) 0 ;
21643 wxSize result;
21644 PyObject * obj0 = 0 ;
21645 char *kwnames[] = {
21646 (char *) "self", NULL
21647 };
21648
21649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
21650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21651 {
21652 PyThreadState* __tstate = wxPyBeginAllowThreads();
21653 result = ((wxWindow const *)arg1)->GetSize();
21654
21655 wxPyEndAllowThreads(__tstate);
21656 if (PyErr_Occurred()) SWIG_fail;
21657 }
21658 {
21659 wxSize * resultptr;
21660 resultptr = new wxSize((wxSize &) result);
21661 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
21662 }
21663 return resultobj;
21664 fail:
21665 return NULL;
21666}
21667
21668
21669static PyObject *_wrap_Window_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
21670 PyObject *resultobj;
21671 wxWindow *arg1 = (wxWindow *) 0 ;
21672 int *arg2 = (int *) 0 ;
21673 int *arg3 = (int *) 0 ;
21674 int temp2 ;
21675 int temp3 ;
21676 PyObject * obj0 = 0 ;
21677 char *kwnames[] = {
21678 (char *) "self", NULL
21679 };
21680
21681 arg2 = &temp2;
21682 arg3 = &temp3;
21683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
21684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21685 {
21686 PyThreadState* __tstate = wxPyBeginAllowThreads();
21687 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
21688
21689 wxPyEndAllowThreads(__tstate);
21690 if (PyErr_Occurred()) SWIG_fail;
21691 }
21692 Py_INCREF(Py_None); resultobj = Py_None;
21693 {
21694 PyObject *o = PyInt_FromLong((long) (*arg2));
21695 resultobj = t_output_helper(resultobj,o);
21696 }
21697 {
21698 PyObject *o = PyInt_FromLong((long) (*arg3));
21699 resultobj = t_output_helper(resultobj,o);
21700 }
21701 return resultobj;
21702 fail:
21703 return NULL;
21704}
21705
21706
21707static PyObject *_wrap_Window_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21708 PyObject *resultobj;
21709 wxWindow *arg1 = (wxWindow *) 0 ;
21710 wxRect result;
21711 PyObject * obj0 = 0 ;
21712 char *kwnames[] = {
21713 (char *) "self", NULL
21714 };
21715
21716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
21717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21718 {
21719 PyThreadState* __tstate = wxPyBeginAllowThreads();
21720 result = ((wxWindow const *)arg1)->GetRect();
21721
21722 wxPyEndAllowThreads(__tstate);
21723 if (PyErr_Occurred()) SWIG_fail;
21724 }
21725 {
21726 wxRect * resultptr;
21727 resultptr = new wxRect((wxRect &) result);
21728 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
21729 }
21730 return resultobj;
21731 fail:
21732 return NULL;
21733}
21734
21735
21736static PyObject *_wrap_Window_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
21737 PyObject *resultobj;
21738 wxWindow *arg1 = (wxWindow *) 0 ;
21739 wxSize result;
21740 PyObject * obj0 = 0 ;
21741 char *kwnames[] = {
21742 (char *) "self", NULL
21743 };
21744
21745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
21746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21747 {
21748 PyThreadState* __tstate = wxPyBeginAllowThreads();
21749 result = ((wxWindow const *)arg1)->GetClientSize();
21750
21751 wxPyEndAllowThreads(__tstate);
21752 if (PyErr_Occurred()) SWIG_fail;
21753 }
21754 {
21755 wxSize * resultptr;
21756 resultptr = new wxSize((wxSize &) result);
21757 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
21758 }
21759 return resultobj;
21760 fail:
21761 return NULL;
21762}
21763
21764
21765static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
21766 PyObject *resultobj;
21767 wxWindow *arg1 = (wxWindow *) 0 ;
21768 int *arg2 = (int *) 0 ;
21769 int *arg3 = (int *) 0 ;
21770 int temp2 ;
21771 int temp3 ;
21772 PyObject * obj0 = 0 ;
21773 char *kwnames[] = {
21774 (char *) "self", NULL
21775 };
21776
21777 arg2 = &temp2;
21778 arg3 = &temp3;
21779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
21780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21781 {
21782 PyThreadState* __tstate = wxPyBeginAllowThreads();
21783 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
21784
21785 wxPyEndAllowThreads(__tstate);
21786 if (PyErr_Occurred()) SWIG_fail;
21787 }
21788 Py_INCREF(Py_None); resultobj = Py_None;
21789 {
21790 PyObject *o = PyInt_FromLong((long) (*arg2));
21791 resultobj = t_output_helper(resultobj,o);
21792 }
21793 {
21794 PyObject *o = PyInt_FromLong((long) (*arg3));
21795 resultobj = t_output_helper(resultobj,o);
21796 }
21797 return resultobj;
21798 fail:
21799 return NULL;
21800}
21801
21802
21803static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
21804 PyObject *resultobj;
21805 wxWindow *arg1 = (wxWindow *) 0 ;
21806 wxPoint result;
21807 PyObject * obj0 = 0 ;
21808 char *kwnames[] = {
21809 (char *) "self", NULL
21810 };
21811
21812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
21813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21814 {
21815 PyThreadState* __tstate = wxPyBeginAllowThreads();
21816 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
21817
21818 wxPyEndAllowThreads(__tstate);
21819 if (PyErr_Occurred()) SWIG_fail;
21820 }
21821 {
21822 wxPoint * resultptr;
21823 resultptr = new wxPoint((wxPoint &) result);
21824 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
21825 }
21826 return resultobj;
21827 fail:
21828 return NULL;
21829}
21830
21831
21832static PyObject *_wrap_Window_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21833 PyObject *resultobj;
21834 wxWindow *arg1 = (wxWindow *) 0 ;
21835 wxRect result;
21836 PyObject * obj0 = 0 ;
21837 char *kwnames[] = {
21838 (char *) "self", NULL
21839 };
21840
21841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
21842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21843 {
21844 PyThreadState* __tstate = wxPyBeginAllowThreads();
21845 result = ((wxWindow const *)arg1)->GetClientRect();
21846
21847 wxPyEndAllowThreads(__tstate);
21848 if (PyErr_Occurred()) SWIG_fail;
21849 }
21850 {
21851 wxRect * resultptr;
21852 resultptr = new wxRect((wxRect &) result);
21853 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
21854 }
21855 return resultobj;
21856 fail:
21857 return NULL;
21858}
21859
21860
21861static PyObject *_wrap_Window_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
21862 PyObject *resultobj;
21863 wxWindow *arg1 = (wxWindow *) 0 ;
21864 wxSize result;
21865 PyObject * obj0 = 0 ;
21866 char *kwnames[] = {
21867 (char *) "self", NULL
21868 };
21869
21870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
21871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21872 {
21873 PyThreadState* __tstate = wxPyBeginAllowThreads();
21874 result = ((wxWindow const *)arg1)->GetBestSize();
21875
21876 wxPyEndAllowThreads(__tstate);
21877 if (PyErr_Occurred()) SWIG_fail;
21878 }
21879 {
21880 wxSize * resultptr;
21881 resultptr = new wxSize((wxSize &) result);
21882 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
21883 }
21884 return resultobj;
21885 fail:
21886 return NULL;
21887}
21888
21889
21890static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
21891 PyObject *resultobj;
21892 wxWindow *arg1 = (wxWindow *) 0 ;
21893 int *arg2 = (int *) 0 ;
21894 int *arg3 = (int *) 0 ;
21895 int temp2 ;
21896 int temp3 ;
21897 PyObject * obj0 = 0 ;
21898 char *kwnames[] = {
21899 (char *) "self", NULL
21900 };
21901
21902 arg2 = &temp2;
21903 arg3 = &temp3;
21904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
21905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21906 {
21907 PyThreadState* __tstate = wxPyBeginAllowThreads();
21908 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
21909
21910 wxPyEndAllowThreads(__tstate);
21911 if (PyErr_Occurred()) SWIG_fail;
21912 }
21913 Py_INCREF(Py_None); resultobj = Py_None;
21914 {
21915 PyObject *o = PyInt_FromLong((long) (*arg2));
21916 resultobj = t_output_helper(resultobj,o);
21917 }
21918 {
21919 PyObject *o = PyInt_FromLong((long) (*arg3));
21920 resultobj = t_output_helper(resultobj,o);
21921 }
21922 return resultobj;
21923 fail:
21924 return NULL;
21925}
21926
21927
21928static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
21929 PyObject *resultobj;
21930 wxWindow *arg1 = (wxWindow *) 0 ;
21931 wxSize result;
21932 PyObject * obj0 = 0 ;
21933 char *kwnames[] = {
21934 (char *) "self", NULL
21935 };
21936
21937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
21938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21939 {
21940 PyThreadState* __tstate = wxPyBeginAllowThreads();
21941 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
21942
21943 wxPyEndAllowThreads(__tstate);
21944 if (PyErr_Occurred()) SWIG_fail;
21945 }
21946 {
21947 wxSize * resultptr;
21948 resultptr = new wxSize((wxSize &) result);
21949 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
21950 }
21951 return resultobj;
21952 fail:
21953 return NULL;
21954}
21955
21956
21957static PyObject *_wrap_Window_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
21958 PyObject *resultobj;
21959 wxWindow *arg1 = (wxWindow *) 0 ;
21960 int arg2 = (int) wxBOTH ;
21961 PyObject * obj0 = 0 ;
994141e6 21962 PyObject * obj1 = 0 ;
d14a1e28
RD
21963 char *kwnames[] = {
21964 (char *) "self",(char *) "direction", NULL
21965 };
21966
994141e6 21967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Center",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 21968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
21969 if (obj1) {
21970 {
21971 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21972 if (PyErr_Occurred()) SWIG_fail;
21973 }
21974 }
d14a1e28
RD
21975 {
21976 PyThreadState* __tstate = wxPyBeginAllowThreads();
21977 (arg1)->Center(arg2);
21978
21979 wxPyEndAllowThreads(__tstate);
21980 if (PyErr_Occurred()) SWIG_fail;
21981 }
21982 Py_INCREF(Py_None); resultobj = Py_None;
21983 return resultobj;
21984 fail:
21985 return NULL;
21986}
21987
21988
21989static PyObject *_wrap_Window_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21990 PyObject *resultobj;
21991 wxWindow *arg1 = (wxWindow *) 0 ;
21992 int arg2 = (int) wxBOTH ;
21993 PyObject * obj0 = 0 ;
994141e6 21994 PyObject * obj1 = 0 ;
d14a1e28
RD
21995 char *kwnames[] = {
21996 (char *) "self",(char *) "dir", NULL
21997 };
21998
994141e6 21999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnScreen",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 22000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
22001 if (obj1) {
22002 {
22003 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22004 if (PyErr_Occurred()) SWIG_fail;
22005 }
22006 }
d14a1e28
RD
22007 {
22008 PyThreadState* __tstate = wxPyBeginAllowThreads();
22009 (arg1)->CenterOnScreen(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_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
22022 PyObject *resultobj;
22023 wxWindow *arg1 = (wxWindow *) 0 ;
22024 int arg2 = (int) wxBOTH ;
22025 PyObject * obj0 = 0 ;
994141e6 22026 PyObject * obj1 = 0 ;
d14a1e28
RD
22027 char *kwnames[] = {
22028 (char *) "self",(char *) "dir", NULL
22029 };
22030
994141e6 22031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnParent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 22032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
22033 if (obj1) {
22034 {
22035 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22036 if (PyErr_Occurred()) SWIG_fail;
22037 }
22038 }
d14a1e28
RD
22039 {
22040 PyThreadState* __tstate = wxPyBeginAllowThreads();
22041 (arg1)->CenterOnParent(arg2);
22042
22043 wxPyEndAllowThreads(__tstate);
22044 if (PyErr_Occurred()) SWIG_fail;
22045 }
22046 Py_INCREF(Py_None); resultobj = Py_None;
22047 return resultobj;
22048 fail:
22049 return NULL;
22050}
22051
22052
22053static PyObject *_wrap_Window_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
22054 PyObject *resultobj;
22055 wxWindow *arg1 = (wxWindow *) 0 ;
22056 PyObject * obj0 = 0 ;
22057 char *kwnames[] = {
22058 (char *) "self", NULL
22059 };
22060
22061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
22062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22063 {
22064 PyThreadState* __tstate = wxPyBeginAllowThreads();
22065 (arg1)->Fit();
22066
22067 wxPyEndAllowThreads(__tstate);
22068 if (PyErr_Occurred()) SWIG_fail;
22069 }
22070 Py_INCREF(Py_None); resultobj = Py_None;
22071 return resultobj;
22072 fail:
22073 return NULL;
22074}
22075
22076
22077static PyObject *_wrap_Window_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
22078 PyObject *resultobj;
22079 wxWindow *arg1 = (wxWindow *) 0 ;
22080 PyObject * obj0 = 0 ;
22081 char *kwnames[] = {
22082 (char *) "self", NULL
22083 };
22084
22085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail;
22086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22087 {
22088 PyThreadState* __tstate = wxPyBeginAllowThreads();
22089 (arg1)->FitInside();
22090
22091 wxPyEndAllowThreads(__tstate);
22092 if (PyErr_Occurred()) SWIG_fail;
22093 }
22094 Py_INCREF(Py_None); resultobj = Py_None;
22095 return resultobj;
22096 fail:
22097 return NULL;
22098}
22099
22100
22101static PyObject *_wrap_Window_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
22102 PyObject *resultobj;
22103 wxWindow *arg1 = (wxWindow *) 0 ;
22104 int arg2 ;
22105 int arg3 ;
22106 int arg4 = (int) -1 ;
22107 int arg5 = (int) -1 ;
22108 int arg6 = (int) -1 ;
22109 int arg7 = (int) -1 ;
22110 PyObject * obj0 = 0 ;
994141e6
RD
22111 PyObject * obj1 = 0 ;
22112 PyObject * obj2 = 0 ;
22113 PyObject * obj3 = 0 ;
22114 PyObject * obj4 = 0 ;
22115 PyObject * obj5 = 0 ;
22116 PyObject * obj6 = 0 ;
d14a1e28
RD
22117 char *kwnames[] = {
22118 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
22119 };
22120
994141e6 22121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28 22122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
22123 {
22124 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22125 if (PyErr_Occurred()) SWIG_fail;
22126 }
22127 {
22128 arg3 = (int) SWIG_PyObj_AsInt(obj2);
22129 if (PyErr_Occurred()) SWIG_fail;
22130 }
22131 if (obj3) {
22132 {
22133 arg4 = (int) SWIG_PyObj_AsInt(obj3);
22134 if (PyErr_Occurred()) SWIG_fail;
22135 }
22136 }
22137 if (obj4) {
22138 {
22139 arg5 = (int) SWIG_PyObj_AsInt(obj4);
22140 if (PyErr_Occurred()) SWIG_fail;
22141 }
22142 }
22143 if (obj5) {
22144 {
22145 arg6 = (int) SWIG_PyObj_AsInt(obj5);
22146 if (PyErr_Occurred()) SWIG_fail;
22147 }
22148 }
22149 if (obj6) {
22150 {
22151 arg7 = (int) SWIG_PyObj_AsInt(obj6);
22152 if (PyErr_Occurred()) SWIG_fail;
22153 }
22154 }
d14a1e28
RD
22155 {
22156 PyThreadState* __tstate = wxPyBeginAllowThreads();
22157 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
22158
22159 wxPyEndAllowThreads(__tstate);
22160 if (PyErr_Occurred()) SWIG_fail;
22161 }
22162 Py_INCREF(Py_None); resultobj = Py_None;
22163 return resultobj;
22164 fail:
22165 return NULL;
22166}
22167
22168
22169static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
22170 PyObject *resultobj;
22171 wxWindow *arg1 = (wxWindow *) 0 ;
22172 int arg2 ;
22173 int arg3 ;
22174 int arg4 = (int) -1 ;
22175 int arg5 = (int) -1 ;
22176 PyObject * obj0 = 0 ;
994141e6
RD
22177 PyObject * obj1 = 0 ;
22178 PyObject * obj2 = 0 ;
22179 PyObject * obj3 = 0 ;
22180 PyObject * obj4 = 0 ;
d14a1e28
RD
22181 char *kwnames[] = {
22182 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
22183 };
22184
994141e6 22185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28 22186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
22187 {
22188 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22189 if (PyErr_Occurred()) SWIG_fail;
22190 }
22191 {
22192 arg3 = (int) SWIG_PyObj_AsInt(obj2);
22193 if (PyErr_Occurred()) SWIG_fail;
22194 }
22195 if (obj3) {
22196 {
22197 arg4 = (int) SWIG_PyObj_AsInt(obj3);
22198 if (PyErr_Occurred()) SWIG_fail;
22199 }
22200 }
22201 if (obj4) {
22202 {
22203 arg5 = (int) SWIG_PyObj_AsInt(obj4);
22204 if (PyErr_Occurred()) SWIG_fail;
22205 }
22206 }
d14a1e28
RD
22207 {
22208 PyThreadState* __tstate = wxPyBeginAllowThreads();
22209 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
22210
22211 wxPyEndAllowThreads(__tstate);
22212 if (PyErr_Occurred()) SWIG_fail;
22213 }
22214 Py_INCREF(Py_None); resultobj = Py_None;
22215 return resultobj;
22216 fail:
22217 return NULL;
22218}
22219
22220
22221static PyObject *_wrap_Window_GetMinWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
22222 PyObject *resultobj;
22223 wxWindow *arg1 = (wxWindow *) 0 ;
22224 int result;
22225 PyObject * obj0 = 0 ;
22226 char *kwnames[] = {
22227 (char *) "self", NULL
22228 };
22229
22230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
22231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22232 {
22233 PyThreadState* __tstate = wxPyBeginAllowThreads();
22234 result = (int)((wxWindow const *)arg1)->GetMinWidth();
22235
22236 wxPyEndAllowThreads(__tstate);
22237 if (PyErr_Occurred()) SWIG_fail;
22238 }
994141e6 22239 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
22240 return resultobj;
22241 fail:
22242 return NULL;
22243}
22244
22245
22246static PyObject *_wrap_Window_GetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
22247 PyObject *resultobj;
22248 wxWindow *arg1 = (wxWindow *) 0 ;
22249 int result;
22250 PyObject * obj0 = 0 ;
22251 char *kwnames[] = {
22252 (char *) "self", NULL
22253 };
22254
22255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
22256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22257 {
22258 PyThreadState* __tstate = wxPyBeginAllowThreads();
22259 result = (int)((wxWindow const *)arg1)->GetMinHeight();
22260
22261 wxPyEndAllowThreads(__tstate);
22262 if (PyErr_Occurred()) SWIG_fail;
22263 }
994141e6 22264 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
22265 return resultobj;
22266 fail:
22267 return NULL;
22268}
22269
22270
22271static PyObject *_wrap_Window_GetMaxWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
22272 PyObject *resultobj;
22273 wxWindow *arg1 = (wxWindow *) 0 ;
22274 int result;
22275 PyObject * obj0 = 0 ;
22276 char *kwnames[] = {
22277 (char *) "self", NULL
22278 };
22279
22280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
22281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22282 {
22283 PyThreadState* __tstate = wxPyBeginAllowThreads();
22284 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
22285
22286 wxPyEndAllowThreads(__tstate);
22287 if (PyErr_Occurred()) SWIG_fail;
22288 }
994141e6 22289 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
22290 return resultobj;
22291 fail:
22292 return NULL;
22293}
22294
22295
22296static PyObject *_wrap_Window_GetMaxHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
22297 PyObject *resultobj;
22298 wxWindow *arg1 = (wxWindow *) 0 ;
22299 int result;
22300 PyObject * obj0 = 0 ;
22301 char *kwnames[] = {
22302 (char *) "self", NULL
22303 };
22304
22305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
22306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22307 {
22308 PyThreadState* __tstate = wxPyBeginAllowThreads();
22309 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
22310
22311 wxPyEndAllowThreads(__tstate);
22312 if (PyErr_Occurred()) SWIG_fail;
22313 }
994141e6 22314 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
22315 return resultobj;
22316 fail:
22317 return NULL;
22318}
22319
22320
22321static PyObject *_wrap_Window_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22322 PyObject *resultobj;
22323 wxWindow *arg1 = (wxWindow *) 0 ;
22324 wxSize result;
22325 PyObject * obj0 = 0 ;
22326 char *kwnames[] = {
22327 (char *) "self", NULL
22328 };
22329
22330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
22331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22332 {
22333 PyThreadState* __tstate = wxPyBeginAllowThreads();
22334 result = ((wxWindow const *)arg1)->GetMaxSize();
22335
22336 wxPyEndAllowThreads(__tstate);
22337 if (PyErr_Occurred()) SWIG_fail;
22338 }
22339 {
22340 wxSize * resultptr;
22341 resultptr = new wxSize((wxSize &) result);
22342 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
22343 }
22344 return resultobj;
22345 fail:
22346 return NULL;
22347}
22348
22349
22350static PyObject *_wrap_Window_SetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22351 PyObject *resultobj;
22352 wxWindow *arg1 = (wxWindow *) 0 ;
22353 wxSize *arg2 = 0 ;
22354 wxSize temp2 ;
22355 PyObject * obj0 = 0 ;
22356 PyObject * obj1 = 0 ;
22357 char *kwnames[] = {
22358 (char *) "self",(char *) "size", NULL
22359 };
22360
22361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
22362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22363 {
22364 arg2 = &temp2;
22365 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22366 }
22367 {
22368 PyThreadState* __tstate = wxPyBeginAllowThreads();
22369 (arg1)->SetVirtualSize((wxSize const &)*arg2);
22370
22371 wxPyEndAllowThreads(__tstate);
22372 if (PyErr_Occurred()) SWIG_fail;
22373 }
22374 Py_INCREF(Py_None); resultobj = Py_None;
22375 return resultobj;
22376 fail:
22377 return NULL;
22378}
22379
22380
22381static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
22382 PyObject *resultobj;
22383 wxWindow *arg1 = (wxWindow *) 0 ;
22384 int arg2 ;
22385 int arg3 ;
22386 PyObject * obj0 = 0 ;
994141e6
RD
22387 PyObject * obj1 = 0 ;
22388 PyObject * obj2 = 0 ;
d14a1e28
RD
22389 char *kwnames[] = {
22390 (char *) "self",(char *) "w",(char *) "h", NULL
22391 };
22392
994141e6 22393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetVirtualSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 22394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
22395 {
22396 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22397 if (PyErr_Occurred()) SWIG_fail;
22398 }
22399 {
22400 arg3 = (int) SWIG_PyObj_AsInt(obj2);
22401 if (PyErr_Occurred()) SWIG_fail;
22402 }
d14a1e28
RD
22403 {
22404 PyThreadState* __tstate = wxPyBeginAllowThreads();
22405 (arg1)->SetVirtualSize(arg2,arg3);
22406
22407 wxPyEndAllowThreads(__tstate);
22408 if (PyErr_Occurred()) SWIG_fail;
22409 }
22410 Py_INCREF(Py_None); resultobj = Py_None;
22411 return resultobj;
22412 fail:
22413 return NULL;
22414}
22415
22416
22417static PyObject *_wrap_Window_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22418 PyObject *resultobj;
22419 wxWindow *arg1 = (wxWindow *) 0 ;
22420 wxSize result;
22421 PyObject * obj0 = 0 ;
22422 char *kwnames[] = {
22423 (char *) "self", NULL
22424 };
22425
22426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
22427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22428 {
22429 PyThreadState* __tstate = wxPyBeginAllowThreads();
22430 result = ((wxWindow const *)arg1)->GetVirtualSize();
22431
22432 wxPyEndAllowThreads(__tstate);
22433 if (PyErr_Occurred()) SWIG_fail;
22434 }
22435 {
22436 wxSize * resultptr;
22437 resultptr = new wxSize((wxSize &) result);
22438 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
22439 }
22440 return resultobj;
22441 fail:
22442 return NULL;
22443}
22444
22445
22446static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22447 PyObject *resultobj;
22448 wxWindow *arg1 = (wxWindow *) 0 ;
22449 int *arg2 = (int *) 0 ;
22450 int *arg3 = (int *) 0 ;
22451 int temp2 ;
22452 int temp3 ;
22453 PyObject * obj0 = 0 ;
22454 char *kwnames[] = {
22455 (char *) "self", NULL
22456 };
22457
22458 arg2 = &temp2;
22459 arg3 = &temp3;
22460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
22461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22462 {
22463 PyThreadState* __tstate = wxPyBeginAllowThreads();
22464 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
22465
22466 wxPyEndAllowThreads(__tstate);
22467 if (PyErr_Occurred()) SWIG_fail;
22468 }
22469 Py_INCREF(Py_None); resultobj = Py_None;
22470 {
22471 PyObject *o = PyInt_FromLong((long) (*arg2));
22472 resultobj = t_output_helper(resultobj,o);
22473 }
22474 {
22475 PyObject *o = PyInt_FromLong((long) (*arg3));
22476 resultobj = t_output_helper(resultobj,o);
22477 }
22478 return resultobj;
22479 fail:
22480 return NULL;
22481}
22482
22483
22484static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22485 PyObject *resultobj;
22486 wxWindow *arg1 = (wxWindow *) 0 ;
22487 wxSize result;
22488 PyObject * obj0 = 0 ;
22489 char *kwnames[] = {
22490 (char *) "self", NULL
22491 };
22492
22493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
22494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22495 {
22496 PyThreadState* __tstate = wxPyBeginAllowThreads();
22497 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
22498
22499 wxPyEndAllowThreads(__tstate);
22500 if (PyErr_Occurred()) SWIG_fail;
22501 }
22502 {
22503 wxSize * resultptr;
22504 resultptr = new wxSize((wxSize &) result);
22505 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
22506 }
22507 return resultobj;
22508 fail:
22509 return NULL;
22510}
22511
22512
22513static PyObject *_wrap_Window_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
22514 PyObject *resultobj;
22515 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 22516 bool arg2 = (bool) True ;
d14a1e28
RD
22517 bool result;
22518 PyObject * obj0 = 0 ;
22519 PyObject * obj1 = 0 ;
22520 char *kwnames[] = {
22521 (char *) "self",(char *) "show", NULL
22522 };
22523
22524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
22525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22526 if (obj1) {
a41e16b6 22527 {
994141e6 22528 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
22529 if (PyErr_Occurred()) SWIG_fail;
22530 }
d14a1e28
RD
22531 }
22532 {
22533 PyThreadState* __tstate = wxPyBeginAllowThreads();
22534 result = (bool)(arg1)->Show(arg2);
22535
22536 wxPyEndAllowThreads(__tstate);
22537 if (PyErr_Occurred()) SWIG_fail;
22538 }
4d5c3d91 22539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22540 return resultobj;
22541 fail:
22542 return NULL;
22543}
22544
22545
22546static PyObject *_wrap_Window_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
22547 PyObject *resultobj;
22548 wxWindow *arg1 = (wxWindow *) 0 ;
22549 bool result;
22550 PyObject * obj0 = 0 ;
22551 char *kwnames[] = {
22552 (char *) "self", NULL
22553 };
22554
22555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
22556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22557 {
22558 PyThreadState* __tstate = wxPyBeginAllowThreads();
22559 result = (bool)(arg1)->Hide();
22560
22561 wxPyEndAllowThreads(__tstate);
22562 if (PyErr_Occurred()) SWIG_fail;
22563 }
4d5c3d91 22564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22565 return resultobj;
22566 fail:
22567 return NULL;
22568}
22569
22570
22571static PyObject *_wrap_Window_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
22572 PyObject *resultobj;
22573 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 22574 bool arg2 = (bool) True ;
d14a1e28
RD
22575 bool result;
22576 PyObject * obj0 = 0 ;
22577 PyObject * obj1 = 0 ;
22578 char *kwnames[] = {
22579 (char *) "self",(char *) "enable", NULL
22580 };
22581
22582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
22583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22584 if (obj1) {
a41e16b6 22585 {
994141e6 22586 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
22587 if (PyErr_Occurred()) SWIG_fail;
22588 }
d14a1e28
RD
22589 }
22590 {
22591 PyThreadState* __tstate = wxPyBeginAllowThreads();
22592 result = (bool)(arg1)->Enable(arg2);
22593
22594 wxPyEndAllowThreads(__tstate);
22595 if (PyErr_Occurred()) SWIG_fail;
22596 }
4d5c3d91 22597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22598 return resultobj;
22599 fail:
22600 return NULL;
22601}
22602
22603
22604static PyObject *_wrap_Window_Disable(PyObject *self, PyObject *args, PyObject *kwargs) {
22605 PyObject *resultobj;
22606 wxWindow *arg1 = (wxWindow *) 0 ;
22607 bool result;
22608 PyObject * obj0 = 0 ;
22609 char *kwnames[] = {
22610 (char *) "self", NULL
22611 };
22612
22613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
22614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22615 {
22616 PyThreadState* __tstate = wxPyBeginAllowThreads();
22617 result = (bool)(arg1)->Disable();
22618
22619 wxPyEndAllowThreads(__tstate);
22620 if (PyErr_Occurred()) SWIG_fail;
22621 }
4d5c3d91 22622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22623 return resultobj;
22624 fail:
22625 return NULL;
22626}
22627
22628
22629static PyObject *_wrap_Window_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
22630 PyObject *resultobj;
22631 wxWindow *arg1 = (wxWindow *) 0 ;
22632 bool result;
22633 PyObject * obj0 = 0 ;
22634 char *kwnames[] = {
22635 (char *) "self", NULL
22636 };
22637
22638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
22639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22640 {
22641 PyThreadState* __tstate = wxPyBeginAllowThreads();
22642 result = (bool)((wxWindow const *)arg1)->IsShown();
22643
22644 wxPyEndAllowThreads(__tstate);
22645 if (PyErr_Occurred()) SWIG_fail;
22646 }
4d5c3d91 22647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22648 return resultobj;
22649 fail:
22650 return NULL;
22651}
22652
22653
22654static PyObject *_wrap_Window_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
22655 PyObject *resultobj;
22656 wxWindow *arg1 = (wxWindow *) 0 ;
22657 bool result;
22658 PyObject * obj0 = 0 ;
22659 char *kwnames[] = {
22660 (char *) "self", NULL
22661 };
22662
22663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
22664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22665 {
22666 PyThreadState* __tstate = wxPyBeginAllowThreads();
22667 result = (bool)((wxWindow const *)arg1)->IsEnabled();
22668
22669 wxPyEndAllowThreads(__tstate);
22670 if (PyErr_Occurred()) SWIG_fail;
22671 }
4d5c3d91 22672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22673 return resultobj;
22674 fail:
22675 return NULL;
22676}
22677
22678
22679static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
22680 PyObject *resultobj;
22681 wxWindow *arg1 = (wxWindow *) 0 ;
22682 long arg2 ;
22683 PyObject * obj0 = 0 ;
994141e6 22684 PyObject * obj1 = 0 ;
d14a1e28
RD
22685 char *kwnames[] = {
22686 (char *) "self",(char *) "style", NULL
22687 };
22688
994141e6 22689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 22690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
22691 {
22692 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22693 if (PyErr_Occurred()) SWIG_fail;
22694 }
d14a1e28
RD
22695 {
22696 PyThreadState* __tstate = wxPyBeginAllowThreads();
22697 (arg1)->SetWindowStyleFlag(arg2);
22698
22699 wxPyEndAllowThreads(__tstate);
22700 if (PyErr_Occurred()) SWIG_fail;
22701 }
22702 Py_INCREF(Py_None); resultobj = Py_None;
22703 return resultobj;
22704 fail:
22705 return NULL;
22706}
22707
22708
22709static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
22710 PyObject *resultobj;
22711 wxWindow *arg1 = (wxWindow *) 0 ;
22712 long result;
22713 PyObject * obj0 = 0 ;
22714 char *kwnames[] = {
22715 (char *) "self", NULL
22716 };
22717
22718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
22719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22720 {
22721 PyThreadState* __tstate = wxPyBeginAllowThreads();
22722 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
22723
22724 wxPyEndAllowThreads(__tstate);
22725 if (PyErr_Occurred()) SWIG_fail;
22726 }
994141e6 22727 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
22728 return resultobj;
22729 fail:
22730 return NULL;
22731}
22732
22733
22734static PyObject *_wrap_Window_SetWindowStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
22735 PyObject *resultobj;
22736 wxWindow *arg1 = (wxWindow *) 0 ;
22737 long arg2 ;
22738 PyObject * obj0 = 0 ;
994141e6 22739 PyObject * obj1 = 0 ;
d14a1e28
RD
22740 char *kwnames[] = {
22741 (char *) "self",(char *) "style", NULL
22742 };
22743
994141e6 22744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowStyle",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 22745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
22746 {
22747 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22748 if (PyErr_Occurred()) SWIG_fail;
22749 }
d14a1e28
RD
22750 {
22751 PyThreadState* __tstate = wxPyBeginAllowThreads();
22752 (arg1)->SetWindowStyle(arg2);
22753
22754 wxPyEndAllowThreads(__tstate);
22755 if (PyErr_Occurred()) SWIG_fail;
22756 }
22757 Py_INCREF(Py_None); resultobj = Py_None;
22758 return resultobj;
22759 fail:
22760 return NULL;
22761}
22762
22763
22764static PyObject *_wrap_Window_GetWindowStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
22765 PyObject *resultobj;
22766 wxWindow *arg1 = (wxWindow *) 0 ;
22767 long result;
22768 PyObject * obj0 = 0 ;
22769 char *kwnames[] = {
22770 (char *) "self", NULL
22771 };
22772
22773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyle",kwnames,&obj0)) goto fail;
22774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22775 {
22776 PyThreadState* __tstate = wxPyBeginAllowThreads();
22777 result = (long)((wxWindow const *)arg1)->GetWindowStyle();
22778
22779 wxPyEndAllowThreads(__tstate);
22780 if (PyErr_Occurred()) SWIG_fail;
22781 }
994141e6 22782 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
22783 return resultobj;
22784 fail:
22785 return NULL;
22786}
22787
22788
22789static PyObject *_wrap_Window_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
22790 PyObject *resultobj;
22791 wxWindow *arg1 = (wxWindow *) 0 ;
22792 int arg2 ;
22793 bool result;
22794 PyObject * obj0 = 0 ;
994141e6 22795 PyObject * obj1 = 0 ;
d14a1e28
RD
22796 char *kwnames[] = {
22797 (char *) "self",(char *) "flag", NULL
22798 };
22799
994141e6 22800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasFlag",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 22801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
22802 {
22803 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22804 if (PyErr_Occurred()) SWIG_fail;
22805 }
d14a1e28
RD
22806 {
22807 PyThreadState* __tstate = wxPyBeginAllowThreads();
22808 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
22809
22810 wxPyEndAllowThreads(__tstate);
22811 if (PyErr_Occurred()) SWIG_fail;
22812 }
4d5c3d91 22813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22814 return resultobj;
22815 fail:
22816 return NULL;
22817}
22818
22819
22820static PyObject *_wrap_Window_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
22821 PyObject *resultobj;
22822 wxWindow *arg1 = (wxWindow *) 0 ;
22823 bool result;
22824 PyObject * obj0 = 0 ;
22825 char *kwnames[] = {
22826 (char *) "self", NULL
22827 };
22828
22829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
22830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22831 {
22832 PyThreadState* __tstate = wxPyBeginAllowThreads();
22833 result = (bool)((wxWindow const *)arg1)->IsRetained();
22834
22835 wxPyEndAllowThreads(__tstate);
22836 if (PyErr_Occurred()) SWIG_fail;
22837 }
4d5c3d91 22838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22839 return resultobj;
22840 fail:
22841 return NULL;
22842}
22843
22844
22845static PyObject *_wrap_Window_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
22846 PyObject *resultobj;
22847 wxWindow *arg1 = (wxWindow *) 0 ;
22848 long arg2 ;
22849 PyObject * obj0 = 0 ;
994141e6 22850 PyObject * obj1 = 0 ;
d14a1e28
RD
22851 char *kwnames[] = {
22852 (char *) "self",(char *) "exStyle", NULL
22853 };
22854
994141e6 22855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetExtraStyle",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 22856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
22857 {
22858 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22859 if (PyErr_Occurred()) SWIG_fail;
22860 }
d14a1e28
RD
22861 {
22862 PyThreadState* __tstate = wxPyBeginAllowThreads();
22863 (arg1)->SetExtraStyle(arg2);
22864
22865 wxPyEndAllowThreads(__tstate);
22866 if (PyErr_Occurred()) SWIG_fail;
22867 }
22868 Py_INCREF(Py_None); resultobj = Py_None;
22869 return resultobj;
22870 fail:
22871 return NULL;
22872}
22873
22874
22875static PyObject *_wrap_Window_GetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
22876 PyObject *resultobj;
22877 wxWindow *arg1 = (wxWindow *) 0 ;
22878 long result;
22879 PyObject * obj0 = 0 ;
22880 char *kwnames[] = {
22881 (char *) "self", NULL
22882 };
22883
22884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
22885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22886 {
22887 PyThreadState* __tstate = wxPyBeginAllowThreads();
22888 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
22889
22890 wxPyEndAllowThreads(__tstate);
22891 if (PyErr_Occurred()) SWIG_fail;
22892 }
994141e6 22893 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
22894 return resultobj;
22895 fail:
22896 return NULL;
22897}
22898
22899
22900static PyObject *_wrap_Window_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
22901 PyObject *resultobj;
22902 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 22903 bool arg2 = (bool) True ;
d14a1e28
RD
22904 PyObject * obj0 = 0 ;
22905 PyObject * obj1 = 0 ;
22906 char *kwnames[] = {
22907 (char *) "self",(char *) "modal", NULL
22908 };
22909
22910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
22911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22912 if (obj1) {
a41e16b6 22913 {
994141e6 22914 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
22915 if (PyErr_Occurred()) SWIG_fail;
22916 }
d14a1e28
RD
22917 }
22918 {
22919 PyThreadState* __tstate = wxPyBeginAllowThreads();
22920 (arg1)->MakeModal(arg2);
22921
22922 wxPyEndAllowThreads(__tstate);
22923 if (PyErr_Occurred()) SWIG_fail;
22924 }
22925 Py_INCREF(Py_None); resultobj = Py_None;
22926 return resultobj;
22927 fail:
22928 return NULL;
22929}
22930
22931
22932static PyObject *_wrap_Window_SetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
22933 PyObject *resultobj;
22934 wxWindow *arg1 = (wxWindow *) 0 ;
22935 bool arg2 ;
22936 PyObject * obj0 = 0 ;
22937 PyObject * obj1 = 0 ;
22938 char *kwnames[] = {
22939 (char *) "self",(char *) "enableTheme", NULL
22940 };
22941
22942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
22943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 22944 {
994141e6 22945 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
22946 if (PyErr_Occurred()) SWIG_fail;
22947 }
d14a1e28
RD
22948 {
22949 PyThreadState* __tstate = wxPyBeginAllowThreads();
22950 (arg1)->SetThemeEnabled(arg2);
22951
22952 wxPyEndAllowThreads(__tstate);
22953 if (PyErr_Occurred()) SWIG_fail;
22954 }
22955 Py_INCREF(Py_None); resultobj = Py_None;
22956 return resultobj;
22957 fail:
22958 return NULL;
22959}
22960
22961
22962static PyObject *_wrap_Window_GetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
22963 PyObject *resultobj;
22964 wxWindow *arg1 = (wxWindow *) 0 ;
22965 bool result;
22966 PyObject * obj0 = 0 ;
22967 char *kwnames[] = {
22968 (char *) "self", NULL
22969 };
22970
22971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
22972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22973 {
22974 PyThreadState* __tstate = wxPyBeginAllowThreads();
22975 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
22976
22977 wxPyEndAllowThreads(__tstate);
22978 if (PyErr_Occurred()) SWIG_fail;
22979 }
4d5c3d91 22980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22981 return resultobj;
22982 fail:
22983 return NULL;
22984}
22985
22986
22987static PyObject *_wrap_Window_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
22988 PyObject *resultobj;
22989 wxWindow *arg1 = (wxWindow *) 0 ;
22990 bool result;
22991 PyObject * obj0 = 0 ;
22992 char *kwnames[] = {
22993 (char *) "self", NULL
22994 };
22995
22996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ShouldInheritColours",kwnames,&obj0)) goto fail;
22997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22998 {
22999 PyThreadState* __tstate = wxPyBeginAllowThreads();
23000 result = (bool)((wxWindow const *)arg1)->ShouldInheritColours();
23001
23002 wxPyEndAllowThreads(__tstate);
23003 if (PyErr_Occurred()) SWIG_fail;
23004 }
4d5c3d91 23005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23006 return resultobj;
23007 fail:
23008 return NULL;
23009}
23010
23011
23012static PyObject *_wrap_Window_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
23013 PyObject *resultobj;
23014 wxWindow *arg1 = (wxWindow *) 0 ;
23015 PyObject * obj0 = 0 ;
23016 char *kwnames[] = {
23017 (char *) "self", NULL
23018 };
23019
23020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
23021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23022 {
23023 PyThreadState* __tstate = wxPyBeginAllowThreads();
23024 (arg1)->SetFocus();
23025
23026 wxPyEndAllowThreads(__tstate);
23027 if (PyErr_Occurred()) SWIG_fail;
23028 }
23029 Py_INCREF(Py_None); resultobj = Py_None;
23030 return resultobj;
23031 fail:
23032 return NULL;
23033}
23034
23035
23036static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *self, PyObject *args, PyObject *kwargs) {
23037 PyObject *resultobj;
23038 wxWindow *arg1 = (wxWindow *) 0 ;
23039 PyObject * obj0 = 0 ;
23040 char *kwnames[] = {
23041 (char *) "self", NULL
23042 };
23043
23044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
23045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23046 {
23047 PyThreadState* __tstate = wxPyBeginAllowThreads();
23048 (arg1)->SetFocusFromKbd();
23049
23050 wxPyEndAllowThreads(__tstate);
23051 if (PyErr_Occurred()) SWIG_fail;
23052 }
23053 Py_INCREF(Py_None); resultobj = Py_None;
23054 return resultobj;
23055 fail:
23056 return NULL;
23057}
23058
23059
23060static PyObject *_wrap_Window_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
23061 PyObject *resultobj;
23062 wxWindow *result;
23063 char *kwnames[] = {
23064 NULL
23065 };
23066
23067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
23068 {
23069 PyThreadState* __tstate = wxPyBeginAllowThreads();
23070 result = (wxWindow *)wxWindow::FindFocus();
23071
23072 wxPyEndAllowThreads(__tstate);
23073 if (PyErr_Occurred()) SWIG_fail;
23074 }
23075 {
23076 resultobj = wxPyMake_wxObject(result);
23077 }
23078 return resultobj;
23079 fail:
23080 return NULL;
23081}
23082
23083
23084static PyObject *_wrap_Window_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
23085 PyObject *resultobj;
23086 wxWindow *arg1 = (wxWindow *) 0 ;
23087 bool result;
23088 PyObject * obj0 = 0 ;
23089 char *kwnames[] = {
23090 (char *) "self", NULL
23091 };
23092
23093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
23094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23095 {
23096 PyThreadState* __tstate = wxPyBeginAllowThreads();
23097 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
23098
23099 wxPyEndAllowThreads(__tstate);
23100 if (PyErr_Occurred()) SWIG_fail;
23101 }
4d5c3d91 23102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23103 return resultobj;
23104 fail:
23105 return NULL;
23106}
23107
23108
23109static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
23110 PyObject *resultobj;
23111 wxWindow *arg1 = (wxWindow *) 0 ;
23112 bool result;
23113 PyObject * obj0 = 0 ;
23114 char *kwnames[] = {
23115 (char *) "self", NULL
23116 };
23117
23118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
23119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23120 {
23121 PyThreadState* __tstate = wxPyBeginAllowThreads();
23122 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
23123
23124 wxPyEndAllowThreads(__tstate);
23125 if (PyErr_Occurred()) SWIG_fail;
23126 }
4d5c3d91 23127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23128 return resultobj;
23129 fail:
23130 return NULL;
23131}
23132
23133
23134static PyObject *_wrap_Window_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23135 PyObject *resultobj;
23136 wxWindow *arg1 = (wxWindow *) 0 ;
23137 wxWindow *result;
23138 PyObject * obj0 = 0 ;
23139 char *kwnames[] = {
23140 (char *) "self", NULL
23141 };
23142
23143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
23144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23145 {
23146 PyThreadState* __tstate = wxPyBeginAllowThreads();
23147 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
23148
23149 wxPyEndAllowThreads(__tstate);
23150 if (PyErr_Occurred()) SWIG_fail;
23151 }
23152 {
23153 resultobj = wxPyMake_wxObject(result);
23154 }
23155 return resultobj;
23156 fail:
23157 return NULL;
23158}
23159
23160
23161static PyObject *_wrap_Window_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23162 PyObject *resultobj;
23163 wxWindow *arg1 = (wxWindow *) 0 ;
23164 wxWindow *arg2 = (wxWindow *) 0 ;
23165 wxWindow *result;
23166 PyObject * obj0 = 0 ;
23167 PyObject * obj1 = 0 ;
23168 char *kwnames[] = {
23169 (char *) "self",(char *) "child", NULL
23170 };
23171
23172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
23173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23174 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23175 {
23176 PyThreadState* __tstate = wxPyBeginAllowThreads();
23177 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
23178
23179 wxPyEndAllowThreads(__tstate);
23180 if (PyErr_Occurred()) SWIG_fail;
23181 }
23182 {
23183 resultobj = wxPyMake_wxObject(result);
23184 }
23185 return resultobj;
23186 fail:
23187 return NULL;
23188}
23189
23190
23191static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23192 PyObject *resultobj;
23193 wxWindow *arg1 = (wxWindow *) 0 ;
23194 wxWindow *arg2 = (wxWindow *) 0 ;
23195 PyObject * obj0 = 0 ;
23196 PyObject * obj1 = 0 ;
23197 char *kwnames[] = {
23198 (char *) "self",(char *) "win", NULL
23199 };
23200
23201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
23202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23203 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23204 {
23205 PyThreadState* __tstate = wxPyBeginAllowThreads();
23206 (arg1)->SetTmpDefaultItem(arg2);
23207
23208 wxPyEndAllowThreads(__tstate);
23209 if (PyErr_Occurred()) SWIG_fail;
23210 }
23211 Py_INCREF(Py_None); resultobj = Py_None;
23212 return resultobj;
23213 fail:
23214 return NULL;
23215}
23216
23217
23218static PyObject *_wrap_Window_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
23219 PyObject *resultobj;
23220 wxWindow *arg1 = (wxWindow *) 0 ;
23221 PyObject *result;
23222 PyObject * obj0 = 0 ;
23223 char *kwnames[] = {
23224 (char *) "self", NULL
23225 };
23226
23227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
23228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23229 {
23230 PyThreadState* __tstate = wxPyBeginAllowThreads();
23231 result = (PyObject *)wxWindow_GetChildren(arg1);
23232
23233 wxPyEndAllowThreads(__tstate);
23234 if (PyErr_Occurred()) SWIG_fail;
23235 }
23236 resultobj = result;
23237 return resultobj;
23238 fail:
23239 return NULL;
23240}
23241
23242
23243static PyObject *_wrap_Window_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
23244 PyObject *resultobj;
23245 wxWindow *arg1 = (wxWindow *) 0 ;
23246 wxWindow *result;
23247 PyObject * obj0 = 0 ;
23248 char *kwnames[] = {
23249 (char *) "self", NULL
23250 };
23251
23252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
23253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23254 {
23255 PyThreadState* __tstate = wxPyBeginAllowThreads();
23256 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
23257
23258 wxPyEndAllowThreads(__tstate);
23259 if (PyErr_Occurred()) SWIG_fail;
23260 }
23261 {
23262 resultobj = wxPyMake_wxObject(result);
23263 }
23264 return resultobj;
23265 fail:
23266 return NULL;
23267}
23268
23269
23270static PyObject *_wrap_Window_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
23271 PyObject *resultobj;
23272 wxWindow *arg1 = (wxWindow *) 0 ;
23273 wxWindow *result;
23274 PyObject * obj0 = 0 ;
23275 char *kwnames[] = {
23276 (char *) "self", NULL
23277 };
23278
23279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
23280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23281 {
23282 PyThreadState* __tstate = wxPyBeginAllowThreads();
23283 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
23284
23285 wxPyEndAllowThreads(__tstate);
23286 if (PyErr_Occurred()) SWIG_fail;
23287 }
23288 {
23289 resultobj = wxPyMake_wxObject(result);
23290 }
23291 return resultobj;
23292 fail:
23293 return NULL;
23294}
23295
23296
23297static PyObject *_wrap_Window_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
23298 PyObject *resultobj;
23299 wxWindow *arg1 = (wxWindow *) 0 ;
23300 bool result;
23301 PyObject * obj0 = 0 ;
23302 char *kwnames[] = {
23303 (char *) "self", NULL
23304 };
23305
23306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
23307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23308 {
23309 PyThreadState* __tstate = wxPyBeginAllowThreads();
23310 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
23311
23312 wxPyEndAllowThreads(__tstate);
23313 if (PyErr_Occurred()) SWIG_fail;
23314 }
4d5c3d91 23315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23316 return resultobj;
23317 fail:
23318 return NULL;
23319}
23320
23321
23322static PyObject *_wrap_Window_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
23323 PyObject *resultobj;
23324 wxWindow *arg1 = (wxWindow *) 0 ;
23325 wxWindow *arg2 = (wxWindow *) 0 ;
23326 bool result;
23327 PyObject * obj0 = 0 ;
23328 PyObject * obj1 = 0 ;
23329 char *kwnames[] = {
23330 (char *) "self",(char *) "newParent", NULL
23331 };
23332
23333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
23334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23335 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23336 {
23337 PyThreadState* __tstate = wxPyBeginAllowThreads();
23338 result = (bool)(arg1)->Reparent(arg2);
23339
23340 wxPyEndAllowThreads(__tstate);
23341 if (PyErr_Occurred()) SWIG_fail;
23342 }
4d5c3d91 23343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23344 return resultobj;
23345 fail:
23346 return NULL;
23347}
23348
23349
23350static PyObject *_wrap_Window_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
23351 PyObject *resultobj;
23352 wxWindow *arg1 = (wxWindow *) 0 ;
23353 wxWindow *arg2 = (wxWindow *) 0 ;
23354 PyObject * obj0 = 0 ;
23355 PyObject * obj1 = 0 ;
23356 char *kwnames[] = {
23357 (char *) "self",(char *) "child", NULL
23358 };
23359
23360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
23361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23362 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23363 {
23364 PyThreadState* __tstate = wxPyBeginAllowThreads();
23365 (arg1)->AddChild(arg2);
23366
23367 wxPyEndAllowThreads(__tstate);
23368 if (PyErr_Occurred()) SWIG_fail;
23369 }
23370 Py_INCREF(Py_None); resultobj = Py_None;
23371 return resultobj;
23372 fail:
23373 return NULL;
23374}
23375
23376
23377static PyObject *_wrap_Window_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
23378 PyObject *resultobj;
23379 wxWindow *arg1 = (wxWindow *) 0 ;
23380 wxWindow *arg2 = (wxWindow *) 0 ;
23381 PyObject * obj0 = 0 ;
23382 PyObject * obj1 = 0 ;
23383 char *kwnames[] = {
23384 (char *) "self",(char *) "child", NULL
23385 };
23386
23387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
23388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23389 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23390 {
23391 PyThreadState* __tstate = wxPyBeginAllowThreads();
23392 (arg1)->RemoveChild(arg2);
23393
23394 wxPyEndAllowThreads(__tstate);
23395 if (PyErr_Occurred()) SWIG_fail;
23396 }
23397 Py_INCREF(Py_None); resultobj = Py_None;
23398 return resultobj;
23399 fail:
23400 return NULL;
23401}
23402
23403
23404static PyObject *_wrap_Window_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
23405 PyObject *resultobj;
23406 wxWindow *arg1 = (wxWindow *) 0 ;
23407 long arg2 ;
23408 wxWindow *result;
23409 PyObject * obj0 = 0 ;
994141e6 23410 PyObject * obj1 = 0 ;
d14a1e28
RD
23411 char *kwnames[] = {
23412 (char *) "self",(char *) "winid", NULL
23413 };
23414
994141e6 23415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowById",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 23416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
23417 {
23418 arg2 = (long) SWIG_PyObj_AsLong(obj1);
23419 if (PyErr_Occurred()) SWIG_fail;
23420 }
d14a1e28
RD
23421 {
23422 PyThreadState* __tstate = wxPyBeginAllowThreads();
23423 result = (wxWindow *)(arg1)->FindWindow(arg2);
23424
23425 wxPyEndAllowThreads(__tstate);
23426 if (PyErr_Occurred()) SWIG_fail;
23427 }
23428 {
23429 resultobj = wxPyMake_wxObject(result);
23430 }
23431 return resultobj;
23432 fail:
23433 return NULL;
23434}
23435
23436
23437static PyObject *_wrap_Window_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
23438 PyObject *resultobj;
23439 wxWindow *arg1 = (wxWindow *) 0 ;
23440 wxString *arg2 = 0 ;
23441 wxWindow *result;
e811c8ce 23442 bool temp2 = False ;
d14a1e28
RD
23443 PyObject * obj0 = 0 ;
23444 PyObject * obj1 = 0 ;
23445 char *kwnames[] = {
23446 (char *) "self",(char *) "name", NULL
23447 };
23448
23449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
23450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23451 {
23452 arg2 = wxString_in_helper(obj1);
23453 if (arg2 == NULL) SWIG_fail;
e811c8ce 23454 temp2 = True;
d14a1e28
RD
23455 }
23456 {
23457 PyThreadState* __tstate = wxPyBeginAllowThreads();
23458 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
23459
23460 wxPyEndAllowThreads(__tstate);
23461 if (PyErr_Occurred()) SWIG_fail;
23462 }
23463 {
23464 resultobj = wxPyMake_wxObject(result);
23465 }
23466 {
23467 if (temp2)
23468 delete arg2;
23469 }
23470 return resultobj;
23471 fail:
23472 {
23473 if (temp2)
23474 delete arg2;
23475 }
23476 return NULL;
23477}
23478
23479
23480static PyObject *_wrap_Window_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
23481 PyObject *resultobj;
23482 wxWindow *arg1 = (wxWindow *) 0 ;
23483 wxEvtHandler *result;
23484 PyObject * obj0 = 0 ;
23485 char *kwnames[] = {
23486 (char *) "self", NULL
23487 };
23488
23489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
23490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23491 {
23492 PyThreadState* __tstate = wxPyBeginAllowThreads();
23493 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
23494
23495 wxPyEndAllowThreads(__tstate);
23496 if (PyErr_Occurred()) SWIG_fail;
23497 }
23498 {
23499 resultobj = wxPyMake_wxObject(result);
23500 }
23501 return resultobj;
23502 fail:
23503 return NULL;
23504}
23505
23506
23507static PyObject *_wrap_Window_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
23508 PyObject *resultobj;
23509 wxWindow *arg1 = (wxWindow *) 0 ;
23510 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
23511 PyObject * obj0 = 0 ;
23512 PyObject * obj1 = 0 ;
23513 char *kwnames[] = {
23514 (char *) "self",(char *) "handler", NULL
23515 };
23516
23517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
23518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23519 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23520 {
23521 PyThreadState* __tstate = wxPyBeginAllowThreads();
23522 (arg1)->SetEventHandler(arg2);
23523
23524 wxPyEndAllowThreads(__tstate);
23525 if (PyErr_Occurred()) SWIG_fail;
23526 }
23527 Py_INCREF(Py_None); resultobj = Py_None;
23528 return resultobj;
23529 fail:
23530 return NULL;
23531}
23532
23533
23534static PyObject *_wrap_Window_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
23535 PyObject *resultobj;
23536 wxWindow *arg1 = (wxWindow *) 0 ;
23537 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
23538 PyObject * obj0 = 0 ;
23539 PyObject * obj1 = 0 ;
23540 char *kwnames[] = {
23541 (char *) "self",(char *) "handler", NULL
23542 };
23543
23544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
23545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23546 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23547 {
23548 PyThreadState* __tstate = wxPyBeginAllowThreads();
23549 (arg1)->PushEventHandler(arg2);
23550
23551 wxPyEndAllowThreads(__tstate);
23552 if (PyErr_Occurred()) SWIG_fail;
23553 }
23554 Py_INCREF(Py_None); resultobj = Py_None;
23555 return resultobj;
23556 fail:
23557 return NULL;
23558}
23559
23560
23561static PyObject *_wrap_Window_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
23562 PyObject *resultobj;
23563 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 23564 bool arg2 = (bool) False ;
d14a1e28
RD
23565 wxEvtHandler *result;
23566 PyObject * obj0 = 0 ;
23567 PyObject * obj1 = 0 ;
23568 char *kwnames[] = {
23569 (char *) "self",(char *) "deleteHandler", NULL
23570 };
23571
23572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
23573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23574 if (obj1) {
a41e16b6 23575 {
994141e6 23576 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
23577 if (PyErr_Occurred()) SWIG_fail;
23578 }
d14a1e28
RD
23579 }
23580 {
23581 PyThreadState* __tstate = wxPyBeginAllowThreads();
23582 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
23583
23584 wxPyEndAllowThreads(__tstate);
23585 if (PyErr_Occurred()) SWIG_fail;
23586 }
23587 {
23588 resultobj = wxPyMake_wxObject(result);
23589 }
23590 return resultobj;
23591 fail:
23592 return NULL;
23593}
23594
23595
23596static PyObject *_wrap_Window_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
23597 PyObject *resultobj;
23598 wxWindow *arg1 = (wxWindow *) 0 ;
23599 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
23600 bool result;
23601 PyObject * obj0 = 0 ;
23602 PyObject * obj1 = 0 ;
23603 char *kwnames[] = {
23604 (char *) "self",(char *) "handler", NULL
23605 };
23606
23607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
23608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23609 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23610 {
23611 PyThreadState* __tstate = wxPyBeginAllowThreads();
23612 result = (bool)(arg1)->RemoveEventHandler(arg2);
23613
23614 wxPyEndAllowThreads(__tstate);
23615 if (PyErr_Occurred()) SWIG_fail;
23616 }
4d5c3d91 23617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23618 return resultobj;
23619 fail:
23620 return NULL;
23621}
23622
23623
23624static PyObject *_wrap_Window_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
23625 PyObject *resultobj;
23626 wxWindow *arg1 = (wxWindow *) 0 ;
23627 wxValidator *arg2 = 0 ;
23628 PyObject * obj0 = 0 ;
23629 PyObject * obj1 = 0 ;
23630 char *kwnames[] = {
23631 (char *) "self",(char *) "validator", NULL
23632 };
23633
23634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
23635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23636 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23637 if (arg2 == NULL) {
23638 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23639 }
23640 {
23641 PyThreadState* __tstate = wxPyBeginAllowThreads();
23642 (arg1)->SetValidator((wxValidator const &)*arg2);
23643
23644 wxPyEndAllowThreads(__tstate);
23645 if (PyErr_Occurred()) SWIG_fail;
23646 }
23647 Py_INCREF(Py_None); resultobj = Py_None;
23648 return resultobj;
23649 fail:
23650 return NULL;
23651}
23652
23653
23654static PyObject *_wrap_Window_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
23655 PyObject *resultobj;
23656 wxWindow *arg1 = (wxWindow *) 0 ;
23657 wxValidator *result;
23658 PyObject * obj0 = 0 ;
23659 char *kwnames[] = {
23660 (char *) "self", NULL
23661 };
23662
23663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
23664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23665 {
23666 PyThreadState* __tstate = wxPyBeginAllowThreads();
23667 result = (wxValidator *)(arg1)->GetValidator();
23668
23669 wxPyEndAllowThreads(__tstate);
23670 if (PyErr_Occurred()) SWIG_fail;
23671 }
23672 {
23673 resultobj = wxPyMake_wxObject(result);
23674 }
23675 return resultobj;
23676 fail:
23677 return NULL;
23678}
23679
23680
23681static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
23682 PyObject *resultobj;
23683 wxWindow *arg1 = (wxWindow *) 0 ;
23684 wxAcceleratorTable *arg2 = 0 ;
23685 PyObject * obj0 = 0 ;
23686 PyObject * obj1 = 0 ;
23687 char *kwnames[] = {
23688 (char *) "self",(char *) "accel", NULL
23689 };
23690
23691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
23692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23693 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23694 if (arg2 == NULL) {
23695 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23696 }
23697 {
23698 PyThreadState* __tstate = wxPyBeginAllowThreads();
23699 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
23700
23701 wxPyEndAllowThreads(__tstate);
23702 if (PyErr_Occurred()) SWIG_fail;
23703 }
23704 Py_INCREF(Py_None); resultobj = Py_None;
23705 return resultobj;
23706 fail:
23707 return NULL;
23708}
23709
23710
23711static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
23712 PyObject *resultobj;
23713 wxWindow *arg1 = (wxWindow *) 0 ;
23714 wxAcceleratorTable *result;
23715 PyObject * obj0 = 0 ;
23716 char *kwnames[] = {
23717 (char *) "self", NULL
23718 };
23719
23720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
23721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23722 {
23723 PyThreadState* __tstate = wxPyBeginAllowThreads();
23724 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
23725
23726 wxPyEndAllowThreads(__tstate);
23727 if (PyErr_Occurred()) SWIG_fail;
23728 }
23729 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorTable, 0);
23730 return resultobj;
23731 fail:
23732 return NULL;
23733}
23734
23735
23736static PyObject *_wrap_Window_RegisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
23737 PyObject *resultobj;
23738 wxWindow *arg1 = (wxWindow *) 0 ;
23739 int arg2 ;
23740 int arg3 ;
23741 int arg4 ;
23742 bool result;
23743 PyObject * obj0 = 0 ;
994141e6
RD
23744 PyObject * obj1 = 0 ;
23745 PyObject * obj2 = 0 ;
23746 PyObject * obj3 = 0 ;
d14a1e28
RD
23747 char *kwnames[] = {
23748 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
23749 };
23750
994141e6 23751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_RegisterHotKey",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 23752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
23753 {
23754 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23755 if (PyErr_Occurred()) SWIG_fail;
23756 }
23757 {
23758 arg3 = (int) SWIG_PyObj_AsInt(obj2);
23759 if (PyErr_Occurred()) SWIG_fail;
23760 }
23761 {
23762 arg4 = (int) SWIG_PyObj_AsInt(obj3);
23763 if (PyErr_Occurred()) SWIG_fail;
23764 }
d14a1e28
RD
23765 {
23766 PyThreadState* __tstate = wxPyBeginAllowThreads();
23767 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
23768
23769 wxPyEndAllowThreads(__tstate);
23770 if (PyErr_Occurred()) SWIG_fail;
23771 }
4d5c3d91 23772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23773 return resultobj;
23774 fail:
23775 return NULL;
23776}
23777
23778
23779static PyObject *_wrap_Window_UnregisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
23780 PyObject *resultobj;
23781 wxWindow *arg1 = (wxWindow *) 0 ;
23782 int arg2 ;
23783 bool result;
23784 PyObject * obj0 = 0 ;
994141e6 23785 PyObject * obj1 = 0 ;
d14a1e28
RD
23786 char *kwnames[] = {
23787 (char *) "self",(char *) "hotkeyId", NULL
23788 };
23789
994141e6 23790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_UnregisterHotKey",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 23791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
23792 {
23793 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23794 if (PyErr_Occurred()) SWIG_fail;
23795 }
d14a1e28
RD
23796 {
23797 PyThreadState* __tstate = wxPyBeginAllowThreads();
23798 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
23799
23800 wxPyEndAllowThreads(__tstate);
23801 if (PyErr_Occurred()) SWIG_fail;
23802 }
4d5c3d91 23803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23804 return resultobj;
23805 fail:
23806 return NULL;
23807}
23808
23809
23810static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
23811 PyObject *resultobj;
23812 wxWindow *arg1 = (wxWindow *) 0 ;
23813 wxPoint *arg2 = 0 ;
23814 wxPoint result;
23815 wxPoint temp2 ;
23816 PyObject * obj0 = 0 ;
23817 PyObject * obj1 = 0 ;
23818 char *kwnames[] = {
23819 (char *) "self",(char *) "pt", NULL
23820 };
23821
23822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
23823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23824 {
23825 arg2 = &temp2;
23826 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23827 }
23828 {
23829 PyThreadState* __tstate = wxPyBeginAllowThreads();
23830 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
23831
23832 wxPyEndAllowThreads(__tstate);
23833 if (PyErr_Occurred()) SWIG_fail;
23834 }
23835 {
23836 wxPoint * resultptr;
23837 resultptr = new wxPoint((wxPoint &) result);
23838 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
23839 }
23840 return resultobj;
23841 fail:
23842 return NULL;
23843}
23844
23845
23846static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
23847 PyObject *resultobj;
23848 wxWindow *arg1 = (wxWindow *) 0 ;
23849 wxSize *arg2 = 0 ;
23850 wxSize result;
23851 wxSize temp2 ;
23852 PyObject * obj0 = 0 ;
23853 PyObject * obj1 = 0 ;
23854 char *kwnames[] = {
23855 (char *) "self",(char *) "sz", NULL
23856 };
23857
23858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
23859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23860 {
23861 arg2 = &temp2;
23862 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23863 }
23864 {
23865 PyThreadState* __tstate = wxPyBeginAllowThreads();
23866 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
23867
23868 wxPyEndAllowThreads(__tstate);
23869 if (PyErr_Occurred()) SWIG_fail;
23870 }
23871 {
23872 wxSize * resultptr;
23873 resultptr = new wxSize((wxSize &) result);
23874 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
23875 }
23876 return resultobj;
23877 fail:
23878 return NULL;
23879}
23880
23881
23882static PyObject *_wrap_Window_DLG_PNT(PyObject *self, PyObject *args, PyObject *kwargs) {
23883 PyObject *resultobj;
23884 wxWindow *arg1 = (wxWindow *) 0 ;
23885 wxPoint *arg2 = 0 ;
23886 wxPoint result;
23887 wxPoint temp2 ;
23888 PyObject * obj0 = 0 ;
23889 PyObject * obj1 = 0 ;
23890 char *kwnames[] = {
23891 (char *) "self",(char *) "pt", NULL
23892 };
23893
23894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
23895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23896 {
23897 arg2 = &temp2;
23898 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23899 }
23900 {
23901 PyThreadState* __tstate = wxPyBeginAllowThreads();
23902 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
23903
23904 wxPyEndAllowThreads(__tstate);
23905 if (PyErr_Occurred()) SWIG_fail;
23906 }
23907 {
23908 wxPoint * resultptr;
23909 resultptr = new wxPoint((wxPoint &) result);
23910 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
23911 }
23912 return resultobj;
23913 fail:
23914 return NULL;
23915}
23916
23917
23918static PyObject *_wrap_Window_DLG_SZE(PyObject *self, PyObject *args, PyObject *kwargs) {
23919 PyObject *resultobj;
23920 wxWindow *arg1 = (wxWindow *) 0 ;
23921 wxSize *arg2 = 0 ;
23922 wxSize result;
23923 wxSize temp2 ;
23924 PyObject * obj0 = 0 ;
23925 PyObject * obj1 = 0 ;
23926 char *kwnames[] = {
23927 (char *) "self",(char *) "sz", NULL
23928 };
23929
23930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
23931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23932 {
23933 arg2 = &temp2;
23934 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23935 }
23936 {
23937 PyThreadState* __tstate = wxPyBeginAllowThreads();
23938 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
23939
23940 wxPyEndAllowThreads(__tstate);
23941 if (PyErr_Occurred()) SWIG_fail;
23942 }
23943 {
23944 wxSize * resultptr;
23945 resultptr = new wxSize((wxSize &) result);
23946 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
23947 }
23948 return resultobj;
23949 fail:
23950 return NULL;
23951}
23952
23953
23954static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
23955 PyObject *resultobj;
23956 wxWindow *arg1 = (wxWindow *) 0 ;
23957 wxPoint *arg2 = 0 ;
23958 wxPoint result;
23959 wxPoint temp2 ;
23960 PyObject * obj0 = 0 ;
23961 PyObject * obj1 = 0 ;
23962 char *kwnames[] = {
23963 (char *) "self",(char *) "pt", NULL
23964 };
23965
23966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
23967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23968 {
23969 arg2 = &temp2;
23970 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23971 }
23972 {
23973 PyThreadState* __tstate = wxPyBeginAllowThreads();
23974 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
23975
23976 wxPyEndAllowThreads(__tstate);
23977 if (PyErr_Occurred()) SWIG_fail;
23978 }
23979 {
23980 wxPoint * resultptr;
23981 resultptr = new wxPoint((wxPoint &) result);
23982 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
23983 }
23984 return resultobj;
23985 fail:
23986 return NULL;
23987}
23988
23989
23990static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
23991 PyObject *resultobj;
23992 wxWindow *arg1 = (wxWindow *) 0 ;
23993 wxSize *arg2 = 0 ;
23994 wxSize result;
23995 wxSize temp2 ;
23996 PyObject * obj0 = 0 ;
23997 PyObject * obj1 = 0 ;
23998 char *kwnames[] = {
23999 (char *) "self",(char *) "sz", NULL
24000 };
24001
24002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
24003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24004 {
24005 arg2 = &temp2;
24006 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24007 }
24008 {
24009 PyThreadState* __tstate = wxPyBeginAllowThreads();
24010 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
24011
24012 wxPyEndAllowThreads(__tstate);
24013 if (PyErr_Occurred()) SWIG_fail;
24014 }
24015 {
24016 wxSize * resultptr;
24017 resultptr = new wxSize((wxSize &) result);
24018 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24019 }
24020 return resultobj;
24021 fail:
24022 return NULL;
24023}
24024
24025
24026static PyObject *_wrap_Window_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
24027 PyObject *resultobj;
24028 wxWindow *arg1 = (wxWindow *) 0 ;
24029 int arg2 ;
24030 int arg3 ;
24031 PyObject * obj0 = 0 ;
994141e6
RD
24032 PyObject * obj1 = 0 ;
24033 PyObject * obj2 = 0 ;
d14a1e28
RD
24034 char *kwnames[] = {
24035 (char *) "self",(char *) "x",(char *) "y", NULL
24036 };
24037
994141e6 24038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_WarpPointer",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 24039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
24040 {
24041 arg2 = (int) SWIG_PyObj_AsInt(obj1);
24042 if (PyErr_Occurred()) SWIG_fail;
24043 }
24044 {
24045 arg3 = (int) SWIG_PyObj_AsInt(obj2);
24046 if (PyErr_Occurred()) SWIG_fail;
24047 }
d14a1e28
RD
24048 {
24049 PyThreadState* __tstate = wxPyBeginAllowThreads();
24050 (arg1)->WarpPointer(arg2,arg3);
24051
24052 wxPyEndAllowThreads(__tstate);
24053 if (PyErr_Occurred()) SWIG_fail;
24054 }
24055 Py_INCREF(Py_None); resultobj = Py_None;
24056 return resultobj;
24057 fail:
24058 return NULL;
24059}
24060
24061
24062static PyObject *_wrap_Window_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
24063 PyObject *resultobj;
24064 wxWindow *arg1 = (wxWindow *) 0 ;
24065 PyObject * obj0 = 0 ;
24066 char *kwnames[] = {
24067 (char *) "self", NULL
24068 };
24069
24070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
24071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24072 {
24073 PyThreadState* __tstate = wxPyBeginAllowThreads();
24074 (arg1)->CaptureMouse();
24075
24076 wxPyEndAllowThreads(__tstate);
24077 if (PyErr_Occurred()) SWIG_fail;
24078 }
24079 Py_INCREF(Py_None); resultobj = Py_None;
24080 return resultobj;
24081 fail:
24082 return NULL;
24083}
24084
24085
24086static PyObject *_wrap_Window_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
24087 PyObject *resultobj;
24088 wxWindow *arg1 = (wxWindow *) 0 ;
24089 PyObject * obj0 = 0 ;
24090 char *kwnames[] = {
24091 (char *) "self", NULL
24092 };
24093
24094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
24095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24096 {
24097 PyThreadState* __tstate = wxPyBeginAllowThreads();
24098 (arg1)->ReleaseMouse();
24099
24100 wxPyEndAllowThreads(__tstate);
24101 if (PyErr_Occurred()) SWIG_fail;
24102 }
24103 Py_INCREF(Py_None); resultobj = Py_None;
24104 return resultobj;
24105 fail:
24106 return NULL;
24107}
24108
24109
24110static PyObject *_wrap_Window_GetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
24111 PyObject *resultobj;
24112 wxWindow *result;
24113 char *kwnames[] = {
24114 NULL
24115 };
24116
24117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
24118 {
24119 PyThreadState* __tstate = wxPyBeginAllowThreads();
24120 result = (wxWindow *)wxWindow::GetCapture();
24121
24122 wxPyEndAllowThreads(__tstate);
24123 if (PyErr_Occurred()) SWIG_fail;
24124 }
24125 {
24126 resultobj = wxPyMake_wxObject(result);
24127 }
24128 return resultobj;
24129 fail:
24130 return NULL;
24131}
24132
24133
24134static PyObject *_wrap_Window_HasCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
24135 PyObject *resultobj;
24136 wxWindow *arg1 = (wxWindow *) 0 ;
24137 bool result;
24138 PyObject * obj0 = 0 ;
24139 char *kwnames[] = {
24140 (char *) "self", NULL
24141 };
24142
24143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
24144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24145 {
24146 PyThreadState* __tstate = wxPyBeginAllowThreads();
24147 result = (bool)((wxWindow const *)arg1)->HasCapture();
24148
24149 wxPyEndAllowThreads(__tstate);
24150 if (PyErr_Occurred()) SWIG_fail;
24151 }
4d5c3d91 24152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24153 return resultobj;
24154 fail:
24155 return NULL;
24156}
24157
24158
24159static PyObject *_wrap_Window_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
24160 PyObject *resultobj;
24161 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 24162 bool arg2 = (bool) True ;
d14a1e28
RD
24163 wxRect *arg3 = (wxRect *) NULL ;
24164 PyObject * obj0 = 0 ;
24165 PyObject * obj1 = 0 ;
24166 PyObject * obj2 = 0 ;
24167 char *kwnames[] = {
24168 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
24169 };
24170
24171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
24172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24173 if (obj1) {
a41e16b6 24174 {
994141e6 24175 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
24176 if (PyErr_Occurred()) SWIG_fail;
24177 }
d14a1e28
RD
24178 }
24179 if (obj2) {
24180 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24181 }
24182 {
24183 PyThreadState* __tstate = wxPyBeginAllowThreads();
24184 (arg1)->Refresh(arg2,(wxRect const *)arg3);
24185
24186 wxPyEndAllowThreads(__tstate);
24187 if (PyErr_Occurred()) SWIG_fail;
24188 }
24189 Py_INCREF(Py_None); resultobj = Py_None;
24190 return resultobj;
24191 fail:
24192 return NULL;
24193}
24194
24195
24196static PyObject *_wrap_Window_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
24197 PyObject *resultobj;
24198 wxWindow *arg1 = (wxWindow *) 0 ;
24199 wxRect *arg2 = 0 ;
24200 wxRect temp2 ;
24201 PyObject * obj0 = 0 ;
24202 PyObject * obj1 = 0 ;
24203 char *kwnames[] = {
24204 (char *) "self",(char *) "rect", NULL
24205 };
24206
24207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RefreshRect",kwnames,&obj0,&obj1)) goto fail;
24208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24209 {
24210 arg2 = &temp2;
24211 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
24212 }
24213 {
24214 PyThreadState* __tstate = wxPyBeginAllowThreads();
24215 (arg1)->RefreshRect((wxRect const &)*arg2);
24216
24217 wxPyEndAllowThreads(__tstate);
24218 if (PyErr_Occurred()) SWIG_fail;
24219 }
24220 Py_INCREF(Py_None); resultobj = Py_None;
24221 return resultobj;
24222 fail:
24223 return NULL;
24224}
24225
24226
24227static PyObject *_wrap_Window_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
24228 PyObject *resultobj;
24229 wxWindow *arg1 = (wxWindow *) 0 ;
24230 PyObject * obj0 = 0 ;
24231 char *kwnames[] = {
24232 (char *) "self", NULL
24233 };
24234
24235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
24236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24237 {
24238 PyThreadState* __tstate = wxPyBeginAllowThreads();
24239 (arg1)->Update();
24240
24241 wxPyEndAllowThreads(__tstate);
24242 if (PyErr_Occurred()) SWIG_fail;
24243 }
24244 Py_INCREF(Py_None); resultobj = Py_None;
24245 return resultobj;
24246 fail:
24247 return NULL;
24248}
24249
24250
24251static PyObject *_wrap_Window_ClearBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
24252 PyObject *resultobj;
24253 wxWindow *arg1 = (wxWindow *) 0 ;
24254 PyObject * obj0 = 0 ;
24255 char *kwnames[] = {
24256 (char *) "self", NULL
24257 };
24258
24259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
24260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24261 {
24262 PyThreadState* __tstate = wxPyBeginAllowThreads();
24263 (arg1)->ClearBackground();
24264
24265 wxPyEndAllowThreads(__tstate);
24266 if (PyErr_Occurred()) SWIG_fail;
24267 }
24268 Py_INCREF(Py_None); resultobj = Py_None;
24269 return resultobj;
24270 fail:
24271 return NULL;
24272}
24273
24274
24275static PyObject *_wrap_Window_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
24276 PyObject *resultobj;
24277 wxWindow *arg1 = (wxWindow *) 0 ;
24278 PyObject * obj0 = 0 ;
24279 char *kwnames[] = {
24280 (char *) "self", NULL
24281 };
24282
24283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
24284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24285 {
24286 PyThreadState* __tstate = wxPyBeginAllowThreads();
24287 (arg1)->Freeze();
24288
24289 wxPyEndAllowThreads(__tstate);
24290 if (PyErr_Occurred()) SWIG_fail;
24291 }
24292 Py_INCREF(Py_None); resultobj = Py_None;
24293 return resultobj;
24294 fail:
24295 return NULL;
24296}
24297
24298
24299static PyObject *_wrap_Window_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
24300 PyObject *resultobj;
24301 wxWindow *arg1 = (wxWindow *) 0 ;
24302 PyObject * obj0 = 0 ;
24303 char *kwnames[] = {
24304 (char *) "self", NULL
24305 };
24306
24307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
24308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24309 {
24310 PyThreadState* __tstate = wxPyBeginAllowThreads();
24311 (arg1)->Thaw();
24312
24313 wxPyEndAllowThreads(__tstate);
24314 if (PyErr_Occurred()) SWIG_fail;
24315 }
24316 Py_INCREF(Py_None); resultobj = Py_None;
24317 return resultobj;
24318 fail:
24319 return NULL;
24320}
24321
24322
24323static PyObject *_wrap_Window_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
24324 PyObject *resultobj;
24325 wxWindow *arg1 = (wxWindow *) 0 ;
24326 wxDC *arg2 = 0 ;
24327 PyObject * obj0 = 0 ;
24328 PyObject * obj1 = 0 ;
24329 char *kwnames[] = {
24330 (char *) "self",(char *) "dc", NULL
24331 };
24332
24333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
24334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24335 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24336 if (arg2 == NULL) {
24337 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24338 }
24339 {
24340 PyThreadState* __tstate = wxPyBeginAllowThreads();
24341 (arg1)->PrepareDC(*arg2);
24342
24343 wxPyEndAllowThreads(__tstate);
24344 if (PyErr_Occurred()) SWIG_fail;
24345 }
24346 Py_INCREF(Py_None); resultobj = Py_None;
24347 return resultobj;
24348 fail:
24349 return NULL;
24350}
24351
24352
24353static PyObject *_wrap_Window_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
24354 PyObject *resultobj;
24355 wxWindow *arg1 = (wxWindow *) 0 ;
24356 wxRegion *result;
24357 PyObject * obj0 = 0 ;
24358 char *kwnames[] = {
24359 (char *) "self", NULL
24360 };
24361
24362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
24363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24364 {
24365 PyThreadState* __tstate = wxPyBeginAllowThreads();
24366 {
24367 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
24368 result = (wxRegion *) &_result_ref;
24369 }
24370
24371 wxPyEndAllowThreads(__tstate);
24372 if (PyErr_Occurred()) SWIG_fail;
24373 }
24374 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRegion, 0);
24375 return resultobj;
24376 fail:
24377 return NULL;
24378}
24379
24380
24381static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
24382 PyObject *resultobj;
24383 wxWindow *arg1 = (wxWindow *) 0 ;
24384 wxRect result;
24385 PyObject * obj0 = 0 ;
24386 char *kwnames[] = {
24387 (char *) "self", NULL
24388 };
24389
24390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
24391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24392 {
24393 PyThreadState* __tstate = wxPyBeginAllowThreads();
24394 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
24395
24396 wxPyEndAllowThreads(__tstate);
24397 if (PyErr_Occurred()) SWIG_fail;
24398 }
24399 {
24400 wxRect * resultptr;
24401 resultptr = new wxRect((wxRect &) result);
24402 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
24403 }
24404 return resultobj;
24405 fail:
24406 return NULL;
24407}
24408
24409
24410static PyObject *_wrap_Window_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
24411 PyObject *resultobj;
24412 wxWindow *arg1 = (wxWindow *) 0 ;
24413 int arg2 ;
24414 int arg3 ;
24415 int arg4 = (int) 1 ;
24416 int arg5 = (int) 1 ;
24417 bool result;
24418 PyObject * obj0 = 0 ;
994141e6
RD
24419 PyObject * obj1 = 0 ;
24420 PyObject * obj2 = 0 ;
24421 PyObject * obj3 = 0 ;
24422 PyObject * obj4 = 0 ;
d14a1e28
RD
24423 char *kwnames[] = {
24424 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24425 };
24426
994141e6 24427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_IsExposed",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28 24428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
24429 {
24430 arg2 = (int) SWIG_PyObj_AsInt(obj1);
24431 if (PyErr_Occurred()) SWIG_fail;
24432 }
24433 {
24434 arg3 = (int) SWIG_PyObj_AsInt(obj2);
24435 if (PyErr_Occurred()) SWIG_fail;
24436 }
24437 if (obj3) {
24438 {
24439 arg4 = (int) SWIG_PyObj_AsInt(obj3);
24440 if (PyErr_Occurred()) SWIG_fail;
24441 }
24442 }
24443 if (obj4) {
24444 {
24445 arg5 = (int) SWIG_PyObj_AsInt(obj4);
24446 if (PyErr_Occurred()) SWIG_fail;
24447 }
24448 }
d14a1e28
RD
24449 {
24450 PyThreadState* __tstate = wxPyBeginAllowThreads();
24451 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
24452
24453 wxPyEndAllowThreads(__tstate);
24454 if (PyErr_Occurred()) SWIG_fail;
24455 }
4d5c3d91 24456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24457 return resultobj;
24458 fail:
24459 return NULL;
24460}
24461
24462
24463static PyObject *_wrap_Window_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
24464 PyObject *resultobj;
24465 wxWindow *arg1 = (wxWindow *) 0 ;
24466 wxPoint *arg2 = 0 ;
24467 bool result;
24468 wxPoint temp2 ;
24469 PyObject * obj0 = 0 ;
24470 PyObject * obj1 = 0 ;
24471 char *kwnames[] = {
24472 (char *) "self",(char *) "pt", NULL
24473 };
24474
24475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
24476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24477 {
24478 arg2 = &temp2;
24479 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24480 }
24481 {
24482 PyThreadState* __tstate = wxPyBeginAllowThreads();
24483 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
24484
24485 wxPyEndAllowThreads(__tstate);
24486 if (PyErr_Occurred()) SWIG_fail;
24487 }
4d5c3d91 24488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24489 return resultobj;
24490 fail:
24491 return NULL;
24492}
24493
24494
24495static PyObject *_wrap_Window_isExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
24496 PyObject *resultobj;
24497 wxWindow *arg1 = (wxWindow *) 0 ;
24498 wxRect *arg2 = 0 ;
24499 bool result;
24500 wxRect temp2 ;
24501 PyObject * obj0 = 0 ;
24502 PyObject * obj1 = 0 ;
24503 char *kwnames[] = {
24504 (char *) "self",(char *) "rect", NULL
24505 };
24506
24507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_isExposedRect",kwnames,&obj0,&obj1)) goto fail;
24508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24509 {
24510 arg2 = &temp2;
24511 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
24512 }
24513 {
24514 PyThreadState* __tstate = wxPyBeginAllowThreads();
24515 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
24516
24517 wxPyEndAllowThreads(__tstate);
24518 if (PyErr_Occurred()) SWIG_fail;
24519 }
4d5c3d91 24520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24521 return resultobj;
24522 fail:
24523 return NULL;
24524}
24525
24526
24527static PyObject *_wrap_Window_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24528 PyObject *resultobj;
24529 wxWindow *arg1 = (wxWindow *) 0 ;
24530 wxColour *arg2 = 0 ;
24531 bool result;
24532 wxColour temp2 ;
24533 PyObject * obj0 = 0 ;
24534 PyObject * obj1 = 0 ;
24535 char *kwnames[] = {
24536 (char *) "self",(char *) "colour", NULL
24537 };
24538
24539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24541 {
24542 arg2 = &temp2;
24543 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24544 }
24545 {
24546 PyThreadState* __tstate = wxPyBeginAllowThreads();
24547 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
24548
24549 wxPyEndAllowThreads(__tstate);
24550 if (PyErr_Occurred()) SWIG_fail;
24551 }
4d5c3d91 24552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24553 return resultobj;
24554 fail:
24555 return NULL;
24556}
24557
24558
24559static PyObject *_wrap_Window_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24560 PyObject *resultobj;
24561 wxWindow *arg1 = (wxWindow *) 0 ;
24562 wxColour *arg2 = 0 ;
24563 bool result;
24564 wxColour temp2 ;
24565 PyObject * obj0 = 0 ;
24566 PyObject * obj1 = 0 ;
24567 char *kwnames[] = {
24568 (char *) "self",(char *) "colour", NULL
24569 };
24570
24571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
24572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24573 {
24574 arg2 = &temp2;
24575 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24576 }
24577 {
24578 PyThreadState* __tstate = wxPyBeginAllowThreads();
24579 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
24580
24581 wxPyEndAllowThreads(__tstate);
24582 if (PyErr_Occurred()) SWIG_fail;
24583 }
4d5c3d91 24584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24585 return resultobj;
24586 fail:
24587 return NULL;
24588}
24589
24590
24591static PyObject *_wrap_Window_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24592 PyObject *resultobj;
24593 wxWindow *arg1 = (wxWindow *) 0 ;
24594 wxColour result;
24595 PyObject * obj0 = 0 ;
24596 char *kwnames[] = {
24597 (char *) "self", NULL
24598 };
24599
24600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
24601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24602 {
24603 PyThreadState* __tstate = wxPyBeginAllowThreads();
24604 result = ((wxWindow const *)arg1)->GetBackgroundColour();
24605
24606 wxPyEndAllowThreads(__tstate);
24607 if (PyErr_Occurred()) SWIG_fail;
24608 }
24609 {
24610 wxColour * resultptr;
24611 resultptr = new wxColour((wxColour &) result);
24612 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
24613 }
24614 return resultobj;
24615 fail:
24616 return NULL;
24617}
24618
24619
24620static PyObject *_wrap_Window_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24621 PyObject *resultobj;
24622 wxWindow *arg1 = (wxWindow *) 0 ;
24623 wxColour result;
24624 PyObject * obj0 = 0 ;
24625 char *kwnames[] = {
24626 (char *) "self", NULL
24627 };
24628
24629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
24630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24631 {
24632 PyThreadState* __tstate = wxPyBeginAllowThreads();
24633 result = ((wxWindow const *)arg1)->GetForegroundColour();
24634
24635 wxPyEndAllowThreads(__tstate);
24636 if (PyErr_Occurred()) SWIG_fail;
24637 }
24638 {
24639 wxColour * resultptr;
24640 resultptr = new wxColour((wxColour &) result);
24641 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
24642 }
24643 return resultobj;
24644 fail:
24645 return NULL;
24646}
24647
24648
24649static PyObject *_wrap_Window_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
24650 PyObject *resultobj;
24651 wxWindow *arg1 = (wxWindow *) 0 ;
24652 wxCursor *arg2 = 0 ;
24653 bool result;
24654 PyObject * obj0 = 0 ;
24655 PyObject * obj1 = 0 ;
24656 char *kwnames[] = {
24657 (char *) "self",(char *) "cursor", NULL
24658 };
24659
24660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
24661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24662 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24663 if (arg2 == NULL) {
24664 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24665 }
24666 {
24667 PyThreadState* __tstate = wxPyBeginAllowThreads();
24668 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
24669
24670 wxPyEndAllowThreads(__tstate);
24671 if (PyErr_Occurred()) SWIG_fail;
24672 }
4d5c3d91 24673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24674 return resultobj;
24675 fail:
24676 return NULL;
24677}
24678
24679
24680static PyObject *_wrap_Window_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
24681 PyObject *resultobj;
24682 wxWindow *arg1 = (wxWindow *) 0 ;
24683 wxCursor *result;
24684 PyObject * obj0 = 0 ;
24685 char *kwnames[] = {
24686 (char *) "self", NULL
24687 };
24688
24689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
24690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24691 {
24692 PyThreadState* __tstate = wxPyBeginAllowThreads();
24693 {
24694 wxCursor &_result_ref = (arg1)->GetCursor();
24695 result = (wxCursor *) &_result_ref;
24696 }
24697
24698 wxPyEndAllowThreads(__tstate);
24699 if (PyErr_Occurred()) SWIG_fail;
24700 }
24701 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCursor, 0);
24702 return resultobj;
24703 fail:
24704 return NULL;
24705}
24706
24707
24708static PyObject *_wrap_Window_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24709 PyObject *resultobj;
24710 wxWindow *arg1 = (wxWindow *) 0 ;
24711 wxFont *arg2 = 0 ;
24712 bool result;
24713 PyObject * obj0 = 0 ;
24714 PyObject * obj1 = 0 ;
24715 char *kwnames[] = {
24716 (char *) "self",(char *) "font", NULL
24717 };
24718
24719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
24720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24721 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24722 if (arg2 == NULL) {
24723 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24724 }
24725 {
24726 PyThreadState* __tstate = wxPyBeginAllowThreads();
24727 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
24728
24729 wxPyEndAllowThreads(__tstate);
24730 if (PyErr_Occurred()) SWIG_fail;
24731 }
4d5c3d91 24732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24733 return resultobj;
24734 fail:
24735 return NULL;
24736}
24737
24738
24739static PyObject *_wrap_Window_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24740 PyObject *resultobj;
24741 wxWindow *arg1 = (wxWindow *) 0 ;
24742 wxFont *result;
24743 PyObject * obj0 = 0 ;
24744 char *kwnames[] = {
24745 (char *) "self", NULL
24746 };
24747
24748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
24749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24750 {
24751 PyThreadState* __tstate = wxPyBeginAllowThreads();
24752 {
24753 wxFont &_result_ref = (arg1)->GetFont();
24754 result = (wxFont *) &_result_ref;
24755 }
24756
24757 wxPyEndAllowThreads(__tstate);
24758 if (PyErr_Occurred()) SWIG_fail;
24759 }
24760 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
24761 return resultobj;
24762 fail:
24763 return NULL;
24764}
24765
24766
24767static PyObject *_wrap_Window_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
24768 PyObject *resultobj;
24769 wxWindow *arg1 = (wxWindow *) 0 ;
24770 wxCaret *arg2 = (wxCaret *) 0 ;
24771 PyObject * obj0 = 0 ;
24772 PyObject * obj1 = 0 ;
24773 char *kwnames[] = {
24774 (char *) "self",(char *) "caret", NULL
24775 };
24776
24777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
24778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24779 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24780 {
24781 PyThreadState* __tstate = wxPyBeginAllowThreads();
24782 (arg1)->SetCaret(arg2);
24783
24784 wxPyEndAllowThreads(__tstate);
24785 if (PyErr_Occurred()) SWIG_fail;
24786 }
24787 Py_INCREF(Py_None); resultobj = Py_None;
24788 return resultobj;
24789 fail:
24790 return NULL;
24791}
24792
24793
24794static PyObject *_wrap_Window_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
24795 PyObject *resultobj;
24796 wxWindow *arg1 = (wxWindow *) 0 ;
24797 wxCaret *result;
24798 PyObject * obj0 = 0 ;
24799 char *kwnames[] = {
24800 (char *) "self", NULL
24801 };
24802
24803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
24804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24805 {
24806 PyThreadState* __tstate = wxPyBeginAllowThreads();
24807 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
24808
24809 wxPyEndAllowThreads(__tstate);
24810 if (PyErr_Occurred()) SWIG_fail;
24811 }
24812 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 0);
24813 return resultobj;
24814 fail:
24815 return NULL;
24816}
24817
24818
24819static PyObject *_wrap_Window_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
24820 PyObject *resultobj;
24821 wxWindow *arg1 = (wxWindow *) 0 ;
24822 int result;
24823 PyObject * obj0 = 0 ;
24824 char *kwnames[] = {
24825 (char *) "self", NULL
24826 };
24827
24828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
24829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24830 {
24831 PyThreadState* __tstate = wxPyBeginAllowThreads();
24832 result = (int)((wxWindow const *)arg1)->GetCharHeight();
24833
24834 wxPyEndAllowThreads(__tstate);
24835 if (PyErr_Occurred()) SWIG_fail;
24836 }
994141e6 24837 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
24838 return resultobj;
24839 fail:
24840 return NULL;
24841}
24842
24843
24844static PyObject *_wrap_Window_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
24845 PyObject *resultobj;
24846 wxWindow *arg1 = (wxWindow *) 0 ;
24847 int result;
24848 PyObject * obj0 = 0 ;
24849 char *kwnames[] = {
24850 (char *) "self", NULL
24851 };
24852
24853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
24854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24855 {
24856 PyThreadState* __tstate = wxPyBeginAllowThreads();
24857 result = (int)((wxWindow const *)arg1)->GetCharWidth();
24858
24859 wxPyEndAllowThreads(__tstate);
24860 if (PyErr_Occurred()) SWIG_fail;
24861 }
994141e6 24862 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
24863 return resultobj;
24864 fail:
24865 return NULL;
24866}
24867
24868
24869static PyObject *_wrap_Window_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
24870 PyObject *resultobj;
24871 wxWindow *arg1 = (wxWindow *) 0 ;
24872 wxString *arg2 = 0 ;
24873 int *arg3 = (int *) 0 ;
24874 int *arg4 = (int *) 0 ;
e811c8ce 24875 bool temp2 = False ;
d14a1e28
RD
24876 int temp3 ;
24877 int temp4 ;
24878 PyObject * obj0 = 0 ;
24879 PyObject * obj1 = 0 ;
24880 char *kwnames[] = {
24881 (char *) "self",(char *) "string", NULL
24882 };
24883
24884 arg3 = &temp3;
24885 arg4 = &temp4;
24886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
24887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24888 {
24889 arg2 = wxString_in_helper(obj1);
24890 if (arg2 == NULL) SWIG_fail;
e811c8ce 24891 temp2 = True;
d14a1e28
RD
24892 }
24893 {
24894 PyThreadState* __tstate = wxPyBeginAllowThreads();
24895 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
24896
24897 wxPyEndAllowThreads(__tstate);
24898 if (PyErr_Occurred()) SWIG_fail;
24899 }
24900 Py_INCREF(Py_None); resultobj = Py_None;
24901 {
24902 PyObject *o = PyInt_FromLong((long) (*arg3));
24903 resultobj = t_output_helper(resultobj,o);
24904 }
24905 {
24906 PyObject *o = PyInt_FromLong((long) (*arg4));
24907 resultobj = t_output_helper(resultobj,o);
24908 }
24909 {
24910 if (temp2)
24911 delete arg2;
24912 }
24913 return resultobj;
24914 fail:
24915 {
24916 if (temp2)
24917 delete arg2;
24918 }
24919 return NULL;
24920}
24921
24922
24923static PyObject *_wrap_Window_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
24924 PyObject *resultobj;
24925 wxWindow *arg1 = (wxWindow *) 0 ;
24926 wxString *arg2 = 0 ;
24927 int *arg3 = (int *) 0 ;
24928 int *arg4 = (int *) 0 ;
24929 int *arg5 = (int *) 0 ;
24930 int *arg6 = (int *) 0 ;
24931 wxFont *arg7 = (wxFont *) NULL ;
e811c8ce 24932 bool temp2 = False ;
d14a1e28
RD
24933 int temp3 ;
24934 int temp4 ;
24935 int temp5 ;
24936 int temp6 ;
24937 PyObject * obj0 = 0 ;
24938 PyObject * obj1 = 0 ;
24939 PyObject * obj2 = 0 ;
24940 char *kwnames[] = {
24941 (char *) "self",(char *) "string",(char *) "font", NULL
24942 };
24943
24944 arg3 = &temp3;
24945 arg4 = &temp4;
24946 arg5 = &temp5;
24947 arg6 = &temp6;
24948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
24949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24950 {
24951 arg2 = wxString_in_helper(obj1);
24952 if (arg2 == NULL) SWIG_fail;
e811c8ce 24953 temp2 = True;
d14a1e28
RD
24954 }
24955 if (obj2) {
24956 if ((SWIG_ConvertPtr(obj2,(void **) &arg7, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24957 }
24958 {
24959 PyThreadState* __tstate = wxPyBeginAllowThreads();
24960 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
24961
24962 wxPyEndAllowThreads(__tstate);
24963 if (PyErr_Occurred()) SWIG_fail;
24964 }
24965 Py_INCREF(Py_None); resultobj = Py_None;
24966 {
24967 PyObject *o = PyInt_FromLong((long) (*arg3));
24968 resultobj = t_output_helper(resultobj,o);
24969 }
24970 {
24971 PyObject *o = PyInt_FromLong((long) (*arg4));
24972 resultobj = t_output_helper(resultobj,o);
24973 }
24974 {
24975 PyObject *o = PyInt_FromLong((long) (*arg5));
24976 resultobj = t_output_helper(resultobj,o);
24977 }
24978 {
24979 PyObject *o = PyInt_FromLong((long) (*arg6));
24980 resultobj = t_output_helper(resultobj,o);
24981 }
24982 {
24983 if (temp2)
24984 delete arg2;
24985 }
24986 return resultobj;
24987 fail:
24988 {
24989 if (temp2)
24990 delete arg2;
24991 }
24992 return NULL;
24993}
24994
24995
24996static PyObject *_wrap_Window_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
24997 PyObject *resultobj;
24998 wxWindow *arg1 = (wxWindow *) 0 ;
24999 int *arg2 = (int *) 0 ;
25000 int *arg3 = (int *) 0 ;
25001 int temp2 ;
25002 int temp3 ;
25003 PyObject * obj0 = 0 ;
25004 PyObject * obj1 = 0 ;
25005 PyObject * obj2 = 0 ;
25006 char *kwnames[] = {
25007 (char *) "self",(char *) "x",(char *) "y", NULL
25008 };
25009
25010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
25011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25012 {
25013 temp2 = PyInt_AsLong(obj1);
25014 if (PyErr_Occurred()) SWIG_fail;
25015 arg2 = &temp2;
25016 }
25017 {
25018 temp3 = PyInt_AsLong(obj2);
25019 if (PyErr_Occurred()) SWIG_fail;
25020 arg3 = &temp3;
25021 }
25022 {
25023 PyThreadState* __tstate = wxPyBeginAllowThreads();
25024 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
25025
25026 wxPyEndAllowThreads(__tstate);
25027 if (PyErr_Occurred()) SWIG_fail;
25028 }
25029 Py_INCREF(Py_None); resultobj = Py_None;
25030 {
25031 PyObject *o = PyInt_FromLong((long) (*arg2));
25032 resultobj = t_output_helper(resultobj,o);
25033 }
25034 {
25035 PyObject *o = PyInt_FromLong((long) (*arg3));
25036 resultobj = t_output_helper(resultobj,o);
25037 }
25038 return resultobj;
25039 fail:
25040 return NULL;
25041}
25042
25043
25044static PyObject *_wrap_Window_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
25045 PyObject *resultobj;
25046 wxWindow *arg1 = (wxWindow *) 0 ;
25047 int *arg2 = (int *) 0 ;
25048 int *arg3 = (int *) 0 ;
25049 int temp2 ;
25050 int temp3 ;
25051 PyObject * obj0 = 0 ;
25052 PyObject * obj1 = 0 ;
25053 PyObject * obj2 = 0 ;
25054 char *kwnames[] = {
25055 (char *) "self",(char *) "x",(char *) "y", NULL
25056 };
25057
25058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
25059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25060 {
25061 temp2 = PyInt_AsLong(obj1);
25062 if (PyErr_Occurred()) SWIG_fail;
25063 arg2 = &temp2;
25064 }
25065 {
25066 temp3 = PyInt_AsLong(obj2);
25067 if (PyErr_Occurred()) SWIG_fail;
25068 arg3 = &temp3;
25069 }
25070 {
25071 PyThreadState* __tstate = wxPyBeginAllowThreads();
25072 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
25073
25074 wxPyEndAllowThreads(__tstate);
25075 if (PyErr_Occurred()) SWIG_fail;
25076 }
25077 Py_INCREF(Py_None); resultobj = Py_None;
25078 {
25079 PyObject *o = PyInt_FromLong((long) (*arg2));
25080 resultobj = t_output_helper(resultobj,o);
25081 }
25082 {
25083 PyObject *o = PyInt_FromLong((long) (*arg3));
25084 resultobj = t_output_helper(resultobj,o);
25085 }
25086 return resultobj;
25087 fail:
25088 return NULL;
25089}
25090
25091
25092static PyObject *_wrap_Window_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
25093 PyObject *resultobj;
25094 wxWindow *arg1 = (wxWindow *) 0 ;
25095 wxPoint *arg2 = 0 ;
25096 wxPoint result;
25097 wxPoint temp2 ;
25098 PyObject * obj0 = 0 ;
25099 PyObject * obj1 = 0 ;
25100 char *kwnames[] = {
25101 (char *) "self",(char *) "pt", NULL
25102 };
25103
25104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
25105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25106 {
25107 arg2 = &temp2;
25108 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25109 }
25110 {
25111 PyThreadState* __tstate = wxPyBeginAllowThreads();
25112 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
25113
25114 wxPyEndAllowThreads(__tstate);
25115 if (PyErr_Occurred()) SWIG_fail;
25116 }
25117 {
25118 wxPoint * resultptr;
25119 resultptr = new wxPoint((wxPoint &) result);
25120 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
25121 }
25122 return resultobj;
25123 fail:
25124 return NULL;
25125}
25126
25127
25128static PyObject *_wrap_Window_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
25129 PyObject *resultobj;
25130 wxWindow *arg1 = (wxWindow *) 0 ;
25131 wxPoint *arg2 = 0 ;
25132 wxPoint result;
25133 wxPoint temp2 ;
25134 PyObject * obj0 = 0 ;
25135 PyObject * obj1 = 0 ;
25136 char *kwnames[] = {
25137 (char *) "self",(char *) "pt", NULL
25138 };
25139
25140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
25141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25142 {
25143 arg2 = &temp2;
25144 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25145 }
25146 {
25147 PyThreadState* __tstate = wxPyBeginAllowThreads();
25148 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
25149
25150 wxPyEndAllowThreads(__tstate);
25151 if (PyErr_Occurred()) SWIG_fail;
25152 }
25153 {
25154 wxPoint * resultptr;
25155 resultptr = new wxPoint((wxPoint &) result);
25156 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
25157 }
25158 return resultobj;
25159 fail:
25160 return NULL;
25161}
25162
25163
25164static PyObject *_wrap_Window_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
25165 PyObject *resultobj;
25166 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce
RD
25167 int arg2 ;
25168 int arg3 ;
d14a1e28
RD
25169 int result;
25170 PyObject * obj0 = 0 ;
994141e6
RD
25171 PyObject * obj1 = 0 ;
25172 PyObject * obj2 = 0 ;
d14a1e28
RD
25173 char *kwnames[] = {
25174 (char *) "self",(char *) "x",(char *) "y", NULL
25175 };
25176
994141e6 25177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 25178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
25179 {
25180 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25181 if (PyErr_Occurred()) SWIG_fail;
25182 }
25183 {
25184 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25185 if (PyErr_Occurred()) SWIG_fail;
25186 }
d14a1e28
RD
25187 {
25188 PyThreadState* __tstate = wxPyBeginAllowThreads();
25189 result = (int)((wxWindow const *)arg1)->HitTest(arg2,arg3);
25190
25191 wxPyEndAllowThreads(__tstate);
25192 if (PyErr_Occurred()) SWIG_fail;
25193 }
994141e6 25194 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
25195 return resultobj;
25196 fail:
25197 return NULL;
25198}
25199
25200
25201static PyObject *_wrap_Window_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
25202 PyObject *resultobj;
25203 wxWindow *arg1 = (wxWindow *) 0 ;
25204 wxPoint *arg2 = 0 ;
25205 int result;
25206 wxPoint temp2 ;
25207 PyObject * obj0 = 0 ;
25208 PyObject * obj1 = 0 ;
25209 char *kwnames[] = {
25210 (char *) "self",(char *) "pt", NULL
25211 };
25212
25213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
25214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25215 {
25216 arg2 = &temp2;
25217 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25218 }
25219 {
25220 PyThreadState* __tstate = wxPyBeginAllowThreads();
25221 result = (int)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
25222
25223 wxPyEndAllowThreads(__tstate);
25224 if (PyErr_Occurred()) SWIG_fail;
25225 }
994141e6 25226 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
25227 return resultobj;
25228 fail:
25229 return NULL;
25230}
25231
25232
25233static PyObject *_wrap_Window_GetBorderFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
25234 PyObject *resultobj;
25235 wxWindow *arg1 = (wxWindow *) 0 ;
25236 long arg2 ;
25237 int result;
25238 PyObject * obj0 = 0 ;
994141e6 25239 PyObject * obj1 = 0 ;
d14a1e28
RD
25240 char *kwnames[] = {
25241 (char *) "self",(char *) "flags", NULL
25242 };
25243
994141e6 25244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetBorderFlags",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 25245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
25246 {
25247 arg2 = (long) SWIG_PyObj_AsLong(obj1);
25248 if (PyErr_Occurred()) SWIG_fail;
25249 }
d14a1e28
RD
25250 {
25251 PyThreadState* __tstate = wxPyBeginAllowThreads();
25252 result = (int)((wxWindow const *)arg1)->GetBorder(arg2);
25253
25254 wxPyEndAllowThreads(__tstate);
25255 if (PyErr_Occurred()) SWIG_fail;
25256 }
994141e6 25257 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
25258 return resultobj;
25259 fail:
25260 return NULL;
25261}
25262
25263
25264static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
25265 PyObject *resultobj;
25266 wxWindow *arg1 = (wxWindow *) 0 ;
25267 int result;
25268 PyObject * obj0 = 0 ;
25269 char *kwnames[] = {
25270 (char *) "self", NULL
25271 };
25272
25273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBorder",kwnames,&obj0)) goto fail;
25274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25275 {
25276 PyThreadState* __tstate = wxPyBeginAllowThreads();
25277 result = (int)((wxWindow const *)arg1)->GetBorder();
25278
25279 wxPyEndAllowThreads(__tstate);
25280 if (PyErr_Occurred()) SWIG_fail;
25281 }
994141e6 25282 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
25283 return resultobj;
25284 fail:
25285 return NULL;
25286}
25287
25288
25289static PyObject *_wrap_Window_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
25290 PyObject *resultobj;
25291 wxWindow *arg1 = (wxWindow *) 0 ;
25292 long arg2 = (long) wxUPDATE_UI_NONE ;
25293 PyObject * obj0 = 0 ;
994141e6 25294 PyObject * obj1 = 0 ;
d14a1e28
RD
25295 char *kwnames[] = {
25296 (char *) "self",(char *) "flags", NULL
25297 };
25298
994141e6 25299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_UpdateWindowUI",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 25300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
25301 if (obj1) {
25302 {
25303 arg2 = (long) SWIG_PyObj_AsLong(obj1);
25304 if (PyErr_Occurred()) SWIG_fail;
25305 }
25306 }
d14a1e28
RD
25307 {
25308 PyThreadState* __tstate = wxPyBeginAllowThreads();
25309 (arg1)->UpdateWindowUI(arg2);
25310
25311 wxPyEndAllowThreads(__tstate);
25312 if (PyErr_Occurred()) SWIG_fail;
25313 }
25314 Py_INCREF(Py_None); resultobj = Py_None;
25315 return resultobj;
25316 fail:
25317 return NULL;
25318}
25319
25320
25321static PyObject *_wrap_Window_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
25322 PyObject *resultobj;
25323 wxWindow *arg1 = (wxWindow *) 0 ;
25324 wxMenu *arg2 = (wxMenu *) 0 ;
25325 int arg3 ;
25326 int arg4 ;
25327 bool result;
25328 PyObject * obj0 = 0 ;
25329 PyObject * obj1 = 0 ;
994141e6
RD
25330 PyObject * obj2 = 0 ;
25331 PyObject * obj3 = 0 ;
d14a1e28
RD
25332 char *kwnames[] = {
25333 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
25334 };
25335
994141e6 25336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_PopupMenuXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
25337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25338 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
25339 {
25340 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25341 if (PyErr_Occurred()) SWIG_fail;
25342 }
25343 {
25344 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25345 if (PyErr_Occurred()) SWIG_fail;
25346 }
d14a1e28
RD
25347 {
25348 PyThreadState* __tstate = wxPyBeginAllowThreads();
25349 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
25350
25351 wxPyEndAllowThreads(__tstate);
25352 if (PyErr_Occurred()) SWIG_fail;
25353 }
4d5c3d91 25354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25355 return resultobj;
25356 fail:
25357 return NULL;
25358}
25359
25360
25361static PyObject *_wrap_Window_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
25362 PyObject *resultobj;
25363 wxWindow *arg1 = (wxWindow *) 0 ;
25364 wxMenu *arg2 = (wxMenu *) 0 ;
25365 wxPoint *arg3 = 0 ;
25366 bool result;
25367 wxPoint temp3 ;
25368 PyObject * obj0 = 0 ;
25369 PyObject * obj1 = 0 ;
25370 PyObject * obj2 = 0 ;
25371 char *kwnames[] = {
25372 (char *) "self",(char *) "menu",(char *) "pos", NULL
25373 };
25374
25375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
25376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25377 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25378 {
25379 arg3 = &temp3;
25380 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25381 }
25382 {
25383 PyThreadState* __tstate = wxPyBeginAllowThreads();
25384 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
25385
25386 wxPyEndAllowThreads(__tstate);
25387 if (PyErr_Occurred()) SWIG_fail;
25388 }
4d5c3d91 25389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25390 return resultobj;
25391 fail:
25392 return NULL;
25393}
25394
25395
25396static PyObject *_wrap_Window_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
25397 PyObject *resultobj;
25398 wxWindow *arg1 = (wxWindow *) 0 ;
25399 long result;
25400 PyObject * obj0 = 0 ;
25401 char *kwnames[] = {
25402 (char *) "self", NULL
25403 };
25404
25405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
25406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25407 {
25408 PyThreadState* __tstate = wxPyBeginAllowThreads();
25409 result = (long)wxWindow_GetHandle(arg1);
25410
25411 wxPyEndAllowThreads(__tstate);
25412 if (PyErr_Occurred()) SWIG_fail;
25413 }
994141e6 25414 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
25415 return resultobj;
25416 fail:
25417 return NULL;
25418}
25419
25420
25421static PyObject *_wrap_Window_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
25422 PyObject *resultobj;
25423 wxWindow *arg1 = (wxWindow *) 0 ;
25424 int arg2 ;
25425 bool result;
25426 PyObject * obj0 = 0 ;
994141e6 25427 PyObject * obj1 = 0 ;
d14a1e28
RD
25428 char *kwnames[] = {
25429 (char *) "self",(char *) "orient", NULL
25430 };
25431
994141e6 25432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasScrollbar",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 25433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
25434 {
25435 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25436 if (PyErr_Occurred()) SWIG_fail;
25437 }
d14a1e28
RD
25438 {
25439 PyThreadState* __tstate = wxPyBeginAllowThreads();
25440 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
25441
25442 wxPyEndAllowThreads(__tstate);
25443 if (PyErr_Occurred()) SWIG_fail;
25444 }
4d5c3d91 25445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25446 return resultobj;
25447 fail:
25448 return NULL;
25449}
25450
25451
25452static PyObject *_wrap_Window_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
25453 PyObject *resultobj;
25454 wxWindow *arg1 = (wxWindow *) 0 ;
25455 int arg2 ;
25456 int arg3 ;
25457 int arg4 ;
25458 int arg5 ;
e811c8ce 25459 bool arg6 = (bool) True ;
d14a1e28 25460 PyObject * obj0 = 0 ;
994141e6
RD
25461 PyObject * obj1 = 0 ;
25462 PyObject * obj2 = 0 ;
25463 PyObject * obj3 = 0 ;
25464 PyObject * obj4 = 0 ;
d14a1e28
RD
25465 PyObject * obj5 = 0 ;
25466 char *kwnames[] = {
25467 (char *) "self",(char *) "orient",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
25468 };
25469
994141e6 25470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 25471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
25472 {
25473 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25474 if (PyErr_Occurred()) SWIG_fail;
25475 }
25476 {
25477 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25478 if (PyErr_Occurred()) SWIG_fail;
25479 }
25480 {
25481 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25482 if (PyErr_Occurred()) SWIG_fail;
25483 }
25484 {
25485 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25486 if (PyErr_Occurred()) SWIG_fail;
25487 }
d14a1e28 25488 if (obj5) {
a41e16b6 25489 {
994141e6 25490 arg6 = (bool) SWIG_PyObj_AsBool(obj5);
a41e16b6
RD
25491 if (PyErr_Occurred()) SWIG_fail;
25492 }
d14a1e28
RD
25493 }
25494 {
25495 PyThreadState* __tstate = wxPyBeginAllowThreads();
25496 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
25497
25498 wxPyEndAllowThreads(__tstate);
25499 if (PyErr_Occurred()) SWIG_fail;
25500 }
25501 Py_INCREF(Py_None); resultobj = Py_None;
25502 return resultobj;
25503 fail:
25504 return NULL;
25505}
25506
25507
25508static PyObject *_wrap_Window_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
25509 PyObject *resultobj;
25510 wxWindow *arg1 = (wxWindow *) 0 ;
25511 int arg2 ;
25512 int arg3 ;
e811c8ce 25513 bool arg4 = (bool) True ;
d14a1e28 25514 PyObject * obj0 = 0 ;
994141e6
RD
25515 PyObject * obj1 = 0 ;
25516 PyObject * obj2 = 0 ;
d14a1e28
RD
25517 PyObject * obj3 = 0 ;
25518 char *kwnames[] = {
25519 (char *) "self",(char *) "orient",(char *) "pos",(char *) "refresh", NULL
25520 };
25521
994141e6 25522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_SetScrollPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 25523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
25524 {
25525 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25526 if (PyErr_Occurred()) SWIG_fail;
25527 }
25528 {
25529 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25530 if (PyErr_Occurred()) SWIG_fail;
25531 }
d14a1e28 25532 if (obj3) {
a41e16b6 25533 {
994141e6 25534 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
a41e16b6
RD
25535 if (PyErr_Occurred()) SWIG_fail;
25536 }
d14a1e28
RD
25537 }
25538 {
25539 PyThreadState* __tstate = wxPyBeginAllowThreads();
25540 (arg1)->SetScrollPos(arg2,arg3,arg4);
25541
25542 wxPyEndAllowThreads(__tstate);
25543 if (PyErr_Occurred()) SWIG_fail;
25544 }
25545 Py_INCREF(Py_None); resultobj = Py_None;
25546 return resultobj;
25547 fail:
25548 return NULL;
25549}
25550
25551
25552static PyObject *_wrap_Window_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
25553 PyObject *resultobj;
25554 wxWindow *arg1 = (wxWindow *) 0 ;
25555 int arg2 ;
25556 int result;
25557 PyObject * obj0 = 0 ;
994141e6 25558 PyObject * obj1 = 0 ;
d14a1e28
RD
25559 char *kwnames[] = {
25560 (char *) "self",(char *) "orient", NULL
25561 };
25562
994141e6 25563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollPos",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 25564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
25565 {
25566 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25567 if (PyErr_Occurred()) SWIG_fail;
25568 }
d14a1e28
RD
25569 {
25570 PyThreadState* __tstate = wxPyBeginAllowThreads();
25571 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
25572
25573 wxPyEndAllowThreads(__tstate);
25574 if (PyErr_Occurred()) SWIG_fail;
25575 }
994141e6 25576 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
25577 return resultobj;
25578 fail:
25579 return NULL;
25580}
25581
25582
25583static PyObject *_wrap_Window_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
25584 PyObject *resultobj;
25585 wxWindow *arg1 = (wxWindow *) 0 ;
25586 int arg2 ;
25587 int result;
25588 PyObject * obj0 = 0 ;
994141e6 25589 PyObject * obj1 = 0 ;
d14a1e28
RD
25590 char *kwnames[] = {
25591 (char *) "self",(char *) "orient", NULL
25592 };
25593
994141e6 25594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollThumb",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 25595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
25596 {
25597 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25598 if (PyErr_Occurred()) SWIG_fail;
25599 }
d14a1e28
RD
25600 {
25601 PyThreadState* __tstate = wxPyBeginAllowThreads();
25602 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
25603
25604 wxPyEndAllowThreads(__tstate);
25605 if (PyErr_Occurred()) SWIG_fail;
25606 }
994141e6 25607 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
25608 return resultobj;
25609 fail:
25610 return NULL;
25611}
25612
25613
25614static PyObject *_wrap_Window_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
25615 PyObject *resultobj;
25616 wxWindow *arg1 = (wxWindow *) 0 ;
25617 int arg2 ;
25618 int result;
25619 PyObject * obj0 = 0 ;
994141e6 25620 PyObject * obj1 = 0 ;
d14a1e28
RD
25621 char *kwnames[] = {
25622 (char *) "self",(char *) "orient", NULL
25623 };
25624
994141e6 25625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollRange",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 25626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
25627 {
25628 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25629 if (PyErr_Occurred()) SWIG_fail;
25630 }
d14a1e28
RD
25631 {
25632 PyThreadState* __tstate = wxPyBeginAllowThreads();
25633 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
25634
25635 wxPyEndAllowThreads(__tstate);
25636 if (PyErr_Occurred()) SWIG_fail;
25637 }
994141e6 25638 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
25639 return resultobj;
25640 fail:
25641 return NULL;
25642}
25643
25644
25645static PyObject *_wrap_Window_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25646 PyObject *resultobj;
25647 wxWindow *arg1 = (wxWindow *) 0 ;
25648 int arg2 ;
25649 int arg3 ;
25650 wxRect *arg4 = (wxRect *) NULL ;
25651 PyObject * obj0 = 0 ;
994141e6
RD
25652 PyObject * obj1 = 0 ;
25653 PyObject * obj2 = 0 ;
d14a1e28
RD
25654 PyObject * obj3 = 0 ;
25655 char *kwnames[] = {
25656 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
25657 };
25658
994141e6 25659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_ScrollWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 25660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
25661 {
25662 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25663 if (PyErr_Occurred()) SWIG_fail;
25664 }
25665 {
25666 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25667 if (PyErr_Occurred()) SWIG_fail;
25668 }
d14a1e28
RD
25669 if (obj3) {
25670 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25671 }
25672 {
25673 PyThreadState* __tstate = wxPyBeginAllowThreads();
25674 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
25675
25676 wxPyEndAllowThreads(__tstate);
25677 if (PyErr_Occurred()) SWIG_fail;
25678 }
25679 Py_INCREF(Py_None); resultobj = Py_None;
25680 return resultobj;
25681 fail:
25682 return NULL;
25683}
25684
25685
25686static PyObject *_wrap_Window_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
25687 PyObject *resultobj;
25688 wxWindow *arg1 = (wxWindow *) 0 ;
25689 int arg2 ;
25690 bool result;
25691 PyObject * obj0 = 0 ;
994141e6 25692 PyObject * obj1 = 0 ;
d14a1e28
RD
25693 char *kwnames[] = {
25694 (char *) "self",(char *) "lines", NULL
25695 };
25696
994141e6 25697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 25698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
25699 {
25700 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25701 if (PyErr_Occurred()) SWIG_fail;
25702 }
d14a1e28
RD
25703 {
25704 PyThreadState* __tstate = wxPyBeginAllowThreads();
25705 result = (bool)(arg1)->ScrollLines(arg2);
25706
25707 wxPyEndAllowThreads(__tstate);
25708 if (PyErr_Occurred()) SWIG_fail;
25709 }
4d5c3d91 25710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25711 return resultobj;
25712 fail:
25713 return NULL;
25714}
25715
25716
25717static PyObject *_wrap_Window_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
25718 PyObject *resultobj;
25719 wxWindow *arg1 = (wxWindow *) 0 ;
25720 int arg2 ;
25721 bool result;
25722 PyObject * obj0 = 0 ;
994141e6 25723 PyObject * obj1 = 0 ;
d14a1e28
RD
25724 char *kwnames[] = {
25725 (char *) "self",(char *) "pages", NULL
25726 };
25727
994141e6 25728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 25729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
25730 {
25731 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25732 if (PyErr_Occurred()) SWIG_fail;
25733 }
d14a1e28
RD
25734 {
25735 PyThreadState* __tstate = wxPyBeginAllowThreads();
25736 result = (bool)(arg1)->ScrollPages(arg2);
25737
25738 wxPyEndAllowThreads(__tstate);
25739 if (PyErr_Occurred()) SWIG_fail;
25740 }
4d5c3d91 25741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25742 return resultobj;
25743 fail:
25744 return NULL;
25745}
25746
25747
25748static PyObject *_wrap_Window_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
25749 PyObject *resultobj;
25750 wxWindow *arg1 = (wxWindow *) 0 ;
25751 bool result;
25752 PyObject * obj0 = 0 ;
25753 char *kwnames[] = {
25754 (char *) "self", NULL
25755 };
25756
25757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
25758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25759 {
25760 PyThreadState* __tstate = wxPyBeginAllowThreads();
25761 result = (bool)(arg1)->LineUp();
25762
25763 wxPyEndAllowThreads(__tstate);
25764 if (PyErr_Occurred()) SWIG_fail;
25765 }
4d5c3d91 25766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25767 return resultobj;
25768 fail:
25769 return NULL;
25770}
25771
25772
25773static PyObject *_wrap_Window_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
25774 PyObject *resultobj;
25775 wxWindow *arg1 = (wxWindow *) 0 ;
25776 bool result;
25777 PyObject * obj0 = 0 ;
25778 char *kwnames[] = {
25779 (char *) "self", NULL
25780 };
25781
25782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
25783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25784 {
25785 PyThreadState* __tstate = wxPyBeginAllowThreads();
25786 result = (bool)(arg1)->LineDown();
25787
25788 wxPyEndAllowThreads(__tstate);
25789 if (PyErr_Occurred()) SWIG_fail;
25790 }
4d5c3d91 25791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25792 return resultobj;
25793 fail:
25794 return NULL;
25795}
25796
25797
25798static PyObject *_wrap_Window_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
25799 PyObject *resultobj;
25800 wxWindow *arg1 = (wxWindow *) 0 ;
25801 bool result;
25802 PyObject * obj0 = 0 ;
25803 char *kwnames[] = {
25804 (char *) "self", NULL
25805 };
25806
25807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
25808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25809 {
25810 PyThreadState* __tstate = wxPyBeginAllowThreads();
25811 result = (bool)(arg1)->PageUp();
25812
25813 wxPyEndAllowThreads(__tstate);
25814 if (PyErr_Occurred()) SWIG_fail;
25815 }
4d5c3d91 25816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25817 return resultobj;
25818 fail:
25819 return NULL;
25820}
25821
25822
25823static PyObject *_wrap_Window_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
25824 PyObject *resultobj;
25825 wxWindow *arg1 = (wxWindow *) 0 ;
25826 bool result;
25827 PyObject * obj0 = 0 ;
25828 char *kwnames[] = {
25829 (char *) "self", NULL
25830 };
25831
25832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
25833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25834 {
25835 PyThreadState* __tstate = wxPyBeginAllowThreads();
25836 result = (bool)(arg1)->PageDown();
25837
25838 wxPyEndAllowThreads(__tstate);
25839 if (PyErr_Occurred()) SWIG_fail;
25840 }
4d5c3d91 25841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25842 return resultobj;
25843 fail:
25844 return NULL;
25845}
25846
25847
25848static PyObject *_wrap_Window_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
25849 PyObject *resultobj;
25850 wxWindow *arg1 = (wxWindow *) 0 ;
25851 wxString *arg2 = 0 ;
e811c8ce 25852 bool temp2 = False ;
d14a1e28
RD
25853 PyObject * obj0 = 0 ;
25854 PyObject * obj1 = 0 ;
25855 char *kwnames[] = {
25856 (char *) "self",(char *) "text", NULL
25857 };
25858
25859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
25860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25861 {
25862 arg2 = wxString_in_helper(obj1);
25863 if (arg2 == NULL) SWIG_fail;
e811c8ce 25864 temp2 = True;
d14a1e28
RD
25865 }
25866 {
25867 PyThreadState* __tstate = wxPyBeginAllowThreads();
25868 (arg1)->SetHelpText((wxString const &)*arg2);
25869
25870 wxPyEndAllowThreads(__tstate);
25871 if (PyErr_Occurred()) SWIG_fail;
25872 }
25873 Py_INCREF(Py_None); resultobj = Py_None;
25874 {
25875 if (temp2)
25876 delete arg2;
25877 }
25878 return resultobj;
25879 fail:
25880 {
25881 if (temp2)
25882 delete arg2;
25883 }
25884 return NULL;
25885}
25886
25887
25888static PyObject *_wrap_Window_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
25889 PyObject *resultobj;
25890 wxWindow *arg1 = (wxWindow *) 0 ;
25891 wxString *arg2 = 0 ;
e811c8ce 25892 bool temp2 = False ;
d14a1e28
RD
25893 PyObject * obj0 = 0 ;
25894 PyObject * obj1 = 0 ;
25895 char *kwnames[] = {
25896 (char *) "self",(char *) "text", NULL
25897 };
25898
25899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
25900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25901 {
25902 arg2 = wxString_in_helper(obj1);
25903 if (arg2 == NULL) SWIG_fail;
e811c8ce 25904 temp2 = True;
d14a1e28
RD
25905 }
25906 {
25907 PyThreadState* __tstate = wxPyBeginAllowThreads();
25908 (arg1)->SetHelpTextForId((wxString const &)*arg2);
25909
25910 wxPyEndAllowThreads(__tstate);
25911 if (PyErr_Occurred()) SWIG_fail;
25912 }
25913 Py_INCREF(Py_None); resultobj = Py_None;
25914 {
25915 if (temp2)
25916 delete arg2;
25917 }
25918 return resultobj;
25919 fail:
25920 {
25921 if (temp2)
25922 delete arg2;
25923 }
25924 return NULL;
25925}
25926
25927
25928static PyObject *_wrap_Window_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
25929 PyObject *resultobj;
25930 wxWindow *arg1 = (wxWindow *) 0 ;
25931 wxString result;
25932 PyObject * obj0 = 0 ;
25933 char *kwnames[] = {
25934 (char *) "self", NULL
25935 };
25936
25937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
25938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25939 {
25940 PyThreadState* __tstate = wxPyBeginAllowThreads();
25941 result = ((wxWindow const *)arg1)->GetHelpText();
25942
25943 wxPyEndAllowThreads(__tstate);
25944 if (PyErr_Occurred()) SWIG_fail;
25945 }
25946 {
25947#if wxUSE_UNICODE
25948 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25949#else
25950 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25951#endif
25952 }
25953 return resultobj;
25954 fail:
25955 return NULL;
25956}
25957
25958
25959static PyObject *_wrap_Window_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
25960 PyObject *resultobj;
25961 wxWindow *arg1 = (wxWindow *) 0 ;
25962 wxString *arg2 = 0 ;
e811c8ce 25963 bool temp2 = False ;
d14a1e28
RD
25964 PyObject * obj0 = 0 ;
25965 PyObject * obj1 = 0 ;
25966 char *kwnames[] = {
25967 (char *) "self",(char *) "tip", NULL
25968 };
25969
25970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
25971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25972 {
25973 arg2 = wxString_in_helper(obj1);
25974 if (arg2 == NULL) SWIG_fail;
e811c8ce 25975 temp2 = True;
d14a1e28
RD
25976 }
25977 {
25978 PyThreadState* __tstate = wxPyBeginAllowThreads();
25979 (arg1)->SetToolTip((wxString const &)*arg2);
25980
25981 wxPyEndAllowThreads(__tstate);
25982 if (PyErr_Occurred()) SWIG_fail;
25983 }
25984 Py_INCREF(Py_None); resultobj = Py_None;
25985 {
25986 if (temp2)
25987 delete arg2;
25988 }
25989 return resultobj;
25990 fail:
25991 {
25992 if (temp2)
25993 delete arg2;
25994 }
25995 return NULL;
25996}
25997
25998
25999static PyObject *_wrap_Window_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
26000 PyObject *resultobj;
26001 wxWindow *arg1 = (wxWindow *) 0 ;
26002 wxToolTip *arg2 = (wxToolTip *) 0 ;
26003 PyObject * obj0 = 0 ;
26004 PyObject * obj1 = 0 ;
26005 char *kwnames[] = {
26006 (char *) "self",(char *) "tip", NULL
26007 };
26008
26009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
26010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26011 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26012 {
26013 PyThreadState* __tstate = wxPyBeginAllowThreads();
26014 (arg1)->SetToolTip(arg2);
26015
26016 wxPyEndAllowThreads(__tstate);
26017 if (PyErr_Occurred()) SWIG_fail;
26018 }
26019 Py_INCREF(Py_None); resultobj = Py_None;
26020 return resultobj;
26021 fail:
26022 return NULL;
26023}
26024
26025
26026static PyObject *_wrap_Window_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
26027 PyObject *resultobj;
26028 wxWindow *arg1 = (wxWindow *) 0 ;
26029 wxToolTip *result;
26030 PyObject * obj0 = 0 ;
26031 char *kwnames[] = {
26032 (char *) "self", NULL
26033 };
26034
26035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
26036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26037 {
26038 PyThreadState* __tstate = wxPyBeginAllowThreads();
26039 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
26040
26041 wxPyEndAllowThreads(__tstate);
26042 if (PyErr_Occurred()) SWIG_fail;
26043 }
26044 {
26045 resultobj = wxPyMake_wxObject(result);
26046 }
26047 return resultobj;
26048 fail:
26049 return NULL;
26050}
26051
26052
26053static PyObject *_wrap_Window_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26054 PyObject *resultobj;
26055 wxWindow *arg1 = (wxWindow *) 0 ;
7722248d 26056 wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ;
d14a1e28
RD
26057 PyObject * obj0 = 0 ;
26058 PyObject * obj1 = 0 ;
26059 char *kwnames[] = {
26060 (char *) "self",(char *) "dropTarget", NULL
26061 };
26062
26063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
26064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
58203fa6 26065 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
d14a1e28
RD
26066 {
26067 PyThreadState* __tstate = wxPyBeginAllowThreads();
26068 (arg1)->SetDropTarget(arg2);
26069
26070 wxPyEndAllowThreads(__tstate);
26071 if (PyErr_Occurred()) SWIG_fail;
26072 }
26073 Py_INCREF(Py_None); resultobj = Py_None;
26074 return resultobj;
26075 fail:
26076 return NULL;
26077}
26078
26079
26080static PyObject *_wrap_Window_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26081 PyObject *resultobj;
26082 wxWindow *arg1 = (wxWindow *) 0 ;
7722248d 26083 wxPyDropTarget *result;
d14a1e28
RD
26084 PyObject * obj0 = 0 ;
26085 char *kwnames[] = {
26086 (char *) "self", NULL
26087 };
26088
26089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
26090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26091 {
26092 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722248d 26093 result = (wxPyDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
d14a1e28
RD
26094
26095 wxPyEndAllowThreads(__tstate);
26096 if (PyErr_Occurred()) SWIG_fail;
26097 }
7722248d 26098 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropTarget, 0);
d14a1e28
RD
26099 return resultobj;
26100 fail:
26101 return NULL;
26102}
26103
26104
26105static PyObject *_wrap_Window_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
26106 PyObject *resultobj;
26107 wxWindow *arg1 = (wxWindow *) 0 ;
26108 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
26109 PyObject * obj0 = 0 ;
26110 PyObject * obj1 = 0 ;
26111 char *kwnames[] = {
26112 (char *) "self",(char *) "constraints", NULL
26113 };
26114
26115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
26116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26117 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26118 {
26119 PyThreadState* __tstate = wxPyBeginAllowThreads();
26120 (arg1)->SetConstraints(arg2);
26121
26122 wxPyEndAllowThreads(__tstate);
26123 if (PyErr_Occurred()) SWIG_fail;
26124 }
26125 Py_INCREF(Py_None); resultobj = Py_None;
26126 return resultobj;
26127 fail:
26128 return NULL;
26129}
26130
26131
26132static PyObject *_wrap_Window_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
26133 PyObject *resultobj;
26134 wxWindow *arg1 = (wxWindow *) 0 ;
26135 wxLayoutConstraints *result;
26136 PyObject * obj0 = 0 ;
26137 char *kwnames[] = {
26138 (char *) "self", NULL
26139 };
26140
26141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
26142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26143 {
26144 PyThreadState* __tstate = wxPyBeginAllowThreads();
26145 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
26146
26147 wxPyEndAllowThreads(__tstate);
26148 if (PyErr_Occurred()) SWIG_fail;
26149 }
26150 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutConstraints, 0);
26151 return resultobj;
26152 fail:
26153 return NULL;
26154}
26155
26156
26157static PyObject *_wrap_Window_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
26158 PyObject *resultobj;
26159 wxWindow *arg1 = (wxWindow *) 0 ;
26160 bool arg2 ;
26161 PyObject * obj0 = 0 ;
26162 PyObject * obj1 = 0 ;
26163 char *kwnames[] = {
26164 (char *) "self",(char *) "autoLayout", NULL
26165 };
26166
26167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
26168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 26169 {
994141e6 26170 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
26171 if (PyErr_Occurred()) SWIG_fail;
26172 }
d14a1e28
RD
26173 {
26174 PyThreadState* __tstate = wxPyBeginAllowThreads();
26175 (arg1)->SetAutoLayout(arg2);
26176
26177 wxPyEndAllowThreads(__tstate);
26178 if (PyErr_Occurred()) SWIG_fail;
26179 }
26180 Py_INCREF(Py_None); resultobj = Py_None;
26181 return resultobj;
26182 fail:
26183 return NULL;
26184}
26185
26186
26187static PyObject *_wrap_Window_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
26188 PyObject *resultobj;
26189 wxWindow *arg1 = (wxWindow *) 0 ;
26190 bool result;
26191 PyObject * obj0 = 0 ;
26192 char *kwnames[] = {
26193 (char *) "self", NULL
26194 };
26195
26196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
26197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26198 {
26199 PyThreadState* __tstate = wxPyBeginAllowThreads();
26200 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
26201
26202 wxPyEndAllowThreads(__tstate);
26203 if (PyErr_Occurred()) SWIG_fail;
26204 }
4d5c3d91 26205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26206 return resultobj;
26207 fail:
26208 return NULL;
26209}
26210
26211
26212static PyObject *_wrap_Window_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
26213 PyObject *resultobj;
26214 wxWindow *arg1 = (wxWindow *) 0 ;
26215 bool result;
26216 PyObject * obj0 = 0 ;
26217 char *kwnames[] = {
26218 (char *) "self", NULL
26219 };
26220
26221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
26222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26223 {
26224 PyThreadState* __tstate = wxPyBeginAllowThreads();
26225 result = (bool)(arg1)->Layout();
26226
26227 wxPyEndAllowThreads(__tstate);
26228 if (PyErr_Occurred()) SWIG_fail;
26229 }
4d5c3d91 26230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26231 return resultobj;
26232 fail:
26233 return NULL;
26234}
26235
26236
26237static PyObject *_wrap_Window_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
26238 PyObject *resultobj;
26239 wxWindow *arg1 = (wxWindow *) 0 ;
26240 wxSizer *arg2 = (wxSizer *) 0 ;
e811c8ce 26241 bool arg3 = (bool) True ;
d14a1e28
RD
26242 PyObject * obj0 = 0 ;
26243 PyObject * obj1 = 0 ;
26244 PyObject * obj2 = 0 ;
26245 char *kwnames[] = {
26246 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26247 };
26248
26249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
26250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26251 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26252 if (obj2) {
a41e16b6 26253 {
994141e6 26254 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
a41e16b6
RD
26255 if (PyErr_Occurred()) SWIG_fail;
26256 }
d14a1e28
RD
26257 }
26258 {
26259 PyThreadState* __tstate = wxPyBeginAllowThreads();
26260 (arg1)->SetSizer(arg2,arg3);
26261
26262 wxPyEndAllowThreads(__tstate);
26263 if (PyErr_Occurred()) SWIG_fail;
26264 }
26265 Py_INCREF(Py_None); resultobj = Py_None;
26266 return resultobj;
26267 fail:
26268 return NULL;
26269}
26270
26271
26272static PyObject *_wrap_Window_SetSizerAndFit(PyObject *self, PyObject *args, PyObject *kwargs) {
26273 PyObject *resultobj;
26274 wxWindow *arg1 = (wxWindow *) 0 ;
26275 wxSizer *arg2 = (wxSizer *) 0 ;
e811c8ce 26276 bool arg3 = (bool) True ;
d14a1e28
RD
26277 PyObject * obj0 = 0 ;
26278 PyObject * obj1 = 0 ;
26279 PyObject * obj2 = 0 ;
26280 char *kwnames[] = {
26281 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26282 };
26283
26284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
26285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26286 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26287 if (obj2) {
a41e16b6 26288 {
994141e6 26289 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
a41e16b6
RD
26290 if (PyErr_Occurred()) SWIG_fail;
26291 }
d14a1e28
RD
26292 }
26293 {
26294 PyThreadState* __tstate = wxPyBeginAllowThreads();
26295 (arg1)->SetSizerAndFit(arg2,arg3);
26296
26297 wxPyEndAllowThreads(__tstate);
26298 if (PyErr_Occurred()) SWIG_fail;
26299 }
26300 Py_INCREF(Py_None); resultobj = Py_None;
26301 return resultobj;
26302 fail:
26303 return NULL;
26304}
26305
26306
26307static PyObject *_wrap_Window_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
26308 PyObject *resultobj;
26309 wxWindow *arg1 = (wxWindow *) 0 ;
26310 wxSizer *result;
26311 PyObject * obj0 = 0 ;
26312 char *kwnames[] = {
26313 (char *) "self", NULL
26314 };
26315
26316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
26317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26318 {
26319 PyThreadState* __tstate = wxPyBeginAllowThreads();
26320 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
26321
26322 wxPyEndAllowThreads(__tstate);
26323 if (PyErr_Occurred()) SWIG_fail;
26324 }
26325 {
26326 resultobj = wxPyMake_wxSizer(result);
26327 }
26328 return resultobj;
26329 fail:
26330 return NULL;
26331}
26332
26333
26334static PyObject *_wrap_Window_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
26335 PyObject *resultobj;
26336 wxWindow *arg1 = (wxWindow *) 0 ;
26337 wxSizer *arg2 = (wxSizer *) 0 ;
26338 PyObject * obj0 = 0 ;
26339 PyObject * obj1 = 0 ;
26340 char *kwnames[] = {
26341 (char *) "self",(char *) "sizer", NULL
26342 };
26343
26344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
26345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26346 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26347 {
26348 PyThreadState* __tstate = wxPyBeginAllowThreads();
26349 (arg1)->SetContainingSizer(arg2);
26350
26351 wxPyEndAllowThreads(__tstate);
26352 if (PyErr_Occurred()) SWIG_fail;
26353 }
26354 Py_INCREF(Py_None); resultobj = Py_None;
26355 return resultobj;
26356 fail:
26357 return NULL;
26358}
26359
26360
26361static PyObject *_wrap_Window_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
26362 PyObject *resultobj;
26363 wxWindow *arg1 = (wxWindow *) 0 ;
26364 wxSizer *result;
26365 PyObject * obj0 = 0 ;
26366 char *kwnames[] = {
26367 (char *) "self", NULL
26368 };
26369
26370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
26371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26372 {
26373 PyThreadState* __tstate = wxPyBeginAllowThreads();
26374 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
26375
26376 wxPyEndAllowThreads(__tstate);
26377 if (PyErr_Occurred()) SWIG_fail;
26378 }
26379 {
26380 resultobj = wxPyMake_wxSizer(result);
26381 }
26382 return resultobj;
26383 fail:
26384 return NULL;
26385}
26386
26387
26388static PyObject * Window_swigregister(PyObject *self, PyObject *args) {
26389 PyObject *obj;
26390 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26391 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
26392 Py_INCREF(obj);
26393 return Py_BuildValue((char *)"");
26394}
26395static PyObject *_wrap_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
26396 PyObject *resultobj;
26397 long arg1 ;
26398 wxWindow *arg2 = (wxWindow *) NULL ;
26399 wxWindow *result;
994141e6 26400 PyObject * obj0 = 0 ;
d14a1e28
RD
26401 PyObject * obj1 = 0 ;
26402 char *kwnames[] = {
26403 (char *) "id",(char *) "parent", NULL
26404 };
26405
994141e6
RD
26406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowById",kwnames,&obj0,&obj1)) goto fail;
26407 {
26408 arg1 = (long) SWIG_PyObj_AsLong(obj0);
26409 if (PyErr_Occurred()) SWIG_fail;
26410 }
d14a1e28
RD
26411 if (obj1) {
26412 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26413 }
26414 {
26415 PyThreadState* __tstate = wxPyBeginAllowThreads();
26416 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
26417
26418 wxPyEndAllowThreads(__tstate);
26419 if (PyErr_Occurred()) SWIG_fail;
26420 }
26421 {
26422 resultobj = wxPyMake_wxObject(result);
26423 }
26424 return resultobj;
26425 fail:
26426 return NULL;
26427}
26428
26429
26430static PyObject *_wrap_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
26431 PyObject *resultobj;
26432 wxString *arg1 = 0 ;
26433 wxWindow *arg2 = (wxWindow *) NULL ;
26434 wxWindow *result;
e811c8ce 26435 bool temp1 = False ;
d14a1e28
RD
26436 PyObject * obj0 = 0 ;
26437 PyObject * obj1 = 0 ;
26438 char *kwnames[] = {
26439 (char *) "name",(char *) "parent", NULL
26440 };
26441
26442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
26443 {
26444 arg1 = wxString_in_helper(obj0);
26445 if (arg1 == NULL) SWIG_fail;
e811c8ce 26446 temp1 = True;
d14a1e28
RD
26447 }
26448 if (obj1) {
26449 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26450 }
26451 {
26452 PyThreadState* __tstate = wxPyBeginAllowThreads();
26453 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
26454
26455 wxPyEndAllowThreads(__tstate);
26456 if (PyErr_Occurred()) SWIG_fail;
26457 }
26458 {
26459 resultobj = wxPyMake_wxObject(result);
26460 }
26461 {
26462 if (temp1)
26463 delete arg1;
26464 }
26465 return resultobj;
26466 fail:
26467 {
26468 if (temp1)
26469 delete arg1;
26470 }
26471 return NULL;
26472}
26473
26474
26475static PyObject *_wrap_FindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
26476 PyObject *resultobj;
26477 wxString *arg1 = 0 ;
26478 wxWindow *arg2 = (wxWindow *) NULL ;
26479 wxWindow *result;
e811c8ce 26480 bool temp1 = False ;
d14a1e28
RD
26481 PyObject * obj0 = 0 ;
26482 PyObject * obj1 = 0 ;
26483 char *kwnames[] = {
26484 (char *) "label",(char *) "parent", NULL
26485 };
26486
26487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
26488 {
26489 arg1 = wxString_in_helper(obj0);
26490 if (arg1 == NULL) SWIG_fail;
e811c8ce 26491 temp1 = True;
d14a1e28
RD
26492 }
26493 if (obj1) {
26494 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26495 }
26496 {
26497 PyThreadState* __tstate = wxPyBeginAllowThreads();
26498 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
26499
26500 wxPyEndAllowThreads(__tstate);
26501 if (PyErr_Occurred()) SWIG_fail;
26502 }
26503 {
26504 resultobj = wxPyMake_wxObject(result);
26505 }
26506 {
26507 if (temp1)
26508 delete arg1;
26509 }
26510 return resultobj;
26511 fail:
26512 {
26513 if (temp1)
26514 delete arg1;
26515 }
26516 return NULL;
26517}
26518
26519
26520static PyObject *_wrap_Window_FromHWND(PyObject *self, PyObject *args, PyObject *kwargs) {
26521 PyObject *resultobj;
26522 unsigned long arg1 ;
26523 wxWindow *result;
26524 PyObject * obj0 = 0 ;
26525 char *kwnames[] = {
26526 (char *) "hWnd", NULL
26527 };
26528
26529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FromHWND",kwnames,&obj0)) goto fail;
a41e16b6 26530 {
994141e6 26531 arg1 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0);
a41e16b6
RD
26532 if (PyErr_Occurred()) SWIG_fail;
26533 }
d14a1e28
RD
26534 {
26535 PyThreadState* __tstate = wxPyBeginAllowThreads();
26536 result = (wxWindow *)wxWindow_FromHWND(arg1);
26537
26538 wxPyEndAllowThreads(__tstate);
26539 if (PyErr_Occurred()) SWIG_fail;
26540 }
26541 {
26542 resultobj = wxPyMake_wxObject(result);
26543 }
26544 return resultobj;
26545 fail:
26546 return NULL;
26547}
26548
26549
26550static PyObject *_wrap_new_Validator(PyObject *self, PyObject *args, PyObject *kwargs) {
26551 PyObject *resultobj;
26552 wxValidator *result;
26553 char *kwnames[] = {
26554 NULL
26555 };
26556
26557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
26558 {
26559 PyThreadState* __tstate = wxPyBeginAllowThreads();
26560 result = (wxValidator *)new wxValidator();
26561
26562 wxPyEndAllowThreads(__tstate);
26563 if (PyErr_Occurred()) SWIG_fail;
26564 }
26565 {
26566 resultobj = wxPyMake_wxObject(result);
26567 }
26568 return resultobj;
26569 fail:
26570 return NULL;
26571}
26572
26573
26574static PyObject *_wrap_Validator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
26575 PyObject *resultobj;
26576 wxValidator *arg1 = (wxValidator *) 0 ;
26577 wxValidator *result;
26578 PyObject * obj0 = 0 ;
26579 char *kwnames[] = {
26580 (char *) "self", NULL
26581 };
26582
26583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
26584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26585 {
26586 PyThreadState* __tstate = wxPyBeginAllowThreads();
26587 result = (wxValidator *)(arg1)->Clone();
26588
26589 wxPyEndAllowThreads(__tstate);
26590 if (PyErr_Occurred()) SWIG_fail;
26591 }
26592 {
26593 resultobj = wxPyMake_wxObject(result);
26594 }
26595 return resultobj;
26596 fail:
26597 return NULL;
26598}
26599
26600
26601static PyObject *_wrap_Validator_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
26602 PyObject *resultobj;
26603 wxValidator *arg1 = (wxValidator *) 0 ;
26604 wxWindow *arg2 = (wxWindow *) 0 ;
26605 bool result;
26606 PyObject * obj0 = 0 ;
26607 PyObject * obj1 = 0 ;
26608 char *kwnames[] = {
26609 (char *) "self",(char *) "parent", NULL
26610 };
26611
26612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
26613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26614 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26615 {
26616 PyThreadState* __tstate = wxPyBeginAllowThreads();
26617 result = (bool)(arg1)->Validate(arg2);
26618
26619 wxPyEndAllowThreads(__tstate);
26620 if (PyErr_Occurred()) SWIG_fail;
26621 }
4d5c3d91 26622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26623 return resultobj;
26624 fail:
26625 return NULL;
26626}
26627
26628
26629static PyObject *_wrap_Validator_TransferToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26630 PyObject *resultobj;
26631 wxValidator *arg1 = (wxValidator *) 0 ;
26632 bool result;
26633 PyObject * obj0 = 0 ;
26634 char *kwnames[] = {
26635 (char *) "self", NULL
26636 };
26637
26638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
26639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26640 {
26641 PyThreadState* __tstate = wxPyBeginAllowThreads();
26642 result = (bool)(arg1)->TransferToWindow();
26643
26644 wxPyEndAllowThreads(__tstate);
26645 if (PyErr_Occurred()) SWIG_fail;
26646 }
4d5c3d91 26647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26648 return resultobj;
26649 fail:
26650 return NULL;
26651}
26652
26653
26654static PyObject *_wrap_Validator_TransferFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26655 PyObject *resultobj;
26656 wxValidator *arg1 = (wxValidator *) 0 ;
26657 bool result;
26658 PyObject * obj0 = 0 ;
26659 char *kwnames[] = {
26660 (char *) "self", NULL
26661 };
26662
26663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
26664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26665 {
26666 PyThreadState* __tstate = wxPyBeginAllowThreads();
26667 result = (bool)(arg1)->TransferFromWindow();
26668
26669 wxPyEndAllowThreads(__tstate);
26670 if (PyErr_Occurred()) SWIG_fail;
26671 }
4d5c3d91 26672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26673 return resultobj;
26674 fail:
26675 return NULL;
26676}
26677
26678
26679static PyObject *_wrap_Validator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26680 PyObject *resultobj;
26681 wxValidator *arg1 = (wxValidator *) 0 ;
26682 wxWindow *result;
26683 PyObject * obj0 = 0 ;
26684 char *kwnames[] = {
26685 (char *) "self", NULL
26686 };
26687
26688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
26689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26690 {
26691 PyThreadState* __tstate = wxPyBeginAllowThreads();
26692 result = (wxWindow *)(arg1)->GetWindow();
26693
26694 wxPyEndAllowThreads(__tstate);
26695 if (PyErr_Occurred()) SWIG_fail;
26696 }
26697 {
26698 resultobj = wxPyMake_wxObject(result);
26699 }
26700 return resultobj;
26701 fail:
26702 return NULL;
26703}
26704
26705
26706static PyObject *_wrap_Validator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26707 PyObject *resultobj;
26708 wxValidator *arg1 = (wxValidator *) 0 ;
26709 wxWindow *arg2 = (wxWindow *) 0 ;
26710 PyObject * obj0 = 0 ;
26711 PyObject * obj1 = 0 ;
26712 char *kwnames[] = {
26713 (char *) "self",(char *) "window", NULL
26714 };
26715
26716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
26717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26718 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26719 {
26720 PyThreadState* __tstate = wxPyBeginAllowThreads();
26721 (arg1)->SetWindow(arg2);
26722
26723 wxPyEndAllowThreads(__tstate);
26724 if (PyErr_Occurred()) SWIG_fail;
26725 }
26726 Py_INCREF(Py_None); resultobj = Py_None;
26727 return resultobj;
26728 fail:
26729 return NULL;
26730}
26731
26732
26733static PyObject *_wrap_Validator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
26734 PyObject *resultobj;
26735 bool result;
26736 char *kwnames[] = {
26737 NULL
26738 };
26739
26740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
26741 {
26742 PyThreadState* __tstate = wxPyBeginAllowThreads();
26743 result = (bool)wxValidator::IsSilent();
26744
26745 wxPyEndAllowThreads(__tstate);
26746 if (PyErr_Occurred()) SWIG_fail;
26747 }
4d5c3d91 26748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26749 return resultobj;
26750 fail:
26751 return NULL;
26752}
26753
26754
26755static PyObject *_wrap_Validator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
26756 PyObject *resultobj;
e811c8ce 26757 int arg1 = (int) True ;
994141e6 26758 PyObject * obj0 = 0 ;
d14a1e28
RD
26759 char *kwnames[] = {
26760 (char *) "doIt", NULL
26761 };
26762
994141e6
RD
26763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Validator_SetBellOnError",kwnames,&obj0)) goto fail;
26764 if (obj0) {
26765 {
26766 arg1 = (int) SWIG_PyObj_AsInt(obj0);
26767 if (PyErr_Occurred()) SWIG_fail;
26768 }
26769 }
d14a1e28
RD
26770 {
26771 PyThreadState* __tstate = wxPyBeginAllowThreads();
26772 wxValidator::SetBellOnError(arg1);
26773
26774 wxPyEndAllowThreads(__tstate);
26775 if (PyErr_Occurred()) SWIG_fail;
26776 }
26777 Py_INCREF(Py_None); resultobj = Py_None;
26778 return resultobj;
26779 fail:
26780 return NULL;
26781}
26782
26783
26784static PyObject * Validator_swigregister(PyObject *self, PyObject *args) {
26785 PyObject *obj;
26786 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26787 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
26788 Py_INCREF(obj);
26789 return Py_BuildValue((char *)"");
26790}
26791static PyObject *_wrap_new_PyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
26792 PyObject *resultobj;
26793 wxPyValidator *result;
26794 char *kwnames[] = {
26795 NULL
26796 };
26797
26798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
26799 {
26800 PyThreadState* __tstate = wxPyBeginAllowThreads();
26801 result = (wxPyValidator *)new wxPyValidator();
26802
26803 wxPyEndAllowThreads(__tstate);
26804 if (PyErr_Occurred()) SWIG_fail;
26805 }
26806 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyValidator, 1);
26807 return resultobj;
26808 fail:
26809 return NULL;
26810}
26811
26812
26813static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26814 PyObject *resultobj;
26815 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
26816 PyObject *arg2 = (PyObject *) 0 ;
26817 PyObject *arg3 = (PyObject *) 0 ;
e811c8ce 26818 int arg4 = (int) True ;
d14a1e28
RD
26819 PyObject * obj0 = 0 ;
26820 PyObject * obj1 = 0 ;
26821 PyObject * obj2 = 0 ;
994141e6 26822 PyObject * obj3 = 0 ;
d14a1e28
RD
26823 char *kwnames[] = {
26824 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26825 };
26826
994141e6 26827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
26828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26829 arg2 = obj1;
26830 arg3 = obj2;
994141e6
RD
26831 if (obj3) {
26832 {
26833 arg4 = (int) SWIG_PyObj_AsInt(obj3);
26834 if (PyErr_Occurred()) SWIG_fail;
26835 }
26836 }
d14a1e28
RD
26837 {
26838 PyThreadState* __tstate = wxPyBeginAllowThreads();
26839 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
26840
26841 wxPyEndAllowThreads(__tstate);
26842 if (PyErr_Occurred()) SWIG_fail;
26843 }
26844 Py_INCREF(Py_None); resultobj = Py_None;
26845 return resultobj;
26846 fail:
26847 return NULL;
26848}
26849
26850
26851static PyObject * PyValidator_swigregister(PyObject *self, PyObject *args) {
26852 PyObject *obj;
26853 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26854 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
26855 Py_INCREF(obj);
26856 return Py_BuildValue((char *)"");
26857}
26858static int _wrap_DefaultValidator_set(PyObject *_val) {
26859 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
26860 return 1;
26861}
26862
26863
26864static PyObject *_wrap_DefaultValidator_get() {
26865 PyObject *pyobj;
26866
26867 pyobj = SWIG_NewPointerObj((void *) &wxDefaultValidator, SWIGTYPE_p_wxValidator, 0);
26868 return pyobj;
26869}
26870
26871
26872static PyObject *_wrap_new_Menu(PyObject *self, PyObject *args, PyObject *kwargs) {
26873 PyObject *resultobj;
26874 wxString const &arg1_defvalue = wxPyEmptyString ;
26875 wxString *arg1 = (wxString *) &arg1_defvalue ;
26876 long arg2 = (long) 0 ;
26877 wxMenu *result;
e811c8ce 26878 bool temp1 = False ;
d14a1e28 26879 PyObject * obj0 = 0 ;
994141e6 26880 PyObject * obj1 = 0 ;
d14a1e28
RD
26881 char *kwnames[] = {
26882 (char *) "title",(char *) "style", NULL
26883 };
26884
994141e6 26885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Menu",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
26886 if (obj0) {
26887 {
26888 arg1 = wxString_in_helper(obj0);
26889 if (arg1 == NULL) SWIG_fail;
e811c8ce 26890 temp1 = True;
d14a1e28
RD
26891 }
26892 }
994141e6
RD
26893 if (obj1) {
26894 {
26895 arg2 = (long) SWIG_PyObj_AsLong(obj1);
26896 if (PyErr_Occurred()) SWIG_fail;
26897 }
26898 }
d14a1e28
RD
26899 {
26900 PyThreadState* __tstate = wxPyBeginAllowThreads();
26901 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
26902
26903 wxPyEndAllowThreads(__tstate);
26904 if (PyErr_Occurred()) SWIG_fail;
26905 }
26906 {
26907 resultobj = wxPyMake_wxObject(result);
26908 }
26909 {
26910 if (temp1)
26911 delete arg1;
26912 }
26913 return resultobj;
26914 fail:
26915 {
26916 if (temp1)
26917 delete arg1;
26918 }
26919 return NULL;
26920}
26921
26922
26923static PyObject *_wrap_Menu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
26924 PyObject *resultobj;
26925 wxMenu *arg1 = (wxMenu *) 0 ;
26926 int arg2 ;
26927 wxString *arg3 = 0 ;
26928 wxString const &arg4_defvalue = wxPyEmptyString ;
26929 wxString *arg4 = (wxString *) &arg4_defvalue ;
26930 int arg5 = (int) wxITEM_NORMAL ;
a41e16b6 26931 wxMenuItem *result;
e811c8ce
RD
26932 bool temp3 = False ;
26933 bool temp4 = False ;
d14a1e28 26934 PyObject * obj0 = 0 ;
994141e6 26935 PyObject * obj1 = 0 ;
d14a1e28
RD
26936 PyObject * obj2 = 0 ;
26937 PyObject * obj3 = 0 ;
994141e6 26938 PyObject * obj4 = 0 ;
d14a1e28 26939 char *kwnames[] = {
242b7b46 26940 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
26941 };
26942
994141e6 26943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28 26944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
26945 {
26946 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26947 if (PyErr_Occurred()) SWIG_fail;
26948 }
d14a1e28
RD
26949 {
26950 arg3 = wxString_in_helper(obj2);
26951 if (arg3 == NULL) SWIG_fail;
e811c8ce 26952 temp3 = True;
d14a1e28
RD
26953 }
26954 if (obj3) {
26955 {
26956 arg4 = wxString_in_helper(obj3);
26957 if (arg4 == NULL) SWIG_fail;
e811c8ce 26958 temp4 = True;
d14a1e28
RD
26959 }
26960 }
994141e6
RD
26961 if (obj4) {
26962 {
26963 arg5 = (wxItemKind) SWIG_PyObj_AsInt(obj4);
26964 if (PyErr_Occurred()) SWIG_fail;
26965 }
26966 }
d14a1e28
RD
26967 {
26968 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 26969 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
d14a1e28
RD
26970
26971 wxPyEndAllowThreads(__tstate);
26972 if (PyErr_Occurred()) SWIG_fail;
26973 }
a41e16b6
RD
26974 {
26975 resultobj = wxPyMake_wxObject(result);
26976 }
d14a1e28
RD
26977 {
26978 if (temp3)
26979 delete arg3;
26980 }
26981 {
26982 if (temp4)
26983 delete arg4;
26984 }
26985 return resultobj;
26986 fail:
26987 {
26988 if (temp3)
26989 delete arg3;
26990 }
26991 {
26992 if (temp4)
26993 delete arg4;
26994 }
26995 return NULL;
26996}
26997
26998
26999static PyObject *_wrap_Menu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
27000 PyObject *resultobj;
27001 wxMenu *arg1 = (wxMenu *) 0 ;
a41e16b6 27002 wxMenuItem *result;
d14a1e28
RD
27003 PyObject * obj0 = 0 ;
27004 char *kwnames[] = {
27005 (char *) "self", NULL
27006 };
27007
27008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
27009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27010 {
27011 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 27012 result = (wxMenuItem *)(arg1)->AppendSeparator();
d14a1e28
RD
27013
27014 wxPyEndAllowThreads(__tstate);
27015 if (PyErr_Occurred()) SWIG_fail;
27016 }
a41e16b6
RD
27017 {
27018 resultobj = wxPyMake_wxObject(result);
27019 }
d14a1e28
RD
27020 return resultobj;
27021 fail:
27022 return NULL;
27023}
27024
27025
27026static PyObject *_wrap_Menu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27027 PyObject *resultobj;
27028 wxMenu *arg1 = (wxMenu *) 0 ;
27029 int arg2 ;
27030 wxString *arg3 = 0 ;
27031 wxString const &arg4_defvalue = wxPyEmptyString ;
27032 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 27033 wxMenuItem *result;
e811c8ce
RD
27034 bool temp3 = False ;
27035 bool temp4 = False ;
d14a1e28 27036 PyObject * obj0 = 0 ;
994141e6 27037 PyObject * obj1 = 0 ;
d14a1e28
RD
27038 PyObject * obj2 = 0 ;
27039 PyObject * obj3 = 0 ;
27040 char *kwnames[] = {
242b7b46 27041 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
27042 };
27043
994141e6 27044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 27045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
27046 {
27047 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27048 if (PyErr_Occurred()) SWIG_fail;
27049 }
d14a1e28
RD
27050 {
27051 arg3 = wxString_in_helper(obj2);
27052 if (arg3 == NULL) SWIG_fail;
e811c8ce 27053 temp3 = True;
d14a1e28
RD
27054 }
27055 if (obj3) {
27056 {
27057 arg4 = wxString_in_helper(obj3);
27058 if (arg4 == NULL) SWIG_fail;
e811c8ce 27059 temp4 = True;
d14a1e28
RD
27060 }
27061 }
27062 {
27063 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 27064 result = (wxMenuItem *)(arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
27065
27066 wxPyEndAllowThreads(__tstate);
27067 if (PyErr_Occurred()) SWIG_fail;
27068 }
a41e16b6
RD
27069 {
27070 resultobj = wxPyMake_wxObject(result);
27071 }
d14a1e28
RD
27072 {
27073 if (temp3)
27074 delete arg3;
27075 }
27076 {
27077 if (temp4)
27078 delete arg4;
27079 }
27080 return resultobj;
27081 fail:
27082 {
27083 if (temp3)
27084 delete arg3;
27085 }
27086 {
27087 if (temp4)
27088 delete arg4;
27089 }
27090 return NULL;
27091}
27092
27093
27094static PyObject *_wrap_Menu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27095 PyObject *resultobj;
27096 wxMenu *arg1 = (wxMenu *) 0 ;
27097 int arg2 ;
27098 wxString *arg3 = 0 ;
27099 wxString const &arg4_defvalue = wxPyEmptyString ;
27100 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 27101 wxMenuItem *result;
e811c8ce
RD
27102 bool temp3 = False ;
27103 bool temp4 = False ;
d14a1e28 27104 PyObject * obj0 = 0 ;
994141e6 27105 PyObject * obj1 = 0 ;
d14a1e28
RD
27106 PyObject * obj2 = 0 ;
27107 PyObject * obj3 = 0 ;
27108 char *kwnames[] = {
242b7b46 27109 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
27110 };
27111
994141e6 27112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 27113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
27114 {
27115 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27116 if (PyErr_Occurred()) SWIG_fail;
27117 }
d14a1e28
RD
27118 {
27119 arg3 = wxString_in_helper(obj2);
27120 if (arg3 == NULL) SWIG_fail;
e811c8ce 27121 temp3 = True;
d14a1e28
RD
27122 }
27123 if (obj3) {
27124 {
27125 arg4 = wxString_in_helper(obj3);
27126 if (arg4 == NULL) SWIG_fail;
e811c8ce 27127 temp4 = True;
d14a1e28
RD
27128 }
27129 }
27130 {
27131 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 27132 result = (wxMenuItem *)(arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
27133
27134 wxPyEndAllowThreads(__tstate);
27135 if (PyErr_Occurred()) SWIG_fail;
27136 }
a41e16b6
RD
27137 {
27138 resultobj = wxPyMake_wxObject(result);
27139 }
d14a1e28
RD
27140 {
27141 if (temp3)
27142 delete arg3;
27143 }
27144 {
27145 if (temp4)
27146 delete arg4;
27147 }
27148 return resultobj;
27149 fail:
27150 {
27151 if (temp3)
27152 delete arg3;
27153 }
27154 {
27155 if (temp4)
27156 delete arg4;
27157 }
27158 return NULL;
27159}
27160
27161
27162static PyObject *_wrap_Menu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27163 PyObject *resultobj;
27164 wxMenu *arg1 = (wxMenu *) 0 ;
27165 int arg2 ;
27166 wxString *arg3 = 0 ;
27167 wxMenu *arg4 = (wxMenu *) 0 ;
27168 wxString const &arg5_defvalue = wxPyEmptyString ;
27169 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 27170 wxMenuItem *result;
e811c8ce
RD
27171 bool temp3 = False ;
27172 bool temp5 = False ;
d14a1e28 27173 PyObject * obj0 = 0 ;
994141e6 27174 PyObject * obj1 = 0 ;
d14a1e28
RD
27175 PyObject * obj2 = 0 ;
27176 PyObject * obj3 = 0 ;
27177 PyObject * obj4 = 0 ;
27178 char *kwnames[] = {
242b7b46 27179 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
27180 };
27181
994141e6 27182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_AppendMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28 27183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
27184 {
27185 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27186 if (PyErr_Occurred()) SWIG_fail;
27187 }
d14a1e28
RD
27188 {
27189 arg3 = wxString_in_helper(obj2);
27190 if (arg3 == NULL) SWIG_fail;
e811c8ce 27191 temp3 = True;
d14a1e28
RD
27192 }
27193 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27194 if (obj4) {
27195 {
27196 arg5 = wxString_in_helper(obj4);
27197 if (arg5 == NULL) SWIG_fail;
e811c8ce 27198 temp5 = True;
d14a1e28
RD
27199 }
27200 }
27201 {
27202 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 27203 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
d14a1e28
RD
27204
27205 wxPyEndAllowThreads(__tstate);
27206 if (PyErr_Occurred()) SWIG_fail;
27207 }
a41e16b6
RD
27208 {
27209 resultobj = wxPyMake_wxObject(result);
27210 }
d14a1e28
RD
27211 {
27212 if (temp3)
27213 delete arg3;
27214 }
27215 {
27216 if (temp5)
27217 delete arg5;
27218 }
27219 return resultobj;
27220 fail:
27221 {
27222 if (temp3)
27223 delete arg3;
27224 }
27225 {
27226 if (temp5)
27227 delete arg5;
27228 }
27229 return NULL;
27230}
27231
27232
27233static PyObject *_wrap_Menu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27234 PyObject *resultobj;
27235 wxMenu *arg1 = (wxMenu *) 0 ;
27236 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
a41e16b6 27237 wxMenuItem *result;
d14a1e28
RD
27238 PyObject * obj0 = 0 ;
27239 PyObject * obj1 = 0 ;
27240 char *kwnames[] = {
27241 (char *) "self",(char *) "item", NULL
27242 };
27243
27244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
27245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27246 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27247 {
27248 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 27249 result = (wxMenuItem *)(arg1)->Append(arg2);
d14a1e28
RD
27250
27251 wxPyEndAllowThreads(__tstate);
27252 if (PyErr_Occurred()) SWIG_fail;
27253 }
a41e16b6
RD
27254 {
27255 resultobj = wxPyMake_wxObject(result);
27256 }
d14a1e28
RD
27257 return resultobj;
27258 fail:
27259 return NULL;
27260}
27261
27262
27263static PyObject *_wrap_Menu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
27264 PyObject *resultobj;
27265 wxMenu *arg1 = (wxMenu *) 0 ;
27266 PyObject * obj0 = 0 ;
27267 char *kwnames[] = {
27268 (char *) "self", NULL
27269 };
27270
27271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
27272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27273 {
27274 PyThreadState* __tstate = wxPyBeginAllowThreads();
27275 (arg1)->Break();
27276
27277 wxPyEndAllowThreads(__tstate);
27278 if (PyErr_Occurred()) SWIG_fail;
27279 }
27280 Py_INCREF(Py_None); resultobj = Py_None;
27281 return resultobj;
27282 fail:
27283 return NULL;
27284}
27285
27286
27287static PyObject *_wrap_Menu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27288 PyObject *resultobj;
27289 wxMenu *arg1 = (wxMenu *) 0 ;
27290 size_t arg2 ;
27291 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
a41e16b6 27292 wxMenuItem *result;
d14a1e28
RD
27293 PyObject * obj0 = 0 ;
27294 PyObject * obj1 = 0 ;
27295 PyObject * obj2 = 0 ;
27296 char *kwnames[] = {
27297 (char *) "self",(char *) "pos",(char *) "item", NULL
27298 };
27299
27300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
27301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 27302 {
994141e6 27303 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
a41e16b6
RD
27304 if (PyErr_Occurred()) SWIG_fail;
27305 }
d14a1e28
RD
27306 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27307 {
27308 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 27309 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3);
d14a1e28
RD
27310
27311 wxPyEndAllowThreads(__tstate);
27312 if (PyErr_Occurred()) SWIG_fail;
27313 }
a41e16b6
RD
27314 {
27315 resultobj = wxPyMake_wxObject(result);
27316 }
d14a1e28
RD
27317 return resultobj;
27318 fail:
27319 return NULL;
27320}
27321
27322
27323static PyObject *_wrap_Menu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
27324 PyObject *resultobj;
27325 wxMenu *arg1 = (wxMenu *) 0 ;
27326 size_t arg2 ;
27327 int arg3 ;
27328 wxString *arg4 = 0 ;
27329 wxString const &arg5_defvalue = wxPyEmptyString ;
27330 wxString *arg5 = (wxString *) &arg5_defvalue ;
27331 int arg6 = (int) wxITEM_NORMAL ;
a41e16b6 27332 wxMenuItem *result;
e811c8ce
RD
27333 bool temp4 = False ;
27334 bool temp5 = False ;
d14a1e28
RD
27335 PyObject * obj0 = 0 ;
27336 PyObject * obj1 = 0 ;
994141e6 27337 PyObject * obj2 = 0 ;
d14a1e28
RD
27338 PyObject * obj3 = 0 ;
27339 PyObject * obj4 = 0 ;
994141e6 27340 PyObject * obj5 = 0 ;
d14a1e28 27341 char *kwnames[] = {
242b7b46 27342 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
27343 };
27344
994141e6 27345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Menu_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 27346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 27347 {
994141e6
RD
27348 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
27349 if (PyErr_Occurred()) SWIG_fail;
27350 }
27351 {
27352 arg3 = (int) SWIG_PyObj_AsInt(obj2);
a41e16b6
RD
27353 if (PyErr_Occurred()) SWIG_fail;
27354 }
d14a1e28
RD
27355 {
27356 arg4 = wxString_in_helper(obj3);
27357 if (arg4 == NULL) SWIG_fail;
e811c8ce 27358 temp4 = True;
d14a1e28
RD
27359 }
27360 if (obj4) {
27361 {
27362 arg5 = wxString_in_helper(obj4);
27363 if (arg5 == NULL) SWIG_fail;
e811c8ce 27364 temp5 = True;
d14a1e28
RD
27365 }
27366 }
994141e6
RD
27367 if (obj5) {
27368 {
27369 arg6 = (wxItemKind) SWIG_PyObj_AsInt(obj5);
27370 if (PyErr_Occurred()) SWIG_fail;
27371 }
27372 }
d14a1e28
RD
27373 {
27374 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 27375 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
d14a1e28
RD
27376
27377 wxPyEndAllowThreads(__tstate);
27378 if (PyErr_Occurred()) SWIG_fail;
27379 }
a41e16b6
RD
27380 {
27381 resultobj = wxPyMake_wxObject(result);
27382 }
d14a1e28
RD
27383 {
27384 if (temp4)
27385 delete arg4;
27386 }
27387 {
27388 if (temp5)
27389 delete arg5;
27390 }
27391 return resultobj;
27392 fail:
27393 {
27394 if (temp4)
27395 delete arg4;
27396 }
27397 {
27398 if (temp5)
27399 delete arg5;
27400 }
27401 return NULL;
27402}
27403
27404
27405static PyObject *_wrap_Menu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
27406 PyObject *resultobj;
27407 wxMenu *arg1 = (wxMenu *) 0 ;
27408 size_t arg2 ;
a41e16b6 27409 wxMenuItem *result;
d14a1e28
RD
27410 PyObject * obj0 = 0 ;
27411 PyObject * obj1 = 0 ;
27412 char *kwnames[] = {
27413 (char *) "self",(char *) "pos", NULL
27414 };
27415
27416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
27417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 27418 {
994141e6 27419 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
a41e16b6
RD
27420 if (PyErr_Occurred()) SWIG_fail;
27421 }
d14a1e28
RD
27422 {
27423 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 27424 result = (wxMenuItem *)(arg1)->InsertSeparator(arg2);
d14a1e28
RD
27425
27426 wxPyEndAllowThreads(__tstate);
27427 if (PyErr_Occurred()) SWIG_fail;
27428 }
a41e16b6
RD
27429 {
27430 resultobj = wxPyMake_wxObject(result);
27431 }
d14a1e28
RD
27432 return resultobj;
27433 fail:
27434 return NULL;
27435}
27436
27437
27438static PyObject *_wrap_Menu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27439 PyObject *resultobj;
27440 wxMenu *arg1 = (wxMenu *) 0 ;
27441 size_t arg2 ;
27442 int arg3 ;
27443 wxString *arg4 = 0 ;
27444 wxString const &arg5_defvalue = wxPyEmptyString ;
27445 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 27446 wxMenuItem *result;
e811c8ce
RD
27447 bool temp4 = False ;
27448 bool temp5 = False ;
d14a1e28
RD
27449 PyObject * obj0 = 0 ;
27450 PyObject * obj1 = 0 ;
994141e6 27451 PyObject * obj2 = 0 ;
d14a1e28
RD
27452 PyObject * obj3 = 0 ;
27453 PyObject * obj4 = 0 ;
27454 char *kwnames[] = {
242b7b46 27455 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
27456 };
27457
994141e6 27458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28 27459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 27460 {
994141e6
RD
27461 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
27462 if (PyErr_Occurred()) SWIG_fail;
27463 }
27464 {
27465 arg3 = (int) SWIG_PyObj_AsInt(obj2);
a41e16b6
RD
27466 if (PyErr_Occurred()) SWIG_fail;
27467 }
d14a1e28
RD
27468 {
27469 arg4 = wxString_in_helper(obj3);
27470 if (arg4 == NULL) SWIG_fail;
e811c8ce 27471 temp4 = True;
d14a1e28
RD
27472 }
27473 if (obj4) {
27474 {
27475 arg5 = wxString_in_helper(obj4);
27476 if (arg5 == NULL) SWIG_fail;
e811c8ce 27477 temp5 = True;
d14a1e28
RD
27478 }
27479 }
27480 {
27481 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 27482 result = (wxMenuItem *)(arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
d14a1e28
RD
27483
27484 wxPyEndAllowThreads(__tstate);
27485 if (PyErr_Occurred()) SWIG_fail;
27486 }
a41e16b6
RD
27487 {
27488 resultobj = wxPyMake_wxObject(result);
27489 }
d14a1e28
RD
27490 {
27491 if (temp4)
27492 delete arg4;
27493 }
27494 {
27495 if (temp5)
27496 delete arg5;
27497 }
27498 return resultobj;
27499 fail:
27500 {
27501 if (temp4)
27502 delete arg4;
27503 }
27504 {
27505 if (temp5)
27506 delete arg5;
27507 }
27508 return NULL;
27509}
27510
27511
27512static PyObject *_wrap_Menu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27513 PyObject *resultobj;
27514 wxMenu *arg1 = (wxMenu *) 0 ;
27515 size_t arg2 ;
27516 int arg3 ;
27517 wxString *arg4 = 0 ;
27518 wxString const &arg5_defvalue = wxPyEmptyString ;
27519 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 27520 wxMenuItem *result;
e811c8ce
RD
27521 bool temp4 = False ;
27522 bool temp5 = False ;
d14a1e28
RD
27523 PyObject * obj0 = 0 ;
27524 PyObject * obj1 = 0 ;
994141e6 27525 PyObject * obj2 = 0 ;
d14a1e28
RD
27526 PyObject * obj3 = 0 ;
27527 PyObject * obj4 = 0 ;
27528 char *kwnames[] = {
242b7b46 27529 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
27530 };
27531
994141e6 27532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28 27533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 27534 {
994141e6
RD
27535 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
27536 if (PyErr_Occurred()) SWIG_fail;
27537 }
27538 {
27539 arg3 = (int) SWIG_PyObj_AsInt(obj2);
a41e16b6
RD
27540 if (PyErr_Occurred()) SWIG_fail;
27541 }
d14a1e28
RD
27542 {
27543 arg4 = wxString_in_helper(obj3);
27544 if (arg4 == NULL) SWIG_fail;
e811c8ce 27545 temp4 = True;
d14a1e28
RD
27546 }
27547 if (obj4) {
27548 {
27549 arg5 = wxString_in_helper(obj4);
27550 if (arg5 == NULL) SWIG_fail;
e811c8ce 27551 temp5 = True;
d14a1e28
RD
27552 }
27553 }
27554 {
27555 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 27556 result = (wxMenuItem *)(arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
d14a1e28
RD
27557
27558 wxPyEndAllowThreads(__tstate);
27559 if (PyErr_Occurred()) SWIG_fail;
27560 }
a41e16b6
RD
27561 {
27562 resultobj = wxPyMake_wxObject(result);
27563 }
d14a1e28
RD
27564 {
27565 if (temp4)
27566 delete arg4;
27567 }
27568 {
27569 if (temp5)
27570 delete arg5;
27571 }
27572 return resultobj;
27573 fail:
27574 {
27575 if (temp4)
27576 delete arg4;
27577 }
27578 {
27579 if (temp5)
27580 delete arg5;
27581 }
27582 return NULL;
27583}
27584
27585
27586static PyObject *_wrap_Menu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27587 PyObject *resultobj;
27588 wxMenu *arg1 = (wxMenu *) 0 ;
27589 size_t arg2 ;
27590 int arg3 ;
27591 wxString *arg4 = 0 ;
27592 wxMenu *arg5 = (wxMenu *) 0 ;
27593 wxString const &arg6_defvalue = wxPyEmptyString ;
27594 wxString *arg6 = (wxString *) &arg6_defvalue ;
a41e16b6 27595 wxMenuItem *result;
e811c8ce
RD
27596 bool temp4 = False ;
27597 bool temp6 = False ;
d14a1e28
RD
27598 PyObject * obj0 = 0 ;
27599 PyObject * obj1 = 0 ;
994141e6 27600 PyObject * obj2 = 0 ;
d14a1e28
RD
27601 PyObject * obj3 = 0 ;
27602 PyObject * obj4 = 0 ;
27603 PyObject * obj5 = 0 ;
27604 char *kwnames[] = {
242b7b46 27605 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
27606 };
27607
994141e6 27608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 27609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 27610 {
994141e6
RD
27611 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
27612 if (PyErr_Occurred()) SWIG_fail;
27613 }
27614 {
27615 arg3 = (int) SWIG_PyObj_AsInt(obj2);
a41e16b6
RD
27616 if (PyErr_Occurred()) SWIG_fail;
27617 }
d14a1e28
RD
27618 {
27619 arg4 = wxString_in_helper(obj3);
27620 if (arg4 == NULL) SWIG_fail;
e811c8ce 27621 temp4 = True;
d14a1e28
RD
27622 }
27623 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27624 if (obj5) {
27625 {
27626 arg6 = wxString_in_helper(obj5);
27627 if (arg6 == NULL) SWIG_fail;
e811c8ce 27628 temp6 = True;
d14a1e28
RD
27629 }
27630 }
27631 {
27632 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 27633 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
d14a1e28
RD
27634
27635 wxPyEndAllowThreads(__tstate);
27636 if (PyErr_Occurred()) SWIG_fail;
27637 }
a41e16b6
RD
27638 {
27639 resultobj = wxPyMake_wxObject(result);
27640 }
d14a1e28
RD
27641 {
27642 if (temp4)
27643 delete arg4;
27644 }
27645 {
27646 if (temp6)
27647 delete arg6;
27648 }
27649 return resultobj;
27650 fail:
27651 {
27652 if (temp4)
27653 delete arg4;
27654 }
27655 {
27656 if (temp6)
27657 delete arg6;
27658 }
27659 return NULL;
27660}
27661
27662
27663static PyObject *_wrap_Menu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27664 PyObject *resultobj;
27665 wxMenu *arg1 = (wxMenu *) 0 ;
27666 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
a41e16b6 27667 wxMenuItem *result;
d14a1e28
RD
27668 PyObject * obj0 = 0 ;
27669 PyObject * obj1 = 0 ;
27670 char *kwnames[] = {
27671 (char *) "self",(char *) "item", NULL
27672 };
27673
27674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
27675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27676 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27677 {
27678 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 27679 result = (wxMenuItem *)(arg1)->Prepend(arg2);
d14a1e28
RD
27680
27681 wxPyEndAllowThreads(__tstate);
27682 if (PyErr_Occurred()) SWIG_fail;
27683 }
a41e16b6
RD
27684 {
27685 resultobj = wxPyMake_wxObject(result);
27686 }
d14a1e28
RD
27687 return resultobj;
27688 fail:
27689 return NULL;
27690}
27691
27692
27693static PyObject *_wrap_Menu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
27694 PyObject *resultobj;
27695 wxMenu *arg1 = (wxMenu *) 0 ;
27696 int arg2 ;
27697 wxString *arg3 = 0 ;
27698 wxString const &arg4_defvalue = wxPyEmptyString ;
27699 wxString *arg4 = (wxString *) &arg4_defvalue ;
27700 int arg5 = (int) wxITEM_NORMAL ;
a41e16b6 27701 wxMenuItem *result;
e811c8ce
RD
27702 bool temp3 = False ;
27703 bool temp4 = False ;
d14a1e28 27704 PyObject * obj0 = 0 ;
994141e6 27705 PyObject * obj1 = 0 ;
d14a1e28
RD
27706 PyObject * obj2 = 0 ;
27707 PyObject * obj3 = 0 ;
994141e6 27708 PyObject * obj4 = 0 ;
d14a1e28 27709 char *kwnames[] = {
242b7b46 27710 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
27711 };
27712
994141e6 27713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28 27714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
27715 {
27716 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27717 if (PyErr_Occurred()) SWIG_fail;
27718 }
d14a1e28
RD
27719 {
27720 arg3 = wxString_in_helper(obj2);
27721 if (arg3 == NULL) SWIG_fail;
e811c8ce 27722 temp3 = True;
d14a1e28
RD
27723 }
27724 if (obj3) {
27725 {
27726 arg4 = wxString_in_helper(obj3);
27727 if (arg4 == NULL) SWIG_fail;
e811c8ce 27728 temp4 = True;
d14a1e28
RD
27729 }
27730 }
994141e6
RD
27731 if (obj4) {
27732 {
27733 arg5 = (wxItemKind) SWIG_PyObj_AsInt(obj4);
27734 if (PyErr_Occurred()) SWIG_fail;
27735 }
27736 }
d14a1e28
RD
27737 {
27738 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 27739 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
d14a1e28
RD
27740
27741 wxPyEndAllowThreads(__tstate);
27742 if (PyErr_Occurred()) SWIG_fail;
27743 }
a41e16b6
RD
27744 {
27745 resultobj = wxPyMake_wxObject(result);
27746 }
d14a1e28
RD
27747 {
27748 if (temp3)
27749 delete arg3;
27750 }
27751 {
27752 if (temp4)
27753 delete arg4;
27754 }
27755 return resultobj;
27756 fail:
27757 {
27758 if (temp3)
27759 delete arg3;
27760 }
27761 {
27762 if (temp4)
27763 delete arg4;
27764 }
27765 return NULL;
27766}
27767
27768
27769static PyObject *_wrap_Menu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
27770 PyObject *resultobj;
27771 wxMenu *arg1 = (wxMenu *) 0 ;
a41e16b6 27772 wxMenuItem *result;
d14a1e28
RD
27773 PyObject * obj0 = 0 ;
27774 char *kwnames[] = {
27775 (char *) "self", NULL
27776 };
27777
27778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
27779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27780 {
27781 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 27782 result = (wxMenuItem *)(arg1)->PrependSeparator();
d14a1e28
RD
27783
27784 wxPyEndAllowThreads(__tstate);
27785 if (PyErr_Occurred()) SWIG_fail;
27786 }
a41e16b6
RD
27787 {
27788 resultobj = wxPyMake_wxObject(result);
27789 }
d14a1e28
RD
27790 return resultobj;
27791 fail:
27792 return NULL;
27793}
27794
27795
27796static PyObject *_wrap_Menu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27797 PyObject *resultobj;
27798 wxMenu *arg1 = (wxMenu *) 0 ;
27799 int arg2 ;
27800 wxString *arg3 = 0 ;
27801 wxString const &arg4_defvalue = wxPyEmptyString ;
27802 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 27803 wxMenuItem *result;
e811c8ce
RD
27804 bool temp3 = False ;
27805 bool temp4 = False ;
d14a1e28 27806 PyObject * obj0 = 0 ;
994141e6 27807 PyObject * obj1 = 0 ;
d14a1e28
RD
27808 PyObject * obj2 = 0 ;
27809 PyObject * obj3 = 0 ;
27810 char *kwnames[] = {
242b7b46 27811 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
27812 };
27813
994141e6 27814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 27815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
27816 {
27817 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27818 if (PyErr_Occurred()) SWIG_fail;
27819 }
d14a1e28
RD
27820 {
27821 arg3 = wxString_in_helper(obj2);
27822 if (arg3 == NULL) SWIG_fail;
e811c8ce 27823 temp3 = True;
d14a1e28
RD
27824 }
27825 if (obj3) {
27826 {
27827 arg4 = wxString_in_helper(obj3);
27828 if (arg4 == NULL) SWIG_fail;
e811c8ce 27829 temp4 = True;
d14a1e28
RD
27830 }
27831 }
27832 {
27833 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 27834 result = (wxMenuItem *)(arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
27835
27836 wxPyEndAllowThreads(__tstate);
27837 if (PyErr_Occurred()) SWIG_fail;
27838 }
a41e16b6
RD
27839 {
27840 resultobj = wxPyMake_wxObject(result);
27841 }
d14a1e28
RD
27842 {
27843 if (temp3)
27844 delete arg3;
27845 }
27846 {
27847 if (temp4)
27848 delete arg4;
27849 }
27850 return resultobj;
27851 fail:
27852 {
27853 if (temp3)
27854 delete arg3;
27855 }
27856 {
27857 if (temp4)
27858 delete arg4;
27859 }
27860 return NULL;
27861}
27862
27863
27864static PyObject *_wrap_Menu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27865 PyObject *resultobj;
27866 wxMenu *arg1 = (wxMenu *) 0 ;
27867 int arg2 ;
27868 wxString *arg3 = 0 ;
27869 wxString const &arg4_defvalue = wxPyEmptyString ;
27870 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 27871 wxMenuItem *result;
e811c8ce
RD
27872 bool temp3 = False ;
27873 bool temp4 = False ;
d14a1e28 27874 PyObject * obj0 = 0 ;
994141e6 27875 PyObject * obj1 = 0 ;
d14a1e28
RD
27876 PyObject * obj2 = 0 ;
27877 PyObject * obj3 = 0 ;
27878 char *kwnames[] = {
242b7b46 27879 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
27880 };
27881
994141e6 27882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 27883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
27884 {
27885 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27886 if (PyErr_Occurred()) SWIG_fail;
27887 }
d14a1e28
RD
27888 {
27889 arg3 = wxString_in_helper(obj2);
27890 if (arg3 == NULL) SWIG_fail;
e811c8ce 27891 temp3 = True;
d14a1e28
RD
27892 }
27893 if (obj3) {
27894 {
27895 arg4 = wxString_in_helper(obj3);
27896 if (arg4 == NULL) SWIG_fail;
e811c8ce 27897 temp4 = True;
d14a1e28
RD
27898 }
27899 }
27900 {
27901 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 27902 result = (wxMenuItem *)(arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
27903
27904 wxPyEndAllowThreads(__tstate);
27905 if (PyErr_Occurred()) SWIG_fail;
27906 }
a41e16b6
RD
27907 {
27908 resultobj = wxPyMake_wxObject(result);
27909 }
d14a1e28
RD
27910 {
27911 if (temp3)
27912 delete arg3;
27913 }
27914 {
27915 if (temp4)
27916 delete arg4;
27917 }
27918 return resultobj;
27919 fail:
27920 {
27921 if (temp3)
27922 delete arg3;
27923 }
27924 {
27925 if (temp4)
27926 delete arg4;
27927 }
27928 return NULL;
27929}
27930
27931
27932static PyObject *_wrap_Menu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27933 PyObject *resultobj;
27934 wxMenu *arg1 = (wxMenu *) 0 ;
27935 int arg2 ;
27936 wxString *arg3 = 0 ;
27937 wxMenu *arg4 = (wxMenu *) 0 ;
27938 wxString const &arg5_defvalue = wxPyEmptyString ;
27939 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 27940 wxMenuItem *result;
e811c8ce
RD
27941 bool temp3 = False ;
27942 bool temp5 = False ;
d14a1e28 27943 PyObject * obj0 = 0 ;
994141e6 27944 PyObject * obj1 = 0 ;
d14a1e28
RD
27945 PyObject * obj2 = 0 ;
27946 PyObject * obj3 = 0 ;
27947 PyObject * obj4 = 0 ;
27948 char *kwnames[] = {
242b7b46 27949 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
27950 };
27951
994141e6 27952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_PrependMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28 27953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
27954 {
27955 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27956 if (PyErr_Occurred()) SWIG_fail;
27957 }
d14a1e28
RD
27958 {
27959 arg3 = wxString_in_helper(obj2);
27960 if (arg3 == NULL) SWIG_fail;
e811c8ce 27961 temp3 = True;
d14a1e28
RD
27962 }
27963 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27964 if (obj4) {
27965 {
27966 arg5 = wxString_in_helper(obj4);
27967 if (arg5 == NULL) SWIG_fail;
e811c8ce 27968 temp5 = True;
d14a1e28
RD
27969 }
27970 }
27971 {
27972 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 27973 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
d14a1e28
RD
27974
27975 wxPyEndAllowThreads(__tstate);
27976 if (PyErr_Occurred()) SWIG_fail;
27977 }
a41e16b6
RD
27978 {
27979 resultobj = wxPyMake_wxObject(result);
27980 }
d14a1e28
RD
27981 {
27982 if (temp3)
27983 delete arg3;
27984 }
27985 {
27986 if (temp5)
27987 delete arg5;
27988 }
27989 return resultobj;
27990 fail:
27991 {
27992 if (temp3)
27993 delete arg3;
27994 }
27995 {
27996 if (temp5)
27997 delete arg5;
27998 }
27999 return NULL;
28000}
28001
28002
28003static PyObject *_wrap_Menu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
28004 PyObject *resultobj;
28005 wxMenu *arg1 = (wxMenu *) 0 ;
28006 int arg2 ;
28007 wxMenuItem *result;
28008 PyObject * obj0 = 0 ;
994141e6 28009 PyObject * obj1 = 0 ;
d14a1e28 28010 char *kwnames[] = {
242b7b46 28011 (char *) "self",(char *) "id", NULL
d14a1e28
RD
28012 };
28013
994141e6 28014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Remove",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 28015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
28016 {
28017 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28018 if (PyErr_Occurred()) SWIG_fail;
28019 }
d14a1e28
RD
28020 {
28021 PyThreadState* __tstate = wxPyBeginAllowThreads();
28022 result = (wxMenuItem *)(arg1)->Remove(arg2);
28023
28024 wxPyEndAllowThreads(__tstate);
28025 if (PyErr_Occurred()) SWIG_fail;
28026 }
28027 {
28028 resultobj = wxPyMake_wxObject(result);
28029 }
28030 return resultobj;
28031 fail:
28032 return NULL;
28033}
28034
28035
28036static PyObject *_wrap_Menu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28037 PyObject *resultobj;
28038 wxMenu *arg1 = (wxMenu *) 0 ;
28039 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
28040 wxMenuItem *result;
28041 PyObject * obj0 = 0 ;
28042 PyObject * obj1 = 0 ;
28043 char *kwnames[] = {
28044 (char *) "self",(char *) "item", NULL
28045 };
28046
28047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
28048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28049 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28050 {
28051 PyThreadState* __tstate = wxPyBeginAllowThreads();
28052 result = (wxMenuItem *)(arg1)->Remove(arg2);
28053
28054 wxPyEndAllowThreads(__tstate);
28055 if (PyErr_Occurred()) SWIG_fail;
28056 }
28057 {
28058 resultobj = wxPyMake_wxObject(result);
28059 }
28060 return resultobj;
28061 fail:
28062 return NULL;
28063}
28064
28065
28066static PyObject *_wrap_Menu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
28067 PyObject *resultobj;
28068 wxMenu *arg1 = (wxMenu *) 0 ;
28069 int arg2 ;
28070 bool result;
28071 PyObject * obj0 = 0 ;
994141e6 28072 PyObject * obj1 = 0 ;
d14a1e28 28073 char *kwnames[] = {
242b7b46 28074 (char *) "self",(char *) "id", NULL
d14a1e28
RD
28075 };
28076
994141e6 28077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Delete",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 28078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
28079 {
28080 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28081 if (PyErr_Occurred()) SWIG_fail;
28082 }
d14a1e28
RD
28083 {
28084 PyThreadState* __tstate = wxPyBeginAllowThreads();
28085 result = (bool)(arg1)->Delete(arg2);
28086
28087 wxPyEndAllowThreads(__tstate);
28088 if (PyErr_Occurred()) SWIG_fail;
28089 }
4d5c3d91 28090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
28091 return resultobj;
28092 fail:
28093 return NULL;
28094}
28095
28096
28097static PyObject *_wrap_Menu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28098 PyObject *resultobj;
28099 wxMenu *arg1 = (wxMenu *) 0 ;
28100 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
28101 bool result;
28102 PyObject * obj0 = 0 ;
28103 PyObject * obj1 = 0 ;
28104 char *kwnames[] = {
28105 (char *) "self",(char *) "item", NULL
28106 };
28107
28108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
28109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28110 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28111 {
28112 PyThreadState* __tstate = wxPyBeginAllowThreads();
28113 result = (bool)(arg1)->Delete(arg2);
28114
28115 wxPyEndAllowThreads(__tstate);
28116 if (PyErr_Occurred()) SWIG_fail;
28117 }
4d5c3d91 28118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
28119 return resultobj;
28120 fail:
28121 return NULL;
28122}
28123
28124
28125static PyObject *_wrap_Menu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
28126 PyObject *resultobj;
28127 wxMenu *arg1 = (wxMenu *) 0 ;
28128 PyObject * obj0 = 0 ;
28129 char *kwnames[] = {
28130 (char *) "self", NULL
28131 };
28132
28133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
28134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28135 {
28136 PyThreadState* __tstate = wxPyBeginAllowThreads();
28137 wxMenu_Destroy(arg1);
28138
28139 wxPyEndAllowThreads(__tstate);
28140 if (PyErr_Occurred()) SWIG_fail;
28141 }
28142 Py_INCREF(Py_None); resultobj = Py_None;
28143 return resultobj;
28144 fail:
28145 return NULL;
28146}
28147
28148
28149static PyObject *_wrap_Menu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
28150 PyObject *resultobj;
28151 wxMenu *arg1 = (wxMenu *) 0 ;
28152 int arg2 ;
28153 bool result;
28154 PyObject * obj0 = 0 ;
994141e6 28155 PyObject * obj1 = 0 ;
d14a1e28 28156 char *kwnames[] = {
242b7b46 28157 (char *) "self",(char *) "id", NULL
d14a1e28
RD
28158 };
28159
994141e6 28160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyId",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 28161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
28162 {
28163 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28164 if (PyErr_Occurred()) SWIG_fail;
28165 }
d14a1e28
RD
28166 {
28167 PyThreadState* __tstate = wxPyBeginAllowThreads();
28168 result = (bool)(arg1)->Destroy(arg2);
28169
28170 wxPyEndAllowThreads(__tstate);
28171 if (PyErr_Occurred()) SWIG_fail;
28172 }
4d5c3d91 28173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
28174 return resultobj;
28175 fail:
28176 return NULL;
28177}
28178
28179
28180static PyObject *_wrap_Menu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28181 PyObject *resultobj;
28182 wxMenu *arg1 = (wxMenu *) 0 ;
28183 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
28184 bool result;
28185 PyObject * obj0 = 0 ;
28186 PyObject * obj1 = 0 ;
28187 char *kwnames[] = {
28188 (char *) "self",(char *) "item", NULL
28189 };
28190
28191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
28192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28193 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28194 {
28195 PyThreadState* __tstate = wxPyBeginAllowThreads();
28196 result = (bool)(arg1)->Destroy(arg2);
28197
28198 wxPyEndAllowThreads(__tstate);
28199 if (PyErr_Occurred()) SWIG_fail;
28200 }
4d5c3d91 28201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
28202 return resultobj;
28203 fail:
28204 return NULL;
28205}
28206
28207
28208static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
28209 PyObject *resultobj;
28210 wxMenu *arg1 = (wxMenu *) 0 ;
28211 size_t result;
28212 PyObject * obj0 = 0 ;
28213 char *kwnames[] = {
28214 (char *) "self", NULL
28215 };
28216
28217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
28218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28219 {
28220 PyThreadState* __tstate = wxPyBeginAllowThreads();
28221 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
28222
28223 wxPyEndAllowThreads(__tstate);
28224 if (PyErr_Occurred()) SWIG_fail;
28225 }
994141e6 28226 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
28227 return resultobj;
28228 fail:
28229 return NULL;
28230}
28231
28232
28233static PyObject *_wrap_Menu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
28234 PyObject *resultobj;
28235 wxMenu *arg1 = (wxMenu *) 0 ;
28236 PyObject *result;
28237 PyObject * obj0 = 0 ;
28238 char *kwnames[] = {
28239 (char *) "self", NULL
28240 };
28241
28242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
28243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28244 {
28245 PyThreadState* __tstate = wxPyBeginAllowThreads();
28246 result = (PyObject *)wxMenu_GetMenuItems(arg1);
28247
28248 wxPyEndAllowThreads(__tstate);
28249 if (PyErr_Occurred()) SWIG_fail;
28250 }
28251 resultobj = result;
28252 return resultobj;
28253 fail:
28254 return NULL;
28255}
28256
28257
28258static PyObject *_wrap_Menu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28259 PyObject *resultobj;
28260 wxMenu *arg1 = (wxMenu *) 0 ;
28261 wxString *arg2 = 0 ;
28262 int result;
e811c8ce 28263 bool temp2 = False ;
d14a1e28
RD
28264 PyObject * obj0 = 0 ;
28265 PyObject * obj1 = 0 ;
28266 char *kwnames[] = {
28267 (char *) "self",(char *) "item", NULL
28268 };
28269
28270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
28271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28272 {
28273 arg2 = wxString_in_helper(obj1);
28274 if (arg2 == NULL) SWIG_fail;
e811c8ce 28275 temp2 = True;
d14a1e28
RD
28276 }
28277 {
28278 PyThreadState* __tstate = wxPyBeginAllowThreads();
28279 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
28280
28281 wxPyEndAllowThreads(__tstate);
28282 if (PyErr_Occurred()) SWIG_fail;
28283 }
994141e6 28284 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
28285 {
28286 if (temp2)
28287 delete arg2;
28288 }
28289 return resultobj;
28290 fail:
28291 {
28292 if (temp2)
28293 delete arg2;
28294 }
28295 return NULL;
28296}
28297
28298
28299static PyObject *_wrap_Menu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
28300 PyObject *resultobj;
28301 wxMenu *arg1 = (wxMenu *) 0 ;
28302 int arg2 ;
28303 wxMenuItem *result;
28304 PyObject * obj0 = 0 ;
994141e6 28305 PyObject * obj1 = 0 ;
d14a1e28 28306 char *kwnames[] = {
242b7b46 28307 (char *) "self",(char *) "id", NULL
d14a1e28
RD
28308 };
28309
994141e6 28310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemById",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 28311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
28312 {
28313 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28314 if (PyErr_Occurred()) SWIG_fail;
28315 }
d14a1e28
RD
28316 {
28317 PyThreadState* __tstate = wxPyBeginAllowThreads();
28318 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
28319
28320 wxPyEndAllowThreads(__tstate);
28321 if (PyErr_Occurred()) SWIG_fail;
28322 }
28323 {
28324 resultobj = wxPyMake_wxObject(result);
28325 }
28326 return resultobj;
28327 fail:
28328 return NULL;
28329}
28330
28331
28332static PyObject *_wrap_Menu_FindItemByPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28333 PyObject *resultobj;
28334 wxMenu *arg1 = (wxMenu *) 0 ;
28335 size_t arg2 ;
28336 wxMenuItem *result;
28337 PyObject * obj0 = 0 ;
28338 PyObject * obj1 = 0 ;
28339 char *kwnames[] = {
28340 (char *) "self",(char *) "position", NULL
28341 };
28342
28343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
28344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 28345 {
994141e6 28346 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
a41e16b6
RD
28347 if (PyErr_Occurred()) SWIG_fail;
28348 }
d14a1e28
RD
28349 {
28350 PyThreadState* __tstate = wxPyBeginAllowThreads();
28351 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
28352
28353 wxPyEndAllowThreads(__tstate);
28354 if (PyErr_Occurred()) SWIG_fail;
28355 }
28356 {
28357 resultobj = wxPyMake_wxObject(result);
28358 }
28359 return resultobj;
28360 fail:
28361 return NULL;
28362}
28363
28364
28365static PyObject *_wrap_Menu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
28366 PyObject *resultobj;
28367 wxMenu *arg1 = (wxMenu *) 0 ;
28368 int arg2 ;
28369 bool arg3 ;
28370 PyObject * obj0 = 0 ;
994141e6 28371 PyObject * obj1 = 0 ;
d14a1e28
RD
28372 PyObject * obj2 = 0 ;
28373 char *kwnames[] = {
242b7b46 28374 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
28375 };
28376
994141e6 28377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 28378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 28379 {
994141e6
RD
28380 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28381 if (PyErr_Occurred()) SWIG_fail;
28382 }
28383 {
28384 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
a41e16b6
RD
28385 if (PyErr_Occurred()) SWIG_fail;
28386 }
d14a1e28
RD
28387 {
28388 PyThreadState* __tstate = wxPyBeginAllowThreads();
28389 (arg1)->Enable(arg2,arg3);
28390
28391 wxPyEndAllowThreads(__tstate);
28392 if (PyErr_Occurred()) SWIG_fail;
28393 }
28394 Py_INCREF(Py_None); resultobj = Py_None;
28395 return resultobj;
28396 fail:
28397 return NULL;
28398}
28399
28400
28401static PyObject *_wrap_Menu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
28402 PyObject *resultobj;
28403 wxMenu *arg1 = (wxMenu *) 0 ;
28404 int arg2 ;
28405 bool result;
28406 PyObject * obj0 = 0 ;
994141e6 28407 PyObject * obj1 = 0 ;
d14a1e28 28408 char *kwnames[] = {
242b7b46 28409 (char *) "self",(char *) "id", NULL
d14a1e28
RD
28410 };
28411
994141e6 28412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 28413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
28414 {
28415 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28416 if (PyErr_Occurred()) SWIG_fail;
28417 }
d14a1e28
RD
28418 {
28419 PyThreadState* __tstate = wxPyBeginAllowThreads();
28420 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
28421
28422 wxPyEndAllowThreads(__tstate);
28423 if (PyErr_Occurred()) SWIG_fail;
28424 }
4d5c3d91 28425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
28426 return resultobj;
28427 fail:
28428 return NULL;
28429}
28430
28431
28432static PyObject *_wrap_Menu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
28433 PyObject *resultobj;
28434 wxMenu *arg1 = (wxMenu *) 0 ;
28435 int arg2 ;
28436 bool arg3 ;
28437 PyObject * obj0 = 0 ;
994141e6 28438 PyObject * obj1 = 0 ;
d14a1e28
RD
28439 PyObject * obj2 = 0 ;
28440 char *kwnames[] = {
242b7b46 28441 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
28442 };
28443
994141e6 28444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 28445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 28446 {
994141e6
RD
28447 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28448 if (PyErr_Occurred()) SWIG_fail;
28449 }
28450 {
28451 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
a41e16b6
RD
28452 if (PyErr_Occurred()) SWIG_fail;
28453 }
d14a1e28
RD
28454 {
28455 PyThreadState* __tstate = wxPyBeginAllowThreads();
28456 (arg1)->Check(arg2,arg3);
28457
28458 wxPyEndAllowThreads(__tstate);
28459 if (PyErr_Occurred()) SWIG_fail;
28460 }
28461 Py_INCREF(Py_None); resultobj = Py_None;
28462 return resultobj;
28463 fail:
28464 return NULL;
28465}
28466
28467
28468static PyObject *_wrap_Menu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
28469 PyObject *resultobj;
28470 wxMenu *arg1 = (wxMenu *) 0 ;
28471 int arg2 ;
28472 bool result;
28473 PyObject * obj0 = 0 ;
994141e6 28474 PyObject * obj1 = 0 ;
d14a1e28 28475 char *kwnames[] = {
242b7b46 28476 (char *) "self",(char *) "id", NULL
d14a1e28
RD
28477 };
28478
994141e6 28479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsChecked",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 28480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
28481 {
28482 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28483 if (PyErr_Occurred()) SWIG_fail;
28484 }
d14a1e28
RD
28485 {
28486 PyThreadState* __tstate = wxPyBeginAllowThreads();
28487 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
28488
28489 wxPyEndAllowThreads(__tstate);
28490 if (PyErr_Occurred()) SWIG_fail;
28491 }
4d5c3d91 28492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
28493 return resultobj;
28494 fail:
28495 return NULL;
28496}
28497
28498
28499static PyObject *_wrap_Menu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28500 PyObject *resultobj;
28501 wxMenu *arg1 = (wxMenu *) 0 ;
28502 int arg2 ;
28503 wxString *arg3 = 0 ;
e811c8ce 28504 bool temp3 = False ;
d14a1e28 28505 PyObject * obj0 = 0 ;
994141e6 28506 PyObject * obj1 = 0 ;
d14a1e28
RD
28507 PyObject * obj2 = 0 ;
28508 char *kwnames[] = {
242b7b46 28509 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
28510 };
28511
994141e6 28512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 28513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
28514 {
28515 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28516 if (PyErr_Occurred()) SWIG_fail;
28517 }
d14a1e28
RD
28518 {
28519 arg3 = wxString_in_helper(obj2);
28520 if (arg3 == NULL) SWIG_fail;
e811c8ce 28521 temp3 = True;
d14a1e28
RD
28522 }
28523 {
28524 PyThreadState* __tstate = wxPyBeginAllowThreads();
28525 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
28526
28527 wxPyEndAllowThreads(__tstate);
28528 if (PyErr_Occurred()) SWIG_fail;
28529 }
28530 Py_INCREF(Py_None); resultobj = Py_None;
28531 {
28532 if (temp3)
28533 delete arg3;
28534 }
28535 return resultobj;
28536 fail:
28537 {
28538 if (temp3)
28539 delete arg3;
28540 }
28541 return NULL;
28542}
28543
28544
28545static PyObject *_wrap_Menu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28546 PyObject *resultobj;
28547 wxMenu *arg1 = (wxMenu *) 0 ;
28548 int arg2 ;
28549 wxString result;
28550 PyObject * obj0 = 0 ;
994141e6 28551 PyObject * obj1 = 0 ;
d14a1e28 28552 char *kwnames[] = {
242b7b46 28553 (char *) "self",(char *) "id", NULL
d14a1e28
RD
28554 };
28555
994141e6 28556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetLabel",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 28557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
28558 {
28559 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28560 if (PyErr_Occurred()) SWIG_fail;
28561 }
d14a1e28
RD
28562 {
28563 PyThreadState* __tstate = wxPyBeginAllowThreads();
28564 result = ((wxMenu const *)arg1)->GetLabel(arg2);
28565
28566 wxPyEndAllowThreads(__tstate);
28567 if (PyErr_Occurred()) SWIG_fail;
28568 }
28569 {
28570#if wxUSE_UNICODE
28571 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28572#else
28573 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28574#endif
28575 }
28576 return resultobj;
28577 fail:
28578 return NULL;
28579}
28580
28581
28582static PyObject *_wrap_Menu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
28583 PyObject *resultobj;
28584 wxMenu *arg1 = (wxMenu *) 0 ;
28585 int arg2 ;
28586 wxString *arg3 = 0 ;
e811c8ce 28587 bool temp3 = False ;
d14a1e28 28588 PyObject * obj0 = 0 ;
994141e6 28589 PyObject * obj1 = 0 ;
d14a1e28
RD
28590 PyObject * obj2 = 0 ;
28591 char *kwnames[] = {
242b7b46 28592 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
28593 };
28594
994141e6 28595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 28596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
28597 {
28598 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28599 if (PyErr_Occurred()) SWIG_fail;
28600 }
d14a1e28
RD
28601 {
28602 arg3 = wxString_in_helper(obj2);
28603 if (arg3 == NULL) SWIG_fail;
e811c8ce 28604 temp3 = True;
d14a1e28
RD
28605 }
28606 {
28607 PyThreadState* __tstate = wxPyBeginAllowThreads();
28608 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
28609
28610 wxPyEndAllowThreads(__tstate);
28611 if (PyErr_Occurred()) SWIG_fail;
28612 }
28613 Py_INCREF(Py_None); resultobj = Py_None;
28614 {
28615 if (temp3)
28616 delete arg3;
28617 }
28618 return resultobj;
28619 fail:
28620 {
28621 if (temp3)
28622 delete arg3;
28623 }
28624 return NULL;
28625}
28626
28627
28628static PyObject *_wrap_Menu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
28629 PyObject *resultobj;
28630 wxMenu *arg1 = (wxMenu *) 0 ;
28631 int arg2 ;
28632 wxString result;
28633 PyObject * obj0 = 0 ;
994141e6 28634 PyObject * obj1 = 0 ;
d14a1e28 28635 char *kwnames[] = {
242b7b46 28636 (char *) "self",(char *) "id", NULL
d14a1e28
RD
28637 };
28638
994141e6 28639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 28640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
28641 {
28642 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28643 if (PyErr_Occurred()) SWIG_fail;
28644 }
d14a1e28
RD
28645 {
28646 PyThreadState* __tstate = wxPyBeginAllowThreads();
28647 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
28648
28649 wxPyEndAllowThreads(__tstate);
28650 if (PyErr_Occurred()) SWIG_fail;
28651 }
28652 {
28653#if wxUSE_UNICODE
28654 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28655#else
28656 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28657#endif
28658 }
28659 return resultobj;
28660 fail:
28661 return NULL;
28662}
28663
28664
28665static PyObject *_wrap_Menu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
28666 PyObject *resultobj;
28667 wxMenu *arg1 = (wxMenu *) 0 ;
28668 wxString *arg2 = 0 ;
e811c8ce 28669 bool temp2 = False ;
d14a1e28
RD
28670 PyObject * obj0 = 0 ;
28671 PyObject * obj1 = 0 ;
28672 char *kwnames[] = {
28673 (char *) "self",(char *) "title", NULL
28674 };
28675
28676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
28677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28678 {
28679 arg2 = wxString_in_helper(obj1);
28680 if (arg2 == NULL) SWIG_fail;
e811c8ce 28681 temp2 = True;
d14a1e28
RD
28682 }
28683 {
28684 PyThreadState* __tstate = wxPyBeginAllowThreads();
28685 (arg1)->SetTitle((wxString const &)*arg2);
28686
28687 wxPyEndAllowThreads(__tstate);
28688 if (PyErr_Occurred()) SWIG_fail;
28689 }
28690 Py_INCREF(Py_None); resultobj = Py_None;
28691 {
28692 if (temp2)
28693 delete arg2;
28694 }
28695 return resultobj;
28696 fail:
28697 {
28698 if (temp2)
28699 delete arg2;
28700 }
28701 return NULL;
28702}
28703
28704
28705static PyObject *_wrap_Menu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
28706 PyObject *resultobj;
28707 wxMenu *arg1 = (wxMenu *) 0 ;
28708 wxString result;
28709 PyObject * obj0 = 0 ;
28710 char *kwnames[] = {
28711 (char *) "self", NULL
28712 };
28713
28714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
28715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28716 {
28717 PyThreadState* __tstate = wxPyBeginAllowThreads();
28718 result = ((wxMenu const *)arg1)->GetTitle();
28719
28720 wxPyEndAllowThreads(__tstate);
28721 if (PyErr_Occurred()) SWIG_fail;
28722 }
28723 {
28724#if wxUSE_UNICODE
28725 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28726#else
28727 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28728#endif
28729 }
28730 return resultobj;
28731 fail:
28732 return NULL;
28733}
28734
28735
28736static PyObject *_wrap_Menu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
28737 PyObject *resultobj;
28738 wxMenu *arg1 = (wxMenu *) 0 ;
28739 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
28740 PyObject * obj0 = 0 ;
28741 PyObject * obj1 = 0 ;
28742 char *kwnames[] = {
28743 (char *) "self",(char *) "handler", NULL
28744 };
28745
28746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
28747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28748 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28749 {
28750 PyThreadState* __tstate = wxPyBeginAllowThreads();
28751 (arg1)->SetEventHandler(arg2);
28752
28753 wxPyEndAllowThreads(__tstate);
28754 if (PyErr_Occurred()) SWIG_fail;
28755 }
28756 Py_INCREF(Py_None); resultobj = Py_None;
28757 return resultobj;
28758 fail:
28759 return NULL;
28760}
28761
28762
28763static PyObject *_wrap_Menu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
28764 PyObject *resultobj;
28765 wxMenu *arg1 = (wxMenu *) 0 ;
28766 wxEvtHandler *result;
28767 PyObject * obj0 = 0 ;
28768 char *kwnames[] = {
28769 (char *) "self", NULL
28770 };
28771
28772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
28773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28774 {
28775 PyThreadState* __tstate = wxPyBeginAllowThreads();
28776 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
28777
28778 wxPyEndAllowThreads(__tstate);
28779 if (PyErr_Occurred()) SWIG_fail;
28780 }
28781 {
28782 resultobj = wxPyMake_wxObject(result);
28783 }
28784 return resultobj;
28785 fail:
28786 return NULL;
28787}
28788
28789
28790static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28791 PyObject *resultobj;
28792 wxMenu *arg1 = (wxMenu *) 0 ;
28793 wxWindow *arg2 = (wxWindow *) 0 ;
28794 PyObject * obj0 = 0 ;
28795 PyObject * obj1 = 0 ;
28796 char *kwnames[] = {
28797 (char *) "self",(char *) "win", NULL
28798 };
28799
28800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
28801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28802 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28803 {
28804 PyThreadState* __tstate = wxPyBeginAllowThreads();
28805 (arg1)->SetInvokingWindow(arg2);
28806
28807 wxPyEndAllowThreads(__tstate);
28808 if (PyErr_Occurred()) SWIG_fail;
28809 }
28810 Py_INCREF(Py_None); resultobj = Py_None;
28811 return resultobj;
28812 fail:
28813 return NULL;
28814}
28815
28816
28817static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28818 PyObject *resultobj;
28819 wxMenu *arg1 = (wxMenu *) 0 ;
28820 wxWindow *result;
28821 PyObject * obj0 = 0 ;
28822 char *kwnames[] = {
28823 (char *) "self", NULL
28824 };
28825
28826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
28827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28828 {
28829 PyThreadState* __tstate = wxPyBeginAllowThreads();
28830 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
28831
28832 wxPyEndAllowThreads(__tstate);
28833 if (PyErr_Occurred()) SWIG_fail;
28834 }
28835 {
28836 resultobj = wxPyMake_wxObject(result);
28837 }
28838 return resultobj;
28839 fail:
28840 return NULL;
28841}
28842
28843
28844static PyObject *_wrap_Menu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
28845 PyObject *resultobj;
28846 wxMenu *arg1 = (wxMenu *) 0 ;
28847 long result;
28848 PyObject * obj0 = 0 ;
28849 char *kwnames[] = {
28850 (char *) "self", NULL
28851 };
28852
28853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
28854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28855 {
28856 PyThreadState* __tstate = wxPyBeginAllowThreads();
28857 result = (long)((wxMenu const *)arg1)->GetStyle();
28858
28859 wxPyEndAllowThreads(__tstate);
28860 if (PyErr_Occurred()) SWIG_fail;
28861 }
994141e6 28862 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
28863 return resultobj;
28864 fail:
28865 return NULL;
28866}
28867
28868
28869static PyObject *_wrap_Menu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
28870 PyObject *resultobj;
28871 wxMenu *arg1 = (wxMenu *) 0 ;
28872 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
28873 PyObject * obj0 = 0 ;
28874 PyObject * obj1 = 0 ;
28875 char *kwnames[] = {
28876 (char *) "self",(char *) "source", NULL
28877 };
28878
28879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
28880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28881 if (obj1) {
28882 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28883 }
28884 {
28885 PyThreadState* __tstate = wxPyBeginAllowThreads();
28886 (arg1)->UpdateUI(arg2);
28887
28888 wxPyEndAllowThreads(__tstate);
28889 if (PyErr_Occurred()) SWIG_fail;
28890 }
28891 Py_INCREF(Py_None); resultobj = Py_None;
28892 return resultobj;
28893 fail:
28894 return NULL;
28895}
28896
28897
28898static PyObject *_wrap_Menu_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
28899 PyObject *resultobj;
28900 wxMenu *arg1 = (wxMenu *) 0 ;
28901 wxMenuBar *result;
28902 PyObject * obj0 = 0 ;
28903 char *kwnames[] = {
28904 (char *) "self", NULL
28905 };
28906
28907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
28908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28909 {
28910 PyThreadState* __tstate = wxPyBeginAllowThreads();
28911 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
28912
28913 wxPyEndAllowThreads(__tstate);
28914 if (PyErr_Occurred()) SWIG_fail;
28915 }
28916 {
28917 resultobj = wxPyMake_wxObject(result);
28918 }
28919 return resultobj;
28920 fail:
28921 return NULL;
28922}
28923
28924
28925static PyObject *_wrap_Menu_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
28926 PyObject *resultobj;
28927 wxMenu *arg1 = (wxMenu *) 0 ;
28928 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
28929 PyObject * obj0 = 0 ;
28930 PyObject * obj1 = 0 ;
28931 char *kwnames[] = {
28932 (char *) "self",(char *) "menubar", NULL
28933 };
28934
28935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
28936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28937 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28938 {
28939 PyThreadState* __tstate = wxPyBeginAllowThreads();
28940 (arg1)->Attach(arg2);
28941
28942 wxPyEndAllowThreads(__tstate);
28943 if (PyErr_Occurred()) SWIG_fail;
28944 }
28945 Py_INCREF(Py_None); resultobj = Py_None;
28946 return resultobj;
28947 fail:
28948 return NULL;
28949}
28950
28951
28952static PyObject *_wrap_Menu_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
28953 PyObject *resultobj;
28954 wxMenu *arg1 = (wxMenu *) 0 ;
28955 PyObject * obj0 = 0 ;
28956 char *kwnames[] = {
28957 (char *) "self", NULL
28958 };
28959
28960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
28961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28962 {
28963 PyThreadState* __tstate = wxPyBeginAllowThreads();
28964 (arg1)->Detach();
28965
28966 wxPyEndAllowThreads(__tstate);
28967 if (PyErr_Occurred()) SWIG_fail;
28968 }
28969 Py_INCREF(Py_None); resultobj = Py_None;
28970 return resultobj;
28971 fail:
28972 return NULL;
28973}
28974
28975
28976static PyObject *_wrap_Menu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
28977 PyObject *resultobj;
28978 wxMenu *arg1 = (wxMenu *) 0 ;
28979 bool result;
28980 PyObject * obj0 = 0 ;
28981 char *kwnames[] = {
28982 (char *) "self", NULL
28983 };
28984
28985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
28986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28987 {
28988 PyThreadState* __tstate = wxPyBeginAllowThreads();
28989 result = (bool)((wxMenu const *)arg1)->IsAttached();
28990
28991 wxPyEndAllowThreads(__tstate);
28992 if (PyErr_Occurred()) SWIG_fail;
28993 }
4d5c3d91 28994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
28995 return resultobj;
28996 fail:
28997 return NULL;
28998}
28999
29000
29001static PyObject *_wrap_Menu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
29002 PyObject *resultobj;
29003 wxMenu *arg1 = (wxMenu *) 0 ;
29004 wxMenu *arg2 = (wxMenu *) 0 ;
29005 PyObject * obj0 = 0 ;
29006 PyObject * obj1 = 0 ;
29007 char *kwnames[] = {
29008 (char *) "self",(char *) "parent", NULL
29009 };
29010
29011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
29012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29013 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29014 {
29015 PyThreadState* __tstate = wxPyBeginAllowThreads();
29016 (arg1)->SetParent(arg2);
29017
29018 wxPyEndAllowThreads(__tstate);
29019 if (PyErr_Occurred()) SWIG_fail;
29020 }
29021 Py_INCREF(Py_None); resultobj = Py_None;
29022 return resultobj;
29023 fail:
29024 return NULL;
29025}
29026
29027
29028static PyObject *_wrap_Menu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
29029 PyObject *resultobj;
29030 wxMenu *arg1 = (wxMenu *) 0 ;
29031 wxMenu *result;
29032 PyObject * obj0 = 0 ;
29033 char *kwnames[] = {
29034 (char *) "self", NULL
29035 };
29036
29037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
29038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29039 {
29040 PyThreadState* __tstate = wxPyBeginAllowThreads();
29041 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
29042
29043 wxPyEndAllowThreads(__tstate);
29044 if (PyErr_Occurred()) SWIG_fail;
29045 }
29046 {
29047 resultobj = wxPyMake_wxObject(result);
29048 }
29049 return resultobj;
29050 fail:
29051 return NULL;
29052}
29053
29054
29055static PyObject * Menu_swigregister(PyObject *self, PyObject *args) {
29056 PyObject *obj;
29057 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29058 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
29059 Py_INCREF(obj);
29060 return Py_BuildValue((char *)"");
29061}
29062static PyObject *_wrap_new_MenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
29063 PyObject *resultobj;
29064 long arg1 = (long) 0 ;
29065 wxMenuBar *result;
994141e6 29066 PyObject * obj0 = 0 ;
d14a1e28
RD
29067 char *kwnames[] = {
29068 (char *) "style", NULL
29069 };
29070
994141e6
RD
29071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MenuBar",kwnames,&obj0)) goto fail;
29072 if (obj0) {
29073 {
29074 arg1 = (long) SWIG_PyObj_AsLong(obj0);
29075 if (PyErr_Occurred()) SWIG_fail;
29076 }
29077 }
d14a1e28
RD
29078 {
29079 PyThreadState* __tstate = wxPyBeginAllowThreads();
29080 result = (wxMenuBar *)new wxMenuBar(arg1);
29081
29082 wxPyEndAllowThreads(__tstate);
29083 if (PyErr_Occurred()) SWIG_fail;
29084 }
29085 {
29086 resultobj = wxPyMake_wxObject(result);
29087 }
29088 return resultobj;
29089 fail:
29090 return NULL;
29091}
29092
29093
29094static PyObject *_wrap_MenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
29095 PyObject *resultobj;
29096 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29097 wxMenu *arg2 = (wxMenu *) 0 ;
29098 wxString *arg3 = 0 ;
29099 bool result;
e811c8ce 29100 bool temp3 = False ;
d14a1e28
RD
29101 PyObject * obj0 = 0 ;
29102 PyObject * obj1 = 0 ;
29103 PyObject * obj2 = 0 ;
29104 char *kwnames[] = {
29105 (char *) "self",(char *) "menu",(char *) "title", NULL
29106 };
29107
29108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
29109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29110 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29111 {
29112 arg3 = wxString_in_helper(obj2);
29113 if (arg3 == NULL) SWIG_fail;
e811c8ce 29114 temp3 = True;
d14a1e28
RD
29115 }
29116 {
29117 PyThreadState* __tstate = wxPyBeginAllowThreads();
29118 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
29119
29120 wxPyEndAllowThreads(__tstate);
29121 if (PyErr_Occurred()) SWIG_fail;
29122 }
4d5c3d91 29123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
29124 {
29125 if (temp3)
29126 delete arg3;
29127 }
29128 return resultobj;
29129 fail:
29130 {
29131 if (temp3)
29132 delete arg3;
29133 }
29134 return NULL;
29135}
29136
29137
29138static PyObject *_wrap_MenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
29139 PyObject *resultobj;
29140 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29141 size_t arg2 ;
29142 wxMenu *arg3 = (wxMenu *) 0 ;
29143 wxString *arg4 = 0 ;
29144 bool result;
e811c8ce 29145 bool temp4 = False ;
d14a1e28
RD
29146 PyObject * obj0 = 0 ;
29147 PyObject * obj1 = 0 ;
29148 PyObject * obj2 = 0 ;
29149 PyObject * obj3 = 0 ;
29150 char *kwnames[] = {
29151 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29152 };
29153
29154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 29156 {
994141e6 29157 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
a41e16b6
RD
29158 if (PyErr_Occurred()) SWIG_fail;
29159 }
d14a1e28
RD
29160 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29161 {
29162 arg4 = wxString_in_helper(obj3);
29163 if (arg4 == NULL) SWIG_fail;
e811c8ce 29164 temp4 = True;
d14a1e28
RD
29165 }
29166 {
29167 PyThreadState* __tstate = wxPyBeginAllowThreads();
29168 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
29169
29170 wxPyEndAllowThreads(__tstate);
29171 if (PyErr_Occurred()) SWIG_fail;
29172 }
4d5c3d91 29173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
29174 {
29175 if (temp4)
29176 delete arg4;
29177 }
29178 return resultobj;
29179 fail:
29180 {
29181 if (temp4)
29182 delete arg4;
29183 }
29184 return NULL;
29185}
29186
29187
29188static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
29189 PyObject *resultobj;
29190 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29191 size_t result;
29192 PyObject * obj0 = 0 ;
29193 char *kwnames[] = {
29194 (char *) "self", NULL
29195 };
29196
29197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
29198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29199 {
29200 PyThreadState* __tstate = wxPyBeginAllowThreads();
29201 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
29202
29203 wxPyEndAllowThreads(__tstate);
29204 if (PyErr_Occurred()) SWIG_fail;
29205 }
994141e6 29206 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
29207 return resultobj;
29208 fail:
29209 return NULL;
29210}
29211
29212
29213static PyObject *_wrap_MenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
29214 PyObject *resultobj;
29215 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29216 size_t arg2 ;
29217 wxMenu *result;
29218 PyObject * obj0 = 0 ;
29219 PyObject * obj1 = 0 ;
29220 char *kwnames[] = {
29221 (char *) "self",(char *) "pos", NULL
29222 };
29223
29224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
29225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 29226 {
994141e6 29227 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
a41e16b6
RD
29228 if (PyErr_Occurred()) SWIG_fail;
29229 }
d14a1e28
RD
29230 {
29231 PyThreadState* __tstate = wxPyBeginAllowThreads();
29232 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
29233
29234 wxPyEndAllowThreads(__tstate);
29235 if (PyErr_Occurred()) SWIG_fail;
29236 }
29237 {
29238 resultobj = wxPyMake_wxObject(result);
29239 }
29240 return resultobj;
29241 fail:
29242 return NULL;
29243}
29244
29245
29246static PyObject *_wrap_MenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
29247 PyObject *resultobj;
29248 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29249 size_t arg2 ;
29250 wxMenu *arg3 = (wxMenu *) 0 ;
29251 wxString *arg4 = 0 ;
29252 wxMenu *result;
e811c8ce 29253 bool temp4 = False ;
d14a1e28
RD
29254 PyObject * obj0 = 0 ;
29255 PyObject * obj1 = 0 ;
29256 PyObject * obj2 = 0 ;
29257 PyObject * obj3 = 0 ;
29258 char *kwnames[] = {
29259 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29260 };
29261
29262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 29264 {
994141e6 29265 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
a41e16b6
RD
29266 if (PyErr_Occurred()) SWIG_fail;
29267 }
d14a1e28
RD
29268 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29269 {
29270 arg4 = wxString_in_helper(obj3);
29271 if (arg4 == NULL) SWIG_fail;
e811c8ce 29272 temp4 = True;
d14a1e28
RD
29273 }
29274 {
29275 PyThreadState* __tstate = wxPyBeginAllowThreads();
29276 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
29277
29278 wxPyEndAllowThreads(__tstate);
29279 if (PyErr_Occurred()) SWIG_fail;
29280 }
29281 {
29282 resultobj = wxPyMake_wxObject(result);
29283 }
29284 {
29285 if (temp4)
29286 delete arg4;
29287 }
29288 return resultobj;
29289 fail:
29290 {
29291 if (temp4)
29292 delete arg4;
29293 }
29294 return NULL;
29295}
29296
29297
29298static PyObject *_wrap_MenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
29299 PyObject *resultobj;
29300 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29301 size_t arg2 ;
29302 wxMenu *result;
29303 PyObject * obj0 = 0 ;
29304 PyObject * obj1 = 0 ;
29305 char *kwnames[] = {
29306 (char *) "self",(char *) "pos", NULL
29307 };
29308
29309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
29310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 29311 {
994141e6 29312 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
a41e16b6
RD
29313 if (PyErr_Occurred()) SWIG_fail;
29314 }
d14a1e28
RD
29315 {
29316 PyThreadState* __tstate = wxPyBeginAllowThreads();
29317 result = (wxMenu *)(arg1)->Remove(arg2);
29318
29319 wxPyEndAllowThreads(__tstate);
29320 if (PyErr_Occurred()) SWIG_fail;
29321 }
29322 {
29323 resultobj = wxPyMake_wxObject(result);
29324 }
29325 return resultobj;
29326 fail:
29327 return NULL;
29328}
29329
29330
29331static PyObject *_wrap_MenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
29332 PyObject *resultobj;
29333 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29334 size_t arg2 ;
29335 bool arg3 ;
29336 PyObject * obj0 = 0 ;
29337 PyObject * obj1 = 0 ;
29338 PyObject * obj2 = 0 ;
29339 char *kwnames[] = {
29340 (char *) "self",(char *) "pos",(char *) "enable", NULL
29341 };
29342
29343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
29344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 29345 {
994141e6 29346 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
a41e16b6
RD
29347 if (PyErr_Occurred()) SWIG_fail;
29348 }
29349 {
994141e6 29350 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
a41e16b6
RD
29351 if (PyErr_Occurred()) SWIG_fail;
29352 }
d14a1e28
RD
29353 {
29354 PyThreadState* __tstate = wxPyBeginAllowThreads();
29355 (arg1)->EnableTop(arg2,arg3);
29356
29357 wxPyEndAllowThreads(__tstate);
29358 if (PyErr_Occurred()) SWIG_fail;
29359 }
29360 Py_INCREF(Py_None); resultobj = Py_None;
29361 return resultobj;
29362 fail:
29363 return NULL;
29364}
29365
29366
29367static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *self, PyObject *args, PyObject *kwargs) {
29368 PyObject *resultobj;
29369 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29370 size_t arg2 ;
29371 bool result;
29372 PyObject * obj0 = 0 ;
29373 PyObject * obj1 = 0 ;
29374 char *kwnames[] = {
29375 (char *) "self",(char *) "pos", NULL
29376 };
29377
29378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
29379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 29380 {
994141e6 29381 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
a41e16b6
RD
29382 if (PyErr_Occurred()) SWIG_fail;
29383 }
d14a1e28
RD
29384 {
29385 PyThreadState* __tstate = wxPyBeginAllowThreads();
29386 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
29387
29388 wxPyEndAllowThreads(__tstate);
29389 if (PyErr_Occurred()) SWIG_fail;
29390 }
4d5c3d91 29391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
29392 return resultobj;
29393 fail:
29394 return NULL;
29395}
29396
29397
29398static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
29399 PyObject *resultobj;
29400 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29401 size_t arg2 ;
29402 wxString *arg3 = 0 ;
e811c8ce 29403 bool temp3 = False ;
d14a1e28
RD
29404 PyObject * obj0 = 0 ;
29405 PyObject * obj1 = 0 ;
29406 PyObject * obj2 = 0 ;
29407 char *kwnames[] = {
29408 (char *) "self",(char *) "pos",(char *) "label", NULL
29409 };
29410
29411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
29412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 29413 {
994141e6 29414 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
a41e16b6
RD
29415 if (PyErr_Occurred()) SWIG_fail;
29416 }
d14a1e28
RD
29417 {
29418 arg3 = wxString_in_helper(obj2);
29419 if (arg3 == NULL) SWIG_fail;
e811c8ce 29420 temp3 = True;
d14a1e28
RD
29421 }
29422 {
29423 PyThreadState* __tstate = wxPyBeginAllowThreads();
29424 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
29425
29426 wxPyEndAllowThreads(__tstate);
29427 if (PyErr_Occurred()) SWIG_fail;
29428 }
29429 Py_INCREF(Py_None); resultobj = Py_None;
29430 {
29431 if (temp3)
29432 delete arg3;
29433 }
29434 return resultobj;
29435 fail:
29436 {
29437 if (temp3)
29438 delete arg3;
29439 }
29440 return NULL;
29441}
29442
29443
29444static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
29445 PyObject *resultobj;
29446 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29447 size_t arg2 ;
29448 wxString result;
29449 PyObject * obj0 = 0 ;
29450 PyObject * obj1 = 0 ;
29451 char *kwnames[] = {
29452 (char *) "self",(char *) "pos", NULL
29453 };
29454
29455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
29456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 29457 {
994141e6 29458 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
a41e16b6
RD
29459 if (PyErr_Occurred()) SWIG_fail;
29460 }
d14a1e28
RD
29461 {
29462 PyThreadState* __tstate = wxPyBeginAllowThreads();
29463 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
29464
29465 wxPyEndAllowThreads(__tstate);
29466 if (PyErr_Occurred()) SWIG_fail;
29467 }
29468 {
29469#if wxUSE_UNICODE
29470 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29471#else
29472 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29473#endif
29474 }
29475 return resultobj;
29476 fail:
29477 return NULL;
29478}
29479
29480
29481static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29482 PyObject *resultobj;
29483 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29484 wxString *arg2 = 0 ;
29485 wxString *arg3 = 0 ;
29486 int result;
e811c8ce
RD
29487 bool temp2 = False ;
29488 bool temp3 = False ;
d14a1e28
RD
29489 PyObject * obj0 = 0 ;
29490 PyObject * obj1 = 0 ;
29491 PyObject * obj2 = 0 ;
29492 char *kwnames[] = {
29493 (char *) "self",(char *) "menu",(char *) "item", NULL
29494 };
29495
29496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
29497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29498 {
29499 arg2 = wxString_in_helper(obj1);
29500 if (arg2 == NULL) SWIG_fail;
e811c8ce 29501 temp2 = True;
d14a1e28
RD
29502 }
29503 {
29504 arg3 = wxString_in_helper(obj2);
29505 if (arg3 == NULL) SWIG_fail;
e811c8ce 29506 temp3 = True;
d14a1e28
RD
29507 }
29508 {
29509 PyThreadState* __tstate = wxPyBeginAllowThreads();
29510 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
29511
29512 wxPyEndAllowThreads(__tstate);
29513 if (PyErr_Occurred()) SWIG_fail;
29514 }
994141e6 29515 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
29516 {
29517 if (temp2)
29518 delete arg2;
29519 }
29520 {
29521 if (temp3)
29522 delete arg3;
29523 }
29524 return resultobj;
29525 fail:
29526 {
29527 if (temp2)
29528 delete arg2;
29529 }
29530 {
29531 if (temp3)
29532 delete arg3;
29533 }
29534 return NULL;
29535}
29536
29537
29538static PyObject *_wrap_MenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
29539 PyObject *resultobj;
29540 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29541 int arg2 ;
29542 wxMenuItem *result;
29543 PyObject * obj0 = 0 ;
994141e6 29544 PyObject * obj1 = 0 ;
d14a1e28 29545 char *kwnames[] = {
242b7b46 29546 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29547 };
29548
994141e6 29549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindItemById",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 29550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
29551 {
29552 arg2 = (int) SWIG_PyObj_AsInt(obj1);
29553 if (PyErr_Occurred()) SWIG_fail;
29554 }
d14a1e28
RD
29555 {
29556 PyThreadState* __tstate = wxPyBeginAllowThreads();
29557 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
29558
29559 wxPyEndAllowThreads(__tstate);
29560 if (PyErr_Occurred()) SWIG_fail;
29561 }
29562 {
29563 resultobj = wxPyMake_wxObject(result);
29564 }
29565 return resultobj;
29566 fail:
29567 return NULL;
29568}
29569
29570
29571static PyObject *_wrap_MenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
29572 PyObject *resultobj;
29573 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29574 wxString *arg2 = 0 ;
29575 int result;
e811c8ce 29576 bool temp2 = False ;
d14a1e28
RD
29577 PyObject * obj0 = 0 ;
29578 PyObject * obj1 = 0 ;
29579 char *kwnames[] = {
29580 (char *) "self",(char *) "title", NULL
29581 };
29582
29583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
29584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29585 {
29586 arg2 = wxString_in_helper(obj1);
29587 if (arg2 == NULL) SWIG_fail;
e811c8ce 29588 temp2 = True;
d14a1e28
RD
29589 }
29590 {
29591 PyThreadState* __tstate = wxPyBeginAllowThreads();
29592 result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2);
29593
29594 wxPyEndAllowThreads(__tstate);
29595 if (PyErr_Occurred()) SWIG_fail;
29596 }
994141e6 29597 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
29598 {
29599 if (temp2)
29600 delete arg2;
29601 }
29602 return resultobj;
29603 fail:
29604 {
29605 if (temp2)
29606 delete arg2;
29607 }
29608 return NULL;
29609}
29610
29611
29612static PyObject *_wrap_MenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
29613 PyObject *resultobj;
29614 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29615 int arg2 ;
29616 bool arg3 ;
29617 PyObject * obj0 = 0 ;
994141e6 29618 PyObject * obj1 = 0 ;
d14a1e28
RD
29619 PyObject * obj2 = 0 ;
29620 char *kwnames[] = {
242b7b46 29621 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
29622 };
29623
994141e6 29624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 29625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 29626 {
994141e6
RD
29627 arg2 = (int) SWIG_PyObj_AsInt(obj1);
29628 if (PyErr_Occurred()) SWIG_fail;
29629 }
29630 {
29631 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
a41e16b6
RD
29632 if (PyErr_Occurred()) SWIG_fail;
29633 }
d14a1e28
RD
29634 {
29635 PyThreadState* __tstate = wxPyBeginAllowThreads();
29636 (arg1)->Enable(arg2,arg3);
29637
29638 wxPyEndAllowThreads(__tstate);
29639 if (PyErr_Occurred()) SWIG_fail;
29640 }
29641 Py_INCREF(Py_None); resultobj = Py_None;
29642 return resultobj;
29643 fail:
29644 return NULL;
29645}
29646
29647
29648static PyObject *_wrap_MenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
29649 PyObject *resultobj;
29650 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29651 int arg2 ;
29652 bool arg3 ;
29653 PyObject * obj0 = 0 ;
994141e6 29654 PyObject * obj1 = 0 ;
d14a1e28
RD
29655 PyObject * obj2 = 0 ;
29656 char *kwnames[] = {
242b7b46 29657 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
29658 };
29659
994141e6 29660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 29661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 29662 {
994141e6
RD
29663 arg2 = (int) SWIG_PyObj_AsInt(obj1);
29664 if (PyErr_Occurred()) SWIG_fail;
29665 }
29666 {
29667 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
a41e16b6
RD
29668 if (PyErr_Occurred()) SWIG_fail;
29669 }
d14a1e28
RD
29670 {
29671 PyThreadState* __tstate = wxPyBeginAllowThreads();
29672 (arg1)->Check(arg2,arg3);
29673
29674 wxPyEndAllowThreads(__tstate);
29675 if (PyErr_Occurred()) SWIG_fail;
29676 }
29677 Py_INCREF(Py_None); resultobj = Py_None;
29678 return resultobj;
29679 fail:
29680 return NULL;
29681}
29682
29683
29684static PyObject *_wrap_MenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
29685 PyObject *resultobj;
29686 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29687 int arg2 ;
29688 bool result;
29689 PyObject * obj0 = 0 ;
994141e6 29690 PyObject * obj1 = 0 ;
d14a1e28 29691 char *kwnames[] = {
242b7b46 29692 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29693 };
29694
994141e6 29695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsChecked",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 29696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
29697 {
29698 arg2 = (int) SWIG_PyObj_AsInt(obj1);
29699 if (PyErr_Occurred()) SWIG_fail;
29700 }
d14a1e28
RD
29701 {
29702 PyThreadState* __tstate = wxPyBeginAllowThreads();
29703 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
29704
29705 wxPyEndAllowThreads(__tstate);
29706 if (PyErr_Occurred()) SWIG_fail;
29707 }
4d5c3d91 29708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
29709 return resultobj;
29710 fail:
29711 return NULL;
29712}
29713
29714
29715static PyObject *_wrap_MenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
29716 PyObject *resultobj;
29717 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29718 int arg2 ;
29719 bool result;
29720 PyObject * obj0 = 0 ;
994141e6 29721 PyObject * obj1 = 0 ;
d14a1e28 29722 char *kwnames[] = {
242b7b46 29723 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29724 };
29725
994141e6 29726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 29727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
29728 {
29729 arg2 = (int) SWIG_PyObj_AsInt(obj1);
29730 if (PyErr_Occurred()) SWIG_fail;
29731 }
d14a1e28
RD
29732 {
29733 PyThreadState* __tstate = wxPyBeginAllowThreads();
29734 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
29735
29736 wxPyEndAllowThreads(__tstate);
29737 if (PyErr_Occurred()) SWIG_fail;
29738 }
4d5c3d91 29739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
29740 return resultobj;
29741 fail:
29742 return NULL;
29743}
29744
29745
29746static PyObject *_wrap_MenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
29747 PyObject *resultobj;
29748 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29749 int arg2 ;
29750 wxString *arg3 = 0 ;
e811c8ce 29751 bool temp3 = False ;
d14a1e28 29752 PyObject * obj0 = 0 ;
994141e6 29753 PyObject * obj1 = 0 ;
d14a1e28
RD
29754 PyObject * obj2 = 0 ;
29755 char *kwnames[] = {
242b7b46 29756 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
29757 };
29758
994141e6 29759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 29760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
29761 {
29762 arg2 = (int) SWIG_PyObj_AsInt(obj1);
29763 if (PyErr_Occurred()) SWIG_fail;
29764 }
d14a1e28
RD
29765 {
29766 arg3 = wxString_in_helper(obj2);
29767 if (arg3 == NULL) SWIG_fail;
e811c8ce 29768 temp3 = True;
d14a1e28
RD
29769 }
29770 {
29771 PyThreadState* __tstate = wxPyBeginAllowThreads();
29772 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
29773
29774 wxPyEndAllowThreads(__tstate);
29775 if (PyErr_Occurred()) SWIG_fail;
29776 }
29777 Py_INCREF(Py_None); resultobj = Py_None;
29778 {
29779 if (temp3)
29780 delete arg3;
29781 }
29782 return resultobj;
29783 fail:
29784 {
29785 if (temp3)
29786 delete arg3;
29787 }
29788 return NULL;
29789}
29790
29791
29792static PyObject *_wrap_MenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
29793 PyObject *resultobj;
29794 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29795 int arg2 ;
29796 wxString result;
29797 PyObject * obj0 = 0 ;
994141e6 29798 PyObject * obj1 = 0 ;
d14a1e28 29799 char *kwnames[] = {
242b7b46 29800 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29801 };
29802
994141e6 29803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabel",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 29804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
29805 {
29806 arg2 = (int) SWIG_PyObj_AsInt(obj1);
29807 if (PyErr_Occurred()) SWIG_fail;
29808 }
d14a1e28
RD
29809 {
29810 PyThreadState* __tstate = wxPyBeginAllowThreads();
29811 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
29812
29813 wxPyEndAllowThreads(__tstate);
29814 if (PyErr_Occurred()) SWIG_fail;
29815 }
29816 {
29817#if wxUSE_UNICODE
29818 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29819#else
29820 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29821#endif
29822 }
29823 return resultobj;
29824 fail:
29825 return NULL;
29826}
29827
29828
29829static PyObject *_wrap_MenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
29830 PyObject *resultobj;
29831 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29832 int arg2 ;
29833 wxString *arg3 = 0 ;
e811c8ce 29834 bool temp3 = False ;
d14a1e28 29835 PyObject * obj0 = 0 ;
994141e6 29836 PyObject * obj1 = 0 ;
d14a1e28
RD
29837 PyObject * obj2 = 0 ;
29838 char *kwnames[] = {
242b7b46 29839 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
29840 };
29841
994141e6 29842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 29843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
29844 {
29845 arg2 = (int) SWIG_PyObj_AsInt(obj1);
29846 if (PyErr_Occurred()) SWIG_fail;
29847 }
d14a1e28
RD
29848 {
29849 arg3 = wxString_in_helper(obj2);
29850 if (arg3 == NULL) SWIG_fail;
e811c8ce 29851 temp3 = True;
d14a1e28
RD
29852 }
29853 {
29854 PyThreadState* __tstate = wxPyBeginAllowThreads();
29855 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
29856
29857 wxPyEndAllowThreads(__tstate);
29858 if (PyErr_Occurred()) SWIG_fail;
29859 }
29860 Py_INCREF(Py_None); resultobj = Py_None;
29861 {
29862 if (temp3)
29863 delete arg3;
29864 }
29865 return resultobj;
29866 fail:
29867 {
29868 if (temp3)
29869 delete arg3;
29870 }
29871 return NULL;
29872}
29873
29874
29875static PyObject *_wrap_MenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
29876 PyObject *resultobj;
29877 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29878 int arg2 ;
29879 wxString result;
29880 PyObject * obj0 = 0 ;
994141e6 29881 PyObject * obj1 = 0 ;
d14a1e28 29882 char *kwnames[] = {
242b7b46 29883 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29884 };
29885
994141e6 29886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 29887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
29888 {
29889 arg2 = (int) SWIG_PyObj_AsInt(obj1);
29890 if (PyErr_Occurred()) SWIG_fail;
29891 }
d14a1e28
RD
29892 {
29893 PyThreadState* __tstate = wxPyBeginAllowThreads();
29894 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
29895
29896 wxPyEndAllowThreads(__tstate);
29897 if (PyErr_Occurred()) SWIG_fail;
29898 }
29899 {
29900#if wxUSE_UNICODE
29901 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29902#else
29903 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29904#endif
29905 }
29906 return resultobj;
29907 fail:
29908 return NULL;
29909}
29910
29911
29912static PyObject *_wrap_MenuBar_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
29913 PyObject *resultobj;
29914 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29915 wxFrame *result;
29916 PyObject * obj0 = 0 ;
29917 char *kwnames[] = {
29918 (char *) "self", NULL
29919 };
29920
29921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
29922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29923 {
29924 PyThreadState* __tstate = wxPyBeginAllowThreads();
29925 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
29926
29927 wxPyEndAllowThreads(__tstate);
29928 if (PyErr_Occurred()) SWIG_fail;
29929 }
29930 {
29931 resultobj = wxPyMake_wxObject(result);
29932 }
29933 return resultobj;
29934 fail:
29935 return NULL;
29936}
29937
29938
29939static PyObject *_wrap_MenuBar_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
29940 PyObject *resultobj;
29941 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29942 bool result;
29943 PyObject * obj0 = 0 ;
29944 char *kwnames[] = {
29945 (char *) "self", NULL
29946 };
29947
29948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
29949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29950 {
29951 PyThreadState* __tstate = wxPyBeginAllowThreads();
29952 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
29953
29954 wxPyEndAllowThreads(__tstate);
29955 if (PyErr_Occurred()) SWIG_fail;
29956 }
4d5c3d91 29957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
29958 return resultobj;
29959 fail:
29960 return NULL;
29961}
29962
29963
29964static PyObject *_wrap_MenuBar_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
29965 PyObject *resultobj;
29966 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29967 wxFrame *arg2 = (wxFrame *) 0 ;
29968 PyObject * obj0 = 0 ;
29969 PyObject * obj1 = 0 ;
29970 char *kwnames[] = {
29971 (char *) "self",(char *) "frame", NULL
29972 };
29973
29974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
29975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29976 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29977 {
29978 PyThreadState* __tstate = wxPyBeginAllowThreads();
29979 (arg1)->Attach(arg2);
29980
29981 wxPyEndAllowThreads(__tstate);
29982 if (PyErr_Occurred()) SWIG_fail;
29983 }
29984 Py_INCREF(Py_None); resultobj = Py_None;
29985 return resultobj;
29986 fail:
29987 return NULL;
29988}
29989
29990
29991static PyObject *_wrap_MenuBar_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
29992 PyObject *resultobj;
29993 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29994 PyObject * obj0 = 0 ;
29995 char *kwnames[] = {
29996 (char *) "self", NULL
29997 };
29998
29999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
30000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30001 {
30002 PyThreadState* __tstate = wxPyBeginAllowThreads();
30003 (arg1)->Detach();
30004
30005 wxPyEndAllowThreads(__tstate);
30006 if (PyErr_Occurred()) SWIG_fail;
30007 }
30008 Py_INCREF(Py_None); resultobj = Py_None;
30009 return resultobj;
30010 fail:
30011 return NULL;
30012}
30013
30014
30015static PyObject * MenuBar_swigregister(PyObject *self, PyObject *args) {
30016 PyObject *obj;
30017 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30018 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
30019 Py_INCREF(obj);
30020 return Py_BuildValue((char *)"");
30021}
30022static PyObject *_wrap_new_MenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30023 PyObject *resultobj;
30024 wxMenu *arg1 = (wxMenu *) NULL ;
30025 int arg2 = (int) wxID_SEPARATOR ;
30026 wxString const &arg3_defvalue = wxPyEmptyString ;
30027 wxString *arg3 = (wxString *) &arg3_defvalue ;
30028 wxString const &arg4_defvalue = wxPyEmptyString ;
30029 wxString *arg4 = (wxString *) &arg4_defvalue ;
30030 int arg5 = (int) wxITEM_NORMAL ;
30031 wxMenu *arg6 = (wxMenu *) NULL ;
30032 wxMenuItem *result;
e811c8ce
RD
30033 bool temp3 = False ;
30034 bool temp4 = False ;
d14a1e28 30035 PyObject * obj0 = 0 ;
994141e6 30036 PyObject * obj1 = 0 ;
d14a1e28
RD
30037 PyObject * obj2 = 0 ;
30038 PyObject * obj3 = 0 ;
994141e6 30039 PyObject * obj4 = 0 ;
d14a1e28
RD
30040 PyObject * obj5 = 0 ;
30041 char *kwnames[] = {
30042 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
30043 };
30044
994141e6 30045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_MenuItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28
RD
30046 if (obj0) {
30047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30048 }
994141e6
RD
30049 if (obj1) {
30050 {
30051 arg2 = (int) SWIG_PyObj_AsInt(obj1);
30052 if (PyErr_Occurred()) SWIG_fail;
30053 }
30054 }
d14a1e28
RD
30055 if (obj2) {
30056 {
30057 arg3 = wxString_in_helper(obj2);
30058 if (arg3 == NULL) SWIG_fail;
e811c8ce 30059 temp3 = True;
d14a1e28
RD
30060 }
30061 }
30062 if (obj3) {
30063 {
30064 arg4 = wxString_in_helper(obj3);
30065 if (arg4 == NULL) SWIG_fail;
e811c8ce 30066 temp4 = True;
d14a1e28
RD
30067 }
30068 }
994141e6
RD
30069 if (obj4) {
30070 {
30071 arg5 = (wxItemKind) SWIG_PyObj_AsInt(obj4);
30072 if (PyErr_Occurred()) SWIG_fail;
30073 }
30074 }
d14a1e28
RD
30075 if (obj5) {
30076 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30077 }
30078 {
30079 PyThreadState* __tstate = wxPyBeginAllowThreads();
30080 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
30081
30082 wxPyEndAllowThreads(__tstate);
30083 if (PyErr_Occurred()) SWIG_fail;
30084 }
30085 {
30086 resultobj = wxPyMake_wxObject(result);
30087 }
30088 {
30089 if (temp3)
30090 delete arg3;
30091 }
30092 {
30093 if (temp4)
30094 delete arg4;
30095 }
30096 return resultobj;
30097 fail:
30098 {
30099 if (temp3)
30100 delete arg3;
30101 }
30102 {
30103 if (temp4)
30104 delete arg4;
30105 }
30106 return NULL;
30107}
30108
30109
30110static PyObject *_wrap_MenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
30111 PyObject *resultobj;
30112 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30113 wxMenu *result;
30114 PyObject * obj0 = 0 ;
30115 char *kwnames[] = {
30116 (char *) "self", NULL
30117 };
30118
30119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
30120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30121 {
30122 PyThreadState* __tstate = wxPyBeginAllowThreads();
30123 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
30124
30125 wxPyEndAllowThreads(__tstate);
30126 if (PyErr_Occurred()) SWIG_fail;
30127 }
30128 {
30129 resultobj = wxPyMake_wxObject(result);
30130 }
30131 return resultobj;
30132 fail:
30133 return NULL;
30134}
30135
30136
30137static PyObject *_wrap_MenuItem_SetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
30138 PyObject *resultobj;
30139 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30140 wxMenu *arg2 = (wxMenu *) 0 ;
30141 PyObject * obj0 = 0 ;
30142 PyObject * obj1 = 0 ;
30143 char *kwnames[] = {
30144 (char *) "self",(char *) "menu", NULL
30145 };
30146
30147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
30148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30149 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30150 {
30151 PyThreadState* __tstate = wxPyBeginAllowThreads();
30152 (arg1)->SetMenu(arg2);
30153
30154 wxPyEndAllowThreads(__tstate);
30155 if (PyErr_Occurred()) SWIG_fail;
30156 }
30157 Py_INCREF(Py_None); resultobj = Py_None;
30158 return resultobj;
30159 fail:
30160 return NULL;
30161}
30162
30163
30164static PyObject *_wrap_MenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
30165 PyObject *resultobj;
30166 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30167 int arg2 ;
30168 PyObject * obj0 = 0 ;
994141e6 30169 PyObject * obj1 = 0 ;
d14a1e28 30170 char *kwnames[] = {
242b7b46 30171 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30172 };
30173
994141e6 30174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetId",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 30175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
30176 {
30177 arg2 = (int) SWIG_PyObj_AsInt(obj1);
30178 if (PyErr_Occurred()) SWIG_fail;
30179 }
d14a1e28
RD
30180 {
30181 PyThreadState* __tstate = wxPyBeginAllowThreads();
30182 (arg1)->SetId(arg2);
30183
30184 wxPyEndAllowThreads(__tstate);
30185 if (PyErr_Occurred()) SWIG_fail;
30186 }
30187 Py_INCREF(Py_None); resultobj = Py_None;
30188 return resultobj;
30189 fail:
30190 return NULL;
30191}
30192
30193
30194static PyObject *_wrap_MenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
30195 PyObject *resultobj;
30196 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30197 int result;
30198 PyObject * obj0 = 0 ;
30199 char *kwnames[] = {
30200 (char *) "self", NULL
30201 };
30202
30203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
30204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30205 {
30206 PyThreadState* __tstate = wxPyBeginAllowThreads();
30207 result = (int)((wxMenuItem const *)arg1)->GetId();
30208
30209 wxPyEndAllowThreads(__tstate);
30210 if (PyErr_Occurred()) SWIG_fail;
30211 }
994141e6 30212 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
30213 return resultobj;
30214 fail:
30215 return NULL;
30216}
30217
30218
30219static PyObject *_wrap_MenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
30220 PyObject *resultobj;
30221 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30222 bool result;
30223 PyObject * obj0 = 0 ;
30224 char *kwnames[] = {
30225 (char *) "self", NULL
30226 };
30227
30228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
30229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30230 {
30231 PyThreadState* __tstate = wxPyBeginAllowThreads();
30232 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
30233
30234 wxPyEndAllowThreads(__tstate);
30235 if (PyErr_Occurred()) SWIG_fail;
30236 }
4d5c3d91 30237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
30238 return resultobj;
30239 fail:
30240 return NULL;
30241}
30242
30243
30244static PyObject *_wrap_MenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
30245 PyObject *resultobj;
30246 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30247 wxString *arg2 = 0 ;
e811c8ce 30248 bool temp2 = False ;
d14a1e28
RD
30249 PyObject * obj0 = 0 ;
30250 PyObject * obj1 = 0 ;
30251 char *kwnames[] = {
30252 (char *) "self",(char *) "str", NULL
30253 };
30254
30255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
30256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30257 {
30258 arg2 = wxString_in_helper(obj1);
30259 if (arg2 == NULL) SWIG_fail;
e811c8ce 30260 temp2 = True;
d14a1e28
RD
30261 }
30262 {
30263 PyThreadState* __tstate = wxPyBeginAllowThreads();
30264 (arg1)->SetText((wxString const &)*arg2);
30265
30266 wxPyEndAllowThreads(__tstate);
30267 if (PyErr_Occurred()) SWIG_fail;
30268 }
30269 Py_INCREF(Py_None); resultobj = Py_None;
30270 {
30271 if (temp2)
30272 delete arg2;
30273 }
30274 return resultobj;
30275 fail:
30276 {
30277 if (temp2)
30278 delete arg2;
30279 }
30280 return NULL;
30281}
30282
30283
30284static PyObject *_wrap_MenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
30285 PyObject *resultobj;
30286 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30287 wxString result;
30288 PyObject * obj0 = 0 ;
30289 char *kwnames[] = {
30290 (char *) "self", NULL
30291 };
30292
30293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
30294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30295 {
30296 PyThreadState* __tstate = wxPyBeginAllowThreads();
30297 result = ((wxMenuItem const *)arg1)->GetLabel();
30298
30299 wxPyEndAllowThreads(__tstate);
30300 if (PyErr_Occurred()) SWIG_fail;
30301 }
30302 {
30303#if wxUSE_UNICODE
30304 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30305#else
30306 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30307#endif
30308 }
30309 return resultobj;
30310 fail:
30311 return NULL;
30312}
30313
30314
30315static PyObject *_wrap_MenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
30316 PyObject *resultobj;
30317 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30318 wxString *result;
30319 PyObject * obj0 = 0 ;
30320 char *kwnames[] = {
30321 (char *) "self", NULL
30322 };
30323
30324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
30325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30326 {
30327 PyThreadState* __tstate = wxPyBeginAllowThreads();
30328 {
30329 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
30330 result = (wxString *) &_result_ref;
30331 }
30332
30333 wxPyEndAllowThreads(__tstate);
30334 if (PyErr_Occurred()) SWIG_fail;
30335 }
cc6dd355
RD
30336 {
30337#if wxUSE_UNICODE
30338 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
30339#else
30340 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
30341#endif
30342 }
d14a1e28
RD
30343 return resultobj;
30344 fail:
30345 return NULL;
30346}
30347
30348
30349static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
30350 PyObject *resultobj;
30351 wxString *arg1 = 0 ;
30352 wxString result;
e811c8ce 30353 bool temp1 = False ;
d14a1e28
RD
30354 PyObject * obj0 = 0 ;
30355 char *kwnames[] = {
30356 (char *) "text", NULL
30357 };
30358
30359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
30360 {
30361 arg1 = wxString_in_helper(obj0);
30362 if (arg1 == NULL) SWIG_fail;
e811c8ce 30363 temp1 = True;
d14a1e28
RD
30364 }
30365 {
30366 PyThreadState* __tstate = wxPyBeginAllowThreads();
30367 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
30368
30369 wxPyEndAllowThreads(__tstate);
30370 if (PyErr_Occurred()) SWIG_fail;
30371 }
30372 {
30373#if wxUSE_UNICODE
30374 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30375#else
30376 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30377#endif
30378 }
30379 {
30380 if (temp1)
30381 delete arg1;
30382 }
30383 return resultobj;
30384 fail:
30385 {
30386 if (temp1)
30387 delete arg1;
30388 }
30389 return NULL;
30390}
30391
30392
30393static PyObject *_wrap_MenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
30394 PyObject *resultobj;
30395 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30396 int result;
30397 PyObject * obj0 = 0 ;
30398 char *kwnames[] = {
30399 (char *) "self", NULL
30400 };
30401
30402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
30403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30404 {
30405 PyThreadState* __tstate = wxPyBeginAllowThreads();
30406 result = (int)((wxMenuItem const *)arg1)->GetKind();
30407
30408 wxPyEndAllowThreads(__tstate);
30409 if (PyErr_Occurred()) SWIG_fail;
30410 }
994141e6 30411 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
30412 return resultobj;
30413 fail:
30414 return NULL;
30415}
30416
30417
30418static PyObject *_wrap_MenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
30419 PyObject *resultobj;
30420 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30421 bool arg2 ;
30422 PyObject * obj0 = 0 ;
30423 PyObject * obj1 = 0 ;
30424 char *kwnames[] = {
30425 (char *) "self",(char *) "checkable", NULL
30426 };
30427
30428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
30429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 30430 {
994141e6 30431 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
30432 if (PyErr_Occurred()) SWIG_fail;
30433 }
d14a1e28
RD
30434 {
30435 PyThreadState* __tstate = wxPyBeginAllowThreads();
30436 (arg1)->SetCheckable(arg2);
30437
30438 wxPyEndAllowThreads(__tstate);
30439 if (PyErr_Occurred()) SWIG_fail;
30440 }
30441 Py_INCREF(Py_None); resultobj = Py_None;
30442 return resultobj;
30443 fail:
30444 return NULL;
30445}
30446
30447
30448static PyObject *_wrap_MenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
30449 PyObject *resultobj;
30450 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30451 bool result;
30452 PyObject * obj0 = 0 ;
30453 char *kwnames[] = {
30454 (char *) "self", NULL
30455 };
30456
30457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
30458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30459 {
30460 PyThreadState* __tstate = wxPyBeginAllowThreads();
30461 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
30462
30463 wxPyEndAllowThreads(__tstate);
30464 if (PyErr_Occurred()) SWIG_fail;
30465 }
4d5c3d91 30466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
30467 return resultobj;
30468 fail:
30469 return NULL;
30470}
30471
30472
30473static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
30474 PyObject *resultobj;
30475 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30476 bool result;
30477 PyObject * obj0 = 0 ;
30478 char *kwnames[] = {
30479 (char *) "self", NULL
30480 };
30481
30482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
30483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30484 {
30485 PyThreadState* __tstate = wxPyBeginAllowThreads();
30486 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
30487
30488 wxPyEndAllowThreads(__tstate);
30489 if (PyErr_Occurred()) SWIG_fail;
30490 }
4d5c3d91 30491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
30492 return resultobj;
30493 fail:
30494 return NULL;
30495}
30496
30497
30498static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
30499 PyObject *resultobj;
30500 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30501 wxMenu *arg2 = (wxMenu *) 0 ;
30502 PyObject * obj0 = 0 ;
30503 PyObject * obj1 = 0 ;
30504 char *kwnames[] = {
30505 (char *) "self",(char *) "menu", NULL
30506 };
30507
30508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
30509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30510 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30511 {
30512 PyThreadState* __tstate = wxPyBeginAllowThreads();
30513 (arg1)->SetSubMenu(arg2);
30514
30515 wxPyEndAllowThreads(__tstate);
30516 if (PyErr_Occurred()) SWIG_fail;
30517 }
30518 Py_INCREF(Py_None); resultobj = Py_None;
30519 return resultobj;
30520 fail:
30521 return NULL;
30522}
30523
30524
30525static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
30526 PyObject *resultobj;
30527 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30528 wxMenu *result;
30529 PyObject * obj0 = 0 ;
30530 char *kwnames[] = {
30531 (char *) "self", NULL
30532 };
30533
30534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
30535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30536 {
30537 PyThreadState* __tstate = wxPyBeginAllowThreads();
30538 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
30539
30540 wxPyEndAllowThreads(__tstate);
30541 if (PyErr_Occurred()) SWIG_fail;
30542 }
30543 {
30544 resultobj = wxPyMake_wxObject(result);
30545 }
30546 return resultobj;
30547 fail:
30548 return NULL;
30549}
30550
30551
30552static PyObject *_wrap_MenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
30553 PyObject *resultobj;
30554 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
e811c8ce 30555 bool arg2 = (bool) True ;
d14a1e28
RD
30556 PyObject * obj0 = 0 ;
30557 PyObject * obj1 = 0 ;
30558 char *kwnames[] = {
30559 (char *) "self",(char *) "enable", NULL
30560 };
30561
30562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
30563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30564 if (obj1) {
a41e16b6 30565 {
994141e6 30566 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
30567 if (PyErr_Occurred()) SWIG_fail;
30568 }
d14a1e28
RD
30569 }
30570 {
30571 PyThreadState* __tstate = wxPyBeginAllowThreads();
30572 (arg1)->Enable(arg2);
30573
30574 wxPyEndAllowThreads(__tstate);
30575 if (PyErr_Occurred()) SWIG_fail;
30576 }
30577 Py_INCREF(Py_None); resultobj = Py_None;
30578 return resultobj;
30579 fail:
30580 return NULL;
30581}
30582
30583
30584static PyObject *_wrap_MenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
30585 PyObject *resultobj;
30586 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30587 bool result;
30588 PyObject * obj0 = 0 ;
30589 char *kwnames[] = {
30590 (char *) "self", NULL
30591 };
30592
30593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
30594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30595 {
30596 PyThreadState* __tstate = wxPyBeginAllowThreads();
30597 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
30598
30599 wxPyEndAllowThreads(__tstate);
30600 if (PyErr_Occurred()) SWIG_fail;
30601 }
4d5c3d91 30602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
30603 return resultobj;
30604 fail:
30605 return NULL;
30606}
30607
30608
30609static PyObject *_wrap_MenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
30610 PyObject *resultobj;
30611 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
e811c8ce 30612 bool arg2 = (bool) True ;
d14a1e28
RD
30613 PyObject * obj0 = 0 ;
30614 PyObject * obj1 = 0 ;
30615 char *kwnames[] = {
30616 (char *) "self",(char *) "check", NULL
30617 };
30618
30619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
30620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30621 if (obj1) {
a41e16b6 30622 {
994141e6 30623 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
30624 if (PyErr_Occurred()) SWIG_fail;
30625 }
d14a1e28
RD
30626 }
30627 {
30628 PyThreadState* __tstate = wxPyBeginAllowThreads();
30629 (arg1)->Check(arg2);
30630
30631 wxPyEndAllowThreads(__tstate);
30632 if (PyErr_Occurred()) SWIG_fail;
30633 }
30634 Py_INCREF(Py_None); resultobj = Py_None;
30635 return resultobj;
30636 fail:
30637 return NULL;
30638}
30639
30640
30641static PyObject *_wrap_MenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
30642 PyObject *resultobj;
30643 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30644 bool result;
30645 PyObject * obj0 = 0 ;
30646 char *kwnames[] = {
30647 (char *) "self", NULL
30648 };
30649
30650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
30651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30652 {
30653 PyThreadState* __tstate = wxPyBeginAllowThreads();
30654 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
30655
30656 wxPyEndAllowThreads(__tstate);
30657 if (PyErr_Occurred()) SWIG_fail;
30658 }
4d5c3d91 30659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
30660 return resultobj;
30661 fail:
30662 return NULL;
30663}
30664
30665
30666static PyObject *_wrap_MenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
30667 PyObject *resultobj;
30668 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30669 PyObject * obj0 = 0 ;
30670 char *kwnames[] = {
30671 (char *) "self", NULL
30672 };
30673
30674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
30675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30676 {
30677 PyThreadState* __tstate = wxPyBeginAllowThreads();
30678 (arg1)->Toggle();
30679
30680 wxPyEndAllowThreads(__tstate);
30681 if (PyErr_Occurred()) SWIG_fail;
30682 }
30683 Py_INCREF(Py_None); resultobj = Py_None;
30684 return resultobj;
30685 fail:
30686 return NULL;
30687}
30688
30689
30690static PyObject *_wrap_MenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30691 PyObject *resultobj;
30692 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30693 wxString *arg2 = 0 ;
e811c8ce 30694 bool temp2 = False ;
d14a1e28
RD
30695 PyObject * obj0 = 0 ;
30696 PyObject * obj1 = 0 ;
30697 char *kwnames[] = {
30698 (char *) "self",(char *) "str", NULL
30699 };
30700
30701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
30702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30703 {
30704 arg2 = wxString_in_helper(obj1);
30705 if (arg2 == NULL) SWIG_fail;
e811c8ce 30706 temp2 = True;
d14a1e28
RD
30707 }
30708 {
30709 PyThreadState* __tstate = wxPyBeginAllowThreads();
30710 (arg1)->SetHelp((wxString const &)*arg2);
30711
30712 wxPyEndAllowThreads(__tstate);
30713 if (PyErr_Occurred()) SWIG_fail;
30714 }
30715 Py_INCREF(Py_None); resultobj = Py_None;
30716 {
30717 if (temp2)
30718 delete arg2;
30719 }
30720 return resultobj;
30721 fail:
30722 {
30723 if (temp2)
30724 delete arg2;
30725 }
30726 return NULL;
30727}
30728
30729
30730static PyObject *_wrap_MenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30731 PyObject *resultobj;
30732 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30733 wxString *result;
30734 PyObject * obj0 = 0 ;
30735 char *kwnames[] = {
30736 (char *) "self", NULL
30737 };
30738
30739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
30740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30741 {
30742 PyThreadState* __tstate = wxPyBeginAllowThreads();
30743 {
30744 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
30745 result = (wxString *) &_result_ref;
30746 }
30747
30748 wxPyEndAllowThreads(__tstate);
30749 if (PyErr_Occurred()) SWIG_fail;
30750 }
cc6dd355
RD
30751 {
30752#if wxUSE_UNICODE
30753 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
30754#else
30755 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
30756#endif
30757 }
d14a1e28
RD
30758 return resultobj;
30759 fail:
30760 return NULL;
30761}
30762
30763
30764static PyObject *_wrap_MenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
30765 PyObject *resultobj;
30766 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30767 wxAcceleratorEntry *result;
30768 PyObject * obj0 = 0 ;
30769 char *kwnames[] = {
30770 (char *) "self", NULL
30771 };
30772
30773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
30774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30775 {
30776 PyThreadState* __tstate = wxPyBeginAllowThreads();
30777 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
30778
30779 wxPyEndAllowThreads(__tstate);
30780 if (PyErr_Occurred()) SWIG_fail;
30781 }
30782 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 0);
30783 return resultobj;
30784 fail:
30785 return NULL;
30786}
30787
30788
30789static PyObject *_wrap_MenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
30790 PyObject *resultobj;
30791 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30792 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
30793 PyObject * obj0 = 0 ;
30794 PyObject * obj1 = 0 ;
30795 char *kwnames[] = {
30796 (char *) "self",(char *) "accel", NULL
30797 };
30798
30799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
30800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30801 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30802 {
30803 PyThreadState* __tstate = wxPyBeginAllowThreads();
30804 (arg1)->SetAccel(arg2);
30805
30806 wxPyEndAllowThreads(__tstate);
30807 if (PyErr_Occurred()) SWIG_fail;
30808 }
30809 Py_INCREF(Py_None); resultobj = Py_None;
30810 return resultobj;
30811 fail:
30812 return NULL;
30813}
30814
30815
30816static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
30817 PyObject *resultobj;
30818 int result;
30819 char *kwnames[] = {
30820 NULL
30821 };
30822
30823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
30824 {
30825 PyThreadState* __tstate = wxPyBeginAllowThreads();
30826 result = (int)MenuItem_GetDefaultMarginWidth();
30827
30828 wxPyEndAllowThreads(__tstate);
30829 if (PyErr_Occurred()) SWIG_fail;
30830 }
994141e6 30831 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
30832 return resultobj;
30833 fail:
30834 return NULL;
30835}
30836
30837
30838static PyObject *_wrap_MenuItem_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
30839 PyObject *resultobj;
30840 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30841 wxBitmap *arg2 = 0 ;
30842 PyObject * obj0 = 0 ;
30843 PyObject * obj1 = 0 ;
30844 char *kwnames[] = {
30845 (char *) "self",(char *) "bitmap", NULL
30846 };
30847
30848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
30849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30850 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30851 if (arg2 == NULL) {
30852 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
30853 }
30854 {
30855 PyThreadState* __tstate = wxPyBeginAllowThreads();
30856 (arg1)->SetBitmap((wxBitmap const &)*arg2);
30857
30858 wxPyEndAllowThreads(__tstate);
30859 if (PyErr_Occurred()) SWIG_fail;
30860 }
30861 Py_INCREF(Py_None); resultobj = Py_None;
30862 return resultobj;
30863 fail:
30864 return NULL;
30865}
30866
30867
30868static PyObject *_wrap_MenuItem_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
30869 PyObject *resultobj;
30870 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30871 wxBitmap *result;
30872 PyObject * obj0 = 0 ;
30873 char *kwnames[] = {
30874 (char *) "self", NULL
30875 };
30876
30877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
30878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30879 {
30880 PyThreadState* __tstate = wxPyBeginAllowThreads();
30881 {
30882 wxBitmap const &_result_ref = (arg1)->GetBitmap();
30883 result = (wxBitmap *) &_result_ref;
30884 }
30885
30886 wxPyEndAllowThreads(__tstate);
30887 if (PyErr_Occurred()) SWIG_fail;
30888 }
30889 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
30890 return resultobj;
30891 fail:
30892 return NULL;
30893}
30894
30895
30896static PyObject * MenuItem_swigregister(PyObject *self, PyObject *args) {
30897 PyObject *obj;
30898 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30899 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
30900 Py_INCREF(obj);
30901 return Py_BuildValue((char *)"");
30902}
b2dc1044
RD
30903static int _wrap_ControlNameStr_set(PyObject *_val) {
30904 PyErr_SetString(PyExc_TypeError,"Variable ControlNameStr is read-only.");
30905 return 1;
30906}
30907
30908
30909static PyObject *_wrap_ControlNameStr_get() {
30910 PyObject *pyobj;
30911
30912 {
30913#if wxUSE_UNICODE
30914 pyobj = PyUnicode_FromWideChar((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
30915#else
30916 pyobj = PyString_FromStringAndSize((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
30917#endif
30918 }
30919 return pyobj;
30920}
30921
30922
d14a1e28
RD
30923static PyObject *_wrap_new_Control(PyObject *self, PyObject *args, PyObject *kwargs) {
30924 PyObject *resultobj;
30925 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 30926 int arg2 ;
d14a1e28
RD
30927 wxPoint const &arg3_defvalue = wxDefaultPosition ;
30928 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
30929 wxSize const &arg4_defvalue = wxDefaultSize ;
30930 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
30931 long arg5 = (long) 0 ;
30932 wxValidator const &arg6_defvalue = wxDefaultValidator ;
30933 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
30934 wxString const &arg7_defvalue = wxPyControlNameStr ;
30935 wxString *arg7 = (wxString *) &arg7_defvalue ;
30936 wxControl *result;
30937 wxPoint temp3 ;
30938 wxSize temp4 ;
e811c8ce 30939 bool temp7 = False ;
d14a1e28 30940 PyObject * obj0 = 0 ;
994141e6 30941 PyObject * obj1 = 0 ;
d14a1e28
RD
30942 PyObject * obj2 = 0 ;
30943 PyObject * obj3 = 0 ;
994141e6 30944 PyObject * obj4 = 0 ;
d14a1e28
RD
30945 PyObject * obj5 = 0 ;
30946 PyObject * obj6 = 0 ;
30947 char *kwnames[] = {
30948 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
30949 };
30950
994141e6 30951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_Control",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28 30952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
30953 {
30954 arg2 = (int) SWIG_PyObj_AsInt(obj1);
30955 if (PyErr_Occurred()) SWIG_fail;
30956 }
d14a1e28
RD
30957 if (obj2) {
30958 {
30959 arg3 = &temp3;
30960 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30961 }
30962 }
30963 if (obj3) {
30964 {
30965 arg4 = &temp4;
30966 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
30967 }
30968 }
994141e6
RD
30969 if (obj4) {
30970 {
30971 arg5 = (long) SWIG_PyObj_AsLong(obj4);
30972 if (PyErr_Occurred()) SWIG_fail;
30973 }
30974 }
d14a1e28
RD
30975 if (obj5) {
30976 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30977 if (arg6 == NULL) {
30978 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
30979 }
30980 }
30981 if (obj6) {
30982 {
30983 arg7 = wxString_in_helper(obj6);
30984 if (arg7 == NULL) SWIG_fail;
e811c8ce 30985 temp7 = True;
d14a1e28
RD
30986 }
30987 }
30988 {
30989 PyThreadState* __tstate = wxPyBeginAllowThreads();
30990 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
30991
30992 wxPyEndAllowThreads(__tstate);
30993 if (PyErr_Occurred()) SWIG_fail;
30994 }
30995 {
30996 resultobj = wxPyMake_wxObject(result);
30997 }
30998 {
30999 if (temp7)
31000 delete arg7;
31001 }
31002 return resultobj;
31003 fail:
31004 {
31005 if (temp7)
31006 delete arg7;
31007 }
31008 return NULL;
31009}
31010
31011
31012static PyObject *_wrap_new_PreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
31013 PyObject *resultobj;
31014 wxControl *result;
31015 char *kwnames[] = {
31016 NULL
31017 };
31018
31019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
31020 {
31021 PyThreadState* __tstate = wxPyBeginAllowThreads();
31022 result = (wxControl *)new wxControl();
31023
31024 wxPyEndAllowThreads(__tstate);
31025 if (PyErr_Occurred()) SWIG_fail;
31026 }
31027 {
31028 resultobj = wxPyMake_wxObject(result);
31029 }
31030 return resultobj;
31031 fail:
31032 return NULL;
31033}
31034
31035
31036static PyObject *_wrap_Control_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
31037 PyObject *resultobj;
31038 wxControl *arg1 = (wxControl *) 0 ;
31039 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 31040 int arg3 ;
d14a1e28
RD
31041 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31042 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31043 wxSize const &arg5_defvalue = wxDefaultSize ;
31044 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31045 long arg6 = (long) 0 ;
31046 wxValidator const &arg7_defvalue = wxDefaultValidator ;
31047 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
31048 wxString const &arg8_defvalue = wxPyControlNameStr ;
31049 wxString *arg8 = (wxString *) &arg8_defvalue ;
31050 bool result;
31051 wxPoint temp4 ;
31052 wxSize temp5 ;
e811c8ce 31053 bool temp8 = False ;
d14a1e28
RD
31054 PyObject * obj0 = 0 ;
31055 PyObject * obj1 = 0 ;
994141e6 31056 PyObject * obj2 = 0 ;
d14a1e28
RD
31057 PyObject * obj3 = 0 ;
31058 PyObject * obj4 = 0 ;
994141e6 31059 PyObject * obj5 = 0 ;
d14a1e28
RD
31060 PyObject * obj6 = 0 ;
31061 PyObject * obj7 = 0 ;
31062 char *kwnames[] = {
31063 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31064 };
31065
994141e6 31066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:Control_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d14a1e28
RD
31067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31068 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
31069 {
31070 arg3 = (int) SWIG_PyObj_AsInt(obj2);
31071 if (PyErr_Occurred()) SWIG_fail;
31072 }
d14a1e28
RD
31073 if (obj3) {
31074 {
31075 arg4 = &temp4;
31076 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31077 }
31078 }
31079 if (obj4) {
31080 {
31081 arg5 = &temp5;
31082 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31083 }
31084 }
994141e6
RD
31085 if (obj5) {
31086 {
31087 arg6 = (long) SWIG_PyObj_AsLong(obj5);
31088 if (PyErr_Occurred()) SWIG_fail;
31089 }
31090 }
d14a1e28
RD
31091 if (obj6) {
31092 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31093 if (arg7 == NULL) {
31094 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
31095 }
31096 }
31097 if (obj7) {
31098 {
31099 arg8 = wxString_in_helper(obj7);
31100 if (arg8 == NULL) SWIG_fail;
e811c8ce 31101 temp8 = True;
d14a1e28
RD
31102 }
31103 }
31104 {
31105 PyThreadState* __tstate = wxPyBeginAllowThreads();
31106 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
31107
31108 wxPyEndAllowThreads(__tstate);
31109 if (PyErr_Occurred()) SWIG_fail;
31110 }
4d5c3d91 31111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
31112 {
31113 if (temp8)
31114 delete arg8;
31115 }
31116 return resultobj;
31117 fail:
31118 {
31119 if (temp8)
31120 delete arg8;
31121 }
31122 return NULL;
31123}
31124
31125
31126static PyObject *_wrap_Control_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
31127 PyObject *resultobj;
31128 wxControl *arg1 = (wxControl *) 0 ;
31129 wxCommandEvent *arg2 = 0 ;
31130 PyObject * obj0 = 0 ;
31131 PyObject * obj1 = 0 ;
31132 char *kwnames[] = {
31133 (char *) "self",(char *) "event", NULL
31134 };
31135
31136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
31137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31138 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31139 if (arg2 == NULL) {
31140 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
31141 }
31142 {
31143 PyThreadState* __tstate = wxPyBeginAllowThreads();
31144 (arg1)->Command(*arg2);
31145
31146 wxPyEndAllowThreads(__tstate);
31147 if (PyErr_Occurred()) SWIG_fail;
31148 }
31149 Py_INCREF(Py_None); resultobj = Py_None;
31150 return resultobj;
31151 fail:
31152 return NULL;
31153}
31154
31155
31156static PyObject *_wrap_Control_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
31157 PyObject *resultobj;
31158 wxControl *arg1 = (wxControl *) 0 ;
31159 wxString result;
31160 PyObject * obj0 = 0 ;
31161 char *kwnames[] = {
31162 (char *) "self", NULL
31163 };
31164
31165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
31166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31167 {
31168 PyThreadState* __tstate = wxPyBeginAllowThreads();
31169 result = (arg1)->GetLabel();
31170
31171 wxPyEndAllowThreads(__tstate);
31172 if (PyErr_Occurred()) SWIG_fail;
31173 }
31174 {
31175#if wxUSE_UNICODE
31176 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31177#else
31178 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31179#endif
31180 }
31181 return resultobj;
31182 fail:
31183 return NULL;
31184}
31185
31186
31187static PyObject *_wrap_Control_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
31188 PyObject *resultobj;
31189 wxControl *arg1 = (wxControl *) 0 ;
31190 wxString *arg2 = 0 ;
e811c8ce 31191 bool temp2 = False ;
d14a1e28
RD
31192 PyObject * obj0 = 0 ;
31193 PyObject * obj1 = 0 ;
31194 char *kwnames[] = {
31195 (char *) "self",(char *) "label", NULL
31196 };
31197
31198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
31199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31200 {
31201 arg2 = wxString_in_helper(obj1);
31202 if (arg2 == NULL) SWIG_fail;
e811c8ce 31203 temp2 = True;
d14a1e28
RD
31204 }
31205 {
31206 PyThreadState* __tstate = wxPyBeginAllowThreads();
31207 (arg1)->SetLabel((wxString const &)*arg2);
31208
31209 wxPyEndAllowThreads(__tstate);
31210 if (PyErr_Occurred()) SWIG_fail;
31211 }
31212 Py_INCREF(Py_None); resultobj = Py_None;
31213 {
31214 if (temp2)
31215 delete arg2;
31216 }
31217 return resultobj;
31218 fail:
31219 {
31220 if (temp2)
31221 delete arg2;
31222 }
31223 return NULL;
31224}
31225
31226
31227static PyObject * Control_swigregister(PyObject *self, PyObject *args) {
31228 PyObject *obj;
31229 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31230 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
31231 Py_INCREF(obj);
31232 return Py_BuildValue((char *)"");
31233}
31234static PyObject *_wrap_ItemContainer_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
31235 PyObject *resultobj;
31236 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
31237 wxString *arg2 = 0 ;
31238 PyObject *arg3 = (PyObject *) NULL ;
31239 int result;
e811c8ce 31240 bool temp2 = False ;
d14a1e28
RD
31241 PyObject * obj0 = 0 ;
31242 PyObject * obj1 = 0 ;
31243 PyObject * obj2 = 0 ;
31244 char *kwnames[] = {
31245 (char *) "self",(char *) "item",(char *) "clientData", NULL
31246 };
31247
31248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
31249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31250 {
31251 arg2 = wxString_in_helper(obj1);
31252 if (arg2 == NULL) SWIG_fail;
e811c8ce 31253 temp2 = True;
d14a1e28
RD
31254 }
31255 if (obj2) {
31256 arg3 = obj2;
31257 }
31258 {
31259 PyThreadState* __tstate = wxPyBeginAllowThreads();
31260 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
31261
31262 wxPyEndAllowThreads(__tstate);
31263 if (PyErr_Occurred()) SWIG_fail;
31264 }
994141e6 31265 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
31266 {
31267 if (temp2)
31268 delete arg2;
31269 }
31270 return resultobj;
31271 fail:
31272 {
31273 if (temp2)
31274 delete arg2;
31275 }
31276 return NULL;
31277}
31278
31279
31280static PyObject *_wrap_ItemContainer_AppendItems(PyObject *self, PyObject *args, PyObject *kwargs) {
31281 PyObject *resultobj;
31282 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
31283 wxArrayString *arg2 = 0 ;
3adfb63b 31284 bool temp2 = False ;
d14a1e28
RD
31285 PyObject * obj0 = 0 ;
31286 PyObject * obj1 = 0 ;
31287 char *kwnames[] = {
31288 (char *) "self",(char *) "strings", NULL
31289 };
31290
31291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
31292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31293 {
31294 if (! PySequence_Check(obj1)) {
31295 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
31296 SWIG_fail;
31297 }
31298 arg2 = new wxArrayString;
3adfb63b 31299 temp2 = True;
d14a1e28
RD
31300 int i, len=PySequence_Length(obj1);
31301 for (i=0; i<len; i++) {
31302 PyObject* item = PySequence_GetItem(obj1, i);
31303#if wxUSE_UNICODE
31304 PyObject* str = PyObject_Unicode(item);
31305#else
31306 PyObject* str = PyObject_Str(item);
31307#endif
31308 arg2->Add(Py2wxString(str));
31309 Py_DECREF(item);
31310 Py_DECREF(str);
31311 }
31312 }
31313 {
31314 PyThreadState* __tstate = wxPyBeginAllowThreads();
31315 (arg1)->Append((wxArrayString const &)*arg2);
31316
31317 wxPyEndAllowThreads(__tstate);
31318 if (PyErr_Occurred()) SWIG_fail;
31319 }
31320 Py_INCREF(Py_None); resultobj = Py_None;
31321 {
3adfb63b 31322 if (temp2) delete arg2;
d14a1e28
RD
31323 }
31324 return resultobj;
31325 fail:
31326 {
3adfb63b 31327 if (temp2) delete arg2;
d14a1e28
RD
31328 }
31329 return NULL;
31330}
31331
31332
31333static PyObject *_wrap_ItemContainer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
31334 PyObject *resultobj;
31335 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
31336 wxString *arg2 = 0 ;
31337 int arg3 ;
31338 PyObject *arg4 = (PyObject *) NULL ;
31339 int result;
e811c8ce 31340 bool temp2 = False ;
d14a1e28
RD
31341 PyObject * obj0 = 0 ;
31342 PyObject * obj1 = 0 ;
994141e6 31343 PyObject * obj2 = 0 ;
d14a1e28
RD
31344 PyObject * obj3 = 0 ;
31345 char *kwnames[] = {
31346 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
31347 };
31348
994141e6 31349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
31350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31351 {
31352 arg2 = wxString_in_helper(obj1);
31353 if (arg2 == NULL) SWIG_fail;
e811c8ce 31354 temp2 = True;
d14a1e28 31355 }
994141e6
RD
31356 {
31357 arg3 = (int) SWIG_PyObj_AsInt(obj2);
31358 if (PyErr_Occurred()) SWIG_fail;
31359 }
d14a1e28
RD
31360 if (obj3) {
31361 arg4 = obj3;
31362 }
31363 {
31364 PyThreadState* __tstate = wxPyBeginAllowThreads();
31365 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
31366
31367 wxPyEndAllowThreads(__tstate);
31368 if (PyErr_Occurred()) SWIG_fail;
31369 }
994141e6 31370 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
31371 {
31372 if (temp2)
31373 delete arg2;
31374 }
31375 return resultobj;
31376 fail:
31377 {
31378 if (temp2)
31379 delete arg2;
31380 }
31381 return NULL;
31382}
31383
31384
31385static PyObject *_wrap_ItemContainer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
31386 PyObject *resultobj;
31387 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
31388 PyObject * obj0 = 0 ;
31389 char *kwnames[] = {
31390 (char *) "self", NULL
31391 };
31392
31393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
31394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31395 {
31396 PyThreadState* __tstate = wxPyBeginAllowThreads();
31397 (arg1)->Clear();
31398
31399 wxPyEndAllowThreads(__tstate);
31400 if (PyErr_Occurred()) SWIG_fail;
31401 }
31402 Py_INCREF(Py_None); resultobj = Py_None;
31403 return resultobj;
31404 fail:
31405 return NULL;
31406}
31407
31408
31409static PyObject *_wrap_ItemContainer_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
31410 PyObject *resultobj;
31411 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
31412 int arg2 ;
31413 PyObject * obj0 = 0 ;
994141e6 31414 PyObject * obj1 = 0 ;
d14a1e28
RD
31415 char *kwnames[] = {
31416 (char *) "self",(char *) "n", NULL
31417 };
31418
994141e6 31419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Delete",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 31420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
31421 {
31422 arg2 = (int) SWIG_PyObj_AsInt(obj1);
31423 if (PyErr_Occurred()) SWIG_fail;
31424 }
d14a1e28
RD
31425 {
31426 PyThreadState* __tstate = wxPyBeginAllowThreads();
31427 (arg1)->Delete(arg2);
31428
31429 wxPyEndAllowThreads(__tstate);
31430 if (PyErr_Occurred()) SWIG_fail;
31431 }
31432 Py_INCREF(Py_None); resultobj = Py_None;
31433 return resultobj;
31434 fail:
31435 return NULL;
31436}
31437
31438
31439static PyObject *_wrap_ItemContainer_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
31440 PyObject *resultobj;
31441 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
31442 int result;
31443 PyObject * obj0 = 0 ;
31444 char *kwnames[] = {
31445 (char *) "self", NULL
31446 };
31447
31448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
31449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31450 {
31451 PyThreadState* __tstate = wxPyBeginAllowThreads();
31452 result = (int)((wxItemContainer const *)arg1)->GetCount();
31453
31454 wxPyEndAllowThreads(__tstate);
31455 if (PyErr_Occurred()) SWIG_fail;
31456 }
994141e6 31457 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
31458 return resultobj;
31459 fail:
31460 return NULL;
31461}
31462
31463
31464static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
31465 PyObject *resultobj;
31466 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
31467 bool result;
31468 PyObject * obj0 = 0 ;
31469 char *kwnames[] = {
31470 (char *) "self", NULL
31471 };
31472
31473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
31474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31475 {
31476 PyThreadState* __tstate = wxPyBeginAllowThreads();
31477 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
31478
31479 wxPyEndAllowThreads(__tstate);
31480 if (PyErr_Occurred()) SWIG_fail;
31481 }
4d5c3d91 31482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
31483 return resultobj;
31484 fail:
31485 return NULL;
31486}
31487
31488
31489static PyObject *_wrap_ItemContainer_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
31490 PyObject *resultobj;
31491 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
31492 int arg2 ;
31493 wxString result;
31494 PyObject * obj0 = 0 ;
994141e6 31495 PyObject * obj1 = 0 ;
d14a1e28
RD
31496 char *kwnames[] = {
31497 (char *) "self",(char *) "n", NULL
31498 };
31499
994141e6 31500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetString",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 31501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
31502 {
31503 arg2 = (int) SWIG_PyObj_AsInt(obj1);
31504 if (PyErr_Occurred()) SWIG_fail;
31505 }
d14a1e28
RD
31506 {
31507 PyThreadState* __tstate = wxPyBeginAllowThreads();
31508 result = ((wxItemContainer const *)arg1)->GetString(arg2);
31509
31510 wxPyEndAllowThreads(__tstate);
31511 if (PyErr_Occurred()) SWIG_fail;
31512 }
31513 {
31514#if wxUSE_UNICODE
31515 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31516#else
31517 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31518#endif
31519 }
31520 return resultobj;
31521 fail:
31522 return NULL;
31523}
31524
31525
31526static PyObject *_wrap_ItemContainer_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
31527 PyObject *resultobj;
31528 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
31529 wxArrayString result;
31530 PyObject * obj0 = 0 ;
31531 char *kwnames[] = {
31532 (char *) "self", NULL
31533 };
31534
31535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
31536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31537 {
31538 PyThreadState* __tstate = wxPyBeginAllowThreads();
31539 result = ((wxItemContainer const *)arg1)->GetStrings();
31540
31541 wxPyEndAllowThreads(__tstate);
31542 if (PyErr_Occurred()) SWIG_fail;
31543 }
31544 {
31545 resultobj = wxArrayString2PyList_helper(result);
31546 }
31547 return resultobj;
31548 fail:
31549 return NULL;
31550}
31551
31552
31553static PyObject *_wrap_ItemContainer_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
31554 PyObject *resultobj;
31555 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
31556 int arg2 ;
31557 wxString *arg3 = 0 ;
e811c8ce 31558 bool temp3 = False ;
d14a1e28 31559 PyObject * obj0 = 0 ;
994141e6 31560 PyObject * obj1 = 0 ;
d14a1e28
RD
31561 PyObject * obj2 = 0 ;
31562 char *kwnames[] = {
31563 (char *) "self",(char *) "n",(char *) "s", NULL
31564 };
31565
994141e6 31566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 31567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
31568 {
31569 arg2 = (int) SWIG_PyObj_AsInt(obj1);
31570 if (PyErr_Occurred()) SWIG_fail;
31571 }
d14a1e28
RD
31572 {
31573 arg3 = wxString_in_helper(obj2);
31574 if (arg3 == NULL) SWIG_fail;
e811c8ce 31575 temp3 = True;
d14a1e28
RD
31576 }
31577 {
31578 PyThreadState* __tstate = wxPyBeginAllowThreads();
31579 (arg1)->SetString(arg2,(wxString const &)*arg3);
31580
31581 wxPyEndAllowThreads(__tstate);
31582 if (PyErr_Occurred()) SWIG_fail;
31583 }
31584 Py_INCREF(Py_None); resultobj = Py_None;
31585 {
31586 if (temp3)
31587 delete arg3;
31588 }
31589 return resultobj;
31590 fail:
31591 {
31592 if (temp3)
31593 delete arg3;
31594 }
31595 return NULL;
31596}
31597
31598
31599static PyObject *_wrap_ItemContainer_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
31600 PyObject *resultobj;
31601 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
31602 wxString *arg2 = 0 ;
31603 int result;
e811c8ce 31604 bool temp2 = False ;
d14a1e28
RD
31605 PyObject * obj0 = 0 ;
31606 PyObject * obj1 = 0 ;
31607 char *kwnames[] = {
31608 (char *) "self",(char *) "s", NULL
31609 };
31610
31611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
31612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31613 {
31614 arg2 = wxString_in_helper(obj1);
31615 if (arg2 == NULL) SWIG_fail;
e811c8ce 31616 temp2 = True;
d14a1e28
RD
31617 }
31618 {
31619 PyThreadState* __tstate = wxPyBeginAllowThreads();
31620 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
31621
31622 wxPyEndAllowThreads(__tstate);
31623 if (PyErr_Occurred()) SWIG_fail;
31624 }
994141e6 31625 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
31626 {
31627 if (temp2)
31628 delete arg2;
31629 }
31630 return resultobj;
31631 fail:
31632 {
31633 if (temp2)
31634 delete arg2;
31635 }
31636 return NULL;
31637}
31638
31639
31640static PyObject *_wrap_ItemContainer_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
31641 PyObject *resultobj;
31642 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
31643 int arg2 ;
31644 PyObject * obj0 = 0 ;
994141e6 31645 PyObject * obj1 = 0 ;
d14a1e28
RD
31646 char *kwnames[] = {
31647 (char *) "self",(char *) "n", NULL
31648 };
31649
994141e6 31650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Select",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 31651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
31652 {
31653 arg2 = (int) SWIG_PyObj_AsInt(obj1);
31654 if (PyErr_Occurred()) SWIG_fail;
31655 }
d14a1e28
RD
31656 {
31657 PyThreadState* __tstate = wxPyBeginAllowThreads();
31658 (arg1)->Select(arg2);
31659
31660 wxPyEndAllowThreads(__tstate);
31661 if (PyErr_Occurred()) SWIG_fail;
31662 }
31663 Py_INCREF(Py_None); resultobj = Py_None;
31664 return resultobj;
31665 fail:
31666 return NULL;
31667}
31668
31669
31670static PyObject *_wrap_ItemContainer_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
31671 PyObject *resultobj;
31672 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
31673 int result;
31674 PyObject * obj0 = 0 ;
31675 char *kwnames[] = {
31676 (char *) "self", NULL
31677 };
31678
31679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
31680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31681 {
31682 PyThreadState* __tstate = wxPyBeginAllowThreads();
31683 result = (int)((wxItemContainer const *)arg1)->GetSelection();
31684
31685 wxPyEndAllowThreads(__tstate);
31686 if (PyErr_Occurred()) SWIG_fail;
31687 }
994141e6 31688 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
31689 return resultobj;
31690 fail:
31691 return NULL;
31692}
31693
31694
31695static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
31696 PyObject *resultobj;
31697 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
31698 wxString result;
31699 PyObject * obj0 = 0 ;
31700 char *kwnames[] = {
31701 (char *) "self", NULL
31702 };
31703
31704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
31705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31706 {
31707 PyThreadState* __tstate = wxPyBeginAllowThreads();
31708 result = ((wxItemContainer const *)arg1)->GetStringSelection();
31709
31710 wxPyEndAllowThreads(__tstate);
31711 if (PyErr_Occurred()) SWIG_fail;
31712 }
31713 {
31714#if wxUSE_UNICODE
31715 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31716#else
31717 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31718#endif
31719 }
31720 return resultobj;
31721 fail:
31722 return NULL;
31723}
31724
31725
31726static PyObject *_wrap_ItemContainer_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
31727 PyObject *resultobj;
31728 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
31729 int arg2 ;
31730 PyObject *result;
31731 PyObject * obj0 = 0 ;
994141e6 31732 PyObject * obj1 = 0 ;
d14a1e28
RD
31733 char *kwnames[] = {
31734 (char *) "self",(char *) "n", NULL
31735 };
31736
994141e6 31737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetClientData",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 31738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
31739 {
31740 arg2 = (int) SWIG_PyObj_AsInt(obj1);
31741 if (PyErr_Occurred()) SWIG_fail;
31742 }
d14a1e28
RD
31743 {
31744 PyThreadState* __tstate = wxPyBeginAllowThreads();
31745 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
31746
31747 wxPyEndAllowThreads(__tstate);
31748 if (PyErr_Occurred()) SWIG_fail;
31749 }
31750 resultobj = result;
31751 return resultobj;
31752 fail:
31753 return NULL;
31754}
31755
31756
31757static PyObject *_wrap_ItemContainer_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
31758 PyObject *resultobj;
31759 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
31760 int arg2 ;
31761 PyObject *arg3 = (PyObject *) 0 ;
31762 PyObject * obj0 = 0 ;
994141e6 31763 PyObject * obj1 = 0 ;
d14a1e28
RD
31764 PyObject * obj2 = 0 ;
31765 char *kwnames[] = {
31766 (char *) "self",(char *) "n",(char *) "clientData", NULL
31767 };
31768
994141e6 31769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 31770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
31771 {
31772 arg2 = (int) SWIG_PyObj_AsInt(obj1);
31773 if (PyErr_Occurred()) SWIG_fail;
31774 }
d14a1e28
RD
31775 arg3 = obj2;
31776 {
31777 PyThreadState* __tstate = wxPyBeginAllowThreads();
31778 wxItemContainer_SetClientData(arg1,arg2,arg3);
31779
31780 wxPyEndAllowThreads(__tstate);
31781 if (PyErr_Occurred()) SWIG_fail;
31782 }
31783 Py_INCREF(Py_None); resultobj = Py_None;
31784 return resultobj;
31785 fail:
31786 return NULL;
31787}
31788
31789
31790static PyObject * ItemContainer_swigregister(PyObject *self, PyObject *args) {
31791 PyObject *obj;
31792 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31793 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
31794 Py_INCREF(obj);
31795 return Py_BuildValue((char *)"");
31796}
31797static PyObject * ControlWithItems_swigregister(PyObject *self, PyObject *args) {
31798 PyObject *obj;
31799 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31800 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
31801 Py_INCREF(obj);
31802 return Py_BuildValue((char *)"");
31803}
31804static PyObject *_wrap_new_SizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
31805 PyObject *resultobj;
31806 wxSizerItem *result;
31807 char *kwnames[] = {
31808 NULL
31809 };
31810
31811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
31812 {
31813 PyThreadState* __tstate = wxPyBeginAllowThreads();
31814 result = (wxSizerItem *)new wxSizerItem();
31815
31816 wxPyEndAllowThreads(__tstate);
31817 if (PyErr_Occurred()) SWIG_fail;
31818 }
31819 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
31820 return resultobj;
31821 fail:
31822 return NULL;
31823}
31824
31825
31826static PyObject *_wrap_new_SizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
31827 PyObject *resultobj;
31828 int arg1 ;
31829 int arg2 ;
31830 int arg3 ;
31831 int arg4 ;
31832 int arg5 ;
31833 wxObject *arg6 = (wxObject *) 0 ;
31834 wxSizerItem *result;
994141e6
RD
31835 PyObject * obj0 = 0 ;
31836 PyObject * obj1 = 0 ;
31837 PyObject * obj2 = 0 ;
31838 PyObject * obj3 = 0 ;
31839 PyObject * obj4 = 0 ;
d14a1e28
RD
31840 PyObject * obj5 = 0 ;
31841 char *kwnames[] = {
31842 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
31843 };
31844
994141e6
RD
31845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_SizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31846 {
31847 arg1 = (int) SWIG_PyObj_AsInt(obj0);
31848 if (PyErr_Occurred()) SWIG_fail;
31849 }
31850 {
31851 arg2 = (int) SWIG_PyObj_AsInt(obj1);
31852 if (PyErr_Occurred()) SWIG_fail;
31853 }
31854 {
31855 arg3 = (int) SWIG_PyObj_AsInt(obj2);
31856 if (PyErr_Occurred()) SWIG_fail;
31857 }
31858 {
31859 arg4 = (int) SWIG_PyObj_AsInt(obj3);
31860 if (PyErr_Occurred()) SWIG_fail;
31861 }
31862 {
31863 arg5 = (int) SWIG_PyObj_AsInt(obj4);
31864 if (PyErr_Occurred()) SWIG_fail;
31865 }
d14a1e28
RD
31866 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31867 {
31868 PyThreadState* __tstate = wxPyBeginAllowThreads();
31869 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
31870
31871 wxPyEndAllowThreads(__tstate);
31872 if (PyErr_Occurred()) SWIG_fail;
31873 }
31874 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
31875 return resultobj;
31876 fail:
31877 return NULL;
31878}
31879
31880
31881static PyObject *_wrap_new_SizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
31882 PyObject *resultobj;
31883 wxWindow *arg1 = (wxWindow *) 0 ;
31884 int arg2 ;
31885 int arg3 ;
31886 int arg4 ;
31887 wxObject *arg5 = (wxObject *) 0 ;
31888 wxSizerItem *result;
31889 PyObject * obj0 = 0 ;
994141e6
RD
31890 PyObject * obj1 = 0 ;
31891 PyObject * obj2 = 0 ;
31892 PyObject * obj3 = 0 ;
d14a1e28
RD
31893 PyObject * obj4 = 0 ;
31894 char *kwnames[] = {
31895 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
31896 };
31897
994141e6 31898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_SizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28 31899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
31900 {
31901 arg2 = (int) SWIG_PyObj_AsInt(obj1);
31902 if (PyErr_Occurred()) SWIG_fail;
31903 }
31904 {
31905 arg3 = (int) SWIG_PyObj_AsInt(obj2);
31906 if (PyErr_Occurred()) SWIG_fail;
31907 }
31908 {
31909 arg4 = (int) SWIG_PyObj_AsInt(obj3);
31910 if (PyErr_Occurred()) SWIG_fail;
31911 }
d14a1e28
RD
31912 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31913 {
31914 PyThreadState* __tstate = wxPyBeginAllowThreads();
31915 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
31916
31917 wxPyEndAllowThreads(__tstate);
31918 if (PyErr_Occurred()) SWIG_fail;
31919 }
31920 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
31921 return resultobj;
31922 fail:
31923 return NULL;
31924}
31925
31926
31927static PyObject *_wrap_new_SizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31928 PyObject *resultobj;
31929 wxSizer *arg1 = (wxSizer *) 0 ;
31930 int arg2 ;
31931 int arg3 ;
31932 int arg4 ;
31933 wxObject *arg5 = (wxObject *) 0 ;
31934 wxSizerItem *result;
31935 PyObject * obj0 = 0 ;
994141e6
RD
31936 PyObject * obj1 = 0 ;
31937 PyObject * obj2 = 0 ;
31938 PyObject * obj3 = 0 ;
d14a1e28
RD
31939 PyObject * obj4 = 0 ;
31940 char *kwnames[] = {
31941 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
31942 };
31943
994141e6 31944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_SizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28 31945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
31946 {
31947 arg2 = (int) SWIG_PyObj_AsInt(obj1);
31948 if (PyErr_Occurred()) SWIG_fail;
31949 }
31950 {
31951 arg3 = (int) SWIG_PyObj_AsInt(obj2);
31952 if (PyErr_Occurred()) SWIG_fail;
31953 }
31954 {
31955 arg4 = (int) SWIG_PyObj_AsInt(obj3);
31956 if (PyErr_Occurred()) SWIG_fail;
31957 }
d14a1e28
RD
31958 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31959 {
31960 PyThreadState* __tstate = wxPyBeginAllowThreads();
31961 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
31962
31963 wxPyEndAllowThreads(__tstate);
31964 if (PyErr_Occurred()) SWIG_fail;
31965 }
31966 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
31967 return resultobj;
31968 fail:
31969 return NULL;
31970}
31971
31972
31973static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
31974 PyObject *resultobj;
31975 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
31976 PyObject * obj0 = 0 ;
31977 char *kwnames[] = {
31978 (char *) "self", NULL
31979 };
31980
31981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
31982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31983 {
31984 PyThreadState* __tstate = wxPyBeginAllowThreads();
31985 (arg1)->DeleteWindows();
31986
31987 wxPyEndAllowThreads(__tstate);
31988 if (PyErr_Occurred()) SWIG_fail;
31989 }
31990 Py_INCREF(Py_None); resultobj = Py_None;
31991 return resultobj;
31992 fail:
31993 return NULL;
31994}
31995
31996
31997static PyObject *_wrap_SizerItem_DetachSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31998 PyObject *resultobj;
31999 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32000 PyObject * obj0 = 0 ;
32001 char *kwnames[] = {
32002 (char *) "self", NULL
32003 };
32004
32005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
32006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32007 {
32008 PyThreadState* __tstate = wxPyBeginAllowThreads();
32009 (arg1)->DetachSizer();
32010
32011 wxPyEndAllowThreads(__tstate);
32012 if (PyErr_Occurred()) SWIG_fail;
32013 }
32014 Py_INCREF(Py_None); resultobj = Py_None;
32015 return resultobj;
32016 fail:
32017 return NULL;
32018}
32019
32020
32021static PyObject *_wrap_SizerItem_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
32022 PyObject *resultobj;
32023 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32024 wxSize result;
32025 PyObject * obj0 = 0 ;
32026 char *kwnames[] = {
32027 (char *) "self", NULL
32028 };
32029
32030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
32031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32032 {
32033 PyThreadState* __tstate = wxPyBeginAllowThreads();
32034 result = (arg1)->GetSize();
32035
32036 wxPyEndAllowThreads(__tstate);
32037 if (PyErr_Occurred()) SWIG_fail;
32038 }
32039 {
32040 wxSize * resultptr;
32041 resultptr = new wxSize((wxSize &) result);
32042 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
32043 }
32044 return resultobj;
32045 fail:
32046 return NULL;
32047}
32048
32049
32050static PyObject *_wrap_SizerItem_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
32051 PyObject *resultobj;
32052 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32053 wxSize result;
32054 PyObject * obj0 = 0 ;
32055 char *kwnames[] = {
32056 (char *) "self", NULL
32057 };
32058
32059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
32060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32061 {
32062 PyThreadState* __tstate = wxPyBeginAllowThreads();
32063 result = (arg1)->CalcMin();
32064
32065 wxPyEndAllowThreads(__tstate);
32066 if (PyErr_Occurred()) SWIG_fail;
32067 }
32068 {
32069 wxSize * resultptr;
32070 resultptr = new wxSize((wxSize &) result);
32071 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
32072 }
32073 return resultobj;
32074 fail:
32075 return NULL;
32076}
32077
32078
32079static PyObject *_wrap_SizerItem_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
32080 PyObject *resultobj;
32081 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32082 wxPoint arg2 ;
32083 wxSize arg3 ;
32084 wxPoint *argp2 ;
32085 wxSize *argp3 ;
32086 PyObject * obj0 = 0 ;
32087 PyObject * obj1 = 0 ;
32088 PyObject * obj2 = 0 ;
32089 char *kwnames[] = {
32090 (char *) "self",(char *) "pos",(char *) "size", NULL
32091 };
32092
32093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
32094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32095 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
32096 arg2 = *argp2;
32097 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
32098 arg3 = *argp3;
32099 {
32100 PyThreadState* __tstate = wxPyBeginAllowThreads();
32101 (arg1)->SetDimension(arg2,arg3);
32102
32103 wxPyEndAllowThreads(__tstate);
32104 if (PyErr_Occurred()) SWIG_fail;
32105 }
32106 Py_INCREF(Py_None); resultobj = Py_None;
32107 return resultobj;
32108 fail:
32109 return NULL;
32110}
32111
32112
32113static PyObject *_wrap_SizerItem_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
32114 PyObject *resultobj;
32115 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32116 wxSize result;
32117 PyObject * obj0 = 0 ;
32118 char *kwnames[] = {
32119 (char *) "self", NULL
32120 };
32121
32122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail;
32123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32124 {
32125 PyThreadState* __tstate = wxPyBeginAllowThreads();
32126 result = (arg1)->GetMinSize();
32127
32128 wxPyEndAllowThreads(__tstate);
32129 if (PyErr_Occurred()) SWIG_fail;
32130 }
32131 {
32132 wxSize * resultptr;
32133 resultptr = new wxSize((wxSize &) result);
32134 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
32135 }
32136 return resultobj;
32137 fail:
32138 return NULL;
32139}
32140
32141
32142static PyObject *_wrap_SizerItem_SetInitSize(PyObject *self, PyObject *args, PyObject *kwargs) {
32143 PyObject *resultobj;
32144 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32145 int arg2 ;
32146 int arg3 ;
32147 PyObject * obj0 = 0 ;
994141e6
RD
32148 PyObject * obj1 = 0 ;
32149 PyObject * obj2 = 0 ;
d14a1e28
RD
32150 char *kwnames[] = {
32151 (char *) "self",(char *) "x",(char *) "y", NULL
32152 };
32153
994141e6 32154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetInitSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 32155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
32156 {
32157 arg2 = (int) SWIG_PyObj_AsInt(obj1);
32158 if (PyErr_Occurred()) SWIG_fail;
32159 }
32160 {
32161 arg3 = (int) SWIG_PyObj_AsInt(obj2);
32162 if (PyErr_Occurred()) SWIG_fail;
32163 }
d14a1e28
RD
32164 {
32165 PyThreadState* __tstate = wxPyBeginAllowThreads();
32166 (arg1)->SetInitSize(arg2,arg3);
32167
32168 wxPyEndAllowThreads(__tstate);
32169 if (PyErr_Occurred()) SWIG_fail;
32170 }
32171 Py_INCREF(Py_None); resultobj = Py_None;
32172 return resultobj;
32173 fail:
32174 return NULL;
32175}
32176
32177
32178static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *self, PyObject *args, PyObject *kwargs) {
32179 PyObject *resultobj;
32180 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32181 int arg2 ;
32182 int arg3 ;
32183 PyObject * obj0 = 0 ;
994141e6
RD
32184 PyObject * obj1 = 0 ;
32185 PyObject * obj2 = 0 ;
d14a1e28
RD
32186 char *kwnames[] = {
32187 (char *) "self",(char *) "width",(char *) "height", NULL
32188 };
32189
994141e6 32190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetRatioWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 32191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
32192 {
32193 arg2 = (int) SWIG_PyObj_AsInt(obj1);
32194 if (PyErr_Occurred()) SWIG_fail;
32195 }
32196 {
32197 arg3 = (int) SWIG_PyObj_AsInt(obj2);
32198 if (PyErr_Occurred()) SWIG_fail;
32199 }
d14a1e28
RD
32200 {
32201 PyThreadState* __tstate = wxPyBeginAllowThreads();
32202 (arg1)->SetRatio(arg2,arg3);
32203
32204 wxPyEndAllowThreads(__tstate);
32205 if (PyErr_Occurred()) SWIG_fail;
32206 }
32207 Py_INCREF(Py_None); resultobj = Py_None;
32208 return resultobj;
32209 fail:
32210 return NULL;
32211}
32212
32213
32214static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *self, PyObject *args, PyObject *kwargs) {
32215 PyObject *resultobj;
32216 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32217 wxSize arg2 ;
32218 wxSize *argp2 ;
32219 PyObject * obj0 = 0 ;
32220 PyObject * obj1 = 0 ;
32221 char *kwnames[] = {
32222 (char *) "self",(char *) "size", NULL
32223 };
32224
32225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
32226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32227 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
32228 arg2 = *argp2;
32229 {
32230 PyThreadState* __tstate = wxPyBeginAllowThreads();
32231 (arg1)->SetRatio(arg2);
32232
32233 wxPyEndAllowThreads(__tstate);
32234 if (PyErr_Occurred()) SWIG_fail;
32235 }
32236 Py_INCREF(Py_None); resultobj = Py_None;
32237 return resultobj;
32238 fail:
32239 return NULL;
32240}
32241
32242
32243static PyObject *_wrap_SizerItem_SetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
32244 PyObject *resultobj;
32245 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32246 float arg2 ;
32247 PyObject * obj0 = 0 ;
994141e6 32248 PyObject * obj1 = 0 ;
d14a1e28
RD
32249 char *kwnames[] = {
32250 (char *) "self",(char *) "ratio", NULL
32251 };
32252
994141e6 32253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatio",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 32254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
32255 {
32256 arg2 = (float) SWIG_PyObj_AsFloat(obj1);
32257 if (PyErr_Occurred()) SWIG_fail;
32258 }
d14a1e28
RD
32259 {
32260 PyThreadState* __tstate = wxPyBeginAllowThreads();
32261 (arg1)->SetRatio(arg2);
32262
32263 wxPyEndAllowThreads(__tstate);
32264 if (PyErr_Occurred()) SWIG_fail;
32265 }
32266 Py_INCREF(Py_None); resultobj = Py_None;
32267 return resultobj;
32268 fail:
32269 return NULL;
32270}
32271
32272
32273static PyObject *_wrap_SizerItem_GetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
32274 PyObject *resultobj;
32275 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32276 float result;
32277 PyObject * obj0 = 0 ;
32278 char *kwnames[] = {
32279 (char *) "self", NULL
32280 };
32281
32282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
32283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32284 {
32285 PyThreadState* __tstate = wxPyBeginAllowThreads();
32286 result = (float)(arg1)->GetRatio();
32287
32288 wxPyEndAllowThreads(__tstate);
32289 if (PyErr_Occurred()) SWIG_fail;
32290 }
994141e6 32291 resultobj = SWIG_PyObj_FromFloat((float)result);
d14a1e28
RD
32292 return resultobj;
32293 fail:
32294 return NULL;
32295}
32296
32297
32298static PyObject *_wrap_SizerItem_IsWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
32299 PyObject *resultobj;
32300 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32301 bool result;
32302 PyObject * obj0 = 0 ;
32303 char *kwnames[] = {
32304 (char *) "self", NULL
32305 };
32306
32307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
32308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32309 {
32310 PyThreadState* __tstate = wxPyBeginAllowThreads();
32311 result = (bool)(arg1)->IsWindow();
32312
32313 wxPyEndAllowThreads(__tstate);
32314 if (PyErr_Occurred()) SWIG_fail;
32315 }
4d5c3d91 32316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
32317 return resultobj;
32318 fail:
32319 return NULL;
32320}
32321
32322
32323static PyObject *_wrap_SizerItem_IsSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32324 PyObject *resultobj;
32325 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32326 bool result;
32327 PyObject * obj0 = 0 ;
32328 char *kwnames[] = {
32329 (char *) "self", NULL
32330 };
32331
32332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
32333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32334 {
32335 PyThreadState* __tstate = wxPyBeginAllowThreads();
32336 result = (bool)(arg1)->IsSizer();
32337
32338 wxPyEndAllowThreads(__tstate);
32339 if (PyErr_Occurred()) SWIG_fail;
32340 }
4d5c3d91 32341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
32342 return resultobj;
32343 fail:
32344 return NULL;
32345}
32346
32347
32348static PyObject *_wrap_SizerItem_IsSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
32349 PyObject *resultobj;
32350 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32351 bool result;
32352 PyObject * obj0 = 0 ;
32353 char *kwnames[] = {
32354 (char *) "self", NULL
32355 };
32356
32357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
32358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32359 {
32360 PyThreadState* __tstate = wxPyBeginAllowThreads();
32361 result = (bool)(arg1)->IsSpacer();
32362
32363 wxPyEndAllowThreads(__tstate);
32364 if (PyErr_Occurred()) SWIG_fail;
32365 }
4d5c3d91 32366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
32367 return resultobj;
32368 fail:
32369 return NULL;
32370}
32371
32372
32373static PyObject *_wrap_SizerItem_SetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
32374 PyObject *resultobj;
32375 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32376 int arg2 ;
32377 PyObject * obj0 = 0 ;
994141e6 32378 PyObject * obj1 = 0 ;
d14a1e28
RD
32379 char *kwnames[] = {
32380 (char *) "self",(char *) "proportion", NULL
32381 };
32382
994141e6 32383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetProportion",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 32384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
32385 {
32386 arg2 = (int) SWIG_PyObj_AsInt(obj1);
32387 if (PyErr_Occurred()) SWIG_fail;
32388 }
d14a1e28
RD
32389 {
32390 PyThreadState* __tstate = wxPyBeginAllowThreads();
32391 (arg1)->SetProportion(arg2);
32392
32393 wxPyEndAllowThreads(__tstate);
32394 if (PyErr_Occurred()) SWIG_fail;
32395 }
32396 Py_INCREF(Py_None); resultobj = Py_None;
32397 return resultobj;
32398 fail:
32399 return NULL;
32400}
32401
32402
32403static PyObject *_wrap_SizerItem_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
32404 PyObject *resultobj;
32405 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32406 int result;
32407 PyObject * obj0 = 0 ;
32408 char *kwnames[] = {
32409 (char *) "self", NULL
32410 };
32411
32412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
32413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32414 {
32415 PyThreadState* __tstate = wxPyBeginAllowThreads();
32416 result = (int)(arg1)->GetProportion();
32417
32418 wxPyEndAllowThreads(__tstate);
32419 if (PyErr_Occurred()) SWIG_fail;
32420 }
994141e6 32421 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
32422 return resultobj;
32423 fail:
32424 return NULL;
32425}
32426
32427
32428static PyObject *_wrap_SizerItem_SetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
32429 PyObject *resultobj;
32430 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32431 int arg2 ;
32432 PyObject * obj0 = 0 ;
994141e6 32433 PyObject * obj1 = 0 ;
d14a1e28
RD
32434 char *kwnames[] = {
32435 (char *) "self",(char *) "flag", NULL
32436 };
32437
994141e6 32438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetFlag",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 32439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
32440 {
32441 arg2 = (int) SWIG_PyObj_AsInt(obj1);
32442 if (PyErr_Occurred()) SWIG_fail;
32443 }
d14a1e28
RD
32444 {
32445 PyThreadState* __tstate = wxPyBeginAllowThreads();
32446 (arg1)->SetFlag(arg2);
32447
32448 wxPyEndAllowThreads(__tstate);
32449 if (PyErr_Occurred()) SWIG_fail;
32450 }
32451 Py_INCREF(Py_None); resultobj = Py_None;
32452 return resultobj;
32453 fail:
32454 return NULL;
32455}
32456
32457
32458static PyObject *_wrap_SizerItem_GetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
32459 PyObject *resultobj;
32460 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32461 int result;
32462 PyObject * obj0 = 0 ;
32463 char *kwnames[] = {
32464 (char *) "self", NULL
32465 };
32466
32467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
32468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32469 {
32470 PyThreadState* __tstate = wxPyBeginAllowThreads();
32471 result = (int)(arg1)->GetFlag();
32472
32473 wxPyEndAllowThreads(__tstate);
32474 if (PyErr_Occurred()) SWIG_fail;
32475 }
994141e6 32476 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
32477 return resultobj;
32478 fail:
32479 return NULL;
32480}
32481
32482
32483static PyObject *_wrap_SizerItem_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
32484 PyObject *resultobj;
32485 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32486 int arg2 ;
32487 PyObject * obj0 = 0 ;
994141e6 32488 PyObject * obj1 = 0 ;
d14a1e28
RD
32489 char *kwnames[] = {
32490 (char *) "self",(char *) "border", NULL
32491 };
32492
994141e6 32493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetBorder",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 32494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
32495 {
32496 arg2 = (int) SWIG_PyObj_AsInt(obj1);
32497 if (PyErr_Occurred()) SWIG_fail;
32498 }
d14a1e28
RD
32499 {
32500 PyThreadState* __tstate = wxPyBeginAllowThreads();
32501 (arg1)->SetBorder(arg2);
32502
32503 wxPyEndAllowThreads(__tstate);
32504 if (PyErr_Occurred()) SWIG_fail;
32505 }
32506 Py_INCREF(Py_None); resultobj = Py_None;
32507 return resultobj;
32508 fail:
32509 return NULL;
32510}
32511
32512
32513static PyObject *_wrap_SizerItem_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
32514 PyObject *resultobj;
32515 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32516 int result;
32517 PyObject * obj0 = 0 ;
32518 char *kwnames[] = {
32519 (char *) "self", NULL
32520 };
32521
32522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
32523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32524 {
32525 PyThreadState* __tstate = wxPyBeginAllowThreads();
32526 result = (int)(arg1)->GetBorder();
32527
32528 wxPyEndAllowThreads(__tstate);
32529 if (PyErr_Occurred()) SWIG_fail;
32530 }
994141e6 32531 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
32532 return resultobj;
32533 fail:
32534 return NULL;
32535}
32536
32537
32538static PyObject *_wrap_SizerItem_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
32539 PyObject *resultobj;
32540 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32541 wxWindow *result;
32542 PyObject * obj0 = 0 ;
32543 char *kwnames[] = {
32544 (char *) "self", NULL
32545 };
32546
32547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
32548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32549 {
32550 PyThreadState* __tstate = wxPyBeginAllowThreads();
32551 result = (wxWindow *)(arg1)->GetWindow();
32552
32553 wxPyEndAllowThreads(__tstate);
32554 if (PyErr_Occurred()) SWIG_fail;
32555 }
32556 {
32557 resultobj = wxPyMake_wxObject(result);
32558 }
32559 return resultobj;
32560 fail:
32561 return NULL;
32562}
32563
32564
32565static PyObject *_wrap_SizerItem_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
32566 PyObject *resultobj;
32567 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32568 wxWindow *arg2 = (wxWindow *) 0 ;
32569 PyObject * obj0 = 0 ;
32570 PyObject * obj1 = 0 ;
32571 char *kwnames[] = {
32572 (char *) "self",(char *) "window", NULL
32573 };
32574
32575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
32576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32577 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32578 {
32579 PyThreadState* __tstate = wxPyBeginAllowThreads();
32580 (arg1)->SetWindow(arg2);
32581
32582 wxPyEndAllowThreads(__tstate);
32583 if (PyErr_Occurred()) SWIG_fail;
32584 }
32585 Py_INCREF(Py_None); resultobj = Py_None;
32586 return resultobj;
32587 fail:
32588 return NULL;
32589}
32590
32591
32592static PyObject *_wrap_SizerItem_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32593 PyObject *resultobj;
32594 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32595 wxSizer *result;
32596 PyObject * obj0 = 0 ;
32597 char *kwnames[] = {
32598 (char *) "self", NULL
32599 };
32600
32601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
32602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32603 {
32604 PyThreadState* __tstate = wxPyBeginAllowThreads();
32605 result = (wxSizer *)(arg1)->GetSizer();
32606
32607 wxPyEndAllowThreads(__tstate);
32608 if (PyErr_Occurred()) SWIG_fail;
32609 }
32610 {
32611 resultobj = wxPyMake_wxSizer(result);
32612 }
32613 return resultobj;
32614 fail:
32615 return NULL;
32616}
32617
32618
32619static PyObject *_wrap_SizerItem_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32620 PyObject *resultobj;
32621 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32622 wxSizer *arg2 = (wxSizer *) 0 ;
32623 PyObject * obj0 = 0 ;
32624 PyObject * obj1 = 0 ;
32625 char *kwnames[] = {
32626 (char *) "self",(char *) "sizer", NULL
32627 };
32628
32629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
32630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32631 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32632 {
32633 PyThreadState* __tstate = wxPyBeginAllowThreads();
32634 (arg1)->SetSizer(arg2);
32635
32636 wxPyEndAllowThreads(__tstate);
32637 if (PyErr_Occurred()) SWIG_fail;
32638 }
32639 Py_INCREF(Py_None); resultobj = Py_None;
32640 return resultobj;
32641 fail:
32642 return NULL;
32643}
32644
32645
32646static PyObject *_wrap_SizerItem_GetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
32647 PyObject *resultobj;
32648 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32649 wxSize *result;
32650 PyObject * obj0 = 0 ;
32651 char *kwnames[] = {
32652 (char *) "self", NULL
32653 };
32654
32655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
32656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32657 {
32658 PyThreadState* __tstate = wxPyBeginAllowThreads();
32659 {
32660 wxSize const &_result_ref = (arg1)->GetSpacer();
32661 result = (wxSize *) &_result_ref;
32662 }
32663
32664 wxPyEndAllowThreads(__tstate);
32665 if (PyErr_Occurred()) SWIG_fail;
32666 }
32667 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
32668 return resultobj;
32669 fail:
32670 return NULL;
32671}
32672
32673
32674static PyObject *_wrap_SizerItem_SetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
32675 PyObject *resultobj;
32676 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32677 wxSize *arg2 = 0 ;
32678 wxSize temp2 ;
32679 PyObject * obj0 = 0 ;
32680 PyObject * obj1 = 0 ;
32681 char *kwnames[] = {
32682 (char *) "self",(char *) "size", NULL
32683 };
32684
32685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
32686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32687 {
32688 arg2 = &temp2;
32689 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
32690 }
32691 {
32692 PyThreadState* __tstate = wxPyBeginAllowThreads();
32693 (arg1)->SetSpacer((wxSize const &)*arg2);
32694
32695 wxPyEndAllowThreads(__tstate);
32696 if (PyErr_Occurred()) SWIG_fail;
32697 }
32698 Py_INCREF(Py_None); resultobj = Py_None;
32699 return resultobj;
32700 fail:
32701 return NULL;
32702}
32703
32704
32705static PyObject *_wrap_SizerItem_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
32706 PyObject *resultobj;
32707 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32708 bool arg2 ;
32709 PyObject * obj0 = 0 ;
32710 PyObject * obj1 = 0 ;
32711 char *kwnames[] = {
32712 (char *) "self",(char *) "show", NULL
32713 };
32714
32715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
32716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 32717 {
994141e6 32718 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
32719 if (PyErr_Occurred()) SWIG_fail;
32720 }
d14a1e28
RD
32721 {
32722 PyThreadState* __tstate = wxPyBeginAllowThreads();
32723 (arg1)->Show(arg2);
32724
32725 wxPyEndAllowThreads(__tstate);
32726 if (PyErr_Occurred()) SWIG_fail;
32727 }
32728 Py_INCREF(Py_None); resultobj = Py_None;
32729 return resultobj;
32730 fail:
32731 return NULL;
32732}
32733
32734
32735static PyObject *_wrap_SizerItem_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
32736 PyObject *resultobj;
32737 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32738 bool result;
32739 PyObject * obj0 = 0 ;
32740 char *kwnames[] = {
32741 (char *) "self", NULL
32742 };
32743
32744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
32745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32746 {
32747 PyThreadState* __tstate = wxPyBeginAllowThreads();
32748 result = (bool)(arg1)->IsShown();
32749
32750 wxPyEndAllowThreads(__tstate);
32751 if (PyErr_Occurred()) SWIG_fail;
32752 }
4d5c3d91 32753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
32754 return resultobj;
32755 fail:
32756 return NULL;
32757}
32758
32759
32760static PyObject *_wrap_SizerItem_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
32761 PyObject *resultobj;
32762 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32763 wxPoint result;
32764 PyObject * obj0 = 0 ;
32765 char *kwnames[] = {
32766 (char *) "self", NULL
32767 };
32768
32769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
32770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32771 {
32772 PyThreadState* __tstate = wxPyBeginAllowThreads();
32773 result = (arg1)->GetPosition();
32774
32775 wxPyEndAllowThreads(__tstate);
32776 if (PyErr_Occurred()) SWIG_fail;
32777 }
32778 {
32779 wxPoint * resultptr;
32780 resultptr = new wxPoint((wxPoint &) result);
32781 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
32782 }
32783 return resultobj;
32784 fail:
32785 return NULL;
32786}
32787
32788
32789static PyObject *_wrap_SizerItem_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
32790 PyObject *resultobj;
32791 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32792 PyObject *result;
32793 PyObject * obj0 = 0 ;
32794 char *kwnames[] = {
32795 (char *) "self", NULL
32796 };
32797
32798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
32799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32800 {
32801 PyThreadState* __tstate = wxPyBeginAllowThreads();
32802 result = (PyObject *)wxSizerItem_GetUserData(arg1);
32803
32804 wxPyEndAllowThreads(__tstate);
32805 if (PyErr_Occurred()) SWIG_fail;
32806 }
32807 resultobj = result;
32808 return resultobj;
32809 fail:
32810 return NULL;
32811}
32812
32813
32814static PyObject * SizerItem_swigregister(PyObject *self, PyObject *args) {
32815 PyObject *obj;
32816 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32817 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
32818 Py_INCREF(obj);
32819 return Py_BuildValue((char *)"");
32820}
32821static PyObject *_wrap_Sizer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
32822 PyObject *resultobj;
32823 wxSizer *arg1 = (wxSizer *) 0 ;
32824 PyObject *arg2 = (PyObject *) 0 ;
32825 PyObject * obj0 = 0 ;
32826 PyObject * obj1 = 0 ;
32827 char *kwnames[] = {
32828 (char *) "self",(char *) "_self", NULL
32829 };
32830
32831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
32832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32833 arg2 = obj1;
32834 {
32835 PyThreadState* __tstate = wxPyBeginAllowThreads();
32836 wxSizer__setOORInfo(arg1,arg2);
32837
32838 wxPyEndAllowThreads(__tstate);
32839 if (PyErr_Occurred()) SWIG_fail;
32840 }
32841 Py_INCREF(Py_None); resultobj = Py_None;
32842 return resultobj;
32843 fail:
32844 return NULL;
32845}
32846
32847
32848static PyObject *_wrap_Sizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
32849 PyObject *resultobj;
32850 wxSizer *arg1 = (wxSizer *) 0 ;
32851 PyObject *arg2 = (PyObject *) 0 ;
32852 int arg3 = (int) 0 ;
32853 int arg4 = (int) 0 ;
32854 int arg5 = (int) 0 ;
32855 PyObject *arg6 = (PyObject *) NULL ;
32856 PyObject * obj0 = 0 ;
32857 PyObject * obj1 = 0 ;
994141e6
RD
32858 PyObject * obj2 = 0 ;
32859 PyObject * obj3 = 0 ;
32860 PyObject * obj4 = 0 ;
d14a1e28
RD
32861 PyObject * obj5 = 0 ;
32862 char *kwnames[] = {
32863 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32864 };
32865
994141e6 32866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28
RD
32867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32868 arg2 = obj1;
994141e6
RD
32869 if (obj2) {
32870 {
32871 arg3 = (int) SWIG_PyObj_AsInt(obj2);
32872 if (PyErr_Occurred()) SWIG_fail;
32873 }
32874 }
32875 if (obj3) {
32876 {
32877 arg4 = (int) SWIG_PyObj_AsInt(obj3);
32878 if (PyErr_Occurred()) SWIG_fail;
32879 }
32880 }
32881 if (obj4) {
32882 {
32883 arg5 = (int) SWIG_PyObj_AsInt(obj4);
32884 if (PyErr_Occurred()) SWIG_fail;
32885 }
32886 }
d14a1e28
RD
32887 if (obj5) {
32888 arg6 = obj5;
32889 }
32890 {
32891 PyThreadState* __tstate = wxPyBeginAllowThreads();
32892 wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
32893
32894 wxPyEndAllowThreads(__tstate);
32895 if (PyErr_Occurred()) SWIG_fail;
32896 }
32897 Py_INCREF(Py_None); resultobj = Py_None;
32898 return resultobj;
32899 fail:
32900 return NULL;
32901}
32902
32903
32904static PyObject *_wrap_Sizer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
32905 PyObject *resultobj;
32906 wxSizer *arg1 = (wxSizer *) 0 ;
32907 int arg2 ;
32908 PyObject *arg3 = (PyObject *) 0 ;
32909 int arg4 = (int) 0 ;
32910 int arg5 = (int) 0 ;
32911 int arg6 = (int) 0 ;
32912 PyObject *arg7 = (PyObject *) NULL ;
32913 PyObject * obj0 = 0 ;
994141e6 32914 PyObject * obj1 = 0 ;
d14a1e28 32915 PyObject * obj2 = 0 ;
994141e6
RD
32916 PyObject * obj3 = 0 ;
32917 PyObject * obj4 = 0 ;
32918 PyObject * obj5 = 0 ;
d14a1e28
RD
32919 PyObject * obj6 = 0 ;
32920 char *kwnames[] = {
32921 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32922 };
32923
994141e6 32924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Sizer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28 32925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
32926 {
32927 arg2 = (int) SWIG_PyObj_AsInt(obj1);
32928 if (PyErr_Occurred()) SWIG_fail;
32929 }
d14a1e28 32930 arg3 = obj2;
994141e6
RD
32931 if (obj3) {
32932 {
32933 arg4 = (int) SWIG_PyObj_AsInt(obj3);
32934 if (PyErr_Occurred()) SWIG_fail;
32935 }
32936 }
32937 if (obj4) {
32938 {
32939 arg5 = (int) SWIG_PyObj_AsInt(obj4);
32940 if (PyErr_Occurred()) SWIG_fail;
32941 }
32942 }
32943 if (obj5) {
32944 {
32945 arg6 = (int) SWIG_PyObj_AsInt(obj5);
32946 if (PyErr_Occurred()) SWIG_fail;
32947 }
32948 }
d14a1e28
RD
32949 if (obj6) {
32950 arg7 = obj6;
32951 }
32952 {
32953 PyThreadState* __tstate = wxPyBeginAllowThreads();
32954 wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
32955
32956 wxPyEndAllowThreads(__tstate);
32957 if (PyErr_Occurred()) SWIG_fail;
32958 }
32959 Py_INCREF(Py_None); resultobj = Py_None;
32960 return resultobj;
32961 fail:
32962 return NULL;
32963}
32964
32965
32966static PyObject *_wrap_Sizer_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
32967 PyObject *resultobj;
32968 wxSizer *arg1 = (wxSizer *) 0 ;
32969 PyObject *arg2 = (PyObject *) 0 ;
32970 int arg3 = (int) 0 ;
32971 int arg4 = (int) 0 ;
32972 int arg5 = (int) 0 ;
32973 PyObject *arg6 = (PyObject *) NULL ;
32974 PyObject * obj0 = 0 ;
32975 PyObject * obj1 = 0 ;
994141e6
RD
32976 PyObject * obj2 = 0 ;
32977 PyObject * obj3 = 0 ;
32978 PyObject * obj4 = 0 ;
d14a1e28
RD
32979 PyObject * obj5 = 0 ;
32980 char *kwnames[] = {
32981 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32982 };
32983
994141e6 32984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28
RD
32985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32986 arg2 = obj1;
994141e6
RD
32987 if (obj2) {
32988 {
32989 arg3 = (int) SWIG_PyObj_AsInt(obj2);
32990 if (PyErr_Occurred()) SWIG_fail;
32991 }
32992 }
32993 if (obj3) {
32994 {
32995 arg4 = (int) SWIG_PyObj_AsInt(obj3);
32996 if (PyErr_Occurred()) SWIG_fail;
32997 }
32998 }
32999 if (obj4) {
33000 {
33001 arg5 = (int) SWIG_PyObj_AsInt(obj4);
33002 if (PyErr_Occurred()) SWIG_fail;
33003 }
33004 }
d14a1e28
RD
33005 if (obj5) {
33006 arg6 = obj5;
33007 }
33008 {
33009 PyThreadState* __tstate = wxPyBeginAllowThreads();
33010 wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
33011
33012 wxPyEndAllowThreads(__tstate);
33013 if (PyErr_Occurred()) SWIG_fail;
33014 }
33015 Py_INCREF(Py_None); resultobj = Py_None;
33016 return resultobj;
33017 fail:
33018 return NULL;
33019}
33020
33021
33022static PyObject *_wrap_Sizer_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
33023 PyObject *resultobj;
33024 wxSizer *arg1 = (wxSizer *) 0 ;
33025 PyObject *arg2 = (PyObject *) 0 ;
33026 bool result;
33027 PyObject * obj0 = 0 ;
33028 PyObject * obj1 = 0 ;
33029 char *kwnames[] = {
33030 (char *) "self",(char *) "item", NULL
33031 };
33032
33033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
33034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33035 arg2 = obj1;
33036 {
33037 PyThreadState* __tstate = wxPyBeginAllowThreads();
33038 result = (bool)wxSizer_Remove(arg1,arg2);
33039
33040 wxPyEndAllowThreads(__tstate);
33041 if (PyErr_Occurred()) SWIG_fail;
33042 }
4d5c3d91 33043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
33044 return resultobj;
33045 fail:
33046 return NULL;
33047}
33048
33049
33050static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33051 PyObject *resultobj;
33052 wxSizer *arg1 = (wxSizer *) 0 ;
33053 PyObject *arg2 = (PyObject *) 0 ;
e811c8ce
RD
33054 wxSize *arg3 = 0 ;
33055 wxSize temp3 ;
d14a1e28
RD
33056 PyObject * obj0 = 0 ;
33057 PyObject * obj1 = 0 ;
33058 PyObject * obj2 = 0 ;
33059 char *kwnames[] = {
33060 (char *) "self",(char *) "item",(char *) "size", NULL
33061 };
33062
33063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
33064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33065 arg2 = obj1;
e811c8ce
RD
33066 {
33067 arg3 = &temp3;
33068 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
33069 }
d14a1e28
RD
33070 {
33071 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 33072 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
d14a1e28
RD
33073
33074 wxPyEndAllowThreads(__tstate);
33075 if (PyErr_Occurred()) SWIG_fail;
33076 }
33077 Py_INCREF(Py_None); resultobj = Py_None;
33078 return resultobj;
33079 fail:
33080 return NULL;
33081}
33082
33083
33084static PyObject *_wrap_Sizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
33085 PyObject *resultobj;
33086 wxSizer *arg1 = (wxSizer *) 0 ;
33087 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
33088 PyObject * obj0 = 0 ;
33089 PyObject * obj1 = 0 ;
33090 char *kwnames[] = {
33091 (char *) "self",(char *) "item", NULL
33092 };
33093
33094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
33095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33096 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33097 {
33098 PyThreadState* __tstate = wxPyBeginAllowThreads();
33099 (arg1)->Add(arg2);
33100
33101 wxPyEndAllowThreads(__tstate);
33102 if (PyErr_Occurred()) SWIG_fail;
33103 }
33104 Py_INCREF(Py_None); resultobj = Py_None;
33105 return resultobj;
33106 fail:
33107 return NULL;
33108}
33109
33110
33111static PyObject *_wrap_Sizer_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
33112 PyObject *resultobj;
33113 wxSizer *arg1 = (wxSizer *) 0 ;
33114 size_t arg2 ;
33115 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
33116 PyObject * obj0 = 0 ;
33117 PyObject * obj1 = 0 ;
33118 PyObject * obj2 = 0 ;
33119 char *kwnames[] = {
33120 (char *) "self",(char *) "index",(char *) "item", NULL
33121 };
33122
33123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
33124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 33125 {
994141e6 33126 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
a41e16b6
RD
33127 if (PyErr_Occurred()) SWIG_fail;
33128 }
d14a1e28
RD
33129 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33130 {
33131 PyThreadState* __tstate = wxPyBeginAllowThreads();
33132 (arg1)->Insert(arg2,arg3);
33133
33134 wxPyEndAllowThreads(__tstate);
33135 if (PyErr_Occurred()) SWIG_fail;
33136 }
33137 Py_INCREF(Py_None); resultobj = Py_None;
33138 return resultobj;
33139 fail:
33140 return NULL;
33141}
33142
33143
33144static PyObject *_wrap_Sizer_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
33145 PyObject *resultobj;
33146 wxSizer *arg1 = (wxSizer *) 0 ;
33147 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
33148 PyObject * obj0 = 0 ;
33149 PyObject * obj1 = 0 ;
33150 char *kwnames[] = {
33151 (char *) "self",(char *) "item", NULL
33152 };
33153
33154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
33155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33156 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33157 {
33158 PyThreadState* __tstate = wxPyBeginAllowThreads();
33159 (arg1)->Prepend(arg2);
33160
33161 wxPyEndAllowThreads(__tstate);
33162 if (PyErr_Occurred()) SWIG_fail;
33163 }
33164 Py_INCREF(Py_None); resultobj = Py_None;
33165 return resultobj;
33166 fail:
33167 return NULL;
33168}
33169
33170
33171static PyObject *_wrap_Sizer_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
33172 PyObject *resultobj;
33173 wxSizer *arg1 = (wxSizer *) 0 ;
33174 int arg2 ;
33175 int arg3 ;
33176 int arg4 ;
33177 int arg5 ;
33178 PyObject * obj0 = 0 ;
994141e6
RD
33179 PyObject * obj1 = 0 ;
33180 PyObject * obj2 = 0 ;
33181 PyObject * obj3 = 0 ;
33182 PyObject * obj4 = 0 ;
d14a1e28
RD
33183 char *kwnames[] = {
33184 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33185 };
33186
994141e6 33187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Sizer_SetDimension",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28 33188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
33189 {
33190 arg2 = (int) SWIG_PyObj_AsInt(obj1);
33191 if (PyErr_Occurred()) SWIG_fail;
33192 }
33193 {
33194 arg3 = (int) SWIG_PyObj_AsInt(obj2);
33195 if (PyErr_Occurred()) SWIG_fail;
33196 }
33197 {
33198 arg4 = (int) SWIG_PyObj_AsInt(obj3);
33199 if (PyErr_Occurred()) SWIG_fail;
33200 }
33201 {
33202 arg5 = (int) SWIG_PyObj_AsInt(obj4);
33203 if (PyErr_Occurred()) SWIG_fail;
33204 }
d14a1e28
RD
33205 {
33206 PyThreadState* __tstate = wxPyBeginAllowThreads();
33207 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
33208
33209 wxPyEndAllowThreads(__tstate);
33210 if (PyErr_Occurred()) SWIG_fail;
33211 }
33212 Py_INCREF(Py_None); resultobj = Py_None;
33213 return resultobj;
33214 fail:
33215 return NULL;
33216}
33217
33218
33219static PyObject *_wrap_Sizer_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33220 PyObject *resultobj;
33221 wxSizer *arg1 = (wxSizer *) 0 ;
1fc9204a
RD
33222 wxSize *arg2 = 0 ;
33223 wxSize temp2 ;
d14a1e28
RD
33224 PyObject * obj0 = 0 ;
33225 PyObject * obj1 = 0 ;
33226 char *kwnames[] = {
33227 (char *) "self",(char *) "size", NULL
33228 };
33229
33230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
33231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1fc9204a
RD
33232 {
33233 arg2 = &temp2;
33234 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
33235 }
d14a1e28
RD
33236 {
33237 PyThreadState* __tstate = wxPyBeginAllowThreads();
1fc9204a 33238 (arg1)->SetMinSize((wxSize const &)*arg2);
d14a1e28
RD
33239
33240 wxPyEndAllowThreads(__tstate);
33241 if (PyErr_Occurred()) SWIG_fail;
33242 }
33243 Py_INCREF(Py_None); resultobj = Py_None;
33244 return resultobj;
33245 fail:
33246 return NULL;
33247}
33248
33249
33250static PyObject *_wrap_Sizer_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33251 PyObject *resultobj;
33252 wxSizer *arg1 = (wxSizer *) 0 ;
33253 wxSize result;
33254 PyObject * obj0 = 0 ;
33255 char *kwnames[] = {
33256 (char *) "self", NULL
33257 };
33258
33259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
33260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33261 {
33262 PyThreadState* __tstate = wxPyBeginAllowThreads();
33263 result = (arg1)->GetSize();
33264
33265 wxPyEndAllowThreads(__tstate);
33266 if (PyErr_Occurred()) SWIG_fail;
33267 }
33268 {
33269 wxSize * resultptr;
33270 resultptr = new wxSize((wxSize &) result);
33271 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
33272 }
33273 return resultobj;
33274 fail:
33275 return NULL;
33276}
33277
33278
33279static PyObject *_wrap_Sizer_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
33280 PyObject *resultobj;
33281 wxSizer *arg1 = (wxSizer *) 0 ;
33282 wxPoint result;
33283 PyObject * obj0 = 0 ;
33284 char *kwnames[] = {
33285 (char *) "self", NULL
33286 };
33287
33288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
33289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33290 {
33291 PyThreadState* __tstate = wxPyBeginAllowThreads();
33292 result = (arg1)->GetPosition();
33293
33294 wxPyEndAllowThreads(__tstate);
33295 if (PyErr_Occurred()) SWIG_fail;
33296 }
33297 {
33298 wxPoint * resultptr;
33299 resultptr = new wxPoint((wxPoint &) result);
33300 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
33301 }
33302 return resultobj;
33303 fail:
33304 return NULL;
33305}
33306
33307
33308static PyObject *_wrap_Sizer_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33309 PyObject *resultobj;
33310 wxSizer *arg1 = (wxSizer *) 0 ;
33311 wxSize result;
33312 PyObject * obj0 = 0 ;
33313 char *kwnames[] = {
33314 (char *) "self", NULL
33315 };
33316
33317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
33318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33319 {
33320 PyThreadState* __tstate = wxPyBeginAllowThreads();
33321 result = (arg1)->GetMinSize();
33322
33323 wxPyEndAllowThreads(__tstate);
33324 if (PyErr_Occurred()) SWIG_fail;
33325 }
33326 {
33327 wxSize * resultptr;
33328 resultptr = new wxSize((wxSize &) result);
33329 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
33330 }
33331 return resultobj;
33332 fail:
33333 return NULL;
33334}
33335
33336
33337static PyObject *_wrap_Sizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
33338 PyObject *resultobj;
33339 wxSizer *arg1 = (wxSizer *) 0 ;
33340 PyObject * obj0 = 0 ;
33341 char *kwnames[] = {
33342 (char *) "self", NULL
33343 };
33344
33345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
33346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33347 {
33348 PyThreadState* __tstate = wxPyBeginAllowThreads();
33349 (arg1)->RecalcSizes();
33350
33351 wxPyEndAllowThreads(__tstate);
33352 if (PyErr_Occurred()) SWIG_fail;
33353 }
33354 Py_INCREF(Py_None); resultobj = Py_None;
33355 return resultobj;
33356 fail:
33357 return NULL;
33358}
33359
33360
33361static PyObject *_wrap_Sizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
33362 PyObject *resultobj;
33363 wxSizer *arg1 = (wxSizer *) 0 ;
33364 wxSize result;
33365 PyObject * obj0 = 0 ;
33366 char *kwnames[] = {
33367 (char *) "self", NULL
33368 };
33369
33370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
33371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33372 {
33373 PyThreadState* __tstate = wxPyBeginAllowThreads();
33374 result = (arg1)->CalcMin();
33375
33376 wxPyEndAllowThreads(__tstate);
33377 if (PyErr_Occurred()) SWIG_fail;
33378 }
33379 {
33380 wxSize * resultptr;
33381 resultptr = new wxSize((wxSize &) result);
33382 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
33383 }
33384 return resultobj;
33385 fail:
33386 return NULL;
33387}
33388
33389
33390static PyObject *_wrap_Sizer_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
33391 PyObject *resultobj;
33392 wxSizer *arg1 = (wxSizer *) 0 ;
33393 PyObject * obj0 = 0 ;
33394 char *kwnames[] = {
33395 (char *) "self", NULL
33396 };
33397
33398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
33399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33400 {
33401 PyThreadState* __tstate = wxPyBeginAllowThreads();
33402 (arg1)->Layout();
33403
33404 wxPyEndAllowThreads(__tstate);
33405 if (PyErr_Occurred()) SWIG_fail;
33406 }
33407 Py_INCREF(Py_None); resultobj = Py_None;
33408 return resultobj;
33409 fail:
33410 return NULL;
33411}
33412
33413
33414static PyObject *_wrap_Sizer_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
33415 PyObject *resultobj;
33416 wxSizer *arg1 = (wxSizer *) 0 ;
33417 wxWindow *arg2 = (wxWindow *) 0 ;
33418 wxSize result;
33419 PyObject * obj0 = 0 ;
33420 PyObject * obj1 = 0 ;
33421 char *kwnames[] = {
33422 (char *) "self",(char *) "window", NULL
33423 };
33424
33425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
33426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33427 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33428 {
33429 PyThreadState* __tstate = wxPyBeginAllowThreads();
33430 result = (arg1)->Fit(arg2);
33431
33432 wxPyEndAllowThreads(__tstate);
33433 if (PyErr_Occurred()) SWIG_fail;
33434 }
33435 {
33436 wxSize * resultptr;
33437 resultptr = new wxSize((wxSize &) result);
33438 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
33439 }
33440 return resultobj;
33441 fail:
33442 return NULL;
33443}
33444
33445
33446static PyObject *_wrap_Sizer_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
33447 PyObject *resultobj;
33448 wxSizer *arg1 = (wxSizer *) 0 ;
33449 wxWindow *arg2 = (wxWindow *) 0 ;
33450 PyObject * obj0 = 0 ;
33451 PyObject * obj1 = 0 ;
33452 char *kwnames[] = {
33453 (char *) "self",(char *) "window", NULL
33454 };
33455
33456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
33457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33458 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33459 {
33460 PyThreadState* __tstate = wxPyBeginAllowThreads();
33461 (arg1)->FitInside(arg2);
33462
33463 wxPyEndAllowThreads(__tstate);
33464 if (PyErr_Occurred()) SWIG_fail;
33465 }
33466 Py_INCREF(Py_None); resultobj = Py_None;
33467 return resultobj;
33468 fail:
33469 return NULL;
33470}
33471
33472
33473static PyObject *_wrap_Sizer_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
33474 PyObject *resultobj;
33475 wxSizer *arg1 = (wxSizer *) 0 ;
33476 wxWindow *arg2 = (wxWindow *) 0 ;
33477 PyObject * obj0 = 0 ;
33478 PyObject * obj1 = 0 ;
33479 char *kwnames[] = {
33480 (char *) "self",(char *) "window", NULL
33481 };
33482
33483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
33484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33485 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33486 {
33487 PyThreadState* __tstate = wxPyBeginAllowThreads();
33488 (arg1)->SetSizeHints(arg2);
33489
33490 wxPyEndAllowThreads(__tstate);
33491 if (PyErr_Occurred()) SWIG_fail;
33492 }
33493 Py_INCREF(Py_None); resultobj = Py_None;
33494 return resultobj;
33495 fail:
33496 return NULL;
33497}
33498
33499
33500static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
33501 PyObject *resultobj;
33502 wxSizer *arg1 = (wxSizer *) 0 ;
33503 wxWindow *arg2 = (wxWindow *) 0 ;
33504 PyObject * obj0 = 0 ;
33505 PyObject * obj1 = 0 ;
33506 char *kwnames[] = {
33507 (char *) "self",(char *) "window", NULL
33508 };
33509
33510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
33511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33512 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33513 {
33514 PyThreadState* __tstate = wxPyBeginAllowThreads();
33515 (arg1)->SetVirtualSizeHints(arg2);
33516
33517 wxPyEndAllowThreads(__tstate);
33518 if (PyErr_Occurred()) SWIG_fail;
33519 }
33520 Py_INCREF(Py_None); resultobj = Py_None;
33521 return resultobj;
33522 fail:
33523 return NULL;
33524}
33525
33526
33527static PyObject *_wrap_Sizer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
33528 PyObject *resultobj;
33529 wxSizer *arg1 = (wxSizer *) 0 ;
e811c8ce 33530 bool arg2 = (bool) False ;
d14a1e28
RD
33531 PyObject * obj0 = 0 ;
33532 PyObject * obj1 = 0 ;
33533 char *kwnames[] = {
33534 (char *) "self",(char *) "delete_windows", NULL
33535 };
33536
33537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
33538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33539 if (obj1) {
a41e16b6 33540 {
994141e6 33541 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
33542 if (PyErr_Occurred()) SWIG_fail;
33543 }
d14a1e28
RD
33544 }
33545 {
33546 PyThreadState* __tstate = wxPyBeginAllowThreads();
33547 (arg1)->Clear(arg2);
33548
33549 wxPyEndAllowThreads(__tstate);
33550 if (PyErr_Occurred()) SWIG_fail;
33551 }
33552 Py_INCREF(Py_None); resultobj = Py_None;
33553 return resultobj;
33554 fail:
33555 return NULL;
33556}
33557
33558
33559static PyObject *_wrap_Sizer_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
33560 PyObject *resultobj;
33561 wxSizer *arg1 = (wxSizer *) 0 ;
33562 PyObject * obj0 = 0 ;
33563 char *kwnames[] = {
33564 (char *) "self", NULL
33565 };
33566
33567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
33568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33569 {
33570 PyThreadState* __tstate = wxPyBeginAllowThreads();
33571 (arg1)->DeleteWindows();
33572
33573 wxPyEndAllowThreads(__tstate);
33574 if (PyErr_Occurred()) SWIG_fail;
33575 }
33576 Py_INCREF(Py_None); resultobj = Py_None;
33577 return resultobj;
33578 fail:
33579 return NULL;
33580}
33581
33582
33583static PyObject *_wrap_Sizer_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
33584 PyObject *resultobj;
33585 wxSizer *arg1 = (wxSizer *) 0 ;
33586 PyObject *result;
33587 PyObject * obj0 = 0 ;
33588 char *kwnames[] = {
33589 (char *) "self", NULL
33590 };
33591
33592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
33593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33594 {
33595 PyThreadState* __tstate = wxPyBeginAllowThreads();
33596 result = (PyObject *)wxSizer_GetChildren(arg1);
33597
33598 wxPyEndAllowThreads(__tstate);
33599 if (PyErr_Occurred()) SWIG_fail;
33600 }
33601 resultobj = result;
33602 return resultobj;
33603 fail:
33604 return NULL;
33605}
33606
33607
33608static PyObject *_wrap_Sizer_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
33609 PyObject *resultobj;
33610 wxSizer *arg1 = (wxSizer *) 0 ;
33611 PyObject *arg2 = (PyObject *) 0 ;
e811c8ce 33612 bool arg3 = (bool) True ;
d14a1e28
RD
33613 PyObject * obj0 = 0 ;
33614 PyObject * obj1 = 0 ;
33615 PyObject * obj2 = 0 ;
33616 char *kwnames[] = {
33617 (char *) "self",(char *) "item",(char *) "show", NULL
33618 };
33619
33620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Sizer_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
33621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33622 arg2 = obj1;
33623 if (obj2) {
a41e16b6 33624 {
994141e6 33625 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
a41e16b6
RD
33626 if (PyErr_Occurred()) SWIG_fail;
33627 }
d14a1e28
RD
33628 }
33629 {
33630 PyThreadState* __tstate = wxPyBeginAllowThreads();
33631 wxSizer_Show(arg1,arg2,arg3);
33632
33633 wxPyEndAllowThreads(__tstate);
33634 if (PyErr_Occurred()) SWIG_fail;
33635 }
33636 Py_INCREF(Py_None); resultobj = Py_None;
33637 return resultobj;
33638 fail:
33639 return NULL;
33640}
33641
33642
33643static PyObject *_wrap_Sizer_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
33644 PyObject *resultobj;
33645 wxSizer *arg1 = (wxSizer *) 0 ;
33646 PyObject *arg2 = (PyObject *) 0 ;
33647 PyObject * obj0 = 0 ;
33648 PyObject * obj1 = 0 ;
33649 char *kwnames[] = {
33650 (char *) "self",(char *) "item", NULL
33651 };
33652
33653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Hide",kwnames,&obj0,&obj1)) goto fail;
33654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33655 arg2 = obj1;
33656 {
33657 PyThreadState* __tstate = wxPyBeginAllowThreads();
33658 wxSizer_Hide(arg1,arg2);
33659
33660 wxPyEndAllowThreads(__tstate);
33661 if (PyErr_Occurred()) SWIG_fail;
33662 }
33663 Py_INCREF(Py_None); resultobj = Py_None;
33664 return resultobj;
33665 fail:
33666 return NULL;
33667}
33668
33669
33670static PyObject *_wrap_Sizer_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
33671 PyObject *resultobj;
33672 wxSizer *arg1 = (wxSizer *) 0 ;
33673 PyObject *arg2 = (PyObject *) 0 ;
33674 bool result;
33675 PyObject * obj0 = 0 ;
33676 PyObject * obj1 = 0 ;
33677 char *kwnames[] = {
33678 (char *) "self",(char *) "item", NULL
33679 };
33680
33681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
33682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33683 arg2 = obj1;
33684 {
33685 PyThreadState* __tstate = wxPyBeginAllowThreads();
33686 result = (bool)wxSizer_IsShown(arg1,arg2);
33687
33688 wxPyEndAllowThreads(__tstate);
33689 if (PyErr_Occurred()) SWIG_fail;
33690 }
4d5c3d91 33691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
33692 return resultobj;
33693 fail:
33694 return NULL;
33695}
33696
33697
33698static PyObject *_wrap_Sizer_ShowItems(PyObject *self, PyObject *args, PyObject *kwargs) {
33699 PyObject *resultobj;
33700 wxSizer *arg1 = (wxSizer *) 0 ;
33701 bool arg2 ;
33702 PyObject * obj0 = 0 ;
33703 PyObject * obj1 = 0 ;
33704 char *kwnames[] = {
33705 (char *) "self",(char *) "show", NULL
33706 };
33707
33708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
33709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 33710 {
994141e6 33711 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
33712 if (PyErr_Occurred()) SWIG_fail;
33713 }
d14a1e28
RD
33714 {
33715 PyThreadState* __tstate = wxPyBeginAllowThreads();
33716 (arg1)->ShowItems(arg2);
33717
33718 wxPyEndAllowThreads(__tstate);
33719 if (PyErr_Occurred()) SWIG_fail;
33720 }
33721 Py_INCREF(Py_None); resultobj = Py_None;
33722 return resultobj;
33723 fail:
33724 return NULL;
33725}
33726
33727
33728static PyObject * Sizer_swigregister(PyObject *self, PyObject *args) {
33729 PyObject *obj;
33730 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33731 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
33732 Py_INCREF(obj);
33733 return Py_BuildValue((char *)"");
33734}
33735static PyObject *_wrap_new_PySizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33736 PyObject *resultobj;
33737 wxPySizer *result;
33738 char *kwnames[] = {
33739 NULL
33740 };
33741
33742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
33743 {
33744 PyThreadState* __tstate = wxPyBeginAllowThreads();
33745 result = (wxPySizer *)new wxPySizer();
33746
33747 wxPyEndAllowThreads(__tstate);
33748 if (PyErr_Occurred()) SWIG_fail;
33749 }
33750 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPySizer, 1);
33751 return resultobj;
33752 fail:
33753 return NULL;
33754}
33755
33756
33757static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
33758 PyObject *resultobj;
33759 wxPySizer *arg1 = (wxPySizer *) 0 ;
33760 PyObject *arg2 = (PyObject *) 0 ;
33761 PyObject *arg3 = (PyObject *) 0 ;
33762 PyObject * obj0 = 0 ;
33763 PyObject * obj1 = 0 ;
33764 PyObject * obj2 = 0 ;
33765 char *kwnames[] = {
33766 (char *) "self",(char *) "self",(char *) "_class", NULL
33767 };
33768
33769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
33770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPySizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33771 arg2 = obj1;
33772 arg3 = obj2;
33773 {
33774 PyThreadState* __tstate = wxPyBeginAllowThreads();
33775 (arg1)->_setCallbackInfo(arg2,arg3);
33776
33777 wxPyEndAllowThreads(__tstate);
33778 if (PyErr_Occurred()) SWIG_fail;
33779 }
33780 Py_INCREF(Py_None); resultobj = Py_None;
33781 return resultobj;
33782 fail:
33783 return NULL;
33784}
33785
33786
33787static PyObject * PySizer_swigregister(PyObject *self, PyObject *args) {
33788 PyObject *obj;
33789 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33790 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
33791 Py_INCREF(obj);
33792 return Py_BuildValue((char *)"");
33793}
33794static PyObject *_wrap_new_BoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33795 PyObject *resultobj;
33796 int arg1 = (int) wxHORIZONTAL ;
33797 wxBoxSizer *result;
994141e6 33798 PyObject * obj0 = 0 ;
d14a1e28
RD
33799 char *kwnames[] = {
33800 (char *) "orient", NULL
33801 };
33802
994141e6
RD
33803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BoxSizer",kwnames,&obj0)) goto fail;
33804 if (obj0) {
33805 {
33806 arg1 = (int) SWIG_PyObj_AsInt(obj0);
33807 if (PyErr_Occurred()) SWIG_fail;
33808 }
33809 }
d14a1e28
RD
33810 {
33811 PyThreadState* __tstate = wxPyBeginAllowThreads();
33812 result = (wxBoxSizer *)new wxBoxSizer(arg1);
33813
33814 wxPyEndAllowThreads(__tstate);
33815 if (PyErr_Occurred()) SWIG_fail;
33816 }
33817 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBoxSizer, 1);
33818 return resultobj;
33819 fail:
33820 return NULL;
33821}
33822
33823
33824static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
33825 PyObject *resultobj;
33826 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
33827 int result;
33828 PyObject * obj0 = 0 ;
33829 char *kwnames[] = {
33830 (char *) "self", NULL
33831 };
33832
33833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
33834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33835 {
33836 PyThreadState* __tstate = wxPyBeginAllowThreads();
33837 result = (int)(arg1)->GetOrientation();
33838
33839 wxPyEndAllowThreads(__tstate);
33840 if (PyErr_Occurred()) SWIG_fail;
33841 }
994141e6 33842 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
33843 return resultobj;
33844 fail:
33845 return NULL;
33846}
33847
33848
33849static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
33850 PyObject *resultobj;
33851 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
33852 int arg2 ;
33853 PyObject * obj0 = 0 ;
994141e6 33854 PyObject * obj1 = 0 ;
d14a1e28
RD
33855 char *kwnames[] = {
33856 (char *) "self",(char *) "orient", NULL
33857 };
33858
994141e6 33859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BoxSizer_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 33860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
33861 {
33862 arg2 = (int) SWIG_PyObj_AsInt(obj1);
33863 if (PyErr_Occurred()) SWIG_fail;
33864 }
d14a1e28
RD
33865 {
33866 PyThreadState* __tstate = wxPyBeginAllowThreads();
33867 (arg1)->SetOrientation(arg2);
33868
33869 wxPyEndAllowThreads(__tstate);
33870 if (PyErr_Occurred()) SWIG_fail;
33871 }
33872 Py_INCREF(Py_None); resultobj = Py_None;
33873 return resultobj;
33874 fail:
33875 return NULL;
33876}
33877
33878
33879static PyObject *_wrap_BoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
33880 PyObject *resultobj;
33881 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
33882 PyObject * obj0 = 0 ;
33883 char *kwnames[] = {
33884 (char *) "self", NULL
33885 };
33886
33887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
33888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33889 {
33890 PyThreadState* __tstate = wxPyBeginAllowThreads();
33891 (arg1)->RecalcSizes();
33892
33893 wxPyEndAllowThreads(__tstate);
33894 if (PyErr_Occurred()) SWIG_fail;
33895 }
33896 Py_INCREF(Py_None); resultobj = Py_None;
33897 return resultobj;
33898 fail:
33899 return NULL;
33900}
33901
33902
33903static PyObject *_wrap_BoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
33904 PyObject *resultobj;
33905 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
33906 wxSize result;
33907 PyObject * obj0 = 0 ;
33908 char *kwnames[] = {
33909 (char *) "self", NULL
33910 };
33911
33912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_CalcMin",kwnames,&obj0)) goto fail;
33913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33914 {
33915 PyThreadState* __tstate = wxPyBeginAllowThreads();
33916 result = (arg1)->CalcMin();
33917
33918 wxPyEndAllowThreads(__tstate);
33919 if (PyErr_Occurred()) SWIG_fail;
33920 }
33921 {
33922 wxSize * resultptr;
33923 resultptr = new wxSize((wxSize &) result);
33924 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
33925 }
33926 return resultobj;
33927 fail:
33928 return NULL;
33929}
33930
33931
33932static PyObject * BoxSizer_swigregister(PyObject *self, PyObject *args) {
33933 PyObject *obj;
33934 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33935 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
33936 Py_INCREF(obj);
33937 return Py_BuildValue((char *)"");
33938}
33939static PyObject *_wrap_new_StaticBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33940 PyObject *resultobj;
33941 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
33942 int arg2 = (int) wxHORIZONTAL ;
33943 wxStaticBoxSizer *result;
33944 PyObject * obj0 = 0 ;
994141e6 33945 PyObject * obj1 = 0 ;
d14a1e28
RD
33946 char *kwnames[] = {
33947 (char *) "box",(char *) "orient", NULL
33948 };
33949
994141e6 33950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_StaticBoxSizer",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 33951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
33952 if (obj1) {
33953 {
33954 arg2 = (int) SWIG_PyObj_AsInt(obj1);
33955 if (PyErr_Occurred()) SWIG_fail;
33956 }
33957 }
d14a1e28
RD
33958 {
33959 PyThreadState* __tstate = wxPyBeginAllowThreads();
33960 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
33961
33962 wxPyEndAllowThreads(__tstate);
33963 if (PyErr_Occurred()) SWIG_fail;
33964 }
33965 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBoxSizer, 1);
33966 return resultobj;
33967 fail:
33968 return NULL;
33969}
33970
33971
33972static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
33973 PyObject *resultobj;
33974 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
33975 wxStaticBox *result;
33976 PyObject * obj0 = 0 ;
33977 char *kwnames[] = {
33978 (char *) "self", NULL
33979 };
33980
33981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
33982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33983 {
33984 PyThreadState* __tstate = wxPyBeginAllowThreads();
33985 result = (wxStaticBox *)(arg1)->GetStaticBox();
33986
33987 wxPyEndAllowThreads(__tstate);
33988 if (PyErr_Occurred()) SWIG_fail;
33989 }
33990 {
33991 resultobj = wxPyMake_wxObject(result);
33992 }
33993 return resultobj;
33994 fail:
33995 return NULL;
33996}
33997
33998
33999static PyObject *_wrap_StaticBoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
34000 PyObject *resultobj;
34001 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
34002 PyObject * obj0 = 0 ;
34003 char *kwnames[] = {
34004 (char *) "self", NULL
34005 };
34006
34007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
34008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34009 {
34010 PyThreadState* __tstate = wxPyBeginAllowThreads();
34011 (arg1)->RecalcSizes();
34012
34013 wxPyEndAllowThreads(__tstate);
34014 if (PyErr_Occurred()) SWIG_fail;
34015 }
34016 Py_INCREF(Py_None); resultobj = Py_None;
34017 return resultobj;
34018 fail:
34019 return NULL;
34020}
34021
34022
34023static PyObject *_wrap_StaticBoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
34024 PyObject *resultobj;
34025 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
34026 wxSize result;
34027 PyObject * obj0 = 0 ;
34028 char *kwnames[] = {
34029 (char *) "self", NULL
34030 };
34031
34032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_CalcMin",kwnames,&obj0)) goto fail;
34033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34034 {
34035 PyThreadState* __tstate = wxPyBeginAllowThreads();
34036 result = (arg1)->CalcMin();
34037
34038 wxPyEndAllowThreads(__tstate);
34039 if (PyErr_Occurred()) SWIG_fail;
34040 }
34041 {
34042 wxSize * resultptr;
34043 resultptr = new wxSize((wxSize &) result);
34044 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
34045 }
34046 return resultobj;
34047 fail:
34048 return NULL;
34049}
34050
34051
34052static PyObject * StaticBoxSizer_swigregister(PyObject *self, PyObject *args) {
34053 PyObject *obj;
34054 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34055 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
34056 Py_INCREF(obj);
34057 return Py_BuildValue((char *)"");
34058}
34059static PyObject *_wrap_new_GridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34060 PyObject *resultobj;
34061 int arg1 = (int) 1 ;
34062 int arg2 = (int) 0 ;
34063 int arg3 = (int) 0 ;
34064 int arg4 = (int) 0 ;
34065 wxGridSizer *result;
994141e6
RD
34066 PyObject * obj0 = 0 ;
34067 PyObject * obj1 = 0 ;
34068 PyObject * obj2 = 0 ;
34069 PyObject * obj3 = 0 ;
d14a1e28
RD
34070 char *kwnames[] = {
34071 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
34072 };
34073
994141e6
RD
34074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_GridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
34075 if (obj0) {
34076 {
34077 arg1 = (int) SWIG_PyObj_AsInt(obj0);
34078 if (PyErr_Occurred()) SWIG_fail;
34079 }
34080 }
34081 if (obj1) {
34082 {
34083 arg2 = (int) SWIG_PyObj_AsInt(obj1);
34084 if (PyErr_Occurred()) SWIG_fail;
34085 }
34086 }
34087 if (obj2) {
34088 {
34089 arg3 = (int) SWIG_PyObj_AsInt(obj2);
34090 if (PyErr_Occurred()) SWIG_fail;
34091 }
34092 }
34093 if (obj3) {
34094 {
34095 arg4 = (int) SWIG_PyObj_AsInt(obj3);
34096 if (PyErr_Occurred()) SWIG_fail;
34097 }
34098 }
d14a1e28
RD
34099 {
34100 PyThreadState* __tstate = wxPyBeginAllowThreads();
34101 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
34102
34103 wxPyEndAllowThreads(__tstate);
34104 if (PyErr_Occurred()) SWIG_fail;
34105 }
34106 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridSizer, 1);
34107 return resultobj;
34108 fail:
34109 return NULL;
34110}
34111
34112
34113static PyObject *_wrap_GridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
34114 PyObject *resultobj;
34115 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
34116 PyObject * obj0 = 0 ;
34117 char *kwnames[] = {
34118 (char *) "self", NULL
34119 };
34120
34121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
34122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34123 {
34124 PyThreadState* __tstate = wxPyBeginAllowThreads();
34125 (arg1)->RecalcSizes();
34126
34127 wxPyEndAllowThreads(__tstate);
34128 if (PyErr_Occurred()) SWIG_fail;
34129 }
34130 Py_INCREF(Py_None); resultobj = Py_None;
34131 return resultobj;
34132 fail:
34133 return NULL;
34134}
34135
34136
34137static PyObject *_wrap_GridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
34138 PyObject *resultobj;
34139 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
34140 wxSize result;
34141 PyObject * obj0 = 0 ;
34142 char *kwnames[] = {
34143 (char *) "self", NULL
34144 };
34145
34146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_CalcMin",kwnames,&obj0)) goto fail;
34147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34148 {
34149 PyThreadState* __tstate = wxPyBeginAllowThreads();
34150 result = (arg1)->CalcMin();
34151
34152 wxPyEndAllowThreads(__tstate);
34153 if (PyErr_Occurred()) SWIG_fail;
34154 }
34155 {
34156 wxSize * resultptr;
34157 resultptr = new wxSize((wxSize &) result);
34158 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
34159 }
34160 return resultobj;
34161 fail:
34162 return NULL;
34163}
34164
34165
34166static PyObject *_wrap_GridSizer_SetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
34167 PyObject *resultobj;
34168 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
34169 int arg2 ;
34170 PyObject * obj0 = 0 ;
994141e6 34171 PyObject * obj1 = 0 ;
d14a1e28
RD
34172 char *kwnames[] = {
34173 (char *) "self",(char *) "cols", NULL
34174 };
34175
994141e6 34176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetCols",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 34177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
34178 {
34179 arg2 = (int) SWIG_PyObj_AsInt(obj1);
34180 if (PyErr_Occurred()) SWIG_fail;
34181 }
d14a1e28
RD
34182 {
34183 PyThreadState* __tstate = wxPyBeginAllowThreads();
34184 (arg1)->SetCols(arg2);
34185
34186 wxPyEndAllowThreads(__tstate);
34187 if (PyErr_Occurred()) SWIG_fail;
34188 }
34189 Py_INCREF(Py_None); resultobj = Py_None;
34190 return resultobj;
34191 fail:
34192 return NULL;
34193}
34194
34195
34196static PyObject *_wrap_GridSizer_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
34197 PyObject *resultobj;
34198 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
34199 int arg2 ;
34200 PyObject * obj0 = 0 ;
994141e6 34201 PyObject * obj1 = 0 ;
d14a1e28
RD
34202 char *kwnames[] = {
34203 (char *) "self",(char *) "rows", NULL
34204 };
34205
994141e6 34206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetRows",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 34207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
34208 {
34209 arg2 = (int) SWIG_PyObj_AsInt(obj1);
34210 if (PyErr_Occurred()) SWIG_fail;
34211 }
d14a1e28
RD
34212 {
34213 PyThreadState* __tstate = wxPyBeginAllowThreads();
34214 (arg1)->SetRows(arg2);
34215
34216 wxPyEndAllowThreads(__tstate);
34217 if (PyErr_Occurred()) SWIG_fail;
34218 }
34219 Py_INCREF(Py_None); resultobj = Py_None;
34220 return resultobj;
34221 fail:
34222 return NULL;
34223}
34224
34225
34226static PyObject *_wrap_GridSizer_SetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
34227 PyObject *resultobj;
34228 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
34229 int arg2 ;
34230 PyObject * obj0 = 0 ;
994141e6 34231 PyObject * obj1 = 0 ;
d14a1e28
RD
34232 char *kwnames[] = {
34233 (char *) "self",(char *) "gap", NULL
34234 };
34235
994141e6 34236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetVGap",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 34237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
34238 {
34239 arg2 = (int) SWIG_PyObj_AsInt(obj1);
34240 if (PyErr_Occurred()) SWIG_fail;
34241 }
d14a1e28
RD
34242 {
34243 PyThreadState* __tstate = wxPyBeginAllowThreads();
34244 (arg1)->SetVGap(arg2);
34245
34246 wxPyEndAllowThreads(__tstate);
34247 if (PyErr_Occurred()) SWIG_fail;
34248 }
34249 Py_INCREF(Py_None); resultobj = Py_None;
34250 return resultobj;
34251 fail:
34252 return NULL;
34253}
34254
34255
34256static PyObject *_wrap_GridSizer_SetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
34257 PyObject *resultobj;
34258 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
34259 int arg2 ;
34260 PyObject * obj0 = 0 ;
994141e6 34261 PyObject * obj1 = 0 ;
d14a1e28
RD
34262 char *kwnames[] = {
34263 (char *) "self",(char *) "gap", NULL
34264 };
34265
994141e6 34266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetHGap",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 34267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
34268 {
34269 arg2 = (int) SWIG_PyObj_AsInt(obj1);
34270 if (PyErr_Occurred()) SWIG_fail;
34271 }
d14a1e28
RD
34272 {
34273 PyThreadState* __tstate = wxPyBeginAllowThreads();
34274 (arg1)->SetHGap(arg2);
34275
34276 wxPyEndAllowThreads(__tstate);
34277 if (PyErr_Occurred()) SWIG_fail;
34278 }
34279 Py_INCREF(Py_None); resultobj = Py_None;
34280 return resultobj;
34281 fail:
34282 return NULL;
34283}
34284
34285
34286static PyObject *_wrap_GridSizer_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
34287 PyObject *resultobj;
34288 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
34289 int result;
34290 PyObject * obj0 = 0 ;
34291 char *kwnames[] = {
34292 (char *) "self", NULL
34293 };
34294
34295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
34296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34297 {
34298 PyThreadState* __tstate = wxPyBeginAllowThreads();
34299 result = (int)(arg1)->GetCols();
34300
34301 wxPyEndAllowThreads(__tstate);
34302 if (PyErr_Occurred()) SWIG_fail;
34303 }
994141e6 34304 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
34305 return resultobj;
34306 fail:
34307 return NULL;
34308}
34309
34310
34311static PyObject *_wrap_GridSizer_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
34312 PyObject *resultobj;
34313 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
34314 int result;
34315 PyObject * obj0 = 0 ;
34316 char *kwnames[] = {
34317 (char *) "self", NULL
34318 };
34319
34320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
34321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34322 {
34323 PyThreadState* __tstate = wxPyBeginAllowThreads();
34324 result = (int)(arg1)->GetRows();
34325
34326 wxPyEndAllowThreads(__tstate);
34327 if (PyErr_Occurred()) SWIG_fail;
34328 }
994141e6 34329 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
34330 return resultobj;
34331 fail:
34332 return NULL;
34333}
34334
34335
34336static PyObject *_wrap_GridSizer_GetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
34337 PyObject *resultobj;
34338 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
34339 int result;
34340 PyObject * obj0 = 0 ;
34341 char *kwnames[] = {
34342 (char *) "self", NULL
34343 };
34344
34345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
34346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34347 {
34348 PyThreadState* __tstate = wxPyBeginAllowThreads();
34349 result = (int)(arg1)->GetVGap();
34350
34351 wxPyEndAllowThreads(__tstate);
34352 if (PyErr_Occurred()) SWIG_fail;
34353 }
994141e6 34354 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
34355 return resultobj;
34356 fail:
34357 return NULL;
34358}
34359
34360
34361static PyObject *_wrap_GridSizer_GetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
34362 PyObject *resultobj;
34363 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
34364 int result;
34365 PyObject * obj0 = 0 ;
34366 char *kwnames[] = {
34367 (char *) "self", NULL
34368 };
34369
34370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
34371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34372 {
34373 PyThreadState* __tstate = wxPyBeginAllowThreads();
34374 result = (int)(arg1)->GetHGap();
34375
34376 wxPyEndAllowThreads(__tstate);
34377 if (PyErr_Occurred()) SWIG_fail;
34378 }
994141e6 34379 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
34380 return resultobj;
34381 fail:
34382 return NULL;
34383}
34384
34385
34386static PyObject * GridSizer_swigregister(PyObject *self, PyObject *args) {
34387 PyObject *obj;
34388 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34389 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
34390 Py_INCREF(obj);
34391 return Py_BuildValue((char *)"");
34392}
34393static PyObject *_wrap_new_FlexGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34394 PyObject *resultobj;
34395 int arg1 = (int) 1 ;
34396 int arg2 = (int) 0 ;
34397 int arg3 = (int) 0 ;
34398 int arg4 = (int) 0 ;
34399 wxFlexGridSizer *result;
994141e6
RD
34400 PyObject * obj0 = 0 ;
34401 PyObject * obj1 = 0 ;
34402 PyObject * obj2 = 0 ;
34403 PyObject * obj3 = 0 ;
d14a1e28
RD
34404 char *kwnames[] = {
34405 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
34406 };
34407
994141e6
RD
34408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_FlexGridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
34409 if (obj0) {
34410 {
34411 arg1 = (int) SWIG_PyObj_AsInt(obj0);
34412 if (PyErr_Occurred()) SWIG_fail;
34413 }
34414 }
34415 if (obj1) {
34416 {
34417 arg2 = (int) SWIG_PyObj_AsInt(obj1);
34418 if (PyErr_Occurred()) SWIG_fail;
34419 }
34420 }
34421 if (obj2) {
34422 {
34423 arg3 = (int) SWIG_PyObj_AsInt(obj2);
34424 if (PyErr_Occurred()) SWIG_fail;
34425 }
34426 }
34427 if (obj3) {
34428 {
34429 arg4 = (int) SWIG_PyObj_AsInt(obj3);
34430 if (PyErr_Occurred()) SWIG_fail;
34431 }
34432 }
d14a1e28
RD
34433 {
34434 PyThreadState* __tstate = wxPyBeginAllowThreads();
34435 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
34436
34437 wxPyEndAllowThreads(__tstate);
34438 if (PyErr_Occurred()) SWIG_fail;
34439 }
34440 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFlexGridSizer, 1);
34441 return resultobj;
34442 fail:
34443 return NULL;
34444}
34445
34446
34447static PyObject *_wrap_FlexGridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
34448 PyObject *resultobj;
34449 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
34450 PyObject * obj0 = 0 ;
34451 char *kwnames[] = {
34452 (char *) "self", NULL
34453 };
34454
34455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
34456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34457 {
34458 PyThreadState* __tstate = wxPyBeginAllowThreads();
34459 (arg1)->RecalcSizes();
34460
34461 wxPyEndAllowThreads(__tstate);
34462 if (PyErr_Occurred()) SWIG_fail;
34463 }
34464 Py_INCREF(Py_None); resultobj = Py_None;
34465 return resultobj;
34466 fail:
34467 return NULL;
34468}
34469
34470
34471static PyObject *_wrap_FlexGridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
34472 PyObject *resultobj;
34473 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
34474 wxSize result;
34475 PyObject * obj0 = 0 ;
34476 char *kwnames[] = {
34477 (char *) "self", NULL
34478 };
34479
34480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_CalcMin",kwnames,&obj0)) goto fail;
34481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34482 {
34483 PyThreadState* __tstate = wxPyBeginAllowThreads();
34484 result = (arg1)->CalcMin();
34485
34486 wxPyEndAllowThreads(__tstate);
34487 if (PyErr_Occurred()) SWIG_fail;
34488 }
34489 {
34490 wxSize * resultptr;
34491 resultptr = new wxSize((wxSize &) result);
34492 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
34493 }
34494 return resultobj;
34495 fail:
34496 return NULL;
34497}
34498
34499
34500static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
34501 PyObject *resultobj;
34502 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
34503 size_t arg2 ;
34504 int arg3 = (int) 0 ;
34505 PyObject * obj0 = 0 ;
34506 PyObject * obj1 = 0 ;
994141e6 34507 PyObject * obj2 = 0 ;
d14a1e28
RD
34508 char *kwnames[] = {
34509 (char *) "self",(char *) "idx",(char *) "proportion", NULL
34510 };
34511
994141e6 34512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 34513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 34514 {
994141e6 34515 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
a41e16b6
RD
34516 if (PyErr_Occurred()) SWIG_fail;
34517 }
994141e6
RD
34518 if (obj2) {
34519 {
34520 arg3 = (int) SWIG_PyObj_AsInt(obj2);
34521 if (PyErr_Occurred()) SWIG_fail;
34522 }
34523 }
d14a1e28
RD
34524 {
34525 PyThreadState* __tstate = wxPyBeginAllowThreads();
34526 (arg1)->AddGrowableRow(arg2,arg3);
34527
34528 wxPyEndAllowThreads(__tstate);
34529 if (PyErr_Occurred()) SWIG_fail;
34530 }
34531 Py_INCREF(Py_None); resultobj = Py_None;
34532 return resultobj;
34533 fail:
34534 return NULL;
34535}
34536
34537
34538static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
34539 PyObject *resultobj;
34540 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
34541 size_t arg2 ;
34542 PyObject * obj0 = 0 ;
34543 PyObject * obj1 = 0 ;
34544 char *kwnames[] = {
34545 (char *) "self",(char *) "idx", NULL
34546 };
34547
34548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
34549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 34550 {
994141e6 34551 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
a41e16b6
RD
34552 if (PyErr_Occurred()) SWIG_fail;
34553 }
d14a1e28
RD
34554 {
34555 PyThreadState* __tstate = wxPyBeginAllowThreads();
34556 (arg1)->RemoveGrowableRow(arg2);
34557
34558 wxPyEndAllowThreads(__tstate);
34559 if (PyErr_Occurred()) SWIG_fail;
34560 }
34561 Py_INCREF(Py_None); resultobj = Py_None;
34562 return resultobj;
34563 fail:
34564 return NULL;
34565}
34566
34567
34568static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
34569 PyObject *resultobj;
34570 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
34571 size_t arg2 ;
34572 int arg3 = (int) 0 ;
34573 PyObject * obj0 = 0 ;
34574 PyObject * obj1 = 0 ;
994141e6 34575 PyObject * obj2 = 0 ;
d14a1e28
RD
34576 char *kwnames[] = {
34577 (char *) "self",(char *) "idx",(char *) "proportion", NULL
34578 };
34579
994141e6 34580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 34581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 34582 {
994141e6 34583 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
a41e16b6
RD
34584 if (PyErr_Occurred()) SWIG_fail;
34585 }
994141e6
RD
34586 if (obj2) {
34587 {
34588 arg3 = (int) SWIG_PyObj_AsInt(obj2);
34589 if (PyErr_Occurred()) SWIG_fail;
34590 }
34591 }
d14a1e28
RD
34592 {
34593 PyThreadState* __tstate = wxPyBeginAllowThreads();
34594 (arg1)->AddGrowableCol(arg2,arg3);
34595
34596 wxPyEndAllowThreads(__tstate);
34597 if (PyErr_Occurred()) SWIG_fail;
34598 }
34599 Py_INCREF(Py_None); resultobj = Py_None;
34600 return resultobj;
34601 fail:
34602 return NULL;
34603}
34604
34605
34606static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
34607 PyObject *resultobj;
34608 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
34609 size_t arg2 ;
34610 PyObject * obj0 = 0 ;
34611 PyObject * obj1 = 0 ;
34612 char *kwnames[] = {
34613 (char *) "self",(char *) "idx", NULL
34614 };
34615
34616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
34617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 34618 {
994141e6 34619 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
a41e16b6
RD
34620 if (PyErr_Occurred()) SWIG_fail;
34621 }
d14a1e28
RD
34622 {
34623 PyThreadState* __tstate = wxPyBeginAllowThreads();
34624 (arg1)->RemoveGrowableCol(arg2);
34625
34626 wxPyEndAllowThreads(__tstate);
34627 if (PyErr_Occurred()) SWIG_fail;
34628 }
34629 Py_INCREF(Py_None); resultobj = Py_None;
34630 return resultobj;
34631 fail:
34632 return NULL;
34633}
34634
34635
34636static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
34637 PyObject *resultobj;
34638 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
34639 int arg2 ;
34640 PyObject * obj0 = 0 ;
994141e6 34641 PyObject * obj1 = 0 ;
d14a1e28
RD
34642 char *kwnames[] = {
34643 (char *) "self",(char *) "direction", NULL
34644 };
34645
994141e6 34646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 34647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
34648 {
34649 arg2 = (int) SWIG_PyObj_AsInt(obj1);
34650 if (PyErr_Occurred()) SWIG_fail;
34651 }
d14a1e28
RD
34652 {
34653 PyThreadState* __tstate = wxPyBeginAllowThreads();
34654 (arg1)->SetFlexibleDirection(arg2);
34655
34656 wxPyEndAllowThreads(__tstate);
34657 if (PyErr_Occurred()) SWIG_fail;
34658 }
34659 Py_INCREF(Py_None); resultobj = Py_None;
34660 return resultobj;
34661 fail:
34662 return NULL;
34663}
34664
34665
34666static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
34667 PyObject *resultobj;
34668 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
34669 int result;
34670 PyObject * obj0 = 0 ;
34671 char *kwnames[] = {
34672 (char *) "self", NULL
34673 };
34674
34675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
34676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34677 {
34678 PyThreadState* __tstate = wxPyBeginAllowThreads();
34679 result = (int)(arg1)->GetFlexibleDirection();
34680
34681 wxPyEndAllowThreads(__tstate);
34682 if (PyErr_Occurred()) SWIG_fail;
34683 }
994141e6 34684 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
34685 return resultobj;
34686 fail:
34687 return NULL;
34688}
34689
34690
34691static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
34692 PyObject *resultobj;
34693 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
34694 int arg2 ;
34695 PyObject * obj0 = 0 ;
994141e6 34696 PyObject * obj1 = 0 ;
d14a1e28
RD
34697 char *kwnames[] = {
34698 (char *) "self",(char *) "mode", NULL
34699 };
34700
994141e6 34701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 34702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
34703 {
34704 arg2 = (wxFlexSizerGrowMode) SWIG_PyObj_AsInt(obj1);
34705 if (PyErr_Occurred()) SWIG_fail;
34706 }
d14a1e28
RD
34707 {
34708 PyThreadState* __tstate = wxPyBeginAllowThreads();
34709 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
34710
34711 wxPyEndAllowThreads(__tstate);
34712 if (PyErr_Occurred()) SWIG_fail;
34713 }
34714 Py_INCREF(Py_None); resultobj = Py_None;
34715 return resultobj;
34716 fail:
34717 return NULL;
34718}
34719
34720
34721static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
34722 PyObject *resultobj;
34723 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
34724 int result;
34725 PyObject * obj0 = 0 ;
34726 char *kwnames[] = {
34727 (char *) "self", NULL
34728 };
34729
34730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
34731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34732 {
34733 PyThreadState* __tstate = wxPyBeginAllowThreads();
34734 result = (int)(arg1)->GetNonFlexibleGrowMode();
34735
34736 wxPyEndAllowThreads(__tstate);
34737 if (PyErr_Occurred()) SWIG_fail;
34738 }
994141e6 34739 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
34740 return resultobj;
34741 fail:
34742 return NULL;
34743}
34744
34745
e811c8ce
RD
34746static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *self, PyObject *args, PyObject *kwargs) {
34747 PyObject *resultobj;
34748 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
34749 wxArrayInt *result;
34750 PyObject * obj0 = 0 ;
34751 char *kwnames[] = {
34752 (char *) "self", NULL
34753 };
34754
34755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
34756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34757 {
34758 PyThreadState* __tstate = wxPyBeginAllowThreads();
34759 {
34760 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
34761 result = (wxArrayInt *) &_result_ref;
34762 }
34763
34764 wxPyEndAllowThreads(__tstate);
34765 if (PyErr_Occurred()) SWIG_fail;
34766 }
34767 {
34768 resultobj = PyList_New(0);
34769 size_t idx;
34770 for (idx = 0; idx < result->GetCount(); idx += 1) {
34771 PyObject* val = PyInt_FromLong( result->Item(idx) );
34772 PyList_Append(resultobj, val);
34773 Py_DECREF(val);
34774 }
34775 }
34776 return resultobj;
34777 fail:
34778 return NULL;
34779}
34780
34781
34782static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
34783 PyObject *resultobj;
34784 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
34785 wxArrayInt *result;
34786 PyObject * obj0 = 0 ;
34787 char *kwnames[] = {
34788 (char *) "self", NULL
34789 };
34790
34791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
34792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34793 {
34794 PyThreadState* __tstate = wxPyBeginAllowThreads();
34795 {
34796 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
34797 result = (wxArrayInt *) &_result_ref;
34798 }
34799
34800 wxPyEndAllowThreads(__tstate);
34801 if (PyErr_Occurred()) SWIG_fail;
34802 }
34803 {
34804 resultobj = PyList_New(0);
34805 size_t idx;
34806 for (idx = 0; idx < result->GetCount(); idx += 1) {
34807 PyObject* val = PyInt_FromLong( result->Item(idx) );
34808 PyList_Append(resultobj, val);
34809 Py_DECREF(val);
34810 }
34811 }
34812 return resultobj;
34813 fail:
34814 return NULL;
34815}
34816
34817
d14a1e28
RD
34818static PyObject * FlexGridSizer_swigregister(PyObject *self, PyObject *args) {
34819 PyObject *obj;
34820 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34821 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
34822 Py_INCREF(obj);
34823 return Py_BuildValue((char *)"");
34824}
34825static PyObject *_wrap_new_GBPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
34826 PyObject *resultobj;
34827 int arg1 = (int) 0 ;
34828 int arg2 = (int) 0 ;
34829 wxGBPosition *result;
994141e6
RD
34830 PyObject * obj0 = 0 ;
34831 PyObject * obj1 = 0 ;
d14a1e28
RD
34832 char *kwnames[] = {
34833 (char *) "row",(char *) "col", NULL
34834 };
34835
994141e6
RD
34836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBPosition",kwnames,&obj0,&obj1)) goto fail;
34837 if (obj0) {
34838 {
34839 arg1 = (int) SWIG_PyObj_AsInt(obj0);
34840 if (PyErr_Occurred()) SWIG_fail;
34841 }
34842 }
34843 if (obj1) {
34844 {
34845 arg2 = (int) SWIG_PyObj_AsInt(obj1);
34846 if (PyErr_Occurred()) SWIG_fail;
34847 }
34848 }
d14a1e28
RD
34849 {
34850 PyThreadState* __tstate = wxPyBeginAllowThreads();
34851 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
34852
34853 wxPyEndAllowThreads(__tstate);
34854 if (PyErr_Occurred()) SWIG_fail;
34855 }
34856 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBPosition, 1);
34857 return resultobj;
34858 fail:
34859 return NULL;
34860}
34861
34862
34863static PyObject *_wrap_GBPosition_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
34864 PyObject *resultobj;
34865 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
34866 int result;
34867 PyObject * obj0 = 0 ;
34868 char *kwnames[] = {
34869 (char *) "self", NULL
34870 };
34871
34872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
34873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34874 {
34875 PyThreadState* __tstate = wxPyBeginAllowThreads();
34876 result = (int)((wxGBPosition const *)arg1)->GetRow();
34877
34878 wxPyEndAllowThreads(__tstate);
34879 if (PyErr_Occurred()) SWIG_fail;
34880 }
994141e6 34881 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
34882 return resultobj;
34883 fail:
34884 return NULL;
34885}
34886
34887
34888static PyObject *_wrap_GBPosition_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
34889 PyObject *resultobj;
34890 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
34891 int result;
34892 PyObject * obj0 = 0 ;
34893 char *kwnames[] = {
34894 (char *) "self", NULL
34895 };
34896
34897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
34898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34899 {
34900 PyThreadState* __tstate = wxPyBeginAllowThreads();
34901 result = (int)((wxGBPosition const *)arg1)->GetCol();
34902
34903 wxPyEndAllowThreads(__tstate);
34904 if (PyErr_Occurred()) SWIG_fail;
34905 }
994141e6 34906 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
34907 return resultobj;
34908 fail:
34909 return NULL;
34910}
34911
34912
34913static PyObject *_wrap_GBPosition_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
34914 PyObject *resultobj;
34915 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
34916 int arg2 ;
34917 PyObject * obj0 = 0 ;
994141e6 34918 PyObject * obj1 = 0 ;
d14a1e28
RD
34919 char *kwnames[] = {
34920 (char *) "self",(char *) "row", NULL
34921 };
34922
994141e6 34923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetRow",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 34924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
34925 {
34926 arg2 = (int) SWIG_PyObj_AsInt(obj1);
34927 if (PyErr_Occurred()) SWIG_fail;
34928 }
d14a1e28
RD
34929 {
34930 PyThreadState* __tstate = wxPyBeginAllowThreads();
34931 (arg1)->SetRow(arg2);
34932
34933 wxPyEndAllowThreads(__tstate);
34934 if (PyErr_Occurred()) SWIG_fail;
34935 }
34936 Py_INCREF(Py_None); resultobj = Py_None;
34937 return resultobj;
34938 fail:
34939 return NULL;
34940}
34941
34942
34943static PyObject *_wrap_GBPosition_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
34944 PyObject *resultobj;
34945 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
34946 int arg2 ;
34947 PyObject * obj0 = 0 ;
994141e6 34948 PyObject * obj1 = 0 ;
d14a1e28
RD
34949 char *kwnames[] = {
34950 (char *) "self",(char *) "col", NULL
34951 };
34952
994141e6 34953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetCol",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 34954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
34955 {
34956 arg2 = (int) SWIG_PyObj_AsInt(obj1);
34957 if (PyErr_Occurred()) SWIG_fail;
34958 }
d14a1e28
RD
34959 {
34960 PyThreadState* __tstate = wxPyBeginAllowThreads();
34961 (arg1)->SetCol(arg2);
34962
34963 wxPyEndAllowThreads(__tstate);
34964 if (PyErr_Occurred()) SWIG_fail;
34965 }
34966 Py_INCREF(Py_None); resultobj = Py_None;
34967 return resultobj;
34968 fail:
34969 return NULL;
34970}
34971
34972
34973static PyObject *_wrap_GBPosition___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
34974 PyObject *resultobj;
34975 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
34976 wxGBPosition *arg2 = 0 ;
34977 bool result;
34978 wxGBPosition temp2 ;
34979 PyObject * obj0 = 0 ;
34980 PyObject * obj1 = 0 ;
34981 char *kwnames[] = {
34982 (char *) "self",(char *) "p", NULL
34983 };
34984
34985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
34986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34987 {
34988 arg2 = &temp2;
34989 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
34990 }
34991 {
34992 PyThreadState* __tstate = wxPyBeginAllowThreads();
34993 result = (bool)((wxGBPosition const *)arg1)->operator ==((wxGBPosition const &)*arg2);
34994
34995 wxPyEndAllowThreads(__tstate);
34996 if (PyErr_Occurred()) SWIG_fail;
34997 }
4d5c3d91 34998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
34999 return resultobj;
35000 fail:
35001 return NULL;
35002}
35003
35004
35005static PyObject *_wrap_GBPosition___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
35006 PyObject *resultobj;
35007 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35008 wxGBPosition *arg2 = 0 ;
35009 bool result;
35010 wxGBPosition temp2 ;
35011 PyObject * obj0 = 0 ;
35012 PyObject * obj1 = 0 ;
35013 char *kwnames[] = {
35014 (char *) "self",(char *) "p", NULL
35015 };
35016
35017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
35018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35019 {
35020 arg2 = &temp2;
35021 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
35022 }
35023 {
35024 PyThreadState* __tstate = wxPyBeginAllowThreads();
35025 result = (bool)((wxGBPosition const *)arg1)->operator !=((wxGBPosition const &)*arg2);
35026
35027 wxPyEndAllowThreads(__tstate);
35028 if (PyErr_Occurred()) SWIG_fail;
35029 }
4d5c3d91 35030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
35031 return resultobj;
35032 fail:
35033 return NULL;
35034}
35035
35036
e811c8ce
RD
35037static PyObject *_wrap_GBPosition_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
35038 PyObject *resultobj;
35039 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35040 int arg2 = (int) 0 ;
35041 int arg3 = (int) 0 ;
35042 PyObject * obj0 = 0 ;
994141e6
RD
35043 PyObject * obj1 = 0 ;
35044 PyObject * obj2 = 0 ;
e811c8ce
RD
35045 char *kwnames[] = {
35046 (char *) "self",(char *) "row",(char *) "col", NULL
35047 };
35048
994141e6 35049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBPosition_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
e811c8ce 35050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
35051 if (obj1) {
35052 {
35053 arg2 = (int) SWIG_PyObj_AsInt(obj1);
35054 if (PyErr_Occurred()) SWIG_fail;
35055 }
35056 }
35057 if (obj2) {
35058 {
35059 arg3 = (int) SWIG_PyObj_AsInt(obj2);
35060 if (PyErr_Occurred()) SWIG_fail;
35061 }
35062 }
e811c8ce
RD
35063 {
35064 PyThreadState* __tstate = wxPyBeginAllowThreads();
35065 wxGBPosition_Set(arg1,arg2,arg3);
35066
35067 wxPyEndAllowThreads(__tstate);
35068 if (PyErr_Occurred()) SWIG_fail;
35069 }
35070 Py_INCREF(Py_None); resultobj = Py_None;
35071 return resultobj;
35072 fail:
35073 return NULL;
35074}
35075
35076
35077static PyObject *_wrap_GBPosition_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35078 PyObject *resultobj;
35079 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35080 PyObject *result;
35081 PyObject * obj0 = 0 ;
35082 char *kwnames[] = {
35083 (char *) "self", NULL
35084 };
35085
e811c8ce 35086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
35087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35088 {
35089 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 35090 result = (PyObject *)wxGBPosition_Get(arg1);
d14a1e28
RD
35091
35092 wxPyEndAllowThreads(__tstate);
35093 if (PyErr_Occurred()) SWIG_fail;
35094 }
35095 resultobj = result;
35096 return resultobj;
35097 fail:
35098 return NULL;
35099}
35100
35101
35102static PyObject * GBPosition_swigregister(PyObject *self, PyObject *args) {
35103 PyObject *obj;
35104 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35105 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
35106 Py_INCREF(obj);
35107 return Py_BuildValue((char *)"");
35108}
35109static PyObject *_wrap_new_GBSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
35110 PyObject *resultobj;
35111 int arg1 = (int) 1 ;
35112 int arg2 = (int) 1 ;
35113 wxGBSpan *result;
994141e6
RD
35114 PyObject * obj0 = 0 ;
35115 PyObject * obj1 = 0 ;
d14a1e28
RD
35116 char *kwnames[] = {
35117 (char *) "rowspan",(char *) "colspan", NULL
35118 };
35119
994141e6
RD
35120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBSpan",kwnames,&obj0,&obj1)) goto fail;
35121 if (obj0) {
35122 {
35123 arg1 = (int) SWIG_PyObj_AsInt(obj0);
35124 if (PyErr_Occurred()) SWIG_fail;
35125 }
35126 }
35127 if (obj1) {
35128 {
35129 arg2 = (int) SWIG_PyObj_AsInt(obj1);
35130 if (PyErr_Occurred()) SWIG_fail;
35131 }
35132 }
d14a1e28
RD
35133 {
35134 PyThreadState* __tstate = wxPyBeginAllowThreads();
35135 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
35136
35137 wxPyEndAllowThreads(__tstate);
35138 if (PyErr_Occurred()) SWIG_fail;
35139 }
35140 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSpan, 1);
35141 return resultobj;
35142 fail:
35143 return NULL;
35144}
35145
35146
35147static PyObject *_wrap_GBSpan_GetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
35148 PyObject *resultobj;
35149 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
35150 int result;
35151 PyObject * obj0 = 0 ;
35152 char *kwnames[] = {
35153 (char *) "self", NULL
35154 };
35155
35156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
35157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35158 {
35159 PyThreadState* __tstate = wxPyBeginAllowThreads();
35160 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
35161
35162 wxPyEndAllowThreads(__tstate);
35163 if (PyErr_Occurred()) SWIG_fail;
35164 }
994141e6 35165 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
35166 return resultobj;
35167 fail:
35168 return NULL;
35169}
35170
35171
35172static PyObject *_wrap_GBSpan_GetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
35173 PyObject *resultobj;
35174 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
35175 int result;
35176 PyObject * obj0 = 0 ;
35177 char *kwnames[] = {
35178 (char *) "self", NULL
35179 };
35180
35181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
35182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35183 {
35184 PyThreadState* __tstate = wxPyBeginAllowThreads();
35185 result = (int)((wxGBSpan const *)arg1)->GetColspan();
35186
35187 wxPyEndAllowThreads(__tstate);
35188 if (PyErr_Occurred()) SWIG_fail;
35189 }
994141e6 35190 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
35191 return resultobj;
35192 fail:
35193 return NULL;
35194}
35195
35196
35197static PyObject *_wrap_GBSpan_SetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
35198 PyObject *resultobj;
35199 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
35200 int arg2 ;
35201 PyObject * obj0 = 0 ;
994141e6 35202 PyObject * obj1 = 0 ;
d14a1e28
RD
35203 char *kwnames[] = {
35204 (char *) "self",(char *) "rowspan", NULL
35205 };
35206
994141e6 35207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetRowspan",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 35208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
35209 {
35210 arg2 = (int) SWIG_PyObj_AsInt(obj1);
35211 if (PyErr_Occurred()) SWIG_fail;
35212 }
d14a1e28
RD
35213 {
35214 PyThreadState* __tstate = wxPyBeginAllowThreads();
35215 (arg1)->SetRowspan(arg2);
35216
35217 wxPyEndAllowThreads(__tstate);
35218 if (PyErr_Occurred()) SWIG_fail;
35219 }
35220 Py_INCREF(Py_None); resultobj = Py_None;
35221 return resultobj;
35222 fail:
35223 return NULL;
35224}
35225
35226
35227static PyObject *_wrap_GBSpan_SetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
35228 PyObject *resultobj;
35229 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
35230 int arg2 ;
35231 PyObject * obj0 = 0 ;
994141e6 35232 PyObject * obj1 = 0 ;
d14a1e28
RD
35233 char *kwnames[] = {
35234 (char *) "self",(char *) "colspan", NULL
35235 };
35236
994141e6 35237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetColspan",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 35238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
35239 {
35240 arg2 = (int) SWIG_PyObj_AsInt(obj1);
35241 if (PyErr_Occurred()) SWIG_fail;
35242 }
d14a1e28
RD
35243 {
35244 PyThreadState* __tstate = wxPyBeginAllowThreads();
35245 (arg1)->SetColspan(arg2);
35246
35247 wxPyEndAllowThreads(__tstate);
35248 if (PyErr_Occurred()) SWIG_fail;
35249 }
35250 Py_INCREF(Py_None); resultobj = Py_None;
35251 return resultobj;
35252 fail:
35253 return NULL;
35254}
35255
35256
35257static PyObject *_wrap_GBSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
35258 PyObject *resultobj;
35259 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
35260 wxGBSpan *arg2 = 0 ;
35261 bool result;
35262 wxGBSpan temp2 ;
35263 PyObject * obj0 = 0 ;
35264 PyObject * obj1 = 0 ;
35265 char *kwnames[] = {
35266 (char *) "self",(char *) "o", NULL
35267 };
35268
35269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
35270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35271 {
35272 arg2 = &temp2;
35273 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
35274 }
35275 {
35276 PyThreadState* __tstate = wxPyBeginAllowThreads();
35277 result = (bool)((wxGBSpan const *)arg1)->operator ==((wxGBSpan const &)*arg2);
35278
35279 wxPyEndAllowThreads(__tstate);
35280 if (PyErr_Occurred()) SWIG_fail;
35281 }
4d5c3d91 35282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
35283 return resultobj;
35284 fail:
35285 return NULL;
35286}
35287
35288
35289static PyObject *_wrap_GBSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
35290 PyObject *resultobj;
35291 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
35292 wxGBSpan *arg2 = 0 ;
35293 bool result;
35294 wxGBSpan temp2 ;
35295 PyObject * obj0 = 0 ;
35296 PyObject * obj1 = 0 ;
35297 char *kwnames[] = {
35298 (char *) "self",(char *) "o", NULL
35299 };
35300
35301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
35302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35303 {
35304 arg2 = &temp2;
35305 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
35306 }
35307 {
35308 PyThreadState* __tstate = wxPyBeginAllowThreads();
35309 result = (bool)((wxGBSpan const *)arg1)->operator !=((wxGBSpan const &)*arg2);
35310
35311 wxPyEndAllowThreads(__tstate);
35312 if (PyErr_Occurred()) SWIG_fail;
35313 }
4d5c3d91 35314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
35315 return resultobj;
35316 fail:
35317 return NULL;
35318}
35319
35320
e811c8ce
RD
35321static PyObject *_wrap_GBSpan_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
35322 PyObject *resultobj;
35323 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
35324 int arg2 = (int) 1 ;
35325 int arg3 = (int) 1 ;
35326 PyObject * obj0 = 0 ;
994141e6
RD
35327 PyObject * obj1 = 0 ;
35328 PyObject * obj2 = 0 ;
e811c8ce
RD
35329 char *kwnames[] = {
35330 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
35331 };
35332
994141e6 35333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBSpan_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
e811c8ce 35334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
35335 if (obj1) {
35336 {
35337 arg2 = (int) SWIG_PyObj_AsInt(obj1);
35338 if (PyErr_Occurred()) SWIG_fail;
35339 }
35340 }
35341 if (obj2) {
35342 {
35343 arg3 = (int) SWIG_PyObj_AsInt(obj2);
35344 if (PyErr_Occurred()) SWIG_fail;
35345 }
35346 }
e811c8ce
RD
35347 {
35348 PyThreadState* __tstate = wxPyBeginAllowThreads();
35349 wxGBSpan_Set(arg1,arg2,arg3);
35350
35351 wxPyEndAllowThreads(__tstate);
35352 if (PyErr_Occurred()) SWIG_fail;
35353 }
35354 Py_INCREF(Py_None); resultobj = Py_None;
35355 return resultobj;
35356 fail:
35357 return NULL;
35358}
35359
35360
35361static PyObject *_wrap_GBSpan_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35362 PyObject *resultobj;
35363 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
35364 PyObject *result;
35365 PyObject * obj0 = 0 ;
35366 char *kwnames[] = {
35367 (char *) "self", NULL
35368 };
35369
e811c8ce 35370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
35371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35372 {
35373 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 35374 result = (PyObject *)wxGBSpan_Get(arg1);
d14a1e28
RD
35375
35376 wxPyEndAllowThreads(__tstate);
35377 if (PyErr_Occurred()) SWIG_fail;
35378 }
35379 resultobj = result;
35380 return resultobj;
35381 fail:
35382 return NULL;
35383}
35384
35385
35386static PyObject * GBSpan_swigregister(PyObject *self, PyObject *args) {
35387 PyObject *obj;
35388 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35389 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
35390 Py_INCREF(obj);
35391 return Py_BuildValue((char *)"");
35392}
35393static int _wrap_DefaultSpan_set(PyObject *_val) {
35394 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
35395 return 1;
35396}
35397
35398
35399static PyObject *_wrap_DefaultSpan_get() {
35400 PyObject *pyobj;
35401
35402 pyobj = SWIG_NewPointerObj((void *) &wxDefaultSpan, SWIGTYPE_p_wxGBSpan, 0);
35403 return pyobj;
35404}
35405
35406
35407static PyObject *_wrap_new_GBSizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
35408 PyObject *resultobj;
35409 wxGBSizerItem *result;
35410 char *kwnames[] = {
35411 NULL
35412 };
35413
35414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
35415 {
35416 PyThreadState* __tstate = wxPyBeginAllowThreads();
35417 result = (wxGBSizerItem *)new wxGBSizerItem();
35418
35419 wxPyEndAllowThreads(__tstate);
35420 if (PyErr_Occurred()) SWIG_fail;
35421 }
35422 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
35423 return resultobj;
35424 fail:
35425 return NULL;
35426}
35427
35428
35429static PyObject *_wrap_new_GBSizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
35430 PyObject *resultobj;
35431 wxWindow *arg1 = (wxWindow *) 0 ;
35432 wxGBPosition *arg2 = 0 ;
35433 wxGBSpan *arg3 = 0 ;
35434 int arg4 ;
35435 int arg5 ;
35436 wxObject *arg6 = (wxObject *) 0 ;
35437 wxGBSizerItem *result;
35438 wxGBPosition temp2 ;
35439 wxGBSpan temp3 ;
35440 PyObject * obj0 = 0 ;
35441 PyObject * obj1 = 0 ;
35442 PyObject * obj2 = 0 ;
994141e6
RD
35443 PyObject * obj3 = 0 ;
35444 PyObject * obj4 = 0 ;
d14a1e28
RD
35445 PyObject * obj5 = 0 ;
35446 char *kwnames[] = {
35447 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
35448 };
35449
994141e6 35450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28
RD
35451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35452 {
35453 arg2 = &temp2;
35454 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
35455 }
35456 {
35457 arg3 = &temp3;
35458 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
35459 }
994141e6
RD
35460 {
35461 arg4 = (int) SWIG_PyObj_AsInt(obj3);
35462 if (PyErr_Occurred()) SWIG_fail;
35463 }
35464 {
35465 arg5 = (int) SWIG_PyObj_AsInt(obj4);
35466 if (PyErr_Occurred()) SWIG_fail;
35467 }
d14a1e28
RD
35468 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35469 {
35470 PyThreadState* __tstate = wxPyBeginAllowThreads();
35471 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
35472
35473 wxPyEndAllowThreads(__tstate);
35474 if (PyErr_Occurred()) SWIG_fail;
35475 }
35476 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
35477 return resultobj;
35478 fail:
35479 return NULL;
35480}
35481
35482
35483static PyObject *_wrap_new_GBSizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35484 PyObject *resultobj;
35485 wxSizer *arg1 = (wxSizer *) 0 ;
35486 wxGBPosition *arg2 = 0 ;
35487 wxGBSpan *arg3 = 0 ;
35488 int arg4 ;
35489 int arg5 ;
35490 wxObject *arg6 = (wxObject *) 0 ;
35491 wxGBSizerItem *result;
35492 wxGBPosition temp2 ;
35493 wxGBSpan temp3 ;
35494 PyObject * obj0 = 0 ;
35495 PyObject * obj1 = 0 ;
35496 PyObject * obj2 = 0 ;
994141e6
RD
35497 PyObject * obj3 = 0 ;
35498 PyObject * obj4 = 0 ;
d14a1e28
RD
35499 PyObject * obj5 = 0 ;
35500 char *kwnames[] = {
35501 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
35502 };
35503
994141e6 35504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28
RD
35505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35506 {
35507 arg2 = &temp2;
35508 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
35509 }
35510 {
35511 arg3 = &temp3;
35512 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
35513 }
994141e6
RD
35514 {
35515 arg4 = (int) SWIG_PyObj_AsInt(obj3);
35516 if (PyErr_Occurred()) SWIG_fail;
35517 }
35518 {
35519 arg5 = (int) SWIG_PyObj_AsInt(obj4);
35520 if (PyErr_Occurred()) SWIG_fail;
35521 }
d14a1e28
RD
35522 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35523 {
35524 PyThreadState* __tstate = wxPyBeginAllowThreads();
35525 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
35526
35527 wxPyEndAllowThreads(__tstate);
35528 if (PyErr_Occurred()) SWIG_fail;
35529 }
35530 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
35531 return resultobj;
35532 fail:
35533 return NULL;
35534}
35535
35536
35537static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
35538 PyObject *resultobj;
35539 int arg1 ;
35540 int arg2 ;
35541 wxGBPosition *arg3 = 0 ;
35542 wxGBSpan *arg4 = 0 ;
35543 int arg5 ;
35544 int arg6 ;
35545 wxObject *arg7 = (wxObject *) 0 ;
35546 wxGBSizerItem *result;
35547 wxGBPosition temp3 ;
35548 wxGBSpan temp4 ;
994141e6
RD
35549 PyObject * obj0 = 0 ;
35550 PyObject * obj1 = 0 ;
d14a1e28
RD
35551 PyObject * obj2 = 0 ;
35552 PyObject * obj3 = 0 ;
994141e6
RD
35553 PyObject * obj4 = 0 ;
35554 PyObject * obj5 = 0 ;
d14a1e28
RD
35555 PyObject * obj6 = 0 ;
35556 char *kwnames[] = {
35557 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
35558 };
35559
994141e6
RD
35560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
35561 {
35562 arg1 = (int) SWIG_PyObj_AsInt(obj0);
35563 if (PyErr_Occurred()) SWIG_fail;
35564 }
35565 {
35566 arg2 = (int) SWIG_PyObj_AsInt(obj1);
35567 if (PyErr_Occurred()) SWIG_fail;
35568 }
d14a1e28
RD
35569 {
35570 arg3 = &temp3;
35571 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
35572 }
35573 {
35574 arg4 = &temp4;
35575 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
35576 }
994141e6
RD
35577 {
35578 arg5 = (int) SWIG_PyObj_AsInt(obj4);
35579 if (PyErr_Occurred()) SWIG_fail;
35580 }
35581 {
35582 arg6 = (int) SWIG_PyObj_AsInt(obj5);
35583 if (PyErr_Occurred()) SWIG_fail;
35584 }
d14a1e28
RD
35585 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35586 {
35587 PyThreadState* __tstate = wxPyBeginAllowThreads();
35588 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
35589
35590 wxPyEndAllowThreads(__tstate);
35591 if (PyErr_Occurred()) SWIG_fail;
35592 }
35593 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
35594 return resultobj;
35595 fail:
35596 return NULL;
35597}
35598
35599
35600static PyObject *_wrap_GBSizerItem_GetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
35601 PyObject *resultobj;
35602 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
35603 wxGBPosition result;
35604 PyObject * obj0 = 0 ;
35605 char *kwnames[] = {
35606 (char *) "self", NULL
35607 };
35608
35609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
35610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35611 {
35612 PyThreadState* __tstate = wxPyBeginAllowThreads();
35613 result = ((wxGBSizerItem const *)arg1)->GetPos();
35614
35615 wxPyEndAllowThreads(__tstate);
35616 if (PyErr_Occurred()) SWIG_fail;
35617 }
35618 {
35619 wxGBPosition * resultptr;
35620 resultptr = new wxGBPosition((wxGBPosition &) result);
35621 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
35622 }
35623 return resultobj;
35624 fail:
35625 return NULL;
35626}
35627
35628
35629static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
35630 PyObject *resultobj;
35631 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
35632 wxGBSpan result;
35633 PyObject * obj0 = 0 ;
35634 char *kwnames[] = {
35635 (char *) "self", NULL
35636 };
35637
35638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
35639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35640 {
35641 PyThreadState* __tstate = wxPyBeginAllowThreads();
35642 result = ((wxGBSizerItem const *)arg1)->GetSpan();
35643
35644 wxPyEndAllowThreads(__tstate);
35645 if (PyErr_Occurred()) SWIG_fail;
35646 }
35647 {
35648 wxGBSpan * resultptr;
35649 resultptr = new wxGBSpan((wxGBSpan &) result);
35650 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
35651 }
35652 return resultobj;
35653 fail:
35654 return NULL;
35655}
35656
35657
35658static PyObject *_wrap_GBSizerItem_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
35659 PyObject *resultobj;
35660 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
35661 wxGBPosition *arg2 = 0 ;
35662 bool result;
35663 wxGBPosition temp2 ;
35664 PyObject * obj0 = 0 ;
35665 PyObject * obj1 = 0 ;
35666 char *kwnames[] = {
35667 (char *) "self",(char *) "pos", NULL
35668 };
35669
35670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
35671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35672 {
35673 arg2 = &temp2;
35674 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
35675 }
35676 {
35677 PyThreadState* __tstate = wxPyBeginAllowThreads();
35678 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
35679
35680 wxPyEndAllowThreads(__tstate);
35681 if (PyErr_Occurred()) SWIG_fail;
35682 }
4d5c3d91 35683 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
35684 return resultobj;
35685 fail:
35686 return NULL;
35687}
35688
35689
35690static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
35691 PyObject *resultobj;
35692 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
35693 wxGBSpan *arg2 = 0 ;
35694 bool result;
35695 wxGBSpan temp2 ;
35696 PyObject * obj0 = 0 ;
35697 PyObject * obj1 = 0 ;
35698 char *kwnames[] = {
35699 (char *) "self",(char *) "span", NULL
35700 };
35701
35702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
35703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35704 {
35705 arg2 = &temp2;
35706 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
35707 }
35708 {
35709 PyThreadState* __tstate = wxPyBeginAllowThreads();
35710 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
35711
35712 wxPyEndAllowThreads(__tstate);
35713 if (PyErr_Occurred()) SWIG_fail;
35714 }
4d5c3d91 35715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
35716 return resultobj;
35717 fail:
35718 return NULL;
35719}
35720
35721
35722static PyObject *_wrap_GBSizerItem_Intersects__SWIG_0(PyObject *self, PyObject *args) {
35723 PyObject *resultobj;
35724 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
35725 wxGBSizerItem *arg2 = 0 ;
35726 bool result;
35727 PyObject * obj0 = 0 ;
35728 PyObject * obj1 = 0 ;
35729
35730 if(!PyArg_ParseTuple(args,(char *)"OO:GBSizerItem_Intersects",&obj0,&obj1)) goto fail;
35731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35732 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35733 if (arg2 == NULL) {
35734 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
35735 }
35736 {
35737 PyThreadState* __tstate = wxPyBeginAllowThreads();
35738 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
35739
35740 wxPyEndAllowThreads(__tstate);
35741 if (PyErr_Occurred()) SWIG_fail;
35742 }
4d5c3d91 35743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
35744 return resultobj;
35745 fail:
35746 return NULL;
35747}
35748
35749
35750static PyObject *_wrap_GBSizerItem_Intersects__SWIG_1(PyObject *self, PyObject *args) {
35751 PyObject *resultobj;
35752 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
35753 wxGBPosition *arg2 = 0 ;
35754 wxGBSpan *arg3 = 0 ;
35755 bool result;
35756 wxGBPosition temp2 ;
35757 wxGBSpan temp3 ;
35758 PyObject * obj0 = 0 ;
35759 PyObject * obj1 = 0 ;
35760 PyObject * obj2 = 0 ;
35761
35762 if(!PyArg_ParseTuple(args,(char *)"OOO:GBSizerItem_Intersects",&obj0,&obj1,&obj2)) goto fail;
35763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35764 {
35765 arg2 = &temp2;
35766 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
35767 }
35768 {
35769 arg3 = &temp3;
35770 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
35771 }
35772 {
35773 PyThreadState* __tstate = wxPyBeginAllowThreads();
35774 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
35775
35776 wxPyEndAllowThreads(__tstate);
35777 if (PyErr_Occurred()) SWIG_fail;
35778 }
4d5c3d91 35779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
35780 return resultobj;
35781 fail:
35782 return NULL;
35783}
35784
35785
35786static PyObject *_wrap_GBSizerItem_Intersects(PyObject *self, PyObject *args) {
35787 int argc;
35788 PyObject *argv[4];
35789 int ii;
35790
35791 argc = PyObject_Length(args);
35792 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
35793 argv[ii] = PyTuple_GetItem(args,ii);
35794 }
35795 if (argc == 2) {
35796 int _v;
35797 {
35798 void *ptr;
35799 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
35800 _v = 0;
35801 PyErr_Clear();
35802 } else {
35803 _v = 1;
35804 }
35805 }
35806 if (_v) {
35807 {
35808 void *ptr;
35809 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
35810 _v = 0;
35811 PyErr_Clear();
35812 } else {
35813 _v = 1;
35814 }
35815 }
35816 if (_v) {
35817 return _wrap_GBSizerItem_Intersects__SWIG_0(self,args);
35818 }
35819 }
35820 }
35821 if (argc == 3) {
35822 int _v;
35823 {
35824 void *ptr;
35825 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
35826 _v = 0;
35827 PyErr_Clear();
35828 } else {
35829 _v = 1;
35830 }
35831 }
35832 if (_v) {
35833 {
35834 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
35835 }
35836 if (_v) {
35837 {
35838 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
35839 }
35840 if (_v) {
35841 return _wrap_GBSizerItem_Intersects__SWIG_1(self,args);
35842 }
35843 }
35844 }
35845 }
35846
35847 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GBSizerItem_Intersects'");
35848 return NULL;
35849}
35850
35851
35852static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *self, PyObject *args, PyObject *kwargs) {
35853 PyObject *resultobj;
35854 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
35855 int *arg2 = 0 ;
35856 int *arg3 = 0 ;
35857 PyObject * obj0 = 0 ;
35858 PyObject * obj1 = 0 ;
35859 PyObject * obj2 = 0 ;
35860 char *kwnames[] = {
35861 (char *) "self",(char *) "row",(char *) "col", NULL
35862 };
35863
35864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_GetEndPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
35865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35866 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35867 if (arg2 == NULL) {
35868 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
35869 }
35870 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35871 if (arg3 == NULL) {
35872 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
35873 }
35874 {
35875 PyThreadState* __tstate = wxPyBeginAllowThreads();
35876 (arg1)->GetEndPos(*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_GBSizerItem_GetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35889 PyObject *resultobj;
35890 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
35891 wxGridBagSizer *result;
35892 PyObject * obj0 = 0 ;
35893 char *kwnames[] = {
35894 (char *) "self", NULL
35895 };
35896
35897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
35898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35899 {
35900 PyThreadState* __tstate = wxPyBeginAllowThreads();
35901 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
35902
35903 wxPyEndAllowThreads(__tstate);
35904 if (PyErr_Occurred()) SWIG_fail;
35905 }
35906 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridBagSizer, 0);
35907 return resultobj;
35908 fail:
35909 return NULL;
35910}
35911
35912
35913static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35914 PyObject *resultobj;
35915 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
35916 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
35917 PyObject * obj0 = 0 ;
35918 PyObject * obj1 = 0 ;
35919 char *kwnames[] = {
35920 (char *) "self",(char *) "sizer", NULL
35921 };
35922
35923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
35924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35925 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35926 {
35927 PyThreadState* __tstate = wxPyBeginAllowThreads();
35928 (arg1)->SetGBSizer(arg2);
35929
35930 wxPyEndAllowThreads(__tstate);
35931 if (PyErr_Occurred()) SWIG_fail;
35932 }
35933 Py_INCREF(Py_None); resultobj = Py_None;
35934 return resultobj;
35935 fail:
35936 return NULL;
35937}
35938
35939
35940static PyObject * GBSizerItem_swigregister(PyObject *self, PyObject *args) {
35941 PyObject *obj;
35942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35943 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
35944 Py_INCREF(obj);
35945 return Py_BuildValue((char *)"");
35946}
35947static PyObject *_wrap_new_GridBagSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35948 PyObject *resultobj;
35949 int arg1 = (int) 0 ;
35950 int arg2 = (int) 0 ;
35951 wxGridBagSizer *result;
994141e6
RD
35952 PyObject * obj0 = 0 ;
35953 PyObject * obj1 = 0 ;
d14a1e28
RD
35954 char *kwnames[] = {
35955 (char *) "vgap",(char *) "hgap", NULL
35956 };
35957
994141e6
RD
35958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridBagSizer",kwnames,&obj0,&obj1)) goto fail;
35959 if (obj0) {
35960 {
35961 arg1 = (int) SWIG_PyObj_AsInt(obj0);
35962 if (PyErr_Occurred()) SWIG_fail;
35963 }
35964 }
35965 if (obj1) {
35966 {
35967 arg2 = (int) SWIG_PyObj_AsInt(obj1);
35968 if (PyErr_Occurred()) SWIG_fail;
35969 }
35970 }
d14a1e28
RD
35971 {
35972 PyThreadState* __tstate = wxPyBeginAllowThreads();
35973 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
35974
35975 wxPyEndAllowThreads(__tstate);
35976 if (PyErr_Occurred()) SWIG_fail;
35977 }
35978 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridBagSizer, 1);
35979 return resultobj;
35980 fail:
35981 return NULL;
35982}
35983
35984
35985static PyObject *_wrap_GridBagSizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
35986 PyObject *resultobj;
35987 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
35988 PyObject *arg2 = (PyObject *) 0 ;
35989 wxGBPosition *arg3 = 0 ;
35990 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
35991 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
35992 int arg5 = (int) 0 ;
35993 int arg6 = (int) 0 ;
35994 PyObject *arg7 = (PyObject *) NULL ;
35995 bool result;
35996 wxGBPosition temp3 ;
35997 wxGBSpan temp4 ;
35998 PyObject * obj0 = 0 ;
35999 PyObject * obj1 = 0 ;
36000 PyObject * obj2 = 0 ;
36001 PyObject * obj3 = 0 ;
994141e6
RD
36002 PyObject * obj4 = 0 ;
36003 PyObject * obj5 = 0 ;
d14a1e28
RD
36004 PyObject * obj6 = 0 ;
36005 char *kwnames[] = {
36006 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36007 };
36008
994141e6 36009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28
RD
36010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
36011 arg2 = obj1;
36012 {
36013 arg3 = &temp3;
36014 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
36015 }
36016 if (obj3) {
36017 {
36018 arg4 = &temp4;
36019 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
36020 }
36021 }
994141e6
RD
36022 if (obj4) {
36023 {
36024 arg5 = (int) SWIG_PyObj_AsInt(obj4);
36025 if (PyErr_Occurred()) SWIG_fail;
36026 }
36027 }
36028 if (obj5) {
36029 {
36030 arg6 = (int) SWIG_PyObj_AsInt(obj5);
36031 if (PyErr_Occurred()) SWIG_fail;
36032 }
36033 }
d14a1e28
RD
36034 if (obj6) {
36035 arg7 = obj6;
36036 }
36037 {
36038 PyThreadState* __tstate = wxPyBeginAllowThreads();
36039 result = (bool)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
36040
36041 wxPyEndAllowThreads(__tstate);
36042 if (PyErr_Occurred()) SWIG_fail;
36043 }
4d5c3d91 36044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
36045 return resultobj;
36046 fail:
36047 return NULL;
36048}
36049
36050
36051static PyObject *_wrap_GridBagSizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
36052 PyObject *resultobj;
36053 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36054 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
36055 bool result;
36056 PyObject * obj0 = 0 ;
36057 PyObject * obj1 = 0 ;
36058 char *kwnames[] = {
36059 (char *) "self",(char *) "item", NULL
36060 };
36061
36062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
36063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
36064 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
36065 {
36066 PyThreadState* __tstate = wxPyBeginAllowThreads();
36067 result = (bool)(arg1)->Add(arg2);
36068
36069 wxPyEndAllowThreads(__tstate);
36070 if (PyErr_Occurred()) SWIG_fail;
36071 }
4d5c3d91 36072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
36073 return resultobj;
36074 fail:
36075 return NULL;
36076}
36077
36078
36079static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
36080 PyObject *resultobj;
36081 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36082 wxSize result;
36083 PyObject * obj0 = 0 ;
36084 char *kwnames[] = {
36085 (char *) "self", NULL
36086 };
36087
36088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
36089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
36090 {
36091 PyThreadState* __tstate = wxPyBeginAllowThreads();
36092 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
36093
36094 wxPyEndAllowThreads(__tstate);
36095 if (PyErr_Occurred()) SWIG_fail;
36096 }
36097 {
36098 wxSize * resultptr;
36099 resultptr = new wxSize((wxSize &) result);
36100 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
36101 }
36102 return resultobj;
36103 fail:
36104 return NULL;
36105}
36106
36107
36108static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
36109 PyObject *resultobj;
36110 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36111 wxSize *arg2 = 0 ;
36112 wxSize temp2 ;
36113 PyObject * obj0 = 0 ;
36114 PyObject * obj1 = 0 ;
36115 char *kwnames[] = {
36116 (char *) "self",(char *) "sz", NULL
36117 };
36118
36119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
36120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
36121 {
36122 arg2 = &temp2;
36123 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
36124 }
36125 {
36126 PyThreadState* __tstate = wxPyBeginAllowThreads();
36127 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
36128
36129 wxPyEndAllowThreads(__tstate);
36130 if (PyErr_Occurred()) SWIG_fail;
36131 }
36132 Py_INCREF(Py_None); resultobj = Py_None;
36133 return resultobj;
36134 fail:
36135 return NULL;
36136}
36137
36138
36139static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
36140 PyObject *resultobj;
36141 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36142 wxWindow *arg2 = (wxWindow *) 0 ;
36143 wxGBPosition result;
36144 PyObject * obj0 = 0 ;
36145 PyObject * obj1 = 0 ;
36146
36147 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
36148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
36149 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
36150 {
36151 PyThreadState* __tstate = wxPyBeginAllowThreads();
36152 result = (arg1)->GetItemPosition(arg2);
36153
36154 wxPyEndAllowThreads(__tstate);
36155 if (PyErr_Occurred()) SWIG_fail;
36156 }
36157 {
36158 wxGBPosition * resultptr;
36159 resultptr = new wxGBPosition((wxGBPosition &) result);
36160 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
36161 }
36162 return resultobj;
36163 fail:
36164 return NULL;
36165}
36166
36167
36168static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
36169 PyObject *resultobj;
36170 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36171 wxSizer *arg2 = (wxSizer *) 0 ;
36172 wxGBPosition result;
36173 PyObject * obj0 = 0 ;
36174 PyObject * obj1 = 0 ;
36175
36176 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
36177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
36178 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
36179 {
36180 PyThreadState* __tstate = wxPyBeginAllowThreads();
36181 result = (arg1)->GetItemPosition(arg2);
36182
36183 wxPyEndAllowThreads(__tstate);
36184 if (PyErr_Occurred()) SWIG_fail;
36185 }
36186 {
36187 wxGBPosition * resultptr;
36188 resultptr = new wxGBPosition((wxGBPosition &) result);
36189 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
36190 }
36191 return resultobj;
36192 fail:
36193 return NULL;
36194}
36195
36196
36197static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
36198 PyObject *resultobj;
36199 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36200 size_t arg2 ;
36201 wxGBPosition result;
36202 PyObject * obj0 = 0 ;
36203 PyObject * obj1 = 0 ;
36204
36205 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
36206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 36207 {
994141e6 36208 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
a41e16b6
RD
36209 if (PyErr_Occurred()) SWIG_fail;
36210 }
d14a1e28
RD
36211 {
36212 PyThreadState* __tstate = wxPyBeginAllowThreads();
36213 result = (arg1)->GetItemPosition(arg2);
36214
36215 wxPyEndAllowThreads(__tstate);
36216 if (PyErr_Occurred()) SWIG_fail;
36217 }
36218 {
36219 wxGBPosition * resultptr;
36220 resultptr = new wxGBPosition((wxGBPosition &) result);
36221 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
36222 }
36223 return resultobj;
36224 fail:
36225 return NULL;
36226}
36227
36228
36229static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
36230 int argc;
36231 PyObject *argv[3];
36232 int ii;
36233
36234 argc = PyObject_Length(args);
36235 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
36236 argv[ii] = PyTuple_GetItem(args,ii);
36237 }
36238 if (argc == 2) {
36239 int _v;
36240 {
36241 void *ptr;
36242 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
36243 _v = 0;
36244 PyErr_Clear();
36245 } else {
36246 _v = 1;
36247 }
36248 }
36249 if (_v) {
36250 {
36251 void *ptr;
36252 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
36253 _v = 0;
36254 PyErr_Clear();
36255 } else {
36256 _v = 1;
36257 }
36258 }
36259 if (_v) {
36260 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
36261 }
36262 }
36263 }
36264 if (argc == 2) {
36265 int _v;
36266 {
36267 void *ptr;
36268 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
36269 _v = 0;
36270 PyErr_Clear();
36271 } else {
36272 _v = 1;
36273 }
36274 }
36275 if (_v) {
36276 {
36277 void *ptr;
36278 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
36279 _v = 0;
36280 PyErr_Clear();
36281 } else {
36282 _v = 1;
36283 }
36284 }
36285 if (_v) {
36286 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
36287 }
36288 }
36289 }
36290 if (argc == 2) {
36291 int _v;
36292 {
36293 void *ptr;
36294 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
36295 _v = 0;
36296 PyErr_Clear();
36297 } else {
36298 _v = 1;
36299 }
36300 }
36301 if (_v) {
36302 {
994141e6 36303 SWIG_PyObj_AsUnsignedLong(argv[1]);
a41e16b6
RD
36304 if (PyErr_Occurred()) {
36305 _v = 0;
36306 PyErr_Clear();
36307 } else {
36308 _v = 1;
36309 }
d14a1e28
RD
36310 }
36311 if (_v) {
36312 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
36313 }
36314 }
36315 }
36316
36317 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
36318 return NULL;
36319}
36320
36321
36322static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
36323 PyObject *resultobj;
36324 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36325 wxWindow *arg2 = (wxWindow *) 0 ;
36326 wxGBPosition *arg3 = 0 ;
36327 bool result;
36328 wxGBPosition temp3 ;
36329 PyObject * obj0 = 0 ;
36330 PyObject * obj1 = 0 ;
36331 PyObject * obj2 = 0 ;
36332
36333 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
36334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
36335 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
36336 {
36337 arg3 = &temp3;
36338 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
36339 }
36340 {
36341 PyThreadState* __tstate = wxPyBeginAllowThreads();
36342 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
36343
36344 wxPyEndAllowThreads(__tstate);
36345 if (PyErr_Occurred()) SWIG_fail;
36346 }
4d5c3d91 36347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
36348 return resultobj;
36349 fail:
36350 return NULL;
36351}
36352
36353
36354static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
36355 PyObject *resultobj;
36356 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36357 wxSizer *arg2 = (wxSizer *) 0 ;
36358 wxGBPosition *arg3 = 0 ;
36359 bool result;
36360 wxGBPosition temp3 ;
36361 PyObject * obj0 = 0 ;
36362 PyObject * obj1 = 0 ;
36363 PyObject * obj2 = 0 ;
36364
36365 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
36366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
36367 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
36368 {
36369 arg3 = &temp3;
36370 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
36371 }
36372 {
36373 PyThreadState* __tstate = wxPyBeginAllowThreads();
36374 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
36375
36376 wxPyEndAllowThreads(__tstate);
36377 if (PyErr_Occurred()) SWIG_fail;
36378 }
4d5c3d91 36379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
36380 return resultobj;
36381 fail:
36382 return NULL;
36383}
36384
36385
36386static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
36387 PyObject *resultobj;
36388 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36389 size_t arg2 ;
36390 wxGBPosition *arg3 = 0 ;
36391 bool result;
36392 wxGBPosition temp3 ;
36393 PyObject * obj0 = 0 ;
36394 PyObject * obj1 = 0 ;
36395 PyObject * obj2 = 0 ;
36396
36397 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
36398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 36399 {
994141e6 36400 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
a41e16b6
RD
36401 if (PyErr_Occurred()) SWIG_fail;
36402 }
d14a1e28
RD
36403 {
36404 arg3 = &temp3;
36405 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
36406 }
36407 {
36408 PyThreadState* __tstate = wxPyBeginAllowThreads();
36409 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
36410
36411 wxPyEndAllowThreads(__tstate);
36412 if (PyErr_Occurred()) SWIG_fail;
36413 }
4d5c3d91 36414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
36415 return resultobj;
36416 fail:
36417 return NULL;
36418}
36419
36420
36421static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
36422 int argc;
36423 PyObject *argv[4];
36424 int ii;
36425
36426 argc = PyObject_Length(args);
36427 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
36428 argv[ii] = PyTuple_GetItem(args,ii);
36429 }
36430 if (argc == 3) {
36431 int _v;
36432 {
36433 void *ptr;
36434 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
36435 _v = 0;
36436 PyErr_Clear();
36437 } else {
36438 _v = 1;
36439 }
36440 }
36441 if (_v) {
36442 {
36443 void *ptr;
36444 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
36445 _v = 0;
36446 PyErr_Clear();
36447 } else {
36448 _v = 1;
36449 }
36450 }
36451 if (_v) {
36452 {
36453 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
36454 }
36455 if (_v) {
36456 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
36457 }
36458 }
36459 }
36460 }
36461 if (argc == 3) {
36462 int _v;
36463 {
36464 void *ptr;
36465 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
36466 _v = 0;
36467 PyErr_Clear();
36468 } else {
36469 _v = 1;
36470 }
36471 }
36472 if (_v) {
36473 {
36474 void *ptr;
36475 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
36476 _v = 0;
36477 PyErr_Clear();
36478 } else {
36479 _v = 1;
36480 }
36481 }
36482 if (_v) {
36483 {
36484 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
36485 }
36486 if (_v) {
36487 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
36488 }
36489 }
36490 }
36491 }
36492 if (argc == 3) {
36493 int _v;
36494 {
36495 void *ptr;
36496 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
36497 _v = 0;
36498 PyErr_Clear();
36499 } else {
36500 _v = 1;
36501 }
36502 }
36503 if (_v) {
36504 {
994141e6 36505 SWIG_PyObj_AsUnsignedLong(argv[1]);
a41e16b6
RD
36506 if (PyErr_Occurred()) {
36507 _v = 0;
36508 PyErr_Clear();
36509 } else {
36510 _v = 1;
36511 }
d14a1e28
RD
36512 }
36513 if (_v) {
36514 {
36515 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
36516 }
36517 if (_v) {
36518 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
36519 }
36520 }
36521 }
36522 }
36523
36524 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
36525 return NULL;
36526}
36527
36528
36529static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
36530 PyObject *resultobj;
36531 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36532 wxWindow *arg2 = (wxWindow *) 0 ;
36533 wxGBSpan result;
36534 PyObject * obj0 = 0 ;
36535 PyObject * obj1 = 0 ;
36536
36537 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
36538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
36539 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
36540 {
36541 PyThreadState* __tstate = wxPyBeginAllowThreads();
36542 result = (arg1)->GetItemSpan(arg2);
36543
36544 wxPyEndAllowThreads(__tstate);
36545 if (PyErr_Occurred()) SWIG_fail;
36546 }
36547 {
36548 wxGBSpan * resultptr;
36549 resultptr = new wxGBSpan((wxGBSpan &) result);
36550 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
36551 }
36552 return resultobj;
36553 fail:
36554 return NULL;
36555}
36556
36557
36558static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
36559 PyObject *resultobj;
36560 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36561 wxSizer *arg2 = (wxSizer *) 0 ;
36562 wxGBSpan result;
36563 PyObject * obj0 = 0 ;
36564 PyObject * obj1 = 0 ;
36565
36566 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
36567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
36568 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
36569 {
36570 PyThreadState* __tstate = wxPyBeginAllowThreads();
36571 result = (arg1)->GetItemSpan(arg2);
36572
36573 wxPyEndAllowThreads(__tstate);
36574 if (PyErr_Occurred()) SWIG_fail;
36575 }
36576 {
36577 wxGBSpan * resultptr;
36578 resultptr = new wxGBSpan((wxGBSpan &) result);
36579 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
36580 }
36581 return resultobj;
36582 fail:
36583 return NULL;
36584}
36585
36586
36587static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
36588 PyObject *resultobj;
36589 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36590 size_t arg2 ;
36591 wxGBSpan result;
36592 PyObject * obj0 = 0 ;
36593 PyObject * obj1 = 0 ;
36594
36595 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
36596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 36597 {
994141e6 36598 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
a41e16b6
RD
36599 if (PyErr_Occurred()) SWIG_fail;
36600 }
d14a1e28
RD
36601 {
36602 PyThreadState* __tstate = wxPyBeginAllowThreads();
36603 result = (arg1)->GetItemSpan(arg2);
36604
36605 wxPyEndAllowThreads(__tstate);
36606 if (PyErr_Occurred()) SWIG_fail;
36607 }
36608 {
36609 wxGBSpan * resultptr;
36610 resultptr = new wxGBSpan((wxGBSpan &) result);
36611 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
36612 }
36613 return resultobj;
36614 fail:
36615 return NULL;
36616}
36617
36618
36619static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
36620 int argc;
36621 PyObject *argv[3];
36622 int ii;
36623
36624 argc = PyObject_Length(args);
36625 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
36626 argv[ii] = PyTuple_GetItem(args,ii);
36627 }
36628 if (argc == 2) {
36629 int _v;
36630 {
36631 void *ptr;
36632 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
36633 _v = 0;
36634 PyErr_Clear();
36635 } else {
36636 _v = 1;
36637 }
36638 }
36639 if (_v) {
36640 {
36641 void *ptr;
36642 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
36643 _v = 0;
36644 PyErr_Clear();
36645 } else {
36646 _v = 1;
36647 }
36648 }
36649 if (_v) {
36650 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
36651 }
36652 }
36653 }
36654 if (argc == 2) {
36655 int _v;
36656 {
36657 void *ptr;
36658 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
36659 _v = 0;
36660 PyErr_Clear();
36661 } else {
36662 _v = 1;
36663 }
36664 }
36665 if (_v) {
36666 {
36667 void *ptr;
36668 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
36669 _v = 0;
36670 PyErr_Clear();
36671 } else {
36672 _v = 1;
36673 }
36674 }
36675 if (_v) {
36676 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
36677 }
36678 }
36679 }
36680 if (argc == 2) {
36681 int _v;
36682 {
36683 void *ptr;
36684 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
36685 _v = 0;
36686 PyErr_Clear();
36687 } else {
36688 _v = 1;
36689 }
36690 }
36691 if (_v) {
36692 {
994141e6 36693 SWIG_PyObj_AsUnsignedLong(argv[1]);
a41e16b6
RD
36694 if (PyErr_Occurred()) {
36695 _v = 0;
36696 PyErr_Clear();
36697 } else {
36698 _v = 1;
36699 }
d14a1e28
RD
36700 }
36701 if (_v) {
36702 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
36703 }
36704 }
36705 }
36706
36707 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
36708 return NULL;
36709}
36710
36711
36712static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
36713 PyObject *resultobj;
36714 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36715 wxWindow *arg2 = (wxWindow *) 0 ;
36716 wxGBSpan *arg3 = 0 ;
36717 bool result;
36718 wxGBSpan temp3 ;
36719 PyObject * obj0 = 0 ;
36720 PyObject * obj1 = 0 ;
36721 PyObject * obj2 = 0 ;
36722
36723 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
36724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
36725 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
36726 {
36727 arg3 = &temp3;
36728 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
36729 }
36730 {
36731 PyThreadState* __tstate = wxPyBeginAllowThreads();
36732 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
36733
36734 wxPyEndAllowThreads(__tstate);
36735 if (PyErr_Occurred()) SWIG_fail;
36736 }
4d5c3d91 36737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
36738 return resultobj;
36739 fail:
36740 return NULL;
36741}
36742
36743
36744static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
36745 PyObject *resultobj;
36746 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36747 wxSizer *arg2 = (wxSizer *) 0 ;
36748 wxGBSpan *arg3 = 0 ;
36749 bool result;
36750 wxGBSpan temp3 ;
36751 PyObject * obj0 = 0 ;
36752 PyObject * obj1 = 0 ;
36753 PyObject * obj2 = 0 ;
36754
36755 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
36756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
36757 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
36758 {
36759 arg3 = &temp3;
36760 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
36761 }
36762 {
36763 PyThreadState* __tstate = wxPyBeginAllowThreads();
36764 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
36765
36766 wxPyEndAllowThreads(__tstate);
36767 if (PyErr_Occurred()) SWIG_fail;
36768 }
4d5c3d91 36769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
36770 return resultobj;
36771 fail:
36772 return NULL;
36773}
36774
36775
36776static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
36777 PyObject *resultobj;
36778 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36779 size_t arg2 ;
36780 wxGBSpan *arg3 = 0 ;
36781 bool result;
36782 wxGBSpan temp3 ;
36783 PyObject * obj0 = 0 ;
36784 PyObject * obj1 = 0 ;
36785 PyObject * obj2 = 0 ;
36786
36787 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
36788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 36789 {
994141e6 36790 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
a41e16b6
RD
36791 if (PyErr_Occurred()) SWIG_fail;
36792 }
d14a1e28
RD
36793 {
36794 arg3 = &temp3;
36795 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
36796 }
36797 {
36798 PyThreadState* __tstate = wxPyBeginAllowThreads();
36799 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
36800
36801 wxPyEndAllowThreads(__tstate);
36802 if (PyErr_Occurred()) SWIG_fail;
36803 }
4d5c3d91 36804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
36805 return resultobj;
36806 fail:
36807 return NULL;
36808}
36809
36810
36811static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
36812 int argc;
36813 PyObject *argv[4];
36814 int ii;
36815
36816 argc = PyObject_Length(args);
36817 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
36818 argv[ii] = PyTuple_GetItem(args,ii);
36819 }
36820 if (argc == 3) {
36821 int _v;
36822 {
36823 void *ptr;
36824 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
36825 _v = 0;
36826 PyErr_Clear();
36827 } else {
36828 _v = 1;
36829 }
36830 }
36831 if (_v) {
36832 {
36833 void *ptr;
36834 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
36835 _v = 0;
36836 PyErr_Clear();
36837 } else {
36838 _v = 1;
36839 }
36840 }
36841 if (_v) {
36842 {
36843 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
36844 }
36845 if (_v) {
36846 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
36847 }
36848 }
36849 }
36850 }
36851 if (argc == 3) {
36852 int _v;
36853 {
36854 void *ptr;
36855 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
36856 _v = 0;
36857 PyErr_Clear();
36858 } else {
36859 _v = 1;
36860 }
36861 }
36862 if (_v) {
36863 {
36864 void *ptr;
36865 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
36866 _v = 0;
36867 PyErr_Clear();
36868 } else {
36869 _v = 1;
36870 }
36871 }
36872 if (_v) {
36873 {
36874 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
36875 }
36876 if (_v) {
36877 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
36878 }
36879 }
36880 }
36881 }
36882 if (argc == 3) {
36883 int _v;
36884 {
36885 void *ptr;
36886 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
36887 _v = 0;
36888 PyErr_Clear();
36889 } else {
36890 _v = 1;
36891 }
36892 }
36893 if (_v) {
36894 {
994141e6 36895 SWIG_PyObj_AsUnsignedLong(argv[1]);
a41e16b6
RD
36896 if (PyErr_Occurred()) {
36897 _v = 0;
36898 PyErr_Clear();
36899 } else {
36900 _v = 1;
36901 }
d14a1e28
RD
36902 }
36903 if (_v) {
36904 {
36905 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
36906 }
36907 if (_v) {
36908 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
36909 }
36910 }
36911 }
36912 }
36913
36914 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
36915 return NULL;
36916}
36917
36918
36919static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *self, PyObject *args) {
36920 PyObject *resultobj;
36921 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36922 wxWindow *arg2 = (wxWindow *) 0 ;
36923 wxGBSizerItem *result;
36924 PyObject * obj0 = 0 ;
36925 PyObject * obj1 = 0 ;
36926
36927 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
36928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
36929 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
36930 {
36931 PyThreadState* __tstate = wxPyBeginAllowThreads();
36932 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
36933
36934 wxPyEndAllowThreads(__tstate);
36935 if (PyErr_Occurred()) SWIG_fail;
36936 }
36937 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
36938 return resultobj;
36939 fail:
36940 return NULL;
36941}
36942
36943
36944static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *self, PyObject *args) {
36945 PyObject *resultobj;
36946 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36947 wxSizer *arg2 = (wxSizer *) 0 ;
36948 wxGBSizerItem *result;
36949 PyObject * obj0 = 0 ;
36950 PyObject * obj1 = 0 ;
36951
36952 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
36953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
36954 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
36955 {
36956 PyThreadState* __tstate = wxPyBeginAllowThreads();
36957 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
36958
36959 wxPyEndAllowThreads(__tstate);
36960 if (PyErr_Occurred()) SWIG_fail;
36961 }
36962 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
36963 return resultobj;
36964 fail:
36965 return NULL;
36966}
36967
36968
36969static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
36970 int argc;
36971 PyObject *argv[3];
36972 int ii;
36973
36974 argc = PyObject_Length(args);
36975 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
36976 argv[ii] = PyTuple_GetItem(args,ii);
36977 }
36978 if (argc == 2) {
36979 int _v;
36980 {
36981 void *ptr;
36982 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
36983 _v = 0;
36984 PyErr_Clear();
36985 } else {
36986 _v = 1;
36987 }
36988 }
36989 if (_v) {
36990 {
36991 void *ptr;
36992 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
36993 _v = 0;
36994 PyErr_Clear();
36995 } else {
36996 _v = 1;
36997 }
36998 }
36999 if (_v) {
37000 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
37001 }
37002 }
37003 }
37004 if (argc == 2) {
37005 int _v;
37006 {
37007 void *ptr;
37008 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
37009 _v = 0;
37010 PyErr_Clear();
37011 } else {
37012 _v = 1;
37013 }
37014 }
37015 if (_v) {
37016 {
37017 void *ptr;
37018 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
37019 _v = 0;
37020 PyErr_Clear();
37021 } else {
37022 _v = 1;
37023 }
37024 }
37025 if (_v) {
37026 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
37027 }
37028 }
37029 }
37030
37031 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_FindItem'");
37032 return NULL;
37033}
37034
37035
37036static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
37037 PyObject *resultobj;
37038 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37039 wxGBPosition *arg2 = 0 ;
37040 wxGBSizerItem *result;
37041 wxGBPosition temp2 ;
37042 PyObject * obj0 = 0 ;
37043 PyObject * obj1 = 0 ;
37044 char *kwnames[] = {
37045 (char *) "self",(char *) "pos", NULL
37046 };
37047
37048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
37049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
37050 {
37051 arg2 = &temp2;
37052 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37053 }
37054 {
37055 PyThreadState* __tstate = wxPyBeginAllowThreads();
37056 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
37057
37058 wxPyEndAllowThreads(__tstate);
37059 if (PyErr_Occurred()) SWIG_fail;
37060 }
37061 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
37062 return resultobj;
37063 fail:
37064 return NULL;
37065}
37066
37067
e811c8ce
RD
37068static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
37069 PyObject *resultobj;
37070 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37071 wxPoint *arg2 = 0 ;
37072 wxGBSizerItem *result;
37073 wxPoint temp2 ;
37074 PyObject * obj0 = 0 ;
37075 PyObject * obj1 = 0 ;
37076 char *kwnames[] = {
37077 (char *) "self",(char *) "pt", NULL
37078 };
37079
37080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
37081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
37082 {
37083 arg2 = &temp2;
37084 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
37085 }
37086 {
37087 PyThreadState* __tstate = wxPyBeginAllowThreads();
37088 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
37089
37090 wxPyEndAllowThreads(__tstate);
37091 if (PyErr_Occurred()) SWIG_fail;
37092 }
37093 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
37094 return resultobj;
37095 fail:
37096 return NULL;
37097}
37098
37099
d14a1e28
RD
37100static PyObject *_wrap_GridBagSizer_FindItemWithData(PyObject *self, PyObject *args, PyObject *kwargs) {
37101 PyObject *resultobj;
37102 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37103 wxObject *arg2 = (wxObject *) 0 ;
37104 wxGBSizerItem *result;
37105 PyObject * obj0 = 0 ;
37106 PyObject * obj1 = 0 ;
37107 char *kwnames[] = {
37108 (char *) "self",(char *) "userData", NULL
37109 };
37110
37111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemWithData",kwnames,&obj0,&obj1)) goto fail;
37112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
37113 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
37114 {
37115 PyThreadState* __tstate = wxPyBeginAllowThreads();
37116 result = (wxGBSizerItem *)(arg1)->FindItemWithData((wxObject const *)arg2);
37117
37118 wxPyEndAllowThreads(__tstate);
37119 if (PyErr_Occurred()) SWIG_fail;
37120 }
37121 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
37122 return resultobj;
37123 fail:
37124 return NULL;
37125}
37126
37127
37128static PyObject *_wrap_GridBagSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
37129 PyObject *resultobj;
37130 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37131 PyObject * obj0 = 0 ;
37132 char *kwnames[] = {
37133 (char *) "self", NULL
37134 };
37135
37136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_RecalcSizes",kwnames,&obj0)) goto fail;
37137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
37138 {
37139 PyThreadState* __tstate = wxPyBeginAllowThreads();
37140 (arg1)->RecalcSizes();
37141
37142 wxPyEndAllowThreads(__tstate);
37143 if (PyErr_Occurred()) SWIG_fail;
37144 }
37145 Py_INCREF(Py_None); resultobj = Py_None;
37146 return resultobj;
37147 fail:
37148 return NULL;
37149}
37150
37151
37152static PyObject *_wrap_GridBagSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
37153 PyObject *resultobj;
37154 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37155 wxSize result;
37156 PyObject * obj0 = 0 ;
37157 char *kwnames[] = {
37158 (char *) "self", NULL
37159 };
37160
37161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_CalcMin",kwnames,&obj0)) goto fail;
37162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
37163 {
37164 PyThreadState* __tstate = wxPyBeginAllowThreads();
37165 result = (arg1)->CalcMin();
37166
37167 wxPyEndAllowThreads(__tstate);
37168 if (PyErr_Occurred()) SWIG_fail;
37169 }
37170 {
37171 wxSize * resultptr;
37172 resultptr = new wxSize((wxSize &) result);
37173 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
37174 }
37175 return resultobj;
37176 fail:
37177 return NULL;
37178}
37179
37180
37181static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject *self, PyObject *args) {
37182 PyObject *resultobj;
37183 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37184 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
37185 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
37186 bool result;
37187 PyObject * obj0 = 0 ;
37188 PyObject * obj1 = 0 ;
37189 PyObject * obj2 = 0 ;
37190
37191 if(!PyArg_ParseTuple(args,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2)) goto fail;
37192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
37193 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
37194 if (obj2) {
37195 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
37196 }
37197 {
37198 PyThreadState* __tstate = wxPyBeginAllowThreads();
37199 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
37200
37201 wxPyEndAllowThreads(__tstate);
37202 if (PyErr_Occurred()) SWIG_fail;
37203 }
4d5c3d91 37204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
37205 return resultobj;
37206 fail:
37207 return NULL;
37208}
37209
37210
37211static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject *self, PyObject *args) {
37212 PyObject *resultobj;
37213 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37214 wxGBPosition *arg2 = 0 ;
37215 wxGBSpan *arg3 = 0 ;
37216 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
37217 bool result;
37218 wxGBPosition temp2 ;
37219 wxGBSpan temp3 ;
37220 PyObject * obj0 = 0 ;
37221 PyObject * obj1 = 0 ;
37222 PyObject * obj2 = 0 ;
37223 PyObject * obj3 = 0 ;
37224
37225 if(!PyArg_ParseTuple(args,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2,&obj3)) goto fail;
37226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
37227 {
37228 arg2 = &temp2;
37229 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37230 }
37231 {
37232 arg3 = &temp3;
37233 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37234 }
37235 if (obj3) {
37236 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
37237 }
37238 {
37239 PyThreadState* __tstate = wxPyBeginAllowThreads();
37240 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
37241
37242 wxPyEndAllowThreads(__tstate);
37243 if (PyErr_Occurred()) SWIG_fail;
37244 }
4d5c3d91 37245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
37246 return resultobj;
37247 fail:
37248 return NULL;
37249}
37250
37251
37252static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *self, PyObject *args) {
37253 int argc;
37254 PyObject *argv[5];
37255 int ii;
37256
37257 argc = PyObject_Length(args);
37258 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
37259 argv[ii] = PyTuple_GetItem(args,ii);
37260 }
37261 if ((argc >= 2) && (argc <= 3)) {
37262 int _v;
37263 {
37264 void *ptr;
37265 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
37266 _v = 0;
37267 PyErr_Clear();
37268 } else {
37269 _v = 1;
37270 }
37271 }
37272 if (_v) {
37273 {
37274 void *ptr;
37275 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
37276 _v = 0;
37277 PyErr_Clear();
37278 } else {
37279 _v = 1;
37280 }
37281 }
37282 if (_v) {
37283 if (argc <= 2) {
37284 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
37285 }
37286 {
37287 void *ptr;
37288 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
37289 _v = 0;
37290 PyErr_Clear();
37291 } else {
37292 _v = 1;
37293 }
37294 }
37295 if (_v) {
37296 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
37297 }
37298 }
37299 }
37300 }
37301 if ((argc >= 3) && (argc <= 4)) {
37302 int _v;
37303 {
37304 void *ptr;
37305 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
37306 _v = 0;
37307 PyErr_Clear();
37308 } else {
37309 _v = 1;
37310 }
37311 }
37312 if (_v) {
37313 {
37314 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
37315 }
37316 if (_v) {
37317 {
37318 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
37319 }
37320 if (_v) {
37321 if (argc <= 3) {
37322 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
37323 }
37324 {
37325 void *ptr;
37326 if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
37327 _v = 0;
37328 PyErr_Clear();
37329 } else {
37330 _v = 1;
37331 }
37332 }
37333 if (_v) {
37334 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
37335 }
37336 }
37337 }
37338 }
37339 }
37340
37341 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
37342 return NULL;
37343}
37344
37345
37346static PyObject * GridBagSizer_swigregister(PyObject *self, PyObject *args) {
37347 PyObject *obj;
37348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37349 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
37350 Py_INCREF(obj);
37351 return Py_BuildValue((char *)"");
37352}
37353static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
37354 PyObject *resultobj;
37355 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37356 int arg2 ;
37357 wxWindow *arg3 = (wxWindow *) 0 ;
37358 int arg4 ;
37359 int arg5 = (int) 0 ;
37360 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
37361 PyObject * obj0 = 0 ;
994141e6 37362 PyObject * obj1 = 0 ;
d14a1e28 37363 PyObject * obj2 = 0 ;
994141e6
RD
37364 PyObject * obj3 = 0 ;
37365 PyObject * obj4 = 0 ;
37366 PyObject * obj5 = 0 ;
d14a1e28
RD
37367 char *kwnames[] = {
37368 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
37369 };
37370
994141e6 37371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 37372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
37373 {
37374 arg2 = (wxRelationship) SWIG_PyObj_AsInt(obj1);
37375 if (PyErr_Occurred()) SWIG_fail;
37376 }
d14a1e28 37377 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
37378 {
37379 arg4 = (wxEdge) SWIG_PyObj_AsInt(obj3);
37380 if (PyErr_Occurred()) SWIG_fail;
37381 }
37382 if (obj4) {
37383 {
37384 arg5 = (int) SWIG_PyObj_AsInt(obj4);
37385 if (PyErr_Occurred()) SWIG_fail;
37386 }
37387 }
37388 if (obj5) {
37389 {
37390 arg6 = (int) SWIG_PyObj_AsInt(obj5);
37391 if (PyErr_Occurred()) SWIG_fail;
37392 }
37393 }
d14a1e28
RD
37394 {
37395 PyThreadState* __tstate = wxPyBeginAllowThreads();
37396 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
37397
37398 wxPyEndAllowThreads(__tstate);
37399 if (PyErr_Occurred()) SWIG_fail;
37400 }
37401 Py_INCREF(Py_None); resultobj = Py_None;
37402 return resultobj;
37403 fail:
37404 return NULL;
37405}
37406
37407
37408static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args, PyObject *kwargs) {
37409 PyObject *resultobj;
37410 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37411 wxWindow *arg2 = (wxWindow *) 0 ;
37412 int arg3 = (int) 0 ;
37413 PyObject * obj0 = 0 ;
37414 PyObject * obj1 = 0 ;
994141e6 37415 PyObject * obj2 = 0 ;
d14a1e28
RD
37416 char *kwnames[] = {
37417 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37418 };
37419
994141e6 37420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
37421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
37422 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
37423 if (obj2) {
37424 {
37425 arg3 = (int) SWIG_PyObj_AsInt(obj2);
37426 if (PyErr_Occurred()) SWIG_fail;
37427 }
37428 }
d14a1e28
RD
37429 {
37430 PyThreadState* __tstate = wxPyBeginAllowThreads();
37431 (arg1)->LeftOf(arg2,arg3);
37432
37433 wxPyEndAllowThreads(__tstate);
37434 if (PyErr_Occurred()) SWIG_fail;
37435 }
37436 Py_INCREF(Py_None); resultobj = Py_None;
37437 return resultobj;
37438 fail:
37439 return NULL;
37440}
37441
37442
37443static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args, PyObject *kwargs) {
37444 PyObject *resultobj;
37445 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37446 wxWindow *arg2 = (wxWindow *) 0 ;
37447 int arg3 = (int) 0 ;
37448 PyObject * obj0 = 0 ;
37449 PyObject * obj1 = 0 ;
994141e6 37450 PyObject * obj2 = 0 ;
d14a1e28
RD
37451 char *kwnames[] = {
37452 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37453 };
37454
994141e6 37455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
37456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
37457 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
37458 if (obj2) {
37459 {
37460 arg3 = (int) SWIG_PyObj_AsInt(obj2);
37461 if (PyErr_Occurred()) SWIG_fail;
37462 }
37463 }
d14a1e28
RD
37464 {
37465 PyThreadState* __tstate = wxPyBeginAllowThreads();
37466 (arg1)->RightOf(arg2,arg3);
37467
37468 wxPyEndAllowThreads(__tstate);
37469 if (PyErr_Occurred()) SWIG_fail;
37470 }
37471 Py_INCREF(Py_None); resultobj = Py_None;
37472 return resultobj;
37473 fail:
37474 return NULL;
37475}
37476
37477
37478static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *self, PyObject *args, PyObject *kwargs) {
37479 PyObject *resultobj;
37480 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37481 wxWindow *arg2 = (wxWindow *) 0 ;
37482 int arg3 = (int) 0 ;
37483 PyObject * obj0 = 0 ;
37484 PyObject * obj1 = 0 ;
994141e6 37485 PyObject * obj2 = 0 ;
d14a1e28
RD
37486 char *kwnames[] = {
37487 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37488 };
37489
994141e6 37490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
37491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
37492 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
37493 if (obj2) {
37494 {
37495 arg3 = (int) SWIG_PyObj_AsInt(obj2);
37496 if (PyErr_Occurred()) SWIG_fail;
37497 }
37498 }
d14a1e28
RD
37499 {
37500 PyThreadState* __tstate = wxPyBeginAllowThreads();
37501 (arg1)->Above(arg2,arg3);
37502
37503 wxPyEndAllowThreads(__tstate);
37504 if (PyErr_Occurred()) SWIG_fail;
37505 }
37506 Py_INCREF(Py_None); resultobj = Py_None;
37507 return resultobj;
37508 fail:
37509 return NULL;
37510}
37511
37512
37513static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *self, PyObject *args, PyObject *kwargs) {
37514 PyObject *resultobj;
37515 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37516 wxWindow *arg2 = (wxWindow *) 0 ;
37517 int arg3 = (int) 0 ;
37518 PyObject * obj0 = 0 ;
37519 PyObject * obj1 = 0 ;
994141e6 37520 PyObject * obj2 = 0 ;
d14a1e28
RD
37521 char *kwnames[] = {
37522 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37523 };
37524
994141e6 37525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
37526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
37527 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
37528 if (obj2) {
37529 {
37530 arg3 = (int) SWIG_PyObj_AsInt(obj2);
37531 if (PyErr_Occurred()) SWIG_fail;
37532 }
37533 }
d14a1e28
RD
37534 {
37535 PyThreadState* __tstate = wxPyBeginAllowThreads();
37536 (arg1)->Below(arg2,arg3);
37537
37538 wxPyEndAllowThreads(__tstate);
37539 if (PyErr_Occurred()) SWIG_fail;
37540 }
37541 Py_INCREF(Py_None); resultobj = Py_None;
37542 return resultobj;
37543 fail:
37544 return NULL;
37545}
37546
37547
37548static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args, PyObject *kwargs) {
37549 PyObject *resultobj;
37550 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37551 wxWindow *arg2 = (wxWindow *) 0 ;
37552 int arg3 ;
37553 int arg4 = (int) 0 ;
37554 PyObject * obj0 = 0 ;
37555 PyObject * obj1 = 0 ;
994141e6
RD
37556 PyObject * obj2 = 0 ;
37557 PyObject * obj3 = 0 ;
d14a1e28
RD
37558 char *kwnames[] = {
37559 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
37560 };
37561
994141e6 37562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
37563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
37564 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
37565 {
37566 arg3 = (wxEdge) SWIG_PyObj_AsInt(obj2);
37567 if (PyErr_Occurred()) SWIG_fail;
37568 }
37569 if (obj3) {
37570 {
37571 arg4 = (int) SWIG_PyObj_AsInt(obj3);
37572 if (PyErr_Occurred()) SWIG_fail;
37573 }
37574 }
d14a1e28
RD
37575 {
37576 PyThreadState* __tstate = wxPyBeginAllowThreads();
37577 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
37578
37579 wxPyEndAllowThreads(__tstate);
37580 if (PyErr_Occurred()) SWIG_fail;
37581 }
37582 Py_INCREF(Py_None); resultobj = Py_None;
37583 return resultobj;
37584 fail:
37585 return NULL;
37586}
37587
37588
37589static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args, PyObject *kwargs) {
37590 PyObject *resultobj;
37591 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37592 wxWindow *arg2 = (wxWindow *) 0 ;
37593 int arg3 ;
37594 int arg4 ;
37595 PyObject * obj0 = 0 ;
37596 PyObject * obj1 = 0 ;
994141e6
RD
37597 PyObject * obj2 = 0 ;
37598 PyObject * obj3 = 0 ;
d14a1e28
RD
37599 char *kwnames[] = {
37600 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
37601 };
37602
994141e6 37603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
37604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
37605 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
37606 {
37607 arg3 = (wxEdge) SWIG_PyObj_AsInt(obj2);
37608 if (PyErr_Occurred()) SWIG_fail;
37609 }
37610 {
37611 arg4 = (int) SWIG_PyObj_AsInt(obj3);
37612 if (PyErr_Occurred()) SWIG_fail;
37613 }
d14a1e28
RD
37614 {
37615 PyThreadState* __tstate = wxPyBeginAllowThreads();
37616 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
37617
37618 wxPyEndAllowThreads(__tstate);
37619 if (PyErr_Occurred()) SWIG_fail;
37620 }
37621 Py_INCREF(Py_None); resultobj = Py_None;
37622 return resultobj;
37623 fail:
37624 return NULL;
37625}
37626
37627
37628static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args, PyObject *kwargs) {
37629 PyObject *resultobj;
37630 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37631 int arg2 ;
37632 PyObject * obj0 = 0 ;
994141e6 37633 PyObject * obj1 = 0 ;
d14a1e28
RD
37634 char *kwnames[] = {
37635 (char *) "self",(char *) "val", NULL
37636 };
37637
994141e6 37638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 37639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
37640 {
37641 arg2 = (int) SWIG_PyObj_AsInt(obj1);
37642 if (PyErr_Occurred()) SWIG_fail;
37643 }
d14a1e28
RD
37644 {
37645 PyThreadState* __tstate = wxPyBeginAllowThreads();
37646 (arg1)->Absolute(arg2);
37647
37648 wxPyEndAllowThreads(__tstate);
37649 if (PyErr_Occurred()) SWIG_fail;
37650 }
37651 Py_INCREF(Py_None); resultobj = Py_None;
37652 return resultobj;
37653 fail:
37654 return NULL;
37655}
37656
37657
37658static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args, PyObject *kwargs) {
37659 PyObject *resultobj;
37660 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37661 PyObject * obj0 = 0 ;
37662 char *kwnames[] = {
37663 (char *) "self", NULL
37664 };
37665
37666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
37667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
37668 {
37669 PyThreadState* __tstate = wxPyBeginAllowThreads();
37670 (arg1)->Unconstrained();
37671
37672 wxPyEndAllowThreads(__tstate);
37673 if (PyErr_Occurred()) SWIG_fail;
37674 }
37675 Py_INCREF(Py_None); resultobj = Py_None;
37676 return resultobj;
37677 fail:
37678 return NULL;
37679}
37680
37681
37682static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args, PyObject *kwargs) {
37683 PyObject *resultobj;
37684 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37685 PyObject * obj0 = 0 ;
37686 char *kwnames[] = {
37687 (char *) "self", NULL
37688 };
37689
37690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
37691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
37692 {
37693 PyThreadState* __tstate = wxPyBeginAllowThreads();
37694 (arg1)->AsIs();
37695
37696 wxPyEndAllowThreads(__tstate);
37697 if (PyErr_Occurred()) SWIG_fail;
37698 }
37699 Py_INCREF(Py_None); resultobj = Py_None;
37700 return resultobj;
37701 fail:
37702 return NULL;
37703}
37704
37705
37706static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
37707 PyObject *resultobj;
37708 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37709 wxWindow *result;
37710 PyObject * obj0 = 0 ;
37711 char *kwnames[] = {
37712 (char *) "self", NULL
37713 };
37714
37715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
37716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
37717 {
37718 PyThreadState* __tstate = wxPyBeginAllowThreads();
37719 result = (wxWindow *)(arg1)->GetOtherWindow();
37720
37721 wxPyEndAllowThreads(__tstate);
37722 if (PyErr_Occurred()) SWIG_fail;
37723 }
37724 {
37725 resultobj = wxPyMake_wxObject(result);
37726 }
37727 return resultobj;
37728 fail:
37729 return NULL;
37730}
37731
37732
37733static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
37734 PyObject *resultobj;
37735 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37736 int result;
37737 PyObject * obj0 = 0 ;
37738 char *kwnames[] = {
37739 (char *) "self", NULL
37740 };
37741
37742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
37743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
37744 {
37745 PyThreadState* __tstate = wxPyBeginAllowThreads();
37746 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
37747
37748 wxPyEndAllowThreads(__tstate);
37749 if (PyErr_Occurred()) SWIG_fail;
37750 }
994141e6 37751 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
37752 return resultobj;
37753 fail:
37754 return NULL;
37755}
37756
37757
37758static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
37759 PyObject *resultobj;
37760 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37761 int arg2 ;
37762 PyObject * obj0 = 0 ;
994141e6 37763 PyObject * obj1 = 0 ;
d14a1e28
RD
37764 char *kwnames[] = {
37765 (char *) "self",(char *) "which", NULL
37766 };
37767
994141e6 37768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 37769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
37770 {
37771 arg2 = (wxEdge) SWIG_PyObj_AsInt(obj1);
37772 if (PyErr_Occurred()) SWIG_fail;
37773 }
d14a1e28
RD
37774 {
37775 PyThreadState* __tstate = wxPyBeginAllowThreads();
37776 (arg1)->SetEdge((wxEdge )arg2);
37777
37778 wxPyEndAllowThreads(__tstate);
37779 if (PyErr_Occurred()) SWIG_fail;
37780 }
37781 Py_INCREF(Py_None); resultobj = Py_None;
37782 return resultobj;
37783 fail:
37784 return NULL;
37785}
37786
37787
37788static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
37789 PyObject *resultobj;
37790 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37791 int arg2 ;
37792 PyObject * obj0 = 0 ;
994141e6 37793 PyObject * obj1 = 0 ;
d14a1e28
RD
37794 char *kwnames[] = {
37795 (char *) "self",(char *) "v", NULL
37796 };
37797
994141e6 37798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 37799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
37800 {
37801 arg2 = (int) SWIG_PyObj_AsInt(obj1);
37802 if (PyErr_Occurred()) SWIG_fail;
37803 }
d14a1e28
RD
37804 {
37805 PyThreadState* __tstate = wxPyBeginAllowThreads();
37806 (arg1)->SetValue(arg2);
37807
37808 wxPyEndAllowThreads(__tstate);
37809 if (PyErr_Occurred()) SWIG_fail;
37810 }
37811 Py_INCREF(Py_None); resultobj = Py_None;
37812 return resultobj;
37813 fail:
37814 return NULL;
37815}
37816
37817
37818static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
37819 PyObject *resultobj;
37820 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37821 int result;
37822 PyObject * obj0 = 0 ;
37823 char *kwnames[] = {
37824 (char *) "self", NULL
37825 };
37826
37827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
37828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
37829 {
37830 PyThreadState* __tstate = wxPyBeginAllowThreads();
37831 result = (int)(arg1)->GetMargin();
37832
37833 wxPyEndAllowThreads(__tstate);
37834 if (PyErr_Occurred()) SWIG_fail;
37835 }
994141e6 37836 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
37837 return resultobj;
37838 fail:
37839 return NULL;
37840}
37841
37842
37843static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
37844 PyObject *resultobj;
37845 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37846 int arg2 ;
37847 PyObject * obj0 = 0 ;
994141e6 37848 PyObject * obj1 = 0 ;
d14a1e28
RD
37849 char *kwnames[] = {
37850 (char *) "self",(char *) "m", NULL
37851 };
37852
994141e6 37853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 37854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
37855 {
37856 arg2 = (int) SWIG_PyObj_AsInt(obj1);
37857 if (PyErr_Occurred()) SWIG_fail;
37858 }
d14a1e28
RD
37859 {
37860 PyThreadState* __tstate = wxPyBeginAllowThreads();
37861 (arg1)->SetMargin(arg2);
37862
37863 wxPyEndAllowThreads(__tstate);
37864 if (PyErr_Occurred()) SWIG_fail;
37865 }
37866 Py_INCREF(Py_None); resultobj = Py_None;
37867 return resultobj;
37868 fail:
37869 return NULL;
37870}
37871
37872
37873static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
37874 PyObject *resultobj;
37875 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37876 int result;
37877 PyObject * obj0 = 0 ;
37878 char *kwnames[] = {
37879 (char *) "self", NULL
37880 };
37881
37882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
37883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
37884 {
37885 PyThreadState* __tstate = wxPyBeginAllowThreads();
37886 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
37887
37888 wxPyEndAllowThreads(__tstate);
37889 if (PyErr_Occurred()) SWIG_fail;
37890 }
994141e6 37891 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
37892 return resultobj;
37893 fail:
37894 return NULL;
37895}
37896
37897
37898static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *self, PyObject *args, PyObject *kwargs) {
37899 PyObject *resultobj;
37900 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37901 int result;
37902 PyObject * obj0 = 0 ;
37903 char *kwnames[] = {
37904 (char *) "self", NULL
37905 };
37906
37907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
37908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
37909 {
37910 PyThreadState* __tstate = wxPyBeginAllowThreads();
37911 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
37912
37913 wxPyEndAllowThreads(__tstate);
37914 if (PyErr_Occurred()) SWIG_fail;
37915 }
994141e6 37916 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
37917 return resultobj;
37918 fail:
37919 return NULL;
37920}
37921
37922
37923static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
37924 PyObject *resultobj;
37925 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37926 int result;
37927 PyObject * obj0 = 0 ;
37928 char *kwnames[] = {
37929 (char *) "self", NULL
37930 };
37931
37932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
37933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
37934 {
37935 PyThreadState* __tstate = wxPyBeginAllowThreads();
37936 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
37937
37938 wxPyEndAllowThreads(__tstate);
37939 if (PyErr_Occurred()) SWIG_fail;
37940 }
994141e6 37941 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
37942 return resultobj;
37943 fail:
37944 return NULL;
37945}
37946
37947
37948static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
37949 PyObject *resultobj;
37950 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37951 bool result;
37952 PyObject * obj0 = 0 ;
37953 char *kwnames[] = {
37954 (char *) "self", NULL
37955 };
37956
37957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
37958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
37959 {
37960 PyThreadState* __tstate = wxPyBeginAllowThreads();
37961 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
37962
37963 wxPyEndAllowThreads(__tstate);
37964 if (PyErr_Occurred()) SWIG_fail;
37965 }
4d5c3d91 37966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
37967 return resultobj;
37968 fail:
37969 return NULL;
37970}
37971
37972
37973static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
37974 PyObject *resultobj;
37975 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37976 bool arg2 ;
37977 PyObject * obj0 = 0 ;
37978 PyObject * obj1 = 0 ;
37979 char *kwnames[] = {
37980 (char *) "self",(char *) "d", NULL
37981 };
37982
37983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
37984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 37985 {
994141e6 37986 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
37987 if (PyErr_Occurred()) SWIG_fail;
37988 }
d14a1e28
RD
37989 {
37990 PyThreadState* __tstate = wxPyBeginAllowThreads();
37991 (arg1)->SetDone(arg2);
37992
37993 wxPyEndAllowThreads(__tstate);
37994 if (PyErr_Occurred()) SWIG_fail;
37995 }
37996 Py_INCREF(Py_None); resultobj = Py_None;
37997 return resultobj;
37998 fail:
37999 return NULL;
38000}
38001
38002
38003static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
38004 PyObject *resultobj;
38005 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38006 int result;
38007 PyObject * obj0 = 0 ;
38008 char *kwnames[] = {
38009 (char *) "self", NULL
38010 };
38011
38012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
38013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
38014 {
38015 PyThreadState* __tstate = wxPyBeginAllowThreads();
38016 result = (int)(arg1)->GetRelationship();
38017
38018 wxPyEndAllowThreads(__tstate);
38019 if (PyErr_Occurred()) SWIG_fail;
38020 }
994141e6 38021 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
38022 return resultobj;
38023 fail:
38024 return NULL;
38025}
38026
38027
38028static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
38029 PyObject *resultobj;
38030 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38031 int arg2 ;
38032 PyObject * obj0 = 0 ;
994141e6 38033 PyObject * obj1 = 0 ;
d14a1e28
RD
38034 char *kwnames[] = {
38035 (char *) "self",(char *) "r", NULL
38036 };
38037
994141e6 38038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 38039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
38040 {
38041 arg2 = (wxRelationship) SWIG_PyObj_AsInt(obj1);
38042 if (PyErr_Occurred()) SWIG_fail;
38043 }
d14a1e28
RD
38044 {
38045 PyThreadState* __tstate = wxPyBeginAllowThreads();
38046 (arg1)->SetRelationship((wxRelationship )arg2);
38047
38048 wxPyEndAllowThreads(__tstate);
38049 if (PyErr_Occurred()) SWIG_fail;
38050 }
38051 Py_INCREF(Py_None); resultobj = Py_None;
38052 return resultobj;
38053 fail:
38054 return NULL;
38055}
38056
38057
38058static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *self, PyObject *args, PyObject *kwargs) {
38059 PyObject *resultobj;
38060 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38061 wxWindow *arg2 = (wxWindow *) 0 ;
38062 bool result;
38063 PyObject * obj0 = 0 ;
38064 PyObject * obj1 = 0 ;
38065 char *kwnames[] = {
38066 (char *) "self",(char *) "otherW", NULL
38067 };
38068
38069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail;
38070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
38071 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
38072 {
38073 PyThreadState* __tstate = wxPyBeginAllowThreads();
38074 result = (bool)(arg1)->ResetIfWin(arg2);
38075
38076 wxPyEndAllowThreads(__tstate);
38077 if (PyErr_Occurred()) SWIG_fail;
38078 }
4d5c3d91 38079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
38080 return resultobj;
38081 fail:
38082 return NULL;
38083}
38084
38085
38086static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
38087 PyObject *resultobj;
38088 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38089 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
38090 wxWindow *arg3 = (wxWindow *) 0 ;
38091 bool result;
38092 PyObject * obj0 = 0 ;
38093 PyObject * obj1 = 0 ;
38094 PyObject * obj2 = 0 ;
38095 char *kwnames[] = {
38096 (char *) "self",(char *) "constraints",(char *) "win", NULL
38097 };
38098
38099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
38100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
38101 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
38102 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
38103 {
38104 PyThreadState* __tstate = wxPyBeginAllowThreads();
38105 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
38106
38107 wxPyEndAllowThreads(__tstate);
38108 if (PyErr_Occurred()) SWIG_fail;
38109 }
4d5c3d91 38110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
38111 return resultobj;
38112 fail:
38113 return NULL;
38114}
38115
38116
38117static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
38118 PyObject *resultobj;
38119 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38120 int arg2 ;
38121 wxWindow *arg3 = (wxWindow *) 0 ;
38122 wxWindow *arg4 = (wxWindow *) 0 ;
38123 int result;
38124 PyObject * obj0 = 0 ;
994141e6 38125 PyObject * obj1 = 0 ;
d14a1e28
RD
38126 PyObject * obj2 = 0 ;
38127 PyObject * obj3 = 0 ;
38128 char *kwnames[] = {
38129 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
38130 };
38131
994141e6 38132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 38133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
38134 {
38135 arg2 = (wxEdge) SWIG_PyObj_AsInt(obj1);
38136 if (PyErr_Occurred()) SWIG_fail;
38137 }
d14a1e28
RD
38138 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
38139 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
38140 {
38141 PyThreadState* __tstate = wxPyBeginAllowThreads();
38142 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
38143
38144 wxPyEndAllowThreads(__tstate);
38145 if (PyErr_Occurred()) SWIG_fail;
38146 }
994141e6 38147 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
38148 return resultobj;
38149 fail:
38150 return NULL;
38151}
38152
38153
38154static PyObject * IndividualLayoutConstraint_swigregister(PyObject *self, PyObject *args) {
38155 PyObject *obj;
38156 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
38157 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
38158 Py_INCREF(obj);
38159 return Py_BuildValue((char *)"");
38160}
38161static PyObject *_wrap_LayoutConstraints_left_get(PyObject *self, PyObject *args, PyObject *kwargs) {
38162 PyObject *resultobj;
38163 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
38164 wxIndividualLayoutConstraint *result;
38165 PyObject * obj0 = 0 ;
38166 char *kwnames[] = {
38167 (char *) "self", NULL
38168 };
38169
38170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
38171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
38172 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
38173
38174 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
38175 return resultobj;
38176 fail:
38177 return NULL;
38178}
38179
38180
38181static PyObject *_wrap_LayoutConstraints_top_get(PyObject *self, PyObject *args, PyObject *kwargs) {
38182 PyObject *resultobj;
38183 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
38184 wxIndividualLayoutConstraint *result;
38185 PyObject * obj0 = 0 ;
38186 char *kwnames[] = {
38187 (char *) "self", NULL
38188 };
38189
38190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
38191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
38192 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
38193
38194 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
38195 return resultobj;
38196 fail:
38197 return NULL;
38198}
38199
38200
38201static PyObject *_wrap_LayoutConstraints_right_get(PyObject *self, PyObject *args, PyObject *kwargs) {
38202 PyObject *resultobj;
38203 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
38204 wxIndividualLayoutConstraint *result;
38205 PyObject * obj0 = 0 ;
38206 char *kwnames[] = {
38207 (char *) "self", NULL
38208 };
38209
38210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
38211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
38212 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
38213
38214 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
38215 return resultobj;
38216 fail:
38217 return NULL;
38218}
38219
38220
38221static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *self, PyObject *args, PyObject *kwargs) {
38222 PyObject *resultobj;
38223 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
38224 wxIndividualLayoutConstraint *result;
38225 PyObject * obj0 = 0 ;
38226 char *kwnames[] = {
38227 (char *) "self", NULL
38228 };
38229
38230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
38231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
38232 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
38233
38234 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
38235 return resultobj;
38236 fail:
38237 return NULL;
38238}
38239
38240
38241static PyObject *_wrap_LayoutConstraints_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
38242 PyObject *resultobj;
38243 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
38244 wxIndividualLayoutConstraint *result;
38245 PyObject * obj0 = 0 ;
38246 char *kwnames[] = {
38247 (char *) "self", NULL
38248 };
38249
38250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
38251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
38252 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
38253
38254 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
38255 return resultobj;
38256 fail:
38257 return NULL;
38258}
38259
38260
38261static PyObject *_wrap_LayoutConstraints_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
38262 PyObject *resultobj;
38263 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
38264 wxIndividualLayoutConstraint *result;
38265 PyObject * obj0 = 0 ;
38266 char *kwnames[] = {
38267 (char *) "self", NULL
38268 };
38269
38270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
38271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
38272 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
38273
38274 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
38275 return resultobj;
38276 fail:
38277 return NULL;
38278}
38279
38280
38281static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *self, PyObject *args, PyObject *kwargs) {
38282 PyObject *resultobj;
38283 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
38284 wxIndividualLayoutConstraint *result;
38285 PyObject * obj0 = 0 ;
38286 char *kwnames[] = {
38287 (char *) "self", NULL
38288 };
38289
38290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
38291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
38292 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
38293
38294 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
38295 return resultobj;
38296 fail:
38297 return NULL;
38298}
38299
38300
38301static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *self, PyObject *args, PyObject *kwargs) {
38302 PyObject *resultobj;
38303 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
38304 wxIndividualLayoutConstraint *result;
38305 PyObject * obj0 = 0 ;
38306 char *kwnames[] = {
38307 (char *) "self", NULL
38308 };
38309
38310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
38311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
38312 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
38313
38314 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
38315 return resultobj;
38316 fail:
38317 return NULL;
38318}
38319
38320
38321static PyObject *_wrap_new_LayoutConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
38322 PyObject *resultobj;
38323 wxLayoutConstraints *result;
38324 char *kwnames[] = {
38325 NULL
38326 };
38327
38328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
38329 {
38330 PyThreadState* __tstate = wxPyBeginAllowThreads();
38331 result = (wxLayoutConstraints *)new wxLayoutConstraints();
38332
38333 wxPyEndAllowThreads(__tstate);
38334 if (PyErr_Occurred()) SWIG_fail;
38335 }
38336 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutConstraints, 1);
38337 return resultobj;
38338 fail:
38339 return NULL;
38340}
38341
38342
38343static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
38344 PyObject *resultobj;
38345 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
38346 wxWindow *arg2 = (wxWindow *) 0 ;
38347 int *arg3 = (int *) 0 ;
38348 bool result;
38349 int temp3 ;
38350 PyObject * obj0 = 0 ;
38351 PyObject * obj1 = 0 ;
38352 char *kwnames[] = {
38353 (char *) "self",(char *) "win", NULL
38354 };
38355
38356 arg3 = &temp3;
38357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
38358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
38359 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
38360 {
38361 PyThreadState* __tstate = wxPyBeginAllowThreads();
38362 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
38363
38364 wxPyEndAllowThreads(__tstate);
38365 if (PyErr_Occurred()) SWIG_fail;
38366 }
4d5c3d91 38367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
38368 {
38369 PyObject *o = PyInt_FromLong((long) (*arg3));
38370 resultobj = t_output_helper(resultobj,o);
38371 }
38372 return resultobj;
38373 fail:
38374 return NULL;
38375}
38376
38377
38378static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *self, PyObject *args, PyObject *kwargs) {
38379 PyObject *resultobj;
38380 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
38381 bool result;
38382 PyObject * obj0 = 0 ;
38383 char *kwnames[] = {
38384 (char *) "self", NULL
38385 };
38386
38387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
38388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
38389 {
38390 PyThreadState* __tstate = wxPyBeginAllowThreads();
38391 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
38392
38393 wxPyEndAllowThreads(__tstate);
38394 if (PyErr_Occurred()) SWIG_fail;
38395 }
4d5c3d91 38396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
38397 return resultobj;
38398 fail:
38399 return NULL;
38400}
38401
38402
38403static PyObject * LayoutConstraints_swigregister(PyObject *self, PyObject *args) {
38404 PyObject *obj;
38405 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
38406 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
38407 Py_INCREF(obj);
38408 return Py_BuildValue((char *)"");
38409}
38410static PyMethodDef SwigMethods[] = {
38411 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS },
3a04f143 38412 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects, METH_VARARGS },
d14a1e28
RD
38413 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS },
38414 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS },
38415 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS },
38416 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS },
38417 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS },
38418 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS },
38419 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS },
38420 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS },
38421 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS },
38422 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS },
38423 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS },
38424 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS },
38425 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS },
38426 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS },
38427 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS },
38428 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS },
38429 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS },
38430 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS },
38431 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS },
38432 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS },
e811c8ce 38433 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
38434 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS },
38435 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS },
38436 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS },
38437 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS },
38438 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS },
38439 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS },
38440 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
38441 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS },
38442 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
38443 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS },
38444 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS },
d14a1e28 38445 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 38446 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
38447 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS },
38448 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS },
38449 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS },
38450 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS },
38451 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS },
38452 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS },
38453 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS },
38454 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS },
38455 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS },
38456 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS },
38457 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS },
38458 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS },
38459 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS },
38460 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 38461 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
38462 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
38463 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS },
38464 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS },
38465 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS },
38466 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS },
38467 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS },
38468 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS },
38469 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS },
38470 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS },
38471 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS },
38472 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS },
38473 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS },
38474 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS },
38475 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS },
38476 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS },
38477 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS },
38478 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS },
c9c7117a
RD
38479 { (char *)"Rect_GetTopLeft", (PyCFunction) _wrap_Rect_GetTopLeft, METH_VARARGS | METH_KEYWORDS },
38480 { (char *)"Rect_SetTopLeft", (PyCFunction) _wrap_Rect_SetTopLeft, METH_VARARGS | METH_KEYWORDS },
38481 { (char *)"Rect_GetBottomRight", (PyCFunction) _wrap_Rect_GetBottomRight, METH_VARARGS | METH_KEYWORDS },
38482 { (char *)"Rect_SetBottomRight", (PyCFunction) _wrap_Rect_SetBottomRight, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
38483 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS },
38484 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS },
38485 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS },
38486 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS },
38487 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS },
38488 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS },
38489 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS },
38490 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS },
38491 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS },
38492 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS },
38493 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS },
38494 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS },
38495 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS },
38496 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS },
38497 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS },
38498 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS },
38499 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS },
38500 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS },
38501 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS },
38502 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS },
38503 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS },
38504 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS },
38505 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS },
38506 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS },
38507 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS },
38508 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS },
38509 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS },
38510 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS },
38511 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 38512 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
38513 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
38514 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS },
38515 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS },
38516 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS },
38517 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS },
38518 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS },
38519 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS },
38520 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS },
38521 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS },
38522 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS },
38523 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS },
38524 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS },
38525 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS },
38526 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS },
38527 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS },
38528 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS },
38529 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS },
38530 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS },
38531 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS },
38532 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS },
38533 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS },
38534 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
38535 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS },
38536 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS },
38537 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS },
38538 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS },
38539 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 38540 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
38541 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS },
38542 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS },
38543 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS },
38544 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS },
38545 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS },
38546 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS },
38547 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS },
38548 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS },
38549 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS },
38550 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS },
38551 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS },
38552 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS },
38553 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS },
38554 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS },
38555 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS },
38556 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS },
38557 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS },
38558 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS },
38559 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS },
38560 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS },
38561 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS },
38562 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS },
38563 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS },
38564 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS },
38565 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS },
38566 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS },
38567 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS },
38568 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS },
38569 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS },
38570 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS },
38571 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS },
38572 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
38573 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
38574 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
38575 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
38576 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
38577 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS },
38578 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS },
38579 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS },
38580 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS },
38581 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS },
38582 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS },
38583 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS },
38584 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS },
38585 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS },
38586 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS },
38587 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS },
38588 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS },
38589 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS },
38590 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS },
38591 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS },
38592 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS },
38593 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS },
38594 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS },
38595 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS },
38596 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
38597 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
38598 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS },
38599 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS },
38600 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
38601 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
38602 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
38603 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
38604 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS },
38605 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS },
38606 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS },
38607 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS },
38608 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS },
38609 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS },
38610 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
38611 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
38612 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
38613 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
38614 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS },
38615 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS },
38616 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS },
38617 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS },
38618 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS },
38619 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS },
38620 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS },
38621 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS },
38622 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS },
38623 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS },
38624 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS },
38625 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS },
38626 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS },
38627 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
38628 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS },
38629 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS },
38630 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS },
38631 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS },
38632 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS },
38633 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS },
38634 { (char *)"new_EmptyImage", (PyCFunction) _wrap_new_EmptyImage, METH_VARARGS | METH_KEYWORDS },
38635 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS },
38636 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS },
38637 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS },
38638 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS },
38639 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS },
38640 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS },
38641 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS },
38642 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS },
38643 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS },
38644 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS },
38645 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS },
38646 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS },
38647 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS },
38648 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS },
38649 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
38650 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS },
38651 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS },
38652 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS },
38653 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS },
38654 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS },
38655 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS },
38656 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS },
38657 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS },
38658 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS },
38659 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS },
38660 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS },
38661 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS },
38662 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS },
38663 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS },
38664 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS },
38665 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS },
38666 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS },
38667 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS },
38668 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS },
38669 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS },
38670 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS },
38671 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS },
38672 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
38673 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
38674 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS },
38675 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS },
38676 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS },
38677 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS },
38678 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS },
38679 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS },
38680 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS },
38681 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS },
38682 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS },
38683 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS },
38684 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS },
38685 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS },
38686 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
38687 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS },
38688 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
38689 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS },
38690 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS },
38691 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS },
38692 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS },
38693 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS },
38694 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS },
38695 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS },
38696 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
38697 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS },
38698 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS },
38699 { (char *)"InitAllImageHandlers", (PyCFunction) _wrap_InitAllImageHandlers, METH_VARARGS | METH_KEYWORDS },
38700 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS },
38701 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS },
38702 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS },
38703 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS },
38704 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS },
38705 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS },
38706 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS },
38707 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS },
38708 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS },
38709 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS },
38710 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS },
38711 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS },
38712 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS },
38713 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS },
38714 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS },
38715 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS },
38716 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS },
38717 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS },
38718 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS },
38719 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS },
38720 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS },
38721 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS },
38722 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS },
38723 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
38724 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
38725 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
38726 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
38727 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
38728 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
38729 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
38730 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
38731 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
38732 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
38733 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
38734 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
38735 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS },
38736 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS },
38737 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS },
38738 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS },
38739 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS },
38740 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS },
38741 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS },
38742 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
38743 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
38744 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS },
38745 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS },
38746 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS },
38747 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS },
38748 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS },
38749 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS },
38750 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS },
38751 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS },
38752 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS },
38753 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS },
38754 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
38755 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
38756 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS },
38757 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
38758 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
38759 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS },
38760 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS },
38761 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
38762 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS },
38763 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS },
38764 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS },
38765 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS },
38766 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS },
38767 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS },
38768 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS },
38769 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS },
38770 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS },
38771 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS },
38772 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS },
38773 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS },
38774 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS },
38775 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS },
38776 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS },
38777 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS },
38778 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
38779 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
38780 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
38781 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
38782 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS },
38783 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS },
38784 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
38785 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
38786 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
38787 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
38788 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS },
38789 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS },
38790 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
38791 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
38792 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS },
38793 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
38794 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS },
38795 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
38796 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS },
38797 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
38798 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
38799 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
38800 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
38801 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS },
38802 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS },
38803 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS },
38804 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS },
38805 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS },
38806 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS },
38807 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS },
38808 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS },
38809 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS },
38810 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS },
38811 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS },
38812 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS },
38813 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS },
38814 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS },
38815 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS },
38816 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS },
38817 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
38818 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
38819 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS },
38820 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS },
38821 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS },
38822 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS },
38823 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS },
38824 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS },
38825 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS },
38826 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
38827 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
38828 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
38829 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
38830 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS },
38831 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS },
38832 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS },
38833 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS },
38834 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS },
38835 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS },
38836 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
38837 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
38838 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
38839 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
38840 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
38841 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
38842 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
38843 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
38844 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS },
38845 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS },
38846 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS },
38847 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS },
38848 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS },
38849 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS },
38850 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS },
38851 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS },
38852 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS },
38853 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS },
38854 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS },
38855 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS },
38856 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS },
38857 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS },
38858 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS },
38859 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
38860 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
38861 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
38862 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
38863 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS },
38864 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
38865 { (char *)"KeyEvent_GetUniChar", (PyCFunction) _wrap_KeyEvent_GetUniChar, METH_VARARGS | METH_KEYWORDS },
38866 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS },
38867 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS },
38868 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
38869 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
38870 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS },
38871 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS },
38872 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
38873 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
38874 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
38875 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
38876 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS },
38877 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS },
38878 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
38879 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
38880 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
38881 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
38882 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
38883 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
38884 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
38885 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
38886 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS },
38887 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS },
38888 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS },
38889 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS },
38890 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS },
38891 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS },
38892 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS },
38893 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS },
38894 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
38895 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
38896 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
38897 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
38898 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS },
38899 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS },
38900 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
38901 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
38902 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS },
38903 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS },
38904 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
38905 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
38906 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
38907 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
38908 { (char *)"MoveEvent_m_pos_set", (PyCFunction) _wrap_MoveEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
38909 { (char *)"MoveEvent_m_pos_get", (PyCFunction) _wrap_MoveEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
38910 { (char *)"MoveEvent_m_rect_set", (PyCFunction) _wrap_MoveEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
38911 { (char *)"MoveEvent_m_rect_get", (PyCFunction) _wrap_MoveEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
38912 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS },
38913 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS },
38914 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS },
38915 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS },
38916 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS },
38917 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS },
38918 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS },
38919 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS },
38920 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS },
38921 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
38922 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS },
38923 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS },
38924 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS },
38925 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
38926 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS },
38927 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS },
38928 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS },
38929 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS },
38930 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS },
38931 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS },
38932 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS },
38933 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS },
38934 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS },
38935 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS },
38936 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS },
38937 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS },
38938 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS },
38939 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS },
38940 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS },
38941 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS },
38942 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS },
38943 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS },
38944 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS },
38945 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS },
38946 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS },
38947 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS },
38948 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS },
38949 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS },
38950 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS },
38951 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS },
38952 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS },
38953 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS },
38954 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
38955 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS },
38956 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS },
38957 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS },
38958 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS },
38959 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS },
38960 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS },
38961 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS },
38962 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS },
38963 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS },
38964 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS },
38965 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS },
38966 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS },
38967 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS },
38968 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
38969 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
38970 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS },
38971 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS },
38972 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
38973 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
38974 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS },
38975 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS },
38976 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS },
38977 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS },
38978 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS },
38979 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS },
38980 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS },
38981 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS },
38982 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS },
38983 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS },
38984 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS },
38985 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS },
38986 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS },
38987 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
38988 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
38989 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS },
38990 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS },
38991 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS },
38992 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS },
38993 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS },
38994 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS },
38995 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
38996 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
38997 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS },
38998 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS },
38999 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
39000 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS },
39001 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS },
39002 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
39003 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS },
39004 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS },
39005 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
39006 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
39007 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS },
39008 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS },
39009 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS },
39010 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS },
39011 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
39012 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
39013 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS },
39014 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS },
39015 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS },
39016 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS },
39017 { (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
39018 { (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
39019 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS },
39020 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
39021 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
39022 { (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
39023 { (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
39024 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS },
39025 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS },
39026 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS },
39027 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
39028 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS },
39029 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS },
39030 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS },
39031 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS },
39032 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS },
39033 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS },
39034 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS },
39035 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
39036 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS },
39037 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
39038 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS },
39039 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS },
39040 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS },
39041 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS },
39042 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS },
39043 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS },
39044 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39045 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS },
39046 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS },
39047 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS },
39048 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
39049 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
39050 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
39051 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
39052 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
39053 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
d14a1e28 39054 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS },
6c3b4aae 39055 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39056 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
39057 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
39058 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
39059 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
39060 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
39061 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
39062 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
39063 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
39064 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
39065 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
39066 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS },
39067 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS },
39068 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS },
39069 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS },
39070 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS },
39071 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS },
39072 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS },
39073 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
39074 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS },
39075 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS },
39076 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS },
1e0c8722
RD
39077 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
39078 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
39079 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS },
39080 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_SetMenuItem, METH_VARARGS | METH_KEYWORDS },
39081 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_GetMenuItem, METH_VARARGS | METH_KEYWORDS },
39082 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS },
39083 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
39084 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS },
39085 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS },
39086 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
39087 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
39088 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS },
39089 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS },
39090 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39091 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS },
39092 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS },
39093 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS },
39094 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS },
39095 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS },
39096 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
39097 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
39098 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS },
39099 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS },
39100 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS },
39101 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS },
39102 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS },
39103 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS },
39104 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS },
39105 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS },
39106 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS },
39107 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS },
39108 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS },
39109 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS },
39110 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS },
39111 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS },
39112 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
39113 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS },
39114 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS },
39115 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS },
39116 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS },
39117 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS },
39118 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
39119 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS },
39120 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS },
39121 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
39122 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS },
39123 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
39124 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS },
39125 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS },
39126 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
39127 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
39128 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS },
39129 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS },
39130 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS },
39131 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS },
39132 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS },
39133 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
39134 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
39135 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS },
39136 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS },
39137 { (char *)"Window_SetSizeHints", (PyCFunction) _wrap_Window_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
39138 { (char *)"Window_SetVirtualSizeHints", (PyCFunction) _wrap_Window_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
39139 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS },
39140 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS },
39141 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS },
39142 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS },
39143 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
39144 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS },
39145 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS },
39146 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
39147 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS },
39148 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS },
39149 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS },
39150 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS },
39151 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS },
39152 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS },
39153 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS },
39154 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS },
39155 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
39156 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
39157 { (char *)"Window_SetWindowStyle", (PyCFunction) _wrap_Window_SetWindowStyle, METH_VARARGS | METH_KEYWORDS },
39158 { (char *)"Window_GetWindowStyle", (PyCFunction) _wrap_Window_GetWindowStyle, METH_VARARGS | METH_KEYWORDS },
39159 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS },
39160 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS },
39161 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
39162 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS },
39163 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS },
39164 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
39165 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
39166 { (char *)"Window_ShouldInheritColours", (PyCFunction) _wrap_Window_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
39167 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS },
39168 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS },
39169 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS },
39170 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
39171 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
39172 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
39173 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
39174 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS },
39175 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS },
39176 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS },
39177 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
39178 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
39179 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS },
39180 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS },
39181 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS },
39182 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS },
39183 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
39184 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
39185 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
39186 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
39187 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
39188 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
39189 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS },
39190 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS },
39191 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
39192 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
39193 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS },
39194 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS },
39195 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
39196 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
39197 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS },
39198 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS },
39199 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
39200 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
39201 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS },
39202 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
39203 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
39204 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS },
39205 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS },
39206 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS },
39207 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS },
39208 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS },
39209 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS },
39210 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS },
39211 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS },
39212 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS },
39213 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
39214 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS },
39215 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS },
39216 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
39217 { (char *)"Window_isExposedRect", (PyCFunction) _wrap_Window_isExposedRect, METH_VARARGS | METH_KEYWORDS },
39218 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
39219 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
39220 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
39221 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
39222 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS },
39223 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS },
39224 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS },
39225 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS },
39226 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS },
39227 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS },
39228 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
39229 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
39230 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
39231 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
39232 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
39233 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
39234 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
39235 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
39236 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS },
39237 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS },
39238 { (char *)"Window_GetBorderFlags", (PyCFunction) _wrap_Window_GetBorderFlags, METH_VARARGS | METH_KEYWORDS },
39239 { (char *)"Window_GetBorder", (PyCFunction) _wrap_Window_GetBorder, METH_VARARGS | METH_KEYWORDS },
39240 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
39241 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
39242 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS },
39243 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS },
39244 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
39245 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
39246 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
39247 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
39248 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
39249 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
39250 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
39251 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS },
39252 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS },
39253 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS },
39254 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS },
39255 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS },
39256 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS },
39257 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS },
39258 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
39259 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS },
39260 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
39261 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS },
39262 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS },
39263 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
39264 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
39265 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS },
39266 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS },
39267 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
39268 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
39269 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS },
39270 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS },
39271 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS },
39272 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS },
39273 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
39274 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
39275 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS },
39276 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS },
39277 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
39278 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
39279 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS },
39280 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS },
39281 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS },
39282 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS },
39283 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS },
39284 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS },
39285 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS },
39286 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS },
39287 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS },
39288 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
39289 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS },
39290 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS },
39291 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
39292 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS },
39293 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS },
39294 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS },
39295 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
39296 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
39297 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
39298 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
39299 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS },
39300 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS },
39301 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS },
39302 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS },
39303 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
39304 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
39305 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
39306 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
39307 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS },
39308 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS },
39309 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
39310 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
39311 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
39312 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
39313 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS },
39314 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
39315 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS },
39316 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
39317 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS },
39318 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS },
39319 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
39320 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
39321 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
39322 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS },
39323 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS },
39324 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS },
39325 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS },
39326 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
39327 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS },
39328 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS },
39329 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS },
39330 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS },
39331 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
39332 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
39333 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS },
39334 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS },
39335 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
39336 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
39337 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
39338 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
39339 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS },
39340 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
39341 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
39342 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS },
39343 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS },
39344 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS },
39345 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS },
39346 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS },
39347 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS },
39348 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS },
39349 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS },
39350 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
39351 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
39352 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
39353 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
39354 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
39355 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
39356 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS },
39357 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
39358 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
39359 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
39360 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
39361 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
39362 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
39363 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS },
39364 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
39365 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
39366 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
39367 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
39368 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
39369 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
39370 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS },
39371 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS },
39372 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS },
39373 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS },
39374 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS },
39375 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS },
39376 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
39377 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS },
39378 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
39379 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
39380 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
39381 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
39382 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
39383 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
39384 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
39385 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
39386 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
39387 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
39388 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
39389 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
39390 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
39391 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
39392 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
39393 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS },
39394 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
39395 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
39396 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
39397 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
39398 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
39399 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
39400 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS },
39401 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS },
39402 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS },
39403 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS },
39404 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS },
39405 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS },
39406 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS },
39407 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS },
39408 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS },
39409 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS },
39410 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS },
39411 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS },
39412 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS },
39413 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS },
39414 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS },
39415 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS },
39416 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS },
39417 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS },
39418 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS },
39419 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS },
39420 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS },
39421 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS },
39422 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS },
39423 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS },
39424 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
39425 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS },
39426 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS },
39427 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS },
39428 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS },
39429 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS },
39430 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
39431 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS },
39432 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS },
39433 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
39434 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS },
39435 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS },
39436 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
39437 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
39438 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS },
39439 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS },
39440 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS },
39441 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS },
39442 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS },
39443 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS },
39444 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS },
39445 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS },
39446 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS },
39447 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS },
39448 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS },
39449 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS },
39450 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS },
39451 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS },
39452 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS },
39453 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS },
39454 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS },
39455 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS },
39456 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS },
39457 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS },
39458 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS },
39459 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS },
39460 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS },
39461 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS },
39462 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS },
39463 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS },
39464 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
39465 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS },
39466 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS },
39467 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS },
39468 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS },
39469 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS },
39470 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS },
39471 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS },
39472 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS },
39473 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS },
39474 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS },
39475 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS },
39476 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS },
39477 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS },
39478 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
39479 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
39480 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS },
39481 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS },
39482 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS },
39483 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
39484 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
39485 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS },
39486 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
39487 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS },
39488 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS },
39489 { (char *)"Sizer_Hide", (PyCFunction) _wrap_Sizer_Hide, METH_VARARGS | METH_KEYWORDS },
39490 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS },
39491 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS },
39492 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS },
39493 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS },
39494 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
39495 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS },
39496 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS },
39497 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS },
39498 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS },
39499 { (char *)"BoxSizer_RecalcSizes", (PyCFunction) _wrap_BoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
39500 { (char *)"BoxSizer_CalcMin", (PyCFunction) _wrap_BoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
39501 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS },
39502 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS },
39503 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS },
39504 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction) _wrap_StaticBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
39505 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction) _wrap_StaticBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
39506 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS },
39507 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS },
39508 { (char *)"GridSizer_RecalcSizes", (PyCFunction) _wrap_GridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
39509 { (char *)"GridSizer_CalcMin", (PyCFunction) _wrap_GridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
39510 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS },
39511 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS },
39512 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS },
39513 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS },
39514 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS },
39515 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS },
39516 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS },
39517 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS },
39518 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS },
39519 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS },
39520 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction) _wrap_FlexGridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
39521 { (char *)"FlexGridSizer_CalcMin", (PyCFunction) _wrap_FlexGridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
39522 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS },
39523 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS },
39524 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS },
39525 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS },
39526 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
39527 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
39528 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
39529 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
39530 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS },
39531 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39532 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS },
39533 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS },
39534 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS },
39535 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS },
39536 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS },
39537 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS },
39538 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS },
39539 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
39540 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS },
39541 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39542 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS },
39543 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS },
39544 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS },
39545 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS },
39546 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS },
39547 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS },
39548 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS },
39549 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
39550 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS },
39551 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39552 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS },
39553 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS },
39554 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS },
39555 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS },
39556 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
39557 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS },
39558 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS },
39559 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS },
39560 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS },
39561 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects, METH_VARARGS },
39562 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS },
39563 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS },
39564 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS },
39565 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS },
39566 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS },
39567 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS },
39568 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS },
39569 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
39570 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
39571 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS },
39572 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS },
39573 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS },
39574 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS },
39575 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS },
39576 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS },
e811c8ce 39577 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39578 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction) _wrap_GridBagSizer_FindItemWithData, METH_VARARGS | METH_KEYWORDS },
39579 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction) _wrap_GridBagSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
39580 { (char *)"GridBagSizer_CalcMin", (PyCFunction) _wrap_GridBagSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
39581 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS },
39582 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS },
39583 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS },
39584 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS },
39585 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS },
39586 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS },
39587 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS },
39588 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS },
39589 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS },
39590 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS },
39591 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS },
39592 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS },
39593 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS },
39594 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS },
39595 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS },
39596 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS },
39597 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS },
39598 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS },
39599 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS },
39600 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS },
39601 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS },
39602 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS },
39603 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS },
39604 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS },
39605 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS },
39606 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS },
39607 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS },
39608 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS },
39609 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS },
39610 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS },
39611 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS },
39612 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS },
39613 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS },
39614 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS },
39615 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS },
39616 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS },
39617 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS },
39618 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS },
39619 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS },
39620 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS },
39621 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS },
39622 { NULL, NULL }
39623};
39624
39625
39626/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39627
39628static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
39629 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
39630}
39631static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
39632 return (void *)((wxSizer *) ((wxBoxSizer *) x));
39633}
39634static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
39635 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
39636}
39637static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
39638 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
39639}
39640static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
39641 return (void *)((wxSizer *) ((wxGridSizer *) x));
39642}
39643static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
39644 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
39645}
39646static void *_p_wxPySizerTo_p_wxSizer(void *x) {
39647 return (void *)((wxSizer *) ((wxPySizer *) x));
39648}
39649static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
39650 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
39651}
39652static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
39653 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
39654}
39655static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
39656 return (void *)((wxEvent *) ((wxMenuEvent *) x));
39657}
39658static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
39659 return (void *)((wxEvent *) ((wxCloseEvent *) x));
39660}
39661static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
39662 return (void *)((wxEvent *) ((wxMouseEvent *) x));
39663}
39664static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
39665 return (void *)((wxEvent *) ((wxEraseEvent *) x));
39666}
39667static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
39668 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
39669}
39670static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
39671 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
39672}
39673static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
39674 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
39675}
39676static void *_p_wxPyEventTo_p_wxEvent(void *x) {
39677 return (void *)((wxEvent *) ((wxPyEvent *) x));
39678}
39679static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
39680 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
39681}
39682static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
39683 return (void *)((wxEvent *) ((wxIdleEvent *) x));
39684}
39685static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
39686 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
39687}
39688static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
39689 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
39690}
39691static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
39692 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
39693}
39694static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
39695 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
39696}
39697static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
39698 return (void *)((wxEvent *) ((wxActivateEvent *) x));
39699}
39700static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
39701 return (void *)((wxEvent *) ((wxSizeEvent *) x));
39702}
39703static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
39704 return (void *)((wxEvent *) ((wxMoveEvent *) x));
39705}
39706static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
39707 return (void *)((wxEvent *) ((wxPaintEvent *) x));
39708}
39709static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
39710 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
39711}
39712static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
39713 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
39714}
39715static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
39716 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
39717}
39718static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
39719 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
39720}
39721static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
39722 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
39723}
39724static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
39725 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
39726}
39727static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
39728 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
39729}
39730static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
39731 return (void *)((wxEvent *) ((wxFocusEvent *) x));
39732}
39733static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
39734 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
39735}
39736static void *_p_wxShowEventTo_p_wxEvent(void *x) {
39737 return (void *)((wxEvent *) ((wxShowEvent *) x));
39738}
39739static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
39740 return (void *)((wxEvent *) ((wxCommandEvent *) x));
39741}
39742static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
39743 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
39744}
39745static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
39746 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
39747}
39748static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
39749 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
39750}
39751static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
39752 return (void *)((wxEvent *) ((wxKeyEvent *) x));
39753}
39754static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
39755 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
39756}
39757static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
39758 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
39759}
39760static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
39761 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
39762}
39763static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
39764 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
39765}
39766static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
39767 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
39768}
39769static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
39770 return (void *)((wxControl *) ((wxControlWithItems *) x));
39771}
39772static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
39773 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
39774}
39775static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
39776 return (void *)((wxEvtHandler *) ((wxWindow *) x));
39777}
39778static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
39779 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
39780}
39781static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
39782 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
39783}
39784static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
39785 return (void *)((wxEvtHandler *) ((wxValidator *) x));
39786}
39787static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
39788 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
39789}
39790static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
39791 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
39792}
39793static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
39794 return (void *)((wxEvtHandler *) ((wxMenu *) x));
39795}
39796static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
39797 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
39798}
39799static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
39800 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
39801}
39802static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
39803 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
39804}
39805static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
39806 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
39807}
39808static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
39809 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
39810}
39811static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
39812 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
39813}
39814static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
39815 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
39816}
39817static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
39818 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
39819}
39820static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
39821 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
39822}
39823static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
39824 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
39825}
39826static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
39827 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
39828}
39829static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
39830 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
39831}
39832static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
39833 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
39834}
39835static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
39836 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
39837}
39838static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
39839 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
39840}
39841static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
39842 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
39843}
39844static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
39845 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
39846}
39847static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
39848 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
39849}
39850static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
39851 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
39852}
39853static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
39854 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
39855}
39856static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
39857 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
39858}
39859static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
39860 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
39861}
39862static void *_p_wxMenuEventTo_p_wxObject(void *x) {
39863 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
39864}
39865static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
39866 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
39867}
39868static void *_p_wxEraseEventTo_p_wxObject(void *x) {
39869 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
39870}
39871static void *_p_wxMouseEventTo_p_wxObject(void *x) {
39872 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
39873}
39874static void *_p_wxCloseEventTo_p_wxObject(void *x) {
39875 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
39876}
39877static void *_p_wxValidatorTo_p_wxObject(void *x) {
39878 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
39879}
39880static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
39881 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
39882}
39883static void *_p_wxMenuBarTo_p_wxObject(void *x) {
39884 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
39885}
39886static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
39887 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
39888}
39889static void *_p_wxSizerTo_p_wxObject(void *x) {
39890 return (void *)((wxObject *) ((wxSizer *) x));
39891}
39892static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
39893 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
39894}
39895static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
39896 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
39897}
39898static void *_p_wxMenuTo_p_wxObject(void *x) {
39899 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
39900}
39901static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
39902 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
39903}
39904static void *_p_wxImageTo_p_wxObject(void *x) {
39905 return (void *)((wxObject *) ((wxImage *) x));
39906}
39907static void *_p_wxScrollEventTo_p_wxObject(void *x) {
39908 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
39909}
39910static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
39911 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
39912}
39913static void *_p_wxPyEventTo_p_wxObject(void *x) {
39914 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
39915}
39916static void *_p_wxWindowTo_p_wxObject(void *x) {
39917 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
39918}
39919static void *_p_wxControlTo_p_wxObject(void *x) {
39920 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
39921}
1e0c8722
RD
39922static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
39923 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
39924}
d14a1e28
RD
39925static void *_p_wxGridSizerTo_p_wxObject(void *x) {
39926 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
39927}
39928static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
39929 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
39930}
39931static void *_p_wxPyAppTo_p_wxObject(void *x) {
39932 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
39933}
39934static void *_p_wxEventTo_p_wxObject(void *x) {
39935 return (void *)((wxObject *) ((wxEvent *) x));
39936}
39937static void *_p_wxActivateEventTo_p_wxObject(void *x) {
39938 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
39939}
39940static void *_p_wxMoveEventTo_p_wxObject(void *x) {
39941 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
39942}
39943static void *_p_wxSizeEventTo_p_wxObject(void *x) {
39944 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
39945}
39946static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
39947 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
39948}
39949static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
39950 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
39951}
39952static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
39953 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
39954}
39955static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
39956 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
39957}
39958static void *_p_wxIdleEventTo_p_wxObject(void *x) {
39959 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
39960}
39961static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
39962 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
39963}
39964static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
39965 return (void *)((wxObject *) ((wxEvtHandler *) x));
39966}
39967static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
39968 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
39969}
39970static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
39971 return (void *)((wxObject *) ((wxImageHandler *) x));
39972}
39973static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
39974 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
39975}
39976static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
39977 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
39978}
39979static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
39980 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
39981}
39982static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
39983 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
39984}
39985static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
39986 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
39987}
39988static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
39989 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
39990}
39991static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
39992 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
39993}
39994static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
39995 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
39996}
39997static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
39998 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
39999}
40000static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
40001 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
40002}
40003static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
40004 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
40005}
40006static void *_p_wxPaintEventTo_p_wxObject(void *x) {
40007 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
40008}
40009static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
40010 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
40011}
40012static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
40013 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
40014}
40015static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
40016 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
40017}
40018static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
40019 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
40020}
40021static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
40022 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
40023}
40024static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
40025 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
40026}
40027static void *_p_wxFileSystemTo_p_wxObject(void *x) {
40028 return (void *)((wxObject *) ((wxFileSystem *) x));
40029}
40030static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
40031 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
40032}
40033static void *_p_wxFocusEventTo_p_wxObject(void *x) {
40034 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
40035}
40036static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
40037 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
40038}
40039static void *_p_wxSizerItemTo_p_wxObject(void *x) {
40040 return (void *)((wxObject *) ((wxSizerItem *) x));
40041}
40042static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
40043 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
40044}
40045static void *_p_wxShowEventTo_p_wxObject(void *x) {
40046 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
40047}
40048static void *_p_wxFSFileTo_p_wxObject(void *x) {
40049 return (void *)((wxObject *) ((wxFSFile *) x));
40050}
40051static void *_p_wxCommandEventTo_p_wxObject(void *x) {
40052 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
40053}
40054static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
40055 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
40056}
40057static void *_p_wxKeyEventTo_p_wxObject(void *x) {
40058 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
40059}
40060static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
40061 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
40062}
40063static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
40064 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
40065}
40066static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
40067 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
40068}
40069static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
40070 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
40071}
40072static void *_p_wxMenuItemTo_p_wxObject(void *x) {
40073 return (void *)((wxObject *) ((wxMenuItem *) x));
40074}
40075static void *_p_wxPySizerTo_p_wxObject(void *x) {
40076 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
40077}
40078static void *_p_wxControlTo_p_wxWindow(void *x) {
40079 return (void *)((wxWindow *) ((wxControl *) x));
40080}
40081static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
40082 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
40083}
40084static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
40085 return (void *)((wxWindow *) ((wxMenuBar *) x));
40086}
40087static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
40088 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
40089}
40090static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
40091 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
40092}
40093static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
40094 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
40095}
40096static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
40097 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
40098}
40099static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
40100 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
40101}
40102static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
40103 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
40104}
40105static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
40106 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
40107}
40108static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
40109 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
40110}
40111static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
40112 return (void *)((wxValidator *) ((wxPyValidator *) x));
40113}
40114static swig_type_info _swigt__p_wxLayoutConstraints[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0},{"_p_wxLayoutConstraints"},{0}};
40115static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
40116static swig_type_info _swigt__p_wxSizerItem[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0},{"_p_wxSizerItem"},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem},{0}};
40117static swig_type_info _swigt__p_wxGBSizerItem[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0},{"_p_wxGBSizerItem"},{0}};
40118static swig_type_info _swigt__p_wxScrollEvent[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0},{"_p_wxScrollEvent"},{0}};
40119static swig_type_info _swigt__p_wxIndividualLayoutConstraint[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0},{"_p_wxIndividualLayoutConstraint"},{0}};
40120static swig_type_info _swigt__p_wxSizer[] = {{"_p_wxSizer", 0, "wxSizer *", 0},{"_p_wxSizer"},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer},{0}};
40121static swig_type_info _swigt__p_wxBoxSizer[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0},{"_p_wxBoxSizer"},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer},{0}};
40122static swig_type_info _swigt__p_wxStaticBoxSizer[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0},{"_p_wxStaticBoxSizer"},{0}};
40123static swig_type_info _swigt__p_wxGridBagSizer[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0},{"_p_wxGridBagSizer"},{0}};
40124static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
40125static swig_type_info _swigt__p_wxUpdateUIEvent[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0},{"_p_wxUpdateUIEvent"},{0}};
40126static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
40127static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent},{"_p_wxEvent"},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent},{0}};
40128static swig_type_info _swigt__p_wxGridSizer[] = {{"_p_wxGridSizer", 0, "wxGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxGridSizer},{"_p_wxGridSizer"},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxGridSizer},{0}};
40129static swig_type_info _swigt__p_wxFlexGridSizer[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer},{"_p_wxFlexGridSizer"},{0}};
40130static swig_type_info _swigt__p_wxInitDialogEvent[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0},{"_p_wxInitDialogEvent"},{0}};
40131static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer},{"_p_wxItemContainer"},{0}};
40132static swig_type_info _swigt__p_wxNcPaintEvent[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0},{"_p_wxNcPaintEvent"},{0}};
40133static swig_type_info _swigt__p_wxPaintEvent[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0},{"_p_wxPaintEvent"},{0}};
40134static swig_type_info _swigt__p_wxSysColourChangedEvent[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0},{"_p_wxSysColourChangedEvent"},{0}};
40135static swig_type_info _swigt__p_wxMouseCaptureChangedEvent[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0},{"_p_wxMouseCaptureChangedEvent"},{0}};
40136static swig_type_info _swigt__p_wxDisplayChangedEvent[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0},{"_p_wxDisplayChangedEvent"},{0}};
40137static swig_type_info _swigt__p_wxPaletteChangedEvent[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0},{"_p_wxPaletteChangedEvent"},{0}};
40138static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl},{0}};
40139static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
40140static swig_type_info _swigt__p_wxMenuBarBase[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0},{"_p_wxMenuBarBase"},{0}};
40141static swig_type_info _swigt__p_wxSetCursorEvent[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0},{"_p_wxSetCursorEvent"},{0}};
40142static swig_type_info _swigt__p_wxFSFile[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0},{"_p_wxFSFile"},{0}};
40143static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
40144static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
40145static swig_type_info _swigt__p_wxPoint2D[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0},{"_p_wxPoint2D"},{0}};
40146static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
40147static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
40148static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
40149static swig_type_info _swigt__p_wxPySizer[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0},{"_p_wxPySizer"},{0}};
40150static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxNotifyEvent"},{0}};
40151static swig_type_info _swigt__p_wxPyEvent[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0},{"_p_wxPyEvent"},{0}};
40152static swig_type_info _swigt__p_wxPropagationDisabler[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0},{"_p_wxPropagationDisabler"},{0}};
40153static swig_type_info _swigt__p_wxAppTraits[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0},{"_p_wxAppTraits"},{0}};
40154static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
40155static swig_type_info _swigt__p_wxShowEvent[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0},{"_p_wxShowEvent"},{0}};
40156static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
4d5c3d91 40157static swig_type_info _swigt__p_wxMaximizeEvent[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0},{"_p_wxMaximizeEvent"},{0}};
d14a1e28
RD
40158static swig_type_info _swigt__p_wxIconizeEvent[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0},{"_p_wxIconizeEvent"},{0}};
40159static swig_type_info _swigt__p_wxActivateEvent[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0},{"_p_wxActivateEvent"},{0}};
40160static swig_type_info _swigt__p_wxMoveEvent[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0},{"_p_wxMoveEvent"},{0}};
40161static swig_type_info _swigt__p_wxSizeEvent[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0},{"_p_wxSizeEvent"},{0}};
40162static swig_type_info _swigt__p_wxQueryNewPaletteEvent[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0},{"_p_wxQueryNewPaletteEvent"},{0}};
40163static swig_type_info _swigt__p_wxWindowCreateEvent[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0},{"_p_wxWindowCreateEvent"},{0}};
40164static swig_type_info _swigt__p_wxIdleEvent[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0},{"_p_wxIdleEvent"},{0}};
40165static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
40166static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
40167static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
40168static swig_type_info _swigt__p_wxTIFFHandler[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0},{"_p_wxTIFFHandler"},{0}};
40169static swig_type_info _swigt__p_wxXPMHandler[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0},{"_p_wxXPMHandler"},{0}};
40170static swig_type_info _swigt__p_wxPNMHandler[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0},{"_p_wxPNMHandler"},{0}};
40171static swig_type_info _swigt__p_wxJPEGHandler[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0},{"_p_wxJPEGHandler"},{0}};
40172static swig_type_info _swigt__p_wxPCXHandler[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0},{"_p_wxPCXHandler"},{0}};
40173static swig_type_info _swigt__p_wxGIFHandler[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0},{"_p_wxGIFHandler"},{0}};
40174static swig_type_info _swigt__p_wxPNGHandler[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0},{"_p_wxPNGHandler"},{0}};
40175static swig_type_info _swigt__p_wxANIHandler[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0},{"_p_wxANIHandler"},{0}};
40176static swig_type_info _swigt__p_wxMemoryFSHandler[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0},{"_p_wxMemoryFSHandler"},{0}};
40177static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{0}};
40178static swig_type_info _swigt__p_wxCURHandler[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0},{"_p_wxCURHandler"},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler},{0}};
40179static swig_type_info _swigt__p_wxICOHandler[] = {{"_p_wxICOHandler", 0, "wxICOHandler *", 0},{"_p_wxICOHandler"},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxICOHandler},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxICOHandler},{0}};
40180static swig_type_info _swigt__p_wxBMPHandler[] = {{"_p_wxBMPHandler", 0, "wxBMPHandler *", 0},{"_p_wxBMPHandler"},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxBMPHandler},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxBMPHandler},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxBMPHandler},{0}};
40181static swig_type_info _swigt__p_wxImageHandler[] = {{"_p_wxImageHandler", 0, "wxImageHandler *", 0},{"_p_wxImageHandler"},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxImageHandler},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxImageHandler},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxImageHandler},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxImageHandler},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxImageHandler},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxImageHandler},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxImageHandler},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxImageHandler},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxImageHandler},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxImageHandler},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxImageHandler},{0}};
40182static swig_type_info _swigt__p_wxFileSystemHandler[] = {{"_p_wxFileSystemHandler", 0, "wxFileSystemHandler *", 0},{"_p_wxFileSystemHandler"},{"_p_wxPyFileSystemHandler", _p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler},{"_p_wxInternetFSHandler", _p_wxInternetFSHandlerTo_p_wxFileSystemHandler},{"_p_wxZipFSHandler", _p_wxZipFSHandlerTo_p_wxFileSystemHandler},{"_p_wxMemoryFSHandler", _p_wxMemoryFSHandlerTo_p_wxFileSystemHandler},{0}};
40183static swig_type_info _swigt__p_wxPyFileSystemHandler[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0},{"_p_wxPyFileSystemHandler"},{0}};
40184static swig_type_info _swigt__p_wxInternetFSHandler[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0},{"_p_wxInternetFSHandler"},{0}};
4d5c3d91 40185static swig_type_info _swigt__p_wxZipFSHandler[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0},{"_p_wxZipFSHandler"},{0}};
d14a1e28
RD
40186static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
40187static swig_type_info _swigt__p_wxGBSpan[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0},{"_p_wxGBSpan"},{0}};
40188static swig_type_info _swigt__p_wxPropagateOnce[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0},{"_p_wxPropagateOnce"},{0}};
40189static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
994141e6 40190static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
d14a1e28
RD
40191static swig_type_info _swigt__p_wxGBPosition[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0},{"_p_wxGBPosition"},{0}};
40192static swig_type_info _swigt__p_wxImage[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
40193static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
40194static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
40195static swig_type_info _swigt__p_wxImageHistogram[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0},{"_p_wxImageHistogram"},{0}};
40196static swig_type_info _swigt__p_byte[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
40197static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
40198static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
1e0c8722 40199static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}};
d14a1e28
RD
40200static swig_type_info _swigt__p_wxPyInputStream[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0},{"_p_wxPyInputStream"},{0}};
40201static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
40202static swig_type_info _swigt__p_wxInputStream[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}};
40203static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
40204static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
40205static swig_type_info _swigt__p_wxNavigationKeyEvent[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0},{"_p_wxNavigationKeyEvent"},{0}};
40206static swig_type_info _swigt__p_wxWindowDestroyEvent[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0},{"_p_wxWindowDestroyEvent"},{0}};
40207static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{0}};
40208static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
d14a1e28
RD
40209static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
40210static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
40211static swig_type_info _swigt__p_wxMenuEvent[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0},{"_p_wxMenuEvent"},{0}};
40212static swig_type_info _swigt__p_wxContextMenuEvent[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0},{"_p_wxContextMenuEvent"},{0}};
40213static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
40214static swig_type_info _swigt__p_wxCloseEvent[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0},{"_p_wxCloseEvent"},{0}};
40215static swig_type_info _swigt__p_wxEraseEvent[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0},{"_p_wxEraseEvent"},{0}};
40216static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
40217static swig_type_info _swigt__p_wxPyApp[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0},{"_p_wxPyApp"},{0}};
40218static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent},{"_p_wxCommandEvent"},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent},{0}};
40219static swig_type_info _swigt__p_wxPyCommandEvent[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0},{"_p_wxPyCommandEvent"},{0}};
7722248d 40220static swig_type_info _swigt__p_wxPyDropTarget[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0},{"_p_wxPyDropTarget"},{0}};
d14a1e28
RD
40221static swig_type_info _swigt__p_wxChildFocusEvent[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0},{"_p_wxChildFocusEvent"},{0}};
40222static swig_type_info _swigt__p_wxFocusEvent[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0},{"_p_wxFocusEvent"},{0}};
40223static swig_type_info _swigt__p_wxDropFilesEvent[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0},{"_p_wxDropFilesEvent"},{0}};
40224static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxControlWithItems"},{0}};
40225static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
40226static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
40227static swig_type_info _swigt__p_wxPyValidator[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0},{"_p_wxPyValidator"},{0}};
40228
40229static swig_type_info *swig_types_initial[] = {
40230_swigt__p_wxLayoutConstraints,
40231_swigt__p_wxRealPoint,
40232_swigt__p_wxSizerItem,
40233_swigt__p_wxGBSizerItem,
40234_swigt__p_wxScrollEvent,
40235_swigt__p_wxIndividualLayoutConstraint,
40236_swigt__p_wxSizer,
40237_swigt__p_wxBoxSizer,
40238_swigt__p_wxStaticBoxSizer,
40239_swigt__p_wxGridBagSizer,
40240_swigt__p_wxAcceleratorEntry,
40241_swigt__p_wxUpdateUIEvent,
40242_swigt__p_wxMenu,
40243_swigt__p_wxEvent,
40244_swigt__p_wxGridSizer,
40245_swigt__p_wxFlexGridSizer,
40246_swigt__p_wxInitDialogEvent,
40247_swigt__p_wxItemContainer,
40248_swigt__p_wxNcPaintEvent,
40249_swigt__p_wxPaintEvent,
40250_swigt__p_wxSysColourChangedEvent,
40251_swigt__p_wxMouseCaptureChangedEvent,
40252_swigt__p_wxDisplayChangedEvent,
40253_swigt__p_wxPaletteChangedEvent,
40254_swigt__p_wxControl,
40255_swigt__p_wxFont,
40256_swigt__p_wxMenuBarBase,
40257_swigt__p_wxSetCursorEvent,
40258_swigt__p_wxFSFile,
40259_swigt__p_wxCaret,
40260_swigt__p_wxRegion,
40261_swigt__p_wxPoint2D,
40262_swigt__p_int,
40263_swigt__p_wxSize,
40264_swigt__p_wxDC,
40265_swigt__p_wxPySizer,
40266_swigt__p_wxNotifyEvent,
40267_swigt__p_wxPyEvent,
40268_swigt__p_wxPropagationDisabler,
40269_swigt__p_wxAppTraits,
40270_swigt__p_wxArrayString,
40271_swigt__p_wxShowEvent,
40272_swigt__p_wxToolTip,
4d5c3d91 40273_swigt__p_wxMaximizeEvent,
d14a1e28
RD
40274_swigt__p_wxIconizeEvent,
40275_swigt__p_wxActivateEvent,
40276_swigt__p_wxMoveEvent,
40277_swigt__p_wxSizeEvent,
40278_swigt__p_wxQueryNewPaletteEvent,
40279_swigt__p_wxWindowCreateEvent,
40280_swigt__p_wxIdleEvent,
40281_swigt__p_wxMenuItem,
40282_swigt__p_wxStaticBox,
40283_swigt__p_long,
40284_swigt__p_wxTIFFHandler,
40285_swigt__p_wxXPMHandler,
40286_swigt__p_wxPNMHandler,
40287_swigt__p_wxJPEGHandler,
40288_swigt__p_wxPCXHandler,
40289_swigt__p_wxGIFHandler,
40290_swigt__p_wxPNGHandler,
40291_swigt__p_wxANIHandler,
40292_swigt__p_wxMemoryFSHandler,
40293_swigt__p_wxEvtHandler,
40294_swigt__p_wxCURHandler,
40295_swigt__p_wxICOHandler,
40296_swigt__p_wxBMPHandler,
40297_swigt__p_wxImageHandler,
40298_swigt__p_wxFileSystemHandler,
40299_swigt__p_wxPyFileSystemHandler,
40300_swigt__p_wxInternetFSHandler,
4d5c3d91 40301_swigt__p_wxZipFSHandler,
d14a1e28
RD
40302_swigt__p_wxRect,
40303_swigt__p_wxGBSpan,
40304_swigt__p_wxPropagateOnce,
40305_swigt__p_wxAcceleratorTable,
994141e6 40306_swigt__p_char,
d14a1e28
RD
40307_swigt__p_wxGBPosition,
40308_swigt__p_wxImage,
40309_swigt__p_wxFrame,
40310_swigt__p_wxScrollWinEvent,
40311_swigt__p_wxImageHistogram,
40312_swigt__p_byte,
40313_swigt__p_wxPoint,
40314_swigt__p_wxCursor,
40315_swigt__p_wxObject,
40316_swigt__p_wxPyInputStream,
40317_swigt__p_wxOutputStream,
40318_swigt__p_wxInputStream,
40319_swigt__p_wxDateTime,
40320_swigt__p_wxKeyEvent,
40321_swigt__p_wxNavigationKeyEvent,
40322_swigt__p_wxWindowDestroyEvent,
40323_swigt__p_wxWindow,
40324_swigt__p_wxMenuBar,
d14a1e28
RD
40325_swigt__p_wxFileSystem,
40326_swigt__p_wxBitmap,
40327_swigt__p_wxMenuEvent,
40328_swigt__p_wxContextMenuEvent,
40329_swigt__p_unsigned_char,
40330_swigt__p_wxCloseEvent,
40331_swigt__p_wxEraseEvent,
40332_swigt__p_wxMouseEvent,
40333_swigt__p_wxPyApp,
40334_swigt__p_wxCommandEvent,
40335_swigt__p_wxPyCommandEvent,
7722248d 40336_swigt__p_wxPyDropTarget,
d14a1e28
RD
40337_swigt__p_wxChildFocusEvent,
40338_swigt__p_wxFocusEvent,
40339_swigt__p_wxDropFilesEvent,
40340_swigt__p_wxControlWithItems,
40341_swigt__p_wxColour,
40342_swigt__p_wxValidator,
40343_swigt__p_wxPyValidator,
403440
40345};
40346
40347
40348/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40349
40350static swig_const_info swig_const_table[] = {
d14a1e28
RD
40351{0}};
40352
40353#ifdef __cplusplus
40354}
40355#endif
40356
40357#ifdef __cplusplus
40358extern "C"
40359#endif
40360SWIGEXPORT(void) SWIG_init(void) {
40361 static PyObject *SWIG_globals = 0;
40362 static int typeinit = 0;
40363 PyObject *m, *d;
40364 int i;
40365 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
40366 m = Py_InitModule((char *) SWIG_name, SwigMethods);
40367 d = PyModule_GetDict(m);
40368
40369 if (!typeinit) {
40370 for (i = 0; swig_types_initial[i]; i++) {
40371 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
40372 }
40373 typeinit = 1;
40374 }
40375 SWIG_InstallConstants(d,swig_const_table);
40376
40377
40378#ifndef wxPyUSE_EXPORT
40379 // Make our API structure a CObject so other modules can import it
40380 // from this module.
40381 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
40382 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
40383 Py_XDECREF(cobj);
40384#endif
40385
994141e6
RD
40386 PyDict_SetItemString(d,"NOT_FOUND", SWIG_PyObj_FromInt((int)wxNOT_FOUND));
40387 PyDict_SetItemString(d,"VSCROLL", SWIG_PyObj_FromInt((int)wxVSCROLL));
40388 PyDict_SetItemString(d,"HSCROLL", SWIG_PyObj_FromInt((int)wxHSCROLL));
40389 PyDict_SetItemString(d,"CAPTION", SWIG_PyObj_FromInt((int)wxCAPTION));
40390 PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_PyObj_FromInt((int)wxDOUBLE_BORDER));
40391 PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_PyObj_FromInt((int)wxSUNKEN_BORDER));
40392 PyDict_SetItemString(d,"RAISED_BORDER", SWIG_PyObj_FromInt((int)wxRAISED_BORDER));
40393 PyDict_SetItemString(d,"BORDER", SWIG_PyObj_FromInt((int)wxBORDER));
40394 PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_PyObj_FromInt((int)wxSIMPLE_BORDER));
40395 PyDict_SetItemString(d,"STATIC_BORDER", SWIG_PyObj_FromInt((int)wxSTATIC_BORDER));
40396 PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_PyObj_FromInt((int)wxTRANSPARENT_WINDOW));
40397 PyDict_SetItemString(d,"NO_BORDER", SWIG_PyObj_FromInt((int)wxNO_BORDER));
40398 PyDict_SetItemString(d,"USER_COLOURS", SWIG_PyObj_FromInt((int)wxUSER_COLOURS));
40399 PyDict_SetItemString(d,"NO_3D", SWIG_PyObj_FromInt((int)wxNO_3D));
40400 PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_PyObj_FromInt((int)wxTAB_TRAVERSAL));
40401 PyDict_SetItemString(d,"WANTS_CHARS", SWIG_PyObj_FromInt((int)wxWANTS_CHARS));
40402 PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_PyObj_FromInt((int)wxPOPUP_WINDOW));
40403 PyDict_SetItemString(d,"CENTER_FRAME", SWIG_PyObj_FromInt((int)wxCENTER_FRAME));
40404 PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_PyObj_FromInt((int)wxCENTRE_ON_SCREEN));
40405 PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_PyObj_FromInt((int)wxCENTER_ON_SCREEN));
40406 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_PyObj_FromInt((int)wxSTAY_ON_TOP));
40407 PyDict_SetItemString(d,"ICONIZE", SWIG_PyObj_FromInt((int)wxICONIZE));
40408 PyDict_SetItemString(d,"MINIMIZE", SWIG_PyObj_FromInt((int)wxMINIMIZE));
40409 PyDict_SetItemString(d,"MAXIMIZE", SWIG_PyObj_FromInt((int)wxMAXIMIZE));
40410 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_PyObj_FromInt((int)wxCLOSE_BOX));
40411 PyDict_SetItemString(d,"THICK_FRAME", SWIG_PyObj_FromInt((int)wxTHICK_FRAME));
40412 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_PyObj_FromInt((int)wxSYSTEM_MENU));
40413 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_PyObj_FromInt((int)wxMINIMIZE_BOX));
40414 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_PyObj_FromInt((int)wxMAXIMIZE_BOX));
40415 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_PyObj_FromInt((int)wxTINY_CAPTION_HORIZ));
40416 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_PyObj_FromInt((int)wxTINY_CAPTION_VERT));
40417 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_PyObj_FromInt((int)wxRESIZE_BOX));
40418 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_PyObj_FromInt((int)wxRESIZE_BORDER));
40419 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_PyObj_FromInt((int)wxDIALOG_MODAL));
40420 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_PyObj_FromInt((int)wxDIALOG_MODELESS));
40421 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_PyObj_FromInt((int)wxDIALOG_NO_PARENT));
40422 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_PyObj_FromInt((int)wxDEFAULT_FRAME_STYLE));
40423 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_PyObj_FromInt((int)wxDEFAULT_DIALOG_STYLE));
40424 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_PyObj_FromInt((int)wxFRAME_TOOL_WINDOW));
40425 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_PyObj_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
40426 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_PyObj_FromInt((int)wxFRAME_NO_WINDOW_MENU));
40427 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_PyObj_FromInt((int)wxFRAME_NO_TASKBAR));
40428 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_PyObj_FromInt((int)wxFRAME_SHAPED));
40429 PyDict_SetItemString(d,"ED_CLIENT_MARGIN", SWIG_PyObj_FromInt((int)wxED_CLIENT_MARGIN));
40430 PyDict_SetItemString(d,"ED_BUTTONS_BOTTOM", SWIG_PyObj_FromInt((int)wxED_BUTTONS_BOTTOM));
40431 PyDict_SetItemString(d,"ED_BUTTONS_RIGHT", SWIG_PyObj_FromInt((int)wxED_BUTTONS_RIGHT));
40432 PyDict_SetItemString(d,"ED_STATIC_LINE", SWIG_PyObj_FromInt((int)wxED_STATIC_LINE));
40433 PyDict_SetItemString(d,"EXT_DIALOG_STYLE", SWIG_PyObj_FromInt((int)wxEXT_DIALOG_STYLE));
40434 PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_PyObj_FromInt((int)wxCLIP_CHILDREN));
40435 PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_PyObj_FromInt((int)wxCLIP_SIBLINGS));
40436 PyDict_SetItemString(d,"RETAINED", SWIG_PyObj_FromInt((int)wxRETAINED));
40437 PyDict_SetItemString(d,"BACKINGSTORE", SWIG_PyObj_FromInt((int)wxBACKINGSTORE));
40438 PyDict_SetItemString(d,"COLOURED", SWIG_PyObj_FromInt((int)wxCOLOURED));
40439 PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_PyObj_FromInt((int)wxFIXED_LENGTH));
40440 PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_PyObj_FromInt((int)wxLB_NEEDED_SB));
40441 PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_PyObj_FromInt((int)wxLB_ALWAYS_SB));
40442 PyDict_SetItemString(d,"LB_SORT", SWIG_PyObj_FromInt((int)wxLB_SORT));
40443 PyDict_SetItemString(d,"LB_SINGLE", SWIG_PyObj_FromInt((int)wxLB_SINGLE));
40444 PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_PyObj_FromInt((int)wxLB_MULTIPLE));
40445 PyDict_SetItemString(d,"LB_EXTENDED", SWIG_PyObj_FromInt((int)wxLB_EXTENDED));
40446 PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_PyObj_FromInt((int)wxLB_OWNERDRAW));
40447 PyDict_SetItemString(d,"LB_HSCROLL", SWIG_PyObj_FromInt((int)wxLB_HSCROLL));
40448 PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxPROCESS_ENTER));
40449 PyDict_SetItemString(d,"PASSWORD", SWIG_PyObj_FromInt((int)wxPASSWORD));
40450 PyDict_SetItemString(d,"CB_SIMPLE", SWIG_PyObj_FromInt((int)wxCB_SIMPLE));
40451 PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_PyObj_FromInt((int)wxCB_DROPDOWN));
40452 PyDict_SetItemString(d,"CB_SORT", SWIG_PyObj_FromInt((int)wxCB_SORT));
40453 PyDict_SetItemString(d,"CB_READONLY", SWIG_PyObj_FromInt((int)wxCB_READONLY));
40454 PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxRA_HORIZONTAL));
40455 PyDict_SetItemString(d,"RA_VERTICAL", SWIG_PyObj_FromInt((int)wxRA_VERTICAL));
40456 PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_PyObj_FromInt((int)wxRA_SPECIFY_ROWS));
40457 PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_PyObj_FromInt((int)wxRA_SPECIFY_COLS));
40458 PyDict_SetItemString(d,"RB_GROUP", SWIG_PyObj_FromInt((int)wxRB_GROUP));
40459 PyDict_SetItemString(d,"RB_SINGLE", SWIG_PyObj_FromInt((int)wxRB_SINGLE));
40460 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSL_HORIZONTAL));
40461 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_PyObj_FromInt((int)wxSL_VERTICAL));
40462 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_PyObj_FromInt((int)wxSL_AUTOTICKS));
40463 PyDict_SetItemString(d,"SL_LABELS", SWIG_PyObj_FromInt((int)wxSL_LABELS));
40464 PyDict_SetItemString(d,"SL_LEFT", SWIG_PyObj_FromInt((int)wxSL_LEFT));
40465 PyDict_SetItemString(d,"SL_TOP", SWIG_PyObj_FromInt((int)wxSL_TOP));
40466 PyDict_SetItemString(d,"SL_RIGHT", SWIG_PyObj_FromInt((int)wxSL_RIGHT));
40467 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_PyObj_FromInt((int)wxSL_BOTTOM));
40468 PyDict_SetItemString(d,"SL_BOTH", SWIG_PyObj_FromInt((int)wxSL_BOTH));
40469 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_PyObj_FromInt((int)wxSL_SELRANGE));
40470 PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSB_HORIZONTAL));
40471 PyDict_SetItemString(d,"SB_VERTICAL", SWIG_PyObj_FromInt((int)wxSB_VERTICAL));
40472 PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_PyObj_FromInt((int)wxST_SIZEGRIP));
40473 PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_PyObj_FromInt((int)wxST_NO_AUTORESIZE));
40474 PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_PyObj_FromInt((int)wxFLOOD_SURFACE));
40475 PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_PyObj_FromInt((int)wxFLOOD_BORDER));
40476 PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_PyObj_FromInt((int)wxODDEVEN_RULE));
40477 PyDict_SetItemString(d,"WINDING_RULE", SWIG_PyObj_FromInt((int)wxWINDING_RULE));
40478 PyDict_SetItemString(d,"TOOL_TOP", SWIG_PyObj_FromInt((int)wxTOOL_TOP));
40479 PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_PyObj_FromInt((int)wxTOOL_BOTTOM));
40480 PyDict_SetItemString(d,"TOOL_LEFT", SWIG_PyObj_FromInt((int)wxTOOL_LEFT));
40481 PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_PyObj_FromInt((int)wxTOOL_RIGHT));
40482 PyDict_SetItemString(d,"OK", SWIG_PyObj_FromInt((int)wxOK));
40483 PyDict_SetItemString(d,"YES_NO", SWIG_PyObj_FromInt((int)wxYES_NO));
40484 PyDict_SetItemString(d,"CANCEL", SWIG_PyObj_FromInt((int)wxCANCEL));
40485 PyDict_SetItemString(d,"YES", SWIG_PyObj_FromInt((int)wxYES));
40486 PyDict_SetItemString(d,"NO", SWIG_PyObj_FromInt((int)wxNO));
40487 PyDict_SetItemString(d,"NO_DEFAULT", SWIG_PyObj_FromInt((int)wxNO_DEFAULT));
40488 PyDict_SetItemString(d,"YES_DEFAULT", SWIG_PyObj_FromInt((int)wxYES_DEFAULT));
40489 PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_PyObj_FromInt((int)wxICON_EXCLAMATION));
40490 PyDict_SetItemString(d,"ICON_HAND", SWIG_PyObj_FromInt((int)wxICON_HAND));
40491 PyDict_SetItemString(d,"ICON_QUESTION", SWIG_PyObj_FromInt((int)wxICON_QUESTION));
40492 PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_PyObj_FromInt((int)wxICON_INFORMATION));
40493 PyDict_SetItemString(d,"ICON_STOP", SWIG_PyObj_FromInt((int)wxICON_STOP));
40494 PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_PyObj_FromInt((int)wxICON_ASTERISK));
40495 PyDict_SetItemString(d,"ICON_MASK", SWIG_PyObj_FromInt((int)wxICON_MASK));
40496 PyDict_SetItemString(d,"ICON_WARNING", SWIG_PyObj_FromInt((int)wxICON_WARNING));
40497 PyDict_SetItemString(d,"ICON_ERROR", SWIG_PyObj_FromInt((int)wxICON_ERROR));
40498 PyDict_SetItemString(d,"FORWARD", SWIG_PyObj_FromInt((int)wxFORWARD));
40499 PyDict_SetItemString(d,"BACKWARD", SWIG_PyObj_FromInt((int)wxBACKWARD));
40500 PyDict_SetItemString(d,"RESET", SWIG_PyObj_FromInt((int)wxRESET));
40501 PyDict_SetItemString(d,"HELP", SWIG_PyObj_FromInt((int)wxHELP));
40502 PyDict_SetItemString(d,"MORE", SWIG_PyObj_FromInt((int)wxMORE));
40503 PyDict_SetItemString(d,"SETUP", SWIG_PyObj_FromInt((int)wxSETUP));
40504 PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_PyObj_FromInt((int)wxSIZE_AUTO_WIDTH));
40505 PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_PyObj_FromInt((int)wxSIZE_AUTO_HEIGHT));
40506 PyDict_SetItemString(d,"SIZE_AUTO", SWIG_PyObj_FromInt((int)wxSIZE_AUTO));
40507 PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_PyObj_FromInt((int)wxSIZE_USE_EXISTING));
40508 PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_PyObj_FromInt((int)wxSIZE_ALLOW_MINUS_ONE));
40509 PyDict_SetItemString(d,"PORTRAIT", SWIG_PyObj_FromInt((int)wxPORTRAIT));
40510 PyDict_SetItemString(d,"LANDSCAPE", SWIG_PyObj_FromInt((int)wxLANDSCAPE));
40511 PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_PyObj_FromInt((int)wxPRINT_QUALITY_HIGH));
40512 PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_PyObj_FromInt((int)wxPRINT_QUALITY_MEDIUM));
40513 PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_PyObj_FromInt((int)wxPRINT_QUALITY_LOW));
40514 PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_PyObj_FromInt((int)wxPRINT_QUALITY_DRAFT));
40515 PyDict_SetItemString(d,"ID_ANY", SWIG_PyObj_FromInt((int)wxID_ANY));
40516 PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_PyObj_FromInt((int)wxID_SEPARATOR));
40517 PyDict_SetItemString(d,"ID_LOWEST", SWIG_PyObj_FromInt((int)wxID_LOWEST));
40518 PyDict_SetItemString(d,"ID_OPEN", SWIG_PyObj_FromInt((int)wxID_OPEN));
40519 PyDict_SetItemString(d,"ID_CLOSE", SWIG_PyObj_FromInt((int)wxID_CLOSE));
40520 PyDict_SetItemString(d,"ID_NEW", SWIG_PyObj_FromInt((int)wxID_NEW));
40521 PyDict_SetItemString(d,"ID_SAVE", SWIG_PyObj_FromInt((int)wxID_SAVE));
40522 PyDict_SetItemString(d,"ID_SAVEAS", SWIG_PyObj_FromInt((int)wxID_SAVEAS));
40523 PyDict_SetItemString(d,"ID_REVERT", SWIG_PyObj_FromInt((int)wxID_REVERT));
40524 PyDict_SetItemString(d,"ID_EXIT", SWIG_PyObj_FromInt((int)wxID_EXIT));
40525 PyDict_SetItemString(d,"ID_UNDO", SWIG_PyObj_FromInt((int)wxID_UNDO));
40526 PyDict_SetItemString(d,"ID_REDO", SWIG_PyObj_FromInt((int)wxID_REDO));
40527 PyDict_SetItemString(d,"ID_HELP", SWIG_PyObj_FromInt((int)wxID_HELP));
40528 PyDict_SetItemString(d,"ID_PRINT", SWIG_PyObj_FromInt((int)wxID_PRINT));
40529 PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_PyObj_FromInt((int)wxID_PRINT_SETUP));
40530 PyDict_SetItemString(d,"ID_PREVIEW", SWIG_PyObj_FromInt((int)wxID_PREVIEW));
40531 PyDict_SetItemString(d,"ID_ABOUT", SWIG_PyObj_FromInt((int)wxID_ABOUT));
40532 PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_PyObj_FromInt((int)wxID_HELP_CONTENTS));
40533 PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_PyObj_FromInt((int)wxID_HELP_COMMANDS));
40534 PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_PyObj_FromInt((int)wxID_HELP_PROCEDURES));
40535 PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_PyObj_FromInt((int)wxID_HELP_CONTEXT));
40536 PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_PyObj_FromInt((int)wxID_CLOSE_ALL));
40537 PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_PyObj_FromInt((int)wxID_PREFERENCES));
40538 PyDict_SetItemString(d,"ID_CUT", SWIG_PyObj_FromInt((int)wxID_CUT));
40539 PyDict_SetItemString(d,"ID_COPY", SWIG_PyObj_FromInt((int)wxID_COPY));
40540 PyDict_SetItemString(d,"ID_PASTE", SWIG_PyObj_FromInt((int)wxID_PASTE));
40541 PyDict_SetItemString(d,"ID_CLEAR", SWIG_PyObj_FromInt((int)wxID_CLEAR));
40542 PyDict_SetItemString(d,"ID_FIND", SWIG_PyObj_FromInt((int)wxID_FIND));
40543 PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_PyObj_FromInt((int)wxID_DUPLICATE));
40544 PyDict_SetItemString(d,"ID_SELECTALL", SWIG_PyObj_FromInt((int)wxID_SELECTALL));
40545 PyDict_SetItemString(d,"ID_DELETE", SWIG_PyObj_FromInt((int)wxID_DELETE));
40546 PyDict_SetItemString(d,"ID_REPLACE", SWIG_PyObj_FromInt((int)wxID_REPLACE));
40547 PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_PyObj_FromInt((int)wxID_REPLACE_ALL));
40548 PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_PyObj_FromInt((int)wxID_PROPERTIES));
40549 PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_PyObj_FromInt((int)wxID_VIEW_DETAILS));
40550 PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_PyObj_FromInt((int)wxID_VIEW_LARGEICONS));
40551 PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_PyObj_FromInt((int)wxID_VIEW_SMALLICONS));
40552 PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_PyObj_FromInt((int)wxID_VIEW_LIST));
40553 PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_PyObj_FromInt((int)wxID_VIEW_SORTDATE));
40554 PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_PyObj_FromInt((int)wxID_VIEW_SORTNAME));
40555 PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_PyObj_FromInt((int)wxID_VIEW_SORTSIZE));
40556 PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_PyObj_FromInt((int)wxID_VIEW_SORTTYPE));
40557 PyDict_SetItemString(d,"ID_FILE1", SWIG_PyObj_FromInt((int)wxID_FILE1));
40558 PyDict_SetItemString(d,"ID_FILE2", SWIG_PyObj_FromInt((int)wxID_FILE2));
40559 PyDict_SetItemString(d,"ID_FILE3", SWIG_PyObj_FromInt((int)wxID_FILE3));
40560 PyDict_SetItemString(d,"ID_FILE4", SWIG_PyObj_FromInt((int)wxID_FILE4));
40561 PyDict_SetItemString(d,"ID_FILE5", SWIG_PyObj_FromInt((int)wxID_FILE5));
40562 PyDict_SetItemString(d,"ID_FILE6", SWIG_PyObj_FromInt((int)wxID_FILE6));
40563 PyDict_SetItemString(d,"ID_FILE7", SWIG_PyObj_FromInt((int)wxID_FILE7));
40564 PyDict_SetItemString(d,"ID_FILE8", SWIG_PyObj_FromInt((int)wxID_FILE8));
40565 PyDict_SetItemString(d,"ID_FILE9", SWIG_PyObj_FromInt((int)wxID_FILE9));
40566 PyDict_SetItemString(d,"ID_OK", SWIG_PyObj_FromInt((int)wxID_OK));
40567 PyDict_SetItemString(d,"ID_CANCEL", SWIG_PyObj_FromInt((int)wxID_CANCEL));
40568 PyDict_SetItemString(d,"ID_APPLY", SWIG_PyObj_FromInt((int)wxID_APPLY));
40569 PyDict_SetItemString(d,"ID_YES", SWIG_PyObj_FromInt((int)wxID_YES));
40570 PyDict_SetItemString(d,"ID_NO", SWIG_PyObj_FromInt((int)wxID_NO));
40571 PyDict_SetItemString(d,"ID_STATIC", SWIG_PyObj_FromInt((int)wxID_STATIC));
40572 PyDict_SetItemString(d,"ID_FORWARD", SWIG_PyObj_FromInt((int)wxID_FORWARD));
40573 PyDict_SetItemString(d,"ID_BACKWARD", SWIG_PyObj_FromInt((int)wxID_BACKWARD));
40574 PyDict_SetItemString(d,"ID_DEFAULT", SWIG_PyObj_FromInt((int)wxID_DEFAULT));
40575 PyDict_SetItemString(d,"ID_MORE", SWIG_PyObj_FromInt((int)wxID_MORE));
40576 PyDict_SetItemString(d,"ID_SETUP", SWIG_PyObj_FromInt((int)wxID_SETUP));
40577 PyDict_SetItemString(d,"ID_RESET", SWIG_PyObj_FromInt((int)wxID_RESET));
40578 PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_PyObj_FromInt((int)wxID_CONTEXT_HELP));
40579 PyDict_SetItemString(d,"ID_YESTOALL", SWIG_PyObj_FromInt((int)wxID_YESTOALL));
40580 PyDict_SetItemString(d,"ID_NOTOALL", SWIG_PyObj_FromInt((int)wxID_NOTOALL));
40581 PyDict_SetItemString(d,"ID_ABORT", SWIG_PyObj_FromInt((int)wxID_ABORT));
40582 PyDict_SetItemString(d,"ID_RETRY", SWIG_PyObj_FromInt((int)wxID_RETRY));
40583 PyDict_SetItemString(d,"ID_IGNORE", SWIG_PyObj_FromInt((int)wxID_IGNORE));
40584 PyDict_SetItemString(d,"ID_HIGHEST", SWIG_PyObj_FromInt((int)wxID_HIGHEST));
40585 PyDict_SetItemString(d,"OPEN", SWIG_PyObj_FromInt((int)wxOPEN));
40586 PyDict_SetItemString(d,"SAVE", SWIG_PyObj_FromInt((int)wxSAVE));
40587 PyDict_SetItemString(d,"HIDE_READONLY", SWIG_PyObj_FromInt((int)wxHIDE_READONLY));
40588 PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_PyObj_FromInt((int)wxOVERWRITE_PROMPT));
40589 PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_PyObj_FromInt((int)wxFILE_MUST_EXIST));
40590 PyDict_SetItemString(d,"MULTIPLE", SWIG_PyObj_FromInt((int)wxMULTIPLE));
40591 PyDict_SetItemString(d,"CHANGE_DIR", SWIG_PyObj_FromInt((int)wxCHANGE_DIR));
40592 PyDict_SetItemString(d,"ACCEL_ALT", SWIG_PyObj_FromInt((int)wxACCEL_ALT));
40593 PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_PyObj_FromInt((int)wxACCEL_CTRL));
40594 PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_PyObj_FromInt((int)wxACCEL_SHIFT));
40595 PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_PyObj_FromInt((int)wxACCEL_NORMAL));
40596 PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_PyObj_FromInt((int)wxPD_AUTO_HIDE));
40597 PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_PyObj_FromInt((int)wxPD_APP_MODAL));
40598 PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_PyObj_FromInt((int)wxPD_CAN_ABORT));
40599 PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_PyObj_FromInt((int)wxPD_ELAPSED_TIME));
40600 PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_PyObj_FromInt((int)wxPD_ESTIMATED_TIME));
40601 PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_PyObj_FromInt((int)wxPD_REMAINING_TIME));
40602 PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_PyObj_FromInt((int)wxDD_NEW_DIR_BUTTON));
40603 PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxDD_DEFAULT_STYLE));
40604 PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_PyObj_FromInt((int)wxMENU_TEAROFF));
40605 PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_PyObj_FromInt((int)wxMB_DOCKABLE));
40606 PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_PyObj_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE));
40607 PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_PyObj_FromInt((int)wxFULL_REPAINT_ON_RESIZE));
40608 PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_PyObj_FromInt((int)wxLI_HORIZONTAL));
40609 PyDict_SetItemString(d,"LI_VERTICAL", SWIG_PyObj_FromInt((int)wxLI_VERTICAL));
40610 PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_PyObj_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY));
40611 PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_PyObj_FromInt((int)wxWS_EX_BLOCK_EVENTS));
40612 PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_PyObj_FromInt((int)wxWS_EX_TRANSIENT));
40613 PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_PyObj_FromInt((int)wxWS_EX_THEMED_BACKGROUND));
40614 PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_PyObj_FromInt((int)wxWS_EX_PROCESS_IDLE));
40615 PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_PyObj_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES));
40616 PyDict_SetItemString(d,"MM_TEXT", SWIG_PyObj_FromInt((int)wxMM_TEXT));
40617 PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_PyObj_FromInt((int)wxMM_LOMETRIC));
40618 PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_PyObj_FromInt((int)wxMM_HIMETRIC));
40619 PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_PyObj_FromInt((int)wxMM_LOENGLISH));
40620 PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_PyObj_FromInt((int)wxMM_HIENGLISH));
40621 PyDict_SetItemString(d,"MM_TWIPS", SWIG_PyObj_FromInt((int)wxMM_TWIPS));
40622 PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_PyObj_FromInt((int)wxMM_ISOTROPIC));
40623 PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_PyObj_FromInt((int)wxMM_ANISOTROPIC));
40624 PyDict_SetItemString(d,"MM_POINTS", SWIG_PyObj_FromInt((int)wxMM_POINTS));
40625 PyDict_SetItemString(d,"MM_METRIC", SWIG_PyObj_FromInt((int)wxMM_METRIC));
40626 PyDict_SetItemString(d,"CENTRE", SWIG_PyObj_FromInt((int)wxCENTRE));
40627 PyDict_SetItemString(d,"CENTER", SWIG_PyObj_FromInt((int)wxCENTER));
40628 PyDict_SetItemString(d,"HORIZONTAL", SWIG_PyObj_FromInt((int)wxHORIZONTAL));
40629 PyDict_SetItemString(d,"VERTICAL", SWIG_PyObj_FromInt((int)wxVERTICAL));
40630 PyDict_SetItemString(d,"BOTH", SWIG_PyObj_FromInt((int)wxBOTH));
40631 PyDict_SetItemString(d,"LEFT", SWIG_PyObj_FromInt((int)wxLEFT));
40632 PyDict_SetItemString(d,"RIGHT", SWIG_PyObj_FromInt((int)wxRIGHT));
40633 PyDict_SetItemString(d,"UP", SWIG_PyObj_FromInt((int)wxUP));
40634 PyDict_SetItemString(d,"DOWN", SWIG_PyObj_FromInt((int)wxDOWN));
40635 PyDict_SetItemString(d,"TOP", SWIG_PyObj_FromInt((int)wxTOP));
40636 PyDict_SetItemString(d,"BOTTOM", SWIG_PyObj_FromInt((int)wxBOTTOM));
40637 PyDict_SetItemString(d,"NORTH", SWIG_PyObj_FromInt((int)wxNORTH));
40638 PyDict_SetItemString(d,"SOUTH", SWIG_PyObj_FromInt((int)wxSOUTH));
40639 PyDict_SetItemString(d,"WEST", SWIG_PyObj_FromInt((int)wxWEST));
40640 PyDict_SetItemString(d,"EAST", SWIG_PyObj_FromInt((int)wxEAST));
40641 PyDict_SetItemString(d,"ALL", SWIG_PyObj_FromInt((int)wxALL));
40642 PyDict_SetItemString(d,"ALIGN_NOT", SWIG_PyObj_FromInt((int)wxALIGN_NOT));
40643 PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_PyObj_FromInt((int)wxALIGN_CENTER_HORIZONTAL));
40644 PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_PyObj_FromInt((int)wxALIGN_CENTRE_HORIZONTAL));
40645 PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxALIGN_LEFT));
40646 PyDict_SetItemString(d,"ALIGN_TOP", SWIG_PyObj_FromInt((int)wxALIGN_TOP));
40647 PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_PyObj_FromInt((int)wxALIGN_RIGHT));
40648 PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_PyObj_FromInt((int)wxALIGN_BOTTOM));
40649 PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_PyObj_FromInt((int)wxALIGN_CENTER_VERTICAL));
40650 PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_PyObj_FromInt((int)wxALIGN_CENTRE_VERTICAL));
40651 PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_PyObj_FromInt((int)wxALIGN_CENTER));
40652 PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_PyObj_FromInt((int)wxALIGN_CENTRE));
40653 PyDict_SetItemString(d,"ALIGN_MASK", SWIG_PyObj_FromInt((int)wxALIGN_MASK));
40654 PyDict_SetItemString(d,"STRETCH_NOT", SWIG_PyObj_FromInt((int)wxSTRETCH_NOT));
40655 PyDict_SetItemString(d,"SHRINK", SWIG_PyObj_FromInt((int)wxSHRINK));
40656 PyDict_SetItemString(d,"GROW", SWIG_PyObj_FromInt((int)wxGROW));
40657 PyDict_SetItemString(d,"EXPAND", SWIG_PyObj_FromInt((int)wxEXPAND));
40658 PyDict_SetItemString(d,"SHAPED", SWIG_PyObj_FromInt((int)wxSHAPED));
40659 PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_PyObj_FromInt((int)wxADJUST_MINSIZE));
40660 PyDict_SetItemString(d,"TILE", SWIG_PyObj_FromInt((int)wxTILE));
40661 PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_PyObj_FromInt((int)wxBORDER_DEFAULT));
40662 PyDict_SetItemString(d,"BORDER_NONE", SWIG_PyObj_FromInt((int)wxBORDER_NONE));
40663 PyDict_SetItemString(d,"BORDER_STATIC", SWIG_PyObj_FromInt((int)wxBORDER_STATIC));
40664 PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_PyObj_FromInt((int)wxBORDER_SIMPLE));
40665 PyDict_SetItemString(d,"BORDER_RAISED", SWIG_PyObj_FromInt((int)wxBORDER_RAISED));
40666 PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_PyObj_FromInt((int)wxBORDER_SUNKEN));
40667 PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_PyObj_FromInt((int)wxBORDER_DOUBLE));
40668 PyDict_SetItemString(d,"BORDER_MASK", SWIG_PyObj_FromInt((int)wxBORDER_MASK));
40669 PyDict_SetItemString(d,"DEFAULT", SWIG_PyObj_FromInt((int)wxDEFAULT));
40670 PyDict_SetItemString(d,"DECORATIVE", SWIG_PyObj_FromInt((int)wxDECORATIVE));
40671 PyDict_SetItemString(d,"ROMAN", SWIG_PyObj_FromInt((int)wxROMAN));
40672 PyDict_SetItemString(d,"SCRIPT", SWIG_PyObj_FromInt((int)wxSCRIPT));
40673 PyDict_SetItemString(d,"SWISS", SWIG_PyObj_FromInt((int)wxSWISS));
40674 PyDict_SetItemString(d,"MODERN", SWIG_PyObj_FromInt((int)wxMODERN));
40675 PyDict_SetItemString(d,"TELETYPE", SWIG_PyObj_FromInt((int)wxTELETYPE));
40676 PyDict_SetItemString(d,"VARIABLE", SWIG_PyObj_FromInt((int)wxVARIABLE));
40677 PyDict_SetItemString(d,"FIXED", SWIG_PyObj_FromInt((int)wxFIXED));
40678 PyDict_SetItemString(d,"NORMAL", SWIG_PyObj_FromInt((int)wxNORMAL));
40679 PyDict_SetItemString(d,"LIGHT", SWIG_PyObj_FromInt((int)wxLIGHT));
40680 PyDict_SetItemString(d,"BOLD", SWIG_PyObj_FromInt((int)wxBOLD));
40681 PyDict_SetItemString(d,"ITALIC", SWIG_PyObj_FromInt((int)wxITALIC));
40682 PyDict_SetItemString(d,"SLANT", SWIG_PyObj_FromInt((int)wxSLANT));
40683 PyDict_SetItemString(d,"SOLID", SWIG_PyObj_FromInt((int)wxSOLID));
40684 PyDict_SetItemString(d,"DOT", SWIG_PyObj_FromInt((int)wxDOT));
40685 PyDict_SetItemString(d,"LONG_DASH", SWIG_PyObj_FromInt((int)wxLONG_DASH));
40686 PyDict_SetItemString(d,"SHORT_DASH", SWIG_PyObj_FromInt((int)wxSHORT_DASH));
40687 PyDict_SetItemString(d,"DOT_DASH", SWIG_PyObj_FromInt((int)wxDOT_DASH));
40688 PyDict_SetItemString(d,"USER_DASH", SWIG_PyObj_FromInt((int)wxUSER_DASH));
40689 PyDict_SetItemString(d,"TRANSPARENT", SWIG_PyObj_FromInt((int)wxTRANSPARENT));
40690 PyDict_SetItemString(d,"STIPPLE", SWIG_PyObj_FromInt((int)wxSTIPPLE));
40691 PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_PyObj_FromInt((int)wxBDIAGONAL_HATCH));
40692 PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_PyObj_FromInt((int)wxCROSSDIAG_HATCH));
40693 PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_PyObj_FromInt((int)wxFDIAGONAL_HATCH));
40694 PyDict_SetItemString(d,"CROSS_HATCH", SWIG_PyObj_FromInt((int)wxCROSS_HATCH));
40695 PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_PyObj_FromInt((int)wxHORIZONTAL_HATCH));
40696 PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_PyObj_FromInt((int)wxVERTICAL_HATCH));
40697 PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_PyObj_FromInt((int)wxJOIN_BEVEL));
40698 PyDict_SetItemString(d,"JOIN_MITER", SWIG_PyObj_FromInt((int)wxJOIN_MITER));
40699 PyDict_SetItemString(d,"JOIN_ROUND", SWIG_PyObj_FromInt((int)wxJOIN_ROUND));
40700 PyDict_SetItemString(d,"CAP_ROUND", SWIG_PyObj_FromInt((int)wxCAP_ROUND));
40701 PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_PyObj_FromInt((int)wxCAP_PROJECTING));
40702 PyDict_SetItemString(d,"CAP_BUTT", SWIG_PyObj_FromInt((int)wxCAP_BUTT));
40703 PyDict_SetItemString(d,"CLEAR", SWIG_PyObj_FromInt((int)wxCLEAR));
40704 PyDict_SetItemString(d,"XOR", SWIG_PyObj_FromInt((int)wxXOR));
40705 PyDict_SetItemString(d,"INVERT", SWIG_PyObj_FromInt((int)wxINVERT));
40706 PyDict_SetItemString(d,"OR_REVERSE", SWIG_PyObj_FromInt((int)wxOR_REVERSE));
40707 PyDict_SetItemString(d,"AND_REVERSE", SWIG_PyObj_FromInt((int)wxAND_REVERSE));
40708 PyDict_SetItemString(d,"COPY", SWIG_PyObj_FromInt((int)wxCOPY));
40709 PyDict_SetItemString(d,"AND", SWIG_PyObj_FromInt((int)wxAND));
40710 PyDict_SetItemString(d,"AND_INVERT", SWIG_PyObj_FromInt((int)wxAND_INVERT));
40711 PyDict_SetItemString(d,"NO_OP", SWIG_PyObj_FromInt((int)wxNO_OP));
40712 PyDict_SetItemString(d,"NOR", SWIG_PyObj_FromInt((int)wxNOR));
40713 PyDict_SetItemString(d,"EQUIV", SWIG_PyObj_FromInt((int)wxEQUIV));
40714 PyDict_SetItemString(d,"SRC_INVERT", SWIG_PyObj_FromInt((int)wxSRC_INVERT));
40715 PyDict_SetItemString(d,"OR_INVERT", SWIG_PyObj_FromInt((int)wxOR_INVERT));
40716 PyDict_SetItemString(d,"NAND", SWIG_PyObj_FromInt((int)wxNAND));
40717 PyDict_SetItemString(d,"OR", SWIG_PyObj_FromInt((int)wxOR));
40718 PyDict_SetItemString(d,"SET", SWIG_PyObj_FromInt((int)wxSET));
40719 PyDict_SetItemString(d,"WXK_BACK", SWIG_PyObj_FromInt((int)WXK_BACK));
40720 PyDict_SetItemString(d,"WXK_TAB", SWIG_PyObj_FromInt((int)WXK_TAB));
40721 PyDict_SetItemString(d,"WXK_RETURN", SWIG_PyObj_FromInt((int)WXK_RETURN));
40722 PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_PyObj_FromInt((int)WXK_ESCAPE));
40723 PyDict_SetItemString(d,"WXK_SPACE", SWIG_PyObj_FromInt((int)WXK_SPACE));
40724 PyDict_SetItemString(d,"WXK_DELETE", SWIG_PyObj_FromInt((int)WXK_DELETE));
40725 PyDict_SetItemString(d,"WXK_START", SWIG_PyObj_FromInt((int)WXK_START));
40726 PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_PyObj_FromInt((int)WXK_LBUTTON));
40727 PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_PyObj_FromInt((int)WXK_RBUTTON));
40728 PyDict_SetItemString(d,"WXK_CANCEL", SWIG_PyObj_FromInt((int)WXK_CANCEL));
40729 PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_PyObj_FromInt((int)WXK_MBUTTON));
40730 PyDict_SetItemString(d,"WXK_CLEAR", SWIG_PyObj_FromInt((int)WXK_CLEAR));
40731 PyDict_SetItemString(d,"WXK_SHIFT", SWIG_PyObj_FromInt((int)WXK_SHIFT));
40732 PyDict_SetItemString(d,"WXK_ALT", SWIG_PyObj_FromInt((int)WXK_ALT));
40733 PyDict_SetItemString(d,"WXK_CONTROL", SWIG_PyObj_FromInt((int)WXK_CONTROL));
40734 PyDict_SetItemString(d,"WXK_MENU", SWIG_PyObj_FromInt((int)WXK_MENU));
40735 PyDict_SetItemString(d,"WXK_PAUSE", SWIG_PyObj_FromInt((int)WXK_PAUSE));
40736 PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_PyObj_FromInt((int)WXK_CAPITAL));
40737 PyDict_SetItemString(d,"WXK_PRIOR", SWIG_PyObj_FromInt((int)WXK_PRIOR));
40738 PyDict_SetItemString(d,"WXK_NEXT", SWIG_PyObj_FromInt((int)WXK_NEXT));
40739 PyDict_SetItemString(d,"WXK_END", SWIG_PyObj_FromInt((int)WXK_END));
40740 PyDict_SetItemString(d,"WXK_HOME", SWIG_PyObj_FromInt((int)WXK_HOME));
40741 PyDict_SetItemString(d,"WXK_LEFT", SWIG_PyObj_FromInt((int)WXK_LEFT));
40742 PyDict_SetItemString(d,"WXK_UP", SWIG_PyObj_FromInt((int)WXK_UP));
40743 PyDict_SetItemString(d,"WXK_RIGHT", SWIG_PyObj_FromInt((int)WXK_RIGHT));
40744 PyDict_SetItemString(d,"WXK_DOWN", SWIG_PyObj_FromInt((int)WXK_DOWN));
40745 PyDict_SetItemString(d,"WXK_SELECT", SWIG_PyObj_FromInt((int)WXK_SELECT));
40746 PyDict_SetItemString(d,"WXK_PRINT", SWIG_PyObj_FromInt((int)WXK_PRINT));
40747 PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_PyObj_FromInt((int)WXK_EXECUTE));
40748 PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_PyObj_FromInt((int)WXK_SNAPSHOT));
40749 PyDict_SetItemString(d,"WXK_INSERT", SWIG_PyObj_FromInt((int)WXK_INSERT));
40750 PyDict_SetItemString(d,"WXK_HELP", SWIG_PyObj_FromInt((int)WXK_HELP));
40751 PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_PyObj_FromInt((int)WXK_NUMPAD0));
40752 PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_PyObj_FromInt((int)WXK_NUMPAD1));
40753 PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_PyObj_FromInt((int)WXK_NUMPAD2));
40754 PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_PyObj_FromInt((int)WXK_NUMPAD3));
40755 PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_PyObj_FromInt((int)WXK_NUMPAD4));
40756 PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_PyObj_FromInt((int)WXK_NUMPAD5));
40757 PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_PyObj_FromInt((int)WXK_NUMPAD6));
40758 PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_PyObj_FromInt((int)WXK_NUMPAD7));
40759 PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_PyObj_FromInt((int)WXK_NUMPAD8));
40760 PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_PyObj_FromInt((int)WXK_NUMPAD9));
40761 PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_PyObj_FromInt((int)WXK_MULTIPLY));
40762 PyDict_SetItemString(d,"WXK_ADD", SWIG_PyObj_FromInt((int)WXK_ADD));
40763 PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_PyObj_FromInt((int)WXK_SEPARATOR));
40764 PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_PyObj_FromInt((int)WXK_SUBTRACT));
40765 PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_PyObj_FromInt((int)WXK_DECIMAL));
40766 PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_PyObj_FromInt((int)WXK_DIVIDE));
40767 PyDict_SetItemString(d,"WXK_F1", SWIG_PyObj_FromInt((int)WXK_F1));
40768 PyDict_SetItemString(d,"WXK_F2", SWIG_PyObj_FromInt((int)WXK_F2));
40769 PyDict_SetItemString(d,"WXK_F3", SWIG_PyObj_FromInt((int)WXK_F3));
40770 PyDict_SetItemString(d,"WXK_F4", SWIG_PyObj_FromInt((int)WXK_F4));
40771 PyDict_SetItemString(d,"WXK_F5", SWIG_PyObj_FromInt((int)WXK_F5));
40772 PyDict_SetItemString(d,"WXK_F6", SWIG_PyObj_FromInt((int)WXK_F6));
40773 PyDict_SetItemString(d,"WXK_F7", SWIG_PyObj_FromInt((int)WXK_F7));
40774 PyDict_SetItemString(d,"WXK_F8", SWIG_PyObj_FromInt((int)WXK_F8));
40775 PyDict_SetItemString(d,"WXK_F9", SWIG_PyObj_FromInt((int)WXK_F9));
40776 PyDict_SetItemString(d,"WXK_F10", SWIG_PyObj_FromInt((int)WXK_F10));
40777 PyDict_SetItemString(d,"WXK_F11", SWIG_PyObj_FromInt((int)WXK_F11));
40778 PyDict_SetItemString(d,"WXK_F12", SWIG_PyObj_FromInt((int)WXK_F12));
40779 PyDict_SetItemString(d,"WXK_F13", SWIG_PyObj_FromInt((int)WXK_F13));
40780 PyDict_SetItemString(d,"WXK_F14", SWIG_PyObj_FromInt((int)WXK_F14));
40781 PyDict_SetItemString(d,"WXK_F15", SWIG_PyObj_FromInt((int)WXK_F15));
40782 PyDict_SetItemString(d,"WXK_F16", SWIG_PyObj_FromInt((int)WXK_F16));
40783 PyDict_SetItemString(d,"WXK_F17", SWIG_PyObj_FromInt((int)WXK_F17));
40784 PyDict_SetItemString(d,"WXK_F18", SWIG_PyObj_FromInt((int)WXK_F18));
40785 PyDict_SetItemString(d,"WXK_F19", SWIG_PyObj_FromInt((int)WXK_F19));
40786 PyDict_SetItemString(d,"WXK_F20", SWIG_PyObj_FromInt((int)WXK_F20));
40787 PyDict_SetItemString(d,"WXK_F21", SWIG_PyObj_FromInt((int)WXK_F21));
40788 PyDict_SetItemString(d,"WXK_F22", SWIG_PyObj_FromInt((int)WXK_F22));
40789 PyDict_SetItemString(d,"WXK_F23", SWIG_PyObj_FromInt((int)WXK_F23));
40790 PyDict_SetItemString(d,"WXK_F24", SWIG_PyObj_FromInt((int)WXK_F24));
40791 PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_PyObj_FromInt((int)WXK_NUMLOCK));
40792 PyDict_SetItemString(d,"WXK_SCROLL", SWIG_PyObj_FromInt((int)WXK_SCROLL));
40793 PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_PyObj_FromInt((int)WXK_PAGEUP));
40794 PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_PyObj_FromInt((int)WXK_PAGEDOWN));
40795 PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_PyObj_FromInt((int)WXK_NUMPAD_SPACE));
40796 PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_PyObj_FromInt((int)WXK_NUMPAD_TAB));
40797 PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_PyObj_FromInt((int)WXK_NUMPAD_ENTER));
40798 PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_PyObj_FromInt((int)WXK_NUMPAD_F1));
40799 PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_PyObj_FromInt((int)WXK_NUMPAD_F2));
40800 PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_PyObj_FromInt((int)WXK_NUMPAD_F3));
40801 PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_PyObj_FromInt((int)WXK_NUMPAD_F4));
40802 PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_PyObj_FromInt((int)WXK_NUMPAD_HOME));
40803 PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_LEFT));
40804 PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_PyObj_FromInt((int)WXK_NUMPAD_UP));
40805 PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_RIGHT));
40806 PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_PyObj_FromInt((int)WXK_NUMPAD_DOWN));
40807 PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_PyObj_FromInt((int)WXK_NUMPAD_PRIOR));
40808 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_PyObj_FromInt((int)WXK_NUMPAD_PAGEUP));
40809 PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_NEXT));
40810 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_PyObj_FromInt((int)WXK_NUMPAD_PAGEDOWN));
40811 PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_PyObj_FromInt((int)WXK_NUMPAD_END));
40812 PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_PyObj_FromInt((int)WXK_NUMPAD_BEGIN));
40813 PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_INSERT));
40814 PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_PyObj_FromInt((int)WXK_NUMPAD_DELETE));
40815 PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_PyObj_FromInt((int)WXK_NUMPAD_EQUAL));
40816 PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_PyObj_FromInt((int)WXK_NUMPAD_MULTIPLY));
40817 PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_PyObj_FromInt((int)WXK_NUMPAD_ADD));
40818 PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_PyObj_FromInt((int)WXK_NUMPAD_SEPARATOR));
40819 PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_SUBTRACT));
40820 PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_PyObj_FromInt((int)WXK_NUMPAD_DECIMAL));
40821 PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_PyObj_FromInt((int)WXK_NUMPAD_DIVIDE));
40822 PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_PyObj_FromInt((int)WXK_WINDOWS_LEFT));
40823 PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_PyObj_FromInt((int)WXK_WINDOWS_RIGHT));
40824 PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_PyObj_FromInt((int)WXK_WINDOWS_MENU));
40825 PyDict_SetItemString(d,"PAPER_NONE", SWIG_PyObj_FromInt((int)wxPAPER_NONE));
40826 PyDict_SetItemString(d,"PAPER_LETTER", SWIG_PyObj_FromInt((int)wxPAPER_LETTER));
40827 PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_PyObj_FromInt((int)wxPAPER_LEGAL));
40828 PyDict_SetItemString(d,"PAPER_A4", SWIG_PyObj_FromInt((int)wxPAPER_A4));
40829 PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_PyObj_FromInt((int)wxPAPER_CSHEET));
40830 PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_PyObj_FromInt((int)wxPAPER_DSHEET));
40831 PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_PyObj_FromInt((int)wxPAPER_ESHEET));
40832 PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_PyObj_FromInt((int)wxPAPER_LETTERSMALL));
40833 PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_PyObj_FromInt((int)wxPAPER_TABLOID));
40834 PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_PyObj_FromInt((int)wxPAPER_LEDGER));
40835 PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_PyObj_FromInt((int)wxPAPER_STATEMENT));
40836 PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_PyObj_FromInt((int)wxPAPER_EXECUTIVE));
40837 PyDict_SetItemString(d,"PAPER_A3", SWIG_PyObj_FromInt((int)wxPAPER_A3));
40838 PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_PyObj_FromInt((int)wxPAPER_A4SMALL));
40839 PyDict_SetItemString(d,"PAPER_A5", SWIG_PyObj_FromInt((int)wxPAPER_A5));
40840 PyDict_SetItemString(d,"PAPER_B4", SWIG_PyObj_FromInt((int)wxPAPER_B4));
40841 PyDict_SetItemString(d,"PAPER_B5", SWIG_PyObj_FromInt((int)wxPAPER_B5));
40842 PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_PyObj_FromInt((int)wxPAPER_FOLIO));
40843 PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_PyObj_FromInt((int)wxPAPER_QUARTO));
40844 PyDict_SetItemString(d,"PAPER_10X14", SWIG_PyObj_FromInt((int)wxPAPER_10X14));
40845 PyDict_SetItemString(d,"PAPER_11X17", SWIG_PyObj_FromInt((int)wxPAPER_11X17));
40846 PyDict_SetItemString(d,"PAPER_NOTE", SWIG_PyObj_FromInt((int)wxPAPER_NOTE));
40847 PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_PyObj_FromInt((int)wxPAPER_ENV_9));
40848 PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_PyObj_FromInt((int)wxPAPER_ENV_10));
40849 PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_PyObj_FromInt((int)wxPAPER_ENV_11));
40850 PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_PyObj_FromInt((int)wxPAPER_ENV_12));
40851 PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_PyObj_FromInt((int)wxPAPER_ENV_14));
40852 PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_PyObj_FromInt((int)wxPAPER_ENV_DL));
40853 PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C5));
40854 PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C3));
40855 PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C4));
40856 PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C6));
40857 PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C65));
40858 PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_PyObj_FromInt((int)wxPAPER_ENV_B4));
40859 PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_PyObj_FromInt((int)wxPAPER_ENV_B5));
40860 PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_PyObj_FromInt((int)wxPAPER_ENV_B6));
40861 PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_PyObj_FromInt((int)wxPAPER_ENV_ITALY));
40862 PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_PyObj_FromInt((int)wxPAPER_ENV_MONARCH));
40863 PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_PyObj_FromInt((int)wxPAPER_ENV_PERSONAL));
40864 PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_PyObj_FromInt((int)wxPAPER_FANFOLD_US));
40865 PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_PyObj_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN));
40866 PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_PyObj_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN));
40867 PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_PyObj_FromInt((int)wxPAPER_ISO_B4));
40868 PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_PyObj_FromInt((int)wxPAPER_JAPANESE_POSTCARD));
40869 PyDict_SetItemString(d,"PAPER_9X11", SWIG_PyObj_FromInt((int)wxPAPER_9X11));
40870 PyDict_SetItemString(d,"PAPER_10X11", SWIG_PyObj_FromInt((int)wxPAPER_10X11));
40871 PyDict_SetItemString(d,"PAPER_15X11", SWIG_PyObj_FromInt((int)wxPAPER_15X11));
40872 PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_PyObj_FromInt((int)wxPAPER_ENV_INVITE));
40873 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_LETTER_EXTRA));
40874 PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_LEGAL_EXTRA));
40875 PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_TABLOID_EXTRA));
40876 PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_A4_EXTRA));
40877 PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_LETTER_TRANSVERSE));
40878 PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_A4_TRANSVERSE));
40879 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE));
40880 PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_PyObj_FromInt((int)wxPAPER_A_PLUS));
40881 PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_PyObj_FromInt((int)wxPAPER_B_PLUS));
40882 PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_PyObj_FromInt((int)wxPAPER_LETTER_PLUS));
40883 PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_PyObj_FromInt((int)wxPAPER_A4_PLUS));
40884 PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_A5_TRANSVERSE));
40885 PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_B5_TRANSVERSE));
40886 PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_A3_EXTRA));
40887 PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_A5_EXTRA));
40888 PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_B5_EXTRA));
40889 PyDict_SetItemString(d,"PAPER_A2", SWIG_PyObj_FromInt((int)wxPAPER_A2));
40890 PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_A3_TRANSVERSE));
40891 PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE));
40892 PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_PyObj_FromInt((int)wxDUPLEX_SIMPLEX));
40893 PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_PyObj_FromInt((int)wxDUPLEX_HORIZONTAL));
40894 PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_PyObj_FromInt((int)wxDUPLEX_VERTICAL));
40895 PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_PyObj_FromInt((int)wxITEM_SEPARATOR));
40896 PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_PyObj_FromInt((int)wxITEM_NORMAL));
40897 PyDict_SetItemString(d,"ITEM_CHECK", SWIG_PyObj_FromInt((int)wxITEM_CHECK));
40898 PyDict_SetItemString(d,"ITEM_RADIO", SWIG_PyObj_FromInt((int)wxITEM_RADIO));
40899 PyDict_SetItemString(d,"ITEM_MAX", SWIG_PyObj_FromInt((int)wxITEM_MAX));
40900 PyDict_SetItemString(d,"HT_NOWHERE", SWIG_PyObj_FromInt((int)wxHT_NOWHERE));
40901 PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_FIRST));
40902 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1));
40903 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2));
40904 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1));
40905 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2));
40906 PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_THUMB));
40907 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_BAR_1));
40908 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_BAR_2));
40909 PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_LAST));
40910 PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_PyObj_FromInt((int)wxHT_WINDOW_OUTSIDE));
40911 PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_PyObj_FromInt((int)wxHT_WINDOW_INSIDE));
40912 PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_PyObj_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR));
40913 PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_PyObj_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR));
40914 PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_PyObj_FromInt((int)wxHT_WINDOW_CORNER));
40915 PyDict_SetItemString(d,"HT_MAX", SWIG_PyObj_FromInt((int)wxHT_MAX));
40916 PyDict_SetItemString(d,"MOD_NONE", SWIG_PyObj_FromInt((int)wxMOD_NONE));
40917 PyDict_SetItemString(d,"MOD_ALT", SWIG_PyObj_FromInt((int)wxMOD_ALT));
40918 PyDict_SetItemString(d,"MOD_CONTROL", SWIG_PyObj_FromInt((int)wxMOD_CONTROL));
40919 PyDict_SetItemString(d,"MOD_SHIFT", SWIG_PyObj_FromInt((int)wxMOD_SHIFT));
40920 PyDict_SetItemString(d,"MOD_WIN", SWIG_PyObj_FromInt((int)wxMOD_WIN));
40921 PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_PyObj_FromInt((int)wxUPDATE_UI_NONE));
40922 PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_PyObj_FromInt((int)wxUPDATE_UI_RECURSE));
40923 PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_PyObj_FromInt((int)wxUPDATE_UI_FROMIDLE));
d14a1e28 40924 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
196addbf 40925 SWIG_addvarlink(SWIG_globals,(char*)"EmptyString",_wrap_EmptyString_get, _wrap_EmptyString_set);
994141e6
RD
40926 PyDict_SetItemString(d,"BITMAP_TYPE_INVALID", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_INVALID));
40927 PyDict_SetItemString(d,"BITMAP_TYPE_BMP", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_BMP));
40928 PyDict_SetItemString(d,"BITMAP_TYPE_ICO", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_ICO));
40929 PyDict_SetItemString(d,"BITMAP_TYPE_CUR", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_CUR));
40930 PyDict_SetItemString(d,"BITMAP_TYPE_XBM", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_XBM));
40931 PyDict_SetItemString(d,"BITMAP_TYPE_XBM_DATA", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_XBM_DATA));
40932 PyDict_SetItemString(d,"BITMAP_TYPE_XPM", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_XPM));
40933 PyDict_SetItemString(d,"BITMAP_TYPE_XPM_DATA", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_XPM_DATA));
40934 PyDict_SetItemString(d,"BITMAP_TYPE_TIF", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_TIF));
40935 PyDict_SetItemString(d,"BITMAP_TYPE_GIF", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_GIF));
40936 PyDict_SetItemString(d,"BITMAP_TYPE_PNG", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_PNG));
40937 PyDict_SetItemString(d,"BITMAP_TYPE_JPEG", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_JPEG));
40938 PyDict_SetItemString(d,"BITMAP_TYPE_PNM", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_PNM));
40939 PyDict_SetItemString(d,"BITMAP_TYPE_PCX", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_PCX));
40940 PyDict_SetItemString(d,"BITMAP_TYPE_PICT", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_PICT));
40941 PyDict_SetItemString(d,"BITMAP_TYPE_ICON", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_ICON));
40942 PyDict_SetItemString(d,"BITMAP_TYPE_ANI", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_ANI));
40943 PyDict_SetItemString(d,"BITMAP_TYPE_IFF", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_IFF));
40944 PyDict_SetItemString(d,"BITMAP_TYPE_MACCURSOR", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_MACCURSOR));
40945 PyDict_SetItemString(d,"BITMAP_TYPE_ANY", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_ANY));
40946 PyDict_SetItemString(d,"CURSOR_NONE", SWIG_PyObj_FromInt((int)wxCURSOR_NONE));
40947 PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_PyObj_FromInt((int)wxCURSOR_ARROW));
40948 PyDict_SetItemString(d,"CURSOR_RIGHT_ARROW", SWIG_PyObj_FromInt((int)wxCURSOR_RIGHT_ARROW));
40949 PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_PyObj_FromInt((int)wxCURSOR_BULLSEYE));
40950 PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_PyObj_FromInt((int)wxCURSOR_CHAR));
40951 PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_PyObj_FromInt((int)wxCURSOR_CROSS));
40952 PyDict_SetItemString(d,"CURSOR_HAND", SWIG_PyObj_FromInt((int)wxCURSOR_HAND));
40953 PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_PyObj_FromInt((int)wxCURSOR_IBEAM));
40954 PyDict_SetItemString(d,"CURSOR_LEFT_BUTTON", SWIG_PyObj_FromInt((int)wxCURSOR_LEFT_BUTTON));
40955 PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_PyObj_FromInt((int)wxCURSOR_MAGNIFIER));
40956 PyDict_SetItemString(d,"CURSOR_MIDDLE_BUTTON", SWIG_PyObj_FromInt((int)wxCURSOR_MIDDLE_BUTTON));
40957 PyDict_SetItemString(d,"CURSOR_NO_ENTRY", SWIG_PyObj_FromInt((int)wxCURSOR_NO_ENTRY));
40958 PyDict_SetItemString(d,"CURSOR_PAINT_BRUSH", SWIG_PyObj_FromInt((int)wxCURSOR_PAINT_BRUSH));
40959 PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_PyObj_FromInt((int)wxCURSOR_PENCIL));
40960 PyDict_SetItemString(d,"CURSOR_POINT_LEFT", SWIG_PyObj_FromInt((int)wxCURSOR_POINT_LEFT));
40961 PyDict_SetItemString(d,"CURSOR_POINT_RIGHT", SWIG_PyObj_FromInt((int)wxCURSOR_POINT_RIGHT));
40962 PyDict_SetItemString(d,"CURSOR_QUESTION_ARROW", SWIG_PyObj_FromInt((int)wxCURSOR_QUESTION_ARROW));
40963 PyDict_SetItemString(d,"CURSOR_RIGHT_BUTTON", SWIG_PyObj_FromInt((int)wxCURSOR_RIGHT_BUTTON));
40964 PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_PyObj_FromInt((int)wxCURSOR_SIZENESW));
40965 PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_PyObj_FromInt((int)wxCURSOR_SIZENS));
40966 PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_PyObj_FromInt((int)wxCURSOR_SIZENWSE));
40967 PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_PyObj_FromInt((int)wxCURSOR_SIZEWE));
40968 PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_PyObj_FromInt((int)wxCURSOR_SIZING));
40969 PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_PyObj_FromInt((int)wxCURSOR_SPRAYCAN));
40970 PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_PyObj_FromInt((int)wxCURSOR_WAIT));
40971 PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_PyObj_FromInt((int)wxCURSOR_WATCH));
40972 PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_PyObj_FromInt((int)wxCURSOR_BLANK));
40973 PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_PyObj_FromInt((int)wxCURSOR_DEFAULT));
40974 PyDict_SetItemString(d,"CURSOR_COPY_ARROW", SWIG_PyObj_FromInt((int)wxCURSOR_COPY_ARROW));
40975 PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_PyObj_FromInt((int)wxCURSOR_ARROWWAIT));
40976 PyDict_SetItemString(d,"CURSOR_MAX", SWIG_PyObj_FromInt((int)wxCURSOR_MAX));
d14a1e28
RD
40977 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
40978 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
994141e6
RD
40979 PyDict_SetItemString(d,"FromStart", SWIG_PyObj_FromInt((int)wxFromStart));
40980 PyDict_SetItemString(d,"FromCurrent", SWIG_PyObj_FromInt((int)wxFromCurrent));
40981 PyDict_SetItemString(d,"FromEnd", SWIG_PyObj_FromInt((int)wxFromEnd));
d14a1e28
RD
40982
40983 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
40984
40985
40986 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
40987
40988 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
40989 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
40990 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
40991 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
40992 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
40993 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
994141e6
RD
40994 PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_PyObj_FromInt((int)wxIMAGE_RESOLUTION_INCHES));
40995 PyDict_SetItemString(d,"IMAGE_RESOLUTION_CM", SWIG_PyObj_FromInt((int)wxIMAGE_RESOLUTION_CM));
40996 PyDict_SetItemString(d,"BMP_24BPP", SWIG_PyObj_FromInt((int)wxBMP_24BPP));
40997 PyDict_SetItemString(d,"BMP_8BPP", SWIG_PyObj_FromInt((int)wxBMP_8BPP));
40998 PyDict_SetItemString(d,"BMP_8BPP_GREY", SWIG_PyObj_FromInt((int)wxBMP_8BPP_GREY));
40999 PyDict_SetItemString(d,"BMP_8BPP_GRAY", SWIG_PyObj_FromInt((int)wxBMP_8BPP_GRAY));
41000 PyDict_SetItemString(d,"BMP_8BPP_RED", SWIG_PyObj_FromInt((int)wxBMP_8BPP_RED));
41001 PyDict_SetItemString(d,"BMP_8BPP_PALETTE", SWIG_PyObj_FromInt((int)wxBMP_8BPP_PALETTE));
41002 PyDict_SetItemString(d,"BMP_4BPP", SWIG_PyObj_FromInt((int)wxBMP_4BPP));
41003 PyDict_SetItemString(d,"BMP_1BPP", SWIG_PyObj_FromInt((int)wxBMP_1BPP));
41004 PyDict_SetItemString(d,"BMP_1BPP_BW", SWIG_PyObj_FromInt((int)wxBMP_1BPP_BW));
41005 PyDict_SetItemString(d,"EVENT_PROPAGATE_NONE", SWIG_PyObj_FromInt((int)wxEVENT_PROPAGATE_NONE));
41006 PyDict_SetItemString(d,"EVENT_PROPAGATE_MAX", SWIG_PyObj_FromInt((int)wxEVENT_PROPAGATE_MAX));
d14a1e28
RD
41007 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
41008 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
41009 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
41010 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
41011 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
41012 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
41013 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
41014 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
41015 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
41016 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
41017 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
41018 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
41019 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
41020 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
41021 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
41022 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
41023 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
41024 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
41025 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
41026 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
41027 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
41028 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
41029 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
41030 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
41031 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
41032 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
41033 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
41034 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
41035 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
41036 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
41037 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
41038 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
41039 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
41040 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
41041 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
41042 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
41043 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
41044 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
41045 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
41046 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
41047 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
41048 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
41049 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
41050 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
41051 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
41052 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
41053 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
41054 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
41055 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
41056 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
41057 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
41058 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
41059 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
41060 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
41061 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
41062 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
41063 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
41064 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
41065 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
41066 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
41067 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
41068 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
41069 PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
41070 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
41071 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
41072 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
41073 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
41074 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
41075 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
41076 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
41077 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
41078 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
41079 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
41080 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
41081 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
41082 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
41083 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
41084 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
41085 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
41086 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
41087 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
41088 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
41089 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
41090 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
41091 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
41092 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
41093 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
41094 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
41095 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
41096 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
41097 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
41098 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
41099 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
41100 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
41101 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
41102 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
41103 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
41104 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
41105 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
41106 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
41107 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
41108 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
41109 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
41110 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
41111 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
41112 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
41113 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
41114 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
41115 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
41116 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
41117 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
41118 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
41119 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
41120 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
994141e6
RD
41121 PyDict_SetItemString(d,"MOUSE_BTN_ANY", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_ANY));
41122 PyDict_SetItemString(d,"MOUSE_BTN_NONE", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_NONE));
41123 PyDict_SetItemString(d,"MOUSE_BTN_LEFT", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_LEFT));
41124 PyDict_SetItemString(d,"MOUSE_BTN_MIDDLE", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_MIDDLE));
41125 PyDict_SetItemString(d,"MOUSE_BTN_RIGHT", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_RIGHT));
41126 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_ALL", SWIG_PyObj_FromInt((int)wxUPDATE_UI_PROCESS_ALL));
41127 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_PyObj_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED));
41128 PyDict_SetItemString(d,"IDLE_PROCESS_ALL", SWIG_PyObj_FromInt((int)wxIDLE_PROCESS_ALL));
41129 PyDict_SetItemString(d,"IDLE_PROCESS_SPECIFIED", SWIG_PyObj_FromInt((int)wxIDLE_PROCESS_SPECIFIED));
41130 PyDict_SetItemString(d,"PYAPP_ASSERT_SUPPRESS", SWIG_PyObj_FromInt((int)wxPYAPP_ASSERT_SUPPRESS));
41131 PyDict_SetItemString(d,"PYAPP_ASSERT_EXCEPTION", SWIG_PyObj_FromInt((int)wxPYAPP_ASSERT_EXCEPTION));
41132 PyDict_SetItemString(d,"PYAPP_ASSERT_DIALOG", SWIG_PyObj_FromInt((int)wxPYAPP_ASSERT_DIALOG));
41133 PyDict_SetItemString(d,"PYAPP_ASSERT_LOG", SWIG_PyObj_FromInt((int)wxPYAPP_ASSERT_LOG));
41134 PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_PyObj_FromInt((int)wxPRINT_WINDOWS));
41135 PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_PyObj_FromInt((int)wxPRINT_POSTSCRIPT));
1e0c8722 41136 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
e811c8ce 41137 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
d14a1e28 41138 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
b2dc1044 41139 SWIG_addvarlink(SWIG_globals,(char*)"ControlNameStr",_wrap_ControlNameStr_get, _wrap_ControlNameStr_set);
994141e6
RD
41140 PyDict_SetItemString(d,"FLEX_GROWMODE_NONE", SWIG_PyObj_FromInt((int)wxFLEX_GROWMODE_NONE));
41141 PyDict_SetItemString(d,"FLEX_GROWMODE_SPECIFIED", SWIG_PyObj_FromInt((int)wxFLEX_GROWMODE_SPECIFIED));
41142 PyDict_SetItemString(d,"FLEX_GROWMODE_ALL", SWIG_PyObj_FromInt((int)wxFLEX_GROWMODE_ALL));
d14a1e28 41143 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
994141e6
RD
41144 PyDict_SetItemString(d,"Left", SWIG_PyObj_FromInt((int)wxLeft));
41145 PyDict_SetItemString(d,"Top", SWIG_PyObj_FromInt((int)wxTop));
41146 PyDict_SetItemString(d,"Right", SWIG_PyObj_FromInt((int)wxRight));
41147 PyDict_SetItemString(d,"Bottom", SWIG_PyObj_FromInt((int)wxBottom));
41148 PyDict_SetItemString(d,"Width", SWIG_PyObj_FromInt((int)wxWidth));
41149 PyDict_SetItemString(d,"Height", SWIG_PyObj_FromInt((int)wxHeight));
41150 PyDict_SetItemString(d,"Centre", SWIG_PyObj_FromInt((int)wxCentre));
41151 PyDict_SetItemString(d,"Center", SWIG_PyObj_FromInt((int)wxCenter));
41152 PyDict_SetItemString(d,"CentreX", SWIG_PyObj_FromInt((int)wxCentreX));
41153 PyDict_SetItemString(d,"CentreY", SWIG_PyObj_FromInt((int)wxCentreY));
41154 PyDict_SetItemString(d,"Unconstrained", SWIG_PyObj_FromInt((int)wxUnconstrained));
41155 PyDict_SetItemString(d,"AsIs", SWIG_PyObj_FromInt((int)wxAsIs));
41156 PyDict_SetItemString(d,"PercentOf", SWIG_PyObj_FromInt((int)wxPercentOf));
41157 PyDict_SetItemString(d,"Above", SWIG_PyObj_FromInt((int)wxAbove));
41158 PyDict_SetItemString(d,"Below", SWIG_PyObj_FromInt((int)wxBelow));
41159 PyDict_SetItemString(d,"LeftOf", SWIG_PyObj_FromInt((int)wxLeftOf));
41160 PyDict_SetItemString(d,"RightOf", SWIG_PyObj_FromInt((int)wxRightOf));
41161 PyDict_SetItemString(d,"SameAs", SWIG_PyObj_FromInt((int)wxSameAs));
41162 PyDict_SetItemString(d,"Absolute", SWIG_PyObj_FromInt((int)wxAbsolute));
d14a1e28
RD
41163
41164 // Initialize threading, some globals and such
41165 __wxPyPreStart(d);
41166
41167
41168 // Although these are defined in __version__ they need to be here too so
41169 // that an assert can be done to ensure that the wxPython and the wxWindows
41170 // versions match.
41171 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
41172 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
41173 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
41174
41175}
41176