]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/_core_wrap.cpp
Removed calls to wx.InitAllImageHandlers.
[wxWidgets.git] / wxPython / src / mac / _core_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
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
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
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
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
82#else
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
85#endif
86
87#ifdef SWIG_GLOBAL
88# define SWIGRUNTIME(a) SWIGEXPORT(a)
89#else
90# define SWIGRUNTIME(a) static a
91#endif
92
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 {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
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 *);
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122#ifdef __cplusplus
123}
124#endif
125
126/***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136#include "Python.h"
137
138#ifdef __cplusplus
139extern "C" {
140#endif
141
142#define SWIG_PY_INT 1
143#define SWIG_PY_FLOAT 2
144#define SWIG_PY_STRING 3
145#define SWIG_PY_POINTER 4
146#define SWIG_PY_BINARY 5
147
148/* Flags for pointer conversion */
149
150#define SWIG_POINTER_EXCEPTION 0x1
151#define SWIG_POINTER_DISOWN 0x2
152
153/* Exception handling in wrappers */
154#define SWIG_fail goto fail
155
156/* Constant information structure */
157typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164} swig_const_info;
165
166/* Common SWIG API */
167#define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169#define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171#define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174/* Python-specific SWIG API */
175#define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177#define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181#define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183#define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198/* Contract support */
199
200#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202#ifdef __cplusplus
203}
204#endif
205
206
207/* -------- TYPES TABLE (BEGIN) -------- */
208
209#define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
210#define SWIGTYPE_p_wxRealPoint swig_types[1]
211#define SWIGTYPE_p_wxSizerItem swig_types[2]
212#define SWIGTYPE_p_wxGBSizerItem swig_types[3]
213#define SWIGTYPE_p_wxScrollEvent swig_types[4]
214#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
215#define SWIGTYPE_p_wxSizer swig_types[6]
216#define SWIGTYPE_p_wxBoxSizer swig_types[7]
217#define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
218#define SWIGTYPE_p_wxGridBagSizer swig_types[9]
219#define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
220#define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
221#define SWIGTYPE_p_wxMenu swig_types[12]
222#define SWIGTYPE_p_wxEvent swig_types[13]
223#define SWIGTYPE_p_wxGridSizer swig_types[14]
224#define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
225#define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
226#define SWIGTYPE_p_wxItemContainer swig_types[17]
227#define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
228#define SWIGTYPE_p_wxPaintEvent swig_types[19]
229#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
230#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
231#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
232#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
233#define SWIGTYPE_p_wxControl swig_types[24]
234#define SWIGTYPE_p_wxFont swig_types[25]
235#define SWIGTYPE_p_wxMenuBarBase swig_types[26]
236#define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
237#define SWIGTYPE_p_wxFSFile swig_types[28]
238#define SWIGTYPE_p_wxCaret swig_types[29]
239#define SWIGTYPE_p_wxRegion swig_types[30]
240#define SWIGTYPE_p_wxPoint2D swig_types[31]
241#define SWIGTYPE_p_int swig_types[32]
242#define SWIGTYPE_p_wxSize swig_types[33]
243#define SWIGTYPE_p_wxDC swig_types[34]
244#define SWIGTYPE_p_wxPySizer swig_types[35]
245#define SWIGTYPE_p_wxVisualAttributes swig_types[36]
246#define SWIGTYPE_p_wxNotifyEvent swig_types[37]
247#define SWIGTYPE_p_wxPyEvent swig_types[38]
248#define SWIGTYPE_p_wxPropagationDisabler swig_types[39]
249#define SWIGTYPE_p_wxAppTraits swig_types[40]
250#define SWIGTYPE_p_wxArrayString swig_types[41]
251#define SWIGTYPE_p_wxShowEvent swig_types[42]
252#define SWIGTYPE_p_wxToolTip swig_types[43]
253#define SWIGTYPE_p_wxMaximizeEvent swig_types[44]
254#define SWIGTYPE_p_wxIconizeEvent swig_types[45]
255#define SWIGTYPE_p_wxActivateEvent swig_types[46]
256#define SWIGTYPE_p_wxMoveEvent swig_types[47]
257#define SWIGTYPE_p_wxSizeEvent swig_types[48]
258#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[49]
259#define SWIGTYPE_p_wxWindowCreateEvent swig_types[50]
260#define SWIGTYPE_p_wxIdleEvent swig_types[51]
261#define SWIGTYPE_p_wxMenuItem swig_types[52]
262#define SWIGTYPE_p_wxStaticBox swig_types[53]
263#define SWIGTYPE_p_long swig_types[54]
264#define SWIGTYPE_p_wxTIFFHandler swig_types[55]
265#define SWIGTYPE_p_wxXPMHandler swig_types[56]
266#define SWIGTYPE_p_wxPNMHandler swig_types[57]
267#define SWIGTYPE_p_wxJPEGHandler swig_types[58]
268#define SWIGTYPE_p_wxPCXHandler swig_types[59]
269#define SWIGTYPE_p_wxGIFHandler swig_types[60]
270#define SWIGTYPE_p_wxPNGHandler swig_types[61]
271#define SWIGTYPE_p_wxANIHandler swig_types[62]
272#define SWIGTYPE_p_wxMemoryFSHandler swig_types[63]
273#define SWIGTYPE_p_wxEvtHandler swig_types[64]
274#define SWIGTYPE_p_wxCURHandler swig_types[65]
275#define SWIGTYPE_p_wxICOHandler swig_types[66]
276#define SWIGTYPE_p_wxBMPHandler swig_types[67]
277#define SWIGTYPE_p_wxImageHandler swig_types[68]
278#define SWIGTYPE_p_wxFileSystemHandler swig_types[69]
279#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[70]
280#define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
281#define SWIGTYPE_p_wxZipFSHandler swig_types[72]
282#define SWIGTYPE_p_wxRect swig_types[73]
283#define SWIGTYPE_p_wxGBSpan swig_types[74]
284#define SWIGTYPE_p_wxPropagateOnce swig_types[75]
285#define SWIGTYPE_p_wxAcceleratorTable swig_types[76]
286#define SWIGTYPE_p_char swig_types[77]
287#define SWIGTYPE_p_wxGBPosition swig_types[78]
288#define SWIGTYPE_p_wxImage swig_types[79]
289#define SWIGTYPE_p_wxFrame swig_types[80]
290#define SWIGTYPE_p_wxScrollWinEvent swig_types[81]
291#define SWIGTYPE_p_wxImageHistogram swig_types[82]
292#define SWIGTYPE_p_byte swig_types[83]
293#define SWIGTYPE_p_wxPoint swig_types[84]
294#define SWIGTYPE_p_wxCursor swig_types[85]
295#define SWIGTYPE_p_wxObject swig_types[86]
296#define SWIGTYPE_p_wxPyInputStream swig_types[87]
297#define SWIGTYPE_p_wxOutputStream swig_types[88]
298#define SWIGTYPE_p_wxInputStream swig_types[89]
299#define SWIGTYPE_p_wxDateTime swig_types[90]
300#define SWIGTYPE_p_wxKeyEvent swig_types[91]
301#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
302#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[93]
303#define SWIGTYPE_p_wxWindow swig_types[94]
304#define SWIGTYPE_p_wxMenuBar swig_types[95]
305#define SWIGTYPE_p_wxFileSystem swig_types[96]
306#define SWIGTYPE_p_wxBitmap swig_types[97]
307#define SWIGTYPE_p_wxMenuEvent swig_types[98]
308#define SWIGTYPE_p_wxContextMenuEvent swig_types[99]
309#define SWIGTYPE_p_unsigned_char swig_types[100]
310#define SWIGTYPE_p_wxCloseEvent swig_types[101]
311#define SWIGTYPE_p_wxEraseEvent swig_types[102]
312#define SWIGTYPE_p_wxMouseEvent swig_types[103]
313#define SWIGTYPE_p_wxPyApp swig_types[104]
314#define SWIGTYPE_p_wxCommandEvent swig_types[105]
315#define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
316#define SWIGTYPE_p_wxPyDropTarget swig_types[107]
317#define SWIGTYPE_p_wxChildFocusEvent swig_types[108]
318#define SWIGTYPE_p_wxFocusEvent swig_types[109]
319#define SWIGTYPE_p_wxDropFilesEvent swig_types[110]
320#define SWIGTYPE_p_wxControlWithItems swig_types[111]
321#define SWIGTYPE_p_wxColour swig_types[112]
322#define SWIGTYPE_p_wxValidator swig_types[113]
323#define SWIGTYPE_p_wxPyValidator swig_types[114]
324static swig_type_info *swig_types[116];
325
326/* -------- TYPES TABLE (END) -------- */
327
328
329/*-----------------------------------------------
330 @(target):= _core_.so
331 ------------------------------------------------*/
332#define SWIG_init init_core_
333
334#define SWIG_name "_core_"
335
336/* Auxiliar swig macros */
337
338#ifdef __cplusplus
339#define SWIGSTATICINLINE(a) static inline a
340#define SWIGSTATIC(a) static a
341#define swig_new_array(type, size) (new type[(size)])
342#define swig_delete_array(cptr) delete[] cptr
343#define swig_const_cast(type,a) const_cast<type>(a)
344#define swig_static_cast(type,a) static_cast<type>(a)
345#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
346
347#ifdef HAVE_NUMERIC_CAST
348#define swig_numeric_cast(type,a) numeric_cast<type>(a)
349#else
350#define swig_numeric_cast(type,a) static_cast<type>(a)
351#endif
352
353#else /* C case */
354
355#define SWIGSTATICINLINE(a) static a
356#define SWIGSTATIC(a) static a
357#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
358#define swig_delete_array(cptr) free((char*)cptr)
359#define swig_const_cast(type,a) (type)(a)
360#define swig_static_cast(type,a) (type)(a)
361#define swig_reinterpret_cast(type,a) (type)(a)
362#define swig_numeric_cast(type,a) (type)(a)
363
364#endif /* __cplusplus */
365
366
367#define SWIG_FromSignedChar PyInt_FromLong
368#define SWIG_FromUnsignedChar PyInt_FromLong
369#define SWIG_FromShort PyInt_FromLong
370#define SWIG_FromUnsignedShort PyInt_FromLong
371#define SWIG_FromInt PyInt_FromLong
372#define SWIG_FromLong PyInt_FromLong
373#define SWIG_FromFloat PyFloat_FromDouble
374#define SWIG_FromDouble PyFloat_FromDouble
375#define SWIG_FromFloat PyFloat_FromDouble
376#define SWIG_FromDouble PyFloat_FromDouble
377
378
379#include "wx/wxPython/wxPython_int.h"
380#include "wx/wxPython/pyclasses.h"
381
382
383#ifndef wxPyUSE_EXPORT
384// Helper functions for dealing with SWIG objects and such. These are
385// located here so they know about the SWIG types and functions declared
386// in the wrapper code.
387
388#include <wx/hashmap.h>
389WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap );
390
391
392// Maintains a hashmap of className to swig_type_info pointers. Given the
393// name of a class either looks up the type info in the cache, or scans the
394// SWIG tables for it.
395extern PyObject* wxPyPtrTypeMap;
396static
397swig_type_info* wxPyFindSwigType(const wxChar* className) {
398
399 static wxPyTypeInfoHashMap* typeInfoCache = NULL;
400
401 if (typeInfoCache == NULL)
402 typeInfoCache = new wxPyTypeInfoHashMap;
403
404 wxString name(className);
405 swig_type_info* swigType = (*typeInfoCache)[name];
406
407 if (! swigType) {
408 // it wasn't in the cache, so look it up from SWIG
409 name.Append(wxT(" *"));
410 swigType = SWIG_Python_TypeQuery(name.mb_str());
411
412 // if it still wasn't found, try looking for a mapped name
413 if (!swigType) {
414 PyObject* item;
415 name = className;
416
417 if ((item = PyDict_GetItemString(wxPyPtrTypeMap,
418 (char*)(const char*)name.mbc_str())) != NULL) {
419 name = wxString(PyString_AsString(item), *wxConvCurrent);
420 name.Append(wxT(" *"));
421 swigType = SWIG_Python_TypeQuery(name.mb_str());
422 }
423 }
424 if (swigType) {
425 // and add it to the map if found
426 (*typeInfoCache)[className] = swigType;
427 }
428 }
429 return swigType;
430}
431
432
433// Check if a class name is a type known to SWIG
434bool wxPyCheckSwigType(const wxChar* className) {
435
436 swig_type_info* swigType = wxPyFindSwigType(className);
437 return swigType != NULL;
438}
439
440
441// Given a pointer to a C++ object and a class name, construct a Python proxy
442// object for it.
443PyObject* wxPyConstructObject(void* ptr,
444 const wxChar* className,
445 int setThisOwn) {
446
447 swig_type_info* swigType = wxPyFindSwigType(className);
448 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConstructObject"));
449
450 return SWIG_Python_NewPointerObj(ptr, swigType, setThisOwn);
451}
452
453
454// Extract a pointer to the wrapped C++ object from a Python proxy object.
455// Ensures that the proxy object is of the specified (or derived) type. If
456// not able to perform the conversion then a Python exception is set and the
457// error should be handled properly in the caller. Returns True on success.
458bool wxPyConvertSwigPtr(PyObject* obj, void **ptr,
459 const wxChar* className) {
460
461 swig_type_info* swigType = wxPyFindSwigType(className);
462 wxCHECK_MSG(swigType != NULL, False, wxT("Unknown type in wxPyConvertSwigPtr"));
463
464 return SWIG_Python_ConvertPtr(obj, ptr, swigType, SWIG_POINTER_EXCEPTION) != -1;
465}
466
467
468// Make a SWIGified pointer object suitable for a .this attribute
469PyObject* wxPyMakeSwigPtr(void* ptr, const wxChar* className) {
470
471 PyObject* robj = NULL;
472
473 swig_type_info* swigType = wxPyFindSwigType(className);
474 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConvertSwigPtr"));
475
476#ifdef SWIG_COBJECT_TYPES
477 robj = PyCObject_FromVoidPtrAndDesc((void *) ptr, (char *) swigType->name, NULL);
478#else
479 {
480 char result[1024];
481 char *r = result;
482 *(r++) = '_';
483 r = SWIG_Python_PackData(r, &ptr, sizeof(void *));
484 strcpy(r, swigType->name);
485 robj = PyString_FromString(result);
486 }
487#endif
488
489 return robj;
490}
491
492
493
494
495// Export a C API in a struct. Other modules will be able to load this from
496// the wx._core_ module and will then have safe access to these functions,
497// even if they are located in another shared library.
498static wxPyCoreAPI API = {
499
500 (p_SWIG_Python_TypeRegister_t)SWIG_Python_TypeRegister,
501 (p_SWIG_Python_TypeCheck_t)SWIG_Python_TypeCheck,
502 (p_SWIG_Python_TypeCast_t)SWIG_Python_TypeCast,
503 (p_SWIG_Python_TypeDynamicCast_t)SWIG_Python_TypeDynamicCast,
504 (p_SWIG_Python_TypeName_t)SWIG_Python_TypeName,
505 (p_SWIG_Python_TypeQuery_t)SWIG_Python_TypeQuery,
506 (p_SWIG_Python_TypeClientData_t)SWIG_Python_TypeClientData,
507 (p_SWIG_Python_newvarlink_t)SWIG_Python_newvarlink,
508 (p_SWIG_Python_addvarlink_t)SWIG_Python_addvarlink,
509 (p_SWIG_Python_ConvertPtr_t)SWIG_Python_ConvertPtr,
510 (p_SWIG_Python_ConvertPacked_t)SWIG_Python_ConvertPacked,
511 (p_SWIG_Python_PackData_t)SWIG_Python_PackData,
512 (p_SWIG_Python_UnpackData_t)SWIG_Python_UnpackData,
513 (p_SWIG_Python_NewPointerObj_t)SWIG_Python_NewPointerObj,
514 (p_SWIG_Python_NewPackedObj_t)SWIG_Python_NewPackedObj,
515 (p_SWIG_Python_InstallConstants_t)SWIG_Python_InstallConstants,
516 (p_SWIG_Python_MustGetPtr_t)SWIG_Python_MustGetPtr,
517
518 wxPyCheckSwigType,
519 wxPyConstructObject,
520 wxPyConvertSwigPtr,
521 wxPyMakeSwigPtr,
522
523 wxPyBeginAllowThreads,
524 wxPyEndAllowThreads,
525 wxPyBeginBlockThreads,
526 wxPyEndBlockThreads,
527
528 wxPy_ConvertList,
529
530 wxString_in_helper,
531 Py2wxString,
532 wx2PyString,
533
534 byte_LIST_helper,
535 int_LIST_helper,
536 long_LIST_helper,
537 string_LIST_helper,
538 wxPoint_LIST_helper,
539 wxBitmap_LIST_helper,
540 wxString_LIST_helper,
541 wxAcceleratorEntry_LIST_helper,
542
543 wxSize_helper,
544 wxPoint_helper,
545 wxRealPoint_helper,
546 wxRect_helper,
547 wxColour_helper,
548 wxPoint2D_helper,
549
550 wxPySimple_typecheck,
551 wxColour_typecheck,
552
553 wxPyCBH_setCallbackInfo,
554 wxPyCBH_findCallback,
555 wxPyCBH_callCallback,
556 wxPyCBH_callCallbackObj,
557 wxPyCBH_delete,
558
559 wxPyMake_wxObject,
560 wxPyMake_wxSizer,
561 wxPyPtrTypeMap_Add,
562 wxPy2int_seq_helper,
563 wxPy4int_seq_helper,
564 wxArrayString2PyList_helper,
565 wxArrayInt2PyList_helper,
566
567 wxPyClientData_dtor,
568 wxPyUserData_dtor,
569 wxPyOORClientData_dtor,
570
571 wxPyCBInputStream_create,
572
573 wxPyInstance_Check,
574 wxPySwigInstance_Check
575
576};
577
578#endif
579
580
581#if ! wxUSE_HOTKEY
582enum wxHotkeyModifier
583{
584 wxMOD_NONE = 0,
585 wxMOD_ALT = 1,
586 wxMOD_CONTROL = 2,
587 wxMOD_SHIFT = 4,
588 wxMOD_WIN = 8
589};
590#define wxEVT_HOTKEY 9999
591#endif
592
593 static const wxString wxPyEmptyString(wxEmptyString);
594wxString wxObject_GetClassName(wxObject *self){
595 return self->GetClassInfo()->GetClassName();
596 }
597void wxObject_Destroy(wxObject *self){
598 delete self;
599 }
600
601#ifndef __WXMAC__
602#define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
603#endif
604
605
606#include <limits.h>
607
608
609SWIGSTATICINLINE(long)
610SWIG_CheckLongInRange(long value, const char* type,
611 long min_value, long max_value)
612{
613 if (!PyErr_Occurred()) {
614 if (value < min_value) {
615 PyObject *err =
616 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
617 value, type, min_value);
618
619 PyErr_SetObject(PyExc_OverflowError, err);
620 Py_DECREF(err);
621 } else if (value > max_value) {
622 PyObject *err =
623 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
624 value, type, max_value);
625 PyErr_SetObject(PyExc_OverflowError, err);
626 Py_DECREF(err);
627 }
628 }
629 return value;
630}
631
632
633SWIGSTATICINLINE(long)
634SWIG_AsLong(PyObject * obj)
635{
636 if (PyNumber_Check(obj))
637 return PyInt_AsLong(obj);
638 else {
639 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
640 obj->ob_type->tp_name);
641 PyErr_SetObject(PyExc_TypeError, errmsg);
642 Py_DECREF(errmsg);
643 return 0;
644 }
645}
646
647
648#if INT_MAX != LONG_MAX
649SWIGSTATICINLINE(int)
650SWIG_AsInt(PyObject *obj)
651{
652 return swig_numeric_cast(int,
653 SWIG_CheckLongInRange(SWIG_AsLong(obj),
654 "int", INT_MIN, INT_MAX));
655}
656#else
657#define SWIG_AsInt SWIG_AsLong
658#endif
659
660
661SWIGSTATICINLINE(int)
662SWIG_CheckInt(PyObject* obj)
663{
664 SWIG_AsInt(obj);
665 if (PyErr_Occurred()) {
666 PyErr_Clear();
667 return 0;
668 } else {
669 return 1;
670 }
671}
672
673PyObject *wxSize_Get(wxSize *self){
674 bool blocked = wxPyBeginBlockThreads();
675 PyObject* tup = PyTuple_New(2);
676 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
677 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
678 wxPyEndBlockThreads(blocked);
679 return tup;
680 }
681
682SWIGSTATICINLINE(double)
683SWIG_AsDouble(PyObject *obj)
684{
685 if (PyNumber_Check(obj))
686 return PyFloat_AsDouble(obj);
687 else {
688 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
689 obj->ob_type->tp_name);
690 PyErr_SetObject(PyExc_TypeError, errmsg);
691 Py_DECREF(errmsg);
692 return 0;
693 }
694}
695
696
697SWIGSTATICINLINE(int)
698SWIG_CheckDouble(PyObject* obj)
699{
700 SWIG_AsDouble(obj);
701 if (PyErr_Occurred()) {
702 PyErr_Clear();
703 return 0;
704 } else {
705 return 1;
706 }
707}
708
709void wxRealPoint_Set(wxRealPoint *self,double x,double y){
710 self->x = x;
711 self->y = y;
712 }
713PyObject *wxRealPoint_Get(wxRealPoint *self){
714 bool blocked = wxPyBeginBlockThreads();
715 PyObject* tup = PyTuple_New(2);
716 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x));
717 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
718 wxPyEndBlockThreads(blocked);
719 return tup;
720 }
721
722SWIGSTATICINLINE(int)
723SWIG_CheckLong(PyObject* obj)
724{
725 SWIG_AsLong(obj);
726 if (PyErr_Occurred()) {
727 PyErr_Clear();
728 return 0;
729 } else {
730 return 1;
731 }
732}
733
734void wxPoint_Set(wxPoint *self,long x,long y){
735 self->x = x;
736 self->y = y;
737 }
738PyObject *wxPoint_Get(wxPoint *self){
739 bool blocked = wxPyBeginBlockThreads();
740 PyObject* tup = PyTuple_New(2);
741 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
742 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
743 wxPyEndBlockThreads(blocked);
744 return tup;
745 }
746void wxRect_Set(wxRect *self,int x,int y,int width,int height){
747 self->x = x;
748 self->y = y;
749 self->width = width;
750 self->height = height;
751 }
752PyObject *wxRect_Get(wxRect *self){
753 bool blocked = wxPyBeginBlockThreads();
754 PyObject* tup = PyTuple_New(4);
755 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
756 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
757 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(self->width));
758 PyTuple_SET_ITEM(tup, 3, PyInt_FromLong(self->height));
759 wxPyEndBlockThreads(blocked);
760 return tup;
761 }
762
763 PyObject* wxIntersectRect(wxRect* r1, wxRect* r2) {
764 wxRegion reg1(*r1);
765 wxRegion reg2(*r2);
766 wxRect dest(0,0,0,0);
767 PyObject* obj;
768
769 reg1.Intersect(reg2);
770 dest = reg1.GetBox();
771
772 if (dest != wxRect(0,0,0,0)) {
773 bool blocked = wxPyBeginBlockThreads();
774 wxRect* newRect = new wxRect(dest);
775 obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), True);
776 wxPyEndBlockThreads(blocked);
777 return obj;
778 }
779 Py_INCREF(Py_None);
780 return Py_None;
781 }
782
783
784static PyObject* t_output_helper(PyObject* target, PyObject* o) {
785 PyObject* o2;
786 PyObject* o3;
787
788 if (!target) {
789 target = o;
790 } else if (target == Py_None) {
791 Py_DECREF(Py_None);
792 target = o;
793 } else {
794 if (!PyTuple_Check(target)) {
795 o2 = target;
796 target = PyTuple_New(1);
797 PyTuple_SetItem(target, 0, o2);
798 }
799 o3 = PyTuple_New(1);
800 PyTuple_SetItem(o3, 0, o);
801
802 o2 = target;
803 target = PySequence_Concat(o2, o3);
804 Py_DECREF(o2);
805 Py_DECREF(o3);
806 }
807 return target;
808}
809
810void wxPoint2D_Set(wxPoint2D *self,double x,double y){
811 self->m_x = x;
812 self->m_y = y;
813 }
814PyObject *wxPoint2D_Get(wxPoint2D *self){
815 bool blocked = wxPyBeginBlockThreads();
816 PyObject* tup = PyTuple_New(2);
817 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->m_x));
818 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->m_y));
819 wxPyEndBlockThreads(blocked);
820 return tup;
821 }
822
823#include "wx/wxPython/pyistream.h"
824
825wxPyInputStream *new_wxPyInputStream(PyObject *p){
826 wxInputStream* wxis = wxPyCBInputStream::create(p);
827 if (wxis)
828 return new wxPyInputStream(wxis);
829 else
830 return NULL;
831 }
832
833SWIGSTATICINLINE(PyObject*)
834SWIG_FromChar(char c)
835{
836 return PyString_FromStringAndSize(&c,1);
837}
838
839
840SWIGSTATICINLINE(PyObject* )
841SWIG_FromUnsignedLong(unsigned long value)
842{
843 return (value > LONG_MAX) ?
844 PyLong_FromUnsignedLong(value)
845 : PyInt_FromLong(swig_numeric_cast(long,value));
846}
847
848
849/* returns '1' if the input is a raw char*, '0' if is a PyString */
850SWIGSTATIC(int)
851SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* size)
852{
853 static swig_type_info* pchar_info = 0;
854 int psize = 0;
855 if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
856
857 if (SWIG_ConvertPtr(obj, swig_reinterpret_cast(void **,cptr), pchar_info, 0) == -1) {
858 PyErr_Clear();
859 PyString_AsStringAndSize(obj, cptr, &psize);
860 if (PyErr_Occurred()) {
861 PyErr_Clear();
862 PyErr_SetString(PyExc_TypeError,"a string is expected");
863 }
864 if (size) *size = psize;
865 return 0;
866 } else {
867 if (size) *size = (*cptr) ? (strlen(*cptr) + 1) : 0;
868 return 1;
869 }
870}
871
872
873SWIGSTATIC(void)
874SWIG_AsCharArray(PyObject *obj, char* carray, size_t size)
875{
876 char* cptr; size_t csize;
877 SWIG_AsCharPtrAndSize(obj, &cptr, &csize);
878 if (PyErr_Occurred()) {
879 PyErr_Clear();
880 PyObject *err =
881 PyString_FromFormat("a char array of size %d is expected", size);
882 PyErr_SetObject(PyExc_TypeError, err);
883 Py_DECREF(err);
884 } else {
885 /* in C (but not in C++) you can do:
886
887 char x[5] = "hello";
888
889 ie, assing the array using an extra '0' char.
890 */
891#ifndef __cplusplus
892 if ((csize == size + 1) && !(cptr[csize-1])) --csize;
893#endif
894 if (csize > size) {
895 PyObject *err =
896 PyString_FromFormat("a char array of maximum size %d is expected",
897 size);
898 PyErr_SetObject(PyExc_TypeError, err);
899 Py_DECREF(err);
900 } else {
901 if (csize) memcpy(carray, cptr, csize);
902 if (csize < size) memset(carray + csize, 0, size - csize);
903 }
904 }
905}
906
907
908SWIGSTATICINLINE(char)
909SWIG_AsChar(PyObject *obj)
910{
911 char c = 0;
912 if (PyInt_Check(obj) || PyLong_Check(obj)) {
913 c = swig_numeric_cast(char,
914 SWIG_CheckLongInRange(SWIG_AsLong(obj),
915 "char", CHAR_MIN, CHAR_MAX));
916 } else {
917 SWIG_AsCharArray(obj, &c, 1);
918 if (PyErr_Occurred()) {
919 PyErr_Clear();
920 PyErr_SetString(PyExc_TypeError, "a char is expected");
921 }
922 }
923 return c;
924}
925
926
927SWIGSTATICINLINE(int)
928SWIG_CheckChar(PyObject* obj)
929{
930 SWIG_AsChar(obj);
931 if (PyErr_Occurred()) {
932 PyErr_Clear();
933 return 0;
934 } else {
935 return 1;
936 }
937}
938
939void wxOutputStream_write(wxOutputStream *self,PyObject *obj){
940 // We use only strings for the streams, not unicode
941 PyObject* str = PyObject_Str(obj);
942 if (! str) {
943 PyErr_SetString(PyExc_TypeError, "Unable to convert to string");
944 return;
945 }
946 self->Write(PyString_AS_STRING(str),
947 PyString_GET_SIZE(str));
948 Py_DECREF(str);
949 }
950
951#include "wx/wxPython/pyistream.h"
952
953
954class wxPyFileSystemHandler : public wxFileSystemHandler
955{
956public:
957 wxPyFileSystemHandler() : wxFileSystemHandler() {}
958
959 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen);
960 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile);
961 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst);
962 DEC_PYCALLBACK_STRING__pure(FindNext);
963
964 wxString GetProtocol(const wxString& location) {
965 return wxFileSystemHandler::GetProtocol(location);
966 }
967
968 wxString GetLeftLocation(const wxString& location) {
969 return wxFileSystemHandler::GetLeftLocation(location);
970 }
971
972 wxString GetAnchor(const wxString& location) {
973 return wxFileSystemHandler::GetAnchor(location);
974 }
975
976 wxString GetRightLocation(const wxString& location) {
977 return wxFileSystemHandler::GetRightLocation(location);
978 }
979
980 wxString GetMimeTypeFromExt(const wxString& location) {
981 return wxFileSystemHandler::GetMimeTypeFromExt(location);
982 }
983
984 PYPRIVATE;
985};
986
987
988IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, CanOpen);
989IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, OpenFile);
990IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler, wxFileSystemHandler, FindFirst);
991IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler, wxFileSystemHandler, FindNext);
992
993
994SWIGSTATICINLINE(bool)
995SWIG_AsBool(PyObject *obj)
996{
997 return PyObject_IsTrue(obj) ? true : false;
998}
999
1000
1001SWIGSTATICINLINE(int)
1002SWIG_CheckBool(PyObject* obj)
1003{
1004 SWIG_AsBool(obj);
1005 if (PyErr_Occurred()) {
1006 PyErr_Clear();
1007 return 0;
1008 } else {
1009 return 1;
1010 }
1011}
1012
1013
1014 wxString wxFileSystem_URLToFileName(const wxString& url) {
1015 wxFileName fname = wxFileSystem::URLToFileName(url);
1016 return fname.GetFullPath();
1017 }
1018
1019
1020 void __wxMemoryFSHandler_AddFile_wxImage(const wxString& filename,
1021 wxImage& image,
1022 long type) {
1023 wxMemoryFSHandler::AddFile(filename, image, type);
1024 }
1025
1026 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString& filename,
1027 const wxBitmap& bitmap,
1028 long type) {
1029 wxMemoryFSHandler::AddFile(filename, bitmap, type);
1030 }
1031
1032 void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
1033 PyObject* data) {
1034 wxMemoryFSHandler::AddFile(filename,
1035 // TODO: Verify data type
1036 (void*)PyString_AsString(data),
1037 (size_t)PyString_Size(data));
1038 }
1039
1040
1041#include "wx/wxPython/pyistream.h"
1042
1043
1044SWIGSTATICINLINE(unsigned long)
1045SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
1046 unsigned long max_value)
1047{
1048 if (!PyErr_Occurred()) {
1049 if (value > max_value) {
1050 PyObject *err =
1051 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
1052 value, type, max_value);
1053 PyErr_SetObject(PyExc_OverflowError, err);
1054 Py_DECREF(err);
1055 }
1056 }
1057 return value;
1058}
1059
1060
1061SWIGSTATICINLINE(unsigned long)
1062SWIG_AsUnsignedLong(PyObject * obj)
1063{
1064 if (PyLong_Check(obj)) {
1065 return PyLong_AsUnsignedLong(obj);
1066 } else {
1067 long i = SWIG_AsLong(obj);
1068 if ( !PyErr_Occurred() && (i < 0)) {
1069 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
1070 }
1071 return i;
1072 }
1073}
1074
1075
1076SWIGSTATICINLINE(unsigned char)
1077SWIG_AsUnsignedChar(PyObject *obj)
1078{
1079 return swig_numeric_cast(unsigned char,
1080 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
1081 "unsigned char", UCHAR_MAX));
1082}
1083
1084
1085SWIGSTATICINLINE(int)
1086SWIG_CheckUnsignedChar(PyObject* obj)
1087{
1088 SWIG_AsUnsignedChar(obj);
1089 if (PyErr_Occurred()) {
1090 PyErr_Clear();
1091 return 0;
1092 } else {
1093 return 1;
1094 }
1095}
1096
d6c14a4c 1097wxImage *new_wxImage(int width,int height,bool clear){
d55e5bfc
RD
1098 if (width > 0 && height > 0)
1099 return new wxImage(width, height, clear);
1100 else
1101 return new wxImage;
1102 }
d55e5bfc
RD
1103wxImage *new_wxImage(wxBitmap const &bitmap){
1104 return new wxImage(bitmap.ConvertToImage());
1105 }
1106wxImage *new_wxImage(int width,int height,unsigned char *data){
1107 // Copy the source data so the wxImage can clean it up later
1108 unsigned char* copy = (unsigned char*)malloc(width*height*3);
1109 if (copy == NULL) {
1110 PyErr_NoMemory();
1111 return NULL;
1112 }
1113 memcpy(copy, data, width*height*3);
1114 return new wxImage(width, height, copy, False);
1115 }
1116wxSize wxImage_GetSize(wxImage *self){
1117 wxSize size(self->GetWidth(), self->GetHeight());
1118 return size;
1119 }
1120PyObject *wxImage_GetData(wxImage *self){
1121 unsigned char* data = self->GetData();
1122 int len = self->GetWidth() * self->GetHeight() * 3;
1123 PyObject* rv;
1124 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len));
1125 return rv;
1126 }
1127void wxImage_SetData(wxImage *self,PyObject *data){
1128 unsigned char* dataPtr;
1129
1130 if (! PyString_Check(data)) {
1131 PyErr_SetString(PyExc_TypeError, "Expected string object");
1132 return /* NULL */ ;
1133 }
1134
1135 size_t len = self->GetWidth() * self->GetHeight() * 3;
1136 dataPtr = (unsigned char*) malloc(len);
1137 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1138 self->SetData(dataPtr);
1139 // wxImage takes ownership of dataPtr...
1140 }
1141PyObject *wxImage_GetDataBuffer(wxImage *self){
1142 unsigned char* data = self->GetData();
1143 int len = self->GetWidth() * self->GetHeight() * 3;
1144 PyObject* rv;
1145 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1146 return rv;
1147 }
1148void wxImage_SetDataBuffer(wxImage *self,PyObject *data){
1149 unsigned char* buffer;
1150 int size;
1151
1152 bool blocked = wxPyBeginBlockThreads();
1153 if (!PyArg_Parse(data, "t#", &buffer, &size))
1154 goto done;
1155
1156 if (size != self->GetWidth() * self->GetHeight() * 3) {
1157 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1158 goto done;
1159 }
1160 self->SetData(buffer);
1161 done:
1162 wxPyEndBlockThreads(blocked);
1163 }
1164PyObject *wxImage_GetAlphaData(wxImage *self){
1165 unsigned char* data = self->GetAlpha();
1166 if (! data) {
1167 RETURN_NONE();
1168 } else {
1169 int len = self->GetWidth() * self->GetHeight();
1170 PyObject* rv;
1171 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len) );
1172 return rv;
1173 }
1174 }
1175void wxImage_SetAlphaData(wxImage *self,PyObject *data){
1176 unsigned char* dataPtr;
1177
1178 if (! PyString_Check(data)) {
1179 PyErr_SetString(PyExc_TypeError, "Expected string object");
1180 return /* NULL */ ;
1181 }
1182
1183 size_t len = self->GetWidth() * self->GetHeight();
1184 dataPtr = (unsigned char*) malloc(len);
1185 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1186 self->SetAlpha(dataPtr);
1187 // wxImage takes ownership of dataPtr...
1188 }
1189PyObject *wxImage_GetAlphaBuffer(wxImage *self){
1190 unsigned char* data = self->GetAlpha();
1191 int len = self->GetWidth() * self->GetHeight();
1192 PyObject* rv;
1193 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1194 return rv;
1195 }
1196void wxImage_SetAlphaBuffer(wxImage *self,PyObject *data){
1197 unsigned char* buffer;
1198 int size;
1199
1200 bool blocked = wxPyBeginBlockThreads();
1201 if (!PyArg_Parse(data, "t#", &buffer, &size))
1202 goto done;
1203
1204 if (size != self->GetWidth() * self->GetHeight()) {
1205 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1206 goto done;
1207 }
1208 self->SetAlpha(buffer);
1209 done:
1210 wxPyEndBlockThreads(blocked);
1211 }
1212
1213SWIGSTATICINLINE(int)
1214SWIG_CheckUnsignedLong(PyObject* obj)
1215{
1216 SWIG_AsUnsignedLong(obj);
1217 if (PyErr_Occurred()) {
1218 PyErr_Clear();
1219 return 0;
1220 } else {
1221 return 1;
1222 }
1223}
1224
1225wxBitmap wxImage_ConvertToBitmap(wxImage *self){
1226 wxBitmap bitmap(*self);
1227 return bitmap;
1228 }
1229wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,unsigned char red,unsigned char green,unsigned char blue){
1230 wxImage mono = self->ConvertToMono( red, green, blue );
1231 wxBitmap bitmap( mono, 1 );
1232 return bitmap;
1233 }
1234 static const wxString wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT);
1235 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X);
1236 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y);
1237 static const wxString wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION);
1238 static const wxString wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT);
1239void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject *func){
1240 if (PyCallable_Check(func)) {
1241 self->Connect(id, lastId, eventType,
1242 (wxObjectEventFunction) &wxPyCallback::EventThunker,
1243 new wxPyCallback(func));
1244 }
1245 else if (func == Py_None) {
1246 self->Disconnect(id, lastId, eventType,
1247 (wxObjectEventFunction)
1248 &wxPyCallback::EventThunker);
1249 }
1250 else {
1251 wxPyBLOCK_THREADS(
1252 PyErr_SetString(PyExc_TypeError, "Expected callable object or None."));
1253 }
1254 }
1255bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType){
1256 return self->Disconnect(id, lastId, eventType,
1257 (wxObjectEventFunction)
1258 &wxPyCallback::EventThunker);
1259 }
1260void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject *_self){
1261 if (_self && _self != Py_None) {
1262 self->SetClientObject(new wxPyOORClientData(_self));
1263 }
1264 else {
1265 wxPyOORClientData* data = (wxPyOORClientData*)self->GetClientObject();
1266 if (data) {
1267 self->SetClientObject(NULL); // This will delete it too
1268 }
1269 }
1270 }
1271int wxKeyEvent_GetUniChar(wxKeyEvent *self){
1272 #if wxUSE_UNICODE
1273 return self->m_uniChar;
1274 #else
1275 return 0;
1276 #endif
1277 }
1278
1279#if UINT_MAX < LONG_MAX
1280#define SWIG_FromUnsignedInt SWIG_FromLong
1281#else
1282#define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1283#endif
1284
1285
1286#if UINT_MAX != ULONG_MAX
1287SWIGSTATICINLINE(unsigned int)
1288SWIG_AsUnsignedInt(PyObject *obj)
1289{
1290 return swig_numeric_cast(unsigned int,
1291 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
1292 "unsigned int", UINT_MAX));
1293}
1294#else
1295#define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1296#endif
1297
1298
1299SWIGSTATICINLINE(int)
1300SWIG_CheckUnsignedInt(PyObject* obj)
1301{
1302 SWIG_AsUnsignedInt(obj);
1303 if (PyErr_Occurred()) {
1304 PyErr_Clear();
1305 return 0;
1306 } else {
1307 return 1;
1308 }
1309}
1310
1311void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){
1312 self->m_size = size;
1313 }
1314void wxMoveEvent_SetPosition(wxMoveEvent *self,wxPoint pos){
1315 self->m_pos = pos;
1316 }
1317PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
1318 int count = self->GetNumberOfFiles();
1319 wxString* files = self->GetFiles();
1320 PyObject* list = PyList_New(count);
1321
1322 if (!list) {
1323 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
1324 return NULL;
1325 }
1326
1327 for (int i=0; i<count; i++) {
1328 PyList_SetItem(list, i, wx2PyString(files[i]));
1329 }
1330 return list;
1331 }
1332
1333
1334wxPyApp *new_wxPyApp(){
1335 wxPythonApp = new wxPyApp();
1336 return wxPythonApp;
1337 }
1338int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
1339
1340 void wxApp_CleanUp() {
1341 __wxPyCleanup();
1342 }
1343
1344
a5ee0656 1345 wxPyApp* wxPyGetApp() { return (wxPyApp*)wxTheApp; }
d55e5bfc
RD
1346
1347
1348
1349 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1350wxVisualAttributes *new_wxVisualAttributes(){ return new wxVisualAttributes; }
f20a2e1f 1351void delete_wxVisualAttributes(wxVisualAttributes *self){ delete self; }
d55e5bfc
RD
1352PyObject *wxWindow_GetChildren(wxWindow *self){
1353 wxWindowList& list = self->GetChildren();
1354 return wxPy_ConvertList(&list);
1355 }
1356bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keycode){
1357 #if wxUSE_HOTKEY
1358 return self->RegisterHotKey(hotkeyId, modifiers, keycode);
1359 #else
1360 return False;
1361 #endif
1362 }
1363bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId){
1364
1365
1366
1367 return False;
1368
1369 }
1370long wxWindow_GetHandle(wxWindow *self){
1371 return wxPyGetWinHandle(self);
1372 }
1373
1374wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
1375 return wxWindow::FindWindowById(id, parent);
1376}
1377
1378wxWindow* wxFindWindowByName( const wxString& name,
1379 const wxWindow *parent = NULL ) {
1380 return wxWindow::FindWindowByName(name, parent);
1381}
1382
1383wxWindow* wxFindWindowByLabel( const wxString& label,
1384 const wxWindow *parent = NULL ) {
1385 return wxWindow::FindWindowByLabel(label, parent);
1386}
1387
1388
1389#ifdef __WXMSW__
1390#include <wx/msw/private.h> // to get wxGetWindowId
1391#endif
1392
1393
1394 wxWindow* wxWindow_FromHWND(wxWindow* parent, unsigned long _hWnd) {
1395#ifdef __WXMSW__
1396 WXHWND hWnd = (WXHWND)_hWnd;
1397 long id = wxGetWindowId(hWnd);
1398 wxWindow* win = new wxWindow;
1399 parent->AddChild(win);
1400 win->SetEventHandler(win);
1401 win->SetHWND(hWnd);
1402 win->SetId(id);
1403 win->SubclassWin(hWnd);
1404 win->AdoptAttributesFromHWND();
1405 win->SetupColours();
1406 return win;
1407#else
1408 wxPyRaiseNotImplemented();
1409 return NULL;
1410#endif
1411 }
1412
1413
1414IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
1415IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
1416IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
1417
1418IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
1419
1420void wxMenu_Destroy(wxMenu *self){ delete self; }
1421PyObject *wxMenu_GetMenuItems(wxMenu *self){
1422 wxMenuItemList& list = self->GetMenuItems();
1423 return wxPy_ConvertList(&list);
1424 }
1425int MenuItem_GetDefaultMarginWidth(){ return 0; }
1426 static const wxString wxPyControlNameStr(wxControlNameStr);
1427int wxItemContainer_Append(wxItemContainer *self,wxString const &item,PyObject *clientData){
1428 if (clientData) {
1429 wxPyClientData* data = new wxPyClientData(clientData);
1430 return self->Append(item, data);
1431 } else
1432 return self->Append(item);
1433 }
1434int wxItemContainer_Insert(wxItemContainer *self,wxString const &item,int pos,PyObject *clientData){
1435 if (clientData) {
1436 wxPyClientData* data = new wxPyClientData(clientData);
1437 return self->Insert(item, pos, data);
1438 } else
1439 return self->Insert(item, pos);
1440 }
1441PyObject *wxItemContainer_GetClientData(wxItemContainer *self,int n){
1442 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
1443 if (data) {
1444 Py_INCREF(data->m_obj);
1445 return data->m_obj;
1446 } else {
1447 Py_INCREF(Py_None);
1448 return Py_None;
1449 }
1450 }
1451void wxItemContainer_SetClientData(wxItemContainer *self,int n,PyObject *clientData){
1452 wxPyClientData* data = new wxPyClientData(clientData);
1453 self->SetClientObject(n, data);
1454 }
1455
1456
1457
1458#include <float.h>
1459
1460SWIGSTATIC(float)
1461SWIG_FloatCast(double value)
1462{
1463 float f = 0;
1464 if (!PyErr_Occurred()) {
1465 if (value < FLT_MIN) {
1466 PyObject *err =
1467 PyString_FromFormat("value %g is less than float minimum %g",
1468 value, FLT_MIN);
1469 PyErr_SetObject(PyExc_OverflowError, err);
1470 Py_DECREF(err);
1471 } else if (value > FLT_MAX) {
1472 PyObject *err =
1473 PyString_FromFormat("value %g is greater than float maximum %g",
1474 value, FLT_MAX);
1475 PyErr_SetObject(PyExc_OverflowError, err);
1476 Py_DECREF(err);
1477 } else {
1478 f = swig_numeric_cast(float, value);
1479 }
1480 }
1481 return f;
1482}
1483
1484
1485SWIGSTATICINLINE(float)
1486SWIG_AsFloat(PyObject *obj)
1487{
1488 return SWIG_FloatCast(SWIG_AsDouble(obj));
1489}
1490
1491
1492SWIGSTATICINLINE(int)
1493SWIG_CheckFloat(PyObject* obj)
1494{
1495 SWIG_AsFloat(obj);
1496 if (PyErr_Occurred()) {
1497 PyErr_Clear();
1498 return 0;
1499 } else {
1500 return 1;
1501 }
1502}
1503
1504PyObject *wxSizerItem_GetUserData(wxSizerItem *self){
1505 wxPyUserData* data = (wxPyUserData*)self->GetUserData();
1506 if (data) {
1507 Py_INCREF(data->m_obj);
1508 return data->m_obj;
1509 } else {
1510 Py_INCREF(Py_None);
1511 return Py_None;
1512 }
1513 }
1514
1515// Figure out the type of the sizer item
1516
1517struct wxPySizerItemInfo {
1518 wxPySizerItemInfo()
1519 : window(NULL), sizer(NULL), gotSize(False),
1520 size(wxDefaultSize), gotPos(False), pos(-1)
1521 {}
1522
1523 wxWindow* window;
1524 wxSizer* sizer;
1525 bool gotSize;
1526 wxSize size;
1527 bool gotPos;
1528 int pos;
1529};
1530
1531static wxPySizerItemInfo wxPySizerItemTypeHelper(PyObject* item, bool checkSize, bool checkIdx ) {
1532
1533 wxPySizerItemInfo info;
1534 wxSize size;
1535 wxSize* sizePtr = &size;
1536
1537 // Find out what the type of the item is
1538 // try wxWindow
1539 if ( ! wxPyConvertSwigPtr(item, (void**)&info.window, wxT("wxWindow")) ) {
1540 PyErr_Clear();
1541 info.window = NULL;
1542
1543 // try wxSizer
1544 if ( ! wxPyConvertSwigPtr(item, (void**)&info.sizer, wxT("wxSizer")) ) {
1545 PyErr_Clear();
1546 info.sizer = NULL;
1547
1548 // try wxSize or (w,h)
1549 if ( checkSize && wxSize_helper(item, &sizePtr)) {
1550 info.size = *sizePtr;
1551 info.gotSize = True;
1552 }
1553
1554 // or a single int
1555 if (checkIdx && PyInt_Check(item)) {
1556 info.pos = PyInt_AsLong(item);
1557 info.gotPos = True;
1558 }
1559 }
1560 }
1561
1562 if ( !(info.window || info.sizer || (checkSize && info.gotSize) || (checkIdx && info.gotPos)) ) {
1563 // no expected type, figure out what kind of error message to generate
1564 if ( !checkSize && !checkIdx )
1565 PyErr_SetString(PyExc_TypeError, "wxWindow or wxSizer expected for item");
1566 else if ( checkSize && !checkIdx )
1567 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1568 else if ( !checkSize && checkIdx)
1569 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer or int (position) expected for item");
1570 else
1571 // can this one happen?
1572 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1573 }
1574
1575 return info;
1576}
1577
1578void wxSizer__setOORInfo(wxSizer *self,PyObject *_self){
1579 self->SetClientObject(new wxPyOORClientData(_self));
1580 }
1581void wxSizer_Add(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1582
1583 wxPyUserData* data = NULL;
1584 bool blocked = wxPyBeginBlockThreads();
1585 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
1586 if ( userData && (info.window || info.sizer || info.gotSize) )
1587 data = new wxPyUserData(userData);
1588 wxPyEndBlockThreads(blocked);
1589
1590 // Now call the real Add method if a valid item type was found
1591 if ( info.window )
1592 self->Add(info.window, proportion, flag, border, data);
1593 else if ( info.sizer )
1594 self->Add(info.sizer, proportion, flag, border, data);
1595 else if (info.gotSize)
1596 self->Add(info.size.GetWidth(), info.size.GetHeight(),
1597 proportion, flag, border, data);
1598 }
1599void wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1600
1601 wxPyUserData* data = NULL;
1602 bool blocked = wxPyBeginBlockThreads();
1603 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
1604 if ( userData && (info.window || info.sizer || info.gotSize) )
1605 data = new wxPyUserData(userData);
1606 wxPyEndBlockThreads(blocked);
1607
1608 // Now call the real Insert method if a valid item type was found
1609 if ( info.window )
1610 self->Insert(before, info.window, proportion, flag, border, data);
1611 else if ( info.sizer )
1612 self->Insert(before, info.sizer, proportion, flag, border, data);
1613 else if (info.gotSize)
1614 self->Insert(before, info.size.GetWidth(), info.size.GetHeight(),
1615 proportion, flag, border, data);
1616 }
1617void wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1618
1619 wxPyUserData* data = NULL;
1620 bool blocked = wxPyBeginBlockThreads();
1621 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
1622 if ( userData && (info.window || info.sizer || info.gotSize) )
1623 data = new wxPyUserData(userData);
1624 wxPyEndBlockThreads(blocked);
1625
1626 // Now call the real Prepend method if a valid item type was found
1627 if ( info.window )
1628 self->Prepend(info.window, proportion, flag, border, data);
1629 else if ( info.sizer )
1630 self->Prepend(info.sizer, proportion, flag, border, data);
1631 else if (info.gotSize)
1632 self->Prepend(info.size.GetWidth(), info.size.GetHeight(),
1633 proportion, flag, border, data);
1634 }
1635bool wxSizer_Remove(wxSizer *self,PyObject *item){
1636 bool blocked = wxPyBeginBlockThreads();
1637 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
1638 wxPyEndBlockThreads(blocked);
1639 if ( info.window )
1640 return self->Remove(info.window);
1641 else if ( info.sizer )
1642 return self->Remove(info.sizer);
1643 else if ( info.gotPos )
1644 return self->Remove(info.pos);
1645 else
1646 return False;
1647 }
1a6bba1e
RD
1648bool wxSizer_Detach(wxSizer *self,PyObject *item){
1649 bool blocked = wxPyBeginBlockThreads();
1650 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
1651 wxPyEndBlockThreads(blocked);
1652 if ( info.window )
1653 return self->Detach(info.window);
1654 else if ( info.sizer )
1655 return self->Detach(info.sizer);
1656 else if ( info.gotPos )
1657 return self->Detach(info.pos);
1658 else
1659 return False;
1660 }
d55e5bfc
RD
1661void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){
1662 bool blocked = wxPyBeginBlockThreads();
1663 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
1664 wxPyEndBlockThreads(blocked);
1665 if ( info.window )
1666 self->SetItemMinSize(info.window, size);
1667 else if ( info.sizer )
1668 self->SetItemMinSize(info.sizer, size);
1669 else if ( info.gotPos )
1670 self->SetItemMinSize(info.pos, size);
1671 }
1672PyObject *wxSizer_GetChildren(wxSizer *self){
1673 wxSizerItemList& list = self->GetChildren();
1674 return wxPy_ConvertList(&list);
1675 }
1676void wxSizer_Show(wxSizer *self,PyObject *item,bool show){
d6c14a4c 1677 bool blocked = wxPyBeginBlockThreads();
d55e5bfc 1678 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d6c14a4c 1679 wxPyEndBlockThreads(blocked);
d55e5bfc
RD
1680 if ( info.window )
1681 self->Show(info.window, show);
1682 else if ( info.sizer )
1683 self->Show(info.sizer, show);
1684 }
1685void wxSizer_Hide(wxSizer *self,PyObject *item){
d6c14a4c 1686 bool blocked = wxPyBeginBlockThreads();
d55e5bfc 1687 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d6c14a4c 1688 wxPyEndBlockThreads(blocked);
d55e5bfc
RD
1689 if ( info.window )
1690 self->Hide(info.window);
1691 else if ( info.sizer )
1692 self->Hide(info.sizer);
1693 }
1694bool wxSizer_IsShown(wxSizer *self,PyObject *item){
d6c14a4c 1695 bool blocked = wxPyBeginBlockThreads();
d55e5bfc 1696 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d6c14a4c 1697 wxPyEndBlockThreads(blocked);
d55e5bfc
RD
1698 if ( info.window )
1699 return self->IsShown(info.window);
1700 else if ( info.sizer )
1701 return self->IsShown(info.sizer);
1702 else
1703 return False;
1704 }
1705
1706// See pyclasses.h
1707IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
1708IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
1709IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
1710
1711
1712
1713
1714bool wxGBPosition_helper(PyObject* source, wxGBPosition** obj)
1715{
1716 if (source == Py_None) {
1717 **obj = wxGBPosition(-1,-1);
1718 return True;
1719 }
1720 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBPosition"));
1721}
1722
1723bool wxGBSpan_helper(PyObject* source, wxGBSpan** obj)
1724{
1725 if (source == Py_None) {
1726 **obj = wxGBSpan(-1,-1);
1727 return True;
1728 }
1729 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBSpan"));
1730}
1731
1732
1733void wxGBPosition_Set(wxGBPosition *self,int row,int col){
1734 self->SetRow(row);
1735 self->SetCol(col);
1736 }
1737PyObject *wxGBPosition_Get(wxGBPosition *self){
1738 bool blocked = wxPyBeginBlockThreads();
1739 PyObject* tup = PyTuple_New(2);
1740 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1741 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
1742 wxPyEndBlockThreads(blocked);
1743 return tup;
1744 }
1745void wxGBSpan_Set(wxGBSpan *self,int rowspan,int colspan){
1746 self->SetRowspan(rowspan);
1747 self->SetColspan(colspan);
1748 }
1749PyObject *wxGBSpan_Get(wxGBSpan *self){
1750 bool blocked = wxPyBeginBlockThreads();
1751 PyObject* tup = PyTuple_New(2);
1752 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRowspan()));
1753 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetColspan()));
1754 wxPyEndBlockThreads(blocked);
1755 return tup;
1756 }
1757bool wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1758
1759 wxPyUserData* data = NULL;
1760 bool blocked = wxPyBeginBlockThreads();
1761 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
1762 if ( userData && (info.window || info.sizer || info.gotSize) )
1763 data = new wxPyUserData(userData);
1764 wxPyEndBlockThreads(blocked);
1765
1766 // Now call the real Add method if a valid item type was found
1767 if ( info.window )
1768 return self->Add(info.window, pos, span, flag, border, data);
1769 else if ( info.sizer )
1770 return self->Add(info.sizer, pos, span, flag, border, data);
1771 else if (info.gotSize)
1772 return self->Add(info.size.GetWidth(), info.size.GetHeight(),
1773 pos, span, flag, border, data);
1774 return False;
1775 }
1776
1777
1778#ifdef __cplusplus
1779extern "C" {
1780#endif
1781static int _wrap_EmptyString_set(PyObject *_val) {
1782 PyErr_SetString(PyExc_TypeError,"Variable EmptyString is read-only.");
1783 return 1;
1784}
1785
1786
1787static PyObject *_wrap_EmptyString_get() {
1788 PyObject *pyobj;
1789
1790 {
1791#if wxUSE_UNICODE
1792 pyobj = PyUnicode_FromWideChar((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1793#else
1794 pyobj = PyString_FromStringAndSize((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1795#endif
1796 }
1797 return pyobj;
1798}
1799
1800
1801static PyObject *_wrap_Object_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
1802 PyObject *resultobj;
1803 wxObject *arg1 = (wxObject *) 0 ;
1804 wxString result;
1805 PyObject * obj0 = 0 ;
1806 char *kwnames[] = {
1807 (char *) "self", NULL
1808 };
1809
1810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_GetClassName",kwnames,&obj0)) goto fail;
1811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
1812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1813 {
1814 PyThreadState* __tstate = wxPyBeginAllowThreads();
1815 result = wxObject_GetClassName(arg1);
1816
1817 wxPyEndAllowThreads(__tstate);
1818 if (PyErr_Occurred()) SWIG_fail;
1819 }
1820 {
1821#if wxUSE_UNICODE
1822 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1823#else
1824 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1825#endif
1826 }
1827 return resultobj;
1828 fail:
1829 return NULL;
1830}
1831
1832
1833static PyObject *_wrap_Object_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
1834 PyObject *resultobj;
1835 wxObject *arg1 = (wxObject *) 0 ;
1836 PyObject * obj0 = 0 ;
1837 char *kwnames[] = {
1838 (char *) "self", NULL
1839 };
1840
1841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_Destroy",kwnames,&obj0)) goto fail;
1842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
1843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1844 {
1845 PyThreadState* __tstate = wxPyBeginAllowThreads();
1846 wxObject_Destroy(arg1);
1847
1848 wxPyEndAllowThreads(__tstate);
1849 if (PyErr_Occurred()) SWIG_fail;
1850 }
1851 Py_INCREF(Py_None); resultobj = Py_None;
1852 return resultobj;
1853 fail:
1854 return NULL;
1855}
1856
1857
1858static PyObject * Object_swigregister(PyObject *self, PyObject *args) {
1859 PyObject *obj;
1860 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1861 SWIG_TypeClientData(SWIGTYPE_p_wxObject, obj);
1862 Py_INCREF(obj);
1863 return Py_BuildValue((char *)"");
1864}
1865static PyObject *_wrap_Size_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1866 PyObject *resultobj;
1867 wxSize *arg1 = (wxSize *) 0 ;
1868 int arg2 ;
1869 PyObject * obj0 = 0 ;
1870 PyObject * obj1 = 0 ;
1871 char *kwnames[] = {
1872 (char *) "self",(char *) "x", NULL
1873 };
1874
1875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_width_set",kwnames,&obj0,&obj1)) goto fail;
1876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1878 arg2 = (int) SWIG_AsInt(obj1);
1879 if (PyErr_Occurred()) SWIG_fail;
1880 if (arg1) (arg1)->x = arg2;
1881
1882 Py_INCREF(Py_None); resultobj = Py_None;
1883 return resultobj;
1884 fail:
1885 return NULL;
1886}
1887
1888
1889static PyObject *_wrap_Size_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1890 PyObject *resultobj;
1891 wxSize *arg1 = (wxSize *) 0 ;
1892 int result;
1893 PyObject * obj0 = 0 ;
1894 char *kwnames[] = {
1895 (char *) "self", NULL
1896 };
1897
1898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_width_get",kwnames,&obj0)) goto fail;
1899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1901 result = (int) ((arg1)->x);
1902
1903 resultobj = SWIG_FromInt((int)result);
1904 return resultobj;
1905 fail:
1906 return NULL;
1907}
1908
1909
1910static PyObject *_wrap_Size_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1911 PyObject *resultobj;
1912 wxSize *arg1 = (wxSize *) 0 ;
1913 int arg2 ;
1914 PyObject * obj0 = 0 ;
1915 PyObject * obj1 = 0 ;
1916 char *kwnames[] = {
1917 (char *) "self",(char *) "y", NULL
1918 };
1919
1920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_height_set",kwnames,&obj0,&obj1)) goto fail;
1921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1923 arg2 = (int) SWIG_AsInt(obj1);
1924 if (PyErr_Occurred()) SWIG_fail;
1925 if (arg1) (arg1)->y = arg2;
1926
1927 Py_INCREF(Py_None); resultobj = Py_None;
1928 return resultobj;
1929 fail:
1930 return NULL;
1931}
1932
1933
1934static PyObject *_wrap_Size_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1935 PyObject *resultobj;
1936 wxSize *arg1 = (wxSize *) 0 ;
1937 int result;
1938 PyObject * obj0 = 0 ;
1939 char *kwnames[] = {
1940 (char *) "self", NULL
1941 };
1942
1943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_height_get",kwnames,&obj0)) goto fail;
1944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1946 result = (int) ((arg1)->y);
1947
1948 resultobj = SWIG_FromInt((int)result);
1949 return resultobj;
1950 fail:
1951 return NULL;
1952}
1953
1954
1955static PyObject *_wrap_new_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
1956 PyObject *resultobj;
1957 int arg1 = (int) 0 ;
1958 int arg2 = (int) 0 ;
1959 wxSize *result;
1960 PyObject * obj0 = 0 ;
1961 PyObject * obj1 = 0 ;
1962 char *kwnames[] = {
1963 (char *) "w",(char *) "h", NULL
1964 };
1965
1966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Size",kwnames,&obj0,&obj1)) goto fail;
1967 if (obj0) {
1968 arg1 = (int) SWIG_AsInt(obj0);
1969 if (PyErr_Occurred()) SWIG_fail;
1970 }
1971 if (obj1) {
1972 arg2 = (int) SWIG_AsInt(obj1);
1973 if (PyErr_Occurred()) SWIG_fail;
1974 }
1975 {
1976 PyThreadState* __tstate = wxPyBeginAllowThreads();
1977 result = (wxSize *)new wxSize(arg1,arg2);
1978
1979 wxPyEndAllowThreads(__tstate);
1980 if (PyErr_Occurred()) SWIG_fail;
1981 }
1982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 1);
1983 return resultobj;
1984 fail:
1985 return NULL;
1986}
1987
1988
1989static PyObject *_wrap_delete_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
1990 PyObject *resultobj;
1991 wxSize *arg1 = (wxSize *) 0 ;
1992 PyObject * obj0 = 0 ;
1993 char *kwnames[] = {
1994 (char *) "self", NULL
1995 };
1996
1997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Size",kwnames,&obj0)) goto fail;
1998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2000 {
2001 PyThreadState* __tstate = wxPyBeginAllowThreads();
2002 delete arg1;
2003
2004 wxPyEndAllowThreads(__tstate);
2005 if (PyErr_Occurred()) SWIG_fail;
2006 }
2007 Py_INCREF(Py_None); resultobj = Py_None;
2008 return resultobj;
2009 fail:
2010 return NULL;
2011}
2012
2013
2014static PyObject *_wrap_Size___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
2015 PyObject *resultobj;
2016 wxSize *arg1 = (wxSize *) 0 ;
2017 wxSize *arg2 = 0 ;
2018 bool result;
2019 wxSize temp2 ;
2020 PyObject * obj0 = 0 ;
2021 PyObject * obj1 = 0 ;
2022 char *kwnames[] = {
2023 (char *) "self",(char *) "sz", NULL
2024 };
2025
2026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___eq__",kwnames,&obj0,&obj1)) goto fail;
2027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2029 {
2030 arg2 = &temp2;
2031 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2032 }
2033 {
2034 PyThreadState* __tstate = wxPyBeginAllowThreads();
2035 result = (bool)(arg1)->operator ==((wxSize const &)*arg2);
2036
2037 wxPyEndAllowThreads(__tstate);
2038 if (PyErr_Occurred()) SWIG_fail;
2039 }
2040 {
2041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2042 }
2043 return resultobj;
2044 fail:
2045 return NULL;
2046}
2047
2048
2049static PyObject *_wrap_Size___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2050 PyObject *resultobj;
2051 wxSize *arg1 = (wxSize *) 0 ;
2052 wxSize *arg2 = 0 ;
2053 bool result;
2054 wxSize temp2 ;
2055 PyObject * obj0 = 0 ;
2056 PyObject * obj1 = 0 ;
2057 char *kwnames[] = {
2058 (char *) "self",(char *) "sz", NULL
2059 };
2060
2061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___ne__",kwnames,&obj0,&obj1)) goto fail;
2062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2064 {
2065 arg2 = &temp2;
2066 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2067 }
2068 {
2069 PyThreadState* __tstate = wxPyBeginAllowThreads();
2070 result = (bool)(arg1)->operator !=((wxSize const &)*arg2);
2071
2072 wxPyEndAllowThreads(__tstate);
2073 if (PyErr_Occurred()) SWIG_fail;
2074 }
2075 {
2076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2077 }
2078 return resultobj;
2079 fail:
2080 return NULL;
2081}
2082
2083
2084static PyObject *_wrap_Size___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2085 PyObject *resultobj;
2086 wxSize *arg1 = (wxSize *) 0 ;
2087 wxSize *arg2 = 0 ;
2088 wxSize result;
2089 wxSize temp2 ;
2090 PyObject * obj0 = 0 ;
2091 PyObject * obj1 = 0 ;
2092 char *kwnames[] = {
2093 (char *) "self",(char *) "sz", NULL
2094 };
2095
2096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___add__",kwnames,&obj0,&obj1)) goto fail;
2097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2099 {
2100 arg2 = &temp2;
2101 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2102 }
2103 {
2104 PyThreadState* __tstate = wxPyBeginAllowThreads();
2105 result = (arg1)->operator +((wxSize const &)*arg2);
2106
2107 wxPyEndAllowThreads(__tstate);
2108 if (PyErr_Occurred()) SWIG_fail;
2109 }
2110 {
2111 wxSize * resultptr;
2112 resultptr = new wxSize((wxSize &) result);
2113 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2114 }
2115 return resultobj;
2116 fail:
2117 return NULL;
2118}
2119
2120
2121static PyObject *_wrap_Size___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2122 PyObject *resultobj;
2123 wxSize *arg1 = (wxSize *) 0 ;
2124 wxSize *arg2 = 0 ;
2125 wxSize result;
2126 wxSize temp2 ;
2127 PyObject * obj0 = 0 ;
2128 PyObject * obj1 = 0 ;
2129 char *kwnames[] = {
2130 (char *) "self",(char *) "sz", NULL
2131 };
2132
2133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___sub__",kwnames,&obj0,&obj1)) goto fail;
2134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2136 {
2137 arg2 = &temp2;
2138 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2139 }
2140 {
2141 PyThreadState* __tstate = wxPyBeginAllowThreads();
2142 result = (arg1)->operator -((wxSize const &)*arg2);
2143
2144 wxPyEndAllowThreads(__tstate);
2145 if (PyErr_Occurred()) SWIG_fail;
2146 }
2147 {
2148 wxSize * resultptr;
2149 resultptr = new wxSize((wxSize &) result);
2150 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2151 }
2152 return resultobj;
2153 fail:
2154 return NULL;
2155}
2156
2157
2158static PyObject *_wrap_Size_IncTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2159 PyObject *resultobj;
2160 wxSize *arg1 = (wxSize *) 0 ;
2161 wxSize *arg2 = 0 ;
2162 wxSize temp2 ;
2163 PyObject * obj0 = 0 ;
2164 PyObject * obj1 = 0 ;
2165 char *kwnames[] = {
2166 (char *) "self",(char *) "sz", NULL
2167 };
2168
2169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_IncTo",kwnames,&obj0,&obj1)) goto fail;
2170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2172 {
2173 arg2 = &temp2;
2174 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2175 }
2176 {
2177 PyThreadState* __tstate = wxPyBeginAllowThreads();
2178 (arg1)->IncTo((wxSize const &)*arg2);
2179
2180 wxPyEndAllowThreads(__tstate);
2181 if (PyErr_Occurred()) SWIG_fail;
2182 }
2183 Py_INCREF(Py_None); resultobj = Py_None;
2184 return resultobj;
2185 fail:
2186 return NULL;
2187}
2188
2189
2190static PyObject *_wrap_Size_DecTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2191 PyObject *resultobj;
2192 wxSize *arg1 = (wxSize *) 0 ;
2193 wxSize *arg2 = 0 ;
2194 wxSize temp2 ;
2195 PyObject * obj0 = 0 ;
2196 PyObject * obj1 = 0 ;
2197 char *kwnames[] = {
2198 (char *) "self",(char *) "sz", NULL
2199 };
2200
2201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_DecTo",kwnames,&obj0,&obj1)) goto fail;
2202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2204 {
2205 arg2 = &temp2;
2206 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2207 }
2208 {
2209 PyThreadState* __tstate = wxPyBeginAllowThreads();
2210 (arg1)->DecTo((wxSize const &)*arg2);
2211
2212 wxPyEndAllowThreads(__tstate);
2213 if (PyErr_Occurred()) SWIG_fail;
2214 }
2215 Py_INCREF(Py_None); resultobj = Py_None;
2216 return resultobj;
2217 fail:
2218 return NULL;
2219}
2220
2221
2222static PyObject *_wrap_Size_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2223 PyObject *resultobj;
2224 wxSize *arg1 = (wxSize *) 0 ;
2225 int arg2 ;
2226 int arg3 ;
2227 PyObject * obj0 = 0 ;
2228 PyObject * obj1 = 0 ;
2229 PyObject * obj2 = 0 ;
2230 char *kwnames[] = {
2231 (char *) "self",(char *) "w",(char *) "h", NULL
2232 };
2233
2234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Size_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2237 arg2 = (int) SWIG_AsInt(obj1);
2238 if (PyErr_Occurred()) SWIG_fail;
2239 arg3 = (int) SWIG_AsInt(obj2);
2240 if (PyErr_Occurred()) SWIG_fail;
2241 {
2242 PyThreadState* __tstate = wxPyBeginAllowThreads();
2243 (arg1)->Set(arg2,arg3);
2244
2245 wxPyEndAllowThreads(__tstate);
2246 if (PyErr_Occurred()) SWIG_fail;
2247 }
2248 Py_INCREF(Py_None); resultobj = Py_None;
2249 return resultobj;
2250 fail:
2251 return NULL;
2252}
2253
2254
2255static PyObject *_wrap_Size_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2256 PyObject *resultobj;
2257 wxSize *arg1 = (wxSize *) 0 ;
2258 int arg2 ;
2259 PyObject * obj0 = 0 ;
2260 PyObject * obj1 = 0 ;
2261 char *kwnames[] = {
2262 (char *) "self",(char *) "w", NULL
2263 };
2264
2265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetWidth",kwnames,&obj0,&obj1)) goto fail;
2266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2268 arg2 = (int) SWIG_AsInt(obj1);
2269 if (PyErr_Occurred()) SWIG_fail;
2270 {
2271 PyThreadState* __tstate = wxPyBeginAllowThreads();
2272 (arg1)->SetWidth(arg2);
2273
2274 wxPyEndAllowThreads(__tstate);
2275 if (PyErr_Occurred()) SWIG_fail;
2276 }
2277 Py_INCREF(Py_None); resultobj = Py_None;
2278 return resultobj;
2279 fail:
2280 return NULL;
2281}
2282
2283
2284static PyObject *_wrap_Size_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2285 PyObject *resultobj;
2286 wxSize *arg1 = (wxSize *) 0 ;
2287 int arg2 ;
2288 PyObject * obj0 = 0 ;
2289 PyObject * obj1 = 0 ;
2290 char *kwnames[] = {
2291 (char *) "self",(char *) "h", NULL
2292 };
2293
2294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetHeight",kwnames,&obj0,&obj1)) goto fail;
2295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2297 arg2 = (int) SWIG_AsInt(obj1);
2298 if (PyErr_Occurred()) SWIG_fail;
2299 {
2300 PyThreadState* __tstate = wxPyBeginAllowThreads();
2301 (arg1)->SetHeight(arg2);
2302
2303 wxPyEndAllowThreads(__tstate);
2304 if (PyErr_Occurred()) SWIG_fail;
2305 }
2306 Py_INCREF(Py_None); resultobj = Py_None;
2307 return resultobj;
2308 fail:
2309 return NULL;
2310}
2311
2312
2313static PyObject *_wrap_Size_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2314 PyObject *resultobj;
2315 wxSize *arg1 = (wxSize *) 0 ;
2316 int result;
2317 PyObject * obj0 = 0 ;
2318 char *kwnames[] = {
2319 (char *) "self", NULL
2320 };
2321
2322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetWidth",kwnames,&obj0)) goto fail;
2323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2325 {
2326 PyThreadState* __tstate = wxPyBeginAllowThreads();
2327 result = (int)((wxSize const *)arg1)->GetWidth();
2328
2329 wxPyEndAllowThreads(__tstate);
2330 if (PyErr_Occurred()) SWIG_fail;
2331 }
2332 resultobj = SWIG_FromInt((int)result);
2333 return resultobj;
2334 fail:
2335 return NULL;
2336}
2337
2338
2339static PyObject *_wrap_Size_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2340 PyObject *resultobj;
2341 wxSize *arg1 = (wxSize *) 0 ;
2342 int result;
2343 PyObject * obj0 = 0 ;
2344 char *kwnames[] = {
2345 (char *) "self", NULL
2346 };
2347
2348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetHeight",kwnames,&obj0)) goto fail;
2349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2351 {
2352 PyThreadState* __tstate = wxPyBeginAllowThreads();
2353 result = (int)((wxSize const *)arg1)->GetHeight();
2354
2355 wxPyEndAllowThreads(__tstate);
2356 if (PyErr_Occurred()) SWIG_fail;
2357 }
2358 resultobj = SWIG_FromInt((int)result);
2359 return resultobj;
2360 fail:
2361 return NULL;
2362}
2363
2364
2365static PyObject *_wrap_Size_IsFullySpecified(PyObject *self, PyObject *args, PyObject *kwargs) {
2366 PyObject *resultobj;
2367 wxSize *arg1 = (wxSize *) 0 ;
2368 bool result;
2369 PyObject * obj0 = 0 ;
2370 char *kwnames[] = {
2371 (char *) "self", NULL
2372 };
2373
2374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_IsFullySpecified",kwnames,&obj0)) goto fail;
2375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2377 {
2378 PyThreadState* __tstate = wxPyBeginAllowThreads();
2379 result = (bool)((wxSize const *)arg1)->IsFullySpecified();
2380
2381 wxPyEndAllowThreads(__tstate);
2382 if (PyErr_Occurred()) SWIG_fail;
2383 }
2384 {
2385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2386 }
2387 return resultobj;
2388 fail:
2389 return NULL;
2390}
2391
2392
2393static PyObject *_wrap_Size_SetDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
2394 PyObject *resultobj;
2395 wxSize *arg1 = (wxSize *) 0 ;
2396 wxSize *arg2 = 0 ;
2397 wxSize temp2 ;
2398 PyObject * obj0 = 0 ;
2399 PyObject * obj1 = 0 ;
2400 char *kwnames[] = {
2401 (char *) "self",(char *) "size", NULL
2402 };
2403
2404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetDefaults",kwnames,&obj0,&obj1)) goto fail;
2405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2407 {
2408 arg2 = &temp2;
2409 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2410 }
2411 {
2412 PyThreadState* __tstate = wxPyBeginAllowThreads();
2413 (arg1)->SetDefaults((wxSize const &)*arg2);
2414
2415 wxPyEndAllowThreads(__tstate);
2416 if (PyErr_Occurred()) SWIG_fail;
2417 }
2418 Py_INCREF(Py_None); resultobj = Py_None;
2419 return resultobj;
2420 fail:
2421 return NULL;
2422}
2423
2424
2425static PyObject *_wrap_Size_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
2426 PyObject *resultobj;
2427 wxSize *arg1 = (wxSize *) 0 ;
2428 PyObject *result;
2429 PyObject * obj0 = 0 ;
2430 char *kwnames[] = {
2431 (char *) "self", NULL
2432 };
2433
2434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",kwnames,&obj0)) goto fail;
2435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2437 {
2438 PyThreadState* __tstate = wxPyBeginAllowThreads();
2439 result = (PyObject *)wxSize_Get(arg1);
2440
2441 wxPyEndAllowThreads(__tstate);
2442 if (PyErr_Occurred()) SWIG_fail;
2443 }
2444 resultobj = result;
2445 return resultobj;
2446 fail:
2447 return NULL;
2448}
2449
2450
2451static PyObject * Size_swigregister(PyObject *self, PyObject *args) {
2452 PyObject *obj;
2453 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2454 SWIG_TypeClientData(SWIGTYPE_p_wxSize, obj);
2455 Py_INCREF(obj);
2456 return Py_BuildValue((char *)"");
2457}
2458static PyObject *_wrap_RealPoint_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2459 PyObject *resultobj;
2460 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2461 double arg2 ;
2462 PyObject * obj0 = 0 ;
2463 PyObject * obj1 = 0 ;
2464 char *kwnames[] = {
2465 (char *) "self",(char *) "x", NULL
2466 };
2467
2468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_x_set",kwnames,&obj0,&obj1)) goto fail;
2469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2471 arg2 = (double) SWIG_AsDouble(obj1);
2472 if (PyErr_Occurred()) SWIG_fail;
2473 if (arg1) (arg1)->x = arg2;
2474
2475 Py_INCREF(Py_None); resultobj = Py_None;
2476 return resultobj;
2477 fail:
2478 return NULL;
2479}
2480
2481
2482static PyObject *_wrap_RealPoint_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2483 PyObject *resultobj;
2484 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2485 double result;
2486 PyObject * obj0 = 0 ;
2487 char *kwnames[] = {
2488 (char *) "self", NULL
2489 };
2490
2491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_x_get",kwnames,&obj0)) goto fail;
2492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2494 result = (double) ((arg1)->x);
2495
2496 resultobj = SWIG_FromDouble((double)result);
2497 return resultobj;
2498 fail:
2499 return NULL;
2500}
2501
2502
2503static PyObject *_wrap_RealPoint_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2504 PyObject *resultobj;
2505 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2506 double arg2 ;
2507 PyObject * obj0 = 0 ;
2508 PyObject * obj1 = 0 ;
2509 char *kwnames[] = {
2510 (char *) "self",(char *) "y", NULL
2511 };
2512
2513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_y_set",kwnames,&obj0,&obj1)) goto fail;
2514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2516 arg2 = (double) SWIG_AsDouble(obj1);
2517 if (PyErr_Occurred()) SWIG_fail;
2518 if (arg1) (arg1)->y = arg2;
2519
2520 Py_INCREF(Py_None); resultobj = Py_None;
2521 return resultobj;
2522 fail:
2523 return NULL;
2524}
2525
2526
2527static PyObject *_wrap_RealPoint_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2528 PyObject *resultobj;
2529 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2530 double result;
2531 PyObject * obj0 = 0 ;
2532 char *kwnames[] = {
2533 (char *) "self", NULL
2534 };
2535
2536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_y_get",kwnames,&obj0)) goto fail;
2537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2539 result = (double) ((arg1)->y);
2540
2541 resultobj = SWIG_FromDouble((double)result);
2542 return resultobj;
2543 fail:
2544 return NULL;
2545}
2546
2547
2548static PyObject *_wrap_new_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2549 PyObject *resultobj;
2550 double arg1 = (double) 0.0 ;
2551 double arg2 = (double) 0.0 ;
2552 wxRealPoint *result;
2553 PyObject * obj0 = 0 ;
2554 PyObject * obj1 = 0 ;
2555 char *kwnames[] = {
2556 (char *) "x",(char *) "y", NULL
2557 };
2558
2559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RealPoint",kwnames,&obj0,&obj1)) goto fail;
2560 if (obj0) {
2561 arg1 = (double) SWIG_AsDouble(obj0);
2562 if (PyErr_Occurred()) SWIG_fail;
2563 }
2564 if (obj1) {
2565 arg2 = (double) SWIG_AsDouble(obj1);
2566 if (PyErr_Occurred()) SWIG_fail;
2567 }
2568 {
2569 PyThreadState* __tstate = wxPyBeginAllowThreads();
2570 result = (wxRealPoint *)new wxRealPoint(arg1,arg2);
2571
2572 wxPyEndAllowThreads(__tstate);
2573 if (PyErr_Occurred()) SWIG_fail;
2574 }
2575 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRealPoint, 1);
2576 return resultobj;
2577 fail:
2578 return NULL;
2579}
2580
2581
2582static PyObject *_wrap_delete_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2583 PyObject *resultobj;
2584 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2585 PyObject * obj0 = 0 ;
2586 char *kwnames[] = {
2587 (char *) "self", NULL
2588 };
2589
2590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RealPoint",kwnames,&obj0)) goto fail;
2591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2593 {
2594 PyThreadState* __tstate = wxPyBeginAllowThreads();
2595 delete arg1;
2596
2597 wxPyEndAllowThreads(__tstate);
2598 if (PyErr_Occurred()) SWIG_fail;
2599 }
2600 Py_INCREF(Py_None); resultobj = Py_None;
2601 return resultobj;
2602 fail:
2603 return NULL;
2604}
2605
2606
2607static PyObject *_wrap_RealPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
2608 PyObject *resultobj;
2609 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2610 wxRealPoint *arg2 = 0 ;
2611 bool result;
2612 wxRealPoint temp2 ;
2613 PyObject * obj0 = 0 ;
2614 PyObject * obj1 = 0 ;
2615 char *kwnames[] = {
2616 (char *) "self",(char *) "pt", NULL
2617 };
2618
2619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail;
2620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2622 {
2623 arg2 = &temp2;
2624 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2625 }
2626 {
2627 PyThreadState* __tstate = wxPyBeginAllowThreads();
2628 result = (bool)(arg1)->operator ==((wxRealPoint const &)*arg2);
2629
2630 wxPyEndAllowThreads(__tstate);
2631 if (PyErr_Occurred()) SWIG_fail;
2632 }
2633 {
2634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2635 }
2636 return resultobj;
2637 fail:
2638 return NULL;
2639}
2640
2641
2642static PyObject *_wrap_RealPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2643 PyObject *resultobj;
2644 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2645 wxRealPoint *arg2 = 0 ;
2646 bool result;
2647 wxRealPoint temp2 ;
2648 PyObject * obj0 = 0 ;
2649 PyObject * obj1 = 0 ;
2650 char *kwnames[] = {
2651 (char *) "self",(char *) "pt", NULL
2652 };
2653
2654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail;
2655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2657 {
2658 arg2 = &temp2;
2659 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2660 }
2661 {
2662 PyThreadState* __tstate = wxPyBeginAllowThreads();
2663 result = (bool)(arg1)->operator !=((wxRealPoint const &)*arg2);
2664
2665 wxPyEndAllowThreads(__tstate);
2666 if (PyErr_Occurred()) SWIG_fail;
2667 }
2668 {
2669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2670 }
2671 return resultobj;
2672 fail:
2673 return NULL;
2674}
2675
2676
2677static PyObject *_wrap_RealPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2678 PyObject *resultobj;
2679 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2680 wxRealPoint *arg2 = 0 ;
2681 wxRealPoint result;
2682 wxRealPoint temp2 ;
2683 PyObject * obj0 = 0 ;
2684 PyObject * obj1 = 0 ;
2685 char *kwnames[] = {
2686 (char *) "self",(char *) "pt", NULL
2687 };
2688
2689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail;
2690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2692 {
2693 arg2 = &temp2;
2694 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2695 }
2696 {
2697 PyThreadState* __tstate = wxPyBeginAllowThreads();
2698 result = (arg1)->operator +((wxRealPoint const &)*arg2);
2699
2700 wxPyEndAllowThreads(__tstate);
2701 if (PyErr_Occurred()) SWIG_fail;
2702 }
2703 {
2704 wxRealPoint * resultptr;
2705 resultptr = new wxRealPoint((wxRealPoint &) result);
2706 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
2707 }
2708 return resultobj;
2709 fail:
2710 return NULL;
2711}
2712
2713
2714static PyObject *_wrap_RealPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2715 PyObject *resultobj;
2716 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2717 wxRealPoint *arg2 = 0 ;
2718 wxRealPoint result;
2719 wxRealPoint temp2 ;
2720 PyObject * obj0 = 0 ;
2721 PyObject * obj1 = 0 ;
2722 char *kwnames[] = {
2723 (char *) "self",(char *) "pt", NULL
2724 };
2725
2726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail;
2727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2729 {
2730 arg2 = &temp2;
2731 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2732 }
2733 {
2734 PyThreadState* __tstate = wxPyBeginAllowThreads();
2735 result = (arg1)->operator -((wxRealPoint const &)*arg2);
2736
2737 wxPyEndAllowThreads(__tstate);
2738 if (PyErr_Occurred()) SWIG_fail;
2739 }
2740 {
2741 wxRealPoint * resultptr;
2742 resultptr = new wxRealPoint((wxRealPoint &) result);
2743 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
2744 }
2745 return resultobj;
2746 fail:
2747 return NULL;
2748}
2749
2750
2751static PyObject *_wrap_RealPoint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2752 PyObject *resultobj;
2753 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2754 double arg2 ;
2755 double arg3 ;
2756 PyObject * obj0 = 0 ;
2757 PyObject * obj1 = 0 ;
2758 PyObject * obj2 = 0 ;
2759 char *kwnames[] = {
2760 (char *) "self",(char *) "x",(char *) "y", NULL
2761 };
2762
2763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RealPoint_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2766 arg2 = (double) SWIG_AsDouble(obj1);
2767 if (PyErr_Occurred()) SWIG_fail;
2768 arg3 = (double) SWIG_AsDouble(obj2);
2769 if (PyErr_Occurred()) SWIG_fail;
2770 {
2771 PyThreadState* __tstate = wxPyBeginAllowThreads();
2772 wxRealPoint_Set(arg1,arg2,arg3);
2773
2774 wxPyEndAllowThreads(__tstate);
2775 if (PyErr_Occurred()) SWIG_fail;
2776 }
2777 Py_INCREF(Py_None); resultobj = Py_None;
2778 return resultobj;
2779 fail:
2780 return NULL;
2781}
2782
2783
2784static PyObject *_wrap_RealPoint_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
2785 PyObject *resultobj;
2786 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2787 PyObject *result;
2788 PyObject * obj0 = 0 ;
2789 char *kwnames[] = {
2790 (char *) "self", NULL
2791 };
2792
2793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail;
2794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2796 {
2797 PyThreadState* __tstate = wxPyBeginAllowThreads();
2798 result = (PyObject *)wxRealPoint_Get(arg1);
2799
2800 wxPyEndAllowThreads(__tstate);
2801 if (PyErr_Occurred()) SWIG_fail;
2802 }
2803 resultobj = result;
2804 return resultobj;
2805 fail:
2806 return NULL;
2807}
2808
2809
2810static PyObject * RealPoint_swigregister(PyObject *self, PyObject *args) {
2811 PyObject *obj;
2812 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2813 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint, obj);
2814 Py_INCREF(obj);
2815 return Py_BuildValue((char *)"");
2816}
2817static PyObject *_wrap_Point_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2818 PyObject *resultobj;
2819 wxPoint *arg1 = (wxPoint *) 0 ;
2820 int arg2 ;
2821 PyObject * obj0 = 0 ;
2822 PyObject * obj1 = 0 ;
2823 char *kwnames[] = {
2824 (char *) "self",(char *) "x", NULL
2825 };
2826
2827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_x_set",kwnames,&obj0,&obj1)) goto fail;
2828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2830 arg2 = (int) SWIG_AsInt(obj1);
2831 if (PyErr_Occurred()) SWIG_fail;
2832 if (arg1) (arg1)->x = arg2;
2833
2834 Py_INCREF(Py_None); resultobj = Py_None;
2835 return resultobj;
2836 fail:
2837 return NULL;
2838}
2839
2840
2841static PyObject *_wrap_Point_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2842 PyObject *resultobj;
2843 wxPoint *arg1 = (wxPoint *) 0 ;
2844 int result;
2845 PyObject * obj0 = 0 ;
2846 char *kwnames[] = {
2847 (char *) "self", NULL
2848 };
2849
2850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_x_get",kwnames,&obj0)) goto fail;
2851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2853 result = (int) ((arg1)->x);
2854
2855 resultobj = SWIG_FromInt((int)result);
2856 return resultobj;
2857 fail:
2858 return NULL;
2859}
2860
2861
2862static PyObject *_wrap_Point_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2863 PyObject *resultobj;
2864 wxPoint *arg1 = (wxPoint *) 0 ;
2865 int arg2 ;
2866 PyObject * obj0 = 0 ;
2867 PyObject * obj1 = 0 ;
2868 char *kwnames[] = {
2869 (char *) "self",(char *) "y", NULL
2870 };
2871
2872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_y_set",kwnames,&obj0,&obj1)) goto fail;
2873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2875 arg2 = (int) SWIG_AsInt(obj1);
2876 if (PyErr_Occurred()) SWIG_fail;
2877 if (arg1) (arg1)->y = arg2;
2878
2879 Py_INCREF(Py_None); resultobj = Py_None;
2880 return resultobj;
2881 fail:
2882 return NULL;
2883}
2884
2885
2886static PyObject *_wrap_Point_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2887 PyObject *resultobj;
2888 wxPoint *arg1 = (wxPoint *) 0 ;
2889 int result;
2890 PyObject * obj0 = 0 ;
2891 char *kwnames[] = {
2892 (char *) "self", NULL
2893 };
2894
2895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_y_get",kwnames,&obj0)) goto fail;
2896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2898 result = (int) ((arg1)->y);
2899
2900 resultobj = SWIG_FromInt((int)result);
2901 return resultobj;
2902 fail:
2903 return NULL;
2904}
2905
2906
2907static PyObject *_wrap_new_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2908 PyObject *resultobj;
2909 int arg1 = (int) 0 ;
2910 int arg2 = (int) 0 ;
2911 wxPoint *result;
2912 PyObject * obj0 = 0 ;
2913 PyObject * obj1 = 0 ;
2914 char *kwnames[] = {
2915 (char *) "x",(char *) "y", NULL
2916 };
2917
2918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point",kwnames,&obj0,&obj1)) goto fail;
2919 if (obj0) {
2920 arg1 = (int) SWIG_AsInt(obj0);
2921 if (PyErr_Occurred()) SWIG_fail;
2922 }
2923 if (obj1) {
2924 arg2 = (int) SWIG_AsInt(obj1);
2925 if (PyErr_Occurred()) SWIG_fail;
2926 }
2927 {
2928 PyThreadState* __tstate = wxPyBeginAllowThreads();
2929 result = (wxPoint *)new wxPoint(arg1,arg2);
2930
2931 wxPyEndAllowThreads(__tstate);
2932 if (PyErr_Occurred()) SWIG_fail;
2933 }
2934 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 1);
2935 return resultobj;
2936 fail:
2937 return NULL;
2938}
2939
2940
2941static PyObject *_wrap_delete_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2942 PyObject *resultobj;
2943 wxPoint *arg1 = (wxPoint *) 0 ;
2944 PyObject * obj0 = 0 ;
2945 char *kwnames[] = {
2946 (char *) "self", NULL
2947 };
2948
2949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Point",kwnames,&obj0)) goto fail;
2950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2952 {
2953 PyThreadState* __tstate = wxPyBeginAllowThreads();
2954 delete arg1;
2955
2956 wxPyEndAllowThreads(__tstate);
2957 if (PyErr_Occurred()) SWIG_fail;
2958 }
2959 Py_INCREF(Py_None); resultobj = Py_None;
2960 return resultobj;
2961 fail:
2962 return NULL;
2963}
2964
2965
2966static PyObject *_wrap_Point___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
2967 PyObject *resultobj;
2968 wxPoint *arg1 = (wxPoint *) 0 ;
2969 wxPoint *arg2 = 0 ;
2970 bool result;
2971 wxPoint temp2 ;
2972 PyObject * obj0 = 0 ;
2973 PyObject * obj1 = 0 ;
2974 char *kwnames[] = {
2975 (char *) "self",(char *) "pt", NULL
2976 };
2977
2978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail;
2979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2981 {
2982 arg2 = &temp2;
2983 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2984 }
2985 {
2986 PyThreadState* __tstate = wxPyBeginAllowThreads();
2987 result = (bool)(arg1)->operator ==((wxPoint const &)*arg2);
2988
2989 wxPyEndAllowThreads(__tstate);
2990 if (PyErr_Occurred()) SWIG_fail;
2991 }
2992 {
2993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2994 }
2995 return resultobj;
2996 fail:
2997 return NULL;
2998}
2999
3000
3001static PyObject *_wrap_Point___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
3002 PyObject *resultobj;
3003 wxPoint *arg1 = (wxPoint *) 0 ;
3004 wxPoint *arg2 = 0 ;
3005 bool result;
3006 wxPoint temp2 ;
3007 PyObject * obj0 = 0 ;
3008 PyObject * obj1 = 0 ;
3009 char *kwnames[] = {
3010 (char *) "self",(char *) "pt", NULL
3011 };
3012
3013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail;
3014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3016 {
3017 arg2 = &temp2;
3018 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3019 }
3020 {
3021 PyThreadState* __tstate = wxPyBeginAllowThreads();
3022 result = (bool)(arg1)->operator !=((wxPoint const &)*arg2);
3023
3024 wxPyEndAllowThreads(__tstate);
3025 if (PyErr_Occurred()) SWIG_fail;
3026 }
3027 {
3028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3029 }
3030 return resultobj;
3031 fail:
3032 return NULL;
3033}
3034
3035
3036static PyObject *_wrap_Point___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
3037 PyObject *resultobj;
3038 wxPoint *arg1 = (wxPoint *) 0 ;
3039 wxPoint *arg2 = 0 ;
3040 wxPoint result;
3041 wxPoint temp2 ;
3042 PyObject * obj0 = 0 ;
3043 PyObject * obj1 = 0 ;
3044 char *kwnames[] = {
3045 (char *) "self",(char *) "pt", NULL
3046 };
3047
3048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail;
3049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3051 {
3052 arg2 = &temp2;
3053 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3054 }
3055 {
3056 PyThreadState* __tstate = wxPyBeginAllowThreads();
3057 result = (arg1)->operator +((wxPoint const &)*arg2);
3058
3059 wxPyEndAllowThreads(__tstate);
3060 if (PyErr_Occurred()) SWIG_fail;
3061 }
3062 {
3063 wxPoint * resultptr;
3064 resultptr = new wxPoint((wxPoint &) result);
3065 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3066 }
3067 return resultobj;
3068 fail:
3069 return NULL;
3070}
3071
3072
3073static PyObject *_wrap_Point___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
3074 PyObject *resultobj;
3075 wxPoint *arg1 = (wxPoint *) 0 ;
3076 wxPoint *arg2 = 0 ;
3077 wxPoint result;
3078 wxPoint temp2 ;
3079 PyObject * obj0 = 0 ;
3080 PyObject * obj1 = 0 ;
3081 char *kwnames[] = {
3082 (char *) "self",(char *) "pt", NULL
3083 };
3084
3085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail;
3086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3088 {
3089 arg2 = &temp2;
3090 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3091 }
3092 {
3093 PyThreadState* __tstate = wxPyBeginAllowThreads();
3094 result = (arg1)->operator -((wxPoint const &)*arg2);
3095
3096 wxPyEndAllowThreads(__tstate);
3097 if (PyErr_Occurred()) SWIG_fail;
3098 }
3099 {
3100 wxPoint * resultptr;
3101 resultptr = new wxPoint((wxPoint &) result);
3102 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3103 }
3104 return resultobj;
3105 fail:
3106 return NULL;
3107}
3108
3109
3110static PyObject *_wrap_Point___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
3111 PyObject *resultobj;
3112 wxPoint *arg1 = (wxPoint *) 0 ;
3113 wxPoint *arg2 = 0 ;
3114 wxPoint *result;
3115 wxPoint temp2 ;
3116 PyObject * obj0 = 0 ;
3117 PyObject * obj1 = 0 ;
3118 char *kwnames[] = {
3119 (char *) "self",(char *) "pt", NULL
3120 };
3121
3122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail;
3123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3125 {
3126 arg2 = &temp2;
3127 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3128 }
3129 {
3130 PyThreadState* __tstate = wxPyBeginAllowThreads();
3131 {
3132 wxPoint &_result_ref = (arg1)->operator +=((wxPoint const &)*arg2);
3133 result = (wxPoint *) &_result_ref;
3134 }
3135
3136 wxPyEndAllowThreads(__tstate);
3137 if (PyErr_Occurred()) SWIG_fail;
3138 }
3139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3140 return resultobj;
3141 fail:
3142 return NULL;
3143}
3144
3145
3146static PyObject *_wrap_Point___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
3147 PyObject *resultobj;
3148 wxPoint *arg1 = (wxPoint *) 0 ;
3149 wxPoint *arg2 = 0 ;
3150 wxPoint *result;
3151 wxPoint temp2 ;
3152 PyObject * obj0 = 0 ;
3153 PyObject * obj1 = 0 ;
3154 char *kwnames[] = {
3155 (char *) "self",(char *) "pt", NULL
3156 };
3157
3158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___isub__",kwnames,&obj0,&obj1)) goto fail;
3159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3161 {
3162 arg2 = &temp2;
3163 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3164 }
3165 {
3166 PyThreadState* __tstate = wxPyBeginAllowThreads();
3167 {
3168 wxPoint &_result_ref = (arg1)->operator -=((wxPoint const &)*arg2);
3169 result = (wxPoint *) &_result_ref;
3170 }
3171
3172 wxPyEndAllowThreads(__tstate);
3173 if (PyErr_Occurred()) SWIG_fail;
3174 }
3175 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3176 return resultobj;
3177 fail:
3178 return NULL;
3179}
3180
3181
3182static PyObject *_wrap_Point_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
3183 PyObject *resultobj;
3184 wxPoint *arg1 = (wxPoint *) 0 ;
3185 long arg2 ;
3186 long arg3 ;
3187 PyObject * obj0 = 0 ;
3188 PyObject * obj1 = 0 ;
3189 PyObject * obj2 = 0 ;
3190 char *kwnames[] = {
3191 (char *) "self",(char *) "x",(char *) "y", NULL
3192 };
3193
3194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Point_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
3195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3197 arg2 = (long) SWIG_AsLong(obj1);
3198 if (PyErr_Occurred()) SWIG_fail;
3199 arg3 = (long) SWIG_AsLong(obj2);
3200 if (PyErr_Occurred()) SWIG_fail;
3201 {
3202 PyThreadState* __tstate = wxPyBeginAllowThreads();
3203 wxPoint_Set(arg1,arg2,arg3);
3204
3205 wxPyEndAllowThreads(__tstate);
3206 if (PyErr_Occurred()) SWIG_fail;
3207 }
3208 Py_INCREF(Py_None); resultobj = Py_None;
3209 return resultobj;
3210 fail:
3211 return NULL;
3212}
3213
3214
3215static PyObject *_wrap_Point_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
3216 PyObject *resultobj;
3217 wxPoint *arg1 = (wxPoint *) 0 ;
3218 PyObject *result;
3219 PyObject * obj0 = 0 ;
3220 char *kwnames[] = {
3221 (char *) "self", NULL
3222 };
3223
3224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail;
3225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3227 {
3228 PyThreadState* __tstate = wxPyBeginAllowThreads();
3229 result = (PyObject *)wxPoint_Get(arg1);
3230
3231 wxPyEndAllowThreads(__tstate);
3232 if (PyErr_Occurred()) SWIG_fail;
3233 }
3234 resultobj = result;
3235 return resultobj;
3236 fail:
3237 return NULL;
3238}
3239
3240
3241static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
3242 PyObject *obj;
3243 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3244 SWIG_TypeClientData(SWIGTYPE_p_wxPoint, obj);
3245 Py_INCREF(obj);
3246 return Py_BuildValue((char *)"");
3247}
3248static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
3249 PyObject *resultobj;
3250 int arg1 = (int) 0 ;
3251 int arg2 = (int) 0 ;
3252 int arg3 = (int) 0 ;
3253 int arg4 = (int) 0 ;
3254 wxRect *result;
3255 PyObject * obj0 = 0 ;
3256 PyObject * obj1 = 0 ;
3257 PyObject * obj2 = 0 ;
3258 PyObject * obj3 = 0 ;
3259 char *kwnames[] = {
3260 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3261 };
3262
3263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Rect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3264 if (obj0) {
3265 arg1 = (int) SWIG_AsInt(obj0);
3266 if (PyErr_Occurred()) SWIG_fail;
3267 }
3268 if (obj1) {
3269 arg2 = (int) SWIG_AsInt(obj1);
3270 if (PyErr_Occurred()) SWIG_fail;
3271 }
3272 if (obj2) {
3273 arg3 = (int) SWIG_AsInt(obj2);
3274 if (PyErr_Occurred()) SWIG_fail;
3275 }
3276 if (obj3) {
3277 arg4 = (int) SWIG_AsInt(obj3);
3278 if (PyErr_Occurred()) SWIG_fail;
3279 }
3280 {
3281 PyThreadState* __tstate = wxPyBeginAllowThreads();
3282 result = (wxRect *)new wxRect(arg1,arg2,arg3,arg4);
3283
3284 wxPyEndAllowThreads(__tstate);
3285 if (PyErr_Occurred()) SWIG_fail;
3286 }
3287 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
3288 return resultobj;
3289 fail:
3290 return NULL;
3291}
3292
3293
3294static PyObject *_wrap_new_RectPP(PyObject *self, PyObject *args, PyObject *kwargs) {
3295 PyObject *resultobj;
3296 wxPoint *arg1 = 0 ;
3297 wxPoint *arg2 = 0 ;
3298 wxRect *result;
3299 wxPoint temp1 ;
3300 wxPoint temp2 ;
3301 PyObject * obj0 = 0 ;
3302 PyObject * obj1 = 0 ;
3303 char *kwnames[] = {
3304 (char *) "topLeft",(char *) "bottomRight", NULL
3305 };
3306
3307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPP",kwnames,&obj0,&obj1)) goto fail;
3308 {
3309 arg1 = &temp1;
3310 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3311 }
3312 {
3313 arg2 = &temp2;
3314 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3315 }
3316 {
3317 PyThreadState* __tstate = wxPyBeginAllowThreads();
3318 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxPoint const &)*arg2);
3319
3320 wxPyEndAllowThreads(__tstate);
3321 if (PyErr_Occurred()) SWIG_fail;
3322 }
3323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
3324 return resultobj;
3325 fail:
3326 return NULL;
3327}
3328
3329
3330static PyObject *_wrap_new_RectPS(PyObject *self, PyObject *args, PyObject *kwargs) {
3331 PyObject *resultobj;
3332 wxPoint *arg1 = 0 ;
3333 wxSize *arg2 = 0 ;
3334 wxRect *result;
3335 wxPoint temp1 ;
3336 wxSize temp2 ;
3337 PyObject * obj0 = 0 ;
3338 PyObject * obj1 = 0 ;
3339 char *kwnames[] = {
3340 (char *) "pos",(char *) "size", NULL
3341 };
3342
3343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPS",kwnames,&obj0,&obj1)) goto fail;
3344 {
3345 arg1 = &temp1;
3346 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3347 }
3348 {
3349 arg2 = &temp2;
3350 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3351 }
3352 {
3353 PyThreadState* __tstate = wxPyBeginAllowThreads();
3354 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxSize const &)*arg2);
3355
3356 wxPyEndAllowThreads(__tstate);
3357 if (PyErr_Occurred()) SWIG_fail;
3358 }
3359 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
3360 return resultobj;
3361 fail:
3362 return NULL;
3363}
3364
3365
3366static PyObject *_wrap_delete_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
3367 PyObject *resultobj;
3368 wxRect *arg1 = (wxRect *) 0 ;
3369 PyObject * obj0 = 0 ;
3370 char *kwnames[] = {
3371 (char *) "self", NULL
3372 };
3373
3374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Rect",kwnames,&obj0)) goto fail;
3375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3377 {
3378 PyThreadState* __tstate = wxPyBeginAllowThreads();
3379 delete arg1;
3380
3381 wxPyEndAllowThreads(__tstate);
3382 if (PyErr_Occurred()) SWIG_fail;
3383 }
3384 Py_INCREF(Py_None); resultobj = Py_None;
3385 return resultobj;
3386 fail:
3387 return NULL;
3388}
3389
3390
3391static PyObject *_wrap_Rect_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3392 PyObject *resultobj;
3393 wxRect *arg1 = (wxRect *) 0 ;
3394 int result;
3395 PyObject * obj0 = 0 ;
3396 char *kwnames[] = {
3397 (char *) "self", NULL
3398 };
3399
3400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetX",kwnames,&obj0)) goto fail;
3401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3403 {
3404 PyThreadState* __tstate = wxPyBeginAllowThreads();
3405 result = (int)((wxRect const *)arg1)->GetX();
3406
3407 wxPyEndAllowThreads(__tstate);
3408 if (PyErr_Occurred()) SWIG_fail;
3409 }
3410 resultobj = SWIG_FromInt((int)result);
3411 return resultobj;
3412 fail:
3413 return NULL;
3414}
3415
3416
3417static PyObject *_wrap_Rect_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3418 PyObject *resultobj;
3419 wxRect *arg1 = (wxRect *) 0 ;
3420 int arg2 ;
3421 PyObject * obj0 = 0 ;
3422 PyObject * obj1 = 0 ;
3423 char *kwnames[] = {
3424 (char *) "self",(char *) "x", NULL
3425 };
3426
3427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetX",kwnames,&obj0,&obj1)) goto fail;
3428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3430 arg2 = (int) SWIG_AsInt(obj1);
3431 if (PyErr_Occurred()) SWIG_fail;
3432 {
3433 PyThreadState* __tstate = wxPyBeginAllowThreads();
3434 (arg1)->SetX(arg2);
3435
3436 wxPyEndAllowThreads(__tstate);
3437 if (PyErr_Occurred()) SWIG_fail;
3438 }
3439 Py_INCREF(Py_None); resultobj = Py_None;
3440 return resultobj;
3441 fail:
3442 return NULL;
3443}
3444
3445
3446static PyObject *_wrap_Rect_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3447 PyObject *resultobj;
3448 wxRect *arg1 = (wxRect *) 0 ;
3449 int result;
3450 PyObject * obj0 = 0 ;
3451 char *kwnames[] = {
3452 (char *) "self", NULL
3453 };
3454
3455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetY",kwnames,&obj0)) goto fail;
3456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3458 {
3459 PyThreadState* __tstate = wxPyBeginAllowThreads();
3460 result = (int)(arg1)->GetY();
3461
3462 wxPyEndAllowThreads(__tstate);
3463 if (PyErr_Occurred()) SWIG_fail;
3464 }
3465 resultobj = SWIG_FromInt((int)result);
3466 return resultobj;
3467 fail:
3468 return NULL;
3469}
3470
3471
3472static PyObject *_wrap_Rect_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3473 PyObject *resultobj;
3474 wxRect *arg1 = (wxRect *) 0 ;
3475 int arg2 ;
3476 PyObject * obj0 = 0 ;
3477 PyObject * obj1 = 0 ;
3478 char *kwnames[] = {
3479 (char *) "self",(char *) "y", NULL
3480 };
3481
3482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetY",kwnames,&obj0,&obj1)) goto fail;
3483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3485 arg2 = (int) SWIG_AsInt(obj1);
3486 if (PyErr_Occurred()) SWIG_fail;
3487 {
3488 PyThreadState* __tstate = wxPyBeginAllowThreads();
3489 (arg1)->SetY(arg2);
3490
3491 wxPyEndAllowThreads(__tstate);
3492 if (PyErr_Occurred()) SWIG_fail;
3493 }
3494 Py_INCREF(Py_None); resultobj = Py_None;
3495 return resultobj;
3496 fail:
3497 return NULL;
3498}
3499
3500
3501static PyObject *_wrap_Rect_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3502 PyObject *resultobj;
3503 wxRect *arg1 = (wxRect *) 0 ;
3504 int result;
3505 PyObject * obj0 = 0 ;
3506 char *kwnames[] = {
3507 (char *) "self", NULL
3508 };
3509
3510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetWidth",kwnames,&obj0)) goto fail;
3511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3513 {
3514 PyThreadState* __tstate = wxPyBeginAllowThreads();
3515 result = (int)((wxRect const *)arg1)->GetWidth();
3516
3517 wxPyEndAllowThreads(__tstate);
3518 if (PyErr_Occurred()) SWIG_fail;
3519 }
3520 resultobj = SWIG_FromInt((int)result);
3521 return resultobj;
3522 fail:
3523 return NULL;
3524}
3525
3526
3527static PyObject *_wrap_Rect_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3528 PyObject *resultobj;
3529 wxRect *arg1 = (wxRect *) 0 ;
3530 int arg2 ;
3531 PyObject * obj0 = 0 ;
3532 PyObject * obj1 = 0 ;
3533 char *kwnames[] = {
3534 (char *) "self",(char *) "w", NULL
3535 };
3536
3537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetWidth",kwnames,&obj0,&obj1)) goto fail;
3538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3540 arg2 = (int) SWIG_AsInt(obj1);
3541 if (PyErr_Occurred()) SWIG_fail;
3542 {
3543 PyThreadState* __tstate = wxPyBeginAllowThreads();
3544 (arg1)->SetWidth(arg2);
3545
3546 wxPyEndAllowThreads(__tstate);
3547 if (PyErr_Occurred()) SWIG_fail;
3548 }
3549 Py_INCREF(Py_None); resultobj = Py_None;
3550 return resultobj;
3551 fail:
3552 return NULL;
3553}
3554
3555
3556static PyObject *_wrap_Rect_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3557 PyObject *resultobj;
3558 wxRect *arg1 = (wxRect *) 0 ;
3559 int result;
3560 PyObject * obj0 = 0 ;
3561 char *kwnames[] = {
3562 (char *) "self", NULL
3563 };
3564
3565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetHeight",kwnames,&obj0)) goto fail;
3566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3568 {
3569 PyThreadState* __tstate = wxPyBeginAllowThreads();
3570 result = (int)((wxRect const *)arg1)->GetHeight();
3571
3572 wxPyEndAllowThreads(__tstate);
3573 if (PyErr_Occurred()) SWIG_fail;
3574 }
3575 resultobj = SWIG_FromInt((int)result);
3576 return resultobj;
3577 fail:
3578 return NULL;
3579}
3580
3581
3582static PyObject *_wrap_Rect_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3583 PyObject *resultobj;
3584 wxRect *arg1 = (wxRect *) 0 ;
3585 int arg2 ;
3586 PyObject * obj0 = 0 ;
3587 PyObject * obj1 = 0 ;
3588 char *kwnames[] = {
3589 (char *) "self",(char *) "h", NULL
3590 };
3591
3592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetHeight",kwnames,&obj0,&obj1)) goto fail;
3593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3595 arg2 = (int) SWIG_AsInt(obj1);
3596 if (PyErr_Occurred()) SWIG_fail;
3597 {
3598 PyThreadState* __tstate = wxPyBeginAllowThreads();
3599 (arg1)->SetHeight(arg2);
3600
3601 wxPyEndAllowThreads(__tstate);
3602 if (PyErr_Occurred()) SWIG_fail;
3603 }
3604 Py_INCREF(Py_None); resultobj = Py_None;
3605 return resultobj;
3606 fail:
3607 return NULL;
3608}
3609
3610
3611static PyObject *_wrap_Rect_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3612 PyObject *resultobj;
3613 wxRect *arg1 = (wxRect *) 0 ;
3614 wxPoint result;
3615 PyObject * obj0 = 0 ;
3616 char *kwnames[] = {
3617 (char *) "self", NULL
3618 };
3619
3620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetPosition",kwnames,&obj0)) goto fail;
3621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3623 {
3624 PyThreadState* __tstate = wxPyBeginAllowThreads();
3625 result = ((wxRect const *)arg1)->GetPosition();
3626
3627 wxPyEndAllowThreads(__tstate);
3628 if (PyErr_Occurred()) SWIG_fail;
3629 }
3630 {
3631 wxPoint * resultptr;
3632 resultptr = new wxPoint((wxPoint &) result);
3633 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3634 }
3635 return resultobj;
3636 fail:
3637 return NULL;
3638}
3639
3640
3641static PyObject *_wrap_Rect_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3642 PyObject *resultobj;
3643 wxRect *arg1 = (wxRect *) 0 ;
3644 wxPoint *arg2 = 0 ;
3645 wxPoint temp2 ;
3646 PyObject * obj0 = 0 ;
3647 PyObject * obj1 = 0 ;
3648 char *kwnames[] = {
3649 (char *) "self",(char *) "p", NULL
3650 };
3651
3652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetPosition",kwnames,&obj0,&obj1)) goto fail;
3653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3655 {
3656 arg2 = &temp2;
3657 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3658 }
3659 {
3660 PyThreadState* __tstate = wxPyBeginAllowThreads();
3661 (arg1)->SetPosition((wxPoint const &)*arg2);
3662
3663 wxPyEndAllowThreads(__tstate);
3664 if (PyErr_Occurred()) SWIG_fail;
3665 }
3666 Py_INCREF(Py_None); resultobj = Py_None;
3667 return resultobj;
3668 fail:
3669 return NULL;
3670}
3671
3672
3673static PyObject *_wrap_Rect_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3674 PyObject *resultobj;
3675 wxRect *arg1 = (wxRect *) 0 ;
3676 wxSize result;
3677 PyObject * obj0 = 0 ;
3678 char *kwnames[] = {
3679 (char *) "self", NULL
3680 };
3681
3682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetSize",kwnames,&obj0)) goto fail;
3683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3685 {
3686 PyThreadState* __tstate = wxPyBeginAllowThreads();
3687 result = ((wxRect const *)arg1)->GetSize();
3688
3689 wxPyEndAllowThreads(__tstate);
3690 if (PyErr_Occurred()) SWIG_fail;
3691 }
3692 {
3693 wxSize * resultptr;
3694 resultptr = new wxSize((wxSize &) result);
3695 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
3696 }
3697 return resultobj;
3698 fail:
3699 return NULL;
3700}
3701
3702
3703static PyObject *_wrap_Rect_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3704 PyObject *resultobj;
3705 wxRect *arg1 = (wxRect *) 0 ;
3706 wxSize *arg2 = 0 ;
3707 wxSize temp2 ;
3708 PyObject * obj0 = 0 ;
3709 PyObject * obj1 = 0 ;
3710 char *kwnames[] = {
3711 (char *) "self",(char *) "s", NULL
3712 };
3713
3714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetSize",kwnames,&obj0,&obj1)) goto fail;
3715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3717 {
3718 arg2 = &temp2;
3719 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3720 }
3721 {
3722 PyThreadState* __tstate = wxPyBeginAllowThreads();
3723 (arg1)->SetSize((wxSize const &)*arg2);
3724
3725 wxPyEndAllowThreads(__tstate);
3726 if (PyErr_Occurred()) SWIG_fail;
3727 }
3728 Py_INCREF(Py_None); resultobj = Py_None;
3729 return resultobj;
3730 fail:
3731 return NULL;
3732}
3733
3734
3735static PyObject *_wrap_Rect_GetTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3736 PyObject *resultobj;
3737 wxRect *arg1 = (wxRect *) 0 ;
3738 wxPoint result;
3739 PyObject * obj0 = 0 ;
3740 char *kwnames[] = {
3741 (char *) "self", NULL
3742 };
3743
3744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTopLeft",kwnames,&obj0)) goto fail;
3745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3747 {
3748 PyThreadState* __tstate = wxPyBeginAllowThreads();
3749 result = ((wxRect const *)arg1)->GetTopLeft();
3750
3751 wxPyEndAllowThreads(__tstate);
3752 if (PyErr_Occurred()) SWIG_fail;
3753 }
3754 {
3755 wxPoint * resultptr;
3756 resultptr = new wxPoint((wxPoint &) result);
3757 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3758 }
3759 return resultobj;
3760 fail:
3761 return NULL;
3762}
3763
3764
3765static PyObject *_wrap_Rect_SetTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3766 PyObject *resultobj;
3767 wxRect *arg1 = (wxRect *) 0 ;
3768 wxPoint *arg2 = 0 ;
3769 wxPoint temp2 ;
3770 PyObject * obj0 = 0 ;
3771 PyObject * obj1 = 0 ;
3772 char *kwnames[] = {
3773 (char *) "self",(char *) "p", NULL
3774 };
3775
3776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTopLeft",kwnames,&obj0,&obj1)) goto fail;
3777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3779 {
3780 arg2 = &temp2;
3781 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3782 }
3783 {
3784 PyThreadState* __tstate = wxPyBeginAllowThreads();
3785 (arg1)->SetTopLeft((wxPoint const &)*arg2);
3786
3787 wxPyEndAllowThreads(__tstate);
3788 if (PyErr_Occurred()) SWIG_fail;
3789 }
3790 Py_INCREF(Py_None); resultobj = Py_None;
3791 return resultobj;
3792 fail:
3793 return NULL;
3794}
3795
3796
3797static PyObject *_wrap_Rect_GetBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3798 PyObject *resultobj;
3799 wxRect *arg1 = (wxRect *) 0 ;
3800 wxPoint result;
3801 PyObject * obj0 = 0 ;
3802 char *kwnames[] = {
3803 (char *) "self", NULL
3804 };
3805
3806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottomRight",kwnames,&obj0)) goto fail;
3807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3809 {
3810 PyThreadState* __tstate = wxPyBeginAllowThreads();
3811 result = ((wxRect const *)arg1)->GetBottomRight();
3812
3813 wxPyEndAllowThreads(__tstate);
3814 if (PyErr_Occurred()) SWIG_fail;
3815 }
3816 {
3817 wxPoint * resultptr;
3818 resultptr = new wxPoint((wxPoint &) result);
3819 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3820 }
3821 return resultobj;
3822 fail:
3823 return NULL;
3824}
3825
3826
3827static PyObject *_wrap_Rect_SetBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3828 PyObject *resultobj;
3829 wxRect *arg1 = (wxRect *) 0 ;
3830 wxPoint *arg2 = 0 ;
3831 wxPoint temp2 ;
3832 PyObject * obj0 = 0 ;
3833 PyObject * obj1 = 0 ;
3834 char *kwnames[] = {
3835 (char *) "self",(char *) "p", NULL
3836 };
3837
3838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottomRight",kwnames,&obj0,&obj1)) goto fail;
3839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3841 {
3842 arg2 = &temp2;
3843 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3844 }
3845 {
3846 PyThreadState* __tstate = wxPyBeginAllowThreads();
3847 (arg1)->SetBottomRight((wxPoint const &)*arg2);
3848
3849 wxPyEndAllowThreads(__tstate);
3850 if (PyErr_Occurred()) SWIG_fail;
3851 }
3852 Py_INCREF(Py_None); resultobj = Py_None;
3853 return resultobj;
3854 fail:
3855 return NULL;
3856}
3857
3858
3859static PyObject *_wrap_Rect_GetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3860 PyObject *resultobj;
3861 wxRect *arg1 = (wxRect *) 0 ;
3862 int result;
3863 PyObject * obj0 = 0 ;
3864 char *kwnames[] = {
3865 (char *) "self", NULL
3866 };
3867
3868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetLeft",kwnames,&obj0)) goto fail;
3869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3871 {
3872 PyThreadState* __tstate = wxPyBeginAllowThreads();
3873 result = (int)((wxRect const *)arg1)->GetLeft();
3874
3875 wxPyEndAllowThreads(__tstate);
3876 if (PyErr_Occurred()) SWIG_fail;
3877 }
3878 resultobj = SWIG_FromInt((int)result);
3879 return resultobj;
3880 fail:
3881 return NULL;
3882}
3883
3884
3885static PyObject *_wrap_Rect_GetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
3886 PyObject *resultobj;
3887 wxRect *arg1 = (wxRect *) 0 ;
3888 int result;
3889 PyObject * obj0 = 0 ;
3890 char *kwnames[] = {
3891 (char *) "self", NULL
3892 };
3893
3894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTop",kwnames,&obj0)) goto fail;
3895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3897 {
3898 PyThreadState* __tstate = wxPyBeginAllowThreads();
3899 result = (int)((wxRect const *)arg1)->GetTop();
3900
3901 wxPyEndAllowThreads(__tstate);
3902 if (PyErr_Occurred()) SWIG_fail;
3903 }
3904 resultobj = SWIG_FromInt((int)result);
3905 return resultobj;
3906 fail:
3907 return NULL;
3908}
3909
3910
3911static PyObject *_wrap_Rect_GetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
3912 PyObject *resultobj;
3913 wxRect *arg1 = (wxRect *) 0 ;
3914 int result;
3915 PyObject * obj0 = 0 ;
3916 char *kwnames[] = {
3917 (char *) "self", NULL
3918 };
3919
3920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottom",kwnames,&obj0)) goto fail;
3921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3923 {
3924 PyThreadState* __tstate = wxPyBeginAllowThreads();
3925 result = (int)((wxRect const *)arg1)->GetBottom();
3926
3927 wxPyEndAllowThreads(__tstate);
3928 if (PyErr_Occurred()) SWIG_fail;
3929 }
3930 resultobj = SWIG_FromInt((int)result);
3931 return resultobj;
3932 fail:
3933 return NULL;
3934}
3935
3936
3937static PyObject *_wrap_Rect_GetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3938 PyObject *resultobj;
3939 wxRect *arg1 = (wxRect *) 0 ;
3940 int result;
3941 PyObject * obj0 = 0 ;
3942 char *kwnames[] = {
3943 (char *) "self", NULL
3944 };
3945
3946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetRight",kwnames,&obj0)) goto fail;
3947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3949 {
3950 PyThreadState* __tstate = wxPyBeginAllowThreads();
3951 result = (int)((wxRect const *)arg1)->GetRight();
3952
3953 wxPyEndAllowThreads(__tstate);
3954 if (PyErr_Occurred()) SWIG_fail;
3955 }
3956 resultobj = SWIG_FromInt((int)result);
3957 return resultobj;
3958 fail:
3959 return NULL;
3960}
3961
3962
3963static PyObject *_wrap_Rect_SetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3964 PyObject *resultobj;
3965 wxRect *arg1 = (wxRect *) 0 ;
3966 int arg2 ;
3967 PyObject * obj0 = 0 ;
3968 PyObject * obj1 = 0 ;
3969 char *kwnames[] = {
3970 (char *) "self",(char *) "left", NULL
3971 };
3972
3973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetLeft",kwnames,&obj0,&obj1)) goto fail;
3974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3976 arg2 = (int) SWIG_AsInt(obj1);
3977 if (PyErr_Occurred()) SWIG_fail;
3978 {
3979 PyThreadState* __tstate = wxPyBeginAllowThreads();
3980 (arg1)->SetLeft(arg2);
3981
3982 wxPyEndAllowThreads(__tstate);
3983 if (PyErr_Occurred()) SWIG_fail;
3984 }
3985 Py_INCREF(Py_None); resultobj = Py_None;
3986 return resultobj;
3987 fail:
3988 return NULL;
3989}
3990
3991
3992static PyObject *_wrap_Rect_SetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3993 PyObject *resultobj;
3994 wxRect *arg1 = (wxRect *) 0 ;
3995 int arg2 ;
3996 PyObject * obj0 = 0 ;
3997 PyObject * obj1 = 0 ;
3998 char *kwnames[] = {
3999 (char *) "self",(char *) "right", NULL
4000 };
4001
4002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetRight",kwnames,&obj0,&obj1)) goto fail;
4003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4005 arg2 = (int) SWIG_AsInt(obj1);
4006 if (PyErr_Occurred()) SWIG_fail;
4007 {
4008 PyThreadState* __tstate = wxPyBeginAllowThreads();
4009 (arg1)->SetRight(arg2);
4010
4011 wxPyEndAllowThreads(__tstate);
4012 if (PyErr_Occurred()) SWIG_fail;
4013 }
4014 Py_INCREF(Py_None); resultobj = Py_None;
4015 return resultobj;
4016 fail:
4017 return NULL;
4018}
4019
4020
4021static PyObject *_wrap_Rect_SetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
4022 PyObject *resultobj;
4023 wxRect *arg1 = (wxRect *) 0 ;
4024 int arg2 ;
4025 PyObject * obj0 = 0 ;
4026 PyObject * obj1 = 0 ;
4027 char *kwnames[] = {
4028 (char *) "self",(char *) "top", NULL
4029 };
4030
4031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTop",kwnames,&obj0,&obj1)) goto fail;
4032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4034 arg2 = (int) SWIG_AsInt(obj1);
4035 if (PyErr_Occurred()) SWIG_fail;
4036 {
4037 PyThreadState* __tstate = wxPyBeginAllowThreads();
4038 (arg1)->SetTop(arg2);
4039
4040 wxPyEndAllowThreads(__tstate);
4041 if (PyErr_Occurred()) SWIG_fail;
4042 }
4043 Py_INCREF(Py_None); resultobj = Py_None;
4044 return resultobj;
4045 fail:
4046 return NULL;
4047}
4048
4049
4050static PyObject *_wrap_Rect_SetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
4051 PyObject *resultobj;
4052 wxRect *arg1 = (wxRect *) 0 ;
4053 int arg2 ;
4054 PyObject * obj0 = 0 ;
4055 PyObject * obj1 = 0 ;
4056 char *kwnames[] = {
4057 (char *) "self",(char *) "bottom", NULL
4058 };
4059
4060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottom",kwnames,&obj0,&obj1)) goto fail;
4061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4063 arg2 = (int) SWIG_AsInt(obj1);
4064 if (PyErr_Occurred()) SWIG_fail;
4065 {
4066 PyThreadState* __tstate = wxPyBeginAllowThreads();
4067 (arg1)->SetBottom(arg2);
4068
4069 wxPyEndAllowThreads(__tstate);
4070 if (PyErr_Occurred()) SWIG_fail;
4071 }
4072 Py_INCREF(Py_None); resultobj = Py_None;
4073 return resultobj;
4074 fail:
4075 return NULL;
4076}
4077
4078
4079static PyObject *_wrap_Rect_Inflate(PyObject *self, PyObject *args, PyObject *kwargs) {
4080 PyObject *resultobj;
4081 wxRect *arg1 = (wxRect *) 0 ;
4082 int arg2 ;
4083 int arg3 ;
4084 wxRect *result;
4085 PyObject * obj0 = 0 ;
4086 PyObject * obj1 = 0 ;
4087 PyObject * obj2 = 0 ;
4088 char *kwnames[] = {
4089 (char *) "self",(char *) "dx",(char *) "dy", NULL
4090 };
4091
4092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Inflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
4093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4095 arg2 = (int) SWIG_AsInt(obj1);
4096 if (PyErr_Occurred()) SWIG_fail;
4097 arg3 = (int) SWIG_AsInt(obj2);
4098 if (PyErr_Occurred()) SWIG_fail;
4099 {
4100 PyThreadState* __tstate = wxPyBeginAllowThreads();
4101 {
4102 wxRect &_result_ref = (arg1)->Inflate(arg2,arg3);
4103 result = (wxRect *) &_result_ref;
4104 }
4105
4106 wxPyEndAllowThreads(__tstate);
4107 if (PyErr_Occurred()) SWIG_fail;
4108 }
4109 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
4110 return resultobj;
4111 fail:
4112 return NULL;
4113}
4114
4115
4116static PyObject *_wrap_Rect_Deflate(PyObject *self, PyObject *args, PyObject *kwargs) {
4117 PyObject *resultobj;
4118 wxRect *arg1 = (wxRect *) 0 ;
4119 int arg2 ;
4120 int arg3 ;
4121 wxRect *result;
4122 PyObject * obj0 = 0 ;
4123 PyObject * obj1 = 0 ;
4124 PyObject * obj2 = 0 ;
4125 char *kwnames[] = {
4126 (char *) "self",(char *) "dx",(char *) "dy", NULL
4127 };
4128
4129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Deflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
4130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4132 arg2 = (int) SWIG_AsInt(obj1);
4133 if (PyErr_Occurred()) SWIG_fail;
4134 arg3 = (int) SWIG_AsInt(obj2);
4135 if (PyErr_Occurred()) SWIG_fail;
4136 {
4137 PyThreadState* __tstate = wxPyBeginAllowThreads();
4138 {
4139 wxRect &_result_ref = (arg1)->Deflate(arg2,arg3);
4140 result = (wxRect *) &_result_ref;
4141 }
4142
4143 wxPyEndAllowThreads(__tstate);
4144 if (PyErr_Occurred()) SWIG_fail;
4145 }
4146 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
4147 return resultobj;
4148 fail:
4149 return NULL;
4150}
4151
4152
4153static PyObject *_wrap_Rect_OffsetXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4154 PyObject *resultobj;
4155 wxRect *arg1 = (wxRect *) 0 ;
4156 int arg2 ;
4157 int arg3 ;
4158 PyObject * obj0 = 0 ;
4159 PyObject * obj1 = 0 ;
4160 PyObject * obj2 = 0 ;
4161 char *kwnames[] = {
4162 (char *) "self",(char *) "dx",(char *) "dy", NULL
4163 };
4164
4165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_OffsetXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
4166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4168 arg2 = (int) SWIG_AsInt(obj1);
4169 if (PyErr_Occurred()) SWIG_fail;
4170 arg3 = (int) SWIG_AsInt(obj2);
4171 if (PyErr_Occurred()) SWIG_fail;
4172 {
4173 PyThreadState* __tstate = wxPyBeginAllowThreads();
4174 (arg1)->Offset(arg2,arg3);
4175
4176 wxPyEndAllowThreads(__tstate);
4177 if (PyErr_Occurred()) SWIG_fail;
4178 }
4179 Py_INCREF(Py_None); resultobj = Py_None;
4180 return resultobj;
4181 fail:
4182 return NULL;
4183}
4184
4185
4186static PyObject *_wrap_Rect_Offset(PyObject *self, PyObject *args, PyObject *kwargs) {
4187 PyObject *resultobj;
4188 wxRect *arg1 = (wxRect *) 0 ;
4189 wxPoint *arg2 = 0 ;
4190 wxPoint temp2 ;
4191 PyObject * obj0 = 0 ;
4192 PyObject * obj1 = 0 ;
4193 char *kwnames[] = {
4194 (char *) "self",(char *) "pt", NULL
4195 };
4196
4197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Offset",kwnames,&obj0,&obj1)) goto fail;
4198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4200 {
4201 arg2 = &temp2;
4202 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4203 }
4204 {
4205 PyThreadState* __tstate = wxPyBeginAllowThreads();
4206 (arg1)->Offset((wxPoint const &)*arg2);
4207
4208 wxPyEndAllowThreads(__tstate);
4209 if (PyErr_Occurred()) SWIG_fail;
4210 }
4211 Py_INCREF(Py_None); resultobj = Py_None;
4212 return resultobj;
4213 fail:
4214 return NULL;
4215}
4216
4217
4218static PyObject *_wrap_Rect_Intersect(PyObject *self, PyObject *args, PyObject *kwargs) {
4219 PyObject *resultobj;
4220 wxRect *arg1 = (wxRect *) 0 ;
4221 wxRect *arg2 = 0 ;
4222 wxRect *result;
4223 wxRect temp2 ;
4224 PyObject * obj0 = 0 ;
4225 PyObject * obj1 = 0 ;
4226 char *kwnames[] = {
4227 (char *) "self",(char *) "rect", NULL
4228 };
4229
4230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersect",kwnames,&obj0,&obj1)) goto fail;
4231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4233 {
4234 arg2 = &temp2;
4235 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4236 }
4237 {
4238 PyThreadState* __tstate = wxPyBeginAllowThreads();
4239 {
4240 wxRect &_result_ref = (arg1)->Intersect((wxRect const &)*arg2);
4241 result = (wxRect *) &_result_ref;
4242 }
4243
4244 wxPyEndAllowThreads(__tstate);
4245 if (PyErr_Occurred()) SWIG_fail;
4246 }
4247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
4248 return resultobj;
4249 fail:
4250 return NULL;
4251}
4252
4253
4254static PyObject *_wrap_Rect___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
4255 PyObject *resultobj;
4256 wxRect *arg1 = (wxRect *) 0 ;
4257 wxRect *arg2 = 0 ;
4258 wxRect result;
4259 wxRect temp2 ;
4260 PyObject * obj0 = 0 ;
4261 PyObject * obj1 = 0 ;
4262 char *kwnames[] = {
4263 (char *) "self",(char *) "rect", NULL
4264 };
4265
4266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___add__",kwnames,&obj0,&obj1)) goto fail;
4267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4269 {
4270 arg2 = &temp2;
4271 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4272 }
4273 {
4274 PyThreadState* __tstate = wxPyBeginAllowThreads();
4275 result = ((wxRect const *)arg1)->operator +((wxRect const &)*arg2);
4276
4277 wxPyEndAllowThreads(__tstate);
4278 if (PyErr_Occurred()) SWIG_fail;
4279 }
4280 {
4281 wxRect * resultptr;
4282 resultptr = new wxRect((wxRect &) result);
4283 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
4284 }
4285 return resultobj;
4286 fail:
4287 return NULL;
4288}
4289
4290
4291static PyObject *_wrap_Rect___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
4292 PyObject *resultobj;
4293 wxRect *arg1 = (wxRect *) 0 ;
4294 wxRect *arg2 = 0 ;
4295 wxRect *result;
4296 wxRect temp2 ;
4297 PyObject * obj0 = 0 ;
4298 PyObject * obj1 = 0 ;
4299 char *kwnames[] = {
4300 (char *) "self",(char *) "rect", NULL
4301 };
4302
4303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___iadd__",kwnames,&obj0,&obj1)) goto fail;
4304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4306 {
4307 arg2 = &temp2;
4308 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4309 }
4310 {
4311 PyThreadState* __tstate = wxPyBeginAllowThreads();
4312 {
4313 wxRect &_result_ref = (arg1)->operator +=((wxRect const &)*arg2);
4314 result = (wxRect *) &_result_ref;
4315 }
4316
4317 wxPyEndAllowThreads(__tstate);
4318 if (PyErr_Occurred()) SWIG_fail;
4319 }
4320 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
4321 return resultobj;
4322 fail:
4323 return NULL;
4324}
4325
4326
4327static PyObject *_wrap_Rect___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
4328 PyObject *resultobj;
4329 wxRect *arg1 = (wxRect *) 0 ;
4330 wxRect *arg2 = 0 ;
4331 bool result;
4332 wxRect temp2 ;
4333 PyObject * obj0 = 0 ;
4334 PyObject * obj1 = 0 ;
4335 char *kwnames[] = {
4336 (char *) "self",(char *) "rect", NULL
4337 };
4338
4339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___eq__",kwnames,&obj0,&obj1)) goto fail;
4340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4342 {
4343 arg2 = &temp2;
4344 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4345 }
4346 {
4347 PyThreadState* __tstate = wxPyBeginAllowThreads();
4348 result = (bool)((wxRect const *)arg1)->operator ==((wxRect const &)*arg2);
4349
4350 wxPyEndAllowThreads(__tstate);
4351 if (PyErr_Occurred()) SWIG_fail;
4352 }
4353 {
4354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4355 }
4356 return resultobj;
4357 fail:
4358 return NULL;
4359}
4360
4361
4362static PyObject *_wrap_Rect___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
4363 PyObject *resultobj;
4364 wxRect *arg1 = (wxRect *) 0 ;
4365 wxRect *arg2 = 0 ;
4366 bool result;
4367 wxRect temp2 ;
4368 PyObject * obj0 = 0 ;
4369 PyObject * obj1 = 0 ;
4370 char *kwnames[] = {
4371 (char *) "self",(char *) "rect", NULL
4372 };
4373
4374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___ne__",kwnames,&obj0,&obj1)) goto fail;
4375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4377 {
4378 arg2 = &temp2;
4379 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4380 }
4381 {
4382 PyThreadState* __tstate = wxPyBeginAllowThreads();
4383 result = (bool)((wxRect const *)arg1)->operator !=((wxRect const &)*arg2);
4384
4385 wxPyEndAllowThreads(__tstate);
4386 if (PyErr_Occurred()) SWIG_fail;
4387 }
4388 {
4389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4390 }
4391 return resultobj;
4392 fail:
4393 return NULL;
4394}
4395
4396
4397static PyObject *_wrap_Rect_InsideXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4398 PyObject *resultobj;
4399 wxRect *arg1 = (wxRect *) 0 ;
4400 int arg2 ;
4401 int arg3 ;
4402 bool result;
4403 PyObject * obj0 = 0 ;
4404 PyObject * obj1 = 0 ;
4405 PyObject * obj2 = 0 ;
4406 char *kwnames[] = {
4407 (char *) "self",(char *) "x",(char *) "y", NULL
4408 };
4409
4410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_InsideXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
4411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4413 arg2 = (int) SWIG_AsInt(obj1);
4414 if (PyErr_Occurred()) SWIG_fail;
4415 arg3 = (int) SWIG_AsInt(obj2);
4416 if (PyErr_Occurred()) SWIG_fail;
4417 {
4418 PyThreadState* __tstate = wxPyBeginAllowThreads();
4419 result = (bool)((wxRect const *)arg1)->Inside(arg2,arg3);
4420
4421 wxPyEndAllowThreads(__tstate);
4422 if (PyErr_Occurred()) SWIG_fail;
4423 }
4424 {
4425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4426 }
4427 return resultobj;
4428 fail:
4429 return NULL;
4430}
4431
4432
4433static PyObject *_wrap_Rect_Inside(PyObject *self, PyObject *args, PyObject *kwargs) {
4434 PyObject *resultobj;
4435 wxRect *arg1 = (wxRect *) 0 ;
4436 wxPoint *arg2 = 0 ;
4437 bool result;
4438 wxPoint temp2 ;
4439 PyObject * obj0 = 0 ;
4440 PyObject * obj1 = 0 ;
4441 char *kwnames[] = {
4442 (char *) "self",(char *) "pt", NULL
4443 };
4444
4445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) goto fail;
4446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4448 {
4449 arg2 = &temp2;
4450 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4451 }
4452 {
4453 PyThreadState* __tstate = wxPyBeginAllowThreads();
4454 result = (bool)((wxRect const *)arg1)->Inside((wxPoint const &)*arg2);
4455
4456 wxPyEndAllowThreads(__tstate);
4457 if (PyErr_Occurred()) SWIG_fail;
4458 }
4459 {
4460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4461 }
4462 return resultobj;
4463 fail:
4464 return NULL;
4465}
4466
4467
4468static PyObject *_wrap_Rect_Intersects(PyObject *self, PyObject *args, PyObject *kwargs) {
4469 PyObject *resultobj;
4470 wxRect *arg1 = (wxRect *) 0 ;
4471 wxRect *arg2 = 0 ;
4472 bool result;
4473 wxRect temp2 ;
4474 PyObject * obj0 = 0 ;
4475 PyObject * obj1 = 0 ;
4476 char *kwnames[] = {
4477 (char *) "self",(char *) "rect", NULL
4478 };
4479
4480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersects",kwnames,&obj0,&obj1)) goto fail;
4481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4483 {
4484 arg2 = &temp2;
4485 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4486 }
4487 {
4488 PyThreadState* __tstate = wxPyBeginAllowThreads();
4489 result = (bool)((wxRect const *)arg1)->Intersects((wxRect const &)*arg2);
4490
4491 wxPyEndAllowThreads(__tstate);
4492 if (PyErr_Occurred()) SWIG_fail;
4493 }
4494 {
4495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4496 }
4497 return resultobj;
4498 fail:
4499 return NULL;
4500}
4501
4502
4503static PyObject *_wrap_Rect_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4504 PyObject *resultobj;
4505 wxRect *arg1 = (wxRect *) 0 ;
4506 int arg2 ;
4507 PyObject * obj0 = 0 ;
4508 PyObject * obj1 = 0 ;
4509 char *kwnames[] = {
4510 (char *) "self",(char *) "x", NULL
4511 };
4512
4513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_x_set",kwnames,&obj0,&obj1)) goto fail;
4514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4516 arg2 = (int) SWIG_AsInt(obj1);
4517 if (PyErr_Occurred()) SWIG_fail;
4518 if (arg1) (arg1)->x = arg2;
4519
4520 Py_INCREF(Py_None); resultobj = Py_None;
4521 return resultobj;
4522 fail:
4523 return NULL;
4524}
4525
4526
4527static PyObject *_wrap_Rect_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4528 PyObject *resultobj;
4529 wxRect *arg1 = (wxRect *) 0 ;
4530 int result;
4531 PyObject * obj0 = 0 ;
4532 char *kwnames[] = {
4533 (char *) "self", NULL
4534 };
4535
4536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_x_get",kwnames,&obj0)) goto fail;
4537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4539 result = (int) ((arg1)->x);
4540
4541 resultobj = SWIG_FromInt((int)result);
4542 return resultobj;
4543 fail:
4544 return NULL;
4545}
4546
4547
4548static PyObject *_wrap_Rect_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4549 PyObject *resultobj;
4550 wxRect *arg1 = (wxRect *) 0 ;
4551 int arg2 ;
4552 PyObject * obj0 = 0 ;
4553 PyObject * obj1 = 0 ;
4554 char *kwnames[] = {
4555 (char *) "self",(char *) "y", NULL
4556 };
4557
4558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_y_set",kwnames,&obj0,&obj1)) goto fail;
4559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4561 arg2 = (int) SWIG_AsInt(obj1);
4562 if (PyErr_Occurred()) SWIG_fail;
4563 if (arg1) (arg1)->y = arg2;
4564
4565 Py_INCREF(Py_None); resultobj = Py_None;
4566 return resultobj;
4567 fail:
4568 return NULL;
4569}
4570
4571
4572static PyObject *_wrap_Rect_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4573 PyObject *resultobj;
4574 wxRect *arg1 = (wxRect *) 0 ;
4575 int result;
4576 PyObject * obj0 = 0 ;
4577 char *kwnames[] = {
4578 (char *) "self", NULL
4579 };
4580
4581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_y_get",kwnames,&obj0)) goto fail;
4582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4584 result = (int) ((arg1)->y);
4585
4586 resultobj = SWIG_FromInt((int)result);
4587 return resultobj;
4588 fail:
4589 return NULL;
4590}
4591
4592
4593static PyObject *_wrap_Rect_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4594 PyObject *resultobj;
4595 wxRect *arg1 = (wxRect *) 0 ;
4596 int arg2 ;
4597 PyObject * obj0 = 0 ;
4598 PyObject * obj1 = 0 ;
4599 char *kwnames[] = {
4600 (char *) "self",(char *) "width", NULL
4601 };
4602
4603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_width_set",kwnames,&obj0,&obj1)) goto fail;
4604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4606 arg2 = (int) SWIG_AsInt(obj1);
4607 if (PyErr_Occurred()) SWIG_fail;
4608 if (arg1) (arg1)->width = arg2;
4609
4610 Py_INCREF(Py_None); resultobj = Py_None;
4611 return resultobj;
4612 fail:
4613 return NULL;
4614}
4615
4616
4617static PyObject *_wrap_Rect_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4618 PyObject *resultobj;
4619 wxRect *arg1 = (wxRect *) 0 ;
4620 int result;
4621 PyObject * obj0 = 0 ;
4622 char *kwnames[] = {
4623 (char *) "self", NULL
4624 };
4625
4626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_width_get",kwnames,&obj0)) goto fail;
4627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4629 result = (int) ((arg1)->width);
4630
4631 resultobj = SWIG_FromInt((int)result);
4632 return resultobj;
4633 fail:
4634 return NULL;
4635}
4636
4637
4638static PyObject *_wrap_Rect_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4639 PyObject *resultobj;
4640 wxRect *arg1 = (wxRect *) 0 ;
4641 int arg2 ;
4642 PyObject * obj0 = 0 ;
4643 PyObject * obj1 = 0 ;
4644 char *kwnames[] = {
4645 (char *) "self",(char *) "height", NULL
4646 };
4647
4648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_height_set",kwnames,&obj0,&obj1)) goto fail;
4649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4651 arg2 = (int) SWIG_AsInt(obj1);
4652 if (PyErr_Occurred()) SWIG_fail;
4653 if (arg1) (arg1)->height = arg2;
4654
4655 Py_INCREF(Py_None); resultobj = Py_None;
4656 return resultobj;
4657 fail:
4658 return NULL;
4659}
4660
4661
4662static PyObject *_wrap_Rect_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4663 PyObject *resultobj;
4664 wxRect *arg1 = (wxRect *) 0 ;
4665 int result;
4666 PyObject * obj0 = 0 ;
4667 char *kwnames[] = {
4668 (char *) "self", NULL
4669 };
4670
4671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_height_get",kwnames,&obj0)) goto fail;
4672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4674 result = (int) ((arg1)->height);
4675
4676 resultobj = SWIG_FromInt((int)result);
4677 return resultobj;
4678 fail:
4679 return NULL;
4680}
4681
4682
4683static PyObject *_wrap_Rect_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4684 PyObject *resultobj;
4685 wxRect *arg1 = (wxRect *) 0 ;
4686 int arg2 = (int) 0 ;
4687 int arg3 = (int) 0 ;
4688 int arg4 = (int) 0 ;
4689 int arg5 = (int) 0 ;
4690 PyObject * obj0 = 0 ;
4691 PyObject * obj1 = 0 ;
4692 PyObject * obj2 = 0 ;
4693 PyObject * obj3 = 0 ;
4694 PyObject * obj4 = 0 ;
4695 char *kwnames[] = {
4696 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4697 };
4698
4699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Rect_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4702 if (obj1) {
4703 arg2 = (int) SWIG_AsInt(obj1);
4704 if (PyErr_Occurred()) SWIG_fail;
4705 }
4706 if (obj2) {
4707 arg3 = (int) SWIG_AsInt(obj2);
4708 if (PyErr_Occurred()) SWIG_fail;
4709 }
4710 if (obj3) {
4711 arg4 = (int) SWIG_AsInt(obj3);
4712 if (PyErr_Occurred()) SWIG_fail;
4713 }
4714 if (obj4) {
4715 arg5 = (int) SWIG_AsInt(obj4);
4716 if (PyErr_Occurred()) SWIG_fail;
4717 }
4718 {
4719 PyThreadState* __tstate = wxPyBeginAllowThreads();
4720 wxRect_Set(arg1,arg2,arg3,arg4,arg5);
4721
4722 wxPyEndAllowThreads(__tstate);
4723 if (PyErr_Occurred()) SWIG_fail;
4724 }
4725 Py_INCREF(Py_None); resultobj = Py_None;
4726 return resultobj;
4727 fail:
4728 return NULL;
4729}
4730
4731
4732static PyObject *_wrap_Rect_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
4733 PyObject *resultobj;
4734 wxRect *arg1 = (wxRect *) 0 ;
4735 PyObject *result;
4736 PyObject * obj0 = 0 ;
4737 char *kwnames[] = {
4738 (char *) "self", NULL
4739 };
4740
4741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail;
4742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4744 {
4745 PyThreadState* __tstate = wxPyBeginAllowThreads();
4746 result = (PyObject *)wxRect_Get(arg1);
4747
4748 wxPyEndAllowThreads(__tstate);
4749 if (PyErr_Occurred()) SWIG_fail;
4750 }
4751 resultobj = result;
4752 return resultobj;
4753 fail:
4754 return NULL;
4755}
4756
4757
4758static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
4759 PyObject *obj;
4760 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4761 SWIG_TypeClientData(SWIGTYPE_p_wxRect, obj);
4762 Py_INCREF(obj);
4763 return Py_BuildValue((char *)"");
4764}
4765static PyObject *_wrap_IntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4766 PyObject *resultobj;
4767 wxRect *arg1 = (wxRect *) 0 ;
4768 wxRect *arg2 = (wxRect *) 0 ;
4769 PyObject *result;
4770 PyObject * obj0 = 0 ;
4771 PyObject * obj1 = 0 ;
4772 char *kwnames[] = {
4773 (char *) "r1",(char *) "r2", NULL
4774 };
4775
4776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IntersectRect",kwnames,&obj0,&obj1)) goto fail;
4777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4779 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
4780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4781 {
4782 PyThreadState* __tstate = wxPyBeginAllowThreads();
4783 result = (PyObject *)wxIntersectRect(arg1,arg2);
4784
4785 wxPyEndAllowThreads(__tstate);
4786 if (PyErr_Occurred()) SWIG_fail;
4787 }
4788 resultobj = result;
4789 return resultobj;
4790 fail:
4791 return NULL;
4792}
4793
4794
4795static PyObject *_wrap_new_Point2D(PyObject *self, PyObject *args, PyObject *kwargs) {
4796 PyObject *resultobj;
4797 double arg1 = (double) 0.0 ;
4798 double arg2 = (double) 0.0 ;
4799 wxPoint2D *result;
4800 PyObject * obj0 = 0 ;
4801 PyObject * obj1 = 0 ;
4802 char *kwnames[] = {
4803 (char *) "x",(char *) "y", NULL
4804 };
4805
4806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point2D",kwnames,&obj0,&obj1)) goto fail;
4807 if (obj0) {
4808 arg1 = (double) SWIG_AsDouble(obj0);
4809 if (PyErr_Occurred()) SWIG_fail;
4810 }
4811 if (obj1) {
4812 arg2 = (double) SWIG_AsDouble(obj1);
4813 if (PyErr_Occurred()) SWIG_fail;
4814 }
4815 {
4816 PyThreadState* __tstate = wxPyBeginAllowThreads();
4817 result = (wxPoint2D *)new wxPoint2D(arg1,arg2);
4818
4819 wxPyEndAllowThreads(__tstate);
4820 if (PyErr_Occurred()) SWIG_fail;
4821 }
4822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
4823 return resultobj;
4824 fail:
4825 return NULL;
4826}
4827
4828
4829static PyObject *_wrap_new_Point2DCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
4830 PyObject *resultobj;
4831 wxPoint2D *arg1 = 0 ;
4832 wxPoint2D *result;
4833 wxPoint2D temp1 ;
4834 PyObject * obj0 = 0 ;
4835 char *kwnames[] = {
4836 (char *) "pt", NULL
4837 };
4838
4839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DCopy",kwnames,&obj0)) goto fail;
4840 {
4841 arg1 = &temp1;
4842 if ( ! wxPoint2D_helper(obj0, &arg1)) SWIG_fail;
4843 }
4844 {
4845 PyThreadState* __tstate = wxPyBeginAllowThreads();
4846 result = (wxPoint2D *)new wxPoint2D((wxPoint2D const &)*arg1);
4847
4848 wxPyEndAllowThreads(__tstate);
4849 if (PyErr_Occurred()) SWIG_fail;
4850 }
4851 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
4852 return resultobj;
4853 fail:
4854 return NULL;
4855}
4856
4857
4858static PyObject *_wrap_new_Point2DFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4859 PyObject *resultobj;
4860 wxPoint *arg1 = 0 ;
4861 wxPoint2D *result;
4862 wxPoint temp1 ;
4863 PyObject * obj0 = 0 ;
4864 char *kwnames[] = {
4865 (char *) "pt", NULL
4866 };
4867
4868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DFromPoint",kwnames,&obj0)) goto fail;
4869 {
4870 arg1 = &temp1;
4871 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4872 }
4873 {
4874 PyThreadState* __tstate = wxPyBeginAllowThreads();
4875 result = (wxPoint2D *)new wxPoint2D((wxPoint const &)*arg1);
4876
4877 wxPyEndAllowThreads(__tstate);
4878 if (PyErr_Occurred()) SWIG_fail;
4879 }
4880 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
4881 return resultobj;
4882 fail:
4883 return NULL;
4884}
4885
4886
4887static PyObject *_wrap_Point2D_GetFloor(PyObject *self, PyObject *args, PyObject *kwargs) {
4888 PyObject *resultobj;
4889 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4890 int *arg2 = (int *) 0 ;
4891 int *arg3 = (int *) 0 ;
4892 int temp2 ;
4893 int temp3 ;
4894 PyObject * obj0 = 0 ;
4895 char *kwnames[] = {
4896 (char *) "self", NULL
4897 };
4898
4899 arg2 = &temp2;
4900 arg3 = &temp3;
4901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetFloor",kwnames,&obj0)) goto fail;
4902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4904 {
4905 PyThreadState* __tstate = wxPyBeginAllowThreads();
4906 ((wxPoint2D const *)arg1)->GetFloor(arg2,arg3);
4907
4908 wxPyEndAllowThreads(__tstate);
4909 if (PyErr_Occurred()) SWIG_fail;
4910 }
4911 Py_INCREF(Py_None); resultobj = Py_None;
4912 {
4913 PyObject *o = PyInt_FromLong((long) (*arg2));
4914 resultobj = t_output_helper(resultobj,o);
4915 }
4916 {
4917 PyObject *o = PyInt_FromLong((long) (*arg3));
4918 resultobj = t_output_helper(resultobj,o);
4919 }
4920 return resultobj;
4921 fail:
4922 return NULL;
4923}
4924
4925
4926static PyObject *_wrap_Point2D_GetRounded(PyObject *self, PyObject *args, PyObject *kwargs) {
4927 PyObject *resultobj;
4928 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4929 int *arg2 = (int *) 0 ;
4930 int *arg3 = (int *) 0 ;
4931 int temp2 ;
4932 int temp3 ;
4933 PyObject * obj0 = 0 ;
4934 char *kwnames[] = {
4935 (char *) "self", NULL
4936 };
4937
4938 arg2 = &temp2;
4939 arg3 = &temp3;
4940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetRounded",kwnames,&obj0)) goto fail;
4941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4943 {
4944 PyThreadState* __tstate = wxPyBeginAllowThreads();
4945 ((wxPoint2D const *)arg1)->GetRounded(arg2,arg3);
4946
4947 wxPyEndAllowThreads(__tstate);
4948 if (PyErr_Occurred()) SWIG_fail;
4949 }
4950 Py_INCREF(Py_None); resultobj = Py_None;
4951 {
4952 PyObject *o = PyInt_FromLong((long) (*arg2));
4953 resultobj = t_output_helper(resultobj,o);
4954 }
4955 {
4956 PyObject *o = PyInt_FromLong((long) (*arg3));
4957 resultobj = t_output_helper(resultobj,o);
4958 }
4959 return resultobj;
4960 fail:
4961 return NULL;
4962}
4963
4964
4965static PyObject *_wrap_Point2D_GetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
4966 PyObject *resultobj;
4967 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4968 double result;
4969 PyObject * obj0 = 0 ;
4970 char *kwnames[] = {
4971 (char *) "self", NULL
4972 };
4973
4974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorLength",kwnames,&obj0)) goto fail;
4975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4977 {
4978 PyThreadState* __tstate = wxPyBeginAllowThreads();
4979 result = (double)((wxPoint2D const *)arg1)->GetVectorLength();
4980
4981 wxPyEndAllowThreads(__tstate);
4982 if (PyErr_Occurred()) SWIG_fail;
4983 }
4984 resultobj = SWIG_FromDouble((double)result);
4985 return resultobj;
4986 fail:
4987 return NULL;
4988}
4989
4990
4991static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
4992 PyObject *resultobj;
4993 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4994 double result;
4995 PyObject * obj0 = 0 ;
4996 char *kwnames[] = {
4997 (char *) "self", NULL
4998 };
4999
5000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorAngle",kwnames,&obj0)) goto fail;
5001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5003 {
5004 PyThreadState* __tstate = wxPyBeginAllowThreads();
5005 result = (double)((wxPoint2D const *)arg1)->GetVectorAngle();
5006
5007 wxPyEndAllowThreads(__tstate);
5008 if (PyErr_Occurred()) SWIG_fail;
5009 }
5010 resultobj = SWIG_FromDouble((double)result);
5011 return resultobj;
5012 fail:
5013 return NULL;
5014}
5015
5016
5017static PyObject *_wrap_Point2D_SetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
5018 PyObject *resultobj;
5019 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5020 double arg2 ;
5021 PyObject * obj0 = 0 ;
5022 PyObject * obj1 = 0 ;
5023 char *kwnames[] = {
5024 (char *) "self",(char *) "length", NULL
5025 };
5026
5027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorLength",kwnames,&obj0,&obj1)) goto fail;
5028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5030 arg2 = (double) SWIG_AsDouble(obj1);
5031 if (PyErr_Occurred()) SWIG_fail;
5032 {
5033 PyThreadState* __tstate = wxPyBeginAllowThreads();
5034 (arg1)->SetVectorLength(arg2);
5035
5036 wxPyEndAllowThreads(__tstate);
5037 if (PyErr_Occurred()) SWIG_fail;
5038 }
5039 Py_INCREF(Py_None); resultobj = Py_None;
5040 return resultobj;
5041 fail:
5042 return NULL;
5043}
5044
5045
5046static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
5047 PyObject *resultobj;
5048 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5049 double arg2 ;
5050 PyObject * obj0 = 0 ;
5051 PyObject * obj1 = 0 ;
5052 char *kwnames[] = {
5053 (char *) "self",(char *) "degrees", NULL
5054 };
5055
5056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorAngle",kwnames,&obj0,&obj1)) goto fail;
5057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5059 arg2 = (double) SWIG_AsDouble(obj1);
5060 if (PyErr_Occurred()) SWIG_fail;
5061 {
5062 PyThreadState* __tstate = wxPyBeginAllowThreads();
5063 (arg1)->SetVectorAngle(arg2);
5064
5065 wxPyEndAllowThreads(__tstate);
5066 if (PyErr_Occurred()) SWIG_fail;
5067 }
5068 Py_INCREF(Py_None); resultobj = Py_None;
5069 return resultobj;
5070 fail:
5071 return NULL;
5072}
5073
5074
5075static PyObject *_wrap_Point2D_GetDistance(PyObject *self, PyObject *args, PyObject *kwargs) {
5076 PyObject *resultobj;
5077 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5078 wxPoint2D *arg2 = 0 ;
5079 double result;
5080 wxPoint2D temp2 ;
5081 PyObject * obj0 = 0 ;
5082 PyObject * obj1 = 0 ;
5083 char *kwnames[] = {
5084 (char *) "self",(char *) "pt", NULL
5085 };
5086
5087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistance",kwnames,&obj0,&obj1)) goto fail;
5088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5090 {
5091 arg2 = &temp2;
5092 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5093 }
5094 {
5095 PyThreadState* __tstate = wxPyBeginAllowThreads();
5096 result = (double)((wxPoint2D const *)arg1)->GetDistance((wxPoint2D const &)*arg2);
5097
5098 wxPyEndAllowThreads(__tstate);
5099 if (PyErr_Occurred()) SWIG_fail;
5100 }
5101 resultobj = SWIG_FromDouble((double)result);
5102 return resultobj;
5103 fail:
5104 return NULL;
5105}
5106
5107
5108static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *self, PyObject *args, PyObject *kwargs) {
5109 PyObject *resultobj;
5110 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5111 wxPoint2D *arg2 = 0 ;
5112 double result;
5113 wxPoint2D temp2 ;
5114 PyObject * obj0 = 0 ;
5115 PyObject * obj1 = 0 ;
5116 char *kwnames[] = {
5117 (char *) "self",(char *) "pt", NULL
5118 };
5119
5120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistanceSquare",kwnames,&obj0,&obj1)) goto fail;
5121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5123 {
5124 arg2 = &temp2;
5125 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5126 }
5127 {
5128 PyThreadState* __tstate = wxPyBeginAllowThreads();
5129 result = (double)((wxPoint2D const *)arg1)->GetDistanceSquare((wxPoint2D const &)*arg2);
5130
5131 wxPyEndAllowThreads(__tstate);
5132 if (PyErr_Occurred()) SWIG_fail;
5133 }
5134 resultobj = SWIG_FromDouble((double)result);
5135 return resultobj;
5136 fail:
5137 return NULL;
5138}
5139
5140
5141static PyObject *_wrap_Point2D_GetDotProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
5142 PyObject *resultobj;
5143 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5144 wxPoint2D *arg2 = 0 ;
5145 double result;
5146 wxPoint2D temp2 ;
5147 PyObject * obj0 = 0 ;
5148 PyObject * obj1 = 0 ;
5149 char *kwnames[] = {
5150 (char *) "self",(char *) "vec", NULL
5151 };
5152
5153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDotProduct",kwnames,&obj0,&obj1)) goto fail;
5154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5156 {
5157 arg2 = &temp2;
5158 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5159 }
5160 {
5161 PyThreadState* __tstate = wxPyBeginAllowThreads();
5162 result = (double)((wxPoint2D const *)arg1)->GetDotProduct((wxPoint2D const &)*arg2);
5163
5164 wxPyEndAllowThreads(__tstate);
5165 if (PyErr_Occurred()) SWIG_fail;
5166 }
5167 resultobj = SWIG_FromDouble((double)result);
5168 return resultobj;
5169 fail:
5170 return NULL;
5171}
5172
5173
5174static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
5175 PyObject *resultobj;
5176 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5177 wxPoint2D *arg2 = 0 ;
5178 double result;
5179 wxPoint2D temp2 ;
5180 PyObject * obj0 = 0 ;
5181 PyObject * obj1 = 0 ;
5182 char *kwnames[] = {
5183 (char *) "self",(char *) "vec", NULL
5184 };
5185
5186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetCrossProduct",kwnames,&obj0,&obj1)) goto fail;
5187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5189 {
5190 arg2 = &temp2;
5191 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5192 }
5193 {
5194 PyThreadState* __tstate = wxPyBeginAllowThreads();
5195 result = (double)((wxPoint2D const *)arg1)->GetCrossProduct((wxPoint2D const &)*arg2);
5196
5197 wxPyEndAllowThreads(__tstate);
5198 if (PyErr_Occurred()) SWIG_fail;
5199 }
5200 resultobj = SWIG_FromDouble((double)result);
5201 return resultobj;
5202 fail:
5203 return NULL;
5204}
5205
5206
5207static PyObject *_wrap_Point2D___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
5208 PyObject *resultobj;
5209 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5210 wxPoint2D result;
5211 PyObject * obj0 = 0 ;
5212 char *kwnames[] = {
5213 (char *) "self", NULL
5214 };
5215
5216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D___neg__",kwnames,&obj0)) goto fail;
5217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5219 {
5220 PyThreadState* __tstate = wxPyBeginAllowThreads();
5221 result = (arg1)->operator -();
5222
5223 wxPyEndAllowThreads(__tstate);
5224 if (PyErr_Occurred()) SWIG_fail;
5225 }
5226 {
5227 wxPoint2D * resultptr;
5228 resultptr = new wxPoint2D((wxPoint2D &) result);
5229 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint2D, 1);
5230 }
5231 return resultobj;
5232 fail:
5233 return NULL;
5234}
5235
5236
5237static PyObject *_wrap_Point2D___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
5238 PyObject *resultobj;
5239 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5240 wxPoint2D *arg2 = 0 ;
5241 wxPoint2D *result;
5242 wxPoint2D temp2 ;
5243 PyObject * obj0 = 0 ;
5244 PyObject * obj1 = 0 ;
5245 char *kwnames[] = {
5246 (char *) "self",(char *) "pt", NULL
5247 };
5248
5249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___iadd__",kwnames,&obj0,&obj1)) goto fail;
5250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5252 {
5253 arg2 = &temp2;
5254 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5255 }
5256 {
5257 PyThreadState* __tstate = wxPyBeginAllowThreads();
5258 {
5259 wxPoint2D &_result_ref = (arg1)->operator +=((wxPoint2D const &)*arg2);
5260 result = (wxPoint2D *) &_result_ref;
5261 }
5262
5263 wxPyEndAllowThreads(__tstate);
5264 if (PyErr_Occurred()) SWIG_fail;
5265 }
5266 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
5267 return resultobj;
5268 fail:
5269 return NULL;
5270}
5271
5272
5273static PyObject *_wrap_Point2D___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
5274 PyObject *resultobj;
5275 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5276 wxPoint2D *arg2 = 0 ;
5277 wxPoint2D *result;
5278 wxPoint2D temp2 ;
5279 PyObject * obj0 = 0 ;
5280 PyObject * obj1 = 0 ;
5281 char *kwnames[] = {
5282 (char *) "self",(char *) "pt", NULL
5283 };
5284
5285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___isub__",kwnames,&obj0,&obj1)) goto fail;
5286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5288 {
5289 arg2 = &temp2;
5290 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5291 }
5292 {
5293 PyThreadState* __tstate = wxPyBeginAllowThreads();
5294 {
5295 wxPoint2D &_result_ref = (arg1)->operator -=((wxPoint2D const &)*arg2);
5296 result = (wxPoint2D *) &_result_ref;
5297 }
5298
5299 wxPyEndAllowThreads(__tstate);
5300 if (PyErr_Occurred()) SWIG_fail;
5301 }
5302 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
5303 return resultobj;
5304 fail:
5305 return NULL;
5306}
5307
5308
5309static PyObject *_wrap_Point2D___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
5310 PyObject *resultobj;
5311 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5312 wxPoint2D *arg2 = 0 ;
5313 wxPoint2D *result;
5314 wxPoint2D temp2 ;
5315 PyObject * obj0 = 0 ;
5316 PyObject * obj1 = 0 ;
5317 char *kwnames[] = {
5318 (char *) "self",(char *) "pt", NULL
5319 };
5320
5321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___imul__",kwnames,&obj0,&obj1)) goto fail;
5322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5324 {
5325 arg2 = &temp2;
5326 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5327 }
5328 {
5329 PyThreadState* __tstate = wxPyBeginAllowThreads();
5330 {
5331 wxPoint2D &_result_ref = (arg1)->operator *=((wxPoint2D const &)*arg2);
5332 result = (wxPoint2D *) &_result_ref;
5333 }
5334
5335 wxPyEndAllowThreads(__tstate);
5336 if (PyErr_Occurred()) SWIG_fail;
5337 }
5338 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
5339 return resultobj;
5340 fail:
5341 return NULL;
5342}
5343
5344
5345static PyObject *_wrap_Point2D___idiv__(PyObject *self, PyObject *args, PyObject *kwargs) {
5346 PyObject *resultobj;
5347 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5348 wxPoint2D *arg2 = 0 ;
5349 wxPoint2D *result;
5350 wxPoint2D temp2 ;
5351 PyObject * obj0 = 0 ;
5352 PyObject * obj1 = 0 ;
5353 char *kwnames[] = {
5354 (char *) "self",(char *) "pt", NULL
5355 };
5356
5357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___idiv__",kwnames,&obj0,&obj1)) goto fail;
5358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5360 {
5361 arg2 = &temp2;
5362 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5363 }
5364 {
5365 PyThreadState* __tstate = wxPyBeginAllowThreads();
5366 {
5367 wxPoint2D &_result_ref = (arg1)->operator /=((wxPoint2D const &)*arg2);
5368 result = (wxPoint2D *) &_result_ref;
5369 }
5370
5371 wxPyEndAllowThreads(__tstate);
5372 if (PyErr_Occurred()) SWIG_fail;
5373 }
5374 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
5375 return resultobj;
5376 fail:
5377 return NULL;
5378}
5379
5380
5381static PyObject *_wrap_Point2D___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
5382 PyObject *resultobj;
5383 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5384 wxPoint2D *arg2 = 0 ;
5385 bool result;
5386 wxPoint2D temp2 ;
5387 PyObject * obj0 = 0 ;
5388 PyObject * obj1 = 0 ;
5389 char *kwnames[] = {
5390 (char *) "self",(char *) "pt", NULL
5391 };
5392
5393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___eq__",kwnames,&obj0,&obj1)) goto fail;
5394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5396 {
5397 arg2 = &temp2;
5398 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5399 }
5400 {
5401 PyThreadState* __tstate = wxPyBeginAllowThreads();
5402 result = (bool)((wxPoint2D const *)arg1)->operator ==((wxPoint2D const &)*arg2);
5403
5404 wxPyEndAllowThreads(__tstate);
5405 if (PyErr_Occurred()) SWIG_fail;
5406 }
5407 {
5408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5409 }
5410 return resultobj;
5411 fail:
5412 return NULL;
5413}
5414
5415
5416static PyObject *_wrap_Point2D___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
5417 PyObject *resultobj;
5418 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5419 wxPoint2D *arg2 = 0 ;
5420 bool result;
5421 wxPoint2D temp2 ;
5422 PyObject * obj0 = 0 ;
5423 PyObject * obj1 = 0 ;
5424 char *kwnames[] = {
5425 (char *) "self",(char *) "pt", NULL
5426 };
5427
5428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___ne__",kwnames,&obj0,&obj1)) goto fail;
5429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5431 {
5432 arg2 = &temp2;
5433 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5434 }
5435 {
5436 PyThreadState* __tstate = wxPyBeginAllowThreads();
5437 result = (bool)((wxPoint2D const *)arg1)->operator !=((wxPoint2D const &)*arg2);
5438
5439 wxPyEndAllowThreads(__tstate);
5440 if (PyErr_Occurred()) SWIG_fail;
5441 }
5442 {
5443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5444 }
5445 return resultobj;
5446 fail:
5447 return NULL;
5448}
5449
5450
5451static PyObject *_wrap_Point2D_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5452 PyObject *resultobj;
5453 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5454 double arg2 ;
5455 PyObject * obj0 = 0 ;
5456 PyObject * obj1 = 0 ;
5457 char *kwnames[] = {
5458 (char *) "self",(char *) "m_x", NULL
5459 };
5460
5461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_x_set",kwnames,&obj0,&obj1)) goto fail;
5462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5464 arg2 = (double) SWIG_AsDouble(obj1);
5465 if (PyErr_Occurred()) SWIG_fail;
5466 if (arg1) (arg1)->m_x = arg2;
5467
5468 Py_INCREF(Py_None); resultobj = Py_None;
5469 return resultobj;
5470 fail:
5471 return NULL;
5472}
5473
5474
5475static PyObject *_wrap_Point2D_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5476 PyObject *resultobj;
5477 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5478 double result;
5479 PyObject * obj0 = 0 ;
5480 char *kwnames[] = {
5481 (char *) "self", NULL
5482 };
5483
5484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_x_get",kwnames,&obj0)) goto fail;
5485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5487 result = (double) ((arg1)->m_x);
5488
5489 resultobj = SWIG_FromDouble((double)result);
5490 return resultobj;
5491 fail:
5492 return NULL;
5493}
5494
5495
5496static PyObject *_wrap_Point2D_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5497 PyObject *resultobj;
5498 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5499 double arg2 ;
5500 PyObject * obj0 = 0 ;
5501 PyObject * obj1 = 0 ;
5502 char *kwnames[] = {
5503 (char *) "self",(char *) "m_y", NULL
5504 };
5505
5506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_y_set",kwnames,&obj0,&obj1)) goto fail;
5507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5509 arg2 = (double) SWIG_AsDouble(obj1);
5510 if (PyErr_Occurred()) SWIG_fail;
5511 if (arg1) (arg1)->m_y = arg2;
5512
5513 Py_INCREF(Py_None); resultobj = Py_None;
5514 return resultobj;
5515 fail:
5516 return NULL;
5517}
5518
5519
5520static PyObject *_wrap_Point2D_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5521 PyObject *resultobj;
5522 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5523 double result;
5524 PyObject * obj0 = 0 ;
5525 char *kwnames[] = {
5526 (char *) "self", NULL
5527 };
5528
5529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_y_get",kwnames,&obj0)) goto fail;
5530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5532 result = (double) ((arg1)->m_y);
5533
5534 resultobj = SWIG_FromDouble((double)result);
5535 return resultobj;
5536 fail:
5537 return NULL;
5538}
5539
5540
5541static PyObject *_wrap_Point2D_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5542 PyObject *resultobj;
5543 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5544 double arg2 = (double) 0 ;
5545 double arg3 = (double) 0 ;
5546 PyObject * obj0 = 0 ;
5547 PyObject * obj1 = 0 ;
5548 PyObject * obj2 = 0 ;
5549 char *kwnames[] = {
5550 (char *) "self",(char *) "x",(char *) "y", NULL
5551 };
5552
5553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Point2D_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
5554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5556 if (obj1) {
5557 arg2 = (double) SWIG_AsDouble(obj1);
5558 if (PyErr_Occurred()) SWIG_fail;
5559 }
5560 if (obj2) {
5561 arg3 = (double) SWIG_AsDouble(obj2);
5562 if (PyErr_Occurred()) SWIG_fail;
5563 }
5564 {
5565 PyThreadState* __tstate = wxPyBeginAllowThreads();
5566 wxPoint2D_Set(arg1,arg2,arg3);
5567
5568 wxPyEndAllowThreads(__tstate);
5569 if (PyErr_Occurred()) SWIG_fail;
5570 }
5571 Py_INCREF(Py_None); resultobj = Py_None;
5572 return resultobj;
5573 fail:
5574 return NULL;
5575}
5576
5577
5578static PyObject *_wrap_Point2D_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
5579 PyObject *resultobj;
5580 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5581 PyObject *result;
5582 PyObject * obj0 = 0 ;
5583 char *kwnames[] = {
5584 (char *) "self", NULL
5585 };
5586
5587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail;
5588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5590 {
5591 PyThreadState* __tstate = wxPyBeginAllowThreads();
5592 result = (PyObject *)wxPoint2D_Get(arg1);
5593
5594 wxPyEndAllowThreads(__tstate);
5595 if (PyErr_Occurred()) SWIG_fail;
5596 }
5597 resultobj = result;
5598 return resultobj;
5599 fail:
5600 return NULL;
5601}
5602
5603
5604static PyObject * Point2D_swigregister(PyObject *self, PyObject *args) {
5605 PyObject *obj;
5606 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5607 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D, obj);
5608 Py_INCREF(obj);
5609 return Py_BuildValue((char *)"");
5610}
5611static int _wrap_DefaultPosition_set(PyObject *_val) {
5612 PyErr_SetString(PyExc_TypeError,"Variable DefaultPosition is read-only.");
5613 return 1;
5614}
5615
5616
5617static PyObject *_wrap_DefaultPosition_get() {
5618 PyObject *pyobj;
5619
5620 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultPosition), SWIGTYPE_p_wxPoint, 0);
5621 return pyobj;
5622}
5623
5624
5625static int _wrap_DefaultSize_set(PyObject *_val) {
5626 PyErr_SetString(PyExc_TypeError,"Variable DefaultSize is read-only.");
5627 return 1;
5628}
5629
5630
5631static PyObject *_wrap_DefaultSize_get() {
5632 PyObject *pyobj;
5633
5634 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSize), SWIGTYPE_p_wxSize, 0);
5635 return pyobj;
5636}
5637
5638
5639static PyObject *_wrap_new_InputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
5640 PyObject *resultobj;
5641 PyObject *arg1 = (PyObject *) 0 ;
5642 wxPyInputStream *result;
5643 PyObject * obj0 = 0 ;
5644 char *kwnames[] = {
5645 (char *) "p", NULL
5646 };
5647
5648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_InputStream",kwnames,&obj0)) goto fail;
5649 arg1 = obj0;
5650 {
5651 PyThreadState* __tstate = wxPyBeginAllowThreads();
5652 result = (wxPyInputStream *)new_wxPyInputStream(arg1);
5653
5654 wxPyEndAllowThreads(__tstate);
5655 if (PyErr_Occurred()) SWIG_fail;
5656 }
5657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyInputStream, 1);
5658 return resultobj;
5659 fail:
5660 return NULL;
5661}
5662
5663
5664static PyObject *_wrap_InputStream_close(PyObject *self, PyObject *args, PyObject *kwargs) {
5665 PyObject *resultobj;
5666 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5667 PyObject * obj0 = 0 ;
5668 char *kwnames[] = {
5669 (char *) "self", NULL
5670 };
5671
5672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_close",kwnames,&obj0)) goto fail;
5673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5675 {
5676 PyThreadState* __tstate = wxPyBeginAllowThreads();
5677 (arg1)->close();
5678
5679 wxPyEndAllowThreads(__tstate);
5680 if (PyErr_Occurred()) SWIG_fail;
5681 }
5682 Py_INCREF(Py_None); resultobj = Py_None;
5683 return resultobj;
5684 fail:
5685 return NULL;
5686}
5687
5688
5689static PyObject *_wrap_InputStream_flush(PyObject *self, PyObject *args, PyObject *kwargs) {
5690 PyObject *resultobj;
5691 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5692 PyObject * obj0 = 0 ;
5693 char *kwnames[] = {
5694 (char *) "self", NULL
5695 };
5696
5697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_flush",kwnames,&obj0)) goto fail;
5698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5700 {
5701 PyThreadState* __tstate = wxPyBeginAllowThreads();
5702 (arg1)->flush();
5703
5704 wxPyEndAllowThreads(__tstate);
5705 if (PyErr_Occurred()) SWIG_fail;
5706 }
5707 Py_INCREF(Py_None); resultobj = Py_None;
5708 return resultobj;
5709 fail:
5710 return NULL;
5711}
5712
5713
5714static PyObject *_wrap_InputStream_eof(PyObject *self, PyObject *args, PyObject *kwargs) {
5715 PyObject *resultobj;
5716 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5717 bool result;
5718 PyObject * obj0 = 0 ;
5719 char *kwnames[] = {
5720 (char *) "self", NULL
5721 };
5722
5723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_eof",kwnames,&obj0)) goto fail;
5724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5726 {
5727 PyThreadState* __tstate = wxPyBeginAllowThreads();
5728 result = (bool)(arg1)->eof();
5729
5730 wxPyEndAllowThreads(__tstate);
5731 if (PyErr_Occurred()) SWIG_fail;
5732 }
5733 {
5734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5735 }
5736 return resultobj;
5737 fail:
5738 return NULL;
5739}
5740
5741
5742static PyObject *_wrap_InputStream_read(PyObject *self, PyObject *args, PyObject *kwargs) {
5743 PyObject *resultobj;
5744 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5745 int arg2 = (int) -1 ;
5746 PyObject *result;
5747 PyObject * obj0 = 0 ;
5748 PyObject * obj1 = 0 ;
5749 char *kwnames[] = {
5750 (char *) "self",(char *) "size", NULL
5751 };
5752
5753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_read",kwnames,&obj0,&obj1)) goto fail;
5754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5756 if (obj1) {
5757 arg2 = (int) SWIG_AsInt(obj1);
5758 if (PyErr_Occurred()) SWIG_fail;
5759 }
5760 {
5761 PyThreadState* __tstate = wxPyBeginAllowThreads();
5762 result = (PyObject *)(arg1)->read(arg2);
5763
5764 wxPyEndAllowThreads(__tstate);
5765 if (PyErr_Occurred()) SWIG_fail;
5766 }
5767 resultobj = result;
5768 return resultobj;
5769 fail:
5770 return NULL;
5771}
5772
5773
5774static PyObject *_wrap_InputStream_readline(PyObject *self, PyObject *args, PyObject *kwargs) {
5775 PyObject *resultobj;
5776 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5777 int arg2 = (int) -1 ;
5778 PyObject *result;
5779 PyObject * obj0 = 0 ;
5780 PyObject * obj1 = 0 ;
5781 char *kwnames[] = {
5782 (char *) "self",(char *) "size", NULL
5783 };
5784
5785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readline",kwnames,&obj0,&obj1)) goto fail;
5786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5788 if (obj1) {
5789 arg2 = (int) SWIG_AsInt(obj1);
5790 if (PyErr_Occurred()) SWIG_fail;
5791 }
5792 {
5793 PyThreadState* __tstate = wxPyBeginAllowThreads();
5794 result = (PyObject *)(arg1)->readline(arg2);
5795
5796 wxPyEndAllowThreads(__tstate);
5797 if (PyErr_Occurred()) SWIG_fail;
5798 }
5799 resultobj = result;
5800 return resultobj;
5801 fail:
5802 return NULL;
5803}
5804
5805
5806static PyObject *_wrap_InputStream_readlines(PyObject *self, PyObject *args, PyObject *kwargs) {
5807 PyObject *resultobj;
5808 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5809 int arg2 = (int) -1 ;
5810 PyObject *result;
5811 PyObject * obj0 = 0 ;
5812 PyObject * obj1 = 0 ;
5813 char *kwnames[] = {
5814 (char *) "self",(char *) "sizehint", NULL
5815 };
5816
5817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readlines",kwnames,&obj0,&obj1)) goto fail;
5818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5820 if (obj1) {
5821 arg2 = (int) SWIG_AsInt(obj1);
5822 if (PyErr_Occurred()) SWIG_fail;
5823 }
5824 {
5825 PyThreadState* __tstate = wxPyBeginAllowThreads();
5826 result = (PyObject *)(arg1)->readlines(arg2);
5827
5828 wxPyEndAllowThreads(__tstate);
5829 if (PyErr_Occurred()) SWIG_fail;
5830 }
5831 resultobj = result;
5832 return resultobj;
5833 fail:
5834 return NULL;
5835}
5836
5837
5838static PyObject *_wrap_InputStream_seek(PyObject *self, PyObject *args, PyObject *kwargs) {
5839 PyObject *resultobj;
5840 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5841 int arg2 ;
5842 int arg3 = (int) 0 ;
5843 PyObject * obj0 = 0 ;
5844 PyObject * obj1 = 0 ;
5845 PyObject * obj2 = 0 ;
5846 char *kwnames[] = {
5847 (char *) "self",(char *) "offset",(char *) "whence", NULL
5848 };
5849
5850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_seek",kwnames,&obj0,&obj1,&obj2)) goto fail;
5851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5853 arg2 = (int) SWIG_AsInt(obj1);
5854 if (PyErr_Occurred()) SWIG_fail;
5855 if (obj2) {
5856 arg3 = (int) SWIG_AsInt(obj2);
5857 if (PyErr_Occurred()) SWIG_fail;
5858 }
5859 {
5860 PyThreadState* __tstate = wxPyBeginAllowThreads();
5861 (arg1)->seek(arg2,arg3);
5862
5863 wxPyEndAllowThreads(__tstate);
5864 if (PyErr_Occurred()) SWIG_fail;
5865 }
5866 Py_INCREF(Py_None); resultobj = Py_None;
5867 return resultobj;
5868 fail:
5869 return NULL;
5870}
5871
5872
5873static PyObject *_wrap_InputStream_tell(PyObject *self, PyObject *args, PyObject *kwargs) {
5874 PyObject *resultobj;
5875 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5876 int result;
5877 PyObject * obj0 = 0 ;
5878 char *kwnames[] = {
5879 (char *) "self", NULL
5880 };
5881
5882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_tell",kwnames,&obj0)) goto fail;
5883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5885 {
5886 PyThreadState* __tstate = wxPyBeginAllowThreads();
5887 result = (int)(arg1)->tell();
5888
5889 wxPyEndAllowThreads(__tstate);
5890 if (PyErr_Occurred()) SWIG_fail;
5891 }
5892 resultobj = SWIG_FromInt((int)result);
5893 return resultobj;
5894 fail:
5895 return NULL;
5896}
5897
5898
5899static PyObject *_wrap_InputStream_Peek(PyObject *self, PyObject *args, PyObject *kwargs) {
5900 PyObject *resultobj;
5901 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5902 char result;
5903 PyObject * obj0 = 0 ;
5904 char *kwnames[] = {
5905 (char *) "self", NULL
5906 };
5907
5908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Peek",kwnames,&obj0)) goto fail;
5909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5911 {
5912 PyThreadState* __tstate = wxPyBeginAllowThreads();
5913 result = (char)(arg1)->Peek();
5914
5915 wxPyEndAllowThreads(__tstate);
5916 if (PyErr_Occurred()) SWIG_fail;
5917 }
5918 resultobj = SWIG_FromChar((char)result);
5919 return resultobj;
5920 fail:
5921 return NULL;
5922}
5923
5924
5925static PyObject *_wrap_InputStream_GetC(PyObject *self, PyObject *args, PyObject *kwargs) {
5926 PyObject *resultobj;
5927 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5928 char result;
5929 PyObject * obj0 = 0 ;
5930 char *kwnames[] = {
5931 (char *) "self", NULL
5932 };
5933
5934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_GetC",kwnames,&obj0)) goto fail;
5935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5937 {
5938 PyThreadState* __tstate = wxPyBeginAllowThreads();
5939 result = (char)(arg1)->GetC();
5940
5941 wxPyEndAllowThreads(__tstate);
5942 if (PyErr_Occurred()) SWIG_fail;
5943 }
5944 resultobj = SWIG_FromChar((char)result);
5945 return resultobj;
5946 fail:
5947 return NULL;
5948}
5949
5950
5951static PyObject *_wrap_InputStream_LastRead(PyObject *self, PyObject *args, PyObject *kwargs) {
5952 PyObject *resultobj;
5953 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5954 size_t result;
5955 PyObject * obj0 = 0 ;
5956 char *kwnames[] = {
5957 (char *) "self", NULL
5958 };
5959
5960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_LastRead",kwnames,&obj0)) goto fail;
5961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5963 {
5964 PyThreadState* __tstate = wxPyBeginAllowThreads();
5965 result = (size_t)(arg1)->LastRead();
5966
5967 wxPyEndAllowThreads(__tstate);
5968 if (PyErr_Occurred()) SWIG_fail;
5969 }
5970 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
5971 return resultobj;
5972 fail:
5973 return NULL;
5974}
5975
5976
5977static PyObject *_wrap_InputStream_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
5978 PyObject *resultobj;
5979 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5980 bool result;
5981 PyObject * obj0 = 0 ;
5982 char *kwnames[] = {
5983 (char *) "self", NULL
5984 };
5985
5986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_CanRead",kwnames,&obj0)) goto fail;
5987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5989 {
5990 PyThreadState* __tstate = wxPyBeginAllowThreads();
5991 result = (bool)(arg1)->CanRead();
5992
5993 wxPyEndAllowThreads(__tstate);
5994 if (PyErr_Occurred()) SWIG_fail;
5995 }
5996 {
5997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5998 }
5999 return resultobj;
6000 fail:
6001 return NULL;
6002}
6003
6004
6005static PyObject *_wrap_InputStream_Eof(PyObject *self, PyObject *args, PyObject *kwargs) {
6006 PyObject *resultobj;
6007 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6008 bool result;
6009 PyObject * obj0 = 0 ;
6010 char *kwnames[] = {
6011 (char *) "self", NULL
6012 };
6013
6014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Eof",kwnames,&obj0)) goto fail;
6015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6017 {
6018 PyThreadState* __tstate = wxPyBeginAllowThreads();
6019 result = (bool)(arg1)->Eof();
6020
6021 wxPyEndAllowThreads(__tstate);
6022 if (PyErr_Occurred()) SWIG_fail;
6023 }
6024 {
6025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6026 }
6027 return resultobj;
6028 fail:
6029 return NULL;
6030}
6031
6032
6033static PyObject *_wrap_InputStream_Ungetch(PyObject *self, PyObject *args, PyObject *kwargs) {
6034 PyObject *resultobj;
6035 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6036 char arg2 ;
6037 bool result;
6038 PyObject * obj0 = 0 ;
6039 PyObject * obj1 = 0 ;
6040 char *kwnames[] = {
6041 (char *) "self",(char *) "c", NULL
6042 };
6043
6044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InputStream_Ungetch",kwnames,&obj0,&obj1)) goto fail;
6045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6047 arg2 = (char) SWIG_AsChar(obj1);
6048 if (PyErr_Occurred()) SWIG_fail;
6049 {
6050 PyThreadState* __tstate = wxPyBeginAllowThreads();
6051 result = (bool)(arg1)->Ungetch(arg2);
6052
6053 wxPyEndAllowThreads(__tstate);
6054 if (PyErr_Occurred()) SWIG_fail;
6055 }
6056 {
6057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6058 }
6059 return resultobj;
6060 fail:
6061 return NULL;
6062}
6063
6064
6065static PyObject *_wrap_InputStream_SeekI(PyObject *self, PyObject *args, PyObject *kwargs) {
6066 PyObject *resultobj;
6067 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6068 long arg2 ;
6069 int arg3 = (int) wxFromStart ;
6070 long result;
6071 PyObject * obj0 = 0 ;
6072 PyObject * obj1 = 0 ;
6073 PyObject * obj2 = 0 ;
6074 char *kwnames[] = {
6075 (char *) "self",(char *) "pos",(char *) "mode", NULL
6076 };
6077
6078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_SeekI",kwnames,&obj0,&obj1,&obj2)) goto fail;
6079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6081 arg2 = (long) SWIG_AsLong(obj1);
6082 if (PyErr_Occurred()) SWIG_fail;
6083 if (obj2) {
6084 arg3 = (wxSeekMode) SWIG_AsInt(obj2);
6085 if (PyErr_Occurred()) SWIG_fail;
6086 }
6087 {
6088 PyThreadState* __tstate = wxPyBeginAllowThreads();
6089 result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3);
6090
6091 wxPyEndAllowThreads(__tstate);
6092 if (PyErr_Occurred()) SWIG_fail;
6093 }
6094 resultobj = SWIG_FromLong((long)result);
6095 return resultobj;
6096 fail:
6097 return NULL;
6098}
6099
6100
6101static PyObject *_wrap_InputStream_TellI(PyObject *self, PyObject *args, PyObject *kwargs) {
6102 PyObject *resultobj;
6103 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6104 long result;
6105 PyObject * obj0 = 0 ;
6106 char *kwnames[] = {
6107 (char *) "self", NULL
6108 };
6109
6110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_TellI",kwnames,&obj0)) goto fail;
6111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6113 {
6114 PyThreadState* __tstate = wxPyBeginAllowThreads();
6115 result = (long)(arg1)->TellI();
6116
6117 wxPyEndAllowThreads(__tstate);
6118 if (PyErr_Occurred()) SWIG_fail;
6119 }
6120 resultobj = SWIG_FromLong((long)result);
6121 return resultobj;
6122 fail:
6123 return NULL;
6124}
6125
6126
6127static PyObject * InputStream_swigregister(PyObject *self, PyObject *args) {
6128 PyObject *obj;
6129 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6130 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream, obj);
6131 Py_INCREF(obj);
6132 return Py_BuildValue((char *)"");
6133}
6134static PyObject *_wrap_OutputStream_write(PyObject *self, PyObject *args, PyObject *kwargs) {
6135 PyObject *resultobj;
6136 wxOutputStream *arg1 = (wxOutputStream *) 0 ;
6137 PyObject *arg2 = (PyObject *) 0 ;
6138 PyObject * obj0 = 0 ;
6139 PyObject * obj1 = 0 ;
6140 char *kwnames[] = {
6141 (char *) "self",(char *) "obj", NULL
6142 };
6143
6144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:OutputStream_write",kwnames,&obj0,&obj1)) goto fail;
6145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOutputStream,
6146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6147 arg2 = obj1;
6148 {
6149 PyThreadState* __tstate = wxPyBeginAllowThreads();
6150 wxOutputStream_write(arg1,arg2);
6151
6152 wxPyEndAllowThreads(__tstate);
6153 if (PyErr_Occurred()) SWIG_fail;
6154 }
6155 Py_INCREF(Py_None); resultobj = Py_None;
6156 return resultobj;
6157 fail:
6158 return NULL;
6159}
6160
6161
6162static PyObject * OutputStream_swigregister(PyObject *self, PyObject *args) {
6163 PyObject *obj;
6164 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6165 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream, obj);
6166 Py_INCREF(obj);
6167 return Py_BuildValue((char *)"");
6168}
6169static PyObject *_wrap_new_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6170 PyObject *resultobj;
6171 wxInputStream *arg1 = (wxInputStream *) 0 ;
6172 wxString *arg2 = 0 ;
6173 wxString *arg3 = 0 ;
6174 wxString *arg4 = 0 ;
6175 wxDateTime arg5 ;
6176 wxFSFile *result;
6177 wxPyInputStream *temp1 ;
6178 bool created1 ;
6179 bool temp2 = False ;
6180 bool temp3 = False ;
6181 bool temp4 = False ;
6182 wxDateTime *argp5 ;
6183 PyObject * obj0 = 0 ;
6184 PyObject * obj1 = 0 ;
6185 PyObject * obj2 = 0 ;
6186 PyObject * obj3 = 0 ;
6187 PyObject * obj4 = 0 ;
6188 char *kwnames[] = {
6189 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6190 };
6191
6192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_FSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6193 {
6194 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
6195 arg1 = temp1->m_wxis;
6196 created1 = False;
6197 } else {
6198 PyErr_Clear(); // clear the failure of the wxPyConvert above
6199 arg1 = wxPyCBInputStream_create(obj0, False);
6200 if (arg1 == NULL) {
6201 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
6202 SWIG_fail;
6203 }
6204 created1 = True;
6205 }
6206 }
6207 {
6208 arg2 = wxString_in_helper(obj1);
6209 if (arg2 == NULL) SWIG_fail;
6210 temp2 = True;
6211 }
6212 {
6213 arg3 = wxString_in_helper(obj2);
6214 if (arg3 == NULL) SWIG_fail;
6215 temp3 = True;
6216 }
6217 {
6218 arg4 = wxString_in_helper(obj3);
6219 if (arg4 == NULL) SWIG_fail;
6220 temp4 = True;
6221 }
6222 if ((SWIG_ConvertPtr(obj4,(void **)(&argp5),SWIGTYPE_p_wxDateTime,
6223 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6224 arg5 = *argp5;
6225 {
6226 PyThreadState* __tstate = wxPyBeginAllowThreads();
6227 result = (wxFSFile *)new wxFSFile(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
6228
6229 wxPyEndAllowThreads(__tstate);
6230 if (PyErr_Occurred()) SWIG_fail;
6231 }
6232 {
6233 resultobj = wxPyMake_wxObject(result);
6234 }
6235 {
6236 if (created1)
6237 delete arg1;
6238 }
6239 {
6240 if (temp2)
6241 delete arg2;
6242 }
6243 {
6244 if (temp3)
6245 delete arg3;
6246 }
6247 {
6248 if (temp4)
6249 delete arg4;
6250 }
6251 return resultobj;
6252 fail:
6253 {
6254 if (created1)
6255 delete arg1;
6256 }
6257 {
6258 if (temp2)
6259 delete arg2;
6260 }
6261 {
6262 if (temp3)
6263 delete arg3;
6264 }
6265 {
6266 if (temp4)
6267 delete arg4;
6268 }
6269 return NULL;
6270}
6271
6272
6273static PyObject *_wrap_delete_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6274 PyObject *resultobj;
6275 wxFSFile *arg1 = (wxFSFile *) 0 ;
6276 PyObject * obj0 = 0 ;
6277 char *kwnames[] = {
6278 (char *) "self", NULL
6279 };
6280
6281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FSFile",kwnames,&obj0)) goto fail;
6282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6284 {
6285 PyThreadState* __tstate = wxPyBeginAllowThreads();
6286 delete arg1;
6287
6288 wxPyEndAllowThreads(__tstate);
6289 if (PyErr_Occurred()) SWIG_fail;
6290 }
6291 Py_INCREF(Py_None); resultobj = Py_None;
6292 return resultobj;
6293 fail:
6294 return NULL;
6295}
6296
6297
6298static PyObject *_wrap_FSFile_GetStream(PyObject *self, PyObject *args, PyObject *kwargs) {
6299 PyObject *resultobj;
6300 wxFSFile *arg1 = (wxFSFile *) 0 ;
6301 wxInputStream *result;
6302 PyObject * obj0 = 0 ;
6303 char *kwnames[] = {
6304 (char *) "self", NULL
6305 };
6306
6307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetStream",kwnames,&obj0)) goto fail;
6308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6310 {
6311 PyThreadState* __tstate = wxPyBeginAllowThreads();
6312 result = (wxInputStream *)(arg1)->GetStream();
6313
6314 wxPyEndAllowThreads(__tstate);
6315 if (PyErr_Occurred()) SWIG_fail;
6316 }
6317 {
6318 wxPyInputStream * _ptr = NULL;
6319
6320 if (result) {
6321 _ptr = new wxPyInputStream(result);
6322 }
6323 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
6324 }
6325 return resultobj;
6326 fail:
6327 return NULL;
6328}
6329
6330
6331static PyObject *_wrap_FSFile_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
6332 PyObject *resultobj;
6333 wxFSFile *arg1 = (wxFSFile *) 0 ;
6334 wxString *result;
6335 PyObject * obj0 = 0 ;
6336 char *kwnames[] = {
6337 (char *) "self", NULL
6338 };
6339
6340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetMimeType",kwnames,&obj0)) goto fail;
6341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6343 {
6344 PyThreadState* __tstate = wxPyBeginAllowThreads();
6345 {
6346 wxString const &_result_ref = (arg1)->GetMimeType();
6347 result = (wxString *) &_result_ref;
6348 }
6349
6350 wxPyEndAllowThreads(__tstate);
6351 if (PyErr_Occurred()) SWIG_fail;
6352 }
6353 {
6354#if wxUSE_UNICODE
6355 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6356#else
6357 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6358#endif
6359 }
6360 return resultobj;
6361 fail:
6362 return NULL;
6363}
6364
6365
6366static PyObject *_wrap_FSFile_GetLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6367 PyObject *resultobj;
6368 wxFSFile *arg1 = (wxFSFile *) 0 ;
6369 wxString *result;
6370 PyObject * obj0 = 0 ;
6371 char *kwnames[] = {
6372 (char *) "self", NULL
6373 };
6374
6375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetLocation",kwnames,&obj0)) goto fail;
6376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6378 {
6379 PyThreadState* __tstate = wxPyBeginAllowThreads();
6380 {
6381 wxString const &_result_ref = (arg1)->GetLocation();
6382 result = (wxString *) &_result_ref;
6383 }
6384
6385 wxPyEndAllowThreads(__tstate);
6386 if (PyErr_Occurred()) SWIG_fail;
6387 }
6388 {
6389#if wxUSE_UNICODE
6390 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6391#else
6392 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6393#endif
6394 }
6395 return resultobj;
6396 fail:
6397 return NULL;
6398}
6399
6400
6401static PyObject *_wrap_FSFile_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6402 PyObject *resultobj;
6403 wxFSFile *arg1 = (wxFSFile *) 0 ;
6404 wxString *result;
6405 PyObject * obj0 = 0 ;
6406 char *kwnames[] = {
6407 (char *) "self", NULL
6408 };
6409
6410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetAnchor",kwnames,&obj0)) goto fail;
6411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6413 {
6414 PyThreadState* __tstate = wxPyBeginAllowThreads();
6415 {
6416 wxString const &_result_ref = (arg1)->GetAnchor();
6417 result = (wxString *) &_result_ref;
6418 }
6419
6420 wxPyEndAllowThreads(__tstate);
6421 if (PyErr_Occurred()) SWIG_fail;
6422 }
6423 {
6424#if wxUSE_UNICODE
6425 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6426#else
6427 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6428#endif
6429 }
6430 return resultobj;
6431 fail:
6432 return NULL;
6433}
6434
6435
6436static PyObject *_wrap_FSFile_GetModificationTime(PyObject *self, PyObject *args, PyObject *kwargs) {
6437 PyObject *resultobj;
6438 wxFSFile *arg1 = (wxFSFile *) 0 ;
6439 wxDateTime result;
6440 PyObject * obj0 = 0 ;
6441 char *kwnames[] = {
6442 (char *) "self", NULL
6443 };
6444
6445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetModificationTime",kwnames,&obj0)) goto fail;
6446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6448 {
6449 PyThreadState* __tstate = wxPyBeginAllowThreads();
6450 result = (arg1)->GetModificationTime();
6451
6452 wxPyEndAllowThreads(__tstate);
6453 if (PyErr_Occurred()) SWIG_fail;
6454 }
6455 {
6456 wxDateTime * resultptr;
6457 resultptr = new wxDateTime((wxDateTime &) result);
6458 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
6459 }
6460 return resultobj;
6461 fail:
6462 return NULL;
6463}
6464
6465
6466static PyObject * FSFile_swigregister(PyObject *self, PyObject *args) {
6467 PyObject *obj;
6468 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6469 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile, obj);
6470 Py_INCREF(obj);
6471 return Py_BuildValue((char *)"");
6472}
6473static PyObject * CPPFileSystemHandler_swigregister(PyObject *self, PyObject *args) {
6474 PyObject *obj;
6475 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6476 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler, obj);
6477 Py_INCREF(obj);
6478 return Py_BuildValue((char *)"");
6479}
6480static PyObject *_wrap_new_FileSystemHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6481 PyObject *resultobj;
6482 wxPyFileSystemHandler *result;
6483 char *kwnames[] = {
6484 NULL
6485 };
6486
6487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystemHandler",kwnames)) goto fail;
6488 {
6489 PyThreadState* __tstate = wxPyBeginAllowThreads();
6490 result = (wxPyFileSystemHandler *)new wxPyFileSystemHandler();
6491
6492 wxPyEndAllowThreads(__tstate);
6493 if (PyErr_Occurred()) SWIG_fail;
6494 }
6495 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileSystemHandler, 1);
6496 return resultobj;
6497 fail:
6498 return NULL;
6499}
6500
6501
6502static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6503 PyObject *resultobj;
6504 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6505 PyObject *arg2 = (PyObject *) 0 ;
6506 PyObject *arg3 = (PyObject *) 0 ;
6507 PyObject * obj0 = 0 ;
6508 PyObject * obj1 = 0 ;
6509 PyObject * obj2 = 0 ;
6510 char *kwnames[] = {
6511 (char *) "self",(char *) "self",(char *) "_class", NULL
6512 };
6513
6514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6517 arg2 = obj1;
6518 arg3 = obj2;
6519 {
6520 PyThreadState* __tstate = wxPyBeginAllowThreads();
6521 (arg1)->_setCallbackInfo(arg2,arg3);
6522
6523 wxPyEndAllowThreads(__tstate);
6524 if (PyErr_Occurred()) SWIG_fail;
6525 }
6526 Py_INCREF(Py_None); resultobj = Py_None;
6527 return resultobj;
6528 fail:
6529 return NULL;
6530}
6531
6532
6533static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6534 PyObject *resultobj;
6535 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6536 wxString *arg2 = 0 ;
6537 bool result;
6538 bool temp2 = False ;
6539 PyObject * obj0 = 0 ;
6540 PyObject * obj1 = 0 ;
6541 char *kwnames[] = {
6542 (char *) "self",(char *) "location", NULL
6543 };
6544
6545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
6546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6548 {
6549 arg2 = wxString_in_helper(obj1);
6550 if (arg2 == NULL) SWIG_fail;
6551 temp2 = True;
6552 }
6553 {
6554 PyThreadState* __tstate = wxPyBeginAllowThreads();
6555 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6556
6557 wxPyEndAllowThreads(__tstate);
6558 if (PyErr_Occurred()) SWIG_fail;
6559 }
6560 {
6561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6562 }
6563 {
6564 if (temp2)
6565 delete arg2;
6566 }
6567 return resultobj;
6568 fail:
6569 {
6570 if (temp2)
6571 delete arg2;
6572 }
6573 return NULL;
6574}
6575
6576
6577static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6578 PyObject *resultobj;
6579 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6580 wxFileSystem *arg2 = 0 ;
6581 wxString *arg3 = 0 ;
6582 wxFSFile *result;
6583 bool temp3 = False ;
6584 PyObject * obj0 = 0 ;
6585 PyObject * obj1 = 0 ;
6586 PyObject * obj2 = 0 ;
6587 char *kwnames[] = {
6588 (char *) "self",(char *) "fs",(char *) "location", NULL
6589 };
6590
6591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6594 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
6595 SWIG_POINTER_EXCEPTION | 0)) == -1)
6596 SWIG_fail;
6597 if (arg2 == NULL) {
6598 PyErr_SetString(PyExc_TypeError,"null reference");
6599 SWIG_fail;
6600 }
6601 {
6602 arg3 = wxString_in_helper(obj2);
6603 if (arg3 == NULL) SWIG_fail;
6604 temp3 = True;
6605 }
6606 {
6607 PyThreadState* __tstate = wxPyBeginAllowThreads();
6608 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6609
6610 wxPyEndAllowThreads(__tstate);
6611 if (PyErr_Occurred()) SWIG_fail;
6612 }
6613 {
6614 resultobj = wxPyMake_wxObject(result);
6615 }
6616 {
6617 if (temp3)
6618 delete arg3;
6619 }
6620 return resultobj;
6621 fail:
6622 {
6623 if (temp3)
6624 delete arg3;
6625 }
6626 return NULL;
6627}
6628
6629
6630static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6631 PyObject *resultobj;
6632 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6633 wxString *arg2 = 0 ;
6634 int arg3 = (int) 0 ;
6635 wxString result;
6636 bool temp2 = False ;
6637 PyObject * obj0 = 0 ;
6638 PyObject * obj1 = 0 ;
6639 PyObject * obj2 = 0 ;
6640 char *kwnames[] = {
6641 (char *) "self",(char *) "spec",(char *) "flags", NULL
6642 };
6643
6644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
6645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6647 {
6648 arg2 = wxString_in_helper(obj1);
6649 if (arg2 == NULL) SWIG_fail;
6650 temp2 = True;
6651 }
6652 if (obj2) {
6653 arg3 = (int) SWIG_AsInt(obj2);
6654 if (PyErr_Occurred()) SWIG_fail;
6655 }
6656 {
6657 PyThreadState* __tstate = wxPyBeginAllowThreads();
6658 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6659
6660 wxPyEndAllowThreads(__tstate);
6661 if (PyErr_Occurred()) SWIG_fail;
6662 }
6663 {
6664#if wxUSE_UNICODE
6665 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6666#else
6667 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6668#endif
6669 }
6670 {
6671 if (temp2)
6672 delete arg2;
6673 }
6674 return resultobj;
6675 fail:
6676 {
6677 if (temp2)
6678 delete arg2;
6679 }
6680 return NULL;
6681}
6682
6683
6684static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6685 PyObject *resultobj;
6686 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6687 wxString result;
6688 PyObject * obj0 = 0 ;
6689 char *kwnames[] = {
6690 (char *) "self", NULL
6691 };
6692
6693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystemHandler_FindNext",kwnames,&obj0)) goto fail;
6694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6696 {
6697 PyThreadState* __tstate = wxPyBeginAllowThreads();
6698 result = (arg1)->FindNext();
6699
6700 wxPyEndAllowThreads(__tstate);
6701 if (PyErr_Occurred()) SWIG_fail;
6702 }
6703 {
6704#if wxUSE_UNICODE
6705 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6706#else
6707 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6708#endif
6709 }
6710 return resultobj;
6711 fail:
6712 return NULL;
6713}
6714
6715
6716static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *self, PyObject *args, PyObject *kwargs) {
6717 PyObject *resultobj;
6718 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6719 wxString *arg2 = 0 ;
6720 wxString result;
6721 bool temp2 = False ;
6722 PyObject * obj0 = 0 ;
6723 PyObject * obj1 = 0 ;
6724 char *kwnames[] = {
6725 (char *) "self",(char *) "location", NULL
6726 };
6727
6728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetProtocol",kwnames,&obj0,&obj1)) goto fail;
6729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6731 {
6732 arg2 = wxString_in_helper(obj1);
6733 if (arg2 == NULL) SWIG_fail;
6734 temp2 = True;
6735 }
6736 {
6737 PyThreadState* __tstate = wxPyBeginAllowThreads();
6738 result = (arg1)->GetProtocol((wxString const &)*arg2);
6739
6740 wxPyEndAllowThreads(__tstate);
6741 if (PyErr_Occurred()) SWIG_fail;
6742 }
6743 {
6744#if wxUSE_UNICODE
6745 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6746#else
6747 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6748#endif
6749 }
6750 {
6751 if (temp2)
6752 delete arg2;
6753 }
6754 return resultobj;
6755 fail:
6756 {
6757 if (temp2)
6758 delete arg2;
6759 }
6760 return NULL;
6761}
6762
6763
6764static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6765 PyObject *resultobj;
6766 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6767 wxString *arg2 = 0 ;
6768 wxString result;
6769 bool temp2 = False ;
6770 PyObject * obj0 = 0 ;
6771 PyObject * obj1 = 0 ;
6772 char *kwnames[] = {
6773 (char *) "self",(char *) "location", NULL
6774 };
6775
6776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames,&obj0,&obj1)) goto fail;
6777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6779 {
6780 arg2 = wxString_in_helper(obj1);
6781 if (arg2 == NULL) SWIG_fail;
6782 temp2 = True;
6783 }
6784 {
6785 PyThreadState* __tstate = wxPyBeginAllowThreads();
6786 result = (arg1)->GetLeftLocation((wxString const &)*arg2);
6787
6788 wxPyEndAllowThreads(__tstate);
6789 if (PyErr_Occurred()) SWIG_fail;
6790 }
6791 {
6792#if wxUSE_UNICODE
6793 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6794#else
6795 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6796#endif
6797 }
6798 {
6799 if (temp2)
6800 delete arg2;
6801 }
6802 return resultobj;
6803 fail:
6804 {
6805 if (temp2)
6806 delete arg2;
6807 }
6808 return NULL;
6809}
6810
6811
6812static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6813 PyObject *resultobj;
6814 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6815 wxString *arg2 = 0 ;
6816 wxString result;
6817 bool temp2 = False ;
6818 PyObject * obj0 = 0 ;
6819 PyObject * obj1 = 0 ;
6820 char *kwnames[] = {
6821 (char *) "self",(char *) "location", NULL
6822 };
6823
6824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetAnchor",kwnames,&obj0,&obj1)) goto fail;
6825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6827 {
6828 arg2 = wxString_in_helper(obj1);
6829 if (arg2 == NULL) SWIG_fail;
6830 temp2 = True;
6831 }
6832 {
6833 PyThreadState* __tstate = wxPyBeginAllowThreads();
6834 result = (arg1)->GetAnchor((wxString const &)*arg2);
6835
6836 wxPyEndAllowThreads(__tstate);
6837 if (PyErr_Occurred()) SWIG_fail;
6838 }
6839 {
6840#if wxUSE_UNICODE
6841 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6842#else
6843 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6844#endif
6845 }
6846 {
6847 if (temp2)
6848 delete arg2;
6849 }
6850 return resultobj;
6851 fail:
6852 {
6853 if (temp2)
6854 delete arg2;
6855 }
6856 return NULL;
6857}
6858
6859
6860static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6861 PyObject *resultobj;
6862 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6863 wxString *arg2 = 0 ;
6864 wxString result;
6865 bool temp2 = False ;
6866 PyObject * obj0 = 0 ;
6867 PyObject * obj1 = 0 ;
6868 char *kwnames[] = {
6869 (char *) "self",(char *) "location", NULL
6870 };
6871
6872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames,&obj0,&obj1)) goto fail;
6873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6875 {
6876 arg2 = wxString_in_helper(obj1);
6877 if (arg2 == NULL) SWIG_fail;
6878 temp2 = True;
6879 }
6880 {
6881 PyThreadState* __tstate = wxPyBeginAllowThreads();
6882 result = (arg1)->GetRightLocation((wxString const &)*arg2);
6883
6884 wxPyEndAllowThreads(__tstate);
6885 if (PyErr_Occurred()) SWIG_fail;
6886 }
6887 {
6888#if wxUSE_UNICODE
6889 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6890#else
6891 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6892#endif
6893 }
6894 {
6895 if (temp2)
6896 delete arg2;
6897 }
6898 return resultobj;
6899 fail:
6900 {
6901 if (temp2)
6902 delete arg2;
6903 }
6904 return NULL;
6905}
6906
6907
6908static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *self, PyObject *args, PyObject *kwargs) {
6909 PyObject *resultobj;
6910 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6911 wxString *arg2 = 0 ;
6912 wxString result;
6913 bool temp2 = False ;
6914 PyObject * obj0 = 0 ;
6915 PyObject * obj1 = 0 ;
6916 char *kwnames[] = {
6917 (char *) "self",(char *) "location", NULL
6918 };
6919
6920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames,&obj0,&obj1)) goto fail;
6921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6923 {
6924 arg2 = wxString_in_helper(obj1);
6925 if (arg2 == NULL) SWIG_fail;
6926 temp2 = True;
6927 }
6928 {
6929 PyThreadState* __tstate = wxPyBeginAllowThreads();
6930 result = (arg1)->GetMimeTypeFromExt((wxString const &)*arg2);
6931
6932 wxPyEndAllowThreads(__tstate);
6933 if (PyErr_Occurred()) SWIG_fail;
6934 }
6935 {
6936#if wxUSE_UNICODE
6937 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6938#else
6939 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6940#endif
6941 }
6942 {
6943 if (temp2)
6944 delete arg2;
6945 }
6946 return resultobj;
6947 fail:
6948 {
6949 if (temp2)
6950 delete arg2;
6951 }
6952 return NULL;
6953}
6954
6955
6956static PyObject * FileSystemHandler_swigregister(PyObject *self, PyObject *args) {
6957 PyObject *obj;
6958 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6959 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler, obj);
6960 Py_INCREF(obj);
6961 return Py_BuildValue((char *)"");
6962}
6963static PyObject *_wrap_new_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
6964 PyObject *resultobj;
6965 wxFileSystem *result;
6966 char *kwnames[] = {
6967 NULL
6968 };
6969
6970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystem",kwnames)) goto fail;
6971 {
6972 PyThreadState* __tstate = wxPyBeginAllowThreads();
6973 result = (wxFileSystem *)new wxFileSystem();
6974
6975 wxPyEndAllowThreads(__tstate);
6976 if (PyErr_Occurred()) SWIG_fail;
6977 }
6978 {
6979 resultobj = wxPyMake_wxObject(result);
6980 }
6981 return resultobj;
6982 fail:
6983 return NULL;
6984}
6985
6986
6987static PyObject *_wrap_delete_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
6988 PyObject *resultobj;
6989 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6990 PyObject * obj0 = 0 ;
6991 char *kwnames[] = {
6992 (char *) "self", NULL
6993 };
6994
6995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileSystem",kwnames,&obj0)) goto fail;
6996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
6997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6998 {
6999 PyThreadState* __tstate = wxPyBeginAllowThreads();
7000 delete arg1;
7001
7002 wxPyEndAllowThreads(__tstate);
7003 if (PyErr_Occurred()) SWIG_fail;
7004 }
7005 Py_INCREF(Py_None); resultobj = Py_None;
7006 return resultobj;
7007 fail:
7008 return NULL;
7009}
7010
7011
7012static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *self, PyObject *args, PyObject *kwargs) {
7013 PyObject *resultobj;
7014 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7015 wxString *arg2 = 0 ;
7016 bool arg3 = (bool) False ;
7017 bool temp2 = False ;
7018 PyObject * obj0 = 0 ;
7019 PyObject * obj1 = 0 ;
7020 PyObject * obj2 = 0 ;
7021 char *kwnames[] = {
7022 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7023 };
7024
7025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7028 {
7029 arg2 = wxString_in_helper(obj1);
7030 if (arg2 == NULL) SWIG_fail;
7031 temp2 = True;
7032 }
7033 if (obj2) {
7034 arg3 = (bool) SWIG_AsBool(obj2);
7035 if (PyErr_Occurred()) SWIG_fail;
7036 }
7037 {
7038 PyThreadState* __tstate = wxPyBeginAllowThreads();
7039 (arg1)->ChangePathTo((wxString const &)*arg2,arg3);
7040
7041 wxPyEndAllowThreads(__tstate);
7042 if (PyErr_Occurred()) SWIG_fail;
7043 }
7044 Py_INCREF(Py_None); resultobj = Py_None;
7045 {
7046 if (temp2)
7047 delete arg2;
7048 }
7049 return resultobj;
7050 fail:
7051 {
7052 if (temp2)
7053 delete arg2;
7054 }
7055 return NULL;
7056}
7057
7058
7059static PyObject *_wrap_FileSystem_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
7060 PyObject *resultobj;
7061 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7062 wxString result;
7063 PyObject * obj0 = 0 ;
7064 char *kwnames[] = {
7065 (char *) "self", NULL
7066 };
7067
7068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_GetPath",kwnames,&obj0)) goto fail;
7069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7071 {
7072 PyThreadState* __tstate = wxPyBeginAllowThreads();
7073 result = (arg1)->GetPath();
7074
7075 wxPyEndAllowThreads(__tstate);
7076 if (PyErr_Occurred()) SWIG_fail;
7077 }
7078 {
7079#if wxUSE_UNICODE
7080 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7081#else
7082 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7083#endif
7084 }
7085 return resultobj;
7086 fail:
7087 return NULL;
7088}
7089
7090
7091static PyObject *_wrap_FileSystem_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7092 PyObject *resultobj;
7093 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7094 wxString *arg2 = 0 ;
7095 wxFSFile *result;
7096 bool temp2 = False ;
7097 PyObject * obj0 = 0 ;
7098 PyObject * obj1 = 0 ;
7099 char *kwnames[] = {
7100 (char *) "self",(char *) "location", NULL
7101 };
7102
7103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail;
7104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7106 {
7107 arg2 = wxString_in_helper(obj1);
7108 if (arg2 == NULL) SWIG_fail;
7109 temp2 = True;
7110 }
7111 {
7112 PyThreadState* __tstate = wxPyBeginAllowThreads();
7113 result = (wxFSFile *)(arg1)->OpenFile((wxString const &)*arg2);
7114
7115 wxPyEndAllowThreads(__tstate);
7116 if (PyErr_Occurred()) SWIG_fail;
7117 }
7118 {
7119 resultobj = wxPyMake_wxObject(result);
7120 }
7121 {
7122 if (temp2)
7123 delete arg2;
7124 }
7125 return resultobj;
7126 fail:
7127 {
7128 if (temp2)
7129 delete arg2;
7130 }
7131 return NULL;
7132}
7133
7134
7135static PyObject *_wrap_FileSystem_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
7136 PyObject *resultobj;
7137 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7138 wxString *arg2 = 0 ;
7139 int arg3 = (int) 0 ;
7140 wxString result;
7141 bool temp2 = False ;
7142 PyObject * obj0 = 0 ;
7143 PyObject * obj1 = 0 ;
7144 PyObject * obj2 = 0 ;
7145 char *kwnames[] = {
7146 (char *) "self",(char *) "spec",(char *) "flags", NULL
7147 };
7148
7149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
7150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7152 {
7153 arg2 = wxString_in_helper(obj1);
7154 if (arg2 == NULL) SWIG_fail;
7155 temp2 = True;
7156 }
7157 if (obj2) {
7158 arg3 = (int) SWIG_AsInt(obj2);
7159 if (PyErr_Occurred()) SWIG_fail;
7160 }
7161 {
7162 PyThreadState* __tstate = wxPyBeginAllowThreads();
7163 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7164
7165 wxPyEndAllowThreads(__tstate);
7166 if (PyErr_Occurred()) SWIG_fail;
7167 }
7168 {
7169#if wxUSE_UNICODE
7170 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7171#else
7172 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7173#endif
7174 }
7175 {
7176 if (temp2)
7177 delete arg2;
7178 }
7179 return resultobj;
7180 fail:
7181 {
7182 if (temp2)
7183 delete arg2;
7184 }
7185 return NULL;
7186}
7187
7188
7189static PyObject *_wrap_FileSystem_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7190 PyObject *resultobj;
7191 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7192 wxString result;
7193 PyObject * obj0 = 0 ;
7194 char *kwnames[] = {
7195 (char *) "self", NULL
7196 };
7197
7198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FindNext",kwnames,&obj0)) goto fail;
7199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7201 {
7202 PyThreadState* __tstate = wxPyBeginAllowThreads();
7203 result = (arg1)->FindNext();
7204
7205 wxPyEndAllowThreads(__tstate);
7206 if (PyErr_Occurred()) SWIG_fail;
7207 }
7208 {
7209#if wxUSE_UNICODE
7210 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7211#else
7212 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7213#endif
7214 }
7215 return resultobj;
7216 fail:
7217 return NULL;
7218}
7219
7220
7221static PyObject *_wrap_FileSystem_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7222 PyObject *resultobj;
7223 wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ;
7224 PyObject * obj0 = 0 ;
7225 char *kwnames[] = {
7226 (char *) "handler", NULL
7227 };
7228
7229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_AddHandler",kwnames,&obj0)) goto fail;
7230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystemHandler,
7231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7232 {
7233 PyThreadState* __tstate = wxPyBeginAllowThreads();
7234 wxFileSystem::AddHandler(arg1);
7235
7236 wxPyEndAllowThreads(__tstate);
7237 if (PyErr_Occurred()) SWIG_fail;
7238 }
7239 Py_INCREF(Py_None); resultobj = Py_None;
7240 return resultobj;
7241 fail:
7242 return NULL;
7243}
7244
7245
7246static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
7247 PyObject *resultobj;
7248 char *kwnames[] = {
7249 NULL
7250 };
7251
7252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FileSystem_CleanUpHandlers",kwnames)) goto fail;
7253 {
7254 PyThreadState* __tstate = wxPyBeginAllowThreads();
7255 wxFileSystem::CleanUpHandlers();
7256
7257 wxPyEndAllowThreads(__tstate);
7258 if (PyErr_Occurred()) SWIG_fail;
7259 }
7260 Py_INCREF(Py_None); resultobj = Py_None;
7261 return resultobj;
7262 fail:
7263 return NULL;
7264}
7265
7266
7267static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *self, PyObject *args, PyObject *kwargs) {
7268 PyObject *resultobj;
7269 wxString *arg1 = 0 ;
7270 wxString result;
7271 bool temp1 = False ;
7272 PyObject * obj0 = 0 ;
7273 char *kwnames[] = {
7274 (char *) "filename", NULL
7275 };
7276
7277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FileNameToURL",kwnames,&obj0)) goto fail;
7278 {
7279 arg1 = wxString_in_helper(obj0);
7280 if (arg1 == NULL) SWIG_fail;
7281 temp1 = True;
7282 }
7283 {
7284 PyThreadState* __tstate = wxPyBeginAllowThreads();
7285 result = wxFileSystem::FileNameToURL((wxString const &)*arg1);
7286
7287 wxPyEndAllowThreads(__tstate);
7288 if (PyErr_Occurred()) SWIG_fail;
7289 }
7290 {
7291#if wxUSE_UNICODE
7292 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7293#else
7294 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7295#endif
7296 }
7297 {
7298 if (temp1)
7299 delete arg1;
7300 }
7301 return resultobj;
7302 fail:
7303 {
7304 if (temp1)
7305 delete arg1;
7306 }
7307 return NULL;
7308}
7309
7310
7311static PyObject * FileSystem_swigregister(PyObject *self, PyObject *args) {
7312 PyObject *obj;
7313 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7314 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
7315 Py_INCREF(obj);
7316 return Py_BuildValue((char *)"");
7317}
7318static PyObject *_wrap_FileSystem_URLToFileName(PyObject *self, PyObject *args, PyObject *kwargs) {
7319 PyObject *resultobj;
7320 wxString *arg1 = 0 ;
7321 wxString result;
7322 bool temp1 = False ;
7323 PyObject * obj0 = 0 ;
7324 char *kwnames[] = {
7325 (char *) "url", NULL
7326 };
7327
7328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_URLToFileName",kwnames,&obj0)) goto fail;
7329 {
7330 arg1 = wxString_in_helper(obj0);
7331 if (arg1 == NULL) SWIG_fail;
7332 temp1 = True;
7333 }
7334 {
7335 PyThreadState* __tstate = wxPyBeginAllowThreads();
7336 result = wxFileSystem_URLToFileName((wxString const &)*arg1);
7337
7338 wxPyEndAllowThreads(__tstate);
7339 if (PyErr_Occurred()) SWIG_fail;
7340 }
7341 {
7342#if wxUSE_UNICODE
7343 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7344#else
7345 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7346#endif
7347 }
7348 {
7349 if (temp1)
7350 delete arg1;
7351 }
7352 return resultobj;
7353 fail:
7354 {
7355 if (temp1)
7356 delete arg1;
7357 }
7358 return NULL;
7359}
7360
7361
7362static PyObject *_wrap_new_InternetFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7363 PyObject *resultobj;
7364 wxInternetFSHandler *result;
7365 char *kwnames[] = {
7366 NULL
7367 };
7368
7369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_InternetFSHandler",kwnames)) goto fail;
7370 {
7371 PyThreadState* __tstate = wxPyBeginAllowThreads();
7372 result = (wxInternetFSHandler *)new wxInternetFSHandler();
7373
7374 wxPyEndAllowThreads(__tstate);
7375 if (PyErr_Occurred()) SWIG_fail;
7376 }
7377 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInternetFSHandler, 1);
7378 return resultobj;
7379 fail:
7380 return NULL;
7381}
7382
7383
7384static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7385 PyObject *resultobj;
7386 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7387 wxString *arg2 = 0 ;
7388 bool result;
7389 bool temp2 = False ;
7390 PyObject * obj0 = 0 ;
7391 PyObject * obj1 = 0 ;
7392 char *kwnames[] = {
7393 (char *) "self",(char *) "location", NULL
7394 };
7395
7396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
7397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7399 {
7400 arg2 = wxString_in_helper(obj1);
7401 if (arg2 == NULL) SWIG_fail;
7402 temp2 = True;
7403 }
7404 {
7405 PyThreadState* __tstate = wxPyBeginAllowThreads();
7406 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7407
7408 wxPyEndAllowThreads(__tstate);
7409 if (PyErr_Occurred()) SWIG_fail;
7410 }
7411 {
7412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7413 }
7414 {
7415 if (temp2)
7416 delete arg2;
7417 }
7418 return resultobj;
7419 fail:
7420 {
7421 if (temp2)
7422 delete arg2;
7423 }
7424 return NULL;
7425}
7426
7427
7428static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7429 PyObject *resultobj;
7430 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7431 wxFileSystem *arg2 = 0 ;
7432 wxString *arg3 = 0 ;
7433 wxFSFile *result;
7434 bool temp3 = False ;
7435 PyObject * obj0 = 0 ;
7436 PyObject * obj1 = 0 ;
7437 PyObject * obj2 = 0 ;
7438 char *kwnames[] = {
7439 (char *) "self",(char *) "fs",(char *) "location", NULL
7440 };
7441
7442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:InternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
7443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7445 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7446 SWIG_POINTER_EXCEPTION | 0)) == -1)
7447 SWIG_fail;
7448 if (arg2 == NULL) {
7449 PyErr_SetString(PyExc_TypeError,"null reference");
7450 SWIG_fail;
7451 }
7452 {
7453 arg3 = wxString_in_helper(obj2);
7454 if (arg3 == NULL) SWIG_fail;
7455 temp3 = True;
7456 }
7457 {
7458 PyThreadState* __tstate = wxPyBeginAllowThreads();
7459 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7460
7461 wxPyEndAllowThreads(__tstate);
7462 if (PyErr_Occurred()) SWIG_fail;
7463 }
7464 {
7465 resultobj = wxPyMake_wxObject(result);
7466 }
7467 {
7468 if (temp3)
7469 delete arg3;
7470 }
7471 return resultobj;
7472 fail:
7473 {
7474 if (temp3)
7475 delete arg3;
7476 }
7477 return NULL;
7478}
7479
7480
7481static PyObject * InternetFSHandler_swigregister(PyObject *self, PyObject *args) {
7482 PyObject *obj;
7483 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7484 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler, obj);
7485 Py_INCREF(obj);
7486 return Py_BuildValue((char *)"");
7487}
7488static PyObject *_wrap_new_ZipFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7489 PyObject *resultobj;
7490 wxZipFSHandler *result;
7491 char *kwnames[] = {
7492 NULL
7493 };
7494
7495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ZipFSHandler",kwnames)) goto fail;
7496 {
7497 PyThreadState* __tstate = wxPyBeginAllowThreads();
7498 result = (wxZipFSHandler *)new wxZipFSHandler();
7499
7500 wxPyEndAllowThreads(__tstate);
7501 if (PyErr_Occurred()) SWIG_fail;
7502 }
7503 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxZipFSHandler, 1);
7504 return resultobj;
7505 fail:
7506 return NULL;
7507}
7508
7509
7510static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7511 PyObject *resultobj;
7512 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7513 wxString *arg2 = 0 ;
7514 bool result;
7515 bool temp2 = False ;
7516 PyObject * obj0 = 0 ;
7517 PyObject * obj1 = 0 ;
7518 char *kwnames[] = {
7519 (char *) "self",(char *) "location", NULL
7520 };
7521
7522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
7523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7525 {
7526 arg2 = wxString_in_helper(obj1);
7527 if (arg2 == NULL) SWIG_fail;
7528 temp2 = True;
7529 }
7530 {
7531 PyThreadState* __tstate = wxPyBeginAllowThreads();
7532 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7533
7534 wxPyEndAllowThreads(__tstate);
7535 if (PyErr_Occurred()) SWIG_fail;
7536 }
7537 {
7538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7539 }
7540 {
7541 if (temp2)
7542 delete arg2;
7543 }
7544 return resultobj;
7545 fail:
7546 {
7547 if (temp2)
7548 delete arg2;
7549 }
7550 return NULL;
7551}
7552
7553
7554static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7555 PyObject *resultobj;
7556 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7557 wxFileSystem *arg2 = 0 ;
7558 wxString *arg3 = 0 ;
7559 wxFSFile *result;
7560 bool temp3 = False ;
7561 PyObject * obj0 = 0 ;
7562 PyObject * obj1 = 0 ;
7563 PyObject * obj2 = 0 ;
7564 char *kwnames[] = {
7565 (char *) "self",(char *) "fs",(char *) "location", NULL
7566 };
7567
7568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
7569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7571 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7572 SWIG_POINTER_EXCEPTION | 0)) == -1)
7573 SWIG_fail;
7574 if (arg2 == NULL) {
7575 PyErr_SetString(PyExc_TypeError,"null reference");
7576 SWIG_fail;
7577 }
7578 {
7579 arg3 = wxString_in_helper(obj2);
7580 if (arg3 == NULL) SWIG_fail;
7581 temp3 = True;
7582 }
7583 {
7584 PyThreadState* __tstate = wxPyBeginAllowThreads();
7585 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7586
7587 wxPyEndAllowThreads(__tstate);
7588 if (PyErr_Occurred()) SWIG_fail;
7589 }
7590 {
7591 resultobj = wxPyMake_wxObject(result);
7592 }
7593 {
7594 if (temp3)
7595 delete arg3;
7596 }
7597 return resultobj;
7598 fail:
7599 {
7600 if (temp3)
7601 delete arg3;
7602 }
7603 return NULL;
7604}
7605
7606
7607static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
7608 PyObject *resultobj;
7609 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7610 wxString *arg2 = 0 ;
7611 int arg3 = (int) 0 ;
7612 wxString result;
7613 bool temp2 = False ;
7614 PyObject * obj0 = 0 ;
7615 PyObject * obj1 = 0 ;
7616 PyObject * obj2 = 0 ;
7617 char *kwnames[] = {
7618 (char *) "self",(char *) "spec",(char *) "flags", NULL
7619 };
7620
7621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
7622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7624 {
7625 arg2 = wxString_in_helper(obj1);
7626 if (arg2 == NULL) SWIG_fail;
7627 temp2 = True;
7628 }
7629 if (obj2) {
7630 arg3 = (int) SWIG_AsInt(obj2);
7631 if (PyErr_Occurred()) SWIG_fail;
7632 }
7633 {
7634 PyThreadState* __tstate = wxPyBeginAllowThreads();
7635 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7636
7637 wxPyEndAllowThreads(__tstate);
7638 if (PyErr_Occurred()) SWIG_fail;
7639 }
7640 {
7641#if wxUSE_UNICODE
7642 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7643#else
7644 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7645#endif
7646 }
7647 {
7648 if (temp2)
7649 delete arg2;
7650 }
7651 return resultobj;
7652 fail:
7653 {
7654 if (temp2)
7655 delete arg2;
7656 }
7657 return NULL;
7658}
7659
7660
7661static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7662 PyObject *resultobj;
7663 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7664 wxString result;
7665 PyObject * obj0 = 0 ;
7666 char *kwnames[] = {
7667 (char *) "self", NULL
7668 };
7669
7670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ZipFSHandler_FindNext",kwnames,&obj0)) goto fail;
7671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7673 {
7674 PyThreadState* __tstate = wxPyBeginAllowThreads();
7675 result = (arg1)->FindNext();
7676
7677 wxPyEndAllowThreads(__tstate);
7678 if (PyErr_Occurred()) SWIG_fail;
7679 }
7680 {
7681#if wxUSE_UNICODE
7682 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7683#else
7684 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7685#endif
7686 }
7687 return resultobj;
7688 fail:
7689 return NULL;
7690}
7691
7692
7693static PyObject * ZipFSHandler_swigregister(PyObject *self, PyObject *args) {
7694 PyObject *obj;
7695 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7696 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler, obj);
7697 Py_INCREF(obj);
7698 return Py_BuildValue((char *)"");
7699}
7700static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *self, PyObject *args, PyObject *kwargs) {
7701 PyObject *resultobj;
7702 wxString *arg1 = 0 ;
7703 wxImage *arg2 = 0 ;
7704 long arg3 ;
7705 bool temp1 = False ;
7706 PyObject * obj0 = 0 ;
7707 PyObject * obj1 = 0 ;
7708 PyObject * obj2 = 0 ;
7709 char *kwnames[] = {
7710 (char *) "filename",(char *) "image",(char *) "type", NULL
7711 };
7712
7713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
7714 {
7715 arg1 = wxString_in_helper(obj0);
7716 if (arg1 == NULL) SWIG_fail;
7717 temp1 = True;
7718 }
7719 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
7720 SWIG_POINTER_EXCEPTION | 0)) == -1)
7721 SWIG_fail;
7722 if (arg2 == NULL) {
7723 PyErr_SetString(PyExc_TypeError,"null reference");
7724 SWIG_fail;
7725 }
7726 arg3 = (long) SWIG_AsLong(obj2);
7727 if (PyErr_Occurred()) SWIG_fail;
7728 {
7729 PyThreadState* __tstate = wxPyBeginAllowThreads();
7730 __wxMemoryFSHandler_AddFile_wxImage((wxString const &)*arg1,*arg2,arg3);
7731
7732 wxPyEndAllowThreads(__tstate);
7733 if (PyErr_Occurred()) SWIG_fail;
7734 }
7735 Py_INCREF(Py_None); resultobj = Py_None;
7736 {
7737 if (temp1)
7738 delete arg1;
7739 }
7740 return resultobj;
7741 fail:
7742 {
7743 if (temp1)
7744 delete arg1;
7745 }
7746 return NULL;
7747}
7748
7749
7750static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
7751 PyObject *resultobj;
7752 wxString *arg1 = 0 ;
7753 wxBitmap *arg2 = 0 ;
7754 long arg3 ;
7755 bool temp1 = False ;
7756 PyObject * obj0 = 0 ;
7757 PyObject * obj1 = 0 ;
7758 PyObject * obj2 = 0 ;
7759 char *kwnames[] = {
7760 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7761 };
7762
7763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
7764 {
7765 arg1 = wxString_in_helper(obj0);
7766 if (arg1 == NULL) SWIG_fail;
7767 temp1 = True;
7768 }
7769 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
7770 SWIG_POINTER_EXCEPTION | 0)) == -1)
7771 SWIG_fail;
7772 if (arg2 == NULL) {
7773 PyErr_SetString(PyExc_TypeError,"null reference");
7774 SWIG_fail;
7775 }
7776 arg3 = (long) SWIG_AsLong(obj2);
7777 if (PyErr_Occurred()) SWIG_fail;
7778 {
7779 PyThreadState* __tstate = wxPyBeginAllowThreads();
7780 __wxMemoryFSHandler_AddFile_wxBitmap((wxString const &)*arg1,(wxBitmap const &)*arg2,arg3);
7781
7782 wxPyEndAllowThreads(__tstate);
7783 if (PyErr_Occurred()) SWIG_fail;
7784 }
7785 Py_INCREF(Py_None); resultobj = Py_None;
7786 {
7787 if (temp1)
7788 delete arg1;
7789 }
7790 return resultobj;
7791 fail:
7792 {
7793 if (temp1)
7794 delete arg1;
7795 }
7796 return NULL;
7797}
7798
7799
7800static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *self, PyObject *args, PyObject *kwargs) {
7801 PyObject *resultobj;
7802 wxString *arg1 = 0 ;
7803 PyObject *arg2 = (PyObject *) 0 ;
7804 bool temp1 = False ;
7805 PyObject * obj0 = 0 ;
7806 PyObject * obj1 = 0 ;
7807 char *kwnames[] = {
7808 (char *) "filename",(char *) "data", NULL
7809 };
7810
7811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames,&obj0,&obj1)) goto fail;
7812 {
7813 arg1 = wxString_in_helper(obj0);
7814 if (arg1 == NULL) SWIG_fail;
7815 temp1 = True;
7816 }
7817 arg2 = obj1;
7818 {
7819 PyThreadState* __tstate = wxPyBeginAllowThreads();
7820 __wxMemoryFSHandler_AddFile_Data((wxString const &)*arg1,arg2);
7821
7822 wxPyEndAllowThreads(__tstate);
7823 if (PyErr_Occurred()) SWIG_fail;
7824 }
7825 Py_INCREF(Py_None); resultobj = Py_None;
7826 {
7827 if (temp1)
7828 delete arg1;
7829 }
7830 return resultobj;
7831 fail:
7832 {
7833 if (temp1)
7834 delete arg1;
7835 }
7836 return NULL;
7837}
7838
7839
7840static PyObject *_wrap_new_MemoryFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7841 PyObject *resultobj;
7842 wxMemoryFSHandler *result;
7843 char *kwnames[] = {
7844 NULL
7845 };
7846
7847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryFSHandler",kwnames)) goto fail;
7848 {
7849 PyThreadState* __tstate = wxPyBeginAllowThreads();
7850 result = (wxMemoryFSHandler *)new wxMemoryFSHandler();
7851
7852 wxPyEndAllowThreads(__tstate);
7853 if (PyErr_Occurred()) SWIG_fail;
7854 }
7855 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryFSHandler, 1);
7856 return resultobj;
7857 fail:
7858 return NULL;
7859}
7860
7861
7862static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7863 PyObject *resultobj;
7864 wxString *arg1 = 0 ;
7865 bool temp1 = False ;
7866 PyObject * obj0 = 0 ;
7867 char *kwnames[] = {
7868 (char *) "filename", NULL
7869 };
7870
7871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail;
7872 {
7873 arg1 = wxString_in_helper(obj0);
7874 if (arg1 == NULL) SWIG_fail;
7875 temp1 = True;
7876 }
7877 {
7878 PyThreadState* __tstate = wxPyBeginAllowThreads();
7879 wxMemoryFSHandler::RemoveFile((wxString const &)*arg1);
7880
7881 wxPyEndAllowThreads(__tstate);
7882 if (PyErr_Occurred()) SWIG_fail;
7883 }
7884 Py_INCREF(Py_None); resultobj = Py_None;
7885 {
7886 if (temp1)
7887 delete arg1;
7888 }
7889 return resultobj;
7890 fail:
7891 {
7892 if (temp1)
7893 delete arg1;
7894 }
7895 return NULL;
7896}
7897
7898
7899static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7900 PyObject *resultobj;
7901 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7902 wxString *arg2 = 0 ;
7903 bool result;
7904 bool temp2 = False ;
7905 PyObject * obj0 = 0 ;
7906 PyObject * obj1 = 0 ;
7907 char *kwnames[] = {
7908 (char *) "self",(char *) "location", NULL
7909 };
7910
7911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
7912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7914 {
7915 arg2 = wxString_in_helper(obj1);
7916 if (arg2 == NULL) SWIG_fail;
7917 temp2 = True;
7918 }
7919 {
7920 PyThreadState* __tstate = wxPyBeginAllowThreads();
7921 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7922
7923 wxPyEndAllowThreads(__tstate);
7924 if (PyErr_Occurred()) SWIG_fail;
7925 }
7926 {
7927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7928 }
7929 {
7930 if (temp2)
7931 delete arg2;
7932 }
7933 return resultobj;
7934 fail:
7935 {
7936 if (temp2)
7937 delete arg2;
7938 }
7939 return NULL;
7940}
7941
7942
7943static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7944 PyObject *resultobj;
7945 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7946 wxFileSystem *arg2 = 0 ;
7947 wxString *arg3 = 0 ;
7948 wxFSFile *result;
7949 bool temp3 = False ;
7950 PyObject * obj0 = 0 ;
7951 PyObject * obj1 = 0 ;
7952 PyObject * obj2 = 0 ;
7953 char *kwnames[] = {
7954 (char *) "self",(char *) "fs",(char *) "location", NULL
7955 };
7956
7957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
7958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7960 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7961 SWIG_POINTER_EXCEPTION | 0)) == -1)
7962 SWIG_fail;
7963 if (arg2 == NULL) {
7964 PyErr_SetString(PyExc_TypeError,"null reference");
7965 SWIG_fail;
7966 }
7967 {
7968 arg3 = wxString_in_helper(obj2);
7969 if (arg3 == NULL) SWIG_fail;
7970 temp3 = True;
7971 }
7972 {
7973 PyThreadState* __tstate = wxPyBeginAllowThreads();
7974 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7975
7976 wxPyEndAllowThreads(__tstate);
7977 if (PyErr_Occurred()) SWIG_fail;
7978 }
7979 {
7980 resultobj = wxPyMake_wxObject(result);
7981 }
7982 {
7983 if (temp3)
7984 delete arg3;
7985 }
7986 return resultobj;
7987 fail:
7988 {
7989 if (temp3)
7990 delete arg3;
7991 }
7992 return NULL;
7993}
7994
7995
7996static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
7997 PyObject *resultobj;
7998 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7999 wxString *arg2 = 0 ;
8000 int arg3 = (int) 0 ;
8001 wxString result;
8002 bool temp2 = False ;
8003 PyObject * obj0 = 0 ;
8004 PyObject * obj1 = 0 ;
8005 PyObject * obj2 = 0 ;
8006 char *kwnames[] = {
8007 (char *) "self",(char *) "spec",(char *) "flags", NULL
8008 };
8009
8010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
8011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8013 {
8014 arg2 = wxString_in_helper(obj1);
8015 if (arg2 == NULL) SWIG_fail;
8016 temp2 = True;
8017 }
8018 if (obj2) {
8019 arg3 = (int) SWIG_AsInt(obj2);
8020 if (PyErr_Occurred()) SWIG_fail;
8021 }
8022 {
8023 PyThreadState* __tstate = wxPyBeginAllowThreads();
8024 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
8025
8026 wxPyEndAllowThreads(__tstate);
8027 if (PyErr_Occurred()) SWIG_fail;
8028 }
8029 {
8030#if wxUSE_UNICODE
8031 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8032#else
8033 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8034#endif
8035 }
8036 {
8037 if (temp2)
8038 delete arg2;
8039 }
8040 return resultobj;
8041 fail:
8042 {
8043 if (temp2)
8044 delete arg2;
8045 }
8046 return NULL;
8047}
8048
8049
8050static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
8051 PyObject *resultobj;
8052 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8053 wxString result;
8054 PyObject * obj0 = 0 ;
8055 char *kwnames[] = {
8056 (char *) "self", NULL
8057 };
8058
8059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_FindNext",kwnames,&obj0)) goto fail;
8060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8062 {
8063 PyThreadState* __tstate = wxPyBeginAllowThreads();
8064 result = (arg1)->FindNext();
8065
8066 wxPyEndAllowThreads(__tstate);
8067 if (PyErr_Occurred()) SWIG_fail;
8068 }
8069 {
8070#if wxUSE_UNICODE
8071 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8072#else
8073 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8074#endif
8075 }
8076 return resultobj;
8077 fail:
8078 return NULL;
8079}
8080
8081
8082static PyObject * MemoryFSHandler_swigregister(PyObject *self, PyObject *args) {
8083 PyObject *obj;
8084 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8085 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler, obj);
8086 Py_INCREF(obj);
8087 return Py_BuildValue((char *)"");
8088}
8089static PyObject *_wrap_ImageHandler_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8090 PyObject *resultobj;
8091 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8092 wxString result;
8093 PyObject * obj0 = 0 ;
8094 char *kwnames[] = {
8095 (char *) "self", NULL
8096 };
8097
8098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetName",kwnames,&obj0)) goto fail;
8099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8101 {
8102 PyThreadState* __tstate = wxPyBeginAllowThreads();
8103 result = (arg1)->GetName();
8104
8105 wxPyEndAllowThreads(__tstate);
8106 if (PyErr_Occurred()) SWIG_fail;
8107 }
8108 {
8109#if wxUSE_UNICODE
8110 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8111#else
8112 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8113#endif
8114 }
8115 return resultobj;
8116 fail:
8117 return NULL;
8118}
8119
8120
8121static PyObject *_wrap_ImageHandler_GetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
8122 PyObject *resultobj;
8123 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8124 wxString result;
8125 PyObject * obj0 = 0 ;
8126 char *kwnames[] = {
8127 (char *) "self", NULL
8128 };
8129
8130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetExtension",kwnames,&obj0)) goto fail;
8131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8133 {
8134 PyThreadState* __tstate = wxPyBeginAllowThreads();
8135 result = (arg1)->GetExtension();
8136
8137 wxPyEndAllowThreads(__tstate);
8138 if (PyErr_Occurred()) SWIG_fail;
8139 }
8140 {
8141#if wxUSE_UNICODE
8142 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8143#else
8144 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8145#endif
8146 }
8147 return resultobj;
8148 fail:
8149 return NULL;
8150}
8151
8152
8153static PyObject *_wrap_ImageHandler_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
8154 PyObject *resultobj;
8155 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8156 long result;
8157 PyObject * obj0 = 0 ;
8158 char *kwnames[] = {
8159 (char *) "self", NULL
8160 };
8161
8162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetType",kwnames,&obj0)) goto fail;
8163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8165 {
8166 PyThreadState* __tstate = wxPyBeginAllowThreads();
8167 result = (long)(arg1)->GetType();
8168
8169 wxPyEndAllowThreads(__tstate);
8170 if (PyErr_Occurred()) SWIG_fail;
8171 }
8172 resultobj = SWIG_FromLong((long)result);
8173 return resultobj;
8174 fail:
8175 return NULL;
8176}
8177
8178
8179static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
8180 PyObject *resultobj;
8181 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8182 wxString result;
8183 PyObject * obj0 = 0 ;
8184 char *kwnames[] = {
8185 (char *) "self", NULL
8186 };
8187
8188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetMimeType",kwnames,&obj0)) goto fail;
8189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8191 {
8192 PyThreadState* __tstate = wxPyBeginAllowThreads();
8193 result = (arg1)->GetMimeType();
8194
8195 wxPyEndAllowThreads(__tstate);
8196 if (PyErr_Occurred()) SWIG_fail;
8197 }
8198 {
8199#if wxUSE_UNICODE
8200 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8201#else
8202 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8203#endif
8204 }
8205 return resultobj;
8206 fail:
8207 return NULL;
8208}
8209
8210
8211static PyObject *_wrap_ImageHandler_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
8212 PyObject *resultobj;
8213 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8214 wxString *arg2 = 0 ;
8215 bool result;
8216 bool temp2 = False ;
8217 PyObject * obj0 = 0 ;
8218 PyObject * obj1 = 0 ;
8219 char *kwnames[] = {
8220 (char *) "self",(char *) "name", NULL
8221 };
8222
8223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail;
8224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8226 {
8227 arg2 = wxString_in_helper(obj1);
8228 if (arg2 == NULL) SWIG_fail;
8229 temp2 = True;
8230 }
8231 {
8232 PyThreadState* __tstate = wxPyBeginAllowThreads();
8233 result = (bool)(arg1)->CanRead((wxString const &)*arg2);
8234
8235 wxPyEndAllowThreads(__tstate);
8236 if (PyErr_Occurred()) SWIG_fail;
8237 }
8238 {
8239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8240 }
8241 {
8242 if (temp2)
8243 delete arg2;
8244 }
8245 return resultobj;
8246 fail:
8247 {
8248 if (temp2)
8249 delete arg2;
8250 }
8251 return NULL;
8252}
8253
8254
8255static PyObject *_wrap_ImageHandler_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8256 PyObject *resultobj;
8257 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8258 wxString *arg2 = 0 ;
8259 bool temp2 = False ;
8260 PyObject * obj0 = 0 ;
8261 PyObject * obj1 = 0 ;
8262 char *kwnames[] = {
8263 (char *) "self",(char *) "name", NULL
8264 };
8265
8266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail;
8267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8269 {
8270 arg2 = wxString_in_helper(obj1);
8271 if (arg2 == NULL) SWIG_fail;
8272 temp2 = True;
8273 }
8274 {
8275 PyThreadState* __tstate = wxPyBeginAllowThreads();
8276 (arg1)->SetName((wxString const &)*arg2);
8277
8278 wxPyEndAllowThreads(__tstate);
8279 if (PyErr_Occurred()) SWIG_fail;
8280 }
8281 Py_INCREF(Py_None); resultobj = Py_None;
8282 {
8283 if (temp2)
8284 delete arg2;
8285 }
8286 return resultobj;
8287 fail:
8288 {
8289 if (temp2)
8290 delete arg2;
8291 }
8292 return NULL;
8293}
8294
8295
8296static PyObject *_wrap_ImageHandler_SetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
8297 PyObject *resultobj;
8298 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8299 wxString *arg2 = 0 ;
8300 bool temp2 = False ;
8301 PyObject * obj0 = 0 ;
8302 PyObject * obj1 = 0 ;
8303 char *kwnames[] = {
8304 (char *) "self",(char *) "extension", NULL
8305 };
8306
8307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail;
8308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8310 {
8311 arg2 = wxString_in_helper(obj1);
8312 if (arg2 == NULL) SWIG_fail;
8313 temp2 = True;
8314 }
8315 {
8316 PyThreadState* __tstate = wxPyBeginAllowThreads();
8317 (arg1)->SetExtension((wxString const &)*arg2);
8318
8319 wxPyEndAllowThreads(__tstate);
8320 if (PyErr_Occurred()) SWIG_fail;
8321 }
8322 Py_INCREF(Py_None); resultobj = Py_None;
8323 {
8324 if (temp2)
8325 delete arg2;
8326 }
8327 return resultobj;
8328 fail:
8329 {
8330 if (temp2)
8331 delete arg2;
8332 }
8333 return NULL;
8334}
8335
8336
8337static PyObject *_wrap_ImageHandler_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
8338 PyObject *resultobj;
8339 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8340 long arg2 ;
8341 PyObject * obj0 = 0 ;
8342 PyObject * obj1 = 0 ;
8343 char *kwnames[] = {
8344 (char *) "self",(char *) "type", NULL
8345 };
8346
8347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetType",kwnames,&obj0,&obj1)) goto fail;
8348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8350 arg2 = (long) SWIG_AsLong(obj1);
8351 if (PyErr_Occurred()) SWIG_fail;
8352 {
8353 PyThreadState* __tstate = wxPyBeginAllowThreads();
8354 (arg1)->SetType(arg2);
8355
8356 wxPyEndAllowThreads(__tstate);
8357 if (PyErr_Occurred()) SWIG_fail;
8358 }
8359 Py_INCREF(Py_None); resultobj = Py_None;
8360 return resultobj;
8361 fail:
8362 return NULL;
8363}
8364
8365
8366static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
8367 PyObject *resultobj;
8368 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8369 wxString *arg2 = 0 ;
8370 bool temp2 = False ;
8371 PyObject * obj0 = 0 ;
8372 PyObject * obj1 = 0 ;
8373 char *kwnames[] = {
8374 (char *) "self",(char *) "mimetype", NULL
8375 };
8376
8377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetMimeType",kwnames,&obj0,&obj1)) goto fail;
8378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8380 {
8381 arg2 = wxString_in_helper(obj1);
8382 if (arg2 == NULL) SWIG_fail;
8383 temp2 = True;
8384 }
8385 {
8386 PyThreadState* __tstate = wxPyBeginAllowThreads();
8387 (arg1)->SetMimeType((wxString const &)*arg2);
8388
8389 wxPyEndAllowThreads(__tstate);
8390 if (PyErr_Occurred()) SWIG_fail;
8391 }
8392 Py_INCREF(Py_None); resultobj = Py_None;
8393 {
8394 if (temp2)
8395 delete arg2;
8396 }
8397 return resultobj;
8398 fail:
8399 {
8400 if (temp2)
8401 delete arg2;
8402 }
8403 return NULL;
8404}
8405
8406
8407static PyObject * ImageHandler_swigregister(PyObject *self, PyObject *args) {
8408 PyObject *obj;
8409 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8410 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler, obj);
8411 Py_INCREF(obj);
8412 return Py_BuildValue((char *)"");
8413}
8414static PyObject *_wrap_new_ImageHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
8415 PyObject *resultobj;
8416 wxImageHistogram *result;
8417 char *kwnames[] = {
8418 NULL
8419 };
8420
8421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ImageHistogram",kwnames)) goto fail;
8422 {
8423 PyThreadState* __tstate = wxPyBeginAllowThreads();
8424 result = (wxImageHistogram *)new wxImageHistogram();
8425
8426 wxPyEndAllowThreads(__tstate);
8427 if (PyErr_Occurred()) SWIG_fail;
8428 }
8429 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImageHistogram, 1);
8430 return resultobj;
8431 fail:
8432 return NULL;
8433}
8434
8435
8436static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *self, PyObject *args, PyObject *kwargs) {
8437 PyObject *resultobj;
8438 unsigned char arg1 ;
8439 unsigned char arg2 ;
8440 unsigned char arg3 ;
8441 unsigned long result;
8442 PyObject * obj0 = 0 ;
8443 PyObject * obj1 = 0 ;
8444 PyObject * obj2 = 0 ;
8445 char *kwnames[] = {
8446 (char *) "r",(char *) "g",(char *) "b", NULL
8447 };
8448
8449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail;
8450 arg1 = (unsigned char) SWIG_AsUnsignedChar(obj0);
8451 if (PyErr_Occurred()) SWIG_fail;
8452 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
8453 if (PyErr_Occurred()) SWIG_fail;
8454 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
8455 if (PyErr_Occurred()) SWIG_fail;
8456 {
8457 PyThreadState* __tstate = wxPyBeginAllowThreads();
8458 result = (unsigned long)wxImageHistogram::MakeKey(arg1,arg2,arg3);
8459
8460 wxPyEndAllowThreads(__tstate);
8461 if (PyErr_Occurred()) SWIG_fail;
8462 }
8463 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
8464 return resultobj;
8465 fail:
8466 return NULL;
8467}
8468
8469
8470static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8471 PyObject *resultobj;
8472 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
8473 unsigned char *arg2 = (unsigned char *) 0 ;
8474 unsigned char *arg3 = (unsigned char *) 0 ;
8475 unsigned char *arg4 = (unsigned char *) 0 ;
8476 unsigned char arg5 = (unsigned char) 1 ;
8477 unsigned char arg6 = (unsigned char) 0 ;
8478 unsigned char arg7 = (unsigned char) 0 ;
8479 bool result;
8480 unsigned char temp2 ;
8481 unsigned char temp3 ;
8482 unsigned char temp4 ;
8483 PyObject * obj0 = 0 ;
8484 PyObject * obj1 = 0 ;
8485 PyObject * obj2 = 0 ;
8486 PyObject * obj3 = 0 ;
8487 char *kwnames[] = {
8488 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8489 };
8490
8491 arg2 = &temp2;
8492 arg3 = &temp3;
8493 arg4 = &temp4;
8494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHistogram,
8496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8497 if (obj1) {
8498 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj1);
8499 if (PyErr_Occurred()) SWIG_fail;
8500 }
8501 if (obj2) {
8502 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj2);
8503 if (PyErr_Occurred()) SWIG_fail;
8504 }
8505 if (obj3) {
8506 arg7 = (unsigned char) SWIG_AsUnsignedChar(obj3);
8507 if (PyErr_Occurred()) SWIG_fail;
8508 }
8509 {
8510 PyThreadState* __tstate = wxPyBeginAllowThreads();
8511 result = (bool)((wxImageHistogram const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
8512
8513 wxPyEndAllowThreads(__tstate);
8514 if (PyErr_Occurred()) SWIG_fail;
8515 }
8516 {
8517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8518 }
8519 {
8520 PyObject *o = PyInt_FromLong((long) (*arg2));
8521 resultobj = t_output_helper(resultobj,o);
8522 }
8523 {
8524 PyObject *o = PyInt_FromLong((long) (*arg3));
8525 resultobj = t_output_helper(resultobj,o);
8526 }
8527 {
8528 PyObject *o = PyInt_FromLong((long) (*arg4));
8529 resultobj = t_output_helper(resultobj,o);
8530 }
8531 return resultobj;
8532 fail:
8533 return NULL;
8534}
8535
8536
8537static PyObject * ImageHistogram_swigregister(PyObject *self, PyObject *args) {
8538 PyObject *obj;
8539 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8540 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram, obj);
8541 Py_INCREF(obj);
8542 return Py_BuildValue((char *)"");
8543}
8544static PyObject *_wrap_new_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
8545 PyObject *resultobj;
8546 wxString *arg1 = 0 ;
8547 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8548 int arg3 = (int) -1 ;
8549 wxImage *result;
8550 bool temp1 = False ;
8551 PyObject * obj0 = 0 ;
8552 PyObject * obj1 = 0 ;
8553 PyObject * obj2 = 0 ;
8554 char *kwnames[] = {
8555 (char *) "name",(char *) "type",(char *) "index", NULL
8556 };
8557
8558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_Image",kwnames,&obj0,&obj1,&obj2)) goto fail;
8559 {
8560 arg1 = wxString_in_helper(obj0);
8561 if (arg1 == NULL) SWIG_fail;
8562 temp1 = True;
8563 }
8564 if (obj1) {
8565 arg2 = (long) SWIG_AsLong(obj1);
8566 if (PyErr_Occurred()) SWIG_fail;
8567 }
8568 if (obj2) {
8569 arg3 = (int) SWIG_AsInt(obj2);
8570 if (PyErr_Occurred()) SWIG_fail;
8571 }
8572 {
8573 PyThreadState* __tstate = wxPyBeginAllowThreads();
8574 result = (wxImage *)new wxImage((wxString const &)*arg1,arg2,arg3);
8575
8576 wxPyEndAllowThreads(__tstate);
8577 if (PyErr_Occurred()) SWIG_fail;
8578 }
8579 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8580 {
8581 if (temp1)
8582 delete arg1;
8583 }
8584 return resultobj;
8585 fail:
8586 {
8587 if (temp1)
8588 delete arg1;
8589 }
8590 return NULL;
8591}
8592
8593
8594static PyObject *_wrap_delete_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
8595 PyObject *resultobj;
8596 wxImage *arg1 = (wxImage *) 0 ;
8597 PyObject * obj0 = 0 ;
8598 char *kwnames[] = {
8599 (char *) "self", NULL
8600 };
8601
8602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Image",kwnames,&obj0)) goto fail;
8603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8605 {
8606 PyThreadState* __tstate = wxPyBeginAllowThreads();
8607 delete arg1;
8608
8609 wxPyEndAllowThreads(__tstate);
8610 if (PyErr_Occurred()) SWIG_fail;
8611 }
8612 Py_INCREF(Py_None); resultobj = Py_None;
8613 return resultobj;
8614 fail:
8615 return NULL;
8616}
8617
8618
8619static PyObject *_wrap_new_ImageFromMime(PyObject *self, PyObject *args, PyObject *kwargs) {
8620 PyObject *resultobj;
8621 wxString *arg1 = 0 ;
8622 wxString *arg2 = 0 ;
8623 int arg3 = (int) -1 ;
8624 wxImage *result;
8625 bool temp1 = False ;
8626 bool temp2 = False ;
8627 PyObject * obj0 = 0 ;
8628 PyObject * obj1 = 0 ;
8629 PyObject * obj2 = 0 ;
8630 char *kwnames[] = {
8631 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8632 };
8633
8634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
8635 {
8636 arg1 = wxString_in_helper(obj0);
8637 if (arg1 == NULL) SWIG_fail;
8638 temp1 = True;
8639 }
8640 {
8641 arg2 = wxString_in_helper(obj1);
8642 if (arg2 == NULL) SWIG_fail;
8643 temp2 = True;
8644 }
8645 if (obj2) {
8646 arg3 = (int) SWIG_AsInt(obj2);
8647 if (PyErr_Occurred()) SWIG_fail;
8648 }
8649 {
8650 PyThreadState* __tstate = wxPyBeginAllowThreads();
8651 result = (wxImage *)new wxImage((wxString const &)*arg1,(wxString const &)*arg2,arg3);
8652
8653 wxPyEndAllowThreads(__tstate);
8654 if (PyErr_Occurred()) SWIG_fail;
8655 }
8656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8657 {
8658 if (temp1)
8659 delete arg1;
8660 }
8661 {
8662 if (temp2)
8663 delete arg2;
8664 }
8665 return resultobj;
8666 fail:
8667 {
8668 if (temp1)
8669 delete arg1;
8670 }
8671 {
8672 if (temp2)
8673 delete arg2;
8674 }
8675 return NULL;
8676}
8677
8678
8679static PyObject *_wrap_new_ImageFromStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8680 PyObject *resultobj;
8681 wxInputStream *arg1 = 0 ;
8682 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8683 int arg3 = (int) -1 ;
8684 wxImage *result;
8685 wxPyInputStream *temp1 ;
8686 bool created1 ;
8687 PyObject * obj0 = 0 ;
8688 PyObject * obj1 = 0 ;
8689 PyObject * obj2 = 0 ;
8690 char *kwnames[] = {
8691 (char *) "stream",(char *) "type",(char *) "index", NULL
8692 };
8693
8694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_ImageFromStream",kwnames,&obj0,&obj1,&obj2)) goto fail;
8695 {
8696 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8697 arg1 = temp1->m_wxis;
8698 created1 = False;
8699 } else {
8700 PyErr_Clear(); // clear the failure of the wxPyConvert above
8701 arg1 = wxPyCBInputStream_create(obj0, False);
8702 if (arg1 == NULL) {
8703 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8704 SWIG_fail;
8705 }
8706 created1 = True;
8707 }
8708 }
8709 if (obj1) {
8710 arg2 = (long) SWIG_AsLong(obj1);
8711 if (PyErr_Occurred()) SWIG_fail;
8712 }
8713 if (obj2) {
8714 arg3 = (int) SWIG_AsInt(obj2);
8715 if (PyErr_Occurred()) SWIG_fail;
8716 }
8717 {
8718 PyThreadState* __tstate = wxPyBeginAllowThreads();
8719 result = (wxImage *)new wxImage(*arg1,arg2,arg3);
8720
8721 wxPyEndAllowThreads(__tstate);
8722 if (PyErr_Occurred()) SWIG_fail;
8723 }
8724 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8725 {
8726 if (created1)
8727 delete arg1;
8728 }
8729 return resultobj;
8730 fail:
8731 {
8732 if (created1)
8733 delete arg1;
8734 }
8735 return NULL;
8736}
8737
8738
8739static PyObject *_wrap_new_ImageFromStreamMime(PyObject *self, PyObject *args, PyObject *kwargs) {
8740 PyObject *resultobj;
8741 wxInputStream *arg1 = 0 ;
8742 wxString *arg2 = 0 ;
8743 int arg3 = (int) -1 ;
8744 wxImage *result;
8745 wxPyInputStream *temp1 ;
8746 bool created1 ;
8747 bool temp2 = False ;
8748 PyObject * obj0 = 0 ;
8749 PyObject * obj1 = 0 ;
8750 PyObject * obj2 = 0 ;
8751 char *kwnames[] = {
8752 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8753 };
8754
8755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromStreamMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
8756 {
8757 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8758 arg1 = temp1->m_wxis;
8759 created1 = False;
8760 } else {
8761 PyErr_Clear(); // clear the failure of the wxPyConvert above
8762 arg1 = wxPyCBInputStream_create(obj0, False);
8763 if (arg1 == NULL) {
8764 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8765 SWIG_fail;
8766 }
8767 created1 = True;
8768 }
8769 }
8770 {
8771 arg2 = wxString_in_helper(obj1);
8772 if (arg2 == NULL) SWIG_fail;
8773 temp2 = True;
8774 }
8775 if (obj2) {
8776 arg3 = (int) SWIG_AsInt(obj2);
8777 if (PyErr_Occurred()) SWIG_fail;
8778 }
8779 {
8780 PyThreadState* __tstate = wxPyBeginAllowThreads();
8781 result = (wxImage *)new wxImage(*arg1,(wxString const &)*arg2,arg3);
8782
8783 wxPyEndAllowThreads(__tstate);
8784 if (PyErr_Occurred()) SWIG_fail;
8785 }
8786 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8787 {
8788 if (created1)
8789 delete arg1;
8790 }
8791 {
8792 if (temp2)
8793 delete arg2;
8794 }
8795 return resultobj;
8796 fail:
8797 {
8798 if (created1)
8799 delete arg1;
8800 }
8801 {
8802 if (temp2)
8803 delete arg2;
8804 }
8805 return NULL;
8806}
8807
8808
d6c14a4c 8809static PyObject *_wrap_new_EmptyImage(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8810 PyObject *resultobj;
8811 int arg1 = (int) 0 ;
8812 int arg2 = (int) 0 ;
8813 bool arg3 = (bool) True ;
8814 wxImage *result;
8815 PyObject * obj0 = 0 ;
8816 PyObject * obj1 = 0 ;
8817 PyObject * obj2 = 0 ;
d6c14a4c
RD
8818 char *kwnames[] = {
8819 (char *) "width",(char *) "height",(char *) "clear", NULL
8820 };
d55e5bfc 8821
d6c14a4c 8822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_EmptyImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
d55e5bfc
RD
8823 if (obj0) {
8824 arg1 = (int) SWIG_AsInt(obj0);
8825 if (PyErr_Occurred()) SWIG_fail;
8826 }
8827 if (obj1) {
8828 arg2 = (int) SWIG_AsInt(obj1);
8829 if (PyErr_Occurred()) SWIG_fail;
8830 }
8831 if (obj2) {
8832 arg3 = (bool) SWIG_AsBool(obj2);
8833 if (PyErr_Occurred()) SWIG_fail;
8834 }
8835 {
8836 PyThreadState* __tstate = wxPyBeginAllowThreads();
d6c14a4c 8837 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
d55e5bfc
RD
8838
8839 wxPyEndAllowThreads(__tstate);
8840 if (PyErr_Occurred()) SWIG_fail;
8841 }
8842 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8843 return resultobj;
8844 fail:
8845 return NULL;
8846}
8847
8848
d55e5bfc
RD
8849static PyObject *_wrap_new_ImageFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8850 PyObject *resultobj;
8851 wxBitmap *arg1 = 0 ;
8852 wxImage *result;
8853 PyObject * obj0 = 0 ;
8854 char *kwnames[] = {
8855 (char *) "bitmap", NULL
8856 };
8857
8858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ImageFromBitmap",kwnames,&obj0)) goto fail;
8859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
8860 SWIG_POINTER_EXCEPTION | 0)) == -1)
8861 SWIG_fail;
8862 if (arg1 == NULL) {
8863 PyErr_SetString(PyExc_TypeError,"null reference");
8864 SWIG_fail;
8865 }
8866 {
8867 PyThreadState* __tstate = wxPyBeginAllowThreads();
8868 result = (wxImage *)new_wxImage((wxBitmap const &)*arg1);
8869
8870 wxPyEndAllowThreads(__tstate);
8871 if (PyErr_Occurred()) SWIG_fail;
8872 }
8873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8874 return resultobj;
8875 fail:
8876 return NULL;
8877}
8878
8879
8880static PyObject *_wrap_new_ImageFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
8881 PyObject *resultobj;
8882 int arg1 ;
8883 int arg2 ;
8884 unsigned char *arg3 = (unsigned char *) 0 ;
8885 wxImage *result;
8886 PyObject * obj0 = 0 ;
8887 PyObject * obj1 = 0 ;
8888 PyObject * obj2 = 0 ;
8889 char *kwnames[] = {
8890 (char *) "width",(char *) "height",(char *) "data", NULL
8891 };
8892
8893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ImageFromData",kwnames,&obj0,&obj1,&obj2)) goto fail;
8894 arg1 = (int) SWIG_AsInt(obj0);
8895 if (PyErr_Occurred()) SWIG_fail;
8896 arg2 = (int) SWIG_AsInt(obj1);
8897 if (PyErr_Occurred()) SWIG_fail;
8898 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_unsigned_char,
8899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8900 {
8901 PyThreadState* __tstate = wxPyBeginAllowThreads();
8902 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
8903
8904 wxPyEndAllowThreads(__tstate);
8905 if (PyErr_Occurred()) SWIG_fail;
8906 }
8907 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8908 return resultobj;
8909 fail:
8910 return NULL;
8911}
8912
8913
8914static PyObject *_wrap_Image_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8915 PyObject *resultobj;
8916 wxImage *arg1 = (wxImage *) 0 ;
8917 int arg2 ;
8918 int arg3 ;
8919 PyObject * obj0 = 0 ;
8920 PyObject * obj1 = 0 ;
8921 PyObject * obj2 = 0 ;
8922 char *kwnames[] = {
8923 (char *) "self",(char *) "width",(char *) "height", NULL
8924 };
8925
8926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8929 arg2 = (int) SWIG_AsInt(obj1);
8930 if (PyErr_Occurred()) SWIG_fail;
8931 arg3 = (int) SWIG_AsInt(obj2);
8932 if (PyErr_Occurred()) SWIG_fail;
8933 {
8934 PyThreadState* __tstate = wxPyBeginAllowThreads();
8935 (arg1)->Create(arg2,arg3);
8936
8937 wxPyEndAllowThreads(__tstate);
8938 if (PyErr_Occurred()) SWIG_fail;
8939 }
8940 Py_INCREF(Py_None); resultobj = Py_None;
8941 return resultobj;
8942 fail:
8943 return NULL;
8944}
8945
8946
8947static PyObject *_wrap_Image_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
8948 PyObject *resultobj;
8949 wxImage *arg1 = (wxImage *) 0 ;
8950 PyObject * obj0 = 0 ;
8951 char *kwnames[] = {
8952 (char *) "self", NULL
8953 };
8954
8955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail;
8956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8958 {
8959 PyThreadState* __tstate = wxPyBeginAllowThreads();
8960 (arg1)->Destroy();
8961
8962 wxPyEndAllowThreads(__tstate);
8963 if (PyErr_Occurred()) SWIG_fail;
8964 }
8965 Py_INCREF(Py_None); resultobj = Py_None;
8966 return resultobj;
8967 fail:
8968 return NULL;
8969}
8970
8971
8972static PyObject *_wrap_Image_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
8973 PyObject *resultobj;
8974 wxImage *arg1 = (wxImage *) 0 ;
8975 int arg2 ;
8976 int arg3 ;
8977 SwigValueWrapper< wxImage > result;
8978 PyObject * obj0 = 0 ;
8979 PyObject * obj1 = 0 ;
8980 PyObject * obj2 = 0 ;
8981 char *kwnames[] = {
8982 (char *) "self",(char *) "width",(char *) "height", NULL
8983 };
8984
8985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
8986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8988 arg2 = (int) SWIG_AsInt(obj1);
8989 if (PyErr_Occurred()) SWIG_fail;
8990 arg3 = (int) SWIG_AsInt(obj2);
8991 if (PyErr_Occurred()) SWIG_fail;
8992 {
8993 PyThreadState* __tstate = wxPyBeginAllowThreads();
8994 result = (arg1)->Scale(arg2,arg3);
8995
8996 wxPyEndAllowThreads(__tstate);
8997 if (PyErr_Occurred()) SWIG_fail;
8998 }
8999 {
9000 wxImage * resultptr;
9001 resultptr = new wxImage((wxImage &) result);
9002 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
9003 }
9004 return resultobj;
9005 fail:
9006 return NULL;
9007}
9008
9009
9010static PyObject *_wrap_Image_ShrinkBy(PyObject *self, PyObject *args, PyObject *kwargs) {
9011 PyObject *resultobj;
9012 wxImage *arg1 = (wxImage *) 0 ;
9013 int arg2 ;
9014 int arg3 ;
9015 SwigValueWrapper< wxImage > result;
9016 PyObject * obj0 = 0 ;
9017 PyObject * obj1 = 0 ;
9018 PyObject * obj2 = 0 ;
9019 char *kwnames[] = {
9020 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9021 };
9022
9023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_ShrinkBy",kwnames,&obj0,&obj1,&obj2)) goto fail;
9024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9026 arg2 = (int) SWIG_AsInt(obj1);
9027 if (PyErr_Occurred()) SWIG_fail;
9028 arg3 = (int) SWIG_AsInt(obj2);
9029 if (PyErr_Occurred()) SWIG_fail;
9030 {
9031 PyThreadState* __tstate = wxPyBeginAllowThreads();
9032 result = ((wxImage const *)arg1)->ShrinkBy(arg2,arg3);
9033
9034 wxPyEndAllowThreads(__tstate);
9035 if (PyErr_Occurred()) SWIG_fail;
9036 }
9037 {
9038 wxImage * resultptr;
9039 resultptr = new wxImage((wxImage &) result);
9040 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
9041 }
9042 return resultobj;
9043 fail:
9044 return NULL;
9045}
9046
9047
9048static PyObject *_wrap_Image_Rescale(PyObject *self, PyObject *args, PyObject *kwargs) {
9049 PyObject *resultobj;
9050 wxImage *arg1 = (wxImage *) 0 ;
9051 int arg2 ;
9052 int arg3 ;
9053 wxImage *result;
9054 PyObject * obj0 = 0 ;
9055 PyObject * obj1 = 0 ;
9056 PyObject * obj2 = 0 ;
9057 char *kwnames[] = {
9058 (char *) "self",(char *) "width",(char *) "height", NULL
9059 };
9060
9061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Rescale",kwnames,&obj0,&obj1,&obj2)) goto fail;
9062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9064 arg2 = (int) SWIG_AsInt(obj1);
9065 if (PyErr_Occurred()) SWIG_fail;
9066 arg3 = (int) SWIG_AsInt(obj2);
9067 if (PyErr_Occurred()) SWIG_fail;
9068 {
9069 PyThreadState* __tstate = wxPyBeginAllowThreads();
9070 {
9071 wxImage &_result_ref = (arg1)->Rescale(arg2,arg3);
9072 result = (wxImage *) &_result_ref;
9073 }
9074
9075 wxPyEndAllowThreads(__tstate);
9076 if (PyErr_Occurred()) SWIG_fail;
9077 }
9078 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 0);
9079 return resultobj;
9080 fail:
9081 return NULL;
9082}
9083
9084
9085static PyObject *_wrap_Image_SetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
9086 PyObject *resultobj;
9087 wxImage *arg1 = (wxImage *) 0 ;
9088 int arg2 ;
9089 int arg3 ;
9090 unsigned char arg4 ;
9091 unsigned char arg5 ;
9092 unsigned char arg6 ;
9093 PyObject * obj0 = 0 ;
9094 PyObject * obj1 = 0 ;
9095 PyObject * obj2 = 0 ;
9096 PyObject * obj3 = 0 ;
9097 PyObject * obj4 = 0 ;
9098 PyObject * obj5 = 0 ;
9099 char *kwnames[] = {
9100 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9101 };
9102
9103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Image_SetRGB",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9106 arg2 = (int) SWIG_AsInt(obj1);
9107 if (PyErr_Occurred()) SWIG_fail;
9108 arg3 = (int) SWIG_AsInt(obj2);
9109 if (PyErr_Occurred()) SWIG_fail;
9110 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
9111 if (PyErr_Occurred()) SWIG_fail;
9112 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj4);
9113 if (PyErr_Occurred()) SWIG_fail;
9114 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj5);
9115 if (PyErr_Occurred()) SWIG_fail;
9116 {
9117 PyThreadState* __tstate = wxPyBeginAllowThreads();
9118 (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
9119
9120 wxPyEndAllowThreads(__tstate);
9121 if (PyErr_Occurred()) SWIG_fail;
9122 }
9123 Py_INCREF(Py_None); resultobj = Py_None;
9124 return resultobj;
9125 fail:
9126 return NULL;
9127}
9128
9129
9130static PyObject *_wrap_Image_GetRed(PyObject *self, PyObject *args, PyObject *kwargs) {
9131 PyObject *resultobj;
9132 wxImage *arg1 = (wxImage *) 0 ;
9133 int arg2 ;
9134 int arg3 ;
9135 unsigned char result;
9136 PyObject * obj0 = 0 ;
9137 PyObject * obj1 = 0 ;
9138 PyObject * obj2 = 0 ;
9139 char *kwnames[] = {
9140 (char *) "self",(char *) "x",(char *) "y", NULL
9141 };
9142
9143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetRed",kwnames,&obj0,&obj1,&obj2)) goto fail;
9144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9146 arg2 = (int) SWIG_AsInt(obj1);
9147 if (PyErr_Occurred()) SWIG_fail;
9148 arg3 = (int) SWIG_AsInt(obj2);
9149 if (PyErr_Occurred()) SWIG_fail;
9150 {
9151 PyThreadState* __tstate = wxPyBeginAllowThreads();
9152 result = (unsigned char)(arg1)->GetRed(arg2,arg3);
9153
9154 wxPyEndAllowThreads(__tstate);
9155 if (PyErr_Occurred()) SWIG_fail;
9156 }
9157 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
9158 return resultobj;
9159 fail:
9160 return NULL;
9161}
9162
9163
9164static PyObject *_wrap_Image_GetGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
9165 PyObject *resultobj;
9166 wxImage *arg1 = (wxImage *) 0 ;
9167 int arg2 ;
9168 int arg3 ;
9169 unsigned char result;
9170 PyObject * obj0 = 0 ;
9171 PyObject * obj1 = 0 ;
9172 PyObject * obj2 = 0 ;
9173 char *kwnames[] = {
9174 (char *) "self",(char *) "x",(char *) "y", NULL
9175 };
9176
9177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetGreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
9178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9180 arg2 = (int) SWIG_AsInt(obj1);
9181 if (PyErr_Occurred()) SWIG_fail;
9182 arg3 = (int) SWIG_AsInt(obj2);
9183 if (PyErr_Occurred()) SWIG_fail;
9184 {
9185 PyThreadState* __tstate = wxPyBeginAllowThreads();
9186 result = (unsigned char)(arg1)->GetGreen(arg2,arg3);
9187
9188 wxPyEndAllowThreads(__tstate);
9189 if (PyErr_Occurred()) SWIG_fail;
9190 }
9191 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
9192 return resultobj;
9193 fail:
9194 return NULL;
9195}
9196
9197
9198static PyObject *_wrap_Image_GetBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
9199 PyObject *resultobj;
9200 wxImage *arg1 = (wxImage *) 0 ;
9201 int arg2 ;
9202 int arg3 ;
9203 unsigned char result;
9204 PyObject * obj0 = 0 ;
9205 PyObject * obj1 = 0 ;
9206 PyObject * obj2 = 0 ;
9207 char *kwnames[] = {
9208 (char *) "self",(char *) "x",(char *) "y", NULL
9209 };
9210
9211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetBlue",kwnames,&obj0,&obj1,&obj2)) goto fail;
9212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9214 arg2 = (int) SWIG_AsInt(obj1);
9215 if (PyErr_Occurred()) SWIG_fail;
9216 arg3 = (int) SWIG_AsInt(obj2);
9217 if (PyErr_Occurred()) SWIG_fail;
9218 {
9219 PyThreadState* __tstate = wxPyBeginAllowThreads();
9220 result = (unsigned char)(arg1)->GetBlue(arg2,arg3);
9221
9222 wxPyEndAllowThreads(__tstate);
9223 if (PyErr_Occurred()) SWIG_fail;
9224 }
9225 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
9226 return resultobj;
9227 fail:
9228 return NULL;
9229}
9230
9231
9232static PyObject *_wrap_Image_SetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9233 PyObject *resultobj;
9234 wxImage *arg1 = (wxImage *) 0 ;
9235 int arg2 ;
9236 int arg3 ;
9237 unsigned char arg4 ;
9238 PyObject * obj0 = 0 ;
9239 PyObject * obj1 = 0 ;
9240 PyObject * obj2 = 0 ;
9241 PyObject * obj3 = 0 ;
9242 char *kwnames[] = {
9243 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9244 };
9245
9246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9249 arg2 = (int) SWIG_AsInt(obj1);
9250 if (PyErr_Occurred()) SWIG_fail;
9251 arg3 = (int) SWIG_AsInt(obj2);
9252 if (PyErr_Occurred()) SWIG_fail;
9253 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
9254 if (PyErr_Occurred()) SWIG_fail;
9255 {
9256 PyThreadState* __tstate = wxPyBeginAllowThreads();
9257 (arg1)->SetAlpha(arg2,arg3,arg4);
9258
9259 wxPyEndAllowThreads(__tstate);
9260 if (PyErr_Occurred()) SWIG_fail;
9261 }
9262 Py_INCREF(Py_None); resultobj = Py_None;
9263 return resultobj;
9264 fail:
9265 return NULL;
9266}
9267
9268
9269static PyObject *_wrap_Image_GetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9270 PyObject *resultobj;
9271 wxImage *arg1 = (wxImage *) 0 ;
9272 int arg2 ;
9273 int arg3 ;
9274 unsigned char result;
9275 PyObject * obj0 = 0 ;
9276 PyObject * obj1 = 0 ;
9277 PyObject * obj2 = 0 ;
9278 char *kwnames[] = {
9279 (char *) "self",(char *) "x",(char *) "y", NULL
9280 };
9281
9282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetAlpha",kwnames,&obj0,&obj1,&obj2)) goto fail;
9283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9285 arg2 = (int) SWIG_AsInt(obj1);
9286 if (PyErr_Occurred()) SWIG_fail;
9287 arg3 = (int) SWIG_AsInt(obj2);
9288 if (PyErr_Occurred()) SWIG_fail;
9289 {
9290 PyThreadState* __tstate = wxPyBeginAllowThreads();
9291 result = (unsigned char)(arg1)->GetAlpha(arg2,arg3);
9292
9293 wxPyEndAllowThreads(__tstate);
9294 if (PyErr_Occurred()) SWIG_fail;
9295 }
9296 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
9297 return resultobj;
9298 fail:
9299 return NULL;
9300}
9301
9302
9303static PyObject *_wrap_Image_HasAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9304 PyObject *resultobj;
9305 wxImage *arg1 = (wxImage *) 0 ;
9306 bool result;
9307 PyObject * obj0 = 0 ;
9308 char *kwnames[] = {
9309 (char *) "self", NULL
9310 };
9311
9312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail;
9313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9315 {
9316 PyThreadState* __tstate = wxPyBeginAllowThreads();
9317 result = (bool)(arg1)->HasAlpha();
9318
9319 wxPyEndAllowThreads(__tstate);
9320 if (PyErr_Occurred()) SWIG_fail;
9321 }
9322 {
9323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9324 }
9325 return resultobj;
9326 fail:
9327 return NULL;
9328}
9329
9330
9331static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9332 PyObject *resultobj;
9333 wxImage *arg1 = (wxImage *) 0 ;
9334 byte *arg2 = (byte *) 0 ;
9335 byte *arg3 = (byte *) 0 ;
9336 byte *arg4 = (byte *) 0 ;
9337 byte arg5 = (byte) 0 ;
9338 byte arg6 = (byte) 0 ;
9339 byte arg7 = (byte) 0 ;
9340 bool result;
9341 byte temp2 ;
9342 byte temp3 ;
9343 byte temp4 ;
9344 PyObject * obj0 = 0 ;
9345 PyObject * obj1 = 0 ;
9346 PyObject * obj2 = 0 ;
9347 PyObject * obj3 = 0 ;
9348 char *kwnames[] = {
9349 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9350 };
9351
9352 arg2 = &temp2;
9353 arg3 = &temp3;
9354 arg4 = &temp4;
9355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9358 if (obj1) {
9359 arg5 = (byte) SWIG_AsUnsignedChar(obj1);
9360 if (PyErr_Occurred()) SWIG_fail;
9361 }
9362 if (obj2) {
9363 arg6 = (byte) SWIG_AsUnsignedChar(obj2);
9364 if (PyErr_Occurred()) SWIG_fail;
9365 }
9366 if (obj3) {
9367 arg7 = (byte) SWIG_AsUnsignedChar(obj3);
9368 if (PyErr_Occurred()) SWIG_fail;
9369 }
9370 {
9371 PyThreadState* __tstate = wxPyBeginAllowThreads();
9372 result = (bool)((wxImage const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
9373
9374 wxPyEndAllowThreads(__tstate);
9375 if (PyErr_Occurred()) SWIG_fail;
9376 }
9377 {
9378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9379 }
9380 {
9381 PyObject *o = PyInt_FromLong((long) (*arg2));
9382 resultobj = t_output_helper(resultobj,o);
9383 }
9384 {
9385 PyObject *o = PyInt_FromLong((long) (*arg3));
9386 resultobj = t_output_helper(resultobj,o);
9387 }
9388 {
9389 PyObject *o = PyInt_FromLong((long) (*arg4));
9390 resultobj = t_output_helper(resultobj,o);
9391 }
9392 return resultobj;
9393 fail:
9394 return NULL;
9395}
9396
9397
9398static PyObject *_wrap_Image_SetMaskFromImage(PyObject *self, PyObject *args, PyObject *kwargs) {
9399 PyObject *resultobj;
9400 wxImage *arg1 = (wxImage *) 0 ;
9401 wxImage *arg2 = 0 ;
9402 byte arg3 ;
9403 byte arg4 ;
9404 byte arg5 ;
9405 bool result;
9406 PyObject * obj0 = 0 ;
9407 PyObject * obj1 = 0 ;
9408 PyObject * obj2 = 0 ;
9409 PyObject * obj3 = 0 ;
9410 PyObject * obj4 = 0 ;
9411 char *kwnames[] = {
9412 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9413 };
9414
9415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
9416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9418 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
9419 SWIG_POINTER_EXCEPTION | 0)) == -1)
9420 SWIG_fail;
9421 if (arg2 == NULL) {
9422 PyErr_SetString(PyExc_TypeError,"null reference");
9423 SWIG_fail;
9424 }
9425 arg3 = (byte) SWIG_AsUnsignedChar(obj2);
9426 if (PyErr_Occurred()) SWIG_fail;
9427 arg4 = (byte) SWIG_AsUnsignedChar(obj3);
9428 if (PyErr_Occurred()) SWIG_fail;
9429 arg5 = (byte) SWIG_AsUnsignedChar(obj4);
9430 if (PyErr_Occurred()) SWIG_fail;
9431 {
9432 PyThreadState* __tstate = wxPyBeginAllowThreads();
9433 result = (bool)(arg1)->SetMaskFromImage((wxImage const &)*arg2,arg3,arg4,arg5);
9434
9435 wxPyEndAllowThreads(__tstate);
9436 if (PyErr_Occurred()) SWIG_fail;
9437 }
9438 {
9439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9440 }
9441 return resultobj;
9442 fail:
9443 return NULL;
9444}
9445
9446
9447static PyObject *_wrap_Image_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
9448 PyObject *resultobj;
9449 wxString *arg1 = 0 ;
9450 bool result;
9451 bool temp1 = False ;
9452 PyObject * obj0 = 0 ;
9453 char *kwnames[] = {
9454 (char *) "name", NULL
9455 };
9456
9457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
9458 {
9459 arg1 = wxString_in_helper(obj0);
9460 if (arg1 == NULL) SWIG_fail;
9461 temp1 = True;
9462 }
9463 {
9464 PyThreadState* __tstate = wxPyBeginAllowThreads();
9465 result = (bool)wxImage::CanRead((wxString const &)*arg1);
9466
9467 wxPyEndAllowThreads(__tstate);
9468 if (PyErr_Occurred()) SWIG_fail;
9469 }
9470 {
9471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9472 }
9473 {
9474 if (temp1)
9475 delete arg1;
9476 }
9477 return resultobj;
9478 fail:
9479 {
9480 if (temp1)
9481 delete arg1;
9482 }
9483 return NULL;
9484}
9485
9486
9487static PyObject *_wrap_Image_GetImageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9488 PyObject *resultobj;
9489 wxString *arg1 = 0 ;
9490 long arg2 = (long) wxBITMAP_TYPE_ANY ;
9491 int result;
9492 bool temp1 = False ;
9493 PyObject * obj0 = 0 ;
9494 PyObject * obj1 = 0 ;
9495 char *kwnames[] = {
9496 (char *) "name",(char *) "type", NULL
9497 };
9498
9499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_GetImageCount",kwnames,&obj0,&obj1)) goto fail;
9500 {
9501 arg1 = wxString_in_helper(obj0);
9502 if (arg1 == NULL) SWIG_fail;
9503 temp1 = True;
9504 }
9505 if (obj1) {
9506 arg2 = (long) SWIG_AsLong(obj1);
9507 if (PyErr_Occurred()) SWIG_fail;
9508 }
9509 {
9510 PyThreadState* __tstate = wxPyBeginAllowThreads();
9511 result = (int)wxImage::GetImageCount((wxString const &)*arg1,arg2);
9512
9513 wxPyEndAllowThreads(__tstate);
9514 if (PyErr_Occurred()) SWIG_fail;
9515 }
9516 resultobj = SWIG_FromInt((int)result);
9517 {
9518 if (temp1)
9519 delete arg1;
9520 }
9521 return resultobj;
9522 fail:
9523 {
9524 if (temp1)
9525 delete arg1;
9526 }
9527 return NULL;
9528}
9529
9530
9531static PyObject *_wrap_Image_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9532 PyObject *resultobj;
9533 wxImage *arg1 = (wxImage *) 0 ;
9534 wxString *arg2 = 0 ;
9535 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9536 int arg4 = (int) -1 ;
9537 bool result;
9538 bool temp2 = False ;
9539 PyObject * obj0 = 0 ;
9540 PyObject * obj1 = 0 ;
9541 PyObject * obj2 = 0 ;
9542 PyObject * obj3 = 0 ;
9543 char *kwnames[] = {
9544 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9545 };
9546
9547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9550 {
9551 arg2 = wxString_in_helper(obj1);
9552 if (arg2 == NULL) SWIG_fail;
9553 temp2 = True;
9554 }
9555 if (obj2) {
9556 arg3 = (long) SWIG_AsLong(obj2);
9557 if (PyErr_Occurred()) SWIG_fail;
9558 }
9559 if (obj3) {
9560 arg4 = (int) SWIG_AsInt(obj3);
9561 if (PyErr_Occurred()) SWIG_fail;
9562 }
9563 {
9564 PyThreadState* __tstate = wxPyBeginAllowThreads();
9565 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3,arg4);
9566
9567 wxPyEndAllowThreads(__tstate);
9568 if (PyErr_Occurred()) SWIG_fail;
9569 }
9570 {
9571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9572 }
9573 {
9574 if (temp2)
9575 delete arg2;
9576 }
9577 return resultobj;
9578 fail:
9579 {
9580 if (temp2)
9581 delete arg2;
9582 }
9583 return NULL;
9584}
9585
9586
9587static PyObject *_wrap_Image_LoadMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9588 PyObject *resultobj;
9589 wxImage *arg1 = (wxImage *) 0 ;
9590 wxString *arg2 = 0 ;
9591 wxString *arg3 = 0 ;
9592 int arg4 = (int) -1 ;
9593 bool result;
9594 bool temp2 = False ;
9595 bool temp3 = False ;
9596 PyObject * obj0 = 0 ;
9597 PyObject * obj1 = 0 ;
9598 PyObject * obj2 = 0 ;
9599 PyObject * obj3 = 0 ;
9600 char *kwnames[] = {
9601 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9602 };
9603
9604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9607 {
9608 arg2 = wxString_in_helper(obj1);
9609 if (arg2 == NULL) SWIG_fail;
9610 temp2 = True;
9611 }
9612 {
9613 arg3 = wxString_in_helper(obj2);
9614 if (arg3 == NULL) SWIG_fail;
9615 temp3 = True;
9616 }
9617 if (obj3) {
9618 arg4 = (int) SWIG_AsInt(obj3);
9619 if (PyErr_Occurred()) SWIG_fail;
9620 }
9621 {
9622 PyThreadState* __tstate = wxPyBeginAllowThreads();
9623 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9624
9625 wxPyEndAllowThreads(__tstate);
9626 if (PyErr_Occurred()) SWIG_fail;
9627 }
9628 {
9629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9630 }
9631 {
9632 if (temp2)
9633 delete arg2;
9634 }
9635 {
9636 if (temp3)
9637 delete arg3;
9638 }
9639 return resultobj;
9640 fail:
9641 {
9642 if (temp2)
9643 delete arg2;
9644 }
9645 {
9646 if (temp3)
9647 delete arg3;
9648 }
9649 return NULL;
9650}
9651
9652
9653static PyObject *_wrap_Image_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9654 PyObject *resultobj;
9655 wxImage *arg1 = (wxImage *) 0 ;
9656 wxString *arg2 = 0 ;
9657 int arg3 ;
9658 bool result;
9659 bool temp2 = False ;
9660 PyObject * obj0 = 0 ;
9661 PyObject * obj1 = 0 ;
9662 PyObject * obj2 = 0 ;
9663 char *kwnames[] = {
9664 (char *) "self",(char *) "name",(char *) "type", NULL
9665 };
9666
9667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
9668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9670 {
9671 arg2 = wxString_in_helper(obj1);
9672 if (arg2 == NULL) SWIG_fail;
9673 temp2 = True;
9674 }
9675 arg3 = (int) SWIG_AsInt(obj2);
9676 if (PyErr_Occurred()) SWIG_fail;
9677 {
9678 PyThreadState* __tstate = wxPyBeginAllowThreads();
9679 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
9680
9681 wxPyEndAllowThreads(__tstate);
9682 if (PyErr_Occurred()) SWIG_fail;
9683 }
9684 {
9685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9686 }
9687 {
9688 if (temp2)
9689 delete arg2;
9690 }
9691 return resultobj;
9692 fail:
9693 {
9694 if (temp2)
9695 delete arg2;
9696 }
9697 return NULL;
9698}
9699
9700
9701static PyObject *_wrap_Image_SaveMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9702 PyObject *resultobj;
9703 wxImage *arg1 = (wxImage *) 0 ;
9704 wxString *arg2 = 0 ;
9705 wxString *arg3 = 0 ;
9706 bool result;
9707 bool temp2 = False ;
9708 bool temp3 = False ;
9709 PyObject * obj0 = 0 ;
9710 PyObject * obj1 = 0 ;
9711 PyObject * obj2 = 0 ;
9712 char *kwnames[] = {
9713 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9714 };
9715
9716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
9717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9719 {
9720 arg2 = wxString_in_helper(obj1);
9721 if (arg2 == NULL) SWIG_fail;
9722 temp2 = True;
9723 }
9724 {
9725 arg3 = wxString_in_helper(obj2);
9726 if (arg3 == NULL) SWIG_fail;
9727 temp3 = True;
9728 }
9729 {
9730 PyThreadState* __tstate = wxPyBeginAllowThreads();
9731 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxString const &)*arg3);
9732
9733 wxPyEndAllowThreads(__tstate);
9734 if (PyErr_Occurred()) SWIG_fail;
9735 }
9736 {
9737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9738 }
9739 {
9740 if (temp2)
9741 delete arg2;
9742 }
9743 {
9744 if (temp3)
9745 delete arg3;
9746 }
9747 return resultobj;
9748 fail:
9749 {
9750 if (temp2)
9751 delete arg2;
9752 }
9753 {
9754 if (temp3)
9755 delete arg3;
9756 }
9757 return NULL;
9758}
9759
9760
9761static PyObject *_wrap_Image_CanReadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9762 PyObject *resultobj;
9763 wxInputStream *arg1 = 0 ;
9764 bool result;
9765 wxPyInputStream *temp1 ;
9766 bool created1 ;
9767 PyObject * obj0 = 0 ;
9768 char *kwnames[] = {
9769 (char *) "stream", NULL
9770 };
9771
9772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail;
9773 {
9774 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
9775 arg1 = temp1->m_wxis;
9776 created1 = False;
9777 } else {
9778 PyErr_Clear(); // clear the failure of the wxPyConvert above
9779 arg1 = wxPyCBInputStream_create(obj0, False);
9780 if (arg1 == NULL) {
9781 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9782 SWIG_fail;
9783 }
9784 created1 = True;
9785 }
9786 }
9787 {
9788 PyThreadState* __tstate = wxPyBeginAllowThreads();
9789 result = (bool)wxImage::CanRead(*arg1);
9790
9791 wxPyEndAllowThreads(__tstate);
9792 if (PyErr_Occurred()) SWIG_fail;
9793 }
9794 {
9795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9796 }
9797 {
9798 if (created1)
9799 delete arg1;
9800 }
9801 return resultobj;
9802 fail:
9803 {
9804 if (created1)
9805 delete arg1;
9806 }
9807 return NULL;
9808}
9809
9810
9811static PyObject *_wrap_Image_LoadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9812 PyObject *resultobj;
9813 wxImage *arg1 = (wxImage *) 0 ;
9814 wxInputStream *arg2 = 0 ;
9815 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9816 int arg4 = (int) -1 ;
9817 bool result;
9818 wxPyInputStream *temp2 ;
9819 bool created2 ;
9820 PyObject * obj0 = 0 ;
9821 PyObject * obj1 = 0 ;
9822 PyObject * obj2 = 0 ;
9823 PyObject * obj3 = 0 ;
9824 char *kwnames[] = {
9825 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9826 };
9827
9828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9831 {
9832 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9833 arg2 = temp2->m_wxis;
9834 created2 = False;
9835 } else {
9836 PyErr_Clear(); // clear the failure of the wxPyConvert above
9837 arg2 = wxPyCBInputStream_create(obj1, False);
9838 if (arg2 == NULL) {
9839 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9840 SWIG_fail;
9841 }
9842 created2 = True;
9843 }
9844 }
9845 if (obj2) {
9846 arg3 = (long) SWIG_AsLong(obj2);
9847 if (PyErr_Occurred()) SWIG_fail;
9848 }
9849 if (obj3) {
9850 arg4 = (int) SWIG_AsInt(obj3);
9851 if (PyErr_Occurred()) SWIG_fail;
9852 }
9853 {
9854 PyThreadState* __tstate = wxPyBeginAllowThreads();
9855 result = (bool)(arg1)->LoadFile(*arg2,arg3,arg4);
9856
9857 wxPyEndAllowThreads(__tstate);
9858 if (PyErr_Occurred()) SWIG_fail;
9859 }
9860 {
9861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9862 }
9863 {
9864 if (created2)
9865 delete arg2;
9866 }
9867 return resultobj;
9868 fail:
9869 {
9870 if (created2)
9871 delete arg2;
9872 }
9873 return NULL;
9874}
9875
9876
9877static PyObject *_wrap_Image_LoadMimeStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9878 PyObject *resultobj;
9879 wxImage *arg1 = (wxImage *) 0 ;
9880 wxInputStream *arg2 = 0 ;
9881 wxString *arg3 = 0 ;
9882 int arg4 = (int) -1 ;
9883 bool result;
9884 wxPyInputStream *temp2 ;
9885 bool created2 ;
9886 bool temp3 = False ;
9887 PyObject * obj0 = 0 ;
9888 PyObject * obj1 = 0 ;
9889 PyObject * obj2 = 0 ;
9890 PyObject * obj3 = 0 ;
9891 char *kwnames[] = {
9892 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9893 };
9894
9895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9898 {
9899 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9900 arg2 = temp2->m_wxis;
9901 created2 = False;
9902 } else {
9903 PyErr_Clear(); // clear the failure of the wxPyConvert above
9904 arg2 = wxPyCBInputStream_create(obj1, False);
9905 if (arg2 == NULL) {
9906 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9907 SWIG_fail;
9908 }
9909 created2 = True;
9910 }
9911 }
9912 {
9913 arg3 = wxString_in_helper(obj2);
9914 if (arg3 == NULL) SWIG_fail;
9915 temp3 = True;
9916 }
9917 if (obj3) {
9918 arg4 = (int) SWIG_AsInt(obj3);
9919 if (PyErr_Occurred()) SWIG_fail;
9920 }
9921 {
9922 PyThreadState* __tstate = wxPyBeginAllowThreads();
9923 result = (bool)(arg1)->LoadFile(*arg2,(wxString const &)*arg3,arg4);
9924
9925 wxPyEndAllowThreads(__tstate);
9926 if (PyErr_Occurred()) SWIG_fail;
9927 }
9928 {
9929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9930 }
9931 {
9932 if (created2)
9933 delete arg2;
9934 }
9935 {
9936 if (temp3)
9937 delete arg3;
9938 }
9939 return resultobj;
9940 fail:
9941 {
9942 if (created2)
9943 delete arg2;
9944 }
9945 {
9946 if (temp3)
9947 delete arg3;
9948 }
9949 return NULL;
9950}
9951
9952
9953static PyObject *_wrap_Image_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
9954 PyObject *resultobj;
9955 wxImage *arg1 = (wxImage *) 0 ;
9956 bool result;
9957 PyObject * obj0 = 0 ;
9958 char *kwnames[] = {
9959 (char *) "self", NULL
9960 };
9961
9962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail;
9963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9965 {
9966 PyThreadState* __tstate = wxPyBeginAllowThreads();
9967 result = (bool)(arg1)->Ok();
9968
9969 wxPyEndAllowThreads(__tstate);
9970 if (PyErr_Occurred()) SWIG_fail;
9971 }
9972 {
9973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9974 }
9975 return resultobj;
9976 fail:
9977 return NULL;
9978}
9979
9980
9981static PyObject *_wrap_Image_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9982 PyObject *resultobj;
9983 wxImage *arg1 = (wxImage *) 0 ;
9984 int result;
9985 PyObject * obj0 = 0 ;
9986 char *kwnames[] = {
9987 (char *) "self", NULL
9988 };
9989
9990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail;
9991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9993 {
9994 PyThreadState* __tstate = wxPyBeginAllowThreads();
9995 result = (int)(arg1)->GetWidth();
9996
9997 wxPyEndAllowThreads(__tstate);
9998 if (PyErr_Occurred()) SWIG_fail;
9999 }
10000 resultobj = SWIG_FromInt((int)result);
10001 return resultobj;
10002 fail:
10003 return NULL;
10004}
10005
10006
10007static PyObject *_wrap_Image_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
10008 PyObject *resultobj;
10009 wxImage *arg1 = (wxImage *) 0 ;
10010 int result;
10011 PyObject * obj0 = 0 ;
10012 char *kwnames[] = {
10013 (char *) "self", NULL
10014 };
10015
10016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) goto fail;
10017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10019 {
10020 PyThreadState* __tstate = wxPyBeginAllowThreads();
10021 result = (int)(arg1)->GetHeight();
10022
10023 wxPyEndAllowThreads(__tstate);
10024 if (PyErr_Occurred()) SWIG_fail;
10025 }
10026 resultobj = SWIG_FromInt((int)result);
10027 return resultobj;
10028 fail:
10029 return NULL;
10030}
10031
10032
10033static PyObject *_wrap_Image_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10034 PyObject *resultobj;
10035 wxImage *arg1 = (wxImage *) 0 ;
10036 wxSize result;
10037 PyObject * obj0 = 0 ;
10038 char *kwnames[] = {
10039 (char *) "self", NULL
10040 };
10041
10042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetSize",kwnames,&obj0)) goto fail;
10043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10045 {
10046 PyThreadState* __tstate = wxPyBeginAllowThreads();
10047 result = wxImage_GetSize(arg1);
10048
10049 wxPyEndAllowThreads(__tstate);
10050 if (PyErr_Occurred()) SWIG_fail;
10051 }
10052 {
10053 wxSize * resultptr;
10054 resultptr = new wxSize((wxSize &) result);
10055 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
10056 }
10057 return resultobj;
10058 fail:
10059 return NULL;
10060}
10061
10062
10063static PyObject *_wrap_Image_GetSubImage(PyObject *self, PyObject *args, PyObject *kwargs) {
10064 PyObject *resultobj;
10065 wxImage *arg1 = (wxImage *) 0 ;
10066 wxRect *arg2 = 0 ;
10067 SwigValueWrapper< wxImage > result;
10068 wxRect temp2 ;
10069 PyObject * obj0 = 0 ;
10070 PyObject * obj1 = 0 ;
10071 char *kwnames[] = {
10072 (char *) "self",(char *) "rect", NULL
10073 };
10074
10075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail;
10076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10078 {
10079 arg2 = &temp2;
10080 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10081 }
10082 {
10083 PyThreadState* __tstate = wxPyBeginAllowThreads();
10084 result = (arg1)->GetSubImage((wxRect const &)*arg2);
10085
10086 wxPyEndAllowThreads(__tstate);
10087 if (PyErr_Occurred()) SWIG_fail;
10088 }
10089 {
10090 wxImage * resultptr;
10091 resultptr = new wxImage((wxImage &) result);
10092 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
10093 }
10094 return resultobj;
10095 fail:
10096 return NULL;
10097}
10098
10099
10100static PyObject *_wrap_Image_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
10101 PyObject *resultobj;
10102 wxImage *arg1 = (wxImage *) 0 ;
10103 SwigValueWrapper< wxImage > result;
10104 PyObject * obj0 = 0 ;
10105 char *kwnames[] = {
10106 (char *) "self", NULL
10107 };
10108
10109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail;
10110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10112 {
10113 PyThreadState* __tstate = wxPyBeginAllowThreads();
10114 result = (arg1)->Copy();
10115
10116 wxPyEndAllowThreads(__tstate);
10117 if (PyErr_Occurred()) SWIG_fail;
10118 }
10119 {
10120 wxImage * resultptr;
10121 resultptr = new wxImage((wxImage &) result);
10122 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
10123 }
10124 return resultobj;
10125 fail:
10126 return NULL;
10127}
10128
10129
10130static PyObject *_wrap_Image_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
10131 PyObject *resultobj;
10132 wxImage *arg1 = (wxImage *) 0 ;
10133 wxImage *arg2 = 0 ;
10134 int arg3 ;
10135 int arg4 ;
10136 PyObject * obj0 = 0 ;
10137 PyObject * obj1 = 0 ;
10138 PyObject * obj2 = 0 ;
10139 PyObject * obj3 = 0 ;
10140 char *kwnames[] = {
10141 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10142 };
10143
10144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_Paste",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10147 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
10148 SWIG_POINTER_EXCEPTION | 0)) == -1)
10149 SWIG_fail;
10150 if (arg2 == NULL) {
10151 PyErr_SetString(PyExc_TypeError,"null reference");
10152 SWIG_fail;
10153 }
10154 arg3 = (int) SWIG_AsInt(obj2);
10155 if (PyErr_Occurred()) SWIG_fail;
10156 arg4 = (int) SWIG_AsInt(obj3);
10157 if (PyErr_Occurred()) SWIG_fail;
10158 {
10159 PyThreadState* __tstate = wxPyBeginAllowThreads();
10160 (arg1)->Paste((wxImage const &)*arg2,arg3,arg4);
10161
10162 wxPyEndAllowThreads(__tstate);
10163 if (PyErr_Occurred()) SWIG_fail;
10164 }
10165 Py_INCREF(Py_None); resultobj = Py_None;
10166 return resultobj;
10167 fail:
10168 return NULL;
10169}
10170
10171
10172static PyObject *_wrap_Image_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
10173 PyObject *resultobj;
10174 wxImage *arg1 = (wxImage *) 0 ;
10175 PyObject *result;
10176 PyObject * obj0 = 0 ;
10177 char *kwnames[] = {
10178 (char *) "self", NULL
10179 };
10180
10181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) goto fail;
10182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10184 {
10185 PyThreadState* __tstate = wxPyBeginAllowThreads();
10186 result = (PyObject *)wxImage_GetData(arg1);
10187
10188 wxPyEndAllowThreads(__tstate);
10189 if (PyErr_Occurred()) SWIG_fail;
10190 }
10191 resultobj = result;
10192 return resultobj;
10193 fail:
10194 return NULL;
10195}
10196
10197
10198static PyObject *_wrap_Image_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
10199 PyObject *resultobj;
10200 wxImage *arg1 = (wxImage *) 0 ;
10201 PyObject *arg2 = (PyObject *) 0 ;
10202 PyObject * obj0 = 0 ;
10203 PyObject * obj1 = 0 ;
10204 char *kwnames[] = {
10205 (char *) "self",(char *) "data", NULL
10206 };
10207
10208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail;
10209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10211 arg2 = obj1;
10212 {
10213 PyThreadState* __tstate = wxPyBeginAllowThreads();
10214 wxImage_SetData(arg1,arg2);
10215
10216 wxPyEndAllowThreads(__tstate);
10217 if (PyErr_Occurred()) SWIG_fail;
10218 }
10219 Py_INCREF(Py_None); resultobj = Py_None;
10220 return resultobj;
10221 fail:
10222 return NULL;
10223}
10224
10225
10226static PyObject *_wrap_Image_GetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10227 PyObject *resultobj;
10228 wxImage *arg1 = (wxImage *) 0 ;
10229 PyObject *result;
10230 PyObject * obj0 = 0 ;
10231 char *kwnames[] = {
10232 (char *) "self", NULL
10233 };
10234
10235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail;
10236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10238 {
10239 PyThreadState* __tstate = wxPyBeginAllowThreads();
10240 result = (PyObject *)wxImage_GetDataBuffer(arg1);
10241
10242 wxPyEndAllowThreads(__tstate);
10243 if (PyErr_Occurred()) SWIG_fail;
10244 }
10245 resultobj = result;
10246 return resultobj;
10247 fail:
10248 return NULL;
10249}
10250
10251
10252static PyObject *_wrap_Image_SetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10253 PyObject *resultobj;
10254 wxImage *arg1 = (wxImage *) 0 ;
10255 PyObject *arg2 = (PyObject *) 0 ;
10256 PyObject * obj0 = 0 ;
10257 PyObject * obj1 = 0 ;
10258 char *kwnames[] = {
10259 (char *) "self",(char *) "data", NULL
10260 };
10261
10262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail;
10263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10265 arg2 = obj1;
10266 {
10267 PyThreadState* __tstate = wxPyBeginAllowThreads();
10268 wxImage_SetDataBuffer(arg1,arg2);
10269
10270 wxPyEndAllowThreads(__tstate);
10271 if (PyErr_Occurred()) SWIG_fail;
10272 }
10273 Py_INCREF(Py_None); resultobj = Py_None;
10274 return resultobj;
10275 fail:
10276 return NULL;
10277}
10278
10279
10280static PyObject *_wrap_Image_GetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
10281 PyObject *resultobj;
10282 wxImage *arg1 = (wxImage *) 0 ;
10283 PyObject *result;
10284 PyObject * obj0 = 0 ;
10285 char *kwnames[] = {
10286 (char *) "self", NULL
10287 };
10288
10289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail;
10290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10292 {
10293 PyThreadState* __tstate = wxPyBeginAllowThreads();
10294 result = (PyObject *)wxImage_GetAlphaData(arg1);
10295
10296 wxPyEndAllowThreads(__tstate);
10297 if (PyErr_Occurred()) SWIG_fail;
10298 }
10299 resultobj = result;
10300 return resultobj;
10301 fail:
10302 return NULL;
10303}
10304
10305
10306static PyObject *_wrap_Image_SetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
10307 PyObject *resultobj;
10308 wxImage *arg1 = (wxImage *) 0 ;
10309 PyObject *arg2 = (PyObject *) 0 ;
10310 PyObject * obj0 = 0 ;
10311 PyObject * obj1 = 0 ;
10312 char *kwnames[] = {
10313 (char *) "self",(char *) "data", NULL
10314 };
10315
10316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail;
10317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10319 arg2 = obj1;
10320 {
10321 PyThreadState* __tstate = wxPyBeginAllowThreads();
10322 wxImage_SetAlphaData(arg1,arg2);
10323
10324 wxPyEndAllowThreads(__tstate);
10325 if (PyErr_Occurred()) SWIG_fail;
10326 }
10327 Py_INCREF(Py_None); resultobj = Py_None;
10328 return resultobj;
10329 fail:
10330 return NULL;
10331}
10332
10333
10334static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10335 PyObject *resultobj;
10336 wxImage *arg1 = (wxImage *) 0 ;
10337 PyObject *result;
10338 PyObject * obj0 = 0 ;
10339 char *kwnames[] = {
10340 (char *) "self", NULL
10341 };
10342
10343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail;
10344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10346 {
10347 PyThreadState* __tstate = wxPyBeginAllowThreads();
10348 result = (PyObject *)wxImage_GetAlphaBuffer(arg1);
10349
10350 wxPyEndAllowThreads(__tstate);
10351 if (PyErr_Occurred()) SWIG_fail;
10352 }
10353 resultobj = result;
10354 return resultobj;
10355 fail:
10356 return NULL;
10357}
10358
10359
10360static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10361 PyObject *resultobj;
10362 wxImage *arg1 = (wxImage *) 0 ;
10363 PyObject *arg2 = (PyObject *) 0 ;
10364 PyObject * obj0 = 0 ;
10365 PyObject * obj1 = 0 ;
10366 char *kwnames[] = {
10367 (char *) "self",(char *) "data", NULL
10368 };
10369
10370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail;
10371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10373 arg2 = obj1;
10374 {
10375 PyThreadState* __tstate = wxPyBeginAllowThreads();
10376 wxImage_SetAlphaBuffer(arg1,arg2);
10377
10378 wxPyEndAllowThreads(__tstate);
10379 if (PyErr_Occurred()) SWIG_fail;
10380 }
10381 Py_INCREF(Py_None); resultobj = Py_None;
10382 return resultobj;
10383 fail:
10384 return NULL;
10385}
10386
10387
10388static PyObject *_wrap_Image_SetMaskColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10389 PyObject *resultobj;
10390 wxImage *arg1 = (wxImage *) 0 ;
10391 unsigned char arg2 ;
10392 unsigned char arg3 ;
10393 unsigned char arg4 ;
10394 PyObject * obj0 = 0 ;
10395 PyObject * obj1 = 0 ;
10396 PyObject * obj2 = 0 ;
10397 PyObject * obj3 = 0 ;
10398 char *kwnames[] = {
10399 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10400 };
10401
10402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10405 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10406 if (PyErr_Occurred()) SWIG_fail;
10407 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10408 if (PyErr_Occurred()) SWIG_fail;
10409 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10410 if (PyErr_Occurred()) SWIG_fail;
10411 {
10412 PyThreadState* __tstate = wxPyBeginAllowThreads();
10413 (arg1)->SetMaskColour(arg2,arg3,arg4);
10414
10415 wxPyEndAllowThreads(__tstate);
10416 if (PyErr_Occurred()) SWIG_fail;
10417 }
10418 Py_INCREF(Py_None); resultobj = Py_None;
10419 return resultobj;
10420 fail:
10421 return NULL;
10422}
10423
10424
10425static PyObject *_wrap_Image_GetMaskRed(PyObject *self, PyObject *args, PyObject *kwargs) {
10426 PyObject *resultobj;
10427 wxImage *arg1 = (wxImage *) 0 ;
10428 unsigned char result;
10429 PyObject * obj0 = 0 ;
10430 char *kwnames[] = {
10431 (char *) "self", NULL
10432 };
10433
10434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail;
10435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10437 {
10438 PyThreadState* __tstate = wxPyBeginAllowThreads();
10439 result = (unsigned char)(arg1)->GetMaskRed();
10440
10441 wxPyEndAllowThreads(__tstate);
10442 if (PyErr_Occurred()) SWIG_fail;
10443 }
10444 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
10445 return resultobj;
10446 fail:
10447 return NULL;
10448}
10449
10450
10451static PyObject *_wrap_Image_GetMaskGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
10452 PyObject *resultobj;
10453 wxImage *arg1 = (wxImage *) 0 ;
10454 unsigned char result;
10455 PyObject * obj0 = 0 ;
10456 char *kwnames[] = {
10457 (char *) "self", NULL
10458 };
10459
10460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail;
10461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10463 {
10464 PyThreadState* __tstate = wxPyBeginAllowThreads();
10465 result = (unsigned char)(arg1)->GetMaskGreen();
10466
10467 wxPyEndAllowThreads(__tstate);
10468 if (PyErr_Occurred()) SWIG_fail;
10469 }
10470 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
10471 return resultobj;
10472 fail:
10473 return NULL;
10474}
10475
10476
10477static PyObject *_wrap_Image_GetMaskBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
10478 PyObject *resultobj;
10479 wxImage *arg1 = (wxImage *) 0 ;
10480 unsigned char result;
10481 PyObject * obj0 = 0 ;
10482 char *kwnames[] = {
10483 (char *) "self", NULL
10484 };
10485
10486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail;
10487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10489 {
10490 PyThreadState* __tstate = wxPyBeginAllowThreads();
10491 result = (unsigned char)(arg1)->GetMaskBlue();
10492
10493 wxPyEndAllowThreads(__tstate);
10494 if (PyErr_Occurred()) SWIG_fail;
10495 }
10496 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
10497 return resultobj;
10498 fail:
10499 return NULL;
10500}
10501
10502
10503static PyObject *_wrap_Image_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
10504 PyObject *resultobj;
10505 wxImage *arg1 = (wxImage *) 0 ;
10506 bool arg2 = (bool) True ;
10507 PyObject * obj0 = 0 ;
10508 PyObject * obj1 = 0 ;
10509 char *kwnames[] = {
10510 (char *) "self",(char *) "mask", NULL
10511 };
10512
10513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail;
10514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10516 if (obj1) {
10517 arg2 = (bool) SWIG_AsBool(obj1);
10518 if (PyErr_Occurred()) SWIG_fail;
10519 }
10520 {
10521 PyThreadState* __tstate = wxPyBeginAllowThreads();
10522 (arg1)->SetMask(arg2);
10523
10524 wxPyEndAllowThreads(__tstate);
10525 if (PyErr_Occurred()) SWIG_fail;
10526 }
10527 Py_INCREF(Py_None); resultobj = Py_None;
10528 return resultobj;
10529 fail:
10530 return NULL;
10531}
10532
10533
10534static PyObject *_wrap_Image_HasMask(PyObject *self, PyObject *args, PyObject *kwargs) {
10535 PyObject *resultobj;
10536 wxImage *arg1 = (wxImage *) 0 ;
10537 bool result;
10538 PyObject * obj0 = 0 ;
10539 char *kwnames[] = {
10540 (char *) "self", NULL
10541 };
10542
10543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail;
10544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10546 {
10547 PyThreadState* __tstate = wxPyBeginAllowThreads();
10548 result = (bool)(arg1)->HasMask();
10549
10550 wxPyEndAllowThreads(__tstate);
10551 if (PyErr_Occurred()) SWIG_fail;
10552 }
10553 {
10554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10555 }
10556 return resultobj;
10557 fail:
10558 return NULL;
10559}
10560
10561
10562static PyObject *_wrap_Image_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
10563 PyObject *resultobj;
10564 wxImage *arg1 = (wxImage *) 0 ;
10565 double arg2 ;
10566 wxPoint *arg3 = 0 ;
10567 bool arg4 = (bool) True ;
10568 wxPoint *arg5 = (wxPoint *) NULL ;
10569 SwigValueWrapper< wxImage > result;
10570 wxPoint temp3 ;
10571 PyObject * obj0 = 0 ;
10572 PyObject * obj1 = 0 ;
10573 PyObject * obj2 = 0 ;
10574 PyObject * obj3 = 0 ;
10575 PyObject * obj4 = 0 ;
10576 char *kwnames[] = {
10577 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10578 };
10579
10580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Image_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
10581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10583 arg2 = (double) SWIG_AsDouble(obj1);
10584 if (PyErr_Occurred()) SWIG_fail;
10585 {
10586 arg3 = &temp3;
10587 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10588 }
10589 if (obj3) {
10590 arg4 = (bool) SWIG_AsBool(obj3);
10591 if (PyErr_Occurred()) SWIG_fail;
10592 }
10593 if (obj4) {
10594 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPoint,
10595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10596 }
10597 {
10598 PyThreadState* __tstate = wxPyBeginAllowThreads();
10599 result = ((wxImage const *)arg1)->Rotate(arg2,(wxPoint const &)*arg3,arg4,arg5);
10600
10601 wxPyEndAllowThreads(__tstate);
10602 if (PyErr_Occurred()) SWIG_fail;
10603 }
10604 {
10605 wxImage * resultptr;
10606 resultptr = new wxImage((wxImage &) result);
10607 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
10608 }
10609 return resultobj;
10610 fail:
10611 return NULL;
10612}
10613
10614
10615static PyObject *_wrap_Image_Rotate90(PyObject *self, PyObject *args, PyObject *kwargs) {
10616 PyObject *resultobj;
10617 wxImage *arg1 = (wxImage *) 0 ;
10618 bool arg2 = (bool) True ;
10619 SwigValueWrapper< wxImage > result;
10620 PyObject * obj0 = 0 ;
10621 PyObject * obj1 = 0 ;
10622 char *kwnames[] = {
10623 (char *) "self",(char *) "clockwise", NULL
10624 };
10625
10626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail;
10627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10629 if (obj1) {
10630 arg2 = (bool) SWIG_AsBool(obj1);
10631 if (PyErr_Occurred()) SWIG_fail;
10632 }
10633 {
10634 PyThreadState* __tstate = wxPyBeginAllowThreads();
10635 result = (arg1)->Rotate90(arg2);
10636
10637 wxPyEndAllowThreads(__tstate);
10638 if (PyErr_Occurred()) SWIG_fail;
10639 }
10640 {
10641 wxImage * resultptr;
10642 resultptr = new wxImage((wxImage &) result);
10643 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
10644 }
10645 return resultobj;
10646 fail:
10647 return NULL;
10648}
10649
10650
10651static PyObject *_wrap_Image_Mirror(PyObject *self, PyObject *args, PyObject *kwargs) {
10652 PyObject *resultobj;
10653 wxImage *arg1 = (wxImage *) 0 ;
10654 bool arg2 = (bool) True ;
10655 SwigValueWrapper< wxImage > result;
10656 PyObject * obj0 = 0 ;
10657 PyObject * obj1 = 0 ;
10658 char *kwnames[] = {
10659 (char *) "self",(char *) "horizontally", NULL
10660 };
10661
10662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail;
10663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10665 if (obj1) {
10666 arg2 = (bool) SWIG_AsBool(obj1);
10667 if (PyErr_Occurred()) SWIG_fail;
10668 }
10669 {
10670 PyThreadState* __tstate = wxPyBeginAllowThreads();
10671 result = (arg1)->Mirror(arg2);
10672
10673 wxPyEndAllowThreads(__tstate);
10674 if (PyErr_Occurred()) SWIG_fail;
10675 }
10676 {
10677 wxImage * resultptr;
10678 resultptr = new wxImage((wxImage &) result);
10679 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
10680 }
10681 return resultobj;
10682 fail:
10683 return NULL;
10684}
10685
10686
10687static PyObject *_wrap_Image_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
10688 PyObject *resultobj;
10689 wxImage *arg1 = (wxImage *) 0 ;
10690 unsigned char arg2 ;
10691 unsigned char arg3 ;
10692 unsigned char arg4 ;
10693 unsigned char arg5 ;
10694 unsigned char arg6 ;
10695 unsigned char arg7 ;
10696 PyObject * obj0 = 0 ;
10697 PyObject * obj1 = 0 ;
10698 PyObject * obj2 = 0 ;
10699 PyObject * obj3 = 0 ;
10700 PyObject * obj4 = 0 ;
10701 PyObject * obj5 = 0 ;
10702 PyObject * obj6 = 0 ;
10703 char *kwnames[] = {
10704 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10705 };
10706
10707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10710 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10711 if (PyErr_Occurred()) SWIG_fail;
10712 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10713 if (PyErr_Occurred()) SWIG_fail;
10714 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10715 if (PyErr_Occurred()) SWIG_fail;
10716 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj4);
10717 if (PyErr_Occurred()) SWIG_fail;
10718 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj5);
10719 if (PyErr_Occurred()) SWIG_fail;
10720 arg7 = (unsigned char) SWIG_AsUnsignedChar(obj6);
10721 if (PyErr_Occurred()) SWIG_fail;
10722 {
10723 PyThreadState* __tstate = wxPyBeginAllowThreads();
10724 (arg1)->Replace(arg2,arg3,arg4,arg5,arg6,arg7);
10725
10726 wxPyEndAllowThreads(__tstate);
10727 if (PyErr_Occurred()) SWIG_fail;
10728 }
10729 Py_INCREF(Py_None); resultobj = Py_None;
10730 return resultobj;
10731 fail:
10732 return NULL;
10733}
10734
10735
10736static PyObject *_wrap_Image_ConvertToMono(PyObject *self, PyObject *args, PyObject *kwargs) {
10737 PyObject *resultobj;
10738 wxImage *arg1 = (wxImage *) 0 ;
10739 unsigned char arg2 ;
10740 unsigned char arg3 ;
10741 unsigned char arg4 ;
10742 SwigValueWrapper< wxImage > result;
10743 PyObject * obj0 = 0 ;
10744 PyObject * obj1 = 0 ;
10745 PyObject * obj2 = 0 ;
10746 PyObject * obj3 = 0 ;
10747 char *kwnames[] = {
10748 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10749 };
10750
10751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10754 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10755 if (PyErr_Occurred()) SWIG_fail;
10756 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10757 if (PyErr_Occurred()) SWIG_fail;
10758 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10759 if (PyErr_Occurred()) SWIG_fail;
10760 {
10761 PyThreadState* __tstate = wxPyBeginAllowThreads();
10762 result = ((wxImage const *)arg1)->ConvertToMono(arg2,arg3,arg4);
10763
10764 wxPyEndAllowThreads(__tstate);
10765 if (PyErr_Occurred()) SWIG_fail;
10766 }
10767 {
10768 wxImage * resultptr;
10769 resultptr = new wxImage((wxImage &) result);
10770 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
10771 }
10772 return resultobj;
10773 fail:
10774 return NULL;
10775}
10776
10777
10778static PyObject *_wrap_Image_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10779 PyObject *resultobj;
10780 wxImage *arg1 = (wxImage *) 0 ;
10781 wxString *arg2 = 0 ;
10782 wxString *arg3 = 0 ;
10783 bool temp2 = False ;
10784 bool temp3 = False ;
10785 PyObject * obj0 = 0 ;
10786 PyObject * obj1 = 0 ;
10787 PyObject * obj2 = 0 ;
10788 char *kwnames[] = {
10789 (char *) "self",(char *) "name",(char *) "value", NULL
10790 };
10791
10792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail;
10793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10795 {
10796 arg2 = wxString_in_helper(obj1);
10797 if (arg2 == NULL) SWIG_fail;
10798 temp2 = True;
10799 }
10800 {
10801 arg3 = wxString_in_helper(obj2);
10802 if (arg3 == NULL) SWIG_fail;
10803 temp3 = True;
10804 }
10805 {
10806 PyThreadState* __tstate = wxPyBeginAllowThreads();
10807 (arg1)->SetOption((wxString const &)*arg2,(wxString const &)*arg3);
10808
10809 wxPyEndAllowThreads(__tstate);
10810 if (PyErr_Occurred()) SWIG_fail;
10811 }
10812 Py_INCREF(Py_None); resultobj = Py_None;
10813 {
10814 if (temp2)
10815 delete arg2;
10816 }
10817 {
10818 if (temp3)
10819 delete arg3;
10820 }
10821 return resultobj;
10822 fail:
10823 {
10824 if (temp2)
10825 delete arg2;
10826 }
10827 {
10828 if (temp3)
10829 delete arg3;
10830 }
10831 return NULL;
10832}
10833
10834
10835static PyObject *_wrap_Image_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
10836 PyObject *resultobj;
10837 wxImage *arg1 = (wxImage *) 0 ;
10838 wxString *arg2 = 0 ;
10839 int arg3 ;
10840 bool temp2 = False ;
10841 PyObject * obj0 = 0 ;
10842 PyObject * obj1 = 0 ;
10843 PyObject * obj2 = 0 ;
10844 char *kwnames[] = {
10845 (char *) "self",(char *) "name",(char *) "value", NULL
10846 };
10847
10848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOptionInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
10849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10851 {
10852 arg2 = wxString_in_helper(obj1);
10853 if (arg2 == NULL) SWIG_fail;
10854 temp2 = True;
10855 }
10856 arg3 = (int) SWIG_AsInt(obj2);
10857 if (PyErr_Occurred()) SWIG_fail;
10858 {
10859 PyThreadState* __tstate = wxPyBeginAllowThreads();
10860 (arg1)->SetOption((wxString const &)*arg2,arg3);
10861
10862 wxPyEndAllowThreads(__tstate);
10863 if (PyErr_Occurred()) SWIG_fail;
10864 }
10865 Py_INCREF(Py_None); resultobj = Py_None;
10866 {
10867 if (temp2)
10868 delete arg2;
10869 }
10870 return resultobj;
10871 fail:
10872 {
10873 if (temp2)
10874 delete arg2;
10875 }
10876 return NULL;
10877}
10878
10879
10880static PyObject *_wrap_Image_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10881 PyObject *resultobj;
10882 wxImage *arg1 = (wxImage *) 0 ;
10883 wxString *arg2 = 0 ;
10884 wxString result;
10885 bool temp2 = False ;
10886 PyObject * obj0 = 0 ;
10887 PyObject * obj1 = 0 ;
10888 char *kwnames[] = {
10889 (char *) "self",(char *) "name", NULL
10890 };
10891
10892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail;
10893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10895 {
10896 arg2 = wxString_in_helper(obj1);
10897 if (arg2 == NULL) SWIG_fail;
10898 temp2 = True;
10899 }
10900 {
10901 PyThreadState* __tstate = wxPyBeginAllowThreads();
10902 result = ((wxImage const *)arg1)->GetOption((wxString const &)*arg2);
10903
10904 wxPyEndAllowThreads(__tstate);
10905 if (PyErr_Occurred()) SWIG_fail;
10906 }
10907 {
10908#if wxUSE_UNICODE
10909 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10910#else
10911 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10912#endif
10913 }
10914 {
10915 if (temp2)
10916 delete arg2;
10917 }
10918 return resultobj;
10919 fail:
10920 {
10921 if (temp2)
10922 delete arg2;
10923 }
10924 return NULL;
10925}
10926
10927
10928static PyObject *_wrap_Image_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
10929 PyObject *resultobj;
10930 wxImage *arg1 = (wxImage *) 0 ;
10931 wxString *arg2 = 0 ;
10932 int result;
10933 bool temp2 = False ;
10934 PyObject * obj0 = 0 ;
10935 PyObject * obj1 = 0 ;
10936 char *kwnames[] = {
10937 (char *) "self",(char *) "name", NULL
10938 };
10939
10940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail;
10941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10943 {
10944 arg2 = wxString_in_helper(obj1);
10945 if (arg2 == NULL) SWIG_fail;
10946 temp2 = True;
10947 }
10948 {
10949 PyThreadState* __tstate = wxPyBeginAllowThreads();
10950 result = (int)((wxImage const *)arg1)->GetOptionInt((wxString const &)*arg2);
10951
10952 wxPyEndAllowThreads(__tstate);
10953 if (PyErr_Occurred()) SWIG_fail;
10954 }
10955 resultobj = SWIG_FromInt((int)result);
10956 {
10957 if (temp2)
10958 delete arg2;
10959 }
10960 return resultobj;
10961 fail:
10962 {
10963 if (temp2)
10964 delete arg2;
10965 }
10966 return NULL;
10967}
10968
10969
10970static PyObject *_wrap_Image_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10971 PyObject *resultobj;
10972 wxImage *arg1 = (wxImage *) 0 ;
10973 wxString *arg2 = 0 ;
10974 bool result;
10975 bool temp2 = False ;
10976 PyObject * obj0 = 0 ;
10977 PyObject * obj1 = 0 ;
10978 char *kwnames[] = {
10979 (char *) "self",(char *) "name", NULL
10980 };
10981
10982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail;
10983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10985 {
10986 arg2 = wxString_in_helper(obj1);
10987 if (arg2 == NULL) SWIG_fail;
10988 temp2 = True;
10989 }
10990 {
10991 PyThreadState* __tstate = wxPyBeginAllowThreads();
10992 result = (bool)((wxImage const *)arg1)->HasOption((wxString const &)*arg2);
10993
10994 wxPyEndAllowThreads(__tstate);
10995 if (PyErr_Occurred()) SWIG_fail;
10996 }
10997 {
10998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10999 }
11000 {
11001 if (temp2)
11002 delete arg2;
11003 }
11004 return resultobj;
11005 fail:
11006 {
11007 if (temp2)
11008 delete arg2;
11009 }
11010 return NULL;
11011}
11012
11013
11014static PyObject *_wrap_Image_CountColours(PyObject *self, PyObject *args, PyObject *kwargs) {
11015 PyObject *resultobj;
11016 wxImage *arg1 = (wxImage *) 0 ;
11017 unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
11018 unsigned long result;
11019 PyObject * obj0 = 0 ;
11020 PyObject * obj1 = 0 ;
11021 char *kwnames[] = {
11022 (char *) "self",(char *) "stopafter", NULL
11023 };
11024
11025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail;
11026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11028 if (obj1) {
11029 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
11030 if (PyErr_Occurred()) SWIG_fail;
11031 }
11032 {
11033 PyThreadState* __tstate = wxPyBeginAllowThreads();
11034 result = (unsigned long)(arg1)->CountColours(arg2);
11035
11036 wxPyEndAllowThreads(__tstate);
11037 if (PyErr_Occurred()) SWIG_fail;
11038 }
11039 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
11040 return resultobj;
11041 fail:
11042 return NULL;
11043}
11044
11045
11046static PyObject *_wrap_Image_ComputeHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
11047 PyObject *resultobj;
11048 wxImage *arg1 = (wxImage *) 0 ;
11049 wxImageHistogram *arg2 = 0 ;
11050 unsigned long result;
11051 PyObject * obj0 = 0 ;
11052 PyObject * obj1 = 0 ;
11053 char *kwnames[] = {
11054 (char *) "self",(char *) "h", NULL
11055 };
11056
11057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail;
11058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11060 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageHistogram,
11061 SWIG_POINTER_EXCEPTION | 0)) == -1)
11062 SWIG_fail;
11063 if (arg2 == NULL) {
11064 PyErr_SetString(PyExc_TypeError,"null reference");
11065 SWIG_fail;
11066 }
11067 {
11068 PyThreadState* __tstate = wxPyBeginAllowThreads();
11069 result = (unsigned long)(arg1)->ComputeHistogram(*arg2);
11070
11071 wxPyEndAllowThreads(__tstate);
11072 if (PyErr_Occurred()) SWIG_fail;
11073 }
11074 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
11075 return resultobj;
11076 fail:
11077 return NULL;
11078}
11079
11080
11081static PyObject *_wrap_Image_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11082 PyObject *resultobj;
11083 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
11084 PyObject * obj0 = 0 ;
11085 char *kwnames[] = {
11086 (char *) "handler", NULL
11087 };
11088
11089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail;
11090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
11091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11092 {
11093 PyThreadState* __tstate = wxPyBeginAllowThreads();
11094 wxImage::AddHandler(arg1);
11095
11096 wxPyEndAllowThreads(__tstate);
11097 if (PyErr_Occurred()) SWIG_fail;
11098 }
11099 Py_INCREF(Py_None); resultobj = Py_None;
11100 return resultobj;
11101 fail:
11102 return NULL;
11103}
11104
11105
11106static PyObject *_wrap_Image_InsertHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11107 PyObject *resultobj;
11108 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
11109 PyObject * obj0 = 0 ;
11110 char *kwnames[] = {
11111 (char *) "handler", NULL
11112 };
11113
11114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail;
11115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
11116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11117 {
11118 PyThreadState* __tstate = wxPyBeginAllowThreads();
11119 wxImage::InsertHandler(arg1);
11120
11121 wxPyEndAllowThreads(__tstate);
11122 if (PyErr_Occurred()) SWIG_fail;
11123 }
11124 Py_INCREF(Py_None); resultobj = Py_None;
11125 return resultobj;
11126 fail:
11127 return NULL;
11128}
11129
11130
11131static PyObject *_wrap_Image_RemoveHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11132 PyObject *resultobj;
11133 wxString *arg1 = 0 ;
11134 bool result;
11135 bool temp1 = False ;
11136 PyObject * obj0 = 0 ;
11137 char *kwnames[] = {
11138 (char *) "name", NULL
11139 };
11140
11141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail;
11142 {
11143 arg1 = wxString_in_helper(obj0);
11144 if (arg1 == NULL) SWIG_fail;
11145 temp1 = True;
11146 }
11147 {
11148 PyThreadState* __tstate = wxPyBeginAllowThreads();
11149 result = (bool)wxImage::RemoveHandler((wxString const &)*arg1);
11150
11151 wxPyEndAllowThreads(__tstate);
11152 if (PyErr_Occurred()) SWIG_fail;
11153 }
11154 {
11155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11156 }
11157 {
11158 if (temp1)
11159 delete arg1;
11160 }
11161 return resultobj;
11162 fail:
11163 {
11164 if (temp1)
11165 delete arg1;
11166 }
11167 return NULL;
11168}
11169
11170
11171static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11172 PyObject *resultobj;
11173 wxString result;
11174 char *kwnames[] = {
11175 NULL
11176 };
11177
11178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail;
11179 {
11180 PyThreadState* __tstate = wxPyBeginAllowThreads();
11181 result = wxImage::GetImageExtWildcard();
11182
11183 wxPyEndAllowThreads(__tstate);
11184 if (PyErr_Occurred()) SWIG_fail;
11185 }
11186 {
11187#if wxUSE_UNICODE
11188 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11189#else
11190 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11191#endif
11192 }
11193 return resultobj;
11194 fail:
11195 return NULL;
11196}
11197
11198
11199static PyObject *_wrap_Image_ConvertToBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11200 PyObject *resultobj;
11201 wxImage *arg1 = (wxImage *) 0 ;
11202 wxBitmap result;
11203 PyObject * obj0 = 0 ;
11204 char *kwnames[] = {
11205 (char *) "self", NULL
11206 };
11207
11208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_ConvertToBitmap",kwnames,&obj0)) goto fail;
11209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11211 {
11212 PyThreadState* __tstate = wxPyBeginAllowThreads();
11213 result = wxImage_ConvertToBitmap(arg1);
11214
11215 wxPyEndAllowThreads(__tstate);
11216 if (PyErr_Occurred()) SWIG_fail;
11217 }
11218 {
11219 wxBitmap * resultptr;
11220 resultptr = new wxBitmap((wxBitmap &) result);
11221 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
11222 }
11223 return resultobj;
11224 fail:
11225 return NULL;
11226}
11227
11228
11229static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11230 PyObject *resultobj;
11231 wxImage *arg1 = (wxImage *) 0 ;
11232 unsigned char arg2 ;
11233 unsigned char arg3 ;
11234 unsigned char arg4 ;
11235 wxBitmap result;
11236 PyObject * obj0 = 0 ;
11237 PyObject * obj1 = 0 ;
11238 PyObject * obj2 = 0 ;
11239 PyObject * obj3 = 0 ;
11240 char *kwnames[] = {
11241 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11242 };
11243
11244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11247 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
11248 if (PyErr_Occurred()) SWIG_fail;
11249 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
11250 if (PyErr_Occurred()) SWIG_fail;
11251 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
11252 if (PyErr_Occurred()) SWIG_fail;
11253 {
11254 PyThreadState* __tstate = wxPyBeginAllowThreads();
11255 result = wxImage_ConvertToMonoBitmap(arg1,arg2,arg3,arg4);
11256
11257 wxPyEndAllowThreads(__tstate);
11258 if (PyErr_Occurred()) SWIG_fail;
11259 }
11260 {
11261 wxBitmap * resultptr;
11262 resultptr = new wxBitmap((wxBitmap &) result);
11263 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
11264 }
11265 return resultobj;
11266 fail:
11267 return NULL;
11268}
11269
11270
11271static PyObject * Image_swigregister(PyObject *self, PyObject *args) {
11272 PyObject *obj;
11273 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11274 SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj);
11275 Py_INCREF(obj);
11276 return Py_BuildValue((char *)"");
11277}
11278static PyObject *_wrap_InitAllImageHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
11279 PyObject *resultobj;
11280 char *kwnames[] = {
11281 NULL
11282 };
11283
11284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":InitAllImageHandlers",kwnames)) goto fail;
11285 {
11286 PyThreadState* __tstate = wxPyBeginAllowThreads();
11287 wxInitAllImageHandlers();
11288
11289 wxPyEndAllowThreads(__tstate);
11290 if (PyErr_Occurred()) SWIG_fail;
11291 }
11292 Py_INCREF(Py_None); resultobj = Py_None;
11293 return resultobj;
11294 fail:
11295 return NULL;
11296}
11297
11298
11299static int _wrap_NullImage_set(PyObject *_val) {
11300 PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only.");
11301 return 1;
11302}
11303
11304
11305static PyObject *_wrap_NullImage_get() {
11306 PyObject *pyobj;
11307
11308 pyobj = SWIG_NewPointerObj((void *)(&wxNullImage), SWIGTYPE_p_wxImage, 0);
11309 return pyobj;
11310}
11311
11312
11313static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *_val) {
11314 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11315 return 1;
11316}
11317
11318
11319static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11320 PyObject *pyobj;
11321
11322 {
11323#if wxUSE_UNICODE
11324 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11325#else
11326 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11327#endif
11328 }
11329 return pyobj;
11330}
11331
11332
11333static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *_val) {
11334 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11335 return 1;
11336}
11337
11338
11339static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11340 PyObject *pyobj;
11341
11342 {
11343#if wxUSE_UNICODE
11344 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11345#else
11346 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11347#endif
11348 }
11349 return pyobj;
11350}
11351
11352
11353static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *_val) {
11354 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11355 return 1;
11356}
11357
11358
11359static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11360 PyObject *pyobj;
11361
11362 {
11363#if wxUSE_UNICODE
11364 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11365#else
11366 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11367#endif
11368 }
11369 return pyobj;
11370}
11371
11372
11373static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *_val) {
11374 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11375 return 1;
11376}
11377
11378
11379static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get() {
11380 PyObject *pyobj;
11381
11382 {
11383#if wxUSE_UNICODE
11384 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11385#else
11386 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11387#endif
11388 }
11389 return pyobj;
11390}
11391
11392
11393static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *_val) {
11394 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11395 return 1;
11396}
11397
11398
11399static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11400 PyObject *pyobj;
11401
11402 {
11403#if wxUSE_UNICODE
11404 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11405#else
11406 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11407#endif
11408 }
11409 return pyobj;
11410}
11411
11412
11413static PyObject *_wrap_new_BMPHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11414 PyObject *resultobj;
11415 wxBMPHandler *result;
11416 char *kwnames[] = {
11417 NULL
11418 };
11419
11420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail;
11421 {
11422 PyThreadState* __tstate = wxPyBeginAllowThreads();
11423 result = (wxBMPHandler *)new wxBMPHandler();
11424
11425 wxPyEndAllowThreads(__tstate);
11426 if (PyErr_Occurred()) SWIG_fail;
11427 }
11428 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBMPHandler, 1);
11429 return resultobj;
11430 fail:
11431 return NULL;
11432}
11433
11434
11435static PyObject * BMPHandler_swigregister(PyObject *self, PyObject *args) {
11436 PyObject *obj;
11437 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11438 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj);
11439 Py_INCREF(obj);
11440 return Py_BuildValue((char *)"");
11441}
11442static PyObject *_wrap_new_ICOHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11443 PyObject *resultobj;
11444 wxICOHandler *result;
11445 char *kwnames[] = {
11446 NULL
11447 };
11448
11449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail;
11450 {
11451 PyThreadState* __tstate = wxPyBeginAllowThreads();
11452 result = (wxICOHandler *)new wxICOHandler();
11453
11454 wxPyEndAllowThreads(__tstate);
11455 if (PyErr_Occurred()) SWIG_fail;
11456 }
11457 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxICOHandler, 1);
11458 return resultobj;
11459 fail:
11460 return NULL;
11461}
11462
11463
11464static PyObject * ICOHandler_swigregister(PyObject *self, PyObject *args) {
11465 PyObject *obj;
11466 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11467 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj);
11468 Py_INCREF(obj);
11469 return Py_BuildValue((char *)"");
11470}
11471static PyObject *_wrap_new_CURHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11472 PyObject *resultobj;
11473 wxCURHandler *result;
11474 char *kwnames[] = {
11475 NULL
11476 };
11477
11478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail;
11479 {
11480 PyThreadState* __tstate = wxPyBeginAllowThreads();
11481 result = (wxCURHandler *)new wxCURHandler();
11482
11483 wxPyEndAllowThreads(__tstate);
11484 if (PyErr_Occurred()) SWIG_fail;
11485 }
11486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCURHandler, 1);
11487 return resultobj;
11488 fail:
11489 return NULL;
11490}
11491
11492
11493static PyObject * CURHandler_swigregister(PyObject *self, PyObject *args) {
11494 PyObject *obj;
11495 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11496 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj);
11497 Py_INCREF(obj);
11498 return Py_BuildValue((char *)"");
11499}
11500static PyObject *_wrap_new_ANIHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11501 PyObject *resultobj;
11502 wxANIHandler *result;
11503 char *kwnames[] = {
11504 NULL
11505 };
11506
11507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail;
11508 {
11509 PyThreadState* __tstate = wxPyBeginAllowThreads();
11510 result = (wxANIHandler *)new wxANIHandler();
11511
11512 wxPyEndAllowThreads(__tstate);
11513 if (PyErr_Occurred()) SWIG_fail;
11514 }
11515 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxANIHandler, 1);
11516 return resultobj;
11517 fail:
11518 return NULL;
11519}
11520
11521
11522static PyObject * ANIHandler_swigregister(PyObject *self, PyObject *args) {
11523 PyObject *obj;
11524 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11525 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj);
11526 Py_INCREF(obj);
11527 return Py_BuildValue((char *)"");
11528}
11529static PyObject *_wrap_new_PNGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11530 PyObject *resultobj;
11531 wxPNGHandler *result;
11532 char *kwnames[] = {
11533 NULL
11534 };
11535
11536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail;
11537 {
11538 PyThreadState* __tstate = wxPyBeginAllowThreads();
11539 result = (wxPNGHandler *)new wxPNGHandler();
11540
11541 wxPyEndAllowThreads(__tstate);
11542 if (PyErr_Occurred()) SWIG_fail;
11543 }
11544 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNGHandler, 1);
11545 return resultobj;
11546 fail:
11547 return NULL;
11548}
11549
11550
11551static PyObject * PNGHandler_swigregister(PyObject *self, PyObject *args) {
11552 PyObject *obj;
11553 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11554 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj);
11555 Py_INCREF(obj);
11556 return Py_BuildValue((char *)"");
11557}
11558static PyObject *_wrap_new_GIFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11559 PyObject *resultobj;
11560 wxGIFHandler *result;
11561 char *kwnames[] = {
11562 NULL
11563 };
11564
11565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail;
11566 {
11567 PyThreadState* __tstate = wxPyBeginAllowThreads();
11568 result = (wxGIFHandler *)new wxGIFHandler();
11569
11570 wxPyEndAllowThreads(__tstate);
11571 if (PyErr_Occurred()) SWIG_fail;
11572 }
11573 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGIFHandler, 1);
11574 return resultobj;
11575 fail:
11576 return NULL;
11577}
11578
11579
11580static PyObject * GIFHandler_swigregister(PyObject *self, PyObject *args) {
11581 PyObject *obj;
11582 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11583 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj);
11584 Py_INCREF(obj);
11585 return Py_BuildValue((char *)"");
11586}
11587static PyObject *_wrap_new_PCXHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11588 PyObject *resultobj;
11589 wxPCXHandler *result;
11590 char *kwnames[] = {
11591 NULL
11592 };
11593
11594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail;
11595 {
11596 PyThreadState* __tstate = wxPyBeginAllowThreads();
11597 result = (wxPCXHandler *)new wxPCXHandler();
11598
11599 wxPyEndAllowThreads(__tstate);
11600 if (PyErr_Occurred()) SWIG_fail;
11601 }
11602 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPCXHandler, 1);
11603 return resultobj;
11604 fail:
11605 return NULL;
11606}
11607
11608
11609static PyObject * PCXHandler_swigregister(PyObject *self, PyObject *args) {
11610 PyObject *obj;
11611 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11612 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj);
11613 Py_INCREF(obj);
11614 return Py_BuildValue((char *)"");
11615}
11616static PyObject *_wrap_new_JPEGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11617 PyObject *resultobj;
11618 wxJPEGHandler *result;
11619 char *kwnames[] = {
11620 NULL
11621 };
11622
11623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail;
11624 {
11625 PyThreadState* __tstate = wxPyBeginAllowThreads();
11626 result = (wxJPEGHandler *)new wxJPEGHandler();
11627
11628 wxPyEndAllowThreads(__tstate);
11629 if (PyErr_Occurred()) SWIG_fail;
11630 }
11631 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJPEGHandler, 1);
11632 return resultobj;
11633 fail:
11634 return NULL;
11635}
11636
11637
11638static PyObject * JPEGHandler_swigregister(PyObject *self, PyObject *args) {
11639 PyObject *obj;
11640 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11641 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj);
11642 Py_INCREF(obj);
11643 return Py_BuildValue((char *)"");
11644}
11645static PyObject *_wrap_new_PNMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11646 PyObject *resultobj;
11647 wxPNMHandler *result;
11648 char *kwnames[] = {
11649 NULL
11650 };
11651
11652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail;
11653 {
11654 PyThreadState* __tstate = wxPyBeginAllowThreads();
11655 result = (wxPNMHandler *)new wxPNMHandler();
11656
11657 wxPyEndAllowThreads(__tstate);
11658 if (PyErr_Occurred()) SWIG_fail;
11659 }
11660 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNMHandler, 1);
11661 return resultobj;
11662 fail:
11663 return NULL;
11664}
11665
11666
11667static PyObject * PNMHandler_swigregister(PyObject *self, PyObject *args) {
11668 PyObject *obj;
11669 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11670 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj);
11671 Py_INCREF(obj);
11672 return Py_BuildValue((char *)"");
11673}
11674static PyObject *_wrap_new_XPMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11675 PyObject *resultobj;
11676 wxXPMHandler *result;
11677 char *kwnames[] = {
11678 NULL
11679 };
11680
11681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail;
11682 {
11683 PyThreadState* __tstate = wxPyBeginAllowThreads();
11684 result = (wxXPMHandler *)new wxXPMHandler();
11685
11686 wxPyEndAllowThreads(__tstate);
11687 if (PyErr_Occurred()) SWIG_fail;
11688 }
11689 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXPMHandler, 1);
11690 return resultobj;
11691 fail:
11692 return NULL;
11693}
11694
11695
11696static PyObject * XPMHandler_swigregister(PyObject *self, PyObject *args) {
11697 PyObject *obj;
11698 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11699 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj);
11700 Py_INCREF(obj);
11701 return Py_BuildValue((char *)"");
11702}
11703static PyObject *_wrap_new_TIFFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11704 PyObject *resultobj;
11705 wxTIFFHandler *result;
11706 char *kwnames[] = {
11707 NULL
11708 };
11709
11710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail;
11711 {
11712 PyThreadState* __tstate = wxPyBeginAllowThreads();
11713 result = (wxTIFFHandler *)new wxTIFFHandler();
11714
11715 wxPyEndAllowThreads(__tstate);
11716 if (PyErr_Occurred()) SWIG_fail;
11717 }
11718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTIFFHandler, 1);
11719 return resultobj;
11720 fail:
11721 return NULL;
11722}
11723
11724
11725static PyObject * TIFFHandler_swigregister(PyObject *self, PyObject *args) {
11726 PyObject *obj;
11727 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11728 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj);
11729 Py_INCREF(obj);
11730 return Py_BuildValue((char *)"");
11731}
11732static PyObject *_wrap_new_EvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11733 PyObject *resultobj;
11734 wxEvtHandler *result;
11735 char *kwnames[] = {
11736 NULL
11737 };
11738
11739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail;
11740 {
11741 PyThreadState* __tstate = wxPyBeginAllowThreads();
11742 result = (wxEvtHandler *)new wxEvtHandler();
11743
11744 wxPyEndAllowThreads(__tstate);
11745 if (PyErr_Occurred()) SWIG_fail;
11746 }
11747 {
11748 resultobj = wxPyMake_wxObject(result);
11749 }
11750 return resultobj;
11751 fail:
11752 return NULL;
11753}
11754
11755
11756static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11757 PyObject *resultobj;
11758 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11759 wxEvtHandler *result;
11760 PyObject * obj0 = 0 ;
11761 char *kwnames[] = {
11762 (char *) "self", NULL
11763 };
11764
11765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail;
11766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11768 {
11769 PyThreadState* __tstate = wxPyBeginAllowThreads();
11770 result = (wxEvtHandler *)(arg1)->GetNextHandler();
11771
11772 wxPyEndAllowThreads(__tstate);
11773 if (PyErr_Occurred()) SWIG_fail;
11774 }
11775 {
11776 resultobj = wxPyMake_wxObject(result);
11777 }
11778 return resultobj;
11779 fail:
11780 return NULL;
11781}
11782
11783
11784static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11785 PyObject *resultobj;
11786 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11787 wxEvtHandler *result;
11788 PyObject * obj0 = 0 ;
11789 char *kwnames[] = {
11790 (char *) "self", NULL
11791 };
11792
11793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
11794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11796 {
11797 PyThreadState* __tstate = wxPyBeginAllowThreads();
11798 result = (wxEvtHandler *)(arg1)->GetPreviousHandler();
11799
11800 wxPyEndAllowThreads(__tstate);
11801 if (PyErr_Occurred()) SWIG_fail;
11802 }
11803 {
11804 resultobj = wxPyMake_wxObject(result);
11805 }
11806 return resultobj;
11807 fail:
11808 return NULL;
11809}
11810
11811
11812static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11813 PyObject *resultobj;
11814 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11815 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11816 PyObject * obj0 = 0 ;
11817 PyObject * obj1 = 0 ;
11818 char *kwnames[] = {
11819 (char *) "self",(char *) "handler", NULL
11820 };
11821
11822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail;
11823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11825 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
11826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11827 {
11828 PyThreadState* __tstate = wxPyBeginAllowThreads();
11829 (arg1)->SetNextHandler(arg2);
11830
11831 wxPyEndAllowThreads(__tstate);
11832 if (PyErr_Occurred()) SWIG_fail;
11833 }
11834 Py_INCREF(Py_None); resultobj = Py_None;
11835 return resultobj;
11836 fail:
11837 return NULL;
11838}
11839
11840
11841static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11842 PyObject *resultobj;
11843 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11844 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11845 PyObject * obj0 = 0 ;
11846 PyObject * obj1 = 0 ;
11847 char *kwnames[] = {
11848 (char *) "self",(char *) "handler", NULL
11849 };
11850
11851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
11852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11854 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
11855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11856 {
11857 PyThreadState* __tstate = wxPyBeginAllowThreads();
11858 (arg1)->SetPreviousHandler(arg2);
11859
11860 wxPyEndAllowThreads(__tstate);
11861 if (PyErr_Occurred()) SWIG_fail;
11862 }
11863 Py_INCREF(Py_None); resultobj = Py_None;
11864 return resultobj;
11865 fail:
11866 return NULL;
11867}
11868
11869
11870static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11871 PyObject *resultobj;
11872 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11873 bool result;
11874 PyObject * obj0 = 0 ;
11875 char *kwnames[] = {
11876 (char *) "self", NULL
11877 };
11878
11879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail;
11880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11882 {
11883 PyThreadState* __tstate = wxPyBeginAllowThreads();
11884 result = (bool)(arg1)->GetEvtHandlerEnabled();
11885
11886 wxPyEndAllowThreads(__tstate);
11887 if (PyErr_Occurred()) SWIG_fail;
11888 }
11889 {
11890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11891 }
11892 return resultobj;
11893 fail:
11894 return NULL;
11895}
11896
11897
11898static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11899 PyObject *resultobj;
11900 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11901 bool arg2 ;
11902 PyObject * obj0 = 0 ;
11903 PyObject * obj1 = 0 ;
11904 char *kwnames[] = {
11905 (char *) "self",(char *) "enabled", NULL
11906 };
11907
11908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail;
11909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11911 arg2 = (bool) SWIG_AsBool(obj1);
11912 if (PyErr_Occurred()) SWIG_fail;
11913 {
11914 PyThreadState* __tstate = wxPyBeginAllowThreads();
11915 (arg1)->SetEvtHandlerEnabled(arg2);
11916
11917 wxPyEndAllowThreads(__tstate);
11918 if (PyErr_Occurred()) SWIG_fail;
11919 }
11920 Py_INCREF(Py_None); resultobj = Py_None;
11921 return resultobj;
11922 fail:
11923 return NULL;
11924}
11925
11926
11927static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11928 PyObject *resultobj;
11929 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11930 wxEvent *arg2 = 0 ;
11931 bool result;
11932 PyObject * obj0 = 0 ;
11933 PyObject * obj1 = 0 ;
11934 char *kwnames[] = {
11935 (char *) "self",(char *) "event", NULL
11936 };
11937
11938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail;
11939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11941 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
11942 SWIG_POINTER_EXCEPTION | 0)) == -1)
11943 SWIG_fail;
11944 if (arg2 == NULL) {
11945 PyErr_SetString(PyExc_TypeError,"null reference");
11946 SWIG_fail;
11947 }
11948 {
11949 PyThreadState* __tstate = wxPyBeginAllowThreads();
11950 result = (bool)(arg1)->ProcessEvent(*arg2);
11951
11952 wxPyEndAllowThreads(__tstate);
11953 if (PyErr_Occurred()) SWIG_fail;
11954 }
11955 {
11956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11957 }
11958 return resultobj;
11959 fail:
11960 return NULL;
11961}
11962
11963
11964static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11965 PyObject *resultobj;
11966 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11967 wxEvent *arg2 = 0 ;
11968 PyObject * obj0 = 0 ;
11969 PyObject * obj1 = 0 ;
11970 char *kwnames[] = {
11971 (char *) "self",(char *) "event", NULL
11972 };
11973
11974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail;
11975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11977 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
11978 SWIG_POINTER_EXCEPTION | 0)) == -1)
11979 SWIG_fail;
11980 if (arg2 == NULL) {
11981 PyErr_SetString(PyExc_TypeError,"null reference");
11982 SWIG_fail;
11983 }
11984 {
11985 PyThreadState* __tstate = wxPyBeginAllowThreads();
11986 (arg1)->AddPendingEvent(*arg2);
11987
11988 wxPyEndAllowThreads(__tstate);
11989 if (PyErr_Occurred()) SWIG_fail;
11990 }
11991 Py_INCREF(Py_None); resultobj = Py_None;
11992 return resultobj;
11993 fail:
11994 return NULL;
11995}
11996
11997
11998static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
11999 PyObject *resultobj;
12000 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12001 PyObject * obj0 = 0 ;
12002 char *kwnames[] = {
12003 (char *) "self", NULL
12004 };
12005
12006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail;
12007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12009 {
12010 PyThreadState* __tstate = wxPyBeginAllowThreads();
12011 (arg1)->ProcessPendingEvents();
12012
12013 wxPyEndAllowThreads(__tstate);
12014 if (PyErr_Occurred()) SWIG_fail;
12015 }
12016 Py_INCREF(Py_None); resultobj = Py_None;
12017 return resultobj;
12018 fail:
12019 return NULL;
12020}
12021
12022
12023static PyObject *_wrap_EvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
12024 PyObject *resultobj;
12025 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12026 int arg2 ;
12027 int arg3 ;
12028 int arg4 ;
12029 PyObject *arg5 = (PyObject *) 0 ;
12030 PyObject * obj0 = 0 ;
12031 PyObject * obj1 = 0 ;
12032 PyObject * obj2 = 0 ;
12033 PyObject * obj3 = 0 ;
12034 PyObject * obj4 = 0 ;
12035 char *kwnames[] = {
12036 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12037 };
12038
12039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:EvtHandler_Connect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12042 arg2 = (int) SWIG_AsInt(obj1);
12043 if (PyErr_Occurred()) SWIG_fail;
12044 arg3 = (int) SWIG_AsInt(obj2);
12045 if (PyErr_Occurred()) SWIG_fail;
12046 arg4 = (int) SWIG_AsInt(obj3);
12047 if (PyErr_Occurred()) SWIG_fail;
12048 arg5 = obj4;
12049 {
12050 PyThreadState* __tstate = wxPyBeginAllowThreads();
12051 wxEvtHandler_Connect(arg1,arg2,arg3,arg4,arg5);
12052
12053 wxPyEndAllowThreads(__tstate);
12054 if (PyErr_Occurred()) SWIG_fail;
12055 }
12056 Py_INCREF(Py_None); resultobj = Py_None;
12057 return resultobj;
12058 fail:
12059 return NULL;
12060}
12061
12062
12063static PyObject *_wrap_EvtHandler_Disconnect(PyObject *self, PyObject *args, PyObject *kwargs) {
12064 PyObject *resultobj;
12065 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12066 int arg2 ;
12067 int arg3 = (int) -1 ;
12068 wxEventType arg4 = (wxEventType) wxEVT_NULL ;
12069 bool result;
12070 PyObject * obj0 = 0 ;
12071 PyObject * obj1 = 0 ;
12072 PyObject * obj2 = 0 ;
12073 PyObject * obj3 = 0 ;
12074 char *kwnames[] = {
12075 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12076 };
12077
12078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:EvtHandler_Disconnect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12081 arg2 = (int) SWIG_AsInt(obj1);
12082 if (PyErr_Occurred()) SWIG_fail;
12083 if (obj2) {
12084 arg3 = (int) SWIG_AsInt(obj2);
12085 if (PyErr_Occurred()) SWIG_fail;
12086 }
12087 if (obj3) {
12088 arg4 = (wxEventType) SWIG_AsInt(obj3);
12089 if (PyErr_Occurred()) SWIG_fail;
12090 }
12091 {
12092 PyThreadState* __tstate = wxPyBeginAllowThreads();
12093 result = (bool)wxEvtHandler_Disconnect(arg1,arg2,arg3,arg4);
12094
12095 wxPyEndAllowThreads(__tstate);
12096 if (PyErr_Occurred()) SWIG_fail;
12097 }
12098 {
12099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12100 }
12101 return resultobj;
12102 fail:
12103 return NULL;
12104}
12105
12106
12107static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12108 PyObject *resultobj;
12109 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12110 PyObject *arg2 = (PyObject *) 0 ;
12111 PyObject * obj0 = 0 ;
12112 PyObject * obj1 = 0 ;
12113 char *kwnames[] = {
12114 (char *) "self",(char *) "_self", NULL
12115 };
12116
12117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
12118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12120 arg2 = obj1;
12121 {
12122 PyThreadState* __tstate = wxPyBeginAllowThreads();
12123 wxEvtHandler__setOORInfo(arg1,arg2);
12124
12125 wxPyEndAllowThreads(__tstate);
12126 if (PyErr_Occurred()) SWIG_fail;
12127 }
12128 Py_INCREF(Py_None); resultobj = Py_None;
12129 return resultobj;
12130 fail:
12131 return NULL;
12132}
12133
12134
12135static PyObject * EvtHandler_swigregister(PyObject *self, PyObject *args) {
12136 PyObject *obj;
12137 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12138 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj);
12139 Py_INCREF(obj);
12140 return Py_BuildValue((char *)"");
12141}
12142static PyObject *_wrap_NewEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12143 PyObject *resultobj;
12144 wxEventType result;
12145 char *kwnames[] = {
12146 NULL
12147 };
12148
12149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail;
12150 {
12151 PyThreadState* __tstate = wxPyBeginAllowThreads();
12152 result = (wxEventType)wxNewEventType();
12153
12154 wxPyEndAllowThreads(__tstate);
12155 if (PyErr_Occurred()) SWIG_fail;
12156 }
12157 resultobj = SWIG_FromInt((int)result);
12158 return resultobj;
12159 fail:
12160 return NULL;
12161}
12162
12163
12164static PyObject *_wrap_delete_Event(PyObject *self, PyObject *args, PyObject *kwargs) {
12165 PyObject *resultobj;
12166 wxEvent *arg1 = (wxEvent *) 0 ;
12167 PyObject * obj0 = 0 ;
12168 char *kwnames[] = {
12169 (char *) "self", NULL
12170 };
12171
12172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail;
12173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12175 {
12176 PyThreadState* __tstate = wxPyBeginAllowThreads();
12177 delete arg1;
12178
12179 wxPyEndAllowThreads(__tstate);
12180 if (PyErr_Occurred()) SWIG_fail;
12181 }
12182 Py_INCREF(Py_None); resultobj = Py_None;
12183 return resultobj;
12184 fail:
12185 return NULL;
12186}
12187
12188
12189static PyObject *_wrap_Event_SetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12190 PyObject *resultobj;
12191 wxEvent *arg1 = (wxEvent *) 0 ;
12192 wxEventType arg2 ;
12193 PyObject * obj0 = 0 ;
12194 PyObject * obj1 = 0 ;
12195 char *kwnames[] = {
12196 (char *) "self",(char *) "typ", NULL
12197 };
12198
12199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventType",kwnames,&obj0,&obj1)) goto fail;
12200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12202 arg2 = (wxEventType) SWIG_AsInt(obj1);
12203 if (PyErr_Occurred()) SWIG_fail;
12204 {
12205 PyThreadState* __tstate = wxPyBeginAllowThreads();
12206 (arg1)->SetEventType(arg2);
12207
12208 wxPyEndAllowThreads(__tstate);
12209 if (PyErr_Occurred()) SWIG_fail;
12210 }
12211 Py_INCREF(Py_None); resultobj = Py_None;
12212 return resultobj;
12213 fail:
12214 return NULL;
12215}
12216
12217
12218static PyObject *_wrap_Event_GetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12219 PyObject *resultobj;
12220 wxEvent *arg1 = (wxEvent *) 0 ;
12221 wxEventType result;
12222 PyObject * obj0 = 0 ;
12223 char *kwnames[] = {
12224 (char *) "self", NULL
12225 };
12226
12227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail;
12228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12230 {
12231 PyThreadState* __tstate = wxPyBeginAllowThreads();
12232 result = (wxEventType)((wxEvent const *)arg1)->GetEventType();
12233
12234 wxPyEndAllowThreads(__tstate);
12235 if (PyErr_Occurred()) SWIG_fail;
12236 }
12237 resultobj = SWIG_FromInt((int)result);
12238 return resultobj;
12239 fail:
12240 return NULL;
12241}
12242
12243
12244static PyObject *_wrap_Event_GetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
12245 PyObject *resultobj;
12246 wxEvent *arg1 = (wxEvent *) 0 ;
12247 wxObject *result;
12248 PyObject * obj0 = 0 ;
12249 char *kwnames[] = {
12250 (char *) "self", NULL
12251 };
12252
12253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail;
12254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12256 {
12257 PyThreadState* __tstate = wxPyBeginAllowThreads();
12258 result = (wxObject *)((wxEvent const *)arg1)->GetEventObject();
12259
12260 wxPyEndAllowThreads(__tstate);
12261 if (PyErr_Occurred()) SWIG_fail;
12262 }
12263 {
12264 resultobj = wxPyMake_wxObject(result);
12265 }
12266 return resultobj;
12267 fail:
12268 return NULL;
12269}
12270
12271
12272static PyObject *_wrap_Event_SetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
12273 PyObject *resultobj;
12274 wxEvent *arg1 = (wxEvent *) 0 ;
12275 wxObject *arg2 = (wxObject *) 0 ;
12276 PyObject * obj0 = 0 ;
12277 PyObject * obj1 = 0 ;
12278 char *kwnames[] = {
12279 (char *) "self",(char *) "obj", NULL
12280 };
12281
12282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail;
12283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12285 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
12286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12287 {
12288 PyThreadState* __tstate = wxPyBeginAllowThreads();
12289 (arg1)->SetEventObject(arg2);
12290
12291 wxPyEndAllowThreads(__tstate);
12292 if (PyErr_Occurred()) SWIG_fail;
12293 }
12294 Py_INCREF(Py_None); resultobj = Py_None;
12295 return resultobj;
12296 fail:
12297 return NULL;
12298}
12299
12300
12301static PyObject *_wrap_Event_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
12302 PyObject *resultobj;
12303 wxEvent *arg1 = (wxEvent *) 0 ;
12304 long result;
12305 PyObject * obj0 = 0 ;
12306 char *kwnames[] = {
12307 (char *) "self", NULL
12308 };
12309
12310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail;
12311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12313 {
12314 PyThreadState* __tstate = wxPyBeginAllowThreads();
12315 result = (long)((wxEvent const *)arg1)->GetTimestamp();
12316
12317 wxPyEndAllowThreads(__tstate);
12318 if (PyErr_Occurred()) SWIG_fail;
12319 }
12320 resultobj = SWIG_FromLong((long)result);
12321 return resultobj;
12322 fail:
12323 return NULL;
12324}
12325
12326
12327static PyObject *_wrap_Event_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
12328 PyObject *resultobj;
12329 wxEvent *arg1 = (wxEvent *) 0 ;
12330 long arg2 = (long) 0 ;
12331 PyObject * obj0 = 0 ;
12332 PyObject * obj1 = 0 ;
12333 char *kwnames[] = {
12334 (char *) "self",(char *) "ts", NULL
12335 };
12336
12337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_SetTimestamp",kwnames,&obj0,&obj1)) goto fail;
12338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12340 if (obj1) {
12341 arg2 = (long) SWIG_AsLong(obj1);
12342 if (PyErr_Occurred()) SWIG_fail;
12343 }
12344 {
12345 PyThreadState* __tstate = wxPyBeginAllowThreads();
12346 (arg1)->SetTimestamp(arg2);
12347
12348 wxPyEndAllowThreads(__tstate);
12349 if (PyErr_Occurred()) SWIG_fail;
12350 }
12351 Py_INCREF(Py_None); resultobj = Py_None;
12352 return resultobj;
12353 fail:
12354 return NULL;
12355}
12356
12357
12358static PyObject *_wrap_Event_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12359 PyObject *resultobj;
12360 wxEvent *arg1 = (wxEvent *) 0 ;
12361 int result;
12362 PyObject * obj0 = 0 ;
12363 char *kwnames[] = {
12364 (char *) "self", NULL
12365 };
12366
12367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail;
12368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12370 {
12371 PyThreadState* __tstate = wxPyBeginAllowThreads();
12372 result = (int)((wxEvent const *)arg1)->GetId();
12373
12374 wxPyEndAllowThreads(__tstate);
12375 if (PyErr_Occurred()) SWIG_fail;
12376 }
12377 resultobj = SWIG_FromInt((int)result);
12378 return resultobj;
12379 fail:
12380 return NULL;
12381}
12382
12383
12384static PyObject *_wrap_Event_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12385 PyObject *resultobj;
12386 wxEvent *arg1 = (wxEvent *) 0 ;
12387 int arg2 ;
12388 PyObject * obj0 = 0 ;
12389 PyObject * obj1 = 0 ;
12390 char *kwnames[] = {
12391 (char *) "self",(char *) "Id", NULL
12392 };
12393
12394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetId",kwnames,&obj0,&obj1)) goto fail;
12395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12397 arg2 = (int) SWIG_AsInt(obj1);
12398 if (PyErr_Occurred()) SWIG_fail;
12399 {
12400 PyThreadState* __tstate = wxPyBeginAllowThreads();
12401 (arg1)->SetId(arg2);
12402
12403 wxPyEndAllowThreads(__tstate);
12404 if (PyErr_Occurred()) SWIG_fail;
12405 }
12406 Py_INCREF(Py_None); resultobj = Py_None;
12407 return resultobj;
12408 fail:
12409 return NULL;
12410}
12411
12412
12413static PyObject *_wrap_Event_IsCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12414 PyObject *resultobj;
12415 wxEvent *arg1 = (wxEvent *) 0 ;
12416 bool result;
12417 PyObject * obj0 = 0 ;
12418 char *kwnames[] = {
12419 (char *) "self", NULL
12420 };
12421
12422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_IsCommandEvent",kwnames,&obj0)) goto fail;
12423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12425 {
12426 PyThreadState* __tstate = wxPyBeginAllowThreads();
12427 result = (bool)((wxEvent const *)arg1)->IsCommandEvent();
12428
12429 wxPyEndAllowThreads(__tstate);
12430 if (PyErr_Occurred()) SWIG_fail;
12431 }
12432 {
12433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12434 }
12435 return resultobj;
12436 fail:
12437 return NULL;
12438}
12439
12440
12441static PyObject *_wrap_Event_Skip(PyObject *self, PyObject *args, PyObject *kwargs) {
12442 PyObject *resultobj;
12443 wxEvent *arg1 = (wxEvent *) 0 ;
12444 bool arg2 = (bool) True ;
12445 PyObject * obj0 = 0 ;
12446 PyObject * obj1 = 0 ;
12447 char *kwnames[] = {
12448 (char *) "self",(char *) "skip", NULL
12449 };
12450
12451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail;
12452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12454 if (obj1) {
12455 arg2 = (bool) SWIG_AsBool(obj1);
12456 if (PyErr_Occurred()) SWIG_fail;
12457 }
12458 {
12459 PyThreadState* __tstate = wxPyBeginAllowThreads();
12460 (arg1)->Skip(arg2);
12461
12462 wxPyEndAllowThreads(__tstate);
12463 if (PyErr_Occurred()) SWIG_fail;
12464 }
12465 Py_INCREF(Py_None); resultobj = Py_None;
12466 return resultobj;
12467 fail:
12468 return NULL;
12469}
12470
12471
12472static PyObject *_wrap_Event_GetSkipped(PyObject *self, PyObject *args, PyObject *kwargs) {
12473 PyObject *resultobj;
12474 wxEvent *arg1 = (wxEvent *) 0 ;
12475 bool result;
12476 PyObject * obj0 = 0 ;
12477 char *kwnames[] = {
12478 (char *) "self", NULL
12479 };
12480
12481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail;
12482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12484 {
12485 PyThreadState* __tstate = wxPyBeginAllowThreads();
12486 result = (bool)((wxEvent const *)arg1)->GetSkipped();
12487
12488 wxPyEndAllowThreads(__tstate);
12489 if (PyErr_Occurred()) SWIG_fail;
12490 }
12491 {
12492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12493 }
12494 return resultobj;
12495 fail:
12496 return NULL;
12497}
12498
12499
12500static PyObject *_wrap_Event_ShouldPropagate(PyObject *self, PyObject *args, PyObject *kwargs) {
12501 PyObject *resultobj;
12502 wxEvent *arg1 = (wxEvent *) 0 ;
12503 bool result;
12504 PyObject * obj0 = 0 ;
12505 char *kwnames[] = {
12506 (char *) "self", NULL
12507 };
12508
12509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_ShouldPropagate",kwnames,&obj0)) goto fail;
12510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12512 {
12513 PyThreadState* __tstate = wxPyBeginAllowThreads();
12514 result = (bool)((wxEvent const *)arg1)->ShouldPropagate();
12515
12516 wxPyEndAllowThreads(__tstate);
12517 if (PyErr_Occurred()) SWIG_fail;
12518 }
12519 {
12520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12521 }
12522 return resultobj;
12523 fail:
12524 return NULL;
12525}
12526
12527
12528static PyObject *_wrap_Event_StopPropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
12529 PyObject *resultobj;
12530 wxEvent *arg1 = (wxEvent *) 0 ;
12531 int result;
12532 PyObject * obj0 = 0 ;
12533 char *kwnames[] = {
12534 (char *) "self", NULL
12535 };
12536
12537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",kwnames,&obj0)) goto fail;
12538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12540 {
12541 PyThreadState* __tstate = wxPyBeginAllowThreads();
12542 result = (int)(arg1)->StopPropagation();
12543
12544 wxPyEndAllowThreads(__tstate);
12545 if (PyErr_Occurred()) SWIG_fail;
12546 }
12547 resultobj = SWIG_FromInt((int)result);
12548 return resultobj;
12549 fail:
12550 return NULL;
12551}
12552
12553
12554static PyObject *_wrap_Event_ResumePropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
12555 PyObject *resultobj;
12556 wxEvent *arg1 = (wxEvent *) 0 ;
12557 int arg2 ;
12558 PyObject * obj0 = 0 ;
12559 PyObject * obj1 = 0 ;
12560 char *kwnames[] = {
12561 (char *) "self",(char *) "propagationLevel", NULL
12562 };
12563
12564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_ResumePropagation",kwnames,&obj0,&obj1)) goto fail;
12565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12567 arg2 = (int) SWIG_AsInt(obj1);
12568 if (PyErr_Occurred()) SWIG_fail;
12569 {
12570 PyThreadState* __tstate = wxPyBeginAllowThreads();
12571 (arg1)->ResumePropagation(arg2);
12572
12573 wxPyEndAllowThreads(__tstate);
12574 if (PyErr_Occurred()) SWIG_fail;
12575 }
12576 Py_INCREF(Py_None); resultobj = Py_None;
12577 return resultobj;
12578 fail:
12579 return NULL;
12580}
12581
12582
12583static PyObject *_wrap_Event_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
12584 PyObject *resultobj;
12585 wxEvent *arg1 = (wxEvent *) 0 ;
12586 wxEvent *result;
12587 PyObject * obj0 = 0 ;
12588 char *kwnames[] = {
12589 (char *) "self", NULL
12590 };
12591
12592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail;
12593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12595 {
12596 PyThreadState* __tstate = wxPyBeginAllowThreads();
12597 result = (wxEvent *)(arg1)->Clone();
12598
12599 wxPyEndAllowThreads(__tstate);
12600 if (PyErr_Occurred()) SWIG_fail;
12601 }
12602 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
12603 return resultobj;
12604 fail:
12605 return NULL;
12606}
12607
12608
12609static PyObject * Event_swigregister(PyObject *self, PyObject *args) {
12610 PyObject *obj;
12611 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12612 SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj);
12613 Py_INCREF(obj);
12614 return Py_BuildValue((char *)"");
12615}
12616static PyObject *_wrap_new_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
12617 PyObject *resultobj;
12618 wxEvent *arg1 = 0 ;
12619 wxPropagationDisabler *result;
12620 PyObject * obj0 = 0 ;
12621 char *kwnames[] = {
12622 (char *) "event", NULL
12623 };
12624
12625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail;
12626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12627 SWIG_POINTER_EXCEPTION | 0)) == -1)
12628 SWIG_fail;
12629 if (arg1 == NULL) {
12630 PyErr_SetString(PyExc_TypeError,"null reference");
12631 SWIG_fail;
12632 }
12633 {
12634 PyThreadState* __tstate = wxPyBeginAllowThreads();
12635 result = (wxPropagationDisabler *)new wxPropagationDisabler(*arg1);
12636
12637 wxPyEndAllowThreads(__tstate);
12638 if (PyErr_Occurred()) SWIG_fail;
12639 }
12640 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagationDisabler, 1);
12641 return resultobj;
12642 fail:
12643 return NULL;
12644}
12645
12646
12647static PyObject *_wrap_delete_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
12648 PyObject *resultobj;
12649 wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
12650 PyObject * obj0 = 0 ;
12651 char *kwnames[] = {
12652 (char *) "self", NULL
12653 };
12654
12655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail;
12656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagationDisabler,
12657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12658 {
12659 PyThreadState* __tstate = wxPyBeginAllowThreads();
12660 delete arg1;
12661
12662 wxPyEndAllowThreads(__tstate);
12663 if (PyErr_Occurred()) SWIG_fail;
12664 }
12665 Py_INCREF(Py_None); resultobj = Py_None;
12666 return resultobj;
12667 fail:
12668 return NULL;
12669}
12670
12671
12672static PyObject * PropagationDisabler_swigregister(PyObject *self, PyObject *args) {
12673 PyObject *obj;
12674 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12675 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj);
12676 Py_INCREF(obj);
12677 return Py_BuildValue((char *)"");
12678}
12679static PyObject *_wrap_new_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
12680 PyObject *resultobj;
12681 wxEvent *arg1 = 0 ;
12682 wxPropagateOnce *result;
12683 PyObject * obj0 = 0 ;
12684 char *kwnames[] = {
12685 (char *) "event", NULL
12686 };
12687
12688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail;
12689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12690 SWIG_POINTER_EXCEPTION | 0)) == -1)
12691 SWIG_fail;
12692 if (arg1 == NULL) {
12693 PyErr_SetString(PyExc_TypeError,"null reference");
12694 SWIG_fail;
12695 }
12696 {
12697 PyThreadState* __tstate = wxPyBeginAllowThreads();
12698 result = (wxPropagateOnce *)new wxPropagateOnce(*arg1);
12699
12700 wxPyEndAllowThreads(__tstate);
12701 if (PyErr_Occurred()) SWIG_fail;
12702 }
12703 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagateOnce, 1);
12704 return resultobj;
12705 fail:
12706 return NULL;
12707}
12708
12709
12710static PyObject *_wrap_delete_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
12711 PyObject *resultobj;
12712 wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
12713 PyObject * obj0 = 0 ;
12714 char *kwnames[] = {
12715 (char *) "self", NULL
12716 };
12717
12718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail;
12719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagateOnce,
12720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12721 {
12722 PyThreadState* __tstate = wxPyBeginAllowThreads();
12723 delete arg1;
12724
12725 wxPyEndAllowThreads(__tstate);
12726 if (PyErr_Occurred()) SWIG_fail;
12727 }
12728 Py_INCREF(Py_None); resultobj = Py_None;
12729 return resultobj;
12730 fail:
12731 return NULL;
12732}
12733
12734
12735static PyObject * PropagateOnce_swigregister(PyObject *self, PyObject *args) {
12736 PyObject *obj;
12737 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12738 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj);
12739 Py_INCREF(obj);
12740 return Py_BuildValue((char *)"");
12741}
12742static PyObject *_wrap_new_CommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12743 PyObject *resultobj;
12744 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12745 int arg2 = (int) 0 ;
12746 wxCommandEvent *result;
12747 PyObject * obj0 = 0 ;
12748 PyObject * obj1 = 0 ;
12749 char *kwnames[] = {
12750 (char *) "commandType",(char *) "winid", NULL
12751 };
12752
12753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CommandEvent",kwnames,&obj0,&obj1)) goto fail;
12754 if (obj0) {
12755 arg1 = (wxEventType) SWIG_AsInt(obj0);
12756 if (PyErr_Occurred()) SWIG_fail;
12757 }
12758 if (obj1) {
12759 arg2 = (int) SWIG_AsInt(obj1);
12760 if (PyErr_Occurred()) SWIG_fail;
12761 }
12762 {
12763 PyThreadState* __tstate = wxPyBeginAllowThreads();
12764 result = (wxCommandEvent *)new wxCommandEvent(arg1,arg2);
12765
12766 wxPyEndAllowThreads(__tstate);
12767 if (PyErr_Occurred()) SWIG_fail;
12768 }
12769 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCommandEvent, 1);
12770 return resultobj;
12771 fail:
12772 return NULL;
12773}
12774
12775
12776static PyObject *_wrap_CommandEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12777 PyObject *resultobj;
12778 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12779 int result;
12780 PyObject * obj0 = 0 ;
12781 char *kwnames[] = {
12782 (char *) "self", NULL
12783 };
12784
12785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail;
12786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12788 {
12789 PyThreadState* __tstate = wxPyBeginAllowThreads();
12790 result = (int)((wxCommandEvent const *)arg1)->GetSelection();
12791
12792 wxPyEndAllowThreads(__tstate);
12793 if (PyErr_Occurred()) SWIG_fail;
12794 }
12795 resultobj = SWIG_FromInt((int)result);
12796 return resultobj;
12797 fail:
12798 return NULL;
12799}
12800
12801
12802static PyObject *_wrap_CommandEvent_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12803 PyObject *resultobj;
12804 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12805 wxString *arg2 = 0 ;
12806 bool temp2 = False ;
12807 PyObject * obj0 = 0 ;
12808 PyObject * obj1 = 0 ;
12809 char *kwnames[] = {
12810 (char *) "self",(char *) "s", NULL
12811 };
12812
12813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail;
12814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12816 {
12817 arg2 = wxString_in_helper(obj1);
12818 if (arg2 == NULL) SWIG_fail;
12819 temp2 = True;
12820 }
12821 {
12822 PyThreadState* __tstate = wxPyBeginAllowThreads();
12823 (arg1)->SetString((wxString const &)*arg2);
12824
12825 wxPyEndAllowThreads(__tstate);
12826 if (PyErr_Occurred()) SWIG_fail;
12827 }
12828 Py_INCREF(Py_None); resultobj = Py_None;
12829 {
12830 if (temp2)
12831 delete arg2;
12832 }
12833 return resultobj;
12834 fail:
12835 {
12836 if (temp2)
12837 delete arg2;
12838 }
12839 return NULL;
12840}
12841
12842
12843static PyObject *_wrap_CommandEvent_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12844 PyObject *resultobj;
12845 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12846 wxString result;
12847 PyObject * obj0 = 0 ;
12848 char *kwnames[] = {
12849 (char *) "self", NULL
12850 };
12851
12852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) goto fail;
12853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12855 {
12856 PyThreadState* __tstate = wxPyBeginAllowThreads();
12857 result = ((wxCommandEvent const *)arg1)->GetString();
12858
12859 wxPyEndAllowThreads(__tstate);
12860 if (PyErr_Occurred()) SWIG_fail;
12861 }
12862 {
12863#if wxUSE_UNICODE
12864 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12865#else
12866 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12867#endif
12868 }
12869 return resultobj;
12870 fail:
12871 return NULL;
12872}
12873
12874
12875static PyObject *_wrap_CommandEvent_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
12876 PyObject *resultobj;
12877 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12878 bool result;
12879 PyObject * obj0 = 0 ;
12880 char *kwnames[] = {
12881 (char *) "self", NULL
12882 };
12883
12884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsChecked",kwnames,&obj0)) goto fail;
12885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12887 {
12888 PyThreadState* __tstate = wxPyBeginAllowThreads();
12889 result = (bool)((wxCommandEvent const *)arg1)->IsChecked();
12890
12891 wxPyEndAllowThreads(__tstate);
12892 if (PyErr_Occurred()) SWIG_fail;
12893 }
12894 {
12895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12896 }
12897 return resultobj;
12898 fail:
12899 return NULL;
12900}
12901
12902
12903static PyObject *_wrap_CommandEvent_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12904 PyObject *resultobj;
12905 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12906 bool result;
12907 PyObject * obj0 = 0 ;
12908 char *kwnames[] = {
12909 (char *) "self", NULL
12910 };
12911
12912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail;
12913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12915 {
12916 PyThreadState* __tstate = wxPyBeginAllowThreads();
12917 result = (bool)((wxCommandEvent const *)arg1)->IsSelection();
12918
12919 wxPyEndAllowThreads(__tstate);
12920 if (PyErr_Occurred()) SWIG_fail;
12921 }
12922 {
12923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12924 }
12925 return resultobj;
12926 fail:
12927 return NULL;
12928}
12929
12930
12931static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
12932 PyObject *resultobj;
12933 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12934 long arg2 ;
12935 PyObject * obj0 = 0 ;
12936 PyObject * obj1 = 0 ;
12937 char *kwnames[] = {
12938 (char *) "self",(char *) "extraLong", NULL
12939 };
12940
12941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetExtraLong",kwnames,&obj0,&obj1)) goto fail;
12942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12944 arg2 = (long) SWIG_AsLong(obj1);
12945 if (PyErr_Occurred()) SWIG_fail;
12946 {
12947 PyThreadState* __tstate = wxPyBeginAllowThreads();
12948 (arg1)->SetExtraLong(arg2);
12949
12950 wxPyEndAllowThreads(__tstate);
12951 if (PyErr_Occurred()) SWIG_fail;
12952 }
12953 Py_INCREF(Py_None); resultobj = Py_None;
12954 return resultobj;
12955 fail:
12956 return NULL;
12957}
12958
12959
12960static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
12961 PyObject *resultobj;
12962 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12963 long result;
12964 PyObject * obj0 = 0 ;
12965 char *kwnames[] = {
12966 (char *) "self", NULL
12967 };
12968
12969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail;
12970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12972 {
12973 PyThreadState* __tstate = wxPyBeginAllowThreads();
12974 result = (long)((wxCommandEvent const *)arg1)->GetExtraLong();
12975
12976 wxPyEndAllowThreads(__tstate);
12977 if (PyErr_Occurred()) SWIG_fail;
12978 }
12979 resultobj = SWIG_FromLong((long)result);
12980 return resultobj;
12981 fail:
12982 return NULL;
12983}
12984
12985
12986static PyObject *_wrap_CommandEvent_SetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
12987 PyObject *resultobj;
12988 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12989 int arg2 ;
12990 PyObject * obj0 = 0 ;
12991 PyObject * obj1 = 0 ;
12992 char *kwnames[] = {
12993 (char *) "self",(char *) "i", NULL
12994 };
12995
12996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetInt",kwnames,&obj0,&obj1)) goto fail;
12997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12999 arg2 = (int) SWIG_AsInt(obj1);
13000 if (PyErr_Occurred()) SWIG_fail;
13001 {
13002 PyThreadState* __tstate = wxPyBeginAllowThreads();
13003 (arg1)->SetInt(arg2);
13004
13005 wxPyEndAllowThreads(__tstate);
13006 if (PyErr_Occurred()) SWIG_fail;
13007 }
13008 Py_INCREF(Py_None); resultobj = Py_None;
13009 return resultobj;
13010 fail:
13011 return NULL;
13012}
13013
13014
13015static PyObject *_wrap_CommandEvent_GetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13016 PyObject *resultobj;
13017 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13018 long result;
13019 PyObject * obj0 = 0 ;
13020 char *kwnames[] = {
13021 (char *) "self", NULL
13022 };
13023
13024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail;
13025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13027 {
13028 PyThreadState* __tstate = wxPyBeginAllowThreads();
13029 result = (long)((wxCommandEvent const *)arg1)->GetInt();
13030
13031 wxPyEndAllowThreads(__tstate);
13032 if (PyErr_Occurred()) SWIG_fail;
13033 }
13034 resultobj = SWIG_FromLong((long)result);
13035 return resultobj;
13036 fail:
13037 return NULL;
13038}
13039
13040
13041static PyObject *_wrap_CommandEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
13042 PyObject *resultobj;
13043 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13044 wxEvent *result;
13045 PyObject * obj0 = 0 ;
13046 char *kwnames[] = {
13047 (char *) "self", NULL
13048 };
13049
13050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail;
13051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13053 {
13054 PyThreadState* __tstate = wxPyBeginAllowThreads();
13055 result = (wxEvent *)((wxCommandEvent const *)arg1)->Clone();
13056
13057 wxPyEndAllowThreads(__tstate);
13058 if (PyErr_Occurred()) SWIG_fail;
13059 }
13060 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
13061 return resultobj;
13062 fail:
13063 return NULL;
13064}
13065
13066
13067static PyObject * CommandEvent_swigregister(PyObject *self, PyObject *args) {
13068 PyObject *obj;
13069 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13070 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj);
13071 Py_INCREF(obj);
13072 return Py_BuildValue((char *)"");
13073}
13074static PyObject *_wrap_new_NotifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13075 PyObject *resultobj;
13076 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13077 int arg2 = (int) 0 ;
13078 wxNotifyEvent *result;
13079 PyObject * obj0 = 0 ;
13080 PyObject * obj1 = 0 ;
13081 char *kwnames[] = {
13082 (char *) "commandType",(char *) "winid", NULL
13083 };
13084
13085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_NotifyEvent",kwnames,&obj0,&obj1)) goto fail;
13086 if (obj0) {
13087 arg1 = (wxEventType) SWIG_AsInt(obj0);
13088 if (PyErr_Occurred()) SWIG_fail;
13089 }
13090 if (obj1) {
13091 arg2 = (int) SWIG_AsInt(obj1);
13092 if (PyErr_Occurred()) SWIG_fail;
13093 }
13094 {
13095 PyThreadState* __tstate = wxPyBeginAllowThreads();
13096 result = (wxNotifyEvent *)new wxNotifyEvent(arg1,arg2);
13097
13098 wxPyEndAllowThreads(__tstate);
13099 if (PyErr_Occurred()) SWIG_fail;
13100 }
13101 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotifyEvent, 1);
13102 return resultobj;
13103 fail:
13104 return NULL;
13105}
13106
13107
13108static PyObject *_wrap_NotifyEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
13109 PyObject *resultobj;
13110 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13111 PyObject * obj0 = 0 ;
13112 char *kwnames[] = {
13113 (char *) "self", NULL
13114 };
13115
13116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail;
13117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13119 {
13120 PyThreadState* __tstate = wxPyBeginAllowThreads();
13121 (arg1)->Veto();
13122
13123 wxPyEndAllowThreads(__tstate);
13124 if (PyErr_Occurred()) SWIG_fail;
13125 }
13126 Py_INCREF(Py_None); resultobj = Py_None;
13127 return resultobj;
13128 fail:
13129 return NULL;
13130}
13131
13132
13133static PyObject *_wrap_NotifyEvent_Allow(PyObject *self, PyObject *args, PyObject *kwargs) {
13134 PyObject *resultobj;
13135 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13136 PyObject * obj0 = 0 ;
13137 char *kwnames[] = {
13138 (char *) "self", NULL
13139 };
13140
13141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail;
13142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13144 {
13145 PyThreadState* __tstate = wxPyBeginAllowThreads();
13146 (arg1)->Allow();
13147
13148 wxPyEndAllowThreads(__tstate);
13149 if (PyErr_Occurred()) SWIG_fail;
13150 }
13151 Py_INCREF(Py_None); resultobj = Py_None;
13152 return resultobj;
13153 fail:
13154 return NULL;
13155}
13156
13157
13158static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
13159 PyObject *resultobj;
13160 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13161 bool result;
13162 PyObject * obj0 = 0 ;
13163 char *kwnames[] = {
13164 (char *) "self", NULL
13165 };
13166
13167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail;
13168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13170 {
13171 PyThreadState* __tstate = wxPyBeginAllowThreads();
13172 result = (bool)(arg1)->IsAllowed();
13173
13174 wxPyEndAllowThreads(__tstate);
13175 if (PyErr_Occurred()) SWIG_fail;
13176 }
13177 {
13178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13179 }
13180 return resultobj;
13181 fail:
13182 return NULL;
13183}
13184
13185
13186static PyObject * NotifyEvent_swigregister(PyObject *self, PyObject *args) {
13187 PyObject *obj;
13188 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13189 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj);
13190 Py_INCREF(obj);
13191 return Py_BuildValue((char *)"");
13192}
13193static PyObject *_wrap_new_ScrollEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13194 PyObject *resultobj;
13195 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13196 int arg2 = (int) 0 ;
13197 int arg3 = (int) 0 ;
13198 int arg4 = (int) 0 ;
13199 wxScrollEvent *result;
13200 PyObject * obj0 = 0 ;
13201 PyObject * obj1 = 0 ;
13202 PyObject * obj2 = 0 ;
13203 PyObject * obj3 = 0 ;
13204 char *kwnames[] = {
13205 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13206 };
13207
13208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ScrollEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13209 if (obj0) {
13210 arg1 = (wxEventType) SWIG_AsInt(obj0);
13211 if (PyErr_Occurred()) SWIG_fail;
13212 }
13213 if (obj1) {
13214 arg2 = (int) SWIG_AsInt(obj1);
13215 if (PyErr_Occurred()) SWIG_fail;
13216 }
13217 if (obj2) {
13218 arg3 = (int) SWIG_AsInt(obj2);
13219 if (PyErr_Occurred()) SWIG_fail;
13220 }
13221 if (obj3) {
13222 arg4 = (int) SWIG_AsInt(obj3);
13223 if (PyErr_Occurred()) SWIG_fail;
13224 }
13225 {
13226 PyThreadState* __tstate = wxPyBeginAllowThreads();
13227 result = (wxScrollEvent *)new wxScrollEvent(arg1,arg2,arg3,arg4);
13228
13229 wxPyEndAllowThreads(__tstate);
13230 if (PyErr_Occurred()) SWIG_fail;
13231 }
13232 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollEvent, 1);
13233 return resultobj;
13234 fail:
13235 return NULL;
13236}
13237
13238
13239static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13240 PyObject *resultobj;
13241 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13242 int result;
13243 PyObject * obj0 = 0 ;
13244 char *kwnames[] = {
13245 (char *) "self", NULL
13246 };
13247
13248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail;
13249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13251 {
13252 PyThreadState* __tstate = wxPyBeginAllowThreads();
13253 result = (int)((wxScrollEvent const *)arg1)->GetOrientation();
13254
13255 wxPyEndAllowThreads(__tstate);
13256 if (PyErr_Occurred()) SWIG_fail;
13257 }
13258 resultobj = SWIG_FromInt((int)result);
13259 return resultobj;
13260 fail:
13261 return NULL;
13262}
13263
13264
13265static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13266 PyObject *resultobj;
13267 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13268 int result;
13269 PyObject * obj0 = 0 ;
13270 char *kwnames[] = {
13271 (char *) "self", NULL
13272 };
13273
13274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail;
13275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13277 {
13278 PyThreadState* __tstate = wxPyBeginAllowThreads();
13279 result = (int)((wxScrollEvent const *)arg1)->GetPosition();
13280
13281 wxPyEndAllowThreads(__tstate);
13282 if (PyErr_Occurred()) SWIG_fail;
13283 }
13284 resultobj = SWIG_FromInt((int)result);
13285 return resultobj;
13286 fail:
13287 return NULL;
13288}
13289
13290
13291static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13292 PyObject *resultobj;
13293 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13294 int arg2 ;
13295 PyObject * obj0 = 0 ;
13296 PyObject * obj1 = 0 ;
13297 char *kwnames[] = {
13298 (char *) "self",(char *) "orient", NULL
13299 };
13300
13301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
13302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13304 arg2 = (int) SWIG_AsInt(obj1);
13305 if (PyErr_Occurred()) SWIG_fail;
13306 {
13307 PyThreadState* __tstate = wxPyBeginAllowThreads();
13308 (arg1)->SetOrientation(arg2);
13309
13310 wxPyEndAllowThreads(__tstate);
13311 if (PyErr_Occurred()) SWIG_fail;
13312 }
13313 Py_INCREF(Py_None); resultobj = Py_None;
13314 return resultobj;
13315 fail:
13316 return NULL;
13317}
13318
13319
13320static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13321 PyObject *resultobj;
13322 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13323 int arg2 ;
13324 PyObject * obj0 = 0 ;
13325 PyObject * obj1 = 0 ;
13326 char *kwnames[] = {
13327 (char *) "self",(char *) "pos", NULL
13328 };
13329
13330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13333 arg2 = (int) SWIG_AsInt(obj1);
13334 if (PyErr_Occurred()) SWIG_fail;
13335 {
13336 PyThreadState* __tstate = wxPyBeginAllowThreads();
13337 (arg1)->SetPosition(arg2);
13338
13339 wxPyEndAllowThreads(__tstate);
13340 if (PyErr_Occurred()) SWIG_fail;
13341 }
13342 Py_INCREF(Py_None); resultobj = Py_None;
13343 return resultobj;
13344 fail:
13345 return NULL;
13346}
13347
13348
13349static PyObject * ScrollEvent_swigregister(PyObject *self, PyObject *args) {
13350 PyObject *obj;
13351 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13352 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj);
13353 Py_INCREF(obj);
13354 return Py_BuildValue((char *)"");
13355}
13356static PyObject *_wrap_new_ScrollWinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13357 PyObject *resultobj;
13358 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13359 int arg2 = (int) 0 ;
13360 int arg3 = (int) 0 ;
13361 wxScrollWinEvent *result;
13362 PyObject * obj0 = 0 ;
13363 PyObject * obj1 = 0 ;
13364 PyObject * obj2 = 0 ;
13365 char *kwnames[] = {
13366 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13367 };
13368
13369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ScrollWinEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
13370 if (obj0) {
13371 arg1 = (wxEventType) SWIG_AsInt(obj0);
13372 if (PyErr_Occurred()) SWIG_fail;
13373 }
13374 if (obj1) {
13375 arg2 = (int) SWIG_AsInt(obj1);
13376 if (PyErr_Occurred()) SWIG_fail;
13377 }
13378 if (obj2) {
13379 arg3 = (int) SWIG_AsInt(obj2);
13380 if (PyErr_Occurred()) SWIG_fail;
13381 }
13382 {
13383 PyThreadState* __tstate = wxPyBeginAllowThreads();
13384 result = (wxScrollWinEvent *)new wxScrollWinEvent(arg1,arg2,arg3);
13385
13386 wxPyEndAllowThreads(__tstate);
13387 if (PyErr_Occurred()) SWIG_fail;
13388 }
13389 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollWinEvent, 1);
13390 return resultobj;
13391 fail:
13392 return NULL;
13393}
13394
13395
13396static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13397 PyObject *resultobj;
13398 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13399 int result;
13400 PyObject * obj0 = 0 ;
13401 char *kwnames[] = {
13402 (char *) "self", NULL
13403 };
13404
13405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail;
13406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13408 {
13409 PyThreadState* __tstate = wxPyBeginAllowThreads();
13410 result = (int)((wxScrollWinEvent const *)arg1)->GetOrientation();
13411
13412 wxPyEndAllowThreads(__tstate);
13413 if (PyErr_Occurred()) SWIG_fail;
13414 }
13415 resultobj = SWIG_FromInt((int)result);
13416 return resultobj;
13417 fail:
13418 return NULL;
13419}
13420
13421
13422static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13423 PyObject *resultobj;
13424 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13425 int result;
13426 PyObject * obj0 = 0 ;
13427 char *kwnames[] = {
13428 (char *) "self", NULL
13429 };
13430
13431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail;
13432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13434 {
13435 PyThreadState* __tstate = wxPyBeginAllowThreads();
13436 result = (int)((wxScrollWinEvent const *)arg1)->GetPosition();
13437
13438 wxPyEndAllowThreads(__tstate);
13439 if (PyErr_Occurred()) SWIG_fail;
13440 }
13441 resultobj = SWIG_FromInt((int)result);
13442 return resultobj;
13443 fail:
13444 return NULL;
13445}
13446
13447
13448static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13449 PyObject *resultobj;
13450 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13451 int arg2 ;
13452 PyObject * obj0 = 0 ;
13453 PyObject * obj1 = 0 ;
13454 char *kwnames[] = {
13455 (char *) "self",(char *) "orient", NULL
13456 };
13457
13458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
13459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13461 arg2 = (int) SWIG_AsInt(obj1);
13462 if (PyErr_Occurred()) SWIG_fail;
13463 {
13464 PyThreadState* __tstate = wxPyBeginAllowThreads();
13465 (arg1)->SetOrientation(arg2);
13466
13467 wxPyEndAllowThreads(__tstate);
13468 if (PyErr_Occurred()) SWIG_fail;
13469 }
13470 Py_INCREF(Py_None); resultobj = Py_None;
13471 return resultobj;
13472 fail:
13473 return NULL;
13474}
13475
13476
13477static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13478 PyObject *resultobj;
13479 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13480 int arg2 ;
13481 PyObject * obj0 = 0 ;
13482 PyObject * obj1 = 0 ;
13483 char *kwnames[] = {
13484 (char *) "self",(char *) "pos", NULL
13485 };
13486
13487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13490 arg2 = (int) SWIG_AsInt(obj1);
13491 if (PyErr_Occurred()) SWIG_fail;
13492 {
13493 PyThreadState* __tstate = wxPyBeginAllowThreads();
13494 (arg1)->SetPosition(arg2);
13495
13496 wxPyEndAllowThreads(__tstate);
13497 if (PyErr_Occurred()) SWIG_fail;
13498 }
13499 Py_INCREF(Py_None); resultobj = Py_None;
13500 return resultobj;
13501 fail:
13502 return NULL;
13503}
13504
13505
13506static PyObject * ScrollWinEvent_swigregister(PyObject *self, PyObject *args) {
13507 PyObject *obj;
13508 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13509 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj);
13510 Py_INCREF(obj);
13511 return Py_BuildValue((char *)"");
13512}
13513static PyObject *_wrap_new_MouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13514 PyObject *resultobj;
13515 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13516 wxMouseEvent *result;
13517 PyObject * obj0 = 0 ;
13518 char *kwnames[] = {
13519 (char *) "mouseType", NULL
13520 };
13521
13522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MouseEvent",kwnames,&obj0)) goto fail;
13523 if (obj0) {
13524 arg1 = (wxEventType) SWIG_AsInt(obj0);
13525 if (PyErr_Occurred()) SWIG_fail;
13526 }
13527 {
13528 PyThreadState* __tstate = wxPyBeginAllowThreads();
13529 result = (wxMouseEvent *)new wxMouseEvent(arg1);
13530
13531 wxPyEndAllowThreads(__tstate);
13532 if (PyErr_Occurred()) SWIG_fail;
13533 }
13534 {
13535 resultobj = wxPyMake_wxObject(result);
13536 }
13537 return resultobj;
13538 fail:
13539 return NULL;
13540}
13541
13542
13543static PyObject *_wrap_MouseEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13544 PyObject *resultobj;
13545 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13546 bool result;
13547 PyObject * obj0 = 0 ;
13548 char *kwnames[] = {
13549 (char *) "self", NULL
13550 };
13551
13552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsButton",kwnames,&obj0)) goto fail;
13553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13555 {
13556 PyThreadState* __tstate = wxPyBeginAllowThreads();
13557 result = (bool)((wxMouseEvent const *)arg1)->IsButton();
13558
13559 wxPyEndAllowThreads(__tstate);
13560 if (PyErr_Occurred()) SWIG_fail;
13561 }
13562 {
13563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13564 }
13565 return resultobj;
13566 fail:
13567 return NULL;
13568}
13569
13570
13571static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13572 PyObject *resultobj;
13573 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13574 int arg2 = (int) wxMOUSE_BTN_ANY ;
13575 bool result;
13576 PyObject * obj0 = 0 ;
13577 PyObject * obj1 = 0 ;
13578 char *kwnames[] = {
13579 (char *) "self",(char *) "but", NULL
13580 };
13581
13582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
13583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13585 if (obj1) {
13586 arg2 = (int) SWIG_AsInt(obj1);
13587 if (PyErr_Occurred()) SWIG_fail;
13588 }
13589 {
13590 PyThreadState* __tstate = wxPyBeginAllowThreads();
13591 result = (bool)((wxMouseEvent const *)arg1)->ButtonDown(arg2);
13592
13593 wxPyEndAllowThreads(__tstate);
13594 if (PyErr_Occurred()) SWIG_fail;
13595 }
13596 {
13597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13598 }
13599 return resultobj;
13600 fail:
13601 return NULL;
13602}
13603
13604
13605static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13606 PyObject *resultobj;
13607 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13608 int arg2 = (int) wxMOUSE_BTN_ANY ;
13609 bool result;
13610 PyObject * obj0 = 0 ;
13611 PyObject * obj1 = 0 ;
13612 char *kwnames[] = {
13613 (char *) "self",(char *) "but", NULL
13614 };
13615
13616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDClick",kwnames,&obj0,&obj1)) goto fail;
13617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13619 if (obj1) {
13620 arg2 = (int) SWIG_AsInt(obj1);
13621 if (PyErr_Occurred()) SWIG_fail;
13622 }
13623 {
13624 PyThreadState* __tstate = wxPyBeginAllowThreads();
13625 result = (bool)((wxMouseEvent const *)arg1)->ButtonDClick(arg2);
13626
13627 wxPyEndAllowThreads(__tstate);
13628 if (PyErr_Occurred()) SWIG_fail;
13629 }
13630 {
13631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13632 }
13633 return resultobj;
13634 fail:
13635 return NULL;
13636}
13637
13638
13639static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
13640 PyObject *resultobj;
13641 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13642 int arg2 = (int) wxMOUSE_BTN_ANY ;
13643 bool result;
13644 PyObject * obj0 = 0 ;
13645 PyObject * obj1 = 0 ;
13646 char *kwnames[] = {
13647 (char *) "self",(char *) "but", NULL
13648 };
13649
13650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
13651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13653 if (obj1) {
13654 arg2 = (int) SWIG_AsInt(obj1);
13655 if (PyErr_Occurred()) SWIG_fail;
13656 }
13657 {
13658 PyThreadState* __tstate = wxPyBeginAllowThreads();
13659 result = (bool)((wxMouseEvent const *)arg1)->ButtonUp(arg2);
13660
13661 wxPyEndAllowThreads(__tstate);
13662 if (PyErr_Occurred()) SWIG_fail;
13663 }
13664 {
13665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13666 }
13667 return resultobj;
13668 fail:
13669 return NULL;
13670}
13671
13672
13673static PyObject *_wrap_MouseEvent_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
13674 PyObject *resultobj;
13675 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13676 int arg2 ;
13677 bool result;
13678 PyObject * obj0 = 0 ;
13679 PyObject * obj1 = 0 ;
13680 char *kwnames[] = {
13681 (char *) "self",(char *) "but", NULL
13682 };
13683
13684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_Button",kwnames,&obj0,&obj1)) goto fail;
13685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13687 arg2 = (int) SWIG_AsInt(obj1);
13688 if (PyErr_Occurred()) SWIG_fail;
13689 {
13690 PyThreadState* __tstate = wxPyBeginAllowThreads();
13691 result = (bool)((wxMouseEvent const *)arg1)->Button(arg2);
13692
13693 wxPyEndAllowThreads(__tstate);
13694 if (PyErr_Occurred()) SWIG_fail;
13695 }
13696 {
13697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13698 }
13699 return resultobj;
13700 fail:
13701 return NULL;
13702}
13703
13704
13705static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13706 PyObject *resultobj;
13707 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13708 int arg2 ;
13709 bool result;
13710 PyObject * obj0 = 0 ;
13711 PyObject * obj1 = 0 ;
13712 char *kwnames[] = {
13713 (char *) "self",(char *) "but", NULL
13714 };
13715
13716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
13717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13719 arg2 = (int) SWIG_AsInt(obj1);
13720 if (PyErr_Occurred()) SWIG_fail;
13721 {
13722 PyThreadState* __tstate = wxPyBeginAllowThreads();
13723 result = (bool)((wxMouseEvent const *)arg1)->ButtonIsDown(arg2);
13724
13725 wxPyEndAllowThreads(__tstate);
13726 if (PyErr_Occurred()) SWIG_fail;
13727 }
13728 {
13729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13730 }
13731 return resultobj;
13732 fail:
13733 return NULL;
13734}
13735
13736
13737static PyObject *_wrap_MouseEvent_GetButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13738 PyObject *resultobj;
13739 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13740 int result;
13741 PyObject * obj0 = 0 ;
13742 char *kwnames[] = {
13743 (char *) "self", NULL
13744 };
13745
13746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail;
13747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13749 {
13750 PyThreadState* __tstate = wxPyBeginAllowThreads();
13751 result = (int)((wxMouseEvent const *)arg1)->GetButton();
13752
13753 wxPyEndAllowThreads(__tstate);
13754 if (PyErr_Occurred()) SWIG_fail;
13755 }
13756 resultobj = SWIG_FromInt((int)result);
13757 return resultobj;
13758 fail:
13759 return NULL;
13760}
13761
13762
13763static PyObject *_wrap_MouseEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13764 PyObject *resultobj;
13765 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13766 bool result;
13767 PyObject * obj0 = 0 ;
13768 char *kwnames[] = {
13769 (char *) "self", NULL
13770 };
13771
13772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail;
13773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13775 {
13776 PyThreadState* __tstate = wxPyBeginAllowThreads();
13777 result = (bool)((wxMouseEvent const *)arg1)->ControlDown();
13778
13779 wxPyEndAllowThreads(__tstate);
13780 if (PyErr_Occurred()) SWIG_fail;
13781 }
13782 {
13783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13784 }
13785 return resultobj;
13786 fail:
13787 return NULL;
13788}
13789
13790
13791static PyObject *_wrap_MouseEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13792 PyObject *resultobj;
13793 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13794 bool result;
13795 PyObject * obj0 = 0 ;
13796 char *kwnames[] = {
13797 (char *) "self", NULL
13798 };
13799
13800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail;
13801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13803 {
13804 PyThreadState* __tstate = wxPyBeginAllowThreads();
13805 result = (bool)((wxMouseEvent const *)arg1)->MetaDown();
13806
13807 wxPyEndAllowThreads(__tstate);
13808 if (PyErr_Occurred()) SWIG_fail;
13809 }
13810 {
13811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13812 }
13813 return resultobj;
13814 fail:
13815 return NULL;
13816}
13817
13818
13819static PyObject *_wrap_MouseEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13820 PyObject *resultobj;
13821 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13822 bool result;
13823 PyObject * obj0 = 0 ;
13824 char *kwnames[] = {
13825 (char *) "self", NULL
13826 };
13827
13828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_AltDown",kwnames,&obj0)) goto fail;
13829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13831 {
13832 PyThreadState* __tstate = wxPyBeginAllowThreads();
13833 result = (bool)((wxMouseEvent const *)arg1)->AltDown();
13834
13835 wxPyEndAllowThreads(__tstate);
13836 if (PyErr_Occurred()) SWIG_fail;
13837 }
13838 {
13839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13840 }
13841 return resultobj;
13842 fail:
13843 return NULL;
13844}
13845
13846
13847static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13848 PyObject *resultobj;
13849 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13850 bool result;
13851 PyObject * obj0 = 0 ;
13852 char *kwnames[] = {
13853 (char *) "self", NULL
13854 };
13855
13856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ShiftDown",kwnames,&obj0)) goto fail;
13857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13859 {
13860 PyThreadState* __tstate = wxPyBeginAllowThreads();
13861 result = (bool)((wxMouseEvent const *)arg1)->ShiftDown();
13862
13863 wxPyEndAllowThreads(__tstate);
13864 if (PyErr_Occurred()) SWIG_fail;
13865 }
13866 {
13867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13868 }
13869 return resultobj;
13870 fail:
13871 return NULL;
13872}
13873
13874
13875static PyObject *_wrap_MouseEvent_LeftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13876 PyObject *resultobj;
13877 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13878 bool result;
13879 PyObject * obj0 = 0 ;
13880 char *kwnames[] = {
13881 (char *) "self", NULL
13882 };
13883
13884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDown",kwnames,&obj0)) goto fail;
13885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13887 {
13888 PyThreadState* __tstate = wxPyBeginAllowThreads();
13889 result = (bool)((wxMouseEvent const *)arg1)->LeftDown();
13890
13891 wxPyEndAllowThreads(__tstate);
13892 if (PyErr_Occurred()) SWIG_fail;
13893 }
13894 {
13895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13896 }
13897 return resultobj;
13898 fail:
13899 return NULL;
13900}
13901
13902
13903static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13904 PyObject *resultobj;
13905 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13906 bool result;
13907 PyObject * obj0 = 0 ;
13908 char *kwnames[] = {
13909 (char *) "self", NULL
13910 };
13911
13912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDown",kwnames,&obj0)) goto fail;
13913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13915 {
13916 PyThreadState* __tstate = wxPyBeginAllowThreads();
13917 result = (bool)((wxMouseEvent const *)arg1)->MiddleDown();
13918
13919 wxPyEndAllowThreads(__tstate);
13920 if (PyErr_Occurred()) SWIG_fail;
13921 }
13922 {
13923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13924 }
13925 return resultobj;
13926 fail:
13927 return NULL;
13928}
13929
13930
13931static PyObject *_wrap_MouseEvent_RightDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13932 PyObject *resultobj;
13933 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13934 bool result;
13935 PyObject * obj0 = 0 ;
13936 char *kwnames[] = {
13937 (char *) "self", NULL
13938 };
13939
13940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDown",kwnames,&obj0)) goto fail;
13941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13943 {
13944 PyThreadState* __tstate = wxPyBeginAllowThreads();
13945 result = (bool)((wxMouseEvent const *)arg1)->RightDown();
13946
13947 wxPyEndAllowThreads(__tstate);
13948 if (PyErr_Occurred()) SWIG_fail;
13949 }
13950 {
13951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13952 }
13953 return resultobj;
13954 fail:
13955 return NULL;
13956}
13957
13958
13959static PyObject *_wrap_MouseEvent_LeftUp(PyObject *self, PyObject *args, PyObject *kwargs) {
13960 PyObject *resultobj;
13961 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13962 bool result;
13963 PyObject * obj0 = 0 ;
13964 char *kwnames[] = {
13965 (char *) "self", NULL
13966 };
13967
13968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftUp",kwnames,&obj0)) goto fail;
13969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13971 {
13972 PyThreadState* __tstate = wxPyBeginAllowThreads();
13973 result = (bool)((wxMouseEvent const *)arg1)->LeftUp();
13974
13975 wxPyEndAllowThreads(__tstate);
13976 if (PyErr_Occurred()) SWIG_fail;
13977 }
13978 {
13979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13980 }
13981 return resultobj;
13982 fail:
13983 return NULL;
13984}
13985
13986
13987static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *self, PyObject *args, PyObject *kwargs) {
13988 PyObject *resultobj;
13989 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13990 bool result;
13991 PyObject * obj0 = 0 ;
13992 char *kwnames[] = {
13993 (char *) "self", NULL
13994 };
13995
13996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleUp",kwnames,&obj0)) goto fail;
13997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13999 {
14000 PyThreadState* __tstate = wxPyBeginAllowThreads();
14001 result = (bool)((wxMouseEvent const *)arg1)->MiddleUp();
14002
14003 wxPyEndAllowThreads(__tstate);
14004 if (PyErr_Occurred()) SWIG_fail;
14005 }
14006 {
14007 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14008 }
14009 return resultobj;
14010 fail:
14011 return NULL;
14012}
14013
14014
14015static PyObject *_wrap_MouseEvent_RightUp(PyObject *self, PyObject *args, PyObject *kwargs) {
14016 PyObject *resultobj;
14017 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14018 bool result;
14019 PyObject * obj0 = 0 ;
14020 char *kwnames[] = {
14021 (char *) "self", NULL
14022 };
14023
14024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightUp",kwnames,&obj0)) goto fail;
14025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14027 {
14028 PyThreadState* __tstate = wxPyBeginAllowThreads();
14029 result = (bool)((wxMouseEvent const *)arg1)->RightUp();
14030
14031 wxPyEndAllowThreads(__tstate);
14032 if (PyErr_Occurred()) SWIG_fail;
14033 }
14034 {
14035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14036 }
14037 return resultobj;
14038 fail:
14039 return NULL;
14040}
14041
14042
14043static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14044 PyObject *resultobj;
14045 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14046 bool result;
14047 PyObject * obj0 = 0 ;
14048 char *kwnames[] = {
14049 (char *) "self", NULL
14050 };
14051
14052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDClick",kwnames,&obj0)) goto fail;
14053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14055 {
14056 PyThreadState* __tstate = wxPyBeginAllowThreads();
14057 result = (bool)((wxMouseEvent const *)arg1)->LeftDClick();
14058
14059 wxPyEndAllowThreads(__tstate);
14060 if (PyErr_Occurred()) SWIG_fail;
14061 }
14062 {
14063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14064 }
14065 return resultobj;
14066 fail:
14067 return NULL;
14068}
14069
14070
14071static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14072 PyObject *resultobj;
14073 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14074 bool result;
14075 PyObject * obj0 = 0 ;
14076 char *kwnames[] = {
14077 (char *) "self", NULL
14078 };
14079
14080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDClick",kwnames,&obj0)) goto fail;
14081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14083 {
14084 PyThreadState* __tstate = wxPyBeginAllowThreads();
14085 result = (bool)((wxMouseEvent const *)arg1)->MiddleDClick();
14086
14087 wxPyEndAllowThreads(__tstate);
14088 if (PyErr_Occurred()) SWIG_fail;
14089 }
14090 {
14091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14092 }
14093 return resultobj;
14094 fail:
14095 return NULL;
14096}
14097
14098
14099static PyObject *_wrap_MouseEvent_RightDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14100 PyObject *resultobj;
14101 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14102 bool result;
14103 PyObject * obj0 = 0 ;
14104 char *kwnames[] = {
14105 (char *) "self", NULL
14106 };
14107
14108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDClick",kwnames,&obj0)) goto fail;
14109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14111 {
14112 PyThreadState* __tstate = wxPyBeginAllowThreads();
14113 result = (bool)((wxMouseEvent const *)arg1)->RightDClick();
14114
14115 wxPyEndAllowThreads(__tstate);
14116 if (PyErr_Occurred()) SWIG_fail;
14117 }
14118 {
14119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14120 }
14121 return resultobj;
14122 fail:
14123 return NULL;
14124}
14125
14126
14127static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14128 PyObject *resultobj;
14129 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14130 bool result;
14131 PyObject * obj0 = 0 ;
14132 char *kwnames[] = {
14133 (char *) "self", NULL
14134 };
14135
14136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftIsDown",kwnames,&obj0)) goto fail;
14137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14139 {
14140 PyThreadState* __tstate = wxPyBeginAllowThreads();
14141 result = (bool)(arg1)->LeftIsDown();
14142
14143 wxPyEndAllowThreads(__tstate);
14144 if (PyErr_Occurred()) SWIG_fail;
14145 }
14146 {
14147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14148 }
14149 return resultobj;
14150 fail:
14151 return NULL;
14152}
14153
14154
14155static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14156 PyObject *resultobj;
14157 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14158 bool result;
14159 PyObject * obj0 = 0 ;
14160 char *kwnames[] = {
14161 (char *) "self", NULL
14162 };
14163
14164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail;
14165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14167 {
14168 PyThreadState* __tstate = wxPyBeginAllowThreads();
14169 result = (bool)(arg1)->MiddleIsDown();
14170
14171 wxPyEndAllowThreads(__tstate);
14172 if (PyErr_Occurred()) SWIG_fail;
14173 }
14174 {
14175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14176 }
14177 return resultobj;
14178 fail:
14179 return NULL;
14180}
14181
14182
14183static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14184 PyObject *resultobj;
14185 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14186 bool result;
14187 PyObject * obj0 = 0 ;
14188 char *kwnames[] = {
14189 (char *) "self", NULL
14190 };
14191
14192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightIsDown",kwnames,&obj0)) goto fail;
14193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14195 {
14196 PyThreadState* __tstate = wxPyBeginAllowThreads();
14197 result = (bool)(arg1)->RightIsDown();
14198
14199 wxPyEndAllowThreads(__tstate);
14200 if (PyErr_Occurred()) SWIG_fail;
14201 }
14202 {
14203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14204 }
14205 return resultobj;
14206 fail:
14207 return NULL;
14208}
14209
14210
14211static PyObject *_wrap_MouseEvent_Dragging(PyObject *self, PyObject *args, PyObject *kwargs) {
14212 PyObject *resultobj;
14213 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14214 bool result;
14215 PyObject * obj0 = 0 ;
14216 char *kwnames[] = {
14217 (char *) "self", NULL
14218 };
14219
14220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Dragging",kwnames,&obj0)) goto fail;
14221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14223 {
14224 PyThreadState* __tstate = wxPyBeginAllowThreads();
14225 result = (bool)((wxMouseEvent const *)arg1)->Dragging();
14226
14227 wxPyEndAllowThreads(__tstate);
14228 if (PyErr_Occurred()) SWIG_fail;
14229 }
14230 {
14231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14232 }
14233 return resultobj;
14234 fail:
14235 return NULL;
14236}
14237
14238
14239static PyObject *_wrap_MouseEvent_Moving(PyObject *self, PyObject *args, PyObject *kwargs) {
14240 PyObject *resultobj;
14241 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14242 bool result;
14243 PyObject * obj0 = 0 ;
14244 char *kwnames[] = {
14245 (char *) "self", NULL
14246 };
14247
14248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Moving",kwnames,&obj0)) goto fail;
14249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14251 {
14252 PyThreadState* __tstate = wxPyBeginAllowThreads();
14253 result = (bool)((wxMouseEvent const *)arg1)->Moving();
14254
14255 wxPyEndAllowThreads(__tstate);
14256 if (PyErr_Occurred()) SWIG_fail;
14257 }
14258 {
14259 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14260 }
14261 return resultobj;
14262 fail:
14263 return NULL;
14264}
14265
14266
14267static PyObject *_wrap_MouseEvent_Entering(PyObject *self, PyObject *args, PyObject *kwargs) {
14268 PyObject *resultobj;
14269 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14270 bool result;
14271 PyObject * obj0 = 0 ;
14272 char *kwnames[] = {
14273 (char *) "self", NULL
14274 };
14275
14276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Entering",kwnames,&obj0)) goto fail;
14277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14279 {
14280 PyThreadState* __tstate = wxPyBeginAllowThreads();
14281 result = (bool)((wxMouseEvent const *)arg1)->Entering();
14282
14283 wxPyEndAllowThreads(__tstate);
14284 if (PyErr_Occurred()) SWIG_fail;
14285 }
14286 {
14287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14288 }
14289 return resultobj;
14290 fail:
14291 return NULL;
14292}
14293
14294
14295static PyObject *_wrap_MouseEvent_Leaving(PyObject *self, PyObject *args, PyObject *kwargs) {
14296 PyObject *resultobj;
14297 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14298 bool result;
14299 PyObject * obj0 = 0 ;
14300 char *kwnames[] = {
14301 (char *) "self", NULL
14302 };
14303
14304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Leaving",kwnames,&obj0)) goto fail;
14305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14307 {
14308 PyThreadState* __tstate = wxPyBeginAllowThreads();
14309 result = (bool)((wxMouseEvent const *)arg1)->Leaving();
14310
14311 wxPyEndAllowThreads(__tstate);
14312 if (PyErr_Occurred()) SWIG_fail;
14313 }
14314 {
14315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14316 }
14317 return resultobj;
14318 fail:
14319 return NULL;
14320}
14321
14322
14323static PyObject *_wrap_MouseEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14324 PyObject *resultobj;
14325 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14326 wxPoint result;
14327 PyObject * obj0 = 0 ;
14328 char *kwnames[] = {
14329 (char *) "self", NULL
14330 };
14331
14332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",kwnames,&obj0)) goto fail;
14333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14335 {
14336 PyThreadState* __tstate = wxPyBeginAllowThreads();
14337 result = (arg1)->GetPosition();
14338
14339 wxPyEndAllowThreads(__tstate);
14340 if (PyErr_Occurred()) SWIG_fail;
14341 }
14342 {
14343 wxPoint * resultptr;
14344 resultptr = new wxPoint((wxPoint &) result);
14345 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
14346 }
14347 return resultobj;
14348 fail:
14349 return NULL;
14350}
14351
14352
14353static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
14354 PyObject *resultobj;
14355 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14356 long *arg2 = (long *) 0 ;
14357 long *arg3 = (long *) 0 ;
14358 long temp2 ;
14359 long temp3 ;
14360 PyObject * obj0 = 0 ;
14361 char *kwnames[] = {
14362 (char *) "self", NULL
14363 };
14364
14365 arg2 = &temp2;
14366 arg3 = &temp3;
14367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
14368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14370 {
14371 PyThreadState* __tstate = wxPyBeginAllowThreads();
14372 (arg1)->GetPosition(arg2,arg3);
14373
14374 wxPyEndAllowThreads(__tstate);
14375 if (PyErr_Occurred()) SWIG_fail;
14376 }
14377 Py_INCREF(Py_None); resultobj = Py_None;
14378 {
14379 PyObject *o = PyInt_FromLong((long) (*arg2));
14380 resultobj = t_output_helper(resultobj,o);
14381 }
14382 {
14383 PyObject *o = PyInt_FromLong((long) (*arg3));
14384 resultobj = t_output_helper(resultobj,o);
14385 }
14386 return resultobj;
14387 fail:
14388 return NULL;
14389}
14390
14391
14392static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14393 PyObject *resultobj;
14394 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14395 wxDC *arg2 = 0 ;
14396 wxPoint result;
14397 PyObject * obj0 = 0 ;
14398 PyObject * obj1 = 0 ;
14399 char *kwnames[] = {
14400 (char *) "self",(char *) "dc", NULL
14401 };
14402
14403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail;
14404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14406 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14407 SWIG_POINTER_EXCEPTION | 0)) == -1)
14408 SWIG_fail;
14409 if (arg2 == NULL) {
14410 PyErr_SetString(PyExc_TypeError,"null reference");
14411 SWIG_fail;
14412 }
14413 {
14414 PyThreadState* __tstate = wxPyBeginAllowThreads();
14415 result = ((wxMouseEvent const *)arg1)->GetLogicalPosition((wxDC const &)*arg2);
14416
14417 wxPyEndAllowThreads(__tstate);
14418 if (PyErr_Occurred()) SWIG_fail;
14419 }
14420 {
14421 wxPoint * resultptr;
14422 resultptr = new wxPoint((wxPoint &) result);
14423 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
14424 }
14425 return resultobj;
14426 fail:
14427 return NULL;
14428}
14429
14430
14431static PyObject *_wrap_MouseEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
14432 PyObject *resultobj;
14433 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14434 int result;
14435 PyObject * obj0 = 0 ;
14436 char *kwnames[] = {
14437 (char *) "self", NULL
14438 };
14439
14440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail;
14441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14443 {
14444 PyThreadState* __tstate = wxPyBeginAllowThreads();
14445 result = (int)((wxMouseEvent const *)arg1)->GetX();
14446
14447 wxPyEndAllowThreads(__tstate);
14448 if (PyErr_Occurred()) SWIG_fail;
14449 }
14450 resultobj = SWIG_FromInt((int)result);
14451 return resultobj;
14452 fail:
14453 return NULL;
14454}
14455
14456
14457static PyObject *_wrap_MouseEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
14458 PyObject *resultobj;
14459 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14460 int result;
14461 PyObject * obj0 = 0 ;
14462 char *kwnames[] = {
14463 (char *) "self", NULL
14464 };
14465
14466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail;
14467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14469 {
14470 PyThreadState* __tstate = wxPyBeginAllowThreads();
14471 result = (int)((wxMouseEvent const *)arg1)->GetY();
14472
14473 wxPyEndAllowThreads(__tstate);
14474 if (PyErr_Occurred()) SWIG_fail;
14475 }
14476 resultobj = SWIG_FromInt((int)result);
14477 return resultobj;
14478 fail:
14479 return NULL;
14480}
14481
14482
14483static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
14484 PyObject *resultobj;
14485 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14486 int result;
14487 PyObject * obj0 = 0 ;
14488 char *kwnames[] = {
14489 (char *) "self", NULL
14490 };
14491
14492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail;
14493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14495 {
14496 PyThreadState* __tstate = wxPyBeginAllowThreads();
14497 result = (int)((wxMouseEvent const *)arg1)->GetWheelRotation();
14498
14499 wxPyEndAllowThreads(__tstate);
14500 if (PyErr_Occurred()) SWIG_fail;
14501 }
14502 resultobj = SWIG_FromInt((int)result);
14503 return resultobj;
14504 fail:
14505 return NULL;
14506}
14507
14508
14509static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *self, PyObject *args, PyObject *kwargs) {
14510 PyObject *resultobj;
14511 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14512 int result;
14513 PyObject * obj0 = 0 ;
14514 char *kwnames[] = {
14515 (char *) "self", NULL
14516 };
14517
14518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail;
14519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14521 {
14522 PyThreadState* __tstate = wxPyBeginAllowThreads();
14523 result = (int)((wxMouseEvent const *)arg1)->GetWheelDelta();
14524
14525 wxPyEndAllowThreads(__tstate);
14526 if (PyErr_Occurred()) SWIG_fail;
14527 }
14528 resultobj = SWIG_FromInt((int)result);
14529 return resultobj;
14530 fail:
14531 return NULL;
14532}
14533
14534
14535static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *self, PyObject *args, PyObject *kwargs) {
14536 PyObject *resultobj;
14537 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14538 int result;
14539 PyObject * obj0 = 0 ;
14540 char *kwnames[] = {
14541 (char *) "self", NULL
14542 };
14543
14544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail;
14545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14547 {
14548 PyThreadState* __tstate = wxPyBeginAllowThreads();
14549 result = (int)((wxMouseEvent const *)arg1)->GetLinesPerAction();
14550
14551 wxPyEndAllowThreads(__tstate);
14552 if (PyErr_Occurred()) SWIG_fail;
14553 }
14554 resultobj = SWIG_FromInt((int)result);
14555 return resultobj;
14556 fail:
14557 return NULL;
14558}
14559
14560
14561static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
14562 PyObject *resultobj;
14563 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14564 bool result;
14565 PyObject * obj0 = 0 ;
14566 char *kwnames[] = {
14567 (char *) "self", NULL
14568 };
14569
14570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsPageScroll",kwnames,&obj0)) goto fail;
14571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14573 {
14574 PyThreadState* __tstate = wxPyBeginAllowThreads();
14575 result = (bool)((wxMouseEvent const *)arg1)->IsPageScroll();
14576
14577 wxPyEndAllowThreads(__tstate);
14578 if (PyErr_Occurred()) SWIG_fail;
14579 }
14580 {
14581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14582 }
14583 return resultobj;
14584 fail:
14585 return NULL;
14586}
14587
14588
14589static PyObject *_wrap_MouseEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14590 PyObject *resultobj;
14591 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14592 int arg2 ;
14593 PyObject * obj0 = 0 ;
14594 PyObject * obj1 = 0 ;
14595 char *kwnames[] = {
14596 (char *) "self",(char *) "m_x", NULL
14597 };
14598
14599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
14600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14602 arg2 = (int) SWIG_AsInt(obj1);
14603 if (PyErr_Occurred()) SWIG_fail;
14604 if (arg1) (arg1)->m_x = arg2;
14605
14606 Py_INCREF(Py_None); resultobj = Py_None;
14607 return resultobj;
14608 fail:
14609 return NULL;
14610}
14611
14612
14613static PyObject *_wrap_MouseEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14614 PyObject *resultobj;
14615 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14616 int result;
14617 PyObject * obj0 = 0 ;
14618 char *kwnames[] = {
14619 (char *) "self", NULL
14620 };
14621
14622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail;
14623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14625 result = (int) ((arg1)->m_x);
14626
14627 resultobj = SWIG_FromInt((int)result);
14628 return resultobj;
14629 fail:
14630 return NULL;
14631}
14632
14633
14634static PyObject *_wrap_MouseEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14635 PyObject *resultobj;
14636 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14637 int arg2 ;
14638 PyObject * obj0 = 0 ;
14639 PyObject * obj1 = 0 ;
14640 char *kwnames[] = {
14641 (char *) "self",(char *) "m_y", NULL
14642 };
14643
14644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
14645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14647 arg2 = (int) SWIG_AsInt(obj1);
14648 if (PyErr_Occurred()) SWIG_fail;
14649 if (arg1) (arg1)->m_y = arg2;
14650
14651 Py_INCREF(Py_None); resultobj = Py_None;
14652 return resultobj;
14653 fail:
14654 return NULL;
14655}
14656
14657
14658static PyObject *_wrap_MouseEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14659 PyObject *resultobj;
14660 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14661 int result;
14662 PyObject * obj0 = 0 ;
14663 char *kwnames[] = {
14664 (char *) "self", NULL
14665 };
14666
14667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail;
14668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14670 result = (int) ((arg1)->m_y);
14671
14672 resultobj = SWIG_FromInt((int)result);
14673 return resultobj;
14674 fail:
14675 return NULL;
14676}
14677
14678
14679static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14680 PyObject *resultobj;
14681 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14682 bool arg2 ;
14683 PyObject * obj0 = 0 ;
14684 PyObject * obj1 = 0 ;
14685 char *kwnames[] = {
14686 (char *) "self",(char *) "m_leftDown", NULL
14687 };
14688
14689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail;
14690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14692 arg2 = (bool) SWIG_AsBool(obj1);
14693 if (PyErr_Occurred()) SWIG_fail;
14694 if (arg1) (arg1)->m_leftDown = arg2;
14695
14696 Py_INCREF(Py_None); resultobj = Py_None;
14697 return resultobj;
14698 fail:
14699 return NULL;
14700}
14701
14702
14703static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14704 PyObject *resultobj;
14705 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14706 bool result;
14707 PyObject * obj0 = 0 ;
14708 char *kwnames[] = {
14709 (char *) "self", NULL
14710 };
14711
14712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail;
14713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14715 result = (bool) ((arg1)->m_leftDown);
14716
14717 {
14718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14719 }
14720 return resultobj;
14721 fail:
14722 return NULL;
14723}
14724
14725
14726static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14727 PyObject *resultobj;
14728 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14729 bool arg2 ;
14730 PyObject * obj0 = 0 ;
14731 PyObject * obj1 = 0 ;
14732 char *kwnames[] = {
14733 (char *) "self",(char *) "m_middleDown", NULL
14734 };
14735
14736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail;
14737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14739 arg2 = (bool) SWIG_AsBool(obj1);
14740 if (PyErr_Occurred()) SWIG_fail;
14741 if (arg1) (arg1)->m_middleDown = arg2;
14742
14743 Py_INCREF(Py_None); resultobj = Py_None;
14744 return resultobj;
14745 fail:
14746 return NULL;
14747}
14748
14749
14750static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14751 PyObject *resultobj;
14752 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14753 bool result;
14754 PyObject * obj0 = 0 ;
14755 char *kwnames[] = {
14756 (char *) "self", NULL
14757 };
14758
14759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail;
14760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14762 result = (bool) ((arg1)->m_middleDown);
14763
14764 {
14765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14766 }
14767 return resultobj;
14768 fail:
14769 return NULL;
14770}
14771
14772
14773static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14774 PyObject *resultobj;
14775 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14776 bool arg2 ;
14777 PyObject * obj0 = 0 ;
14778 PyObject * obj1 = 0 ;
14779 char *kwnames[] = {
14780 (char *) "self",(char *) "m_rightDown", NULL
14781 };
14782
14783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail;
14784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14786 arg2 = (bool) SWIG_AsBool(obj1);
14787 if (PyErr_Occurred()) SWIG_fail;
14788 if (arg1) (arg1)->m_rightDown = arg2;
14789
14790 Py_INCREF(Py_None); resultobj = Py_None;
14791 return resultobj;
14792 fail:
14793 return NULL;
14794}
14795
14796
14797static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14798 PyObject *resultobj;
14799 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14800 bool result;
14801 PyObject * obj0 = 0 ;
14802 char *kwnames[] = {
14803 (char *) "self", NULL
14804 };
14805
14806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail;
14807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14809 result = (bool) ((arg1)->m_rightDown);
14810
14811 {
14812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14813 }
14814 return resultobj;
14815 fail:
14816 return NULL;
14817}
14818
14819
14820static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14821 PyObject *resultobj;
14822 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14823 bool arg2 ;
14824 PyObject * obj0 = 0 ;
14825 PyObject * obj1 = 0 ;
14826 char *kwnames[] = {
14827 (char *) "self",(char *) "m_controlDown", NULL
14828 };
14829
14830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
14831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14833 arg2 = (bool) SWIG_AsBool(obj1);
14834 if (PyErr_Occurred()) SWIG_fail;
14835 if (arg1) (arg1)->m_controlDown = arg2;
14836
14837 Py_INCREF(Py_None); resultobj = Py_None;
14838 return resultobj;
14839 fail:
14840 return NULL;
14841}
14842
14843
14844static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14845 PyObject *resultobj;
14846 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14847 bool result;
14848 PyObject * obj0 = 0 ;
14849 char *kwnames[] = {
14850 (char *) "self", NULL
14851 };
14852
14853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
14854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14856 result = (bool) ((arg1)->m_controlDown);
14857
14858 {
14859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14860 }
14861 return resultobj;
14862 fail:
14863 return NULL;
14864}
14865
14866
14867static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14868 PyObject *resultobj;
14869 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14870 bool arg2 ;
14871 PyObject * obj0 = 0 ;
14872 PyObject * obj1 = 0 ;
14873 char *kwnames[] = {
14874 (char *) "self",(char *) "m_shiftDown", NULL
14875 };
14876
14877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
14878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14880 arg2 = (bool) SWIG_AsBool(obj1);
14881 if (PyErr_Occurred()) SWIG_fail;
14882 if (arg1) (arg1)->m_shiftDown = arg2;
14883
14884 Py_INCREF(Py_None); resultobj = Py_None;
14885 return resultobj;
14886 fail:
14887 return NULL;
14888}
14889
14890
14891static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14892 PyObject *resultobj;
14893 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14894 bool result;
14895 PyObject * obj0 = 0 ;
14896 char *kwnames[] = {
14897 (char *) "self", NULL
14898 };
14899
14900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
14901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14903 result = (bool) ((arg1)->m_shiftDown);
14904
14905 {
14906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14907 }
14908 return resultobj;
14909 fail:
14910 return NULL;
14911}
14912
14913
14914static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14915 PyObject *resultobj;
14916 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14917 bool arg2 ;
14918 PyObject * obj0 = 0 ;
14919 PyObject * obj1 = 0 ;
14920 char *kwnames[] = {
14921 (char *) "self",(char *) "m_altDown", NULL
14922 };
14923
14924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
14925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14927 arg2 = (bool) SWIG_AsBool(obj1);
14928 if (PyErr_Occurred()) SWIG_fail;
14929 if (arg1) (arg1)->m_altDown = arg2;
14930
14931 Py_INCREF(Py_None); resultobj = Py_None;
14932 return resultobj;
14933 fail:
14934 return NULL;
14935}
14936
14937
14938static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14939 PyObject *resultobj;
14940 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14941 bool result;
14942 PyObject * obj0 = 0 ;
14943 char *kwnames[] = {
14944 (char *) "self", NULL
14945 };
14946
14947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail;
14948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14950 result = (bool) ((arg1)->m_altDown);
14951
14952 {
14953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14954 }
14955 return resultobj;
14956 fail:
14957 return NULL;
14958}
14959
14960
14961static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14962 PyObject *resultobj;
14963 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14964 bool arg2 ;
14965 PyObject * obj0 = 0 ;
14966 PyObject * obj1 = 0 ;
14967 char *kwnames[] = {
14968 (char *) "self",(char *) "m_metaDown", NULL
14969 };
14970
14971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
14972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14974 arg2 = (bool) SWIG_AsBool(obj1);
14975 if (PyErr_Occurred()) SWIG_fail;
14976 if (arg1) (arg1)->m_metaDown = arg2;
14977
14978 Py_INCREF(Py_None); resultobj = Py_None;
14979 return resultobj;
14980 fail:
14981 return NULL;
14982}
14983
14984
14985static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14986 PyObject *resultobj;
14987 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14988 bool result;
14989 PyObject * obj0 = 0 ;
14990 char *kwnames[] = {
14991 (char *) "self", NULL
14992 };
14993
14994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
14995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14997 result = (bool) ((arg1)->m_metaDown);
14998
14999 {
15000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15001 }
15002 return resultobj;
15003 fail:
15004 return NULL;
15005}
15006
15007
15008static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15009 PyObject *resultobj;
15010 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15011 int arg2 ;
15012 PyObject * obj0 = 0 ;
15013 PyObject * obj1 = 0 ;
15014 char *kwnames[] = {
15015 (char *) "self",(char *) "m_wheelRotation", NULL
15016 };
15017
15018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&obj1)) goto fail;
15019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15021 arg2 = (int) SWIG_AsInt(obj1);
15022 if (PyErr_Occurred()) SWIG_fail;
15023 if (arg1) (arg1)->m_wheelRotation = arg2;
15024
15025 Py_INCREF(Py_None); resultobj = Py_None;
15026 return resultobj;
15027 fail:
15028 return NULL;
15029}
15030
15031
15032static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15033 PyObject *resultobj;
15034 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15035 int result;
15036 PyObject * obj0 = 0 ;
15037 char *kwnames[] = {
15038 (char *) "self", NULL
15039 };
15040
15041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail;
15042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15044 result = (int) ((arg1)->m_wheelRotation);
15045
15046 resultobj = SWIG_FromInt((int)result);
15047 return resultobj;
15048 fail:
15049 return NULL;
15050}
15051
15052
15053static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15054 PyObject *resultobj;
15055 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15056 int arg2 ;
15057 PyObject * obj0 = 0 ;
15058 PyObject * obj1 = 0 ;
15059 char *kwnames[] = {
15060 (char *) "self",(char *) "m_wheelDelta", NULL
15061 };
15062
15063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&obj1)) goto fail;
15064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15066 arg2 = (int) SWIG_AsInt(obj1);
15067 if (PyErr_Occurred()) SWIG_fail;
15068 if (arg1) (arg1)->m_wheelDelta = arg2;
15069
15070 Py_INCREF(Py_None); resultobj = Py_None;
15071 return resultobj;
15072 fail:
15073 return NULL;
15074}
15075
15076
15077static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15078 PyObject *resultobj;
15079 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15080 int result;
15081 PyObject * obj0 = 0 ;
15082 char *kwnames[] = {
15083 (char *) "self", NULL
15084 };
15085
15086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail;
15087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15089 result = (int) ((arg1)->m_wheelDelta);
15090
15091 resultobj = SWIG_FromInt((int)result);
15092 return resultobj;
15093 fail:
15094 return NULL;
15095}
15096
15097
15098static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15099 PyObject *resultobj;
15100 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15101 int arg2 ;
15102 PyObject * obj0 = 0 ;
15103 PyObject * obj1 = 0 ;
15104 char *kwnames[] = {
15105 (char *) "self",(char *) "m_linesPerAction", NULL
15106 };
15107
15108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&obj1)) goto fail;
15109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15111 arg2 = (int) SWIG_AsInt(obj1);
15112 if (PyErr_Occurred()) SWIG_fail;
15113 if (arg1) (arg1)->m_linesPerAction = arg2;
15114
15115 Py_INCREF(Py_None); resultobj = Py_None;
15116 return resultobj;
15117 fail:
15118 return NULL;
15119}
15120
15121
15122static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15123 PyObject *resultobj;
15124 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15125 int result;
15126 PyObject * obj0 = 0 ;
15127 char *kwnames[] = {
15128 (char *) "self", NULL
15129 };
15130
15131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail;
15132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15134 result = (int) ((arg1)->m_linesPerAction);
15135
15136 resultobj = SWIG_FromInt((int)result);
15137 return resultobj;
15138 fail:
15139 return NULL;
15140}
15141
15142
15143static PyObject * MouseEvent_swigregister(PyObject *self, PyObject *args) {
15144 PyObject *obj;
15145 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15146 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj);
15147 Py_INCREF(obj);
15148 return Py_BuildValue((char *)"");
15149}
15150static PyObject *_wrap_new_SetCursorEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15151 PyObject *resultobj;
15152 int arg1 = (int) 0 ;
15153 int arg2 = (int) 0 ;
15154 wxSetCursorEvent *result;
15155 PyObject * obj0 = 0 ;
15156 PyObject * obj1 = 0 ;
15157 char *kwnames[] = {
15158 (char *) "x",(char *) "y", NULL
15159 };
15160
15161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SetCursorEvent",kwnames,&obj0,&obj1)) goto fail;
15162 if (obj0) {
15163 arg1 = (int) SWIG_AsInt(obj0);
15164 if (PyErr_Occurred()) SWIG_fail;
15165 }
15166 if (obj1) {
15167 arg2 = (int) SWIG_AsInt(obj1);
15168 if (PyErr_Occurred()) SWIG_fail;
15169 }
15170 {
15171 PyThreadState* __tstate = wxPyBeginAllowThreads();
15172 result = (wxSetCursorEvent *)new wxSetCursorEvent(arg1,arg2);
15173
15174 wxPyEndAllowThreads(__tstate);
15175 if (PyErr_Occurred()) SWIG_fail;
15176 }
15177 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSetCursorEvent, 1);
15178 return resultobj;
15179 fail:
15180 return NULL;
15181}
15182
15183
15184static PyObject *_wrap_SetCursorEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
15185 PyObject *resultobj;
15186 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15187 int result;
15188 PyObject * obj0 = 0 ;
15189 char *kwnames[] = {
15190 (char *) "self", NULL
15191 };
15192
15193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail;
15194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15196 {
15197 PyThreadState* __tstate = wxPyBeginAllowThreads();
15198 result = (int)((wxSetCursorEvent const *)arg1)->GetX();
15199
15200 wxPyEndAllowThreads(__tstate);
15201 if (PyErr_Occurred()) SWIG_fail;
15202 }
15203 resultobj = SWIG_FromInt((int)result);
15204 return resultobj;
15205 fail:
15206 return NULL;
15207}
15208
15209
15210static PyObject *_wrap_SetCursorEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
15211 PyObject *resultobj;
15212 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15213 int result;
15214 PyObject * obj0 = 0 ;
15215 char *kwnames[] = {
15216 (char *) "self", NULL
15217 };
15218
15219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail;
15220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15222 {
15223 PyThreadState* __tstate = wxPyBeginAllowThreads();
15224 result = (int)((wxSetCursorEvent const *)arg1)->GetY();
15225
15226 wxPyEndAllowThreads(__tstate);
15227 if (PyErr_Occurred()) SWIG_fail;
15228 }
15229 resultobj = SWIG_FromInt((int)result);
15230 return resultobj;
15231 fail:
15232 return NULL;
15233}
15234
15235
15236static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15237 PyObject *resultobj;
15238 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15239 wxCursor *arg2 = 0 ;
15240 PyObject * obj0 = 0 ;
15241 PyObject * obj1 = 0 ;
15242 char *kwnames[] = {
15243 (char *) "self",(char *) "cursor", NULL
15244 };
15245
15246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail;
15247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15249 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
15250 SWIG_POINTER_EXCEPTION | 0)) == -1)
15251 SWIG_fail;
15252 if (arg2 == NULL) {
15253 PyErr_SetString(PyExc_TypeError,"null reference");
15254 SWIG_fail;
15255 }
15256 {
15257 PyThreadState* __tstate = wxPyBeginAllowThreads();
15258 (arg1)->SetCursor((wxCursor const &)*arg2);
15259
15260 wxPyEndAllowThreads(__tstate);
15261 if (PyErr_Occurred()) SWIG_fail;
15262 }
15263 Py_INCREF(Py_None); resultobj = Py_None;
15264 return resultobj;
15265 fail:
15266 return NULL;
15267}
15268
15269
15270static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15271 PyObject *resultobj;
15272 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15273 wxCursor *result;
15274 PyObject * obj0 = 0 ;
15275 char *kwnames[] = {
15276 (char *) "self", NULL
15277 };
15278
15279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail;
15280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15282 {
15283 PyThreadState* __tstate = wxPyBeginAllowThreads();
15284 {
15285 wxCursor const &_result_ref = ((wxSetCursorEvent const *)arg1)->GetCursor();
15286 result = (wxCursor *) &_result_ref;
15287 }
15288
15289 wxPyEndAllowThreads(__tstate);
15290 if (PyErr_Occurred()) SWIG_fail;
15291 }
15292 {
15293 wxCursor* resultptr = new wxCursor(*result);
15294 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
15295 }
15296 return resultobj;
15297 fail:
15298 return NULL;
15299}
15300
15301
15302static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15303 PyObject *resultobj;
15304 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15305 bool result;
15306 PyObject * obj0 = 0 ;
15307 char *kwnames[] = {
15308 (char *) "self", NULL
15309 };
15310
15311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail;
15312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15314 {
15315 PyThreadState* __tstate = wxPyBeginAllowThreads();
15316 result = (bool)((wxSetCursorEvent const *)arg1)->HasCursor();
15317
15318 wxPyEndAllowThreads(__tstate);
15319 if (PyErr_Occurred()) SWIG_fail;
15320 }
15321 {
15322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15323 }
15324 return resultobj;
15325 fail:
15326 return NULL;
15327}
15328
15329
15330static PyObject * SetCursorEvent_swigregister(PyObject *self, PyObject *args) {
15331 PyObject *obj;
15332 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15333 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj);
15334 Py_INCREF(obj);
15335 return Py_BuildValue((char *)"");
15336}
15337static PyObject *_wrap_new_KeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15338 PyObject *resultobj;
15339 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15340 wxKeyEvent *result;
15341 PyObject * obj0 = 0 ;
15342 char *kwnames[] = {
15343 (char *) "keyType", NULL
15344 };
15345
15346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail;
15347 if (obj0) {
15348 arg1 = (wxEventType) SWIG_AsInt(obj0);
15349 if (PyErr_Occurred()) SWIG_fail;
15350 }
15351 {
15352 PyThreadState* __tstate = wxPyBeginAllowThreads();
15353 result = (wxKeyEvent *)new wxKeyEvent(arg1);
15354
15355 wxPyEndAllowThreads(__tstate);
15356 if (PyErr_Occurred()) SWIG_fail;
15357 }
15358 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 1);
15359 return resultobj;
15360 fail:
15361 return NULL;
15362}
15363
15364
15365static PyObject *_wrap_KeyEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15366 PyObject *resultobj;
15367 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15368 bool result;
15369 PyObject * obj0 = 0 ;
15370 char *kwnames[] = {
15371 (char *) "self", NULL
15372 };
15373
15374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail;
15375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15377 {
15378 PyThreadState* __tstate = wxPyBeginAllowThreads();
15379 result = (bool)((wxKeyEvent const *)arg1)->ControlDown();
15380
15381 wxPyEndAllowThreads(__tstate);
15382 if (PyErr_Occurred()) SWIG_fail;
15383 }
15384 {
15385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15386 }
15387 return resultobj;
15388 fail:
15389 return NULL;
15390}
15391
15392
15393static PyObject *_wrap_KeyEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15394 PyObject *resultobj;
15395 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15396 bool result;
15397 PyObject * obj0 = 0 ;
15398 char *kwnames[] = {
15399 (char *) "self", NULL
15400 };
15401
15402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail;
15403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15405 {
15406 PyThreadState* __tstate = wxPyBeginAllowThreads();
15407 result = (bool)((wxKeyEvent const *)arg1)->MetaDown();
15408
15409 wxPyEndAllowThreads(__tstate);
15410 if (PyErr_Occurred()) SWIG_fail;
15411 }
15412 {
15413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15414 }
15415 return resultobj;
15416 fail:
15417 return NULL;
15418}
15419
15420
15421static PyObject *_wrap_KeyEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15422 PyObject *resultobj;
15423 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15424 bool result;
15425 PyObject * obj0 = 0 ;
15426 char *kwnames[] = {
15427 (char *) "self", NULL
15428 };
15429
15430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail;
15431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15433 {
15434 PyThreadState* __tstate = wxPyBeginAllowThreads();
15435 result = (bool)((wxKeyEvent const *)arg1)->AltDown();
15436
15437 wxPyEndAllowThreads(__tstate);
15438 if (PyErr_Occurred()) SWIG_fail;
15439 }
15440 {
15441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15442 }
15443 return resultobj;
15444 fail:
15445 return NULL;
15446}
15447
15448
15449static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15450 PyObject *resultobj;
15451 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15452 bool result;
15453 PyObject * obj0 = 0 ;
15454 char *kwnames[] = {
15455 (char *) "self", NULL
15456 };
15457
15458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ShiftDown",kwnames,&obj0)) goto fail;
15459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15461 {
15462 PyThreadState* __tstate = wxPyBeginAllowThreads();
15463 result = (bool)((wxKeyEvent const *)arg1)->ShiftDown();
15464
15465 wxPyEndAllowThreads(__tstate);
15466 if (PyErr_Occurred()) SWIG_fail;
15467 }
15468 {
15469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15470 }
15471 return resultobj;
15472 fail:
15473 return NULL;
15474}
15475
15476
15477static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
15478 PyObject *resultobj;
15479 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15480 bool result;
15481 PyObject * obj0 = 0 ;
15482 char *kwnames[] = {
15483 (char *) "self", NULL
15484 };
15485
15486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_HasModifiers",kwnames,&obj0)) goto fail;
15487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15489 {
15490 PyThreadState* __tstate = wxPyBeginAllowThreads();
15491 result = (bool)((wxKeyEvent const *)arg1)->HasModifiers();
15492
15493 wxPyEndAllowThreads(__tstate);
15494 if (PyErr_Occurred()) SWIG_fail;
15495 }
15496 {
15497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15498 }
15499 return resultobj;
15500 fail:
15501 return NULL;
15502}
15503
15504
15505static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
15506 PyObject *resultobj;
15507 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15508 int result;
15509 PyObject * obj0 = 0 ;
15510 char *kwnames[] = {
15511 (char *) "self", NULL
15512 };
15513
15514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",kwnames,&obj0)) goto fail;
15515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15517 {
15518 PyThreadState* __tstate = wxPyBeginAllowThreads();
15519 result = (int)((wxKeyEvent const *)arg1)->GetKeyCode();
15520
15521 wxPyEndAllowThreads(__tstate);
15522 if (PyErr_Occurred()) SWIG_fail;
15523 }
15524 resultobj = SWIG_FromInt((int)result);
15525 return resultobj;
15526 fail:
15527 return NULL;
15528}
15529
15530
15531static PyObject *_wrap_KeyEvent_GetUniChar(PyObject *self, PyObject *args, PyObject *kwargs) {
15532 PyObject *resultobj;
15533 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15534 int result;
15535 PyObject * obj0 = 0 ;
15536 char *kwnames[] = {
15537 (char *) "self", NULL
15538 };
15539
15540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUniChar",kwnames,&obj0)) goto fail;
15541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15543 {
15544 PyThreadState* __tstate = wxPyBeginAllowThreads();
15545 result = (int)wxKeyEvent_GetUniChar(arg1);
15546
15547 wxPyEndAllowThreads(__tstate);
15548 if (PyErr_Occurred()) SWIG_fail;
15549 }
15550 resultobj = SWIG_FromInt((int)result);
15551 return resultobj;
15552 fail:
15553 return NULL;
15554}
15555
15556
15557static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
15558 PyObject *resultobj;
15559 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15560 unsigned int result;
15561 PyObject * obj0 = 0 ;
15562 char *kwnames[] = {
15563 (char *) "self", NULL
15564 };
15565
15566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail;
15567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15569 {
15570 PyThreadState* __tstate = wxPyBeginAllowThreads();
15571 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode();
15572
15573 wxPyEndAllowThreads(__tstate);
15574 if (PyErr_Occurred()) SWIG_fail;
15575 }
15576 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
15577 return resultobj;
15578 fail:
15579 return NULL;
15580}
15581
15582
15583static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
15584 PyObject *resultobj;
15585 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15586 unsigned int result;
15587 PyObject * obj0 = 0 ;
15588 char *kwnames[] = {
15589 (char *) "self", NULL
15590 };
15591
15592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail;
15593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15595 {
15596 PyThreadState* __tstate = wxPyBeginAllowThreads();
15597 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags();
15598
15599 wxPyEndAllowThreads(__tstate);
15600 if (PyErr_Occurred()) SWIG_fail;
15601 }
15602 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
15603 return resultobj;
15604 fail:
15605 return NULL;
15606}
15607
15608
15609static PyObject *_wrap_KeyEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15610 PyObject *resultobj;
15611 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15612 wxPoint result;
15613 PyObject * obj0 = 0 ;
15614 char *kwnames[] = {
15615 (char *) "self", NULL
15616 };
15617
15618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",kwnames,&obj0)) goto fail;
15619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15621 {
15622 PyThreadState* __tstate = wxPyBeginAllowThreads();
15623 result = (arg1)->GetPosition();
15624
15625 wxPyEndAllowThreads(__tstate);
15626 if (PyErr_Occurred()) SWIG_fail;
15627 }
15628 {
15629 wxPoint * resultptr;
15630 resultptr = new wxPoint((wxPoint &) result);
15631 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
15632 }
15633 return resultobj;
15634 fail:
15635 return NULL;
15636}
15637
15638
15639static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
15640 PyObject *resultobj;
15641 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15642 long *arg2 = (long *) 0 ;
15643 long *arg3 = (long *) 0 ;
15644 long temp2 ;
15645 long temp3 ;
15646 PyObject * obj0 = 0 ;
15647 char *kwnames[] = {
15648 (char *) "self", NULL
15649 };
15650
15651 arg2 = &temp2;
15652 arg3 = &temp3;
15653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
15654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15656 {
15657 PyThreadState* __tstate = wxPyBeginAllowThreads();
15658 (arg1)->GetPosition(arg2,arg3);
15659
15660 wxPyEndAllowThreads(__tstate);
15661 if (PyErr_Occurred()) SWIG_fail;
15662 }
15663 Py_INCREF(Py_None); resultobj = Py_None;
15664 {
15665 PyObject *o = PyInt_FromLong((long) (*arg2));
15666 resultobj = t_output_helper(resultobj,o);
15667 }
15668 {
15669 PyObject *o = PyInt_FromLong((long) (*arg3));
15670 resultobj = t_output_helper(resultobj,o);
15671 }
15672 return resultobj;
15673 fail:
15674 return NULL;
15675}
15676
15677
15678static PyObject *_wrap_KeyEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
15679 PyObject *resultobj;
15680 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15681 int result;
15682 PyObject * obj0 = 0 ;
15683 char *kwnames[] = {
15684 (char *) "self", NULL
15685 };
15686
15687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail;
15688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15690 {
15691 PyThreadState* __tstate = wxPyBeginAllowThreads();
15692 result = (int)((wxKeyEvent const *)arg1)->GetX();
15693
15694 wxPyEndAllowThreads(__tstate);
15695 if (PyErr_Occurred()) SWIG_fail;
15696 }
15697 resultobj = SWIG_FromInt((int)result);
15698 return resultobj;
15699 fail:
15700 return NULL;
15701}
15702
15703
15704static PyObject *_wrap_KeyEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
15705 PyObject *resultobj;
15706 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15707 int result;
15708 PyObject * obj0 = 0 ;
15709 char *kwnames[] = {
15710 (char *) "self", NULL
15711 };
15712
15713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail;
15714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15716 {
15717 PyThreadState* __tstate = wxPyBeginAllowThreads();
15718 result = (int)((wxKeyEvent const *)arg1)->GetY();
15719
15720 wxPyEndAllowThreads(__tstate);
15721 if (PyErr_Occurred()) SWIG_fail;
15722 }
15723 resultobj = SWIG_FromInt((int)result);
15724 return resultobj;
15725 fail:
15726 return NULL;
15727}
15728
15729
15730static PyObject *_wrap_KeyEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15731 PyObject *resultobj;
15732 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15733 int arg2 ;
15734 PyObject * obj0 = 0 ;
15735 PyObject * obj1 = 0 ;
15736 char *kwnames[] = {
15737 (char *) "self",(char *) "m_x", NULL
15738 };
15739
15740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
15741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15743 arg2 = (int) SWIG_AsInt(obj1);
15744 if (PyErr_Occurred()) SWIG_fail;
15745 if (arg1) (arg1)->m_x = arg2;
15746
15747 Py_INCREF(Py_None); resultobj = Py_None;
15748 return resultobj;
15749 fail:
15750 return NULL;
15751}
15752
15753
15754static PyObject *_wrap_KeyEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15755 PyObject *resultobj;
15756 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15757 int result;
15758 PyObject * obj0 = 0 ;
15759 char *kwnames[] = {
15760 (char *) "self", NULL
15761 };
15762
15763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail;
15764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15766 result = (int) ((arg1)->m_x);
15767
15768 resultobj = SWIG_FromInt((int)result);
15769 return resultobj;
15770 fail:
15771 return NULL;
15772}
15773
15774
15775static PyObject *_wrap_KeyEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15776 PyObject *resultobj;
15777 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15778 int arg2 ;
15779 PyObject * obj0 = 0 ;
15780 PyObject * obj1 = 0 ;
15781 char *kwnames[] = {
15782 (char *) "self",(char *) "m_y", NULL
15783 };
15784
15785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
15786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15788 arg2 = (int) SWIG_AsInt(obj1);
15789 if (PyErr_Occurred()) SWIG_fail;
15790 if (arg1) (arg1)->m_y = arg2;
15791
15792 Py_INCREF(Py_None); resultobj = Py_None;
15793 return resultobj;
15794 fail:
15795 return NULL;
15796}
15797
15798
15799static PyObject *_wrap_KeyEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15800 PyObject *resultobj;
15801 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15802 int result;
15803 PyObject * obj0 = 0 ;
15804 char *kwnames[] = {
15805 (char *) "self", NULL
15806 };
15807
15808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail;
15809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15811 result = (int) ((arg1)->m_y);
15812
15813 resultobj = SWIG_FromInt((int)result);
15814 return resultobj;
15815 fail:
15816 return NULL;
15817}
15818
15819
15820static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15821 PyObject *resultobj;
15822 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15823 long arg2 ;
15824 PyObject * obj0 = 0 ;
15825 PyObject * obj1 = 0 ;
15826 char *kwnames[] = {
15827 (char *) "self",(char *) "m_keyCode", NULL
15828 };
15829
15830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_keyCode_set",kwnames,&obj0,&obj1)) goto fail;
15831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15833 arg2 = (long) SWIG_AsLong(obj1);
15834 if (PyErr_Occurred()) SWIG_fail;
15835 if (arg1) (arg1)->m_keyCode = arg2;
15836
15837 Py_INCREF(Py_None); resultobj = Py_None;
15838 return resultobj;
15839 fail:
15840 return NULL;
15841}
15842
15843
15844static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15845 PyObject *resultobj;
15846 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15847 long result;
15848 PyObject * obj0 = 0 ;
15849 char *kwnames[] = {
15850 (char *) "self", NULL
15851 };
15852
15853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail;
15854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15856 result = (long) ((arg1)->m_keyCode);
15857
15858 resultobj = SWIG_FromLong((long)result);
15859 return resultobj;
15860 fail:
15861 return NULL;
15862}
15863
15864
15865static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15866 PyObject *resultobj;
15867 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15868 bool arg2 ;
15869 PyObject * obj0 = 0 ;
15870 PyObject * obj1 = 0 ;
15871 char *kwnames[] = {
15872 (char *) "self",(char *) "m_controlDown", NULL
15873 };
15874
15875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
15876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15878 arg2 = (bool) SWIG_AsBool(obj1);
15879 if (PyErr_Occurred()) SWIG_fail;
15880 if (arg1) (arg1)->m_controlDown = arg2;
15881
15882 Py_INCREF(Py_None); resultobj = Py_None;
15883 return resultobj;
15884 fail:
15885 return NULL;
15886}
15887
15888
15889static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15890 PyObject *resultobj;
15891 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15892 bool result;
15893 PyObject * obj0 = 0 ;
15894 char *kwnames[] = {
15895 (char *) "self", NULL
15896 };
15897
15898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
15899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15901 result = (bool) ((arg1)->m_controlDown);
15902
15903 {
15904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15905 }
15906 return resultobj;
15907 fail:
15908 return NULL;
15909}
15910
15911
15912static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15913 PyObject *resultobj;
15914 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15915 bool arg2 ;
15916 PyObject * obj0 = 0 ;
15917 PyObject * obj1 = 0 ;
15918 char *kwnames[] = {
15919 (char *) "self",(char *) "m_shiftDown", NULL
15920 };
15921
15922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
15923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15925 arg2 = (bool) SWIG_AsBool(obj1);
15926 if (PyErr_Occurred()) SWIG_fail;
15927 if (arg1) (arg1)->m_shiftDown = arg2;
15928
15929 Py_INCREF(Py_None); resultobj = Py_None;
15930 return resultobj;
15931 fail:
15932 return NULL;
15933}
15934
15935
15936static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15937 PyObject *resultobj;
15938 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15939 bool result;
15940 PyObject * obj0 = 0 ;
15941 char *kwnames[] = {
15942 (char *) "self", NULL
15943 };
15944
15945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
15946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15948 result = (bool) ((arg1)->m_shiftDown);
15949
15950 {
15951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15952 }
15953 return resultobj;
15954 fail:
15955 return NULL;
15956}
15957
15958
15959static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15960 PyObject *resultobj;
15961 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15962 bool arg2 ;
15963 PyObject * obj0 = 0 ;
15964 PyObject * obj1 = 0 ;
15965 char *kwnames[] = {
15966 (char *) "self",(char *) "m_altDown", NULL
15967 };
15968
15969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
15970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15972 arg2 = (bool) SWIG_AsBool(obj1);
15973 if (PyErr_Occurred()) SWIG_fail;
15974 if (arg1) (arg1)->m_altDown = arg2;
15975
15976 Py_INCREF(Py_None); resultobj = Py_None;
15977 return resultobj;
15978 fail:
15979 return NULL;
15980}
15981
15982
15983static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15984 PyObject *resultobj;
15985 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15986 bool result;
15987 PyObject * obj0 = 0 ;
15988 char *kwnames[] = {
15989 (char *) "self", NULL
15990 };
15991
15992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail;
15993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15995 result = (bool) ((arg1)->m_altDown);
15996
15997 {
15998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15999 }
16000 return resultobj;
16001 fail:
16002 return NULL;
16003}
16004
16005
16006static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16007 PyObject *resultobj;
16008 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16009 bool arg2 ;
16010 PyObject * obj0 = 0 ;
16011 PyObject * obj1 = 0 ;
16012 char *kwnames[] = {
16013 (char *) "self",(char *) "m_metaDown", NULL
16014 };
16015
16016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
16017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16019 arg2 = (bool) SWIG_AsBool(obj1);
16020 if (PyErr_Occurred()) SWIG_fail;
16021 if (arg1) (arg1)->m_metaDown = arg2;
16022
16023 Py_INCREF(Py_None); resultobj = Py_None;
16024 return resultobj;
16025 fail:
16026 return NULL;
16027}
16028
16029
16030static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16031 PyObject *resultobj;
16032 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16033 bool result;
16034 PyObject * obj0 = 0 ;
16035 char *kwnames[] = {
16036 (char *) "self", NULL
16037 };
16038
16039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
16040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16042 result = (bool) ((arg1)->m_metaDown);
16043
16044 {
16045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16046 }
16047 return resultobj;
16048 fail:
16049 return NULL;
16050}
16051
16052
16053static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16054 PyObject *resultobj;
16055 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16056 bool arg2 ;
16057 PyObject * obj0 = 0 ;
16058 PyObject * obj1 = 0 ;
16059 char *kwnames[] = {
16060 (char *) "self",(char *) "m_scanCode", NULL
16061 };
16062
16063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail;
16064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16066 arg2 = (bool) SWIG_AsBool(obj1);
16067 if (PyErr_Occurred()) SWIG_fail;
16068 if (arg1) (arg1)->m_scanCode = arg2;
16069
16070 Py_INCREF(Py_None); resultobj = Py_None;
16071 return resultobj;
16072 fail:
16073 return NULL;
16074}
16075
16076
16077static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16078 PyObject *resultobj;
16079 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16080 bool result;
16081 PyObject * obj0 = 0 ;
16082 char *kwnames[] = {
16083 (char *) "self", NULL
16084 };
16085
16086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail;
16087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16089 result = (bool) ((arg1)->m_scanCode);
16090
16091 {
16092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16093 }
16094 return resultobj;
16095 fail:
16096 return NULL;
16097}
16098
16099
16100static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16101 PyObject *resultobj;
16102 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16103 unsigned int arg2 ;
16104 PyObject * obj0 = 0 ;
16105 PyObject * obj1 = 0 ;
16106 char *kwnames[] = {
16107 (char *) "self",(char *) "m_rawCode", NULL
16108 };
16109
16110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail;
16111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16113 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
16114 if (PyErr_Occurred()) SWIG_fail;
16115 if (arg1) (arg1)->m_rawCode = arg2;
16116
16117 Py_INCREF(Py_None); resultobj = Py_None;
16118 return resultobj;
16119 fail:
16120 return NULL;
16121}
16122
16123
16124static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16125 PyObject *resultobj;
16126 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16127 unsigned int result;
16128 PyObject * obj0 = 0 ;
16129 char *kwnames[] = {
16130 (char *) "self", NULL
16131 };
16132
16133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail;
16134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16136 result = (unsigned int) ((arg1)->m_rawCode);
16137
16138 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
16139 return resultobj;
16140 fail:
16141 return NULL;
16142}
16143
16144
16145static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16146 PyObject *resultobj;
16147 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16148 unsigned int arg2 ;
16149 PyObject * obj0 = 0 ;
16150 PyObject * obj1 = 0 ;
16151 char *kwnames[] = {
16152 (char *) "self",(char *) "m_rawFlags", NULL
16153 };
16154
16155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail;
16156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16158 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
16159 if (PyErr_Occurred()) SWIG_fail;
16160 if (arg1) (arg1)->m_rawFlags = arg2;
16161
16162 Py_INCREF(Py_None); resultobj = Py_None;
16163 return resultobj;
16164 fail:
16165 return NULL;
16166}
16167
16168
16169static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16170 PyObject *resultobj;
16171 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16172 unsigned int result;
16173 PyObject * obj0 = 0 ;
16174 char *kwnames[] = {
16175 (char *) "self", NULL
16176 };
16177
16178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail;
16179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16181 result = (unsigned int) ((arg1)->m_rawFlags);
16182
16183 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
16184 return resultobj;
16185 fail:
16186 return NULL;
16187}
16188
16189
16190static PyObject * KeyEvent_swigregister(PyObject *self, PyObject *args) {
16191 PyObject *obj;
16192 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16193 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj);
16194 Py_INCREF(obj);
16195 return Py_BuildValue((char *)"");
16196}
16197static PyObject *_wrap_new_SizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16198 PyObject *resultobj;
16199 wxSize const &arg1_defvalue = wxDefaultSize ;
16200 wxSize *arg1 = (wxSize *) &arg1_defvalue ;
16201 int arg2 = (int) 0 ;
16202 wxSizeEvent *result;
16203 wxSize temp1 ;
16204 PyObject * obj0 = 0 ;
16205 PyObject * obj1 = 0 ;
16206 char *kwnames[] = {
16207 (char *) "sz",(char *) "winid", NULL
16208 };
16209
16210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SizeEvent",kwnames,&obj0,&obj1)) goto fail;
16211 if (obj0) {
16212 {
16213 arg1 = &temp1;
16214 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
16215 }
16216 }
16217 if (obj1) {
16218 arg2 = (int) SWIG_AsInt(obj1);
16219 if (PyErr_Occurred()) SWIG_fail;
16220 }
16221 {
16222 PyThreadState* __tstate = wxPyBeginAllowThreads();
16223 result = (wxSizeEvent *)new wxSizeEvent((wxSize const &)*arg1,arg2);
16224
16225 wxPyEndAllowThreads(__tstate);
16226 if (PyErr_Occurred()) SWIG_fail;
16227 }
16228 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizeEvent, 1);
16229 return resultobj;
16230 fail:
16231 return NULL;
16232}
16233
16234
16235static PyObject *_wrap_SizeEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16236 PyObject *resultobj;
16237 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16238 wxSize result;
16239 PyObject * obj0 = 0 ;
16240 char *kwnames[] = {
16241 (char *) "self", NULL
16242 };
16243
16244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail;
16245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16247 {
16248 PyThreadState* __tstate = wxPyBeginAllowThreads();
16249 result = ((wxSizeEvent const *)arg1)->GetSize();
16250
16251 wxPyEndAllowThreads(__tstate);
16252 if (PyErr_Occurred()) SWIG_fail;
16253 }
16254 {
16255 wxSize * resultptr;
16256 resultptr = new wxSize((wxSize &) result);
16257 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16258 }
16259 return resultobj;
16260 fail:
16261 return NULL;
16262}
16263
16264
16265static PyObject *_wrap_SizeEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16266 PyObject *resultobj;
16267 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16268 wxRect result;
16269 PyObject * obj0 = 0 ;
16270 char *kwnames[] = {
16271 (char *) "self", NULL
16272 };
16273
16274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail;
16275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16277 {
16278 PyThreadState* __tstate = wxPyBeginAllowThreads();
16279 result = ((wxSizeEvent const *)arg1)->GetRect();
16280
16281 wxPyEndAllowThreads(__tstate);
16282 if (PyErr_Occurred()) SWIG_fail;
16283 }
16284 {
16285 wxRect * resultptr;
16286 resultptr = new wxRect((wxRect &) result);
16287 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
16288 }
16289 return resultobj;
16290 fail:
16291 return NULL;
16292}
16293
16294
16295static PyObject *_wrap_SizeEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16296 PyObject *resultobj;
16297 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16298 wxRect arg2 ;
16299 wxRect *argp2 ;
16300 PyObject * obj0 = 0 ;
16301 PyObject * obj1 = 0 ;
16302 char *kwnames[] = {
16303 (char *) "self",(char *) "rect", NULL
16304 };
16305
16306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
16307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16309 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16310 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16311 arg2 = *argp2;
16312 {
16313 PyThreadState* __tstate = wxPyBeginAllowThreads();
16314 (arg1)->SetRect(arg2);
16315
16316 wxPyEndAllowThreads(__tstate);
16317 if (PyErr_Occurred()) SWIG_fail;
16318 }
16319 Py_INCREF(Py_None); resultobj = Py_None;
16320 return resultobj;
16321 fail:
16322 return NULL;
16323}
16324
16325
16326static PyObject *_wrap_SizeEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16327 PyObject *resultobj;
16328 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16329 wxSize arg2 ;
16330 wxSize *argp2 ;
16331 PyObject * obj0 = 0 ;
16332 PyObject * obj1 = 0 ;
16333 char *kwnames[] = {
16334 (char *) "self",(char *) "size", NULL
16335 };
16336
16337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
16338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16340 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
16341 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16342 arg2 = *argp2;
16343 {
16344 PyThreadState* __tstate = wxPyBeginAllowThreads();
16345 wxSizeEvent_SetSize(arg1,arg2);
16346
16347 wxPyEndAllowThreads(__tstate);
16348 if (PyErr_Occurred()) SWIG_fail;
16349 }
16350 Py_INCREF(Py_None); resultobj = Py_None;
16351 return resultobj;
16352 fail:
16353 return NULL;
16354}
16355
16356
16357static PyObject *_wrap_SizeEvent_m_size_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16358 PyObject *resultobj;
16359 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16360 wxSize *arg2 = (wxSize *) 0 ;
16361 PyObject * obj0 = 0 ;
16362 PyObject * obj1 = 0 ;
16363 char *kwnames[] = {
16364 (char *) "self",(char *) "m_size", NULL
16365 };
16366
16367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail;
16368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16370 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSize,
16371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16372 if (arg1) (arg1)->m_size = *arg2;
16373
16374 Py_INCREF(Py_None); resultobj = Py_None;
16375 return resultobj;
16376 fail:
16377 return NULL;
16378}
16379
16380
16381static PyObject *_wrap_SizeEvent_m_size_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16382 PyObject *resultobj;
16383 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16384 wxSize *result;
16385 PyObject * obj0 = 0 ;
16386 char *kwnames[] = {
16387 (char *) "self", NULL
16388 };
16389
16390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail;
16391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16393 result = (wxSize *)& ((arg1)->m_size);
16394
16395 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
16396 return resultobj;
16397 fail:
16398 return NULL;
16399}
16400
16401
16402static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16403 PyObject *resultobj;
16404 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16405 wxRect *arg2 = (wxRect *) 0 ;
16406 PyObject * obj0 = 0 ;
16407 PyObject * obj1 = 0 ;
16408 char *kwnames[] = {
16409 (char *) "self",(char *) "m_rect", NULL
16410 };
16411
16412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
16413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16415 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16417 if (arg1) (arg1)->m_rect = *arg2;
16418
16419 Py_INCREF(Py_None); resultobj = Py_None;
16420 return resultobj;
16421 fail:
16422 return NULL;
16423}
16424
16425
16426static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16427 PyObject *resultobj;
16428 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16429 wxRect *result;
16430 PyObject * obj0 = 0 ;
16431 char *kwnames[] = {
16432 (char *) "self", NULL
16433 };
16434
16435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail;
16436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16438 result = (wxRect *)& ((arg1)->m_rect);
16439
16440 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
16441 return resultobj;
16442 fail:
16443 return NULL;
16444}
16445
16446
16447static PyObject * SizeEvent_swigregister(PyObject *self, PyObject *args) {
16448 PyObject *obj;
16449 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16450 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj);
16451 Py_INCREF(obj);
16452 return Py_BuildValue((char *)"");
16453}
16454static PyObject *_wrap_new_MoveEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16455 PyObject *resultobj;
16456 wxPoint const &arg1_defvalue = wxDefaultPosition ;
16457 wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
16458 int arg2 = (int) 0 ;
16459 wxMoveEvent *result;
16460 wxPoint temp1 ;
16461 PyObject * obj0 = 0 ;
16462 PyObject * obj1 = 0 ;
16463 char *kwnames[] = {
16464 (char *) "pos",(char *) "winid", NULL
16465 };
16466
16467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MoveEvent",kwnames,&obj0,&obj1)) goto fail;
16468 if (obj0) {
16469 {
16470 arg1 = &temp1;
16471 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
16472 }
16473 }
16474 if (obj1) {
16475 arg2 = (int) SWIG_AsInt(obj1);
16476 if (PyErr_Occurred()) SWIG_fail;
16477 }
16478 {
16479 PyThreadState* __tstate = wxPyBeginAllowThreads();
16480 result = (wxMoveEvent *)new wxMoveEvent((wxPoint const &)*arg1,arg2);
16481
16482 wxPyEndAllowThreads(__tstate);
16483 if (PyErr_Occurred()) SWIG_fail;
16484 }
16485 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMoveEvent, 1);
16486 return resultobj;
16487 fail:
16488 return NULL;
16489}
16490
16491
16492static PyObject *_wrap_MoveEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16493 PyObject *resultobj;
16494 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16495 wxPoint result;
16496 PyObject * obj0 = 0 ;
16497 char *kwnames[] = {
16498 (char *) "self", NULL
16499 };
16500
16501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail;
16502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16504 {
16505 PyThreadState* __tstate = wxPyBeginAllowThreads();
16506 result = ((wxMoveEvent const *)arg1)->GetPosition();
16507
16508 wxPyEndAllowThreads(__tstate);
16509 if (PyErr_Occurred()) SWIG_fail;
16510 }
16511 {
16512 wxPoint * resultptr;
16513 resultptr = new wxPoint((wxPoint &) result);
16514 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
16515 }
16516 return resultobj;
16517 fail:
16518 return NULL;
16519}
16520
16521
16522static PyObject *_wrap_MoveEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16523 PyObject *resultobj;
16524 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16525 wxRect result;
16526 PyObject * obj0 = 0 ;
16527 char *kwnames[] = {
16528 (char *) "self", NULL
16529 };
16530
16531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail;
16532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16534 {
16535 PyThreadState* __tstate = wxPyBeginAllowThreads();
16536 result = ((wxMoveEvent const *)arg1)->GetRect();
16537
16538 wxPyEndAllowThreads(__tstate);
16539 if (PyErr_Occurred()) SWIG_fail;
16540 }
16541 {
16542 wxRect * resultptr;
16543 resultptr = new wxRect((wxRect &) result);
16544 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
16545 }
16546 return resultobj;
16547 fail:
16548 return NULL;
16549}
16550
16551
16552static PyObject *_wrap_MoveEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16553 PyObject *resultobj;
16554 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16555 wxRect arg2 ;
16556 wxRect *argp2 ;
16557 PyObject * obj0 = 0 ;
16558 PyObject * obj1 = 0 ;
16559 char *kwnames[] = {
16560 (char *) "self",(char *) "rect", NULL
16561 };
16562
16563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
16564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16566 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16567 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16568 arg2 = *argp2;
16569 {
16570 PyThreadState* __tstate = wxPyBeginAllowThreads();
16571 (arg1)->SetRect(arg2);
16572
16573 wxPyEndAllowThreads(__tstate);
16574 if (PyErr_Occurred()) SWIG_fail;
16575 }
16576 Py_INCREF(Py_None); resultobj = Py_None;
16577 return resultobj;
16578 fail:
16579 return NULL;
16580}
16581
16582
16583static PyObject *_wrap_MoveEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16584 PyObject *resultobj;
16585 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16586 wxPoint arg2 ;
16587 wxPoint *argp2 ;
16588 PyObject * obj0 = 0 ;
16589 PyObject * obj1 = 0 ;
16590 char *kwnames[] = {
16591 (char *) "self",(char *) "pos", NULL
16592 };
16593
16594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
16595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16597 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
16598 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16599 arg2 = *argp2;
16600 {
16601 PyThreadState* __tstate = wxPyBeginAllowThreads();
16602 wxMoveEvent_SetPosition(arg1,arg2);
16603
16604 wxPyEndAllowThreads(__tstate);
16605 if (PyErr_Occurred()) SWIG_fail;
16606 }
16607 Py_INCREF(Py_None); resultobj = Py_None;
16608 return resultobj;
16609 fail:
16610 return NULL;
16611}
16612
16613
16614static PyObject *_wrap_MoveEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16615 PyObject *resultobj;
16616 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16617 wxPoint *arg2 = (wxPoint *) 0 ;
16618 PyObject * obj0 = 0 ;
16619 PyObject * obj1 = 0 ;
16620 char *kwnames[] = {
16621 (char *) "self",(char *) "m_pos", NULL
16622 };
16623
16624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
16625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16627 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
16628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16629 if (arg1) (arg1)->m_pos = *arg2;
16630
16631 Py_INCREF(Py_None); resultobj = Py_None;
16632 return resultobj;
16633 fail:
16634 return NULL;
16635}
16636
16637
16638static PyObject *_wrap_MoveEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16639 PyObject *resultobj;
16640 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16641 wxPoint *result;
16642 PyObject * obj0 = 0 ;
16643 char *kwnames[] = {
16644 (char *) "self", NULL
16645 };
16646
16647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_pos_get",kwnames,&obj0)) goto fail;
16648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16650 result = (wxPoint *)& ((arg1)->m_pos);
16651
16652 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
16653 return resultobj;
16654 fail:
16655 return NULL;
16656}
16657
16658
16659static PyObject *_wrap_MoveEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16660 PyObject *resultobj;
16661 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16662 wxRect *arg2 = (wxRect *) 0 ;
16663 PyObject * obj0 = 0 ;
16664 PyObject * obj1 = 0 ;
16665 char *kwnames[] = {
16666 (char *) "self",(char *) "m_rect", NULL
16667 };
16668
16669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
16670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16672 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16674 if (arg1) (arg1)->m_rect = *arg2;
16675
16676 Py_INCREF(Py_None); resultobj = Py_None;
16677 return resultobj;
16678 fail:
16679 return NULL;
16680}
16681
16682
16683static PyObject *_wrap_MoveEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16684 PyObject *resultobj;
16685 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16686 wxRect *result;
16687 PyObject * obj0 = 0 ;
16688 char *kwnames[] = {
16689 (char *) "self", NULL
16690 };
16691
16692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_rect_get",kwnames,&obj0)) goto fail;
16693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16695 result = (wxRect *)& ((arg1)->m_rect);
16696
16697 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
16698 return resultobj;
16699 fail:
16700 return NULL;
16701}
16702
16703
16704static PyObject * MoveEvent_swigregister(PyObject *self, PyObject *args) {
16705 PyObject *obj;
16706 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16707 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj);
16708 Py_INCREF(obj);
16709 return Py_BuildValue((char *)"");
16710}
16711static PyObject *_wrap_new_PaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16712 PyObject *resultobj;
16713 int arg1 = (int) 0 ;
16714 wxPaintEvent *result;
16715 PyObject * obj0 = 0 ;
16716 char *kwnames[] = {
16717 (char *) "Id", NULL
16718 };
16719
16720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaintEvent",kwnames,&obj0)) goto fail;
16721 if (obj0) {
16722 arg1 = (int) SWIG_AsInt(obj0);
16723 if (PyErr_Occurred()) SWIG_fail;
16724 }
16725 {
16726 PyThreadState* __tstate = wxPyBeginAllowThreads();
16727 result = (wxPaintEvent *)new wxPaintEvent(arg1);
16728
16729 wxPyEndAllowThreads(__tstate);
16730 if (PyErr_Occurred()) SWIG_fail;
16731 }
16732 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaintEvent, 1);
16733 return resultobj;
16734 fail:
16735 return NULL;
16736}
16737
16738
16739static PyObject * PaintEvent_swigregister(PyObject *self, PyObject *args) {
16740 PyObject *obj;
16741 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16742 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj);
16743 Py_INCREF(obj);
16744 return Py_BuildValue((char *)"");
16745}
16746static PyObject *_wrap_new_NcPaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16747 PyObject *resultobj;
16748 int arg1 = (int) 0 ;
16749 wxNcPaintEvent *result;
16750 PyObject * obj0 = 0 ;
16751 char *kwnames[] = {
16752 (char *) "winid", NULL
16753 };
16754
16755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_NcPaintEvent",kwnames,&obj0)) goto fail;
16756 if (obj0) {
16757 arg1 = (int) SWIG_AsInt(obj0);
16758 if (PyErr_Occurred()) SWIG_fail;
16759 }
16760 {
16761 PyThreadState* __tstate = wxPyBeginAllowThreads();
16762 result = (wxNcPaintEvent *)new wxNcPaintEvent(arg1);
16763
16764 wxPyEndAllowThreads(__tstate);
16765 if (PyErr_Occurred()) SWIG_fail;
16766 }
16767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNcPaintEvent, 1);
16768 return resultobj;
16769 fail:
16770 return NULL;
16771}
16772
16773
16774static PyObject * NcPaintEvent_swigregister(PyObject *self, PyObject *args) {
16775 PyObject *obj;
16776 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16777 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj);
16778 Py_INCREF(obj);
16779 return Py_BuildValue((char *)"");
16780}
16781static PyObject *_wrap_new_EraseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16782 PyObject *resultobj;
16783 int arg1 = (int) 0 ;
16784 wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
16785 wxEraseEvent *result;
16786 PyObject * obj0 = 0 ;
16787 PyObject * obj1 = 0 ;
16788 char *kwnames[] = {
16789 (char *) "Id",(char *) "dc", NULL
16790 };
16791
16792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_EraseEvent",kwnames,&obj0,&obj1)) goto fail;
16793 if (obj0) {
16794 arg1 = (int) SWIG_AsInt(obj0);
16795 if (PyErr_Occurred()) SWIG_fail;
16796 }
16797 if (obj1) {
16798 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16800 }
16801 {
16802 PyThreadState* __tstate = wxPyBeginAllowThreads();
16803 result = (wxEraseEvent *)new wxEraseEvent(arg1,arg2);
16804
16805 wxPyEndAllowThreads(__tstate);
16806 if (PyErr_Occurred()) SWIG_fail;
16807 }
16808 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEraseEvent, 1);
16809 return resultobj;
16810 fail:
16811 return NULL;
16812}
16813
16814
16815static PyObject *_wrap_EraseEvent_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
16816 PyObject *resultobj;
16817 wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
16818 wxDC *result;
16819 PyObject * obj0 = 0 ;
16820 char *kwnames[] = {
16821 (char *) "self", NULL
16822 };
16823
16824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail;
16825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEraseEvent,
16826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16827 {
16828 PyThreadState* __tstate = wxPyBeginAllowThreads();
16829 result = (wxDC *)((wxEraseEvent const *)arg1)->GetDC();
16830
16831 wxPyEndAllowThreads(__tstate);
16832 if (PyErr_Occurred()) SWIG_fail;
16833 }
16834 {
16835 resultobj = wxPyMake_wxObject(result);
16836 }
16837 return resultobj;
16838 fail:
16839 return NULL;
16840}
16841
16842
16843static PyObject * EraseEvent_swigregister(PyObject *self, PyObject *args) {
16844 PyObject *obj;
16845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16846 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj);
16847 Py_INCREF(obj);
16848 return Py_BuildValue((char *)"");
16849}
16850static PyObject *_wrap_new_FocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16851 PyObject *resultobj;
16852 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16853 int arg2 = (int) 0 ;
16854 wxFocusEvent *result;
16855 PyObject * obj0 = 0 ;
16856 PyObject * obj1 = 0 ;
16857 char *kwnames[] = {
16858 (char *) "type",(char *) "winid", NULL
16859 };
16860
16861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FocusEvent",kwnames,&obj0,&obj1)) goto fail;
16862 if (obj0) {
16863 arg1 = (wxEventType) SWIG_AsInt(obj0);
16864 if (PyErr_Occurred()) SWIG_fail;
16865 }
16866 if (obj1) {
16867 arg2 = (int) SWIG_AsInt(obj1);
16868 if (PyErr_Occurred()) SWIG_fail;
16869 }
16870 {
16871 PyThreadState* __tstate = wxPyBeginAllowThreads();
16872 result = (wxFocusEvent *)new wxFocusEvent(arg1,arg2);
16873
16874 wxPyEndAllowThreads(__tstate);
16875 if (PyErr_Occurred()) SWIG_fail;
16876 }
16877 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFocusEvent, 1);
16878 return resultobj;
16879 fail:
16880 return NULL;
16881}
16882
16883
16884static PyObject *_wrap_FocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16885 PyObject *resultobj;
16886 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
16887 wxWindow *result;
16888 PyObject * obj0 = 0 ;
16889 char *kwnames[] = {
16890 (char *) "self", NULL
16891 };
16892
16893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail;
16894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
16895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16896 {
16897 PyThreadState* __tstate = wxPyBeginAllowThreads();
16898 result = (wxWindow *)((wxFocusEvent const *)arg1)->GetWindow();
16899
16900 wxPyEndAllowThreads(__tstate);
16901 if (PyErr_Occurred()) SWIG_fail;
16902 }
16903 {
16904 resultobj = wxPyMake_wxObject(result);
16905 }
16906 return resultobj;
16907 fail:
16908 return NULL;
16909}
16910
16911
16912static PyObject *_wrap_FocusEvent_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16913 PyObject *resultobj;
16914 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
16915 wxWindow *arg2 = (wxWindow *) 0 ;
16916 PyObject * obj0 = 0 ;
16917 PyObject * obj1 = 0 ;
16918 char *kwnames[] = {
16919 (char *) "self",(char *) "win", NULL
16920 };
16921
16922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail;
16923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
16924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16925 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16927 {
16928 PyThreadState* __tstate = wxPyBeginAllowThreads();
16929 (arg1)->SetWindow(arg2);
16930
16931 wxPyEndAllowThreads(__tstate);
16932 if (PyErr_Occurred()) SWIG_fail;
16933 }
16934 Py_INCREF(Py_None); resultobj = Py_None;
16935 return resultobj;
16936 fail:
16937 return NULL;
16938}
16939
16940
16941static PyObject * FocusEvent_swigregister(PyObject *self, PyObject *args) {
16942 PyObject *obj;
16943 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16944 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj);
16945 Py_INCREF(obj);
16946 return Py_BuildValue((char *)"");
16947}
16948static PyObject *_wrap_new_ChildFocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16949 PyObject *resultobj;
16950 wxWindow *arg1 = (wxWindow *) NULL ;
16951 wxChildFocusEvent *result;
16952 PyObject * obj0 = 0 ;
16953 char *kwnames[] = {
16954 (char *) "win", NULL
16955 };
16956
16957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail;
16958 if (obj0) {
16959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16961 }
16962 {
16963 PyThreadState* __tstate = wxPyBeginAllowThreads();
16964 result = (wxChildFocusEvent *)new wxChildFocusEvent(arg1);
16965
16966 wxPyEndAllowThreads(__tstate);
16967 if (PyErr_Occurred()) SWIG_fail;
16968 }
16969 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChildFocusEvent, 1);
16970 return resultobj;
16971 fail:
16972 return NULL;
16973}
16974
16975
16976static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16977 PyObject *resultobj;
16978 wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
16979 wxWindow *result;
16980 PyObject * obj0 = 0 ;
16981 char *kwnames[] = {
16982 (char *) "self", NULL
16983 };
16984
16985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail;
16986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChildFocusEvent,
16987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16988 {
16989 PyThreadState* __tstate = wxPyBeginAllowThreads();
16990 result = (wxWindow *)((wxChildFocusEvent const *)arg1)->GetWindow();
16991
16992 wxPyEndAllowThreads(__tstate);
16993 if (PyErr_Occurred()) SWIG_fail;
16994 }
16995 {
16996 resultobj = wxPyMake_wxObject(result);
16997 }
16998 return resultobj;
16999 fail:
17000 return NULL;
17001}
17002
17003
17004static PyObject * ChildFocusEvent_swigregister(PyObject *self, PyObject *args) {
17005 PyObject *obj;
17006 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17007 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj);
17008 Py_INCREF(obj);
17009 return Py_BuildValue((char *)"");
17010}
17011static PyObject *_wrap_new_ActivateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17012 PyObject *resultobj;
17013 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17014 bool arg2 = (bool) True ;
17015 int arg3 = (int) 0 ;
17016 wxActivateEvent *result;
17017 PyObject * obj0 = 0 ;
17018 PyObject * obj1 = 0 ;
17019 PyObject * obj2 = 0 ;
17020 char *kwnames[] = {
17021 (char *) "type",(char *) "active",(char *) "Id", NULL
17022 };
17023
17024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ActivateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17025 if (obj0) {
17026 arg1 = (wxEventType) SWIG_AsInt(obj0);
17027 if (PyErr_Occurred()) SWIG_fail;
17028 }
17029 if (obj1) {
17030 arg2 = (bool) SWIG_AsBool(obj1);
17031 if (PyErr_Occurred()) SWIG_fail;
17032 }
17033 if (obj2) {
17034 arg3 = (int) SWIG_AsInt(obj2);
17035 if (PyErr_Occurred()) SWIG_fail;
17036 }
17037 {
17038 PyThreadState* __tstate = wxPyBeginAllowThreads();
17039 result = (wxActivateEvent *)new wxActivateEvent(arg1,arg2,arg3);
17040
17041 wxPyEndAllowThreads(__tstate);
17042 if (PyErr_Occurred()) SWIG_fail;
17043 }
17044 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxActivateEvent, 1);
17045 return resultobj;
17046 fail:
17047 return NULL;
17048}
17049
17050
17051static PyObject *_wrap_ActivateEvent_GetActive(PyObject *self, PyObject *args, PyObject *kwargs) {
17052 PyObject *resultobj;
17053 wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
17054 bool result;
17055 PyObject * obj0 = 0 ;
17056 char *kwnames[] = {
17057 (char *) "self", NULL
17058 };
17059
17060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail;
17061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxActivateEvent,
17062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17063 {
17064 PyThreadState* __tstate = wxPyBeginAllowThreads();
17065 result = (bool)((wxActivateEvent const *)arg1)->GetActive();
17066
17067 wxPyEndAllowThreads(__tstate);
17068 if (PyErr_Occurred()) SWIG_fail;
17069 }
17070 {
17071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17072 }
17073 return resultobj;
17074 fail:
17075 return NULL;
17076}
17077
17078
17079static PyObject * ActivateEvent_swigregister(PyObject *self, PyObject *args) {
17080 PyObject *obj;
17081 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17082 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj);
17083 Py_INCREF(obj);
17084 return Py_BuildValue((char *)"");
17085}
17086static PyObject *_wrap_new_InitDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17087 PyObject *resultobj;
17088 int arg1 = (int) 0 ;
17089 wxInitDialogEvent *result;
17090 PyObject * obj0 = 0 ;
17091 char *kwnames[] = {
17092 (char *) "Id", NULL
17093 };
17094
17095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_InitDialogEvent",kwnames,&obj0)) goto fail;
17096 if (obj0) {
17097 arg1 = (int) SWIG_AsInt(obj0);
17098 if (PyErr_Occurred()) SWIG_fail;
17099 }
17100 {
17101 PyThreadState* __tstate = wxPyBeginAllowThreads();
17102 result = (wxInitDialogEvent *)new wxInitDialogEvent(arg1);
17103
17104 wxPyEndAllowThreads(__tstate);
17105 if (PyErr_Occurred()) SWIG_fail;
17106 }
17107 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInitDialogEvent, 1);
17108 return resultobj;
17109 fail:
17110 return NULL;
17111}
17112
17113
17114static PyObject * InitDialogEvent_swigregister(PyObject *self, PyObject *args) {
17115 PyObject *obj;
17116 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17117 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj);
17118 Py_INCREF(obj);
17119 return Py_BuildValue((char *)"");
17120}
17121static PyObject *_wrap_new_MenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17122 PyObject *resultobj;
17123 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17124 int arg2 = (int) 0 ;
17125 wxMenu *arg3 = (wxMenu *) NULL ;
17126 wxMenuEvent *result;
17127 PyObject * obj0 = 0 ;
17128 PyObject * obj1 = 0 ;
17129 PyObject * obj2 = 0 ;
17130 char *kwnames[] = {
17131 (char *) "type",(char *) "winid",(char *) "menu", NULL
17132 };
17133
17134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_MenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17135 if (obj0) {
17136 arg1 = (wxEventType) SWIG_AsInt(obj0);
17137 if (PyErr_Occurred()) SWIG_fail;
17138 }
17139 if (obj1) {
17140 arg2 = (int) SWIG_AsInt(obj1);
17141 if (PyErr_Occurred()) SWIG_fail;
17142 }
17143 if (obj2) {
17144 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
17145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17146 }
17147 {
17148 PyThreadState* __tstate = wxPyBeginAllowThreads();
17149 result = (wxMenuEvent *)new wxMenuEvent(arg1,arg2,arg3);
17150
17151 wxPyEndAllowThreads(__tstate);
17152 if (PyErr_Occurred()) SWIG_fail;
17153 }
17154 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenuEvent, 1);
17155 return resultobj;
17156 fail:
17157 return NULL;
17158}
17159
17160
17161static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *self, PyObject *args, PyObject *kwargs) {
17162 PyObject *resultobj;
17163 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17164 int result;
17165 PyObject * obj0 = 0 ;
17166 char *kwnames[] = {
17167 (char *) "self", NULL
17168 };
17169
17170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail;
17171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17173 {
17174 PyThreadState* __tstate = wxPyBeginAllowThreads();
17175 result = (int)((wxMenuEvent const *)arg1)->GetMenuId();
17176
17177 wxPyEndAllowThreads(__tstate);
17178 if (PyErr_Occurred()) SWIG_fail;
17179 }
17180 resultobj = SWIG_FromInt((int)result);
17181 return resultobj;
17182 fail:
17183 return NULL;
17184}
17185
17186
17187static PyObject *_wrap_MenuEvent_IsPopup(PyObject *self, PyObject *args, PyObject *kwargs) {
17188 PyObject *resultobj;
17189 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17190 bool result;
17191 PyObject * obj0 = 0 ;
17192 char *kwnames[] = {
17193 (char *) "self", NULL
17194 };
17195
17196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail;
17197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17199 {
17200 PyThreadState* __tstate = wxPyBeginAllowThreads();
17201 result = (bool)((wxMenuEvent const *)arg1)->IsPopup();
17202
17203 wxPyEndAllowThreads(__tstate);
17204 if (PyErr_Occurred()) SWIG_fail;
17205 }
17206 {
17207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17208 }
17209 return resultobj;
17210 fail:
17211 return NULL;
17212}
17213
17214
17215static PyObject *_wrap_MenuEvent_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
17216 PyObject *resultobj;
17217 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17218 wxMenu *result;
17219 PyObject * obj0 = 0 ;
17220 char *kwnames[] = {
17221 (char *) "self", NULL
17222 };
17223
17224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail;
17225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17227 {
17228 PyThreadState* __tstate = wxPyBeginAllowThreads();
17229 result = (wxMenu *)((wxMenuEvent const *)arg1)->GetMenu();
17230
17231 wxPyEndAllowThreads(__tstate);
17232 if (PyErr_Occurred()) SWIG_fail;
17233 }
17234 {
17235 resultobj = wxPyMake_wxObject(result);
17236 }
17237 return resultobj;
17238 fail:
17239 return NULL;
17240}
17241
17242
17243static PyObject * MenuEvent_swigregister(PyObject *self, PyObject *args) {
17244 PyObject *obj;
17245 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17246 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj);
17247 Py_INCREF(obj);
17248 return Py_BuildValue((char *)"");
17249}
17250static PyObject *_wrap_new_CloseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17251 PyObject *resultobj;
17252 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17253 int arg2 = (int) 0 ;
17254 wxCloseEvent *result;
17255 PyObject * obj0 = 0 ;
17256 PyObject * obj1 = 0 ;
17257 char *kwnames[] = {
17258 (char *) "type",(char *) "winid", NULL
17259 };
17260
17261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CloseEvent",kwnames,&obj0,&obj1)) goto fail;
17262 if (obj0) {
17263 arg1 = (wxEventType) SWIG_AsInt(obj0);
17264 if (PyErr_Occurred()) SWIG_fail;
17265 }
17266 if (obj1) {
17267 arg2 = (int) SWIG_AsInt(obj1);
17268 if (PyErr_Occurred()) SWIG_fail;
17269 }
17270 {
17271 PyThreadState* __tstate = wxPyBeginAllowThreads();
17272 result = (wxCloseEvent *)new wxCloseEvent(arg1,arg2);
17273
17274 wxPyEndAllowThreads(__tstate);
17275 if (PyErr_Occurred()) SWIG_fail;
17276 }
17277 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCloseEvent, 1);
17278 return resultobj;
17279 fail:
17280 return NULL;
17281}
17282
17283
17284static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
17285 PyObject *resultobj;
17286 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17287 bool arg2 ;
17288 PyObject * obj0 = 0 ;
17289 PyObject * obj1 = 0 ;
17290 char *kwnames[] = {
17291 (char *) "self",(char *) "logOff", NULL
17292 };
17293
17294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail;
17295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17297 arg2 = (bool) SWIG_AsBool(obj1);
17298 if (PyErr_Occurred()) SWIG_fail;
17299 {
17300 PyThreadState* __tstate = wxPyBeginAllowThreads();
17301 (arg1)->SetLoggingOff(arg2);
17302
17303 wxPyEndAllowThreads(__tstate);
17304 if (PyErr_Occurred()) SWIG_fail;
17305 }
17306 Py_INCREF(Py_None); resultobj = Py_None;
17307 return resultobj;
17308 fail:
17309 return NULL;
17310}
17311
17312
17313static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
17314 PyObject *resultobj;
17315 wxCloseEvent *arg1 = (wxCloseEvent *) 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:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail;
17323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17325 {
17326 PyThreadState* __tstate = wxPyBeginAllowThreads();
17327 result = (bool)((wxCloseEvent const *)arg1)->GetLoggingOff();
17328
17329 wxPyEndAllowThreads(__tstate);
17330 if (PyErr_Occurred()) SWIG_fail;
17331 }
17332 {
17333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17334 }
17335 return resultobj;
17336 fail:
17337 return NULL;
17338}
17339
17340
17341static PyObject *_wrap_CloseEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
17342 PyObject *resultobj;
17343 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17344 bool arg2 = (bool) True ;
17345 PyObject * obj0 = 0 ;
17346 PyObject * obj1 = 0 ;
17347 char *kwnames[] = {
17348 (char *) "self",(char *) "veto", NULL
17349 };
17350
17351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail;
17352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17354 if (obj1) {
17355 arg2 = (bool) SWIG_AsBool(obj1);
17356 if (PyErr_Occurred()) SWIG_fail;
17357 }
17358 {
17359 PyThreadState* __tstate = wxPyBeginAllowThreads();
17360 (arg1)->Veto(arg2);
17361
17362 wxPyEndAllowThreads(__tstate);
17363 if (PyErr_Occurred()) SWIG_fail;
17364 }
17365 Py_INCREF(Py_None); resultobj = Py_None;
17366 return resultobj;
17367 fail:
17368 return NULL;
17369}
17370
17371
17372static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17373 PyObject *resultobj;
17374 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17375 bool arg2 ;
17376 PyObject * obj0 = 0 ;
17377 PyObject * obj1 = 0 ;
17378 char *kwnames[] = {
17379 (char *) "self",(char *) "canVeto", NULL
17380 };
17381
17382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
17383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17385 arg2 = (bool) SWIG_AsBool(obj1);
17386 if (PyErr_Occurred()) SWIG_fail;
17387 {
17388 PyThreadState* __tstate = wxPyBeginAllowThreads();
17389 (arg1)->SetCanVeto(arg2);
17390
17391 wxPyEndAllowThreads(__tstate);
17392 if (PyErr_Occurred()) SWIG_fail;
17393 }
17394 Py_INCREF(Py_None); resultobj = Py_None;
17395 return resultobj;
17396 fail:
17397 return NULL;
17398}
17399
17400
17401static PyObject *_wrap_CloseEvent_CanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17402 PyObject *resultobj;
17403 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17404 bool result;
17405 PyObject * obj0 = 0 ;
17406 char *kwnames[] = {
17407 (char *) "self", NULL
17408 };
17409
17410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
17411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17413 {
17414 PyThreadState* __tstate = wxPyBeginAllowThreads();
17415 result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
17416
17417 wxPyEndAllowThreads(__tstate);
17418 if (PyErr_Occurred()) SWIG_fail;
17419 }
17420 {
17421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17422 }
17423 return resultobj;
17424 fail:
17425 return NULL;
17426}
17427
17428
17429static PyObject *_wrap_CloseEvent_GetVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17430 PyObject *resultobj;
17431 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17432 bool result;
17433 PyObject * obj0 = 0 ;
17434 char *kwnames[] = {
17435 (char *) "self", NULL
17436 };
17437
17438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
17439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17441 {
17442 PyThreadState* __tstate = wxPyBeginAllowThreads();
17443 result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
17444
17445 wxPyEndAllowThreads(__tstate);
17446 if (PyErr_Occurred()) SWIG_fail;
17447 }
17448 {
17449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17450 }
17451 return resultobj;
17452 fail:
17453 return NULL;
17454}
17455
17456
17457static PyObject * CloseEvent_swigregister(PyObject *self, PyObject *args) {
17458 PyObject *obj;
17459 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17460 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj);
17461 Py_INCREF(obj);
17462 return Py_BuildValue((char *)"");
17463}
17464static PyObject *_wrap_new_ShowEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17465 PyObject *resultobj;
17466 int arg1 = (int) 0 ;
17467 bool arg2 = (bool) False ;
17468 wxShowEvent *result;
17469 PyObject * obj0 = 0 ;
17470 PyObject * obj1 = 0 ;
17471 char *kwnames[] = {
17472 (char *) "winid",(char *) "show", NULL
17473 };
17474
17475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ShowEvent",kwnames,&obj0,&obj1)) goto fail;
17476 if (obj0) {
17477 arg1 = (int) SWIG_AsInt(obj0);
17478 if (PyErr_Occurred()) SWIG_fail;
17479 }
17480 if (obj1) {
17481 arg2 = (bool) SWIG_AsBool(obj1);
17482 if (PyErr_Occurred()) SWIG_fail;
17483 }
17484 {
17485 PyThreadState* __tstate = wxPyBeginAllowThreads();
17486 result = (wxShowEvent *)new wxShowEvent(arg1,arg2);
17487
17488 wxPyEndAllowThreads(__tstate);
17489 if (PyErr_Occurred()) SWIG_fail;
17490 }
17491 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxShowEvent, 1);
17492 return resultobj;
17493 fail:
17494 return NULL;
17495}
17496
17497
17498static PyObject *_wrap_ShowEvent_SetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
17499 PyObject *resultobj;
17500 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17501 bool arg2 ;
17502 PyObject * obj0 = 0 ;
17503 PyObject * obj1 = 0 ;
17504 char *kwnames[] = {
17505 (char *) "self",(char *) "show", NULL
17506 };
17507
17508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail;
17509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17511 arg2 = (bool) SWIG_AsBool(obj1);
17512 if (PyErr_Occurred()) SWIG_fail;
17513 {
17514 PyThreadState* __tstate = wxPyBeginAllowThreads();
17515 (arg1)->SetShow(arg2);
17516
17517 wxPyEndAllowThreads(__tstate);
17518 if (PyErr_Occurred()) SWIG_fail;
17519 }
17520 Py_INCREF(Py_None); resultobj = Py_None;
17521 return resultobj;
17522 fail:
17523 return NULL;
17524}
17525
17526
17527static PyObject *_wrap_ShowEvent_GetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
17528 PyObject *resultobj;
17529 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17530 bool result;
17531 PyObject * obj0 = 0 ;
17532 char *kwnames[] = {
17533 (char *) "self", NULL
17534 };
17535
17536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail;
17537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17539 {
17540 PyThreadState* __tstate = wxPyBeginAllowThreads();
17541 result = (bool)((wxShowEvent const *)arg1)->GetShow();
17542
17543 wxPyEndAllowThreads(__tstate);
17544 if (PyErr_Occurred()) SWIG_fail;
17545 }
17546 {
17547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17548 }
17549 return resultobj;
17550 fail:
17551 return NULL;
17552}
17553
17554
17555static PyObject * ShowEvent_swigregister(PyObject *self, PyObject *args) {
17556 PyObject *obj;
17557 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17558 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj);
17559 Py_INCREF(obj);
17560 return Py_BuildValue((char *)"");
17561}
17562static PyObject *_wrap_new_IconizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17563 PyObject *resultobj;
17564 int arg1 = (int) 0 ;
17565 bool arg2 = (bool) True ;
17566 wxIconizeEvent *result;
17567 PyObject * obj0 = 0 ;
17568 PyObject * obj1 = 0 ;
17569 char *kwnames[] = {
17570 (char *) "id",(char *) "iconized", NULL
17571 };
17572
17573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconizeEvent",kwnames,&obj0,&obj1)) goto fail;
17574 if (obj0) {
17575 arg1 = (int) SWIG_AsInt(obj0);
17576 if (PyErr_Occurred()) SWIG_fail;
17577 }
17578 if (obj1) {
17579 arg2 = (bool) SWIG_AsBool(obj1);
17580 if (PyErr_Occurred()) SWIG_fail;
17581 }
17582 {
17583 PyThreadState* __tstate = wxPyBeginAllowThreads();
17584 result = (wxIconizeEvent *)new wxIconizeEvent(arg1,arg2);
17585
17586 wxPyEndAllowThreads(__tstate);
17587 if (PyErr_Occurred()) SWIG_fail;
17588 }
17589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconizeEvent, 1);
17590 return resultobj;
17591 fail:
17592 return NULL;
17593}
17594
17595
17596static PyObject *_wrap_IconizeEvent_Iconized(PyObject *self, PyObject *args, PyObject *kwargs) {
17597 PyObject *resultobj;
17598 wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
17599 bool result;
17600 PyObject * obj0 = 0 ;
17601 char *kwnames[] = {
17602 (char *) "self", NULL
17603 };
17604
17605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail;
17606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconizeEvent,
17607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17608 {
17609 PyThreadState* __tstate = wxPyBeginAllowThreads();
17610 result = (bool)(arg1)->Iconized();
17611
17612 wxPyEndAllowThreads(__tstate);
17613 if (PyErr_Occurred()) SWIG_fail;
17614 }
17615 {
17616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17617 }
17618 return resultobj;
17619 fail:
17620 return NULL;
17621}
17622
17623
17624static PyObject * IconizeEvent_swigregister(PyObject *self, PyObject *args) {
17625 PyObject *obj;
17626 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17627 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj);
17628 Py_INCREF(obj);
17629 return Py_BuildValue((char *)"");
17630}
17631static PyObject *_wrap_new_MaximizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17632 PyObject *resultobj;
17633 int arg1 = (int) 0 ;
17634 wxMaximizeEvent *result;
17635 PyObject * obj0 = 0 ;
17636 char *kwnames[] = {
17637 (char *) "id", NULL
17638 };
17639
17640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MaximizeEvent",kwnames,&obj0)) goto fail;
17641 if (obj0) {
17642 arg1 = (int) SWIG_AsInt(obj0);
17643 if (PyErr_Occurred()) SWIG_fail;
17644 }
17645 {
17646 PyThreadState* __tstate = wxPyBeginAllowThreads();
17647 result = (wxMaximizeEvent *)new wxMaximizeEvent(arg1);
17648
17649 wxPyEndAllowThreads(__tstate);
17650 if (PyErr_Occurred()) SWIG_fail;
17651 }
17652 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMaximizeEvent, 1);
17653 return resultobj;
17654 fail:
17655 return NULL;
17656}
17657
17658
17659static PyObject * MaximizeEvent_swigregister(PyObject *self, PyObject *args) {
17660 PyObject *obj;
17661 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17662 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj);
17663 Py_INCREF(obj);
17664 return Py_BuildValue((char *)"");
17665}
17666static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17667 PyObject *resultobj;
17668 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17669 wxPoint result;
17670 PyObject * obj0 = 0 ;
17671 char *kwnames[] = {
17672 (char *) "self", NULL
17673 };
17674
17675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail;
17676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17678 {
17679 PyThreadState* __tstate = wxPyBeginAllowThreads();
17680 result = (arg1)->GetPosition();
17681
17682 wxPyEndAllowThreads(__tstate);
17683 if (PyErr_Occurred()) SWIG_fail;
17684 }
17685 {
17686 wxPoint * resultptr;
17687 resultptr = new wxPoint((wxPoint &) result);
17688 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
17689 }
17690 return resultobj;
17691 fail:
17692 return NULL;
17693}
17694
17695
17696static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
17697 PyObject *resultobj;
17698 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17699 int result;
17700 PyObject * obj0 = 0 ;
17701 char *kwnames[] = {
17702 (char *) "self", NULL
17703 };
17704
17705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail;
17706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17708 {
17709 PyThreadState* __tstate = wxPyBeginAllowThreads();
17710 result = (int)(arg1)->GetNumberOfFiles();
17711
17712 wxPyEndAllowThreads(__tstate);
17713 if (PyErr_Occurred()) SWIG_fail;
17714 }
17715 resultobj = SWIG_FromInt((int)result);
17716 return resultobj;
17717 fail:
17718 return NULL;
17719}
17720
17721
17722static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
17723 PyObject *resultobj;
17724 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17725 PyObject *result;
17726 PyObject * obj0 = 0 ;
17727 char *kwnames[] = {
17728 (char *) "self", NULL
17729 };
17730
17731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail;
17732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17734 {
17735 PyThreadState* __tstate = wxPyBeginAllowThreads();
17736 result = (PyObject *)wxDropFilesEvent_GetFiles(arg1);
17737
17738 wxPyEndAllowThreads(__tstate);
17739 if (PyErr_Occurred()) SWIG_fail;
17740 }
17741 resultobj = result;
17742 return resultobj;
17743 fail:
17744 return NULL;
17745}
17746
17747
17748static PyObject * DropFilesEvent_swigregister(PyObject *self, PyObject *args) {
17749 PyObject *obj;
17750 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17751 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj);
17752 Py_INCREF(obj);
17753 return Py_BuildValue((char *)"");
17754}
17755static PyObject *_wrap_new_UpdateUIEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17756 PyObject *resultobj;
17757 int arg1 = (int) 0 ;
17758 wxUpdateUIEvent *result;
17759 PyObject * obj0 = 0 ;
17760 char *kwnames[] = {
17761 (char *) "commandId", NULL
17762 };
17763
17764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_UpdateUIEvent",kwnames,&obj0)) goto fail;
17765 if (obj0) {
17766 arg1 = (int) SWIG_AsInt(obj0);
17767 if (PyErr_Occurred()) SWIG_fail;
17768 }
17769 {
17770 PyThreadState* __tstate = wxPyBeginAllowThreads();
17771 result = (wxUpdateUIEvent *)new wxUpdateUIEvent(arg1);
17772
17773 wxPyEndAllowThreads(__tstate);
17774 if (PyErr_Occurred()) SWIG_fail;
17775 }
17776 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxUpdateUIEvent, 1);
17777 return resultobj;
17778 fail:
17779 return NULL;
17780}
17781
17782
17783static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
17784 PyObject *resultobj;
17785 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17786 bool result;
17787 PyObject * obj0 = 0 ;
17788 char *kwnames[] = {
17789 (char *) "self", NULL
17790 };
17791
17792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail;
17793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17795 {
17796 PyThreadState* __tstate = wxPyBeginAllowThreads();
17797 result = (bool)((wxUpdateUIEvent const *)arg1)->GetChecked();
17798
17799 wxPyEndAllowThreads(__tstate);
17800 if (PyErr_Occurred()) SWIG_fail;
17801 }
17802 {
17803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17804 }
17805 return resultobj;
17806 fail:
17807 return NULL;
17808}
17809
17810
17811static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17812 PyObject *resultobj;
17813 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17814 bool result;
17815 PyObject * obj0 = 0 ;
17816 char *kwnames[] = {
17817 (char *) "self", NULL
17818 };
17819
17820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail;
17821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17823 {
17824 PyThreadState* __tstate = wxPyBeginAllowThreads();
17825 result = (bool)((wxUpdateUIEvent const *)arg1)->GetEnabled();
17826
17827 wxPyEndAllowThreads(__tstate);
17828 if (PyErr_Occurred()) SWIG_fail;
17829 }
17830 {
17831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17832 }
17833 return resultobj;
17834 fail:
17835 return NULL;
17836}
17837
17838
17839static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17840 PyObject *resultobj;
17841 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17842 wxString result;
17843 PyObject * obj0 = 0 ;
17844 char *kwnames[] = {
17845 (char *) "self", NULL
17846 };
17847
17848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail;
17849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17851 {
17852 PyThreadState* __tstate = wxPyBeginAllowThreads();
17853 result = ((wxUpdateUIEvent const *)arg1)->GetText();
17854
17855 wxPyEndAllowThreads(__tstate);
17856 if (PyErr_Occurred()) SWIG_fail;
17857 }
17858 {
17859#if wxUSE_UNICODE
17860 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17861#else
17862 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17863#endif
17864 }
17865 return resultobj;
17866 fail:
17867 return NULL;
17868}
17869
17870
17871static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17872 PyObject *resultobj;
17873 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17874 bool result;
17875 PyObject * obj0 = 0 ;
17876 char *kwnames[] = {
17877 (char *) "self", NULL
17878 };
17879
17880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail;
17881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17883 {
17884 PyThreadState* __tstate = wxPyBeginAllowThreads();
17885 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetText();
17886
17887 wxPyEndAllowThreads(__tstate);
17888 if (PyErr_Occurred()) SWIG_fail;
17889 }
17890 {
17891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17892 }
17893 return resultobj;
17894 fail:
17895 return NULL;
17896}
17897
17898
17899static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
17900 PyObject *resultobj;
17901 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17902 bool result;
17903 PyObject * obj0 = 0 ;
17904 char *kwnames[] = {
17905 (char *) "self", NULL
17906 };
17907
17908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail;
17909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17911 {
17912 PyThreadState* __tstate = wxPyBeginAllowThreads();
17913 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetChecked();
17914
17915 wxPyEndAllowThreads(__tstate);
17916 if (PyErr_Occurred()) SWIG_fail;
17917 }
17918 {
17919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17920 }
17921 return resultobj;
17922 fail:
17923 return NULL;
17924}
17925
17926
17927static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17928 PyObject *resultobj;
17929 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17930 bool result;
17931 PyObject * obj0 = 0 ;
17932 char *kwnames[] = {
17933 (char *) "self", NULL
17934 };
17935
17936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail;
17937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17939 {
17940 PyThreadState* __tstate = wxPyBeginAllowThreads();
17941 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetEnabled();
17942
17943 wxPyEndAllowThreads(__tstate);
17944 if (PyErr_Occurred()) SWIG_fail;
17945 }
17946 {
17947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17948 }
17949 return resultobj;
17950 fail:
17951 return NULL;
17952}
17953
17954
17955static PyObject *_wrap_UpdateUIEvent_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
17956 PyObject *resultobj;
17957 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17958 bool arg2 ;
17959 PyObject * obj0 = 0 ;
17960 PyObject * obj1 = 0 ;
17961 char *kwnames[] = {
17962 (char *) "self",(char *) "check", NULL
17963 };
17964
17965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail;
17966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17968 arg2 = (bool) SWIG_AsBool(obj1);
17969 if (PyErr_Occurred()) SWIG_fail;
17970 {
17971 PyThreadState* __tstate = wxPyBeginAllowThreads();
17972 (arg1)->Check(arg2);
17973
17974 wxPyEndAllowThreads(__tstate);
17975 if (PyErr_Occurred()) SWIG_fail;
17976 }
17977 Py_INCREF(Py_None); resultobj = Py_None;
17978 return resultobj;
17979 fail:
17980 return NULL;
17981}
17982
17983
17984static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
17985 PyObject *resultobj;
17986 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17987 bool arg2 ;
17988 PyObject * obj0 = 0 ;
17989 PyObject * obj1 = 0 ;
17990 char *kwnames[] = {
17991 (char *) "self",(char *) "enable", NULL
17992 };
17993
17994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail;
17995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17997 arg2 = (bool) SWIG_AsBool(obj1);
17998 if (PyErr_Occurred()) SWIG_fail;
17999 {
18000 PyThreadState* __tstate = wxPyBeginAllowThreads();
18001 (arg1)->Enable(arg2);
18002
18003 wxPyEndAllowThreads(__tstate);
18004 if (PyErr_Occurred()) SWIG_fail;
18005 }
18006 Py_INCREF(Py_None); resultobj = Py_None;
18007 return resultobj;
18008 fail:
18009 return NULL;
18010}
18011
18012
18013static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18014 PyObject *resultobj;
18015 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18016 wxString *arg2 = 0 ;
18017 bool temp2 = False ;
18018 PyObject * obj0 = 0 ;
18019 PyObject * obj1 = 0 ;
18020 char *kwnames[] = {
18021 (char *) "self",(char *) "text", NULL
18022 };
18023
18024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
18025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18027 {
18028 arg2 = wxString_in_helper(obj1);
18029 if (arg2 == NULL) SWIG_fail;
18030 temp2 = True;
18031 }
18032 {
18033 PyThreadState* __tstate = wxPyBeginAllowThreads();
18034 (arg1)->SetText((wxString const &)*arg2);
18035
18036 wxPyEndAllowThreads(__tstate);
18037 if (PyErr_Occurred()) SWIG_fail;
18038 }
18039 Py_INCREF(Py_None); resultobj = Py_None;
18040 {
18041 if (temp2)
18042 delete arg2;
18043 }
18044 return resultobj;
18045 fail:
18046 {
18047 if (temp2)
18048 delete arg2;
18049 }
18050 return NULL;
18051}
18052
18053
18054static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
18055 PyObject *resultobj;
18056 long arg1 ;
18057 PyObject * obj0 = 0 ;
18058 char *kwnames[] = {
18059 (char *) "updateInterval", NULL
18060 };
18061
18062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames,&obj0)) goto fail;
18063 arg1 = (long) SWIG_AsLong(obj0);
18064 if (PyErr_Occurred()) SWIG_fail;
18065 {
18066 PyThreadState* __tstate = wxPyBeginAllowThreads();
18067 wxUpdateUIEvent::SetUpdateInterval(arg1);
18068
18069 wxPyEndAllowThreads(__tstate);
18070 if (PyErr_Occurred()) SWIG_fail;
18071 }
18072 Py_INCREF(Py_None); resultobj = Py_None;
18073 return resultobj;
18074 fail:
18075 return NULL;
18076}
18077
18078
18079static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
18080 PyObject *resultobj;
18081 long result;
18082 char *kwnames[] = {
18083 NULL
18084 };
18085
18086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail;
18087 {
18088 PyThreadState* __tstate = wxPyBeginAllowThreads();
18089 result = (long)wxUpdateUIEvent::GetUpdateInterval();
18090
18091 wxPyEndAllowThreads(__tstate);
18092 if (PyErr_Occurred()) SWIG_fail;
18093 }
18094 resultobj = SWIG_FromLong((long)result);
18095 return resultobj;
18096 fail:
18097 return NULL;
18098}
18099
18100
18101static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *self, PyObject *args, PyObject *kwargs) {
18102 PyObject *resultobj;
18103 wxWindow *arg1 = (wxWindow *) 0 ;
18104 bool result;
18105 PyObject * obj0 = 0 ;
18106 char *kwnames[] = {
18107 (char *) "win", NULL
18108 };
18109
18110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail;
18111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18113 {
18114 PyThreadState* __tstate = wxPyBeginAllowThreads();
18115 result = (bool)wxUpdateUIEvent::CanUpdate(arg1);
18116
18117 wxPyEndAllowThreads(__tstate);
18118 if (PyErr_Occurred()) SWIG_fail;
18119 }
18120 {
18121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18122 }
18123 return resultobj;
18124 fail:
18125 return NULL;
18126}
18127
18128
18129static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18130 PyObject *resultobj;
18131 char *kwnames[] = {
18132 NULL
18133 };
18134
18135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail;
18136 {
18137 PyThreadState* __tstate = wxPyBeginAllowThreads();
18138 wxUpdateUIEvent::ResetUpdateTime();
18139
18140 wxPyEndAllowThreads(__tstate);
18141 if (PyErr_Occurred()) SWIG_fail;
18142 }
18143 Py_INCREF(Py_None); resultobj = Py_None;
18144 return resultobj;
18145 fail:
18146 return NULL;
18147}
18148
18149
18150static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18151 PyObject *resultobj;
18152 int arg1 ;
18153 PyObject * obj0 = 0 ;
18154 char *kwnames[] = {
18155 (char *) "mode", NULL
18156 };
18157
18158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetMode",kwnames,&obj0)) goto fail;
18159 arg1 = (wxUpdateUIMode) SWIG_AsInt(obj0);
18160 if (PyErr_Occurred()) SWIG_fail;
18161 {
18162 PyThreadState* __tstate = wxPyBeginAllowThreads();
18163 wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1);
18164
18165 wxPyEndAllowThreads(__tstate);
18166 if (PyErr_Occurred()) SWIG_fail;
18167 }
18168 Py_INCREF(Py_None); resultobj = Py_None;
18169 return resultobj;
18170 fail:
18171 return NULL;
18172}
18173
18174
18175static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18176 PyObject *resultobj;
18177 int result;
18178 char *kwnames[] = {
18179 NULL
18180 };
18181
18182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail;
18183 {
18184 PyThreadState* __tstate = wxPyBeginAllowThreads();
18185 result = (int)wxUpdateUIEvent::GetMode();
18186
18187 wxPyEndAllowThreads(__tstate);
18188 if (PyErr_Occurred()) SWIG_fail;
18189 }
18190 resultobj = SWIG_FromInt((int)result);
18191 return resultobj;
18192 fail:
18193 return NULL;
18194}
18195
18196
18197static PyObject * UpdateUIEvent_swigregister(PyObject *self, PyObject *args) {
18198 PyObject *obj;
18199 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18200 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj);
18201 Py_INCREF(obj);
18202 return Py_BuildValue((char *)"");
18203}
18204static PyObject *_wrap_new_SysColourChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18205 PyObject *resultobj;
18206 wxSysColourChangedEvent *result;
18207 char *kwnames[] = {
18208 NULL
18209 };
18210
18211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail;
18212 {
18213 PyThreadState* __tstate = wxPyBeginAllowThreads();
18214 result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent();
18215
18216 wxPyEndAllowThreads(__tstate);
18217 if (PyErr_Occurred()) SWIG_fail;
18218 }
18219 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSysColourChangedEvent, 1);
18220 return resultobj;
18221 fail:
18222 return NULL;
18223}
18224
18225
18226static PyObject * SysColourChangedEvent_swigregister(PyObject *self, PyObject *args) {
18227 PyObject *obj;
18228 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18229 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj);
18230 Py_INCREF(obj);
18231 return Py_BuildValue((char *)"");
18232}
18233static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18234 PyObject *resultobj;
18235 int arg1 = (int) 0 ;
18236 wxWindow *arg2 = (wxWindow *) NULL ;
18237 wxMouseCaptureChangedEvent *result;
18238 PyObject * obj0 = 0 ;
18239 PyObject * obj1 = 0 ;
18240 char *kwnames[] = {
18241 (char *) "winid",(char *) "gainedCapture", NULL
18242 };
18243
18244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames,&obj0,&obj1)) goto fail;
18245 if (obj0) {
18246 arg1 = (int) SWIG_AsInt(obj0);
18247 if (PyErr_Occurred()) SWIG_fail;
18248 }
18249 if (obj1) {
18250 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18252 }
18253 {
18254 PyThreadState* __tstate = wxPyBeginAllowThreads();
18255 result = (wxMouseCaptureChangedEvent *)new wxMouseCaptureChangedEvent(arg1,arg2);
18256
18257 wxPyEndAllowThreads(__tstate);
18258 if (PyErr_Occurred()) SWIG_fail;
18259 }
18260 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseCaptureChangedEvent, 1);
18261 return resultobj;
18262 fail:
18263 return NULL;
18264}
18265
18266
18267static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18268 PyObject *resultobj;
18269 wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
18270 wxWindow *result;
18271 PyObject * obj0 = 0 ;
18272 char *kwnames[] = {
18273 (char *) "self", NULL
18274 };
18275
18276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail;
18277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseCaptureChangedEvent,
18278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18279 {
18280 PyThreadState* __tstate = wxPyBeginAllowThreads();
18281 result = (wxWindow *)((wxMouseCaptureChangedEvent const *)arg1)->GetCapturedWindow();
18282
18283 wxPyEndAllowThreads(__tstate);
18284 if (PyErr_Occurred()) SWIG_fail;
18285 }
18286 {
18287 resultobj = wxPyMake_wxObject(result);
18288 }
18289 return resultobj;
18290 fail:
18291 return NULL;
18292}
18293
18294
18295static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *self, PyObject *args) {
18296 PyObject *obj;
18297 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18298 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj);
18299 Py_INCREF(obj);
18300 return Py_BuildValue((char *)"");
18301}
18302static PyObject *_wrap_new_DisplayChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18303 PyObject *resultobj;
18304 wxDisplayChangedEvent *result;
18305 char *kwnames[] = {
18306 NULL
18307 };
18308
18309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail;
18310 {
18311 PyThreadState* __tstate = wxPyBeginAllowThreads();
18312 result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent();
18313
18314 wxPyEndAllowThreads(__tstate);
18315 if (PyErr_Occurred()) SWIG_fail;
18316 }
18317 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplayChangedEvent, 1);
18318 return resultobj;
18319 fail:
18320 return NULL;
18321}
18322
18323
18324static PyObject * DisplayChangedEvent_swigregister(PyObject *self, PyObject *args) {
18325 PyObject *obj;
18326 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18327 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj);
18328 Py_INCREF(obj);
18329 return Py_BuildValue((char *)"");
18330}
18331static PyObject *_wrap_new_PaletteChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18332 PyObject *resultobj;
18333 int arg1 = (int) 0 ;
18334 wxPaletteChangedEvent *result;
18335 PyObject * obj0 = 0 ;
18336 char *kwnames[] = {
18337 (char *) "id", NULL
18338 };
18339
18340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaletteChangedEvent",kwnames,&obj0)) goto fail;
18341 if (obj0) {
18342 arg1 = (int) SWIG_AsInt(obj0);
18343 if (PyErr_Occurred()) SWIG_fail;
18344 }
18345 {
18346 PyThreadState* __tstate = wxPyBeginAllowThreads();
18347 result = (wxPaletteChangedEvent *)new wxPaletteChangedEvent(arg1);
18348
18349 wxPyEndAllowThreads(__tstate);
18350 if (PyErr_Occurred()) SWIG_fail;
18351 }
18352 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaletteChangedEvent, 1);
18353 return resultobj;
18354 fail:
18355 return NULL;
18356}
18357
18358
18359static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18360 PyObject *resultobj;
18361 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18362 wxWindow *arg2 = (wxWindow *) 0 ;
18363 PyObject * obj0 = 0 ;
18364 PyObject * obj1 = 0 ;
18365 char *kwnames[] = {
18366 (char *) "self",(char *) "win", NULL
18367 };
18368
18369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail;
18370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18372 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18374 {
18375 PyThreadState* __tstate = wxPyBeginAllowThreads();
18376 (arg1)->SetChangedWindow(arg2);
18377
18378 wxPyEndAllowThreads(__tstate);
18379 if (PyErr_Occurred()) SWIG_fail;
18380 }
18381 Py_INCREF(Py_None); resultobj = Py_None;
18382 return resultobj;
18383 fail:
18384 return NULL;
18385}
18386
18387
18388static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18389 PyObject *resultobj;
18390 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18391 wxWindow *result;
18392 PyObject * obj0 = 0 ;
18393 char *kwnames[] = {
18394 (char *) "self", NULL
18395 };
18396
18397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail;
18398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18400 {
18401 PyThreadState* __tstate = wxPyBeginAllowThreads();
18402 result = (wxWindow *)(arg1)->GetChangedWindow();
18403
18404 wxPyEndAllowThreads(__tstate);
18405 if (PyErr_Occurred()) SWIG_fail;
18406 }
18407 {
18408 resultobj = wxPyMake_wxObject(result);
18409 }
18410 return resultobj;
18411 fail:
18412 return NULL;
18413}
18414
18415
18416static PyObject * PaletteChangedEvent_swigregister(PyObject *self, PyObject *args) {
18417 PyObject *obj;
18418 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18419 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj);
18420 Py_INCREF(obj);
18421 return Py_BuildValue((char *)"");
18422}
18423static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18424 PyObject *resultobj;
18425 int arg1 = (int) 0 ;
18426 wxQueryNewPaletteEvent *result;
18427 PyObject * obj0 = 0 ;
18428 char *kwnames[] = {
18429 (char *) "winid", NULL
18430 };
18431
18432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryNewPaletteEvent",kwnames,&obj0)) goto fail;
18433 if (obj0) {
18434 arg1 = (int) SWIG_AsInt(obj0);
18435 if (PyErr_Occurred()) SWIG_fail;
18436 }
18437 {
18438 PyThreadState* __tstate = wxPyBeginAllowThreads();
18439 result = (wxQueryNewPaletteEvent *)new wxQueryNewPaletteEvent(arg1);
18440
18441 wxPyEndAllowThreads(__tstate);
18442 if (PyErr_Occurred()) SWIG_fail;
18443 }
18444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryNewPaletteEvent, 1);
18445 return resultobj;
18446 fail:
18447 return NULL;
18448}
18449
18450
18451static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
18452 PyObject *resultobj;
18453 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18454 bool arg2 ;
18455 PyObject * obj0 = 0 ;
18456 PyObject * obj1 = 0 ;
18457 char *kwnames[] = {
18458 (char *) "self",(char *) "realized", NULL
18459 };
18460
18461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail;
18462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18464 arg2 = (bool) SWIG_AsBool(obj1);
18465 if (PyErr_Occurred()) SWIG_fail;
18466 {
18467 PyThreadState* __tstate = wxPyBeginAllowThreads();
18468 (arg1)->SetPaletteRealized(arg2);
18469
18470 wxPyEndAllowThreads(__tstate);
18471 if (PyErr_Occurred()) SWIG_fail;
18472 }
18473 Py_INCREF(Py_None); resultobj = Py_None;
18474 return resultobj;
18475 fail:
18476 return NULL;
18477}
18478
18479
18480static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
18481 PyObject *resultobj;
18482 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18483 bool result;
18484 PyObject * obj0 = 0 ;
18485 char *kwnames[] = {
18486 (char *) "self", NULL
18487 };
18488
18489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail;
18490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18492 {
18493 PyThreadState* __tstate = wxPyBeginAllowThreads();
18494 result = (bool)((wxQueryNewPaletteEvent const *)arg1)->GetPaletteRealized();
18495
18496 wxPyEndAllowThreads(__tstate);
18497 if (PyErr_Occurred()) SWIG_fail;
18498 }
18499 {
18500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18501 }
18502 return resultobj;
18503 fail:
18504 return NULL;
18505}
18506
18507
18508static PyObject * QueryNewPaletteEvent_swigregister(PyObject *self, PyObject *args) {
18509 PyObject *obj;
18510 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18511 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj);
18512 Py_INCREF(obj);
18513 return Py_BuildValue((char *)"");
18514}
18515static PyObject *_wrap_new_NavigationKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18516 PyObject *resultobj;
18517 wxNavigationKeyEvent *result;
18518 char *kwnames[] = {
18519 NULL
18520 };
18521
18522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail;
18523 {
18524 PyThreadState* __tstate = wxPyBeginAllowThreads();
18525 result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent();
18526
18527 wxPyEndAllowThreads(__tstate);
18528 if (PyErr_Occurred()) SWIG_fail;
18529 }
18530 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNavigationKeyEvent, 1);
18531 return resultobj;
18532 fail:
18533 return NULL;
18534}
18535
18536
18537static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
18538 PyObject *resultobj;
18539 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18540 bool result;
18541 PyObject * obj0 = 0 ;
18542 char *kwnames[] = {
18543 (char *) "self", NULL
18544 };
18545
18546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail;
18547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18549 {
18550 PyThreadState* __tstate = wxPyBeginAllowThreads();
18551 result = (bool)((wxNavigationKeyEvent const *)arg1)->GetDirection();
18552
18553 wxPyEndAllowThreads(__tstate);
18554 if (PyErr_Occurred()) SWIG_fail;
18555 }
18556 {
18557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18558 }
18559 return resultobj;
18560 fail:
18561 return NULL;
18562}
18563
18564
18565static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
18566 PyObject *resultobj;
18567 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18568 bool arg2 ;
18569 PyObject * obj0 = 0 ;
18570 PyObject * obj1 = 0 ;
18571 char *kwnames[] = {
18572 (char *) "self",(char *) "bForward", NULL
18573 };
18574
18575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail;
18576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18578 arg2 = (bool) SWIG_AsBool(obj1);
18579 if (PyErr_Occurred()) SWIG_fail;
18580 {
18581 PyThreadState* __tstate = wxPyBeginAllowThreads();
18582 (arg1)->SetDirection(arg2);
18583
18584 wxPyEndAllowThreads(__tstate);
18585 if (PyErr_Occurred()) SWIG_fail;
18586 }
18587 Py_INCREF(Py_None); resultobj = Py_None;
18588 return resultobj;
18589 fail:
18590 return NULL;
18591}
18592
18593
18594static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
18595 PyObject *resultobj;
18596 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18597 bool result;
18598 PyObject * obj0 = 0 ;
18599 char *kwnames[] = {
18600 (char *) "self", NULL
18601 };
18602
18603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail;
18604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18606 {
18607 PyThreadState* __tstate = wxPyBeginAllowThreads();
18608 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsWindowChange();
18609
18610 wxPyEndAllowThreads(__tstate);
18611 if (PyErr_Occurred()) SWIG_fail;
18612 }
18613 {
18614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18615 }
18616 return resultobj;
18617 fail:
18618 return NULL;
18619}
18620
18621
18622static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
18623 PyObject *resultobj;
18624 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18625 bool arg2 ;
18626 PyObject * obj0 = 0 ;
18627 PyObject * obj1 = 0 ;
18628 char *kwnames[] = {
18629 (char *) "self",(char *) "bIs", NULL
18630 };
18631
18632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail;
18633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18635 arg2 = (bool) SWIG_AsBool(obj1);
18636 if (PyErr_Occurred()) SWIG_fail;
18637 {
18638 PyThreadState* __tstate = wxPyBeginAllowThreads();
18639 (arg1)->SetWindowChange(arg2);
18640
18641 wxPyEndAllowThreads(__tstate);
18642 if (PyErr_Occurred()) SWIG_fail;
18643 }
18644 Py_INCREF(Py_None); resultobj = Py_None;
18645 return resultobj;
18646 fail:
18647 return NULL;
18648}
18649
18650
18651static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
18652 PyObject *resultobj;
18653 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18654 wxWindow *result;
18655 PyObject * obj0 = 0 ;
18656 char *kwnames[] = {
18657 (char *) "self", NULL
18658 };
18659
18660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail;
18661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18663 {
18664 PyThreadState* __tstate = wxPyBeginAllowThreads();
18665 result = (wxWindow *)((wxNavigationKeyEvent const *)arg1)->GetCurrentFocus();
18666
18667 wxPyEndAllowThreads(__tstate);
18668 if (PyErr_Occurred()) SWIG_fail;
18669 }
18670 {
18671 resultobj = wxPyMake_wxObject(result);
18672 }
18673 return resultobj;
18674 fail:
18675 return NULL;
18676}
18677
18678
18679static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
18680 PyObject *resultobj;
18681 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18682 wxWindow *arg2 = (wxWindow *) 0 ;
18683 PyObject * obj0 = 0 ;
18684 PyObject * obj1 = 0 ;
18685 char *kwnames[] = {
18686 (char *) "self",(char *) "win", NULL
18687 };
18688
18689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail;
18690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18692 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18694 {
18695 PyThreadState* __tstate = wxPyBeginAllowThreads();
18696 (arg1)->SetCurrentFocus(arg2);
18697
18698 wxPyEndAllowThreads(__tstate);
18699 if (PyErr_Occurred()) SWIG_fail;
18700 }
18701 Py_INCREF(Py_None); resultobj = Py_None;
18702 return resultobj;
18703 fail:
18704 return NULL;
18705}
18706
18707
18708static PyObject * NavigationKeyEvent_swigregister(PyObject *self, PyObject *args) {
18709 PyObject *obj;
18710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18711 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj);
18712 Py_INCREF(obj);
18713 return Py_BuildValue((char *)"");
18714}
18715static PyObject *_wrap_new_WindowCreateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18716 PyObject *resultobj;
18717 wxWindow *arg1 = (wxWindow *) NULL ;
18718 wxWindowCreateEvent *result;
18719 PyObject * obj0 = 0 ;
18720 char *kwnames[] = {
18721 (char *) "win", NULL
18722 };
18723
18724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail;
18725 if (obj0) {
18726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18728 }
18729 {
18730 PyThreadState* __tstate = wxPyBeginAllowThreads();
18731 result = (wxWindowCreateEvent *)new wxWindowCreateEvent(arg1);
18732
18733 wxPyEndAllowThreads(__tstate);
18734 if (PyErr_Occurred()) SWIG_fail;
18735 }
18736 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowCreateEvent, 1);
18737 return resultobj;
18738 fail:
18739 return NULL;
18740}
18741
18742
18743static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18744 PyObject *resultobj;
18745 wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
18746 wxWindow *result;
18747 PyObject * obj0 = 0 ;
18748 char *kwnames[] = {
18749 (char *) "self", NULL
18750 };
18751
18752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail;
18753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowCreateEvent,
18754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18755 {
18756 PyThreadState* __tstate = wxPyBeginAllowThreads();
18757 result = (wxWindow *)((wxWindowCreateEvent const *)arg1)->GetWindow();
18758
18759 wxPyEndAllowThreads(__tstate);
18760 if (PyErr_Occurred()) SWIG_fail;
18761 }
18762 {
18763 resultobj = wxPyMake_wxObject(result);
18764 }
18765 return resultobj;
18766 fail:
18767 return NULL;
18768}
18769
18770
18771static PyObject * WindowCreateEvent_swigregister(PyObject *self, PyObject *args) {
18772 PyObject *obj;
18773 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18774 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj);
18775 Py_INCREF(obj);
18776 return Py_BuildValue((char *)"");
18777}
18778static PyObject *_wrap_new_WindowDestroyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18779 PyObject *resultobj;
18780 wxWindow *arg1 = (wxWindow *) NULL ;
18781 wxWindowDestroyEvent *result;
18782 PyObject * obj0 = 0 ;
18783 char *kwnames[] = {
18784 (char *) "win", NULL
18785 };
18786
18787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail;
18788 if (obj0) {
18789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18791 }
18792 {
18793 PyThreadState* __tstate = wxPyBeginAllowThreads();
18794 result = (wxWindowDestroyEvent *)new wxWindowDestroyEvent(arg1);
18795
18796 wxPyEndAllowThreads(__tstate);
18797 if (PyErr_Occurred()) SWIG_fail;
18798 }
18799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDestroyEvent, 1);
18800 return resultobj;
18801 fail:
18802 return NULL;
18803}
18804
18805
18806static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18807 PyObject *resultobj;
18808 wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
18809 wxWindow *result;
18810 PyObject * obj0 = 0 ;
18811 char *kwnames[] = {
18812 (char *) "self", NULL
18813 };
18814
18815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail;
18816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDestroyEvent,
18817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18818 {
18819 PyThreadState* __tstate = wxPyBeginAllowThreads();
18820 result = (wxWindow *)((wxWindowDestroyEvent const *)arg1)->GetWindow();
18821
18822 wxPyEndAllowThreads(__tstate);
18823 if (PyErr_Occurred()) SWIG_fail;
18824 }
18825 {
18826 resultobj = wxPyMake_wxObject(result);
18827 }
18828 return resultobj;
18829 fail:
18830 return NULL;
18831}
18832
18833
18834static PyObject * WindowDestroyEvent_swigregister(PyObject *self, PyObject *args) {
18835 PyObject *obj;
18836 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18837 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj);
18838 Py_INCREF(obj);
18839 return Py_BuildValue((char *)"");
18840}
18841static PyObject *_wrap_new_ContextMenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18842 PyObject *resultobj;
18843 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18844 int arg2 = (int) 0 ;
18845 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18846 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18847 wxContextMenuEvent *result;
18848 wxPoint temp3 ;
18849 PyObject * obj0 = 0 ;
18850 PyObject * obj1 = 0 ;
18851 PyObject * obj2 = 0 ;
18852 char *kwnames[] = {
18853 (char *) "type",(char *) "winid",(char *) "pt", NULL
18854 };
18855
18856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ContextMenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
18857 if (obj0) {
18858 arg1 = (wxEventType) SWIG_AsInt(obj0);
18859 if (PyErr_Occurred()) SWIG_fail;
18860 }
18861 if (obj1) {
18862 arg2 = (int) SWIG_AsInt(obj1);
18863 if (PyErr_Occurred()) SWIG_fail;
18864 }
18865 if (obj2) {
18866 {
18867 arg3 = &temp3;
18868 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18869 }
18870 }
18871 {
18872 PyThreadState* __tstate = wxPyBeginAllowThreads();
18873 result = (wxContextMenuEvent *)new wxContextMenuEvent(arg1,arg2,(wxPoint const &)*arg3);
18874
18875 wxPyEndAllowThreads(__tstate);
18876 if (PyErr_Occurred()) SWIG_fail;
18877 }
18878 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextMenuEvent, 1);
18879 return resultobj;
18880 fail:
18881 return NULL;
18882}
18883
18884
18885static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18886 PyObject *resultobj;
18887 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
18888 wxPoint *result;
18889 PyObject * obj0 = 0 ;
18890 char *kwnames[] = {
18891 (char *) "self", NULL
18892 };
18893
18894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail;
18895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
18896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18897 {
18898 PyThreadState* __tstate = wxPyBeginAllowThreads();
18899 {
18900 wxPoint const &_result_ref = ((wxContextMenuEvent const *)arg1)->GetPosition();
18901 result = (wxPoint *) &_result_ref;
18902 }
18903
18904 wxPyEndAllowThreads(__tstate);
18905 if (PyErr_Occurred()) SWIG_fail;
18906 }
18907 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
18908 return resultobj;
18909 fail:
18910 return NULL;
18911}
18912
18913
18914static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18915 PyObject *resultobj;
18916 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
18917 wxPoint *arg2 = 0 ;
18918 wxPoint temp2 ;
18919 PyObject * obj0 = 0 ;
18920 PyObject * obj1 = 0 ;
18921 char *kwnames[] = {
18922 (char *) "self",(char *) "pos", NULL
18923 };
18924
18925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
18926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
18927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18928 {
18929 arg2 = &temp2;
18930 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18931 }
18932 {
18933 PyThreadState* __tstate = wxPyBeginAllowThreads();
18934 (arg1)->SetPosition((wxPoint const &)*arg2);
18935
18936 wxPyEndAllowThreads(__tstate);
18937 if (PyErr_Occurred()) SWIG_fail;
18938 }
18939 Py_INCREF(Py_None); resultobj = Py_None;
18940 return resultobj;
18941 fail:
18942 return NULL;
18943}
18944
18945
18946static PyObject * ContextMenuEvent_swigregister(PyObject *self, PyObject *args) {
18947 PyObject *obj;
18948 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18949 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj);
18950 Py_INCREF(obj);
18951 return Py_BuildValue((char *)"");
18952}
18953static PyObject *_wrap_new_IdleEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18954 PyObject *resultobj;
18955 wxIdleEvent *result;
18956 char *kwnames[] = {
18957 NULL
18958 };
18959
18960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail;
18961 {
18962 PyThreadState* __tstate = wxPyBeginAllowThreads();
18963 result = (wxIdleEvent *)new wxIdleEvent();
18964
18965 wxPyEndAllowThreads(__tstate);
18966 if (PyErr_Occurred()) SWIG_fail;
18967 }
18968 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIdleEvent, 1);
18969 return resultobj;
18970 fail:
18971 return NULL;
18972}
18973
18974
18975static PyObject *_wrap_IdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) {
18976 PyObject *resultobj;
18977 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
18978 bool arg2 = (bool) True ;
18979 PyObject * obj0 = 0 ;
18980 PyObject * obj1 = 0 ;
18981 char *kwnames[] = {
18982 (char *) "self",(char *) "needMore", NULL
18983 };
18984
18985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail;
18986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
18987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18988 if (obj1) {
18989 arg2 = (bool) SWIG_AsBool(obj1);
18990 if (PyErr_Occurred()) SWIG_fail;
18991 }
18992 {
18993 PyThreadState* __tstate = wxPyBeginAllowThreads();
18994 (arg1)->RequestMore(arg2);
18995
18996 wxPyEndAllowThreads(__tstate);
18997 if (PyErr_Occurred()) SWIG_fail;
18998 }
18999 Py_INCREF(Py_None); resultobj = Py_None;
19000 return resultobj;
19001 fail:
19002 return NULL;
19003}
19004
19005
19006static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *self, PyObject *args, PyObject *kwargs) {
19007 PyObject *resultobj;
19008 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
19009 bool result;
19010 PyObject * obj0 = 0 ;
19011 char *kwnames[] = {
19012 (char *) "self", NULL
19013 };
19014
19015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail;
19016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
19017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19018 {
19019 PyThreadState* __tstate = wxPyBeginAllowThreads();
19020 result = (bool)((wxIdleEvent const *)arg1)->MoreRequested();
19021
19022 wxPyEndAllowThreads(__tstate);
19023 if (PyErr_Occurred()) SWIG_fail;
19024 }
19025 {
19026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19027 }
19028 return resultobj;
19029 fail:
19030 return NULL;
19031}
19032
19033
19034static PyObject *_wrap_IdleEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19035 PyObject *resultobj;
19036 int arg1 ;
19037 PyObject * obj0 = 0 ;
19038 char *kwnames[] = {
19039 (char *) "mode", NULL
19040 };
19041
19042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_SetMode",kwnames,&obj0)) goto fail;
19043 arg1 = (wxIdleMode) SWIG_AsInt(obj0);
19044 if (PyErr_Occurred()) SWIG_fail;
19045 {
19046 PyThreadState* __tstate = wxPyBeginAllowThreads();
19047 wxIdleEvent::SetMode((wxIdleMode )arg1);
19048
19049 wxPyEndAllowThreads(__tstate);
19050 if (PyErr_Occurred()) SWIG_fail;
19051 }
19052 Py_INCREF(Py_None); resultobj = Py_None;
19053 return resultobj;
19054 fail:
19055 return NULL;
19056}
19057
19058
19059static PyObject *_wrap_IdleEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19060 PyObject *resultobj;
19061 int result;
19062 char *kwnames[] = {
19063 NULL
19064 };
19065
19066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail;
19067 {
19068 PyThreadState* __tstate = wxPyBeginAllowThreads();
19069 result = (int)wxIdleEvent::GetMode();
19070
19071 wxPyEndAllowThreads(__tstate);
19072 if (PyErr_Occurred()) SWIG_fail;
19073 }
19074 resultobj = SWIG_FromInt((int)result);
19075 return resultobj;
19076 fail:
19077 return NULL;
19078}
19079
19080
19081static PyObject *_wrap_IdleEvent_CanSend(PyObject *self, PyObject *args, PyObject *kwargs) {
19082 PyObject *resultobj;
19083 wxWindow *arg1 = (wxWindow *) 0 ;
19084 bool result;
19085 PyObject * obj0 = 0 ;
19086 char *kwnames[] = {
19087 (char *) "win", NULL
19088 };
19089
19090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail;
19091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19093 {
19094 PyThreadState* __tstate = wxPyBeginAllowThreads();
19095 result = (bool)wxIdleEvent::CanSend(arg1);
19096
19097 wxPyEndAllowThreads(__tstate);
19098 if (PyErr_Occurred()) SWIG_fail;
19099 }
19100 {
19101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19102 }
19103 return resultobj;
19104 fail:
19105 return NULL;
19106}
19107
19108
19109static PyObject * IdleEvent_swigregister(PyObject *self, PyObject *args) {
19110 PyObject *obj;
19111 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19112 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj);
19113 Py_INCREF(obj);
19114 return Py_BuildValue((char *)"");
19115}
19116static PyObject *_wrap_new_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19117 PyObject *resultobj;
19118 int arg1 = (int) 0 ;
19119 wxEventType arg2 = (wxEventType) wxEVT_NULL ;
19120 wxPyEvent *result;
19121 PyObject * obj0 = 0 ;
19122 PyObject * obj1 = 0 ;
19123 char *kwnames[] = {
19124 (char *) "winid",(char *) "commandType", NULL
19125 };
19126
19127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail;
19128 if (obj0) {
19129 arg1 = (int) SWIG_AsInt(obj0);
19130 if (PyErr_Occurred()) SWIG_fail;
19131 }
19132 if (obj1) {
19133 arg2 = (wxEventType) SWIG_AsInt(obj1);
19134 if (PyErr_Occurred()) SWIG_fail;
19135 }
19136 {
19137 PyThreadState* __tstate = wxPyBeginAllowThreads();
19138 result = (wxPyEvent *)new wxPyEvent(arg1,arg2);
19139
19140 wxPyEndAllowThreads(__tstate);
19141 if (PyErr_Occurred()) SWIG_fail;
19142 }
19143 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEvent, 1);
19144 return resultobj;
19145 fail:
19146 return NULL;
19147}
19148
19149
19150static PyObject *_wrap_delete_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19151 PyObject *resultobj;
19152 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19153 PyObject * obj0 = 0 ;
19154 char *kwnames[] = {
19155 (char *) "self", NULL
19156 };
19157
19158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail;
19159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19161 {
19162 PyThreadState* __tstate = wxPyBeginAllowThreads();
19163 delete arg1;
19164
19165 wxPyEndAllowThreads(__tstate);
19166 if (PyErr_Occurred()) SWIG_fail;
19167 }
19168 Py_INCREF(Py_None); resultobj = Py_None;
19169 return resultobj;
19170 fail:
19171 return NULL;
19172}
19173
19174
19175static PyObject *_wrap_PyEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19176 PyObject *resultobj;
19177 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19178 PyObject *arg2 = (PyObject *) 0 ;
19179 PyObject * obj0 = 0 ;
19180 PyObject * obj1 = 0 ;
19181 char *kwnames[] = {
19182 (char *) "self",(char *) "self", NULL
19183 };
19184
19185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
19186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19188 arg2 = obj1;
19189 {
19190 PyThreadState* __tstate = wxPyBeginAllowThreads();
19191 (arg1)->SetSelf(arg2);
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_PyEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19204 PyObject *resultobj;
19205 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19206 PyObject *result;
19207 PyObject * obj0 = 0 ;
19208 char *kwnames[] = {
19209 (char *) "self", NULL
19210 };
19211
19212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
19213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19215 {
19216 PyThreadState* __tstate = wxPyBeginAllowThreads();
19217 result = (PyObject *)(arg1)->GetSelf();
19218
19219 wxPyEndAllowThreads(__tstate);
19220 if (PyErr_Occurred()) SWIG_fail;
19221 }
19222 resultobj = result;
19223 return resultobj;
19224 fail:
19225 return NULL;
19226}
19227
19228
19229static PyObject * PyEvent_swigregister(PyObject *self, PyObject *args) {
19230 PyObject *obj;
19231 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19232 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj);
19233 Py_INCREF(obj);
19234 return Py_BuildValue((char *)"");
19235}
19236static PyObject *_wrap_new_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19237 PyObject *resultobj;
19238 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19239 int arg2 = (int) 0 ;
19240 wxPyCommandEvent *result;
19241 PyObject * obj0 = 0 ;
19242 PyObject * obj1 = 0 ;
19243 char *kwnames[] = {
19244 (char *) "commandType",(char *) "id", NULL
19245 };
19246
19247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail;
19248 if (obj0) {
19249 arg1 = (wxEventType) SWIG_AsInt(obj0);
19250 if (PyErr_Occurred()) SWIG_fail;
19251 }
19252 if (obj1) {
19253 arg2 = (int) SWIG_AsInt(obj1);
19254 if (PyErr_Occurred()) SWIG_fail;
19255 }
19256 {
19257 PyThreadState* __tstate = wxPyBeginAllowThreads();
19258 result = (wxPyCommandEvent *)new wxPyCommandEvent(arg1,arg2);
19259
19260 wxPyEndAllowThreads(__tstate);
19261 if (PyErr_Occurred()) SWIG_fail;
19262 }
19263 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCommandEvent, 1);
19264 return resultobj;
19265 fail:
19266 return NULL;
19267}
19268
19269
19270static PyObject *_wrap_delete_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19271 PyObject *resultobj;
19272 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19273 PyObject * obj0 = 0 ;
19274 char *kwnames[] = {
19275 (char *) "self", NULL
19276 };
19277
19278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail;
19279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19281 {
19282 PyThreadState* __tstate = wxPyBeginAllowThreads();
19283 delete arg1;
19284
19285 wxPyEndAllowThreads(__tstate);
19286 if (PyErr_Occurred()) SWIG_fail;
19287 }
19288 Py_INCREF(Py_None); resultobj = Py_None;
19289 return resultobj;
19290 fail:
19291 return NULL;
19292}
19293
19294
19295static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19296 PyObject *resultobj;
19297 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19298 PyObject *arg2 = (PyObject *) 0 ;
19299 PyObject * obj0 = 0 ;
19300 PyObject * obj1 = 0 ;
19301 char *kwnames[] = {
19302 (char *) "self",(char *) "self", NULL
19303 };
19304
19305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
19306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19308 arg2 = obj1;
19309 {
19310 PyThreadState* __tstate = wxPyBeginAllowThreads();
19311 (arg1)->SetSelf(arg2);
19312
19313 wxPyEndAllowThreads(__tstate);
19314 if (PyErr_Occurred()) SWIG_fail;
19315 }
19316 Py_INCREF(Py_None); resultobj = Py_None;
19317 return resultobj;
19318 fail:
19319 return NULL;
19320}
19321
19322
19323static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19324 PyObject *resultobj;
19325 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19326 PyObject *result;
19327 PyObject * obj0 = 0 ;
19328 char *kwnames[] = {
19329 (char *) "self", NULL
19330 };
19331
19332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
19333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19335 {
19336 PyThreadState* __tstate = wxPyBeginAllowThreads();
19337 result = (PyObject *)(arg1)->GetSelf();
19338
19339 wxPyEndAllowThreads(__tstate);
19340 if (PyErr_Occurred()) SWIG_fail;
19341 }
19342 resultobj = result;
19343 return resultobj;
19344 fail:
19345 return NULL;
19346}
19347
19348
19349static PyObject * PyCommandEvent_swigregister(PyObject *self, PyObject *args) {
19350 PyObject *obj;
19351 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19352 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj);
19353 Py_INCREF(obj);
19354 return Py_BuildValue((char *)"");
19355}
19356static PyObject *_wrap_new_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
19357 PyObject *resultobj;
19358 wxPyApp *result;
19359 char *kwnames[] = {
19360 NULL
19361 };
19362
19363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail;
19364 {
19365 PyThreadState* __tstate = wxPyBeginAllowThreads();
19366 result = (wxPyApp *)new_wxPyApp();
19367
19368 wxPyEndAllowThreads(__tstate);
19369 if (PyErr_Occurred()) SWIG_fail;
19370 }
19371 {
19372 resultobj = wxPyMake_wxObject(result);
19373 }
19374 return resultobj;
19375 fail:
19376 return NULL;
19377}
19378
19379
19380static PyObject *_wrap_delete_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
19381 PyObject *resultobj;
19382 wxPyApp *arg1 = (wxPyApp *) 0 ;
19383 PyObject * obj0 = 0 ;
19384 char *kwnames[] = {
19385 (char *) "self", NULL
19386 };
19387
19388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail;
19389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19391 {
19392 PyThreadState* __tstate = wxPyBeginAllowThreads();
19393 delete arg1;
19394
19395 wxPyEndAllowThreads(__tstate);
19396 if (PyErr_Occurred()) SWIG_fail;
19397 }
19398 Py_INCREF(Py_None); resultobj = Py_None;
19399 return resultobj;
19400 fail:
19401 return NULL;
19402}
19403
19404
19405static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19406 PyObject *resultobj;
19407 wxPyApp *arg1 = (wxPyApp *) 0 ;
19408 PyObject *arg2 = (PyObject *) 0 ;
19409 PyObject *arg3 = (PyObject *) 0 ;
19410 PyObject * obj0 = 0 ;
19411 PyObject * obj1 = 0 ;
19412 PyObject * obj2 = 0 ;
19413 char *kwnames[] = {
19414 (char *) "self",(char *) "self",(char *) "_class", NULL
19415 };
19416
19417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19420 arg2 = obj1;
19421 arg3 = obj2;
19422 {
19423 PyThreadState* __tstate = wxPyBeginAllowThreads();
19424 (arg1)->_setCallbackInfo(arg2,arg3);
19425
19426 wxPyEndAllowThreads(__tstate);
19427 if (PyErr_Occurred()) SWIG_fail;
19428 }
19429 Py_INCREF(Py_None); resultobj = Py_None;
19430 return resultobj;
19431 fail:
19432 return NULL;
19433}
19434
19435
19436static PyObject *_wrap_PyApp_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
19437 PyObject *resultobj;
19438 wxPyApp *arg1 = (wxPyApp *) 0 ;
19439 wxString result;
19440 PyObject * obj0 = 0 ;
19441 char *kwnames[] = {
19442 (char *) "self", NULL
19443 };
19444
19445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail;
19446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19448 {
19449 PyThreadState* __tstate = wxPyBeginAllowThreads();
19450 result = ((wxPyApp const *)arg1)->GetAppName();
19451
19452 wxPyEndAllowThreads(__tstate);
19453 if (PyErr_Occurred()) SWIG_fail;
19454 }
19455 {
19456#if wxUSE_UNICODE
19457 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19458#else
19459 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19460#endif
19461 }
19462 return resultobj;
19463 fail:
19464 return NULL;
19465}
19466
19467
19468static PyObject *_wrap_PyApp_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
19469 PyObject *resultobj;
19470 wxPyApp *arg1 = (wxPyApp *) 0 ;
19471 wxString *arg2 = 0 ;
19472 bool temp2 = False ;
19473 PyObject * obj0 = 0 ;
19474 PyObject * obj1 = 0 ;
19475 char *kwnames[] = {
19476 (char *) "self",(char *) "name", NULL
19477 };
19478
19479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail;
19480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19482 {
19483 arg2 = wxString_in_helper(obj1);
19484 if (arg2 == NULL) SWIG_fail;
19485 temp2 = True;
19486 }
19487 {
19488 PyThreadState* __tstate = wxPyBeginAllowThreads();
19489 (arg1)->SetAppName((wxString const &)*arg2);
19490
19491 wxPyEndAllowThreads(__tstate);
19492 if (PyErr_Occurred()) SWIG_fail;
19493 }
19494 Py_INCREF(Py_None); resultobj = Py_None;
19495 {
19496 if (temp2)
19497 delete arg2;
19498 }
19499 return resultobj;
19500 fail:
19501 {
19502 if (temp2)
19503 delete arg2;
19504 }
19505 return NULL;
19506}
19507
19508
19509static PyObject *_wrap_PyApp_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
19510 PyObject *resultobj;
19511 wxPyApp *arg1 = (wxPyApp *) 0 ;
19512 wxString result;
19513 PyObject * obj0 = 0 ;
19514 char *kwnames[] = {
19515 (char *) "self", NULL
19516 };
19517
19518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail;
19519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19521 {
19522 PyThreadState* __tstate = wxPyBeginAllowThreads();
19523 result = ((wxPyApp const *)arg1)->GetClassName();
19524
19525 wxPyEndAllowThreads(__tstate);
19526 if (PyErr_Occurred()) SWIG_fail;
19527 }
19528 {
19529#if wxUSE_UNICODE
19530 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19531#else
19532 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19533#endif
19534 }
19535 return resultobj;
19536 fail:
19537 return NULL;
19538}
19539
19540
19541static PyObject *_wrap_PyApp_SetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
19542 PyObject *resultobj;
19543 wxPyApp *arg1 = (wxPyApp *) 0 ;
19544 wxString *arg2 = 0 ;
19545 bool temp2 = False ;
19546 PyObject * obj0 = 0 ;
19547 PyObject * obj1 = 0 ;
19548 char *kwnames[] = {
19549 (char *) "self",(char *) "name", NULL
19550 };
19551
19552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail;
19553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19555 {
19556 arg2 = wxString_in_helper(obj1);
19557 if (arg2 == NULL) SWIG_fail;
19558 temp2 = True;
19559 }
19560 {
19561 PyThreadState* __tstate = wxPyBeginAllowThreads();
19562 (arg1)->SetClassName((wxString const &)*arg2);
19563
19564 wxPyEndAllowThreads(__tstate);
19565 if (PyErr_Occurred()) SWIG_fail;
19566 }
19567 Py_INCREF(Py_None); resultobj = Py_None;
19568 {
19569 if (temp2)
19570 delete arg2;
19571 }
19572 return resultobj;
19573 fail:
19574 {
19575 if (temp2)
19576 delete arg2;
19577 }
19578 return NULL;
19579}
19580
19581
19582static PyObject *_wrap_PyApp_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
19583 PyObject *resultobj;
19584 wxPyApp *arg1 = (wxPyApp *) 0 ;
19585 wxString *result;
19586 PyObject * obj0 = 0 ;
19587 char *kwnames[] = {
19588 (char *) "self", NULL
19589 };
19590
19591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail;
19592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19594 {
19595 PyThreadState* __tstate = wxPyBeginAllowThreads();
19596 {
19597 wxString const &_result_ref = ((wxPyApp const *)arg1)->GetVendorName();
19598 result = (wxString *) &_result_ref;
19599 }
19600
19601 wxPyEndAllowThreads(__tstate);
19602 if (PyErr_Occurred()) SWIG_fail;
19603 }
19604 {
19605#if wxUSE_UNICODE
19606 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19607#else
19608 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19609#endif
19610 }
19611 return resultobj;
19612 fail:
19613 return NULL;
19614}
19615
19616
19617static PyObject *_wrap_PyApp_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
19618 PyObject *resultobj;
19619 wxPyApp *arg1 = (wxPyApp *) 0 ;
19620 wxString *arg2 = 0 ;
19621 bool temp2 = False ;
19622 PyObject * obj0 = 0 ;
19623 PyObject * obj1 = 0 ;
19624 char *kwnames[] = {
19625 (char *) "self",(char *) "name", NULL
19626 };
19627
19628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
19629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19631 {
19632 arg2 = wxString_in_helper(obj1);
19633 if (arg2 == NULL) SWIG_fail;
19634 temp2 = True;
19635 }
19636 {
19637 PyThreadState* __tstate = wxPyBeginAllowThreads();
19638 (arg1)->SetVendorName((wxString const &)*arg2);
19639
19640 wxPyEndAllowThreads(__tstate);
19641 if (PyErr_Occurred()) SWIG_fail;
19642 }
19643 Py_INCREF(Py_None); resultobj = Py_None;
19644 {
19645 if (temp2)
19646 delete arg2;
19647 }
19648 return resultobj;
19649 fail:
19650 {
19651 if (temp2)
19652 delete arg2;
19653 }
19654 return NULL;
19655}
19656
19657
19658static PyObject *_wrap_PyApp_GetTraits(PyObject *self, PyObject *args, PyObject *kwargs) {
19659 PyObject *resultobj;
19660 wxPyApp *arg1 = (wxPyApp *) 0 ;
19661 wxAppTraits *result;
19662 PyObject * obj0 = 0 ;
19663 char *kwnames[] = {
19664 (char *) "self", NULL
19665 };
19666
19667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail;
19668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19670 {
19671 PyThreadState* __tstate = wxPyBeginAllowThreads();
19672 result = (wxAppTraits *)(arg1)->GetTraits();
19673
19674 wxPyEndAllowThreads(__tstate);
19675 if (PyErr_Occurred()) SWIG_fail;
19676 }
19677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAppTraits, 0);
19678 return resultobj;
19679 fail:
19680 return NULL;
19681}
19682
19683
19684static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
19685 PyObject *resultobj;
19686 wxPyApp *arg1 = (wxPyApp *) 0 ;
19687 PyObject * obj0 = 0 ;
19688 char *kwnames[] = {
19689 (char *) "self", NULL
19690 };
19691
19692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail;
19693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19695 {
19696 PyThreadState* __tstate = wxPyBeginAllowThreads();
19697 (arg1)->ProcessPendingEvents();
19698
19699 wxPyEndAllowThreads(__tstate);
19700 if (PyErr_Occurred()) SWIG_fail;
19701 }
19702 Py_INCREF(Py_None); resultobj = Py_None;
19703 return resultobj;
19704 fail:
19705 return NULL;
19706}
19707
19708
19709static PyObject *_wrap_PyApp_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
19710 PyObject *resultobj;
19711 wxPyApp *arg1 = (wxPyApp *) 0 ;
19712 bool arg2 = (bool) False ;
19713 bool result;
19714 PyObject * obj0 = 0 ;
19715 PyObject * obj1 = 0 ;
19716 char *kwnames[] = {
19717 (char *) "self",(char *) "onlyIfNeeded", NULL
19718 };
19719
19720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail;
19721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19723 if (obj1) {
19724 arg2 = (bool) SWIG_AsBool(obj1);
19725 if (PyErr_Occurred()) SWIG_fail;
19726 }
19727 {
19728 PyThreadState* __tstate = wxPyBeginAllowThreads();
19729 result = (bool)(arg1)->Yield(arg2);
19730
19731 wxPyEndAllowThreads(__tstate);
19732 if (PyErr_Occurred()) SWIG_fail;
19733 }
19734 {
19735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19736 }
19737 return resultobj;
19738 fail:
19739 return NULL;
19740}
19741
19742
19743static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
19744 PyObject *resultobj;
19745 wxPyApp *arg1 = (wxPyApp *) 0 ;
19746 PyObject * obj0 = 0 ;
19747 char *kwnames[] = {
19748 (char *) "self", NULL
19749 };
19750
19751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail;
19752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19754 {
19755 PyThreadState* __tstate = wxPyBeginAllowThreads();
19756 (arg1)->WakeUpIdle();
19757
19758 wxPyEndAllowThreads(__tstate);
19759 if (PyErr_Occurred()) SWIG_fail;
19760 }
19761 Py_INCREF(Py_None); resultobj = Py_None;
19762 return resultobj;
19763 fail:
19764 return NULL;
19765}
19766
19767
19768static PyObject *_wrap_PyApp_MainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
19769 PyObject *resultobj;
19770 wxPyApp *arg1 = (wxPyApp *) 0 ;
19771 int result;
19772 PyObject * obj0 = 0 ;
19773 char *kwnames[] = {
19774 (char *) "self", NULL
19775 };
19776
19777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail;
19778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19780 {
19781 PyThreadState* __tstate = wxPyBeginAllowThreads();
19782 result = (int)(arg1)->MainLoop();
19783
19784 wxPyEndAllowThreads(__tstate);
19785 if (PyErr_Occurred()) SWIG_fail;
19786 }
19787 resultobj = SWIG_FromInt((int)result);
19788 return resultobj;
19789 fail:
19790 return NULL;
19791}
19792
19793
19794static PyObject *_wrap_PyApp_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
19795 PyObject *resultobj;
19796 wxPyApp *arg1 = (wxPyApp *) 0 ;
19797 PyObject * obj0 = 0 ;
19798 char *kwnames[] = {
19799 (char *) "self", NULL
19800 };
19801
19802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail;
19803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19805 {
19806 PyThreadState* __tstate = wxPyBeginAllowThreads();
19807 (arg1)->Exit();
19808
19809 wxPyEndAllowThreads(__tstate);
19810 if (PyErr_Occurred()) SWIG_fail;
19811 }
19812 Py_INCREF(Py_None); resultobj = Py_None;
19813 return resultobj;
19814 fail:
19815 return NULL;
19816}
19817
19818
19819static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
19820 PyObject *resultobj;
19821 wxPyApp *arg1 = (wxPyApp *) 0 ;
19822 PyObject * obj0 = 0 ;
19823 char *kwnames[] = {
19824 (char *) "self", NULL
19825 };
19826
19827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail;
19828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19830 {
19831 PyThreadState* __tstate = wxPyBeginAllowThreads();
19832 (arg1)->ExitMainLoop();
19833
19834 wxPyEndAllowThreads(__tstate);
19835 if (PyErr_Occurred()) SWIG_fail;
19836 }
19837 Py_INCREF(Py_None); resultobj = Py_None;
19838 return resultobj;
19839 fail:
19840 return NULL;
19841}
19842
19843
19844static PyObject *_wrap_PyApp_Pending(PyObject *self, PyObject *args, PyObject *kwargs) {
19845 PyObject *resultobj;
19846 wxPyApp *arg1 = (wxPyApp *) 0 ;
19847 bool result;
19848 PyObject * obj0 = 0 ;
19849 char *kwnames[] = {
19850 (char *) "self", NULL
19851 };
19852
19853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail;
19854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19856 {
19857 PyThreadState* __tstate = wxPyBeginAllowThreads();
19858 result = (bool)(arg1)->Pending();
19859
19860 wxPyEndAllowThreads(__tstate);
19861 if (PyErr_Occurred()) SWIG_fail;
19862 }
19863 {
19864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19865 }
19866 return resultobj;
19867 fail:
19868 return NULL;
19869}
19870
19871
19872static PyObject *_wrap_PyApp_Dispatch(PyObject *self, PyObject *args, PyObject *kwargs) {
19873 PyObject *resultobj;
19874 wxPyApp *arg1 = (wxPyApp *) 0 ;
19875 bool result;
19876 PyObject * obj0 = 0 ;
19877 char *kwnames[] = {
19878 (char *) "self", NULL
19879 };
19880
19881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",kwnames,&obj0)) goto fail;
19882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19884 {
19885 PyThreadState* __tstate = wxPyBeginAllowThreads();
19886 result = (bool)(arg1)->Dispatch();
19887
19888 wxPyEndAllowThreads(__tstate);
19889 if (PyErr_Occurred()) SWIG_fail;
19890 }
19891 {
19892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19893 }
19894 return resultobj;
19895 fail:
19896 return NULL;
19897}
19898
19899
19900static PyObject *_wrap_PyApp_ProcessIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
19901 PyObject *resultobj;
19902 wxPyApp *arg1 = (wxPyApp *) 0 ;
19903 bool result;
19904 PyObject * obj0 = 0 ;
19905 char *kwnames[] = {
19906 (char *) "self", NULL
19907 };
19908
19909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail;
19910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19912 {
19913 PyThreadState* __tstate = wxPyBeginAllowThreads();
19914 result = (bool)(arg1)->ProcessIdle();
19915
19916 wxPyEndAllowThreads(__tstate);
19917 if (PyErr_Occurred()) SWIG_fail;
19918 }
19919 {
19920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19921 }
19922 return resultobj;
19923 fail:
19924 return NULL;
19925}
19926
19927
19928static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
19929 PyObject *resultobj;
19930 wxPyApp *arg1 = (wxPyApp *) 0 ;
19931 wxWindow *arg2 = (wxWindow *) 0 ;
19932 wxIdleEvent *arg3 = 0 ;
19933 bool result;
19934 PyObject * obj0 = 0 ;
19935 PyObject * obj1 = 0 ;
19936 PyObject * obj2 = 0 ;
19937 char *kwnames[] = {
19938 (char *) "self",(char *) "win",(char *) "event", NULL
19939 };
19940
19941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail;
19942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19944 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19946 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxIdleEvent,
19947 SWIG_POINTER_EXCEPTION | 0)) == -1)
19948 SWIG_fail;
19949 if (arg3 == NULL) {
19950 PyErr_SetString(PyExc_TypeError,"null reference");
19951 SWIG_fail;
19952 }
19953 {
19954 PyThreadState* __tstate = wxPyBeginAllowThreads();
19955 result = (bool)(arg1)->SendIdleEvents(arg2,*arg3);
19956
19957 wxPyEndAllowThreads(__tstate);
19958 if (PyErr_Occurred()) SWIG_fail;
19959 }
19960 {
19961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19962 }
19963 return resultobj;
19964 fail:
19965 return NULL;
19966}
19967
19968
19969static PyObject *_wrap_PyApp_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
19970 PyObject *resultobj;
19971 wxPyApp *arg1 = (wxPyApp *) 0 ;
19972 bool result;
19973 PyObject * obj0 = 0 ;
19974 char *kwnames[] = {
19975 (char *) "self", NULL
19976 };
19977
19978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
19979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19981 {
19982 PyThreadState* __tstate = wxPyBeginAllowThreads();
19983 result = (bool)((wxPyApp const *)arg1)->IsActive();
19984
19985 wxPyEndAllowThreads(__tstate);
19986 if (PyErr_Occurred()) SWIG_fail;
19987 }
19988 {
19989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19990 }
19991 return resultobj;
19992 fail:
19993 return NULL;
19994}
19995
19996
19997static PyObject *_wrap_PyApp_SetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19998 PyObject *resultobj;
19999 wxPyApp *arg1 = (wxPyApp *) 0 ;
20000 wxWindow *arg2 = (wxWindow *) 0 ;
20001 PyObject * obj0 = 0 ;
20002 PyObject * obj1 = 0 ;
20003 char *kwnames[] = {
20004 (char *) "self",(char *) "win", NULL
20005 };
20006
20007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
20008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20010 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20012 {
20013 PyThreadState* __tstate = wxPyBeginAllowThreads();
20014 (arg1)->SetTopWindow(arg2);
20015
20016 wxPyEndAllowThreads(__tstate);
20017 if (PyErr_Occurred()) SWIG_fail;
20018 }
20019 Py_INCREF(Py_None); resultobj = Py_None;
20020 return resultobj;
20021 fail:
20022 return NULL;
20023}
20024
20025
20026static PyObject *_wrap_PyApp_GetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20027 PyObject *resultobj;
20028 wxPyApp *arg1 = (wxPyApp *) 0 ;
20029 wxWindow *result;
20030 PyObject * obj0 = 0 ;
20031 char *kwnames[] = {
20032 (char *) "self", NULL
20033 };
20034
20035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
20036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20038 {
20039 PyThreadState* __tstate = wxPyBeginAllowThreads();
20040 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
20041
20042 wxPyEndAllowThreads(__tstate);
20043 if (PyErr_Occurred()) SWIG_fail;
20044 }
20045 {
20046 resultobj = wxPyMake_wxObject(result);
20047 }
20048 return resultobj;
20049 fail:
20050 return NULL;
20051}
20052
20053
20054static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
20055 PyObject *resultobj;
20056 wxPyApp *arg1 = (wxPyApp *) 0 ;
20057 bool arg2 ;
20058 PyObject * obj0 = 0 ;
20059 PyObject * obj1 = 0 ;
20060 char *kwnames[] = {
20061 (char *) "self",(char *) "flag", NULL
20062 };
20063
20064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
20065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20067 arg2 = (bool) SWIG_AsBool(obj1);
20068 if (PyErr_Occurred()) SWIG_fail;
20069 {
20070 PyThreadState* __tstate = wxPyBeginAllowThreads();
20071 (arg1)->SetExitOnFrameDelete(arg2);
20072
20073 wxPyEndAllowThreads(__tstate);
20074 if (PyErr_Occurred()) SWIG_fail;
20075 }
20076 Py_INCREF(Py_None); resultobj = Py_None;
20077 return resultobj;
20078 fail:
20079 return NULL;
20080}
20081
20082
20083static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
20084 PyObject *resultobj;
20085 wxPyApp *arg1 = (wxPyApp *) 0 ;
20086 bool result;
20087 PyObject * obj0 = 0 ;
20088 char *kwnames[] = {
20089 (char *) "self", NULL
20090 };
20091
20092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
20093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20095 {
20096 PyThreadState* __tstate = wxPyBeginAllowThreads();
20097 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
20098
20099 wxPyEndAllowThreads(__tstate);
20100 if (PyErr_Occurred()) SWIG_fail;
20101 }
20102 {
20103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20104 }
20105 return resultobj;
20106 fail:
20107 return NULL;
20108}
20109
20110
20111static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
20112 PyObject *resultobj;
20113 wxPyApp *arg1 = (wxPyApp *) 0 ;
20114 bool arg2 ;
20115 PyObject * obj0 = 0 ;
20116 PyObject * obj1 = 0 ;
20117 char *kwnames[] = {
20118 (char *) "self",(char *) "flag", NULL
20119 };
20120
20121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
20122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20124 arg2 = (bool) SWIG_AsBool(obj1);
20125 if (PyErr_Occurred()) SWIG_fail;
20126 {
20127 PyThreadState* __tstate = wxPyBeginAllowThreads();
20128 (arg1)->SetUseBestVisual(arg2);
20129
20130 wxPyEndAllowThreads(__tstate);
20131 if (PyErr_Occurred()) SWIG_fail;
20132 }
20133 Py_INCREF(Py_None); resultobj = Py_None;
20134 return resultobj;
20135 fail:
20136 return NULL;
20137}
20138
20139
20140static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
20141 PyObject *resultobj;
20142 wxPyApp *arg1 = (wxPyApp *) 0 ;
20143 bool result;
20144 PyObject * obj0 = 0 ;
20145 char *kwnames[] = {
20146 (char *) "self", NULL
20147 };
20148
20149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
20150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20152 {
20153 PyThreadState* __tstate = wxPyBeginAllowThreads();
20154 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
20155
20156 wxPyEndAllowThreads(__tstate);
20157 if (PyErr_Occurred()) SWIG_fail;
20158 }
20159 {
20160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20161 }
20162 return resultobj;
20163 fail:
20164 return NULL;
20165}
20166
20167
20168static PyObject *_wrap_PyApp_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
20169 PyObject *resultobj;
20170 wxPyApp *arg1 = (wxPyApp *) 0 ;
20171 int arg2 ;
20172 PyObject * obj0 = 0 ;
20173 PyObject * obj1 = 0 ;
20174 char *kwnames[] = {
20175 (char *) "self",(char *) "mode", NULL
20176 };
20177
20178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
20179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20181 arg2 = (int) SWIG_AsInt(obj1);
20182 if (PyErr_Occurred()) SWIG_fail;
20183 {
20184 PyThreadState* __tstate = wxPyBeginAllowThreads();
20185 (arg1)->SetPrintMode(arg2);
20186
20187 wxPyEndAllowThreads(__tstate);
20188 if (PyErr_Occurred()) SWIG_fail;
20189 }
20190 Py_INCREF(Py_None); resultobj = Py_None;
20191 return resultobj;
20192 fail:
20193 return NULL;
20194}
20195
20196
20197static PyObject *_wrap_PyApp_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
20198 PyObject *resultobj;
20199 wxPyApp *arg1 = (wxPyApp *) 0 ;
20200 int result;
20201 PyObject * obj0 = 0 ;
20202 char *kwnames[] = {
20203 (char *) "self", NULL
20204 };
20205
20206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
20207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20209 {
20210 PyThreadState* __tstate = wxPyBeginAllowThreads();
20211 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
20212
20213 wxPyEndAllowThreads(__tstate);
20214 if (PyErr_Occurred()) SWIG_fail;
20215 }
20216 resultobj = SWIG_FromInt((int)result);
20217 return resultobj;
20218 fail:
20219 return NULL;
20220}
20221
20222
20223static PyObject *_wrap_PyApp_SetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
20224 PyObject *resultobj;
20225 wxPyApp *arg1 = (wxPyApp *) 0 ;
20226 int arg2 ;
20227 PyObject * obj0 = 0 ;
20228 PyObject * obj1 = 0 ;
20229 char *kwnames[] = {
20230 (char *) "self",(char *) "mode", NULL
20231 };
20232
20233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAssertMode",kwnames,&obj0,&obj1)) goto fail;
20234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20236 arg2 = (int) SWIG_AsInt(obj1);
20237 if (PyErr_Occurred()) SWIG_fail;
20238 {
20239 PyThreadState* __tstate = wxPyBeginAllowThreads();
20240 (arg1)->SetAssertMode(arg2);
20241
20242 wxPyEndAllowThreads(__tstate);
20243 if (PyErr_Occurred()) SWIG_fail;
20244 }
20245 Py_INCREF(Py_None); resultobj = Py_None;
20246 return resultobj;
20247 fail:
20248 return NULL;
20249}
20250
20251
20252static PyObject *_wrap_PyApp_GetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
20253 PyObject *resultobj;
20254 wxPyApp *arg1 = (wxPyApp *) 0 ;
20255 int result;
20256 PyObject * obj0 = 0 ;
20257 char *kwnames[] = {
20258 (char *) "self", NULL
20259 };
20260
20261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
20262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20264 {
20265 PyThreadState* __tstate = wxPyBeginAllowThreads();
20266 result = (int)(arg1)->GetAssertMode();
20267
20268 wxPyEndAllowThreads(__tstate);
20269 if (PyErr_Occurred()) SWIG_fail;
20270 }
20271 resultobj = SWIG_FromInt((int)result);
20272 return resultobj;
20273 fail:
20274 return NULL;
20275}
20276
20277
20278static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
20279 PyObject *resultobj;
20280 bool result;
20281 char *kwnames[] = {
20282 NULL
20283 };
20284
20285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
20286 {
20287 PyThreadState* __tstate = wxPyBeginAllowThreads();
20288 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20289
20290 wxPyEndAllowThreads(__tstate);
20291 if (PyErr_Occurred()) SWIG_fail;
20292 }
20293 {
20294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20295 }
20296 return resultobj;
20297 fail:
20298 return NULL;
20299}
20300
20301
20302static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20303 PyObject *resultobj;
20304 long result;
20305 char *kwnames[] = {
20306 NULL
20307 };
20308
20309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
20310 {
20311 PyThreadState* __tstate = wxPyBeginAllowThreads();
20312 result = (long)wxPyApp::GetMacAboutMenuItemId();
20313
20314 wxPyEndAllowThreads(__tstate);
20315 if (PyErr_Occurred()) SWIG_fail;
20316 }
20317 resultobj = SWIG_FromLong((long)result);
20318 return resultobj;
20319 fail:
20320 return NULL;
20321}
20322
20323
20324static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20325 PyObject *resultobj;
20326 long result;
20327 char *kwnames[] = {
20328 NULL
20329 };
20330
20331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
20332 {
20333 PyThreadState* __tstate = wxPyBeginAllowThreads();
20334 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
20335
20336 wxPyEndAllowThreads(__tstate);
20337 if (PyErr_Occurred()) SWIG_fail;
20338 }
20339 resultobj = SWIG_FromLong((long)result);
20340 return resultobj;
20341 fail:
20342 return NULL;
20343}
20344
20345
20346static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20347 PyObject *resultobj;
20348 long result;
20349 char *kwnames[] = {
20350 NULL
20351 };
20352
20353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
20354 {
20355 PyThreadState* __tstate = wxPyBeginAllowThreads();
20356 result = (long)wxPyApp::GetMacExitMenuItemId();
20357
20358 wxPyEndAllowThreads(__tstate);
20359 if (PyErr_Occurred()) SWIG_fail;
20360 }
20361 resultobj = SWIG_FromLong((long)result);
20362 return resultobj;
20363 fail:
20364 return NULL;
20365}
20366
20367
20368static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
20369 PyObject *resultobj;
20370 wxString result;
20371 char *kwnames[] = {
20372 NULL
20373 };
20374
20375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
20376 {
20377 PyThreadState* __tstate = wxPyBeginAllowThreads();
20378 result = wxPyApp::GetMacHelpMenuTitleName();
20379
20380 wxPyEndAllowThreads(__tstate);
20381 if (PyErr_Occurred()) SWIG_fail;
20382 }
20383 {
20384#if wxUSE_UNICODE
20385 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20386#else
20387 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20388#endif
20389 }
20390 return resultobj;
20391 fail:
20392 return NULL;
20393}
20394
20395
20396static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
20397 PyObject *resultobj;
20398 bool arg1 ;
20399 PyObject * obj0 = 0 ;
20400 char *kwnames[] = {
20401 (char *) "val", NULL
20402 };
20403
20404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
20405 arg1 = (bool) SWIG_AsBool(obj0);
20406 if (PyErr_Occurred()) SWIG_fail;
20407 {
20408 PyThreadState* __tstate = wxPyBeginAllowThreads();
20409 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
20410
20411 wxPyEndAllowThreads(__tstate);
20412 if (PyErr_Occurred()) SWIG_fail;
20413 }
20414 Py_INCREF(Py_None); resultobj = Py_None;
20415 return resultobj;
20416 fail:
20417 return NULL;
20418}
20419
20420
20421static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20422 PyObject *resultobj;
20423 long arg1 ;
20424 PyObject * obj0 = 0 ;
20425 char *kwnames[] = {
20426 (char *) "val", NULL
20427 };
20428
20429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames,&obj0)) goto fail;
20430 arg1 = (long) SWIG_AsLong(obj0);
20431 if (PyErr_Occurred()) SWIG_fail;
20432 {
20433 PyThreadState* __tstate = wxPyBeginAllowThreads();
20434 wxPyApp::SetMacAboutMenuItemId(arg1);
20435
20436 wxPyEndAllowThreads(__tstate);
20437 if (PyErr_Occurred()) SWIG_fail;
20438 }
20439 Py_INCREF(Py_None); resultobj = Py_None;
20440 return resultobj;
20441 fail:
20442 return NULL;
20443}
20444
20445
20446static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20447 PyObject *resultobj;
20448 long arg1 ;
20449 PyObject * obj0 = 0 ;
20450 char *kwnames[] = {
20451 (char *) "val", NULL
20452 };
20453
20454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames,&obj0)) goto fail;
20455 arg1 = (long) SWIG_AsLong(obj0);
20456 if (PyErr_Occurred()) SWIG_fail;
20457 {
20458 PyThreadState* __tstate = wxPyBeginAllowThreads();
20459 wxPyApp::SetMacPreferencesMenuItemId(arg1);
20460
20461 wxPyEndAllowThreads(__tstate);
20462 if (PyErr_Occurred()) SWIG_fail;
20463 }
20464 Py_INCREF(Py_None); resultobj = Py_None;
20465 return resultobj;
20466 fail:
20467 return NULL;
20468}
20469
20470
20471static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20472 PyObject *resultobj;
20473 long arg1 ;
20474 PyObject * obj0 = 0 ;
20475 char *kwnames[] = {
20476 (char *) "val", NULL
20477 };
20478
20479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames,&obj0)) goto fail;
20480 arg1 = (long) SWIG_AsLong(obj0);
20481 if (PyErr_Occurred()) SWIG_fail;
20482 {
20483 PyThreadState* __tstate = wxPyBeginAllowThreads();
20484 wxPyApp::SetMacExitMenuItemId(arg1);
20485
20486 wxPyEndAllowThreads(__tstate);
20487 if (PyErr_Occurred()) SWIG_fail;
20488 }
20489 Py_INCREF(Py_None); resultobj = Py_None;
20490 return resultobj;
20491 fail:
20492 return NULL;
20493}
20494
20495
20496static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
20497 PyObject *resultobj;
20498 wxString *arg1 = 0 ;
20499 bool temp1 = False ;
20500 PyObject * obj0 = 0 ;
20501 char *kwnames[] = {
20502 (char *) "val", NULL
20503 };
20504
20505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
20506 {
20507 arg1 = wxString_in_helper(obj0);
20508 if (arg1 == NULL) SWIG_fail;
20509 temp1 = True;
20510 }
20511 {
20512 PyThreadState* __tstate = wxPyBeginAllowThreads();
20513 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
20514
20515 wxPyEndAllowThreads(__tstate);
20516 if (PyErr_Occurred()) SWIG_fail;
20517 }
20518 Py_INCREF(Py_None); resultobj = Py_None;
20519 {
20520 if (temp1)
20521 delete arg1;
20522 }
20523 return resultobj;
20524 fail:
20525 {
20526 if (temp1)
20527 delete arg1;
20528 }
20529 return NULL;
20530}
20531
20532
20533static PyObject *_wrap_PyApp__BootstrapApp(PyObject *self, PyObject *args, PyObject *kwargs) {
20534 PyObject *resultobj;
20535 wxPyApp *arg1 = (wxPyApp *) 0 ;
20536 PyObject * obj0 = 0 ;
20537 char *kwnames[] = {
20538 (char *) "self", NULL
20539 };
20540
20541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
20542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20544 {
20545 PyThreadState* __tstate = wxPyBeginAllowThreads();
20546 (arg1)->_BootstrapApp();
20547
20548 wxPyEndAllowThreads(__tstate);
20549 if (PyErr_Occurred()) SWIG_fail;
20550 }
20551 Py_INCREF(Py_None); resultobj = Py_None;
20552 return resultobj;
20553 fail:
20554 return NULL;
20555}
20556
20557
20558static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *self, PyObject *args, PyObject *kwargs) {
20559 PyObject *resultobj;
20560 int result;
20561 char *kwnames[] = {
20562 NULL
20563 };
20564
20565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
20566 {
20567 PyThreadState* __tstate = wxPyBeginAllowThreads();
20568 result = (int)PyApp_GetComCtl32Version();
20569
20570 wxPyEndAllowThreads(__tstate);
20571 if (PyErr_Occurred()) SWIG_fail;
20572 }
20573 resultobj = SWIG_FromInt((int)result);
20574 return resultobj;
20575 fail:
20576 return NULL;
20577}
20578
20579
20580static PyObject * PyApp_swigregister(PyObject *self, PyObject *args) {
20581 PyObject *obj;
20582 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20583 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
20584 Py_INCREF(obj);
20585 return Py_BuildValue((char *)"");
20586}
20587static PyObject *_wrap_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
20588 PyObject *resultobj;
20589 char *kwnames[] = {
20590 NULL
20591 };
20592
20593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
20594 {
20595 PyThreadState* __tstate = wxPyBeginAllowThreads();
20596 wxExit();
20597
20598 wxPyEndAllowThreads(__tstate);
20599 if (PyErr_Occurred()) SWIG_fail;
20600 }
20601 Py_INCREF(Py_None); resultobj = Py_None;
20602 return resultobj;
20603 fail:
20604 return NULL;
20605}
20606
20607
20608static PyObject *_wrap_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
20609 PyObject *resultobj;
20610 bool result;
20611 char *kwnames[] = {
20612 NULL
20613 };
20614
20615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
20616 {
20617 PyThreadState* __tstate = wxPyBeginAllowThreads();
20618 result = (bool)wxYield();
20619
20620 wxPyEndAllowThreads(__tstate);
20621 if (PyErr_Occurred()) SWIG_fail;
20622 }
20623 {
20624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20625 }
20626 return resultobj;
20627 fail:
20628 return NULL;
20629}
20630
20631
20632static PyObject *_wrap_YieldIfNeeded(PyObject *self, PyObject *args, PyObject *kwargs) {
20633 PyObject *resultobj;
20634 bool result;
20635 char *kwnames[] = {
20636 NULL
20637 };
20638
20639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
20640 {
20641 PyThreadState* __tstate = wxPyBeginAllowThreads();
20642 result = (bool)wxYieldIfNeeded();
20643
20644 wxPyEndAllowThreads(__tstate);
20645 if (PyErr_Occurred()) SWIG_fail;
20646 }
20647 {
20648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20649 }
20650 return resultobj;
20651 fail:
20652 return NULL;
20653}
20654
20655
20656static PyObject *_wrap_SafeYield(PyObject *self, PyObject *args, PyObject *kwargs) {
20657 PyObject *resultobj;
20658 wxWindow *arg1 = (wxWindow *) NULL ;
20659 bool arg2 = (bool) False ;
20660 bool result;
20661 PyObject * obj0 = 0 ;
20662 PyObject * obj1 = 0 ;
20663 char *kwnames[] = {
20664 (char *) "win",(char *) "onlyIfNeeded", NULL
20665 };
20666
20667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
20668 if (obj0) {
20669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20671 }
20672 if (obj1) {
20673 arg2 = (bool) SWIG_AsBool(obj1);
20674 if (PyErr_Occurred()) SWIG_fail;
20675 }
20676 {
20677 PyThreadState* __tstate = wxPyBeginAllowThreads();
20678 result = (bool)wxSafeYield(arg1,arg2);
20679
20680 wxPyEndAllowThreads(__tstate);
20681 if (PyErr_Occurred()) SWIG_fail;
20682 }
20683 {
20684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20685 }
20686 return resultobj;
20687 fail:
20688 return NULL;
20689}
20690
20691
20692static PyObject *_wrap_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
20693 PyObject *resultobj;
20694 char *kwnames[] = {
20695 NULL
20696 };
20697
20698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
20699 {
20700 PyThreadState* __tstate = wxPyBeginAllowThreads();
20701 wxWakeUpIdle();
20702
20703 wxPyEndAllowThreads(__tstate);
20704 if (PyErr_Occurred()) SWIG_fail;
20705 }
20706 Py_INCREF(Py_None); resultobj = Py_None;
20707 return resultobj;
20708 fail:
20709 return NULL;
20710}
20711
20712
20713static PyObject *_wrap_PostEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20714 PyObject *resultobj;
20715 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
20716 wxEvent *arg2 = 0 ;
20717 PyObject * obj0 = 0 ;
20718 PyObject * obj1 = 0 ;
20719 char *kwnames[] = {
20720 (char *) "dest",(char *) "event", NULL
20721 };
20722
20723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
20724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
20725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20726 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
20727 SWIG_POINTER_EXCEPTION | 0)) == -1)
20728 SWIG_fail;
20729 if (arg2 == NULL) {
20730 PyErr_SetString(PyExc_TypeError,"null reference");
20731 SWIG_fail;
20732 }
20733 {
20734 PyThreadState* __tstate = wxPyBeginAllowThreads();
20735 wxPostEvent(arg1,*arg2);
20736
20737 wxPyEndAllowThreads(__tstate);
20738 if (PyErr_Occurred()) SWIG_fail;
20739 }
20740 Py_INCREF(Py_None); resultobj = Py_None;
20741 return resultobj;
20742 fail:
20743 return NULL;
20744}
20745
20746
20747static PyObject *_wrap_App_CleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
20748 PyObject *resultobj;
20749 char *kwnames[] = {
20750 NULL
20751 };
20752
20753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
20754 {
20755 PyThreadState* __tstate = wxPyBeginAllowThreads();
20756 wxApp_CleanUp();
20757
20758 wxPyEndAllowThreads(__tstate);
20759 if (PyErr_Occurred()) SWIG_fail;
20760 }
20761 Py_INCREF(Py_None); resultobj = Py_None;
20762 return resultobj;
20763 fail:
20764 return NULL;
20765}
20766
20767
20768static PyObject *_wrap_GetApp(PyObject *self, PyObject *args, PyObject *kwargs) {
20769 PyObject *resultobj;
20770 wxPyApp *result;
20771 char *kwnames[] = {
20772 NULL
20773 };
20774
20775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
20776 {
20777 PyThreadState* __tstate = wxPyBeginAllowThreads();
a5ee0656 20778 result = (wxPyApp *)wxPyGetApp();
d55e5bfc
RD
20779
20780 wxPyEndAllowThreads(__tstate);
20781 if (PyErr_Occurred()) SWIG_fail;
20782 }
20783 {
20784 resultobj = wxPyMake_wxObject(result);
20785 }
20786 return resultobj;
20787 fail:
20788 return NULL;
20789}
20790
20791
20792static PyObject *_wrap_new_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
20793 PyObject *resultobj;
20794 int arg1 = (int) 0 ;
20795 int arg2 = (int) 0 ;
20796 int arg3 = (int) 0 ;
d55e5bfc
RD
20797 wxAcceleratorEntry *result;
20798 PyObject * obj0 = 0 ;
20799 PyObject * obj1 = 0 ;
20800 PyObject * obj2 = 0 ;
d55e5bfc 20801 char *kwnames[] = {
d6c14a4c 20802 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
d55e5bfc
RD
20803 };
20804
d6c14a4c 20805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_AcceleratorEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
d55e5bfc
RD
20806 if (obj0) {
20807 arg1 = (int) SWIG_AsInt(obj0);
20808 if (PyErr_Occurred()) SWIG_fail;
20809 }
20810 if (obj1) {
20811 arg2 = (int) SWIG_AsInt(obj1);
20812 if (PyErr_Occurred()) SWIG_fail;
20813 }
20814 if (obj2) {
20815 arg3 = (int) SWIG_AsInt(obj2);
20816 if (PyErr_Occurred()) SWIG_fail;
20817 }
d55e5bfc
RD
20818 {
20819 PyThreadState* __tstate = wxPyBeginAllowThreads();
d6c14a4c 20820 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3);
d55e5bfc
RD
20821
20822 wxPyEndAllowThreads(__tstate);
20823 if (PyErr_Occurred()) SWIG_fail;
20824 }
20825 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 1);
20826 return resultobj;
20827 fail:
20828 return NULL;
20829}
20830
20831
20832static PyObject *_wrap_delete_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
20833 PyObject *resultobj;
20834 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20835 PyObject * obj0 = 0 ;
20836 char *kwnames[] = {
20837 (char *) "self", NULL
20838 };
20839
20840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
20841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20843 {
20844 PyThreadState* __tstate = wxPyBeginAllowThreads();
20845 delete arg1;
20846
20847 wxPyEndAllowThreads(__tstate);
20848 if (PyErr_Occurred()) SWIG_fail;
20849 }
20850 Py_INCREF(Py_None); resultobj = Py_None;
20851 return resultobj;
20852 fail:
20853 return NULL;
20854}
20855
20856
20857static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
20858 PyObject *resultobj;
20859 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20860 int arg2 ;
20861 int arg3 ;
20862 int arg4 ;
d55e5bfc
RD
20863 PyObject * obj0 = 0 ;
20864 PyObject * obj1 = 0 ;
20865 PyObject * obj2 = 0 ;
20866 PyObject * obj3 = 0 ;
d55e5bfc 20867 char *kwnames[] = {
d6c14a4c 20868 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
d55e5bfc
RD
20869 };
20870
d6c14a4c 20871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AcceleratorEntry_Set",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc
RD
20872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20874 arg2 = (int) SWIG_AsInt(obj1);
20875 if (PyErr_Occurred()) SWIG_fail;
20876 arg3 = (int) SWIG_AsInt(obj2);
20877 if (PyErr_Occurred()) SWIG_fail;
20878 arg4 = (int) SWIG_AsInt(obj3);
20879 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
20880 {
20881 PyThreadState* __tstate = wxPyBeginAllowThreads();
d6c14a4c 20882 (arg1)->Set(arg2,arg3,arg4);
d55e5bfc
RD
20883
20884 wxPyEndAllowThreads(__tstate);
20885 if (PyErr_Occurred()) SWIG_fail;
20886 }
20887 Py_INCREF(Py_None); resultobj = Py_None;
20888 return resultobj;
20889 fail:
20890 return NULL;
20891}
20892
20893
d55e5bfc
RD
20894static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
20895 PyObject *resultobj;
20896 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20897 int result;
20898 PyObject * obj0 = 0 ;
20899 char *kwnames[] = {
20900 (char *) "self", NULL
20901 };
20902
20903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
20904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20906 {
20907 PyThreadState* __tstate = wxPyBeginAllowThreads();
20908 result = (int)(arg1)->GetFlags();
20909
20910 wxPyEndAllowThreads(__tstate);
20911 if (PyErr_Occurred()) SWIG_fail;
20912 }
20913 resultobj = SWIG_FromInt((int)result);
20914 return resultobj;
20915 fail:
20916 return NULL;
20917}
20918
20919
20920static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20921 PyObject *resultobj;
20922 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20923 int result;
20924 PyObject * obj0 = 0 ;
20925 char *kwnames[] = {
20926 (char *) "self", NULL
20927 };
20928
20929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
20930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20932 {
20933 PyThreadState* __tstate = wxPyBeginAllowThreads();
20934 result = (int)(arg1)->GetKeyCode();
20935
20936 wxPyEndAllowThreads(__tstate);
20937 if (PyErr_Occurred()) SWIG_fail;
20938 }
20939 resultobj = SWIG_FromInt((int)result);
20940 return resultobj;
20941 fail:
20942 return NULL;
20943}
20944
20945
20946static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
20947 PyObject *resultobj;
20948 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20949 int result;
20950 PyObject * obj0 = 0 ;
20951 char *kwnames[] = {
20952 (char *) "self", NULL
20953 };
20954
20955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
20956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20958 {
20959 PyThreadState* __tstate = wxPyBeginAllowThreads();
20960 result = (int)(arg1)->GetCommand();
20961
20962 wxPyEndAllowThreads(__tstate);
20963 if (PyErr_Occurred()) SWIG_fail;
20964 }
20965 resultobj = SWIG_FromInt((int)result);
20966 return resultobj;
20967 fail:
20968 return NULL;
20969}
20970
20971
20972static PyObject * AcceleratorEntry_swigregister(PyObject *self, PyObject *args) {
20973 PyObject *obj;
20974 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20975 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
20976 Py_INCREF(obj);
20977 return Py_BuildValue((char *)"");
20978}
20979static PyObject *_wrap_new_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
20980 PyObject *resultobj;
20981 int arg1 ;
20982 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
20983 wxAcceleratorTable *result;
20984 PyObject * obj0 = 0 ;
20985 char *kwnames[] = {
20986 (char *) "n", NULL
20987 };
20988
20989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
20990 {
20991 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
20992 if (arg2) arg1 = PyList_Size(obj0);
20993 else arg1 = 0;
20994 }
20995 {
20996 PyThreadState* __tstate = wxPyBeginAllowThreads();
20997 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
20998
20999 wxPyEndAllowThreads(__tstate);
21000 if (PyErr_Occurred()) SWIG_fail;
21001 }
21002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 1);
21003 {
21004 delete [] arg2;
21005 }
21006 return resultobj;
21007 fail:
21008 {
21009 delete [] arg2;
21010 }
21011 return NULL;
21012}
21013
21014
21015static PyObject *_wrap_delete_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21016 PyObject *resultobj;
21017 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
21018 PyObject * obj0 = 0 ;
21019 char *kwnames[] = {
21020 (char *) "self", NULL
21021 };
21022
21023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
21024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
21025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21026 {
21027 PyThreadState* __tstate = wxPyBeginAllowThreads();
21028 delete arg1;
21029
21030 wxPyEndAllowThreads(__tstate);
21031 if (PyErr_Occurred()) SWIG_fail;
21032 }
21033 Py_INCREF(Py_None); resultobj = Py_None;
21034 return resultobj;
21035 fail:
21036 return NULL;
21037}
21038
21039
21040static PyObject *_wrap_AcceleratorTable_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21041 PyObject *resultobj;
21042 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
21043 bool result;
21044 PyObject * obj0 = 0 ;
21045 char *kwnames[] = {
21046 (char *) "self", NULL
21047 };
21048
21049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
21050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
21051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21052 {
21053 PyThreadState* __tstate = wxPyBeginAllowThreads();
21054 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
21055
21056 wxPyEndAllowThreads(__tstate);
21057 if (PyErr_Occurred()) SWIG_fail;
21058 }
21059 {
21060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21061 }
21062 return resultobj;
21063 fail:
21064 return NULL;
21065}
21066
21067
21068static PyObject * AcceleratorTable_swigregister(PyObject *self, PyObject *args) {
21069 PyObject *obj;
21070 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21071 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
21072 Py_INCREF(obj);
21073 return Py_BuildValue((char *)"");
21074}
21075static int _wrap_NullAcceleratorTable_set(PyObject *_val) {
21076 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
21077 return 1;
21078}
21079
21080
21081static PyObject *_wrap_NullAcceleratorTable_get() {
21082 PyObject *pyobj;
21083
21084 pyobj = SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable), SWIGTYPE_p_wxAcceleratorTable, 0);
21085 return pyobj;
21086}
21087
21088
21089static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) {
21090 PyObject *resultobj;
21091 wxString *arg1 = 0 ;
21092 wxAcceleratorEntry *result;
21093 bool temp1 = False ;
21094 PyObject * obj0 = 0 ;
21095 char *kwnames[] = {
21096 (char *) "label", NULL
21097 };
21098
21099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
21100 {
21101 arg1 = wxString_in_helper(obj0);
21102 if (arg1 == NULL) SWIG_fail;
21103 temp1 = True;
21104 }
21105 {
21106 PyThreadState* __tstate = wxPyBeginAllowThreads();
21107 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
21108
21109 wxPyEndAllowThreads(__tstate);
21110 if (PyErr_Occurred()) SWIG_fail;
21111 }
21112 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
21113 {
21114 if (temp1)
21115 delete arg1;
21116 }
21117 return resultobj;
21118 fail:
21119 {
21120 if (temp1)
21121 delete arg1;
21122 }
21123 return NULL;
21124}
21125
21126
21127static int _wrap_PanelNameStr_set(PyObject *_val) {
21128 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
21129 return 1;
21130}
21131
21132
21133static PyObject *_wrap_PanelNameStr_get() {
21134 PyObject *pyobj;
21135
21136 {
21137#if wxUSE_UNICODE
21138 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21139#else
21140 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21141#endif
21142 }
21143 return pyobj;
21144}
21145
21146
21147static PyObject *_wrap_new_VisualAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
21148 PyObject *resultobj;
21149 wxVisualAttributes *result;
21150 char *kwnames[] = {
21151 NULL
21152 };
21153
21154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_VisualAttributes",kwnames)) goto fail;
21155 {
21156 PyThreadState* __tstate = wxPyBeginAllowThreads();
21157 result = (wxVisualAttributes *)new_wxVisualAttributes();
21158
21159 wxPyEndAllowThreads(__tstate);
21160 if (PyErr_Occurred()) SWIG_fail;
21161 }
21162 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVisualAttributes, 1);
21163 return resultobj;
21164 fail:
21165 return NULL;
21166}
21167
21168
21169static PyObject *_wrap_delete_VisualAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
21170 PyObject *resultobj;
21171 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21172 PyObject * obj0 = 0 ;
21173 char *kwnames[] = {
21174 (char *) "self", NULL
21175 };
21176
21177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VisualAttributes",kwnames,&obj0)) goto fail;
21178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21180 {
21181 PyThreadState* __tstate = wxPyBeginAllowThreads();
21182 delete_wxVisualAttributes(arg1);
21183
21184 wxPyEndAllowThreads(__tstate);
21185 if (PyErr_Occurred()) SWIG_fail;
21186 }
21187 Py_INCREF(Py_None); resultobj = Py_None;
21188 return resultobj;
21189 fail:
21190 return NULL;
21191}
21192
21193
21194static PyObject *_wrap_VisualAttributes_font_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21195 PyObject *resultobj;
21196 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21197 wxFont *arg2 = (wxFont *) 0 ;
21198 PyObject * obj0 = 0 ;
21199 PyObject * obj1 = 0 ;
21200 char *kwnames[] = {
21201 (char *) "self",(char *) "font", NULL
21202 };
21203
21204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_font_set",kwnames,&obj0,&obj1)) goto fail;
21205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21207 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
21208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21209 if (arg1) (arg1)->font = *arg2;
21210
21211 Py_INCREF(Py_None); resultobj = Py_None;
21212 return resultobj;
21213 fail:
21214 return NULL;
21215}
21216
21217
21218static PyObject *_wrap_VisualAttributes_font_get(PyObject *self, PyObject *args, PyObject *kwargs) {
21219 PyObject *resultobj;
21220 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21221 wxFont *result;
21222 PyObject * obj0 = 0 ;
21223 char *kwnames[] = {
21224 (char *) "self", NULL
21225 };
21226
21227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_font_get",kwnames,&obj0)) goto fail;
21228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21230 result = (wxFont *)& ((arg1)->font);
21231
21232 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
21233 return resultobj;
21234 fail:
21235 return NULL;
21236}
21237
21238
21239static PyObject *_wrap_VisualAttributes_colFg_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21240 PyObject *resultobj;
21241 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21242 wxColour *arg2 = (wxColour *) 0 ;
21243 PyObject * obj0 = 0 ;
21244 PyObject * obj1 = 0 ;
21245 char *kwnames[] = {
21246 (char *) "self",(char *) "colFg", NULL
21247 };
21248
21249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colFg_set",kwnames,&obj0,&obj1)) goto fail;
21250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21252 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColour,
21253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21254 if (arg1) (arg1)->colFg = *arg2;
21255
21256 Py_INCREF(Py_None); resultobj = Py_None;
21257 return resultobj;
21258 fail:
21259 return NULL;
21260}
21261
21262
21263static PyObject *_wrap_VisualAttributes_colFg_get(PyObject *self, PyObject *args, PyObject *kwargs) {
21264 PyObject *resultobj;
21265 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21266 wxColour *result;
21267 PyObject * obj0 = 0 ;
21268 char *kwnames[] = {
21269 (char *) "self", NULL
21270 };
21271
21272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colFg_get",kwnames,&obj0)) goto fail;
21273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21275 result = (wxColour *)& ((arg1)->colFg);
21276
21277 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
21278 return resultobj;
21279 fail:
21280 return NULL;
21281}
21282
21283
21284static PyObject *_wrap_VisualAttributes_colBg_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21285 PyObject *resultobj;
21286 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21287 wxColour *arg2 = (wxColour *) 0 ;
21288 PyObject * obj0 = 0 ;
21289 PyObject * obj1 = 0 ;
21290 char *kwnames[] = {
21291 (char *) "self",(char *) "colBg", NULL
21292 };
21293
21294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colBg_set",kwnames,&obj0,&obj1)) goto fail;
21295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21297 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColour,
21298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21299 if (arg1) (arg1)->colBg = *arg2;
21300
21301 Py_INCREF(Py_None); resultobj = Py_None;
21302 return resultobj;
21303 fail:
21304 return NULL;
21305}
21306
21307
21308static PyObject *_wrap_VisualAttributes_colBg_get(PyObject *self, PyObject *args, PyObject *kwargs) {
21309 PyObject *resultobj;
21310 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21311 wxColour *result;
21312 PyObject * obj0 = 0 ;
21313 char *kwnames[] = {
21314 (char *) "self", NULL
21315 };
21316
21317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colBg_get",kwnames,&obj0)) goto fail;
21318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21320 result = (wxColour *)& ((arg1)->colBg);
21321
21322 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
21323 return resultobj;
21324 fail:
21325 return NULL;
21326}
21327
21328
21329static PyObject * VisualAttributes_swigregister(PyObject *self, PyObject *args) {
21330 PyObject *obj;
21331 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21332 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes, obj);
21333 Py_INCREF(obj);
21334 return Py_BuildValue((char *)"");
21335}
21336static PyObject *_wrap_new_Window(PyObject *self, PyObject *args, PyObject *kwargs) {
21337 PyObject *resultobj;
21338 wxWindow *arg1 = (wxWindow *) 0 ;
21339 int arg2 = (int) (int)-1 ;
21340 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21341 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21342 wxSize const &arg4_defvalue = wxDefaultSize ;
21343 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21344 long arg5 = (long) 0 ;
21345 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21346 wxString *arg6 = (wxString *) &arg6_defvalue ;
21347 wxWindow *result;
21348 wxPoint temp3 ;
21349 wxSize temp4 ;
21350 bool temp6 = False ;
21351 PyObject * obj0 = 0 ;
21352 PyObject * obj1 = 0 ;
21353 PyObject * obj2 = 0 ;
21354 PyObject * obj3 = 0 ;
21355 PyObject * obj4 = 0 ;
21356 PyObject * obj5 = 0 ;
21357 char *kwnames[] = {
21358 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21359 };
21360
21361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Window",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21364 if (obj1) {
21365 arg2 = (int const) SWIG_AsInt(obj1);
21366 if (PyErr_Occurred()) SWIG_fail;
21367 }
21368 if (obj2) {
21369 {
21370 arg3 = &temp3;
21371 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21372 }
21373 }
21374 if (obj3) {
21375 {
21376 arg4 = &temp4;
21377 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21378 }
21379 }
21380 if (obj4) {
21381 arg5 = (long) SWIG_AsLong(obj4);
21382 if (PyErr_Occurred()) SWIG_fail;
21383 }
21384 if (obj5) {
21385 {
21386 arg6 = wxString_in_helper(obj5);
21387 if (arg6 == NULL) SWIG_fail;
21388 temp6 = True;
21389 }
21390 }
21391 {
21392 PyThreadState* __tstate = wxPyBeginAllowThreads();
21393 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21394
21395 wxPyEndAllowThreads(__tstate);
21396 if (PyErr_Occurred()) SWIG_fail;
21397 }
21398 {
21399 resultobj = wxPyMake_wxObject(result);
21400 }
21401 {
21402 if (temp6)
21403 delete arg6;
21404 }
21405 return resultobj;
21406 fail:
21407 {
21408 if (temp6)
21409 delete arg6;
21410 }
21411 return NULL;
21412}
21413
21414
21415static PyObject *_wrap_new_PreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21416 PyObject *resultobj;
21417 wxWindow *result;
21418 char *kwnames[] = {
21419 NULL
21420 };
21421
21422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
21423 {
21424 PyThreadState* __tstate = wxPyBeginAllowThreads();
21425 result = (wxWindow *)new wxWindow();
21426
21427 wxPyEndAllowThreads(__tstate);
21428 if (PyErr_Occurred()) SWIG_fail;
21429 }
21430 {
21431 resultobj = wxPyMake_wxObject(result);
21432 }
21433 return resultobj;
21434 fail:
21435 return NULL;
21436}
21437
21438
21439static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21440 PyObject *resultobj;
21441 wxWindow *arg1 = (wxWindow *) 0 ;
21442 wxWindow *arg2 = (wxWindow *) 0 ;
21443 int arg3 = (int) (int)-1 ;
21444 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21445 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21446 wxSize const &arg5_defvalue = wxDefaultSize ;
21447 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21448 long arg6 = (long) 0 ;
21449 wxString const &arg7_defvalue = wxPyPanelNameStr ;
21450 wxString *arg7 = (wxString *) &arg7_defvalue ;
21451 bool result;
21452 wxPoint temp4 ;
21453 wxSize temp5 ;
21454 bool temp7 = False ;
21455 PyObject * obj0 = 0 ;
21456 PyObject * obj1 = 0 ;
21457 PyObject * obj2 = 0 ;
21458 PyObject * obj3 = 0 ;
21459 PyObject * obj4 = 0 ;
21460 PyObject * obj5 = 0 ;
21461 PyObject * obj6 = 0 ;
21462 char *kwnames[] = {
21463 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21464 };
21465
21466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Window_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21469 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21471 if (obj2) {
21472 arg3 = (int const) SWIG_AsInt(obj2);
21473 if (PyErr_Occurred()) SWIG_fail;
21474 }
21475 if (obj3) {
21476 {
21477 arg4 = &temp4;
21478 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21479 }
21480 }
21481 if (obj4) {
21482 {
21483 arg5 = &temp5;
21484 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21485 }
21486 }
21487 if (obj5) {
21488 arg6 = (long) SWIG_AsLong(obj5);
21489 if (PyErr_Occurred()) SWIG_fail;
21490 }
21491 if (obj6) {
21492 {
21493 arg7 = wxString_in_helper(obj6);
21494 if (arg7 == NULL) SWIG_fail;
21495 temp7 = True;
21496 }
21497 }
21498 {
21499 PyThreadState* __tstate = wxPyBeginAllowThreads();
21500 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21501
21502 wxPyEndAllowThreads(__tstate);
21503 if (PyErr_Occurred()) SWIG_fail;
21504 }
21505 {
21506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21507 }
21508 {
21509 if (temp7)
21510 delete arg7;
21511 }
21512 return resultobj;
21513 fail:
21514 {
21515 if (temp7)
21516 delete arg7;
21517 }
21518 return NULL;
21519}
21520
21521
21522static PyObject *_wrap_Window_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
21523 PyObject *resultobj;
21524 wxWindow *arg1 = (wxWindow *) 0 ;
21525 bool arg2 = (bool) False ;
21526 bool result;
21527 PyObject * obj0 = 0 ;
21528 PyObject * obj1 = 0 ;
21529 char *kwnames[] = {
21530 (char *) "self",(char *) "force", NULL
21531 };
21532
21533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
21534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21536 if (obj1) {
21537 arg2 = (bool) SWIG_AsBool(obj1);
21538 if (PyErr_Occurred()) SWIG_fail;
21539 }
21540 {
21541 PyThreadState* __tstate = wxPyBeginAllowThreads();
21542 result = (bool)(arg1)->Close(arg2);
21543
21544 wxPyEndAllowThreads(__tstate);
21545 if (PyErr_Occurred()) SWIG_fail;
21546 }
21547 {
21548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21549 }
21550 return resultobj;
21551 fail:
21552 return NULL;
21553}
21554
21555
21556static PyObject *_wrap_Window_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
21557 PyObject *resultobj;
21558 wxWindow *arg1 = (wxWindow *) 0 ;
21559 bool result;
21560 PyObject * obj0 = 0 ;
21561 char *kwnames[] = {
21562 (char *) "self", NULL
21563 };
21564
21565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
21566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21568 {
21569 PyThreadState* __tstate = wxPyBeginAllowThreads();
21570 result = (bool)(arg1)->Destroy();
21571
21572 wxPyEndAllowThreads(__tstate);
21573 if (PyErr_Occurred()) SWIG_fail;
21574 }
21575 {
21576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21577 }
21578 return resultobj;
21579 fail:
21580 return NULL;
21581}
21582
21583
21584static PyObject *_wrap_Window_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21585 PyObject *resultobj;
21586 wxWindow *arg1 = (wxWindow *) 0 ;
21587 bool result;
21588 PyObject * obj0 = 0 ;
21589 char *kwnames[] = {
21590 (char *) "self", NULL
21591 };
21592
21593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
21594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21596 {
21597 PyThreadState* __tstate = wxPyBeginAllowThreads();
21598 result = (bool)(arg1)->DestroyChildren();
21599
21600 wxPyEndAllowThreads(__tstate);
21601 if (PyErr_Occurred()) SWIG_fail;
21602 }
21603 {
21604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21605 }
21606 return resultobj;
21607 fail:
21608 return NULL;
21609}
21610
21611
21612static PyObject *_wrap_Window_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
21613 PyObject *resultobj;
21614 wxWindow *arg1 = (wxWindow *) 0 ;
21615 bool result;
21616 PyObject * obj0 = 0 ;
21617 char *kwnames[] = {
21618 (char *) "self", NULL
21619 };
21620
21621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
21622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21624 {
21625 PyThreadState* __tstate = wxPyBeginAllowThreads();
21626 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
21627
21628 wxPyEndAllowThreads(__tstate);
21629 if (PyErr_Occurred()) SWIG_fail;
21630 }
21631 {
21632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21633 }
21634 return resultobj;
21635 fail:
21636 return NULL;
21637}
21638
21639
21640static PyObject *_wrap_Window_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21641 PyObject *resultobj;
21642 wxWindow *arg1 = (wxWindow *) 0 ;
21643 wxString *arg2 = 0 ;
21644 bool temp2 = False ;
21645 PyObject * obj0 = 0 ;
21646 PyObject * obj1 = 0 ;
21647 char *kwnames[] = {
21648 (char *) "self",(char *) "title", NULL
21649 };
21650
21651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
21652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21654 {
21655 arg2 = wxString_in_helper(obj1);
21656 if (arg2 == NULL) SWIG_fail;
21657 temp2 = True;
21658 }
21659 {
21660 PyThreadState* __tstate = wxPyBeginAllowThreads();
21661 (arg1)->SetTitle((wxString const &)*arg2);
21662
21663 wxPyEndAllowThreads(__tstate);
21664 if (PyErr_Occurred()) SWIG_fail;
21665 }
21666 Py_INCREF(Py_None); resultobj = Py_None;
21667 {
21668 if (temp2)
21669 delete arg2;
21670 }
21671 return resultobj;
21672 fail:
21673 {
21674 if (temp2)
21675 delete arg2;
21676 }
21677 return NULL;
21678}
21679
21680
21681static PyObject *_wrap_Window_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21682 PyObject *resultobj;
21683 wxWindow *arg1 = (wxWindow *) 0 ;
21684 wxString result;
21685 PyObject * obj0 = 0 ;
21686 char *kwnames[] = {
21687 (char *) "self", NULL
21688 };
21689
21690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
21691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21693 {
21694 PyThreadState* __tstate = wxPyBeginAllowThreads();
21695 result = ((wxWindow const *)arg1)->GetTitle();
21696
21697 wxPyEndAllowThreads(__tstate);
21698 if (PyErr_Occurred()) SWIG_fail;
21699 }
21700 {
21701#if wxUSE_UNICODE
21702 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21703#else
21704 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21705#endif
21706 }
21707 return resultobj;
21708 fail:
21709 return NULL;
21710}
21711
21712
21713static PyObject *_wrap_Window_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21714 PyObject *resultobj;
21715 wxWindow *arg1 = (wxWindow *) 0 ;
21716 wxString *arg2 = 0 ;
21717 bool temp2 = False ;
21718 PyObject * obj0 = 0 ;
21719 PyObject * obj1 = 0 ;
21720 char *kwnames[] = {
21721 (char *) "self",(char *) "label", NULL
21722 };
21723
21724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
21725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21727 {
21728 arg2 = wxString_in_helper(obj1);
21729 if (arg2 == NULL) SWIG_fail;
21730 temp2 = True;
21731 }
21732 {
21733 PyThreadState* __tstate = wxPyBeginAllowThreads();
21734 (arg1)->SetLabel((wxString const &)*arg2);
21735
21736 wxPyEndAllowThreads(__tstate);
21737 if (PyErr_Occurred()) SWIG_fail;
21738 }
21739 Py_INCREF(Py_None); resultobj = Py_None;
21740 {
21741 if (temp2)
21742 delete arg2;
21743 }
21744 return resultobj;
21745 fail:
21746 {
21747 if (temp2)
21748 delete arg2;
21749 }
21750 return NULL;
21751}
21752
21753
21754static PyObject *_wrap_Window_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21755 PyObject *resultobj;
21756 wxWindow *arg1 = (wxWindow *) 0 ;
21757 wxString result;
21758 PyObject * obj0 = 0 ;
21759 char *kwnames[] = {
21760 (char *) "self", NULL
21761 };
21762
21763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
21764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21766 {
21767 PyThreadState* __tstate = wxPyBeginAllowThreads();
21768 result = ((wxWindow const *)arg1)->GetLabel();
21769
21770 wxPyEndAllowThreads(__tstate);
21771 if (PyErr_Occurred()) SWIG_fail;
21772 }
21773 {
21774#if wxUSE_UNICODE
21775 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21776#else
21777 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21778#endif
21779 }
21780 return resultobj;
21781 fail:
21782 return NULL;
21783}
21784
21785
21786static PyObject *_wrap_Window_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
21787 PyObject *resultobj;
21788 wxWindow *arg1 = (wxWindow *) 0 ;
21789 wxString *arg2 = 0 ;
21790 bool temp2 = False ;
21791 PyObject * obj0 = 0 ;
21792 PyObject * obj1 = 0 ;
21793 char *kwnames[] = {
21794 (char *) "self",(char *) "name", NULL
21795 };
21796
21797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
21798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21800 {
21801 arg2 = wxString_in_helper(obj1);
21802 if (arg2 == NULL) SWIG_fail;
21803 temp2 = True;
21804 }
21805 {
21806 PyThreadState* __tstate = wxPyBeginAllowThreads();
21807 (arg1)->SetName((wxString const &)*arg2);
21808
21809 wxPyEndAllowThreads(__tstate);
21810 if (PyErr_Occurred()) SWIG_fail;
21811 }
21812 Py_INCREF(Py_None); resultobj = Py_None;
21813 {
21814 if (temp2)
21815 delete arg2;
21816 }
21817 return resultobj;
21818 fail:
21819 {
21820 if (temp2)
21821 delete arg2;
21822 }
21823 return NULL;
21824}
21825
21826
21827static PyObject *_wrap_Window_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
21828 PyObject *resultobj;
21829 wxWindow *arg1 = (wxWindow *) 0 ;
21830 wxString result;
21831 PyObject * obj0 = 0 ;
21832 char *kwnames[] = {
21833 (char *) "self", NULL
21834 };
21835
21836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
21837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21839 {
21840 PyThreadState* __tstate = wxPyBeginAllowThreads();
21841 result = ((wxWindow const *)arg1)->GetName();
21842
21843 wxPyEndAllowThreads(__tstate);
21844 if (PyErr_Occurred()) SWIG_fail;
21845 }
21846 {
21847#if wxUSE_UNICODE
21848 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21849#else
21850 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21851#endif
21852 }
21853 return resultobj;
21854 fail:
21855 return NULL;
21856}
21857
21858
21859static PyObject *_wrap_Window_SetWindowVariant(PyObject *self, PyObject *args, PyObject *kwargs) {
21860 PyObject *resultobj;
21861 wxWindow *arg1 = (wxWindow *) 0 ;
21862 int arg2 ;
21863 PyObject * obj0 = 0 ;
21864 PyObject * obj1 = 0 ;
21865 char *kwnames[] = {
21866 (char *) "self",(char *) "variant", NULL
21867 };
21868
21869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowVariant",kwnames,&obj0,&obj1)) goto fail;
21870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21872 arg2 = (wxWindowVariant) SWIG_AsInt(obj1);
21873 if (PyErr_Occurred()) SWIG_fail;
21874 {
21875 PyThreadState* __tstate = wxPyBeginAllowThreads();
21876 (arg1)->SetWindowVariant((wxWindowVariant )arg2);
21877
21878 wxPyEndAllowThreads(__tstate);
21879 if (PyErr_Occurred()) SWIG_fail;
21880 }
21881 Py_INCREF(Py_None); resultobj = Py_None;
21882 return resultobj;
21883 fail:
21884 return NULL;
21885}
21886
21887
21888static PyObject *_wrap_Window_GetWindowVariant(PyObject *self, PyObject *args, PyObject *kwargs) {
21889 PyObject *resultobj;
21890 wxWindow *arg1 = (wxWindow *) 0 ;
21891 int result;
21892 PyObject * obj0 = 0 ;
21893 char *kwnames[] = {
21894 (char *) "self", NULL
21895 };
21896
21897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowVariant",kwnames,&obj0)) goto fail;
21898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21900 {
21901 PyThreadState* __tstate = wxPyBeginAllowThreads();
21902 result = (int)((wxWindow const *)arg1)->GetWindowVariant();
21903
21904 wxPyEndAllowThreads(__tstate);
21905 if (PyErr_Occurred()) SWIG_fail;
21906 }
21907 resultobj = SWIG_FromInt((int)result);
21908 return resultobj;
21909 fail:
21910 return NULL;
21911}
21912
21913
21914static PyObject *_wrap_Window_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21915 PyObject *resultobj;
21916 wxWindow *arg1 = (wxWindow *) 0 ;
21917 int arg2 ;
21918 PyObject * obj0 = 0 ;
21919 PyObject * obj1 = 0 ;
21920 char *kwnames[] = {
21921 (char *) "self",(char *) "winid", NULL
21922 };
21923
21924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetId",kwnames,&obj0,&obj1)) goto fail;
21925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21927 arg2 = (int) SWIG_AsInt(obj1);
21928 if (PyErr_Occurred()) SWIG_fail;
21929 {
21930 PyThreadState* __tstate = wxPyBeginAllowThreads();
21931 (arg1)->SetId(arg2);
21932
21933 wxPyEndAllowThreads(__tstate);
21934 if (PyErr_Occurred()) SWIG_fail;
21935 }
21936 Py_INCREF(Py_None); resultobj = Py_None;
21937 return resultobj;
21938 fail:
21939 return NULL;
21940}
21941
21942
21943static PyObject *_wrap_Window_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21944 PyObject *resultobj;
21945 wxWindow *arg1 = (wxWindow *) 0 ;
21946 int result;
21947 PyObject * obj0 = 0 ;
21948 char *kwnames[] = {
21949 (char *) "self", NULL
21950 };
21951
21952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
21953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21955 {
21956 PyThreadState* __tstate = wxPyBeginAllowThreads();
21957 result = (int)((wxWindow const *)arg1)->GetId();
21958
21959 wxPyEndAllowThreads(__tstate);
21960 if (PyErr_Occurred()) SWIG_fail;
21961 }
21962 resultobj = SWIG_FromInt((int)result);
21963 return resultobj;
21964 fail:
21965 return NULL;
21966}
21967
21968
21969static PyObject *_wrap_Window_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
21970 PyObject *resultobj;
21971 int result;
21972 char *kwnames[] = {
21973 NULL
21974 };
21975
21976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
21977 {
21978 PyThreadState* __tstate = wxPyBeginAllowThreads();
21979 result = (int)wxWindow::NewControlId();
21980
21981 wxPyEndAllowThreads(__tstate);
21982 if (PyErr_Occurred()) SWIG_fail;
21983 }
21984 resultobj = SWIG_FromInt((int)result);
21985 return resultobj;
21986 fail:
21987 return NULL;
21988}
21989
21990
21991static PyObject *_wrap_Window_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
21992 PyObject *resultobj;
21993 int arg1 ;
21994 int result;
21995 PyObject * obj0 = 0 ;
21996 char *kwnames[] = {
21997 (char *) "winid", NULL
21998 };
21999
22000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_NextControlId",kwnames,&obj0)) goto fail;
22001 arg1 = (int) SWIG_AsInt(obj0);
22002 if (PyErr_Occurred()) SWIG_fail;
22003 {
22004 PyThreadState* __tstate = wxPyBeginAllowThreads();
22005 result = (int)wxWindow::NextControlId(arg1);
22006
22007 wxPyEndAllowThreads(__tstate);
22008 if (PyErr_Occurred()) SWIG_fail;
22009 }
22010 resultobj = SWIG_FromInt((int)result);
22011 return resultobj;
22012 fail:
22013 return NULL;
22014}
22015
22016
22017static PyObject *_wrap_Window_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
22018 PyObject *resultobj;
22019 int arg1 ;
22020 int result;
22021 PyObject * obj0 = 0 ;
22022 char *kwnames[] = {
22023 (char *) "winid", NULL
22024 };
22025
22026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PrevControlId",kwnames,&obj0)) goto fail;
22027 arg1 = (int) SWIG_AsInt(obj0);
22028 if (PyErr_Occurred()) SWIG_fail;
22029 {
22030 PyThreadState* __tstate = wxPyBeginAllowThreads();
22031 result = (int)wxWindow::PrevControlId(arg1);
22032
22033 wxPyEndAllowThreads(__tstate);
22034 if (PyErr_Occurred()) SWIG_fail;
22035 }
22036 resultobj = SWIG_FromInt((int)result);
22037 return resultobj;
22038 fail:
22039 return NULL;
22040}
22041
22042
22043static PyObject *_wrap_Window_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22044 PyObject *resultobj;
22045 wxWindow *arg1 = (wxWindow *) 0 ;
22046 wxSize *arg2 = 0 ;
22047 wxSize temp2 ;
22048 PyObject * obj0 = 0 ;
22049 PyObject * obj1 = 0 ;
22050 char *kwnames[] = {
22051 (char *) "self",(char *) "size", NULL
22052 };
22053
22054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
22055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22057 {
22058 arg2 = &temp2;
22059 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22060 }
22061 {
22062 PyThreadState* __tstate = wxPyBeginAllowThreads();
22063 (arg1)->SetSize((wxSize const &)*arg2);
22064
22065 wxPyEndAllowThreads(__tstate);
22066 if (PyErr_Occurred()) SWIG_fail;
22067 }
22068 Py_INCREF(Py_None); resultobj = Py_None;
22069 return resultobj;
22070 fail:
22071 return NULL;
22072}
22073
22074
22075static PyObject *_wrap_Window_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
22076 PyObject *resultobj;
22077 wxWindow *arg1 = (wxWindow *) 0 ;
22078 int arg2 ;
22079 int arg3 ;
22080 int arg4 ;
22081 int arg5 ;
22082 int arg6 = (int) wxSIZE_AUTO ;
22083 PyObject * obj0 = 0 ;
22084 PyObject * obj1 = 0 ;
22085 PyObject * obj2 = 0 ;
22086 PyObject * obj3 = 0 ;
22087 PyObject * obj4 = 0 ;
22088 PyObject * obj5 = 0 ;
22089 char *kwnames[] = {
22090 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22091 };
22092
22093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetDimensions",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22096 arg2 = (int) SWIG_AsInt(obj1);
22097 if (PyErr_Occurred()) SWIG_fail;
22098 arg3 = (int) SWIG_AsInt(obj2);
22099 if (PyErr_Occurred()) SWIG_fail;
22100 arg4 = (int) SWIG_AsInt(obj3);
22101 if (PyErr_Occurred()) SWIG_fail;
22102 arg5 = (int) SWIG_AsInt(obj4);
22103 if (PyErr_Occurred()) SWIG_fail;
22104 if (obj5) {
22105 arg6 = (int) SWIG_AsInt(obj5);
22106 if (PyErr_Occurred()) SWIG_fail;
22107 }
22108 {
22109 PyThreadState* __tstate = wxPyBeginAllowThreads();
22110 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
22111
22112 wxPyEndAllowThreads(__tstate);
22113 if (PyErr_Occurred()) SWIG_fail;
22114 }
22115 Py_INCREF(Py_None); resultobj = Py_None;
22116 return resultobj;
22117 fail:
22118 return NULL;
22119}
22120
22121
22122static PyObject *_wrap_Window_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22123 PyObject *resultobj;
22124 wxWindow *arg1 = (wxWindow *) 0 ;
22125 wxRect *arg2 = 0 ;
22126 int arg3 = (int) wxSIZE_AUTO ;
22127 wxRect temp2 ;
22128 PyObject * obj0 = 0 ;
22129 PyObject * obj1 = 0 ;
22130 PyObject * obj2 = 0 ;
22131 char *kwnames[] = {
22132 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22133 };
22134
22135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
22136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22138 {
22139 arg2 = &temp2;
22140 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22141 }
22142 if (obj2) {
22143 arg3 = (int) SWIG_AsInt(obj2);
22144 if (PyErr_Occurred()) SWIG_fail;
22145 }
22146 {
22147 PyThreadState* __tstate = wxPyBeginAllowThreads();
22148 (arg1)->SetSize((wxRect const &)*arg2,arg3);
22149
22150 wxPyEndAllowThreads(__tstate);
22151 if (PyErr_Occurred()) SWIG_fail;
22152 }
22153 Py_INCREF(Py_None); resultobj = Py_None;
22154 return resultobj;
22155 fail:
22156 return NULL;
22157}
22158
22159
22160static PyObject *_wrap_Window_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
22161 PyObject *resultobj;
22162 wxWindow *arg1 = (wxWindow *) 0 ;
22163 int arg2 ;
22164 int arg3 ;
22165 PyObject * obj0 = 0 ;
22166 PyObject * obj1 = 0 ;
22167 PyObject * obj2 = 0 ;
22168 char *kwnames[] = {
22169 (char *) "self",(char *) "width",(char *) "height", NULL
22170 };
22171
22172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
22173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22175 arg2 = (int) SWIG_AsInt(obj1);
22176 if (PyErr_Occurred()) SWIG_fail;
22177 arg3 = (int) SWIG_AsInt(obj2);
22178 if (PyErr_Occurred()) SWIG_fail;
22179 {
22180 PyThreadState* __tstate = wxPyBeginAllowThreads();
22181 (arg1)->SetSize(arg2,arg3);
22182
22183 wxPyEndAllowThreads(__tstate);
22184 if (PyErr_Occurred()) SWIG_fail;
22185 }
22186 Py_INCREF(Py_None); resultobj = Py_None;
22187 return resultobj;
22188 fail:
22189 return NULL;
22190}
22191
22192
22193static PyObject *_wrap_Window_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
22194 PyObject *resultobj;
22195 wxWindow *arg1 = (wxWindow *) 0 ;
22196 wxPoint *arg2 = 0 ;
22197 int arg3 = (int) wxSIZE_USE_EXISTING ;
22198 wxPoint temp2 ;
22199 PyObject * obj0 = 0 ;
22200 PyObject * obj1 = 0 ;
22201 PyObject * obj2 = 0 ;
22202 char *kwnames[] = {
22203 (char *) "self",(char *) "pt",(char *) "flags", NULL
22204 };
22205
22206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_Move",kwnames,&obj0,&obj1,&obj2)) goto fail;
22207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22209 {
22210 arg2 = &temp2;
22211 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22212 }
22213 if (obj2) {
22214 arg3 = (int) SWIG_AsInt(obj2);
22215 if (PyErr_Occurred()) SWIG_fail;
22216 }
22217 {
22218 PyThreadState* __tstate = wxPyBeginAllowThreads();
22219 (arg1)->Move((wxPoint const &)*arg2,arg3);
22220
22221 wxPyEndAllowThreads(__tstate);
22222 if (PyErr_Occurred()) SWIG_fail;
22223 }
22224 Py_INCREF(Py_None); resultobj = Py_None;
22225 return resultobj;
22226 fail:
22227 return NULL;
22228}
22229
22230
22231static PyObject *_wrap_Window_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22232 PyObject *resultobj;
22233 wxWindow *arg1 = (wxWindow *) 0 ;
22234 int arg2 ;
22235 int arg3 ;
22236 int arg4 = (int) wxSIZE_USE_EXISTING ;
22237 PyObject * obj0 = 0 ;
22238 PyObject * obj1 = 0 ;
22239 PyObject * obj2 = 0 ;
22240 PyObject * obj3 = 0 ;
22241 char *kwnames[] = {
22242 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22243 };
22244
22245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_MoveXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22248 arg2 = (int) SWIG_AsInt(obj1);
22249 if (PyErr_Occurred()) SWIG_fail;
22250 arg3 = (int) SWIG_AsInt(obj2);
22251 if (PyErr_Occurred()) SWIG_fail;
22252 if (obj3) {
22253 arg4 = (int) SWIG_AsInt(obj3);
22254 if (PyErr_Occurred()) SWIG_fail;
22255 }
22256 {
22257 PyThreadState* __tstate = wxPyBeginAllowThreads();
22258 (arg1)->Move(arg2,arg3,arg4);
22259
22260 wxPyEndAllowThreads(__tstate);
22261 if (PyErr_Occurred()) SWIG_fail;
22262 }
22263 Py_INCREF(Py_None); resultobj = Py_None;
22264 return resultobj;
22265 fail:
22266 return NULL;
22267}
22268
22269
22270static PyObject *_wrap_Window_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
22271 PyObject *resultobj;
22272 wxWindow *arg1 = (wxWindow *) 0 ;
22273 PyObject * obj0 = 0 ;
22274 char *kwnames[] = {
22275 (char *) "self", NULL
22276 };
22277
22278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail;
22279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22281 {
22282 PyThreadState* __tstate = wxPyBeginAllowThreads();
22283 (arg1)->Raise();
22284
22285 wxPyEndAllowThreads(__tstate);
22286 if (PyErr_Occurred()) SWIG_fail;
22287 }
22288 Py_INCREF(Py_None); resultobj = Py_None;
22289 return resultobj;
22290 fail:
22291 return NULL;
22292}
22293
22294
22295static PyObject *_wrap_Window_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
22296 PyObject *resultobj;
22297 wxWindow *arg1 = (wxWindow *) 0 ;
22298 PyObject * obj0 = 0 ;
22299 char *kwnames[] = {
22300 (char *) "self", NULL
22301 };
22302
22303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
22304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22306 {
22307 PyThreadState* __tstate = wxPyBeginAllowThreads();
22308 (arg1)->Lower();
22309
22310 wxPyEndAllowThreads(__tstate);
22311 if (PyErr_Occurred()) SWIG_fail;
22312 }
22313 Py_INCREF(Py_None); resultobj = Py_None;
22314 return resultobj;
22315 fail:
22316 return NULL;
22317}
22318
22319
22320static PyObject *_wrap_Window_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22321 PyObject *resultobj;
22322 wxWindow *arg1 = (wxWindow *) 0 ;
22323 wxSize *arg2 = 0 ;
22324 wxSize temp2 ;
22325 PyObject * obj0 = 0 ;
22326 PyObject * obj1 = 0 ;
22327 char *kwnames[] = {
22328 (char *) "self",(char *) "size", NULL
22329 };
22330
22331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
22332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22334 {
22335 arg2 = &temp2;
22336 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22337 }
22338 {
22339 PyThreadState* __tstate = wxPyBeginAllowThreads();
22340 (arg1)->SetClientSize((wxSize const &)*arg2);
22341
22342 wxPyEndAllowThreads(__tstate);
22343 if (PyErr_Occurred()) SWIG_fail;
22344 }
22345 Py_INCREF(Py_None); resultobj = Py_None;
22346 return resultobj;
22347 fail:
22348 return NULL;
22349}
22350
22351
22352static PyObject *_wrap_Window_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
22353 PyObject *resultobj;
22354 wxWindow *arg1 = (wxWindow *) 0 ;
22355 int arg2 ;
22356 int arg3 ;
22357 PyObject * obj0 = 0 ;
22358 PyObject * obj1 = 0 ;
22359 PyObject * obj2 = 0 ;
22360 char *kwnames[] = {
22361 (char *) "self",(char *) "width",(char *) "height", NULL
22362 };
22363
22364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetClientSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
22365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22367 arg2 = (int) SWIG_AsInt(obj1);
22368 if (PyErr_Occurred()) SWIG_fail;
22369 arg3 = (int) SWIG_AsInt(obj2);
22370 if (PyErr_Occurred()) SWIG_fail;
22371 {
22372 PyThreadState* __tstate = wxPyBeginAllowThreads();
22373 (arg1)->SetClientSize(arg2,arg3);
22374
22375 wxPyEndAllowThreads(__tstate);
22376 if (PyErr_Occurred()) SWIG_fail;
22377 }
22378 Py_INCREF(Py_None); resultobj = Py_None;
22379 return resultobj;
22380 fail:
22381 return NULL;
22382}
22383
22384
22385static PyObject *_wrap_Window_SetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22386 PyObject *resultobj;
22387 wxWindow *arg1 = (wxWindow *) 0 ;
22388 wxRect *arg2 = 0 ;
22389 wxRect temp2 ;
22390 PyObject * obj0 = 0 ;
22391 PyObject * obj1 = 0 ;
22392 char *kwnames[] = {
22393 (char *) "self",(char *) "rect", NULL
22394 };
22395
22396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
22397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22399 {
22400 arg2 = &temp2;
22401 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22402 }
22403 {
22404 PyThreadState* __tstate = wxPyBeginAllowThreads();
22405 (arg1)->SetClientSize((wxRect const &)*arg2);
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_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
22418 PyObject *resultobj;
22419 wxWindow *arg1 = (wxWindow *) 0 ;
22420 wxPoint result;
22421 PyObject * obj0 = 0 ;
22422 char *kwnames[] = {
22423 (char *) "self", NULL
22424 };
22425
22426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
22427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22429 {
22430 PyThreadState* __tstate = wxPyBeginAllowThreads();
22431 result = (arg1)->GetPosition();
22432
22433 wxPyEndAllowThreads(__tstate);
22434 if (PyErr_Occurred()) SWIG_fail;
22435 }
22436 {
22437 wxPoint * resultptr;
22438 resultptr = new wxPoint((wxPoint &) result);
22439 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22440 }
22441 return resultobj;
22442 fail:
22443 return NULL;
22444}
22445
22446
22447static PyObject *_wrap_Window_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22448 PyObject *resultobj;
22449 wxWindow *arg1 = (wxWindow *) 0 ;
22450 int *arg2 = (int *) 0 ;
22451 int *arg3 = (int *) 0 ;
22452 int temp2 ;
22453 int temp3 ;
22454 PyObject * obj0 = 0 ;
22455 char *kwnames[] = {
22456 (char *) "self", NULL
22457 };
22458
22459 arg2 = &temp2;
22460 arg3 = &temp3;
22461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
22462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22464 {
22465 PyThreadState* __tstate = wxPyBeginAllowThreads();
22466 (arg1)->GetPosition(arg2,arg3);
22467
22468 wxPyEndAllowThreads(__tstate);
22469 if (PyErr_Occurred()) SWIG_fail;
22470 }
22471 Py_INCREF(Py_None); resultobj = Py_None;
22472 {
22473 PyObject *o = PyInt_FromLong((long) (*arg2));
22474 resultobj = t_output_helper(resultobj,o);
22475 }
22476 {
22477 PyObject *o = PyInt_FromLong((long) (*arg3));
22478 resultobj = t_output_helper(resultobj,o);
22479 }
22480 return resultobj;
22481 fail:
22482 return NULL;
22483}
22484
22485
22486static PyObject *_wrap_Window_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22487 PyObject *resultobj;
22488 wxWindow *arg1 = (wxWindow *) 0 ;
22489 wxSize result;
22490 PyObject * obj0 = 0 ;
22491 char *kwnames[] = {
22492 (char *) "self", NULL
22493 };
22494
22495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
22496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22498 {
22499 PyThreadState* __tstate = wxPyBeginAllowThreads();
22500 result = ((wxWindow const *)arg1)->GetSize();
22501
22502 wxPyEndAllowThreads(__tstate);
22503 if (PyErr_Occurred()) SWIG_fail;
22504 }
22505 {
22506 wxSize * resultptr;
22507 resultptr = new wxSize((wxSize &) result);
22508 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22509 }
22510 return resultobj;
22511 fail:
22512 return NULL;
22513}
22514
22515
22516static PyObject *_wrap_Window_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22517 PyObject *resultobj;
22518 wxWindow *arg1 = (wxWindow *) 0 ;
22519 int *arg2 = (int *) 0 ;
22520 int *arg3 = (int *) 0 ;
22521 int temp2 ;
22522 int temp3 ;
22523 PyObject * obj0 = 0 ;
22524 char *kwnames[] = {
22525 (char *) "self", NULL
22526 };
22527
22528 arg2 = &temp2;
22529 arg3 = &temp3;
22530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
22531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22533 {
22534 PyThreadState* __tstate = wxPyBeginAllowThreads();
22535 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
22536
22537 wxPyEndAllowThreads(__tstate);
22538 if (PyErr_Occurred()) SWIG_fail;
22539 }
22540 Py_INCREF(Py_None); resultobj = Py_None;
22541 {
22542 PyObject *o = PyInt_FromLong((long) (*arg2));
22543 resultobj = t_output_helper(resultobj,o);
22544 }
22545 {
22546 PyObject *o = PyInt_FromLong((long) (*arg3));
22547 resultobj = t_output_helper(resultobj,o);
22548 }
22549 return resultobj;
22550 fail:
22551 return NULL;
22552}
22553
22554
22555static PyObject *_wrap_Window_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22556 PyObject *resultobj;
22557 wxWindow *arg1 = (wxWindow *) 0 ;
22558 wxRect result;
22559 PyObject * obj0 = 0 ;
22560 char *kwnames[] = {
22561 (char *) "self", NULL
22562 };
22563
22564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
22565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22567 {
22568 PyThreadState* __tstate = wxPyBeginAllowThreads();
22569 result = ((wxWindow const *)arg1)->GetRect();
22570
22571 wxPyEndAllowThreads(__tstate);
22572 if (PyErr_Occurred()) SWIG_fail;
22573 }
22574 {
22575 wxRect * resultptr;
22576 resultptr = new wxRect((wxRect &) result);
22577 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
22578 }
22579 return resultobj;
22580 fail:
22581 return NULL;
22582}
22583
22584
22585static PyObject *_wrap_Window_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22586 PyObject *resultobj;
22587 wxWindow *arg1 = (wxWindow *) 0 ;
22588 wxSize result;
22589 PyObject * obj0 = 0 ;
22590 char *kwnames[] = {
22591 (char *) "self", NULL
22592 };
22593
22594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
22595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22597 {
22598 PyThreadState* __tstate = wxPyBeginAllowThreads();
22599 result = ((wxWindow const *)arg1)->GetClientSize();
22600
22601 wxPyEndAllowThreads(__tstate);
22602 if (PyErr_Occurred()) SWIG_fail;
22603 }
22604 {
22605 wxSize * resultptr;
22606 resultptr = new wxSize((wxSize &) result);
22607 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22608 }
22609 return resultobj;
22610 fail:
22611 return NULL;
22612}
22613
22614
22615static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22616 PyObject *resultobj;
22617 wxWindow *arg1 = (wxWindow *) 0 ;
22618 int *arg2 = (int *) 0 ;
22619 int *arg3 = (int *) 0 ;
22620 int temp2 ;
22621 int temp3 ;
22622 PyObject * obj0 = 0 ;
22623 char *kwnames[] = {
22624 (char *) "self", NULL
22625 };
22626
22627 arg2 = &temp2;
22628 arg3 = &temp3;
22629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
22630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22632 {
22633 PyThreadState* __tstate = wxPyBeginAllowThreads();
22634 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
22635
22636 wxPyEndAllowThreads(__tstate);
22637 if (PyErr_Occurred()) SWIG_fail;
22638 }
22639 Py_INCREF(Py_None); resultobj = Py_None;
22640 {
22641 PyObject *o = PyInt_FromLong((long) (*arg2));
22642 resultobj = t_output_helper(resultobj,o);
22643 }
22644 {
22645 PyObject *o = PyInt_FromLong((long) (*arg3));
22646 resultobj = t_output_helper(resultobj,o);
22647 }
22648 return resultobj;
22649 fail:
22650 return NULL;
22651}
22652
22653
22654static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
22655 PyObject *resultobj;
22656 wxWindow *arg1 = (wxWindow *) 0 ;
22657 wxPoint result;
22658 PyObject * obj0 = 0 ;
22659 char *kwnames[] = {
22660 (char *) "self", NULL
22661 };
22662
22663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
22664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22666 {
22667 PyThreadState* __tstate = wxPyBeginAllowThreads();
22668 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
22669
22670 wxPyEndAllowThreads(__tstate);
22671 if (PyErr_Occurred()) SWIG_fail;
22672 }
22673 {
22674 wxPoint * resultptr;
22675 resultptr = new wxPoint((wxPoint &) result);
22676 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22677 }
22678 return resultobj;
22679 fail:
22680 return NULL;
22681}
22682
22683
22684static PyObject *_wrap_Window_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22685 PyObject *resultobj;
22686 wxWindow *arg1 = (wxWindow *) 0 ;
22687 wxRect result;
22688 PyObject * obj0 = 0 ;
22689 char *kwnames[] = {
22690 (char *) "self", NULL
22691 };
22692
22693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
22694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22696 {
22697 PyThreadState* __tstate = wxPyBeginAllowThreads();
22698 result = ((wxWindow const *)arg1)->GetClientRect();
22699
22700 wxPyEndAllowThreads(__tstate);
22701 if (PyErr_Occurred()) SWIG_fail;
22702 }
22703 {
22704 wxRect * resultptr;
22705 resultptr = new wxRect((wxRect &) result);
22706 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
22707 }
22708 return resultobj;
22709 fail:
22710 return NULL;
22711}
22712
22713
22714static PyObject *_wrap_Window_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22715 PyObject *resultobj;
22716 wxWindow *arg1 = (wxWindow *) 0 ;
22717 wxSize result;
22718 PyObject * obj0 = 0 ;
22719 char *kwnames[] = {
22720 (char *) "self", NULL
22721 };
22722
22723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
22724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22726 {
22727 PyThreadState* __tstate = wxPyBeginAllowThreads();
22728 result = ((wxWindow const *)arg1)->GetBestSize();
22729
22730 wxPyEndAllowThreads(__tstate);
22731 if (PyErr_Occurred()) SWIG_fail;
22732 }
22733 {
22734 wxSize * resultptr;
22735 resultptr = new wxSize((wxSize &) result);
22736 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22737 }
22738 return resultobj;
22739 fail:
22740 return NULL;
22741}
22742
22743
22744static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22745 PyObject *resultobj;
22746 wxWindow *arg1 = (wxWindow *) 0 ;
22747 int *arg2 = (int *) 0 ;
22748 int *arg3 = (int *) 0 ;
22749 int temp2 ;
22750 int temp3 ;
22751 PyObject * obj0 = 0 ;
22752 char *kwnames[] = {
22753 (char *) "self", NULL
22754 };
22755
22756 arg2 = &temp2;
22757 arg3 = &temp3;
22758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
22759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22761 {
22762 PyThreadState* __tstate = wxPyBeginAllowThreads();
22763 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
22764
22765 wxPyEndAllowThreads(__tstate);
22766 if (PyErr_Occurred()) SWIG_fail;
22767 }
22768 Py_INCREF(Py_None); resultobj = Py_None;
22769 {
22770 PyObject *o = PyInt_FromLong((long) (*arg2));
22771 resultobj = t_output_helper(resultobj,o);
22772 }
22773 {
22774 PyObject *o = PyInt_FromLong((long) (*arg3));
22775 resultobj = t_output_helper(resultobj,o);
22776 }
22777 return resultobj;
22778 fail:
22779 return NULL;
22780}
22781
22782
22783static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22784 PyObject *resultobj;
22785 wxWindow *arg1 = (wxWindow *) 0 ;
22786 wxSize result;
22787 PyObject * obj0 = 0 ;
22788 char *kwnames[] = {
22789 (char *) "self", NULL
22790 };
22791
22792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
22793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22795 {
22796 PyThreadState* __tstate = wxPyBeginAllowThreads();
22797 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
22798
22799 wxPyEndAllowThreads(__tstate);
22800 if (PyErr_Occurred()) SWIG_fail;
22801 }
22802 {
22803 wxSize * resultptr;
22804 resultptr = new wxSize((wxSize &) result);
22805 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22806 }
22807 return resultobj;
22808 fail:
22809 return NULL;
22810}
22811
22812
22813static PyObject *_wrap_Window_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
22814 PyObject *resultobj;
22815 wxWindow *arg1 = (wxWindow *) 0 ;
22816 int arg2 = (int) wxBOTH ;
22817 PyObject * obj0 = 0 ;
22818 PyObject * obj1 = 0 ;
22819 char *kwnames[] = {
22820 (char *) "self",(char *) "direction", NULL
22821 };
22822
22823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Center",kwnames,&obj0,&obj1)) goto fail;
22824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22826 if (obj1) {
22827 arg2 = (int) SWIG_AsInt(obj1);
22828 if (PyErr_Occurred()) SWIG_fail;
22829 }
22830 {
22831 PyThreadState* __tstate = wxPyBeginAllowThreads();
22832 (arg1)->Center(arg2);
22833
22834 wxPyEndAllowThreads(__tstate);
22835 if (PyErr_Occurred()) SWIG_fail;
22836 }
22837 Py_INCREF(Py_None); resultobj = Py_None;
22838 return resultobj;
22839 fail:
22840 return NULL;
22841}
22842
22843
22844static PyObject *_wrap_Window_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22845 PyObject *resultobj;
22846 wxWindow *arg1 = (wxWindow *) 0 ;
22847 int arg2 = (int) wxBOTH ;
22848 PyObject * obj0 = 0 ;
22849 PyObject * obj1 = 0 ;
22850 char *kwnames[] = {
22851 (char *) "self",(char *) "dir", NULL
22852 };
22853
22854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnScreen",kwnames,&obj0,&obj1)) goto fail;
22855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22857 if (obj1) {
22858 arg2 = (int) SWIG_AsInt(obj1);
22859 if (PyErr_Occurred()) SWIG_fail;
22860 }
22861 {
22862 PyThreadState* __tstate = wxPyBeginAllowThreads();
22863 (arg1)->CenterOnScreen(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_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
22876 PyObject *resultobj;
22877 wxWindow *arg1 = (wxWindow *) 0 ;
22878 int arg2 = (int) wxBOTH ;
22879 PyObject * obj0 = 0 ;
22880 PyObject * obj1 = 0 ;
22881 char *kwnames[] = {
22882 (char *) "self",(char *) "dir", NULL
22883 };
22884
22885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnParent",kwnames,&obj0,&obj1)) goto fail;
22886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22888 if (obj1) {
22889 arg2 = (int) SWIG_AsInt(obj1);
22890 if (PyErr_Occurred()) SWIG_fail;
22891 }
22892 {
22893 PyThreadState* __tstate = wxPyBeginAllowThreads();
22894 (arg1)->CenterOnParent(arg2);
22895
22896 wxPyEndAllowThreads(__tstate);
22897 if (PyErr_Occurred()) SWIG_fail;
22898 }
22899 Py_INCREF(Py_None); resultobj = Py_None;
22900 return resultobj;
22901 fail:
22902 return NULL;
22903}
22904
22905
22906static PyObject *_wrap_Window_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
22907 PyObject *resultobj;
22908 wxWindow *arg1 = (wxWindow *) 0 ;
22909 PyObject * obj0 = 0 ;
22910 char *kwnames[] = {
22911 (char *) "self", NULL
22912 };
22913
22914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
22915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22917 {
22918 PyThreadState* __tstate = wxPyBeginAllowThreads();
22919 (arg1)->Fit();
22920
22921 wxPyEndAllowThreads(__tstate);
22922 if (PyErr_Occurred()) SWIG_fail;
22923 }
22924 Py_INCREF(Py_None); resultobj = Py_None;
22925 return resultobj;
22926 fail:
22927 return NULL;
22928}
22929
22930
22931static PyObject *_wrap_Window_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
22932 PyObject *resultobj;
22933 wxWindow *arg1 = (wxWindow *) 0 ;
22934 PyObject * obj0 = 0 ;
22935 char *kwnames[] = {
22936 (char *) "self", NULL
22937 };
22938
22939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail;
22940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22942 {
22943 PyThreadState* __tstate = wxPyBeginAllowThreads();
22944 (arg1)->FitInside();
22945
22946 wxPyEndAllowThreads(__tstate);
22947 if (PyErr_Occurred()) SWIG_fail;
22948 }
22949 Py_INCREF(Py_None); resultobj = Py_None;
22950 return resultobj;
22951 fail:
22952 return NULL;
22953}
22954
22955
22956static PyObject *_wrap_Window_SetSizeHints__SWIG_0(PyObject *self, PyObject *args) {
22957 PyObject *resultobj;
22958 wxWindow *arg1 = (wxWindow *) 0 ;
22959 int arg2 ;
22960 int arg3 ;
22961 int arg4 = (int) -1 ;
22962 int arg5 = (int) -1 ;
22963 int arg6 = (int) -1 ;
22964 int arg7 = (int) -1 ;
22965 PyObject * obj0 = 0 ;
22966 PyObject * obj1 = 0 ;
22967 PyObject * obj2 = 0 ;
22968 PyObject * obj3 = 0 ;
22969 PyObject * obj4 = 0 ;
22970 PyObject * obj5 = 0 ;
22971 PyObject * obj6 = 0 ;
22972
22973 if(!PyArg_ParseTuple(args,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22976 arg2 = (int) SWIG_AsInt(obj1);
22977 if (PyErr_Occurred()) SWIG_fail;
22978 arg3 = (int) SWIG_AsInt(obj2);
22979 if (PyErr_Occurred()) SWIG_fail;
22980 if (obj3) {
22981 arg4 = (int) SWIG_AsInt(obj3);
22982 if (PyErr_Occurred()) SWIG_fail;
22983 }
22984 if (obj4) {
22985 arg5 = (int) SWIG_AsInt(obj4);
22986 if (PyErr_Occurred()) SWIG_fail;
22987 }
22988 if (obj5) {
22989 arg6 = (int) SWIG_AsInt(obj5);
22990 if (PyErr_Occurred()) SWIG_fail;
22991 }
22992 if (obj6) {
22993 arg7 = (int) SWIG_AsInt(obj6);
22994 if (PyErr_Occurred()) SWIG_fail;
22995 }
22996 {
22997 PyThreadState* __tstate = wxPyBeginAllowThreads();
22998 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
22999
23000 wxPyEndAllowThreads(__tstate);
23001 if (PyErr_Occurred()) SWIG_fail;
23002 }
23003 Py_INCREF(Py_None); resultobj = Py_None;
23004 return resultobj;
23005 fail:
23006 return NULL;
23007}
23008
23009
23010static PyObject *_wrap_Window_SetSizeHints__SWIG_1(PyObject *self, PyObject *args) {
23011 PyObject *resultobj;
23012 wxWindow *arg1 = (wxWindow *) 0 ;
23013 wxSize *arg2 = 0 ;
23014 wxSize const &arg3_defvalue = wxDefaultSize ;
23015 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
23016 wxSize const &arg4_defvalue = wxDefaultSize ;
23017 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23018 wxSize temp2 ;
23019 wxSize temp3 ;
23020 wxSize temp4 ;
23021 PyObject * obj0 = 0 ;
23022 PyObject * obj1 = 0 ;
23023 PyObject * obj2 = 0 ;
23024 PyObject * obj3 = 0 ;
23025
23026 if(!PyArg_ParseTuple(args,(char *)"OO|OO:Window_SetSizeHints",&obj0,&obj1,&obj2,&obj3)) goto fail;
23027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23029 {
23030 arg2 = &temp2;
23031 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23032 }
23033 if (obj2) {
23034 {
23035 arg3 = &temp3;
23036 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
23037 }
23038 }
23039 if (obj3) {
23040 {
23041 arg4 = &temp4;
23042 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23043 }
23044 }
23045 {
23046 PyThreadState* __tstate = wxPyBeginAllowThreads();
23047 (arg1)->SetSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3,(wxSize const &)*arg4);
23048
23049 wxPyEndAllowThreads(__tstate);
23050 if (PyErr_Occurred()) SWIG_fail;
23051 }
23052 Py_INCREF(Py_None); resultobj = Py_None;
23053 return resultobj;
23054 fail:
23055 return NULL;
23056}
23057
23058
23059static PyObject *_wrap_Window_SetSizeHints(PyObject *self, PyObject *args) {
23060 int argc;
23061 PyObject *argv[8];
23062 int ii;
23063
23064 argc = PyObject_Length(args);
23065 for (ii = 0; (ii < argc) && (ii < 7); ii++) {
23066 argv[ii] = PyTuple_GetItem(args,ii);
23067 }
23068 if ((argc >= 2) && (argc <= 4)) {
23069 int _v;
23070 {
23071 void *ptr;
23072 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23073 _v = 0;
23074 PyErr_Clear();
23075 } else {
23076 _v = 1;
23077 }
23078 }
23079 if (_v) {
23080 {
23081 _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2);
23082 }
23083 if (_v) {
23084 if (argc <= 2) {
23085 return _wrap_Window_SetSizeHints__SWIG_1(self,args);
23086 }
23087 {
23088 _v = wxPySimple_typecheck(argv[2], wxT("wxSize"), 2);
23089 }
23090 if (_v) {
23091 if (argc <= 3) {
23092 return _wrap_Window_SetSizeHints__SWIG_1(self,args);
23093 }
23094 {
23095 _v = wxPySimple_typecheck(argv[3], wxT("wxSize"), 2);
23096 }
23097 if (_v) {
23098 return _wrap_Window_SetSizeHints__SWIG_1(self,args);
23099 }
23100 }
23101 }
23102 }
23103 }
23104 if ((argc >= 3) && (argc <= 7)) {
23105 int _v;
23106 {
23107 void *ptr;
23108 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23109 _v = 0;
23110 PyErr_Clear();
23111 } else {
23112 _v = 1;
23113 }
23114 }
23115 if (_v) {
23116 _v = SWIG_CheckInt(argv[1]);
23117 if (_v) {
23118 _v = SWIG_CheckInt(argv[2]);
23119 if (_v) {
23120 if (argc <= 3) {
23121 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23122 }
23123 _v = SWIG_CheckInt(argv[3]);
23124 if (_v) {
23125 if (argc <= 4) {
23126 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23127 }
23128 _v = SWIG_CheckInt(argv[4]);
23129 if (_v) {
23130 if (argc <= 5) {
23131 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23132 }
23133 _v = SWIG_CheckInt(argv[5]);
23134 if (_v) {
23135 if (argc <= 6) {
23136 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23137 }
23138 _v = SWIG_CheckInt(argv[6]);
23139 if (_v) {
23140 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23141 }
23142 }
23143 }
23144 }
23145 }
23146 }
23147 }
23148 }
23149
23150 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_SetSizeHints'");
23151 return NULL;
23152}
23153
23154
23155static PyObject *_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject *self, PyObject *args) {
23156 PyObject *resultobj;
23157 wxWindow *arg1 = (wxWindow *) 0 ;
23158 int arg2 ;
23159 int arg3 ;
23160 int arg4 = (int) -1 ;
23161 int arg5 = (int) -1 ;
23162 PyObject * obj0 = 0 ;
23163 PyObject * obj1 = 0 ;
23164 PyObject * obj2 = 0 ;
23165 PyObject * obj3 = 0 ;
23166 PyObject * obj4 = 0 ;
23167
23168 if(!PyArg_ParseTuple(args,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23171 arg2 = (int) SWIG_AsInt(obj1);
23172 if (PyErr_Occurred()) SWIG_fail;
23173 arg3 = (int) SWIG_AsInt(obj2);
23174 if (PyErr_Occurred()) SWIG_fail;
23175 if (obj3) {
23176 arg4 = (int) SWIG_AsInt(obj3);
23177 if (PyErr_Occurred()) SWIG_fail;
23178 }
23179 if (obj4) {
23180 arg5 = (int) SWIG_AsInt(obj4);
23181 if (PyErr_Occurred()) SWIG_fail;
23182 }
23183 {
23184 PyThreadState* __tstate = wxPyBeginAllowThreads();
23185 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
23186
23187 wxPyEndAllowThreads(__tstate);
23188 if (PyErr_Occurred()) SWIG_fail;
23189 }
23190 Py_INCREF(Py_None); resultobj = Py_None;
23191 return resultobj;
23192 fail:
23193 return NULL;
23194}
23195
23196
23197static PyObject *_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject *self, PyObject *args) {
23198 PyObject *resultobj;
23199 wxWindow *arg1 = (wxWindow *) 0 ;
23200 wxSize *arg2 = 0 ;
23201 wxSize const &arg3_defvalue = wxDefaultSize ;
23202 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
23203 wxSize temp2 ;
23204 wxSize temp3 ;
23205 PyObject * obj0 = 0 ;
23206 PyObject * obj1 = 0 ;
23207 PyObject * obj2 = 0 ;
23208
23209 if(!PyArg_ParseTuple(args,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0,&obj1,&obj2)) goto fail;
23210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23212 {
23213 arg2 = &temp2;
23214 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23215 }
23216 if (obj2) {
23217 {
23218 arg3 = &temp3;
23219 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
23220 }
23221 }
23222 {
23223 PyThreadState* __tstate = wxPyBeginAllowThreads();
23224 (arg1)->SetVirtualSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3);
23225
23226 wxPyEndAllowThreads(__tstate);
23227 if (PyErr_Occurred()) SWIG_fail;
23228 }
23229 Py_INCREF(Py_None); resultobj = Py_None;
23230 return resultobj;
23231 fail:
23232 return NULL;
23233}
23234
23235
23236static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *self, PyObject *args) {
23237 int argc;
23238 PyObject *argv[6];
23239 int ii;
23240
23241 argc = PyObject_Length(args);
23242 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
23243 argv[ii] = PyTuple_GetItem(args,ii);
23244 }
23245 if ((argc >= 2) && (argc <= 3)) {
23246 int _v;
23247 {
23248 void *ptr;
23249 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23250 _v = 0;
23251 PyErr_Clear();
23252 } else {
23253 _v = 1;
23254 }
23255 }
23256 if (_v) {
23257 {
23258 _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2);
23259 }
23260 if (_v) {
23261 if (argc <= 2) {
23262 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self,args);
23263 }
23264 {
23265 _v = wxPySimple_typecheck(argv[2], wxT("wxSize"), 2);
23266 }
23267 if (_v) {
23268 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self,args);
23269 }
23270 }
23271 }
23272 }
23273 if ((argc >= 3) && (argc <= 5)) {
23274 int _v;
23275 {
23276 void *ptr;
23277 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23278 _v = 0;
23279 PyErr_Clear();
23280 } else {
23281 _v = 1;
23282 }
23283 }
23284 if (_v) {
23285 _v = SWIG_CheckInt(argv[1]);
23286 if (_v) {
23287 _v = SWIG_CheckInt(argv[2]);
23288 if (_v) {
23289 if (argc <= 3) {
23290 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self,args);
23291 }
23292 _v = SWIG_CheckInt(argv[3]);
23293 if (_v) {
23294 if (argc <= 4) {
23295 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self,args);
23296 }
23297 _v = SWIG_CheckInt(argv[4]);
23298 if (_v) {
23299 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self,args);
23300 }
23301 }
23302 }
23303 }
23304 }
23305 }
23306
23307 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23308 return NULL;
23309}
23310
23311
23312static PyObject *_wrap_Window_GetMinWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
23313 PyObject *resultobj;
23314 wxWindow *arg1 = (wxWindow *) 0 ;
23315 int result;
23316 PyObject * obj0 = 0 ;
23317 char *kwnames[] = {
23318 (char *) "self", NULL
23319 };
23320
23321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
23322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23324 {
23325 PyThreadState* __tstate = wxPyBeginAllowThreads();
23326 result = (int)((wxWindow const *)arg1)->GetMinWidth();
23327
23328 wxPyEndAllowThreads(__tstate);
23329 if (PyErr_Occurred()) SWIG_fail;
23330 }
23331 resultobj = SWIG_FromInt((int)result);
23332 return resultobj;
23333 fail:
23334 return NULL;
23335}
23336
23337
23338static PyObject *_wrap_Window_GetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
23339 PyObject *resultobj;
23340 wxWindow *arg1 = (wxWindow *) 0 ;
23341 int result;
23342 PyObject * obj0 = 0 ;
23343 char *kwnames[] = {
23344 (char *) "self", NULL
23345 };
23346
23347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
23348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23350 {
23351 PyThreadState* __tstate = wxPyBeginAllowThreads();
23352 result = (int)((wxWindow const *)arg1)->GetMinHeight();
23353
23354 wxPyEndAllowThreads(__tstate);
23355 if (PyErr_Occurred()) SWIG_fail;
23356 }
23357 resultobj = SWIG_FromInt((int)result);
23358 return resultobj;
23359 fail:
23360 return NULL;
23361}
23362
23363
23364static PyObject *_wrap_Window_GetMaxWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
23365 PyObject *resultobj;
23366 wxWindow *arg1 = (wxWindow *) 0 ;
23367 int result;
23368 PyObject * obj0 = 0 ;
23369 char *kwnames[] = {
23370 (char *) "self", NULL
23371 };
23372
23373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
23374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23376 {
23377 PyThreadState* __tstate = wxPyBeginAllowThreads();
23378 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
23379
23380 wxPyEndAllowThreads(__tstate);
23381 if (PyErr_Occurred()) SWIG_fail;
23382 }
23383 resultobj = SWIG_FromInt((int)result);
23384 return resultobj;
23385 fail:
23386 return NULL;
23387}
23388
23389
23390static PyObject *_wrap_Window_GetMaxHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
23391 PyObject *resultobj;
23392 wxWindow *arg1 = (wxWindow *) 0 ;
23393 int result;
23394 PyObject * obj0 = 0 ;
23395 char *kwnames[] = {
23396 (char *) "self", NULL
23397 };
23398
23399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
23400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23402 {
23403 PyThreadState* __tstate = wxPyBeginAllowThreads();
23404 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
23405
23406 wxPyEndAllowThreads(__tstate);
23407 if (PyErr_Occurred()) SWIG_fail;
23408 }
23409 resultobj = SWIG_FromInt((int)result);
23410 return resultobj;
23411 fail:
23412 return NULL;
23413}
23414
23415
23416static PyObject *_wrap_Window_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23417 PyObject *resultobj;
23418 wxWindow *arg1 = (wxWindow *) 0 ;
23419 wxSize result;
23420 PyObject * obj0 = 0 ;
23421 char *kwnames[] = {
23422 (char *) "self", NULL
23423 };
23424
23425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
23426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23428 {
23429 PyThreadState* __tstate = wxPyBeginAllowThreads();
23430 result = ((wxWindow const *)arg1)->GetMaxSize();
23431
23432 wxPyEndAllowThreads(__tstate);
23433 if (PyErr_Occurred()) SWIG_fail;
23434 }
23435 {
23436 wxSize * resultptr;
23437 resultptr = new wxSize((wxSize &) result);
23438 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23439 }
23440 return resultobj;
23441 fail:
23442 return NULL;
23443}
23444
23445
23446static PyObject *_wrap_Window_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23447 PyObject *resultobj;
23448 wxWindow *arg1 = (wxWindow *) 0 ;
23449 wxSize result;
23450 PyObject * obj0 = 0 ;
23451 char *kwnames[] = {
23452 (char *) "self", NULL
23453 };
23454
23455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinSize",kwnames,&obj0)) goto fail;
23456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23458 {
23459 PyThreadState* __tstate = wxPyBeginAllowThreads();
23460 result = ((wxWindow const *)arg1)->GetMinSize();
23461
23462 wxPyEndAllowThreads(__tstate);
23463 if (PyErr_Occurred()) SWIG_fail;
23464 }
23465 {
23466 wxSize * resultptr;
23467 resultptr = new wxSize((wxSize &) result);
23468 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23469 }
23470 return resultobj;
23471 fail:
23472 return NULL;
23473}
23474
23475
23476static PyObject *_wrap_Window_SetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23477 PyObject *resultobj;
23478 wxWindow *arg1 = (wxWindow *) 0 ;
23479 wxSize *arg2 = 0 ;
23480 wxSize temp2 ;
23481 PyObject * obj0 = 0 ;
23482 PyObject * obj1 = 0 ;
23483 char *kwnames[] = {
23484 (char *) "self",(char *) "size", NULL
23485 };
23486
23487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
23488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23490 {
23491 arg2 = &temp2;
23492 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23493 }
23494 {
23495 PyThreadState* __tstate = wxPyBeginAllowThreads();
23496 (arg1)->SetVirtualSize((wxSize const &)*arg2);
23497
23498 wxPyEndAllowThreads(__tstate);
23499 if (PyErr_Occurred()) SWIG_fail;
23500 }
23501 Py_INCREF(Py_None); resultobj = Py_None;
23502 return resultobj;
23503 fail:
23504 return NULL;
23505}
23506
23507
23508static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
23509 PyObject *resultobj;
23510 wxWindow *arg1 = (wxWindow *) 0 ;
23511 int arg2 ;
23512 int arg3 ;
23513 PyObject * obj0 = 0 ;
23514 PyObject * obj1 = 0 ;
23515 PyObject * obj2 = 0 ;
23516 char *kwnames[] = {
23517 (char *) "self",(char *) "w",(char *) "h", NULL
23518 };
23519
23520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetVirtualSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
23521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23523 arg2 = (int) SWIG_AsInt(obj1);
23524 if (PyErr_Occurred()) SWIG_fail;
23525 arg3 = (int) SWIG_AsInt(obj2);
23526 if (PyErr_Occurred()) SWIG_fail;
23527 {
23528 PyThreadState* __tstate = wxPyBeginAllowThreads();
23529 (arg1)->SetVirtualSize(arg2,arg3);
23530
23531 wxPyEndAllowThreads(__tstate);
23532 if (PyErr_Occurred()) SWIG_fail;
23533 }
23534 Py_INCREF(Py_None); resultobj = Py_None;
23535 return resultobj;
23536 fail:
23537 return NULL;
23538}
23539
23540
23541static PyObject *_wrap_Window_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23542 PyObject *resultobj;
23543 wxWindow *arg1 = (wxWindow *) 0 ;
23544 wxSize result;
23545 PyObject * obj0 = 0 ;
23546 char *kwnames[] = {
23547 (char *) "self", NULL
23548 };
23549
23550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
23551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23553 {
23554 PyThreadState* __tstate = wxPyBeginAllowThreads();
23555 result = ((wxWindow const *)arg1)->GetVirtualSize();
23556
23557 wxPyEndAllowThreads(__tstate);
23558 if (PyErr_Occurred()) SWIG_fail;
23559 }
23560 {
23561 wxSize * resultptr;
23562 resultptr = new wxSize((wxSize &) result);
23563 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23564 }
23565 return resultobj;
23566 fail:
23567 return NULL;
23568}
23569
23570
23571static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
23572 PyObject *resultobj;
23573 wxWindow *arg1 = (wxWindow *) 0 ;
23574 int *arg2 = (int *) 0 ;
23575 int *arg3 = (int *) 0 ;
23576 int temp2 ;
23577 int temp3 ;
23578 PyObject * obj0 = 0 ;
23579 char *kwnames[] = {
23580 (char *) "self", NULL
23581 };
23582
23583 arg2 = &temp2;
23584 arg3 = &temp3;
23585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
23586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23588 {
23589 PyThreadState* __tstate = wxPyBeginAllowThreads();
23590 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
23591
23592 wxPyEndAllowThreads(__tstate);
23593 if (PyErr_Occurred()) SWIG_fail;
23594 }
23595 Py_INCREF(Py_None); resultobj = Py_None;
23596 {
23597 PyObject *o = PyInt_FromLong((long) (*arg2));
23598 resultobj = t_output_helper(resultobj,o);
23599 }
23600 {
23601 PyObject *o = PyInt_FromLong((long) (*arg3));
23602 resultobj = t_output_helper(resultobj,o);
23603 }
23604 return resultobj;
23605 fail:
23606 return NULL;
23607}
23608
23609
23610static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23611 PyObject *resultobj;
23612 wxWindow *arg1 = (wxWindow *) 0 ;
23613 wxSize result;
23614 PyObject * obj0 = 0 ;
23615 char *kwnames[] = {
23616 (char *) "self", NULL
23617 };
23618
23619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
23620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23622 {
23623 PyThreadState* __tstate = wxPyBeginAllowThreads();
23624 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
23625
23626 wxPyEndAllowThreads(__tstate);
23627 if (PyErr_Occurred()) SWIG_fail;
23628 }
23629 {
23630 wxSize * resultptr;
23631 resultptr = new wxSize((wxSize &) result);
23632 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23633 }
23634 return resultobj;
23635 fail:
23636 return NULL;
23637}
23638
23639
23640static PyObject *_wrap_Window_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
23641 PyObject *resultobj;
23642 wxWindow *arg1 = (wxWindow *) 0 ;
23643 bool arg2 = (bool) True ;
23644 bool result;
23645 PyObject * obj0 = 0 ;
23646 PyObject * obj1 = 0 ;
23647 char *kwnames[] = {
23648 (char *) "self",(char *) "show", NULL
23649 };
23650
23651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
23652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23654 if (obj1) {
23655 arg2 = (bool) SWIG_AsBool(obj1);
23656 if (PyErr_Occurred()) SWIG_fail;
23657 }
23658 {
23659 PyThreadState* __tstate = wxPyBeginAllowThreads();
23660 result = (bool)(arg1)->Show(arg2);
23661
23662 wxPyEndAllowThreads(__tstate);
23663 if (PyErr_Occurred()) SWIG_fail;
23664 }
23665 {
23666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23667 }
23668 return resultobj;
23669 fail:
23670 return NULL;
23671}
23672
23673
23674static PyObject *_wrap_Window_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
23675 PyObject *resultobj;
23676 wxWindow *arg1 = (wxWindow *) 0 ;
23677 bool result;
23678 PyObject * obj0 = 0 ;
23679 char *kwnames[] = {
23680 (char *) "self", NULL
23681 };
23682
23683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
23684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23686 {
23687 PyThreadState* __tstate = wxPyBeginAllowThreads();
23688 result = (bool)(arg1)->Hide();
23689
23690 wxPyEndAllowThreads(__tstate);
23691 if (PyErr_Occurred()) SWIG_fail;
23692 }
23693 {
23694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23695 }
23696 return resultobj;
23697 fail:
23698 return NULL;
23699}
23700
23701
23702static PyObject *_wrap_Window_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
23703 PyObject *resultobj;
23704 wxWindow *arg1 = (wxWindow *) 0 ;
23705 bool arg2 = (bool) True ;
23706 bool result;
23707 PyObject * obj0 = 0 ;
23708 PyObject * obj1 = 0 ;
23709 char *kwnames[] = {
23710 (char *) "self",(char *) "enable", NULL
23711 };
23712
23713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
23714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23716 if (obj1) {
23717 arg2 = (bool) SWIG_AsBool(obj1);
23718 if (PyErr_Occurred()) SWIG_fail;
23719 }
23720 {
23721 PyThreadState* __tstate = wxPyBeginAllowThreads();
23722 result = (bool)(arg1)->Enable(arg2);
23723
23724 wxPyEndAllowThreads(__tstate);
23725 if (PyErr_Occurred()) SWIG_fail;
23726 }
23727 {
23728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23729 }
23730 return resultobj;
23731 fail:
23732 return NULL;
23733}
23734
23735
23736static PyObject *_wrap_Window_Disable(PyObject *self, PyObject *args, PyObject *kwargs) {
23737 PyObject *resultobj;
23738 wxWindow *arg1 = (wxWindow *) 0 ;
23739 bool result;
23740 PyObject * obj0 = 0 ;
23741 char *kwnames[] = {
23742 (char *) "self", NULL
23743 };
23744
23745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
23746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23748 {
23749 PyThreadState* __tstate = wxPyBeginAllowThreads();
23750 result = (bool)(arg1)->Disable();
23751
23752 wxPyEndAllowThreads(__tstate);
23753 if (PyErr_Occurred()) SWIG_fail;
23754 }
23755 {
23756 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23757 }
23758 return resultobj;
23759 fail:
23760 return NULL;
23761}
23762
23763
23764static PyObject *_wrap_Window_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
23765 PyObject *resultobj;
23766 wxWindow *arg1 = (wxWindow *) 0 ;
23767 bool result;
23768 PyObject * obj0 = 0 ;
23769 char *kwnames[] = {
23770 (char *) "self", NULL
23771 };
23772
23773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
23774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23776 {
23777 PyThreadState* __tstate = wxPyBeginAllowThreads();
23778 result = (bool)((wxWindow const *)arg1)->IsShown();
23779
23780 wxPyEndAllowThreads(__tstate);
23781 if (PyErr_Occurred()) SWIG_fail;
23782 }
23783 {
23784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23785 }
23786 return resultobj;
23787 fail:
23788 return NULL;
23789}
23790
23791
23792static PyObject *_wrap_Window_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
23793 PyObject *resultobj;
23794 wxWindow *arg1 = (wxWindow *) 0 ;
23795 bool result;
23796 PyObject * obj0 = 0 ;
23797 char *kwnames[] = {
23798 (char *) "self", NULL
23799 };
23800
23801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
23802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23804 {
23805 PyThreadState* __tstate = wxPyBeginAllowThreads();
23806 result = (bool)((wxWindow const *)arg1)->IsEnabled();
23807
23808 wxPyEndAllowThreads(__tstate);
23809 if (PyErr_Occurred()) SWIG_fail;
23810 }
23811 {
23812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23813 }
23814 return resultobj;
23815 fail:
23816 return NULL;
23817}
23818
23819
23820static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
23821 PyObject *resultobj;
23822 wxWindow *arg1 = (wxWindow *) 0 ;
23823 long arg2 ;
23824 PyObject * obj0 = 0 ;
23825 PyObject * obj1 = 0 ;
23826 char *kwnames[] = {
23827 (char *) "self",(char *) "style", NULL
23828 };
23829
23830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
23831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23833 arg2 = (long) SWIG_AsLong(obj1);
23834 if (PyErr_Occurred()) SWIG_fail;
23835 {
23836 PyThreadState* __tstate = wxPyBeginAllowThreads();
23837 (arg1)->SetWindowStyleFlag(arg2);
23838
23839 wxPyEndAllowThreads(__tstate);
23840 if (PyErr_Occurred()) SWIG_fail;
23841 }
23842 Py_INCREF(Py_None); resultobj = Py_None;
23843 return resultobj;
23844 fail:
23845 return NULL;
23846}
23847
23848
23849static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
23850 PyObject *resultobj;
23851 wxWindow *arg1 = (wxWindow *) 0 ;
23852 long result;
23853 PyObject * obj0 = 0 ;
23854 char *kwnames[] = {
23855 (char *) "self", NULL
23856 };
23857
23858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
23859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23861 {
23862 PyThreadState* __tstate = wxPyBeginAllowThreads();
23863 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
23864
23865 wxPyEndAllowThreads(__tstate);
23866 if (PyErr_Occurred()) SWIG_fail;
23867 }
23868 resultobj = SWIG_FromLong((long)result);
23869 return resultobj;
23870 fail:
23871 return NULL;
23872}
23873
23874
23875static PyObject *_wrap_Window_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
23876 PyObject *resultobj;
23877 wxWindow *arg1 = (wxWindow *) 0 ;
23878 int arg2 ;
23879 bool result;
23880 PyObject * obj0 = 0 ;
23881 PyObject * obj1 = 0 ;
23882 char *kwnames[] = {
23883 (char *) "self",(char *) "flag", NULL
23884 };
23885
23886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasFlag",kwnames,&obj0,&obj1)) goto fail;
23887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23889 arg2 = (int) SWIG_AsInt(obj1);
23890 if (PyErr_Occurred()) SWIG_fail;
23891 {
23892 PyThreadState* __tstate = wxPyBeginAllowThreads();
23893 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
23894
23895 wxPyEndAllowThreads(__tstate);
23896 if (PyErr_Occurred()) SWIG_fail;
23897 }
23898 {
23899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23900 }
23901 return resultobj;
23902 fail:
23903 return NULL;
23904}
23905
23906
23907static PyObject *_wrap_Window_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
23908 PyObject *resultobj;
23909 wxWindow *arg1 = (wxWindow *) 0 ;
23910 bool result;
23911 PyObject * obj0 = 0 ;
23912 char *kwnames[] = {
23913 (char *) "self", NULL
23914 };
23915
23916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
23917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23919 {
23920 PyThreadState* __tstate = wxPyBeginAllowThreads();
23921 result = (bool)((wxWindow const *)arg1)->IsRetained();
23922
23923 wxPyEndAllowThreads(__tstate);
23924 if (PyErr_Occurred()) SWIG_fail;
23925 }
23926 {
23927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23928 }
23929 return resultobj;
23930 fail:
23931 return NULL;
23932}
23933
23934
23935static PyObject *_wrap_Window_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
23936 PyObject *resultobj;
23937 wxWindow *arg1 = (wxWindow *) 0 ;
23938 long arg2 ;
23939 PyObject * obj0 = 0 ;
23940 PyObject * obj1 = 0 ;
23941 char *kwnames[] = {
23942 (char *) "self",(char *) "exStyle", NULL
23943 };
23944
23945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetExtraStyle",kwnames,&obj0,&obj1)) goto fail;
23946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23948 arg2 = (long) SWIG_AsLong(obj1);
23949 if (PyErr_Occurred()) SWIG_fail;
23950 {
23951 PyThreadState* __tstate = wxPyBeginAllowThreads();
23952 (arg1)->SetExtraStyle(arg2);
23953
23954 wxPyEndAllowThreads(__tstate);
23955 if (PyErr_Occurred()) SWIG_fail;
23956 }
23957 Py_INCREF(Py_None); resultobj = Py_None;
23958 return resultobj;
23959 fail:
23960 return NULL;
23961}
23962
23963
23964static PyObject *_wrap_Window_GetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
23965 PyObject *resultobj;
23966 wxWindow *arg1 = (wxWindow *) 0 ;
23967 long result;
23968 PyObject * obj0 = 0 ;
23969 char *kwnames[] = {
23970 (char *) "self", NULL
23971 };
23972
23973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
23974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23976 {
23977 PyThreadState* __tstate = wxPyBeginAllowThreads();
23978 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
23979
23980 wxPyEndAllowThreads(__tstate);
23981 if (PyErr_Occurred()) SWIG_fail;
23982 }
23983 resultobj = SWIG_FromLong((long)result);
23984 return resultobj;
23985 fail:
23986 return NULL;
23987}
23988
23989
23990static PyObject *_wrap_Window_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
23991 PyObject *resultobj;
23992 wxWindow *arg1 = (wxWindow *) 0 ;
23993 bool arg2 = (bool) True ;
23994 PyObject * obj0 = 0 ;
23995 PyObject * obj1 = 0 ;
23996 char *kwnames[] = {
23997 (char *) "self",(char *) "modal", NULL
23998 };
23999
24000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
24001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24003 if (obj1) {
24004 arg2 = (bool) SWIG_AsBool(obj1);
24005 if (PyErr_Occurred()) SWIG_fail;
24006 }
24007 {
24008 PyThreadState* __tstate = wxPyBeginAllowThreads();
24009 (arg1)->MakeModal(arg2);
24010
24011 wxPyEndAllowThreads(__tstate);
24012 if (PyErr_Occurred()) SWIG_fail;
24013 }
24014 Py_INCREF(Py_None); resultobj = Py_None;
24015 return resultobj;
24016 fail:
24017 return NULL;
24018}
24019
24020
24021static PyObject *_wrap_Window_SetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
24022 PyObject *resultobj;
24023 wxWindow *arg1 = (wxWindow *) 0 ;
24024 bool arg2 ;
24025 PyObject * obj0 = 0 ;
24026 PyObject * obj1 = 0 ;
24027 char *kwnames[] = {
24028 (char *) "self",(char *) "enableTheme", NULL
24029 };
24030
24031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
24032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24034 arg2 = (bool) SWIG_AsBool(obj1);
24035 if (PyErr_Occurred()) SWIG_fail;
24036 {
24037 PyThreadState* __tstate = wxPyBeginAllowThreads();
24038 (arg1)->SetThemeEnabled(arg2);
24039
24040 wxPyEndAllowThreads(__tstate);
24041 if (PyErr_Occurred()) SWIG_fail;
24042 }
24043 Py_INCREF(Py_None); resultobj = Py_None;
24044 return resultobj;
24045 fail:
24046 return NULL;
24047}
24048
24049
24050static PyObject *_wrap_Window_GetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
24051 PyObject *resultobj;
24052 wxWindow *arg1 = (wxWindow *) 0 ;
24053 bool result;
24054 PyObject * obj0 = 0 ;
24055 char *kwnames[] = {
24056 (char *) "self", NULL
24057 };
24058
24059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
24060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24062 {
24063 PyThreadState* __tstate = wxPyBeginAllowThreads();
24064 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
24065
24066 wxPyEndAllowThreads(__tstate);
24067 if (PyErr_Occurred()) SWIG_fail;
24068 }
24069 {
24070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24071 }
24072 return resultobj;
24073 fail:
24074 return NULL;
24075}
24076
24077
24078static PyObject *_wrap_Window_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24079 PyObject *resultobj;
24080 wxWindow *arg1 = (wxWindow *) 0 ;
24081 PyObject * obj0 = 0 ;
24082 char *kwnames[] = {
24083 (char *) "self", NULL
24084 };
24085
24086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
24087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24089 {
24090 PyThreadState* __tstate = wxPyBeginAllowThreads();
24091 (arg1)->SetFocus();
24092
24093 wxPyEndAllowThreads(__tstate);
24094 if (PyErr_Occurred()) SWIG_fail;
24095 }
24096 Py_INCREF(Py_None); resultobj = Py_None;
24097 return resultobj;
24098 fail:
24099 return NULL;
24100}
24101
24102
24103static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *self, PyObject *args, PyObject *kwargs) {
24104 PyObject *resultobj;
24105 wxWindow *arg1 = (wxWindow *) 0 ;
24106 PyObject * obj0 = 0 ;
24107 char *kwnames[] = {
24108 (char *) "self", NULL
24109 };
24110
24111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
24112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24114 {
24115 PyThreadState* __tstate = wxPyBeginAllowThreads();
24116 (arg1)->SetFocusFromKbd();
24117
24118 wxPyEndAllowThreads(__tstate);
24119 if (PyErr_Occurred()) SWIG_fail;
24120 }
24121 Py_INCREF(Py_None); resultobj = Py_None;
24122 return resultobj;
24123 fail:
24124 return NULL;
24125}
24126
24127
24128static PyObject *_wrap_Window_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24129 PyObject *resultobj;
24130 wxWindow *result;
24131 char *kwnames[] = {
24132 NULL
24133 };
24134
24135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
24136 {
24137 PyThreadState* __tstate = wxPyBeginAllowThreads();
24138 result = (wxWindow *)wxWindow::FindFocus();
24139
24140 wxPyEndAllowThreads(__tstate);
24141 if (PyErr_Occurred()) SWIG_fail;
24142 }
24143 {
24144 resultobj = wxPyMake_wxObject(result);
24145 }
24146 return resultobj;
24147 fail:
24148 return NULL;
24149}
24150
24151
24152static PyObject *_wrap_Window_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24153 PyObject *resultobj;
24154 wxWindow *arg1 = (wxWindow *) 0 ;
24155 bool result;
24156 PyObject * obj0 = 0 ;
24157 char *kwnames[] = {
24158 (char *) "self", NULL
24159 };
24160
24161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
24162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24164 {
24165 PyThreadState* __tstate = wxPyBeginAllowThreads();
24166 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
24167
24168 wxPyEndAllowThreads(__tstate);
24169 if (PyErr_Occurred()) SWIG_fail;
24170 }
24171 {
24172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24173 }
24174 return resultobj;
24175 fail:
24176 return NULL;
24177}
24178
24179
24180static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24181 PyObject *resultobj;
24182 wxWindow *arg1 = (wxWindow *) 0 ;
24183 bool result;
24184 PyObject * obj0 = 0 ;
24185 char *kwnames[] = {
24186 (char *) "self", NULL
24187 };
24188
24189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
24190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24192 {
24193 PyThreadState* __tstate = wxPyBeginAllowThreads();
24194 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
24195
24196 wxPyEndAllowThreads(__tstate);
24197 if (PyErr_Occurred()) SWIG_fail;
24198 }
24199 {
24200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24201 }
24202 return resultobj;
24203 fail:
24204 return NULL;
24205}
24206
24207
24208static PyObject *_wrap_Window_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24209 PyObject *resultobj;
24210 wxWindow *arg1 = (wxWindow *) 0 ;
24211 wxWindow *result;
24212 PyObject * obj0 = 0 ;
24213 char *kwnames[] = {
24214 (char *) "self", NULL
24215 };
24216
24217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
24218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24220 {
24221 PyThreadState* __tstate = wxPyBeginAllowThreads();
24222 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
24223
24224 wxPyEndAllowThreads(__tstate);
24225 if (PyErr_Occurred()) SWIG_fail;
24226 }
24227 {
24228 resultobj = wxPyMake_wxObject(result);
24229 }
24230 return resultobj;
24231 fail:
24232 return NULL;
24233}
24234
24235
24236static PyObject *_wrap_Window_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24237 PyObject *resultobj;
24238 wxWindow *arg1 = (wxWindow *) 0 ;
24239 wxWindow *arg2 = (wxWindow *) 0 ;
24240 wxWindow *result;
24241 PyObject * obj0 = 0 ;
24242 PyObject * obj1 = 0 ;
24243 char *kwnames[] = {
24244 (char *) "self",(char *) "child", NULL
24245 };
24246
24247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
24248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24250 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24252 {
24253 PyThreadState* __tstate = wxPyBeginAllowThreads();
24254 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
24255
24256 wxPyEndAllowThreads(__tstate);
24257 if (PyErr_Occurred()) SWIG_fail;
24258 }
24259 {
24260 resultobj = wxPyMake_wxObject(result);
24261 }
24262 return resultobj;
24263 fail:
24264 return NULL;
24265}
24266
24267
24268static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24269 PyObject *resultobj;
24270 wxWindow *arg1 = (wxWindow *) 0 ;
24271 wxWindow *arg2 = (wxWindow *) 0 ;
24272 PyObject * obj0 = 0 ;
24273 PyObject * obj1 = 0 ;
24274 char *kwnames[] = {
24275 (char *) "self",(char *) "win", NULL
24276 };
24277
24278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
24279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24281 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24283 {
24284 PyThreadState* __tstate = wxPyBeginAllowThreads();
24285 (arg1)->SetTmpDefaultItem(arg2);
24286
24287 wxPyEndAllowThreads(__tstate);
24288 if (PyErr_Occurred()) SWIG_fail;
24289 }
24290 Py_INCREF(Py_None); resultobj = Py_None;
24291 return resultobj;
24292 fail:
24293 return NULL;
24294}
24295
24296
24297static PyObject *_wrap_Window_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24298 PyObject *resultobj;
24299 wxWindow *arg1 = (wxWindow *) 0 ;
24300 PyObject *result;
24301 PyObject * obj0 = 0 ;
24302 char *kwnames[] = {
24303 (char *) "self", NULL
24304 };
24305
24306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
24307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24309 {
24310 PyThreadState* __tstate = wxPyBeginAllowThreads();
24311 result = (PyObject *)wxWindow_GetChildren(arg1);
24312
24313 wxPyEndAllowThreads(__tstate);
24314 if (PyErr_Occurred()) SWIG_fail;
24315 }
24316 resultobj = result;
24317 return resultobj;
24318 fail:
24319 return NULL;
24320}
24321
24322
24323static PyObject *_wrap_Window_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
24324 PyObject *resultobj;
24325 wxWindow *arg1 = (wxWindow *) 0 ;
24326 wxWindow *result;
24327 PyObject * obj0 = 0 ;
24328 char *kwnames[] = {
24329 (char *) "self", NULL
24330 };
24331
24332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
24333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24335 {
24336 PyThreadState* __tstate = wxPyBeginAllowThreads();
24337 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
24338
24339 wxPyEndAllowThreads(__tstate);
24340 if (PyErr_Occurred()) SWIG_fail;
24341 }
24342 {
24343 resultobj = wxPyMake_wxObject(result);
24344 }
24345 return resultobj;
24346 fail:
24347 return NULL;
24348}
24349
24350
24351static PyObject *_wrap_Window_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
24352 PyObject *resultobj;
24353 wxWindow *arg1 = (wxWindow *) 0 ;
24354 wxWindow *result;
24355 PyObject * obj0 = 0 ;
24356 char *kwnames[] = {
24357 (char *) "self", NULL
24358 };
24359
24360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
24361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24363 {
24364 PyThreadState* __tstate = wxPyBeginAllowThreads();
24365 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
24366
24367 wxPyEndAllowThreads(__tstate);
24368 if (PyErr_Occurred()) SWIG_fail;
24369 }
24370 {
24371 resultobj = wxPyMake_wxObject(result);
24372 }
24373 return resultobj;
24374 fail:
24375 return NULL;
24376}
24377
24378
24379static PyObject *_wrap_Window_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
24380 PyObject *resultobj;
24381 wxWindow *arg1 = (wxWindow *) 0 ;
24382 bool result;
24383 PyObject * obj0 = 0 ;
24384 char *kwnames[] = {
24385 (char *) "self", NULL
24386 };
24387
24388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
24389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24391 {
24392 PyThreadState* __tstate = wxPyBeginAllowThreads();
24393 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
24394
24395 wxPyEndAllowThreads(__tstate);
24396 if (PyErr_Occurred()) SWIG_fail;
24397 }
24398 {
24399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24400 }
24401 return resultobj;
24402 fail:
24403 return NULL;
24404}
24405
24406
24407static PyObject *_wrap_Window_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
24408 PyObject *resultobj;
24409 wxWindow *arg1 = (wxWindow *) 0 ;
24410 wxWindow *arg2 = (wxWindow *) 0 ;
24411 bool result;
24412 PyObject * obj0 = 0 ;
24413 PyObject * obj1 = 0 ;
24414 char *kwnames[] = {
24415 (char *) "self",(char *) "newParent", NULL
24416 };
24417
24418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
24419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24421 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24423 {
24424 PyThreadState* __tstate = wxPyBeginAllowThreads();
24425 result = (bool)(arg1)->Reparent(arg2);
24426
24427 wxPyEndAllowThreads(__tstate);
24428 if (PyErr_Occurred()) SWIG_fail;
24429 }
24430 {
24431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24432 }
24433 return resultobj;
24434 fail:
24435 return NULL;
24436}
24437
24438
24439static PyObject *_wrap_Window_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24440 PyObject *resultobj;
24441 wxWindow *arg1 = (wxWindow *) 0 ;
24442 wxWindow *arg2 = (wxWindow *) 0 ;
24443 PyObject * obj0 = 0 ;
24444 PyObject * obj1 = 0 ;
24445 char *kwnames[] = {
24446 (char *) "self",(char *) "child", NULL
24447 };
24448
24449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
24450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24452 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24454 {
24455 PyThreadState* __tstate = wxPyBeginAllowThreads();
24456 (arg1)->AddChild(arg2);
24457
24458 wxPyEndAllowThreads(__tstate);
24459 if (PyErr_Occurred()) SWIG_fail;
24460 }
24461 Py_INCREF(Py_None); resultobj = Py_None;
24462 return resultobj;
24463 fail:
24464 return NULL;
24465}
24466
24467
24468static PyObject *_wrap_Window_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24469 PyObject *resultobj;
24470 wxWindow *arg1 = (wxWindow *) 0 ;
24471 wxWindow *arg2 = (wxWindow *) 0 ;
24472 PyObject * obj0 = 0 ;
24473 PyObject * obj1 = 0 ;
24474 char *kwnames[] = {
24475 (char *) "self",(char *) "child", NULL
24476 };
24477
24478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
24479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24481 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24483 {
24484 PyThreadState* __tstate = wxPyBeginAllowThreads();
24485 (arg1)->RemoveChild(arg2);
24486
24487 wxPyEndAllowThreads(__tstate);
24488 if (PyErr_Occurred()) SWIG_fail;
24489 }
24490 Py_INCREF(Py_None); resultobj = Py_None;
24491 return resultobj;
24492 fail:
24493 return NULL;
24494}
24495
24496
24497static PyObject *_wrap_Window_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
24498 PyObject *resultobj;
24499 wxWindow *arg1 = (wxWindow *) 0 ;
24500 long arg2 ;
24501 wxWindow *result;
24502 PyObject * obj0 = 0 ;
24503 PyObject * obj1 = 0 ;
24504 char *kwnames[] = {
24505 (char *) "self",(char *) "winid", NULL
24506 };
24507
24508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowById",kwnames,&obj0,&obj1)) goto fail;
24509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24511 arg2 = (long) SWIG_AsLong(obj1);
24512 if (PyErr_Occurred()) SWIG_fail;
24513 {
24514 PyThreadState* __tstate = wxPyBeginAllowThreads();
24515 result = (wxWindow *)(arg1)->FindWindow(arg2);
24516
24517 wxPyEndAllowThreads(__tstate);
24518 if (PyErr_Occurred()) SWIG_fail;
24519 }
24520 {
24521 resultobj = wxPyMake_wxObject(result);
24522 }
24523 return resultobj;
24524 fail:
24525 return NULL;
24526}
24527
24528
24529static PyObject *_wrap_Window_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
24530 PyObject *resultobj;
24531 wxWindow *arg1 = (wxWindow *) 0 ;
24532 wxString *arg2 = 0 ;
24533 wxWindow *result;
24534 bool temp2 = False ;
24535 PyObject * obj0 = 0 ;
24536 PyObject * obj1 = 0 ;
24537 char *kwnames[] = {
24538 (char *) "self",(char *) "name", NULL
24539 };
24540
24541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
24542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24544 {
24545 arg2 = wxString_in_helper(obj1);
24546 if (arg2 == NULL) SWIG_fail;
24547 temp2 = True;
24548 }
24549 {
24550 PyThreadState* __tstate = wxPyBeginAllowThreads();
24551 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
24552
24553 wxPyEndAllowThreads(__tstate);
24554 if (PyErr_Occurred()) SWIG_fail;
24555 }
24556 {
24557 resultobj = wxPyMake_wxObject(result);
24558 }
24559 {
24560 if (temp2)
24561 delete arg2;
24562 }
24563 return resultobj;
24564 fail:
24565 {
24566 if (temp2)
24567 delete arg2;
24568 }
24569 return NULL;
24570}
24571
24572
24573static PyObject *_wrap_Window_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24574 PyObject *resultobj;
24575 wxWindow *arg1 = (wxWindow *) 0 ;
24576 wxEvtHandler *result;
24577 PyObject * obj0 = 0 ;
24578 char *kwnames[] = {
24579 (char *) "self", NULL
24580 };
24581
24582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
24583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24585 {
24586 PyThreadState* __tstate = wxPyBeginAllowThreads();
24587 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
24588
24589 wxPyEndAllowThreads(__tstate);
24590 if (PyErr_Occurred()) SWIG_fail;
24591 }
24592 {
24593 resultobj = wxPyMake_wxObject(result);
24594 }
24595 return resultobj;
24596 fail:
24597 return NULL;
24598}
24599
24600
24601static PyObject *_wrap_Window_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24602 PyObject *resultobj;
24603 wxWindow *arg1 = (wxWindow *) 0 ;
24604 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24605 PyObject * obj0 = 0 ;
24606 PyObject * obj1 = 0 ;
24607 char *kwnames[] = {
24608 (char *) "self",(char *) "handler", NULL
24609 };
24610
24611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
24612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24614 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24616 {
24617 PyThreadState* __tstate = wxPyBeginAllowThreads();
24618 (arg1)->SetEventHandler(arg2);
24619
24620 wxPyEndAllowThreads(__tstate);
24621 if (PyErr_Occurred()) SWIG_fail;
24622 }
24623 Py_INCREF(Py_None); resultobj = Py_None;
24624 return resultobj;
24625 fail:
24626 return NULL;
24627}
24628
24629
24630static PyObject *_wrap_Window_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24631 PyObject *resultobj;
24632 wxWindow *arg1 = (wxWindow *) 0 ;
24633 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24634 PyObject * obj0 = 0 ;
24635 PyObject * obj1 = 0 ;
24636 char *kwnames[] = {
24637 (char *) "self",(char *) "handler", NULL
24638 };
24639
24640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
24641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24643 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24645 {
24646 PyThreadState* __tstate = wxPyBeginAllowThreads();
24647 (arg1)->PushEventHandler(arg2);
24648
24649 wxPyEndAllowThreads(__tstate);
24650 if (PyErr_Occurred()) SWIG_fail;
24651 }
24652 Py_INCREF(Py_None); resultobj = Py_None;
24653 return resultobj;
24654 fail:
24655 return NULL;
24656}
24657
24658
24659static PyObject *_wrap_Window_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24660 PyObject *resultobj;
24661 wxWindow *arg1 = (wxWindow *) 0 ;
24662 bool arg2 = (bool) False ;
24663 wxEvtHandler *result;
24664 PyObject * obj0 = 0 ;
24665 PyObject * obj1 = 0 ;
24666 char *kwnames[] = {
24667 (char *) "self",(char *) "deleteHandler", NULL
24668 };
24669
24670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
24671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24673 if (obj1) {
24674 arg2 = (bool) SWIG_AsBool(obj1);
24675 if (PyErr_Occurred()) SWIG_fail;
24676 }
24677 {
24678 PyThreadState* __tstate = wxPyBeginAllowThreads();
24679 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
24680
24681 wxPyEndAllowThreads(__tstate);
24682 if (PyErr_Occurred()) SWIG_fail;
24683 }
24684 {
24685 resultobj = wxPyMake_wxObject(result);
24686 }
24687 return resultobj;
24688 fail:
24689 return NULL;
24690}
24691
24692
24693static PyObject *_wrap_Window_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24694 PyObject *resultobj;
24695 wxWindow *arg1 = (wxWindow *) 0 ;
24696 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24697 bool result;
24698 PyObject * obj0 = 0 ;
24699 PyObject * obj1 = 0 ;
24700 char *kwnames[] = {
24701 (char *) "self",(char *) "handler", NULL
24702 };
24703
24704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
24705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24707 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24709 {
24710 PyThreadState* __tstate = wxPyBeginAllowThreads();
24711 result = (bool)(arg1)->RemoveEventHandler(arg2);
24712
24713 wxPyEndAllowThreads(__tstate);
24714 if (PyErr_Occurred()) SWIG_fail;
24715 }
24716 {
24717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24718 }
24719 return resultobj;
24720 fail:
24721 return NULL;
24722}
24723
24724
24725static PyObject *_wrap_Window_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
24726 PyObject *resultobj;
24727 wxWindow *arg1 = (wxWindow *) 0 ;
24728 wxValidator *arg2 = 0 ;
24729 PyObject * obj0 = 0 ;
24730 PyObject * obj1 = 0 ;
24731 char *kwnames[] = {
24732 (char *) "self",(char *) "validator", NULL
24733 };
24734
24735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
24736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24738 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxValidator,
24739 SWIG_POINTER_EXCEPTION | 0)) == -1)
24740 SWIG_fail;
24741 if (arg2 == NULL) {
24742 PyErr_SetString(PyExc_TypeError,"null reference");
24743 SWIG_fail;
24744 }
24745 {
24746 PyThreadState* __tstate = wxPyBeginAllowThreads();
24747 (arg1)->SetValidator((wxValidator const &)*arg2);
24748
24749 wxPyEndAllowThreads(__tstate);
24750 if (PyErr_Occurred()) SWIG_fail;
24751 }
24752 Py_INCREF(Py_None); resultobj = Py_None;
24753 return resultobj;
24754 fail:
24755 return NULL;
24756}
24757
24758
24759static PyObject *_wrap_Window_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
24760 PyObject *resultobj;
24761 wxWindow *arg1 = (wxWindow *) 0 ;
24762 wxValidator *result;
24763 PyObject * obj0 = 0 ;
24764 char *kwnames[] = {
24765 (char *) "self", NULL
24766 };
24767
24768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
24769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24771 {
24772 PyThreadState* __tstate = wxPyBeginAllowThreads();
24773 result = (wxValidator *)(arg1)->GetValidator();
24774
24775 wxPyEndAllowThreads(__tstate);
24776 if (PyErr_Occurred()) SWIG_fail;
24777 }
24778 {
24779 resultobj = wxPyMake_wxObject(result);
24780 }
24781 return resultobj;
24782 fail:
24783 return NULL;
24784}
24785
24786
24787static PyObject *_wrap_Window_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24788 PyObject *resultobj;
24789 wxWindow *arg1 = (wxWindow *) 0 ;
24790 bool result;
24791 PyObject * obj0 = 0 ;
24792 char *kwnames[] = {
24793 (char *) "self", NULL
24794 };
24795
24796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Validate",kwnames,&obj0)) goto fail;
24797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24799 {
24800 PyThreadState* __tstate = wxPyBeginAllowThreads();
24801 result = (bool)(arg1)->Validate();
24802
24803 wxPyEndAllowThreads(__tstate);
24804 if (PyErr_Occurred()) SWIG_fail;
24805 }
24806 {
24807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24808 }
24809 return resultobj;
24810 fail:
24811 return NULL;
24812}
24813
24814
24815static PyObject *_wrap_Window_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24816 PyObject *resultobj;
24817 wxWindow *arg1 = (wxWindow *) 0 ;
24818 bool result;
24819 PyObject * obj0 = 0 ;
24820 char *kwnames[] = {
24821 (char *) "self", NULL
24822 };
24823
24824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataToWindow",kwnames,&obj0)) goto fail;
24825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24827 {
24828 PyThreadState* __tstate = wxPyBeginAllowThreads();
24829 result = (bool)(arg1)->TransferDataToWindow();
24830
24831 wxPyEndAllowThreads(__tstate);
24832 if (PyErr_Occurred()) SWIG_fail;
24833 }
24834 {
24835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24836 }
24837 return resultobj;
24838 fail:
24839 return NULL;
24840}
24841
24842
24843static PyObject *_wrap_Window_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24844 PyObject *resultobj;
24845 wxWindow *arg1 = (wxWindow *) 0 ;
24846 bool result;
24847 PyObject * obj0 = 0 ;
24848 char *kwnames[] = {
24849 (char *) "self", NULL
24850 };
24851
24852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataFromWindow",kwnames,&obj0)) goto fail;
24853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24855 {
24856 PyThreadState* __tstate = wxPyBeginAllowThreads();
24857 result = (bool)(arg1)->TransferDataFromWindow();
24858
24859 wxPyEndAllowThreads(__tstate);
24860 if (PyErr_Occurred()) SWIG_fail;
24861 }
24862 {
24863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24864 }
24865 return resultobj;
24866 fail:
24867 return NULL;
24868}
24869
24870
24871static PyObject *_wrap_Window_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24872 PyObject *resultobj;
24873 wxWindow *arg1 = (wxWindow *) 0 ;
24874 PyObject * obj0 = 0 ;
24875 char *kwnames[] = {
24876 (char *) "self", NULL
24877 };
24878
24879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InitDialog",kwnames,&obj0)) goto fail;
24880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24882 {
24883 PyThreadState* __tstate = wxPyBeginAllowThreads();
24884 (arg1)->InitDialog();
24885
24886 wxPyEndAllowThreads(__tstate);
24887 if (PyErr_Occurred()) SWIG_fail;
24888 }
24889 Py_INCREF(Py_None); resultobj = Py_None;
24890 return resultobj;
24891 fail:
24892 return NULL;
24893}
24894
24895
24896static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
24897 PyObject *resultobj;
24898 wxWindow *arg1 = (wxWindow *) 0 ;
24899 wxAcceleratorTable *arg2 = 0 ;
24900 PyObject * obj0 = 0 ;
24901 PyObject * obj1 = 0 ;
24902 char *kwnames[] = {
24903 (char *) "self",(char *) "accel", NULL
24904 };
24905
24906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
24907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24909 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorTable,
24910 SWIG_POINTER_EXCEPTION | 0)) == -1)
24911 SWIG_fail;
24912 if (arg2 == NULL) {
24913 PyErr_SetString(PyExc_TypeError,"null reference");
24914 SWIG_fail;
24915 }
24916 {
24917 PyThreadState* __tstate = wxPyBeginAllowThreads();
24918 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
24919
24920 wxPyEndAllowThreads(__tstate);
24921 if (PyErr_Occurred()) SWIG_fail;
24922 }
24923 Py_INCREF(Py_None); resultobj = Py_None;
24924 return resultobj;
24925 fail:
24926 return NULL;
24927}
24928
24929
24930static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
24931 PyObject *resultobj;
24932 wxWindow *arg1 = (wxWindow *) 0 ;
24933 wxAcceleratorTable *result;
24934 PyObject * obj0 = 0 ;
24935 char *kwnames[] = {
24936 (char *) "self", NULL
24937 };
24938
24939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
24940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24942 {
24943 PyThreadState* __tstate = wxPyBeginAllowThreads();
24944 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
24945
24946 wxPyEndAllowThreads(__tstate);
24947 if (PyErr_Occurred()) SWIG_fail;
24948 }
24949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 0);
24950 return resultobj;
24951 fail:
24952 return NULL;
24953}
24954
24955
24956static PyObject *_wrap_Window_RegisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
24957 PyObject *resultobj;
24958 wxWindow *arg1 = (wxWindow *) 0 ;
24959 int arg2 ;
24960 int arg3 ;
24961 int arg4 ;
24962 bool result;
24963 PyObject * obj0 = 0 ;
24964 PyObject * obj1 = 0 ;
24965 PyObject * obj2 = 0 ;
24966 PyObject * obj3 = 0 ;
24967 char *kwnames[] = {
24968 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
24969 };
24970
24971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_RegisterHotKey",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24974 arg2 = (int) SWIG_AsInt(obj1);
24975 if (PyErr_Occurred()) SWIG_fail;
24976 arg3 = (int) SWIG_AsInt(obj2);
24977 if (PyErr_Occurred()) SWIG_fail;
24978 arg4 = (int) SWIG_AsInt(obj3);
24979 if (PyErr_Occurred()) SWIG_fail;
24980 {
24981 PyThreadState* __tstate = wxPyBeginAllowThreads();
24982 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
24983
24984 wxPyEndAllowThreads(__tstate);
24985 if (PyErr_Occurred()) SWIG_fail;
24986 }
24987 {
24988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24989 }
24990 return resultobj;
24991 fail:
24992 return NULL;
24993}
24994
24995
24996static PyObject *_wrap_Window_UnregisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
24997 PyObject *resultobj;
24998 wxWindow *arg1 = (wxWindow *) 0 ;
24999 int arg2 ;
25000 bool result;
25001 PyObject * obj0 = 0 ;
25002 PyObject * obj1 = 0 ;
25003 char *kwnames[] = {
25004 (char *) "self",(char *) "hotkeyId", NULL
25005 };
25006
25007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_UnregisterHotKey",kwnames,&obj0,&obj1)) goto fail;
25008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25010 arg2 = (int) SWIG_AsInt(obj1);
25011 if (PyErr_Occurred()) SWIG_fail;
25012 {
25013 PyThreadState* __tstate = wxPyBeginAllowThreads();
25014 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
25015
25016 wxPyEndAllowThreads(__tstate);
25017 if (PyErr_Occurred()) SWIG_fail;
25018 }
25019 {
25020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25021 }
25022 return resultobj;
25023 fail:
25024 return NULL;
25025}
25026
25027
25028static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
25029 PyObject *resultobj;
25030 wxWindow *arg1 = (wxWindow *) 0 ;
25031 wxPoint *arg2 = 0 ;
25032 wxPoint result;
25033 wxPoint temp2 ;
25034 PyObject * obj0 = 0 ;
25035 PyObject * obj1 = 0 ;
25036 char *kwnames[] = {
25037 (char *) "self",(char *) "pt", NULL
25038 };
25039
25040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
25041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25043 {
25044 arg2 = &temp2;
25045 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25046 }
25047 {
25048 PyThreadState* __tstate = wxPyBeginAllowThreads();
25049 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
25050
25051 wxPyEndAllowThreads(__tstate);
25052 if (PyErr_Occurred()) SWIG_fail;
25053 }
25054 {
25055 wxPoint * resultptr;
25056 resultptr = new wxPoint((wxPoint &) result);
25057 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
25058 }
25059 return resultobj;
25060 fail:
25061 return NULL;
25062}
25063
25064
25065static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
25066 PyObject *resultobj;
25067 wxWindow *arg1 = (wxWindow *) 0 ;
25068 wxSize *arg2 = 0 ;
25069 wxSize result;
25070 wxSize temp2 ;
25071 PyObject * obj0 = 0 ;
25072 PyObject * obj1 = 0 ;
25073 char *kwnames[] = {
25074 (char *) "self",(char *) "sz", NULL
25075 };
25076
25077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
25078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25080 {
25081 arg2 = &temp2;
25082 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25083 }
25084 {
25085 PyThreadState* __tstate = wxPyBeginAllowThreads();
25086 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
25087
25088 wxPyEndAllowThreads(__tstate);
25089 if (PyErr_Occurred()) SWIG_fail;
25090 }
25091 {
25092 wxSize * resultptr;
25093 resultptr = new wxSize((wxSize &) result);
25094 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
25095 }
25096 return resultobj;
25097 fail:
25098 return NULL;
25099}
25100
25101
25102static PyObject *_wrap_Window_DLG_PNT(PyObject *self, PyObject *args, PyObject *kwargs) {
25103 PyObject *resultobj;
25104 wxWindow *arg1 = (wxWindow *) 0 ;
25105 wxPoint *arg2 = 0 ;
25106 wxPoint result;
25107 wxPoint temp2 ;
25108 PyObject * obj0 = 0 ;
25109 PyObject * obj1 = 0 ;
25110 char *kwnames[] = {
25111 (char *) "self",(char *) "pt", NULL
25112 };
25113
25114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
25115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25117 {
25118 arg2 = &temp2;
25119 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25120 }
25121 {
25122 PyThreadState* __tstate = wxPyBeginAllowThreads();
25123 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
25124
25125 wxPyEndAllowThreads(__tstate);
25126 if (PyErr_Occurred()) SWIG_fail;
25127 }
25128 {
25129 wxPoint * resultptr;
25130 resultptr = new wxPoint((wxPoint &) result);
25131 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
25132 }
25133 return resultobj;
25134 fail:
25135 return NULL;
25136}
25137
25138
25139static PyObject *_wrap_Window_DLG_SZE(PyObject *self, PyObject *args, PyObject *kwargs) {
25140 PyObject *resultobj;
25141 wxWindow *arg1 = (wxWindow *) 0 ;
25142 wxSize *arg2 = 0 ;
25143 wxSize result;
25144 wxSize temp2 ;
25145 PyObject * obj0 = 0 ;
25146 PyObject * obj1 = 0 ;
25147 char *kwnames[] = {
25148 (char *) "self",(char *) "sz", NULL
25149 };
25150
25151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
25152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25154 {
25155 arg2 = &temp2;
25156 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25157 }
25158 {
25159 PyThreadState* __tstate = wxPyBeginAllowThreads();
25160 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
25161
25162 wxPyEndAllowThreads(__tstate);
25163 if (PyErr_Occurred()) SWIG_fail;
25164 }
25165 {
25166 wxSize * resultptr;
25167 resultptr = new wxSize((wxSize &) result);
25168 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
25169 }
25170 return resultobj;
25171 fail:
25172 return NULL;
25173}
25174
25175
25176static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25177 PyObject *resultobj;
25178 wxWindow *arg1 = (wxWindow *) 0 ;
25179 wxPoint *arg2 = 0 ;
25180 wxPoint result;
25181 wxPoint temp2 ;
25182 PyObject * obj0 = 0 ;
25183 PyObject * obj1 = 0 ;
25184 char *kwnames[] = {
25185 (char *) "self",(char *) "pt", NULL
25186 };
25187
25188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
25189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25191 {
25192 arg2 = &temp2;
25193 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25194 }
25195 {
25196 PyThreadState* __tstate = wxPyBeginAllowThreads();
25197 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
25198
25199 wxPyEndAllowThreads(__tstate);
25200 if (PyErr_Occurred()) SWIG_fail;
25201 }
25202 {
25203 wxPoint * resultptr;
25204 resultptr = new wxPoint((wxPoint &) result);
25205 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
25206 }
25207 return resultobj;
25208 fail:
25209 return NULL;
25210}
25211
25212
25213static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25214 PyObject *resultobj;
25215 wxWindow *arg1 = (wxWindow *) 0 ;
25216 wxSize *arg2 = 0 ;
25217 wxSize result;
25218 wxSize temp2 ;
25219 PyObject * obj0 = 0 ;
25220 PyObject * obj1 = 0 ;
25221 char *kwnames[] = {
25222 (char *) "self",(char *) "sz", NULL
25223 };
25224
25225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
25226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25228 {
25229 arg2 = &temp2;
25230 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25231 }
25232 {
25233 PyThreadState* __tstate = wxPyBeginAllowThreads();
25234 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
25235
25236 wxPyEndAllowThreads(__tstate);
25237 if (PyErr_Occurred()) SWIG_fail;
25238 }
25239 {
25240 wxSize * resultptr;
25241 resultptr = new wxSize((wxSize &) result);
25242 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
25243 }
25244 return resultobj;
25245 fail:
25246 return NULL;
25247}
25248
25249
25250static PyObject *_wrap_Window_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
25251 PyObject *resultobj;
25252 wxWindow *arg1 = (wxWindow *) 0 ;
25253 int arg2 ;
25254 int arg3 ;
25255 PyObject * obj0 = 0 ;
25256 PyObject * obj1 = 0 ;
25257 PyObject * obj2 = 0 ;
25258 char *kwnames[] = {
25259 (char *) "self",(char *) "x",(char *) "y", NULL
25260 };
25261
25262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_WarpPointer",kwnames,&obj0,&obj1,&obj2)) goto fail;
25263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25265 arg2 = (int) SWIG_AsInt(obj1);
25266 if (PyErr_Occurred()) SWIG_fail;
25267 arg3 = (int) SWIG_AsInt(obj2);
25268 if (PyErr_Occurred()) SWIG_fail;
25269 {
25270 PyThreadState* __tstate = wxPyBeginAllowThreads();
25271 (arg1)->WarpPointer(arg2,arg3);
25272
25273 wxPyEndAllowThreads(__tstate);
25274 if (PyErr_Occurred()) SWIG_fail;
25275 }
25276 Py_INCREF(Py_None); resultobj = Py_None;
25277 return resultobj;
25278 fail:
25279 return NULL;
25280}
25281
25282
25283static PyObject *_wrap_Window_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
25284 PyObject *resultobj;
25285 wxWindow *arg1 = (wxWindow *) 0 ;
25286 PyObject * obj0 = 0 ;
25287 char *kwnames[] = {
25288 (char *) "self", NULL
25289 };
25290
25291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
25292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25294 {
25295 PyThreadState* __tstate = wxPyBeginAllowThreads();
25296 (arg1)->CaptureMouse();
25297
25298 wxPyEndAllowThreads(__tstate);
25299 if (PyErr_Occurred()) SWIG_fail;
25300 }
25301 Py_INCREF(Py_None); resultobj = Py_None;
25302 return resultobj;
25303 fail:
25304 return NULL;
25305}
25306
25307
25308static PyObject *_wrap_Window_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
25309 PyObject *resultobj;
25310 wxWindow *arg1 = (wxWindow *) 0 ;
25311 PyObject * obj0 = 0 ;
25312 char *kwnames[] = {
25313 (char *) "self", NULL
25314 };
25315
25316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
25317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25319 {
25320 PyThreadState* __tstate = wxPyBeginAllowThreads();
25321 (arg1)->ReleaseMouse();
25322
25323 wxPyEndAllowThreads(__tstate);
25324 if (PyErr_Occurred()) SWIG_fail;
25325 }
25326 Py_INCREF(Py_None); resultobj = Py_None;
25327 return resultobj;
25328 fail:
25329 return NULL;
25330}
25331
25332
25333static PyObject *_wrap_Window_GetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
25334 PyObject *resultobj;
25335 wxWindow *result;
25336 char *kwnames[] = {
25337 NULL
25338 };
25339
25340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
25341 {
25342 PyThreadState* __tstate = wxPyBeginAllowThreads();
25343 result = (wxWindow *)wxWindow::GetCapture();
25344
25345 wxPyEndAllowThreads(__tstate);
25346 if (PyErr_Occurred()) SWIG_fail;
25347 }
25348 {
25349 resultobj = wxPyMake_wxObject(result);
25350 }
25351 return resultobj;
25352 fail:
25353 return NULL;
25354}
25355
25356
25357static PyObject *_wrap_Window_HasCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
25358 PyObject *resultobj;
25359 wxWindow *arg1 = (wxWindow *) 0 ;
25360 bool result;
25361 PyObject * obj0 = 0 ;
25362 char *kwnames[] = {
25363 (char *) "self", NULL
25364 };
25365
25366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
25367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25369 {
25370 PyThreadState* __tstate = wxPyBeginAllowThreads();
25371 result = (bool)((wxWindow const *)arg1)->HasCapture();
25372
25373 wxPyEndAllowThreads(__tstate);
25374 if (PyErr_Occurred()) SWIG_fail;
25375 }
25376 {
25377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25378 }
25379 return resultobj;
25380 fail:
25381 return NULL;
25382}
25383
25384
25385static PyObject *_wrap_Window_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
25386 PyObject *resultobj;
25387 wxWindow *arg1 = (wxWindow *) 0 ;
25388 bool arg2 = (bool) True ;
25389 wxRect *arg3 = (wxRect *) NULL ;
25390 PyObject * obj0 = 0 ;
25391 PyObject * obj1 = 0 ;
25392 PyObject * obj2 = 0 ;
25393 char *kwnames[] = {
25394 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25395 };
25396
25397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
25398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25400 if (obj1) {
25401 arg2 = (bool) SWIG_AsBool(obj1);
25402 if (PyErr_Occurred()) SWIG_fail;
25403 }
25404 if (obj2) {
25405 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
25406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25407 }
25408 {
25409 PyThreadState* __tstate = wxPyBeginAllowThreads();
25410 (arg1)->Refresh(arg2,(wxRect const *)arg3);
25411
25412 wxPyEndAllowThreads(__tstate);
25413 if (PyErr_Occurred()) SWIG_fail;
25414 }
25415 Py_INCREF(Py_None); resultobj = Py_None;
25416 return resultobj;
25417 fail:
25418 return NULL;
25419}
25420
25421
25422static PyObject *_wrap_Window_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25423 PyObject *resultobj;
25424 wxWindow *arg1 = (wxWindow *) 0 ;
25425 wxRect *arg2 = 0 ;
25426 wxRect temp2 ;
25427 PyObject * obj0 = 0 ;
25428 PyObject * obj1 = 0 ;
25429 char *kwnames[] = {
25430 (char *) "self",(char *) "rect", NULL
25431 };
25432
25433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RefreshRect",kwnames,&obj0,&obj1)) goto fail;
25434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25436 {
25437 arg2 = &temp2;
25438 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
25439 }
25440 {
25441 PyThreadState* __tstate = wxPyBeginAllowThreads();
25442 (arg1)->RefreshRect((wxRect const &)*arg2);
25443
25444 wxPyEndAllowThreads(__tstate);
25445 if (PyErr_Occurred()) SWIG_fail;
25446 }
25447 Py_INCREF(Py_None); resultobj = Py_None;
25448 return resultobj;
25449 fail:
25450 return NULL;
25451}
25452
25453
25454static PyObject *_wrap_Window_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
25455 PyObject *resultobj;
25456 wxWindow *arg1 = (wxWindow *) 0 ;
25457 PyObject * obj0 = 0 ;
25458 char *kwnames[] = {
25459 (char *) "self", NULL
25460 };
25461
25462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
25463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25465 {
25466 PyThreadState* __tstate = wxPyBeginAllowThreads();
25467 (arg1)->Update();
25468
25469 wxPyEndAllowThreads(__tstate);
25470 if (PyErr_Occurred()) SWIG_fail;
25471 }
25472 Py_INCREF(Py_None); resultobj = Py_None;
25473 return resultobj;
25474 fail:
25475 return NULL;
25476}
25477
25478
25479static PyObject *_wrap_Window_ClearBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
25480 PyObject *resultobj;
25481 wxWindow *arg1 = (wxWindow *) 0 ;
25482 PyObject * obj0 = 0 ;
25483 char *kwnames[] = {
25484 (char *) "self", NULL
25485 };
25486
25487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
25488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25490 {
25491 PyThreadState* __tstate = wxPyBeginAllowThreads();
25492 (arg1)->ClearBackground();
25493
25494 wxPyEndAllowThreads(__tstate);
25495 if (PyErr_Occurred()) SWIG_fail;
25496 }
25497 Py_INCREF(Py_None); resultobj = Py_None;
25498 return resultobj;
25499 fail:
25500 return NULL;
25501}
25502
25503
25504static PyObject *_wrap_Window_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
25505 PyObject *resultobj;
25506 wxWindow *arg1 = (wxWindow *) 0 ;
25507 PyObject * obj0 = 0 ;
25508 char *kwnames[] = {
25509 (char *) "self", NULL
25510 };
25511
25512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
25513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25515 {
25516 PyThreadState* __tstate = wxPyBeginAllowThreads();
25517 (arg1)->Freeze();
25518
25519 wxPyEndAllowThreads(__tstate);
25520 if (PyErr_Occurred()) SWIG_fail;
25521 }
25522 Py_INCREF(Py_None); resultobj = Py_None;
25523 return resultobj;
25524 fail:
25525 return NULL;
25526}
25527
25528
25529static PyObject *_wrap_Window_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
25530 PyObject *resultobj;
25531 wxWindow *arg1 = (wxWindow *) 0 ;
25532 PyObject * obj0 = 0 ;
25533 char *kwnames[] = {
25534 (char *) "self", NULL
25535 };
25536
25537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
25538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25540 {
25541 PyThreadState* __tstate = wxPyBeginAllowThreads();
25542 (arg1)->Thaw();
25543
25544 wxPyEndAllowThreads(__tstate);
25545 if (PyErr_Occurred()) SWIG_fail;
25546 }
25547 Py_INCREF(Py_None); resultobj = Py_None;
25548 return resultobj;
25549 fail:
25550 return NULL;
25551}
25552
25553
25554static PyObject *_wrap_Window_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
25555 PyObject *resultobj;
25556 wxWindow *arg1 = (wxWindow *) 0 ;
25557 wxDC *arg2 = 0 ;
25558 PyObject * obj0 = 0 ;
25559 PyObject * obj1 = 0 ;
25560 char *kwnames[] = {
25561 (char *) "self",(char *) "dc", NULL
25562 };
25563
25564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
25565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25567 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25568 SWIG_POINTER_EXCEPTION | 0)) == -1)
25569 SWIG_fail;
25570 if (arg2 == NULL) {
25571 PyErr_SetString(PyExc_TypeError,"null reference");
25572 SWIG_fail;
25573 }
25574 {
25575 PyThreadState* __tstate = wxPyBeginAllowThreads();
25576 (arg1)->PrepareDC(*arg2);
25577
25578 wxPyEndAllowThreads(__tstate);
25579 if (PyErr_Occurred()) SWIG_fail;
25580 }
25581 Py_INCREF(Py_None); resultobj = Py_None;
25582 return resultobj;
25583 fail:
25584 return NULL;
25585}
25586
25587
25588static PyObject *_wrap_Window_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
25589 PyObject *resultobj;
25590 wxWindow *arg1 = (wxWindow *) 0 ;
25591 wxRegion *result;
25592 PyObject * obj0 = 0 ;
25593 char *kwnames[] = {
25594 (char *) "self", NULL
25595 };
25596
25597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
25598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25600 {
25601 PyThreadState* __tstate = wxPyBeginAllowThreads();
25602 {
25603 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
25604 result = (wxRegion *) &_result_ref;
25605 }
25606
25607 wxPyEndAllowThreads(__tstate);
25608 if (PyErr_Occurred()) SWIG_fail;
25609 }
25610 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 0);
25611 return resultobj;
25612 fail:
25613 return NULL;
25614}
25615
25616
25617static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25618 PyObject *resultobj;
25619 wxWindow *arg1 = (wxWindow *) 0 ;
25620 wxRect result;
25621 PyObject * obj0 = 0 ;
25622 char *kwnames[] = {
25623 (char *) "self", NULL
25624 };
25625
25626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
25627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25629 {
25630 PyThreadState* __tstate = wxPyBeginAllowThreads();
25631 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
25632
25633 wxPyEndAllowThreads(__tstate);
25634 if (PyErr_Occurred()) SWIG_fail;
25635 }
25636 {
25637 wxRect * resultptr;
25638 resultptr = new wxRect((wxRect &) result);
25639 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
25640 }
25641 return resultobj;
25642 fail:
25643 return NULL;
25644}
25645
25646
25647static PyObject *_wrap_Window_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
25648 PyObject *resultobj;
25649 wxWindow *arg1 = (wxWindow *) 0 ;
25650 int arg2 ;
25651 int arg3 ;
25652 int arg4 = (int) 1 ;
25653 int arg5 = (int) 1 ;
25654 bool result;
25655 PyObject * obj0 = 0 ;
25656 PyObject * obj1 = 0 ;
25657 PyObject * obj2 = 0 ;
25658 PyObject * obj3 = 0 ;
25659 PyObject * obj4 = 0 ;
25660 char *kwnames[] = {
25661 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25662 };
25663
25664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_IsExposed",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25667 arg2 = (int) SWIG_AsInt(obj1);
25668 if (PyErr_Occurred()) SWIG_fail;
25669 arg3 = (int) SWIG_AsInt(obj2);
25670 if (PyErr_Occurred()) SWIG_fail;
25671 if (obj3) {
25672 arg4 = (int) SWIG_AsInt(obj3);
25673 if (PyErr_Occurred()) SWIG_fail;
25674 }
25675 if (obj4) {
25676 arg5 = (int) SWIG_AsInt(obj4);
25677 if (PyErr_Occurred()) SWIG_fail;
25678 }
25679 {
25680 PyThreadState* __tstate = wxPyBeginAllowThreads();
25681 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
25682
25683 wxPyEndAllowThreads(__tstate);
25684 if (PyErr_Occurred()) SWIG_fail;
25685 }
25686 {
25687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25688 }
25689 return resultobj;
25690 fail:
25691 return NULL;
25692}
25693
25694
25695static PyObject *_wrap_Window_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
25696 PyObject *resultobj;
25697 wxWindow *arg1 = (wxWindow *) 0 ;
25698 wxPoint *arg2 = 0 ;
25699 bool result;
25700 wxPoint temp2 ;
25701 PyObject * obj0 = 0 ;
25702 PyObject * obj1 = 0 ;
25703 char *kwnames[] = {
25704 (char *) "self",(char *) "pt", NULL
25705 };
25706
25707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
25708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25710 {
25711 arg2 = &temp2;
25712 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25713 }
25714 {
25715 PyThreadState* __tstate = wxPyBeginAllowThreads();
25716 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
25717
25718 wxPyEndAllowThreads(__tstate);
25719 if (PyErr_Occurred()) SWIG_fail;
25720 }
25721 {
25722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25723 }
25724 return resultobj;
25725 fail:
25726 return NULL;
25727}
25728
25729
25730static PyObject *_wrap_Window_IsExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25731 PyObject *resultobj;
25732 wxWindow *arg1 = (wxWindow *) 0 ;
25733 wxRect *arg2 = 0 ;
25734 bool result;
25735 wxRect temp2 ;
25736 PyObject * obj0 = 0 ;
25737 PyObject * obj1 = 0 ;
25738 char *kwnames[] = {
25739 (char *) "self",(char *) "rect", NULL
25740 };
25741
25742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedRect",kwnames,&obj0,&obj1)) goto fail;
25743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25745 {
25746 arg2 = &temp2;
25747 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
25748 }
25749 {
25750 PyThreadState* __tstate = wxPyBeginAllowThreads();
25751 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
25752
25753 wxPyEndAllowThreads(__tstate);
25754 if (PyErr_Occurred()) SWIG_fail;
25755 }
25756 {
25757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25758 }
25759 return resultobj;
25760 fail:
25761 return NULL;
25762}
25763
25764
25765static PyObject *_wrap_Window_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
25766 PyObject *resultobj;
25767 wxWindow *arg1 = (wxWindow *) 0 ;
25768 wxVisualAttributes result;
25769 PyObject * obj0 = 0 ;
25770 char *kwnames[] = {
25771 (char *) "self", NULL
25772 };
25773
25774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultAttributes",kwnames,&obj0)) goto fail;
25775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25777 {
25778 PyThreadState* __tstate = wxPyBeginAllowThreads();
25779 result = ((wxWindow const *)arg1)->GetDefaultAttributes();
25780
25781 wxPyEndAllowThreads(__tstate);
25782 if (PyErr_Occurred()) SWIG_fail;
25783 }
25784 {
25785 wxVisualAttributes * resultptr;
25786 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
25787 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
25788 }
25789 return resultobj;
25790 fail:
25791 return NULL;
25792}
25793
25794
25795static PyObject *_wrap_Window_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
25796 PyObject *resultobj;
25797 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
25798 wxVisualAttributes result;
25799 PyObject * obj0 = 0 ;
25800 char *kwnames[] = {
25801 (char *) "variant", NULL
25802 };
25803
25804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Window_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
25805 if (obj0) {
25806 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
25807 if (PyErr_Occurred()) SWIG_fail;
25808 }
25809 {
25810 PyThreadState* __tstate = wxPyBeginAllowThreads();
25811 result = wxWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
25812
25813 wxPyEndAllowThreads(__tstate);
25814 if (PyErr_Occurred()) SWIG_fail;
25815 }
25816 {
25817 wxVisualAttributes * resultptr;
25818 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
25819 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
25820 }
25821 return resultobj;
25822 fail:
25823 return NULL;
25824}
25825
25826
25827static PyObject *_wrap_Window_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25828 PyObject *resultobj;
25829 wxWindow *arg1 = (wxWindow *) 0 ;
25830 wxColour *arg2 = 0 ;
25831 bool result;
25832 wxColour temp2 ;
25833 PyObject * obj0 = 0 ;
25834 PyObject * obj1 = 0 ;
25835 char *kwnames[] = {
25836 (char *) "self",(char *) "colour", NULL
25837 };
25838
25839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
25840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25842 {
25843 arg2 = &temp2;
25844 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25845 }
25846 {
25847 PyThreadState* __tstate = wxPyBeginAllowThreads();
25848 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
25849
25850 wxPyEndAllowThreads(__tstate);
25851 if (PyErr_Occurred()) SWIG_fail;
25852 }
25853 {
25854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25855 }
25856 return resultobj;
25857 fail:
25858 return NULL;
25859}
25860
25861
25862static PyObject *_wrap_Window_SetDefaultBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25863 PyObject *resultobj;
25864 wxWindow *arg1 = (wxWindow *) 0 ;
25865 wxColour *arg2 = 0 ;
25866 wxColour temp2 ;
25867 PyObject * obj0 = 0 ;
25868 PyObject * obj1 = 0 ;
25869 char *kwnames[] = {
25870 (char *) "self",(char *) "colour", NULL
25871 };
25872
25873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
25874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25876 {
25877 arg2 = &temp2;
25878 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25879 }
25880 {
25881 PyThreadState* __tstate = wxPyBeginAllowThreads();
25882 (arg1)->SetDefaultBackgroundColour((wxColour const &)*arg2);
25883
25884 wxPyEndAllowThreads(__tstate);
25885 if (PyErr_Occurred()) SWIG_fail;
25886 }
25887 Py_INCREF(Py_None); resultobj = Py_None;
25888 return resultobj;
25889 fail:
25890 return NULL;
25891}
25892
25893
25894static PyObject *_wrap_Window_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25895 PyObject *resultobj;
25896 wxWindow *arg1 = (wxWindow *) 0 ;
25897 wxColour *arg2 = 0 ;
25898 bool result;
25899 wxColour temp2 ;
25900 PyObject * obj0 = 0 ;
25901 PyObject * obj1 = 0 ;
25902 char *kwnames[] = {
25903 (char *) "self",(char *) "colour", NULL
25904 };
25905
25906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
25907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25909 {
25910 arg2 = &temp2;
25911 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25912 }
25913 {
25914 PyThreadState* __tstate = wxPyBeginAllowThreads();
25915 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
25916
25917 wxPyEndAllowThreads(__tstate);
25918 if (PyErr_Occurred()) SWIG_fail;
25919 }
25920 {
25921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25922 }
25923 return resultobj;
25924 fail:
25925 return NULL;
25926}
25927
25928
25929static PyObject *_wrap_Window_SetDefaultForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25930 PyObject *resultobj;
25931 wxWindow *arg1 = (wxWindow *) 0 ;
25932 wxColour *arg2 = 0 ;
25933 wxColour temp2 ;
25934 PyObject * obj0 = 0 ;
25935 PyObject * obj1 = 0 ;
25936 char *kwnames[] = {
25937 (char *) "self",(char *) "colour", NULL
25938 };
25939
25940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultForegroundColour",kwnames,&obj0,&obj1)) goto fail;
25941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25943 {
25944 arg2 = &temp2;
25945 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25946 }
25947 {
25948 PyThreadState* __tstate = wxPyBeginAllowThreads();
25949 (arg1)->SetDefaultForegroundColour((wxColour const &)*arg2);
25950
25951 wxPyEndAllowThreads(__tstate);
25952 if (PyErr_Occurred()) SWIG_fail;
25953 }
25954 Py_INCREF(Py_None); resultobj = Py_None;
25955 return resultobj;
25956 fail:
25957 return NULL;
25958}
25959
25960
25961static PyObject *_wrap_Window_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25962 PyObject *resultobj;
25963 wxWindow *arg1 = (wxWindow *) 0 ;
25964 wxColour result;
25965 PyObject * obj0 = 0 ;
25966 char *kwnames[] = {
25967 (char *) "self", NULL
25968 };
25969
25970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
25971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25973 {
25974 PyThreadState* __tstate = wxPyBeginAllowThreads();
25975 result = ((wxWindow const *)arg1)->GetBackgroundColour();
25976
25977 wxPyEndAllowThreads(__tstate);
25978 if (PyErr_Occurred()) SWIG_fail;
25979 }
25980 {
25981 wxColour * resultptr;
25982 resultptr = new wxColour((wxColour &) result);
25983 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25984 }
25985 return resultobj;
25986 fail:
25987 return NULL;
25988}
25989
25990
25991static PyObject *_wrap_Window_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25992 PyObject *resultobj;
25993 wxWindow *arg1 = (wxWindow *) 0 ;
25994 wxColour result;
25995 PyObject * obj0 = 0 ;
25996 char *kwnames[] = {
25997 (char *) "self", NULL
25998 };
25999
26000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
26001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26003 {
26004 PyThreadState* __tstate = wxPyBeginAllowThreads();
26005 result = ((wxWindow const *)arg1)->GetForegroundColour();
26006
26007 wxPyEndAllowThreads(__tstate);
26008 if (PyErr_Occurred()) SWIG_fail;
26009 }
26010 {
26011 wxColour * resultptr;
26012 resultptr = new wxColour((wxColour &) result);
26013 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26014 }
26015 return resultobj;
26016 fail:
26017 return NULL;
26018}
26019
26020
26021static PyObject *_wrap_Window_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
26022 PyObject *resultobj;
26023 wxWindow *arg1 = (wxWindow *) 0 ;
26024 wxCursor *arg2 = 0 ;
26025 bool result;
26026 PyObject * obj0 = 0 ;
26027 PyObject * obj1 = 0 ;
26028 char *kwnames[] = {
26029 (char *) "self",(char *) "cursor", NULL
26030 };
26031
26032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
26033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26035 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
26036 SWIG_POINTER_EXCEPTION | 0)) == -1)
26037 SWIG_fail;
26038 if (arg2 == NULL) {
26039 PyErr_SetString(PyExc_TypeError,"null reference");
26040 SWIG_fail;
26041 }
26042 {
26043 PyThreadState* __tstate = wxPyBeginAllowThreads();
26044 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
26045
26046 wxPyEndAllowThreads(__tstate);
26047 if (PyErr_Occurred()) SWIG_fail;
26048 }
26049 {
26050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26051 }
26052 return resultobj;
26053 fail:
26054 return NULL;
26055}
26056
26057
26058static PyObject *_wrap_Window_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
26059 PyObject *resultobj;
26060 wxWindow *arg1 = (wxWindow *) 0 ;
26061 wxCursor *result;
26062 PyObject * obj0 = 0 ;
26063 char *kwnames[] = {
26064 (char *) "self", NULL
26065 };
26066
26067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
26068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26070 {
26071 PyThreadState* __tstate = wxPyBeginAllowThreads();
26072 {
26073 wxCursor &_result_ref = (arg1)->GetCursor();
26074 result = (wxCursor *) &_result_ref;
26075 }
26076
26077 wxPyEndAllowThreads(__tstate);
26078 if (PyErr_Occurred()) SWIG_fail;
26079 }
26080 {
26081 wxCursor* resultptr = new wxCursor(*result);
26082 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
26083 }
26084 return resultobj;
26085 fail:
26086 return NULL;
26087}
26088
26089
26090static PyObject *_wrap_Window_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26091 PyObject *resultobj;
26092 wxWindow *arg1 = (wxWindow *) 0 ;
26093 wxFont *arg2 = 0 ;
26094 bool result;
26095 PyObject * obj0 = 0 ;
26096 PyObject * obj1 = 0 ;
26097 char *kwnames[] = {
26098 (char *) "self",(char *) "font", NULL
26099 };
26100
26101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
26102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26104 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
26105 SWIG_POINTER_EXCEPTION | 0)) == -1)
26106 SWIG_fail;
26107 if (arg2 == NULL) {
26108 PyErr_SetString(PyExc_TypeError,"null reference");
26109 SWIG_fail;
26110 }
26111 {
26112 PyThreadState* __tstate = wxPyBeginAllowThreads();
26113 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
26114
26115 wxPyEndAllowThreads(__tstate);
26116 if (PyErr_Occurred()) SWIG_fail;
26117 }
26118 {
26119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26120 }
26121 return resultobj;
26122 fail:
26123 return NULL;
26124}
26125
26126
26127static PyObject *_wrap_Window_SetDefaultFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26128 PyObject *resultobj;
26129 wxWindow *arg1 = (wxWindow *) 0 ;
26130 wxFont *arg2 = 0 ;
26131 PyObject * obj0 = 0 ;
26132 PyObject * obj1 = 0 ;
26133 char *kwnames[] = {
26134 (char *) "self",(char *) "font", NULL
26135 };
26136
26137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultFont",kwnames,&obj0,&obj1)) goto fail;
26138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26140 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
26141 SWIG_POINTER_EXCEPTION | 0)) == -1)
26142 SWIG_fail;
26143 if (arg2 == NULL) {
26144 PyErr_SetString(PyExc_TypeError,"null reference");
26145 SWIG_fail;
26146 }
26147 {
26148 PyThreadState* __tstate = wxPyBeginAllowThreads();
26149 (arg1)->SetDefaultFont((wxFont const &)*arg2);
26150
26151 wxPyEndAllowThreads(__tstate);
26152 if (PyErr_Occurred()) SWIG_fail;
26153 }
26154 Py_INCREF(Py_None); resultobj = Py_None;
26155 return resultobj;
26156 fail:
26157 return NULL;
26158}
26159
26160
26161static PyObject *_wrap_Window_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26162 PyObject *resultobj;
26163 wxWindow *arg1 = (wxWindow *) 0 ;
26164 wxFont *result;
26165 PyObject * obj0 = 0 ;
26166 char *kwnames[] = {
26167 (char *) "self", NULL
26168 };
26169
26170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
26171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26173 {
26174 PyThreadState* __tstate = wxPyBeginAllowThreads();
26175 {
26176 wxFont &_result_ref = (arg1)->GetFont();
26177 result = (wxFont *) &_result_ref;
26178 }
26179
26180 wxPyEndAllowThreads(__tstate);
26181 if (PyErr_Occurred()) SWIG_fail;
26182 }
26183 {
26184 wxFont* resultptr = new wxFont(*result);
26185 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
26186 }
26187 return resultobj;
26188 fail:
26189 return NULL;
26190}
26191
26192
26193static PyObject *_wrap_Window_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
26194 PyObject *resultobj;
26195 wxWindow *arg1 = (wxWindow *) 0 ;
26196 wxCaret *arg2 = (wxCaret *) 0 ;
26197 PyObject * obj0 = 0 ;
26198 PyObject * obj1 = 0 ;
26199 char *kwnames[] = {
26200 (char *) "self",(char *) "caret", NULL
26201 };
26202
26203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
26204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26206 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCaret,
26207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26208 {
26209 PyThreadState* __tstate = wxPyBeginAllowThreads();
26210 (arg1)->SetCaret(arg2);
26211
26212 wxPyEndAllowThreads(__tstate);
26213 if (PyErr_Occurred()) SWIG_fail;
26214 }
26215 Py_INCREF(Py_None); resultobj = Py_None;
26216 return resultobj;
26217 fail:
26218 return NULL;
26219}
26220
26221
26222static PyObject *_wrap_Window_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
26223 PyObject *resultobj;
26224 wxWindow *arg1 = (wxWindow *) 0 ;
26225 wxCaret *result;
26226 PyObject * obj0 = 0 ;
26227 char *kwnames[] = {
26228 (char *) "self", NULL
26229 };
26230
26231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
26232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26234 {
26235 PyThreadState* __tstate = wxPyBeginAllowThreads();
26236 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
26237
26238 wxPyEndAllowThreads(__tstate);
26239 if (PyErr_Occurred()) SWIG_fail;
26240 }
26241 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 0);
26242 return resultobj;
26243 fail:
26244 return NULL;
26245}
26246
26247
26248static PyObject *_wrap_Window_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
26249 PyObject *resultobj;
26250 wxWindow *arg1 = (wxWindow *) 0 ;
26251 int result;
26252 PyObject * obj0 = 0 ;
26253 char *kwnames[] = {
26254 (char *) "self", NULL
26255 };
26256
26257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
26258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26260 {
26261 PyThreadState* __tstate = wxPyBeginAllowThreads();
26262 result = (int)((wxWindow const *)arg1)->GetCharHeight();
26263
26264 wxPyEndAllowThreads(__tstate);
26265 if (PyErr_Occurred()) SWIG_fail;
26266 }
26267 resultobj = SWIG_FromInt((int)result);
26268 return resultobj;
26269 fail:
26270 return NULL;
26271}
26272
26273
26274static PyObject *_wrap_Window_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
26275 PyObject *resultobj;
26276 wxWindow *arg1 = (wxWindow *) 0 ;
26277 int result;
26278 PyObject * obj0 = 0 ;
26279 char *kwnames[] = {
26280 (char *) "self", NULL
26281 };
26282
26283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
26284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26286 {
26287 PyThreadState* __tstate = wxPyBeginAllowThreads();
26288 result = (int)((wxWindow const *)arg1)->GetCharWidth();
26289
26290 wxPyEndAllowThreads(__tstate);
26291 if (PyErr_Occurred()) SWIG_fail;
26292 }
26293 resultobj = SWIG_FromInt((int)result);
26294 return resultobj;
26295 fail:
26296 return NULL;
26297}
26298
26299
26300static PyObject *_wrap_Window_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
26301 PyObject *resultobj;
26302 wxWindow *arg1 = (wxWindow *) 0 ;
26303 wxString *arg2 = 0 ;
26304 int *arg3 = (int *) 0 ;
26305 int *arg4 = (int *) 0 ;
26306 bool temp2 = False ;
26307 int temp3 ;
26308 int temp4 ;
26309 PyObject * obj0 = 0 ;
26310 PyObject * obj1 = 0 ;
26311 char *kwnames[] = {
26312 (char *) "self",(char *) "string", NULL
26313 };
26314
26315 arg3 = &temp3;
26316 arg4 = &temp4;
26317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
26318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26320 {
26321 arg2 = wxString_in_helper(obj1);
26322 if (arg2 == NULL) SWIG_fail;
26323 temp2 = True;
26324 }
26325 {
26326 PyThreadState* __tstate = wxPyBeginAllowThreads();
26327 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
26328
26329 wxPyEndAllowThreads(__tstate);
26330 if (PyErr_Occurred()) SWIG_fail;
26331 }
26332 Py_INCREF(Py_None); resultobj = Py_None;
26333 {
26334 PyObject *o = PyInt_FromLong((long) (*arg3));
26335 resultobj = t_output_helper(resultobj,o);
26336 }
26337 {
26338 PyObject *o = PyInt_FromLong((long) (*arg4));
26339 resultobj = t_output_helper(resultobj,o);
26340 }
26341 {
26342 if (temp2)
26343 delete arg2;
26344 }
26345 return resultobj;
26346 fail:
26347 {
26348 if (temp2)
26349 delete arg2;
26350 }
26351 return NULL;
26352}
26353
26354
26355static PyObject *_wrap_Window_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
26356 PyObject *resultobj;
26357 wxWindow *arg1 = (wxWindow *) 0 ;
26358 wxString *arg2 = 0 ;
26359 int *arg3 = (int *) 0 ;
26360 int *arg4 = (int *) 0 ;
26361 int *arg5 = (int *) 0 ;
26362 int *arg6 = (int *) 0 ;
26363 wxFont *arg7 = (wxFont *) NULL ;
26364 bool temp2 = False ;
26365 int temp3 ;
26366 int temp4 ;
26367 int temp5 ;
26368 int temp6 ;
26369 PyObject * obj0 = 0 ;
26370 PyObject * obj1 = 0 ;
26371 PyObject * obj2 = 0 ;
26372 char *kwnames[] = {
26373 (char *) "self",(char *) "string",(char *) "font", NULL
26374 };
26375
26376 arg3 = &temp3;
26377 arg4 = &temp4;
26378 arg5 = &temp5;
26379 arg6 = &temp6;
26380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
26381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26383 {
26384 arg2 = wxString_in_helper(obj1);
26385 if (arg2 == NULL) SWIG_fail;
26386 temp2 = True;
26387 }
26388 if (obj2) {
26389 if ((SWIG_ConvertPtr(obj2,(void **)(&arg7),SWIGTYPE_p_wxFont,
26390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26391 }
26392 {
26393 PyThreadState* __tstate = wxPyBeginAllowThreads();
26394 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
26395
26396 wxPyEndAllowThreads(__tstate);
26397 if (PyErr_Occurred()) SWIG_fail;
26398 }
26399 Py_INCREF(Py_None); resultobj = Py_None;
26400 {
26401 PyObject *o = PyInt_FromLong((long) (*arg3));
26402 resultobj = t_output_helper(resultobj,o);
26403 }
26404 {
26405 PyObject *o = PyInt_FromLong((long) (*arg4));
26406 resultobj = t_output_helper(resultobj,o);
26407 }
26408 {
26409 PyObject *o = PyInt_FromLong((long) (*arg5));
26410 resultobj = t_output_helper(resultobj,o);
26411 }
26412 {
26413 PyObject *o = PyInt_FromLong((long) (*arg6));
26414 resultobj = t_output_helper(resultobj,o);
26415 }
26416 {
26417 if (temp2)
26418 delete arg2;
26419 }
26420 return resultobj;
26421 fail:
26422 {
26423 if (temp2)
26424 delete arg2;
26425 }
26426 return NULL;
26427}
26428
26429
26430static PyObject *_wrap_Window_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26431 PyObject *resultobj;
26432 wxWindow *arg1 = (wxWindow *) 0 ;
26433 int *arg2 = (int *) 0 ;
26434 int *arg3 = (int *) 0 ;
26435 int temp2 ;
26436 int temp3 ;
26437 PyObject * obj0 = 0 ;
26438 PyObject * obj1 = 0 ;
26439 PyObject * obj2 = 0 ;
26440 char *kwnames[] = {
26441 (char *) "self",(char *) "x",(char *) "y", NULL
26442 };
26443
26444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
26445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26447 {
26448 temp2 = PyInt_AsLong(obj1);
26449 if (PyErr_Occurred()) SWIG_fail;
26450 arg2 = &temp2;
26451 }
26452 {
26453 temp3 = PyInt_AsLong(obj2);
26454 if (PyErr_Occurred()) SWIG_fail;
26455 arg3 = &temp3;
26456 }
26457 {
26458 PyThreadState* __tstate = wxPyBeginAllowThreads();
26459 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
26460
26461 wxPyEndAllowThreads(__tstate);
26462 if (PyErr_Occurred()) SWIG_fail;
26463 }
26464 Py_INCREF(Py_None); resultobj = Py_None;
26465 {
26466 PyObject *o = PyInt_FromLong((long) (*arg2));
26467 resultobj = t_output_helper(resultobj,o);
26468 }
26469 {
26470 PyObject *o = PyInt_FromLong((long) (*arg3));
26471 resultobj = t_output_helper(resultobj,o);
26472 }
26473 return resultobj;
26474 fail:
26475 return NULL;
26476}
26477
26478
26479static PyObject *_wrap_Window_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26480 PyObject *resultobj;
26481 wxWindow *arg1 = (wxWindow *) 0 ;
26482 int *arg2 = (int *) 0 ;
26483 int *arg3 = (int *) 0 ;
26484 int temp2 ;
26485 int temp3 ;
26486 PyObject * obj0 = 0 ;
26487 PyObject * obj1 = 0 ;
26488 PyObject * obj2 = 0 ;
26489 char *kwnames[] = {
26490 (char *) "self",(char *) "x",(char *) "y", NULL
26491 };
26492
26493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
26494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26496 {
26497 temp2 = PyInt_AsLong(obj1);
26498 if (PyErr_Occurred()) SWIG_fail;
26499 arg2 = &temp2;
26500 }
26501 {
26502 temp3 = PyInt_AsLong(obj2);
26503 if (PyErr_Occurred()) SWIG_fail;
26504 arg3 = &temp3;
26505 }
26506 {
26507 PyThreadState* __tstate = wxPyBeginAllowThreads();
26508 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
26509
26510 wxPyEndAllowThreads(__tstate);
26511 if (PyErr_Occurred()) SWIG_fail;
26512 }
26513 Py_INCREF(Py_None); resultobj = Py_None;
26514 {
26515 PyObject *o = PyInt_FromLong((long) (*arg2));
26516 resultobj = t_output_helper(resultobj,o);
26517 }
26518 {
26519 PyObject *o = PyInt_FromLong((long) (*arg3));
26520 resultobj = t_output_helper(resultobj,o);
26521 }
26522 return resultobj;
26523 fail:
26524 return NULL;
26525}
26526
26527
26528static PyObject *_wrap_Window_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
26529 PyObject *resultobj;
26530 wxWindow *arg1 = (wxWindow *) 0 ;
26531 wxPoint *arg2 = 0 ;
26532 wxPoint result;
26533 wxPoint temp2 ;
26534 PyObject * obj0 = 0 ;
26535 PyObject * obj1 = 0 ;
26536 char *kwnames[] = {
26537 (char *) "self",(char *) "pt", NULL
26538 };
26539
26540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
26541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26543 {
26544 arg2 = &temp2;
26545 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26546 }
26547 {
26548 PyThreadState* __tstate = wxPyBeginAllowThreads();
26549 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
26550
26551 wxPyEndAllowThreads(__tstate);
26552 if (PyErr_Occurred()) SWIG_fail;
26553 }
26554 {
26555 wxPoint * resultptr;
26556 resultptr = new wxPoint((wxPoint &) result);
26557 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
26558 }
26559 return resultobj;
26560 fail:
26561 return NULL;
26562}
26563
26564
26565static PyObject *_wrap_Window_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
26566 PyObject *resultobj;
26567 wxWindow *arg1 = (wxWindow *) 0 ;
26568 wxPoint *arg2 = 0 ;
26569 wxPoint result;
26570 wxPoint temp2 ;
26571 PyObject * obj0 = 0 ;
26572 PyObject * obj1 = 0 ;
26573 char *kwnames[] = {
26574 (char *) "self",(char *) "pt", NULL
26575 };
26576
26577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
26578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26580 {
26581 arg2 = &temp2;
26582 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26583 }
26584 {
26585 PyThreadState* __tstate = wxPyBeginAllowThreads();
26586 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
26587
26588 wxPyEndAllowThreads(__tstate);
26589 if (PyErr_Occurred()) SWIG_fail;
26590 }
26591 {
26592 wxPoint * resultptr;
26593 resultptr = new wxPoint((wxPoint &) result);
26594 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
26595 }
26596 return resultobj;
26597 fail:
26598 return NULL;
26599}
26600
26601
26602static PyObject *_wrap_Window_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26603 PyObject *resultobj;
26604 wxWindow *arg1 = (wxWindow *) 0 ;
26605 int arg2 ;
26606 int arg3 ;
26607 int result;
26608 PyObject * obj0 = 0 ;
26609 PyObject * obj1 = 0 ;
26610 PyObject * obj2 = 0 ;
26611 char *kwnames[] = {
26612 (char *) "self",(char *) "x",(char *) "y", NULL
26613 };
26614
26615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
26616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26618 arg2 = (int) SWIG_AsInt(obj1);
26619 if (PyErr_Occurred()) SWIG_fail;
26620 arg3 = (int) SWIG_AsInt(obj2);
26621 if (PyErr_Occurred()) SWIG_fail;
26622 {
26623 PyThreadState* __tstate = wxPyBeginAllowThreads();
26624 result = (int)((wxWindow const *)arg1)->HitTest(arg2,arg3);
26625
26626 wxPyEndAllowThreads(__tstate);
26627 if (PyErr_Occurred()) SWIG_fail;
26628 }
26629 resultobj = SWIG_FromInt((int)result);
26630 return resultobj;
26631 fail:
26632 return NULL;
26633}
26634
26635
26636static PyObject *_wrap_Window_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
26637 PyObject *resultobj;
26638 wxWindow *arg1 = (wxWindow *) 0 ;
26639 wxPoint *arg2 = 0 ;
26640 int result;
26641 wxPoint temp2 ;
26642 PyObject * obj0 = 0 ;
26643 PyObject * obj1 = 0 ;
26644 char *kwnames[] = {
26645 (char *) "self",(char *) "pt", NULL
26646 };
26647
26648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
26649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26651 {
26652 arg2 = &temp2;
26653 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26654 }
26655 {
26656 PyThreadState* __tstate = wxPyBeginAllowThreads();
26657 result = (int)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
26658
26659 wxPyEndAllowThreads(__tstate);
26660 if (PyErr_Occurred()) SWIG_fail;
26661 }
26662 resultobj = SWIG_FromInt((int)result);
26663 return resultobj;
26664 fail:
26665 return NULL;
26666}
26667
26668
26669static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *self, PyObject *args) {
26670 PyObject *resultobj;
26671 wxWindow *arg1 = (wxWindow *) 0 ;
26672 long arg2 ;
26673 int result;
26674 PyObject * obj0 = 0 ;
26675 PyObject * obj1 = 0 ;
26676
26677 if(!PyArg_ParseTuple(args,(char *)"OO:Window_GetBorder",&obj0,&obj1)) goto fail;
26678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26680 arg2 = (long) SWIG_AsLong(obj1);
26681 if (PyErr_Occurred()) SWIG_fail;
26682 {
26683 PyThreadState* __tstate = wxPyBeginAllowThreads();
26684 result = (int)((wxWindow const *)arg1)->GetBorder(arg2);
26685
26686 wxPyEndAllowThreads(__tstate);
26687 if (PyErr_Occurred()) SWIG_fail;
26688 }
26689 resultobj = SWIG_FromInt((int)result);
26690 return resultobj;
26691 fail:
26692 return NULL;
26693}
26694
26695
26696static PyObject *_wrap_Window_GetBorder__SWIG_1(PyObject *self, PyObject *args) {
26697 PyObject *resultobj;
26698 wxWindow *arg1 = (wxWindow *) 0 ;
26699 int result;
26700 PyObject * obj0 = 0 ;
26701
26702 if(!PyArg_ParseTuple(args,(char *)"O:Window_GetBorder",&obj0)) goto fail;
26703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26705 {
26706 PyThreadState* __tstate = wxPyBeginAllowThreads();
26707 result = (int)((wxWindow const *)arg1)->GetBorder();
26708
26709 wxPyEndAllowThreads(__tstate);
26710 if (PyErr_Occurred()) SWIG_fail;
26711 }
26712 resultobj = SWIG_FromInt((int)result);
26713 return resultobj;
26714 fail:
26715 return NULL;
26716}
26717
26718
26719static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args) {
26720 int argc;
26721 PyObject *argv[3];
26722 int ii;
26723
26724 argc = PyObject_Length(args);
26725 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
26726 argv[ii] = PyTuple_GetItem(args,ii);
26727 }
26728 if (argc == 1) {
26729 int _v;
26730 {
26731 void *ptr;
26732 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
26733 _v = 0;
26734 PyErr_Clear();
26735 } else {
26736 _v = 1;
26737 }
26738 }
26739 if (_v) {
26740 return _wrap_Window_GetBorder__SWIG_1(self,args);
26741 }
26742 }
26743 if (argc == 2) {
26744 int _v;
26745 {
26746 void *ptr;
26747 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
26748 _v = 0;
26749 PyErr_Clear();
26750 } else {
26751 _v = 1;
26752 }
26753 }
26754 if (_v) {
26755 _v = SWIG_CheckLong(argv[1]);
26756 if (_v) {
26757 return _wrap_Window_GetBorder__SWIG_0(self,args);
26758 }
26759 }
26760 }
26761
26762 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_GetBorder'");
26763 return NULL;
26764}
26765
26766
26767static PyObject *_wrap_Window_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
26768 PyObject *resultobj;
26769 wxWindow *arg1 = (wxWindow *) 0 ;
26770 long arg2 = (long) wxUPDATE_UI_NONE ;
26771 PyObject * obj0 = 0 ;
26772 PyObject * obj1 = 0 ;
26773 char *kwnames[] = {
26774 (char *) "self",(char *) "flags", NULL
26775 };
26776
26777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_UpdateWindowUI",kwnames,&obj0,&obj1)) goto fail;
26778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26780 if (obj1) {
26781 arg2 = (long) SWIG_AsLong(obj1);
26782 if (PyErr_Occurred()) SWIG_fail;
26783 }
26784 {
26785 PyThreadState* __tstate = wxPyBeginAllowThreads();
26786 (arg1)->UpdateWindowUI(arg2);
26787
26788 wxPyEndAllowThreads(__tstate);
26789 if (PyErr_Occurred()) SWIG_fail;
26790 }
26791 Py_INCREF(Py_None); resultobj = Py_None;
26792 return resultobj;
26793 fail:
26794 return NULL;
26795}
26796
26797
26798static PyObject *_wrap_Window_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26799 PyObject *resultobj;
26800 wxWindow *arg1 = (wxWindow *) 0 ;
26801 wxMenu *arg2 = (wxMenu *) 0 ;
26802 int arg3 ;
26803 int arg4 ;
26804 bool result;
26805 PyObject * obj0 = 0 ;
26806 PyObject * obj1 = 0 ;
26807 PyObject * obj2 = 0 ;
26808 PyObject * obj3 = 0 ;
26809 char *kwnames[] = {
26810 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26811 };
26812
26813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_PopupMenuXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26816 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
26817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26818 arg3 = (int) SWIG_AsInt(obj2);
26819 if (PyErr_Occurred()) SWIG_fail;
26820 arg4 = (int) SWIG_AsInt(obj3);
26821 if (PyErr_Occurred()) SWIG_fail;
26822 {
26823 PyThreadState* __tstate = wxPyBeginAllowThreads();
26824 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
26825
26826 wxPyEndAllowThreads(__tstate);
26827 if (PyErr_Occurred()) SWIG_fail;
26828 }
26829 {
26830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26831 }
26832 return resultobj;
26833 fail:
26834 return NULL;
26835}
26836
26837
26838static PyObject *_wrap_Window_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
26839 PyObject *resultobj;
26840 wxWindow *arg1 = (wxWindow *) 0 ;
26841 wxMenu *arg2 = (wxMenu *) 0 ;
26842 wxPoint *arg3 = 0 ;
26843 bool result;
26844 wxPoint temp3 ;
26845 PyObject * obj0 = 0 ;
26846 PyObject * obj1 = 0 ;
26847 PyObject * obj2 = 0 ;
26848 char *kwnames[] = {
26849 (char *) "self",(char *) "menu",(char *) "pos", NULL
26850 };
26851
26852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
26853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26855 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
26856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26857 {
26858 arg3 = &temp3;
26859 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26860 }
26861 {
26862 PyThreadState* __tstate = wxPyBeginAllowThreads();
26863 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
26864
26865 wxPyEndAllowThreads(__tstate);
26866 if (PyErr_Occurred()) SWIG_fail;
26867 }
26868 {
26869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26870 }
26871 return resultobj;
26872 fail:
26873 return NULL;
26874}
26875
26876
26877static PyObject *_wrap_Window_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
26878 PyObject *resultobj;
26879 wxWindow *arg1 = (wxWindow *) 0 ;
26880 long result;
26881 PyObject * obj0 = 0 ;
26882 char *kwnames[] = {
26883 (char *) "self", NULL
26884 };
26885
26886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
26887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26889 {
26890 PyThreadState* __tstate = wxPyBeginAllowThreads();
26891 result = (long)wxWindow_GetHandle(arg1);
26892
26893 wxPyEndAllowThreads(__tstate);
26894 if (PyErr_Occurred()) SWIG_fail;
26895 }
26896 resultobj = SWIG_FromLong((long)result);
26897 return resultobj;
26898 fail:
26899 return NULL;
26900}
26901
26902
26903static PyObject *_wrap_Window_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
26904 PyObject *resultobj;
26905 wxWindow *arg1 = (wxWindow *) 0 ;
26906 int arg2 ;
26907 bool result;
26908 PyObject * obj0 = 0 ;
26909 PyObject * obj1 = 0 ;
26910 char *kwnames[] = {
26911 (char *) "self",(char *) "orient", NULL
26912 };
26913
26914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasScrollbar",kwnames,&obj0,&obj1)) goto fail;
26915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26917 arg2 = (int) SWIG_AsInt(obj1);
26918 if (PyErr_Occurred()) SWIG_fail;
26919 {
26920 PyThreadState* __tstate = wxPyBeginAllowThreads();
26921 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
26922
26923 wxPyEndAllowThreads(__tstate);
26924 if (PyErr_Occurred()) SWIG_fail;
26925 }
26926 {
26927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26928 }
26929 return resultobj;
26930 fail:
26931 return NULL;
26932}
26933
26934
26935static PyObject *_wrap_Window_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
26936 PyObject *resultobj;
26937 wxWindow *arg1 = (wxWindow *) 0 ;
26938 int arg2 ;
26939 int arg3 ;
26940 int arg4 ;
26941 int arg5 ;
26942 bool arg6 = (bool) True ;
26943 PyObject * obj0 = 0 ;
26944 PyObject * obj1 = 0 ;
26945 PyObject * obj2 = 0 ;
26946 PyObject * obj3 = 0 ;
26947 PyObject * obj4 = 0 ;
26948 PyObject * obj5 = 0 ;
26949 char *kwnames[] = {
15817c7e 26950 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
d55e5bfc
RD
26951 };
26952
26953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
26954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26956 arg2 = (int) SWIG_AsInt(obj1);
26957 if (PyErr_Occurred()) SWIG_fail;
26958 arg3 = (int) SWIG_AsInt(obj2);
26959 if (PyErr_Occurred()) SWIG_fail;
26960 arg4 = (int) SWIG_AsInt(obj3);
26961 if (PyErr_Occurred()) SWIG_fail;
26962 arg5 = (int) SWIG_AsInt(obj4);
26963 if (PyErr_Occurred()) SWIG_fail;
26964 if (obj5) {
26965 arg6 = (bool) SWIG_AsBool(obj5);
26966 if (PyErr_Occurred()) SWIG_fail;
26967 }
26968 {
26969 PyThreadState* __tstate = wxPyBeginAllowThreads();
26970 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
26971
26972 wxPyEndAllowThreads(__tstate);
26973 if (PyErr_Occurred()) SWIG_fail;
26974 }
26975 Py_INCREF(Py_None); resultobj = Py_None;
26976 return resultobj;
26977 fail:
26978 return NULL;
26979}
26980
26981
26982static PyObject *_wrap_Window_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
26983 PyObject *resultobj;
26984 wxWindow *arg1 = (wxWindow *) 0 ;
26985 int arg2 ;
26986 int arg3 ;
26987 bool arg4 = (bool) True ;
26988 PyObject * obj0 = 0 ;
26989 PyObject * obj1 = 0 ;
26990 PyObject * obj2 = 0 ;
26991 PyObject * obj3 = 0 ;
26992 char *kwnames[] = {
26993 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
26994 };
26995
26996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_SetScrollPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26999 arg2 = (int) SWIG_AsInt(obj1);
27000 if (PyErr_Occurred()) SWIG_fail;
27001 arg3 = (int) SWIG_AsInt(obj2);
27002 if (PyErr_Occurred()) SWIG_fail;
27003 if (obj3) {
27004 arg4 = (bool) SWIG_AsBool(obj3);
27005 if (PyErr_Occurred()) SWIG_fail;
27006 }
27007 {
27008 PyThreadState* __tstate = wxPyBeginAllowThreads();
27009 (arg1)->SetScrollPos(arg2,arg3,arg4);
27010
27011 wxPyEndAllowThreads(__tstate);
27012 if (PyErr_Occurred()) SWIG_fail;
27013 }
27014 Py_INCREF(Py_None); resultobj = Py_None;
27015 return resultobj;
27016 fail:
27017 return NULL;
27018}
27019
27020
27021static PyObject *_wrap_Window_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
27022 PyObject *resultobj;
27023 wxWindow *arg1 = (wxWindow *) 0 ;
27024 int arg2 ;
27025 int result;
27026 PyObject * obj0 = 0 ;
27027 PyObject * obj1 = 0 ;
27028 char *kwnames[] = {
27029 (char *) "self",(char *) "orientation", NULL
27030 };
27031
27032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollPos",kwnames,&obj0,&obj1)) goto fail;
27033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27035 arg2 = (int) SWIG_AsInt(obj1);
27036 if (PyErr_Occurred()) SWIG_fail;
27037 {
27038 PyThreadState* __tstate = wxPyBeginAllowThreads();
27039 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
27040
27041 wxPyEndAllowThreads(__tstate);
27042 if (PyErr_Occurred()) SWIG_fail;
27043 }
27044 resultobj = SWIG_FromInt((int)result);
27045 return resultobj;
27046 fail:
27047 return NULL;
27048}
27049
27050
27051static PyObject *_wrap_Window_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
27052 PyObject *resultobj;
27053 wxWindow *arg1 = (wxWindow *) 0 ;
27054 int arg2 ;
27055 int result;
27056 PyObject * obj0 = 0 ;
27057 PyObject * obj1 = 0 ;
27058 char *kwnames[] = {
27059 (char *) "self",(char *) "orientation", NULL
27060 };
27061
27062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollThumb",kwnames,&obj0,&obj1)) goto fail;
27063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27065 arg2 = (int) SWIG_AsInt(obj1);
27066 if (PyErr_Occurred()) SWIG_fail;
27067 {
27068 PyThreadState* __tstate = wxPyBeginAllowThreads();
27069 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
27070
27071 wxPyEndAllowThreads(__tstate);
27072 if (PyErr_Occurred()) SWIG_fail;
27073 }
27074 resultobj = SWIG_FromInt((int)result);
27075 return resultobj;
27076 fail:
27077 return NULL;
27078}
27079
27080
27081static PyObject *_wrap_Window_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
27082 PyObject *resultobj;
27083 wxWindow *arg1 = (wxWindow *) 0 ;
27084 int arg2 ;
27085 int result;
27086 PyObject * obj0 = 0 ;
27087 PyObject * obj1 = 0 ;
27088 char *kwnames[] = {
27089 (char *) "self",(char *) "orientation", NULL
27090 };
27091
27092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollRange",kwnames,&obj0,&obj1)) goto fail;
27093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27095 arg2 = (int) SWIG_AsInt(obj1);
27096 if (PyErr_Occurred()) SWIG_fail;
27097 {
27098 PyThreadState* __tstate = wxPyBeginAllowThreads();
27099 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
27100
27101 wxPyEndAllowThreads(__tstate);
27102 if (PyErr_Occurred()) SWIG_fail;
27103 }
27104 resultobj = SWIG_FromInt((int)result);
27105 return resultobj;
27106 fail:
27107 return NULL;
27108}
27109
27110
27111static PyObject *_wrap_Window_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27112 PyObject *resultobj;
27113 wxWindow *arg1 = (wxWindow *) 0 ;
27114 int arg2 ;
27115 int arg3 ;
27116 wxRect *arg4 = (wxRect *) NULL ;
27117 PyObject * obj0 = 0 ;
27118 PyObject * obj1 = 0 ;
27119 PyObject * obj2 = 0 ;
27120 PyObject * obj3 = 0 ;
27121 char *kwnames[] = {
27122 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27123 };
27124
27125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_ScrollWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27128 arg2 = (int) SWIG_AsInt(obj1);
27129 if (PyErr_Occurred()) SWIG_fail;
27130 arg3 = (int) SWIG_AsInt(obj2);
27131 if (PyErr_Occurred()) SWIG_fail;
27132 if (obj3) {
27133 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
27134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27135 }
27136 {
27137 PyThreadState* __tstate = wxPyBeginAllowThreads();
27138 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
27139
27140 wxPyEndAllowThreads(__tstate);
27141 if (PyErr_Occurred()) SWIG_fail;
27142 }
27143 Py_INCREF(Py_None); resultobj = Py_None;
27144 return resultobj;
27145 fail:
27146 return NULL;
27147}
27148
27149
27150static PyObject *_wrap_Window_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
27151 PyObject *resultobj;
27152 wxWindow *arg1 = (wxWindow *) 0 ;
27153 int arg2 ;
27154 bool result;
27155 PyObject * obj0 = 0 ;
27156 PyObject * obj1 = 0 ;
27157 char *kwnames[] = {
27158 (char *) "self",(char *) "lines", NULL
27159 };
27160
27161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
27162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27164 arg2 = (int) SWIG_AsInt(obj1);
27165 if (PyErr_Occurred()) SWIG_fail;
27166 {
27167 PyThreadState* __tstate = wxPyBeginAllowThreads();
27168 result = (bool)(arg1)->ScrollLines(arg2);
27169
27170 wxPyEndAllowThreads(__tstate);
27171 if (PyErr_Occurred()) SWIG_fail;
27172 }
27173 {
27174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27175 }
27176 return resultobj;
27177 fail:
27178 return NULL;
27179}
27180
27181
27182static PyObject *_wrap_Window_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
27183 PyObject *resultobj;
27184 wxWindow *arg1 = (wxWindow *) 0 ;
27185 int arg2 ;
27186 bool result;
27187 PyObject * obj0 = 0 ;
27188 PyObject * obj1 = 0 ;
27189 char *kwnames[] = {
27190 (char *) "self",(char *) "pages", NULL
27191 };
27192
27193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
27194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27196 arg2 = (int) SWIG_AsInt(obj1);
27197 if (PyErr_Occurred()) SWIG_fail;
27198 {
27199 PyThreadState* __tstate = wxPyBeginAllowThreads();
27200 result = (bool)(arg1)->ScrollPages(arg2);
27201
27202 wxPyEndAllowThreads(__tstate);
27203 if (PyErr_Occurred()) SWIG_fail;
27204 }
27205 {
27206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27207 }
27208 return resultobj;
27209 fail:
27210 return NULL;
27211}
27212
27213
27214static PyObject *_wrap_Window_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
27215 PyObject *resultobj;
27216 wxWindow *arg1 = (wxWindow *) 0 ;
27217 bool result;
27218 PyObject * obj0 = 0 ;
27219 char *kwnames[] = {
27220 (char *) "self", NULL
27221 };
27222
27223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
27224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27226 {
27227 PyThreadState* __tstate = wxPyBeginAllowThreads();
27228 result = (bool)(arg1)->LineUp();
27229
27230 wxPyEndAllowThreads(__tstate);
27231 if (PyErr_Occurred()) SWIG_fail;
27232 }
27233 {
27234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27235 }
27236 return resultobj;
27237 fail:
27238 return NULL;
27239}
27240
27241
27242static PyObject *_wrap_Window_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
27243 PyObject *resultobj;
27244 wxWindow *arg1 = (wxWindow *) 0 ;
27245 bool result;
27246 PyObject * obj0 = 0 ;
27247 char *kwnames[] = {
27248 (char *) "self", NULL
27249 };
27250
27251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
27252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27254 {
27255 PyThreadState* __tstate = wxPyBeginAllowThreads();
27256 result = (bool)(arg1)->LineDown();
27257
27258 wxPyEndAllowThreads(__tstate);
27259 if (PyErr_Occurred()) SWIG_fail;
27260 }
27261 {
27262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27263 }
27264 return resultobj;
27265 fail:
27266 return NULL;
27267}
27268
27269
27270static PyObject *_wrap_Window_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
27271 PyObject *resultobj;
27272 wxWindow *arg1 = (wxWindow *) 0 ;
27273 bool result;
27274 PyObject * obj0 = 0 ;
27275 char *kwnames[] = {
27276 (char *) "self", NULL
27277 };
27278
27279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
27280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27282 {
27283 PyThreadState* __tstate = wxPyBeginAllowThreads();
27284 result = (bool)(arg1)->PageUp();
27285
27286 wxPyEndAllowThreads(__tstate);
27287 if (PyErr_Occurred()) SWIG_fail;
27288 }
27289 {
27290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27291 }
27292 return resultobj;
27293 fail:
27294 return NULL;
27295}
27296
27297
27298static PyObject *_wrap_Window_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
27299 PyObject *resultobj;
27300 wxWindow *arg1 = (wxWindow *) 0 ;
27301 bool result;
27302 PyObject * obj0 = 0 ;
27303 char *kwnames[] = {
27304 (char *) "self", NULL
27305 };
27306
27307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
27308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27310 {
27311 PyThreadState* __tstate = wxPyBeginAllowThreads();
27312 result = (bool)(arg1)->PageDown();
27313
27314 wxPyEndAllowThreads(__tstate);
27315 if (PyErr_Occurred()) SWIG_fail;
27316 }
27317 {
27318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27319 }
27320 return resultobj;
27321 fail:
27322 return NULL;
27323}
27324
27325
27326static PyObject *_wrap_Window_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
27327 PyObject *resultobj;
27328 wxWindow *arg1 = (wxWindow *) 0 ;
27329 wxString *arg2 = 0 ;
27330 bool temp2 = False ;
27331 PyObject * obj0 = 0 ;
27332 PyObject * obj1 = 0 ;
27333 char *kwnames[] = {
27334 (char *) "self",(char *) "text", NULL
27335 };
27336
27337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
27338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27340 {
27341 arg2 = wxString_in_helper(obj1);
27342 if (arg2 == NULL) SWIG_fail;
27343 temp2 = True;
27344 }
27345 {
27346 PyThreadState* __tstate = wxPyBeginAllowThreads();
27347 (arg1)->SetHelpText((wxString const &)*arg2);
27348
27349 wxPyEndAllowThreads(__tstate);
27350 if (PyErr_Occurred()) SWIG_fail;
27351 }
27352 Py_INCREF(Py_None); resultobj = Py_None;
27353 {
27354 if (temp2)
27355 delete arg2;
27356 }
27357 return resultobj;
27358 fail:
27359 {
27360 if (temp2)
27361 delete arg2;
27362 }
27363 return NULL;
27364}
27365
27366
27367static PyObject *_wrap_Window_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
27368 PyObject *resultobj;
27369 wxWindow *arg1 = (wxWindow *) 0 ;
27370 wxString *arg2 = 0 ;
27371 bool temp2 = False ;
27372 PyObject * obj0 = 0 ;
27373 PyObject * obj1 = 0 ;
27374 char *kwnames[] = {
27375 (char *) "self",(char *) "text", NULL
27376 };
27377
27378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
27379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27381 {
27382 arg2 = wxString_in_helper(obj1);
27383 if (arg2 == NULL) SWIG_fail;
27384 temp2 = True;
27385 }
27386 {
27387 PyThreadState* __tstate = wxPyBeginAllowThreads();
27388 (arg1)->SetHelpTextForId((wxString const &)*arg2);
27389
27390 wxPyEndAllowThreads(__tstate);
27391 if (PyErr_Occurred()) SWIG_fail;
27392 }
27393 Py_INCREF(Py_None); resultobj = Py_None;
27394 {
27395 if (temp2)
27396 delete arg2;
27397 }
27398 return resultobj;
27399 fail:
27400 {
27401 if (temp2)
27402 delete arg2;
27403 }
27404 return NULL;
27405}
27406
27407
27408static PyObject *_wrap_Window_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
27409 PyObject *resultobj;
27410 wxWindow *arg1 = (wxWindow *) 0 ;
27411 wxString result;
27412 PyObject * obj0 = 0 ;
27413 char *kwnames[] = {
27414 (char *) "self", NULL
27415 };
27416
27417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
27418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27420 {
27421 PyThreadState* __tstate = wxPyBeginAllowThreads();
27422 result = ((wxWindow const *)arg1)->GetHelpText();
27423
27424 wxPyEndAllowThreads(__tstate);
27425 if (PyErr_Occurred()) SWIG_fail;
27426 }
27427 {
27428#if wxUSE_UNICODE
27429 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27430#else
27431 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27432#endif
27433 }
27434 return resultobj;
27435 fail:
27436 return NULL;
27437}
27438
27439
27440static PyObject *_wrap_Window_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
27441 PyObject *resultobj;
27442 wxWindow *arg1 = (wxWindow *) 0 ;
27443 wxString *arg2 = 0 ;
27444 bool temp2 = False ;
27445 PyObject * obj0 = 0 ;
27446 PyObject * obj1 = 0 ;
27447 char *kwnames[] = {
27448 (char *) "self",(char *) "tip", NULL
27449 };
27450
27451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
27452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27454 {
27455 arg2 = wxString_in_helper(obj1);
27456 if (arg2 == NULL) SWIG_fail;
27457 temp2 = True;
27458 }
27459 {
27460 PyThreadState* __tstate = wxPyBeginAllowThreads();
27461 (arg1)->SetToolTip((wxString const &)*arg2);
27462
27463 wxPyEndAllowThreads(__tstate);
27464 if (PyErr_Occurred()) SWIG_fail;
27465 }
27466 Py_INCREF(Py_None); resultobj = Py_None;
27467 {
27468 if (temp2)
27469 delete arg2;
27470 }
27471 return resultobj;
27472 fail:
27473 {
27474 if (temp2)
27475 delete arg2;
27476 }
27477 return NULL;
27478}
27479
27480
27481static PyObject *_wrap_Window_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
27482 PyObject *resultobj;
27483 wxWindow *arg1 = (wxWindow *) 0 ;
27484 wxToolTip *arg2 = (wxToolTip *) 0 ;
27485 PyObject * obj0 = 0 ;
27486 PyObject * obj1 = 0 ;
27487 char *kwnames[] = {
27488 (char *) "self",(char *) "tip", NULL
27489 };
27490
27491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
27492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27494 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolTip,
27495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27496 {
27497 PyThreadState* __tstate = wxPyBeginAllowThreads();
27498 (arg1)->SetToolTip(arg2);
27499
27500 wxPyEndAllowThreads(__tstate);
27501 if (PyErr_Occurred()) SWIG_fail;
27502 }
27503 Py_INCREF(Py_None); resultobj = Py_None;
27504 return resultobj;
27505 fail:
27506 return NULL;
27507}
27508
27509
27510static PyObject *_wrap_Window_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
27511 PyObject *resultobj;
27512 wxWindow *arg1 = (wxWindow *) 0 ;
27513 wxToolTip *result;
27514 PyObject * obj0 = 0 ;
27515 char *kwnames[] = {
27516 (char *) "self", NULL
27517 };
27518
27519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
27520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27522 {
27523 PyThreadState* __tstate = wxPyBeginAllowThreads();
27524 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
27525
27526 wxPyEndAllowThreads(__tstate);
27527 if (PyErr_Occurred()) SWIG_fail;
27528 }
27529 {
27530 resultobj = wxPyMake_wxObject(result);
27531 }
27532 return resultobj;
27533 fail:
27534 return NULL;
27535}
27536
27537
27538static PyObject *_wrap_Window_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
27539 PyObject *resultobj;
27540 wxWindow *arg1 = (wxWindow *) 0 ;
27541 wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ;
27542 PyObject * obj0 = 0 ;
27543 PyObject * obj1 = 0 ;
27544 char *kwnames[] = {
27545 (char *) "self",(char *) "dropTarget", NULL
27546 };
27547
27548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
27549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27551 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDropTarget,
27552 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
27553 {
27554 PyThreadState* __tstate = wxPyBeginAllowThreads();
27555 (arg1)->SetDropTarget(arg2);
27556
27557 wxPyEndAllowThreads(__tstate);
27558 if (PyErr_Occurred()) SWIG_fail;
27559 }
27560 Py_INCREF(Py_None); resultobj = Py_None;
27561 return resultobj;
27562 fail:
27563 return NULL;
27564}
27565
27566
27567static PyObject *_wrap_Window_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
27568 PyObject *resultobj;
27569 wxWindow *arg1 = (wxWindow *) 0 ;
27570 wxPyDropTarget *result;
27571 PyObject * obj0 = 0 ;
27572 char *kwnames[] = {
27573 (char *) "self", NULL
27574 };
27575
27576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
27577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27579 {
27580 PyThreadState* __tstate = wxPyBeginAllowThreads();
27581 result = (wxPyDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
27582
27583 wxPyEndAllowThreads(__tstate);
27584 if (PyErr_Occurred()) SWIG_fail;
27585 }
27586 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 0);
27587 return resultobj;
27588 fail:
27589 return NULL;
27590}
27591
27592
27593static PyObject *_wrap_Window_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
27594 PyObject *resultobj;
27595 wxWindow *arg1 = (wxWindow *) 0 ;
27596 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
27597 PyObject * obj0 = 0 ;
27598 PyObject * obj1 = 0 ;
27599 char *kwnames[] = {
27600 (char *) "self",(char *) "constraints", NULL
27601 };
27602
27603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
27604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27606 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
27607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27608 {
27609 PyThreadState* __tstate = wxPyBeginAllowThreads();
27610 (arg1)->SetConstraints(arg2);
27611
27612 wxPyEndAllowThreads(__tstate);
27613 if (PyErr_Occurred()) SWIG_fail;
27614 }
27615 Py_INCREF(Py_None); resultobj = Py_None;
27616 return resultobj;
27617 fail:
27618 return NULL;
27619}
27620
27621
27622static PyObject *_wrap_Window_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
27623 PyObject *resultobj;
27624 wxWindow *arg1 = (wxWindow *) 0 ;
27625 wxLayoutConstraints *result;
27626 PyObject * obj0 = 0 ;
27627 char *kwnames[] = {
27628 (char *) "self", NULL
27629 };
27630
27631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
27632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27634 {
27635 PyThreadState* __tstate = wxPyBeginAllowThreads();
27636 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
27637
27638 wxPyEndAllowThreads(__tstate);
27639 if (PyErr_Occurred()) SWIG_fail;
27640 }
27641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 0);
27642 return resultobj;
27643 fail:
27644 return NULL;
27645}
27646
27647
27648static PyObject *_wrap_Window_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
27649 PyObject *resultobj;
27650 wxWindow *arg1 = (wxWindow *) 0 ;
27651 bool arg2 ;
27652 PyObject * obj0 = 0 ;
27653 PyObject * obj1 = 0 ;
27654 char *kwnames[] = {
27655 (char *) "self",(char *) "autoLayout", NULL
27656 };
27657
27658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
27659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27661 arg2 = (bool) SWIG_AsBool(obj1);
27662 if (PyErr_Occurred()) SWIG_fail;
27663 {
27664 PyThreadState* __tstate = wxPyBeginAllowThreads();
27665 (arg1)->SetAutoLayout(arg2);
27666
27667 wxPyEndAllowThreads(__tstate);
27668 if (PyErr_Occurred()) SWIG_fail;
27669 }
27670 Py_INCREF(Py_None); resultobj = Py_None;
27671 return resultobj;
27672 fail:
27673 return NULL;
27674}
27675
27676
27677static PyObject *_wrap_Window_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
27678 PyObject *resultobj;
27679 wxWindow *arg1 = (wxWindow *) 0 ;
27680 bool result;
27681 PyObject * obj0 = 0 ;
27682 char *kwnames[] = {
27683 (char *) "self", NULL
27684 };
27685
27686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
27687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27689 {
27690 PyThreadState* __tstate = wxPyBeginAllowThreads();
27691 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
27692
27693 wxPyEndAllowThreads(__tstate);
27694 if (PyErr_Occurred()) SWIG_fail;
27695 }
27696 {
27697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27698 }
27699 return resultobj;
27700 fail:
27701 return NULL;
27702}
27703
27704
27705static PyObject *_wrap_Window_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
27706 PyObject *resultobj;
27707 wxWindow *arg1 = (wxWindow *) 0 ;
27708 bool result;
27709 PyObject * obj0 = 0 ;
27710 char *kwnames[] = {
27711 (char *) "self", NULL
27712 };
27713
27714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
27715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27717 {
27718 PyThreadState* __tstate = wxPyBeginAllowThreads();
27719 result = (bool)(arg1)->Layout();
27720
27721 wxPyEndAllowThreads(__tstate);
27722 if (PyErr_Occurred()) SWIG_fail;
27723 }
27724 {
27725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27726 }
27727 return resultobj;
27728 fail:
27729 return NULL;
27730}
27731
27732
27733static PyObject *_wrap_Window_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
27734 PyObject *resultobj;
27735 wxWindow *arg1 = (wxWindow *) 0 ;
27736 wxSizer *arg2 = (wxSizer *) 0 ;
27737 bool arg3 = (bool) True ;
27738 PyObject * obj0 = 0 ;
27739 PyObject * obj1 = 0 ;
27740 PyObject * obj2 = 0 ;
27741 char *kwnames[] = {
27742 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27743 };
27744
27745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
27746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27748 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
27749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27750 if (obj2) {
27751 arg3 = (bool) SWIG_AsBool(obj2);
27752 if (PyErr_Occurred()) SWIG_fail;
27753 }
27754 {
27755 PyThreadState* __tstate = wxPyBeginAllowThreads();
27756 (arg1)->SetSizer(arg2,arg3);
27757
27758 wxPyEndAllowThreads(__tstate);
27759 if (PyErr_Occurred()) SWIG_fail;
27760 }
27761 Py_INCREF(Py_None); resultobj = Py_None;
27762 return resultobj;
27763 fail:
27764 return NULL;
27765}
27766
27767
27768static PyObject *_wrap_Window_SetSizerAndFit(PyObject *self, PyObject *args, PyObject *kwargs) {
27769 PyObject *resultobj;
27770 wxWindow *arg1 = (wxWindow *) 0 ;
27771 wxSizer *arg2 = (wxSizer *) 0 ;
27772 bool arg3 = (bool) True ;
27773 PyObject * obj0 = 0 ;
27774 PyObject * obj1 = 0 ;
27775 PyObject * obj2 = 0 ;
27776 char *kwnames[] = {
27777 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27778 };
27779
27780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
27781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27783 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
27784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27785 if (obj2) {
27786 arg3 = (bool) SWIG_AsBool(obj2);
27787 if (PyErr_Occurred()) SWIG_fail;
27788 }
27789 {
27790 PyThreadState* __tstate = wxPyBeginAllowThreads();
27791 (arg1)->SetSizerAndFit(arg2,arg3);
27792
27793 wxPyEndAllowThreads(__tstate);
27794 if (PyErr_Occurred()) SWIG_fail;
27795 }
27796 Py_INCREF(Py_None); resultobj = Py_None;
27797 return resultobj;
27798 fail:
27799 return NULL;
27800}
27801
27802
27803static PyObject *_wrap_Window_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
27804 PyObject *resultobj;
27805 wxWindow *arg1 = (wxWindow *) 0 ;
27806 wxSizer *result;
27807 PyObject * obj0 = 0 ;
27808 char *kwnames[] = {
27809 (char *) "self", NULL
27810 };
27811
27812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
27813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27815 {
27816 PyThreadState* __tstate = wxPyBeginAllowThreads();
27817 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
27818
27819 wxPyEndAllowThreads(__tstate);
27820 if (PyErr_Occurred()) SWIG_fail;
27821 }
27822 {
27823 resultobj = wxPyMake_wxSizer(result);
27824 }
27825 return resultobj;
27826 fail:
27827 return NULL;
27828}
27829
27830
27831static PyObject *_wrap_Window_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
27832 PyObject *resultobj;
27833 wxWindow *arg1 = (wxWindow *) 0 ;
27834 wxSizer *arg2 = (wxSizer *) 0 ;
27835 PyObject * obj0 = 0 ;
27836 PyObject * obj1 = 0 ;
27837 char *kwnames[] = {
27838 (char *) "self",(char *) "sizer", NULL
27839 };
27840
27841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
27842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27844 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
27845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27846 {
27847 PyThreadState* __tstate = wxPyBeginAllowThreads();
27848 (arg1)->SetContainingSizer(arg2);
27849
27850 wxPyEndAllowThreads(__tstate);
27851 if (PyErr_Occurred()) SWIG_fail;
27852 }
27853 Py_INCREF(Py_None); resultobj = Py_None;
27854 return resultobj;
27855 fail:
27856 return NULL;
27857}
27858
27859
27860static PyObject *_wrap_Window_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
27861 PyObject *resultobj;
27862 wxWindow *arg1 = (wxWindow *) 0 ;
27863 wxSizer *result;
27864 PyObject * obj0 = 0 ;
27865 char *kwnames[] = {
27866 (char *) "self", NULL
27867 };
27868
27869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
27870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27872 {
27873 PyThreadState* __tstate = wxPyBeginAllowThreads();
27874 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
27875
27876 wxPyEndAllowThreads(__tstate);
27877 if (PyErr_Occurred()) SWIG_fail;
27878 }
27879 {
27880 resultobj = wxPyMake_wxSizer(result);
27881 }
27882 return resultobj;
27883 fail:
27884 return NULL;
27885}
27886
27887
27888static PyObject *_wrap_Window_InheritAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
27889 PyObject *resultobj;
27890 wxWindow *arg1 = (wxWindow *) 0 ;
27891 PyObject * obj0 = 0 ;
27892 char *kwnames[] = {
27893 (char *) "self", NULL
27894 };
27895
27896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InheritAttributes",kwnames,&obj0)) goto fail;
27897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27899 {
27900 PyThreadState* __tstate = wxPyBeginAllowThreads();
27901 (arg1)->InheritAttributes();
27902
27903 wxPyEndAllowThreads(__tstate);
27904 if (PyErr_Occurred()) SWIG_fail;
27905 }
27906 Py_INCREF(Py_None); resultobj = Py_None;
27907 return resultobj;
27908 fail:
27909 return NULL;
27910}
27911
27912
27913static PyObject *_wrap_Window_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
27914 PyObject *resultobj;
27915 wxWindow *arg1 = (wxWindow *) 0 ;
27916 bool result;
27917 PyObject * obj0 = 0 ;
27918 char *kwnames[] = {
27919 (char *) "self", NULL
27920 };
27921
27922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ShouldInheritColours",kwnames,&obj0)) goto fail;
27923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27925 {
27926 PyThreadState* __tstate = wxPyBeginAllowThreads();
27927 result = (bool)((wxWindow const *)arg1)->ShouldInheritColours();
27928
27929 wxPyEndAllowThreads(__tstate);
27930 if (PyErr_Occurred()) SWIG_fail;
27931 }
27932 {
27933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27934 }
27935 return resultobj;
27936 fail:
27937 return NULL;
27938}
27939
27940
27941static PyObject * Window_swigregister(PyObject *self, PyObject *args) {
27942 PyObject *obj;
27943 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27944 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
27945 Py_INCREF(obj);
27946 return Py_BuildValue((char *)"");
27947}
27948static PyObject *_wrap_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
27949 PyObject *resultobj;
27950 long arg1 ;
27951 wxWindow *arg2 = (wxWindow *) NULL ;
27952 wxWindow *result;
27953 PyObject * obj0 = 0 ;
27954 PyObject * obj1 = 0 ;
27955 char *kwnames[] = {
27956 (char *) "id",(char *) "parent", NULL
27957 };
27958
27959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowById",kwnames,&obj0,&obj1)) goto fail;
27960 arg1 = (long) SWIG_AsLong(obj0);
27961 if (PyErr_Occurred()) SWIG_fail;
27962 if (obj1) {
27963 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
27964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27965 }
27966 {
27967 PyThreadState* __tstate = wxPyBeginAllowThreads();
27968 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
27969
27970 wxPyEndAllowThreads(__tstate);
27971 if (PyErr_Occurred()) SWIG_fail;
27972 }
27973 {
27974 resultobj = wxPyMake_wxObject(result);
27975 }
27976 return resultobj;
27977 fail:
27978 return NULL;
27979}
27980
27981
27982static PyObject *_wrap_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
27983 PyObject *resultobj;
27984 wxString *arg1 = 0 ;
27985 wxWindow *arg2 = (wxWindow *) NULL ;
27986 wxWindow *result;
27987 bool temp1 = False ;
27988 PyObject * obj0 = 0 ;
27989 PyObject * obj1 = 0 ;
27990 char *kwnames[] = {
27991 (char *) "name",(char *) "parent", NULL
27992 };
27993
27994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
27995 {
27996 arg1 = wxString_in_helper(obj0);
27997 if (arg1 == NULL) SWIG_fail;
27998 temp1 = True;
27999 }
28000 if (obj1) {
28001 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28003 }
28004 {
28005 PyThreadState* __tstate = wxPyBeginAllowThreads();
28006 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
28007
28008 wxPyEndAllowThreads(__tstate);
28009 if (PyErr_Occurred()) SWIG_fail;
28010 }
28011 {
28012 resultobj = wxPyMake_wxObject(result);
28013 }
28014 {
28015 if (temp1)
28016 delete arg1;
28017 }
28018 return resultobj;
28019 fail:
28020 {
28021 if (temp1)
28022 delete arg1;
28023 }
28024 return NULL;
28025}
28026
28027
28028static PyObject *_wrap_FindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28029 PyObject *resultobj;
28030 wxString *arg1 = 0 ;
28031 wxWindow *arg2 = (wxWindow *) NULL ;
28032 wxWindow *result;
28033 bool temp1 = False ;
28034 PyObject * obj0 = 0 ;
28035 PyObject * obj1 = 0 ;
28036 char *kwnames[] = {
28037 (char *) "label",(char *) "parent", NULL
28038 };
28039
28040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
28041 {
28042 arg1 = wxString_in_helper(obj0);
28043 if (arg1 == NULL) SWIG_fail;
28044 temp1 = True;
28045 }
28046 if (obj1) {
28047 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28049 }
28050 {
28051 PyThreadState* __tstate = wxPyBeginAllowThreads();
28052 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
28053
28054 wxPyEndAllowThreads(__tstate);
28055 if (PyErr_Occurred()) SWIG_fail;
28056 }
28057 {
28058 resultobj = wxPyMake_wxObject(result);
28059 }
28060 {
28061 if (temp1)
28062 delete arg1;
28063 }
28064 return resultobj;
28065 fail:
28066 {
28067 if (temp1)
28068 delete arg1;
28069 }
28070 return NULL;
28071}
28072
28073
28074static PyObject *_wrap_Window_FromHWND(PyObject *self, PyObject *args, PyObject *kwargs) {
28075 PyObject *resultobj;
28076 wxWindow *arg1 = (wxWindow *) 0 ;
28077 unsigned long arg2 ;
28078 wxWindow *result;
28079 PyObject * obj0 = 0 ;
28080 PyObject * obj1 = 0 ;
28081 char *kwnames[] = {
28082 (char *) "parent",(char *) "_hWnd", NULL
28083 };
28084
28085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FromHWND",kwnames,&obj0,&obj1)) goto fail;
28086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28088 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
28089 if (PyErr_Occurred()) SWIG_fail;
28090 {
28091 PyThreadState* __tstate = wxPyBeginAllowThreads();
28092 result = (wxWindow *)wxWindow_FromHWND(arg1,arg2);
28093
28094 wxPyEndAllowThreads(__tstate);
28095 if (PyErr_Occurred()) SWIG_fail;
28096 }
28097 {
28098 resultobj = wxPyMake_wxObject(result);
28099 }
28100 return resultobj;
28101 fail:
28102 return NULL;
28103}
28104
28105
28106static PyObject *_wrap_new_Validator(PyObject *self, PyObject *args, PyObject *kwargs) {
28107 PyObject *resultobj;
28108 wxValidator *result;
28109 char *kwnames[] = {
28110 NULL
28111 };
28112
28113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
28114 {
28115 PyThreadState* __tstate = wxPyBeginAllowThreads();
28116 result = (wxValidator *)new wxValidator();
28117
28118 wxPyEndAllowThreads(__tstate);
28119 if (PyErr_Occurred()) SWIG_fail;
28120 }
28121 {
28122 resultobj = wxPyMake_wxObject(result);
28123 }
28124 return resultobj;
28125 fail:
28126 return NULL;
28127}
28128
28129
28130static PyObject *_wrap_Validator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
28131 PyObject *resultobj;
28132 wxValidator *arg1 = (wxValidator *) 0 ;
28133 wxValidator *result;
28134 PyObject * obj0 = 0 ;
28135 char *kwnames[] = {
28136 (char *) "self", NULL
28137 };
28138
28139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
28140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28142 {
28143 PyThreadState* __tstate = wxPyBeginAllowThreads();
28144 result = (wxValidator *)(arg1)->Clone();
28145
28146 wxPyEndAllowThreads(__tstate);
28147 if (PyErr_Occurred()) SWIG_fail;
28148 }
28149 {
28150 resultobj = wxPyMake_wxObject(result);
28151 }
28152 return resultobj;
28153 fail:
28154 return NULL;
28155}
28156
28157
28158static PyObject *_wrap_Validator_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
28159 PyObject *resultobj;
28160 wxValidator *arg1 = (wxValidator *) 0 ;
28161 wxWindow *arg2 = (wxWindow *) 0 ;
28162 bool result;
28163 PyObject * obj0 = 0 ;
28164 PyObject * obj1 = 0 ;
28165 char *kwnames[] = {
28166 (char *) "self",(char *) "parent", NULL
28167 };
28168
28169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
28170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28172 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28174 {
28175 PyThreadState* __tstate = wxPyBeginAllowThreads();
28176 result = (bool)(arg1)->Validate(arg2);
28177
28178 wxPyEndAllowThreads(__tstate);
28179 if (PyErr_Occurred()) SWIG_fail;
28180 }
28181 {
28182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28183 }
28184 return resultobj;
28185 fail:
28186 return NULL;
28187}
28188
28189
28190static PyObject *_wrap_Validator_TransferToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28191 PyObject *resultobj;
28192 wxValidator *arg1 = (wxValidator *) 0 ;
28193 bool result;
28194 PyObject * obj0 = 0 ;
28195 char *kwnames[] = {
28196 (char *) "self", NULL
28197 };
28198
28199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
28200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28202 {
28203 PyThreadState* __tstate = wxPyBeginAllowThreads();
28204 result = (bool)(arg1)->TransferToWindow();
28205
28206 wxPyEndAllowThreads(__tstate);
28207 if (PyErr_Occurred()) SWIG_fail;
28208 }
28209 {
28210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28211 }
28212 return resultobj;
28213 fail:
28214 return NULL;
28215}
28216
28217
28218static PyObject *_wrap_Validator_TransferFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28219 PyObject *resultobj;
28220 wxValidator *arg1 = (wxValidator *) 0 ;
28221 bool result;
28222 PyObject * obj0 = 0 ;
28223 char *kwnames[] = {
28224 (char *) "self", NULL
28225 };
28226
28227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
28228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28230 {
28231 PyThreadState* __tstate = wxPyBeginAllowThreads();
28232 result = (bool)(arg1)->TransferFromWindow();
28233
28234 wxPyEndAllowThreads(__tstate);
28235 if (PyErr_Occurred()) SWIG_fail;
28236 }
28237 {
28238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28239 }
28240 return resultobj;
28241 fail:
28242 return NULL;
28243}
28244
28245
28246static PyObject *_wrap_Validator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28247 PyObject *resultobj;
28248 wxValidator *arg1 = (wxValidator *) 0 ;
28249 wxWindow *result;
28250 PyObject * obj0 = 0 ;
28251 char *kwnames[] = {
28252 (char *) "self", NULL
28253 };
28254
28255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
28256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28258 {
28259 PyThreadState* __tstate = wxPyBeginAllowThreads();
28260 result = (wxWindow *)(arg1)->GetWindow();
28261
28262 wxPyEndAllowThreads(__tstate);
28263 if (PyErr_Occurred()) SWIG_fail;
28264 }
28265 {
28266 resultobj = wxPyMake_wxObject(result);
28267 }
28268 return resultobj;
28269 fail:
28270 return NULL;
28271}
28272
28273
28274static PyObject *_wrap_Validator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28275 PyObject *resultobj;
28276 wxValidator *arg1 = (wxValidator *) 0 ;
28277 wxWindow *arg2 = (wxWindow *) 0 ;
28278 PyObject * obj0 = 0 ;
28279 PyObject * obj1 = 0 ;
28280 char *kwnames[] = {
28281 (char *) "self",(char *) "window", NULL
28282 };
28283
28284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
28285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28287 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28289 {
28290 PyThreadState* __tstate = wxPyBeginAllowThreads();
28291 (arg1)->SetWindow(arg2);
28292
28293 wxPyEndAllowThreads(__tstate);
28294 if (PyErr_Occurred()) SWIG_fail;
28295 }
28296 Py_INCREF(Py_None); resultobj = Py_None;
28297 return resultobj;
28298 fail:
28299 return NULL;
28300}
28301
28302
28303static PyObject *_wrap_Validator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
28304 PyObject *resultobj;
28305 bool result;
28306 char *kwnames[] = {
28307 NULL
28308 };
28309
28310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
28311 {
28312 PyThreadState* __tstate = wxPyBeginAllowThreads();
28313 result = (bool)wxValidator::IsSilent();
28314
28315 wxPyEndAllowThreads(__tstate);
28316 if (PyErr_Occurred()) SWIG_fail;
28317 }
28318 {
28319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28320 }
28321 return resultobj;
28322 fail:
28323 return NULL;
28324}
28325
28326
28327static PyObject *_wrap_Validator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
28328 PyObject *resultobj;
28329 int arg1 = (int) True ;
28330 PyObject * obj0 = 0 ;
28331 char *kwnames[] = {
28332 (char *) "doIt", NULL
28333 };
28334
28335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Validator_SetBellOnError",kwnames,&obj0)) goto fail;
28336 if (obj0) {
28337 arg1 = (int) SWIG_AsInt(obj0);
28338 if (PyErr_Occurred()) SWIG_fail;
28339 }
28340 {
28341 PyThreadState* __tstate = wxPyBeginAllowThreads();
28342 wxValidator::SetBellOnError(arg1);
28343
28344 wxPyEndAllowThreads(__tstate);
28345 if (PyErr_Occurred()) SWIG_fail;
28346 }
28347 Py_INCREF(Py_None); resultobj = Py_None;
28348 return resultobj;
28349 fail:
28350 return NULL;
28351}
28352
28353
28354static PyObject * Validator_swigregister(PyObject *self, PyObject *args) {
28355 PyObject *obj;
28356 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28357 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
28358 Py_INCREF(obj);
28359 return Py_BuildValue((char *)"");
28360}
28361static PyObject *_wrap_new_PyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
28362 PyObject *resultobj;
28363 wxPyValidator *result;
28364 char *kwnames[] = {
28365 NULL
28366 };
28367
28368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
28369 {
28370 PyThreadState* __tstate = wxPyBeginAllowThreads();
28371 result = (wxPyValidator *)new wxPyValidator();
28372
28373 wxPyEndAllowThreads(__tstate);
28374 if (PyErr_Occurred()) SWIG_fail;
28375 }
28376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyValidator, 1);
28377 return resultobj;
28378 fail:
28379 return NULL;
28380}
28381
28382
28383static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
28384 PyObject *resultobj;
28385 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
28386 PyObject *arg2 = (PyObject *) 0 ;
28387 PyObject *arg3 = (PyObject *) 0 ;
28388 int arg4 = (int) True ;
28389 PyObject * obj0 = 0 ;
28390 PyObject * obj1 = 0 ;
28391 PyObject * obj2 = 0 ;
28392 PyObject * obj3 = 0 ;
28393 char *kwnames[] = {
28394 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28395 };
28396
28397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyValidator,
28399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28400 arg2 = obj1;
28401 arg3 = obj2;
28402 if (obj3) {
28403 arg4 = (int) SWIG_AsInt(obj3);
28404 if (PyErr_Occurred()) SWIG_fail;
28405 }
28406 {
28407 PyThreadState* __tstate = wxPyBeginAllowThreads();
28408 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
28409
28410 wxPyEndAllowThreads(__tstate);
28411 if (PyErr_Occurred()) SWIG_fail;
28412 }
28413 Py_INCREF(Py_None); resultobj = Py_None;
28414 return resultobj;
28415 fail:
28416 return NULL;
28417}
28418
28419
28420static PyObject * PyValidator_swigregister(PyObject *self, PyObject *args) {
28421 PyObject *obj;
28422 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28423 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
28424 Py_INCREF(obj);
28425 return Py_BuildValue((char *)"");
28426}
28427static int _wrap_DefaultValidator_set(PyObject *_val) {
28428 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
28429 return 1;
28430}
28431
28432
28433static PyObject *_wrap_DefaultValidator_get() {
28434 PyObject *pyobj;
28435
28436 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultValidator), SWIGTYPE_p_wxValidator, 0);
28437 return pyobj;
28438}
28439
28440
28441static PyObject *_wrap_new_Menu(PyObject *self, PyObject *args, PyObject *kwargs) {
28442 PyObject *resultobj;
28443 wxString const &arg1_defvalue = wxPyEmptyString ;
28444 wxString *arg1 = (wxString *) &arg1_defvalue ;
28445 long arg2 = (long) 0 ;
28446 wxMenu *result;
28447 bool temp1 = False ;
28448 PyObject * obj0 = 0 ;
28449 PyObject * obj1 = 0 ;
28450 char *kwnames[] = {
28451 (char *) "title",(char *) "style", NULL
28452 };
28453
28454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Menu",kwnames,&obj0,&obj1)) goto fail;
28455 if (obj0) {
28456 {
28457 arg1 = wxString_in_helper(obj0);
28458 if (arg1 == NULL) SWIG_fail;
28459 temp1 = True;
28460 }
28461 }
28462 if (obj1) {
28463 arg2 = (long) SWIG_AsLong(obj1);
28464 if (PyErr_Occurred()) SWIG_fail;
28465 }
28466 {
28467 PyThreadState* __tstate = wxPyBeginAllowThreads();
28468 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
28469
28470 wxPyEndAllowThreads(__tstate);
28471 if (PyErr_Occurred()) SWIG_fail;
28472 }
28473 {
28474 resultobj = wxPyMake_wxObject(result);
28475 }
28476 {
28477 if (temp1)
28478 delete arg1;
28479 }
28480 return resultobj;
28481 fail:
28482 {
28483 if (temp1)
28484 delete arg1;
28485 }
28486 return NULL;
28487}
28488
28489
28490static PyObject *_wrap_Menu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
28491 PyObject *resultobj;
28492 wxMenu *arg1 = (wxMenu *) 0 ;
28493 int arg2 ;
28494 wxString *arg3 = 0 ;
28495 wxString const &arg4_defvalue = wxPyEmptyString ;
28496 wxString *arg4 = (wxString *) &arg4_defvalue ;
28497 int arg5 = (int) wxITEM_NORMAL ;
28498 wxMenuItem *result;
28499 bool temp3 = False ;
28500 bool temp4 = False ;
28501 PyObject * obj0 = 0 ;
28502 PyObject * obj1 = 0 ;
28503 PyObject * obj2 = 0 ;
28504 PyObject * obj3 = 0 ;
28505 PyObject * obj4 = 0 ;
28506 char *kwnames[] = {
28507 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28508 };
28509
28510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28513 arg2 = (int) SWIG_AsInt(obj1);
28514 if (PyErr_Occurred()) SWIG_fail;
28515 {
28516 arg3 = wxString_in_helper(obj2);
28517 if (arg3 == NULL) SWIG_fail;
28518 temp3 = True;
28519 }
28520 if (obj3) {
28521 {
28522 arg4 = wxString_in_helper(obj3);
28523 if (arg4 == NULL) SWIG_fail;
28524 temp4 = True;
28525 }
28526 }
28527 if (obj4) {
28528 arg5 = (wxItemKind) SWIG_AsInt(obj4);
28529 if (PyErr_Occurred()) SWIG_fail;
28530 }
28531 {
28532 PyThreadState* __tstate = wxPyBeginAllowThreads();
28533 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
28534
28535 wxPyEndAllowThreads(__tstate);
28536 if (PyErr_Occurred()) SWIG_fail;
28537 }
28538 {
28539 resultobj = wxPyMake_wxObject(result);
28540 }
28541 {
28542 if (temp3)
28543 delete arg3;
28544 }
28545 {
28546 if (temp4)
28547 delete arg4;
28548 }
28549 return resultobj;
28550 fail:
28551 {
28552 if (temp3)
28553 delete arg3;
28554 }
28555 {
28556 if (temp4)
28557 delete arg4;
28558 }
28559 return NULL;
28560}
28561
28562
28563static PyObject *_wrap_Menu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
28564 PyObject *resultobj;
28565 wxMenu *arg1 = (wxMenu *) 0 ;
28566 wxMenuItem *result;
28567 PyObject * obj0 = 0 ;
28568 char *kwnames[] = {
28569 (char *) "self", NULL
28570 };
28571
28572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
28573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28575 {
28576 PyThreadState* __tstate = wxPyBeginAllowThreads();
28577 result = (wxMenuItem *)(arg1)->AppendSeparator();
28578
28579 wxPyEndAllowThreads(__tstate);
28580 if (PyErr_Occurred()) SWIG_fail;
28581 }
28582 {
28583 resultobj = wxPyMake_wxObject(result);
28584 }
28585 return resultobj;
28586 fail:
28587 return NULL;
28588}
28589
28590
28591static PyObject *_wrap_Menu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28592 PyObject *resultobj;
28593 wxMenu *arg1 = (wxMenu *) 0 ;
28594 int arg2 ;
28595 wxString *arg3 = 0 ;
28596 wxString const &arg4_defvalue = wxPyEmptyString ;
28597 wxString *arg4 = (wxString *) &arg4_defvalue ;
28598 wxMenuItem *result;
28599 bool temp3 = False ;
28600 bool temp4 = False ;
28601 PyObject * obj0 = 0 ;
28602 PyObject * obj1 = 0 ;
28603 PyObject * obj2 = 0 ;
28604 PyObject * obj3 = 0 ;
28605 char *kwnames[] = {
28606 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28607 };
28608
28609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28612 arg2 = (int) SWIG_AsInt(obj1);
28613 if (PyErr_Occurred()) SWIG_fail;
28614 {
28615 arg3 = wxString_in_helper(obj2);
28616 if (arg3 == NULL) SWIG_fail;
28617 temp3 = True;
28618 }
28619 if (obj3) {
28620 {
28621 arg4 = wxString_in_helper(obj3);
28622 if (arg4 == NULL) SWIG_fail;
28623 temp4 = True;
28624 }
28625 }
28626 {
28627 PyThreadState* __tstate = wxPyBeginAllowThreads();
28628 result = (wxMenuItem *)(arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
28629
28630 wxPyEndAllowThreads(__tstate);
28631 if (PyErr_Occurred()) SWIG_fail;
28632 }
28633 {
28634 resultobj = wxPyMake_wxObject(result);
28635 }
28636 {
28637 if (temp3)
28638 delete arg3;
28639 }
28640 {
28641 if (temp4)
28642 delete arg4;
28643 }
28644 return resultobj;
28645 fail:
28646 {
28647 if (temp3)
28648 delete arg3;
28649 }
28650 {
28651 if (temp4)
28652 delete arg4;
28653 }
28654 return NULL;
28655}
28656
28657
28658static PyObject *_wrap_Menu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28659 PyObject *resultobj;
28660 wxMenu *arg1 = (wxMenu *) 0 ;
28661 int arg2 ;
28662 wxString *arg3 = 0 ;
28663 wxString const &arg4_defvalue = wxPyEmptyString ;
28664 wxString *arg4 = (wxString *) &arg4_defvalue ;
28665 wxMenuItem *result;
28666 bool temp3 = False ;
28667 bool temp4 = False ;
28668 PyObject * obj0 = 0 ;
28669 PyObject * obj1 = 0 ;
28670 PyObject * obj2 = 0 ;
28671 PyObject * obj3 = 0 ;
28672 char *kwnames[] = {
28673 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28674 };
28675
28676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28679 arg2 = (int) SWIG_AsInt(obj1);
28680 if (PyErr_Occurred()) SWIG_fail;
28681 {
28682 arg3 = wxString_in_helper(obj2);
28683 if (arg3 == NULL) SWIG_fail;
28684 temp3 = True;
28685 }
28686 if (obj3) {
28687 {
28688 arg4 = wxString_in_helper(obj3);
28689 if (arg4 == NULL) SWIG_fail;
28690 temp4 = True;
28691 }
28692 }
28693 {
28694 PyThreadState* __tstate = wxPyBeginAllowThreads();
28695 result = (wxMenuItem *)(arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
28696
28697 wxPyEndAllowThreads(__tstate);
28698 if (PyErr_Occurred()) SWIG_fail;
28699 }
28700 {
28701 resultobj = wxPyMake_wxObject(result);
28702 }
28703 {
28704 if (temp3)
28705 delete arg3;
28706 }
28707 {
28708 if (temp4)
28709 delete arg4;
28710 }
28711 return resultobj;
28712 fail:
28713 {
28714 if (temp3)
28715 delete arg3;
28716 }
28717 {
28718 if (temp4)
28719 delete arg4;
28720 }
28721 return NULL;
28722}
28723
28724
28725static PyObject *_wrap_Menu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
28726 PyObject *resultobj;
28727 wxMenu *arg1 = (wxMenu *) 0 ;
28728 int arg2 ;
28729 wxString *arg3 = 0 ;
28730 wxMenu *arg4 = (wxMenu *) 0 ;
28731 wxString const &arg5_defvalue = wxPyEmptyString ;
28732 wxString *arg5 = (wxString *) &arg5_defvalue ;
28733 wxMenuItem *result;
28734 bool temp3 = False ;
28735 bool temp5 = False ;
28736 PyObject * obj0 = 0 ;
28737 PyObject * obj1 = 0 ;
28738 PyObject * obj2 = 0 ;
28739 PyObject * obj3 = 0 ;
28740 PyObject * obj4 = 0 ;
28741 char *kwnames[] = {
28742 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28743 };
28744
28745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_AppendMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28748 arg2 = (int) SWIG_AsInt(obj1);
28749 if (PyErr_Occurred()) SWIG_fail;
28750 {
28751 arg3 = wxString_in_helper(obj2);
28752 if (arg3 == NULL) SWIG_fail;
28753 temp3 = True;
28754 }
28755 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
28756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28757 if (obj4) {
28758 {
28759 arg5 = wxString_in_helper(obj4);
28760 if (arg5 == NULL) SWIG_fail;
28761 temp5 = True;
28762 }
28763 }
28764 {
28765 PyThreadState* __tstate = wxPyBeginAllowThreads();
28766 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
28767
28768 wxPyEndAllowThreads(__tstate);
28769 if (PyErr_Occurred()) SWIG_fail;
28770 }
28771 {
28772 resultobj = wxPyMake_wxObject(result);
28773 }
28774 {
28775 if (temp3)
28776 delete arg3;
28777 }
28778 {
28779 if (temp5)
28780 delete arg5;
28781 }
28782 return resultobj;
28783 fail:
28784 {
28785 if (temp3)
28786 delete arg3;
28787 }
28788 {
28789 if (temp5)
28790 delete arg5;
28791 }
28792 return NULL;
28793}
28794
28795
28796static PyObject *_wrap_Menu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28797 PyObject *resultobj;
28798 wxMenu *arg1 = (wxMenu *) 0 ;
28799 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
28800 wxMenuItem *result;
28801 PyObject * obj0 = 0 ;
28802 PyObject * obj1 = 0 ;
28803 char *kwnames[] = {
28804 (char *) "self",(char *) "item", NULL
28805 };
28806
28807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
28808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28810 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
28811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28812 {
28813 PyThreadState* __tstate = wxPyBeginAllowThreads();
28814 result = (wxMenuItem *)(arg1)->Append(arg2);
28815
28816 wxPyEndAllowThreads(__tstate);
28817 if (PyErr_Occurred()) SWIG_fail;
28818 }
28819 {
28820 resultobj = wxPyMake_wxObject(result);
28821 }
28822 return resultobj;
28823 fail:
28824 return NULL;
28825}
28826
28827
28828static PyObject *_wrap_Menu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
28829 PyObject *resultobj;
28830 wxMenu *arg1 = (wxMenu *) 0 ;
28831 PyObject * obj0 = 0 ;
28832 char *kwnames[] = {
28833 (char *) "self", NULL
28834 };
28835
28836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
28837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28839 {
28840 PyThreadState* __tstate = wxPyBeginAllowThreads();
28841 (arg1)->Break();
28842
28843 wxPyEndAllowThreads(__tstate);
28844 if (PyErr_Occurred()) SWIG_fail;
28845 }
28846 Py_INCREF(Py_None); resultobj = Py_None;
28847 return resultobj;
28848 fail:
28849 return NULL;
28850}
28851
28852
28853static PyObject *_wrap_Menu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28854 PyObject *resultobj;
28855 wxMenu *arg1 = (wxMenu *) 0 ;
28856 size_t arg2 ;
28857 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
28858 wxMenuItem *result;
28859 PyObject * obj0 = 0 ;
28860 PyObject * obj1 = 0 ;
28861 PyObject * obj2 = 0 ;
28862 char *kwnames[] = {
28863 (char *) "self",(char *) "pos",(char *) "item", NULL
28864 };
28865
28866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
28867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28869 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
28870 if (PyErr_Occurred()) SWIG_fail;
28871 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenuItem,
28872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28873 {
28874 PyThreadState* __tstate = wxPyBeginAllowThreads();
28875 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3);
28876
28877 wxPyEndAllowThreads(__tstate);
28878 if (PyErr_Occurred()) SWIG_fail;
28879 }
28880 {
28881 resultobj = wxPyMake_wxObject(result);
28882 }
28883 return resultobj;
28884 fail:
28885 return NULL;
28886}
28887
28888
28889static PyObject *_wrap_Menu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
28890 PyObject *resultobj;
28891 wxMenu *arg1 = (wxMenu *) 0 ;
28892 size_t arg2 ;
28893 int arg3 ;
28894 wxString *arg4 = 0 ;
28895 wxString const &arg5_defvalue = wxPyEmptyString ;
28896 wxString *arg5 = (wxString *) &arg5_defvalue ;
28897 int arg6 = (int) wxITEM_NORMAL ;
28898 wxMenuItem *result;
28899 bool temp4 = False ;
28900 bool temp5 = False ;
28901 PyObject * obj0 = 0 ;
28902 PyObject * obj1 = 0 ;
28903 PyObject * obj2 = 0 ;
28904 PyObject * obj3 = 0 ;
28905 PyObject * obj4 = 0 ;
28906 PyObject * obj5 = 0 ;
28907 char *kwnames[] = {
28908 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28909 };
28910
28911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Menu_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
28912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28914 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
28915 if (PyErr_Occurred()) SWIG_fail;
28916 arg3 = (int) SWIG_AsInt(obj2);
28917 if (PyErr_Occurred()) SWIG_fail;
28918 {
28919 arg4 = wxString_in_helper(obj3);
28920 if (arg4 == NULL) SWIG_fail;
28921 temp4 = True;
28922 }
28923 if (obj4) {
28924 {
28925 arg5 = wxString_in_helper(obj4);
28926 if (arg5 == NULL) SWIG_fail;
28927 temp5 = True;
28928 }
28929 }
28930 if (obj5) {
28931 arg6 = (wxItemKind) SWIG_AsInt(obj5);
28932 if (PyErr_Occurred()) SWIG_fail;
28933 }
28934 {
28935 PyThreadState* __tstate = wxPyBeginAllowThreads();
28936 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
28937
28938 wxPyEndAllowThreads(__tstate);
28939 if (PyErr_Occurred()) SWIG_fail;
28940 }
28941 {
28942 resultobj = wxPyMake_wxObject(result);
28943 }
28944 {
28945 if (temp4)
28946 delete arg4;
28947 }
28948 {
28949 if (temp5)
28950 delete arg5;
28951 }
28952 return resultobj;
28953 fail:
28954 {
28955 if (temp4)
28956 delete arg4;
28957 }
28958 {
28959 if (temp5)
28960 delete arg5;
28961 }
28962 return NULL;
28963}
28964
28965
28966static PyObject *_wrap_Menu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
28967 PyObject *resultobj;
28968 wxMenu *arg1 = (wxMenu *) 0 ;
28969 size_t arg2 ;
28970 wxMenuItem *result;
28971 PyObject * obj0 = 0 ;
28972 PyObject * obj1 = 0 ;
28973 char *kwnames[] = {
28974 (char *) "self",(char *) "pos", NULL
28975 };
28976
28977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
28978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28980 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
28981 if (PyErr_Occurred()) SWIG_fail;
28982 {
28983 PyThreadState* __tstate = wxPyBeginAllowThreads();
28984 result = (wxMenuItem *)(arg1)->InsertSeparator(arg2);
28985
28986 wxPyEndAllowThreads(__tstate);
28987 if (PyErr_Occurred()) SWIG_fail;
28988 }
28989 {
28990 resultobj = wxPyMake_wxObject(result);
28991 }
28992 return resultobj;
28993 fail:
28994 return NULL;
28995}
28996
28997
28998static PyObject *_wrap_Menu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28999 PyObject *resultobj;
29000 wxMenu *arg1 = (wxMenu *) 0 ;
29001 size_t arg2 ;
29002 int arg3 ;
29003 wxString *arg4 = 0 ;
29004 wxString const &arg5_defvalue = wxPyEmptyString ;
29005 wxString *arg5 = (wxString *) &arg5_defvalue ;
29006 wxMenuItem *result;
29007 bool temp4 = False ;
29008 bool temp5 = False ;
29009 PyObject * obj0 = 0 ;
29010 PyObject * obj1 = 0 ;
29011 PyObject * obj2 = 0 ;
29012 PyObject * obj3 = 0 ;
29013 PyObject * obj4 = 0 ;
29014 char *kwnames[] = {
29015 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29016 };
29017
29018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29021 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29022 if (PyErr_Occurred()) SWIG_fail;
29023 arg3 = (int) SWIG_AsInt(obj2);
29024 if (PyErr_Occurred()) SWIG_fail;
29025 {
29026 arg4 = wxString_in_helper(obj3);
29027 if (arg4 == NULL) SWIG_fail;
29028 temp4 = True;
29029 }
29030 if (obj4) {
29031 {
29032 arg5 = wxString_in_helper(obj4);
29033 if (arg5 == NULL) SWIG_fail;
29034 temp5 = True;
29035 }
29036 }
29037 {
29038 PyThreadState* __tstate = wxPyBeginAllowThreads();
29039 result = (wxMenuItem *)(arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
29040
29041 wxPyEndAllowThreads(__tstate);
29042 if (PyErr_Occurred()) SWIG_fail;
29043 }
29044 {
29045 resultobj = wxPyMake_wxObject(result);
29046 }
29047 {
29048 if (temp4)
29049 delete arg4;
29050 }
29051 {
29052 if (temp5)
29053 delete arg5;
29054 }
29055 return resultobj;
29056 fail:
29057 {
29058 if (temp4)
29059 delete arg4;
29060 }
29061 {
29062 if (temp5)
29063 delete arg5;
29064 }
29065 return NULL;
29066}
29067
29068
29069static PyObject *_wrap_Menu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29070 PyObject *resultobj;
29071 wxMenu *arg1 = (wxMenu *) 0 ;
29072 size_t arg2 ;
29073 int arg3 ;
29074 wxString *arg4 = 0 ;
29075 wxString const &arg5_defvalue = wxPyEmptyString ;
29076 wxString *arg5 = (wxString *) &arg5_defvalue ;
29077 wxMenuItem *result;
29078 bool temp4 = False ;
29079 bool temp5 = False ;
29080 PyObject * obj0 = 0 ;
29081 PyObject * obj1 = 0 ;
29082 PyObject * obj2 = 0 ;
29083 PyObject * obj3 = 0 ;
29084 PyObject * obj4 = 0 ;
29085 char *kwnames[] = {
29086 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29087 };
29088
29089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29092 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29093 if (PyErr_Occurred()) SWIG_fail;
29094 arg3 = (int) SWIG_AsInt(obj2);
29095 if (PyErr_Occurred()) SWIG_fail;
29096 {
29097 arg4 = wxString_in_helper(obj3);
29098 if (arg4 == NULL) SWIG_fail;
29099 temp4 = True;
29100 }
29101 if (obj4) {
29102 {
29103 arg5 = wxString_in_helper(obj4);
29104 if (arg5 == NULL) SWIG_fail;
29105 temp5 = True;
29106 }
29107 }
29108 {
29109 PyThreadState* __tstate = wxPyBeginAllowThreads();
29110 result = (wxMenuItem *)(arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
29111
29112 wxPyEndAllowThreads(__tstate);
29113 if (PyErr_Occurred()) SWIG_fail;
29114 }
29115 {
29116 resultobj = wxPyMake_wxObject(result);
29117 }
29118 {
29119 if (temp4)
29120 delete arg4;
29121 }
29122 {
29123 if (temp5)
29124 delete arg5;
29125 }
29126 return resultobj;
29127 fail:
29128 {
29129 if (temp4)
29130 delete arg4;
29131 }
29132 {
29133 if (temp5)
29134 delete arg5;
29135 }
29136 return NULL;
29137}
29138
29139
29140static PyObject *_wrap_Menu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
29141 PyObject *resultobj;
29142 wxMenu *arg1 = (wxMenu *) 0 ;
29143 size_t arg2 ;
29144 int arg3 ;
29145 wxString *arg4 = 0 ;
29146 wxMenu *arg5 = (wxMenu *) 0 ;
29147 wxString const &arg6_defvalue = wxPyEmptyString ;
29148 wxString *arg6 = (wxString *) &arg6_defvalue ;
29149 wxMenuItem *result;
29150 bool temp4 = False ;
29151 bool temp6 = False ;
29152 PyObject * obj0 = 0 ;
29153 PyObject * obj1 = 0 ;
29154 PyObject * obj2 = 0 ;
29155 PyObject * obj3 = 0 ;
29156 PyObject * obj4 = 0 ;
29157 PyObject * obj5 = 0 ;
29158 char *kwnames[] = {
29159 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29160 };
29161
29162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29165 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29166 if (PyErr_Occurred()) SWIG_fail;
29167 arg3 = (int) SWIG_AsInt(obj2);
29168 if (PyErr_Occurred()) SWIG_fail;
29169 {
29170 arg4 = wxString_in_helper(obj3);
29171 if (arg4 == NULL) SWIG_fail;
29172 temp4 = True;
29173 }
29174 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMenu,
29175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29176 if (obj5) {
29177 {
29178 arg6 = wxString_in_helper(obj5);
29179 if (arg6 == NULL) SWIG_fail;
29180 temp6 = True;
29181 }
29182 }
29183 {
29184 PyThreadState* __tstate = wxPyBeginAllowThreads();
29185 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
29186
29187 wxPyEndAllowThreads(__tstate);
29188 if (PyErr_Occurred()) SWIG_fail;
29189 }
29190 {
29191 resultobj = wxPyMake_wxObject(result);
29192 }
29193 {
29194 if (temp4)
29195 delete arg4;
29196 }
29197 {
29198 if (temp6)
29199 delete arg6;
29200 }
29201 return resultobj;
29202 fail:
29203 {
29204 if (temp4)
29205 delete arg4;
29206 }
29207 {
29208 if (temp6)
29209 delete arg6;
29210 }
29211 return NULL;
29212}
29213
29214
29215static PyObject *_wrap_Menu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29216 PyObject *resultobj;
29217 wxMenu *arg1 = (wxMenu *) 0 ;
29218 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29219 wxMenuItem *result;
29220 PyObject * obj0 = 0 ;
29221 PyObject * obj1 = 0 ;
29222 char *kwnames[] = {
29223 (char *) "self",(char *) "item", NULL
29224 };
29225
29226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
29227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29229 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29231 {
29232 PyThreadState* __tstate = wxPyBeginAllowThreads();
29233 result = (wxMenuItem *)(arg1)->Prepend(arg2);
29234
29235 wxPyEndAllowThreads(__tstate);
29236 if (PyErr_Occurred()) SWIG_fail;
29237 }
29238 {
29239 resultobj = wxPyMake_wxObject(result);
29240 }
29241 return resultobj;
29242 fail:
29243 return NULL;
29244}
29245
29246
29247static PyObject *_wrap_Menu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
29248 PyObject *resultobj;
29249 wxMenu *arg1 = (wxMenu *) 0 ;
29250 int arg2 ;
29251 wxString *arg3 = 0 ;
29252 wxString const &arg4_defvalue = wxPyEmptyString ;
29253 wxString *arg4 = (wxString *) &arg4_defvalue ;
29254 int arg5 = (int) wxITEM_NORMAL ;
29255 wxMenuItem *result;
29256 bool temp3 = False ;
29257 bool temp4 = False ;
29258 PyObject * obj0 = 0 ;
29259 PyObject * obj1 = 0 ;
29260 PyObject * obj2 = 0 ;
29261 PyObject * obj3 = 0 ;
29262 PyObject * obj4 = 0 ;
29263 char *kwnames[] = {
29264 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29265 };
29266
29267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29270 arg2 = (int) SWIG_AsInt(obj1);
29271 if (PyErr_Occurred()) SWIG_fail;
29272 {
29273 arg3 = wxString_in_helper(obj2);
29274 if (arg3 == NULL) SWIG_fail;
29275 temp3 = True;
29276 }
29277 if (obj3) {
29278 {
29279 arg4 = wxString_in_helper(obj3);
29280 if (arg4 == NULL) SWIG_fail;
29281 temp4 = True;
29282 }
29283 }
29284 if (obj4) {
29285 arg5 = (wxItemKind) SWIG_AsInt(obj4);
29286 if (PyErr_Occurred()) SWIG_fail;
29287 }
29288 {
29289 PyThreadState* __tstate = wxPyBeginAllowThreads();
29290 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
29291
29292 wxPyEndAllowThreads(__tstate);
29293 if (PyErr_Occurred()) SWIG_fail;
29294 }
29295 {
29296 resultobj = wxPyMake_wxObject(result);
29297 }
29298 {
29299 if (temp3)
29300 delete arg3;
29301 }
29302 {
29303 if (temp4)
29304 delete arg4;
29305 }
29306 return resultobj;
29307 fail:
29308 {
29309 if (temp3)
29310 delete arg3;
29311 }
29312 {
29313 if (temp4)
29314 delete arg4;
29315 }
29316 return NULL;
29317}
29318
29319
29320static PyObject *_wrap_Menu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
29321 PyObject *resultobj;
29322 wxMenu *arg1 = (wxMenu *) 0 ;
29323 wxMenuItem *result;
29324 PyObject * obj0 = 0 ;
29325 char *kwnames[] = {
29326 (char *) "self", NULL
29327 };
29328
29329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
29330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29332 {
29333 PyThreadState* __tstate = wxPyBeginAllowThreads();
29334 result = (wxMenuItem *)(arg1)->PrependSeparator();
29335
29336 wxPyEndAllowThreads(__tstate);
29337 if (PyErr_Occurred()) SWIG_fail;
29338 }
29339 {
29340 resultobj = wxPyMake_wxObject(result);
29341 }
29342 return resultobj;
29343 fail:
29344 return NULL;
29345}
29346
29347
29348static PyObject *_wrap_Menu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29349 PyObject *resultobj;
29350 wxMenu *arg1 = (wxMenu *) 0 ;
29351 int arg2 ;
29352 wxString *arg3 = 0 ;
29353 wxString const &arg4_defvalue = wxPyEmptyString ;
29354 wxString *arg4 = (wxString *) &arg4_defvalue ;
29355 wxMenuItem *result;
29356 bool temp3 = False ;
29357 bool temp4 = False ;
29358 PyObject * obj0 = 0 ;
29359 PyObject * obj1 = 0 ;
29360 PyObject * obj2 = 0 ;
29361 PyObject * obj3 = 0 ;
29362 char *kwnames[] = {
29363 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29364 };
29365
29366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29369 arg2 = (int) SWIG_AsInt(obj1);
29370 if (PyErr_Occurred()) SWIG_fail;
29371 {
29372 arg3 = wxString_in_helper(obj2);
29373 if (arg3 == NULL) SWIG_fail;
29374 temp3 = True;
29375 }
29376 if (obj3) {
29377 {
29378 arg4 = wxString_in_helper(obj3);
29379 if (arg4 == NULL) SWIG_fail;
29380 temp4 = True;
29381 }
29382 }
29383 {
29384 PyThreadState* __tstate = wxPyBeginAllowThreads();
29385 result = (wxMenuItem *)(arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
29386
29387 wxPyEndAllowThreads(__tstate);
29388 if (PyErr_Occurred()) SWIG_fail;
29389 }
29390 {
29391 resultobj = wxPyMake_wxObject(result);
29392 }
29393 {
29394 if (temp3)
29395 delete arg3;
29396 }
29397 {
29398 if (temp4)
29399 delete arg4;
29400 }
29401 return resultobj;
29402 fail:
29403 {
29404 if (temp3)
29405 delete arg3;
29406 }
29407 {
29408 if (temp4)
29409 delete arg4;
29410 }
29411 return NULL;
29412}
29413
29414
29415static PyObject *_wrap_Menu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29416 PyObject *resultobj;
29417 wxMenu *arg1 = (wxMenu *) 0 ;
29418 int arg2 ;
29419 wxString *arg3 = 0 ;
29420 wxString const &arg4_defvalue = wxPyEmptyString ;
29421 wxString *arg4 = (wxString *) &arg4_defvalue ;
29422 wxMenuItem *result;
29423 bool temp3 = False ;
29424 bool temp4 = False ;
29425 PyObject * obj0 = 0 ;
29426 PyObject * obj1 = 0 ;
29427 PyObject * obj2 = 0 ;
29428 PyObject * obj3 = 0 ;
29429 char *kwnames[] = {
29430 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29431 };
29432
29433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29436 arg2 = (int) SWIG_AsInt(obj1);
29437 if (PyErr_Occurred()) SWIG_fail;
29438 {
29439 arg3 = wxString_in_helper(obj2);
29440 if (arg3 == NULL) SWIG_fail;
29441 temp3 = True;
29442 }
29443 if (obj3) {
29444 {
29445 arg4 = wxString_in_helper(obj3);
29446 if (arg4 == NULL) SWIG_fail;
29447 temp4 = True;
29448 }
29449 }
29450 {
29451 PyThreadState* __tstate = wxPyBeginAllowThreads();
29452 result = (wxMenuItem *)(arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
29453
29454 wxPyEndAllowThreads(__tstate);
29455 if (PyErr_Occurred()) SWIG_fail;
29456 }
29457 {
29458 resultobj = wxPyMake_wxObject(result);
29459 }
29460 {
29461 if (temp3)
29462 delete arg3;
29463 }
29464 {
29465 if (temp4)
29466 delete arg4;
29467 }
29468 return resultobj;
29469 fail:
29470 {
29471 if (temp3)
29472 delete arg3;
29473 }
29474 {
29475 if (temp4)
29476 delete arg4;
29477 }
29478 return NULL;
29479}
29480
29481
29482static PyObject *_wrap_Menu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
29483 PyObject *resultobj;
29484 wxMenu *arg1 = (wxMenu *) 0 ;
29485 int arg2 ;
29486 wxString *arg3 = 0 ;
29487 wxMenu *arg4 = (wxMenu *) 0 ;
29488 wxString const &arg5_defvalue = wxPyEmptyString ;
29489 wxString *arg5 = (wxString *) &arg5_defvalue ;
29490 wxMenuItem *result;
29491 bool temp3 = False ;
29492 bool temp5 = False ;
29493 PyObject * obj0 = 0 ;
29494 PyObject * obj1 = 0 ;
29495 PyObject * obj2 = 0 ;
29496 PyObject * obj3 = 0 ;
29497 PyObject * obj4 = 0 ;
29498 char *kwnames[] = {
29499 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29500 };
29501
29502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_PrependMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29505 arg2 = (int) SWIG_AsInt(obj1);
29506 if (PyErr_Occurred()) SWIG_fail;
29507 {
29508 arg3 = wxString_in_helper(obj2);
29509 if (arg3 == NULL) SWIG_fail;
29510 temp3 = True;
29511 }
29512 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
29513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29514 if (obj4) {
29515 {
29516 arg5 = wxString_in_helper(obj4);
29517 if (arg5 == NULL) SWIG_fail;
29518 temp5 = True;
29519 }
29520 }
29521 {
29522 PyThreadState* __tstate = wxPyBeginAllowThreads();
29523 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
29524
29525 wxPyEndAllowThreads(__tstate);
29526 if (PyErr_Occurred()) SWIG_fail;
29527 }
29528 {
29529 resultobj = wxPyMake_wxObject(result);
29530 }
29531 {
29532 if (temp3)
29533 delete arg3;
29534 }
29535 {
29536 if (temp5)
29537 delete arg5;
29538 }
29539 return resultobj;
29540 fail:
29541 {
29542 if (temp3)
29543 delete arg3;
29544 }
29545 {
29546 if (temp5)
29547 delete arg5;
29548 }
29549 return NULL;
29550}
29551
29552
29553static PyObject *_wrap_Menu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
29554 PyObject *resultobj;
29555 wxMenu *arg1 = (wxMenu *) 0 ;
29556 int arg2 ;
29557 wxMenuItem *result;
29558 PyObject * obj0 = 0 ;
29559 PyObject * obj1 = 0 ;
29560 char *kwnames[] = {
29561 (char *) "self",(char *) "id", NULL
29562 };
29563
29564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Remove",kwnames,&obj0,&obj1)) goto fail;
29565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29567 arg2 = (int) SWIG_AsInt(obj1);
29568 if (PyErr_Occurred()) SWIG_fail;
29569 {
29570 PyThreadState* __tstate = wxPyBeginAllowThreads();
29571 result = (wxMenuItem *)(arg1)->Remove(arg2);
29572
29573 wxPyEndAllowThreads(__tstate);
29574 if (PyErr_Occurred()) SWIG_fail;
29575 }
29576 {
29577 resultobj = wxPyMake_wxObject(result);
29578 }
29579 return resultobj;
29580 fail:
29581 return NULL;
29582}
29583
29584
29585static PyObject *_wrap_Menu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29586 PyObject *resultobj;
29587 wxMenu *arg1 = (wxMenu *) 0 ;
29588 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29589 wxMenuItem *result;
29590 PyObject * obj0 = 0 ;
29591 PyObject * obj1 = 0 ;
29592 char *kwnames[] = {
29593 (char *) "self",(char *) "item", NULL
29594 };
29595
29596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
29597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29599 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29601 {
29602 PyThreadState* __tstate = wxPyBeginAllowThreads();
29603 result = (wxMenuItem *)(arg1)->Remove(arg2);
29604
29605 wxPyEndAllowThreads(__tstate);
29606 if (PyErr_Occurred()) SWIG_fail;
29607 }
29608 {
29609 resultobj = wxPyMake_wxObject(result);
29610 }
29611 return resultobj;
29612 fail:
29613 return NULL;
29614}
29615
29616
29617static PyObject *_wrap_Menu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
29618 PyObject *resultobj;
29619 wxMenu *arg1 = (wxMenu *) 0 ;
29620 int arg2 ;
29621 bool result;
29622 PyObject * obj0 = 0 ;
29623 PyObject * obj1 = 0 ;
29624 char *kwnames[] = {
29625 (char *) "self",(char *) "id", NULL
29626 };
29627
29628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Delete",kwnames,&obj0,&obj1)) goto fail;
29629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29631 arg2 = (int) SWIG_AsInt(obj1);
29632 if (PyErr_Occurred()) SWIG_fail;
29633 {
29634 PyThreadState* __tstate = wxPyBeginAllowThreads();
29635 result = (bool)(arg1)->Delete(arg2);
29636
29637 wxPyEndAllowThreads(__tstate);
29638 if (PyErr_Occurred()) SWIG_fail;
29639 }
29640 {
29641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29642 }
29643 return resultobj;
29644 fail:
29645 return NULL;
29646}
29647
29648
29649static PyObject *_wrap_Menu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29650 PyObject *resultobj;
29651 wxMenu *arg1 = (wxMenu *) 0 ;
29652 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29653 bool result;
29654 PyObject * obj0 = 0 ;
29655 PyObject * obj1 = 0 ;
29656 char *kwnames[] = {
29657 (char *) "self",(char *) "item", NULL
29658 };
29659
29660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
29661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29663 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29665 {
29666 PyThreadState* __tstate = wxPyBeginAllowThreads();
29667 result = (bool)(arg1)->Delete(arg2);
29668
29669 wxPyEndAllowThreads(__tstate);
29670 if (PyErr_Occurred()) SWIG_fail;
29671 }
29672 {
29673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29674 }
29675 return resultobj;
29676 fail:
29677 return NULL;
29678}
29679
29680
29681static PyObject *_wrap_Menu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
29682 PyObject *resultobj;
29683 wxMenu *arg1 = (wxMenu *) 0 ;
29684 PyObject * obj0 = 0 ;
29685 char *kwnames[] = {
29686 (char *) "self", NULL
29687 };
29688
29689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
29690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29692 {
29693 PyThreadState* __tstate = wxPyBeginAllowThreads();
29694 wxMenu_Destroy(arg1);
29695
29696 wxPyEndAllowThreads(__tstate);
29697 if (PyErr_Occurred()) SWIG_fail;
29698 }
29699 Py_INCREF(Py_None); resultobj = Py_None;
29700 return resultobj;
29701 fail:
29702 return NULL;
29703}
29704
29705
29706static PyObject *_wrap_Menu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
29707 PyObject *resultobj;
29708 wxMenu *arg1 = (wxMenu *) 0 ;
29709 int arg2 ;
29710 bool result;
29711 PyObject * obj0 = 0 ;
29712 PyObject * obj1 = 0 ;
29713 char *kwnames[] = {
29714 (char *) "self",(char *) "id", NULL
29715 };
29716
29717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyId",kwnames,&obj0,&obj1)) goto fail;
29718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29720 arg2 = (int) SWIG_AsInt(obj1);
29721 if (PyErr_Occurred()) SWIG_fail;
29722 {
29723 PyThreadState* __tstate = wxPyBeginAllowThreads();
29724 result = (bool)(arg1)->Destroy(arg2);
29725
29726 wxPyEndAllowThreads(__tstate);
29727 if (PyErr_Occurred()) SWIG_fail;
29728 }
29729 {
29730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29731 }
29732 return resultobj;
29733 fail:
29734 return NULL;
29735}
29736
29737
29738static PyObject *_wrap_Menu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29739 PyObject *resultobj;
29740 wxMenu *arg1 = (wxMenu *) 0 ;
29741 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29742 bool result;
29743 PyObject * obj0 = 0 ;
29744 PyObject * obj1 = 0 ;
29745 char *kwnames[] = {
29746 (char *) "self",(char *) "item", NULL
29747 };
29748
29749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
29750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29752 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29754 {
29755 PyThreadState* __tstate = wxPyBeginAllowThreads();
29756 result = (bool)(arg1)->Destroy(arg2);
29757
29758 wxPyEndAllowThreads(__tstate);
29759 if (PyErr_Occurred()) SWIG_fail;
29760 }
29761 {
29762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29763 }
29764 return resultobj;
29765 fail:
29766 return NULL;
29767}
29768
29769
29770static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
29771 PyObject *resultobj;
29772 wxMenu *arg1 = (wxMenu *) 0 ;
29773 size_t result;
29774 PyObject * obj0 = 0 ;
29775 char *kwnames[] = {
29776 (char *) "self", NULL
29777 };
29778
29779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
29780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29782 {
29783 PyThreadState* __tstate = wxPyBeginAllowThreads();
29784 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
29785
29786 wxPyEndAllowThreads(__tstate);
29787 if (PyErr_Occurred()) SWIG_fail;
29788 }
29789 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
29790 return resultobj;
29791 fail:
29792 return NULL;
29793}
29794
29795
29796static PyObject *_wrap_Menu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
29797 PyObject *resultobj;
29798 wxMenu *arg1 = (wxMenu *) 0 ;
29799 PyObject *result;
29800 PyObject * obj0 = 0 ;
29801 char *kwnames[] = {
29802 (char *) "self", NULL
29803 };
29804
29805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
29806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29808 {
29809 PyThreadState* __tstate = wxPyBeginAllowThreads();
29810 result = (PyObject *)wxMenu_GetMenuItems(arg1);
29811
29812 wxPyEndAllowThreads(__tstate);
29813 if (PyErr_Occurred()) SWIG_fail;
29814 }
29815 resultobj = result;
29816 return resultobj;
29817 fail:
29818 return NULL;
29819}
29820
29821
29822static PyObject *_wrap_Menu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29823 PyObject *resultobj;
29824 wxMenu *arg1 = (wxMenu *) 0 ;
29825 wxString *arg2 = 0 ;
29826 int result;
29827 bool temp2 = False ;
29828 PyObject * obj0 = 0 ;
29829 PyObject * obj1 = 0 ;
29830 char *kwnames[] = {
29831 (char *) "self",(char *) "item", NULL
29832 };
29833
29834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
29835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29837 {
29838 arg2 = wxString_in_helper(obj1);
29839 if (arg2 == NULL) SWIG_fail;
29840 temp2 = True;
29841 }
29842 {
29843 PyThreadState* __tstate = wxPyBeginAllowThreads();
29844 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
29845
29846 wxPyEndAllowThreads(__tstate);
29847 if (PyErr_Occurred()) SWIG_fail;
29848 }
29849 resultobj = SWIG_FromInt((int)result);
29850 {
29851 if (temp2)
29852 delete arg2;
29853 }
29854 return resultobj;
29855 fail:
29856 {
29857 if (temp2)
29858 delete arg2;
29859 }
29860 return NULL;
29861}
29862
29863
29864static PyObject *_wrap_Menu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
29865 PyObject *resultobj;
29866 wxMenu *arg1 = (wxMenu *) 0 ;
29867 int arg2 ;
29868 wxMenuItem *result;
29869 PyObject * obj0 = 0 ;
29870 PyObject * obj1 = 0 ;
29871 char *kwnames[] = {
29872 (char *) "self",(char *) "id", NULL
29873 };
29874
29875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemById",kwnames,&obj0,&obj1)) goto fail;
29876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29878 arg2 = (int) SWIG_AsInt(obj1);
29879 if (PyErr_Occurred()) SWIG_fail;
29880 {
29881 PyThreadState* __tstate = wxPyBeginAllowThreads();
29882 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
29883
29884 wxPyEndAllowThreads(__tstate);
29885 if (PyErr_Occurred()) SWIG_fail;
29886 }
29887 {
29888 resultobj = wxPyMake_wxObject(result);
29889 }
29890 return resultobj;
29891 fail:
29892 return NULL;
29893}
29894
29895
29896static PyObject *_wrap_Menu_FindItemByPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29897 PyObject *resultobj;
29898 wxMenu *arg1 = (wxMenu *) 0 ;
29899 size_t arg2 ;
29900 wxMenuItem *result;
29901 PyObject * obj0 = 0 ;
29902 PyObject * obj1 = 0 ;
29903 char *kwnames[] = {
29904 (char *) "self",(char *) "position", NULL
29905 };
29906
29907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
29908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29910 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29911 if (PyErr_Occurred()) SWIG_fail;
29912 {
29913 PyThreadState* __tstate = wxPyBeginAllowThreads();
29914 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
29915
29916 wxPyEndAllowThreads(__tstate);
29917 if (PyErr_Occurred()) SWIG_fail;
29918 }
29919 {
29920 resultobj = wxPyMake_wxObject(result);
29921 }
29922 return resultobj;
29923 fail:
29924 return NULL;
29925}
29926
29927
29928static PyObject *_wrap_Menu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
29929 PyObject *resultobj;
29930 wxMenu *arg1 = (wxMenu *) 0 ;
29931 int arg2 ;
29932 bool arg3 ;
29933 PyObject * obj0 = 0 ;
29934 PyObject * obj1 = 0 ;
29935 PyObject * obj2 = 0 ;
29936 char *kwnames[] = {
29937 (char *) "self",(char *) "id",(char *) "enable", NULL
29938 };
29939
29940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
29941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29943 arg2 = (int) SWIG_AsInt(obj1);
29944 if (PyErr_Occurred()) SWIG_fail;
29945 arg3 = (bool) SWIG_AsBool(obj2);
29946 if (PyErr_Occurred()) SWIG_fail;
29947 {
29948 PyThreadState* __tstate = wxPyBeginAllowThreads();
29949 (arg1)->Enable(arg2,arg3);
29950
29951 wxPyEndAllowThreads(__tstate);
29952 if (PyErr_Occurred()) SWIG_fail;
29953 }
29954 Py_INCREF(Py_None); resultobj = Py_None;
29955 return resultobj;
29956 fail:
29957 return NULL;
29958}
29959
29960
29961static PyObject *_wrap_Menu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
29962 PyObject *resultobj;
29963 wxMenu *arg1 = (wxMenu *) 0 ;
29964 int arg2 ;
29965 bool result;
29966 PyObject * obj0 = 0 ;
29967 PyObject * obj1 = 0 ;
29968 char *kwnames[] = {
29969 (char *) "self",(char *) "id", NULL
29970 };
29971
29972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
29973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29975 arg2 = (int) SWIG_AsInt(obj1);
29976 if (PyErr_Occurred()) SWIG_fail;
29977 {
29978 PyThreadState* __tstate = wxPyBeginAllowThreads();
29979 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
29980
29981 wxPyEndAllowThreads(__tstate);
29982 if (PyErr_Occurred()) SWIG_fail;
29983 }
29984 {
29985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29986 }
29987 return resultobj;
29988 fail:
29989 return NULL;
29990}
29991
29992
29993static PyObject *_wrap_Menu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
29994 PyObject *resultobj;
29995 wxMenu *arg1 = (wxMenu *) 0 ;
29996 int arg2 ;
29997 bool arg3 ;
29998 PyObject * obj0 = 0 ;
29999 PyObject * obj1 = 0 ;
30000 PyObject * obj2 = 0 ;
30001 char *kwnames[] = {
30002 (char *) "self",(char *) "id",(char *) "check", NULL
30003 };
30004
30005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
30006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30008 arg2 = (int) SWIG_AsInt(obj1);
30009 if (PyErr_Occurred()) SWIG_fail;
30010 arg3 = (bool) SWIG_AsBool(obj2);
30011 if (PyErr_Occurred()) SWIG_fail;
30012 {
30013 PyThreadState* __tstate = wxPyBeginAllowThreads();
30014 (arg1)->Check(arg2,arg3);
30015
30016 wxPyEndAllowThreads(__tstate);
30017 if (PyErr_Occurred()) SWIG_fail;
30018 }
30019 Py_INCREF(Py_None); resultobj = Py_None;
30020 return resultobj;
30021 fail:
30022 return NULL;
30023}
30024
30025
30026static PyObject *_wrap_Menu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
30027 PyObject *resultobj;
30028 wxMenu *arg1 = (wxMenu *) 0 ;
30029 int arg2 ;
30030 bool result;
30031 PyObject * obj0 = 0 ;
30032 PyObject * obj1 = 0 ;
30033 char *kwnames[] = {
30034 (char *) "self",(char *) "id", NULL
30035 };
30036
30037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsChecked",kwnames,&obj0,&obj1)) goto fail;
30038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30040 arg2 = (int) SWIG_AsInt(obj1);
30041 if (PyErr_Occurred()) SWIG_fail;
30042 {
30043 PyThreadState* __tstate = wxPyBeginAllowThreads();
30044 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
30045
30046 wxPyEndAllowThreads(__tstate);
30047 if (PyErr_Occurred()) SWIG_fail;
30048 }
30049 {
30050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30051 }
30052 return resultobj;
30053 fail:
30054 return NULL;
30055}
30056
30057
30058static PyObject *_wrap_Menu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
30059 PyObject *resultobj;
30060 wxMenu *arg1 = (wxMenu *) 0 ;
30061 int arg2 ;
30062 wxString *arg3 = 0 ;
30063 bool temp3 = False ;
30064 PyObject * obj0 = 0 ;
30065 PyObject * obj1 = 0 ;
30066 PyObject * obj2 = 0 ;
30067 char *kwnames[] = {
30068 (char *) "self",(char *) "id",(char *) "label", NULL
30069 };
30070
30071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
30072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30074 arg2 = (int) SWIG_AsInt(obj1);
30075 if (PyErr_Occurred()) SWIG_fail;
30076 {
30077 arg3 = wxString_in_helper(obj2);
30078 if (arg3 == NULL) SWIG_fail;
30079 temp3 = True;
30080 }
30081 {
30082 PyThreadState* __tstate = wxPyBeginAllowThreads();
30083 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
30084
30085 wxPyEndAllowThreads(__tstate);
30086 if (PyErr_Occurred()) SWIG_fail;
30087 }
30088 Py_INCREF(Py_None); resultobj = Py_None;
30089 {
30090 if (temp3)
30091 delete arg3;
30092 }
30093 return resultobj;
30094 fail:
30095 {
30096 if (temp3)
30097 delete arg3;
30098 }
30099 return NULL;
30100}
30101
30102
30103static PyObject *_wrap_Menu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
30104 PyObject *resultobj;
30105 wxMenu *arg1 = (wxMenu *) 0 ;
30106 int arg2 ;
30107 wxString result;
30108 PyObject * obj0 = 0 ;
30109 PyObject * obj1 = 0 ;
30110 char *kwnames[] = {
30111 (char *) "self",(char *) "id", NULL
30112 };
30113
30114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetLabel",kwnames,&obj0,&obj1)) goto fail;
30115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30117 arg2 = (int) SWIG_AsInt(obj1);
30118 if (PyErr_Occurred()) SWIG_fail;
30119 {
30120 PyThreadState* __tstate = wxPyBeginAllowThreads();
30121 result = ((wxMenu const *)arg1)->GetLabel(arg2);
30122
30123 wxPyEndAllowThreads(__tstate);
30124 if (PyErr_Occurred()) SWIG_fail;
30125 }
30126 {
30127#if wxUSE_UNICODE
30128 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30129#else
30130 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30131#endif
30132 }
30133 return resultobj;
30134 fail:
30135 return NULL;
30136}
30137
30138
30139static PyObject *_wrap_Menu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
30140 PyObject *resultobj;
30141 wxMenu *arg1 = (wxMenu *) 0 ;
30142 int arg2 ;
30143 wxString *arg3 = 0 ;
30144 bool temp3 = False ;
30145 PyObject * obj0 = 0 ;
30146 PyObject * obj1 = 0 ;
30147 PyObject * obj2 = 0 ;
30148 char *kwnames[] = {
30149 (char *) "self",(char *) "id",(char *) "helpString", NULL
30150 };
30151
30152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
30153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30155 arg2 = (int) SWIG_AsInt(obj1);
30156 if (PyErr_Occurred()) SWIG_fail;
30157 {
30158 arg3 = wxString_in_helper(obj2);
30159 if (arg3 == NULL) SWIG_fail;
30160 temp3 = True;
30161 }
30162 {
30163 PyThreadState* __tstate = wxPyBeginAllowThreads();
30164 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
30165
30166 wxPyEndAllowThreads(__tstate);
30167 if (PyErr_Occurred()) SWIG_fail;
30168 }
30169 Py_INCREF(Py_None); resultobj = Py_None;
30170 {
30171 if (temp3)
30172 delete arg3;
30173 }
30174 return resultobj;
30175 fail:
30176 {
30177 if (temp3)
30178 delete arg3;
30179 }
30180 return NULL;
30181}
30182
30183
30184static PyObject *_wrap_Menu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
30185 PyObject *resultobj;
30186 wxMenu *arg1 = (wxMenu *) 0 ;
30187 int arg2 ;
30188 wxString result;
30189 PyObject * obj0 = 0 ;
30190 PyObject * obj1 = 0 ;
30191 char *kwnames[] = {
30192 (char *) "self",(char *) "id", NULL
30193 };
30194
30195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
30196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30198 arg2 = (int) SWIG_AsInt(obj1);
30199 if (PyErr_Occurred()) SWIG_fail;
30200 {
30201 PyThreadState* __tstate = wxPyBeginAllowThreads();
30202 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
30203
30204 wxPyEndAllowThreads(__tstate);
30205 if (PyErr_Occurred()) SWIG_fail;
30206 }
30207 {
30208#if wxUSE_UNICODE
30209 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30210#else
30211 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30212#endif
30213 }
30214 return resultobj;
30215 fail:
30216 return NULL;
30217}
30218
30219
30220static PyObject *_wrap_Menu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
30221 PyObject *resultobj;
30222 wxMenu *arg1 = (wxMenu *) 0 ;
30223 wxString *arg2 = 0 ;
30224 bool temp2 = False ;
30225 PyObject * obj0 = 0 ;
30226 PyObject * obj1 = 0 ;
30227 char *kwnames[] = {
30228 (char *) "self",(char *) "title", NULL
30229 };
30230
30231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
30232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30234 {
30235 arg2 = wxString_in_helper(obj1);
30236 if (arg2 == NULL) SWIG_fail;
30237 temp2 = True;
30238 }
30239 {
30240 PyThreadState* __tstate = wxPyBeginAllowThreads();
30241 (arg1)->SetTitle((wxString const &)*arg2);
30242
30243 wxPyEndAllowThreads(__tstate);
30244 if (PyErr_Occurred()) SWIG_fail;
30245 }
30246 Py_INCREF(Py_None); resultobj = Py_None;
30247 {
30248 if (temp2)
30249 delete arg2;
30250 }
30251 return resultobj;
30252 fail:
30253 {
30254 if (temp2)
30255 delete arg2;
30256 }
30257 return NULL;
30258}
30259
30260
30261static PyObject *_wrap_Menu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
30262 PyObject *resultobj;
30263 wxMenu *arg1 = (wxMenu *) 0 ;
30264 wxString result;
30265 PyObject * obj0 = 0 ;
30266 char *kwnames[] = {
30267 (char *) "self", NULL
30268 };
30269
30270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
30271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30273 {
30274 PyThreadState* __tstate = wxPyBeginAllowThreads();
30275 result = ((wxMenu const *)arg1)->GetTitle();
30276
30277 wxPyEndAllowThreads(__tstate);
30278 if (PyErr_Occurred()) SWIG_fail;
30279 }
30280 {
30281#if wxUSE_UNICODE
30282 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30283#else
30284 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30285#endif
30286 }
30287 return resultobj;
30288 fail:
30289 return NULL;
30290}
30291
30292
30293static PyObject *_wrap_Menu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
30294 PyObject *resultobj;
30295 wxMenu *arg1 = (wxMenu *) 0 ;
30296 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
30297 PyObject * obj0 = 0 ;
30298 PyObject * obj1 = 0 ;
30299 char *kwnames[] = {
30300 (char *) "self",(char *) "handler", NULL
30301 };
30302
30303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
30304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30306 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
30307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30308 {
30309 PyThreadState* __tstate = wxPyBeginAllowThreads();
30310 (arg1)->SetEventHandler(arg2);
30311
30312 wxPyEndAllowThreads(__tstate);
30313 if (PyErr_Occurred()) SWIG_fail;
30314 }
30315 Py_INCREF(Py_None); resultobj = Py_None;
30316 return resultobj;
30317 fail:
30318 return NULL;
30319}
30320
30321
30322static PyObject *_wrap_Menu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
30323 PyObject *resultobj;
30324 wxMenu *arg1 = (wxMenu *) 0 ;
30325 wxEvtHandler *result;
30326 PyObject * obj0 = 0 ;
30327 char *kwnames[] = {
30328 (char *) "self", NULL
30329 };
30330
30331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
30332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30334 {
30335 PyThreadState* __tstate = wxPyBeginAllowThreads();
30336 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
30337
30338 wxPyEndAllowThreads(__tstate);
30339 if (PyErr_Occurred()) SWIG_fail;
30340 }
30341 {
30342 resultobj = wxPyMake_wxObject(result);
30343 }
30344 return resultobj;
30345 fail:
30346 return NULL;
30347}
30348
30349
30350static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30351 PyObject *resultobj;
30352 wxMenu *arg1 = (wxMenu *) 0 ;
30353 wxWindow *arg2 = (wxWindow *) 0 ;
30354 PyObject * obj0 = 0 ;
30355 PyObject * obj1 = 0 ;
30356 char *kwnames[] = {
30357 (char *) "self",(char *) "win", NULL
30358 };
30359
30360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
30361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30363 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30365 {
30366 PyThreadState* __tstate = wxPyBeginAllowThreads();
30367 (arg1)->SetInvokingWindow(arg2);
30368
30369 wxPyEndAllowThreads(__tstate);
30370 if (PyErr_Occurred()) SWIG_fail;
30371 }
30372 Py_INCREF(Py_None); resultobj = Py_None;
30373 return resultobj;
30374 fail:
30375 return NULL;
30376}
30377
30378
30379static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30380 PyObject *resultobj;
30381 wxMenu *arg1 = (wxMenu *) 0 ;
30382 wxWindow *result;
30383 PyObject * obj0 = 0 ;
30384 char *kwnames[] = {
30385 (char *) "self", NULL
30386 };
30387
30388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
30389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30391 {
30392 PyThreadState* __tstate = wxPyBeginAllowThreads();
30393 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
30394
30395 wxPyEndAllowThreads(__tstate);
30396 if (PyErr_Occurred()) SWIG_fail;
30397 }
30398 {
30399 resultobj = wxPyMake_wxObject(result);
30400 }
30401 return resultobj;
30402 fail:
30403 return NULL;
30404}
30405
30406
30407static PyObject *_wrap_Menu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
30408 PyObject *resultobj;
30409 wxMenu *arg1 = (wxMenu *) 0 ;
30410 long result;
30411 PyObject * obj0 = 0 ;
30412 char *kwnames[] = {
30413 (char *) "self", NULL
30414 };
30415
30416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
30417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30419 {
30420 PyThreadState* __tstate = wxPyBeginAllowThreads();
30421 result = (long)((wxMenu const *)arg1)->GetStyle();
30422
30423 wxPyEndAllowThreads(__tstate);
30424 if (PyErr_Occurred()) SWIG_fail;
30425 }
30426 resultobj = SWIG_FromLong((long)result);
30427 return resultobj;
30428 fail:
30429 return NULL;
30430}
30431
30432
30433static PyObject *_wrap_Menu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
30434 PyObject *resultobj;
30435 wxMenu *arg1 = (wxMenu *) 0 ;
30436 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
30437 PyObject * obj0 = 0 ;
30438 PyObject * obj1 = 0 ;
30439 char *kwnames[] = {
30440 (char *) "self",(char *) "source", NULL
30441 };
30442
30443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
30444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30446 if (obj1) {
30447 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
30448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30449 }
30450 {
30451 PyThreadState* __tstate = wxPyBeginAllowThreads();
30452 (arg1)->UpdateUI(arg2);
30453
30454 wxPyEndAllowThreads(__tstate);
30455 if (PyErr_Occurred()) SWIG_fail;
30456 }
30457 Py_INCREF(Py_None); resultobj = Py_None;
30458 return resultobj;
30459 fail:
30460 return NULL;
30461}
30462
30463
30464static PyObject *_wrap_Menu_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
30465 PyObject *resultobj;
30466 wxMenu *arg1 = (wxMenu *) 0 ;
30467 wxMenuBar *result;
30468 PyObject * obj0 = 0 ;
30469 char *kwnames[] = {
30470 (char *) "self", NULL
30471 };
30472
30473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
30474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30476 {
30477 PyThreadState* __tstate = wxPyBeginAllowThreads();
30478 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
30479
30480 wxPyEndAllowThreads(__tstate);
30481 if (PyErr_Occurred()) SWIG_fail;
30482 }
30483 {
30484 resultobj = wxPyMake_wxObject(result);
30485 }
30486 return resultobj;
30487 fail:
30488 return NULL;
30489}
30490
30491
30492static PyObject *_wrap_Menu_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
30493 PyObject *resultobj;
30494 wxMenu *arg1 = (wxMenu *) 0 ;
30495 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
30496 PyObject * obj0 = 0 ;
30497 PyObject * obj1 = 0 ;
30498 char *kwnames[] = {
30499 (char *) "self",(char *) "menubar", NULL
30500 };
30501
30502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
30503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30505 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBarBase,
30506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30507 {
30508 PyThreadState* __tstate = wxPyBeginAllowThreads();
30509 (arg1)->Attach(arg2);
30510
30511 wxPyEndAllowThreads(__tstate);
30512 if (PyErr_Occurred()) SWIG_fail;
30513 }
30514 Py_INCREF(Py_None); resultobj = Py_None;
30515 return resultobj;
30516 fail:
30517 return NULL;
30518}
30519
30520
30521static PyObject *_wrap_Menu_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
30522 PyObject *resultobj;
30523 wxMenu *arg1 = (wxMenu *) 0 ;
30524 PyObject * obj0 = 0 ;
30525 char *kwnames[] = {
30526 (char *) "self", NULL
30527 };
30528
30529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
30530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30532 {
30533 PyThreadState* __tstate = wxPyBeginAllowThreads();
30534 (arg1)->Detach();
30535
30536 wxPyEndAllowThreads(__tstate);
30537 if (PyErr_Occurred()) SWIG_fail;
30538 }
30539 Py_INCREF(Py_None); resultobj = Py_None;
30540 return resultobj;
30541 fail:
30542 return NULL;
30543}
30544
30545
30546static PyObject *_wrap_Menu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
30547 PyObject *resultobj;
30548 wxMenu *arg1 = (wxMenu *) 0 ;
30549 bool result;
30550 PyObject * obj0 = 0 ;
30551 char *kwnames[] = {
30552 (char *) "self", NULL
30553 };
30554
30555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
30556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30558 {
30559 PyThreadState* __tstate = wxPyBeginAllowThreads();
30560 result = (bool)((wxMenu const *)arg1)->IsAttached();
30561
30562 wxPyEndAllowThreads(__tstate);
30563 if (PyErr_Occurred()) SWIG_fail;
30564 }
30565 {
30566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30567 }
30568 return resultobj;
30569 fail:
30570 return NULL;
30571}
30572
30573
30574static PyObject *_wrap_Menu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
30575 PyObject *resultobj;
30576 wxMenu *arg1 = (wxMenu *) 0 ;
30577 wxMenu *arg2 = (wxMenu *) 0 ;
30578 PyObject * obj0 = 0 ;
30579 PyObject * obj1 = 0 ;
30580 char *kwnames[] = {
30581 (char *) "self",(char *) "parent", NULL
30582 };
30583
30584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
30585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30587 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
30588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30589 {
30590 PyThreadState* __tstate = wxPyBeginAllowThreads();
30591 (arg1)->SetParent(arg2);
30592
30593 wxPyEndAllowThreads(__tstate);
30594 if (PyErr_Occurred()) SWIG_fail;
30595 }
30596 Py_INCREF(Py_None); resultobj = Py_None;
30597 return resultobj;
30598 fail:
30599 return NULL;
30600}
30601
30602
30603static PyObject *_wrap_Menu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
30604 PyObject *resultobj;
30605 wxMenu *arg1 = (wxMenu *) 0 ;
30606 wxMenu *result;
30607 PyObject * obj0 = 0 ;
30608 char *kwnames[] = {
30609 (char *) "self", NULL
30610 };
30611
30612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
30613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30615 {
30616 PyThreadState* __tstate = wxPyBeginAllowThreads();
30617 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
30618
30619 wxPyEndAllowThreads(__tstate);
30620 if (PyErr_Occurred()) SWIG_fail;
30621 }
30622 {
30623 resultobj = wxPyMake_wxObject(result);
30624 }
30625 return resultobj;
30626 fail:
30627 return NULL;
30628}
30629
30630
30631static PyObject * Menu_swigregister(PyObject *self, PyObject *args) {
30632 PyObject *obj;
30633 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30634 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
30635 Py_INCREF(obj);
30636 return Py_BuildValue((char *)"");
30637}
30638static PyObject *_wrap_new_MenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
30639 PyObject *resultobj;
30640 long arg1 = (long) 0 ;
30641 wxMenuBar *result;
30642 PyObject * obj0 = 0 ;
30643 char *kwnames[] = {
30644 (char *) "style", NULL
30645 };
30646
30647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MenuBar",kwnames,&obj0)) goto fail;
30648 if (obj0) {
30649 arg1 = (long) SWIG_AsLong(obj0);
30650 if (PyErr_Occurred()) SWIG_fail;
30651 }
30652 {
30653 PyThreadState* __tstate = wxPyBeginAllowThreads();
30654 result = (wxMenuBar *)new wxMenuBar(arg1);
30655
30656 wxPyEndAllowThreads(__tstate);
30657 if (PyErr_Occurred()) SWIG_fail;
30658 }
30659 {
30660 resultobj = wxPyMake_wxObject(result);
30661 }
30662 return resultobj;
30663 fail:
30664 return NULL;
30665}
30666
30667
30668static PyObject *_wrap_MenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
30669 PyObject *resultobj;
30670 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30671 wxMenu *arg2 = (wxMenu *) 0 ;
30672 wxString *arg3 = 0 ;
30673 bool result;
30674 bool temp3 = False ;
30675 PyObject * obj0 = 0 ;
30676 PyObject * obj1 = 0 ;
30677 PyObject * obj2 = 0 ;
30678 char *kwnames[] = {
30679 (char *) "self",(char *) "menu",(char *) "title", NULL
30680 };
30681
30682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
30683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30685 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
30686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30687 {
30688 arg3 = wxString_in_helper(obj2);
30689 if (arg3 == NULL) SWIG_fail;
30690 temp3 = True;
30691 }
30692 {
30693 PyThreadState* __tstate = wxPyBeginAllowThreads();
30694 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
30695
30696 wxPyEndAllowThreads(__tstate);
30697 if (PyErr_Occurred()) SWIG_fail;
30698 }
30699 {
30700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30701 }
30702 {
30703 if (temp3)
30704 delete arg3;
30705 }
30706 return resultobj;
30707 fail:
30708 {
30709 if (temp3)
30710 delete arg3;
30711 }
30712 return NULL;
30713}
30714
30715
30716static PyObject *_wrap_MenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
30717 PyObject *resultobj;
30718 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30719 size_t arg2 ;
30720 wxMenu *arg3 = (wxMenu *) 0 ;
30721 wxString *arg4 = 0 ;
30722 bool result;
30723 bool temp4 = False ;
30724 PyObject * obj0 = 0 ;
30725 PyObject * obj1 = 0 ;
30726 PyObject * obj2 = 0 ;
30727 PyObject * obj3 = 0 ;
30728 char *kwnames[] = {
30729 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30730 };
30731
30732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30735 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30736 if (PyErr_Occurred()) SWIG_fail;
30737 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
30738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30739 {
30740 arg4 = wxString_in_helper(obj3);
30741 if (arg4 == NULL) SWIG_fail;
30742 temp4 = True;
30743 }
30744 {
30745 PyThreadState* __tstate = wxPyBeginAllowThreads();
30746 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
30747
30748 wxPyEndAllowThreads(__tstate);
30749 if (PyErr_Occurred()) SWIG_fail;
30750 }
30751 {
30752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30753 }
30754 {
30755 if (temp4)
30756 delete arg4;
30757 }
30758 return resultobj;
30759 fail:
30760 {
30761 if (temp4)
30762 delete arg4;
30763 }
30764 return NULL;
30765}
30766
30767
30768static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
30769 PyObject *resultobj;
30770 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30771 size_t result;
30772 PyObject * obj0 = 0 ;
30773 char *kwnames[] = {
30774 (char *) "self", NULL
30775 };
30776
30777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
30778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30780 {
30781 PyThreadState* __tstate = wxPyBeginAllowThreads();
30782 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
30783
30784 wxPyEndAllowThreads(__tstate);
30785 if (PyErr_Occurred()) SWIG_fail;
30786 }
30787 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
30788 return resultobj;
30789 fail:
30790 return NULL;
30791}
30792
30793
30794static PyObject *_wrap_MenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
30795 PyObject *resultobj;
30796 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30797 size_t arg2 ;
30798 wxMenu *result;
30799 PyObject * obj0 = 0 ;
30800 PyObject * obj1 = 0 ;
30801 char *kwnames[] = {
30802 (char *) "self",(char *) "pos", NULL
30803 };
30804
30805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
30806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30808 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30809 if (PyErr_Occurred()) SWIG_fail;
30810 {
30811 PyThreadState* __tstate = wxPyBeginAllowThreads();
30812 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
30813
30814 wxPyEndAllowThreads(__tstate);
30815 if (PyErr_Occurred()) SWIG_fail;
30816 }
30817 {
30818 resultobj = wxPyMake_wxObject(result);
30819 }
30820 return resultobj;
30821 fail:
30822 return NULL;
30823}
30824
30825
30826static PyObject *_wrap_MenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
30827 PyObject *resultobj;
30828 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30829 size_t arg2 ;
30830 wxMenu *arg3 = (wxMenu *) 0 ;
30831 wxString *arg4 = 0 ;
30832 wxMenu *result;
30833 bool temp4 = False ;
30834 PyObject * obj0 = 0 ;
30835 PyObject * obj1 = 0 ;
30836 PyObject * obj2 = 0 ;
30837 PyObject * obj3 = 0 ;
30838 char *kwnames[] = {
30839 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30840 };
30841
30842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30845 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30846 if (PyErr_Occurred()) SWIG_fail;
30847 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
30848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30849 {
30850 arg4 = wxString_in_helper(obj3);
30851 if (arg4 == NULL) SWIG_fail;
30852 temp4 = True;
30853 }
30854 {
30855 PyThreadState* __tstate = wxPyBeginAllowThreads();
30856 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
30857
30858 wxPyEndAllowThreads(__tstate);
30859 if (PyErr_Occurred()) SWIG_fail;
30860 }
30861 {
30862 resultobj = wxPyMake_wxObject(result);
30863 }
30864 {
30865 if (temp4)
30866 delete arg4;
30867 }
30868 return resultobj;
30869 fail:
30870 {
30871 if (temp4)
30872 delete arg4;
30873 }
30874 return NULL;
30875}
30876
30877
30878static PyObject *_wrap_MenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
30879 PyObject *resultobj;
30880 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30881 size_t arg2 ;
30882 wxMenu *result;
30883 PyObject * obj0 = 0 ;
30884 PyObject * obj1 = 0 ;
30885 char *kwnames[] = {
30886 (char *) "self",(char *) "pos", NULL
30887 };
30888
30889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
30890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30892 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30893 if (PyErr_Occurred()) SWIG_fail;
30894 {
30895 PyThreadState* __tstate = wxPyBeginAllowThreads();
30896 result = (wxMenu *)(arg1)->Remove(arg2);
30897
30898 wxPyEndAllowThreads(__tstate);
30899 if (PyErr_Occurred()) SWIG_fail;
30900 }
30901 {
30902 resultobj = wxPyMake_wxObject(result);
30903 }
30904 return resultobj;
30905 fail:
30906 return NULL;
30907}
30908
30909
30910static PyObject *_wrap_MenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
30911 PyObject *resultobj;
30912 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30913 size_t arg2 ;
30914 bool arg3 ;
30915 PyObject * obj0 = 0 ;
30916 PyObject * obj1 = 0 ;
30917 PyObject * obj2 = 0 ;
30918 char *kwnames[] = {
30919 (char *) "self",(char *) "pos",(char *) "enable", NULL
30920 };
30921
30922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
30923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30925 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30926 if (PyErr_Occurred()) SWIG_fail;
30927 arg3 = (bool) SWIG_AsBool(obj2);
30928 if (PyErr_Occurred()) SWIG_fail;
30929 {
30930 PyThreadState* __tstate = wxPyBeginAllowThreads();
30931 (arg1)->EnableTop(arg2,arg3);
30932
30933 wxPyEndAllowThreads(__tstate);
30934 if (PyErr_Occurred()) SWIG_fail;
30935 }
30936 Py_INCREF(Py_None); resultobj = Py_None;
30937 return resultobj;
30938 fail:
30939 return NULL;
30940}
30941
30942
30943static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *self, PyObject *args, PyObject *kwargs) {
30944 PyObject *resultobj;
30945 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30946 size_t arg2 ;
30947 bool result;
30948 PyObject * obj0 = 0 ;
30949 PyObject * obj1 = 0 ;
30950 char *kwnames[] = {
30951 (char *) "self",(char *) "pos", NULL
30952 };
30953
30954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
30955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30957 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30958 if (PyErr_Occurred()) SWIG_fail;
30959 {
30960 PyThreadState* __tstate = wxPyBeginAllowThreads();
30961 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
30962
30963 wxPyEndAllowThreads(__tstate);
30964 if (PyErr_Occurred()) SWIG_fail;
30965 }
30966 {
30967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30968 }
30969 return resultobj;
30970 fail:
30971 return NULL;
30972}
30973
30974
30975static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
30976 PyObject *resultobj;
30977 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30978 size_t arg2 ;
30979 wxString *arg3 = 0 ;
30980 bool temp3 = False ;
30981 PyObject * obj0 = 0 ;
30982 PyObject * obj1 = 0 ;
30983 PyObject * obj2 = 0 ;
30984 char *kwnames[] = {
30985 (char *) "self",(char *) "pos",(char *) "label", NULL
30986 };
30987
30988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
30989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30991 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30992 if (PyErr_Occurred()) SWIG_fail;
30993 {
30994 arg3 = wxString_in_helper(obj2);
30995 if (arg3 == NULL) SWIG_fail;
30996 temp3 = True;
30997 }
30998 {
30999 PyThreadState* __tstate = wxPyBeginAllowThreads();
31000 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
31001
31002 wxPyEndAllowThreads(__tstate);
31003 if (PyErr_Occurred()) SWIG_fail;
31004 }
31005 Py_INCREF(Py_None); resultobj = Py_None;
31006 {
31007 if (temp3)
31008 delete arg3;
31009 }
31010 return resultobj;
31011 fail:
31012 {
31013 if (temp3)
31014 delete arg3;
31015 }
31016 return NULL;
31017}
31018
31019
31020static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
31021 PyObject *resultobj;
31022 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31023 size_t arg2 ;
31024 wxString result;
31025 PyObject * obj0 = 0 ;
31026 PyObject * obj1 = 0 ;
31027 char *kwnames[] = {
31028 (char *) "self",(char *) "pos", NULL
31029 };
31030
31031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
31032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31034 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31035 if (PyErr_Occurred()) SWIG_fail;
31036 {
31037 PyThreadState* __tstate = wxPyBeginAllowThreads();
31038 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
31039
31040 wxPyEndAllowThreads(__tstate);
31041 if (PyErr_Occurred()) SWIG_fail;
31042 }
31043 {
31044#if wxUSE_UNICODE
31045 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31046#else
31047 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31048#endif
31049 }
31050 return resultobj;
31051 fail:
31052 return NULL;
31053}
31054
31055
31056static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
31057 PyObject *resultobj;
31058 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31059 wxString *arg2 = 0 ;
31060 wxString *arg3 = 0 ;
31061 int result;
31062 bool temp2 = False ;
31063 bool temp3 = False ;
31064 PyObject * obj0 = 0 ;
31065 PyObject * obj1 = 0 ;
31066 PyObject * obj2 = 0 ;
31067 char *kwnames[] = {
31068 (char *) "self",(char *) "menu",(char *) "item", NULL
31069 };
31070
31071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
31072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31074 {
31075 arg2 = wxString_in_helper(obj1);
31076 if (arg2 == NULL) SWIG_fail;
31077 temp2 = True;
31078 }
31079 {
31080 arg3 = wxString_in_helper(obj2);
31081 if (arg3 == NULL) SWIG_fail;
31082 temp3 = True;
31083 }
31084 {
31085 PyThreadState* __tstate = wxPyBeginAllowThreads();
31086 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
31087
31088 wxPyEndAllowThreads(__tstate);
31089 if (PyErr_Occurred()) SWIG_fail;
31090 }
31091 resultobj = SWIG_FromInt((int)result);
31092 {
31093 if (temp2)
31094 delete arg2;
31095 }
31096 {
31097 if (temp3)
31098 delete arg3;
31099 }
31100 return resultobj;
31101 fail:
31102 {
31103 if (temp2)
31104 delete arg2;
31105 }
31106 {
31107 if (temp3)
31108 delete arg3;
31109 }
31110 return NULL;
31111}
31112
31113
31114static PyObject *_wrap_MenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
31115 PyObject *resultobj;
31116 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31117 int arg2 ;
31118 wxMenuItem *result;
31119 PyObject * obj0 = 0 ;
31120 PyObject * obj1 = 0 ;
31121 char *kwnames[] = {
31122 (char *) "self",(char *) "id", NULL
31123 };
31124
31125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindItemById",kwnames,&obj0,&obj1)) goto fail;
31126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31128 arg2 = (int) SWIG_AsInt(obj1);
31129 if (PyErr_Occurred()) SWIG_fail;
31130 {
31131 PyThreadState* __tstate = wxPyBeginAllowThreads();
31132 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
31133
31134 wxPyEndAllowThreads(__tstate);
31135 if (PyErr_Occurred()) SWIG_fail;
31136 }
31137 {
31138 resultobj = wxPyMake_wxObject(result);
31139 }
31140 return resultobj;
31141 fail:
31142 return NULL;
31143}
31144
31145
31146static PyObject *_wrap_MenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31147 PyObject *resultobj;
31148 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31149 wxString *arg2 = 0 ;
31150 int result;
31151 bool temp2 = False ;
31152 PyObject * obj0 = 0 ;
31153 PyObject * obj1 = 0 ;
31154 char *kwnames[] = {
31155 (char *) "self",(char *) "title", NULL
31156 };
31157
31158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
31159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31161 {
31162 arg2 = wxString_in_helper(obj1);
31163 if (arg2 == NULL) SWIG_fail;
31164 temp2 = True;
31165 }
31166 {
31167 PyThreadState* __tstate = wxPyBeginAllowThreads();
31168 result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2);
31169
31170 wxPyEndAllowThreads(__tstate);
31171 if (PyErr_Occurred()) SWIG_fail;
31172 }
31173 resultobj = SWIG_FromInt((int)result);
31174 {
31175 if (temp2)
31176 delete arg2;
31177 }
31178 return resultobj;
31179 fail:
31180 {
31181 if (temp2)
31182 delete arg2;
31183 }
31184 return NULL;
31185}
31186
31187
31188static PyObject *_wrap_MenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
31189 PyObject *resultobj;
31190 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31191 int arg2 ;
31192 bool arg3 ;
31193 PyObject * obj0 = 0 ;
31194 PyObject * obj1 = 0 ;
31195 PyObject * obj2 = 0 ;
31196 char *kwnames[] = {
31197 (char *) "self",(char *) "id",(char *) "enable", NULL
31198 };
31199
31200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
31201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31203 arg2 = (int) SWIG_AsInt(obj1);
31204 if (PyErr_Occurred()) SWIG_fail;
31205 arg3 = (bool) SWIG_AsBool(obj2);
31206 if (PyErr_Occurred()) SWIG_fail;
31207 {
31208 PyThreadState* __tstate = wxPyBeginAllowThreads();
31209 (arg1)->Enable(arg2,arg3);
31210
31211 wxPyEndAllowThreads(__tstate);
31212 if (PyErr_Occurred()) SWIG_fail;
31213 }
31214 Py_INCREF(Py_None); resultobj = Py_None;
31215 return resultobj;
31216 fail:
31217 return NULL;
31218}
31219
31220
31221static PyObject *_wrap_MenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
31222 PyObject *resultobj;
31223 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31224 int arg2 ;
31225 bool arg3 ;
31226 PyObject * obj0 = 0 ;
31227 PyObject * obj1 = 0 ;
31228 PyObject * obj2 = 0 ;
31229 char *kwnames[] = {
31230 (char *) "self",(char *) "id",(char *) "check", NULL
31231 };
31232
31233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
31234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31236 arg2 = (int) SWIG_AsInt(obj1);
31237 if (PyErr_Occurred()) SWIG_fail;
31238 arg3 = (bool) SWIG_AsBool(obj2);
31239 if (PyErr_Occurred()) SWIG_fail;
31240 {
31241 PyThreadState* __tstate = wxPyBeginAllowThreads();
31242 (arg1)->Check(arg2,arg3);
31243
31244 wxPyEndAllowThreads(__tstate);
31245 if (PyErr_Occurred()) SWIG_fail;
31246 }
31247 Py_INCREF(Py_None); resultobj = Py_None;
31248 return resultobj;
31249 fail:
31250 return NULL;
31251}
31252
31253
31254static PyObject *_wrap_MenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
31255 PyObject *resultobj;
31256 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31257 int arg2 ;
31258 bool result;
31259 PyObject * obj0 = 0 ;
31260 PyObject * obj1 = 0 ;
31261 char *kwnames[] = {
31262 (char *) "self",(char *) "id", NULL
31263 };
31264
31265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsChecked",kwnames,&obj0,&obj1)) goto fail;
31266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31268 arg2 = (int) SWIG_AsInt(obj1);
31269 if (PyErr_Occurred()) SWIG_fail;
31270 {
31271 PyThreadState* __tstate = wxPyBeginAllowThreads();
31272 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
31273
31274 wxPyEndAllowThreads(__tstate);
31275 if (PyErr_Occurred()) SWIG_fail;
31276 }
31277 {
31278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31279 }
31280 return resultobj;
31281 fail:
31282 return NULL;
31283}
31284
31285
31286static PyObject *_wrap_MenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
31287 PyObject *resultobj;
31288 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31289 int arg2 ;
31290 bool result;
31291 PyObject * obj0 = 0 ;
31292 PyObject * obj1 = 0 ;
31293 char *kwnames[] = {
31294 (char *) "self",(char *) "id", NULL
31295 };
31296
31297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
31298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31300 arg2 = (int) SWIG_AsInt(obj1);
31301 if (PyErr_Occurred()) SWIG_fail;
31302 {
31303 PyThreadState* __tstate = wxPyBeginAllowThreads();
31304 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
31305
31306 wxPyEndAllowThreads(__tstate);
31307 if (PyErr_Occurred()) SWIG_fail;
31308 }
31309 {
31310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31311 }
31312 return resultobj;
31313 fail:
31314 return NULL;
31315}
31316
31317
31318static PyObject *_wrap_MenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
31319 PyObject *resultobj;
31320 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31321 int arg2 ;
31322 wxString *arg3 = 0 ;
31323 bool temp3 = False ;
31324 PyObject * obj0 = 0 ;
31325 PyObject * obj1 = 0 ;
31326 PyObject * obj2 = 0 ;
31327 char *kwnames[] = {
31328 (char *) "self",(char *) "id",(char *) "label", NULL
31329 };
31330
31331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
31332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31334 arg2 = (int) SWIG_AsInt(obj1);
31335 if (PyErr_Occurred()) SWIG_fail;
31336 {
31337 arg3 = wxString_in_helper(obj2);
31338 if (arg3 == NULL) SWIG_fail;
31339 temp3 = True;
31340 }
31341 {
31342 PyThreadState* __tstate = wxPyBeginAllowThreads();
31343 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
31344
31345 wxPyEndAllowThreads(__tstate);
31346 if (PyErr_Occurred()) SWIG_fail;
31347 }
31348 Py_INCREF(Py_None); resultobj = Py_None;
31349 {
31350 if (temp3)
31351 delete arg3;
31352 }
31353 return resultobj;
31354 fail:
31355 {
31356 if (temp3)
31357 delete arg3;
31358 }
31359 return NULL;
31360}
31361
31362
31363static PyObject *_wrap_MenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
31364 PyObject *resultobj;
31365 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31366 int arg2 ;
31367 wxString result;
31368 PyObject * obj0 = 0 ;
31369 PyObject * obj1 = 0 ;
31370 char *kwnames[] = {
31371 (char *) "self",(char *) "id", NULL
31372 };
31373
31374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabel",kwnames,&obj0,&obj1)) goto fail;
31375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31377 arg2 = (int) SWIG_AsInt(obj1);
31378 if (PyErr_Occurred()) SWIG_fail;
31379 {
31380 PyThreadState* __tstate = wxPyBeginAllowThreads();
31381 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
31382
31383 wxPyEndAllowThreads(__tstate);
31384 if (PyErr_Occurred()) SWIG_fail;
31385 }
31386 {
31387#if wxUSE_UNICODE
31388 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31389#else
31390 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31391#endif
31392 }
31393 return resultobj;
31394 fail:
31395 return NULL;
31396}
31397
31398
31399static PyObject *_wrap_MenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
31400 PyObject *resultobj;
31401 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31402 int arg2 ;
31403 wxString *arg3 = 0 ;
31404 bool temp3 = False ;
31405 PyObject * obj0 = 0 ;
31406 PyObject * obj1 = 0 ;
31407 PyObject * obj2 = 0 ;
31408 char *kwnames[] = {
31409 (char *) "self",(char *) "id",(char *) "helpString", NULL
31410 };
31411
31412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
31413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31415 arg2 = (int) SWIG_AsInt(obj1);
31416 if (PyErr_Occurred()) SWIG_fail;
31417 {
31418 arg3 = wxString_in_helper(obj2);
31419 if (arg3 == NULL) SWIG_fail;
31420 temp3 = True;
31421 }
31422 {
31423 PyThreadState* __tstate = wxPyBeginAllowThreads();
31424 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
31425
31426 wxPyEndAllowThreads(__tstate);
31427 if (PyErr_Occurred()) SWIG_fail;
31428 }
31429 Py_INCREF(Py_None); resultobj = Py_None;
31430 {
31431 if (temp3)
31432 delete arg3;
31433 }
31434 return resultobj;
31435 fail:
31436 {
31437 if (temp3)
31438 delete arg3;
31439 }
31440 return NULL;
31441}
31442
31443
31444static PyObject *_wrap_MenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
31445 PyObject *resultobj;
31446 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31447 int arg2 ;
31448 wxString result;
31449 PyObject * obj0 = 0 ;
31450 PyObject * obj1 = 0 ;
31451 char *kwnames[] = {
31452 (char *) "self",(char *) "id", NULL
31453 };
31454
31455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
31456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31458 arg2 = (int) SWIG_AsInt(obj1);
31459 if (PyErr_Occurred()) SWIG_fail;
31460 {
31461 PyThreadState* __tstate = wxPyBeginAllowThreads();
31462 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
31463
31464 wxPyEndAllowThreads(__tstate);
31465 if (PyErr_Occurred()) SWIG_fail;
31466 }
31467 {
31468#if wxUSE_UNICODE
31469 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31470#else
31471 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31472#endif
31473 }
31474 return resultobj;
31475 fail:
31476 return NULL;
31477}
31478
31479
31480static PyObject *_wrap_MenuBar_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
31481 PyObject *resultobj;
31482 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31483 wxFrame *result;
31484 PyObject * obj0 = 0 ;
31485 char *kwnames[] = {
31486 (char *) "self", NULL
31487 };
31488
31489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
31490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31492 {
31493 PyThreadState* __tstate = wxPyBeginAllowThreads();
31494 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
31495
31496 wxPyEndAllowThreads(__tstate);
31497 if (PyErr_Occurred()) SWIG_fail;
31498 }
31499 {
31500 resultobj = wxPyMake_wxObject(result);
31501 }
31502 return resultobj;
31503 fail:
31504 return NULL;
31505}
31506
31507
31508static PyObject *_wrap_MenuBar_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
31509 PyObject *resultobj;
31510 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31511 bool result;
31512 PyObject * obj0 = 0 ;
31513 char *kwnames[] = {
31514 (char *) "self", NULL
31515 };
31516
31517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
31518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31520 {
31521 PyThreadState* __tstate = wxPyBeginAllowThreads();
31522 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
31523
31524 wxPyEndAllowThreads(__tstate);
31525 if (PyErr_Occurred()) SWIG_fail;
31526 }
31527 {
31528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31529 }
31530 return resultobj;
31531 fail:
31532 return NULL;
31533}
31534
31535
31536static PyObject *_wrap_MenuBar_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
31537 PyObject *resultobj;
31538 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31539 wxFrame *arg2 = (wxFrame *) 0 ;
31540 PyObject * obj0 = 0 ;
31541 PyObject * obj1 = 0 ;
31542 char *kwnames[] = {
31543 (char *) "self",(char *) "frame", NULL
31544 };
31545
31546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
31547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31549 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
31550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31551 {
31552 PyThreadState* __tstate = wxPyBeginAllowThreads();
31553 (arg1)->Attach(arg2);
31554
31555 wxPyEndAllowThreads(__tstate);
31556 if (PyErr_Occurred()) SWIG_fail;
31557 }
31558 Py_INCREF(Py_None); resultobj = Py_None;
31559 return resultobj;
31560 fail:
31561 return NULL;
31562}
31563
31564
31565static PyObject *_wrap_MenuBar_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
31566 PyObject *resultobj;
31567 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31568 PyObject * obj0 = 0 ;
31569 char *kwnames[] = {
31570 (char *) "self", NULL
31571 };
31572
31573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
31574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31576 {
31577 PyThreadState* __tstate = wxPyBeginAllowThreads();
31578 (arg1)->Detach();
31579
31580 wxPyEndAllowThreads(__tstate);
31581 if (PyErr_Occurred()) SWIG_fail;
31582 }
31583 Py_INCREF(Py_None); resultobj = Py_None;
31584 return resultobj;
31585 fail:
31586 return NULL;
31587}
31588
31589
31590static PyObject * MenuBar_swigregister(PyObject *self, PyObject *args) {
31591 PyObject *obj;
31592 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31593 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
31594 Py_INCREF(obj);
31595 return Py_BuildValue((char *)"");
31596}
31597static PyObject *_wrap_new_MenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
31598 PyObject *resultobj;
31599 wxMenu *arg1 = (wxMenu *) NULL ;
31600 int arg2 = (int) wxID_ANY ;
31601 wxString const &arg3_defvalue = wxPyEmptyString ;
31602 wxString *arg3 = (wxString *) &arg3_defvalue ;
31603 wxString const &arg4_defvalue = wxPyEmptyString ;
31604 wxString *arg4 = (wxString *) &arg4_defvalue ;
31605 int arg5 = (int) wxITEM_NORMAL ;
31606 wxMenu *arg6 = (wxMenu *) NULL ;
31607 wxMenuItem *result;
31608 bool temp3 = False ;
31609 bool temp4 = False ;
31610 PyObject * obj0 = 0 ;
31611 PyObject * obj1 = 0 ;
31612 PyObject * obj2 = 0 ;
31613 PyObject * obj3 = 0 ;
31614 PyObject * obj4 = 0 ;
31615 PyObject * obj5 = 0 ;
31616 char *kwnames[] = {
31617 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31618 };
31619
31620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_MenuItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31621 if (obj0) {
31622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31624 }
31625 if (obj1) {
31626 arg2 = (int) SWIG_AsInt(obj1);
31627 if (PyErr_Occurred()) SWIG_fail;
31628 }
31629 if (obj2) {
31630 {
31631 arg3 = wxString_in_helper(obj2);
31632 if (arg3 == NULL) SWIG_fail;
31633 temp3 = True;
31634 }
31635 }
31636 if (obj3) {
31637 {
31638 arg4 = wxString_in_helper(obj3);
31639 if (arg4 == NULL) SWIG_fail;
31640 temp4 = True;
31641 }
31642 }
31643 if (obj4) {
31644 arg5 = (wxItemKind) SWIG_AsInt(obj4);
31645 if (PyErr_Occurred()) SWIG_fail;
31646 }
31647 if (obj5) {
31648 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxMenu,
31649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31650 }
31651 {
31652 PyThreadState* __tstate = wxPyBeginAllowThreads();
31653 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
31654
31655 wxPyEndAllowThreads(__tstate);
31656 if (PyErr_Occurred()) SWIG_fail;
31657 }
31658 {
31659 resultobj = wxPyMake_wxObject(result);
31660 }
31661 {
31662 if (temp3)
31663 delete arg3;
31664 }
31665 {
31666 if (temp4)
31667 delete arg4;
31668 }
31669 return resultobj;
31670 fail:
31671 {
31672 if (temp3)
31673 delete arg3;
31674 }
31675 {
31676 if (temp4)
31677 delete arg4;
31678 }
31679 return NULL;
31680}
31681
31682
31683static PyObject *_wrap_MenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31684 PyObject *resultobj;
31685 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31686 wxMenu *result;
31687 PyObject * obj0 = 0 ;
31688 char *kwnames[] = {
31689 (char *) "self", NULL
31690 };
31691
31692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
31693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31695 {
31696 PyThreadState* __tstate = wxPyBeginAllowThreads();
31697 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
31698
31699 wxPyEndAllowThreads(__tstate);
31700 if (PyErr_Occurred()) SWIG_fail;
31701 }
31702 {
31703 resultobj = wxPyMake_wxObject(result);
31704 }
31705 return resultobj;
31706 fail:
31707 return NULL;
31708}
31709
31710
31711static PyObject *_wrap_MenuItem_SetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31712 PyObject *resultobj;
31713 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31714 wxMenu *arg2 = (wxMenu *) 0 ;
31715 PyObject * obj0 = 0 ;
31716 PyObject * obj1 = 0 ;
31717 char *kwnames[] = {
31718 (char *) "self",(char *) "menu", NULL
31719 };
31720
31721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
31722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31724 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
31725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31726 {
31727 PyThreadState* __tstate = wxPyBeginAllowThreads();
31728 (arg1)->SetMenu(arg2);
31729
31730 wxPyEndAllowThreads(__tstate);
31731 if (PyErr_Occurred()) SWIG_fail;
31732 }
31733 Py_INCREF(Py_None); resultobj = Py_None;
31734 return resultobj;
31735 fail:
31736 return NULL;
31737}
31738
31739
31740static PyObject *_wrap_MenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
31741 PyObject *resultobj;
31742 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31743 int arg2 ;
31744 PyObject * obj0 = 0 ;
31745 PyObject * obj1 = 0 ;
31746 char *kwnames[] = {
31747 (char *) "self",(char *) "id", NULL
31748 };
31749
31750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetId",kwnames,&obj0,&obj1)) goto fail;
31751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31753 arg2 = (int) SWIG_AsInt(obj1);
31754 if (PyErr_Occurred()) SWIG_fail;
31755 {
31756 PyThreadState* __tstate = wxPyBeginAllowThreads();
31757 (arg1)->SetId(arg2);
31758
31759 wxPyEndAllowThreads(__tstate);
31760 if (PyErr_Occurred()) SWIG_fail;
31761 }
31762 Py_INCREF(Py_None); resultobj = Py_None;
31763 return resultobj;
31764 fail:
31765 return NULL;
31766}
31767
31768
31769static PyObject *_wrap_MenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
31770 PyObject *resultobj;
31771 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31772 int result;
31773 PyObject * obj0 = 0 ;
31774 char *kwnames[] = {
31775 (char *) "self", NULL
31776 };
31777
31778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
31779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31781 {
31782 PyThreadState* __tstate = wxPyBeginAllowThreads();
31783 result = (int)((wxMenuItem const *)arg1)->GetId();
31784
31785 wxPyEndAllowThreads(__tstate);
31786 if (PyErr_Occurred()) SWIG_fail;
31787 }
31788 resultobj = SWIG_FromInt((int)result);
31789 return resultobj;
31790 fail:
31791 return NULL;
31792}
31793
31794
31795static PyObject *_wrap_MenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
31796 PyObject *resultobj;
31797 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31798 bool result;
31799 PyObject * obj0 = 0 ;
31800 char *kwnames[] = {
31801 (char *) "self", NULL
31802 };
31803
31804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
31805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31807 {
31808 PyThreadState* __tstate = wxPyBeginAllowThreads();
31809 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
31810
31811 wxPyEndAllowThreads(__tstate);
31812 if (PyErr_Occurred()) SWIG_fail;
31813 }
31814 {
31815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31816 }
31817 return resultobj;
31818 fail:
31819 return NULL;
31820}
31821
31822
31823static PyObject *_wrap_MenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
31824 PyObject *resultobj;
31825 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31826 wxString *arg2 = 0 ;
31827 bool temp2 = False ;
31828 PyObject * obj0 = 0 ;
31829 PyObject * obj1 = 0 ;
31830 char *kwnames[] = {
31831 (char *) "self",(char *) "str", NULL
31832 };
31833
31834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
31835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31837 {
31838 arg2 = wxString_in_helper(obj1);
31839 if (arg2 == NULL) SWIG_fail;
31840 temp2 = True;
31841 }
31842 {
31843 PyThreadState* __tstate = wxPyBeginAllowThreads();
31844 (arg1)->SetText((wxString const &)*arg2);
31845
31846 wxPyEndAllowThreads(__tstate);
31847 if (PyErr_Occurred()) SWIG_fail;
31848 }
31849 Py_INCREF(Py_None); resultobj = Py_None;
31850 {
31851 if (temp2)
31852 delete arg2;
31853 }
31854 return resultobj;
31855 fail:
31856 {
31857 if (temp2)
31858 delete arg2;
31859 }
31860 return NULL;
31861}
31862
31863
31864static PyObject *_wrap_MenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
31865 PyObject *resultobj;
31866 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31867 wxString result;
31868 PyObject * obj0 = 0 ;
31869 char *kwnames[] = {
31870 (char *) "self", NULL
31871 };
31872
31873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
31874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31876 {
31877 PyThreadState* __tstate = wxPyBeginAllowThreads();
31878 result = ((wxMenuItem const *)arg1)->GetLabel();
31879
31880 wxPyEndAllowThreads(__tstate);
31881 if (PyErr_Occurred()) SWIG_fail;
31882 }
31883 {
31884#if wxUSE_UNICODE
31885 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31886#else
31887 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31888#endif
31889 }
31890 return resultobj;
31891 fail:
31892 return NULL;
31893}
31894
31895
31896static PyObject *_wrap_MenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
31897 PyObject *resultobj;
31898 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31899 wxString *result;
31900 PyObject * obj0 = 0 ;
31901 char *kwnames[] = {
31902 (char *) "self", NULL
31903 };
31904
31905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
31906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31908 {
31909 PyThreadState* __tstate = wxPyBeginAllowThreads();
31910 {
31911 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
31912 result = (wxString *) &_result_ref;
31913 }
31914
31915 wxPyEndAllowThreads(__tstate);
31916 if (PyErr_Occurred()) SWIG_fail;
31917 }
31918 {
31919#if wxUSE_UNICODE
31920 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
31921#else
31922 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
31923#endif
31924 }
31925 return resultobj;
31926 fail:
31927 return NULL;
31928}
31929
31930
31931static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
31932 PyObject *resultobj;
31933 wxString *arg1 = 0 ;
31934 wxString result;
31935 bool temp1 = False ;
31936 PyObject * obj0 = 0 ;
31937 char *kwnames[] = {
31938 (char *) "text", NULL
31939 };
31940
31941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
31942 {
31943 arg1 = wxString_in_helper(obj0);
31944 if (arg1 == NULL) SWIG_fail;
31945 temp1 = True;
31946 }
31947 {
31948 PyThreadState* __tstate = wxPyBeginAllowThreads();
31949 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
31950
31951 wxPyEndAllowThreads(__tstate);
31952 if (PyErr_Occurred()) SWIG_fail;
31953 }
31954 {
31955#if wxUSE_UNICODE
31956 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31957#else
31958 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31959#endif
31960 }
31961 {
31962 if (temp1)
31963 delete arg1;
31964 }
31965 return resultobj;
31966 fail:
31967 {
31968 if (temp1)
31969 delete arg1;
31970 }
31971 return NULL;
31972}
31973
31974
31975static PyObject *_wrap_MenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
31976 PyObject *resultobj;
31977 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31978 int result;
31979 PyObject * obj0 = 0 ;
31980 char *kwnames[] = {
31981 (char *) "self", NULL
31982 };
31983
31984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
31985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31987 {
31988 PyThreadState* __tstate = wxPyBeginAllowThreads();
31989 result = (int)((wxMenuItem const *)arg1)->GetKind();
31990
31991 wxPyEndAllowThreads(__tstate);
31992 if (PyErr_Occurred()) SWIG_fail;
31993 }
31994 resultobj = SWIG_FromInt((int)result);
31995 return resultobj;
31996 fail:
31997 return NULL;
31998}
31999
32000
32001static PyObject *_wrap_MenuItem_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
32002 PyObject *resultobj;
32003 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32004 int arg2 ;
32005 PyObject * obj0 = 0 ;
32006 PyObject * obj1 = 0 ;
32007 char *kwnames[] = {
32008 (char *) "self",(char *) "kind", NULL
32009 };
32010
32011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetKind",kwnames,&obj0,&obj1)) goto fail;
32012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32014 arg2 = (wxItemKind) SWIG_AsInt(obj1);
32015 if (PyErr_Occurred()) SWIG_fail;
32016 {
32017 PyThreadState* __tstate = wxPyBeginAllowThreads();
32018 (arg1)->SetKind((wxItemKind )arg2);
32019
32020 wxPyEndAllowThreads(__tstate);
32021 if (PyErr_Occurred()) SWIG_fail;
32022 }
32023 Py_INCREF(Py_None); resultobj = Py_None;
32024 return resultobj;
32025 fail:
32026 return NULL;
32027}
32028
32029
32030static PyObject *_wrap_MenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
32031 PyObject *resultobj;
32032 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32033 bool arg2 ;
32034 PyObject * obj0 = 0 ;
32035 PyObject * obj1 = 0 ;
32036 char *kwnames[] = {
32037 (char *) "self",(char *) "checkable", NULL
32038 };
32039
32040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
32041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32043 arg2 = (bool) SWIG_AsBool(obj1);
32044 if (PyErr_Occurred()) SWIG_fail;
32045 {
32046 PyThreadState* __tstate = wxPyBeginAllowThreads();
32047 (arg1)->SetCheckable(arg2);
32048
32049 wxPyEndAllowThreads(__tstate);
32050 if (PyErr_Occurred()) SWIG_fail;
32051 }
32052 Py_INCREF(Py_None); resultobj = Py_None;
32053 return resultobj;
32054 fail:
32055 return NULL;
32056}
32057
32058
32059static PyObject *_wrap_MenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
32060 PyObject *resultobj;
32061 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32062 bool result;
32063 PyObject * obj0 = 0 ;
32064 char *kwnames[] = {
32065 (char *) "self", NULL
32066 };
32067
32068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
32069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32071 {
32072 PyThreadState* __tstate = wxPyBeginAllowThreads();
32073 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
32074
32075 wxPyEndAllowThreads(__tstate);
32076 if (PyErr_Occurred()) SWIG_fail;
32077 }
32078 {
32079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32080 }
32081 return resultobj;
32082 fail:
32083 return NULL;
32084}
32085
32086
32087static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32088 PyObject *resultobj;
32089 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32090 bool result;
32091 PyObject * obj0 = 0 ;
32092 char *kwnames[] = {
32093 (char *) "self", NULL
32094 };
32095
32096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
32097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32099 {
32100 PyThreadState* __tstate = wxPyBeginAllowThreads();
32101 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
32102
32103 wxPyEndAllowThreads(__tstate);
32104 if (PyErr_Occurred()) SWIG_fail;
32105 }
32106 {
32107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32108 }
32109 return resultobj;
32110 fail:
32111 return NULL;
32112}
32113
32114
32115static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32116 PyObject *resultobj;
32117 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32118 wxMenu *arg2 = (wxMenu *) 0 ;
32119 PyObject * obj0 = 0 ;
32120 PyObject * obj1 = 0 ;
32121 char *kwnames[] = {
32122 (char *) "self",(char *) "menu", NULL
32123 };
32124
32125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
32126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32128 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
32129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32130 {
32131 PyThreadState* __tstate = wxPyBeginAllowThreads();
32132 (arg1)->SetSubMenu(arg2);
32133
32134 wxPyEndAllowThreads(__tstate);
32135 if (PyErr_Occurred()) SWIG_fail;
32136 }
32137 Py_INCREF(Py_None); resultobj = Py_None;
32138 return resultobj;
32139 fail:
32140 return NULL;
32141}
32142
32143
32144static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32145 PyObject *resultobj;
32146 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32147 wxMenu *result;
32148 PyObject * obj0 = 0 ;
32149 char *kwnames[] = {
32150 (char *) "self", NULL
32151 };
32152
32153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
32154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32156 {
32157 PyThreadState* __tstate = wxPyBeginAllowThreads();
32158 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
32159
32160 wxPyEndAllowThreads(__tstate);
32161 if (PyErr_Occurred()) SWIG_fail;
32162 }
32163 {
32164 resultobj = wxPyMake_wxObject(result);
32165 }
32166 return resultobj;
32167 fail:
32168 return NULL;
32169}
32170
32171
32172static PyObject *_wrap_MenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
32173 PyObject *resultobj;
32174 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32175 bool arg2 = (bool) True ;
32176 PyObject * obj0 = 0 ;
32177 PyObject * obj1 = 0 ;
32178 char *kwnames[] = {
32179 (char *) "self",(char *) "enable", NULL
32180 };
32181
32182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
32183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32185 if (obj1) {
32186 arg2 = (bool) SWIG_AsBool(obj1);
32187 if (PyErr_Occurred()) SWIG_fail;
32188 }
32189 {
32190 PyThreadState* __tstate = wxPyBeginAllowThreads();
32191 (arg1)->Enable(arg2);
32192
32193 wxPyEndAllowThreads(__tstate);
32194 if (PyErr_Occurred()) SWIG_fail;
32195 }
32196 Py_INCREF(Py_None); resultobj = Py_None;
32197 return resultobj;
32198 fail:
32199 return NULL;
32200}
32201
32202
32203static PyObject *_wrap_MenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
32204 PyObject *resultobj;
32205 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32206 bool result;
32207 PyObject * obj0 = 0 ;
32208 char *kwnames[] = {
32209 (char *) "self", NULL
32210 };
32211
32212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
32213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32215 {
32216 PyThreadState* __tstate = wxPyBeginAllowThreads();
32217 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
32218
32219 wxPyEndAllowThreads(__tstate);
32220 if (PyErr_Occurred()) SWIG_fail;
32221 }
32222 {
32223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32224 }
32225 return resultobj;
32226 fail:
32227 return NULL;
32228}
32229
32230
32231static PyObject *_wrap_MenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
32232 PyObject *resultobj;
32233 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32234 bool arg2 = (bool) True ;
32235 PyObject * obj0 = 0 ;
32236 PyObject * obj1 = 0 ;
32237 char *kwnames[] = {
32238 (char *) "self",(char *) "check", NULL
32239 };
32240
32241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
32242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32244 if (obj1) {
32245 arg2 = (bool) SWIG_AsBool(obj1);
32246 if (PyErr_Occurred()) SWIG_fail;
32247 }
32248 {
32249 PyThreadState* __tstate = wxPyBeginAllowThreads();
32250 (arg1)->Check(arg2);
32251
32252 wxPyEndAllowThreads(__tstate);
32253 if (PyErr_Occurred()) SWIG_fail;
32254 }
32255 Py_INCREF(Py_None); resultobj = Py_None;
32256 return resultobj;
32257 fail:
32258 return NULL;
32259}
32260
32261
32262static PyObject *_wrap_MenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
32263 PyObject *resultobj;
32264 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32265 bool result;
32266 PyObject * obj0 = 0 ;
32267 char *kwnames[] = {
32268 (char *) "self", NULL
32269 };
32270
32271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
32272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32274 {
32275 PyThreadState* __tstate = wxPyBeginAllowThreads();
32276 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
32277
32278 wxPyEndAllowThreads(__tstate);
32279 if (PyErr_Occurred()) SWIG_fail;
32280 }
32281 {
32282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32283 }
32284 return resultobj;
32285 fail:
32286 return NULL;
32287}
32288
32289
32290static PyObject *_wrap_MenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
32291 PyObject *resultobj;
32292 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32293 PyObject * obj0 = 0 ;
32294 char *kwnames[] = {
32295 (char *) "self", NULL
32296 };
32297
32298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
32299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32301 {
32302 PyThreadState* __tstate = wxPyBeginAllowThreads();
32303 (arg1)->Toggle();
32304
32305 wxPyEndAllowThreads(__tstate);
32306 if (PyErr_Occurred()) SWIG_fail;
32307 }
32308 Py_INCREF(Py_None); resultobj = Py_None;
32309 return resultobj;
32310 fail:
32311 return NULL;
32312}
32313
32314
32315static PyObject *_wrap_MenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
32316 PyObject *resultobj;
32317 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32318 wxString *arg2 = 0 ;
32319 bool temp2 = False ;
32320 PyObject * obj0 = 0 ;
32321 PyObject * obj1 = 0 ;
32322 char *kwnames[] = {
32323 (char *) "self",(char *) "str", NULL
32324 };
32325
32326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
32327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32329 {
32330 arg2 = wxString_in_helper(obj1);
32331 if (arg2 == NULL) SWIG_fail;
32332 temp2 = True;
32333 }
32334 {
32335 PyThreadState* __tstate = wxPyBeginAllowThreads();
32336 (arg1)->SetHelp((wxString const &)*arg2);
32337
32338 wxPyEndAllowThreads(__tstate);
32339 if (PyErr_Occurred()) SWIG_fail;
32340 }
32341 Py_INCREF(Py_None); resultobj = Py_None;
32342 {
32343 if (temp2)
32344 delete arg2;
32345 }
32346 return resultobj;
32347 fail:
32348 {
32349 if (temp2)
32350 delete arg2;
32351 }
32352 return NULL;
32353}
32354
32355
32356static PyObject *_wrap_MenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
32357 PyObject *resultobj;
32358 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32359 wxString *result;
32360 PyObject * obj0 = 0 ;
32361 char *kwnames[] = {
32362 (char *) "self", NULL
32363 };
32364
32365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
32366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32368 {
32369 PyThreadState* __tstate = wxPyBeginAllowThreads();
32370 {
32371 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
32372 result = (wxString *) &_result_ref;
32373 }
32374
32375 wxPyEndAllowThreads(__tstate);
32376 if (PyErr_Occurred()) SWIG_fail;
32377 }
32378 {
32379#if wxUSE_UNICODE
32380 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
32381#else
32382 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
32383#endif
32384 }
32385 return resultobj;
32386 fail:
32387 return NULL;
32388}
32389
32390
32391static PyObject *_wrap_MenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
32392 PyObject *resultobj;
32393 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32394 wxAcceleratorEntry *result;
32395 PyObject * obj0 = 0 ;
32396 char *kwnames[] = {
32397 (char *) "self", NULL
32398 };
32399
32400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
32401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32403 {
32404 PyThreadState* __tstate = wxPyBeginAllowThreads();
32405 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
32406
32407 wxPyEndAllowThreads(__tstate);
32408 if (PyErr_Occurred()) SWIG_fail;
32409 }
32410 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
32411 return resultobj;
32412 fail:
32413 return NULL;
32414}
32415
32416
32417static PyObject *_wrap_MenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
32418 PyObject *resultobj;
32419 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32420 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
32421 PyObject * obj0 = 0 ;
32422 PyObject * obj1 = 0 ;
32423 char *kwnames[] = {
32424 (char *) "self",(char *) "accel", NULL
32425 };
32426
32427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
32428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32430 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorEntry,
32431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32432 {
32433 PyThreadState* __tstate = wxPyBeginAllowThreads();
32434 (arg1)->SetAccel(arg2);
32435
32436 wxPyEndAllowThreads(__tstate);
32437 if (PyErr_Occurred()) SWIG_fail;
32438 }
32439 Py_INCREF(Py_None); resultobj = Py_None;
32440 return resultobj;
32441 fail:
32442 return NULL;
32443}
32444
32445
32446static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
32447 PyObject *resultobj;
32448 int result;
32449 char *kwnames[] = {
32450 NULL
32451 };
32452
32453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
32454 {
32455 PyThreadState* __tstate = wxPyBeginAllowThreads();
32456 result = (int)MenuItem_GetDefaultMarginWidth();
32457
32458 wxPyEndAllowThreads(__tstate);
32459 if (PyErr_Occurred()) SWIG_fail;
32460 }
32461 resultobj = SWIG_FromInt((int)result);
32462 return resultobj;
32463 fail:
32464 return NULL;
32465}
32466
32467
32468static PyObject *_wrap_MenuItem_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
32469 PyObject *resultobj;
32470 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32471 wxBitmap *arg2 = 0 ;
32472 PyObject * obj0 = 0 ;
32473 PyObject * obj1 = 0 ;
32474 char *kwnames[] = {
32475 (char *) "self",(char *) "bitmap", NULL
32476 };
32477
32478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
32479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32481 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
32482 SWIG_POINTER_EXCEPTION | 0)) == -1)
32483 SWIG_fail;
32484 if (arg2 == NULL) {
32485 PyErr_SetString(PyExc_TypeError,"null reference");
32486 SWIG_fail;
32487 }
32488 {
32489 PyThreadState* __tstate = wxPyBeginAllowThreads();
32490 (arg1)->SetBitmap((wxBitmap const &)*arg2);
32491
32492 wxPyEndAllowThreads(__tstate);
32493 if (PyErr_Occurred()) SWIG_fail;
32494 }
32495 Py_INCREF(Py_None); resultobj = Py_None;
32496 return resultobj;
32497 fail:
32498 return NULL;
32499}
32500
32501
32502static PyObject *_wrap_MenuItem_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
32503 PyObject *resultobj;
32504 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32505 wxBitmap *result;
32506 PyObject * obj0 = 0 ;
32507 char *kwnames[] = {
32508 (char *) "self", NULL
32509 };
32510
32511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
32512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32514 {
32515 PyThreadState* __tstate = wxPyBeginAllowThreads();
32516 {
32517 wxBitmap const &_result_ref = (arg1)->GetBitmap();
32518 result = (wxBitmap *) &_result_ref;
32519 }
32520
32521 wxPyEndAllowThreads(__tstate);
32522 if (PyErr_Occurred()) SWIG_fail;
32523 }
32524 {
32525 wxBitmap* resultptr = new wxBitmap(*result);
32526 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
32527 }
32528 return resultobj;
32529 fail:
32530 return NULL;
32531}
32532
32533
32534static PyObject * MenuItem_swigregister(PyObject *self, PyObject *args) {
32535 PyObject *obj;
32536 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32537 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
32538 Py_INCREF(obj);
32539 return Py_BuildValue((char *)"");
32540}
32541static int _wrap_ControlNameStr_set(PyObject *_val) {
32542 PyErr_SetString(PyExc_TypeError,"Variable ControlNameStr is read-only.");
32543 return 1;
32544}
32545
32546
32547static PyObject *_wrap_ControlNameStr_get() {
32548 PyObject *pyobj;
32549
32550 {
32551#if wxUSE_UNICODE
32552 pyobj = PyUnicode_FromWideChar((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
32553#else
32554 pyobj = PyString_FromStringAndSize((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
32555#endif
32556 }
32557 return pyobj;
32558}
32559
32560
32561static PyObject *_wrap_new_Control(PyObject *self, PyObject *args, PyObject *kwargs) {
32562 PyObject *resultobj;
32563 wxWindow *arg1 = (wxWindow *) 0 ;
32564 int arg2 ;
32565 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32566 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32567 wxSize const &arg4_defvalue = wxDefaultSize ;
32568 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32569 long arg5 = (long) 0 ;
32570 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32571 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32572 wxString const &arg7_defvalue = wxPyControlNameStr ;
32573 wxString *arg7 = (wxString *) &arg7_defvalue ;
32574 wxControl *result;
32575 wxPoint temp3 ;
32576 wxSize temp4 ;
32577 bool temp7 = False ;
32578 PyObject * obj0 = 0 ;
32579 PyObject * obj1 = 0 ;
32580 PyObject * obj2 = 0 ;
32581 PyObject * obj3 = 0 ;
32582 PyObject * obj4 = 0 ;
32583 PyObject * obj5 = 0 ;
32584 PyObject * obj6 = 0 ;
32585 char *kwnames[] = {
32586 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32587 };
32588
32589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_Control",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
32590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
32591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32592 arg2 = (int) SWIG_AsInt(obj1);
32593 if (PyErr_Occurred()) SWIG_fail;
32594 if (obj2) {
32595 {
32596 arg3 = &temp3;
32597 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32598 }
32599 }
32600 if (obj3) {
32601 {
32602 arg4 = &temp4;
32603 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32604 }
32605 }
32606 if (obj4) {
32607 arg5 = (long) SWIG_AsLong(obj4);
32608 if (PyErr_Occurred()) SWIG_fail;
32609 }
32610 if (obj5) {
32611 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
32612 SWIG_POINTER_EXCEPTION | 0)) == -1)
32613 SWIG_fail;
32614 if (arg6 == NULL) {
32615 PyErr_SetString(PyExc_TypeError,"null reference");
32616 SWIG_fail;
32617 }
32618 }
32619 if (obj6) {
32620 {
32621 arg7 = wxString_in_helper(obj6);
32622 if (arg7 == NULL) SWIG_fail;
32623 temp7 = True;
32624 }
32625 }
32626 {
32627 PyThreadState* __tstate = wxPyBeginAllowThreads();
32628 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32629
32630 wxPyEndAllowThreads(__tstate);
32631 if (PyErr_Occurred()) SWIG_fail;
32632 }
32633 {
32634 resultobj = wxPyMake_wxObject(result);
32635 }
32636 {
32637 if (temp7)
32638 delete arg7;
32639 }
32640 return resultobj;
32641 fail:
32642 {
32643 if (temp7)
32644 delete arg7;
32645 }
32646 return NULL;
32647}
32648
32649
32650static PyObject *_wrap_new_PreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
32651 PyObject *resultobj;
32652 wxControl *result;
32653 char *kwnames[] = {
32654 NULL
32655 };
32656
32657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
32658 {
32659 PyThreadState* __tstate = wxPyBeginAllowThreads();
32660 result = (wxControl *)new wxControl();
32661
32662 wxPyEndAllowThreads(__tstate);
32663 if (PyErr_Occurred()) SWIG_fail;
32664 }
32665 {
32666 resultobj = wxPyMake_wxObject(result);
32667 }
32668 return resultobj;
32669 fail:
32670 return NULL;
32671}
32672
32673
32674static PyObject *_wrap_Control_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
32675 PyObject *resultobj;
32676 wxControl *arg1 = (wxControl *) 0 ;
32677 wxWindow *arg2 = (wxWindow *) 0 ;
32678 int arg3 ;
32679 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32680 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32681 wxSize const &arg5_defvalue = wxDefaultSize ;
32682 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32683 long arg6 = (long) 0 ;
32684 wxValidator const &arg7_defvalue = wxDefaultValidator ;
32685 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
32686 wxString const &arg8_defvalue = wxPyControlNameStr ;
32687 wxString *arg8 = (wxString *) &arg8_defvalue ;
32688 bool result;
32689 wxPoint temp4 ;
32690 wxSize temp5 ;
32691 bool temp8 = False ;
32692 PyObject * obj0 = 0 ;
32693 PyObject * obj1 = 0 ;
32694 PyObject * obj2 = 0 ;
32695 PyObject * obj3 = 0 ;
32696 PyObject * obj4 = 0 ;
32697 PyObject * obj5 = 0 ;
32698 PyObject * obj6 = 0 ;
32699 PyObject * obj7 = 0 ;
32700 char *kwnames[] = {
32701 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32702 };
32703
32704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:Control_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
32705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
32706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32707 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
32708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32709 arg3 = (int) SWIG_AsInt(obj2);
32710 if (PyErr_Occurred()) SWIG_fail;
32711 if (obj3) {
32712 {
32713 arg4 = &temp4;
32714 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32715 }
32716 }
32717 if (obj4) {
32718 {
32719 arg5 = &temp5;
32720 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32721 }
32722 }
32723 if (obj5) {
32724 arg6 = (long) SWIG_AsLong(obj5);
32725 if (PyErr_Occurred()) SWIG_fail;
32726 }
32727 if (obj6) {
32728 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
32729 SWIG_POINTER_EXCEPTION | 0)) == -1)
32730 SWIG_fail;
32731 if (arg7 == NULL) {
32732 PyErr_SetString(PyExc_TypeError,"null reference");
32733 SWIG_fail;
32734 }
32735 }
32736 if (obj7) {
32737 {
32738 arg8 = wxString_in_helper(obj7);
32739 if (arg8 == NULL) SWIG_fail;
32740 temp8 = True;
32741 }
32742 }
32743 {
32744 PyThreadState* __tstate = wxPyBeginAllowThreads();
32745 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
32746
32747 wxPyEndAllowThreads(__tstate);
32748 if (PyErr_Occurred()) SWIG_fail;
32749 }
32750 {
32751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32752 }
32753 {
32754 if (temp8)
32755 delete arg8;
32756 }
32757 return resultobj;
32758 fail:
32759 {
32760 if (temp8)
32761 delete arg8;
32762 }
32763 return NULL;
32764}
32765
32766
32767static PyObject *_wrap_Control_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
32768 PyObject *resultobj;
32769 wxControl *arg1 = (wxControl *) 0 ;
32770 wxCommandEvent *arg2 = 0 ;
32771 PyObject * obj0 = 0 ;
32772 PyObject * obj1 = 0 ;
32773 char *kwnames[] = {
32774 (char *) "self",(char *) "event", NULL
32775 };
32776
32777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
32778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
32779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32780 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCommandEvent,
32781 SWIG_POINTER_EXCEPTION | 0)) == -1)
32782 SWIG_fail;
32783 if (arg2 == NULL) {
32784 PyErr_SetString(PyExc_TypeError,"null reference");
32785 SWIG_fail;
32786 }
32787 {
32788 PyThreadState* __tstate = wxPyBeginAllowThreads();
32789 (arg1)->Command(*arg2);
32790
32791 wxPyEndAllowThreads(__tstate);
32792 if (PyErr_Occurred()) SWIG_fail;
32793 }
32794 Py_INCREF(Py_None); resultobj = Py_None;
32795 return resultobj;
32796 fail:
32797 return NULL;
32798}
32799
32800
32801static PyObject *_wrap_Control_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
32802 PyObject *resultobj;
32803 wxControl *arg1 = (wxControl *) 0 ;
32804 wxString result;
32805 PyObject * obj0 = 0 ;
32806 char *kwnames[] = {
32807 (char *) "self", NULL
32808 };
32809
32810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
32811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
32812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32813 {
32814 PyThreadState* __tstate = wxPyBeginAllowThreads();
32815 result = (arg1)->GetLabel();
32816
32817 wxPyEndAllowThreads(__tstate);
32818 if (PyErr_Occurred()) SWIG_fail;
32819 }
32820 {
32821#if wxUSE_UNICODE
32822 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32823#else
32824 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32825#endif
32826 }
32827 return resultobj;
32828 fail:
32829 return NULL;
32830}
32831
32832
32833static PyObject *_wrap_Control_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
32834 PyObject *resultobj;
32835 wxControl *arg1 = (wxControl *) 0 ;
32836 wxString *arg2 = 0 ;
32837 bool temp2 = False ;
32838 PyObject * obj0 = 0 ;
32839 PyObject * obj1 = 0 ;
32840 char *kwnames[] = {
32841 (char *) "self",(char *) "label", NULL
32842 };
32843
32844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
32845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
32846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32847 {
32848 arg2 = wxString_in_helper(obj1);
32849 if (arg2 == NULL) SWIG_fail;
32850 temp2 = True;
32851 }
32852 {
32853 PyThreadState* __tstate = wxPyBeginAllowThreads();
32854 (arg1)->SetLabel((wxString const &)*arg2);
32855
32856 wxPyEndAllowThreads(__tstate);
32857 if (PyErr_Occurred()) SWIG_fail;
32858 }
32859 Py_INCREF(Py_None); resultobj = Py_None;
32860 {
32861 if (temp2)
32862 delete arg2;
32863 }
32864 return resultobj;
32865 fail:
32866 {
32867 if (temp2)
32868 delete arg2;
32869 }
32870 return NULL;
32871}
32872
32873
32874static PyObject *_wrap_Control_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
32875 PyObject *resultobj;
32876 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
32877 wxVisualAttributes result;
32878 PyObject * obj0 = 0 ;
32879 char *kwnames[] = {
32880 (char *) "variant", NULL
32881 };
32882
32883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Control_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
32884 if (obj0) {
32885 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
32886 if (PyErr_Occurred()) SWIG_fail;
32887 }
32888 {
32889 PyThreadState* __tstate = wxPyBeginAllowThreads();
32890 result = wxControl::GetClassDefaultAttributes((wxWindowVariant )arg1);
32891
32892 wxPyEndAllowThreads(__tstate);
32893 if (PyErr_Occurred()) SWIG_fail;
32894 }
32895 {
32896 wxVisualAttributes * resultptr;
32897 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
32898 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
32899 }
32900 return resultobj;
32901 fail:
32902 return NULL;
32903}
32904
32905
32906static PyObject * Control_swigregister(PyObject *self, PyObject *args) {
32907 PyObject *obj;
32908 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32909 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
32910 Py_INCREF(obj);
32911 return Py_BuildValue((char *)"");
32912}
32913static PyObject *_wrap_ItemContainer_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
32914 PyObject *resultobj;
32915 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32916 wxString *arg2 = 0 ;
32917 PyObject *arg3 = (PyObject *) NULL ;
32918 int result;
32919 bool temp2 = False ;
32920 PyObject * obj0 = 0 ;
32921 PyObject * obj1 = 0 ;
32922 PyObject * obj2 = 0 ;
32923 char *kwnames[] = {
32924 (char *) "self",(char *) "item",(char *) "clientData", NULL
32925 };
32926
32927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
32928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32930 {
32931 arg2 = wxString_in_helper(obj1);
32932 if (arg2 == NULL) SWIG_fail;
32933 temp2 = True;
32934 }
32935 if (obj2) {
32936 arg3 = obj2;
32937 }
32938 {
32939 PyThreadState* __tstate = wxPyBeginAllowThreads();
32940 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
32941
32942 wxPyEndAllowThreads(__tstate);
32943 if (PyErr_Occurred()) SWIG_fail;
32944 }
32945 resultobj = SWIG_FromInt((int)result);
32946 {
32947 if (temp2)
32948 delete arg2;
32949 }
32950 return resultobj;
32951 fail:
32952 {
32953 if (temp2)
32954 delete arg2;
32955 }
32956 return NULL;
32957}
32958
32959
32960static PyObject *_wrap_ItemContainer_AppendItems(PyObject *self, PyObject *args, PyObject *kwargs) {
32961 PyObject *resultobj;
32962 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32963 wxArrayString *arg2 = 0 ;
32964 bool temp2 = False ;
32965 PyObject * obj0 = 0 ;
32966 PyObject * obj1 = 0 ;
32967 char *kwnames[] = {
32968 (char *) "self",(char *) "strings", NULL
32969 };
32970
32971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
32972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32974 {
32975 if (! PySequence_Check(obj1)) {
32976 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
32977 SWIG_fail;
32978 }
32979 arg2 = new wxArrayString;
32980 temp2 = True;
32981 int i, len=PySequence_Length(obj1);
32982 for (i=0; i<len; i++) {
32983 PyObject* item = PySequence_GetItem(obj1, i);
32984#if wxUSE_UNICODE
32985 PyObject* str = PyObject_Unicode(item);
32986#else
32987 PyObject* str = PyObject_Str(item);
32988#endif
32989 if (PyErr_Occurred()) SWIG_fail;
32990 arg2->Add(Py2wxString(str));
32991 Py_DECREF(item);
32992 Py_DECREF(str);
32993 }
32994 }
32995 {
32996 PyThreadState* __tstate = wxPyBeginAllowThreads();
32997 (arg1)->Append((wxArrayString const &)*arg2);
32998
32999 wxPyEndAllowThreads(__tstate);
33000 if (PyErr_Occurred()) SWIG_fail;
33001 }
33002 Py_INCREF(Py_None); resultobj = Py_None;
33003 {
33004 if (temp2) delete arg2;
33005 }
33006 return resultobj;
33007 fail:
33008 {
33009 if (temp2) delete arg2;
33010 }
33011 return NULL;
33012}
33013
33014
33015static PyObject *_wrap_ItemContainer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
33016 PyObject *resultobj;
33017 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33018 wxString *arg2 = 0 ;
33019 int arg3 ;
33020 PyObject *arg4 = (PyObject *) NULL ;
33021 int result;
33022 bool temp2 = False ;
33023 PyObject * obj0 = 0 ;
33024 PyObject * obj1 = 0 ;
33025 PyObject * obj2 = 0 ;
33026 PyObject * obj3 = 0 ;
33027 char *kwnames[] = {
33028 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33029 };
33030
33031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
33032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33034 {
33035 arg2 = wxString_in_helper(obj1);
33036 if (arg2 == NULL) SWIG_fail;
33037 temp2 = True;
33038 }
33039 arg3 = (int) SWIG_AsInt(obj2);
33040 if (PyErr_Occurred()) SWIG_fail;
33041 if (obj3) {
33042 arg4 = obj3;
33043 }
33044 {
33045 PyThreadState* __tstate = wxPyBeginAllowThreads();
33046 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
33047
33048 wxPyEndAllowThreads(__tstate);
33049 if (PyErr_Occurred()) SWIG_fail;
33050 }
33051 resultobj = SWIG_FromInt((int)result);
33052 {
33053 if (temp2)
33054 delete arg2;
33055 }
33056 return resultobj;
33057 fail:
33058 {
33059 if (temp2)
33060 delete arg2;
33061 }
33062 return NULL;
33063}
33064
33065
33066static PyObject *_wrap_ItemContainer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
33067 PyObject *resultobj;
33068 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33069 PyObject * obj0 = 0 ;
33070 char *kwnames[] = {
33071 (char *) "self", NULL
33072 };
33073
33074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
33075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33077 {
33078 PyThreadState* __tstate = wxPyBeginAllowThreads();
33079 (arg1)->Clear();
33080
33081 wxPyEndAllowThreads(__tstate);
33082 if (PyErr_Occurred()) SWIG_fail;
33083 }
33084 Py_INCREF(Py_None); resultobj = Py_None;
33085 return resultobj;
33086 fail:
33087 return NULL;
33088}
33089
33090
33091static PyObject *_wrap_ItemContainer_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
33092 PyObject *resultobj;
33093 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33094 int arg2 ;
33095 PyObject * obj0 = 0 ;
33096 PyObject * obj1 = 0 ;
33097 char *kwnames[] = {
33098 (char *) "self",(char *) "n", NULL
33099 };
33100
33101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Delete",kwnames,&obj0,&obj1)) goto fail;
33102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33104 arg2 = (int) SWIG_AsInt(obj1);
33105 if (PyErr_Occurred()) SWIG_fail;
33106 {
33107 PyThreadState* __tstate = wxPyBeginAllowThreads();
33108 (arg1)->Delete(arg2);
33109
33110 wxPyEndAllowThreads(__tstate);
33111 if (PyErr_Occurred()) SWIG_fail;
33112 }
33113 Py_INCREF(Py_None); resultobj = Py_None;
33114 return resultobj;
33115 fail:
33116 return NULL;
33117}
33118
33119
33120static PyObject *_wrap_ItemContainer_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
33121 PyObject *resultobj;
33122 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33123 int result;
33124 PyObject * obj0 = 0 ;
33125 char *kwnames[] = {
33126 (char *) "self", NULL
33127 };
33128
33129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
33130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33132 {
33133 PyThreadState* __tstate = wxPyBeginAllowThreads();
33134 result = (int)((wxItemContainer const *)arg1)->GetCount();
33135
33136 wxPyEndAllowThreads(__tstate);
33137 if (PyErr_Occurred()) SWIG_fail;
33138 }
33139 resultobj = SWIG_FromInt((int)result);
33140 return resultobj;
33141 fail:
33142 return NULL;
33143}
33144
33145
33146static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
33147 PyObject *resultobj;
33148 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33149 bool result;
33150 PyObject * obj0 = 0 ;
33151 char *kwnames[] = {
33152 (char *) "self", NULL
33153 };
33154
33155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
33156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33158 {
33159 PyThreadState* __tstate = wxPyBeginAllowThreads();
33160 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
33161
33162 wxPyEndAllowThreads(__tstate);
33163 if (PyErr_Occurred()) SWIG_fail;
33164 }
33165 {
33166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33167 }
33168 return resultobj;
33169 fail:
33170 return NULL;
33171}
33172
33173
33174static PyObject *_wrap_ItemContainer_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
33175 PyObject *resultobj;
33176 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33177 int arg2 ;
33178 wxString result;
33179 PyObject * obj0 = 0 ;
33180 PyObject * obj1 = 0 ;
33181 char *kwnames[] = {
33182 (char *) "self",(char *) "n", NULL
33183 };
33184
33185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetString",kwnames,&obj0,&obj1)) goto fail;
33186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33188 arg2 = (int) SWIG_AsInt(obj1);
33189 if (PyErr_Occurred()) SWIG_fail;
33190 {
33191 PyThreadState* __tstate = wxPyBeginAllowThreads();
33192 result = ((wxItemContainer const *)arg1)->GetString(arg2);
33193
33194 wxPyEndAllowThreads(__tstate);
33195 if (PyErr_Occurred()) SWIG_fail;
33196 }
33197 {
33198#if wxUSE_UNICODE
33199 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33200#else
33201 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33202#endif
33203 }
33204 return resultobj;
33205 fail:
33206 return NULL;
33207}
33208
33209
33210static PyObject *_wrap_ItemContainer_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
33211 PyObject *resultobj;
33212 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33213 wxArrayString result;
33214 PyObject * obj0 = 0 ;
33215 char *kwnames[] = {
33216 (char *) "self", NULL
33217 };
33218
33219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
33220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33222 {
33223 PyThreadState* __tstate = wxPyBeginAllowThreads();
33224 result = ((wxItemContainer const *)arg1)->GetStrings();
33225
33226 wxPyEndAllowThreads(__tstate);
33227 if (PyErr_Occurred()) SWIG_fail;
33228 }
33229 {
33230 resultobj = wxArrayString2PyList_helper(result);
33231 }
33232 return resultobj;
33233 fail:
33234 return NULL;
33235}
33236
33237
33238static PyObject *_wrap_ItemContainer_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
33239 PyObject *resultobj;
33240 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33241 int arg2 ;
33242 wxString *arg3 = 0 ;
33243 bool temp3 = False ;
33244 PyObject * obj0 = 0 ;
33245 PyObject * obj1 = 0 ;
33246 PyObject * obj2 = 0 ;
33247 char *kwnames[] = {
33248 (char *) "self",(char *) "n",(char *) "s", NULL
33249 };
33250
33251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
33252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33254 arg2 = (int) SWIG_AsInt(obj1);
33255 if (PyErr_Occurred()) SWIG_fail;
33256 {
33257 arg3 = wxString_in_helper(obj2);
33258 if (arg3 == NULL) SWIG_fail;
33259 temp3 = True;
33260 }
33261 {
33262 PyThreadState* __tstate = wxPyBeginAllowThreads();
33263 (arg1)->SetString(arg2,(wxString const &)*arg3);
33264
33265 wxPyEndAllowThreads(__tstate);
33266 if (PyErr_Occurred()) SWIG_fail;
33267 }
33268 Py_INCREF(Py_None); resultobj = Py_None;
33269 {
33270 if (temp3)
33271 delete arg3;
33272 }
33273 return resultobj;
33274 fail:
33275 {
33276 if (temp3)
33277 delete arg3;
33278 }
33279 return NULL;
33280}
33281
33282
33283static PyObject *_wrap_ItemContainer_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
33284 PyObject *resultobj;
33285 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33286 wxString *arg2 = 0 ;
33287 int result;
33288 bool temp2 = False ;
33289 PyObject * obj0 = 0 ;
33290 PyObject * obj1 = 0 ;
33291 char *kwnames[] = {
33292 (char *) "self",(char *) "s", NULL
33293 };
33294
33295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
33296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33298 {
33299 arg2 = wxString_in_helper(obj1);
33300 if (arg2 == NULL) SWIG_fail;
33301 temp2 = True;
33302 }
33303 {
33304 PyThreadState* __tstate = wxPyBeginAllowThreads();
33305 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
33306
33307 wxPyEndAllowThreads(__tstate);
33308 if (PyErr_Occurred()) SWIG_fail;
33309 }
33310 resultobj = SWIG_FromInt((int)result);
33311 {
33312 if (temp2)
33313 delete arg2;
33314 }
33315 return resultobj;
33316 fail:
33317 {
33318 if (temp2)
33319 delete arg2;
33320 }
33321 return NULL;
33322}
33323
33324
33325static PyObject *_wrap_ItemContainer_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
33326 PyObject *resultobj;
33327 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33328 int arg2 ;
33329 PyObject * obj0 = 0 ;
33330 PyObject * obj1 = 0 ;
33331 char *kwnames[] = {
33332 (char *) "self",(char *) "n", NULL
33333 };
33334
33335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Select",kwnames,&obj0,&obj1)) goto fail;
33336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33338 arg2 = (int) SWIG_AsInt(obj1);
33339 if (PyErr_Occurred()) SWIG_fail;
33340 {
33341 PyThreadState* __tstate = wxPyBeginAllowThreads();
33342 (arg1)->Select(arg2);
33343
33344 wxPyEndAllowThreads(__tstate);
33345 if (PyErr_Occurred()) SWIG_fail;
33346 }
33347 Py_INCREF(Py_None); resultobj = Py_None;
33348 return resultobj;
33349 fail:
33350 return NULL;
33351}
33352
33353
33354static PyObject *_wrap_ItemContainer_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
33355 PyObject *resultobj;
33356 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33357 int result;
33358 PyObject * obj0 = 0 ;
33359 char *kwnames[] = {
33360 (char *) "self", NULL
33361 };
33362
33363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
33364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33366 {
33367 PyThreadState* __tstate = wxPyBeginAllowThreads();
33368 result = (int)((wxItemContainer const *)arg1)->GetSelection();
33369
33370 wxPyEndAllowThreads(__tstate);
33371 if (PyErr_Occurred()) SWIG_fail;
33372 }
33373 resultobj = SWIG_FromInt((int)result);
33374 return resultobj;
33375 fail:
33376 return NULL;
33377}
33378
33379
33380static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
33381 PyObject *resultobj;
33382 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33383 wxString result;
33384 PyObject * obj0 = 0 ;
33385 char *kwnames[] = {
33386 (char *) "self", NULL
33387 };
33388
33389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
33390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33392 {
33393 PyThreadState* __tstate = wxPyBeginAllowThreads();
33394 result = ((wxItemContainer const *)arg1)->GetStringSelection();
33395
33396 wxPyEndAllowThreads(__tstate);
33397 if (PyErr_Occurred()) SWIG_fail;
33398 }
33399 {
33400#if wxUSE_UNICODE
33401 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33402#else
33403 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33404#endif
33405 }
33406 return resultobj;
33407 fail:
33408 return NULL;
33409}
33410
33411
33412static PyObject *_wrap_ItemContainer_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
33413 PyObject *resultobj;
33414 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33415 int arg2 ;
33416 PyObject *result;
33417 PyObject * obj0 = 0 ;
33418 PyObject * obj1 = 0 ;
33419 char *kwnames[] = {
33420 (char *) "self",(char *) "n", NULL
33421 };
33422
33423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetClientData",kwnames,&obj0,&obj1)) goto fail;
33424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33426 arg2 = (int) SWIG_AsInt(obj1);
33427 if (PyErr_Occurred()) SWIG_fail;
33428 {
33429 PyThreadState* __tstate = wxPyBeginAllowThreads();
33430 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
33431
33432 wxPyEndAllowThreads(__tstate);
33433 if (PyErr_Occurred()) SWIG_fail;
33434 }
33435 resultobj = result;
33436 return resultobj;
33437 fail:
33438 return NULL;
33439}
33440
33441
33442static PyObject *_wrap_ItemContainer_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
33443 PyObject *resultobj;
33444 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33445 int arg2 ;
33446 PyObject *arg3 = (PyObject *) 0 ;
33447 PyObject * obj0 = 0 ;
33448 PyObject * obj1 = 0 ;
33449 PyObject * obj2 = 0 ;
33450 char *kwnames[] = {
33451 (char *) "self",(char *) "n",(char *) "clientData", NULL
33452 };
33453
33454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
33455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33457 arg2 = (int) SWIG_AsInt(obj1);
33458 if (PyErr_Occurred()) SWIG_fail;
33459 arg3 = obj2;
33460 {
33461 PyThreadState* __tstate = wxPyBeginAllowThreads();
33462 wxItemContainer_SetClientData(arg1,arg2,arg3);
33463
33464 wxPyEndAllowThreads(__tstate);
33465 if (PyErr_Occurred()) SWIG_fail;
33466 }
33467 Py_INCREF(Py_None); resultobj = Py_None;
33468 return resultobj;
33469 fail:
33470 return NULL;
33471}
33472
33473
33474static PyObject * ItemContainer_swigregister(PyObject *self, PyObject *args) {
33475 PyObject *obj;
33476 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33477 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
33478 Py_INCREF(obj);
33479 return Py_BuildValue((char *)"");
33480}
33481static PyObject * ControlWithItems_swigregister(PyObject *self, PyObject *args) {
33482 PyObject *obj;
33483 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33484 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
33485 Py_INCREF(obj);
33486 return Py_BuildValue((char *)"");
33487}
33488static PyObject *_wrap_new_SizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
33489 PyObject *resultobj;
33490 wxSizerItem *result;
33491 char *kwnames[] = {
33492 NULL
33493 };
33494
33495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
33496 {
33497 PyThreadState* __tstate = wxPyBeginAllowThreads();
33498 result = (wxSizerItem *)new wxSizerItem();
33499
33500 wxPyEndAllowThreads(__tstate);
33501 if (PyErr_Occurred()) SWIG_fail;
33502 }
33503 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
33504 return resultobj;
33505 fail:
33506 return NULL;
33507}
33508
33509
33510static PyObject *_wrap_new_SizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
33511 PyObject *resultobj;
33512 int arg1 ;
33513 int arg2 ;
33514 int arg3 ;
33515 int arg4 ;
33516 int arg5 ;
33517 wxObject *arg6 = (wxObject *) 0 ;
33518 wxSizerItem *result;
33519 PyObject * obj0 = 0 ;
33520 PyObject * obj1 = 0 ;
33521 PyObject * obj2 = 0 ;
33522 PyObject * obj3 = 0 ;
33523 PyObject * obj4 = 0 ;
33524 PyObject * obj5 = 0 ;
33525 char *kwnames[] = {
33526 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33527 };
33528
33529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_SizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
33530 arg1 = (int) SWIG_AsInt(obj0);
33531 if (PyErr_Occurred()) SWIG_fail;
33532 arg2 = (int) SWIG_AsInt(obj1);
33533 if (PyErr_Occurred()) SWIG_fail;
33534 arg3 = (int) SWIG_AsInt(obj2);
33535 if (PyErr_Occurred()) SWIG_fail;
33536 arg4 = (int) SWIG_AsInt(obj3);
33537 if (PyErr_Occurred()) SWIG_fail;
33538 arg5 = (int) SWIG_AsInt(obj4);
33539 if (PyErr_Occurred()) SWIG_fail;
33540 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
33541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33542 {
33543 PyThreadState* __tstate = wxPyBeginAllowThreads();
33544 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
33545
33546 wxPyEndAllowThreads(__tstate);
33547 if (PyErr_Occurred()) SWIG_fail;
33548 }
33549 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
33550 return resultobj;
33551 fail:
33552 return NULL;
33553}
33554
33555
33556static PyObject *_wrap_new_SizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
33557 PyObject *resultobj;
33558 wxWindow *arg1 = (wxWindow *) 0 ;
33559 int arg2 ;
33560 int arg3 ;
33561 int arg4 ;
33562 wxObject *arg5 = (wxObject *) 0 ;
33563 wxSizerItem *result;
33564 PyObject * obj0 = 0 ;
33565 PyObject * obj1 = 0 ;
33566 PyObject * obj2 = 0 ;
33567 PyObject * obj3 = 0 ;
33568 PyObject * obj4 = 0 ;
33569 char *kwnames[] = {
33570 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33571 };
33572
33573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_SizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
33575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33576 arg2 = (int) SWIG_AsInt(obj1);
33577 if (PyErr_Occurred()) SWIG_fail;
33578 arg3 = (int) SWIG_AsInt(obj2);
33579 if (PyErr_Occurred()) SWIG_fail;
33580 arg4 = (int) SWIG_AsInt(obj3);
33581 if (PyErr_Occurred()) SWIG_fail;
33582 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxObject,
33583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33584 {
33585 PyThreadState* __tstate = wxPyBeginAllowThreads();
33586 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
33587
33588 wxPyEndAllowThreads(__tstate);
33589 if (PyErr_Occurred()) SWIG_fail;
33590 }
33591 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
33592 return resultobj;
33593 fail:
33594 return NULL;
33595}
33596
33597
33598static PyObject *_wrap_new_SizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33599 PyObject *resultobj;
33600 wxSizer *arg1 = (wxSizer *) 0 ;
33601 int arg2 ;
33602 int arg3 ;
33603 int arg4 ;
33604 wxObject *arg5 = (wxObject *) 0 ;
33605 wxSizerItem *result;
33606 PyObject * obj0 = 0 ;
33607 PyObject * obj1 = 0 ;
33608 PyObject * obj2 = 0 ;
33609 PyObject * obj3 = 0 ;
33610 PyObject * obj4 = 0 ;
33611 char *kwnames[] = {
33612 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33613 };
33614
33615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_SizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33618 arg2 = (int) SWIG_AsInt(obj1);
33619 if (PyErr_Occurred()) SWIG_fail;
33620 arg3 = (int) SWIG_AsInt(obj2);
33621 if (PyErr_Occurred()) SWIG_fail;
33622 arg4 = (int) SWIG_AsInt(obj3);
33623 if (PyErr_Occurred()) SWIG_fail;
33624 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxObject,
33625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33626 {
33627 PyThreadState* __tstate = wxPyBeginAllowThreads();
33628 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
33629
33630 wxPyEndAllowThreads(__tstate);
33631 if (PyErr_Occurred()) SWIG_fail;
33632 }
33633 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
33634 return resultobj;
33635 fail:
33636 return NULL;
33637}
33638
33639
33640static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
33641 PyObject *resultobj;
33642 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33643 PyObject * obj0 = 0 ;
33644 char *kwnames[] = {
33645 (char *) "self", NULL
33646 };
33647
33648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
33649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33651 {
33652 PyThreadState* __tstate = wxPyBeginAllowThreads();
33653 (arg1)->DeleteWindows();
33654
33655 wxPyEndAllowThreads(__tstate);
33656 if (PyErr_Occurred()) SWIG_fail;
33657 }
33658 Py_INCREF(Py_None); resultobj = Py_None;
33659 return resultobj;
33660 fail:
33661 return NULL;
33662}
33663
33664
33665static PyObject *_wrap_SizerItem_DetachSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33666 PyObject *resultobj;
33667 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33668 PyObject * obj0 = 0 ;
33669 char *kwnames[] = {
33670 (char *) "self", NULL
33671 };
33672
33673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
33674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33676 {
33677 PyThreadState* __tstate = wxPyBeginAllowThreads();
33678 (arg1)->DetachSizer();
33679
33680 wxPyEndAllowThreads(__tstate);
33681 if (PyErr_Occurred()) SWIG_fail;
33682 }
33683 Py_INCREF(Py_None); resultobj = Py_None;
33684 return resultobj;
33685 fail:
33686 return NULL;
33687}
33688
33689
33690static PyObject *_wrap_SizerItem_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33691 PyObject *resultobj;
33692 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33693 wxSize result;
33694 PyObject * obj0 = 0 ;
33695 char *kwnames[] = {
33696 (char *) "self", NULL
33697 };
33698
33699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
33700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33702 {
33703 PyThreadState* __tstate = wxPyBeginAllowThreads();
33704 result = (arg1)->GetSize();
33705
33706 wxPyEndAllowThreads(__tstate);
33707 if (PyErr_Occurred()) SWIG_fail;
33708 }
33709 {
33710 wxSize * resultptr;
33711 resultptr = new wxSize((wxSize &) result);
33712 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
33713 }
33714 return resultobj;
33715 fail:
33716 return NULL;
33717}
33718
33719
33720static PyObject *_wrap_SizerItem_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
33721 PyObject *resultobj;
33722 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33723 wxSize result;
33724 PyObject * obj0 = 0 ;
33725 char *kwnames[] = {
33726 (char *) "self", NULL
33727 };
33728
33729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
33730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33732 {
33733 PyThreadState* __tstate = wxPyBeginAllowThreads();
33734 result = (arg1)->CalcMin();
33735
33736 wxPyEndAllowThreads(__tstate);
33737 if (PyErr_Occurred()) SWIG_fail;
33738 }
33739 {
33740 wxSize * resultptr;
33741 resultptr = new wxSize((wxSize &) result);
33742 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
33743 }
33744 return resultobj;
33745 fail:
33746 return NULL;
33747}
33748
33749
33750static PyObject *_wrap_SizerItem_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
33751 PyObject *resultobj;
33752 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33753 wxPoint arg2 ;
33754 wxSize arg3 ;
33755 wxPoint *argp2 ;
33756 wxSize *argp3 ;
33757 PyObject * obj0 = 0 ;
33758 PyObject * obj1 = 0 ;
33759 PyObject * obj2 = 0 ;
33760 char *kwnames[] = {
33761 (char *) "self",(char *) "pos",(char *) "size", NULL
33762 };
33763
33764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
33765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33767 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
33768 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
33769 arg2 = *argp2;
33770 if ((SWIG_ConvertPtr(obj2,(void **)(&argp3),SWIGTYPE_p_wxSize,
33771 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
33772 arg3 = *argp3;
33773 {
33774 PyThreadState* __tstate = wxPyBeginAllowThreads();
33775 (arg1)->SetDimension(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 *_wrap_SizerItem_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33788 PyObject *resultobj;
33789 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33790 wxSize result;
33791 PyObject * obj0 = 0 ;
33792 char *kwnames[] = {
33793 (char *) "self", NULL
33794 };
33795
33796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail;
33797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33799 {
33800 PyThreadState* __tstate = wxPyBeginAllowThreads();
33801 result = (arg1)->GetMinSize();
33802
33803 wxPyEndAllowThreads(__tstate);
33804 if (PyErr_Occurred()) SWIG_fail;
33805 }
33806 {
33807 wxSize * resultptr;
33808 resultptr = new wxSize((wxSize &) result);
33809 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
33810 }
33811 return resultobj;
33812 fail:
33813 return NULL;
33814}
33815
33816
33817static PyObject *_wrap_SizerItem_SetInitSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33818 PyObject *resultobj;
33819 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33820 int arg2 ;
33821 int arg3 ;
33822 PyObject * obj0 = 0 ;
33823 PyObject * obj1 = 0 ;
33824 PyObject * obj2 = 0 ;
33825 char *kwnames[] = {
33826 (char *) "self",(char *) "x",(char *) "y", NULL
33827 };
33828
33829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetInitSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
33830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33832 arg2 = (int) SWIG_AsInt(obj1);
33833 if (PyErr_Occurred()) SWIG_fail;
33834 arg3 = (int) SWIG_AsInt(obj2);
33835 if (PyErr_Occurred()) SWIG_fail;
33836 {
33837 PyThreadState* __tstate = wxPyBeginAllowThreads();
33838 (arg1)->SetInitSize(arg2,arg3);
33839
33840 wxPyEndAllowThreads(__tstate);
33841 if (PyErr_Occurred()) SWIG_fail;
33842 }
33843 Py_INCREF(Py_None); resultobj = Py_None;
33844 return resultobj;
33845 fail:
33846 return NULL;
33847}
33848
33849
33850static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *self, PyObject *args, PyObject *kwargs) {
33851 PyObject *resultobj;
33852 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33853 int arg2 ;
33854 int arg3 ;
33855 PyObject * obj0 = 0 ;
33856 PyObject * obj1 = 0 ;
33857 PyObject * obj2 = 0 ;
33858 char *kwnames[] = {
33859 (char *) "self",(char *) "width",(char *) "height", NULL
33860 };
33861
33862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetRatioWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
33863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33865 arg2 = (int) SWIG_AsInt(obj1);
33866 if (PyErr_Occurred()) SWIG_fail;
33867 arg3 = (int) SWIG_AsInt(obj2);
33868 if (PyErr_Occurred()) SWIG_fail;
33869 {
33870 PyThreadState* __tstate = wxPyBeginAllowThreads();
33871 (arg1)->SetRatio(arg2,arg3);
33872
33873 wxPyEndAllowThreads(__tstate);
33874 if (PyErr_Occurred()) SWIG_fail;
33875 }
33876 Py_INCREF(Py_None); resultobj = Py_None;
33877 return resultobj;
33878 fail:
33879 return NULL;
33880}
33881
33882
33883static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33884 PyObject *resultobj;
33885 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33886 wxSize arg2 ;
33887 wxSize *argp2 ;
33888 PyObject * obj0 = 0 ;
33889 PyObject * obj1 = 0 ;
33890 char *kwnames[] = {
33891 (char *) "self",(char *) "size", NULL
33892 };
33893
33894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
33895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33897 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
33898 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
33899 arg2 = *argp2;
33900 {
33901 PyThreadState* __tstate = wxPyBeginAllowThreads();
33902 (arg1)->SetRatio(arg2);
33903
33904 wxPyEndAllowThreads(__tstate);
33905 if (PyErr_Occurred()) SWIG_fail;
33906 }
33907 Py_INCREF(Py_None); resultobj = Py_None;
33908 return resultobj;
33909 fail:
33910 return NULL;
33911}
33912
33913
33914static PyObject *_wrap_SizerItem_SetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
33915 PyObject *resultobj;
33916 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33917 float arg2 ;
33918 PyObject * obj0 = 0 ;
33919 PyObject * obj1 = 0 ;
33920 char *kwnames[] = {
33921 (char *) "self",(char *) "ratio", NULL
33922 };
33923
33924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatio",kwnames,&obj0,&obj1)) goto fail;
33925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33927 arg2 = (float) SWIG_AsFloat(obj1);
33928 if (PyErr_Occurred()) SWIG_fail;
33929 {
33930 PyThreadState* __tstate = wxPyBeginAllowThreads();
33931 (arg1)->SetRatio(arg2);
33932
33933 wxPyEndAllowThreads(__tstate);
33934 if (PyErr_Occurred()) SWIG_fail;
33935 }
33936 Py_INCREF(Py_None); resultobj = Py_None;
33937 return resultobj;
33938 fail:
33939 return NULL;
33940}
33941
33942
33943static PyObject *_wrap_SizerItem_GetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
33944 PyObject *resultobj;
33945 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33946 float result;
33947 PyObject * obj0 = 0 ;
33948 char *kwnames[] = {
33949 (char *) "self", NULL
33950 };
33951
33952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
33953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33955 {
33956 PyThreadState* __tstate = wxPyBeginAllowThreads();
33957 result = (float)(arg1)->GetRatio();
33958
33959 wxPyEndAllowThreads(__tstate);
33960 if (PyErr_Occurred()) SWIG_fail;
33961 }
33962 resultobj = SWIG_FromFloat((float)result);
33963 return resultobj;
33964 fail:
33965 return NULL;
33966}
33967
33968
33969static PyObject *_wrap_SizerItem_IsWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
33970 PyObject *resultobj;
33971 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33972 bool result;
33973 PyObject * obj0 = 0 ;
33974 char *kwnames[] = {
33975 (char *) "self", NULL
33976 };
33977
33978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
33979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33981 {
33982 PyThreadState* __tstate = wxPyBeginAllowThreads();
33983 result = (bool)(arg1)->IsWindow();
33984
33985 wxPyEndAllowThreads(__tstate);
33986 if (PyErr_Occurred()) SWIG_fail;
33987 }
33988 {
33989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33990 }
33991 return resultobj;
33992 fail:
33993 return NULL;
33994}
33995
33996
33997static PyObject *_wrap_SizerItem_IsSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33998 PyObject *resultobj;
33999 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34000 bool result;
34001 PyObject * obj0 = 0 ;
34002 char *kwnames[] = {
34003 (char *) "self", NULL
34004 };
34005
34006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
34007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34009 {
34010 PyThreadState* __tstate = wxPyBeginAllowThreads();
34011 result = (bool)(arg1)->IsSizer();
34012
34013 wxPyEndAllowThreads(__tstate);
34014 if (PyErr_Occurred()) SWIG_fail;
34015 }
34016 {
34017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34018 }
34019 return resultobj;
34020 fail:
34021 return NULL;
34022}
34023
34024
34025static PyObject *_wrap_SizerItem_IsSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34026 PyObject *resultobj;
34027 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34028 bool result;
34029 PyObject * obj0 = 0 ;
34030 char *kwnames[] = {
34031 (char *) "self", NULL
34032 };
34033
34034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
34035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34037 {
34038 PyThreadState* __tstate = wxPyBeginAllowThreads();
34039 result = (bool)(arg1)->IsSpacer();
34040
34041 wxPyEndAllowThreads(__tstate);
34042 if (PyErr_Occurred()) SWIG_fail;
34043 }
34044 {
34045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34046 }
34047 return resultobj;
34048 fail:
34049 return NULL;
34050}
34051
34052
34053static PyObject *_wrap_SizerItem_SetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
34054 PyObject *resultobj;
34055 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34056 int arg2 ;
34057 PyObject * obj0 = 0 ;
34058 PyObject * obj1 = 0 ;
34059 char *kwnames[] = {
34060 (char *) "self",(char *) "proportion", NULL
34061 };
34062
34063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetProportion",kwnames,&obj0,&obj1)) goto fail;
34064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34066 arg2 = (int) SWIG_AsInt(obj1);
34067 if (PyErr_Occurred()) SWIG_fail;
34068 {
34069 PyThreadState* __tstate = wxPyBeginAllowThreads();
34070 (arg1)->SetProportion(arg2);
34071
34072 wxPyEndAllowThreads(__tstate);
34073 if (PyErr_Occurred()) SWIG_fail;
34074 }
34075 Py_INCREF(Py_None); resultobj = Py_None;
34076 return resultobj;
34077 fail:
34078 return NULL;
34079}
34080
34081
34082static PyObject *_wrap_SizerItem_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
34083 PyObject *resultobj;
34084 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34085 int result;
34086 PyObject * obj0 = 0 ;
34087 char *kwnames[] = {
34088 (char *) "self", NULL
34089 };
34090
34091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
34092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34094 {
34095 PyThreadState* __tstate = wxPyBeginAllowThreads();
34096 result = (int)(arg1)->GetProportion();
34097
34098 wxPyEndAllowThreads(__tstate);
34099 if (PyErr_Occurred()) SWIG_fail;
34100 }
34101 resultobj = SWIG_FromInt((int)result);
34102 return resultobj;
34103 fail:
34104 return NULL;
34105}
34106
34107
34108static PyObject *_wrap_SizerItem_SetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
34109 PyObject *resultobj;
34110 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34111 int arg2 ;
34112 PyObject * obj0 = 0 ;
34113 PyObject * obj1 = 0 ;
34114 char *kwnames[] = {
34115 (char *) "self",(char *) "flag", NULL
34116 };
34117
34118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetFlag",kwnames,&obj0,&obj1)) goto fail;
34119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34121 arg2 = (int) SWIG_AsInt(obj1);
34122 if (PyErr_Occurred()) SWIG_fail;
34123 {
34124 PyThreadState* __tstate = wxPyBeginAllowThreads();
34125 (arg1)->SetFlag(arg2);
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_SizerItem_GetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
34138 PyObject *resultobj;
34139 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34140 int result;
34141 PyObject * obj0 = 0 ;
34142 char *kwnames[] = {
34143 (char *) "self", NULL
34144 };
34145
34146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
34147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34149 {
34150 PyThreadState* __tstate = wxPyBeginAllowThreads();
34151 result = (int)(arg1)->GetFlag();
34152
34153 wxPyEndAllowThreads(__tstate);
34154 if (PyErr_Occurred()) SWIG_fail;
34155 }
34156 resultobj = SWIG_FromInt((int)result);
34157 return resultobj;
34158 fail:
34159 return NULL;
34160}
34161
34162
34163static PyObject *_wrap_SizerItem_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
34164 PyObject *resultobj;
34165 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34166 int arg2 ;
34167 PyObject * obj0 = 0 ;
34168 PyObject * obj1 = 0 ;
34169 char *kwnames[] = {
34170 (char *) "self",(char *) "border", NULL
34171 };
34172
34173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetBorder",kwnames,&obj0,&obj1)) goto fail;
34174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34176 arg2 = (int) SWIG_AsInt(obj1);
34177 if (PyErr_Occurred()) SWIG_fail;
34178 {
34179 PyThreadState* __tstate = wxPyBeginAllowThreads();
34180 (arg1)->SetBorder(arg2);
34181
34182 wxPyEndAllowThreads(__tstate);
34183 if (PyErr_Occurred()) SWIG_fail;
34184 }
34185 Py_INCREF(Py_None); resultobj = Py_None;
34186 return resultobj;
34187 fail:
34188 return NULL;
34189}
34190
34191
34192static PyObject *_wrap_SizerItem_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
34193 PyObject *resultobj;
34194 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34195 int result;
34196 PyObject * obj0 = 0 ;
34197 char *kwnames[] = {
34198 (char *) "self", NULL
34199 };
34200
34201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
34202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34204 {
34205 PyThreadState* __tstate = wxPyBeginAllowThreads();
34206 result = (int)(arg1)->GetBorder();
34207
34208 wxPyEndAllowThreads(__tstate);
34209 if (PyErr_Occurred()) SWIG_fail;
34210 }
34211 resultobj = SWIG_FromInt((int)result);
34212 return resultobj;
34213 fail:
34214 return NULL;
34215}
34216
34217
34218static PyObject *_wrap_SizerItem_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34219 PyObject *resultobj;
34220 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34221 wxWindow *result;
34222 PyObject * obj0 = 0 ;
34223 char *kwnames[] = {
34224 (char *) "self", NULL
34225 };
34226
34227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
34228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34230 {
34231 PyThreadState* __tstate = wxPyBeginAllowThreads();
34232 result = (wxWindow *)(arg1)->GetWindow();
34233
34234 wxPyEndAllowThreads(__tstate);
34235 if (PyErr_Occurred()) SWIG_fail;
34236 }
34237 {
34238 resultobj = wxPyMake_wxObject(result);
34239 }
34240 return resultobj;
34241 fail:
34242 return NULL;
34243}
34244
34245
34246static PyObject *_wrap_SizerItem_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34247 PyObject *resultobj;
34248 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34249 wxWindow *arg2 = (wxWindow *) 0 ;
34250 PyObject * obj0 = 0 ;
34251 PyObject * obj1 = 0 ;
34252 char *kwnames[] = {
34253 (char *) "self",(char *) "window", NULL
34254 };
34255
34256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
34257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34259 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
34260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34261 {
34262 PyThreadState* __tstate = wxPyBeginAllowThreads();
34263 (arg1)->SetWindow(arg2);
34264
34265 wxPyEndAllowThreads(__tstate);
34266 if (PyErr_Occurred()) SWIG_fail;
34267 }
34268 Py_INCREF(Py_None); resultobj = Py_None;
34269 return resultobj;
34270 fail:
34271 return NULL;
34272}
34273
34274
34275static PyObject *_wrap_SizerItem_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34276 PyObject *resultobj;
34277 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34278 wxSizer *result;
34279 PyObject * obj0 = 0 ;
34280 char *kwnames[] = {
34281 (char *) "self", NULL
34282 };
34283
34284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
34285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34287 {
34288 PyThreadState* __tstate = wxPyBeginAllowThreads();
34289 result = (wxSizer *)(arg1)->GetSizer();
34290
34291 wxPyEndAllowThreads(__tstate);
34292 if (PyErr_Occurred()) SWIG_fail;
34293 }
34294 {
34295 resultobj = wxPyMake_wxSizer(result);
34296 }
34297 return resultobj;
34298 fail:
34299 return NULL;
34300}
34301
34302
34303static PyObject *_wrap_SizerItem_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34304 PyObject *resultobj;
34305 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34306 wxSizer *arg2 = (wxSizer *) 0 ;
34307 PyObject * obj0 = 0 ;
34308 PyObject * obj1 = 0 ;
34309 char *kwnames[] = {
34310 (char *) "self",(char *) "sizer", NULL
34311 };
34312
34313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
34314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34316 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
34317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34318 {
34319 PyThreadState* __tstate = wxPyBeginAllowThreads();
34320 (arg1)->SetSizer(arg2);
34321
34322 wxPyEndAllowThreads(__tstate);
34323 if (PyErr_Occurred()) SWIG_fail;
34324 }
34325 Py_INCREF(Py_None); resultobj = Py_None;
34326 return resultobj;
34327 fail:
34328 return NULL;
34329}
34330
34331
34332static PyObject *_wrap_SizerItem_GetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34333 PyObject *resultobj;
34334 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34335 wxSize *result;
34336 PyObject * obj0 = 0 ;
34337 char *kwnames[] = {
34338 (char *) "self", NULL
34339 };
34340
34341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
34342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34344 {
34345 PyThreadState* __tstate = wxPyBeginAllowThreads();
34346 {
34347 wxSize const &_result_ref = (arg1)->GetSpacer();
34348 result = (wxSize *) &_result_ref;
34349 }
34350
34351 wxPyEndAllowThreads(__tstate);
34352 if (PyErr_Occurred()) SWIG_fail;
34353 }
34354 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
34355 return resultobj;
34356 fail:
34357 return NULL;
34358}
34359
34360
34361static PyObject *_wrap_SizerItem_SetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34362 PyObject *resultobj;
34363 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34364 wxSize *arg2 = 0 ;
34365 wxSize temp2 ;
34366 PyObject * obj0 = 0 ;
34367 PyObject * obj1 = 0 ;
34368 char *kwnames[] = {
34369 (char *) "self",(char *) "size", NULL
34370 };
34371
34372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
34373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34375 {
34376 arg2 = &temp2;
34377 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
34378 }
34379 {
34380 PyThreadState* __tstate = wxPyBeginAllowThreads();
34381 (arg1)->SetSpacer((wxSize const &)*arg2);
34382
34383 wxPyEndAllowThreads(__tstate);
34384 if (PyErr_Occurred()) SWIG_fail;
34385 }
34386 Py_INCREF(Py_None); resultobj = Py_None;
34387 return resultobj;
34388 fail:
34389 return NULL;
34390}
34391
34392
34393static PyObject *_wrap_SizerItem_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
34394 PyObject *resultobj;
34395 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34396 bool arg2 ;
34397 PyObject * obj0 = 0 ;
34398 PyObject * obj1 = 0 ;
34399 char *kwnames[] = {
34400 (char *) "self",(char *) "show", NULL
34401 };
34402
34403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
34404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34406 arg2 = (bool) SWIG_AsBool(obj1);
34407 if (PyErr_Occurred()) SWIG_fail;
34408 {
34409 PyThreadState* __tstate = wxPyBeginAllowThreads();
34410 (arg1)->Show(arg2);
34411
34412 wxPyEndAllowThreads(__tstate);
34413 if (PyErr_Occurred()) SWIG_fail;
34414 }
34415 Py_INCREF(Py_None); resultobj = Py_None;
34416 return resultobj;
34417 fail:
34418 return NULL;
34419}
34420
34421
34422static PyObject *_wrap_SizerItem_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
34423 PyObject *resultobj;
34424 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34425 bool result;
34426 PyObject * obj0 = 0 ;
34427 char *kwnames[] = {
34428 (char *) "self", NULL
34429 };
34430
34431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
34432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34434 {
34435 PyThreadState* __tstate = wxPyBeginAllowThreads();
34436 result = (bool)(arg1)->IsShown();
34437
34438 wxPyEndAllowThreads(__tstate);
34439 if (PyErr_Occurred()) SWIG_fail;
34440 }
34441 {
34442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34443 }
34444 return resultobj;
34445 fail:
34446 return NULL;
34447}
34448
34449
34450static PyObject *_wrap_SizerItem_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
34451 PyObject *resultobj;
34452 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34453 wxPoint result;
34454 PyObject * obj0 = 0 ;
34455 char *kwnames[] = {
34456 (char *) "self", NULL
34457 };
34458
34459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
34460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34462 {
34463 PyThreadState* __tstate = wxPyBeginAllowThreads();
34464 result = (arg1)->GetPosition();
34465
34466 wxPyEndAllowThreads(__tstate);
34467 if (PyErr_Occurred()) SWIG_fail;
34468 }
34469 {
34470 wxPoint * resultptr;
34471 resultptr = new wxPoint((wxPoint &) result);
34472 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
34473 }
34474 return resultobj;
34475 fail:
34476 return NULL;
34477}
34478
34479
34480static PyObject *_wrap_SizerItem_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
34481 PyObject *resultobj;
34482 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34483 PyObject *result;
34484 PyObject * obj0 = 0 ;
34485 char *kwnames[] = {
34486 (char *) "self", NULL
34487 };
34488
34489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
34490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34492 {
34493 PyThreadState* __tstate = wxPyBeginAllowThreads();
34494 result = (PyObject *)wxSizerItem_GetUserData(arg1);
34495
34496 wxPyEndAllowThreads(__tstate);
34497 if (PyErr_Occurred()) SWIG_fail;
34498 }
34499 resultobj = result;
34500 return resultobj;
34501 fail:
34502 return NULL;
34503}
34504
34505
34506static PyObject * SizerItem_swigregister(PyObject *self, PyObject *args) {
34507 PyObject *obj;
34508 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34509 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
34510 Py_INCREF(obj);
34511 return Py_BuildValue((char *)"");
34512}
34513static PyObject *_wrap_Sizer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
34514 PyObject *resultobj;
34515 wxSizer *arg1 = (wxSizer *) 0 ;
34516 PyObject *arg2 = (PyObject *) 0 ;
34517 PyObject * obj0 = 0 ;
34518 PyObject * obj1 = 0 ;
34519 char *kwnames[] = {
34520 (char *) "self",(char *) "_self", NULL
34521 };
34522
34523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
34524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34526 arg2 = obj1;
34527 {
34528 PyThreadState* __tstate = wxPyBeginAllowThreads();
34529 wxSizer__setOORInfo(arg1,arg2);
34530
34531 wxPyEndAllowThreads(__tstate);
34532 if (PyErr_Occurred()) SWIG_fail;
34533 }
34534 Py_INCREF(Py_None); resultobj = Py_None;
34535 return resultobj;
34536 fail:
34537 return NULL;
34538}
34539
34540
34541static PyObject *_wrap_Sizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
34542 PyObject *resultobj;
34543 wxSizer *arg1 = (wxSizer *) 0 ;
34544 PyObject *arg2 = (PyObject *) 0 ;
34545 int arg3 = (int) 0 ;
34546 int arg4 = (int) 0 ;
34547 int arg5 = (int) 0 ;
34548 PyObject *arg6 = (PyObject *) NULL ;
34549 PyObject * obj0 = 0 ;
34550 PyObject * obj1 = 0 ;
34551 PyObject * obj2 = 0 ;
34552 PyObject * obj3 = 0 ;
34553 PyObject * obj4 = 0 ;
34554 PyObject * obj5 = 0 ;
34555 char *kwnames[] = {
34556 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34557 };
34558
34559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
34560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34562 arg2 = obj1;
34563 if (obj2) {
34564 arg3 = (int) SWIG_AsInt(obj2);
34565 if (PyErr_Occurred()) SWIG_fail;
34566 }
34567 if (obj3) {
34568 arg4 = (int) SWIG_AsInt(obj3);
34569 if (PyErr_Occurred()) SWIG_fail;
34570 }
34571 if (obj4) {
34572 arg5 = (int) SWIG_AsInt(obj4);
34573 if (PyErr_Occurred()) SWIG_fail;
34574 }
34575 if (obj5) {
34576 arg6 = obj5;
34577 }
34578 {
34579 PyThreadState* __tstate = wxPyBeginAllowThreads();
34580 wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
34581
34582 wxPyEndAllowThreads(__tstate);
34583 if (PyErr_Occurred()) SWIG_fail;
34584 }
34585 Py_INCREF(Py_None); resultobj = Py_None;
34586 return resultobj;
34587 fail:
34588 return NULL;
34589}
34590
34591
34592static PyObject *_wrap_Sizer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
34593 PyObject *resultobj;
34594 wxSizer *arg1 = (wxSizer *) 0 ;
34595 int arg2 ;
34596 PyObject *arg3 = (PyObject *) 0 ;
34597 int arg4 = (int) 0 ;
34598 int arg5 = (int) 0 ;
34599 int arg6 = (int) 0 ;
34600 PyObject *arg7 = (PyObject *) NULL ;
34601 PyObject * obj0 = 0 ;
34602 PyObject * obj1 = 0 ;
34603 PyObject * obj2 = 0 ;
34604 PyObject * obj3 = 0 ;
34605 PyObject * obj4 = 0 ;
34606 PyObject * obj5 = 0 ;
34607 PyObject * obj6 = 0 ;
34608 char *kwnames[] = {
34609 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34610 };
34611
34612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Sizer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
34613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34615 arg2 = (int) SWIG_AsInt(obj1);
34616 if (PyErr_Occurred()) SWIG_fail;
34617 arg3 = obj2;
34618 if (obj3) {
34619 arg4 = (int) SWIG_AsInt(obj3);
34620 if (PyErr_Occurred()) SWIG_fail;
34621 }
34622 if (obj4) {
34623 arg5 = (int) SWIG_AsInt(obj4);
34624 if (PyErr_Occurred()) SWIG_fail;
34625 }
34626 if (obj5) {
34627 arg6 = (int) SWIG_AsInt(obj5);
34628 if (PyErr_Occurred()) SWIG_fail;
34629 }
34630 if (obj6) {
34631 arg7 = obj6;
34632 }
34633 {
34634 PyThreadState* __tstate = wxPyBeginAllowThreads();
34635 wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
34636
34637 wxPyEndAllowThreads(__tstate);
34638 if (PyErr_Occurred()) SWIG_fail;
34639 }
34640 Py_INCREF(Py_None); resultobj = Py_None;
34641 return resultobj;
34642 fail:
34643 return NULL;
34644}
34645
34646
34647static PyObject *_wrap_Sizer_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
34648 PyObject *resultobj;
34649 wxSizer *arg1 = (wxSizer *) 0 ;
34650 PyObject *arg2 = (PyObject *) 0 ;
34651 int arg3 = (int) 0 ;
34652 int arg4 = (int) 0 ;
34653 int arg5 = (int) 0 ;
34654 PyObject *arg6 = (PyObject *) NULL ;
34655 PyObject * obj0 = 0 ;
34656 PyObject * obj1 = 0 ;
34657 PyObject * obj2 = 0 ;
34658 PyObject * obj3 = 0 ;
34659 PyObject * obj4 = 0 ;
34660 PyObject * obj5 = 0 ;
34661 char *kwnames[] = {
34662 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34663 };
34664
34665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
34666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34668 arg2 = obj1;
34669 if (obj2) {
34670 arg3 = (int) SWIG_AsInt(obj2);
34671 if (PyErr_Occurred()) SWIG_fail;
34672 }
34673 if (obj3) {
34674 arg4 = (int) SWIG_AsInt(obj3);
34675 if (PyErr_Occurred()) SWIG_fail;
34676 }
34677 if (obj4) {
34678 arg5 = (int) SWIG_AsInt(obj4);
34679 if (PyErr_Occurred()) SWIG_fail;
34680 }
34681 if (obj5) {
34682 arg6 = obj5;
34683 }
34684 {
34685 PyThreadState* __tstate = wxPyBeginAllowThreads();
34686 wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
34687
34688 wxPyEndAllowThreads(__tstate);
34689 if (PyErr_Occurred()) SWIG_fail;
34690 }
34691 Py_INCREF(Py_None); resultobj = Py_None;
34692 return resultobj;
34693 fail:
34694 return NULL;
34695}
34696
34697
34698static PyObject *_wrap_Sizer_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
34699 PyObject *resultobj;
34700 wxSizer *arg1 = (wxSizer *) 0 ;
34701 PyObject *arg2 = (PyObject *) 0 ;
34702 bool result;
34703 PyObject * obj0 = 0 ;
34704 PyObject * obj1 = 0 ;
34705 char *kwnames[] = {
34706 (char *) "self",(char *) "item", NULL
34707 };
34708
34709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
34710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34712 arg2 = obj1;
34713 {
34714 PyThreadState* __tstate = wxPyBeginAllowThreads();
34715 result = (bool)wxSizer_Remove(arg1,arg2);
34716
34717 wxPyEndAllowThreads(__tstate);
34718 if (PyErr_Occurred()) SWIG_fail;
34719 }
34720 {
34721 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34722 }
34723 return resultobj;
34724 fail:
34725 return NULL;
34726}
34727
34728
1a6bba1e
RD
34729static PyObject *_wrap_Sizer_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
34730 PyObject *resultobj;
34731 wxSizer *arg1 = (wxSizer *) 0 ;
34732 PyObject *arg2 = (PyObject *) 0 ;
34733 bool result;
34734 PyObject * obj0 = 0 ;
34735 PyObject * obj1 = 0 ;
34736 char *kwnames[] = {
34737 (char *) "self",(char *) "item", NULL
34738 };
34739
34740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Detach",kwnames,&obj0,&obj1)) goto fail;
34741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34743 arg2 = obj1;
34744 {
34745 PyThreadState* __tstate = wxPyBeginAllowThreads();
34746 result = (bool)wxSizer_Detach(arg1,arg2);
34747
34748 wxPyEndAllowThreads(__tstate);
34749 if (PyErr_Occurred()) SWIG_fail;
34750 }
34751 {
34752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34753 }
34754 return resultobj;
34755 fail:
34756 return NULL;
34757}
34758
34759
d55e5bfc
RD
34760static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34761 PyObject *resultobj;
34762 wxSizer *arg1 = (wxSizer *) 0 ;
34763 PyObject *arg2 = (PyObject *) 0 ;
34764 wxSize *arg3 = 0 ;
34765 wxSize temp3 ;
34766 PyObject * obj0 = 0 ;
34767 PyObject * obj1 = 0 ;
34768 PyObject * obj2 = 0 ;
34769 char *kwnames[] = {
34770 (char *) "self",(char *) "item",(char *) "size", NULL
34771 };
34772
34773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
34774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34776 arg2 = obj1;
34777 {
34778 arg3 = &temp3;
34779 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
34780 }
34781 {
34782 PyThreadState* __tstate = wxPyBeginAllowThreads();
34783 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
34784
34785 wxPyEndAllowThreads(__tstate);
34786 if (PyErr_Occurred()) SWIG_fail;
34787 }
34788 Py_INCREF(Py_None); resultobj = Py_None;
34789 return resultobj;
34790 fail:
34791 return NULL;
34792}
34793
34794
34795static PyObject *_wrap_Sizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
34796 PyObject *resultobj;
34797 wxSizer *arg1 = (wxSizer *) 0 ;
34798 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
34799 PyObject * obj0 = 0 ;
34800 PyObject * obj1 = 0 ;
34801 char *kwnames[] = {
34802 (char *) "self",(char *) "item", NULL
34803 };
34804
34805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
34806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34808 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
34809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34810 {
34811 PyThreadState* __tstate = wxPyBeginAllowThreads();
34812 (arg1)->Add(arg2);
34813
34814 wxPyEndAllowThreads(__tstate);
34815 if (PyErr_Occurred()) SWIG_fail;
34816 }
34817 Py_INCREF(Py_None); resultobj = Py_None;
34818 return resultobj;
34819 fail:
34820 return NULL;
34821}
34822
34823
34824static PyObject *_wrap_Sizer_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
34825 PyObject *resultobj;
34826 wxSizer *arg1 = (wxSizer *) 0 ;
34827 size_t arg2 ;
34828 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
34829 PyObject * obj0 = 0 ;
34830 PyObject * obj1 = 0 ;
34831 PyObject * obj2 = 0 ;
34832 char *kwnames[] = {
34833 (char *) "self",(char *) "index",(char *) "item", NULL
34834 };
34835
34836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
34837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34839 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
34840 if (PyErr_Occurred()) SWIG_fail;
34841 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxSizerItem,
34842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34843 {
34844 PyThreadState* __tstate = wxPyBeginAllowThreads();
34845 (arg1)->Insert(arg2,arg3);
34846
34847 wxPyEndAllowThreads(__tstate);
34848 if (PyErr_Occurred()) SWIG_fail;
34849 }
34850 Py_INCREF(Py_None); resultobj = Py_None;
34851 return resultobj;
34852 fail:
34853 return NULL;
34854}
34855
34856
34857static PyObject *_wrap_Sizer_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
34858 PyObject *resultobj;
34859 wxSizer *arg1 = (wxSizer *) 0 ;
34860 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
34861 PyObject * obj0 = 0 ;
34862 PyObject * obj1 = 0 ;
34863 char *kwnames[] = {
34864 (char *) "self",(char *) "item", NULL
34865 };
34866
34867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
34868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34870 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
34871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34872 {
34873 PyThreadState* __tstate = wxPyBeginAllowThreads();
34874 (arg1)->Prepend(arg2);
34875
34876 wxPyEndAllowThreads(__tstate);
34877 if (PyErr_Occurred()) SWIG_fail;
34878 }
34879 Py_INCREF(Py_None); resultobj = Py_None;
34880 return resultobj;
34881 fail:
34882 return NULL;
34883}
34884
34885
34886static PyObject *_wrap_Sizer_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
34887 PyObject *resultobj;
34888 wxSizer *arg1 = (wxSizer *) 0 ;
34889 int arg2 ;
34890 int arg3 ;
34891 int arg4 ;
34892 int arg5 ;
34893 PyObject * obj0 = 0 ;
34894 PyObject * obj1 = 0 ;
34895 PyObject * obj2 = 0 ;
34896 PyObject * obj3 = 0 ;
34897 PyObject * obj4 = 0 ;
34898 char *kwnames[] = {
34899 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
34900 };
34901
34902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Sizer_SetDimension",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34905 arg2 = (int) SWIG_AsInt(obj1);
34906 if (PyErr_Occurred()) SWIG_fail;
34907 arg3 = (int) SWIG_AsInt(obj2);
34908 if (PyErr_Occurred()) SWIG_fail;
34909 arg4 = (int) SWIG_AsInt(obj3);
34910 if (PyErr_Occurred()) SWIG_fail;
34911 arg5 = (int) SWIG_AsInt(obj4);
34912 if (PyErr_Occurred()) SWIG_fail;
34913 {
34914 PyThreadState* __tstate = wxPyBeginAllowThreads();
34915 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
34916
34917 wxPyEndAllowThreads(__tstate);
34918 if (PyErr_Occurred()) SWIG_fail;
34919 }
34920 Py_INCREF(Py_None); resultobj = Py_None;
34921 return resultobj;
34922 fail:
34923 return NULL;
34924}
34925
34926
34927static PyObject *_wrap_Sizer_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34928 PyObject *resultobj;
34929 wxSizer *arg1 = (wxSizer *) 0 ;
34930 wxSize *arg2 = 0 ;
34931 wxSize temp2 ;
34932 PyObject * obj0 = 0 ;
34933 PyObject * obj1 = 0 ;
34934 char *kwnames[] = {
34935 (char *) "self",(char *) "size", NULL
34936 };
34937
34938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
34939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34941 {
34942 arg2 = &temp2;
34943 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
34944 }
34945 {
34946 PyThreadState* __tstate = wxPyBeginAllowThreads();
34947 (arg1)->SetMinSize((wxSize const &)*arg2);
34948
34949 wxPyEndAllowThreads(__tstate);
34950 if (PyErr_Occurred()) SWIG_fail;
34951 }
34952 Py_INCREF(Py_None); resultobj = Py_None;
34953 return resultobj;
34954 fail:
34955 return NULL;
34956}
34957
34958
34959static PyObject *_wrap_Sizer_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34960 PyObject *resultobj;
34961 wxSizer *arg1 = (wxSizer *) 0 ;
34962 wxSize result;
34963 PyObject * obj0 = 0 ;
34964 char *kwnames[] = {
34965 (char *) "self", NULL
34966 };
34967
34968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
34969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34971 {
34972 PyThreadState* __tstate = wxPyBeginAllowThreads();
34973 result = (arg1)->GetSize();
34974
34975 wxPyEndAllowThreads(__tstate);
34976 if (PyErr_Occurred()) SWIG_fail;
34977 }
34978 {
34979 wxSize * resultptr;
34980 resultptr = new wxSize((wxSize &) result);
34981 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34982 }
34983 return resultobj;
34984 fail:
34985 return NULL;
34986}
34987
34988
34989static PyObject *_wrap_Sizer_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
34990 PyObject *resultobj;
34991 wxSizer *arg1 = (wxSizer *) 0 ;
34992 wxPoint result;
34993 PyObject * obj0 = 0 ;
34994 char *kwnames[] = {
34995 (char *) "self", NULL
34996 };
34997
34998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
34999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35001 {
35002 PyThreadState* __tstate = wxPyBeginAllowThreads();
35003 result = (arg1)->GetPosition();
35004
35005 wxPyEndAllowThreads(__tstate);
35006 if (PyErr_Occurred()) SWIG_fail;
35007 }
35008 {
35009 wxPoint * resultptr;
35010 resultptr = new wxPoint((wxPoint &) result);
35011 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
35012 }
35013 return resultobj;
35014 fail:
35015 return NULL;
35016}
35017
35018
35019static PyObject *_wrap_Sizer_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
35020 PyObject *resultobj;
35021 wxSizer *arg1 = (wxSizer *) 0 ;
35022 wxSize result;
35023 PyObject * obj0 = 0 ;
35024 char *kwnames[] = {
35025 (char *) "self", NULL
35026 };
35027
35028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
35029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35031 {
35032 PyThreadState* __tstate = wxPyBeginAllowThreads();
35033 result = (arg1)->GetMinSize();
35034
35035 wxPyEndAllowThreads(__tstate);
35036 if (PyErr_Occurred()) SWIG_fail;
35037 }
35038 {
35039 wxSize * resultptr;
35040 resultptr = new wxSize((wxSize &) result);
35041 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
35042 }
35043 return resultobj;
35044 fail:
35045 return NULL;
35046}
35047
35048
35049static PyObject *_wrap_Sizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
35050 PyObject *resultobj;
35051 wxSizer *arg1 = (wxSizer *) 0 ;
35052 PyObject * obj0 = 0 ;
35053 char *kwnames[] = {
35054 (char *) "self", NULL
35055 };
35056
35057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
35058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35060 {
35061 PyThreadState* __tstate = wxPyBeginAllowThreads();
35062 (arg1)->RecalcSizes();
35063
35064 wxPyEndAllowThreads(__tstate);
35065 if (PyErr_Occurred()) SWIG_fail;
35066 }
35067 Py_INCREF(Py_None); resultobj = Py_None;
35068 return resultobj;
35069 fail:
35070 return NULL;
35071}
35072
35073
35074static PyObject *_wrap_Sizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
35075 PyObject *resultobj;
35076 wxSizer *arg1 = (wxSizer *) 0 ;
35077 wxSize result;
35078 PyObject * obj0 = 0 ;
35079 char *kwnames[] = {
35080 (char *) "self", NULL
35081 };
35082
35083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
35084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35086 {
35087 PyThreadState* __tstate = wxPyBeginAllowThreads();
35088 result = (arg1)->CalcMin();
35089
35090 wxPyEndAllowThreads(__tstate);
35091 if (PyErr_Occurred()) SWIG_fail;
35092 }
35093 {
35094 wxSize * resultptr;
35095 resultptr = new wxSize((wxSize &) result);
35096 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
35097 }
35098 return resultobj;
35099 fail:
35100 return NULL;
35101}
35102
35103
35104static PyObject *_wrap_Sizer_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
35105 PyObject *resultobj;
35106 wxSizer *arg1 = (wxSizer *) 0 ;
35107 PyObject * obj0 = 0 ;
35108 char *kwnames[] = {
35109 (char *) "self", NULL
35110 };
35111
35112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
35113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35115 {
35116 PyThreadState* __tstate = wxPyBeginAllowThreads();
35117 (arg1)->Layout();
35118
35119 wxPyEndAllowThreads(__tstate);
35120 if (PyErr_Occurred()) SWIG_fail;
35121 }
35122 Py_INCREF(Py_None); resultobj = Py_None;
35123 return resultobj;
35124 fail:
35125 return NULL;
35126}
35127
35128
35129static PyObject *_wrap_Sizer_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
35130 PyObject *resultobj;
35131 wxSizer *arg1 = (wxSizer *) 0 ;
35132 wxWindow *arg2 = (wxWindow *) 0 ;
35133 wxSize result;
35134 PyObject * obj0 = 0 ;
35135 PyObject * obj1 = 0 ;
35136 char *kwnames[] = {
35137 (char *) "self",(char *) "window", NULL
35138 };
35139
35140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
35141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35143 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35145 {
35146 PyThreadState* __tstate = wxPyBeginAllowThreads();
35147 result = (arg1)->Fit(arg2);
35148
35149 wxPyEndAllowThreads(__tstate);
35150 if (PyErr_Occurred()) SWIG_fail;
35151 }
35152 {
35153 wxSize * resultptr;
35154 resultptr = new wxSize((wxSize &) result);
35155 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
35156 }
35157 return resultobj;
35158 fail:
35159 return NULL;
35160}
35161
35162
35163static PyObject *_wrap_Sizer_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
35164 PyObject *resultobj;
35165 wxSizer *arg1 = (wxSizer *) 0 ;
35166 wxWindow *arg2 = (wxWindow *) 0 ;
35167 PyObject * obj0 = 0 ;
35168 PyObject * obj1 = 0 ;
35169 char *kwnames[] = {
35170 (char *) "self",(char *) "window", NULL
35171 };
35172
35173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
35174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35176 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35178 {
35179 PyThreadState* __tstate = wxPyBeginAllowThreads();
35180 (arg1)->FitInside(arg2);
35181
35182 wxPyEndAllowThreads(__tstate);
35183 if (PyErr_Occurred()) SWIG_fail;
35184 }
35185 Py_INCREF(Py_None); resultobj = Py_None;
35186 return resultobj;
35187 fail:
35188 return NULL;
35189}
35190
35191
35192static PyObject *_wrap_Sizer_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
35193 PyObject *resultobj;
35194 wxSizer *arg1 = (wxSizer *) 0 ;
35195 wxWindow *arg2 = (wxWindow *) 0 ;
35196 PyObject * obj0 = 0 ;
35197 PyObject * obj1 = 0 ;
35198 char *kwnames[] = {
35199 (char *) "self",(char *) "window", NULL
35200 };
35201
35202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
35203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35205 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35207 {
35208 PyThreadState* __tstate = wxPyBeginAllowThreads();
35209 (arg1)->SetSizeHints(arg2);
35210
35211 wxPyEndAllowThreads(__tstate);
35212 if (PyErr_Occurred()) SWIG_fail;
35213 }
35214 Py_INCREF(Py_None); resultobj = Py_None;
35215 return resultobj;
35216 fail:
35217 return NULL;
35218}
35219
35220
35221static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
35222 PyObject *resultobj;
35223 wxSizer *arg1 = (wxSizer *) 0 ;
35224 wxWindow *arg2 = (wxWindow *) 0 ;
35225 PyObject * obj0 = 0 ;
35226 PyObject * obj1 = 0 ;
35227 char *kwnames[] = {
35228 (char *) "self",(char *) "window", NULL
35229 };
35230
35231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
35232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35234 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35236 {
35237 PyThreadState* __tstate = wxPyBeginAllowThreads();
35238 (arg1)->SetVirtualSizeHints(arg2);
35239
35240 wxPyEndAllowThreads(__tstate);
35241 if (PyErr_Occurred()) SWIG_fail;
35242 }
35243 Py_INCREF(Py_None); resultobj = Py_None;
35244 return resultobj;
35245 fail:
35246 return NULL;
35247}
35248
35249
35250static PyObject *_wrap_Sizer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
35251 PyObject *resultobj;
35252 wxSizer *arg1 = (wxSizer *) 0 ;
35253 bool arg2 = (bool) False ;
35254 PyObject * obj0 = 0 ;
35255 PyObject * obj1 = 0 ;
35256 char *kwnames[] = {
35257 (char *) "self",(char *) "delete_windows", NULL
35258 };
35259
35260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
35261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35263 if (obj1) {
35264 arg2 = (bool) SWIG_AsBool(obj1);
35265 if (PyErr_Occurred()) SWIG_fail;
35266 }
35267 {
35268 PyThreadState* __tstate = wxPyBeginAllowThreads();
35269 (arg1)->Clear(arg2);
35270
35271 wxPyEndAllowThreads(__tstate);
35272 if (PyErr_Occurred()) SWIG_fail;
35273 }
35274 Py_INCREF(Py_None); resultobj = Py_None;
35275 return resultobj;
35276 fail:
35277 return NULL;
35278}
35279
35280
35281static PyObject *_wrap_Sizer_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
35282 PyObject *resultobj;
35283 wxSizer *arg1 = (wxSizer *) 0 ;
35284 PyObject * obj0 = 0 ;
35285 char *kwnames[] = {
35286 (char *) "self", NULL
35287 };
35288
35289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
35290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35292 {
35293 PyThreadState* __tstate = wxPyBeginAllowThreads();
35294 (arg1)->DeleteWindows();
35295
35296 wxPyEndAllowThreads(__tstate);
35297 if (PyErr_Occurred()) SWIG_fail;
35298 }
35299 Py_INCREF(Py_None); resultobj = Py_None;
35300 return resultobj;
35301 fail:
35302 return NULL;
35303}
35304
35305
35306static PyObject *_wrap_Sizer_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
35307 PyObject *resultobj;
35308 wxSizer *arg1 = (wxSizer *) 0 ;
35309 PyObject *result;
35310 PyObject * obj0 = 0 ;
35311 char *kwnames[] = {
35312 (char *) "self", NULL
35313 };
35314
35315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
35316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35318 {
35319 PyThreadState* __tstate = wxPyBeginAllowThreads();
35320 result = (PyObject *)wxSizer_GetChildren(arg1);
35321
35322 wxPyEndAllowThreads(__tstate);
35323 if (PyErr_Occurred()) SWIG_fail;
35324 }
35325 resultobj = result;
35326 return resultobj;
35327 fail:
35328 return NULL;
35329}
35330
35331
35332static PyObject *_wrap_Sizer_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
35333 PyObject *resultobj;
35334 wxSizer *arg1 = (wxSizer *) 0 ;
35335 PyObject *arg2 = (PyObject *) 0 ;
35336 bool arg3 = (bool) True ;
35337 PyObject * obj0 = 0 ;
35338 PyObject * obj1 = 0 ;
35339 PyObject * obj2 = 0 ;
35340 char *kwnames[] = {
35341 (char *) "self",(char *) "item",(char *) "show", NULL
35342 };
35343
35344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Sizer_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
35345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35347 arg2 = obj1;
35348 if (obj2) {
35349 arg3 = (bool) SWIG_AsBool(obj2);
35350 if (PyErr_Occurred()) SWIG_fail;
35351 }
35352 {
35353 PyThreadState* __tstate = wxPyBeginAllowThreads();
35354 wxSizer_Show(arg1,arg2,arg3);
35355
35356 wxPyEndAllowThreads(__tstate);
35357 if (PyErr_Occurred()) SWIG_fail;
35358 }
35359 Py_INCREF(Py_None); resultobj = Py_None;
35360 return resultobj;
35361 fail:
35362 return NULL;
35363}
35364
35365
35366static PyObject *_wrap_Sizer_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
35367 PyObject *resultobj;
35368 wxSizer *arg1 = (wxSizer *) 0 ;
35369 PyObject *arg2 = (PyObject *) 0 ;
35370 PyObject * obj0 = 0 ;
35371 PyObject * obj1 = 0 ;
35372 char *kwnames[] = {
35373 (char *) "self",(char *) "item", NULL
35374 };
35375
35376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Hide",kwnames,&obj0,&obj1)) goto fail;
35377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35379 arg2 = obj1;
35380 {
35381 PyThreadState* __tstate = wxPyBeginAllowThreads();
35382 wxSizer_Hide(arg1,arg2);
35383
35384 wxPyEndAllowThreads(__tstate);
35385 if (PyErr_Occurred()) SWIG_fail;
35386 }
35387 Py_INCREF(Py_None); resultobj = Py_None;
35388 return resultobj;
35389 fail:
35390 return NULL;
35391}
35392
35393
35394static PyObject *_wrap_Sizer_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
35395 PyObject *resultobj;
35396 wxSizer *arg1 = (wxSizer *) 0 ;
35397 PyObject *arg2 = (PyObject *) 0 ;
35398 bool result;
35399 PyObject * obj0 = 0 ;
35400 PyObject * obj1 = 0 ;
35401 char *kwnames[] = {
35402 (char *) "self",(char *) "item", NULL
35403 };
35404
35405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
35406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35408 arg2 = obj1;
35409 {
35410 PyThreadState* __tstate = wxPyBeginAllowThreads();
35411 result = (bool)wxSizer_IsShown(arg1,arg2);
35412
35413 wxPyEndAllowThreads(__tstate);
35414 if (PyErr_Occurred()) SWIG_fail;
35415 }
35416 {
35417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35418 }
35419 return resultobj;
35420 fail:
35421 return NULL;
35422}
35423
35424
35425static PyObject *_wrap_Sizer_ShowItems(PyObject *self, PyObject *args, PyObject *kwargs) {
35426 PyObject *resultobj;
35427 wxSizer *arg1 = (wxSizer *) 0 ;
35428 bool arg2 ;
35429 PyObject * obj0 = 0 ;
35430 PyObject * obj1 = 0 ;
35431 char *kwnames[] = {
35432 (char *) "self",(char *) "show", NULL
35433 };
35434
35435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
35436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35438 arg2 = (bool) SWIG_AsBool(obj1);
35439 if (PyErr_Occurred()) SWIG_fail;
35440 {
35441 PyThreadState* __tstate = wxPyBeginAllowThreads();
35442 (arg1)->ShowItems(arg2);
35443
35444 wxPyEndAllowThreads(__tstate);
35445 if (PyErr_Occurred()) SWIG_fail;
35446 }
35447 Py_INCREF(Py_None); resultobj = Py_None;
35448 return resultobj;
35449 fail:
35450 return NULL;
35451}
35452
35453
35454static PyObject * Sizer_swigregister(PyObject *self, PyObject *args) {
35455 PyObject *obj;
35456 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35457 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
35458 Py_INCREF(obj);
35459 return Py_BuildValue((char *)"");
35460}
35461static PyObject *_wrap_new_PySizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35462 PyObject *resultobj;
35463 wxPySizer *result;
35464 char *kwnames[] = {
35465 NULL
35466 };
35467
35468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
35469 {
35470 PyThreadState* __tstate = wxPyBeginAllowThreads();
35471 result = (wxPySizer *)new wxPySizer();
35472
35473 wxPyEndAllowThreads(__tstate);
35474 if (PyErr_Occurred()) SWIG_fail;
35475 }
35476 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPySizer, 1);
35477 return resultobj;
35478 fail:
35479 return NULL;
35480}
35481
35482
35483static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
35484 PyObject *resultobj;
35485 wxPySizer *arg1 = (wxPySizer *) 0 ;
35486 PyObject *arg2 = (PyObject *) 0 ;
35487 PyObject *arg3 = (PyObject *) 0 ;
35488 PyObject * obj0 = 0 ;
35489 PyObject * obj1 = 0 ;
35490 PyObject * obj2 = 0 ;
35491 char *kwnames[] = {
35492 (char *) "self",(char *) "self",(char *) "_class", NULL
35493 };
35494
35495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
35496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPySizer,
35497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35498 arg2 = obj1;
35499 arg3 = obj2;
35500 {
35501 PyThreadState* __tstate = wxPyBeginAllowThreads();
35502 (arg1)->_setCallbackInfo(arg2,arg3);
35503
35504 wxPyEndAllowThreads(__tstate);
35505 if (PyErr_Occurred()) SWIG_fail;
35506 }
35507 Py_INCREF(Py_None); resultobj = Py_None;
35508 return resultobj;
35509 fail:
35510 return NULL;
35511}
35512
35513
35514static PyObject * PySizer_swigregister(PyObject *self, PyObject *args) {
35515 PyObject *obj;
35516 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35517 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
35518 Py_INCREF(obj);
35519 return Py_BuildValue((char *)"");
35520}
35521static PyObject *_wrap_new_BoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35522 PyObject *resultobj;
35523 int arg1 = (int) wxHORIZONTAL ;
35524 wxBoxSizer *result;
35525 PyObject * obj0 = 0 ;
35526 char *kwnames[] = {
35527 (char *) "orient", NULL
35528 };
35529
35530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BoxSizer",kwnames,&obj0)) goto fail;
35531 if (obj0) {
35532 arg1 = (int) SWIG_AsInt(obj0);
35533 if (PyErr_Occurred()) SWIG_fail;
35534 }
35535 {
35536 PyThreadState* __tstate = wxPyBeginAllowThreads();
35537 result = (wxBoxSizer *)new wxBoxSizer(arg1);
35538
35539 wxPyEndAllowThreads(__tstate);
35540 if (PyErr_Occurred()) SWIG_fail;
35541 }
35542 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBoxSizer, 1);
35543 return resultobj;
35544 fail:
35545 return NULL;
35546}
35547
35548
35549static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
35550 PyObject *resultobj;
35551 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
35552 int result;
35553 PyObject * obj0 = 0 ;
35554 char *kwnames[] = {
35555 (char *) "self", NULL
35556 };
35557
35558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
35559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
35560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35561 {
35562 PyThreadState* __tstate = wxPyBeginAllowThreads();
35563 result = (int)(arg1)->GetOrientation();
35564
35565 wxPyEndAllowThreads(__tstate);
35566 if (PyErr_Occurred()) SWIG_fail;
35567 }
35568 resultobj = SWIG_FromInt((int)result);
35569 return resultobj;
35570 fail:
35571 return NULL;
35572}
35573
35574
35575static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
35576 PyObject *resultobj;
35577 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
35578 int arg2 ;
35579 PyObject * obj0 = 0 ;
35580 PyObject * obj1 = 0 ;
35581 char *kwnames[] = {
35582 (char *) "self",(char *) "orient", NULL
35583 };
35584
35585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BoxSizer_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
35586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
35587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35588 arg2 = (int) SWIG_AsInt(obj1);
35589 if (PyErr_Occurred()) SWIG_fail;
35590 {
35591 PyThreadState* __tstate = wxPyBeginAllowThreads();
35592 (arg1)->SetOrientation(arg2);
35593
35594 wxPyEndAllowThreads(__tstate);
35595 if (PyErr_Occurred()) SWIG_fail;
35596 }
35597 Py_INCREF(Py_None); resultobj = Py_None;
35598 return resultobj;
35599 fail:
35600 return NULL;
35601}
35602
35603
35604static PyObject *_wrap_BoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
35605 PyObject *resultobj;
35606 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
35607 PyObject * obj0 = 0 ;
35608 char *kwnames[] = {
35609 (char *) "self", NULL
35610 };
35611
35612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
35613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
35614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35615 {
35616 PyThreadState* __tstate = wxPyBeginAllowThreads();
35617 (arg1)->RecalcSizes();
35618
35619 wxPyEndAllowThreads(__tstate);
35620 if (PyErr_Occurred()) SWIG_fail;
35621 }
35622 Py_INCREF(Py_None); resultobj = Py_None;
35623 return resultobj;
35624 fail:
35625 return NULL;
35626}
35627
35628
35629static PyObject *_wrap_BoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
35630 PyObject *resultobj;
35631 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
35632 wxSize result;
35633 PyObject * obj0 = 0 ;
35634 char *kwnames[] = {
35635 (char *) "self", NULL
35636 };
35637
35638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_CalcMin",kwnames,&obj0)) goto fail;
35639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
35640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35641 {
35642 PyThreadState* __tstate = wxPyBeginAllowThreads();
35643 result = (arg1)->CalcMin();
35644
35645 wxPyEndAllowThreads(__tstate);
35646 if (PyErr_Occurred()) SWIG_fail;
35647 }
35648 {
35649 wxSize * resultptr;
35650 resultptr = new wxSize((wxSize &) result);
35651 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
35652 }
35653 return resultobj;
35654 fail:
35655 return NULL;
35656}
35657
35658
35659static PyObject * BoxSizer_swigregister(PyObject *self, PyObject *args) {
35660 PyObject *obj;
35661 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35662 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
35663 Py_INCREF(obj);
35664 return Py_BuildValue((char *)"");
35665}
35666static PyObject *_wrap_new_StaticBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35667 PyObject *resultobj;
35668 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
35669 int arg2 = (int) wxHORIZONTAL ;
35670 wxStaticBoxSizer *result;
35671 PyObject * obj0 = 0 ;
35672 PyObject * obj1 = 0 ;
35673 char *kwnames[] = {
35674 (char *) "box",(char *) "orient", NULL
35675 };
35676
35677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_StaticBoxSizer",kwnames,&obj0,&obj1)) goto fail;
35678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
35679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35680 if (obj1) {
35681 arg2 = (int) SWIG_AsInt(obj1);
35682 if (PyErr_Occurred()) SWIG_fail;
35683 }
35684 {
35685 PyThreadState* __tstate = wxPyBeginAllowThreads();
35686 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
35687
35688 wxPyEndAllowThreads(__tstate);
35689 if (PyErr_Occurred()) SWIG_fail;
35690 }
35691 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBoxSizer, 1);
35692 return resultobj;
35693 fail:
35694 return NULL;
35695}
35696
35697
35698static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
35699 PyObject *resultobj;
35700 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
35701 wxStaticBox *result;
35702 PyObject * obj0 = 0 ;
35703 char *kwnames[] = {
35704 (char *) "self", NULL
35705 };
35706
35707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
35708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
35709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35710 {
35711 PyThreadState* __tstate = wxPyBeginAllowThreads();
35712 result = (wxStaticBox *)(arg1)->GetStaticBox();
35713
35714 wxPyEndAllowThreads(__tstate);
35715 if (PyErr_Occurred()) SWIG_fail;
35716 }
35717 {
35718 resultobj = wxPyMake_wxObject(result);
35719 }
35720 return resultobj;
35721 fail:
35722 return NULL;
35723}
35724
35725
35726static PyObject *_wrap_StaticBoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
35727 PyObject *resultobj;
35728 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
35729 PyObject * obj0 = 0 ;
35730 char *kwnames[] = {
35731 (char *) "self", NULL
35732 };
35733
35734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
35735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
35736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35737 {
35738 PyThreadState* __tstate = wxPyBeginAllowThreads();
35739 (arg1)->RecalcSizes();
35740
35741 wxPyEndAllowThreads(__tstate);
35742 if (PyErr_Occurred()) SWIG_fail;
35743 }
35744 Py_INCREF(Py_None); resultobj = Py_None;
35745 return resultobj;
35746 fail:
35747 return NULL;
35748}
35749
35750
35751static PyObject *_wrap_StaticBoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
35752 PyObject *resultobj;
35753 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
35754 wxSize result;
35755 PyObject * obj0 = 0 ;
35756 char *kwnames[] = {
35757 (char *) "self", NULL
35758 };
35759
35760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_CalcMin",kwnames,&obj0)) goto fail;
35761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
35762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35763 {
35764 PyThreadState* __tstate = wxPyBeginAllowThreads();
35765 result = (arg1)->CalcMin();
35766
35767 wxPyEndAllowThreads(__tstate);
35768 if (PyErr_Occurred()) SWIG_fail;
35769 }
35770 {
35771 wxSize * resultptr;
35772 resultptr = new wxSize((wxSize &) result);
35773 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
35774 }
35775 return resultobj;
35776 fail:
35777 return NULL;
35778}
35779
35780
35781static PyObject * StaticBoxSizer_swigregister(PyObject *self, PyObject *args) {
35782 PyObject *obj;
35783 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35784 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
35785 Py_INCREF(obj);
35786 return Py_BuildValue((char *)"");
35787}
35788static PyObject *_wrap_new_GridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35789 PyObject *resultobj;
35790 int arg1 = (int) 1 ;
35791 int arg2 = (int) 0 ;
35792 int arg3 = (int) 0 ;
35793 int arg4 = (int) 0 ;
35794 wxGridSizer *result;
35795 PyObject * obj0 = 0 ;
35796 PyObject * obj1 = 0 ;
35797 PyObject * obj2 = 0 ;
35798 PyObject * obj3 = 0 ;
35799 char *kwnames[] = {
35800 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35801 };
35802
35803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_GridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
35804 if (obj0) {
35805 arg1 = (int) SWIG_AsInt(obj0);
35806 if (PyErr_Occurred()) SWIG_fail;
35807 }
35808 if (obj1) {
35809 arg2 = (int) SWIG_AsInt(obj1);
35810 if (PyErr_Occurred()) SWIG_fail;
35811 }
35812 if (obj2) {
35813 arg3 = (int) SWIG_AsInt(obj2);
35814 if (PyErr_Occurred()) SWIG_fail;
35815 }
35816 if (obj3) {
35817 arg4 = (int) SWIG_AsInt(obj3);
35818 if (PyErr_Occurred()) SWIG_fail;
35819 }
35820 {
35821 PyThreadState* __tstate = wxPyBeginAllowThreads();
35822 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
35823
35824 wxPyEndAllowThreads(__tstate);
35825 if (PyErr_Occurred()) SWIG_fail;
35826 }
35827 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizer, 1);
35828 return resultobj;
35829 fail:
35830 return NULL;
35831}
35832
35833
35834static PyObject *_wrap_GridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
35835 PyObject *resultobj;
35836 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35837 PyObject * obj0 = 0 ;
35838 char *kwnames[] = {
35839 (char *) "self", NULL
35840 };
35841
35842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
35843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35845 {
35846 PyThreadState* __tstate = wxPyBeginAllowThreads();
35847 (arg1)->RecalcSizes();
35848
35849 wxPyEndAllowThreads(__tstate);
35850 if (PyErr_Occurred()) SWIG_fail;
35851 }
35852 Py_INCREF(Py_None); resultobj = Py_None;
35853 return resultobj;
35854 fail:
35855 return NULL;
35856}
35857
35858
35859static PyObject *_wrap_GridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
35860 PyObject *resultobj;
35861 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35862 wxSize result;
35863 PyObject * obj0 = 0 ;
35864 char *kwnames[] = {
35865 (char *) "self", NULL
35866 };
35867
35868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_CalcMin",kwnames,&obj0)) goto fail;
35869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35871 {
35872 PyThreadState* __tstate = wxPyBeginAllowThreads();
35873 result = (arg1)->CalcMin();
35874
35875 wxPyEndAllowThreads(__tstate);
35876 if (PyErr_Occurred()) SWIG_fail;
35877 }
35878 {
35879 wxSize * resultptr;
35880 resultptr = new wxSize((wxSize &) result);
35881 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
35882 }
35883 return resultobj;
35884 fail:
35885 return NULL;
35886}
35887
35888
35889static PyObject *_wrap_GridSizer_SetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
35890 PyObject *resultobj;
35891 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35892 int arg2 ;
35893 PyObject * obj0 = 0 ;
35894 PyObject * obj1 = 0 ;
35895 char *kwnames[] = {
35896 (char *) "self",(char *) "cols", NULL
35897 };
35898
35899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetCols",kwnames,&obj0,&obj1)) goto fail;
35900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35902 arg2 = (int) SWIG_AsInt(obj1);
35903 if (PyErr_Occurred()) SWIG_fail;
35904 {
35905 PyThreadState* __tstate = wxPyBeginAllowThreads();
35906 (arg1)->SetCols(arg2);
35907
35908 wxPyEndAllowThreads(__tstate);
35909 if (PyErr_Occurred()) SWIG_fail;
35910 }
35911 Py_INCREF(Py_None); resultobj = Py_None;
35912 return resultobj;
35913 fail:
35914 return NULL;
35915}
35916
35917
35918static PyObject *_wrap_GridSizer_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
35919 PyObject *resultobj;
35920 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35921 int arg2 ;
35922 PyObject * obj0 = 0 ;
35923 PyObject * obj1 = 0 ;
35924 char *kwnames[] = {
35925 (char *) "self",(char *) "rows", NULL
35926 };
35927
35928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetRows",kwnames,&obj0,&obj1)) goto fail;
35929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35931 arg2 = (int) SWIG_AsInt(obj1);
35932 if (PyErr_Occurred()) SWIG_fail;
35933 {
35934 PyThreadState* __tstate = wxPyBeginAllowThreads();
35935 (arg1)->SetRows(arg2);
35936
35937 wxPyEndAllowThreads(__tstate);
35938 if (PyErr_Occurred()) SWIG_fail;
35939 }
35940 Py_INCREF(Py_None); resultobj = Py_None;
35941 return resultobj;
35942 fail:
35943 return NULL;
35944}
35945
35946
35947static PyObject *_wrap_GridSizer_SetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
35948 PyObject *resultobj;
35949 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35950 int arg2 ;
35951 PyObject * obj0 = 0 ;
35952 PyObject * obj1 = 0 ;
35953 char *kwnames[] = {
35954 (char *) "self",(char *) "gap", NULL
35955 };
35956
35957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetVGap",kwnames,&obj0,&obj1)) goto fail;
35958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35960 arg2 = (int) SWIG_AsInt(obj1);
35961 if (PyErr_Occurred()) SWIG_fail;
35962 {
35963 PyThreadState* __tstate = wxPyBeginAllowThreads();
35964 (arg1)->SetVGap(arg2);
35965
35966 wxPyEndAllowThreads(__tstate);
35967 if (PyErr_Occurred()) SWIG_fail;
35968 }
35969 Py_INCREF(Py_None); resultobj = Py_None;
35970 return resultobj;
35971 fail:
35972 return NULL;
35973}
35974
35975
35976static PyObject *_wrap_GridSizer_SetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
35977 PyObject *resultobj;
35978 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35979 int arg2 ;
35980 PyObject * obj0 = 0 ;
35981 PyObject * obj1 = 0 ;
35982 char *kwnames[] = {
35983 (char *) "self",(char *) "gap", NULL
35984 };
35985
35986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetHGap",kwnames,&obj0,&obj1)) goto fail;
35987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35989 arg2 = (int) SWIG_AsInt(obj1);
35990 if (PyErr_Occurred()) SWIG_fail;
35991 {
35992 PyThreadState* __tstate = wxPyBeginAllowThreads();
35993 (arg1)->SetHGap(arg2);
35994
35995 wxPyEndAllowThreads(__tstate);
35996 if (PyErr_Occurred()) SWIG_fail;
35997 }
35998 Py_INCREF(Py_None); resultobj = Py_None;
35999 return resultobj;
36000 fail:
36001 return NULL;
36002}
36003
36004
36005static PyObject *_wrap_GridSizer_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
36006 PyObject *resultobj;
36007 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36008 int result;
36009 PyObject * obj0 = 0 ;
36010 char *kwnames[] = {
36011 (char *) "self", NULL
36012 };
36013
36014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
36015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36017 {
36018 PyThreadState* __tstate = wxPyBeginAllowThreads();
36019 result = (int)(arg1)->GetCols();
36020
36021 wxPyEndAllowThreads(__tstate);
36022 if (PyErr_Occurred()) SWIG_fail;
36023 }
36024 resultobj = SWIG_FromInt((int)result);
36025 return resultobj;
36026 fail:
36027 return NULL;
36028}
36029
36030
36031static PyObject *_wrap_GridSizer_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
36032 PyObject *resultobj;
36033 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36034 int result;
36035 PyObject * obj0 = 0 ;
36036 char *kwnames[] = {
36037 (char *) "self", NULL
36038 };
36039
36040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
36041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36043 {
36044 PyThreadState* __tstate = wxPyBeginAllowThreads();
36045 result = (int)(arg1)->GetRows();
36046
36047 wxPyEndAllowThreads(__tstate);
36048 if (PyErr_Occurred()) SWIG_fail;
36049 }
36050 resultobj = SWIG_FromInt((int)result);
36051 return resultobj;
36052 fail:
36053 return NULL;
36054}
36055
36056
36057static PyObject *_wrap_GridSizer_GetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36058 PyObject *resultobj;
36059 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36060 int result;
36061 PyObject * obj0 = 0 ;
36062 char *kwnames[] = {
36063 (char *) "self", NULL
36064 };
36065
36066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
36067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36069 {
36070 PyThreadState* __tstate = wxPyBeginAllowThreads();
36071 result = (int)(arg1)->GetVGap();
36072
36073 wxPyEndAllowThreads(__tstate);
36074 if (PyErr_Occurred()) SWIG_fail;
36075 }
36076 resultobj = SWIG_FromInt((int)result);
36077 return resultobj;
36078 fail:
36079 return NULL;
36080}
36081
36082
36083static PyObject *_wrap_GridSizer_GetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36084 PyObject *resultobj;
36085 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36086 int result;
36087 PyObject * obj0 = 0 ;
36088 char *kwnames[] = {
36089 (char *) "self", NULL
36090 };
36091
36092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
36093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36095 {
36096 PyThreadState* __tstate = wxPyBeginAllowThreads();
36097 result = (int)(arg1)->GetHGap();
36098
36099 wxPyEndAllowThreads(__tstate);
36100 if (PyErr_Occurred()) SWIG_fail;
36101 }
36102 resultobj = SWIG_FromInt((int)result);
36103 return resultobj;
36104 fail:
36105 return NULL;
36106}
36107
36108
36109static PyObject * GridSizer_swigregister(PyObject *self, PyObject *args) {
36110 PyObject *obj;
36111 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36112 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
36113 Py_INCREF(obj);
36114 return Py_BuildValue((char *)"");
36115}
36116static PyObject *_wrap_new_FlexGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
36117 PyObject *resultobj;
36118 int arg1 = (int) 1 ;
36119 int arg2 = (int) 0 ;
36120 int arg3 = (int) 0 ;
36121 int arg4 = (int) 0 ;
36122 wxFlexGridSizer *result;
36123 PyObject * obj0 = 0 ;
36124 PyObject * obj1 = 0 ;
36125 PyObject * obj2 = 0 ;
36126 PyObject * obj3 = 0 ;
36127 char *kwnames[] = {
36128 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36129 };
36130
36131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_FlexGridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36132 if (obj0) {
36133 arg1 = (int) SWIG_AsInt(obj0);
36134 if (PyErr_Occurred()) SWIG_fail;
36135 }
36136 if (obj1) {
36137 arg2 = (int) SWIG_AsInt(obj1);
36138 if (PyErr_Occurred()) SWIG_fail;
36139 }
36140 if (obj2) {
36141 arg3 = (int) SWIG_AsInt(obj2);
36142 if (PyErr_Occurred()) SWIG_fail;
36143 }
36144 if (obj3) {
36145 arg4 = (int) SWIG_AsInt(obj3);
36146 if (PyErr_Occurred()) SWIG_fail;
36147 }
36148 {
36149 PyThreadState* __tstate = wxPyBeginAllowThreads();
36150 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
36151
36152 wxPyEndAllowThreads(__tstate);
36153 if (PyErr_Occurred()) SWIG_fail;
36154 }
36155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFlexGridSizer, 1);
36156 return resultobj;
36157 fail:
36158 return NULL;
36159}
36160
36161
36162static PyObject *_wrap_FlexGridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
36163 PyObject *resultobj;
36164 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36165 PyObject * obj0 = 0 ;
36166 char *kwnames[] = {
36167 (char *) "self", NULL
36168 };
36169
36170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
36171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36173 {
36174 PyThreadState* __tstate = wxPyBeginAllowThreads();
36175 (arg1)->RecalcSizes();
36176
36177 wxPyEndAllowThreads(__tstate);
36178 if (PyErr_Occurred()) SWIG_fail;
36179 }
36180 Py_INCREF(Py_None); resultobj = Py_None;
36181 return resultobj;
36182 fail:
36183 return NULL;
36184}
36185
36186
36187static PyObject *_wrap_FlexGridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
36188 PyObject *resultobj;
36189 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36190 wxSize result;
36191 PyObject * obj0 = 0 ;
36192 char *kwnames[] = {
36193 (char *) "self", NULL
36194 };
36195
36196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_CalcMin",kwnames,&obj0)) goto fail;
36197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36199 {
36200 PyThreadState* __tstate = wxPyBeginAllowThreads();
36201 result = (arg1)->CalcMin();
36202
36203 wxPyEndAllowThreads(__tstate);
36204 if (PyErr_Occurred()) SWIG_fail;
36205 }
36206 {
36207 wxSize * resultptr;
36208 resultptr = new wxSize((wxSize &) result);
36209 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
36210 }
36211 return resultobj;
36212 fail:
36213 return NULL;
36214}
36215
36216
36217static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36218 PyObject *resultobj;
36219 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36220 size_t arg2 ;
36221 int arg3 = (int) 0 ;
36222 PyObject * obj0 = 0 ;
36223 PyObject * obj1 = 0 ;
36224 PyObject * obj2 = 0 ;
36225 char *kwnames[] = {
36226 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36227 };
36228
36229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
36230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36232 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36233 if (PyErr_Occurred()) SWIG_fail;
36234 if (obj2) {
36235 arg3 = (int) SWIG_AsInt(obj2);
36236 if (PyErr_Occurred()) SWIG_fail;
36237 }
36238 {
36239 PyThreadState* __tstate = wxPyBeginAllowThreads();
36240 (arg1)->AddGrowableRow(arg2,arg3);
36241
36242 wxPyEndAllowThreads(__tstate);
36243 if (PyErr_Occurred()) SWIG_fail;
36244 }
36245 Py_INCREF(Py_None); resultobj = Py_None;
36246 return resultobj;
36247 fail:
36248 return NULL;
36249}
36250
36251
36252static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36253 PyObject *resultobj;
36254 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36255 size_t arg2 ;
36256 PyObject * obj0 = 0 ;
36257 PyObject * obj1 = 0 ;
36258 char *kwnames[] = {
36259 (char *) "self",(char *) "idx", NULL
36260 };
36261
36262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
36263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36265 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36266 if (PyErr_Occurred()) SWIG_fail;
36267 {
36268 PyThreadState* __tstate = wxPyBeginAllowThreads();
36269 (arg1)->RemoveGrowableRow(arg2);
36270
36271 wxPyEndAllowThreads(__tstate);
36272 if (PyErr_Occurred()) SWIG_fail;
36273 }
36274 Py_INCREF(Py_None); resultobj = Py_None;
36275 return resultobj;
36276 fail:
36277 return NULL;
36278}
36279
36280
36281static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36282 PyObject *resultobj;
36283 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36284 size_t arg2 ;
36285 int arg3 = (int) 0 ;
36286 PyObject * obj0 = 0 ;
36287 PyObject * obj1 = 0 ;
36288 PyObject * obj2 = 0 ;
36289 char *kwnames[] = {
36290 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36291 };
36292
36293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
36294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36296 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36297 if (PyErr_Occurred()) SWIG_fail;
36298 if (obj2) {
36299 arg3 = (int) SWIG_AsInt(obj2);
36300 if (PyErr_Occurred()) SWIG_fail;
36301 }
36302 {
36303 PyThreadState* __tstate = wxPyBeginAllowThreads();
36304 (arg1)->AddGrowableCol(arg2,arg3);
36305
36306 wxPyEndAllowThreads(__tstate);
36307 if (PyErr_Occurred()) SWIG_fail;
36308 }
36309 Py_INCREF(Py_None); resultobj = Py_None;
36310 return resultobj;
36311 fail:
36312 return NULL;
36313}
36314
36315
36316static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36317 PyObject *resultobj;
36318 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36319 size_t arg2 ;
36320 PyObject * obj0 = 0 ;
36321 PyObject * obj1 = 0 ;
36322 char *kwnames[] = {
36323 (char *) "self",(char *) "idx", NULL
36324 };
36325
36326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
36327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36329 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36330 if (PyErr_Occurred()) SWIG_fail;
36331 {
36332 PyThreadState* __tstate = wxPyBeginAllowThreads();
36333 (arg1)->RemoveGrowableCol(arg2);
36334
36335 wxPyEndAllowThreads(__tstate);
36336 if (PyErr_Occurred()) SWIG_fail;
36337 }
36338 Py_INCREF(Py_None); resultobj = Py_None;
36339 return resultobj;
36340 fail:
36341 return NULL;
36342}
36343
36344
36345static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
36346 PyObject *resultobj;
36347 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36348 int arg2 ;
36349 PyObject * obj0 = 0 ;
36350 PyObject * obj1 = 0 ;
36351 char *kwnames[] = {
36352 (char *) "self",(char *) "direction", NULL
36353 };
36354
36355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&obj1)) goto fail;
36356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36358 arg2 = (int) SWIG_AsInt(obj1);
36359 if (PyErr_Occurred()) SWIG_fail;
36360 {
36361 PyThreadState* __tstate = wxPyBeginAllowThreads();
36362 (arg1)->SetFlexibleDirection(arg2);
36363
36364 wxPyEndAllowThreads(__tstate);
36365 if (PyErr_Occurred()) SWIG_fail;
36366 }
36367 Py_INCREF(Py_None); resultobj = Py_None;
36368 return resultobj;
36369 fail:
36370 return NULL;
36371}
36372
36373
36374static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
36375 PyObject *resultobj;
36376 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36377 int result;
36378 PyObject * obj0 = 0 ;
36379 char *kwnames[] = {
36380 (char *) "self", NULL
36381 };
36382
36383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
36384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36386 {
36387 PyThreadState* __tstate = wxPyBeginAllowThreads();
36388 result = (int)(arg1)->GetFlexibleDirection();
36389
36390 wxPyEndAllowThreads(__tstate);
36391 if (PyErr_Occurred()) SWIG_fail;
36392 }
36393 resultobj = SWIG_FromInt((int)result);
36394 return resultobj;
36395 fail:
36396 return NULL;
36397}
36398
36399
36400static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
36401 PyObject *resultobj;
36402 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36403 int arg2 ;
36404 PyObject * obj0 = 0 ;
36405 PyObject * obj1 = 0 ;
36406 char *kwnames[] = {
36407 (char *) "self",(char *) "mode", NULL
36408 };
36409
36410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&obj1)) goto fail;
36411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36413 arg2 = (wxFlexSizerGrowMode) SWIG_AsInt(obj1);
36414 if (PyErr_Occurred()) SWIG_fail;
36415 {
36416 PyThreadState* __tstate = wxPyBeginAllowThreads();
36417 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
36418
36419 wxPyEndAllowThreads(__tstate);
36420 if (PyErr_Occurred()) SWIG_fail;
36421 }
36422 Py_INCREF(Py_None); resultobj = Py_None;
36423 return resultobj;
36424 fail:
36425 return NULL;
36426}
36427
36428
36429static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
36430 PyObject *resultobj;
36431 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36432 int result;
36433 PyObject * obj0 = 0 ;
36434 char *kwnames[] = {
36435 (char *) "self", NULL
36436 };
36437
36438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
36439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36441 {
36442 PyThreadState* __tstate = wxPyBeginAllowThreads();
36443 result = (int)(arg1)->GetNonFlexibleGrowMode();
36444
36445 wxPyEndAllowThreads(__tstate);
36446 if (PyErr_Occurred()) SWIG_fail;
36447 }
36448 resultobj = SWIG_FromInt((int)result);
36449 return resultobj;
36450 fail:
36451 return NULL;
36452}
36453
36454
36455static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *self, PyObject *args, PyObject *kwargs) {
36456 PyObject *resultobj;
36457 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36458 wxArrayInt *result;
36459 PyObject * obj0 = 0 ;
36460 char *kwnames[] = {
36461 (char *) "self", NULL
36462 };
36463
36464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
36465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36467 {
36468 PyThreadState* __tstate = wxPyBeginAllowThreads();
36469 {
36470 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
36471 result = (wxArrayInt *) &_result_ref;
36472 }
36473
36474 wxPyEndAllowThreads(__tstate);
36475 if (PyErr_Occurred()) SWIG_fail;
36476 }
36477 {
36478 resultobj = PyList_New(0);
36479 size_t idx;
36480 for (idx = 0; idx < result->GetCount(); idx += 1) {
36481 PyObject* val = PyInt_FromLong( result->Item(idx) );
36482 PyList_Append(resultobj, val);
36483 Py_DECREF(val);
36484 }
36485 }
36486 return resultobj;
36487 fail:
36488 return NULL;
36489}
36490
36491
36492static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
36493 PyObject *resultobj;
36494 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36495 wxArrayInt *result;
36496 PyObject * obj0 = 0 ;
36497 char *kwnames[] = {
36498 (char *) "self", NULL
36499 };
36500
36501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
36502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36504 {
36505 PyThreadState* __tstate = wxPyBeginAllowThreads();
36506 {
36507 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
36508 result = (wxArrayInt *) &_result_ref;
36509 }
36510
36511 wxPyEndAllowThreads(__tstate);
36512 if (PyErr_Occurred()) SWIG_fail;
36513 }
36514 {
36515 resultobj = PyList_New(0);
36516 size_t idx;
36517 for (idx = 0; idx < result->GetCount(); idx += 1) {
36518 PyObject* val = PyInt_FromLong( result->Item(idx) );
36519 PyList_Append(resultobj, val);
36520 Py_DECREF(val);
36521 }
36522 }
36523 return resultobj;
36524 fail:
36525 return NULL;
36526}
36527
36528
36529static PyObject * FlexGridSizer_swigregister(PyObject *self, PyObject *args) {
36530 PyObject *obj;
36531 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36532 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
36533 Py_INCREF(obj);
36534 return Py_BuildValue((char *)"");
36535}
36536static PyObject *_wrap_new_GBPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
36537 PyObject *resultobj;
36538 int arg1 = (int) 0 ;
36539 int arg2 = (int) 0 ;
36540 wxGBPosition *result;
36541 PyObject * obj0 = 0 ;
36542 PyObject * obj1 = 0 ;
36543 char *kwnames[] = {
36544 (char *) "row",(char *) "col", NULL
36545 };
36546
36547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBPosition",kwnames,&obj0,&obj1)) goto fail;
36548 if (obj0) {
36549 arg1 = (int) SWIG_AsInt(obj0);
36550 if (PyErr_Occurred()) SWIG_fail;
36551 }
36552 if (obj1) {
36553 arg2 = (int) SWIG_AsInt(obj1);
36554 if (PyErr_Occurred()) SWIG_fail;
36555 }
36556 {
36557 PyThreadState* __tstate = wxPyBeginAllowThreads();
36558 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
36559
36560 wxPyEndAllowThreads(__tstate);
36561 if (PyErr_Occurred()) SWIG_fail;
36562 }
36563 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBPosition, 1);
36564 return resultobj;
36565 fail:
36566 return NULL;
36567}
36568
36569
36570static PyObject *_wrap_GBPosition_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36571 PyObject *resultobj;
36572 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36573 int result;
36574 PyObject * obj0 = 0 ;
36575 char *kwnames[] = {
36576 (char *) "self", NULL
36577 };
36578
36579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
36580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36582 {
36583 PyThreadState* __tstate = wxPyBeginAllowThreads();
36584 result = (int)((wxGBPosition const *)arg1)->GetRow();
36585
36586 wxPyEndAllowThreads(__tstate);
36587 if (PyErr_Occurred()) SWIG_fail;
36588 }
36589 resultobj = SWIG_FromInt((int)result);
36590 return resultobj;
36591 fail:
36592 return NULL;
36593}
36594
36595
36596static PyObject *_wrap_GBPosition_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36597 PyObject *resultobj;
36598 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36599 int result;
36600 PyObject * obj0 = 0 ;
36601 char *kwnames[] = {
36602 (char *) "self", NULL
36603 };
36604
36605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
36606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36608 {
36609 PyThreadState* __tstate = wxPyBeginAllowThreads();
36610 result = (int)((wxGBPosition const *)arg1)->GetCol();
36611
36612 wxPyEndAllowThreads(__tstate);
36613 if (PyErr_Occurred()) SWIG_fail;
36614 }
36615 resultobj = SWIG_FromInt((int)result);
36616 return resultobj;
36617 fail:
36618 return NULL;
36619}
36620
36621
36622static PyObject *_wrap_GBPosition_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36623 PyObject *resultobj;
36624 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36625 int arg2 ;
36626 PyObject * obj0 = 0 ;
36627 PyObject * obj1 = 0 ;
36628 char *kwnames[] = {
36629 (char *) "self",(char *) "row", NULL
36630 };
36631
36632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetRow",kwnames,&obj0,&obj1)) goto fail;
36633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36635 arg2 = (int) SWIG_AsInt(obj1);
36636 if (PyErr_Occurred()) SWIG_fail;
36637 {
36638 PyThreadState* __tstate = wxPyBeginAllowThreads();
36639 (arg1)->SetRow(arg2);
36640
36641 wxPyEndAllowThreads(__tstate);
36642 if (PyErr_Occurred()) SWIG_fail;
36643 }
36644 Py_INCREF(Py_None); resultobj = Py_None;
36645 return resultobj;
36646 fail:
36647 return NULL;
36648}
36649
36650
36651static PyObject *_wrap_GBPosition_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36652 PyObject *resultobj;
36653 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36654 int arg2 ;
36655 PyObject * obj0 = 0 ;
36656 PyObject * obj1 = 0 ;
36657 char *kwnames[] = {
36658 (char *) "self",(char *) "col", NULL
36659 };
36660
36661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetCol",kwnames,&obj0,&obj1)) goto fail;
36662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36664 arg2 = (int) SWIG_AsInt(obj1);
36665 if (PyErr_Occurred()) SWIG_fail;
36666 {
36667 PyThreadState* __tstate = wxPyBeginAllowThreads();
36668 (arg1)->SetCol(arg2);
36669
36670 wxPyEndAllowThreads(__tstate);
36671 if (PyErr_Occurred()) SWIG_fail;
36672 }
36673 Py_INCREF(Py_None); resultobj = Py_None;
36674 return resultobj;
36675 fail:
36676 return NULL;
36677}
36678
36679
36680static PyObject *_wrap_GBPosition___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
36681 PyObject *resultobj;
36682 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36683 wxGBPosition *arg2 = 0 ;
36684 bool result;
36685 wxGBPosition temp2 ;
36686 PyObject * obj0 = 0 ;
36687 PyObject * obj1 = 0 ;
36688 char *kwnames[] = {
36689 (char *) "self",(char *) "other", NULL
36690 };
36691
36692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
36693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36695 {
36696 arg2 = &temp2;
36697 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36698 }
36699 {
36700 PyThreadState* __tstate = wxPyBeginAllowThreads();
36701 result = (bool)(arg1)->operator ==((wxGBPosition const &)*arg2);
36702
36703 wxPyEndAllowThreads(__tstate);
36704 if (PyErr_Occurred()) SWIG_fail;
36705 }
36706 {
36707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36708 }
36709 return resultobj;
36710 fail:
36711 return NULL;
36712}
36713
36714
36715static PyObject *_wrap_GBPosition___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
36716 PyObject *resultobj;
36717 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36718 wxGBPosition *arg2 = 0 ;
36719 bool result;
36720 wxGBPosition temp2 ;
36721 PyObject * obj0 = 0 ;
36722 PyObject * obj1 = 0 ;
36723 char *kwnames[] = {
36724 (char *) "self",(char *) "other", NULL
36725 };
36726
36727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
36728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36730 {
36731 arg2 = &temp2;
36732 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36733 }
36734 {
36735 PyThreadState* __tstate = wxPyBeginAllowThreads();
36736 result = (bool)(arg1)->operator !=((wxGBPosition const &)*arg2);
36737
36738 wxPyEndAllowThreads(__tstate);
36739 if (PyErr_Occurred()) SWIG_fail;
36740 }
36741 {
36742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36743 }
36744 return resultobj;
36745 fail:
36746 return NULL;
36747}
36748
36749
36750static PyObject *_wrap_GBPosition_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
36751 PyObject *resultobj;
36752 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36753 int arg2 = (int) 0 ;
36754 int arg3 = (int) 0 ;
36755 PyObject * obj0 = 0 ;
36756 PyObject * obj1 = 0 ;
36757 PyObject * obj2 = 0 ;
36758 char *kwnames[] = {
36759 (char *) "self",(char *) "row",(char *) "col", NULL
36760 };
36761
36762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBPosition_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
36763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36765 if (obj1) {
36766 arg2 = (int) SWIG_AsInt(obj1);
36767 if (PyErr_Occurred()) SWIG_fail;
36768 }
36769 if (obj2) {
36770 arg3 = (int) SWIG_AsInt(obj2);
36771 if (PyErr_Occurred()) SWIG_fail;
36772 }
36773 {
36774 PyThreadState* __tstate = wxPyBeginAllowThreads();
36775 wxGBPosition_Set(arg1,arg2,arg3);
36776
36777 wxPyEndAllowThreads(__tstate);
36778 if (PyErr_Occurred()) SWIG_fail;
36779 }
36780 Py_INCREF(Py_None); resultobj = Py_None;
36781 return resultobj;
36782 fail:
36783 return NULL;
36784}
36785
36786
36787static PyObject *_wrap_GBPosition_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
36788 PyObject *resultobj;
36789 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36790 PyObject *result;
36791 PyObject * obj0 = 0 ;
36792 char *kwnames[] = {
36793 (char *) "self", NULL
36794 };
36795
36796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
36797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36799 {
36800 PyThreadState* __tstate = wxPyBeginAllowThreads();
36801 result = (PyObject *)wxGBPosition_Get(arg1);
36802
36803 wxPyEndAllowThreads(__tstate);
36804 if (PyErr_Occurred()) SWIG_fail;
36805 }
36806 resultobj = result;
36807 return resultobj;
36808 fail:
36809 return NULL;
36810}
36811
36812
36813static PyObject * GBPosition_swigregister(PyObject *self, PyObject *args) {
36814 PyObject *obj;
36815 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36816 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
36817 Py_INCREF(obj);
36818 return Py_BuildValue((char *)"");
36819}
36820static PyObject *_wrap_new_GBSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
36821 PyObject *resultobj;
36822 int arg1 = (int) 1 ;
36823 int arg2 = (int) 1 ;
36824 wxGBSpan *result;
36825 PyObject * obj0 = 0 ;
36826 PyObject * obj1 = 0 ;
36827 char *kwnames[] = {
36828 (char *) "rowspan",(char *) "colspan", NULL
36829 };
36830
36831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBSpan",kwnames,&obj0,&obj1)) goto fail;
36832 if (obj0) {
36833 arg1 = (int) SWIG_AsInt(obj0);
36834 if (PyErr_Occurred()) SWIG_fail;
36835 }
36836 if (obj1) {
36837 arg2 = (int) SWIG_AsInt(obj1);
36838 if (PyErr_Occurred()) SWIG_fail;
36839 }
36840 {
36841 PyThreadState* __tstate = wxPyBeginAllowThreads();
36842 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
36843
36844 wxPyEndAllowThreads(__tstate);
36845 if (PyErr_Occurred()) SWIG_fail;
36846 }
36847 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSpan, 1);
36848 return resultobj;
36849 fail:
36850 return NULL;
36851}
36852
36853
36854static PyObject *_wrap_GBSpan_GetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36855 PyObject *resultobj;
36856 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36857 int result;
36858 PyObject * obj0 = 0 ;
36859 char *kwnames[] = {
36860 (char *) "self", NULL
36861 };
36862
36863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
36864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36866 {
36867 PyThreadState* __tstate = wxPyBeginAllowThreads();
36868 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
36869
36870 wxPyEndAllowThreads(__tstate);
36871 if (PyErr_Occurred()) SWIG_fail;
36872 }
36873 resultobj = SWIG_FromInt((int)result);
36874 return resultobj;
36875 fail:
36876 return NULL;
36877}
36878
36879
36880static PyObject *_wrap_GBSpan_GetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36881 PyObject *resultobj;
36882 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36883 int result;
36884 PyObject * obj0 = 0 ;
36885 char *kwnames[] = {
36886 (char *) "self", NULL
36887 };
36888
36889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
36890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36892 {
36893 PyThreadState* __tstate = wxPyBeginAllowThreads();
36894 result = (int)((wxGBSpan const *)arg1)->GetColspan();
36895
36896 wxPyEndAllowThreads(__tstate);
36897 if (PyErr_Occurred()) SWIG_fail;
36898 }
36899 resultobj = SWIG_FromInt((int)result);
36900 return resultobj;
36901 fail:
36902 return NULL;
36903}
36904
36905
36906static PyObject *_wrap_GBSpan_SetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36907 PyObject *resultobj;
36908 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36909 int arg2 ;
36910 PyObject * obj0 = 0 ;
36911 PyObject * obj1 = 0 ;
36912 char *kwnames[] = {
36913 (char *) "self",(char *) "rowspan", NULL
36914 };
36915
36916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetRowspan",kwnames,&obj0,&obj1)) goto fail;
36917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36919 arg2 = (int) SWIG_AsInt(obj1);
36920 if (PyErr_Occurred()) SWIG_fail;
36921 {
36922 PyThreadState* __tstate = wxPyBeginAllowThreads();
36923 (arg1)->SetRowspan(arg2);
36924
36925 wxPyEndAllowThreads(__tstate);
36926 if (PyErr_Occurred()) SWIG_fail;
36927 }
36928 Py_INCREF(Py_None); resultobj = Py_None;
36929 return resultobj;
36930 fail:
36931 return NULL;
36932}
36933
36934
36935static PyObject *_wrap_GBSpan_SetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36936 PyObject *resultobj;
36937 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36938 int arg2 ;
36939 PyObject * obj0 = 0 ;
36940 PyObject * obj1 = 0 ;
36941 char *kwnames[] = {
36942 (char *) "self",(char *) "colspan", NULL
36943 };
36944
36945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetColspan",kwnames,&obj0,&obj1)) goto fail;
36946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36948 arg2 = (int) SWIG_AsInt(obj1);
36949 if (PyErr_Occurred()) SWIG_fail;
36950 {
36951 PyThreadState* __tstate = wxPyBeginAllowThreads();
36952 (arg1)->SetColspan(arg2);
36953
36954 wxPyEndAllowThreads(__tstate);
36955 if (PyErr_Occurred()) SWIG_fail;
36956 }
36957 Py_INCREF(Py_None); resultobj = Py_None;
36958 return resultobj;
36959 fail:
36960 return NULL;
36961}
36962
36963
36964static PyObject *_wrap_GBSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
36965 PyObject *resultobj;
36966 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36967 wxGBSpan *arg2 = 0 ;
36968 bool result;
36969 wxGBSpan temp2 ;
36970 PyObject * obj0 = 0 ;
36971 PyObject * obj1 = 0 ;
36972 char *kwnames[] = {
36973 (char *) "self",(char *) "other", NULL
36974 };
36975
36976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
36977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36979 {
36980 arg2 = &temp2;
36981 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
36982 }
36983 {
36984 PyThreadState* __tstate = wxPyBeginAllowThreads();
36985 result = (bool)(arg1)->operator ==((wxGBSpan const &)*arg2);
36986
36987 wxPyEndAllowThreads(__tstate);
36988 if (PyErr_Occurred()) SWIG_fail;
36989 }
36990 {
36991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36992 }
36993 return resultobj;
36994 fail:
36995 return NULL;
36996}
36997
36998
36999static PyObject *_wrap_GBSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
37000 PyObject *resultobj;
37001 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37002 wxGBSpan *arg2 = 0 ;
37003 bool result;
37004 wxGBSpan temp2 ;
37005 PyObject * obj0 = 0 ;
37006 PyObject * obj1 = 0 ;
37007 char *kwnames[] = {
37008 (char *) "self",(char *) "other", NULL
37009 };
37010
37011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
37012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37014 {
37015 arg2 = &temp2;
37016 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
37017 }
37018 {
37019 PyThreadState* __tstate = wxPyBeginAllowThreads();
37020 result = (bool)(arg1)->operator !=((wxGBSpan const &)*arg2);
37021
37022 wxPyEndAllowThreads(__tstate);
37023 if (PyErr_Occurred()) SWIG_fail;
37024 }
37025 {
37026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37027 }
37028 return resultobj;
37029 fail:
37030 return NULL;
37031}
37032
37033
37034static PyObject *_wrap_GBSpan_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
37035 PyObject *resultobj;
37036 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37037 int arg2 = (int) 1 ;
37038 int arg3 = (int) 1 ;
37039 PyObject * obj0 = 0 ;
37040 PyObject * obj1 = 0 ;
37041 PyObject * obj2 = 0 ;
37042 char *kwnames[] = {
37043 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37044 };
37045
37046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBSpan_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
37047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37049 if (obj1) {
37050 arg2 = (int) SWIG_AsInt(obj1);
37051 if (PyErr_Occurred()) SWIG_fail;
37052 }
37053 if (obj2) {
37054 arg3 = (int) SWIG_AsInt(obj2);
37055 if (PyErr_Occurred()) SWIG_fail;
37056 }
37057 {
37058 PyThreadState* __tstate = wxPyBeginAllowThreads();
37059 wxGBSpan_Set(arg1,arg2,arg3);
37060
37061 wxPyEndAllowThreads(__tstate);
37062 if (PyErr_Occurred()) SWIG_fail;
37063 }
37064 Py_INCREF(Py_None); resultobj = Py_None;
37065 return resultobj;
37066 fail:
37067 return NULL;
37068}
37069
37070
37071static PyObject *_wrap_GBSpan_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
37072 PyObject *resultobj;
37073 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37074 PyObject *result;
37075 PyObject * obj0 = 0 ;
37076 char *kwnames[] = {
37077 (char *) "self", NULL
37078 };
37079
37080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
37081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37083 {
37084 PyThreadState* __tstate = wxPyBeginAllowThreads();
37085 result = (PyObject *)wxGBSpan_Get(arg1);
37086
37087 wxPyEndAllowThreads(__tstate);
37088 if (PyErr_Occurred()) SWIG_fail;
37089 }
37090 resultobj = result;
37091 return resultobj;
37092 fail:
37093 return NULL;
37094}
37095
37096
37097static PyObject * GBSpan_swigregister(PyObject *self, PyObject *args) {
37098 PyObject *obj;
37099 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37100 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
37101 Py_INCREF(obj);
37102 return Py_BuildValue((char *)"");
37103}
37104static int _wrap_DefaultSpan_set(PyObject *_val) {
37105 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
37106 return 1;
37107}
37108
37109
37110static PyObject *_wrap_DefaultSpan_get() {
37111 PyObject *pyobj;
37112
37113 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSpan), SWIGTYPE_p_wxGBSpan, 0);
37114 return pyobj;
37115}
37116
37117
37118static PyObject *_wrap_new_GBSizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
37119 PyObject *resultobj;
37120 wxGBSizerItem *result;
37121 char *kwnames[] = {
37122 NULL
37123 };
37124
37125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
37126 {
37127 PyThreadState* __tstate = wxPyBeginAllowThreads();
37128 result = (wxGBSizerItem *)new wxGBSizerItem();
37129
37130 wxPyEndAllowThreads(__tstate);
37131 if (PyErr_Occurred()) SWIG_fail;
37132 }
37133 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
37134 return resultobj;
37135 fail:
37136 return NULL;
37137}
37138
37139
37140static PyObject *_wrap_new_GBSizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
37141 PyObject *resultobj;
37142 wxWindow *arg1 = (wxWindow *) 0 ;
37143 wxGBPosition *arg2 = 0 ;
37144 wxGBSpan *arg3 = 0 ;
37145 int arg4 ;
37146 int arg5 ;
37147 wxObject *arg6 = (wxObject *) 0 ;
37148 wxGBSizerItem *result;
37149 wxGBPosition temp2 ;
37150 wxGBSpan temp3 ;
37151 PyObject * obj0 = 0 ;
37152 PyObject * obj1 = 0 ;
37153 PyObject * obj2 = 0 ;
37154 PyObject * obj3 = 0 ;
37155 PyObject * obj4 = 0 ;
37156 PyObject * obj5 = 0 ;
37157 char *kwnames[] = {
37158 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37159 };
37160
37161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
37162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
37163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37164 {
37165 arg2 = &temp2;
37166 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37167 }
37168 {
37169 arg3 = &temp3;
37170 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37171 }
37172 arg4 = (int) SWIG_AsInt(obj3);
37173 if (PyErr_Occurred()) SWIG_fail;
37174 arg5 = (int) SWIG_AsInt(obj4);
37175 if (PyErr_Occurred()) SWIG_fail;
37176 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
37177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37178 {
37179 PyThreadState* __tstate = wxPyBeginAllowThreads();
37180 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
37181
37182 wxPyEndAllowThreads(__tstate);
37183 if (PyErr_Occurred()) SWIG_fail;
37184 }
37185 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
37186 return resultobj;
37187 fail:
37188 return NULL;
37189}
37190
37191
37192static PyObject *_wrap_new_GBSizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37193 PyObject *resultobj;
37194 wxSizer *arg1 = (wxSizer *) 0 ;
37195 wxGBPosition *arg2 = 0 ;
37196 wxGBSpan *arg3 = 0 ;
37197 int arg4 ;
37198 int arg5 ;
37199 wxObject *arg6 = (wxObject *) 0 ;
37200 wxGBSizerItem *result;
37201 wxGBPosition temp2 ;
37202 wxGBSpan temp3 ;
37203 PyObject * obj0 = 0 ;
37204 PyObject * obj1 = 0 ;
37205 PyObject * obj2 = 0 ;
37206 PyObject * obj3 = 0 ;
37207 PyObject * obj4 = 0 ;
37208 PyObject * obj5 = 0 ;
37209 char *kwnames[] = {
37210 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37211 };
37212
37213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
37214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
37215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37216 {
37217 arg2 = &temp2;
37218 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37219 }
37220 {
37221 arg3 = &temp3;
37222 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37223 }
37224 arg4 = (int) SWIG_AsInt(obj3);
37225 if (PyErr_Occurred()) SWIG_fail;
37226 arg5 = (int) SWIG_AsInt(obj4);
37227 if (PyErr_Occurred()) SWIG_fail;
37228 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
37229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37230 {
37231 PyThreadState* __tstate = wxPyBeginAllowThreads();
37232 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
37233
37234 wxPyEndAllowThreads(__tstate);
37235 if (PyErr_Occurred()) SWIG_fail;
37236 }
37237 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
37238 return resultobj;
37239 fail:
37240 return NULL;
37241}
37242
37243
37244static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
37245 PyObject *resultobj;
37246 int arg1 ;
37247 int arg2 ;
37248 wxGBPosition *arg3 = 0 ;
37249 wxGBSpan *arg4 = 0 ;
37250 int arg5 ;
37251 int arg6 ;
37252 wxObject *arg7 = (wxObject *) 0 ;
37253 wxGBSizerItem *result;
37254 wxGBPosition temp3 ;
37255 wxGBSpan temp4 ;
37256 PyObject * obj0 = 0 ;
37257 PyObject * obj1 = 0 ;
37258 PyObject * obj2 = 0 ;
37259 PyObject * obj3 = 0 ;
37260 PyObject * obj4 = 0 ;
37261 PyObject * obj5 = 0 ;
37262 PyObject * obj6 = 0 ;
37263 char *kwnames[] = {
37264 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37265 };
37266
37267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
37268 arg1 = (int) SWIG_AsInt(obj0);
37269 if (PyErr_Occurred()) SWIG_fail;
37270 arg2 = (int) SWIG_AsInt(obj1);
37271 if (PyErr_Occurred()) SWIG_fail;
37272 {
37273 arg3 = &temp3;
37274 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
37275 }
37276 {
37277 arg4 = &temp4;
37278 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
37279 }
37280 arg5 = (int) SWIG_AsInt(obj4);
37281 if (PyErr_Occurred()) SWIG_fail;
37282 arg6 = (int) SWIG_AsInt(obj5);
37283 if (PyErr_Occurred()) SWIG_fail;
37284 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxObject,
37285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37286 {
37287 PyThreadState* __tstate = wxPyBeginAllowThreads();
37288 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
37289
37290 wxPyEndAllowThreads(__tstate);
37291 if (PyErr_Occurred()) SWIG_fail;
37292 }
37293 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
37294 return resultobj;
37295 fail:
37296 return NULL;
37297}
37298
37299
37300static PyObject *_wrap_GBSizerItem_GetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
37301 PyObject *resultobj;
37302 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37303 wxGBPosition result;
37304 PyObject * obj0 = 0 ;
37305 char *kwnames[] = {
37306 (char *) "self", NULL
37307 };
37308
37309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
37310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37312 {
37313 PyThreadState* __tstate = wxPyBeginAllowThreads();
37314 result = ((wxGBSizerItem const *)arg1)->GetPos();
37315
37316 wxPyEndAllowThreads(__tstate);
37317 if (PyErr_Occurred()) SWIG_fail;
37318 }
37319 {
37320 wxGBPosition * resultptr;
37321 resultptr = new wxGBPosition((wxGBPosition &) result);
37322 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
37323 }
37324 return resultobj;
37325 fail:
37326 return NULL;
37327}
37328
37329
37330static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
37331 PyObject *resultobj;
37332 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37333 wxGBSpan result;
37334 PyObject * obj0 = 0 ;
37335 char *kwnames[] = {
37336 (char *) "self", NULL
37337 };
37338
37339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
37340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37342 {
37343 PyThreadState* __tstate = wxPyBeginAllowThreads();
37344 result = ((wxGBSizerItem const *)arg1)->GetSpan();
37345
37346 wxPyEndAllowThreads(__tstate);
37347 if (PyErr_Occurred()) SWIG_fail;
37348 }
37349 {
37350 wxGBSpan * resultptr;
37351 resultptr = new wxGBSpan((wxGBSpan &) result);
37352 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
37353 }
37354 return resultobj;
37355 fail:
37356 return NULL;
37357}
37358
37359
37360static PyObject *_wrap_GBSizerItem_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
37361 PyObject *resultobj;
37362 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37363 wxGBPosition *arg2 = 0 ;
37364 bool result;
37365 wxGBPosition temp2 ;
37366 PyObject * obj0 = 0 ;
37367 PyObject * obj1 = 0 ;
37368 char *kwnames[] = {
37369 (char *) "self",(char *) "pos", NULL
37370 };
37371
37372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
37373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37375 {
37376 arg2 = &temp2;
37377 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37378 }
37379 {
37380 PyThreadState* __tstate = wxPyBeginAllowThreads();
37381 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
37382
37383 wxPyEndAllowThreads(__tstate);
37384 if (PyErr_Occurred()) SWIG_fail;
37385 }
37386 {
37387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37388 }
37389 return resultobj;
37390 fail:
37391 return NULL;
37392}
37393
37394
37395static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
37396 PyObject *resultobj;
37397 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37398 wxGBSpan *arg2 = 0 ;
37399 bool result;
37400 wxGBSpan temp2 ;
37401 PyObject * obj0 = 0 ;
37402 PyObject * obj1 = 0 ;
37403 char *kwnames[] = {
37404 (char *) "self",(char *) "span", NULL
37405 };
37406
37407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
37408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37410 {
37411 arg2 = &temp2;
37412 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
37413 }
37414 {
37415 PyThreadState* __tstate = wxPyBeginAllowThreads();
37416 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
37417
37418 wxPyEndAllowThreads(__tstate);
37419 if (PyErr_Occurred()) SWIG_fail;
37420 }
37421 {
37422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37423 }
37424 return resultobj;
37425 fail:
37426 return NULL;
37427}
37428
37429
37430static PyObject *_wrap_GBSizerItem_Intersects__SWIG_0(PyObject *self, PyObject *args) {
37431 PyObject *resultobj;
37432 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37433 wxGBSizerItem *arg2 = 0 ;
37434 bool result;
37435 PyObject * obj0 = 0 ;
37436 PyObject * obj1 = 0 ;
37437
37438 if(!PyArg_ParseTuple(args,(char *)"OO:GBSizerItem_Intersects",&obj0,&obj1)) goto fail;
37439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37441 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
37442 SWIG_POINTER_EXCEPTION | 0)) == -1)
37443 SWIG_fail;
37444 if (arg2 == NULL) {
37445 PyErr_SetString(PyExc_TypeError,"null reference");
37446 SWIG_fail;
37447 }
37448 {
37449 PyThreadState* __tstate = wxPyBeginAllowThreads();
37450 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
37451
37452 wxPyEndAllowThreads(__tstate);
37453 if (PyErr_Occurred()) SWIG_fail;
37454 }
37455 {
37456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37457 }
37458 return resultobj;
37459 fail:
37460 return NULL;
37461}
37462
37463
37464static PyObject *_wrap_GBSizerItem_Intersects__SWIG_1(PyObject *self, PyObject *args) {
37465 PyObject *resultobj;
37466 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37467 wxGBPosition *arg2 = 0 ;
37468 wxGBSpan *arg3 = 0 ;
37469 bool result;
37470 wxGBPosition temp2 ;
37471 wxGBSpan temp3 ;
37472 PyObject * obj0 = 0 ;
37473 PyObject * obj1 = 0 ;
37474 PyObject * obj2 = 0 ;
37475
37476 if(!PyArg_ParseTuple(args,(char *)"OOO:GBSizerItem_Intersects",&obj0,&obj1,&obj2)) goto fail;
37477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37479 {
37480 arg2 = &temp2;
37481 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37482 }
37483 {
37484 arg3 = &temp3;
37485 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37486 }
37487 {
37488 PyThreadState* __tstate = wxPyBeginAllowThreads();
37489 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
37490
37491 wxPyEndAllowThreads(__tstate);
37492 if (PyErr_Occurred()) SWIG_fail;
37493 }
37494 {
37495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37496 }
37497 return resultobj;
37498 fail:
37499 return NULL;
37500}
37501
37502
37503static PyObject *_wrap_GBSizerItem_Intersects(PyObject *self, PyObject *args) {
37504 int argc;
37505 PyObject *argv[4];
37506 int ii;
37507
37508 argc = PyObject_Length(args);
37509 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
37510 argv[ii] = PyTuple_GetItem(args,ii);
37511 }
37512 if (argc == 2) {
37513 int _v;
37514 {
37515 void *ptr;
37516 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
37517 _v = 0;
37518 PyErr_Clear();
37519 } else {
37520 _v = 1;
37521 }
37522 }
37523 if (_v) {
37524 {
37525 void *ptr;
37526 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
37527 _v = 0;
37528 PyErr_Clear();
37529 } else {
37530 _v = 1;
37531 }
37532 }
37533 if (_v) {
37534 return _wrap_GBSizerItem_Intersects__SWIG_0(self,args);
37535 }
37536 }
37537 }
37538 if (argc == 3) {
37539 int _v;
37540 {
37541 void *ptr;
37542 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
37543 _v = 0;
37544 PyErr_Clear();
37545 } else {
37546 _v = 1;
37547 }
37548 }
37549 if (_v) {
37550 {
37551 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
37552 }
37553 if (_v) {
37554 {
37555 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
37556 }
37557 if (_v) {
37558 return _wrap_GBSizerItem_Intersects__SWIG_1(self,args);
37559 }
37560 }
37561 }
37562 }
37563
37564 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GBSizerItem_Intersects'");
37565 return NULL;
37566}
37567
37568
37569static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *self, PyObject *args, PyObject *kwargs) {
37570 PyObject *resultobj;
37571 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37572 int *arg2 = 0 ;
37573 int *arg3 = 0 ;
37574 PyObject * obj0 = 0 ;
37575 PyObject * obj1 = 0 ;
37576 PyObject * obj2 = 0 ;
37577 char *kwnames[] = {
37578 (char *) "self",(char *) "row",(char *) "col", NULL
37579 };
37580
37581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_GetEndPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
37582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37584 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,
37585 SWIG_POINTER_EXCEPTION | 0)) == -1)
37586 SWIG_fail;
37587 if (arg2 == NULL) {
37588 PyErr_SetString(PyExc_TypeError,"null reference");
37589 SWIG_fail;
37590 }
37591 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_int,
37592 SWIG_POINTER_EXCEPTION | 0)) == -1)
37593 SWIG_fail;
37594 if (arg3 == NULL) {
37595 PyErr_SetString(PyExc_TypeError,"null reference");
37596 SWIG_fail;
37597 }
37598 {
37599 PyThreadState* __tstate = wxPyBeginAllowThreads();
37600 (arg1)->GetEndPos(*arg2,*arg3);
37601
37602 wxPyEndAllowThreads(__tstate);
37603 if (PyErr_Occurred()) SWIG_fail;
37604 }
37605 Py_INCREF(Py_None); resultobj = Py_None;
37606 return resultobj;
37607 fail:
37608 return NULL;
37609}
37610
37611
37612static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37613 PyObject *resultobj;
37614 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37615 wxGridBagSizer *result;
37616 PyObject * obj0 = 0 ;
37617 char *kwnames[] = {
37618 (char *) "self", NULL
37619 };
37620
37621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
37622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37624 {
37625 PyThreadState* __tstate = wxPyBeginAllowThreads();
37626 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
37627
37628 wxPyEndAllowThreads(__tstate);
37629 if (PyErr_Occurred()) SWIG_fail;
37630 }
37631 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 0);
37632 return resultobj;
37633 fail:
37634 return NULL;
37635}
37636
37637
37638static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37639 PyObject *resultobj;
37640 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37641 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
37642 PyObject * obj0 = 0 ;
37643 PyObject * obj1 = 0 ;
37644 char *kwnames[] = {
37645 (char *) "self",(char *) "sizer", NULL
37646 };
37647
37648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
37649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37651 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridBagSizer,
37652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37653 {
37654 PyThreadState* __tstate = wxPyBeginAllowThreads();
37655 (arg1)->SetGBSizer(arg2);
37656
37657 wxPyEndAllowThreads(__tstate);
37658 if (PyErr_Occurred()) SWIG_fail;
37659 }
37660 Py_INCREF(Py_None); resultobj = Py_None;
37661 return resultobj;
37662 fail:
37663 return NULL;
37664}
37665
37666
37667static PyObject * GBSizerItem_swigregister(PyObject *self, PyObject *args) {
37668 PyObject *obj;
37669 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37670 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
37671 Py_INCREF(obj);
37672 return Py_BuildValue((char *)"");
37673}
37674static PyObject *_wrap_new_GridBagSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37675 PyObject *resultobj;
37676 int arg1 = (int) 0 ;
37677 int arg2 = (int) 0 ;
37678 wxGridBagSizer *result;
37679 PyObject * obj0 = 0 ;
37680 PyObject * obj1 = 0 ;
37681 char *kwnames[] = {
37682 (char *) "vgap",(char *) "hgap", NULL
37683 };
37684
37685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridBagSizer",kwnames,&obj0,&obj1)) goto fail;
37686 if (obj0) {
37687 arg1 = (int) SWIG_AsInt(obj0);
37688 if (PyErr_Occurred()) SWIG_fail;
37689 }
37690 if (obj1) {
37691 arg2 = (int) SWIG_AsInt(obj1);
37692 if (PyErr_Occurred()) SWIG_fail;
37693 }
37694 {
37695 PyThreadState* __tstate = wxPyBeginAllowThreads();
37696 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
37697
37698 wxPyEndAllowThreads(__tstate);
37699 if (PyErr_Occurred()) SWIG_fail;
37700 }
37701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 1);
37702 return resultobj;
37703 fail:
37704 return NULL;
37705}
37706
37707
37708static PyObject *_wrap_GridBagSizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
37709 PyObject *resultobj;
37710 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37711 PyObject *arg2 = (PyObject *) 0 ;
37712 wxGBPosition *arg3 = 0 ;
37713 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
37714 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
37715 int arg5 = (int) 0 ;
37716 int arg6 = (int) 0 ;
37717 PyObject *arg7 = (PyObject *) NULL ;
37718 bool result;
37719 wxGBPosition temp3 ;
37720 wxGBSpan temp4 ;
37721 PyObject * obj0 = 0 ;
37722 PyObject * obj1 = 0 ;
37723 PyObject * obj2 = 0 ;
37724 PyObject * obj3 = 0 ;
37725 PyObject * obj4 = 0 ;
37726 PyObject * obj5 = 0 ;
37727 PyObject * obj6 = 0 ;
37728 char *kwnames[] = {
37729 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37730 };
37731
37732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
37733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37735 arg2 = obj1;
37736 {
37737 arg3 = &temp3;
37738 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
37739 }
37740 if (obj3) {
37741 {
37742 arg4 = &temp4;
37743 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
37744 }
37745 }
37746 if (obj4) {
37747 arg5 = (int) SWIG_AsInt(obj4);
37748 if (PyErr_Occurred()) SWIG_fail;
37749 }
37750 if (obj5) {
37751 arg6 = (int) SWIG_AsInt(obj5);
37752 if (PyErr_Occurred()) SWIG_fail;
37753 }
37754 if (obj6) {
37755 arg7 = obj6;
37756 }
37757 {
37758 PyThreadState* __tstate = wxPyBeginAllowThreads();
37759 result = (bool)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
37760
37761 wxPyEndAllowThreads(__tstate);
37762 if (PyErr_Occurred()) SWIG_fail;
37763 }
37764 {
37765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37766 }
37767 return resultobj;
37768 fail:
37769 return NULL;
37770}
37771
37772
37773static PyObject *_wrap_GridBagSizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
37774 PyObject *resultobj;
37775 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37776 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
37777 bool result;
37778 PyObject * obj0 = 0 ;
37779 PyObject * obj1 = 0 ;
37780 char *kwnames[] = {
37781 (char *) "self",(char *) "item", NULL
37782 };
37783
37784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
37785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37787 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
37788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37789 {
37790 PyThreadState* __tstate = wxPyBeginAllowThreads();
37791 result = (bool)(arg1)->Add(arg2);
37792
37793 wxPyEndAllowThreads(__tstate);
37794 if (PyErr_Occurred()) SWIG_fail;
37795 }
37796 {
37797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37798 }
37799 return resultobj;
37800 fail:
37801 return NULL;
37802}
37803
37804
37805static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
37806 PyObject *resultobj;
37807 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37808 wxSize result;
37809 PyObject * obj0 = 0 ;
37810 char *kwnames[] = {
37811 (char *) "self", NULL
37812 };
37813
37814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
37815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37817 {
37818 PyThreadState* __tstate = wxPyBeginAllowThreads();
37819 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
37820
37821 wxPyEndAllowThreads(__tstate);
37822 if (PyErr_Occurred()) SWIG_fail;
37823 }
37824 {
37825 wxSize * resultptr;
37826 resultptr = new wxSize((wxSize &) result);
37827 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
37828 }
37829 return resultobj;
37830 fail:
37831 return NULL;
37832}
37833
37834
37835static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
37836 PyObject *resultobj;
37837 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37838 wxSize *arg2 = 0 ;
37839 wxSize temp2 ;
37840 PyObject * obj0 = 0 ;
37841 PyObject * obj1 = 0 ;
37842 char *kwnames[] = {
37843 (char *) "self",(char *) "sz", NULL
37844 };
37845
37846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
37847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37849 {
37850 arg2 = &temp2;
37851 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
37852 }
37853 {
37854 PyThreadState* __tstate = wxPyBeginAllowThreads();
37855 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
37856
37857 wxPyEndAllowThreads(__tstate);
37858 if (PyErr_Occurred()) SWIG_fail;
37859 }
37860 Py_INCREF(Py_None); resultobj = Py_None;
37861 return resultobj;
37862 fail:
37863 return NULL;
37864}
37865
37866
37867static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
37868 PyObject *resultobj;
37869 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37870 wxWindow *arg2 = (wxWindow *) 0 ;
37871 wxGBPosition result;
37872 PyObject * obj0 = 0 ;
37873 PyObject * obj1 = 0 ;
37874
37875 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
37876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37878 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37880 {
37881 PyThreadState* __tstate = wxPyBeginAllowThreads();
37882 result = (arg1)->GetItemPosition(arg2);
37883
37884 wxPyEndAllowThreads(__tstate);
37885 if (PyErr_Occurred()) SWIG_fail;
37886 }
37887 {
37888 wxGBPosition * resultptr;
37889 resultptr = new wxGBPosition((wxGBPosition &) result);
37890 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
37891 }
37892 return resultobj;
37893 fail:
37894 return NULL;
37895}
37896
37897
37898static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
37899 PyObject *resultobj;
37900 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37901 wxSizer *arg2 = (wxSizer *) 0 ;
37902 wxGBPosition result;
37903 PyObject * obj0 = 0 ;
37904 PyObject * obj1 = 0 ;
37905
37906 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
37907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37909 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
37910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37911 {
37912 PyThreadState* __tstate = wxPyBeginAllowThreads();
37913 result = (arg1)->GetItemPosition(arg2);
37914
37915 wxPyEndAllowThreads(__tstate);
37916 if (PyErr_Occurred()) SWIG_fail;
37917 }
37918 {
37919 wxGBPosition * resultptr;
37920 resultptr = new wxGBPosition((wxGBPosition &) result);
37921 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
37922 }
37923 return resultobj;
37924 fail:
37925 return NULL;
37926}
37927
37928
37929static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
37930 PyObject *resultobj;
37931 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37932 size_t arg2 ;
37933 wxGBPosition result;
37934 PyObject * obj0 = 0 ;
37935 PyObject * obj1 = 0 ;
37936
37937 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
37938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37940 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
37941 if (PyErr_Occurred()) SWIG_fail;
37942 {
37943 PyThreadState* __tstate = wxPyBeginAllowThreads();
37944 result = (arg1)->GetItemPosition(arg2);
37945
37946 wxPyEndAllowThreads(__tstate);
37947 if (PyErr_Occurred()) SWIG_fail;
37948 }
37949 {
37950 wxGBPosition * resultptr;
37951 resultptr = new wxGBPosition((wxGBPosition &) result);
37952 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
37953 }
37954 return resultobj;
37955 fail:
37956 return NULL;
37957}
37958
37959
37960static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
37961 int argc;
37962 PyObject *argv[3];
37963 int ii;
37964
37965 argc = PyObject_Length(args);
37966 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
37967 argv[ii] = PyTuple_GetItem(args,ii);
37968 }
37969 if (argc == 2) {
37970 int _v;
37971 {
37972 void *ptr;
37973 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
37974 _v = 0;
37975 PyErr_Clear();
37976 } else {
37977 _v = 1;
37978 }
37979 }
37980 if (_v) {
37981 {
37982 void *ptr;
37983 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
37984 _v = 0;
37985 PyErr_Clear();
37986 } else {
37987 _v = 1;
37988 }
37989 }
37990 if (_v) {
37991 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
37992 }
37993 }
37994 }
37995 if (argc == 2) {
37996 int _v;
37997 {
37998 void *ptr;
37999 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38000 _v = 0;
38001 PyErr_Clear();
38002 } else {
38003 _v = 1;
38004 }
38005 }
38006 if (_v) {
38007 {
38008 void *ptr;
38009 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
38010 _v = 0;
38011 PyErr_Clear();
38012 } else {
38013 _v = 1;
38014 }
38015 }
38016 if (_v) {
38017 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
38018 }
38019 }
38020 }
38021 if (argc == 2) {
38022 int _v;
38023 {
38024 void *ptr;
38025 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38026 _v = 0;
38027 PyErr_Clear();
38028 } else {
38029 _v = 1;
38030 }
38031 }
38032 if (_v) {
38033 _v = SWIG_CheckUnsignedLong(argv[1]);
38034 if (_v) {
38035 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
38036 }
38037 }
38038 }
38039
38040 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38041 return NULL;
38042}
38043
38044
38045static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
38046 PyObject *resultobj;
38047 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38048 wxWindow *arg2 = (wxWindow *) 0 ;
38049 wxGBPosition *arg3 = 0 ;
38050 bool result;
38051 wxGBPosition temp3 ;
38052 PyObject * obj0 = 0 ;
38053 PyObject * obj1 = 0 ;
38054 PyObject * obj2 = 0 ;
38055
38056 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
38057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38059 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38061 {
38062 arg3 = &temp3;
38063 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38064 }
38065 {
38066 PyThreadState* __tstate = wxPyBeginAllowThreads();
38067 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38068
38069 wxPyEndAllowThreads(__tstate);
38070 if (PyErr_Occurred()) SWIG_fail;
38071 }
38072 {
38073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38074 }
38075 return resultobj;
38076 fail:
38077 return NULL;
38078}
38079
38080
38081static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
38082 PyObject *resultobj;
38083 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38084 wxSizer *arg2 = (wxSizer *) 0 ;
38085 wxGBPosition *arg3 = 0 ;
38086 bool result;
38087 wxGBPosition temp3 ;
38088 PyObject * obj0 = 0 ;
38089 PyObject * obj1 = 0 ;
38090 PyObject * obj2 = 0 ;
38091
38092 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
38093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38095 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38097 {
38098 arg3 = &temp3;
38099 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38100 }
38101 {
38102 PyThreadState* __tstate = wxPyBeginAllowThreads();
38103 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38104
38105 wxPyEndAllowThreads(__tstate);
38106 if (PyErr_Occurred()) SWIG_fail;
38107 }
38108 {
38109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38110 }
38111 return resultobj;
38112 fail:
38113 return NULL;
38114}
38115
38116
38117static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
38118 PyObject *resultobj;
38119 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38120 size_t arg2 ;
38121 wxGBPosition *arg3 = 0 ;
38122 bool result;
38123 wxGBPosition temp3 ;
38124 PyObject * obj0 = 0 ;
38125 PyObject * obj1 = 0 ;
38126 PyObject * obj2 = 0 ;
38127
38128 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
38129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38131 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38132 if (PyErr_Occurred()) SWIG_fail;
38133 {
38134 arg3 = &temp3;
38135 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38136 }
38137 {
38138 PyThreadState* __tstate = wxPyBeginAllowThreads();
38139 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38140
38141 wxPyEndAllowThreads(__tstate);
38142 if (PyErr_Occurred()) SWIG_fail;
38143 }
38144 {
38145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38146 }
38147 return resultobj;
38148 fail:
38149 return NULL;
38150}
38151
38152
38153static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
38154 int argc;
38155 PyObject *argv[4];
38156 int ii;
38157
38158 argc = PyObject_Length(args);
38159 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
38160 argv[ii] = PyTuple_GetItem(args,ii);
38161 }
38162 if (argc == 3) {
38163 int _v;
38164 {
38165 void *ptr;
38166 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38167 _v = 0;
38168 PyErr_Clear();
38169 } else {
38170 _v = 1;
38171 }
38172 }
38173 if (_v) {
38174 {
38175 void *ptr;
38176 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
38177 _v = 0;
38178 PyErr_Clear();
38179 } else {
38180 _v = 1;
38181 }
38182 }
38183 if (_v) {
38184 {
38185 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38186 }
38187 if (_v) {
38188 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
38189 }
38190 }
38191 }
38192 }
38193 if (argc == 3) {
38194 int _v;
38195 {
38196 void *ptr;
38197 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38198 _v = 0;
38199 PyErr_Clear();
38200 } else {
38201 _v = 1;
38202 }
38203 }
38204 if (_v) {
38205 {
38206 void *ptr;
38207 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
38208 _v = 0;
38209 PyErr_Clear();
38210 } else {
38211 _v = 1;
38212 }
38213 }
38214 if (_v) {
38215 {
38216 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38217 }
38218 if (_v) {
38219 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
38220 }
38221 }
38222 }
38223 }
38224 if (argc == 3) {
38225 int _v;
38226 {
38227 void *ptr;
38228 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38229 _v = 0;
38230 PyErr_Clear();
38231 } else {
38232 _v = 1;
38233 }
38234 }
38235 if (_v) {
38236 _v = SWIG_CheckUnsignedLong(argv[1]);
38237 if (_v) {
38238 {
38239 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38240 }
38241 if (_v) {
38242 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
38243 }
38244 }
38245 }
38246 }
38247
38248 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38249 return NULL;
38250}
38251
38252
38253static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
38254 PyObject *resultobj;
38255 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38256 wxWindow *arg2 = (wxWindow *) 0 ;
38257 wxGBSpan result;
38258 PyObject * obj0 = 0 ;
38259 PyObject * obj1 = 0 ;
38260
38261 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
38262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38264 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38266 {
38267 PyThreadState* __tstate = wxPyBeginAllowThreads();
38268 result = (arg1)->GetItemSpan(arg2);
38269
38270 wxPyEndAllowThreads(__tstate);
38271 if (PyErr_Occurred()) SWIG_fail;
38272 }
38273 {
38274 wxGBSpan * resultptr;
38275 resultptr = new wxGBSpan((wxGBSpan &) result);
38276 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
38277 }
38278 return resultobj;
38279 fail:
38280 return NULL;
38281}
38282
38283
38284static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
38285 PyObject *resultobj;
38286 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38287 wxSizer *arg2 = (wxSizer *) 0 ;
38288 wxGBSpan result;
38289 PyObject * obj0 = 0 ;
38290 PyObject * obj1 = 0 ;
38291
38292 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
38293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38295 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38297 {
38298 PyThreadState* __tstate = wxPyBeginAllowThreads();
38299 result = (arg1)->GetItemSpan(arg2);
38300
38301 wxPyEndAllowThreads(__tstate);
38302 if (PyErr_Occurred()) SWIG_fail;
38303 }
38304 {
38305 wxGBSpan * resultptr;
38306 resultptr = new wxGBSpan((wxGBSpan &) result);
38307 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
38308 }
38309 return resultobj;
38310 fail:
38311 return NULL;
38312}
38313
38314
38315static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
38316 PyObject *resultobj;
38317 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38318 size_t arg2 ;
38319 wxGBSpan result;
38320 PyObject * obj0 = 0 ;
38321 PyObject * obj1 = 0 ;
38322
38323 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
38324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38326 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38327 if (PyErr_Occurred()) SWIG_fail;
38328 {
38329 PyThreadState* __tstate = wxPyBeginAllowThreads();
38330 result = (arg1)->GetItemSpan(arg2);
38331
38332 wxPyEndAllowThreads(__tstate);
38333 if (PyErr_Occurred()) SWIG_fail;
38334 }
38335 {
38336 wxGBSpan * resultptr;
38337 resultptr = new wxGBSpan((wxGBSpan &) result);
38338 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
38339 }
38340 return resultobj;
38341 fail:
38342 return NULL;
38343}
38344
38345
38346static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
38347 int argc;
38348 PyObject *argv[3];
38349 int ii;
38350
38351 argc = PyObject_Length(args);
38352 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
38353 argv[ii] = PyTuple_GetItem(args,ii);
38354 }
38355 if (argc == 2) {
38356 int _v;
38357 {
38358 void *ptr;
38359 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38360 _v = 0;
38361 PyErr_Clear();
38362 } else {
38363 _v = 1;
38364 }
38365 }
38366 if (_v) {
38367 {
38368 void *ptr;
38369 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
38370 _v = 0;
38371 PyErr_Clear();
38372 } else {
38373 _v = 1;
38374 }
38375 }
38376 if (_v) {
38377 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
38378 }
38379 }
38380 }
38381 if (argc == 2) {
38382 int _v;
38383 {
38384 void *ptr;
38385 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38386 _v = 0;
38387 PyErr_Clear();
38388 } else {
38389 _v = 1;
38390 }
38391 }
38392 if (_v) {
38393 {
38394 void *ptr;
38395 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
38396 _v = 0;
38397 PyErr_Clear();
38398 } else {
38399 _v = 1;
38400 }
38401 }
38402 if (_v) {
38403 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
38404 }
38405 }
38406 }
38407 if (argc == 2) {
38408 int _v;
38409 {
38410 void *ptr;
38411 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38412 _v = 0;
38413 PyErr_Clear();
38414 } else {
38415 _v = 1;
38416 }
38417 }
38418 if (_v) {
38419 _v = SWIG_CheckUnsignedLong(argv[1]);
38420 if (_v) {
38421 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
38422 }
38423 }
38424 }
38425
38426 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38427 return NULL;
38428}
38429
38430
38431static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
38432 PyObject *resultobj;
38433 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38434 wxWindow *arg2 = (wxWindow *) 0 ;
38435 wxGBSpan *arg3 = 0 ;
38436 bool result;
38437 wxGBSpan temp3 ;
38438 PyObject * obj0 = 0 ;
38439 PyObject * obj1 = 0 ;
38440 PyObject * obj2 = 0 ;
38441
38442 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
38443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38445 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38447 {
38448 arg3 = &temp3;
38449 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38450 }
38451 {
38452 PyThreadState* __tstate = wxPyBeginAllowThreads();
38453 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
38454
38455 wxPyEndAllowThreads(__tstate);
38456 if (PyErr_Occurred()) SWIG_fail;
38457 }
38458 {
38459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38460 }
38461 return resultobj;
38462 fail:
38463 return NULL;
38464}
38465
38466
38467static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
38468 PyObject *resultobj;
38469 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38470 wxSizer *arg2 = (wxSizer *) 0 ;
38471 wxGBSpan *arg3 = 0 ;
38472 bool result;
38473 wxGBSpan temp3 ;
38474 PyObject * obj0 = 0 ;
38475 PyObject * obj1 = 0 ;
38476 PyObject * obj2 = 0 ;
38477
38478 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
38479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38481 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38483 {
38484 arg3 = &temp3;
38485 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38486 }
38487 {
38488 PyThreadState* __tstate = wxPyBeginAllowThreads();
38489 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
38490
38491 wxPyEndAllowThreads(__tstate);
38492 if (PyErr_Occurred()) SWIG_fail;
38493 }
38494 {
38495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38496 }
38497 return resultobj;
38498 fail:
38499 return NULL;
38500}
38501
38502
38503static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
38504 PyObject *resultobj;
38505 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38506 size_t arg2 ;
38507 wxGBSpan *arg3 = 0 ;
38508 bool result;
38509 wxGBSpan temp3 ;
38510 PyObject * obj0 = 0 ;
38511 PyObject * obj1 = 0 ;
38512 PyObject * obj2 = 0 ;
38513
38514 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
38515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38517 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38518 if (PyErr_Occurred()) SWIG_fail;
38519 {
38520 arg3 = &temp3;
38521 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38522 }
38523 {
38524 PyThreadState* __tstate = wxPyBeginAllowThreads();
38525 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
38526
38527 wxPyEndAllowThreads(__tstate);
38528 if (PyErr_Occurred()) SWIG_fail;
38529 }
38530 {
38531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38532 }
38533 return resultobj;
38534 fail:
38535 return NULL;
38536}
38537
38538
38539static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
38540 int argc;
38541 PyObject *argv[4];
38542 int ii;
38543
38544 argc = PyObject_Length(args);
38545 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
38546 argv[ii] = PyTuple_GetItem(args,ii);
38547 }
38548 if (argc == 3) {
38549 int _v;
38550 {
38551 void *ptr;
38552 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38553 _v = 0;
38554 PyErr_Clear();
38555 } else {
38556 _v = 1;
38557 }
38558 }
38559 if (_v) {
38560 {
38561 void *ptr;
38562 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
38563 _v = 0;
38564 PyErr_Clear();
38565 } else {
38566 _v = 1;
38567 }
38568 }
38569 if (_v) {
38570 {
38571 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38572 }
38573 if (_v) {
38574 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
38575 }
38576 }
38577 }
38578 }
38579 if (argc == 3) {
38580 int _v;
38581 {
38582 void *ptr;
38583 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38584 _v = 0;
38585 PyErr_Clear();
38586 } else {
38587 _v = 1;
38588 }
38589 }
38590 if (_v) {
38591 {
38592 void *ptr;
38593 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
38594 _v = 0;
38595 PyErr_Clear();
38596 } else {
38597 _v = 1;
38598 }
38599 }
38600 if (_v) {
38601 {
38602 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38603 }
38604 if (_v) {
38605 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
38606 }
38607 }
38608 }
38609 }
38610 if (argc == 3) {
38611 int _v;
38612 {
38613 void *ptr;
38614 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38615 _v = 0;
38616 PyErr_Clear();
38617 } else {
38618 _v = 1;
38619 }
38620 }
38621 if (_v) {
38622 _v = SWIG_CheckUnsignedLong(argv[1]);
38623 if (_v) {
38624 {
38625 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38626 }
38627 if (_v) {
38628 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
38629 }
38630 }
38631 }
38632 }
38633
38634 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
38635 return NULL;
38636}
38637
38638
38639static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *self, PyObject *args) {
38640 PyObject *resultobj;
38641 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38642 wxWindow *arg2 = (wxWindow *) 0 ;
38643 wxGBSizerItem *result;
38644 PyObject * obj0 = 0 ;
38645 PyObject * obj1 = 0 ;
38646
38647 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
38648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38650 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38652 {
38653 PyThreadState* __tstate = wxPyBeginAllowThreads();
38654 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
38655
38656 wxPyEndAllowThreads(__tstate);
38657 if (PyErr_Occurred()) SWIG_fail;
38658 }
38659 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
38660 return resultobj;
38661 fail:
38662 return NULL;
38663}
38664
38665
38666static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *self, PyObject *args) {
38667 PyObject *resultobj;
38668 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38669 wxSizer *arg2 = (wxSizer *) 0 ;
38670 wxGBSizerItem *result;
38671 PyObject * obj0 = 0 ;
38672 PyObject * obj1 = 0 ;
38673
38674 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
38675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38677 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38679 {
38680 PyThreadState* __tstate = wxPyBeginAllowThreads();
38681 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
38682
38683 wxPyEndAllowThreads(__tstate);
38684 if (PyErr_Occurred()) SWIG_fail;
38685 }
38686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
38687 return resultobj;
38688 fail:
38689 return NULL;
38690}
38691
38692
38693static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
38694 int argc;
38695 PyObject *argv[3];
38696 int ii;
38697
38698 argc = PyObject_Length(args);
38699 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
38700 argv[ii] = PyTuple_GetItem(args,ii);
38701 }
38702 if (argc == 2) {
38703 int _v;
38704 {
38705 void *ptr;
38706 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38707 _v = 0;
38708 PyErr_Clear();
38709 } else {
38710 _v = 1;
38711 }
38712 }
38713 if (_v) {
38714 {
38715 void *ptr;
38716 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
38717 _v = 0;
38718 PyErr_Clear();
38719 } else {
38720 _v = 1;
38721 }
38722 }
38723 if (_v) {
38724 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
38725 }
38726 }
38727 }
38728 if (argc == 2) {
38729 int _v;
38730 {
38731 void *ptr;
38732 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38733 _v = 0;
38734 PyErr_Clear();
38735 } else {
38736 _v = 1;
38737 }
38738 }
38739 if (_v) {
38740 {
38741 void *ptr;
38742 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
38743 _v = 0;
38744 PyErr_Clear();
38745 } else {
38746 _v = 1;
38747 }
38748 }
38749 if (_v) {
38750 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
38751 }
38752 }
38753 }
38754
38755 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_FindItem'");
38756 return NULL;
38757}
38758
38759
38760static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
38761 PyObject *resultobj;
38762 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38763 wxGBPosition *arg2 = 0 ;
38764 wxGBSizerItem *result;
38765 wxGBPosition temp2 ;
38766 PyObject * obj0 = 0 ;
38767 PyObject * obj1 = 0 ;
38768 char *kwnames[] = {
38769 (char *) "self",(char *) "pos", NULL
38770 };
38771
38772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
38773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38775 {
38776 arg2 = &temp2;
38777 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38778 }
38779 {
38780 PyThreadState* __tstate = wxPyBeginAllowThreads();
38781 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
38782
38783 wxPyEndAllowThreads(__tstate);
38784 if (PyErr_Occurred()) SWIG_fail;
38785 }
38786 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
38787 return resultobj;
38788 fail:
38789 return NULL;
38790}
38791
38792
38793static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
38794 PyObject *resultobj;
38795 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38796 wxPoint *arg2 = 0 ;
38797 wxGBSizerItem *result;
38798 wxPoint temp2 ;
38799 PyObject * obj0 = 0 ;
38800 PyObject * obj1 = 0 ;
38801 char *kwnames[] = {
38802 (char *) "self",(char *) "pt", NULL
38803 };
38804
38805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
38806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38808 {
38809 arg2 = &temp2;
38810 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
38811 }
38812 {
38813 PyThreadState* __tstate = wxPyBeginAllowThreads();
38814 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
38815
38816 wxPyEndAllowThreads(__tstate);
38817 if (PyErr_Occurred()) SWIG_fail;
38818 }
38819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
38820 return resultobj;
38821 fail:
38822 return NULL;
38823}
38824
38825
38826static PyObject *_wrap_GridBagSizer_FindItemWithData(PyObject *self, PyObject *args, PyObject *kwargs) {
38827 PyObject *resultobj;
38828 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38829 wxObject *arg2 = (wxObject *) 0 ;
38830 wxGBSizerItem *result;
38831 PyObject * obj0 = 0 ;
38832 PyObject * obj1 = 0 ;
38833 char *kwnames[] = {
38834 (char *) "self",(char *) "userData", NULL
38835 };
38836
38837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemWithData",kwnames,&obj0,&obj1)) goto fail;
38838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38840 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
38841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38842 {
38843 PyThreadState* __tstate = wxPyBeginAllowThreads();
38844 result = (wxGBSizerItem *)(arg1)->FindItemWithData((wxObject const *)arg2);
38845
38846 wxPyEndAllowThreads(__tstate);
38847 if (PyErr_Occurred()) SWIG_fail;
38848 }
38849 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
38850 return resultobj;
38851 fail:
38852 return NULL;
38853}
38854
38855
38856static PyObject *_wrap_GridBagSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
38857 PyObject *resultobj;
38858 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38859 PyObject * obj0 = 0 ;
38860 char *kwnames[] = {
38861 (char *) "self", NULL
38862 };
38863
38864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_RecalcSizes",kwnames,&obj0)) goto fail;
38865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38867 {
38868 PyThreadState* __tstate = wxPyBeginAllowThreads();
38869 (arg1)->RecalcSizes();
38870
38871 wxPyEndAllowThreads(__tstate);
38872 if (PyErr_Occurred()) SWIG_fail;
38873 }
38874 Py_INCREF(Py_None); resultobj = Py_None;
38875 return resultobj;
38876 fail:
38877 return NULL;
38878}
38879
38880
38881static PyObject *_wrap_GridBagSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
38882 PyObject *resultobj;
38883 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38884 wxSize result;
38885 PyObject * obj0 = 0 ;
38886 char *kwnames[] = {
38887 (char *) "self", NULL
38888 };
38889
38890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_CalcMin",kwnames,&obj0)) goto fail;
38891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38893 {
38894 PyThreadState* __tstate = wxPyBeginAllowThreads();
38895 result = (arg1)->CalcMin();
38896
38897 wxPyEndAllowThreads(__tstate);
38898 if (PyErr_Occurred()) SWIG_fail;
38899 }
38900 {
38901 wxSize * resultptr;
38902 resultptr = new wxSize((wxSize &) result);
38903 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
38904 }
38905 return resultobj;
38906 fail:
38907 return NULL;
38908}
38909
38910
38911static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject *self, PyObject *args) {
38912 PyObject *resultobj;
38913 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38914 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
38915 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
38916 bool result;
38917 PyObject * obj0 = 0 ;
38918 PyObject * obj1 = 0 ;
38919 PyObject * obj2 = 0 ;
38920
38921 if(!PyArg_ParseTuple(args,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2)) goto fail;
38922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38924 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
38925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38926 if (obj2) {
38927 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGBSizerItem,
38928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38929 }
38930 {
38931 PyThreadState* __tstate = wxPyBeginAllowThreads();
38932 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
38933
38934 wxPyEndAllowThreads(__tstate);
38935 if (PyErr_Occurred()) SWIG_fail;
38936 }
38937 {
38938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38939 }
38940 return resultobj;
38941 fail:
38942 return NULL;
38943}
38944
38945
38946static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject *self, PyObject *args) {
38947 PyObject *resultobj;
38948 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38949 wxGBPosition *arg2 = 0 ;
38950 wxGBSpan *arg3 = 0 ;
38951 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
38952 bool result;
38953 wxGBPosition temp2 ;
38954 wxGBSpan temp3 ;
38955 PyObject * obj0 = 0 ;
38956 PyObject * obj1 = 0 ;
38957 PyObject * obj2 = 0 ;
38958 PyObject * obj3 = 0 ;
38959
38960 if(!PyArg_ParseTuple(args,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2,&obj3)) goto fail;
38961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38963 {
38964 arg2 = &temp2;
38965 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38966 }
38967 {
38968 arg3 = &temp3;
38969 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38970 }
38971 if (obj3) {
38972 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGBSizerItem,
38973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38974 }
38975 {
38976 PyThreadState* __tstate = wxPyBeginAllowThreads();
38977 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
38978
38979 wxPyEndAllowThreads(__tstate);
38980 if (PyErr_Occurred()) SWIG_fail;
38981 }
38982 {
38983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38984 }
38985 return resultobj;
38986 fail:
38987 return NULL;
38988}
38989
38990
38991static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *self, PyObject *args) {
38992 int argc;
38993 PyObject *argv[5];
38994 int ii;
38995
38996 argc = PyObject_Length(args);
38997 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
38998 argv[ii] = PyTuple_GetItem(args,ii);
38999 }
39000 if ((argc >= 2) && (argc <= 3)) {
39001 int _v;
39002 {
39003 void *ptr;
39004 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
39005 _v = 0;
39006 PyErr_Clear();
39007 } else {
39008 _v = 1;
39009 }
39010 }
39011 if (_v) {
39012 {
39013 void *ptr;
39014 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
39015 _v = 0;
39016 PyErr_Clear();
39017 } else {
39018 _v = 1;
39019 }
39020 }
39021 if (_v) {
39022 if (argc <= 2) {
39023 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
39024 }
39025 {
39026 void *ptr;
39027 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
39028 _v = 0;
39029 PyErr_Clear();
39030 } else {
39031 _v = 1;
39032 }
39033 }
39034 if (_v) {
39035 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
39036 }
39037 }
39038 }
39039 }
39040 if ((argc >= 3) && (argc <= 4)) {
39041 int _v;
39042 {
39043 void *ptr;
39044 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
39045 _v = 0;
39046 PyErr_Clear();
39047 } else {
39048 _v = 1;
39049 }
39050 }
39051 if (_v) {
39052 {
39053 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
39054 }
39055 if (_v) {
39056 {
39057 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
39058 }
39059 if (_v) {
39060 if (argc <= 3) {
39061 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
39062 }
39063 {
39064 void *ptr;
39065 if (SWIG_ConvertPtr(argv[3], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
39066 _v = 0;
39067 PyErr_Clear();
39068 } else {
39069 _v = 1;
39070 }
39071 }
39072 if (_v) {
39073 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
39074 }
39075 }
39076 }
39077 }
39078 }
39079
39080 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
39081 return NULL;
39082}
39083
39084
39085static PyObject * GridBagSizer_swigregister(PyObject *self, PyObject *args) {
39086 PyObject *obj;
39087 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
39088 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
39089 Py_INCREF(obj);
39090 return Py_BuildValue((char *)"");
39091}
39092static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
39093 PyObject *resultobj;
39094 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39095 int arg2 ;
39096 wxWindow *arg3 = (wxWindow *) 0 ;
39097 int arg4 ;
39098 int arg5 = (int) 0 ;
39099 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
39100 PyObject * obj0 = 0 ;
39101 PyObject * obj1 = 0 ;
39102 PyObject * obj2 = 0 ;
39103 PyObject * obj3 = 0 ;
39104 PyObject * obj4 = 0 ;
39105 PyObject * obj5 = 0 ;
39106 char *kwnames[] = {
39107 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39108 };
39109
39110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
39111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39113 arg2 = (wxRelationship) SWIG_AsInt(obj1);
39114 if (PyErr_Occurred()) SWIG_fail;
39115 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
39116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39117 arg4 = (wxEdge) SWIG_AsInt(obj3);
39118 if (PyErr_Occurred()) SWIG_fail;
39119 if (obj4) {
39120 arg5 = (int) SWIG_AsInt(obj4);
39121 if (PyErr_Occurred()) SWIG_fail;
39122 }
39123 if (obj5) {
39124 arg6 = (int) SWIG_AsInt(obj5);
39125 if (PyErr_Occurred()) SWIG_fail;
39126 }
39127 {
39128 PyThreadState* __tstate = wxPyBeginAllowThreads();
39129 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
39130
39131 wxPyEndAllowThreads(__tstate);
39132 if (PyErr_Occurred()) SWIG_fail;
39133 }
39134 Py_INCREF(Py_None); resultobj = Py_None;
39135 return resultobj;
39136 fail:
39137 return NULL;
39138}
39139
39140
39141static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args, PyObject *kwargs) {
39142 PyObject *resultobj;
39143 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39144 wxWindow *arg2 = (wxWindow *) 0 ;
39145 int arg3 = (int) 0 ;
39146 PyObject * obj0 = 0 ;
39147 PyObject * obj1 = 0 ;
39148 PyObject * obj2 = 0 ;
39149 char *kwnames[] = {
39150 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39151 };
39152
39153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
39154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39156 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39158 if (obj2) {
39159 arg3 = (int) SWIG_AsInt(obj2);
39160 if (PyErr_Occurred()) SWIG_fail;
39161 }
39162 {
39163 PyThreadState* __tstate = wxPyBeginAllowThreads();
39164 (arg1)->LeftOf(arg2,arg3);
39165
39166 wxPyEndAllowThreads(__tstate);
39167 if (PyErr_Occurred()) SWIG_fail;
39168 }
39169 Py_INCREF(Py_None); resultobj = Py_None;
39170 return resultobj;
39171 fail:
39172 return NULL;
39173}
39174
39175
39176static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args, PyObject *kwargs) {
39177 PyObject *resultobj;
39178 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39179 wxWindow *arg2 = (wxWindow *) 0 ;
39180 int arg3 = (int) 0 ;
39181 PyObject * obj0 = 0 ;
39182 PyObject * obj1 = 0 ;
39183 PyObject * obj2 = 0 ;
39184 char *kwnames[] = {
39185 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39186 };
39187
39188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
39189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39191 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39193 if (obj2) {
39194 arg3 = (int) SWIG_AsInt(obj2);
39195 if (PyErr_Occurred()) SWIG_fail;
39196 }
39197 {
39198 PyThreadState* __tstate = wxPyBeginAllowThreads();
39199 (arg1)->RightOf(arg2,arg3);
39200
39201 wxPyEndAllowThreads(__tstate);
39202 if (PyErr_Occurred()) SWIG_fail;
39203 }
39204 Py_INCREF(Py_None); resultobj = Py_None;
39205 return resultobj;
39206 fail:
39207 return NULL;
39208}
39209
39210
39211static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *self, PyObject *args, PyObject *kwargs) {
39212 PyObject *resultobj;
39213 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39214 wxWindow *arg2 = (wxWindow *) 0 ;
39215 int arg3 = (int) 0 ;
39216 PyObject * obj0 = 0 ;
39217 PyObject * obj1 = 0 ;
39218 PyObject * obj2 = 0 ;
39219 char *kwnames[] = {
39220 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39221 };
39222
39223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&obj2)) goto fail;
39224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39226 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39228 if (obj2) {
39229 arg3 = (int) SWIG_AsInt(obj2);
39230 if (PyErr_Occurred()) SWIG_fail;
39231 }
39232 {
39233 PyThreadState* __tstate = wxPyBeginAllowThreads();
39234 (arg1)->Above(arg2,arg3);
39235
39236 wxPyEndAllowThreads(__tstate);
39237 if (PyErr_Occurred()) SWIG_fail;
39238 }
39239 Py_INCREF(Py_None); resultobj = Py_None;
39240 return resultobj;
39241 fail:
39242 return NULL;
39243}
39244
39245
39246static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *self, PyObject *args, PyObject *kwargs) {
39247 PyObject *resultobj;
39248 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39249 wxWindow *arg2 = (wxWindow *) 0 ;
39250 int arg3 = (int) 0 ;
39251 PyObject * obj0 = 0 ;
39252 PyObject * obj1 = 0 ;
39253 PyObject * obj2 = 0 ;
39254 char *kwnames[] = {
39255 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39256 };
39257
39258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&obj2)) goto fail;
39259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39261 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39263 if (obj2) {
39264 arg3 = (int) SWIG_AsInt(obj2);
39265 if (PyErr_Occurred()) SWIG_fail;
39266 }
39267 {
39268 PyThreadState* __tstate = wxPyBeginAllowThreads();
39269 (arg1)->Below(arg2,arg3);
39270
39271 wxPyEndAllowThreads(__tstate);
39272 if (PyErr_Occurred()) SWIG_fail;
39273 }
39274 Py_INCREF(Py_None); resultobj = Py_None;
39275 return resultobj;
39276 fail:
39277 return NULL;
39278}
39279
39280
39281static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args, PyObject *kwargs) {
39282 PyObject *resultobj;
39283 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39284 wxWindow *arg2 = (wxWindow *) 0 ;
39285 int arg3 ;
39286 int arg4 = (int) 0 ;
39287 PyObject * obj0 = 0 ;
39288 PyObject * obj1 = 0 ;
39289 PyObject * obj2 = 0 ;
39290 PyObject * obj3 = 0 ;
39291 char *kwnames[] = {
39292 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39293 };
39294
39295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
39296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39298 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39300 arg3 = (wxEdge) SWIG_AsInt(obj2);
39301 if (PyErr_Occurred()) SWIG_fail;
39302 if (obj3) {
39303 arg4 = (int) SWIG_AsInt(obj3);
39304 if (PyErr_Occurred()) SWIG_fail;
39305 }
39306 {
39307 PyThreadState* __tstate = wxPyBeginAllowThreads();
39308 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
39309
39310 wxPyEndAllowThreads(__tstate);
39311 if (PyErr_Occurred()) SWIG_fail;
39312 }
39313 Py_INCREF(Py_None); resultobj = Py_None;
39314 return resultobj;
39315 fail:
39316 return NULL;
39317}
39318
39319
39320static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args, PyObject *kwargs) {
39321 PyObject *resultobj;
39322 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39323 wxWindow *arg2 = (wxWindow *) 0 ;
39324 int arg3 ;
39325 int arg4 ;
39326 PyObject * obj0 = 0 ;
39327 PyObject * obj1 = 0 ;
39328 PyObject * obj2 = 0 ;
39329 PyObject * obj3 = 0 ;
39330 char *kwnames[] = {
39331 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39332 };
39333
39334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
39335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39337 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39339 arg3 = (wxEdge) SWIG_AsInt(obj2);
39340 if (PyErr_Occurred()) SWIG_fail;
39341 arg4 = (int) SWIG_AsInt(obj3);
39342 if (PyErr_Occurred()) SWIG_fail;
39343 {
39344 PyThreadState* __tstate = wxPyBeginAllowThreads();
39345 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
39346
39347 wxPyEndAllowThreads(__tstate);
39348 if (PyErr_Occurred()) SWIG_fail;
39349 }
39350 Py_INCREF(Py_None); resultobj = Py_None;
39351 return resultobj;
39352 fail:
39353 return NULL;
39354}
39355
39356
39357static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args, PyObject *kwargs) {
39358 PyObject *resultobj;
39359 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39360 int arg2 ;
39361 PyObject * obj0 = 0 ;
39362 PyObject * obj1 = 0 ;
39363 char *kwnames[] = {
39364 (char *) "self",(char *) "val", NULL
39365 };
39366
39367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&obj1)) goto fail;
39368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39370 arg2 = (int) SWIG_AsInt(obj1);
39371 if (PyErr_Occurred()) SWIG_fail;
39372 {
39373 PyThreadState* __tstate = wxPyBeginAllowThreads();
39374 (arg1)->Absolute(arg2);
39375
39376 wxPyEndAllowThreads(__tstate);
39377 if (PyErr_Occurred()) SWIG_fail;
39378 }
39379 Py_INCREF(Py_None); resultobj = Py_None;
39380 return resultobj;
39381 fail:
39382 return NULL;
39383}
39384
39385
39386static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args, PyObject *kwargs) {
39387 PyObject *resultobj;
39388 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39389 PyObject * obj0 = 0 ;
39390 char *kwnames[] = {
39391 (char *) "self", NULL
39392 };
39393
39394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
39395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39397 {
39398 PyThreadState* __tstate = wxPyBeginAllowThreads();
39399 (arg1)->Unconstrained();
39400
39401 wxPyEndAllowThreads(__tstate);
39402 if (PyErr_Occurred()) SWIG_fail;
39403 }
39404 Py_INCREF(Py_None); resultobj = Py_None;
39405 return resultobj;
39406 fail:
39407 return NULL;
39408}
39409
39410
39411static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args, PyObject *kwargs) {
39412 PyObject *resultobj;
39413 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39414 PyObject * obj0 = 0 ;
39415 char *kwnames[] = {
39416 (char *) "self", NULL
39417 };
39418
39419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
39420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39422 {
39423 PyThreadState* __tstate = wxPyBeginAllowThreads();
39424 (arg1)->AsIs();
39425
39426 wxPyEndAllowThreads(__tstate);
39427 if (PyErr_Occurred()) SWIG_fail;
39428 }
39429 Py_INCREF(Py_None); resultobj = Py_None;
39430 return resultobj;
39431 fail:
39432 return NULL;
39433}
39434
39435
39436static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
39437 PyObject *resultobj;
39438 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39439 wxWindow *result;
39440 PyObject * obj0 = 0 ;
39441 char *kwnames[] = {
39442 (char *) "self", NULL
39443 };
39444
39445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
39446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39448 {
39449 PyThreadState* __tstate = wxPyBeginAllowThreads();
39450 result = (wxWindow *)(arg1)->GetOtherWindow();
39451
39452 wxPyEndAllowThreads(__tstate);
39453 if (PyErr_Occurred()) SWIG_fail;
39454 }
39455 {
39456 resultobj = wxPyMake_wxObject(result);
39457 }
39458 return resultobj;
39459 fail:
39460 return NULL;
39461}
39462
39463
39464static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39465 PyObject *resultobj;
39466 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39467 int result;
39468 PyObject * obj0 = 0 ;
39469 char *kwnames[] = {
39470 (char *) "self", NULL
39471 };
39472
39473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
39474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39476 {
39477 PyThreadState* __tstate = wxPyBeginAllowThreads();
39478 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
39479
39480 wxPyEndAllowThreads(__tstate);
39481 if (PyErr_Occurred()) SWIG_fail;
39482 }
39483 resultobj = SWIG_FromInt((int)result);
39484 return resultobj;
39485 fail:
39486 return NULL;
39487}
39488
39489
39490static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39491 PyObject *resultobj;
39492 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39493 int arg2 ;
39494 PyObject * obj0 = 0 ;
39495 PyObject * obj1 = 0 ;
39496 char *kwnames[] = {
39497 (char *) "self",(char *) "which", NULL
39498 };
39499
39500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&obj1)) goto fail;
39501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39503 arg2 = (wxEdge) SWIG_AsInt(obj1);
39504 if (PyErr_Occurred()) SWIG_fail;
39505 {
39506 PyThreadState* __tstate = wxPyBeginAllowThreads();
39507 (arg1)->SetEdge((wxEdge )arg2);
39508
39509 wxPyEndAllowThreads(__tstate);
39510 if (PyErr_Occurred()) SWIG_fail;
39511 }
39512 Py_INCREF(Py_None); resultobj = Py_None;
39513 return resultobj;
39514 fail:
39515 return NULL;
39516}
39517
39518
39519static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
39520 PyObject *resultobj;
39521 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39522 int arg2 ;
39523 PyObject * obj0 = 0 ;
39524 PyObject * obj1 = 0 ;
39525 char *kwnames[] = {
39526 (char *) "self",(char *) "v", NULL
39527 };
39528
39529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&obj1)) goto fail;
39530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39532 arg2 = (int) SWIG_AsInt(obj1);
39533 if (PyErr_Occurred()) SWIG_fail;
39534 {
39535 PyThreadState* __tstate = wxPyBeginAllowThreads();
39536 (arg1)->SetValue(arg2);
39537
39538 wxPyEndAllowThreads(__tstate);
39539 if (PyErr_Occurred()) SWIG_fail;
39540 }
39541 Py_INCREF(Py_None); resultobj = Py_None;
39542 return resultobj;
39543 fail:
39544 return NULL;
39545}
39546
39547
39548static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
39549 PyObject *resultobj;
39550 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39551 int result;
39552 PyObject * obj0 = 0 ;
39553 char *kwnames[] = {
39554 (char *) "self", NULL
39555 };
39556
39557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
39558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39560 {
39561 PyThreadState* __tstate = wxPyBeginAllowThreads();
39562 result = (int)(arg1)->GetMargin();
39563
39564 wxPyEndAllowThreads(__tstate);
39565 if (PyErr_Occurred()) SWIG_fail;
39566 }
39567 resultobj = SWIG_FromInt((int)result);
39568 return resultobj;
39569 fail:
39570 return NULL;
39571}
39572
39573
39574static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
39575 PyObject *resultobj;
39576 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39577 int arg2 ;
39578 PyObject * obj0 = 0 ;
39579 PyObject * obj1 = 0 ;
39580 char *kwnames[] = {
39581 (char *) "self",(char *) "m", NULL
39582 };
39583
39584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&obj1)) goto fail;
39585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39587 arg2 = (int) SWIG_AsInt(obj1);
39588 if (PyErr_Occurred()) SWIG_fail;
39589 {
39590 PyThreadState* __tstate = wxPyBeginAllowThreads();
39591 (arg1)->SetMargin(arg2);
39592
39593 wxPyEndAllowThreads(__tstate);
39594 if (PyErr_Occurred()) SWIG_fail;
39595 }
39596 Py_INCREF(Py_None); resultobj = Py_None;
39597 return resultobj;
39598 fail:
39599 return NULL;
39600}
39601
39602
39603static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
39604 PyObject *resultobj;
39605 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39606 int result;
39607 PyObject * obj0 = 0 ;
39608 char *kwnames[] = {
39609 (char *) "self", NULL
39610 };
39611
39612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
39613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39615 {
39616 PyThreadState* __tstate = wxPyBeginAllowThreads();
39617 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
39618
39619 wxPyEndAllowThreads(__tstate);
39620 if (PyErr_Occurred()) SWIG_fail;
39621 }
39622 resultobj = SWIG_FromInt((int)result);
39623 return resultobj;
39624 fail:
39625 return NULL;
39626}
39627
39628
39629static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *self, PyObject *args, PyObject *kwargs) {
39630 PyObject *resultobj;
39631 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39632 int result;
39633 PyObject * obj0 = 0 ;
39634 char *kwnames[] = {
39635 (char *) "self", NULL
39636 };
39637
39638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
39639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39641 {
39642 PyThreadState* __tstate = wxPyBeginAllowThreads();
39643 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
39644
39645 wxPyEndAllowThreads(__tstate);
39646 if (PyErr_Occurred()) SWIG_fail;
39647 }
39648 resultobj = SWIG_FromInt((int)result);
39649 return resultobj;
39650 fail:
39651 return NULL;
39652}
39653
39654
39655static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39656 PyObject *resultobj;
39657 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39658 int result;
39659 PyObject * obj0 = 0 ;
39660 char *kwnames[] = {
39661 (char *) "self", NULL
39662 };
39663
39664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
39665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39667 {
39668 PyThreadState* __tstate = wxPyBeginAllowThreads();
39669 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
39670
39671 wxPyEndAllowThreads(__tstate);
39672 if (PyErr_Occurred()) SWIG_fail;
39673 }
39674 resultobj = SWIG_FromInt((int)result);
39675 return resultobj;
39676 fail:
39677 return NULL;
39678}
39679
39680
39681static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
39682 PyObject *resultobj;
39683 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39684 bool result;
39685 PyObject * obj0 = 0 ;
39686 char *kwnames[] = {
39687 (char *) "self", NULL
39688 };
39689
39690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
39691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39693 {
39694 PyThreadState* __tstate = wxPyBeginAllowThreads();
39695 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
39696
39697 wxPyEndAllowThreads(__tstate);
39698 if (PyErr_Occurred()) SWIG_fail;
39699 }
39700 {
39701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39702 }
39703 return resultobj;
39704 fail:
39705 return NULL;
39706}
39707
39708
39709static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
39710 PyObject *resultobj;
39711 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39712 bool arg2 ;
39713 PyObject * obj0 = 0 ;
39714 PyObject * obj1 = 0 ;
39715 char *kwnames[] = {
39716 (char *) "self",(char *) "d", NULL
39717 };
39718
39719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
39720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39722 arg2 = (bool) SWIG_AsBool(obj1);
39723 if (PyErr_Occurred()) SWIG_fail;
39724 {
39725 PyThreadState* __tstate = wxPyBeginAllowThreads();
39726 (arg1)->SetDone(arg2);
39727
39728 wxPyEndAllowThreads(__tstate);
39729 if (PyErr_Occurred()) SWIG_fail;
39730 }
39731 Py_INCREF(Py_None); resultobj = Py_None;
39732 return resultobj;
39733 fail:
39734 return NULL;
39735}
39736
39737
39738static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
39739 PyObject *resultobj;
39740 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39741 int result;
39742 PyObject * obj0 = 0 ;
39743 char *kwnames[] = {
39744 (char *) "self", NULL
39745 };
39746
39747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
39748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39750 {
39751 PyThreadState* __tstate = wxPyBeginAllowThreads();
39752 result = (int)(arg1)->GetRelationship();
39753
39754 wxPyEndAllowThreads(__tstate);
39755 if (PyErr_Occurred()) SWIG_fail;
39756 }
39757 resultobj = SWIG_FromInt((int)result);
39758 return resultobj;
39759 fail:
39760 return NULL;
39761}
39762
39763
39764static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
39765 PyObject *resultobj;
39766 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39767 int arg2 ;
39768 PyObject * obj0 = 0 ;
39769 PyObject * obj1 = 0 ;
39770 char *kwnames[] = {
39771 (char *) "self",(char *) "r", NULL
39772 };
39773
39774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&obj1)) goto fail;
39775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39777 arg2 = (wxRelationship) SWIG_AsInt(obj1);
39778 if (PyErr_Occurred()) SWIG_fail;
39779 {
39780 PyThreadState* __tstate = wxPyBeginAllowThreads();
39781 (arg1)->SetRelationship((wxRelationship )arg2);
39782
39783 wxPyEndAllowThreads(__tstate);
39784 if (PyErr_Occurred()) SWIG_fail;
39785 }
39786 Py_INCREF(Py_None); resultobj = Py_None;
39787 return resultobj;
39788 fail:
39789 return NULL;
39790}
39791
39792
39793static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *self, PyObject *args, PyObject *kwargs) {
39794 PyObject *resultobj;
39795 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39796 wxWindow *arg2 = (wxWindow *) 0 ;
39797 bool result;
39798 PyObject * obj0 = 0 ;
39799 PyObject * obj1 = 0 ;
39800 char *kwnames[] = {
39801 (char *) "self",(char *) "otherW", NULL
39802 };
39803
39804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail;
39805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39807 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39809 {
39810 PyThreadState* __tstate = wxPyBeginAllowThreads();
39811 result = (bool)(arg1)->ResetIfWin(arg2);
39812
39813 wxPyEndAllowThreads(__tstate);
39814 if (PyErr_Occurred()) SWIG_fail;
39815 }
39816 {
39817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39818 }
39819 return resultobj;
39820 fail:
39821 return NULL;
39822}
39823
39824
39825static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
39826 PyObject *resultobj;
39827 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39828 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
39829 wxWindow *arg3 = (wxWindow *) 0 ;
39830 bool result;
39831 PyObject * obj0 = 0 ;
39832 PyObject * obj1 = 0 ;
39833 PyObject * obj2 = 0 ;
39834 char *kwnames[] = {
39835 (char *) "self",(char *) "constraints",(char *) "win", NULL
39836 };
39837
39838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
39839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39841 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
39842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39843 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
39844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39845 {
39846 PyThreadState* __tstate = wxPyBeginAllowThreads();
39847 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
39848
39849 wxPyEndAllowThreads(__tstate);
39850 if (PyErr_Occurred()) SWIG_fail;
39851 }
39852 {
39853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39854 }
39855 return resultobj;
39856 fail:
39857 return NULL;
39858}
39859
39860
39861static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39862 PyObject *resultobj;
39863 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39864 int arg2 ;
39865 wxWindow *arg3 = (wxWindow *) 0 ;
39866 wxWindow *arg4 = (wxWindow *) 0 ;
39867 int result;
39868 PyObject * obj0 = 0 ;
39869 PyObject * obj1 = 0 ;
39870 PyObject * obj2 = 0 ;
39871 PyObject * obj3 = 0 ;
39872 char *kwnames[] = {
39873 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
39874 };
39875
39876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
39877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39879 arg2 = (wxEdge) SWIG_AsInt(obj1);
39880 if (PyErr_Occurred()) SWIG_fail;
39881 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
39882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39883 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
39884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39885 {
39886 PyThreadState* __tstate = wxPyBeginAllowThreads();
39887 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
39888
39889 wxPyEndAllowThreads(__tstate);
39890 if (PyErr_Occurred()) SWIG_fail;
39891 }
39892 resultobj = SWIG_FromInt((int)result);
39893 return resultobj;
39894 fail:
39895 return NULL;
39896}
39897
39898
39899static PyObject * IndividualLayoutConstraint_swigregister(PyObject *self, PyObject *args) {
39900 PyObject *obj;
39901 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
39902 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
39903 Py_INCREF(obj);
39904 return Py_BuildValue((char *)"");
39905}
39906static PyObject *_wrap_LayoutConstraints_left_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39907 PyObject *resultobj;
39908 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39909 wxIndividualLayoutConstraint *result;
39910 PyObject * obj0 = 0 ;
39911 char *kwnames[] = {
39912 (char *) "self", NULL
39913 };
39914
39915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
39916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39918 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
39919
39920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
39921 return resultobj;
39922 fail:
39923 return NULL;
39924}
39925
39926
39927static PyObject *_wrap_LayoutConstraints_top_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39928 PyObject *resultobj;
39929 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39930 wxIndividualLayoutConstraint *result;
39931 PyObject * obj0 = 0 ;
39932 char *kwnames[] = {
39933 (char *) "self", NULL
39934 };
39935
39936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
39937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39939 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
39940
39941 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
39942 return resultobj;
39943 fail:
39944 return NULL;
39945}
39946
39947
39948static PyObject *_wrap_LayoutConstraints_right_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39949 PyObject *resultobj;
39950 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39951 wxIndividualLayoutConstraint *result;
39952 PyObject * obj0 = 0 ;
39953 char *kwnames[] = {
39954 (char *) "self", NULL
39955 };
39956
39957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
39958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39960 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
39961
39962 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
39963 return resultobj;
39964 fail:
39965 return NULL;
39966}
39967
39968
39969static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39970 PyObject *resultobj;
39971 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39972 wxIndividualLayoutConstraint *result;
39973 PyObject * obj0 = 0 ;
39974 char *kwnames[] = {
39975 (char *) "self", NULL
39976 };
39977
39978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
39979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39981 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
39982
39983 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
39984 return resultobj;
39985 fail:
39986 return NULL;
39987}
39988
39989
39990static PyObject *_wrap_LayoutConstraints_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39991 PyObject *resultobj;
39992 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39993 wxIndividualLayoutConstraint *result;
39994 PyObject * obj0 = 0 ;
39995 char *kwnames[] = {
39996 (char *) "self", NULL
39997 };
39998
39999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
40000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40002 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
40003
40004 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
40005 return resultobj;
40006 fail:
40007 return NULL;
40008}
40009
40010
40011static PyObject *_wrap_LayoutConstraints_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
40012 PyObject *resultobj;
40013 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40014 wxIndividualLayoutConstraint *result;
40015 PyObject * obj0 = 0 ;
40016 char *kwnames[] = {
40017 (char *) "self", NULL
40018 };
40019
40020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
40021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40023 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
40024
40025 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
40026 return resultobj;
40027 fail:
40028 return NULL;
40029}
40030
40031
40032static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *self, PyObject *args, PyObject *kwargs) {
40033 PyObject *resultobj;
40034 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40035 wxIndividualLayoutConstraint *result;
40036 PyObject * obj0 = 0 ;
40037 char *kwnames[] = {
40038 (char *) "self", NULL
40039 };
40040
40041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
40042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40044 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
40045
40046 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
40047 return resultobj;
40048 fail:
40049 return NULL;
40050}
40051
40052
40053static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *self, PyObject *args, PyObject *kwargs) {
40054 PyObject *resultobj;
40055 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40056 wxIndividualLayoutConstraint *result;
40057 PyObject * obj0 = 0 ;
40058 char *kwnames[] = {
40059 (char *) "self", NULL
40060 };
40061
40062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
40063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40065 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
40066
40067 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
40068 return resultobj;
40069 fail:
40070 return NULL;
40071}
40072
40073
40074static PyObject *_wrap_new_LayoutConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
40075 PyObject *resultobj;
40076 wxLayoutConstraints *result;
40077 char *kwnames[] = {
40078 NULL
40079 };
40080
40081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
40082 {
40083 PyThreadState* __tstate = wxPyBeginAllowThreads();
40084 result = (wxLayoutConstraints *)new wxLayoutConstraints();
40085
40086 wxPyEndAllowThreads(__tstate);
40087 if (PyErr_Occurred()) SWIG_fail;
40088 }
40089 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 1);
40090 return resultobj;
40091 fail:
40092 return NULL;
40093}
40094
40095
40096static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
40097 PyObject *resultobj;
40098 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40099 wxWindow *arg2 = (wxWindow *) 0 ;
40100 int *arg3 = (int *) 0 ;
40101 bool result;
40102 int temp3 ;
40103 PyObject * obj0 = 0 ;
40104 PyObject * obj1 = 0 ;
40105 char *kwnames[] = {
40106 (char *) "self",(char *) "win", NULL
40107 };
40108
40109 arg3 = &temp3;
40110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
40111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40113 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
40114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40115 {
40116 PyThreadState* __tstate = wxPyBeginAllowThreads();
40117 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
40118
40119 wxPyEndAllowThreads(__tstate);
40120 if (PyErr_Occurred()) SWIG_fail;
40121 }
40122 {
40123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40124 }
40125 {
40126 PyObject *o = PyInt_FromLong((long) (*arg3));
40127 resultobj = t_output_helper(resultobj,o);
40128 }
40129 return resultobj;
40130 fail:
40131 return NULL;
40132}
40133
40134
40135static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *self, PyObject *args, PyObject *kwargs) {
40136 PyObject *resultobj;
40137 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40138 bool result;
40139 PyObject * obj0 = 0 ;
40140 char *kwnames[] = {
40141 (char *) "self", NULL
40142 };
40143
40144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
40145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40147 {
40148 PyThreadState* __tstate = wxPyBeginAllowThreads();
40149 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
40150
40151 wxPyEndAllowThreads(__tstate);
40152 if (PyErr_Occurred()) SWIG_fail;
40153 }
40154 {
40155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40156 }
40157 return resultobj;
40158 fail:
40159 return NULL;
40160}
40161
40162
40163static PyObject * LayoutConstraints_swigregister(PyObject *self, PyObject *args) {
40164 PyObject *obj;
40165 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
40166 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
40167 Py_INCREF(obj);
40168 return Py_BuildValue((char *)"");
40169}
40170static PyMethodDef SwigMethods[] = {
40171 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS },
40172 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects, METH_VARARGS },
40173 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS },
40174 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS },
40175 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS },
40176 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS },
40177 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS },
40178 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS },
40179 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS },
40180 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS },
40181 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS },
40182 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS },
40183 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS },
40184 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS },
40185 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS },
40186 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS },
40187 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS },
40188 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS },
40189 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS },
40190 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS },
40191 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS },
40192 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS },
40193 { (char *)"Size_IsFullySpecified", (PyCFunction) _wrap_Size_IsFullySpecified, METH_VARARGS | METH_KEYWORDS },
40194 { (char *)"Size_SetDefaults", (PyCFunction) _wrap_Size_SetDefaults, METH_VARARGS | METH_KEYWORDS },
40195 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS },
40196 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS },
40197 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS },
40198 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS },
40199 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS },
40200 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS },
40201 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS },
40202 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS },
40203 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS },
40204 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS },
40205 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS },
40206 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS },
40207 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS },
40208 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS },
40209 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS },
40210 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS },
40211 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS },
40212 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS },
40213 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS },
40214 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS },
40215 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS },
40216 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS },
40217 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS },
40218 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS },
40219 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS },
40220 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS },
40221 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS },
40222 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS },
40223 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS },
40224 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
40225 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS },
40226 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS },
40227 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS },
40228 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS },
40229 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS },
40230 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS },
40231 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS },
40232 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS },
40233 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS },
40234 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS },
40235 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS },
40236 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS },
40237 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS },
40238 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS },
40239 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS },
40240 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS },
40241 { (char *)"Rect_GetTopLeft", (PyCFunction) _wrap_Rect_GetTopLeft, METH_VARARGS | METH_KEYWORDS },
40242 { (char *)"Rect_SetTopLeft", (PyCFunction) _wrap_Rect_SetTopLeft, METH_VARARGS | METH_KEYWORDS },
40243 { (char *)"Rect_GetBottomRight", (PyCFunction) _wrap_Rect_GetBottomRight, METH_VARARGS | METH_KEYWORDS },
40244 { (char *)"Rect_SetBottomRight", (PyCFunction) _wrap_Rect_SetBottomRight, METH_VARARGS | METH_KEYWORDS },
40245 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS },
40246 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS },
40247 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS },
40248 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS },
40249 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS },
40250 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS },
40251 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS },
40252 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS },
40253 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS },
40254 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS },
40255 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS },
40256 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS },
40257 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS },
40258 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS },
40259 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS },
40260 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS },
40261 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS },
40262 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS },
40263 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS },
40264 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS },
40265 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS },
40266 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS },
40267 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS },
40268 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS },
40269 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS },
40270 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS },
40271 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS },
40272 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS },
40273 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS },
40274 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS },
40275 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
40276 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS },
40277 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS },
40278 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS },
40279 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS },
40280 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS },
40281 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS },
40282 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS },
40283 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS },
40284 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS },
40285 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS },
40286 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS },
40287 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS },
40288 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS },
40289 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS },
40290 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS },
40291 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS },
40292 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS },
40293 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS },
40294 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS },
40295 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS },
40296 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS },
40297 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS },
40298 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS },
40299 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS },
40300 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS },
40301 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS },
40302 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS },
40303 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS },
40304 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS },
40305 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS },
40306 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS },
40307 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS },
40308 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS },
40309 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS },
40310 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS },
40311 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS },
40312 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS },
40313 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS },
40314 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS },
40315 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS },
40316 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS },
40317 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS },
40318 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS },
40319 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS },
40320 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS },
40321 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS },
40322 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS },
40323 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS },
40324 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS },
40325 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS },
40326 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS },
40327 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS },
40328 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS },
40329 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS },
40330 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS },
40331 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS },
40332 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS },
40333 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS },
40334 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
40335 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40336 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40337 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
40338 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
40339 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS },
40340 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS },
40341 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS },
40342 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS },
40343 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS },
40344 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS },
40345 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS },
40346 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS },
40347 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS },
40348 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS },
40349 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS },
40350 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS },
40351 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS },
40352 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS },
40353 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS },
40354 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS },
40355 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS },
40356 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS },
40357 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS },
40358 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40359 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40360 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS },
40361 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS },
40362 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40363 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40364 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
40365 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
40366 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS },
40367 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS },
40368 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS },
40369 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS },
40370 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS },
40371 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS },
40372 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40373 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40374 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
40375 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
40376 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS },
40377 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS },
40378 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS },
40379 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS },
40380 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS },
40381 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS },
40382 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS },
40383 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS },
40384 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS },
40385 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS },
40386 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS },
40387 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS },
40388 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS },
40389 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
40390 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS },
40391 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS },
40392 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS },
40393 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS },
40394 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS },
40395 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS },
d6c14a4c 40396 { (char *)"new_EmptyImage", (PyCFunction) _wrap_new_EmptyImage, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
40397 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS },
40398 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS },
40399 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS },
40400 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS },
40401 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS },
40402 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS },
40403 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS },
40404 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS },
40405 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS },
40406 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS },
40407 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS },
40408 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS },
40409 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS },
40410 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS },
40411 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
40412 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS },
40413 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS },
40414 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS },
40415 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS },
40416 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS },
40417 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS },
40418 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS },
40419 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS },
40420 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS },
40421 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS },
40422 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS },
40423 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS },
40424 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS },
40425 { (char *)"Image_GetSize", (PyCFunction) _wrap_Image_GetSize, METH_VARARGS | METH_KEYWORDS },
40426 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS },
40427 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS },
40428 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS },
40429 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS },
40430 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS },
40431 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS },
40432 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS },
40433 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS },
40434 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS },
40435 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
40436 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
40437 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS },
40438 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS },
40439 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS },
40440 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS },
40441 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS },
40442 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS },
40443 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS },
40444 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS },
40445 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS },
40446 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS },
40447 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS },
40448 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS },
40449 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
40450 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS },
40451 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
40452 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS },
40453 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS },
40454 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS },
40455 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS },
40456 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS },
40457 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS },
40458 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS },
40459 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
40460 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS },
40461 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS },
40462 { (char *)"InitAllImageHandlers", (PyCFunction) _wrap_InitAllImageHandlers, METH_VARARGS | METH_KEYWORDS },
40463 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS },
40464 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS },
40465 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS },
40466 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS },
40467 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS },
40468 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS },
40469 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS },
40470 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS },
40471 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS },
40472 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS },
40473 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS },
40474 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS },
40475 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS },
40476 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS },
40477 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS },
40478 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS },
40479 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS },
40480 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS },
40481 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS },
40482 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS },
40483 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS },
40484 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS },
40485 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS },
40486 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
40487 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
40488 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
40489 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
40490 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
40491 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
40492 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
40493 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
40494 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
40495 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
40496 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
40497 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
40498 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS },
40499 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS },
40500 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS },
40501 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS },
40502 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS },
40503 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS },
40504 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS },
40505 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
40506 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
40507 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS },
40508 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS },
40509 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS },
40510 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS },
40511 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS },
40512 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS },
40513 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS },
40514 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS },
40515 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS },
40516 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS },
40517 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
40518 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
40519 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS },
40520 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
40521 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
40522 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS },
40523 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS },
40524 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
40525 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS },
40526 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS },
40527 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS },
40528 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS },
40529 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS },
40530 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS },
40531 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS },
40532 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS },
40533 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS },
40534 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS },
40535 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS },
40536 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS },
40537 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS },
40538 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS },
40539 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS },
40540 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS },
40541 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
40542 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40543 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
40544 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
40545 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS },
40546 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS },
40547 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
40548 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40549 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
40550 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
40551 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS },
40552 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS },
40553 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
40554 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
40555 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS },
40556 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
40557 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS },
40558 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
40559 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS },
40560 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
40561 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
40562 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
40563 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
40564 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS },
40565 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS },
40566 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS },
40567 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS },
40568 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS },
40569 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS },
40570 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS },
40571 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS },
40572 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS },
40573 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS },
40574 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS },
40575 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS },
40576 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS },
40577 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS },
40578 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS },
40579 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS },
40580 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40581 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
40582 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS },
40583 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS },
40584 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS },
40585 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS },
40586 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS },
40587 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS },
40588 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS },
40589 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
40590 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
40591 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
40592 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
40593 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS },
40594 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS },
40595 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS },
40596 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS },
40597 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS },
40598 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS },
40599 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
40600 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
40601 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
40602 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
40603 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
40604 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
40605 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
40606 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
40607 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS },
40608 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS },
40609 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS },
40610 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS },
40611 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS },
40612 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS },
40613 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS },
40614 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS },
40615 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS },
40616 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS },
40617 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS },
40618 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS },
40619 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS },
40620 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS },
40621 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS },
40622 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
40623 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
40624 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
40625 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
40626 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS },
40627 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
40628 { (char *)"KeyEvent_GetUniChar", (PyCFunction) _wrap_KeyEvent_GetUniChar, METH_VARARGS | METH_KEYWORDS },
40629 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS },
40630 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS },
40631 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40632 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
40633 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS },
40634 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS },
40635 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
40636 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
40637 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
40638 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
40639 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS },
40640 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS },
40641 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
40642 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
40643 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
40644 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
40645 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
40646 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
40647 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
40648 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
40649 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS },
40650 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS },
40651 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS },
40652 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS },
40653 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS },
40654 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS },
40655 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS },
40656 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS },
40657 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
40658 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
40659 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
40660 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
40661 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS },
40662 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS },
40663 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
40664 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
40665 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS },
40666 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS },
40667 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40668 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
40669 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
40670 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
40671 { (char *)"MoveEvent_m_pos_set", (PyCFunction) _wrap_MoveEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
40672 { (char *)"MoveEvent_m_pos_get", (PyCFunction) _wrap_MoveEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
40673 { (char *)"MoveEvent_m_rect_set", (PyCFunction) _wrap_MoveEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
40674 { (char *)"MoveEvent_m_rect_get", (PyCFunction) _wrap_MoveEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
40675 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS },
40676 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS },
40677 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS },
40678 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS },
40679 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS },
40680 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS },
40681 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS },
40682 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS },
40683 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS },
40684 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
40685 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS },
40686 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS },
40687 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS },
40688 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
40689 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS },
40690 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS },
40691 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS },
40692 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS },
40693 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS },
40694 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS },
40695 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS },
40696 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS },
40697 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS },
40698 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS },
40699 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS },
40700 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS },
40701 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS },
40702 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS },
40703 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS },
40704 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS },
40705 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS },
40706 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS },
40707 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS },
40708 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS },
40709 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS },
40710 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS },
40711 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS },
40712 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS },
40713 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS },
40714 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS },
40715 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS },
40716 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS },
40717 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40718 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS },
40719 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS },
40720 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS },
40721 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS },
40722 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS },
40723 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS },
40724 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS },
40725 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS },
40726 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS },
40727 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS },
40728 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS },
40729 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS },
40730 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS },
40731 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
40732 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
40733 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS },
40734 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS },
40735 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
40736 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
40737 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS },
40738 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS },
40739 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS },
40740 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS },
40741 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS },
40742 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS },
40743 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS },
40744 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS },
40745 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS },
40746 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS },
40747 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS },
40748 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS },
40749 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS },
40750 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
40751 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
40752 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS },
40753 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS },
40754 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS },
40755 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS },
40756 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS },
40757 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS },
40758 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
40759 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
40760 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS },
40761 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS },
40762 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
40763 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS },
40764 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS },
40765 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
40766 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS },
40767 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS },
40768 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40769 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
40770 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS },
40771 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS },
40772 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS },
40773 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS },
40774 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
40775 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
40776 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS },
40777 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS },
40778 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS },
40779 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS },
40780 { (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
40781 { (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
40782 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS },
40783 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
40784 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
40785 { (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
40786 { (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
40787 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS },
40788 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS },
40789 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS },
40790 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
40791 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS },
40792 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS },
40793 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS },
40794 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS },
40795 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS },
40796 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS },
40797 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS },
40798 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
40799 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS },
40800 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
40801 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS },
40802 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS },
40803 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS },
40804 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS },
40805 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS },
40806 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS },
40807 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS },
40808 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS },
40809 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS },
40810 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS },
40811 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
40812 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
40813 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
40814 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
40815 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
40816 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
40817 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS },
40818 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS },
40819 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
40820 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
40821 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
40822 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
40823 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
40824 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
40825 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
40826 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
40827 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
40828 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
40829 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS },
40830 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS },
40831 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS },
40832 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS },
40833 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS },
40834 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS },
40835 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS },
40836 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
40837 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS },
40838 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS },
40839 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS },
40840 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
40841 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
40842 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
40843 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS },
40844 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
40845 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS },
40846 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS },
40847 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40848 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40849 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS },
40850 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS },
40851 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS },
40852 { (char *)"new_VisualAttributes", (PyCFunction) _wrap_new_VisualAttributes, METH_VARARGS | METH_KEYWORDS },
40853 { (char *)"delete_VisualAttributes", (PyCFunction) _wrap_delete_VisualAttributes, METH_VARARGS | METH_KEYWORDS },
40854 { (char *)"VisualAttributes_font_set", (PyCFunction) _wrap_VisualAttributes_font_set, METH_VARARGS | METH_KEYWORDS },
40855 { (char *)"VisualAttributes_font_get", (PyCFunction) _wrap_VisualAttributes_font_get, METH_VARARGS | METH_KEYWORDS },
40856 { (char *)"VisualAttributes_colFg_set", (PyCFunction) _wrap_VisualAttributes_colFg_set, METH_VARARGS | METH_KEYWORDS },
40857 { (char *)"VisualAttributes_colFg_get", (PyCFunction) _wrap_VisualAttributes_colFg_get, METH_VARARGS | METH_KEYWORDS },
40858 { (char *)"VisualAttributes_colBg_set", (PyCFunction) _wrap_VisualAttributes_colBg_set, METH_VARARGS | METH_KEYWORDS },
40859 { (char *)"VisualAttributes_colBg_get", (PyCFunction) _wrap_VisualAttributes_colBg_get, METH_VARARGS | METH_KEYWORDS },
40860 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister, METH_VARARGS },
40861 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS },
40862 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS },
40863 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS },
40864 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS },
40865 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS },
40866 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
40867 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
40868 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS },
40869 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS },
40870 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS },
40871 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS },
40872 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS },
40873 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS },
40874 { (char *)"Window_SetWindowVariant", (PyCFunction) _wrap_Window_SetWindowVariant, METH_VARARGS | METH_KEYWORDS },
40875 { (char *)"Window_GetWindowVariant", (PyCFunction) _wrap_Window_GetWindowVariant, METH_VARARGS | METH_KEYWORDS },
40876 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS },
40877 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS },
40878 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS },
40879 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS },
40880 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS },
40881 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS },
40882 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS },
40883 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS },
40884 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
40885 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS },
40886 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS },
40887 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS },
40888 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS },
40889 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS },
40890 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
40891 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS },
40892 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS },
40893 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
40894 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS },
40895 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
40896 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS },
40897 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS },
40898 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
40899 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
40900 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS },
40901 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS },
40902 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS },
40903 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS },
40904 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS },
40905 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
40906 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
40907 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS },
40908 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS },
40909 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints, METH_VARARGS },
40910 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints, METH_VARARGS },
40911 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS },
40912 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS },
40913 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS },
40914 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS },
40915 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
40916 { (char *)"Window_GetMinSize", (PyCFunction) _wrap_Window_GetMinSize, METH_VARARGS | METH_KEYWORDS },
40917 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS },
40918 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS },
40919 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
40920 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS },
40921 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS },
40922 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS },
40923 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS },
40924 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS },
40925 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS },
40926 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS },
40927 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS },
40928 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
40929 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
40930 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS },
40931 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS },
40932 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
40933 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS },
40934 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS },
40935 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
40936 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
40937 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS },
40938 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS },
40939 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS },
40940 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
40941 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
40942 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
40943 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
40944 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS },
40945 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS },
40946 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS },
40947 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
40948 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
40949 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS },
40950 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS },
40951 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS },
40952 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS },
40953 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
40954 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
40955 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
40956 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
40957 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
40958 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
40959 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS },
40960 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS },
40961 { (char *)"Window_Validate", (PyCFunction) _wrap_Window_Validate, METH_VARARGS | METH_KEYWORDS },
40962 { (char *)"Window_TransferDataToWindow", (PyCFunction) _wrap_Window_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
40963 { (char *)"Window_TransferDataFromWindow", (PyCFunction) _wrap_Window_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
40964 { (char *)"Window_InitDialog", (PyCFunction) _wrap_Window_InitDialog, METH_VARARGS | METH_KEYWORDS },
40965 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40966 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40967 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS },
40968 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS },
40969 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
40970 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
40971 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS },
40972 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS },
40973 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
40974 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
40975 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS },
40976 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
40977 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
40978 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS },
40979 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS },
40980 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS },
40981 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS },
40982 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS },
40983 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS },
40984 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS },
40985 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS },
40986 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS },
40987 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
40988 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS },
40989 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS },
40990 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
40991 { (char *)"Window_IsExposedRect", (PyCFunction) _wrap_Window_IsExposedRect, METH_VARARGS | METH_KEYWORDS },
40992 { (char *)"Window_GetDefaultAttributes", (PyCFunction) _wrap_Window_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
40993 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction) _wrap_Window_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
40994 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
40995 { (char *)"Window_SetDefaultBackgroundColour", (PyCFunction) _wrap_Window_SetDefaultBackgroundColour, METH_VARARGS | METH_KEYWORDS },
40996 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
40997 { (char *)"Window_SetDefaultForegroundColour", (PyCFunction) _wrap_Window_SetDefaultForegroundColour, METH_VARARGS | METH_KEYWORDS },
40998 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
40999 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
41000 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS },
41001 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS },
41002 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS },
41003 { (char *)"Window_SetDefaultFont", (PyCFunction) _wrap_Window_SetDefaultFont, METH_VARARGS | METH_KEYWORDS },
41004 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS },
41005 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS },
41006 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS },
41007 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
41008 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
41009 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
41010 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
41011 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
41012 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
41013 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
41014 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
41015 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS },
41016 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS },
41017 { (char *)"Window_GetBorder", _wrap_Window_GetBorder, METH_VARARGS },
41018 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
41019 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
41020 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS },
41021 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS },
41022 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
41023 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
41024 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
41025 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
41026 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
41027 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
41028 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
41029 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS },
41030 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS },
41031 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS },
41032 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS },
41033 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS },
41034 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS },
41035 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS },
41036 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
41037 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS },
41038 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
41039 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS },
41040 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS },
41041 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
41042 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
41043 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS },
41044 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS },
41045 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
41046 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
41047 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS },
41048 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS },
41049 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS },
41050 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS },
41051 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
41052 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
41053 { (char *)"Window_InheritAttributes", (PyCFunction) _wrap_Window_InheritAttributes, METH_VARARGS | METH_KEYWORDS },
41054 { (char *)"Window_ShouldInheritColours", (PyCFunction) _wrap_Window_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
41055 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS },
41056 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS },
41057 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
41058 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
41059 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS },
41060 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS },
41061 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS },
41062 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS },
41063 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS },
41064 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS },
41065 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS },
41066 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS },
41067 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS },
41068 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
41069 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS },
41070 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS },
41071 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
41072 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS },
41073 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS },
41074 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS },
41075 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
41076 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
41077 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
41078 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
41079 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS },
41080 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS },
41081 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS },
41082 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS },
41083 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
41084 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
41085 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
41086 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
41087 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS },
41088 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS },
41089 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
41090 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
41091 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
41092 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
41093 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS },
41094 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
41095 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS },
41096 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
41097 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS },
41098 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS },
41099 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
41100 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
41101 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
41102 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS },
41103 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS },
41104 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS },
41105 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS },
41106 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
41107 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS },
41108 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS },
41109 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS },
41110 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS },
41111 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
41112 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
41113 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS },
41114 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS },
41115 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
41116 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
41117 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
41118 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
41119 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS },
41120 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
41121 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
41122 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS },
41123 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS },
41124 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS },
41125 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS },
41126 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS },
41127 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS },
41128 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS },
41129 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS },
41130 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
41131 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
41132 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
41133 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
41134 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
41135 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
41136 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS },
41137 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
41138 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
41139 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
41140 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
41141 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
41142 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
41143 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS },
41144 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
41145 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
41146 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
41147 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
41148 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
41149 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
41150 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS },
41151 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS },
41152 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS },
41153 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS },
41154 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS },
41155 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS },
41156 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
41157 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS },
41158 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
41159 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
41160 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
41161 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
41162 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
41163 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
41164 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
41165 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
41166 { (char *)"MenuItem_SetKind", (PyCFunction) _wrap_MenuItem_SetKind, METH_VARARGS | METH_KEYWORDS },
41167 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
41168 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
41169 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
41170 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
41171 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
41172 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
41173 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
41174 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS },
41175 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
41176 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
41177 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
41178 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
41179 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
41180 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
41181 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS },
41182 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS },
41183 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS },
41184 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS },
41185 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS },
41186 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS },
41187 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS },
41188 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS },
41189 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS },
41190 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS },
41191 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction) _wrap_Control_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
41192 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS },
41193 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS },
41194 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS },
41195 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS },
41196 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS },
41197 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS },
41198 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS },
41199 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS },
41200 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS },
41201 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS },
41202 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS },
41203 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS },
41204 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS },
41205 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS },
41206 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
41207 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS },
41208 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS },
41209 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS },
41210 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS },
41211 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS },
41212 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
41213 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS },
41214 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS },
41215 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
41216 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS },
41217 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS },
41218 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
41219 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
41220 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS },
41221 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS },
41222 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS },
41223 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS },
41224 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS },
41225 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS },
41226 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS },
41227 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS },
41228 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS },
41229 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS },
41230 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS },
41231 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS },
41232 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS },
41233 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS },
41234 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS },
41235 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS },
41236 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS },
41237 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS },
41238 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS },
41239 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS },
41240 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS },
41241 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS },
41242 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS },
41243 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS },
41244 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS },
41245 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS },
41246 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
41247 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS },
41248 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS },
41249 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS },
41250 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS },
1a6bba1e 41251 { (char *)"Sizer_Detach", (PyCFunction) _wrap_Sizer_Detach, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
41252 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS },
41253 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS },
41254 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS },
41255 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS },
41256 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS },
41257 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS },
41258 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS },
41259 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS },
41260 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS },
41261 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41262 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41263 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS },
41264 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS },
41265 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS },
41266 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
41267 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
41268 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS },
41269 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
41270 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS },
41271 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS },
41272 { (char *)"Sizer_Hide", (PyCFunction) _wrap_Sizer_Hide, METH_VARARGS | METH_KEYWORDS },
41273 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS },
41274 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS },
41275 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS },
41276 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS },
41277 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
41278 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS },
41279 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS },
41280 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS },
41281 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS },
41282 { (char *)"BoxSizer_RecalcSizes", (PyCFunction) _wrap_BoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41283 { (char *)"BoxSizer_CalcMin", (PyCFunction) _wrap_BoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41284 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS },
41285 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS },
41286 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS },
41287 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction) _wrap_StaticBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41288 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction) _wrap_StaticBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41289 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS },
41290 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS },
41291 { (char *)"GridSizer_RecalcSizes", (PyCFunction) _wrap_GridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41292 { (char *)"GridSizer_CalcMin", (PyCFunction) _wrap_GridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41293 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS },
41294 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS },
41295 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS },
41296 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS },
41297 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS },
41298 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS },
41299 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS },
41300 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS },
41301 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS },
41302 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS },
41303 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction) _wrap_FlexGridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41304 { (char *)"FlexGridSizer_CalcMin", (PyCFunction) _wrap_FlexGridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41305 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS },
41306 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS },
41307 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS },
41308 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS },
41309 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
41310 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
41311 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
41312 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
41313 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS },
41314 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS },
41315 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS },
41316 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS },
41317 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS },
41318 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS },
41319 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS },
41320 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS },
41321 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS },
41322 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS },
41323 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS },
41324 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS },
41325 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS },
41326 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS },
41327 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS },
41328 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS },
41329 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS },
41330 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS },
41331 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS },
41332 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS },
41333 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS },
41334 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS },
41335 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS },
41336 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS },
41337 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS },
41338 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS },
41339 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
41340 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS },
41341 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS },
41342 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS },
41343 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS },
41344 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects, METH_VARARGS },
41345 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS },
41346 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS },
41347 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS },
41348 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS },
41349 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS },
41350 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS },
41351 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS },
41352 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
41353 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
41354 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS },
41355 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS },
41356 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS },
41357 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS },
41358 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS },
41359 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS },
41360 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS },
41361 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction) _wrap_GridBagSizer_FindItemWithData, METH_VARARGS | METH_KEYWORDS },
41362 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction) _wrap_GridBagSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41363 { (char *)"GridBagSizer_CalcMin", (PyCFunction) _wrap_GridBagSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41364 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS },
41365 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS },
41366 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS },
41367 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS },
41368 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS },
41369 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS },
41370 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS },
41371 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS },
41372 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS },
41373 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS },
41374 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS },
41375 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS },
41376 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS },
41377 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS },
41378 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS },
41379 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS },
41380 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS },
41381 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS },
41382 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS },
41383 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS },
41384 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS },
41385 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS },
41386 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS },
41387 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS },
41388 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS },
41389 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS },
41390 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS },
41391 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS },
41392 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS },
41393 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS },
41394 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS },
41395 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS },
41396 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS },
41397 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS },
41398 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS },
41399 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS },
41400 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS },
41401 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS },
41402 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS },
41403 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS },
41404 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS },
41405 { NULL, NULL }
41406};
41407
41408
41409/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41410
41411static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
41412 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
41413}
41414static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
41415 return (void *)((wxSizer *) ((wxBoxSizer *) x));
41416}
41417static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
41418 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
41419}
41420static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
41421 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
41422}
41423static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
41424 return (void *)((wxSizer *) ((wxGridSizer *) x));
41425}
41426static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
41427 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
41428}
41429static void *_p_wxPySizerTo_p_wxSizer(void *x) {
41430 return (void *)((wxSizer *) ((wxPySizer *) x));
41431}
41432static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
41433 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
41434}
41435static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
41436 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
41437}
41438static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
41439 return (void *)((wxEvent *) ((wxMenuEvent *) x));
41440}
41441static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
41442 return (void *)((wxEvent *) ((wxCloseEvent *) x));
41443}
41444static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
41445 return (void *)((wxEvent *) ((wxMouseEvent *) x));
41446}
41447static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
41448 return (void *)((wxEvent *) ((wxEraseEvent *) x));
41449}
41450static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
41451 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
41452}
41453static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
41454 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
41455}
41456static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
41457 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
41458}
41459static void *_p_wxPyEventTo_p_wxEvent(void *x) {
41460 return (void *)((wxEvent *) ((wxPyEvent *) x));
41461}
41462static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
41463 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
41464}
41465static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
41466 return (void *)((wxEvent *) ((wxIdleEvent *) x));
41467}
41468static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
41469 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
41470}
41471static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
41472 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
41473}
41474static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
41475 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
41476}
41477static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
41478 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
41479}
41480static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
41481 return (void *)((wxEvent *) ((wxActivateEvent *) x));
41482}
41483static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
41484 return (void *)((wxEvent *) ((wxSizeEvent *) x));
41485}
41486static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
41487 return (void *)((wxEvent *) ((wxMoveEvent *) x));
41488}
41489static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
41490 return (void *)((wxEvent *) ((wxPaintEvent *) x));
41491}
41492static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
41493 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
41494}
41495static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
41496 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
41497}
41498static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
41499 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
41500}
41501static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
41502 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
41503}
41504static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
41505 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
41506}
41507static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
41508 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
41509}
41510static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
41511 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
41512}
41513static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
41514 return (void *)((wxEvent *) ((wxFocusEvent *) x));
41515}
41516static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
41517 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
41518}
41519static void *_p_wxShowEventTo_p_wxEvent(void *x) {
41520 return (void *)((wxEvent *) ((wxShowEvent *) x));
41521}
41522static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
41523 return (void *)((wxEvent *) ((wxCommandEvent *) x));
41524}
41525static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
41526 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
41527}
41528static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
41529 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
41530}
41531static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
41532 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
41533}
41534static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
41535 return (void *)((wxEvent *) ((wxKeyEvent *) x));
41536}
41537static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
41538 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
41539}
41540static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
41541 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
41542}
41543static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
41544 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
41545}
41546static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
41547 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
41548}
41549static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
41550 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
41551}
41552static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
41553 return (void *)((wxControl *) ((wxControlWithItems *) x));
41554}
41555static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
41556 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
41557}
41558static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
41559 return (void *)((wxEvtHandler *) ((wxWindow *) x));
41560}
41561static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
41562 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
41563}
41564static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
41565 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
41566}
41567static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
41568 return (void *)((wxEvtHandler *) ((wxValidator *) x));
41569}
41570static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
41571 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
41572}
41573static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
41574 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
41575}
41576static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
41577 return (void *)((wxEvtHandler *) ((wxMenu *) x));
41578}
41579static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
41580 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
41581}
41582static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
41583 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
41584}
41585static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
41586 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
41587}
41588static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
41589 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
41590}
41591static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
41592 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
41593}
41594static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
41595 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
41596}
41597static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
41598 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
41599}
41600static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
41601 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
41602}
41603static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
41604 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
41605}
41606static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
41607 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
41608}
41609static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
41610 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
41611}
41612static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
41613 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
41614}
41615static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
41616 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
41617}
41618static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
41619 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
41620}
41621static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
41622 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
41623}
41624static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
41625 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
41626}
41627static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
41628 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
41629}
41630static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
41631 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
41632}
41633static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
41634 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
41635}
41636static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
41637 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
41638}
41639static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
41640 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
41641}
41642static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
41643 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
41644}
41645static void *_p_wxMenuEventTo_p_wxObject(void *x) {
41646 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
41647}
41648static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
41649 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
41650}
41651static void *_p_wxEraseEventTo_p_wxObject(void *x) {
41652 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
41653}
41654static void *_p_wxMouseEventTo_p_wxObject(void *x) {
41655 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
41656}
41657static void *_p_wxCloseEventTo_p_wxObject(void *x) {
41658 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
41659}
41660static void *_p_wxValidatorTo_p_wxObject(void *x) {
41661 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
41662}
41663static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
41664 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
41665}
41666static void *_p_wxMenuBarTo_p_wxObject(void *x) {
41667 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
41668}
41669static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
41670 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
41671}
41672static void *_p_wxSizerTo_p_wxObject(void *x) {
41673 return (void *)((wxObject *) ((wxSizer *) x));
41674}
41675static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
41676 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
41677}
41678static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
41679 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
41680}
41681static void *_p_wxMenuTo_p_wxObject(void *x) {
41682 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
41683}
41684static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
41685 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
41686}
41687static void *_p_wxImageTo_p_wxObject(void *x) {
41688 return (void *)((wxObject *) ((wxImage *) x));
41689}
41690static void *_p_wxScrollEventTo_p_wxObject(void *x) {
41691 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
41692}
41693static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
41694 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
41695}
41696static void *_p_wxPyEventTo_p_wxObject(void *x) {
41697 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
41698}
41699static void *_p_wxWindowTo_p_wxObject(void *x) {
41700 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
41701}
41702static void *_p_wxControlTo_p_wxObject(void *x) {
41703 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
41704}
41705static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
41706 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
41707}
41708static void *_p_wxGridSizerTo_p_wxObject(void *x) {
41709 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
41710}
41711static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
41712 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
41713}
41714static void *_p_wxPyAppTo_p_wxObject(void *x) {
41715 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
41716}
41717static void *_p_wxEventTo_p_wxObject(void *x) {
41718 return (void *)((wxObject *) ((wxEvent *) x));
41719}
41720static void *_p_wxActivateEventTo_p_wxObject(void *x) {
41721 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
41722}
41723static void *_p_wxMoveEventTo_p_wxObject(void *x) {
41724 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
41725}
41726static void *_p_wxSizeEventTo_p_wxObject(void *x) {
41727 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
41728}
41729static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
41730 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
41731}
41732static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
41733 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
41734}
41735static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
41736 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
41737}
41738static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
41739 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
41740}
41741static void *_p_wxIdleEventTo_p_wxObject(void *x) {
41742 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
41743}
41744static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
41745 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
41746}
41747static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
41748 return (void *)((wxObject *) ((wxEvtHandler *) x));
41749}
41750static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
41751 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
41752}
41753static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
41754 return (void *)((wxObject *) ((wxImageHandler *) x));
41755}
41756static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
41757 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
41758}
41759static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
41760 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
41761}
41762static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
41763 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
41764}
41765static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
41766 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
41767}
41768static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
41769 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
41770}
41771static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
41772 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
41773}
41774static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
41775 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
41776}
41777static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
41778 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
41779}
41780static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
41781 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
41782}
41783static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
41784 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
41785}
41786static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
41787 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
41788}
41789static void *_p_wxPaintEventTo_p_wxObject(void *x) {
41790 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
41791}
41792static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
41793 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
41794}
41795static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
41796 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
41797}
41798static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
41799 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
41800}
41801static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
41802 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
41803}
41804static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
41805 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
41806}
41807static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
41808 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
41809}
41810static void *_p_wxFileSystemTo_p_wxObject(void *x) {
41811 return (void *)((wxObject *) ((wxFileSystem *) x));
41812}
41813static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
41814 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
41815}
41816static void *_p_wxFocusEventTo_p_wxObject(void *x) {
41817 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
41818}
41819static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
41820 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
41821}
41822static void *_p_wxSizerItemTo_p_wxObject(void *x) {
41823 return (void *)((wxObject *) ((wxSizerItem *) x));
41824}
41825static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
41826 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
41827}
41828static void *_p_wxShowEventTo_p_wxObject(void *x) {
41829 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
41830}
41831static void *_p_wxFSFileTo_p_wxObject(void *x) {
41832 return (void *)((wxObject *) ((wxFSFile *) x));
41833}
41834static void *_p_wxCommandEventTo_p_wxObject(void *x) {
41835 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
41836}
41837static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
41838 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
41839}
41840static void *_p_wxKeyEventTo_p_wxObject(void *x) {
41841 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
41842}
41843static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
41844 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
41845}
41846static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
41847 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
41848}
41849static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
41850 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
41851}
41852static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
41853 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
41854}
41855static void *_p_wxMenuItemTo_p_wxObject(void *x) {
41856 return (void *)((wxObject *) ((wxMenuItem *) x));
41857}
41858static void *_p_wxPySizerTo_p_wxObject(void *x) {
41859 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
41860}
41861static void *_p_wxControlTo_p_wxWindow(void *x) {
41862 return (void *)((wxWindow *) ((wxControl *) x));
41863}
41864static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
41865 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
41866}
41867static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
41868 return (void *)((wxWindow *) ((wxMenuBar *) x));
41869}
41870static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
41871 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
41872}
41873static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
41874 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
41875}
41876static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
41877 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
41878}
41879static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
41880 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
41881}
41882static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
41883 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
41884}
41885static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
41886 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
41887}
41888static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
41889 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
41890}
41891static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
41892 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
41893}
41894static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
41895 return (void *)((wxValidator *) ((wxPyValidator *) x));
41896}
41897static swig_type_info _swigt__p_wxLayoutConstraints[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41898static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0, 0, 0, 0},{"_p_wxRealPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41899static swig_type_info _swigt__p_wxSizerItem[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0, 0, 0, 0},{"_p_wxSizerItem", 0, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41900static swig_type_info _swigt__p_wxGBSizerItem[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0, 0, 0, 0},{"_p_wxGBSizerItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41901static swig_type_info _swigt__p_wxScrollEvent[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0, 0, 0, 0},{"_p_wxScrollEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41902static swig_type_info _swigt__p_wxIndividualLayoutConstraint[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41903static swig_type_info _swigt__p_wxSizer[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41904static swig_type_info _swigt__p_wxBoxSizer[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0, 0, 0, 0},{"_p_wxBoxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41905static swig_type_info _swigt__p_wxStaticBoxSizer[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0, 0, 0, 0},{"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41906static swig_type_info _swigt__p_wxGridBagSizer[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41907static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0, 0, 0, 0},{"_p_wxAcceleratorEntry", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41908static swig_type_info _swigt__p_wxUpdateUIEvent[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0, 0, 0, 0},{"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41909static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41910static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41911static swig_type_info _swigt__p_wxGridSizer[] = {{"_p_wxGridSizer", 0, "wxGridSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxGridSizer, 0, 0, 0, 0, 0},{"_p_wxGridSizer", 0, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxGridSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41912static swig_type_info _swigt__p_wxFlexGridSizer[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41913static swig_type_info _swigt__p_wxInitDialogEvent[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0, 0, 0, 0},{"_p_wxInitDialogEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41914static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxItemContainer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41915static swig_type_info _swigt__p_wxNcPaintEvent[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0, 0, 0, 0},{"_p_wxNcPaintEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41916static swig_type_info _swigt__p_wxPaintEvent[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0, 0, 0, 0},{"_p_wxPaintEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41917static swig_type_info _swigt__p_wxSysColourChangedEvent[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41918static swig_type_info _swigt__p_wxMouseCaptureChangedEvent[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41919static swig_type_info _swigt__p_wxDisplayChangedEvent[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41920static swig_type_info _swigt__p_wxPaletteChangedEvent[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41921static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41922static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41923static swig_type_info _swigt__p_wxMenuBarBase[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0, 0, 0, 0},{"_p_wxMenuBarBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41924static swig_type_info _swigt__p_wxSetCursorEvent[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0, 0, 0, 0},{"_p_wxSetCursorEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41925static swig_type_info _swigt__p_wxFSFile[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0, 0, 0, 0},{"_p_wxFSFile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41926static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0, 0, 0, 0},{"_p_wxCaret", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41927static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41928static swig_type_info _swigt__p_wxPoint2D[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0, 0, 0, 0},{"_p_wxPoint2D", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41929static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41930static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41931static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41932static swig_type_info _swigt__p_wxPySizer[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0, 0, 0, 0},{"_p_wxPySizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41933static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41934static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41935static swig_type_info _swigt__p_wxPyEvent[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0, 0, 0, 0},{"_p_wxPyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41936static swig_type_info _swigt__p_wxPropagationDisabler[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0, 0, 0, 0},{"_p_wxPropagationDisabler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41937static swig_type_info _swigt__p_wxAppTraits[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0, 0, 0, 0},{"_p_wxAppTraits", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41938static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41939static swig_type_info _swigt__p_wxShowEvent[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0, 0, 0, 0},{"_p_wxShowEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41940static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0, 0, 0, 0},{"_p_wxToolTip", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41941static swig_type_info _swigt__p_wxMaximizeEvent[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0, 0, 0, 0},{"_p_wxMaximizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41942static swig_type_info _swigt__p_wxIconizeEvent[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0, 0, 0, 0},{"_p_wxIconizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41943static swig_type_info _swigt__p_wxActivateEvent[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0, 0, 0, 0},{"_p_wxActivateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41944static swig_type_info _swigt__p_wxMoveEvent[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0, 0, 0, 0},{"_p_wxMoveEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41945static swig_type_info _swigt__p_wxSizeEvent[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0, 0, 0, 0},{"_p_wxSizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41946static swig_type_info _swigt__p_wxQueryNewPaletteEvent[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41947static swig_type_info _swigt__p_wxWindowCreateEvent[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0, 0, 0, 0},{"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41948static swig_type_info _swigt__p_wxIdleEvent[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0, 0, 0, 0},{"_p_wxIdleEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41949static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0, 0, 0, 0},{"_p_wxMenuItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41950static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0, 0, 0, 0},{"_p_wxStaticBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41951static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41952static swig_type_info _swigt__p_wxTIFFHandler[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0, 0, 0, 0},{"_p_wxTIFFHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41953static swig_type_info _swigt__p_wxXPMHandler[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0, 0, 0, 0},{"_p_wxXPMHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41954static swig_type_info _swigt__p_wxPNMHandler[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0, 0, 0, 0},{"_p_wxPNMHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41955static swig_type_info _swigt__p_wxJPEGHandler[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0, 0, 0, 0},{"_p_wxJPEGHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41956static swig_type_info _swigt__p_wxPCXHandler[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0, 0, 0, 0},{"_p_wxPCXHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41957static swig_type_info _swigt__p_wxGIFHandler[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0, 0, 0, 0},{"_p_wxGIFHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41958static swig_type_info _swigt__p_wxPNGHandler[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0, 0, 0, 0},{"_p_wxPNGHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41959static swig_type_info _swigt__p_wxANIHandler[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0, 0, 0, 0},{"_p_wxANIHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41960static swig_type_info _swigt__p_wxMemoryFSHandler[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0, 0, 0, 0},{"_p_wxMemoryFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41961static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41962static swig_type_info _swigt__p_wxCURHandler[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0, 0, 0, 0},{"_p_wxCURHandler", 0, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41963static swig_type_info _swigt__p_wxICOHandler[] = {{"_p_wxICOHandler", 0, "wxICOHandler *", 0, 0, 0, 0},{"_p_wxICOHandler", 0, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxICOHandler, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxICOHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41964static swig_type_info _swigt__p_wxBMPHandler[] = {{"_p_wxBMPHandler", 0, "wxBMPHandler *", 0, 0, 0, 0},{"_p_wxBMPHandler", 0, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxBMPHandler, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxBMPHandler, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxBMPHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41965static swig_type_info _swigt__p_wxImageHandler[] = {{"_p_wxImageHandler", 0, "wxImageHandler *", 0, 0, 0, 0},{"_p_wxImageHandler", 0, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41966static swig_type_info _swigt__p_wxFileSystemHandler[] = {{"_p_wxFileSystemHandler", 0, "wxFileSystemHandler *", 0, 0, 0, 0},{"_p_wxFileSystemHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyFileSystemHandler", _p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{"_p_wxInternetFSHandler", _p_wxInternetFSHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{"_p_wxZipFSHandler", _p_wxZipFSHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{"_p_wxMemoryFSHandler", _p_wxMemoryFSHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41967static swig_type_info _swigt__p_wxPyFileSystemHandler[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0, 0, 0, 0},{"_p_wxPyFileSystemHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41968static swig_type_info _swigt__p_wxInternetFSHandler[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0, 0, 0, 0},{"_p_wxInternetFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41969static swig_type_info _swigt__p_wxZipFSHandler[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0, 0, 0, 0},{"_p_wxZipFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41970static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41971static swig_type_info _swigt__p_wxGBSpan[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0, 0, 0, 0},{"_p_wxGBSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41972static swig_type_info _swigt__p_wxPropagateOnce[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0, 0, 0, 0},{"_p_wxPropagateOnce", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41973static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0, 0, 0, 0},{"_p_wxAcceleratorTable", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41974static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41975static swig_type_info _swigt__p_wxGBPosition[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0, 0, 0, 0},{"_p_wxGBPosition", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41976static swig_type_info _swigt__p_wxImage[] = {{"_p_wxImage", 0, "wxImage *", 0, 0, 0, 0},{"_p_wxImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41977static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41978static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0, 0, 0, 0},{"_p_wxScrollWinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41979static swig_type_info _swigt__p_wxImageHistogram[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0, 0, 0, 0},{"_p_wxImageHistogram", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41980static swig_type_info _swigt__p_byte[] = {{"_p_byte", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{"_p_byte", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41981static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41982static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41983static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41984static swig_type_info _swigt__p_wxPyInputStream[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0, 0, 0, 0},{"_p_wxPyInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41985static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41986static swig_type_info _swigt__p_wxInputStream[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0, 0, 0, 0},{"_p_wxInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41987static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41988static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41989static swig_type_info _swigt__p_wxNavigationKeyEvent[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41990static swig_type_info _swigt__p_wxWindowDestroyEvent[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41991static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41992static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41993static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41994static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41995static swig_type_info _swigt__p_wxMenuEvent[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0, 0, 0, 0},{"_p_wxMenuEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41996static swig_type_info _swigt__p_wxContextMenuEvent[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41997static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{"_p_byte", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41998static swig_type_info _swigt__p_wxCloseEvent[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0, 0, 0, 0},{"_p_wxCloseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41999static swig_type_info _swigt__p_wxEraseEvent[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0, 0, 0, 0},{"_p_wxEraseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42000static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42001static swig_type_info _swigt__p_wxPyApp[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0, 0, 0, 0},{"_p_wxPyApp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42002static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42003static swig_type_info _swigt__p_wxPyCommandEvent[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0, 0, 0, 0},{"_p_wxPyCommandEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42004static swig_type_info _swigt__p_wxPyDropTarget[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0, 0, 0, 0},{"_p_wxPyDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42005static swig_type_info _swigt__p_wxChildFocusEvent[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42006static swig_type_info _swigt__p_wxFocusEvent[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0, 0, 0, 0},{"_p_wxFocusEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42007static swig_type_info _swigt__p_wxDropFilesEvent[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0, 0, 0, 0},{"_p_wxDropFilesEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42008static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42009static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42010static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42011static swig_type_info _swigt__p_wxPyValidator[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0, 0, 0, 0},{"_p_wxPyValidator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42012
42013static swig_type_info *swig_types_initial[] = {
42014_swigt__p_wxLayoutConstraints,
42015_swigt__p_wxRealPoint,
42016_swigt__p_wxSizerItem,
42017_swigt__p_wxGBSizerItem,
42018_swigt__p_wxScrollEvent,
42019_swigt__p_wxIndividualLayoutConstraint,
42020_swigt__p_wxSizer,
42021_swigt__p_wxBoxSizer,
42022_swigt__p_wxStaticBoxSizer,
42023_swigt__p_wxGridBagSizer,
42024_swigt__p_wxAcceleratorEntry,
42025_swigt__p_wxUpdateUIEvent,
42026_swigt__p_wxMenu,
42027_swigt__p_wxEvent,
42028_swigt__p_wxGridSizer,
42029_swigt__p_wxFlexGridSizer,
42030_swigt__p_wxInitDialogEvent,
42031_swigt__p_wxItemContainer,
42032_swigt__p_wxNcPaintEvent,
42033_swigt__p_wxPaintEvent,
42034_swigt__p_wxSysColourChangedEvent,
42035_swigt__p_wxMouseCaptureChangedEvent,
42036_swigt__p_wxDisplayChangedEvent,
42037_swigt__p_wxPaletteChangedEvent,
42038_swigt__p_wxControl,
42039_swigt__p_wxFont,
42040_swigt__p_wxMenuBarBase,
42041_swigt__p_wxSetCursorEvent,
42042_swigt__p_wxFSFile,
42043_swigt__p_wxCaret,
42044_swigt__p_wxRegion,
42045_swigt__p_wxPoint2D,
42046_swigt__p_int,
42047_swigt__p_wxSize,
42048_swigt__p_wxDC,
42049_swigt__p_wxPySizer,
42050_swigt__p_wxVisualAttributes,
42051_swigt__p_wxNotifyEvent,
42052_swigt__p_wxPyEvent,
42053_swigt__p_wxPropagationDisabler,
42054_swigt__p_wxAppTraits,
42055_swigt__p_wxArrayString,
42056_swigt__p_wxShowEvent,
42057_swigt__p_wxToolTip,
42058_swigt__p_wxMaximizeEvent,
42059_swigt__p_wxIconizeEvent,
42060_swigt__p_wxActivateEvent,
42061_swigt__p_wxMoveEvent,
42062_swigt__p_wxSizeEvent,
42063_swigt__p_wxQueryNewPaletteEvent,
42064_swigt__p_wxWindowCreateEvent,
42065_swigt__p_wxIdleEvent,
42066_swigt__p_wxMenuItem,
42067_swigt__p_wxStaticBox,
42068_swigt__p_long,
42069_swigt__p_wxTIFFHandler,
42070_swigt__p_wxXPMHandler,
42071_swigt__p_wxPNMHandler,
42072_swigt__p_wxJPEGHandler,
42073_swigt__p_wxPCXHandler,
42074_swigt__p_wxGIFHandler,
42075_swigt__p_wxPNGHandler,
42076_swigt__p_wxANIHandler,
42077_swigt__p_wxMemoryFSHandler,
42078_swigt__p_wxEvtHandler,
42079_swigt__p_wxCURHandler,
42080_swigt__p_wxICOHandler,
42081_swigt__p_wxBMPHandler,
42082_swigt__p_wxImageHandler,
42083_swigt__p_wxFileSystemHandler,
42084_swigt__p_wxPyFileSystemHandler,
42085_swigt__p_wxInternetFSHandler,
42086_swigt__p_wxZipFSHandler,
42087_swigt__p_wxRect,
42088_swigt__p_wxGBSpan,
42089_swigt__p_wxPropagateOnce,
42090_swigt__p_wxAcceleratorTable,
42091_swigt__p_char,
42092_swigt__p_wxGBPosition,
42093_swigt__p_wxImage,
42094_swigt__p_wxFrame,
42095_swigt__p_wxScrollWinEvent,
42096_swigt__p_wxImageHistogram,
42097_swigt__p_byte,
42098_swigt__p_wxPoint,
42099_swigt__p_wxCursor,
42100_swigt__p_wxObject,
42101_swigt__p_wxPyInputStream,
42102_swigt__p_wxOutputStream,
42103_swigt__p_wxInputStream,
42104_swigt__p_wxDateTime,
42105_swigt__p_wxKeyEvent,
42106_swigt__p_wxNavigationKeyEvent,
42107_swigt__p_wxWindowDestroyEvent,
42108_swigt__p_wxWindow,
42109_swigt__p_wxMenuBar,
42110_swigt__p_wxFileSystem,
42111_swigt__p_wxBitmap,
42112_swigt__p_wxMenuEvent,
42113_swigt__p_wxContextMenuEvent,
42114_swigt__p_unsigned_char,
42115_swigt__p_wxCloseEvent,
42116_swigt__p_wxEraseEvent,
42117_swigt__p_wxMouseEvent,
42118_swigt__p_wxPyApp,
42119_swigt__p_wxCommandEvent,
42120_swigt__p_wxPyCommandEvent,
42121_swigt__p_wxPyDropTarget,
42122_swigt__p_wxChildFocusEvent,
42123_swigt__p_wxFocusEvent,
42124_swigt__p_wxDropFilesEvent,
42125_swigt__p_wxControlWithItems,
42126_swigt__p_wxColour,
42127_swigt__p_wxValidator,
42128_swigt__p_wxPyValidator,
421290
42130};
42131
42132
42133/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42134
42135static swig_const_info swig_const_table[] = {
42136{0}};
42137
42138#ifdef __cplusplus
42139}
42140#endif
42141
42142#ifdef __cplusplus
42143extern "C"
42144#endif
42145SWIGEXPORT(void) SWIG_init(void) {
42146 static PyObject *SWIG_globals = 0;
42147 static int typeinit = 0;
42148 PyObject *m, *d;
42149 int i;
42150 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
42151 m = Py_InitModule((char *) SWIG_name, SwigMethods);
42152 d = PyModule_GetDict(m);
42153
42154 if (!typeinit) {
42155 for (i = 0; swig_types_initial[i]; i++) {
42156 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
42157 }
42158 typeinit = 1;
42159 }
42160 SWIG_InstallConstants(d,swig_const_table);
42161
42162
42163#ifndef wxPyUSE_EXPORT
42164 // Make our API structure a CObject so other modules can import it
42165 // from this module.
42166 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
42167 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
42168 Py_XDECREF(cobj);
42169#endif
42170
42171 PyDict_SetItemString(d,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND));
42172 PyDict_SetItemString(d,"VSCROLL", SWIG_FromInt((int)wxVSCROLL));
42173 PyDict_SetItemString(d,"HSCROLL", SWIG_FromInt((int)wxHSCROLL));
42174 PyDict_SetItemString(d,"CAPTION", SWIG_FromInt((int)wxCAPTION));
42175 PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER));
42176 PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER));
42177 PyDict_SetItemString(d,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER));
42178 PyDict_SetItemString(d,"BORDER", SWIG_FromInt((int)wxBORDER));
42179 PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER));
42180 PyDict_SetItemString(d,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER));
42181 PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW));
42182 PyDict_SetItemString(d,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER));
42183 PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL));
42184 PyDict_SetItemString(d,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS));
42185 PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW));
42186 PyDict_SetItemString(d,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME));
42187 PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN));
42188 PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN));
42189 PyDict_SetItemString(d,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN));
42190 PyDict_SetItemString(d,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM));
42191 PyDict_SetItemString(d,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT));
42192 PyDict_SetItemString(d,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE));
42193 PyDict_SetItemString(d,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE));
42194 PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN));
42195 PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS));
42196 PyDict_SetItemString(d,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB));
42197 PyDict_SetItemString(d,"RETAINED", SWIG_FromInt((int)wxRETAINED));
42198 PyDict_SetItemString(d,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE));
42199 PyDict_SetItemString(d,"COLOURED", SWIG_FromInt((int)wxCOLOURED));
42200 PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH));
42201 PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB));
42202 PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB));
42203 PyDict_SetItemString(d,"LB_SORT", SWIG_FromInt((int)wxLB_SORT));
42204 PyDict_SetItemString(d,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE));
42205 PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE));
42206 PyDict_SetItemString(d,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED));
42207 PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW));
42208 PyDict_SetItemString(d,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL));
42209 PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER));
42210 PyDict_SetItemString(d,"PASSWORD", SWIG_FromInt((int)wxPASSWORD));
42211 PyDict_SetItemString(d,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE));
42212 PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN));
42213 PyDict_SetItemString(d,"CB_SORT", SWIG_FromInt((int)wxCB_SORT));
42214 PyDict_SetItemString(d,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY));
42215 PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL));
42216 PyDict_SetItemString(d,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL));
42217 PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS));
42218 PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS));
42219 PyDict_SetItemString(d,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP));
42220 PyDict_SetItemString(d,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE));
42221 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL));
42222 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL));
42223 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS));
42224 PyDict_SetItemString(d,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS));
42225 PyDict_SetItemString(d,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT));
42226 PyDict_SetItemString(d,"SL_TOP", SWIG_FromInt((int)wxSL_TOP));
42227 PyDict_SetItemString(d,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT));
42228 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM));
42229 PyDict_SetItemString(d,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH));
42230 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE));
42231 PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL));
42232 PyDict_SetItemString(d,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL));
42233 PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP));
42234 PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE));
42235 PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE));
42236 PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER));
42237 PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE));
42238 PyDict_SetItemString(d,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE));
42239 PyDict_SetItemString(d,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP));
42240 PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM));
42241 PyDict_SetItemString(d,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT));
42242 PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT));
42243 PyDict_SetItemString(d,"OK", SWIG_FromInt((int)wxOK));
42244 PyDict_SetItemString(d,"YES_NO", SWIG_FromInt((int)wxYES_NO));
42245 PyDict_SetItemString(d,"CANCEL", SWIG_FromInt((int)wxCANCEL));
42246 PyDict_SetItemString(d,"YES", SWIG_FromInt((int)wxYES));
42247 PyDict_SetItemString(d,"NO", SWIG_FromInt((int)wxNO));
42248 PyDict_SetItemString(d,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT));
42249 PyDict_SetItemString(d,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT));
42250 PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION));
42251 PyDict_SetItemString(d,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND));
42252 PyDict_SetItemString(d,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION));
42253 PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION));
42254 PyDict_SetItemString(d,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP));
42255 PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK));
42256 PyDict_SetItemString(d,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK));
42257 PyDict_SetItemString(d,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING));
42258 PyDict_SetItemString(d,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR));
42259 PyDict_SetItemString(d,"FORWARD", SWIG_FromInt((int)wxFORWARD));
42260 PyDict_SetItemString(d,"BACKWARD", SWIG_FromInt((int)wxBACKWARD));
42261 PyDict_SetItemString(d,"RESET", SWIG_FromInt((int)wxRESET));
42262 PyDict_SetItemString(d,"HELP", SWIG_FromInt((int)wxHELP));
42263 PyDict_SetItemString(d,"MORE", SWIG_FromInt((int)wxMORE));
42264 PyDict_SetItemString(d,"SETUP", SWIG_FromInt((int)wxSETUP));
42265 PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH));
42266 PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT));
42267 PyDict_SetItemString(d,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO));
42268 PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING));
42269 PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE));
42270 PyDict_SetItemString(d,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT));
42271 PyDict_SetItemString(d,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE));
42272 PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH));
42273 PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM));
42274 PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW));
42275 PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT));
42276 PyDict_SetItemString(d,"ID_ANY", SWIG_FromInt((int)wxID_ANY));
42277 PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR));
42278 PyDict_SetItemString(d,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST));
42279 PyDict_SetItemString(d,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN));
42280 PyDict_SetItemString(d,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE));
42281 PyDict_SetItemString(d,"ID_NEW", SWIG_FromInt((int)wxID_NEW));
42282 PyDict_SetItemString(d,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE));
42283 PyDict_SetItemString(d,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS));
42284 PyDict_SetItemString(d,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT));
42285 PyDict_SetItemString(d,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT));
42286 PyDict_SetItemString(d,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO));
42287 PyDict_SetItemString(d,"ID_REDO", SWIG_FromInt((int)wxID_REDO));
42288 PyDict_SetItemString(d,"ID_HELP", SWIG_FromInt((int)wxID_HELP));
42289 PyDict_SetItemString(d,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT));
42290 PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP));
42291 PyDict_SetItemString(d,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW));
42292 PyDict_SetItemString(d,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT));
42293 PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS));
42294 PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS));
42295 PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES));
42296 PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT));
42297 PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL));
42298 PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES));
42299 PyDict_SetItemString(d,"ID_CUT", SWIG_FromInt((int)wxID_CUT));
42300 PyDict_SetItemString(d,"ID_COPY", SWIG_FromInt((int)wxID_COPY));
42301 PyDict_SetItemString(d,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE));
42302 PyDict_SetItemString(d,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR));
42303 PyDict_SetItemString(d,"ID_FIND", SWIG_FromInt((int)wxID_FIND));
42304 PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE));
42305 PyDict_SetItemString(d,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL));
42306 PyDict_SetItemString(d,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE));
42307 PyDict_SetItemString(d,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE));
42308 PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL));
42309 PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES));
42310 PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS));
42311 PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS));
42312 PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS));
42313 PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST));
42314 PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE));
42315 PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME));
42316 PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE));
42317 PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE));
42318 PyDict_SetItemString(d,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1));
42319 PyDict_SetItemString(d,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2));
42320 PyDict_SetItemString(d,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3));
42321 PyDict_SetItemString(d,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4));
42322 PyDict_SetItemString(d,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5));
42323 PyDict_SetItemString(d,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6));
42324 PyDict_SetItemString(d,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7));
42325 PyDict_SetItemString(d,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8));
42326 PyDict_SetItemString(d,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9));
42327 PyDict_SetItemString(d,"ID_OK", SWIG_FromInt((int)wxID_OK));
42328 PyDict_SetItemString(d,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL));
42329 PyDict_SetItemString(d,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY));
42330 PyDict_SetItemString(d,"ID_YES", SWIG_FromInt((int)wxID_YES));
42331 PyDict_SetItemString(d,"ID_NO", SWIG_FromInt((int)wxID_NO));
42332 PyDict_SetItemString(d,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC));
42333 PyDict_SetItemString(d,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD));
42334 PyDict_SetItemString(d,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD));
42335 PyDict_SetItemString(d,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT));
42336 PyDict_SetItemString(d,"ID_MORE", SWIG_FromInt((int)wxID_MORE));
42337 PyDict_SetItemString(d,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP));
42338 PyDict_SetItemString(d,"ID_RESET", SWIG_FromInt((int)wxID_RESET));
42339 PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP));
42340 PyDict_SetItemString(d,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL));
42341 PyDict_SetItemString(d,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL));
42342 PyDict_SetItemString(d,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT));
42343 PyDict_SetItemString(d,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY));
42344 PyDict_SetItemString(d,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE));
42345 PyDict_SetItemString(d,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST));
42346 PyDict_SetItemString(d,"OPEN", SWIG_FromInt((int)wxOPEN));
42347 PyDict_SetItemString(d,"SAVE", SWIG_FromInt((int)wxSAVE));
42348 PyDict_SetItemString(d,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY));
42349 PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT));
42350 PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST));
42351 PyDict_SetItemString(d,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE));
42352 PyDict_SetItemString(d,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR));
42353 PyDict_SetItemString(d,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT));
42354 PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL));
42355 PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT));
42356 PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL));
42357 PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE));
42358 PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL));
42359 PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT));
42360 PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME));
42361 PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME));
42362 PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME));
42363 PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON));
42364 PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE));
42365 PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF));
42366 PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE));
42367 PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE));
42368 PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE));
42369 PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL));
42370 PyDict_SetItemString(d,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL));
42371 PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY));
42372 PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS));
42373 PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT));
42374 PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND));
42375 PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE));
42376 PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES));
42377 PyDict_SetItemString(d,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT));
42378 PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC));
42379 PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC));
42380 PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH));
42381 PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH));
42382 PyDict_SetItemString(d,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS));
42383 PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC));
42384 PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC));
42385 PyDict_SetItemString(d,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS));
42386 PyDict_SetItemString(d,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC));
42387 PyDict_SetItemString(d,"CENTRE", SWIG_FromInt((int)wxCENTRE));
42388 PyDict_SetItemString(d,"CENTER", SWIG_FromInt((int)wxCENTER));
42389 PyDict_SetItemString(d,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL));
42390 PyDict_SetItemString(d,"VERTICAL", SWIG_FromInt((int)wxVERTICAL));
42391 PyDict_SetItemString(d,"BOTH", SWIG_FromInt((int)wxBOTH));
42392 PyDict_SetItemString(d,"LEFT", SWIG_FromInt((int)wxLEFT));
42393 PyDict_SetItemString(d,"RIGHT", SWIG_FromInt((int)wxRIGHT));
42394 PyDict_SetItemString(d,"UP", SWIG_FromInt((int)wxUP));
42395 PyDict_SetItemString(d,"DOWN", SWIG_FromInt((int)wxDOWN));
42396 PyDict_SetItemString(d,"TOP", SWIG_FromInt((int)wxTOP));
42397 PyDict_SetItemString(d,"BOTTOM", SWIG_FromInt((int)wxBOTTOM));
42398 PyDict_SetItemString(d,"NORTH", SWIG_FromInt((int)wxNORTH));
42399 PyDict_SetItemString(d,"SOUTH", SWIG_FromInt((int)wxSOUTH));
42400 PyDict_SetItemString(d,"WEST", SWIG_FromInt((int)wxWEST));
42401 PyDict_SetItemString(d,"EAST", SWIG_FromInt((int)wxEAST));
42402 PyDict_SetItemString(d,"ALL", SWIG_FromInt((int)wxALL));
42403 PyDict_SetItemString(d,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT));
42404 PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL));
42405 PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL));
42406 PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT));
42407 PyDict_SetItemString(d,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP));
42408 PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT));
42409 PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM));
42410 PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL));
42411 PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL));
42412 PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER));
42413 PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE));
42414 PyDict_SetItemString(d,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK));
42415 PyDict_SetItemString(d,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT));
42416 PyDict_SetItemString(d,"SHRINK", SWIG_FromInt((int)wxSHRINK));
42417 PyDict_SetItemString(d,"GROW", SWIG_FromInt((int)wxGROW));
42418 PyDict_SetItemString(d,"EXPAND", SWIG_FromInt((int)wxEXPAND));
42419 PyDict_SetItemString(d,"SHAPED", SWIG_FromInt((int)wxSHAPED));
42420 PyDict_SetItemString(d,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE));
42421 PyDict_SetItemString(d,"TILE", SWIG_FromInt((int)wxTILE));
42422 PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE));
42423 PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT));
42424 PyDict_SetItemString(d,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE));
42425 PyDict_SetItemString(d,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC));
42426 PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE));
42427 PyDict_SetItemString(d,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED));
42428 PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN));
42429 PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE));
42430 PyDict_SetItemString(d,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK));
42431 PyDict_SetItemString(d,"DEFAULT", SWIG_FromInt((int)wxDEFAULT));
42432 PyDict_SetItemString(d,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE));
42433 PyDict_SetItemString(d,"ROMAN", SWIG_FromInt((int)wxROMAN));
42434 PyDict_SetItemString(d,"SCRIPT", SWIG_FromInt((int)wxSCRIPT));
42435 PyDict_SetItemString(d,"SWISS", SWIG_FromInt((int)wxSWISS));
42436 PyDict_SetItemString(d,"MODERN", SWIG_FromInt((int)wxMODERN));
42437 PyDict_SetItemString(d,"TELETYPE", SWIG_FromInt((int)wxTELETYPE));
42438 PyDict_SetItemString(d,"VARIABLE", SWIG_FromInt((int)wxVARIABLE));
42439 PyDict_SetItemString(d,"FIXED", SWIG_FromInt((int)wxFIXED));
42440 PyDict_SetItemString(d,"NORMAL", SWIG_FromInt((int)wxNORMAL));
42441 PyDict_SetItemString(d,"LIGHT", SWIG_FromInt((int)wxLIGHT));
42442 PyDict_SetItemString(d,"BOLD", SWIG_FromInt((int)wxBOLD));
42443 PyDict_SetItemString(d,"ITALIC", SWIG_FromInt((int)wxITALIC));
42444 PyDict_SetItemString(d,"SLANT", SWIG_FromInt((int)wxSLANT));
42445 PyDict_SetItemString(d,"SOLID", SWIG_FromInt((int)wxSOLID));
42446 PyDict_SetItemString(d,"DOT", SWIG_FromInt((int)wxDOT));
42447 PyDict_SetItemString(d,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH));
42448 PyDict_SetItemString(d,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH));
42449 PyDict_SetItemString(d,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH));
42450 PyDict_SetItemString(d,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH));
42451 PyDict_SetItemString(d,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT));
42452 PyDict_SetItemString(d,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE));
42453 PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH));
42454 PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH));
42455 PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH));
42456 PyDict_SetItemString(d,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH));
42457 PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH));
42458 PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH));
42459 PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL));
42460 PyDict_SetItemString(d,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER));
42461 PyDict_SetItemString(d,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND));
42462 PyDict_SetItemString(d,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND));
42463 PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING));
42464 PyDict_SetItemString(d,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT));
42465 PyDict_SetItemString(d,"CLEAR", SWIG_FromInt((int)wxCLEAR));
42466 PyDict_SetItemString(d,"XOR", SWIG_FromInt((int)wxXOR));
42467 PyDict_SetItemString(d,"INVERT", SWIG_FromInt((int)wxINVERT));
42468 PyDict_SetItemString(d,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE));
42469 PyDict_SetItemString(d,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE));
42470 PyDict_SetItemString(d,"COPY", SWIG_FromInt((int)wxCOPY));
42471 PyDict_SetItemString(d,"AND", SWIG_FromInt((int)wxAND));
42472 PyDict_SetItemString(d,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT));
42473 PyDict_SetItemString(d,"NO_OP", SWIG_FromInt((int)wxNO_OP));
42474 PyDict_SetItemString(d,"NOR", SWIG_FromInt((int)wxNOR));
42475 PyDict_SetItemString(d,"EQUIV", SWIG_FromInt((int)wxEQUIV));
42476 PyDict_SetItemString(d,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT));
42477 PyDict_SetItemString(d,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT));
42478 PyDict_SetItemString(d,"NAND", SWIG_FromInt((int)wxNAND));
42479 PyDict_SetItemString(d,"OR", SWIG_FromInt((int)wxOR));
42480 PyDict_SetItemString(d,"SET", SWIG_FromInt((int)wxSET));
42481 PyDict_SetItemString(d,"WXK_BACK", SWIG_FromInt((int)WXK_BACK));
42482 PyDict_SetItemString(d,"WXK_TAB", SWIG_FromInt((int)WXK_TAB));
42483 PyDict_SetItemString(d,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN));
42484 PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE));
42485 PyDict_SetItemString(d,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE));
42486 PyDict_SetItemString(d,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE));
42487 PyDict_SetItemString(d,"WXK_START", SWIG_FromInt((int)WXK_START));
42488 PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON));
42489 PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON));
42490 PyDict_SetItemString(d,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL));
42491 PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON));
42492 PyDict_SetItemString(d,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR));
42493 PyDict_SetItemString(d,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT));
42494 PyDict_SetItemString(d,"WXK_ALT", SWIG_FromInt((int)WXK_ALT));
42495 PyDict_SetItemString(d,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL));
42496 PyDict_SetItemString(d,"WXK_MENU", SWIG_FromInt((int)WXK_MENU));
42497 PyDict_SetItemString(d,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE));
42498 PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL));
42499 PyDict_SetItemString(d,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR));
42500 PyDict_SetItemString(d,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT));
42501 PyDict_SetItemString(d,"WXK_END", SWIG_FromInt((int)WXK_END));
42502 PyDict_SetItemString(d,"WXK_HOME", SWIG_FromInt((int)WXK_HOME));
42503 PyDict_SetItemString(d,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT));
42504 PyDict_SetItemString(d,"WXK_UP", SWIG_FromInt((int)WXK_UP));
42505 PyDict_SetItemString(d,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT));
42506 PyDict_SetItemString(d,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN));
42507 PyDict_SetItemString(d,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT));
42508 PyDict_SetItemString(d,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT));
42509 PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE));
42510 PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT));
42511 PyDict_SetItemString(d,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT));
42512 PyDict_SetItemString(d,"WXK_HELP", SWIG_FromInt((int)WXK_HELP));
42513 PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0));
42514 PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1));
42515 PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2));
42516 PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3));
42517 PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4));
42518 PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5));
42519 PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6));
42520 PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7));
42521 PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8));
42522 PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9));
42523 PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY));
42524 PyDict_SetItemString(d,"WXK_ADD", SWIG_FromInt((int)WXK_ADD));
42525 PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR));
42526 PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT));
42527 PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL));
42528 PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE));
42529 PyDict_SetItemString(d,"WXK_F1", SWIG_FromInt((int)WXK_F1));
42530 PyDict_SetItemString(d,"WXK_F2", SWIG_FromInt((int)WXK_F2));
42531 PyDict_SetItemString(d,"WXK_F3", SWIG_FromInt((int)WXK_F3));
42532 PyDict_SetItemString(d,"WXK_F4", SWIG_FromInt((int)WXK_F4));
42533 PyDict_SetItemString(d,"WXK_F5", SWIG_FromInt((int)WXK_F5));
42534 PyDict_SetItemString(d,"WXK_F6", SWIG_FromInt((int)WXK_F6));
42535 PyDict_SetItemString(d,"WXK_F7", SWIG_FromInt((int)WXK_F7));
42536 PyDict_SetItemString(d,"WXK_F8", SWIG_FromInt((int)WXK_F8));
42537 PyDict_SetItemString(d,"WXK_F9", SWIG_FromInt((int)WXK_F9));
42538 PyDict_SetItemString(d,"WXK_F10", SWIG_FromInt((int)WXK_F10));
42539 PyDict_SetItemString(d,"WXK_F11", SWIG_FromInt((int)WXK_F11));
42540 PyDict_SetItemString(d,"WXK_F12", SWIG_FromInt((int)WXK_F12));
42541 PyDict_SetItemString(d,"WXK_F13", SWIG_FromInt((int)WXK_F13));
42542 PyDict_SetItemString(d,"WXK_F14", SWIG_FromInt((int)WXK_F14));
42543 PyDict_SetItemString(d,"WXK_F15", SWIG_FromInt((int)WXK_F15));
42544 PyDict_SetItemString(d,"WXK_F16", SWIG_FromInt((int)WXK_F16));
42545 PyDict_SetItemString(d,"WXK_F17", SWIG_FromInt((int)WXK_F17));
42546 PyDict_SetItemString(d,"WXK_F18", SWIG_FromInt((int)WXK_F18));
42547 PyDict_SetItemString(d,"WXK_F19", SWIG_FromInt((int)WXK_F19));
42548 PyDict_SetItemString(d,"WXK_F20", SWIG_FromInt((int)WXK_F20));
42549 PyDict_SetItemString(d,"WXK_F21", SWIG_FromInt((int)WXK_F21));
42550 PyDict_SetItemString(d,"WXK_F22", SWIG_FromInt((int)WXK_F22));
42551 PyDict_SetItemString(d,"WXK_F23", SWIG_FromInt((int)WXK_F23));
42552 PyDict_SetItemString(d,"WXK_F24", SWIG_FromInt((int)WXK_F24));
42553 PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK));
42554 PyDict_SetItemString(d,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL));
42555 PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP));
42556 PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN));
42557 PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE));
42558 PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB));
42559 PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER));
42560 PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1));
42561 PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2));
42562 PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3));
42563 PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4));
42564 PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME));
42565 PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT));
42566 PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP));
42567 PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT));
42568 PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN));
42569 PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR));
42570 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP));
42571 PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT));
42572 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN));
42573 PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END));
42574 PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN));
42575 PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT));
42576 PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE));
42577 PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL));
42578 PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY));
42579 PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD));
42580 PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR));
42581 PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT));
42582 PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL));
42583 PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE));
42584 PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT));
42585 PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT));
42586 PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU));
42587 PyDict_SetItemString(d,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE));
42588 PyDict_SetItemString(d,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER));
42589 PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL));
42590 PyDict_SetItemString(d,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4));
42591 PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET));
42592 PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET));
42593 PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET));
42594 PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL));
42595 PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID));
42596 PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER));
42597 PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT));
42598 PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE));
42599 PyDict_SetItemString(d,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3));
42600 PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL));
42601 PyDict_SetItemString(d,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5));
42602 PyDict_SetItemString(d,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4));
42603 PyDict_SetItemString(d,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5));
42604 PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO));
42605 PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO));
42606 PyDict_SetItemString(d,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14));
42607 PyDict_SetItemString(d,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17));
42608 PyDict_SetItemString(d,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE));
42609 PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9));
42610 PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10));
42611 PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11));
42612 PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12));
42613 PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14));
42614 PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL));
42615 PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5));
42616 PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3));
42617 PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4));
42618 PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6));
42619 PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65));
42620 PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4));
42621 PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5));
42622 PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6));
42623 PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY));
42624 PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH));
42625 PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL));
42626 PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US));
42627 PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN));
42628 PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN));
42629 PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4));
42630 PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD));
42631 PyDict_SetItemString(d,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11));
42632 PyDict_SetItemString(d,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11));
42633 PyDict_SetItemString(d,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11));
42634 PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE));
42635 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA));
42636 PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA));
42637 PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA));
42638 PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA));
42639 PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE));
42640 PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE));
42641 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE));
42642 PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS));
42643 PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS));
42644 PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS));
42645 PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS));
42646 PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE));
42647 PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE));
42648 PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA));
42649 PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA));
42650 PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA));
42651 PyDict_SetItemString(d,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2));
42652 PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE));
42653 PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE));
42654 PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX));
42655 PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL));
42656 PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL));
42657 PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR));
42658 PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL));
42659 PyDict_SetItemString(d,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK));
42660 PyDict_SetItemString(d,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO));
42661 PyDict_SetItemString(d,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX));
42662 PyDict_SetItemString(d,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE));
42663 PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST));
42664 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1));
42665 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2));
42666 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1));
42667 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2));
42668 PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB));
42669 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1));
42670 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2));
42671 PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST));
42672 PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE));
42673 PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE));
42674 PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR));
42675 PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR));
42676 PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER));
42677 PyDict_SetItemString(d,"HT_MAX", SWIG_FromInt((int)wxHT_MAX));
42678 PyDict_SetItemString(d,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE));
42679 PyDict_SetItemString(d,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT));
42680 PyDict_SetItemString(d,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL));
42681 PyDict_SetItemString(d,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT));
42682 PyDict_SetItemString(d,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN));
42683 PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE));
42684 PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE));
42685 PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE));
42686 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
42687 SWIG_addvarlink(SWIG_globals,(char*)"EmptyString",_wrap_EmptyString_get, _wrap_EmptyString_set);
42688 PyDict_SetItemString(d,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID));
42689 PyDict_SetItemString(d,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP));
42690 PyDict_SetItemString(d,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO));
42691 PyDict_SetItemString(d,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR));
42692 PyDict_SetItemString(d,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM));
42693 PyDict_SetItemString(d,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA));
42694 PyDict_SetItemString(d,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM));
42695 PyDict_SetItemString(d,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA));
42696 PyDict_SetItemString(d,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF));
42697 PyDict_SetItemString(d,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF));
42698 PyDict_SetItemString(d,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG));
42699 PyDict_SetItemString(d,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG));
42700 PyDict_SetItemString(d,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM));
42701 PyDict_SetItemString(d,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX));
42702 PyDict_SetItemString(d,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT));
42703 PyDict_SetItemString(d,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON));
42704 PyDict_SetItemString(d,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI));
42705 PyDict_SetItemString(d,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF));
42706 PyDict_SetItemString(d,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR));
42707 PyDict_SetItemString(d,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY));
42708 PyDict_SetItemString(d,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE));
42709 PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW));
42710 PyDict_SetItemString(d,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW));
42711 PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE));
42712 PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR));
42713 PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS));
42714 PyDict_SetItemString(d,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND));
42715 PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM));
42716 PyDict_SetItemString(d,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON));
42717 PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER));
42718 PyDict_SetItemString(d,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON));
42719 PyDict_SetItemString(d,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY));
42720 PyDict_SetItemString(d,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH));
42721 PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL));
42722 PyDict_SetItemString(d,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT));
42723 PyDict_SetItemString(d,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT));
42724 PyDict_SetItemString(d,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW));
42725 PyDict_SetItemString(d,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON));
42726 PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW));
42727 PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS));
42728 PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE));
42729 PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE));
42730 PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING));
42731 PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN));
42732 PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT));
42733 PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH));
42734 PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK));
42735 PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT));
42736 PyDict_SetItemString(d,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW));
42737 PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT));
42738 PyDict_SetItemString(d,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX));
42739 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
42740 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
42741 PyDict_SetItemString(d,"FromStart", SWIG_FromInt((int)wxFromStart));
42742 PyDict_SetItemString(d,"FromCurrent", SWIG_FromInt((int)wxFromCurrent));
42743 PyDict_SetItemString(d,"FromEnd", SWIG_FromInt((int)wxFromEnd));
42744
42745 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
42746
42747
42748 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
42749
42750 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
42751 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
42752 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
42753 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
42754 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
42755 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
42756 PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES));
42757 PyDict_SetItemString(d,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM));
42758 PyDict_SetItemString(d,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP));
42759 PyDict_SetItemString(d,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP));
42760 PyDict_SetItemString(d,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY));
42761 PyDict_SetItemString(d,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY));
42762 PyDict_SetItemString(d,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED));
42763 PyDict_SetItemString(d,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE));
42764 PyDict_SetItemString(d,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP));
42765 PyDict_SetItemString(d,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP));
42766 PyDict_SetItemString(d,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW));
42767 PyDict_SetItemString(d,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE));
42768 PyDict_SetItemString(d,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX));
42769 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
42770 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
42771 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
42772 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
42773 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
42774 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
42775 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
42776 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
42777 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
42778 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
42779 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
42780 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
42781 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
42782 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
42783 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
42784 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
42785 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
42786 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
42787 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
42788 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
42789 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
42790 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
42791 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
42792 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
42793 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
42794 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
42795 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
42796 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
42797 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
42798 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
42799 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
42800 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
42801 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
42802 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
42803 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
42804 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
42805 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
42806 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
42807 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
42808 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
42809 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
42810 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
42811 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
42812 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
42813 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
42814 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
42815 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
42816 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
42817 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
42818 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
42819 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
42820 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
42821 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
42822 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
42823 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
42824 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
42825 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
42826 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
42827 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
42828 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
42829 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
42830 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
42831 PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
42832 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
42833 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
42834 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
42835 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
42836 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
42837 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
42838 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
42839 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
42840 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
42841 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
42842 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
42843 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
42844 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
42845 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
42846 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
42847 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
42848 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
42849 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
42850 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
42851 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
42852 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
42853 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
42854 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
42855 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
42856 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
42857 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
42858 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
42859 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
42860 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
42861 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
42862 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
42863 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
42864 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
42865 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
42866 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
42867 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
42868 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
42869 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
42870 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
42871 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
42872 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
42873 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
42874 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
42875 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
42876 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
42877 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
42878 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
42879 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
42880 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
42881 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
42882 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
42883 PyDict_SetItemString(d,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY));
42884 PyDict_SetItemString(d,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE));
42885 PyDict_SetItemString(d,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT));
42886 PyDict_SetItemString(d,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE));
42887 PyDict_SetItemString(d,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT));
42888 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL));
42889 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED));
42890 PyDict_SetItemString(d,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL));
42891 PyDict_SetItemString(d,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED));
42892 PyDict_SetItemString(d,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS));
42893 PyDict_SetItemString(d,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION));
42894 PyDict_SetItemString(d,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG));
42895 PyDict_SetItemString(d,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG));
42896 PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS));
42897 PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT));
42898 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
42899 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
42900 PyDict_SetItemString(d,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL));
42901 PyDict_SetItemString(d,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL));
42902 PyDict_SetItemString(d,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI));
42903 PyDict_SetItemString(d,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE));
42904 PyDict_SetItemString(d,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX));
42905 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
42906 SWIG_addvarlink(SWIG_globals,(char*)"ControlNameStr",_wrap_ControlNameStr_get, _wrap_ControlNameStr_set);
42907 PyDict_SetItemString(d,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE));
42908 PyDict_SetItemString(d,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED));
42909 PyDict_SetItemString(d,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL));
42910 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
42911 PyDict_SetItemString(d,"Left", SWIG_FromInt((int)wxLeft));
42912 PyDict_SetItemString(d,"Top", SWIG_FromInt((int)wxTop));
42913 PyDict_SetItemString(d,"Right", SWIG_FromInt((int)wxRight));
42914 PyDict_SetItemString(d,"Bottom", SWIG_FromInt((int)wxBottom));
42915 PyDict_SetItemString(d,"Width", SWIG_FromInt((int)wxWidth));
42916 PyDict_SetItemString(d,"Height", SWIG_FromInt((int)wxHeight));
42917 PyDict_SetItemString(d,"Centre", SWIG_FromInt((int)wxCentre));
42918 PyDict_SetItemString(d,"Center", SWIG_FromInt((int)wxCenter));
42919 PyDict_SetItemString(d,"CentreX", SWIG_FromInt((int)wxCentreX));
42920 PyDict_SetItemString(d,"CentreY", SWIG_FromInt((int)wxCentreY));
42921 PyDict_SetItemString(d,"Unconstrained", SWIG_FromInt((int)wxUnconstrained));
42922 PyDict_SetItemString(d,"AsIs", SWIG_FromInt((int)wxAsIs));
42923 PyDict_SetItemString(d,"PercentOf", SWIG_FromInt((int)wxPercentOf));
42924 PyDict_SetItemString(d,"Above", SWIG_FromInt((int)wxAbove));
42925 PyDict_SetItemString(d,"Below", SWIG_FromInt((int)wxBelow));
42926 PyDict_SetItemString(d,"LeftOf", SWIG_FromInt((int)wxLeftOf));
42927 PyDict_SetItemString(d,"RightOf", SWIG_FromInt((int)wxRightOf));
42928 PyDict_SetItemString(d,"SameAs", SWIG_FromInt((int)wxSameAs));
42929 PyDict_SetItemString(d,"Absolute", SWIG_FromInt((int)wxAbsolute));
42930
42931 // Initialize threading, some globals and such
42932 __wxPyPreStart(d);
42933
42934
42935 // Although these are defined in __version__ they need to be here too so
42936 // that an assert can be done to ensure that the wxPython and the wxWindows
42937 // versions match.
42938 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
42939 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
42940 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
42941
42942}
42943