]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/core_wrap.cpp
SWIG Runtime update
[wxWidgets.git] / wxPython / src / gtk / core_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
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
49
50/***********************************************************************
51 * common.swg for wxPython
52 *
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
56 * anyway.
57 *
58 ************************************************************************/
59
60#include <string.h>
61
62#if defined(_WIN32) || defined(__WIN32__)
63# if defined(_MSC_VER)
64# if defined(STATIC_LINKED)
65# define SWIGEXPORT(a) a
66# define SWIGIMPORT(a) extern a
67# else
68# define SWIGEXPORT(a) __declspec(dllexport) a
69# define SWIGIMPORT(a) extern a
70# endif
71# else
72# if defined(__BORLANDC__)
73# define SWIGEXPORT(a) a _export
74# define SWIGIMPORT(a) a _export
75# else
76# define SWIGEXPORT(a) a
77# define SWIGIMPORT(a) a
78# endif
79# endif
80#else
81# define SWIGEXPORT(a) a
82# define SWIGIMPORT(a) a
83#endif
84
85#ifdef SWIG_GLOBAL
86#define SWIGRUNTIME(a) SWIGEXPORT(a)
87#else
88#define SWIGRUNTIME(a) static a
89#endif
90
91
92#ifdef __cplusplus
93extern "C" {
94#endif
95
96typedef void *(*swig_converter_func)(void *);
97typedef struct swig_type_info *(*swig_dycast_func)(void **);
98
99typedef struct swig_type_info {
100 const char *name;
101 swig_converter_func converter;
102 const char *str;
103 void *clientdata;
104 swig_dycast_func dcast;
105 struct swig_type_info *next;
106 struct swig_type_info *prev;
107} swig_type_info;
108
109
110SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
111SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
112SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
113SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
114SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
115SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
116SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
117
118
119#ifdef __cplusplus
120}
121#endif
122
123/***********************************************************************
124 * pyrun.swg for wxPython
125 *
126 * Include only the function prototypes and such from SWIG's pyrun.swg,
127 * but not the runtime functions themselves. This helps keep the
128 * wrapper files clean of unnecessary stuff that is in the libpy.c file
129 * anyway.
130 *
131 ************************************************************************/
132
133
134#include "Python.h"
135
136#ifdef __cplusplus
137extern "C" {
138#endif
139
140#define SWIG_PY_INT 1
141#define SWIG_PY_FLOAT 2
142#define SWIG_PY_STRING 3
143#define SWIG_PY_POINTER 4
144#define SWIG_PY_BINARY 5
145
146/* Flags for pointer conversion */
147
148#define SWIG_POINTER_EXCEPTION 0x1
149#define SWIG_POINTER_DISOWN 0x2
150
151/* Exception handling in wrappers */
152#define SWIG_fail goto fail
153
154/* Constant information structure */
155typedef struct swig_const_info {
156 int type;
157 char *name;
158 long lvalue;
159 double dvalue;
160 void *pvalue;
161 swig_type_info **ptype;
162} swig_const_info;
163
164
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_PackData(c, ptr, sz) \
182 SWIG_Python_PackData(c, ptr, sz)
183#define SWIG_UnpackData(c, ptr, sz) \
184 SWIG_Python_UnpackData(c, ptr, sz)
185#define SWIG_NewPackedObj(ptr, sz, type) \
186 SWIG_Python_NewPackedObj(ptr, sz, type)
187#define SWIG_InstallConstants(d, constants) \
188 SWIG_Python_InstallConstants(d, constants)
189
190
191SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
192SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
193SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
194
195SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void);
196SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
197SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
198SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int);
199SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int);
200SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
201SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
202
203
204/* Contract support */
205
206#define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
207#define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
208
209#define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
210#define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
211
212#define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
213#define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
214#define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
215
216#ifdef __cplusplus
217}
218#endif
219
220
221
222/* -------- TYPES TABLE (BEGIN) -------- */
223
224#define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
225#define SWIGTYPE_p_wxRealPoint swig_types[1]
226#define SWIGTYPE_p_wxSizerItem swig_types[2]
227#define SWIGTYPE_p_wxGBSizerItem swig_types[3]
228#define SWIGTYPE_p_wxScrollEvent swig_types[4]
229#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
230#define SWIGTYPE_p_wxSizer swig_types[6]
231#define SWIGTYPE_p_wxBoxSizer swig_types[7]
232#define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
233#define SWIGTYPE_p_wxGridBagSizer swig_types[9]
234#define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
235#define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
236#define SWIGTYPE_p_wxMenu swig_types[12]
237#define SWIGTYPE_p_wxEvent swig_types[13]
238#define SWIGTYPE_p_wxGridSizer swig_types[14]
239#define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
240#define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
241#define SWIGTYPE_p_wxItemContainer swig_types[17]
242#define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
243#define SWIGTYPE_p_wxPaintEvent swig_types[19]
244#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
245#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
246#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
247#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
248#define SWIGTYPE_p_wxControl swig_types[24]
249#define SWIGTYPE_p_wxFont swig_types[25]
250#define SWIGTYPE_p_wxMenuBarBase swig_types[26]
251#define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
252#define SWIGTYPE_p_wxFSFile swig_types[28]
253#define SWIGTYPE_p_wxCaret swig_types[29]
254#define SWIGTYPE_p_wxRegion swig_types[30]
255#define SWIGTYPE_p_wxPoint2D swig_types[31]
256#define SWIGTYPE_p_int swig_types[32]
257#define SWIGTYPE_p_wxSize swig_types[33]
258#define SWIGTYPE_p_wxDC swig_types[34]
259#define SWIGTYPE_p_wxPySizer swig_types[35]
260#define SWIGTYPE_p_wxNotifyEvent swig_types[36]
261#define SWIGTYPE_p_wxPyEvent swig_types[37]
262#define SWIGTYPE_p_wxPropagationDisabler swig_types[38]
263#define SWIGTYPE_p_wxAppTraits swig_types[39]
264#define SWIGTYPE_p_wxArrayString swig_types[40]
265#define SWIGTYPE_p_wxShowEvent swig_types[41]
266#define SWIGTYPE_p_wxToolTip swig_types[42]
267#define SWIGTYPE_p_wxMaximizeEvent swig_types[43]
268#define SWIGTYPE_p_wxIconizeEvent swig_types[44]
269#define SWIGTYPE_p_wxActivateEvent swig_types[45]
270#define SWIGTYPE_p_wxMoveEvent swig_types[46]
271#define SWIGTYPE_p_wxSizeEvent swig_types[47]
272#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[48]
273#define SWIGTYPE_p_wxWindowCreateEvent swig_types[49]
274#define SWIGTYPE_p_wxIdleEvent swig_types[50]
275#define SWIGTYPE_p_wxMenuItem swig_types[51]
276#define SWIGTYPE_p_wxStaticBox swig_types[52]
277#define SWIGTYPE_p_long swig_types[53]
278#define SWIGTYPE_p_wxTIFFHandler swig_types[54]
279#define SWIGTYPE_p_wxXPMHandler swig_types[55]
280#define SWIGTYPE_p_wxPNMHandler swig_types[56]
281#define SWIGTYPE_p_wxJPEGHandler swig_types[57]
282#define SWIGTYPE_p_wxPCXHandler swig_types[58]
283#define SWIGTYPE_p_wxGIFHandler swig_types[59]
284#define SWIGTYPE_p_wxPNGHandler swig_types[60]
285#define SWIGTYPE_p_wxANIHandler swig_types[61]
286#define SWIGTYPE_p_wxMemoryFSHandler swig_types[62]
287#define SWIGTYPE_p_wxEvtHandler swig_types[63]
288#define SWIGTYPE_p_wxCURHandler swig_types[64]
289#define SWIGTYPE_p_wxICOHandler swig_types[65]
290#define SWIGTYPE_p_wxBMPHandler swig_types[66]
291#define SWIGTYPE_p_wxImageHandler swig_types[67]
292#define SWIGTYPE_p_wxFileSystemHandler swig_types[68]
293#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[69]
294#define SWIGTYPE_p_wxInternetFSHandler swig_types[70]
295#define SWIGTYPE_p_wxZipFSHandler swig_types[71]
296#define SWIGTYPE_p_wxRect swig_types[72]
297#define SWIGTYPE_p_wxGBSpan swig_types[73]
298#define SWIGTYPE_p_wxPropagateOnce swig_types[74]
299#define SWIGTYPE_p_wxAcceleratorTable swig_types[75]
300#define SWIGTYPE_p_wxGBPosition swig_types[76]
301#define SWIGTYPE_p_wxImage swig_types[77]
302#define SWIGTYPE_p_wxFrame swig_types[78]
303#define SWIGTYPE_p_wxScrollWinEvent swig_types[79]
304#define SWIGTYPE_p_wxImageHistogram swig_types[80]
305#define SWIGTYPE_p_byte swig_types[81]
306#define SWIGTYPE_p_wxPoint swig_types[82]
307#define SWIGTYPE_p_wxCursor swig_types[83]
308#define SWIGTYPE_p_wxObject swig_types[84]
309#define SWIGTYPE_p_wxPyInputStream swig_types[85]
310#define SWIGTYPE_p_wxOutputStream swig_types[86]
311#define SWIGTYPE_p_wxInputStream swig_types[87]
312#define SWIGTYPE_p_wxDateTime swig_types[88]
313#define SWIGTYPE_p_wxKeyEvent swig_types[89]
314#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[90]
315#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[91]
316#define SWIGTYPE_p_wxWindow swig_types[92]
317#define SWIGTYPE_p_wxMenuBar swig_types[93]
318#define SWIGTYPE_p_wxString swig_types[94]
319#define SWIGTYPE_p_wxFileSystem swig_types[95]
320#define SWIGTYPE_p_wxBitmap swig_types[96]
321#define SWIGTYPE_p_wxMenuEvent swig_types[97]
322#define SWIGTYPE_p_wxContextMenuEvent swig_types[98]
323#define SWIGTYPE_p_unsigned_char swig_types[99]
324#define SWIGTYPE_p_wxCloseEvent swig_types[100]
325#define SWIGTYPE_p_wxEraseEvent swig_types[101]
326#define SWIGTYPE_p_wxMouseEvent swig_types[102]
327#define SWIGTYPE_p_wxPyApp swig_types[103]
328#define SWIGTYPE_p_wxCommandEvent swig_types[104]
329#define SWIGTYPE_p_wxPyCommandEvent swig_types[105]
330#define SWIGTYPE_p_wxDropTarget swig_types[106]
331#define SWIGTYPE_p_wxChildFocusEvent swig_types[107]
332#define SWIGTYPE_p_wxFocusEvent swig_types[108]
333#define SWIGTYPE_p_wxDropFilesEvent swig_types[109]
334#define SWIGTYPE_p_wxControlWithItems swig_types[110]
335#define SWIGTYPE_p_wxColour swig_types[111]
336#define SWIGTYPE_p_wxValidator swig_types[112]
337#define SWIGTYPE_p_wxPyValidator swig_types[113]
338static swig_type_info *swig_types[115];
339
340/* -------- TYPES TABLE (END) -------- */
341
342
343/*-----------------------------------------------
344 @(target):= _core.so
345 ------------------------------------------------*/
346#define SWIG_init init_core
347
348#define SWIG_name "_core"
349
350#include "wx/wxPython/wxPython_int.h"
351#include "wx/wxPython/pyclasses.h"
352
353
354#ifndef wxPyUSE_EXPORT
355// Helper functions for dealing with SWIG objects and such. These are
356// located here so they know about the SWIG types and functions declared
357// in the wrapper code.
358
359#include <wx/hashmap.h>
360WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap );
361
362
363// Maintains a hashmap of className to swig_type_info pointers. Given the
364// name of a class either looks up the type info in the cache, or scans the
365// SWIG tables for it.
366extern PyObject* wxPyPtrTypeMap;
367static
368swig_type_info* wxPyFindSwigType(const wxChar* className) {
369
370 static wxPyTypeInfoHashMap* typeInfoCache = NULL;
371
372 if (typeInfoCache == NULL)
373 typeInfoCache = new wxPyTypeInfoHashMap;
374
375 wxString name(className);
376 swig_type_info* swigType = (*typeInfoCache)[name];
377
378 if (! swigType) {
379 // it wasn't in the cache, so look it up from SWIG
380 name.Append(wxT(" *"));
381 swigType = SWIG_Python_TypeQuery(name.mb_str());
382
383 // if it still wasn't found, try looking for a mapped name
384 if (!swigType) {
385 PyObject* item;
386 name = className;
387
388 if ((item = PyDict_GetItemString(wxPyPtrTypeMap,
389 (char*)(const char*)name.mbc_str())) != NULL) {
390 name = wxString(PyString_AsString(item), *wxConvCurrent);
391 name.Append(wxT(" *"));
392 swigType = SWIG_Python_TypeQuery(name.mb_str());
393 }
394 }
395 if (swigType) {
396 // and add it to the map if found
397 (*typeInfoCache)[className] = swigType;
398 }
399 }
400 return swigType;
401}
402
403
404// Check if a class name is a type known to SWIG
405bool wxPyCheckSwigType(const wxChar* className) {
406
407 swig_type_info* swigType = wxPyFindSwigType(className);
408 return swigType != NULL;
409}
410
411
412// Given a pointer to a C++ object and a class name, construct a Python proxy
413// object for it.
414PyObject* wxPyConstructObject(void* ptr,
415 const wxChar* className,
416 int setThisOwn) {
417
418 swig_type_info* swigType = wxPyFindSwigType(className);
419 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConstructObject"));
420
421 return SWIG_Python_NewPointerObj(ptr, swigType, setThisOwn);
422}
423
424
425// Extract a pointer to the wrapped C++ object from a Python proxy object.
426// Ensures that the proxy object is of the specified (or derived) type. If
427// not able to perform the conversion then a Python exception is set and the
e811c8ce 428// error should be handled properly in the caller. Returns True on success.
d14a1e28
RD
429bool wxPyConvertSwigPtr(PyObject* obj, void **ptr,
430 const wxChar* className) {
431
432 swig_type_info* swigType = wxPyFindSwigType(className);
e811c8ce 433 wxCHECK_MSG(swigType != NULL, False, wxT("Unknown type in wxPyConvertSwigPtr"));
d14a1e28
RD
434
435 return SWIG_Python_ConvertPtr(obj, ptr, swigType, SWIG_POINTER_EXCEPTION) != -1;
436}
437
438
439// Make a SWIGified pointer object suitable for a .this attribute
440PyObject* wxPyMakeSwigPtr(void* ptr, const wxChar* className) {
441
442 PyObject* robj = NULL;
443
444 swig_type_info* swigType = wxPyFindSwigType(className);
445 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConvertSwigPtr"));
446
447#ifdef SWIG_COBJECT_TYPES
448 robj = PyCObject_FromVoidPtrAndDesc((void *) ptr, (char *) swigType->name, NULL);
449#else
450 {
451 char result[1024];
452 char *r = result;
453 *(r++) = '_';
454 r = SWIG_Python_PackData(r, &ptr, sizeof(void *));
455 strcpy(r, swigType->name);
456 robj = PyString_FromString(result);
457 }
458#endif
459
460 return robj;
461}
462
463
464
465
466// Export a C API in a struct. Other modules will be able to load this from
467// the wx.core module and will then have safe access to these functions, even if
468// they are located in another shared library.
469static wxPyCoreAPI API = {
470
471 (p_SWIG_Python_TypeRegister_t)SWIG_Python_TypeRegister,
472 (p_SWIG_Python_TypeCheck_t)SWIG_Python_TypeCheck,
473 (p_SWIG_Python_TypeCast_t)SWIG_Python_TypeCast,
474 (p_SWIG_Python_TypeDynamicCast_t)SWIG_Python_TypeDynamicCast,
475 (p_SWIG_Python_TypeName_t)SWIG_Python_TypeName,
476 (p_SWIG_Python_TypeQuery_t)SWIG_Python_TypeQuery,
477 (p_SWIG_Python_TypeClientData_t)SWIG_Python_TypeClientData,
478 (p_SWIG_Python_newvarlink_t)SWIG_Python_newvarlink,
479 (p_SWIG_Python_addvarlink_t)SWIG_Python_addvarlink,
480 (p_SWIG_Python_ConvertPtr_t)SWIG_Python_ConvertPtr,
481 (p_SWIG_Python_ConvertPacked_t)SWIG_Python_ConvertPacked,
482 (p_SWIG_Python_PackData_t)SWIG_Python_PackData,
483 (p_SWIG_Python_UnpackData_t)SWIG_Python_UnpackData,
484 (p_SWIG_Python_NewPointerObj_t)SWIG_Python_NewPointerObj,
485 (p_SWIG_Python_NewPackedObj_t)SWIG_Python_NewPackedObj,
486 (p_SWIG_Python_InstallConstants_t)SWIG_Python_InstallConstants,
487 (p_SWIG_Python_MustGetPtr_t)SWIG_Python_MustGetPtr,
488
489 wxPyCheckSwigType,
490 wxPyConstructObject,
491 wxPyConvertSwigPtr,
492 wxPyMakeSwigPtr,
493
494 wxPyBeginAllowThreads,
495 wxPyEndAllowThreads,
496 wxPyBeginBlockThreads,
497 wxPyEndBlockThreads,
498
499 wxPy_ConvertList,
500
501 wxString_in_helper,
502 Py2wxString,
503 wx2PyString,
504
505 byte_LIST_helper,
506 int_LIST_helper,
507 long_LIST_helper,
508 string_LIST_helper,
509 wxPoint_LIST_helper,
510 wxBitmap_LIST_helper,
511 wxString_LIST_helper,
512 wxAcceleratorEntry_LIST_helper,
513
514 wxSize_helper,
515 wxPoint_helper,
516 wxRealPoint_helper,
517 wxRect_helper,
518 wxColour_helper,
519 wxPoint2D_helper,
520
521 wxPySimple_typecheck,
522 wxColour_typecheck,
523
524 wxPyCBH_setCallbackInfo,
525 wxPyCBH_findCallback,
526 wxPyCBH_callCallback,
527 wxPyCBH_callCallbackObj,
528 wxPyCBH_delete,
529
530 wxPyMake_wxObject,
531 wxPyMake_wxSizer,
532 wxPyPtrTypeMap_Add,
533 wxPy2int_seq_helper,
534 wxPy4int_seq_helper,
535 wxArrayString2PyList_helper,
536 wxArrayInt2PyList_helper,
537
538 wxPyClientData_dtor,
539 wxPyUserData_dtor,
540 wxPyOORClientData_dtor,
541
542 wxPyCBInputStream_create,
543
544 wxPyInstance_Check,
545 wxPySwigInstance_Check
546
547};
548
549#endif
550
551
552 DECLARE_DEF_STRING(EmptyString);
e811c8ce 553// DECLARE_DEF_STRING(PanelNameStr);
d14a1e28
RD
554
555
556#if ! wxUSE_HOTKEY
557enum wxHotkeyModifier
558{
559 wxMOD_NONE = 0,
560 wxMOD_ALT = 1,
561 wxMOD_CONTROL = 2,
562 wxMOD_SHIFT = 4,
563 wxMOD_WIN = 8
564};
565#define wxEVT_HOTKEY 9999
566#endif
567
568wxString wxObject_GetClassName(wxObject *self){
569 return self->GetClassInfo()->GetClassName();
570 }
571void wxObject_Destroy(wxObject *self){
572 delete self;
573 }
574
575#ifndef __WXMAC__
576#define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
577#endif
578
e811c8ce 579PyObject *wxSize_Get(wxSize *self){
d14a1e28
RD
580 wxPyBeginBlockThreads();
581 PyObject* tup = PyTuple_New(2);
582 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
583 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
584 wxPyEndBlockThreads();
585 return tup;
586 }
587void wxRealPoint_Set(wxRealPoint *self,double x,double y){
588 self->x = x;
589 self->y = y;
590 }
e811c8ce 591PyObject *wxRealPoint_Get(wxRealPoint *self){
d14a1e28
RD
592 wxPyBeginBlockThreads();
593 PyObject* tup = PyTuple_New(2);
594 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x));
595 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
596 wxPyEndBlockThreads();
597 return tup;
598 }
599void wxPoint_Set(wxPoint *self,long x,long y){
600 self->x = x;
601 self->y = y;
602 }
e811c8ce 603PyObject *wxPoint_Get(wxPoint *self){
d14a1e28
RD
604 wxPyBeginBlockThreads();
605 PyObject* tup = PyTuple_New(2);
606 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
607 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
608 wxPyEndBlockThreads();
609 return tup;
610 }
611void wxRect_Set(wxRect *self,int x,int y,int width,int height){
612 self->x = x;
613 self->y = y;
614 self->width = width;
615 self->height = height;
616 }
e811c8ce 617PyObject *wxRect_Get(wxRect *self){
d14a1e28
RD
618 wxPyBeginBlockThreads();
619 PyObject* tup = PyTuple_New(4);
620 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
621 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
622 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(self->width));
623 PyTuple_SET_ITEM(tup, 3, PyInt_FromLong(self->height));
624 wxPyEndBlockThreads();
625 return tup;
626 }
627
628 PyObject* wxIntersectRect(wxRect* r1, wxRect* r2) {
629 wxRegion reg1(*r1);
630 wxRegion reg2(*r2);
631 wxRect dest(0,0,0,0);
632 PyObject* obj;
633
634 reg1.Intersect(reg2);
635 dest = reg1.GetBox();
636
637 if (dest != wxRect(0,0,0,0)) {
638 wxPyBeginBlockThreads();
639 wxRect* newRect = new wxRect(dest);
e811c8ce 640 obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), True);
d14a1e28
RD
641 wxPyEndBlockThreads();
642 return obj;
643 }
644 Py_INCREF(Py_None);
645 return Py_None;
646 }
647
648
649static PyObject* t_output_helper(PyObject* target, PyObject* o) {
650 PyObject* o2;
651 PyObject* o3;
652
653 if (!target) {
654 target = o;
655 } else if (target == Py_None) {
656 Py_DECREF(Py_None);
657 target = o;
658 } else {
659 if (!PyTuple_Check(target)) {
660 o2 = target;
661 target = PyTuple_New(1);
662 PyTuple_SetItem(target, 0, o2);
663 }
664 o3 = PyTuple_New(1);
665 PyTuple_SetItem(o3, 0, o);
666
667 o2 = target;
668 target = PySequence_Concat(o2, o3);
669 Py_DECREF(o2);
670 Py_DECREF(o3);
671 }
672 return target;
673}
674
675void wxPoint2D_Set(wxPoint2D *self,double x,double y){
676 self->m_x = x;
677 self->m_y = y;
678 }
e811c8ce 679PyObject *wxPoint2D_Get(wxPoint2D *self){
d14a1e28
RD
680 wxPyBeginBlockThreads();
681 PyObject* tup = PyTuple_New(2);
682 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->m_x));
683 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->m_y));
684 wxPyEndBlockThreads();
685 return tup;
686 }
687
688#include "wx/wxPython/pyistream.h"
689
690wxPyInputStream *new_wxPyInputStream(PyObject *p){
691 wxInputStream* wxis = wxPyCBInputStream::create(p);
692 if (wxis)
693 return new wxPyInputStream(wxis);
694 else
695 return NULL;
696 }
697void wxOutputStream_write(wxOutputStream *self,PyObject *obj){
698 // We use only strings for the streams, not unicode
699 PyObject* str = PyObject_Str(obj);
700 if (! str) {
701 PyErr_SetString(PyExc_TypeError, "Unable to convert to string");
702 return;
703 }
704 self->Write(PyString_AS_STRING(str),
705 PyString_GET_SIZE(str));
706 Py_DECREF(str);
707 }
708
709#include "wx/wxPython/pyistream.h"
710
711
712class wxPyFileSystemHandler : public wxFileSystemHandler
713{
714public:
715 wxPyFileSystemHandler() : wxFileSystemHandler() {}
716
717 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen);
718 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile);
719 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst);
720 DEC_PYCALLBACK_STRING__pure(FindNext);
721
722 wxString GetProtocol(const wxString& location) {
723 return wxFileSystemHandler::GetProtocol(location);
724 }
725
726 wxString GetLeftLocation(const wxString& location) {
727 return wxFileSystemHandler::GetLeftLocation(location);
728 }
729
730 wxString GetAnchor(const wxString& location) {
731 return wxFileSystemHandler::GetAnchor(location);
732 }
733
734 wxString GetRightLocation(const wxString& location) {
735 return wxFileSystemHandler::GetRightLocation(location);
736 }
737
738 wxString GetMimeTypeFromExt(const wxString& location) {
739 return wxFileSystemHandler::GetMimeTypeFromExt(location);
740 }
741
742 PYPRIVATE;
743};
744
745
746IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, CanOpen);
747IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, OpenFile);
748IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler, wxFileSystemHandler, FindFirst);
749IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler, wxFileSystemHandler, FindNext);
750
751
752 wxString wxFileSystem_URLToFileName(const wxString& url) {
753 wxFileName fname = wxFileSystem::URLToFileName(url);
754 return fname.GetFullPath();
755 }
756
757
758 void __wxMemoryFSHandler_AddFile_wxImage(const wxString& filename,
759 wxImage& image,
760 long type) {
761 wxMemoryFSHandler::AddFile(filename, image, type);
762 }
763
764 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString& filename,
765 const wxBitmap& bitmap,
766 long type) {
767 wxMemoryFSHandler::AddFile(filename, bitmap, type);
768 }
769
770 void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
771 PyObject* data) {
772 wxMemoryFSHandler::AddFile(filename,
773 // TODO: Verify data type
774 (void*)PyString_AsString(data),
775 (size_t)PyString_Size(data));
776 }
777
778
779#include "wx/wxPython/pyistream.h"
780
781wxImage *new_wxImage(int width,int height,bool clear){
782 if (width > 0 && height > 0)
783 return new wxImage(width, height, clear);
784 else
785 return new wxImage;
786 }
787wxImage *new_wxImage(wxBitmap const &bitmap){
788 return new wxImage(bitmap.ConvertToImage());
789 }
790wxImage *new_wxImage(int width,int height,unsigned char *data){
791 // Copy the source data so the wxImage can clean it up later
792 unsigned char* copy = (unsigned char*)malloc(width*height*3);
793 if (copy == NULL) {
794 PyErr_NoMemory();
795 return NULL;
796 }
797 memcpy(copy, data, width*height*3);
e811c8ce 798 return new wxImage(width, height, copy, False);
d14a1e28
RD
799 }
800PyObject *wxImage_GetData(wxImage *self){
801 unsigned char* data = self->GetData();
802 int len = self->GetWidth() * self->GetHeight() * 3;
803 PyObject* rv;
804 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len));
805 return rv;
806 }
807void wxImage_SetData(wxImage *self,PyObject *data){
808 unsigned char* dataPtr;
809
810 if (! PyString_Check(data)) {
811 PyErr_SetString(PyExc_TypeError, "Expected string object");
812 return /* NULL */ ;
813 }
814
815 size_t len = self->GetWidth() * self->GetHeight() * 3;
816 dataPtr = (unsigned char*) malloc(len);
817 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
818 self->SetData(dataPtr);
819 // wxImage takes ownership of dataPtr...
820 }
821PyObject *wxImage_GetDataBuffer(wxImage *self){
822 unsigned char* data = self->GetData();
823 int len = self->GetWidth() * self->GetHeight() * 3;
824 PyObject* rv;
825 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
826 return rv;
827 }
828void wxImage_SetDataBuffer(wxImage *self,PyObject *data){
829 unsigned char* buffer;
830 int size;
831
832 wxPyBeginBlockThreads();
833 if (!PyArg_Parse(data, "t#", &buffer, &size))
834 goto done;
835
836 if (size != self->GetWidth() * self->GetHeight() * 3) {
837 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
838 goto done;
839 }
840 self->SetData(buffer);
841 done:
842 wxPyEndBlockThreads();
843 }
844PyObject *wxImage_GetAlphaData(wxImage *self){
845 unsigned char* data = self->GetAlpha();
846 if (! data) {
847 RETURN_NONE();
848 } else {
849 int len = self->GetWidth() * self->GetHeight();
850 PyObject* rv;
851 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len) );
852 return rv;
853 }
854 }
855void wxImage_SetAlphaData(wxImage *self,PyObject *data){
856 unsigned char* dataPtr;
857
858 if (! PyString_Check(data)) {
859 PyErr_SetString(PyExc_TypeError, "Expected string object");
860 return /* NULL */ ;
861 }
862
863 size_t len = self->GetWidth() * self->GetHeight();
864 dataPtr = (unsigned char*) malloc(len);
865 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
866 self->SetAlpha(dataPtr);
867 // wxImage takes ownership of dataPtr...
868 }
869PyObject *wxImage_GetAlphaBuffer(wxImage *self){
870 unsigned char* data = self->GetAlpha();
871 int len = self->GetWidth() * self->GetHeight();
872 PyObject* rv;
873 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
874 return rv;
875 }
876void wxImage_SetAlphaBuffer(wxImage *self,PyObject *data){
877 unsigned char* buffer;
878 int size;
879
880 wxPyBeginBlockThreads();
881 if (!PyArg_Parse(data, "t#", &buffer, &size))
882 goto done;
883
884 if (size != self->GetWidth() * self->GetHeight()) {
885 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
886 goto done;
887 }
888 self->SetAlpha(buffer);
889 done:
890 wxPyEndBlockThreads();
891 }
892wxBitmap wxImage_ConvertToBitmap(wxImage *self){
893 wxBitmap bitmap(*self);
894 return bitmap;
895 }
896wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,unsigned char red,unsigned char green,unsigned char blue){
897 wxImage mono = self->ConvertToMono( red, green, blue );
898 wxBitmap bitmap( mono, 1 );
899 return bitmap;
900 }
901 static const wxString wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT);
902 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X);
903 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y);
904 static const wxString wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION);
905 static const wxString wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT);
906void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject *func){
907 if (PyCallable_Check(func)) {
908 self->Connect(id, lastId, eventType,
909 (wxObjectEventFunction) &wxPyCallback::EventThunker,
910 new wxPyCallback(func));
911 }
912 else if (func == Py_None) {
913 self->Disconnect(id, lastId, eventType,
914 (wxObjectEventFunction)
915 &wxPyCallback::EventThunker);
916 }
917 else {
918 PyErr_SetString(PyExc_TypeError, "Expected callable object or None.");
919 }
920 }
921bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType){
922 return self->Disconnect(id, lastId, eventType,
923 (wxObjectEventFunction)
924 &wxPyCallback::EventThunker);
925 }
926void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject *_self){
927 if (_self && _self != Py_None) {
928 self->SetClientObject(new wxPyOORClientData(_self));
929 }
930 else {
931 wxPyOORClientData* data = (wxPyOORClientData*)self->GetClientObject();
932 if (data) {
933 self->SetClientObject(NULL); // This will delete it too
934 }
935 }
936 }
937int wxKeyEvent_GetUniChar(wxKeyEvent *self){
938
939
940
941 return 0;
942
943 }
944void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){
945 self->m_size = size;
946 }
947void wxMoveEvent_SetPosition(wxMoveEvent *self,wxPoint pos){
948 self->m_pos = pos;
949 }
950PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
951 int count = self->GetNumberOfFiles();
952 wxString* files = self->GetFiles();
953 PyObject* list = PyList_New(count);
954
955 if (!list) {
956 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
957 return NULL;
958 }
959
960 for (int i=0; i<count; i++) {
961
962
963
964 PyList_SetItem(list, i, PyString_FromString((const char*)files[i]));
965
966 }
967 return list;
968 }
969
970
971wxPyApp *new_wxPyApp(){
972 wxPythonApp = new wxPyApp();
973 return wxPythonApp;
974 }
975int PyApp_GetComCtl32Version(){ PyErr_SetNone(PyExc_NotImplementedError); return 0; }
976
977 void wxApp_CleanUp() {
978 __wxPyCleanup();
979 }
980
981
982 wxPyApp* wxGetApp() {
983 return (wxPyApp*)wxTheApp;
984 }
985
986
987
e811c8ce 988 static const wxString wxPyPanelNameStr(wxPanelNameStr);
d14a1e28
RD
989PyObject *wxWindow_GetChildren(wxWindow *self){
990 wxWindowList& list = self->GetChildren();
991 return wxPy_ConvertList(&list);
992 }
993bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keycode){
994
995
996
e811c8ce 997 return False;
d14a1e28
RD
998
999 }
1000bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId){
1001
1002
1003
e811c8ce 1004 return False;
d14a1e28
RD
1005
1006 }
1007long wxWindow_GetHandle(wxWindow *self){
1008 return wxPyGetWinHandle(self);
1009 }
1010
1011wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
1012 return wxWindow::FindWindowById(id, parent);
1013}
1014
1015wxWindow* wxFindWindowByName( const wxString& name,
1016 const wxWindow *parent = NULL ) {
1017 return wxWindow::FindWindowByName(name, parent);
1018}
1019
1020wxWindow* wxFindWindowByLabel( const wxString& label,
1021 const wxWindow *parent = NULL ) {
1022 return wxWindow::FindWindowByLabel(label, parent);
1023}
1024
1025
1026 wxWindow* wxWindow_FromHWND(unsigned long hWnd) {
1027#ifdef __WXMSW__
1028 wxWindow* win = new wxWindow;
1029 win->SetHWND(hWnd);
1030 win->SubclassWin(hWnd);
1031 return win;
1032#else
1033 PyErr_SetNone(PyExc_NotImplementedError);
1034 return NULL;
1035#endif
1036 }
1037
1038
1039IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
1040IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
1041IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
1042
1043IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
1044
1045void wxMenu_Destroy(wxMenu *self){ delete self; }
1046PyObject *wxMenu_GetMenuItems(wxMenu *self){
1047 wxMenuItemList& list = self->GetMenuItems();
1048 return wxPy_ConvertList(&list);
1049 }
1050int MenuItem_GetDefaultMarginWidth(){ return 0; }
1051
1052 DECLARE_DEF_STRING(ControlNameStr);
1053
1054int wxItemContainer_Append(wxItemContainer *self,wxString const &item,PyObject *clientData){
1055 if (clientData) {
1056 wxPyClientData* data = new wxPyClientData(clientData);
1057 return self->Append(item, data);
1058 } else
1059 return self->Append(item);
1060 }
1061int wxItemContainer_Insert(wxItemContainer *self,wxString const &item,int pos,PyObject *clientData){
1062 if (clientData) {
1063 wxPyClientData* data = new wxPyClientData(clientData);
1064 return self->Insert(item, pos, data);
1065 } else
1066 return self->Insert(item, pos);
1067 }
1068PyObject *wxItemContainer_GetClientData(wxItemContainer *self,int n){
1069 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
1070 if (data) {
1071 Py_INCREF(data->m_obj);
1072 return data->m_obj;
1073 } else {
1074 Py_INCREF(Py_None);
1075 return Py_None;
1076 }
1077 }
1078void wxItemContainer_SetClientData(wxItemContainer *self,int n,PyObject *clientData){
1079 wxPyClientData* data = new wxPyClientData(clientData);
1080 self->SetClientObject(n, data);
1081 }
1082
1083
1084PyObject *wxSizerItem_GetUserData(wxSizerItem *self){
1085 wxPyUserData* data = (wxPyUserData*)self->GetUserData();
1086 if (data) {
1087 Py_INCREF(data->m_obj);
1088 return data->m_obj;
1089 } else {
1090 Py_INCREF(Py_None);
1091 return Py_None;
1092 }
1093 }
1094
1095// Figure out the type of the sizer item
1096
1097struct wxPySizerItemInfo {
1098 wxPySizerItemInfo()
e811c8ce
RD
1099 : window(NULL), sizer(NULL), gotSize(False),
1100 size(wxDefaultSize), gotPos(False), pos(-1)
d14a1e28
RD
1101 {}
1102
1103 wxWindow* window;
1104 wxSizer* sizer;
1105 bool gotSize;
1106 wxSize size;
1107 bool gotPos;
1108 int pos;
1109};
1110
1111static wxPySizerItemInfo wxPySizerItemTypeHelper(PyObject* item, bool checkSize, bool checkIdx ) {
1112
1113 wxPySizerItemInfo info;
1114 wxSize size;
1115 wxSize* sizePtr = &size;
1116
1117 // Find out what the type of the item is
1118 // try wxWindow
1119 if ( ! wxPyConvertSwigPtr(item, (void**)&info.window, wxT("wxWindow")) ) {
1120 PyErr_Clear();
1121 info.window = NULL;
1122
1123 // try wxSizer
1124 if ( ! wxPyConvertSwigPtr(item, (void**)&info.sizer, wxT("wxSizer")) ) {
1125 PyErr_Clear();
1126 info.sizer = NULL;
1127
1128 // try wxSize or (w,h)
1129 if ( checkSize && wxSize_helper(item, &sizePtr)) {
1130 info.size = *sizePtr;
e811c8ce 1131 info.gotSize = True;
d14a1e28
RD
1132 }
1133
1134 // or a single int
1135 if (checkIdx && PyInt_Check(item)) {
1136 info.pos = PyInt_AsLong(item);
e811c8ce 1137 info.gotPos = True;
d14a1e28
RD
1138 }
1139 }
1140 }
1141
1142 if ( !(info.window || info.sizer || (checkSize && info.gotSize) || (checkIdx && info.gotPos)) ) {
1143 // no expected type, figure out what kind of error message to generate
1144 if ( !checkSize && !checkIdx )
1145 PyErr_SetString(PyExc_TypeError, "wxWindow or wxSizer expected for item");
1146 else if ( checkSize && !checkIdx )
1147 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1148 else if ( !checkSize && checkIdx)
1149 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer or int (position) expected for item");
1150 else
1151 // can this one happen?
1152 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1153 }
1154
1155 return info;
1156}
1157
1158void wxSizer__setOORInfo(wxSizer *self,PyObject *_self){
1159 self->SetClientObject(new wxPyOORClientData(_self));
1160 }
1161void wxSizer_Add(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1162
1163 wxPyUserData* data = NULL;
1164 wxPyBeginBlockThreads();
e811c8ce 1165 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1166 if ( userData && (info.window || info.sizer || info.gotSize) )
1167 data = new wxPyUserData(userData);
1168 wxPyEndBlockThreads();
1169
1170 // Now call the real Add method if a valid item type was found
1171 if ( info.window )
1172 self->Add(info.window, proportion, flag, border, data);
1173 else if ( info.sizer )
1174 self->Add(info.sizer, proportion, flag, border, data);
1175 else if (info.gotSize)
1176 self->Add(info.size.GetWidth(), info.size.GetHeight(),
1177 proportion, flag, border, data);
1178 }
1179void wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1180
1181 wxPyUserData* data = NULL;
1182 wxPyBeginBlockThreads();
e811c8ce 1183 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1184 if ( userData && (info.window || info.sizer || info.gotSize) )
1185 data = new wxPyUserData(userData);
1186 wxPyEndBlockThreads();
1187
1188 // Now call the real Insert method if a valid item type was found
1189 if ( info.window )
1190 self->Insert(before, info.window, proportion, flag, border, data);
1191 else if ( info.sizer )
1192 self->Insert(before, info.sizer, proportion, flag, border, data);
1193 else if (info.gotSize)
1194 self->Insert(before, info.size.GetWidth(), info.size.GetHeight(),
1195 proportion, flag, border, data);
1196 }
1197void wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1198
1199 wxPyUserData* data = NULL;
1200 wxPyBeginBlockThreads();
e811c8ce 1201 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1202 if ( userData && (info.window || info.sizer || info.gotSize) )
1203 data = new wxPyUserData(userData);
1204 wxPyEndBlockThreads();
1205
1206 // Now call the real Prepend method if a valid item type was found
1207 if ( info.window )
1208 self->Prepend(info.window, proportion, flag, border, data);
1209 else if ( info.sizer )
1210 self->Prepend(info.sizer, proportion, flag, border, data);
1211 else if (info.gotSize)
1212 self->Prepend(info.size.GetWidth(), info.size.GetHeight(),
1213 proportion, flag, border, data);
1214 }
1215bool wxSizer_Remove(wxSizer *self,PyObject *item){
1216 wxPyBeginBlockThreads();
e811c8ce 1217 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
d14a1e28
RD
1218 wxPyEndBlockThreads();
1219 if ( info.window )
1220 return self->Remove(info.window);
1221 else if ( info.sizer )
1222 return self->Remove(info.sizer);
1223 else if ( info.gotPos )
1224 return self->Remove(info.pos);
1225 else
e811c8ce 1226 return False;
d14a1e28 1227 }
e811c8ce 1228void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){
d14a1e28 1229 wxPyBeginBlockThreads();
e811c8ce 1230 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
d14a1e28
RD
1231 wxPyEndBlockThreads();
1232 if ( info.window )
1233 self->SetItemMinSize(info.window, size);
1234 else if ( info.sizer )
1235 self->SetItemMinSize(info.sizer, size);
1236 else if ( info.gotPos )
1237 self->SetItemMinSize(info.pos, size);
1238 }
1239PyObject *wxSizer_GetChildren(wxSizer *self){
1240 wxSizerItemList& list = self->GetChildren();
1241 return wxPy_ConvertList(&list);
1242 }
1243void wxSizer_Show(wxSizer *self,PyObject *item,bool show){
e811c8ce 1244 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d14a1e28
RD
1245 if ( info.window )
1246 self->Show(info.window, show);
1247 else if ( info.sizer )
1248 self->Show(info.sizer, show);
1249 }
1250void wxSizer_Hide(wxSizer *self,PyObject *item){
e811c8ce 1251 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d14a1e28
RD
1252 if ( info.window )
1253 self->Hide(info.window);
1254 else if ( info.sizer )
1255 self->Hide(info.sizer);
1256 }
1257bool wxSizer_IsShown(wxSizer *self,PyObject *item){
e811c8ce 1258 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d14a1e28
RD
1259 if ( info.window )
1260 return self->IsShown(info.window);
1261 else if ( info.sizer )
1262 return self->IsShown(info.sizer);
1263 else
e811c8ce 1264 return False;
d14a1e28
RD
1265 }
1266
1267// See pyclasses.h
1268IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
1269IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
1270IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
1271
1272
1273
1274
1275bool wxGBPosition_helper(PyObject* source, wxGBPosition** obj)
1276{
1277 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBPosition"));
1278}
1279
1280bool wxGBSpan_helper(PyObject* source, wxGBSpan** obj)
1281{
1282 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBSpan"));
1283}
1284
1285
e811c8ce
RD
1286void wxGBPosition_Set(wxGBPosition *self,int row,int col){
1287 self->SetRow(row);
1288 self->SetCol(col);
1289 }
1290PyObject *wxGBPosition_Get(wxGBPosition *self){
d14a1e28
RD
1291 wxPyBeginBlockThreads();
1292 PyObject* tup = PyTuple_New(2);
1293 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1294 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
1295 wxPyEndBlockThreads();
1296 return tup;
1297 }
e811c8ce
RD
1298void wxGBSpan_Set(wxGBSpan *self,int rowspan,int colspan){
1299 self->SetRowspan(rowspan);
1300 self->SetColspan(colspan);
1301 }
1302PyObject *wxGBSpan_Get(wxGBSpan *self){
d14a1e28
RD
1303 wxPyBeginBlockThreads();
1304 PyObject* tup = PyTuple_New(2);
1305 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRowspan()));
1306 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetColspan()));
1307 wxPyEndBlockThreads();
1308 return tup;
1309 }
1310bool wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1311
1312 wxPyUserData* data = NULL;
1313 wxPyBeginBlockThreads();
e811c8ce 1314 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1315 if ( userData && (info.window || info.sizer || info.gotSize) )
1316 data = new wxPyUserData(userData);
1317 wxPyEndBlockThreads();
1318
1319 // Now call the real Add method if a valid item type was found
1320 if ( info.window )
1321 return self->Add(info.window, pos, span, flag, border, data);
1322 else if ( info.sizer )
1323 return self->Add(info.sizer, pos, span, flag, border, data);
1324 else if (info.gotSize)
1325 return self->Add(info.size.GetWidth(), info.size.GetHeight(),
1326 pos, span, flag, border, data);
e811c8ce 1327 return False;
d14a1e28
RD
1328 }
1329
1330
1331#ifdef __cplusplus
1332extern "C" {
1333#endif
1334static PyObject *_wrap_Object_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
1335 PyObject *resultobj;
1336 wxObject *arg1 = (wxObject *) 0 ;
1337 wxString result;
1338 PyObject * obj0 = 0 ;
1339 char *kwnames[] = {
1340 (char *) "self", NULL
1341 };
1342
1343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_GetClassName",kwnames,&obj0)) goto fail;
1344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1345 {
1346 PyThreadState* __tstate = wxPyBeginAllowThreads();
1347 result = wxObject_GetClassName(arg1);
1348
1349 wxPyEndAllowThreads(__tstate);
1350 if (PyErr_Occurred()) SWIG_fail;
1351 }
1352 {
1353#if wxUSE_UNICODE
1354 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1355#else
1356 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1357#endif
1358 }
1359 return resultobj;
1360 fail:
1361 return NULL;
1362}
1363
1364
1365static PyObject *_wrap_Object_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
1366 PyObject *resultobj;
1367 wxObject *arg1 = (wxObject *) 0 ;
1368 PyObject * obj0 = 0 ;
1369 char *kwnames[] = {
1370 (char *) "self", NULL
1371 };
1372
1373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_Destroy",kwnames,&obj0)) goto fail;
1374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1375 {
1376 PyThreadState* __tstate = wxPyBeginAllowThreads();
1377 wxObject_Destroy(arg1);
1378
1379 wxPyEndAllowThreads(__tstate);
1380 if (PyErr_Occurred()) SWIG_fail;
1381 }
1382 Py_INCREF(Py_None); resultobj = Py_None;
1383 return resultobj;
1384 fail:
1385 return NULL;
1386}
1387
1388
1389static PyObject * Object_swigregister(PyObject *self, PyObject *args) {
1390 PyObject *obj;
1391 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1392 SWIG_TypeClientData(SWIGTYPE_p_wxObject, obj);
1393 Py_INCREF(obj);
1394 return Py_BuildValue((char *)"");
1395}
1396static PyObject *_wrap_Size_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1397 PyObject *resultobj;
1398 wxSize *arg1 = (wxSize *) 0 ;
1399 int arg2 ;
1400 PyObject * obj0 = 0 ;
1401 char *kwnames[] = {
1402 (char *) "self",(char *) "x", NULL
1403 };
1404
1405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Size_width_set",kwnames,&obj0,&arg2)) goto fail;
1406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1407 if (arg1) (arg1)->x = arg2;
1408
1409 Py_INCREF(Py_None); resultobj = Py_None;
1410 return resultobj;
1411 fail:
1412 return NULL;
1413}
1414
1415
1416static PyObject *_wrap_Size_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1417 PyObject *resultobj;
1418 wxSize *arg1 = (wxSize *) 0 ;
1419 int result;
1420 PyObject * obj0 = 0 ;
1421 char *kwnames[] = {
1422 (char *) "self", NULL
1423 };
1424
1425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_width_get",kwnames,&obj0)) goto fail;
1426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1427 result = (int) ((arg1)->x);
1428
1429 resultobj = PyInt_FromLong((long)result);
1430 return resultobj;
1431 fail:
1432 return NULL;
1433}
1434
1435
1436static PyObject *_wrap_Size_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1437 PyObject *resultobj;
1438 wxSize *arg1 = (wxSize *) 0 ;
1439 int arg2 ;
1440 PyObject * obj0 = 0 ;
1441 char *kwnames[] = {
1442 (char *) "self",(char *) "y", NULL
1443 };
1444
1445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Size_height_set",kwnames,&obj0,&arg2)) goto fail;
1446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1447 if (arg1) (arg1)->y = arg2;
1448
1449 Py_INCREF(Py_None); resultobj = Py_None;
1450 return resultobj;
1451 fail:
1452 return NULL;
1453}
1454
1455
1456static PyObject *_wrap_Size_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1457 PyObject *resultobj;
1458 wxSize *arg1 = (wxSize *) 0 ;
1459 int result;
1460 PyObject * obj0 = 0 ;
1461 char *kwnames[] = {
1462 (char *) "self", NULL
1463 };
1464
1465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_height_get",kwnames,&obj0)) goto fail;
1466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1467 result = (int) ((arg1)->y);
1468
1469 resultobj = PyInt_FromLong((long)result);
1470 return resultobj;
1471 fail:
1472 return NULL;
1473}
1474
1475
1476static PyObject *_wrap_new_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
1477 PyObject *resultobj;
1478 int arg1 = (int) 0 ;
1479 int arg2 = (int) 0 ;
1480 wxSize *result;
1481 char *kwnames[] = {
1482 (char *) "w",(char *) "h", NULL
1483 };
1484
1485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_Size",kwnames,&arg1,&arg2)) goto fail;
1486 {
1487 PyThreadState* __tstate = wxPyBeginAllowThreads();
1488 result = (wxSize *)new wxSize(arg1,arg2);
1489
1490 wxPyEndAllowThreads(__tstate);
1491 if (PyErr_Occurred()) SWIG_fail;
1492 }
1493 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 1);
1494 return resultobj;
1495 fail:
1496 return NULL;
1497}
1498
1499
1500static PyObject *_wrap_delete_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
1501 PyObject *resultobj;
1502 wxSize *arg1 = (wxSize *) 0 ;
1503 PyObject * obj0 = 0 ;
1504 char *kwnames[] = {
1505 (char *) "self", NULL
1506 };
1507
1508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Size",kwnames,&obj0)) goto fail;
1509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1510 {
1511 PyThreadState* __tstate = wxPyBeginAllowThreads();
1512 delete arg1;
1513
1514 wxPyEndAllowThreads(__tstate);
1515 if (PyErr_Occurred()) SWIG_fail;
1516 }
1517 Py_INCREF(Py_None); resultobj = Py_None;
1518 return resultobj;
1519 fail:
1520 return NULL;
1521}
1522
1523
1524static PyObject *_wrap_Size___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
1525 PyObject *resultobj;
1526 wxSize *arg1 = (wxSize *) 0 ;
1527 wxSize *arg2 = 0 ;
1528 bool result;
1529 wxSize temp2 ;
1530 PyObject * obj0 = 0 ;
1531 PyObject * obj1 = 0 ;
1532 char *kwnames[] = {
1533 (char *) "self",(char *) "sz", NULL
1534 };
1535
1536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___eq__",kwnames,&obj0,&obj1)) goto fail;
1537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1538 {
1539 arg2 = &temp2;
1540 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1541 }
1542 {
1543 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 1544 result = (bool)(arg1)->operator ==((wxSize const &)*arg2);
d14a1e28
RD
1545
1546 wxPyEndAllowThreads(__tstate);
1547 if (PyErr_Occurred()) SWIG_fail;
1548 }
1549 resultobj = PyInt_FromLong((long)result);
1550 return resultobj;
1551 fail:
1552 return NULL;
1553}
1554
1555
1556static PyObject *_wrap_Size___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
1557 PyObject *resultobj;
1558 wxSize *arg1 = (wxSize *) 0 ;
1559 wxSize *arg2 = 0 ;
1560 bool result;
1561 wxSize temp2 ;
1562 PyObject * obj0 = 0 ;
1563 PyObject * obj1 = 0 ;
1564 char *kwnames[] = {
1565 (char *) "self",(char *) "sz", NULL
1566 };
1567
1568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___ne__",kwnames,&obj0,&obj1)) goto fail;
1569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1570 {
1571 arg2 = &temp2;
1572 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1573 }
1574 {
1575 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 1576 result = (bool)(arg1)->operator !=((wxSize const &)*arg2);
d14a1e28
RD
1577
1578 wxPyEndAllowThreads(__tstate);
1579 if (PyErr_Occurred()) SWIG_fail;
1580 }
1581 resultobj = PyInt_FromLong((long)result);
1582 return resultobj;
1583 fail:
1584 return NULL;
1585}
1586
1587
1588static PyObject *_wrap_Size___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
1589 PyObject *resultobj;
1590 wxSize *arg1 = (wxSize *) 0 ;
1591 wxSize *arg2 = 0 ;
1592 wxSize result;
1593 wxSize temp2 ;
1594 PyObject * obj0 = 0 ;
1595 PyObject * obj1 = 0 ;
1596 char *kwnames[] = {
1597 (char *) "self",(char *) "sz", NULL
1598 };
1599
1600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___add__",kwnames,&obj0,&obj1)) goto fail;
1601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1602 {
1603 arg2 = &temp2;
1604 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1605 }
1606 {
1607 PyThreadState* __tstate = wxPyBeginAllowThreads();
1608 result = (arg1)->operator +((wxSize const &)*arg2);
1609
1610 wxPyEndAllowThreads(__tstate);
1611 if (PyErr_Occurred()) SWIG_fail;
1612 }
1613 {
1614 wxSize * resultptr;
1615 resultptr = new wxSize((wxSize &) result);
1616 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1617 }
1618 return resultobj;
1619 fail:
1620 return NULL;
1621}
1622
1623
1624static PyObject *_wrap_Size___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
1625 PyObject *resultobj;
1626 wxSize *arg1 = (wxSize *) 0 ;
1627 wxSize *arg2 = 0 ;
1628 wxSize result;
1629 wxSize temp2 ;
1630 PyObject * obj0 = 0 ;
1631 PyObject * obj1 = 0 ;
1632 char *kwnames[] = {
1633 (char *) "self",(char *) "sz", NULL
1634 };
1635
1636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___sub__",kwnames,&obj0,&obj1)) goto fail;
1637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1638 {
1639 arg2 = &temp2;
1640 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1641 }
1642 {
1643 PyThreadState* __tstate = wxPyBeginAllowThreads();
1644 result = (arg1)->operator -((wxSize const &)*arg2);
1645
1646 wxPyEndAllowThreads(__tstate);
1647 if (PyErr_Occurred()) SWIG_fail;
1648 }
1649 {
1650 wxSize * resultptr;
1651 resultptr = new wxSize((wxSize &) result);
1652 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1653 }
1654 return resultobj;
1655 fail:
1656 return NULL;
1657}
1658
1659
1660static PyObject *_wrap_Size_IncTo(PyObject *self, PyObject *args, PyObject *kwargs) {
1661 PyObject *resultobj;
1662 wxSize *arg1 = (wxSize *) 0 ;
1663 wxSize *arg2 = 0 ;
1664 wxSize temp2 ;
1665 PyObject * obj0 = 0 ;
1666 PyObject * obj1 = 0 ;
1667 char *kwnames[] = {
1668 (char *) "self",(char *) "sz", NULL
1669 };
1670
1671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_IncTo",kwnames,&obj0,&obj1)) goto fail;
1672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1673 {
1674 arg2 = &temp2;
1675 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1676 }
1677 {
1678 PyThreadState* __tstate = wxPyBeginAllowThreads();
1679 (arg1)->IncTo((wxSize const &)*arg2);
1680
1681 wxPyEndAllowThreads(__tstate);
1682 if (PyErr_Occurred()) SWIG_fail;
1683 }
1684 Py_INCREF(Py_None); resultobj = Py_None;
1685 return resultobj;
1686 fail:
1687 return NULL;
1688}
1689
1690
1691static PyObject *_wrap_Size_DecTo(PyObject *self, PyObject *args, PyObject *kwargs) {
1692 PyObject *resultobj;
1693 wxSize *arg1 = (wxSize *) 0 ;
1694 wxSize *arg2 = 0 ;
1695 wxSize temp2 ;
1696 PyObject * obj0 = 0 ;
1697 PyObject * obj1 = 0 ;
1698 char *kwnames[] = {
1699 (char *) "self",(char *) "sz", NULL
1700 };
1701
1702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_DecTo",kwnames,&obj0,&obj1)) goto fail;
1703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1704 {
1705 arg2 = &temp2;
1706 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1707 }
1708 {
1709 PyThreadState* __tstate = wxPyBeginAllowThreads();
1710 (arg1)->DecTo((wxSize const &)*arg2);
1711
1712 wxPyEndAllowThreads(__tstate);
1713 if (PyErr_Occurred()) SWIG_fail;
1714 }
1715 Py_INCREF(Py_None); resultobj = Py_None;
1716 return resultobj;
1717 fail:
1718 return NULL;
1719}
1720
1721
1722static PyObject *_wrap_Size_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
1723 PyObject *resultobj;
1724 wxSize *arg1 = (wxSize *) 0 ;
1725 int arg2 ;
1726 int arg3 ;
1727 PyObject * obj0 = 0 ;
1728 char *kwnames[] = {
e811c8ce 1729 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
1730 };
1731
1732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Size_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
1733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1734 {
1735 PyThreadState* __tstate = wxPyBeginAllowThreads();
1736 (arg1)->Set(arg2,arg3);
1737
1738 wxPyEndAllowThreads(__tstate);
1739 if (PyErr_Occurred()) SWIG_fail;
1740 }
1741 Py_INCREF(Py_None); resultobj = Py_None;
1742 return resultobj;
1743 fail:
1744 return NULL;
1745}
1746
1747
1748static PyObject *_wrap_Size_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1749 PyObject *resultobj;
1750 wxSize *arg1 = (wxSize *) 0 ;
1751 int arg2 ;
1752 PyObject * obj0 = 0 ;
1753 char *kwnames[] = {
1754 (char *) "self",(char *) "w", NULL
1755 };
1756
1757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Size_SetWidth",kwnames,&obj0,&arg2)) goto fail;
1758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1759 {
1760 PyThreadState* __tstate = wxPyBeginAllowThreads();
1761 (arg1)->SetWidth(arg2);
1762
1763 wxPyEndAllowThreads(__tstate);
1764 if (PyErr_Occurred()) SWIG_fail;
1765 }
1766 Py_INCREF(Py_None); resultobj = Py_None;
1767 return resultobj;
1768 fail:
1769 return NULL;
1770}
1771
1772
1773static PyObject *_wrap_Size_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1774 PyObject *resultobj;
1775 wxSize *arg1 = (wxSize *) 0 ;
1776 int arg2 ;
1777 PyObject * obj0 = 0 ;
1778 char *kwnames[] = {
1779 (char *) "self",(char *) "h", NULL
1780 };
1781
1782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Size_SetHeight",kwnames,&obj0,&arg2)) goto fail;
1783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1784 {
1785 PyThreadState* __tstate = wxPyBeginAllowThreads();
1786 (arg1)->SetHeight(arg2);
1787
1788 wxPyEndAllowThreads(__tstate);
1789 if (PyErr_Occurred()) SWIG_fail;
1790 }
1791 Py_INCREF(Py_None); resultobj = Py_None;
1792 return resultobj;
1793 fail:
1794 return NULL;
1795}
1796
1797
1798static PyObject *_wrap_Size_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1799 PyObject *resultobj;
1800 wxSize *arg1 = (wxSize *) 0 ;
1801 int result;
1802 PyObject * obj0 = 0 ;
1803 char *kwnames[] = {
1804 (char *) "self", NULL
1805 };
1806
1807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetWidth",kwnames,&obj0)) goto fail;
1808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1809 {
1810 PyThreadState* __tstate = wxPyBeginAllowThreads();
1811 result = (int)((wxSize const *)arg1)->GetWidth();
1812
1813 wxPyEndAllowThreads(__tstate);
1814 if (PyErr_Occurred()) SWIG_fail;
1815 }
1816 resultobj = PyInt_FromLong((long)result);
1817 return resultobj;
1818 fail:
1819 return NULL;
1820}
1821
1822
1823static PyObject *_wrap_Size_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1824 PyObject *resultobj;
1825 wxSize *arg1 = (wxSize *) 0 ;
1826 int result;
1827 PyObject * obj0 = 0 ;
1828 char *kwnames[] = {
1829 (char *) "self", NULL
1830 };
1831
1832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetHeight",kwnames,&obj0)) goto fail;
1833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1834 {
1835 PyThreadState* __tstate = wxPyBeginAllowThreads();
1836 result = (int)((wxSize const *)arg1)->GetHeight();
1837
1838 wxPyEndAllowThreads(__tstate);
1839 if (PyErr_Occurred()) SWIG_fail;
1840 }
1841 resultobj = PyInt_FromLong((long)result);
1842 return resultobj;
1843 fail:
1844 return NULL;
1845}
1846
1847
e811c8ce 1848static PyObject *_wrap_Size_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1849 PyObject *resultobj;
1850 wxSize *arg1 = (wxSize *) 0 ;
1851 PyObject *result;
1852 PyObject * obj0 = 0 ;
1853 char *kwnames[] = {
1854 (char *) "self", NULL
1855 };
1856
e811c8ce 1857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
1858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1859 {
1860 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 1861 result = (PyObject *)wxSize_Get(arg1);
d14a1e28
RD
1862
1863 wxPyEndAllowThreads(__tstate);
1864 if (PyErr_Occurred()) SWIG_fail;
1865 }
1866 resultobj = result;
1867 return resultobj;
1868 fail:
1869 return NULL;
1870}
1871
1872
1873static PyObject * Size_swigregister(PyObject *self, PyObject *args) {
1874 PyObject *obj;
1875 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1876 SWIG_TypeClientData(SWIGTYPE_p_wxSize, obj);
1877 Py_INCREF(obj);
1878 return Py_BuildValue((char *)"");
1879}
1880static PyObject *_wrap_RealPoint_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1881 PyObject *resultobj;
1882 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1883 double arg2 ;
1884 PyObject * obj0 = 0 ;
1885 char *kwnames[] = {
1886 (char *) "self",(char *) "x", NULL
1887 };
1888
1889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:RealPoint_x_set",kwnames,&obj0,&arg2)) goto fail;
1890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1891 if (arg1) (arg1)->x = arg2;
1892
1893 Py_INCREF(Py_None); resultobj = Py_None;
1894 return resultobj;
1895 fail:
1896 return NULL;
1897}
1898
1899
1900static PyObject *_wrap_RealPoint_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1901 PyObject *resultobj;
1902 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1903 double result;
1904 PyObject * obj0 = 0 ;
1905 char *kwnames[] = {
1906 (char *) "self", NULL
1907 };
1908
1909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_x_get",kwnames,&obj0)) goto fail;
1910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1911 result = (double) ((arg1)->x);
1912
1913 resultobj = PyFloat_FromDouble(result);
1914 return resultobj;
1915 fail:
1916 return NULL;
1917}
1918
1919
1920static PyObject *_wrap_RealPoint_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1921 PyObject *resultobj;
1922 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1923 double arg2 ;
1924 PyObject * obj0 = 0 ;
1925 char *kwnames[] = {
1926 (char *) "self",(char *) "y", NULL
1927 };
1928
1929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:RealPoint_y_set",kwnames,&obj0,&arg2)) goto fail;
1930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1931 if (arg1) (arg1)->y = arg2;
1932
1933 Py_INCREF(Py_None); resultobj = Py_None;
1934 return resultobj;
1935 fail:
1936 return NULL;
1937}
1938
1939
1940static PyObject *_wrap_RealPoint_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1941 PyObject *resultobj;
1942 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1943 double result;
1944 PyObject * obj0 = 0 ;
1945 char *kwnames[] = {
1946 (char *) "self", NULL
1947 };
1948
1949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_y_get",kwnames,&obj0)) goto fail;
1950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1951 result = (double) ((arg1)->y);
1952
1953 resultobj = PyFloat_FromDouble(result);
1954 return resultobj;
1955 fail:
1956 return NULL;
1957}
1958
1959
1960static PyObject *_wrap_new_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1961 PyObject *resultobj;
1962 double arg1 = (double) 0.0 ;
1963 double arg2 = (double) 0.0 ;
1964 wxRealPoint *result;
1965 char *kwnames[] = {
1966 (char *) "x",(char *) "y", NULL
1967 };
1968
1969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_RealPoint",kwnames,&arg1,&arg2)) goto fail;
1970 {
1971 PyThreadState* __tstate = wxPyBeginAllowThreads();
1972 result = (wxRealPoint *)new wxRealPoint(arg1,arg2);
1973
1974 wxPyEndAllowThreads(__tstate);
1975 if (PyErr_Occurred()) SWIG_fail;
1976 }
1977 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRealPoint, 1);
1978 return resultobj;
1979 fail:
1980 return NULL;
1981}
1982
1983
1984static PyObject *_wrap_delete_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1985 PyObject *resultobj;
1986 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1987 PyObject * obj0 = 0 ;
1988 char *kwnames[] = {
1989 (char *) "self", NULL
1990 };
1991
1992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RealPoint",kwnames,&obj0)) goto fail;
1993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1994 {
1995 PyThreadState* __tstate = wxPyBeginAllowThreads();
1996 delete arg1;
1997
1998 wxPyEndAllowThreads(__tstate);
1999 if (PyErr_Occurred()) SWIG_fail;
2000 }
2001 Py_INCREF(Py_None); resultobj = Py_None;
2002 return resultobj;
2003 fail:
2004 return NULL;
2005}
2006
2007
e811c8ce 2008static PyObject *_wrap_RealPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2009 PyObject *resultobj;
2010 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2011 wxRealPoint *arg2 = 0 ;
e811c8ce 2012 bool result;
d14a1e28
RD
2013 wxRealPoint temp2 ;
2014 PyObject * obj0 = 0 ;
2015 PyObject * obj1 = 0 ;
2016 char *kwnames[] = {
2017 (char *) "self",(char *) "pt", NULL
2018 };
2019
e811c8ce 2020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
2021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2022 {
2023 arg2 = &temp2;
2024 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2025 }
2026 {
2027 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2028 result = (bool)(arg1)->operator ==((wxRealPoint const &)*arg2);
d14a1e28
RD
2029
2030 wxPyEndAllowThreads(__tstate);
2031 if (PyErr_Occurred()) SWIG_fail;
2032 }
e811c8ce 2033 resultobj = PyInt_FromLong((long)result);
d14a1e28
RD
2034 return resultobj;
2035 fail:
2036 return NULL;
2037}
2038
2039
e811c8ce 2040static PyObject *_wrap_RealPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2041 PyObject *resultobj;
2042 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2043 wxRealPoint *arg2 = 0 ;
e811c8ce 2044 bool result;
d14a1e28
RD
2045 wxRealPoint temp2 ;
2046 PyObject * obj0 = 0 ;
2047 PyObject * obj1 = 0 ;
2048 char *kwnames[] = {
2049 (char *) "self",(char *) "pt", NULL
2050 };
2051
e811c8ce 2052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
2053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2054 {
2055 arg2 = &temp2;
2056 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2057 }
2058 {
2059 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2060 result = (bool)(arg1)->operator !=((wxRealPoint const &)*arg2);
d14a1e28
RD
2061
2062 wxPyEndAllowThreads(__tstate);
2063 if (PyErr_Occurred()) SWIG_fail;
2064 }
e811c8ce 2065 resultobj = PyInt_FromLong((long)result);
d14a1e28
RD
2066 return resultobj;
2067 fail:
2068 return NULL;
2069}
2070
2071
e811c8ce 2072static PyObject *_wrap_RealPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2073 PyObject *resultobj;
2074 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2075 wxRealPoint *arg2 = 0 ;
e811c8ce 2076 wxRealPoint result;
d14a1e28
RD
2077 wxRealPoint temp2 ;
2078 PyObject * obj0 = 0 ;
2079 PyObject * obj1 = 0 ;
2080 char *kwnames[] = {
2081 (char *) "self",(char *) "pt", NULL
2082 };
2083
e811c8ce 2084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
2085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2086 {
2087 arg2 = &temp2;
2088 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2089 }
2090 {
2091 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2092 result = (arg1)->operator +((wxRealPoint const &)*arg2);
d14a1e28
RD
2093
2094 wxPyEndAllowThreads(__tstate);
2095 if (PyErr_Occurred()) SWIG_fail;
2096 }
e811c8ce
RD
2097 {
2098 wxRealPoint * resultptr;
2099 resultptr = new wxRealPoint((wxRealPoint &) result);
2100 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
2101 }
d14a1e28
RD
2102 return resultobj;
2103 fail:
2104 return NULL;
2105}
2106
2107
e811c8ce 2108static PyObject *_wrap_RealPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2109 PyObject *resultobj;
2110 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2111 wxRealPoint *arg2 = 0 ;
e811c8ce 2112 wxRealPoint result;
d14a1e28
RD
2113 wxRealPoint temp2 ;
2114 PyObject * obj0 = 0 ;
2115 PyObject * obj1 = 0 ;
2116 char *kwnames[] = {
2117 (char *) "self",(char *) "pt", NULL
2118 };
2119
e811c8ce 2120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
2121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2122 {
2123 arg2 = &temp2;
2124 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2125 }
2126 {
2127 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2128 result = (arg1)->operator -((wxRealPoint const &)*arg2);
d14a1e28
RD
2129
2130 wxPyEndAllowThreads(__tstate);
2131 if (PyErr_Occurred()) SWIG_fail;
2132 }
e811c8ce
RD
2133 {
2134 wxRealPoint * resultptr;
2135 resultptr = new wxRealPoint((wxRealPoint &) result);
2136 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
2137 }
d14a1e28
RD
2138 return resultobj;
2139 fail:
2140 return NULL;
2141}
2142
2143
2144static PyObject *_wrap_RealPoint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2145 PyObject *resultobj;
2146 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2147 double arg2 ;
2148 double arg3 ;
2149 PyObject * obj0 = 0 ;
2150 char *kwnames[] = {
2151 (char *) "self",(char *) "x",(char *) "y", NULL
2152 };
2153
2154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:RealPoint_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
2155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2156 {
2157 PyThreadState* __tstate = wxPyBeginAllowThreads();
2158 wxRealPoint_Set(arg1,arg2,arg3);
2159
2160 wxPyEndAllowThreads(__tstate);
2161 if (PyErr_Occurred()) SWIG_fail;
2162 }
2163 Py_INCREF(Py_None); resultobj = Py_None;
2164 return resultobj;
2165 fail:
2166 return NULL;
2167}
2168
2169
e811c8ce 2170static PyObject *_wrap_RealPoint_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2171 PyObject *resultobj;
2172 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2173 PyObject *result;
2174 PyObject * obj0 = 0 ;
2175 char *kwnames[] = {
2176 (char *) "self", NULL
2177 };
2178
e811c8ce 2179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
2180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2181 {
2182 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2183 result = (PyObject *)wxRealPoint_Get(arg1);
d14a1e28
RD
2184
2185 wxPyEndAllowThreads(__tstate);
2186 if (PyErr_Occurred()) SWIG_fail;
2187 }
2188 resultobj = result;
2189 return resultobj;
2190 fail:
2191 return NULL;
2192}
2193
2194
2195static PyObject * RealPoint_swigregister(PyObject *self, PyObject *args) {
2196 PyObject *obj;
2197 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2198 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint, obj);
2199 Py_INCREF(obj);
2200 return Py_BuildValue((char *)"");
2201}
2202static PyObject *_wrap_Point_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2203 PyObject *resultobj;
2204 wxPoint *arg1 = (wxPoint *) 0 ;
2205 int arg2 ;
2206 PyObject * obj0 = 0 ;
2207 char *kwnames[] = {
2208 (char *) "self",(char *) "x", NULL
2209 };
2210
2211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Point_x_set",kwnames,&obj0,&arg2)) goto fail;
2212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2213 if (arg1) (arg1)->x = arg2;
2214
2215 Py_INCREF(Py_None); resultobj = Py_None;
2216 return resultobj;
2217 fail:
2218 return NULL;
2219}
2220
2221
2222static PyObject *_wrap_Point_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2223 PyObject *resultobj;
2224 wxPoint *arg1 = (wxPoint *) 0 ;
2225 int result;
2226 PyObject * obj0 = 0 ;
2227 char *kwnames[] = {
2228 (char *) "self", NULL
2229 };
2230
2231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_x_get",kwnames,&obj0)) goto fail;
2232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2233 result = (int) ((arg1)->x);
2234
2235 resultobj = PyInt_FromLong((long)result);
2236 return resultobj;
2237 fail:
2238 return NULL;
2239}
2240
2241
2242static PyObject *_wrap_Point_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2243 PyObject *resultobj;
2244 wxPoint *arg1 = (wxPoint *) 0 ;
2245 int arg2 ;
2246 PyObject * obj0 = 0 ;
2247 char *kwnames[] = {
2248 (char *) "self",(char *) "y", NULL
2249 };
2250
2251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Point_y_set",kwnames,&obj0,&arg2)) goto fail;
2252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2253 if (arg1) (arg1)->y = arg2;
2254
2255 Py_INCREF(Py_None); resultobj = Py_None;
2256 return resultobj;
2257 fail:
2258 return NULL;
2259}
2260
2261
2262static PyObject *_wrap_Point_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2263 PyObject *resultobj;
2264 wxPoint *arg1 = (wxPoint *) 0 ;
2265 int result;
2266 PyObject * obj0 = 0 ;
2267 char *kwnames[] = {
2268 (char *) "self", NULL
2269 };
2270
2271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_y_get",kwnames,&obj0)) goto fail;
2272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2273 result = (int) ((arg1)->y);
2274
2275 resultobj = PyInt_FromLong((long)result);
2276 return resultobj;
2277 fail:
2278 return NULL;
2279}
2280
2281
2282static PyObject *_wrap_new_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2283 PyObject *resultobj;
2284 int arg1 = (int) 0 ;
2285 int arg2 = (int) 0 ;
2286 wxPoint *result;
2287 char *kwnames[] = {
2288 (char *) "x",(char *) "y", NULL
2289 };
2290
2291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_Point",kwnames,&arg1,&arg2)) goto fail;
2292 {
2293 PyThreadState* __tstate = wxPyBeginAllowThreads();
2294 result = (wxPoint *)new wxPoint(arg1,arg2);
2295
2296 wxPyEndAllowThreads(__tstate);
2297 if (PyErr_Occurred()) SWIG_fail;
2298 }
2299 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 1);
2300 return resultobj;
2301 fail:
2302 return NULL;
2303}
2304
2305
2306static PyObject *_wrap_delete_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2307 PyObject *resultobj;
2308 wxPoint *arg1 = (wxPoint *) 0 ;
2309 PyObject * obj0 = 0 ;
2310 char *kwnames[] = {
2311 (char *) "self", NULL
2312 };
2313
2314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Point",kwnames,&obj0)) goto fail;
2315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2316 {
2317 PyThreadState* __tstate = wxPyBeginAllowThreads();
2318 delete arg1;
2319
2320 wxPyEndAllowThreads(__tstate);
2321 if (PyErr_Occurred()) SWIG_fail;
2322 }
2323 Py_INCREF(Py_None); resultobj = Py_None;
2324 return resultobj;
2325 fail:
2326 return NULL;
2327}
2328
2329
2330static PyObject *_wrap_Point___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
2331 PyObject *resultobj;
2332 wxPoint *arg1 = (wxPoint *) 0 ;
2333 wxPoint *arg2 = 0 ;
2334 bool result;
2335 wxPoint temp2 ;
2336 PyObject * obj0 = 0 ;
2337 PyObject * obj1 = 0 ;
2338 char *kwnames[] = {
e811c8ce 2339 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2340 };
2341
2342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail;
2343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2344 {
2345 arg2 = &temp2;
2346 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2347 }
2348 {
2349 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2350 result = (bool)(arg1)->operator ==((wxPoint const &)*arg2);
d14a1e28
RD
2351
2352 wxPyEndAllowThreads(__tstate);
2353 if (PyErr_Occurred()) SWIG_fail;
2354 }
2355 resultobj = PyInt_FromLong((long)result);
2356 return resultobj;
2357 fail:
2358 return NULL;
2359}
2360
2361
2362static PyObject *_wrap_Point___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2363 PyObject *resultobj;
2364 wxPoint *arg1 = (wxPoint *) 0 ;
2365 wxPoint *arg2 = 0 ;
2366 bool result;
2367 wxPoint temp2 ;
2368 PyObject * obj0 = 0 ;
2369 PyObject * obj1 = 0 ;
2370 char *kwnames[] = {
e811c8ce 2371 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2372 };
2373
2374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail;
2375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2376 {
2377 arg2 = &temp2;
2378 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2379 }
2380 {
2381 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2382 result = (bool)(arg1)->operator !=((wxPoint const &)*arg2);
d14a1e28
RD
2383
2384 wxPyEndAllowThreads(__tstate);
2385 if (PyErr_Occurred()) SWIG_fail;
2386 }
2387 resultobj = PyInt_FromLong((long)result);
2388 return resultobj;
2389 fail:
2390 return NULL;
2391}
2392
2393
2394static PyObject *_wrap_Point___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2395 PyObject *resultobj;
2396 wxPoint *arg1 = (wxPoint *) 0 ;
2397 wxPoint *arg2 = 0 ;
2398 wxPoint result;
2399 wxPoint temp2 ;
2400 PyObject * obj0 = 0 ;
2401 PyObject * obj1 = 0 ;
2402 char *kwnames[] = {
e811c8ce 2403 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2404 };
2405
2406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail;
2407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2408 {
2409 arg2 = &temp2;
2410 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2411 }
2412 {
2413 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2414 result = (arg1)->operator +((wxPoint const &)*arg2);
d14a1e28
RD
2415
2416 wxPyEndAllowThreads(__tstate);
2417 if (PyErr_Occurred()) SWIG_fail;
2418 }
2419 {
2420 wxPoint * resultptr;
2421 resultptr = new wxPoint((wxPoint &) result);
2422 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2423 }
2424 return resultobj;
2425 fail:
2426 return NULL;
2427}
2428
2429
2430static PyObject *_wrap_Point___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2431 PyObject *resultobj;
2432 wxPoint *arg1 = (wxPoint *) 0 ;
2433 wxPoint *arg2 = 0 ;
2434 wxPoint result;
2435 wxPoint temp2 ;
2436 PyObject * obj0 = 0 ;
2437 PyObject * obj1 = 0 ;
2438 char *kwnames[] = {
e811c8ce 2439 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2440 };
2441
2442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail;
2443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2444 {
2445 arg2 = &temp2;
2446 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2447 }
2448 {
2449 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2450 result = (arg1)->operator -((wxPoint const &)*arg2);
d14a1e28
RD
2451
2452 wxPyEndAllowThreads(__tstate);
2453 if (PyErr_Occurred()) SWIG_fail;
2454 }
2455 {
2456 wxPoint * resultptr;
2457 resultptr = new wxPoint((wxPoint &) result);
2458 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2459 }
2460 return resultobj;
2461 fail:
2462 return NULL;
2463}
2464
2465
2466static PyObject *_wrap_Point___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
2467 PyObject *resultobj;
2468 wxPoint *arg1 = (wxPoint *) 0 ;
2469 wxPoint *arg2 = 0 ;
2470 wxPoint *result;
2471 wxPoint temp2 ;
2472 PyObject * obj0 = 0 ;
2473 PyObject * obj1 = 0 ;
2474 char *kwnames[] = {
e811c8ce 2475 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2476 };
2477
2478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail;
2479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2480 {
2481 arg2 = &temp2;
2482 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2483 }
2484 {
2485 PyThreadState* __tstate = wxPyBeginAllowThreads();
2486 {
2487 wxPoint &_result_ref = (arg1)->operator +=((wxPoint const &)*arg2);
2488 result = (wxPoint *) &_result_ref;
2489 }
2490
2491 wxPyEndAllowThreads(__tstate);
2492 if (PyErr_Occurred()) SWIG_fail;
2493 }
2494 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
2495 return resultobj;
2496 fail:
2497 return NULL;
2498}
2499
2500
2501static PyObject *_wrap_Point___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2502 PyObject *resultobj;
2503 wxPoint *arg1 = (wxPoint *) 0 ;
2504 wxPoint *arg2 = 0 ;
2505 wxPoint *result;
2506 wxPoint temp2 ;
2507 PyObject * obj0 = 0 ;
2508 PyObject * obj1 = 0 ;
2509 char *kwnames[] = {
e811c8ce 2510 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2511 };
2512
2513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___isub__",kwnames,&obj0,&obj1)) goto fail;
2514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2515 {
2516 arg2 = &temp2;
2517 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2518 }
2519 {
2520 PyThreadState* __tstate = wxPyBeginAllowThreads();
2521 {
2522 wxPoint &_result_ref = (arg1)->operator -=((wxPoint const &)*arg2);
2523 result = (wxPoint *) &_result_ref;
2524 }
2525
2526 wxPyEndAllowThreads(__tstate);
2527 if (PyErr_Occurred()) SWIG_fail;
2528 }
2529 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
2530 return resultobj;
2531 fail:
2532 return NULL;
2533}
2534
2535
2536static PyObject *_wrap_Point_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2537 PyObject *resultobj;
2538 wxPoint *arg1 = (wxPoint *) 0 ;
2539 long arg2 ;
2540 long arg3 ;
2541 PyObject * obj0 = 0 ;
2542 char *kwnames[] = {
2543 (char *) "self",(char *) "x",(char *) "y", NULL
2544 };
2545
2546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:Point_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
2547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2548 {
2549 PyThreadState* __tstate = wxPyBeginAllowThreads();
2550 wxPoint_Set(arg1,arg2,arg3);
2551
2552 wxPyEndAllowThreads(__tstate);
2553 if (PyErr_Occurred()) SWIG_fail;
2554 }
2555 Py_INCREF(Py_None); resultobj = Py_None;
2556 return resultobj;
2557 fail:
2558 return NULL;
2559}
2560
2561
e811c8ce 2562static PyObject *_wrap_Point_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2563 PyObject *resultobj;
2564 wxPoint *arg1 = (wxPoint *) 0 ;
2565 PyObject *result;
2566 PyObject * obj0 = 0 ;
2567 char *kwnames[] = {
2568 (char *) "self", NULL
2569 };
2570
e811c8ce 2571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
2572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2573 {
2574 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2575 result = (PyObject *)wxPoint_Get(arg1);
d14a1e28
RD
2576
2577 wxPyEndAllowThreads(__tstate);
2578 if (PyErr_Occurred()) SWIG_fail;
2579 }
2580 resultobj = result;
2581 return resultobj;
2582 fail:
2583 return NULL;
2584}
2585
2586
2587static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
2588 PyObject *obj;
2589 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2590 SWIG_TypeClientData(SWIGTYPE_p_wxPoint, obj);
2591 Py_INCREF(obj);
2592 return Py_BuildValue((char *)"");
2593}
2594static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
2595 PyObject *resultobj;
2596 int arg1 = (int) 0 ;
2597 int arg2 = (int) 0 ;
2598 int arg3 = (int) 0 ;
2599 int arg4 = (int) 0 ;
2600 wxRect *result;
2601 char *kwnames[] = {
2602 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2603 };
2604
2605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_Rect",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
2606 {
2607 PyThreadState* __tstate = wxPyBeginAllowThreads();
2608 result = (wxRect *)new wxRect(arg1,arg2,arg3,arg4);
2609
2610 wxPyEndAllowThreads(__tstate);
2611 if (PyErr_Occurred()) SWIG_fail;
2612 }
2613 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 1);
2614 return resultobj;
2615 fail:
2616 return NULL;
2617}
2618
2619
2620static PyObject *_wrap_new_RectPP(PyObject *self, PyObject *args, PyObject *kwargs) {
2621 PyObject *resultobj;
2622 wxPoint *arg1 = 0 ;
2623 wxPoint *arg2 = 0 ;
2624 wxRect *result;
2625 wxPoint temp1 ;
2626 wxPoint temp2 ;
2627 PyObject * obj0 = 0 ;
2628 PyObject * obj1 = 0 ;
2629 char *kwnames[] = {
2630 (char *) "topLeft",(char *) "bottomRight", NULL
2631 };
2632
2633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPP",kwnames,&obj0,&obj1)) goto fail;
2634 {
2635 arg1 = &temp1;
2636 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
2637 }
2638 {
2639 arg2 = &temp2;
2640 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2641 }
2642 {
2643 PyThreadState* __tstate = wxPyBeginAllowThreads();
2644 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxPoint const &)*arg2);
2645
2646 wxPyEndAllowThreads(__tstate);
2647 if (PyErr_Occurred()) SWIG_fail;
2648 }
2649 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 1);
2650 return resultobj;
2651 fail:
2652 return NULL;
2653}
2654
2655
2656static PyObject *_wrap_new_RectPS(PyObject *self, PyObject *args, PyObject *kwargs) {
2657 PyObject *resultobj;
2658 wxPoint *arg1 = 0 ;
2659 wxSize *arg2 = 0 ;
2660 wxRect *result;
2661 wxPoint temp1 ;
2662 wxSize temp2 ;
2663 PyObject * obj0 = 0 ;
2664 PyObject * obj1 = 0 ;
2665 char *kwnames[] = {
2666 (char *) "pos",(char *) "size", NULL
2667 };
2668
2669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPS",kwnames,&obj0,&obj1)) goto fail;
2670 {
2671 arg1 = &temp1;
2672 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
2673 }
2674 {
2675 arg2 = &temp2;
2676 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2677 }
2678 {
2679 PyThreadState* __tstate = wxPyBeginAllowThreads();
2680 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxSize const &)*arg2);
2681
2682 wxPyEndAllowThreads(__tstate);
2683 if (PyErr_Occurred()) SWIG_fail;
2684 }
2685 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 1);
2686 return resultobj;
2687 fail:
2688 return NULL;
2689}
2690
2691
2692static PyObject *_wrap_delete_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
2693 PyObject *resultobj;
2694 wxRect *arg1 = (wxRect *) 0 ;
2695 PyObject * obj0 = 0 ;
2696 char *kwnames[] = {
2697 (char *) "self", NULL
2698 };
2699
2700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Rect",kwnames,&obj0)) goto fail;
2701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2702 {
2703 PyThreadState* __tstate = wxPyBeginAllowThreads();
2704 delete arg1;
2705
2706 wxPyEndAllowThreads(__tstate);
2707 if (PyErr_Occurred()) SWIG_fail;
2708 }
2709 Py_INCREF(Py_None); resultobj = Py_None;
2710 return resultobj;
2711 fail:
2712 return NULL;
2713}
2714
2715
2716static PyObject *_wrap_Rect_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
2717 PyObject *resultobj;
2718 wxRect *arg1 = (wxRect *) 0 ;
2719 int result;
2720 PyObject * obj0 = 0 ;
2721 char *kwnames[] = {
2722 (char *) "self", NULL
2723 };
2724
2725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetX",kwnames,&obj0)) goto fail;
2726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2727 {
2728 PyThreadState* __tstate = wxPyBeginAllowThreads();
2729 result = (int)((wxRect const *)arg1)->GetX();
2730
2731 wxPyEndAllowThreads(__tstate);
2732 if (PyErr_Occurred()) SWIG_fail;
2733 }
2734 resultobj = PyInt_FromLong((long)result);
2735 return resultobj;
2736 fail:
2737 return NULL;
2738}
2739
2740
2741static PyObject *_wrap_Rect_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
2742 PyObject *resultobj;
2743 wxRect *arg1 = (wxRect *) 0 ;
2744 int arg2 ;
2745 PyObject * obj0 = 0 ;
2746 char *kwnames[] = {
2747 (char *) "self",(char *) "x", NULL
2748 };
2749
2750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetX",kwnames,&obj0,&arg2)) goto fail;
2751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2752 {
2753 PyThreadState* __tstate = wxPyBeginAllowThreads();
2754 (arg1)->SetX(arg2);
2755
2756 wxPyEndAllowThreads(__tstate);
2757 if (PyErr_Occurred()) SWIG_fail;
2758 }
2759 Py_INCREF(Py_None); resultobj = Py_None;
2760 return resultobj;
2761 fail:
2762 return NULL;
2763}
2764
2765
2766static PyObject *_wrap_Rect_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
2767 PyObject *resultobj;
2768 wxRect *arg1 = (wxRect *) 0 ;
2769 int result;
2770 PyObject * obj0 = 0 ;
2771 char *kwnames[] = {
2772 (char *) "self", NULL
2773 };
2774
2775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetY",kwnames,&obj0)) goto fail;
2776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2777 {
2778 PyThreadState* __tstate = wxPyBeginAllowThreads();
2779 result = (int)(arg1)->GetY();
2780
2781 wxPyEndAllowThreads(__tstate);
2782 if (PyErr_Occurred()) SWIG_fail;
2783 }
2784 resultobj = PyInt_FromLong((long)result);
2785 return resultobj;
2786 fail:
2787 return NULL;
2788}
2789
2790
2791static PyObject *_wrap_Rect_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
2792 PyObject *resultobj;
2793 wxRect *arg1 = (wxRect *) 0 ;
2794 int arg2 ;
2795 PyObject * obj0 = 0 ;
2796 char *kwnames[] = {
2797 (char *) "self",(char *) "y", NULL
2798 };
2799
2800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetY",kwnames,&obj0,&arg2)) goto fail;
2801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2802 {
2803 PyThreadState* __tstate = wxPyBeginAllowThreads();
2804 (arg1)->SetY(arg2);
2805
2806 wxPyEndAllowThreads(__tstate);
2807 if (PyErr_Occurred()) SWIG_fail;
2808 }
2809 Py_INCREF(Py_None); resultobj = Py_None;
2810 return resultobj;
2811 fail:
2812 return NULL;
2813}
2814
2815
2816static PyObject *_wrap_Rect_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2817 PyObject *resultobj;
2818 wxRect *arg1 = (wxRect *) 0 ;
2819 int result;
2820 PyObject * obj0 = 0 ;
2821 char *kwnames[] = {
2822 (char *) "self", NULL
2823 };
2824
2825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetWidth",kwnames,&obj0)) goto fail;
2826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2827 {
2828 PyThreadState* __tstate = wxPyBeginAllowThreads();
2829 result = (int)((wxRect const *)arg1)->GetWidth();
2830
2831 wxPyEndAllowThreads(__tstate);
2832 if (PyErr_Occurred()) SWIG_fail;
2833 }
2834 resultobj = PyInt_FromLong((long)result);
2835 return resultobj;
2836 fail:
2837 return NULL;
2838}
2839
2840
2841static PyObject *_wrap_Rect_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2842 PyObject *resultobj;
2843 wxRect *arg1 = (wxRect *) 0 ;
2844 int arg2 ;
2845 PyObject * obj0 = 0 ;
2846 char *kwnames[] = {
2847 (char *) "self",(char *) "w", NULL
2848 };
2849
2850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetWidth",kwnames,&obj0,&arg2)) goto fail;
2851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2852 {
2853 PyThreadState* __tstate = wxPyBeginAllowThreads();
2854 (arg1)->SetWidth(arg2);
2855
2856 wxPyEndAllowThreads(__tstate);
2857 if (PyErr_Occurred()) SWIG_fail;
2858 }
2859 Py_INCREF(Py_None); resultobj = Py_None;
2860 return resultobj;
2861 fail:
2862 return NULL;
2863}
2864
2865
2866static PyObject *_wrap_Rect_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2867 PyObject *resultobj;
2868 wxRect *arg1 = (wxRect *) 0 ;
2869 int result;
2870 PyObject * obj0 = 0 ;
2871 char *kwnames[] = {
2872 (char *) "self", NULL
2873 };
2874
2875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetHeight",kwnames,&obj0)) goto fail;
2876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2877 {
2878 PyThreadState* __tstate = wxPyBeginAllowThreads();
2879 result = (int)((wxRect const *)arg1)->GetHeight();
2880
2881 wxPyEndAllowThreads(__tstate);
2882 if (PyErr_Occurred()) SWIG_fail;
2883 }
2884 resultobj = PyInt_FromLong((long)result);
2885 return resultobj;
2886 fail:
2887 return NULL;
2888}
2889
2890
2891static PyObject *_wrap_Rect_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2892 PyObject *resultobj;
2893 wxRect *arg1 = (wxRect *) 0 ;
2894 int arg2 ;
2895 PyObject * obj0 = 0 ;
2896 char *kwnames[] = {
2897 (char *) "self",(char *) "h", NULL
2898 };
2899
2900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetHeight",kwnames,&obj0,&arg2)) goto fail;
2901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2902 {
2903 PyThreadState* __tstate = wxPyBeginAllowThreads();
2904 (arg1)->SetHeight(arg2);
2905
2906 wxPyEndAllowThreads(__tstate);
2907 if (PyErr_Occurred()) SWIG_fail;
2908 }
2909 Py_INCREF(Py_None); resultobj = Py_None;
2910 return resultobj;
2911 fail:
2912 return NULL;
2913}
2914
2915
2916static PyObject *_wrap_Rect_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2917 PyObject *resultobj;
2918 wxRect *arg1 = (wxRect *) 0 ;
2919 wxPoint result;
2920 PyObject * obj0 = 0 ;
2921 char *kwnames[] = {
2922 (char *) "self", NULL
2923 };
2924
2925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetPosition",kwnames,&obj0)) goto fail;
2926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2927 {
2928 PyThreadState* __tstate = wxPyBeginAllowThreads();
2929 result = ((wxRect const *)arg1)->GetPosition();
2930
2931 wxPyEndAllowThreads(__tstate);
2932 if (PyErr_Occurred()) SWIG_fail;
2933 }
2934 {
2935 wxPoint * resultptr;
2936 resultptr = new wxPoint((wxPoint &) result);
2937 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2938 }
2939 return resultobj;
2940 fail:
2941 return NULL;
2942}
2943
2944
2945static PyObject *_wrap_Rect_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2946 PyObject *resultobj;
2947 wxRect *arg1 = (wxRect *) 0 ;
2948 wxPoint *arg2 = 0 ;
2949 wxPoint temp2 ;
2950 PyObject * obj0 = 0 ;
2951 PyObject * obj1 = 0 ;
2952 char *kwnames[] = {
2953 (char *) "self",(char *) "p", NULL
2954 };
2955
2956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2958 {
2959 arg2 = &temp2;
2960 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2961 }
2962 {
2963 PyThreadState* __tstate = wxPyBeginAllowThreads();
2964 (arg1)->SetPosition((wxPoint const &)*arg2);
2965
2966 wxPyEndAllowThreads(__tstate);
2967 if (PyErr_Occurred()) SWIG_fail;
2968 }
2969 Py_INCREF(Py_None); resultobj = Py_None;
2970 return resultobj;
2971 fail:
2972 return NULL;
2973}
2974
2975
2976static PyObject *_wrap_Rect_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2977 PyObject *resultobj;
2978 wxRect *arg1 = (wxRect *) 0 ;
2979 wxSize result;
2980 PyObject * obj0 = 0 ;
2981 char *kwnames[] = {
2982 (char *) "self", NULL
2983 };
2984
2985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetSize",kwnames,&obj0)) goto fail;
2986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2987 {
2988 PyThreadState* __tstate = wxPyBeginAllowThreads();
2989 result = ((wxRect const *)arg1)->GetSize();
2990
2991 wxPyEndAllowThreads(__tstate);
2992 if (PyErr_Occurred()) SWIG_fail;
2993 }
2994 {
2995 wxSize * resultptr;
2996 resultptr = new wxSize((wxSize &) result);
2997 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
2998 }
2999 return resultobj;
3000 fail:
3001 return NULL;
3002}
3003
3004
3005static PyObject *_wrap_Rect_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3006 PyObject *resultobj;
3007 wxRect *arg1 = (wxRect *) 0 ;
3008 wxSize *arg2 = 0 ;
3009 wxSize temp2 ;
3010 PyObject * obj0 = 0 ;
3011 PyObject * obj1 = 0 ;
3012 char *kwnames[] = {
3013 (char *) "self",(char *) "s", NULL
3014 };
3015
3016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetSize",kwnames,&obj0,&obj1)) goto fail;
3017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3018 {
3019 arg2 = &temp2;
3020 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3021 }
3022 {
3023 PyThreadState* __tstate = wxPyBeginAllowThreads();
3024 (arg1)->SetSize((wxSize const &)*arg2);
3025
3026 wxPyEndAllowThreads(__tstate);
3027 if (PyErr_Occurred()) SWIG_fail;
3028 }
3029 Py_INCREF(Py_None); resultobj = Py_None;
3030 return resultobj;
3031 fail:
3032 return NULL;
3033}
3034
3035
3036static PyObject *_wrap_Rect_GetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3037 PyObject *resultobj;
3038 wxRect *arg1 = (wxRect *) 0 ;
3039 int result;
3040 PyObject * obj0 = 0 ;
3041 char *kwnames[] = {
3042 (char *) "self", NULL
3043 };
3044
3045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetLeft",kwnames,&obj0)) goto fail;
3046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3047 {
3048 PyThreadState* __tstate = wxPyBeginAllowThreads();
3049 result = (int)((wxRect const *)arg1)->GetLeft();
3050
3051 wxPyEndAllowThreads(__tstate);
3052 if (PyErr_Occurred()) SWIG_fail;
3053 }
3054 resultobj = PyInt_FromLong((long)result);
3055 return resultobj;
3056 fail:
3057 return NULL;
3058}
3059
3060
3061static PyObject *_wrap_Rect_GetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
3062 PyObject *resultobj;
3063 wxRect *arg1 = (wxRect *) 0 ;
3064 int result;
3065 PyObject * obj0 = 0 ;
3066 char *kwnames[] = {
3067 (char *) "self", NULL
3068 };
3069
3070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTop",kwnames,&obj0)) goto fail;
3071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3072 {
3073 PyThreadState* __tstate = wxPyBeginAllowThreads();
3074 result = (int)((wxRect const *)arg1)->GetTop();
3075
3076 wxPyEndAllowThreads(__tstate);
3077 if (PyErr_Occurred()) SWIG_fail;
3078 }
3079 resultobj = PyInt_FromLong((long)result);
3080 return resultobj;
3081 fail:
3082 return NULL;
3083}
3084
3085
3086static PyObject *_wrap_Rect_GetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
3087 PyObject *resultobj;
3088 wxRect *arg1 = (wxRect *) 0 ;
3089 int result;
3090 PyObject * obj0 = 0 ;
3091 char *kwnames[] = {
3092 (char *) "self", NULL
3093 };
3094
3095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottom",kwnames,&obj0)) goto fail;
3096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3097 {
3098 PyThreadState* __tstate = wxPyBeginAllowThreads();
3099 result = (int)((wxRect const *)arg1)->GetBottom();
3100
3101 wxPyEndAllowThreads(__tstate);
3102 if (PyErr_Occurred()) SWIG_fail;
3103 }
3104 resultobj = PyInt_FromLong((long)result);
3105 return resultobj;
3106 fail:
3107 return NULL;
3108}
3109
3110
3111static PyObject *_wrap_Rect_GetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3112 PyObject *resultobj;
3113 wxRect *arg1 = (wxRect *) 0 ;
3114 int result;
3115 PyObject * obj0 = 0 ;
3116 char *kwnames[] = {
3117 (char *) "self", NULL
3118 };
3119
3120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetRight",kwnames,&obj0)) goto fail;
3121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3122 {
3123 PyThreadState* __tstate = wxPyBeginAllowThreads();
3124 result = (int)((wxRect const *)arg1)->GetRight();
3125
3126 wxPyEndAllowThreads(__tstate);
3127 if (PyErr_Occurred()) SWIG_fail;
3128 }
3129 resultobj = PyInt_FromLong((long)result);
3130 return resultobj;
3131 fail:
3132 return NULL;
3133}
3134
3135
3136static PyObject *_wrap_Rect_SetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3137 PyObject *resultobj;
3138 wxRect *arg1 = (wxRect *) 0 ;
3139 int arg2 ;
3140 PyObject * obj0 = 0 ;
3141 char *kwnames[] = {
3142 (char *) "self",(char *) "left", NULL
3143 };
3144
3145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetLeft",kwnames,&obj0,&arg2)) goto fail;
3146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3147 {
3148 PyThreadState* __tstate = wxPyBeginAllowThreads();
3149 (arg1)->SetLeft(arg2);
3150
3151 wxPyEndAllowThreads(__tstate);
3152 if (PyErr_Occurred()) SWIG_fail;
3153 }
3154 Py_INCREF(Py_None); resultobj = Py_None;
3155 return resultobj;
3156 fail:
3157 return NULL;
3158}
3159
3160
3161static PyObject *_wrap_Rect_SetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3162 PyObject *resultobj;
3163 wxRect *arg1 = (wxRect *) 0 ;
3164 int arg2 ;
3165 PyObject * obj0 = 0 ;
3166 char *kwnames[] = {
3167 (char *) "self",(char *) "right", NULL
3168 };
3169
3170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetRight",kwnames,&obj0,&arg2)) goto fail;
3171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3172 {
3173 PyThreadState* __tstate = wxPyBeginAllowThreads();
3174 (arg1)->SetRight(arg2);
3175
3176 wxPyEndAllowThreads(__tstate);
3177 if (PyErr_Occurred()) SWIG_fail;
3178 }
3179 Py_INCREF(Py_None); resultobj = Py_None;
3180 return resultobj;
3181 fail:
3182 return NULL;
3183}
3184
3185
3186static PyObject *_wrap_Rect_SetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
3187 PyObject *resultobj;
3188 wxRect *arg1 = (wxRect *) 0 ;
3189 int arg2 ;
3190 PyObject * obj0 = 0 ;
3191 char *kwnames[] = {
3192 (char *) "self",(char *) "top", NULL
3193 };
3194
3195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetTop",kwnames,&obj0,&arg2)) goto fail;
3196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3197 {
3198 PyThreadState* __tstate = wxPyBeginAllowThreads();
3199 (arg1)->SetTop(arg2);
3200
3201 wxPyEndAllowThreads(__tstate);
3202 if (PyErr_Occurred()) SWIG_fail;
3203 }
3204 Py_INCREF(Py_None); resultobj = Py_None;
3205 return resultobj;
3206 fail:
3207 return NULL;
3208}
3209
3210
3211static PyObject *_wrap_Rect_SetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
3212 PyObject *resultobj;
3213 wxRect *arg1 = (wxRect *) 0 ;
3214 int arg2 ;
3215 PyObject * obj0 = 0 ;
3216 char *kwnames[] = {
3217 (char *) "self",(char *) "bottom", NULL
3218 };
3219
3220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetBottom",kwnames,&obj0,&arg2)) goto fail;
3221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3222 {
3223 PyThreadState* __tstate = wxPyBeginAllowThreads();
3224 (arg1)->SetBottom(arg2);
3225
3226 wxPyEndAllowThreads(__tstate);
3227 if (PyErr_Occurred()) SWIG_fail;
3228 }
3229 Py_INCREF(Py_None); resultobj = Py_None;
3230 return resultobj;
3231 fail:
3232 return NULL;
3233}
3234
3235
3236static PyObject *_wrap_Rect_Inflate(PyObject *self, PyObject *args, PyObject *kwargs) {
3237 PyObject *resultobj;
3238 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
3239 int arg2 ;
3240 int arg3 ;
d14a1e28
RD
3241 wxRect *result;
3242 PyObject * obj0 = 0 ;
3243 char *kwnames[] = {
3244 (char *) "self",(char *) "dx",(char *) "dy", NULL
3245 };
3246
3247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Rect_Inflate",kwnames,&obj0,&arg2,&arg3)) goto fail;
3248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3249 {
3250 PyThreadState* __tstate = wxPyBeginAllowThreads();
3251 {
3252 wxRect &_result_ref = (arg1)->Inflate(arg2,arg3);
3253 result = (wxRect *) &_result_ref;
3254 }
3255
3256 wxPyEndAllowThreads(__tstate);
3257 if (PyErr_Occurred()) SWIG_fail;
3258 }
3259 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3260 return resultobj;
3261 fail:
3262 return NULL;
3263}
3264
3265
3266static PyObject *_wrap_Rect_Deflate(PyObject *self, PyObject *args, PyObject *kwargs) {
3267 PyObject *resultobj;
3268 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
3269 int arg2 ;
3270 int arg3 ;
d14a1e28
RD
3271 wxRect *result;
3272 PyObject * obj0 = 0 ;
3273 char *kwnames[] = {
3274 (char *) "self",(char *) "dx",(char *) "dy", NULL
3275 };
3276
3277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Rect_Deflate",kwnames,&obj0,&arg2,&arg3)) goto fail;
3278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3279 {
3280 PyThreadState* __tstate = wxPyBeginAllowThreads();
3281 {
3282 wxRect &_result_ref = (arg1)->Deflate(arg2,arg3);
3283 result = (wxRect *) &_result_ref;
3284 }
3285
3286 wxPyEndAllowThreads(__tstate);
3287 if (PyErr_Occurred()) SWIG_fail;
3288 }
3289 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3290 return resultobj;
3291 fail:
3292 return NULL;
3293}
3294
3295
3296static PyObject *_wrap_Rect_OffsetXY(PyObject *self, PyObject *args, PyObject *kwargs) {
3297 PyObject *resultobj;
3298 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
3299 int arg2 ;
3300 int arg3 ;
d14a1e28
RD
3301 PyObject * obj0 = 0 ;
3302 char *kwnames[] = {
3303 (char *) "self",(char *) "dx",(char *) "dy", NULL
3304 };
3305
3306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Rect_OffsetXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
3307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3308 {
3309 PyThreadState* __tstate = wxPyBeginAllowThreads();
3310 (arg1)->Offset(arg2,arg3);
3311
3312 wxPyEndAllowThreads(__tstate);
3313 if (PyErr_Occurred()) SWIG_fail;
3314 }
3315 Py_INCREF(Py_None); resultobj = Py_None;
3316 return resultobj;
3317 fail:
3318 return NULL;
3319}
3320
3321
3322static PyObject *_wrap_Rect_Offset(PyObject *self, PyObject *args, PyObject *kwargs) {
3323 PyObject *resultobj;
3324 wxRect *arg1 = (wxRect *) 0 ;
3325 wxPoint *arg2 = 0 ;
3326 wxPoint temp2 ;
3327 PyObject * obj0 = 0 ;
3328 PyObject * obj1 = 0 ;
3329 char *kwnames[] = {
3330 (char *) "self",(char *) "pt", NULL
3331 };
3332
3333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Offset",kwnames,&obj0,&obj1)) goto fail;
3334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3335 {
3336 arg2 = &temp2;
3337 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3338 }
3339 {
3340 PyThreadState* __tstate = wxPyBeginAllowThreads();
3341 (arg1)->Offset((wxPoint const &)*arg2);
3342
3343 wxPyEndAllowThreads(__tstate);
3344 if (PyErr_Occurred()) SWIG_fail;
3345 }
3346 Py_INCREF(Py_None); resultobj = Py_None;
3347 return resultobj;
3348 fail:
3349 return NULL;
3350}
3351
3352
3353static PyObject *_wrap_Rect_Intersect(PyObject *self, PyObject *args, PyObject *kwargs) {
3354 PyObject *resultobj;
3355 wxRect *arg1 = (wxRect *) 0 ;
3356 wxRect *arg2 = 0 ;
3357 wxRect *result;
3358 wxRect temp2 ;
3359 PyObject * obj0 = 0 ;
3360 PyObject * obj1 = 0 ;
3361 char *kwnames[] = {
3362 (char *) "self",(char *) "rect", NULL
3363 };
3364
3365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersect",kwnames,&obj0,&obj1)) goto fail;
3366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3367 {
3368 arg2 = &temp2;
3369 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3370 }
3371 {
3372 PyThreadState* __tstate = wxPyBeginAllowThreads();
3373 {
3374 wxRect &_result_ref = (arg1)->Intersect((wxRect const &)*arg2);
3375 result = (wxRect *) &_result_ref;
3376 }
3377
3378 wxPyEndAllowThreads(__tstate);
3379 if (PyErr_Occurred()) SWIG_fail;
3380 }
3381 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3382 return resultobj;
3383 fail:
3384 return NULL;
3385}
3386
3387
3388static PyObject *_wrap_Rect___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
3389 PyObject *resultobj;
3390 wxRect *arg1 = (wxRect *) 0 ;
3391 wxRect *arg2 = 0 ;
3392 wxRect result;
3393 wxRect temp2 ;
3394 PyObject * obj0 = 0 ;
3395 PyObject * obj1 = 0 ;
3396 char *kwnames[] = {
3397 (char *) "self",(char *) "rect", NULL
3398 };
3399
3400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___add__",kwnames,&obj0,&obj1)) goto fail;
3401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3402 {
3403 arg2 = &temp2;
3404 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3405 }
3406 {
3407 PyThreadState* __tstate = wxPyBeginAllowThreads();
3408 result = ((wxRect const *)arg1)->operator +((wxRect const &)*arg2);
3409
3410 wxPyEndAllowThreads(__tstate);
3411 if (PyErr_Occurred()) SWIG_fail;
3412 }
3413 {
3414 wxRect * resultptr;
3415 resultptr = new wxRect((wxRect &) result);
3416 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
3417 }
3418 return resultobj;
3419 fail:
3420 return NULL;
3421}
3422
3423
3424static PyObject *_wrap_Rect___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
3425 PyObject *resultobj;
3426 wxRect *arg1 = (wxRect *) 0 ;
3427 wxRect *arg2 = 0 ;
3428 wxRect *result;
3429 wxRect temp2 ;
3430 PyObject * obj0 = 0 ;
3431 PyObject * obj1 = 0 ;
3432 char *kwnames[] = {
3433 (char *) "self",(char *) "rect", NULL
3434 };
3435
3436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___iadd__",kwnames,&obj0,&obj1)) goto fail;
3437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3438 {
3439 arg2 = &temp2;
3440 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3441 }
3442 {
3443 PyThreadState* __tstate = wxPyBeginAllowThreads();
3444 {
3445 wxRect &_result_ref = (arg1)->operator +=((wxRect const &)*arg2);
3446 result = (wxRect *) &_result_ref;
3447 }
3448
3449 wxPyEndAllowThreads(__tstate);
3450 if (PyErr_Occurred()) SWIG_fail;
3451 }
3452 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3453 return resultobj;
3454 fail:
3455 return NULL;
3456}
3457
3458
3459static PyObject *_wrap_Rect___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
3460 PyObject *resultobj;
3461 wxRect *arg1 = (wxRect *) 0 ;
3462 wxRect *arg2 = 0 ;
3463 bool result;
3464 wxRect temp2 ;
3465 PyObject * obj0 = 0 ;
3466 PyObject * obj1 = 0 ;
3467 char *kwnames[] = {
3468 (char *) "self",(char *) "rect", NULL
3469 };
3470
3471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___eq__",kwnames,&obj0,&obj1)) goto fail;
3472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3473 {
3474 arg2 = &temp2;
3475 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3476 }
3477 {
3478 PyThreadState* __tstate = wxPyBeginAllowThreads();
3479 result = (bool)((wxRect const *)arg1)->operator ==((wxRect const &)*arg2);
3480
3481 wxPyEndAllowThreads(__tstate);
3482 if (PyErr_Occurred()) SWIG_fail;
3483 }
3484 resultobj = PyInt_FromLong((long)result);
3485 return resultobj;
3486 fail:
3487 return NULL;
3488}
3489
3490
3491static PyObject *_wrap_Rect___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
3492 PyObject *resultobj;
3493 wxRect *arg1 = (wxRect *) 0 ;
3494 wxRect *arg2 = 0 ;
3495 bool result;
3496 wxRect temp2 ;
3497 PyObject * obj0 = 0 ;
3498 PyObject * obj1 = 0 ;
3499 char *kwnames[] = {
3500 (char *) "self",(char *) "rect", NULL
3501 };
3502
3503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___ne__",kwnames,&obj0,&obj1)) goto fail;
3504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3505 {
3506 arg2 = &temp2;
3507 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3508 }
3509 {
3510 PyThreadState* __tstate = wxPyBeginAllowThreads();
3511 result = (bool)((wxRect const *)arg1)->operator !=((wxRect const &)*arg2);
3512
3513 wxPyEndAllowThreads(__tstate);
3514 if (PyErr_Occurred()) SWIG_fail;
3515 }
3516 resultobj = PyInt_FromLong((long)result);
3517 return resultobj;
3518 fail:
3519 return NULL;
3520}
3521
3522
3523static PyObject *_wrap_Rect_InsideXY(PyObject *self, PyObject *args, PyObject *kwargs) {
3524 PyObject *resultobj;
3525 wxRect *arg1 = (wxRect *) 0 ;
3526 int arg2 ;
3527 int arg3 ;
3528 bool result;
3529 PyObject * obj0 = 0 ;
3530 char *kwnames[] = {
3531 (char *) "self",(char *) "x",(char *) "y", NULL
3532 };
3533
3534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Rect_InsideXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
3535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3536 {
3537 PyThreadState* __tstate = wxPyBeginAllowThreads();
3538 result = (bool)((wxRect const *)arg1)->Inside(arg2,arg3);
3539
3540 wxPyEndAllowThreads(__tstate);
3541 if (PyErr_Occurred()) SWIG_fail;
3542 }
3543 resultobj = PyInt_FromLong((long)result);
3544 return resultobj;
3545 fail:
3546 return NULL;
3547}
3548
3549
3550static PyObject *_wrap_Rect_Inside(PyObject *self, PyObject *args, PyObject *kwargs) {
3551 PyObject *resultobj;
3552 wxRect *arg1 = (wxRect *) 0 ;
3553 wxPoint *arg2 = 0 ;
3554 bool result;
3555 wxPoint temp2 ;
3556 PyObject * obj0 = 0 ;
3557 PyObject * obj1 = 0 ;
3558 char *kwnames[] = {
3559 (char *) "self",(char *) "pt", NULL
3560 };
3561
3562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) goto fail;
3563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3564 {
3565 arg2 = &temp2;
3566 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3567 }
3568 {
3569 PyThreadState* __tstate = wxPyBeginAllowThreads();
3570 result = (bool)((wxRect const *)arg1)->Inside((wxPoint const &)*arg2);
3571
3572 wxPyEndAllowThreads(__tstate);
3573 if (PyErr_Occurred()) SWIG_fail;
3574 }
3575 resultobj = PyInt_FromLong((long)result);
3576 return resultobj;
3577 fail:
3578 return NULL;
3579}
3580
3581
3582static PyObject *_wrap_Rect_Intersects(PyObject *self, PyObject *args, PyObject *kwargs) {
3583 PyObject *resultobj;
3584 wxRect *arg1 = (wxRect *) 0 ;
3585 wxRect *arg2 = 0 ;
3586 bool result;
3587 wxRect temp2 ;
3588 PyObject * obj0 = 0 ;
3589 PyObject * obj1 = 0 ;
3590 char *kwnames[] = {
3591 (char *) "self",(char *) "rect", NULL
3592 };
3593
3594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersects",kwnames,&obj0,&obj1)) goto fail;
3595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3596 {
3597 arg2 = &temp2;
3598 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3599 }
3600 {
3601 PyThreadState* __tstate = wxPyBeginAllowThreads();
3602 result = (bool)((wxRect const *)arg1)->Intersects((wxRect const &)*arg2);
3603
3604 wxPyEndAllowThreads(__tstate);
3605 if (PyErr_Occurred()) SWIG_fail;
3606 }
3607 resultobj = PyInt_FromLong((long)result);
3608 return resultobj;
3609 fail:
3610 return NULL;
3611}
3612
3613
3614static PyObject *_wrap_Rect_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3615 PyObject *resultobj;
3616 wxRect *arg1 = (wxRect *) 0 ;
3617 int arg2 ;
3618 PyObject * obj0 = 0 ;
3619 char *kwnames[] = {
3620 (char *) "self",(char *) "x", NULL
3621 };
3622
3623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_x_set",kwnames,&obj0,&arg2)) goto fail;
3624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3625 if (arg1) (arg1)->x = arg2;
3626
3627 Py_INCREF(Py_None); resultobj = Py_None;
3628 return resultobj;
3629 fail:
3630 return NULL;
3631}
3632
3633
3634static PyObject *_wrap_Rect_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3635 PyObject *resultobj;
3636 wxRect *arg1 = (wxRect *) 0 ;
3637 int result;
3638 PyObject * obj0 = 0 ;
3639 char *kwnames[] = {
3640 (char *) "self", NULL
3641 };
3642
3643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_x_get",kwnames,&obj0)) goto fail;
3644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3645 result = (int) ((arg1)->x);
3646
3647 resultobj = PyInt_FromLong((long)result);
3648 return resultobj;
3649 fail:
3650 return NULL;
3651}
3652
3653
3654static PyObject *_wrap_Rect_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3655 PyObject *resultobj;
3656 wxRect *arg1 = (wxRect *) 0 ;
3657 int arg2 ;
3658 PyObject * obj0 = 0 ;
3659 char *kwnames[] = {
3660 (char *) "self",(char *) "y", NULL
3661 };
3662
3663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_y_set",kwnames,&obj0,&arg2)) goto fail;
3664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3665 if (arg1) (arg1)->y = arg2;
3666
3667 Py_INCREF(Py_None); resultobj = Py_None;
3668 return resultobj;
3669 fail:
3670 return NULL;
3671}
3672
3673
3674static PyObject *_wrap_Rect_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3675 PyObject *resultobj;
3676 wxRect *arg1 = (wxRect *) 0 ;
3677 int result;
3678 PyObject * obj0 = 0 ;
3679 char *kwnames[] = {
3680 (char *) "self", NULL
3681 };
3682
3683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_y_get",kwnames,&obj0)) goto fail;
3684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3685 result = (int) ((arg1)->y);
3686
3687 resultobj = PyInt_FromLong((long)result);
3688 return resultobj;
3689 fail:
3690 return NULL;
3691}
3692
3693
3694static PyObject *_wrap_Rect_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3695 PyObject *resultobj;
3696 wxRect *arg1 = (wxRect *) 0 ;
3697 int arg2 ;
3698 PyObject * obj0 = 0 ;
3699 char *kwnames[] = {
3700 (char *) "self",(char *) "width", NULL
3701 };
3702
3703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_width_set",kwnames,&obj0,&arg2)) goto fail;
3704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3705 if (arg1) (arg1)->width = arg2;
3706
3707 Py_INCREF(Py_None); resultobj = Py_None;
3708 return resultobj;
3709 fail:
3710 return NULL;
3711}
3712
3713
3714static PyObject *_wrap_Rect_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3715 PyObject *resultobj;
3716 wxRect *arg1 = (wxRect *) 0 ;
3717 int result;
3718 PyObject * obj0 = 0 ;
3719 char *kwnames[] = {
3720 (char *) "self", NULL
3721 };
3722
3723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_width_get",kwnames,&obj0)) goto fail;
3724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3725 result = (int) ((arg1)->width);
3726
3727 resultobj = PyInt_FromLong((long)result);
3728 return resultobj;
3729 fail:
3730 return NULL;
3731}
3732
3733
3734static PyObject *_wrap_Rect_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3735 PyObject *resultobj;
3736 wxRect *arg1 = (wxRect *) 0 ;
3737 int arg2 ;
3738 PyObject * obj0 = 0 ;
3739 char *kwnames[] = {
3740 (char *) "self",(char *) "height", NULL
3741 };
3742
3743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_height_set",kwnames,&obj0,&arg2)) goto fail;
3744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3745 if (arg1) (arg1)->height = arg2;
3746
3747 Py_INCREF(Py_None); resultobj = Py_None;
3748 return resultobj;
3749 fail:
3750 return NULL;
3751}
3752
3753
3754static PyObject *_wrap_Rect_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3755 PyObject *resultobj;
3756 wxRect *arg1 = (wxRect *) 0 ;
3757 int result;
3758 PyObject * obj0 = 0 ;
3759 char *kwnames[] = {
3760 (char *) "self", NULL
3761 };
3762
3763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_height_get",kwnames,&obj0)) goto fail;
3764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3765 result = (int) ((arg1)->height);
3766
3767 resultobj = PyInt_FromLong((long)result);
3768 return resultobj;
3769 fail:
3770 return NULL;
3771}
3772
3773
3774static PyObject *_wrap_Rect_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
3775 PyObject *resultobj;
3776 wxRect *arg1 = (wxRect *) 0 ;
3777 int arg2 = (int) 0 ;
3778 int arg3 = (int) 0 ;
3779 int arg4 = (int) 0 ;
3780 int arg5 = (int) 0 ;
3781 PyObject * obj0 = 0 ;
3782 char *kwnames[] = {
3783 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3784 };
3785
3786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iiii:Rect_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
3787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3788 {
3789 PyThreadState* __tstate = wxPyBeginAllowThreads();
3790 wxRect_Set(arg1,arg2,arg3,arg4,arg5);
3791
3792 wxPyEndAllowThreads(__tstate);
3793 if (PyErr_Occurred()) SWIG_fail;
3794 }
3795 Py_INCREF(Py_None); resultobj = Py_None;
3796 return resultobj;
3797 fail:
3798 return NULL;
3799}
3800
3801
e811c8ce 3802static PyObject *_wrap_Rect_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3803 PyObject *resultobj;
3804 wxRect *arg1 = (wxRect *) 0 ;
3805 PyObject *result;
3806 PyObject * obj0 = 0 ;
3807 char *kwnames[] = {
3808 (char *) "self", NULL
3809 };
3810
e811c8ce 3811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
3812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3813 {
3814 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3815 result = (PyObject *)wxRect_Get(arg1);
d14a1e28
RD
3816
3817 wxPyEndAllowThreads(__tstate);
3818 if (PyErr_Occurred()) SWIG_fail;
3819 }
3820 resultobj = result;
3821 return resultobj;
3822 fail:
3823 return NULL;
3824}
3825
3826
3827static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
3828 PyObject *obj;
3829 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3830 SWIG_TypeClientData(SWIGTYPE_p_wxRect, obj);
3831 Py_INCREF(obj);
3832 return Py_BuildValue((char *)"");
3833}
3834static PyObject *_wrap_IntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3835 PyObject *resultobj;
3836 wxRect *arg1 = (wxRect *) 0 ;
3837 wxRect *arg2 = (wxRect *) 0 ;
3838 PyObject *result;
3839 PyObject * obj0 = 0 ;
3840 PyObject * obj1 = 0 ;
3841 char *kwnames[] = {
3842 (char *) "r1",(char *) "r2", NULL
3843 };
3844
3845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IntersectRect",kwnames,&obj0,&obj1)) goto fail;
3846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3847 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3848 {
3849 PyThreadState* __tstate = wxPyBeginAllowThreads();
3850 result = (PyObject *)wxIntersectRect(arg1,arg2);
3851
3852 wxPyEndAllowThreads(__tstate);
3853 if (PyErr_Occurred()) SWIG_fail;
3854 }
3855 resultobj = result;
3856 return resultobj;
3857 fail:
3858 return NULL;
3859}
3860
3861
3862static PyObject *_wrap_new_Point2D(PyObject *self, PyObject *args, PyObject *kwargs) {
3863 PyObject *resultobj;
3864 double arg1 = (double) 0.0 ;
3865 double arg2 = (double) 0.0 ;
3866 wxPoint2D *result;
3867 char *kwnames[] = {
3868 (char *) "x",(char *) "y", NULL
3869 };
3870
3871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_Point2D",kwnames,&arg1,&arg2)) goto fail;
3872 {
3873 PyThreadState* __tstate = wxPyBeginAllowThreads();
3874 result = (wxPoint2D *)new wxPoint2D(arg1,arg2);
3875
3876 wxPyEndAllowThreads(__tstate);
3877 if (PyErr_Occurred()) SWIG_fail;
3878 }
3879 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 1);
3880 return resultobj;
3881 fail:
3882 return NULL;
3883}
3884
3885
3886static PyObject *_wrap_new_Point2DCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
3887 PyObject *resultobj;
3888 wxPoint2D *arg1 = 0 ;
3889 wxPoint2D *result;
3890 wxPoint2D temp1 ;
3891 PyObject * obj0 = 0 ;
3892 char *kwnames[] = {
3893 (char *) "pt", NULL
3894 };
3895
3896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DCopy",kwnames,&obj0)) goto fail;
3897 {
3898 arg1 = &temp1;
3899 if ( ! wxPoint2D_helper(obj0, &arg1)) SWIG_fail;
3900 }
3901 {
3902 PyThreadState* __tstate = wxPyBeginAllowThreads();
3903 result = (wxPoint2D *)new wxPoint2D((wxPoint2D const &)*arg1);
3904
3905 wxPyEndAllowThreads(__tstate);
3906 if (PyErr_Occurred()) SWIG_fail;
3907 }
3908 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 1);
3909 return resultobj;
3910 fail:
3911 return NULL;
3912}
3913
3914
3915static PyObject *_wrap_new_Point2DFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3916 PyObject *resultobj;
3917 wxPoint *arg1 = 0 ;
3918 wxPoint2D *result;
3919 wxPoint temp1 ;
3920 PyObject * obj0 = 0 ;
3921 char *kwnames[] = {
3922 (char *) "pt", NULL
3923 };
3924
3925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DFromPoint",kwnames,&obj0)) goto fail;
3926 {
3927 arg1 = &temp1;
3928 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3929 }
3930 {
3931 PyThreadState* __tstate = wxPyBeginAllowThreads();
3932 result = (wxPoint2D *)new wxPoint2D((wxPoint const &)*arg1);
3933
3934 wxPyEndAllowThreads(__tstate);
3935 if (PyErr_Occurred()) SWIG_fail;
3936 }
3937 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 1);
3938 return resultobj;
3939 fail:
3940 return NULL;
3941}
3942
3943
3944static PyObject *_wrap_Point2D_GetFloor(PyObject *self, PyObject *args, PyObject *kwargs) {
3945 PyObject *resultobj;
3946 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
3947 int *arg2 = (int *) 0 ;
3948 int *arg3 = (int *) 0 ;
3949 int temp2 ;
3950 int temp3 ;
3951 PyObject * obj0 = 0 ;
3952 char *kwnames[] = {
3953 (char *) "self", NULL
3954 };
3955
3956 arg2 = &temp2;
3957 arg3 = &temp3;
3958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetFloor",kwnames,&obj0)) goto fail;
3959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3960 {
3961 PyThreadState* __tstate = wxPyBeginAllowThreads();
3962 ((wxPoint2D const *)arg1)->GetFloor(arg2,arg3);
3963
3964 wxPyEndAllowThreads(__tstate);
3965 if (PyErr_Occurred()) SWIG_fail;
3966 }
3967 Py_INCREF(Py_None); resultobj = Py_None;
3968 {
3969 PyObject *o = PyInt_FromLong((long) (*arg2));
3970 resultobj = t_output_helper(resultobj,o);
3971 }
3972 {
3973 PyObject *o = PyInt_FromLong((long) (*arg3));
3974 resultobj = t_output_helper(resultobj,o);
3975 }
3976 return resultobj;
3977 fail:
3978 return NULL;
3979}
3980
3981
3982static PyObject *_wrap_Point2D_GetRounded(PyObject *self, PyObject *args, PyObject *kwargs) {
3983 PyObject *resultobj;
3984 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
3985 int *arg2 = (int *) 0 ;
3986 int *arg3 = (int *) 0 ;
3987 int temp2 ;
3988 int temp3 ;
3989 PyObject * obj0 = 0 ;
3990 char *kwnames[] = {
3991 (char *) "self", NULL
3992 };
3993
3994 arg2 = &temp2;
3995 arg3 = &temp3;
3996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetRounded",kwnames,&obj0)) goto fail;
3997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3998 {
3999 PyThreadState* __tstate = wxPyBeginAllowThreads();
4000 ((wxPoint2D const *)arg1)->GetRounded(arg2,arg3);
4001
4002 wxPyEndAllowThreads(__tstate);
4003 if (PyErr_Occurred()) SWIG_fail;
4004 }
4005 Py_INCREF(Py_None); resultobj = Py_None;
4006 {
4007 PyObject *o = PyInt_FromLong((long) (*arg2));
4008 resultobj = t_output_helper(resultobj,o);
4009 }
4010 {
4011 PyObject *o = PyInt_FromLong((long) (*arg3));
4012 resultobj = t_output_helper(resultobj,o);
4013 }
4014 return resultobj;
4015 fail:
4016 return NULL;
4017}
4018
4019
4020static PyObject *_wrap_Point2D_GetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
4021 PyObject *resultobj;
4022 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4023 double result;
4024 PyObject * obj0 = 0 ;
4025 char *kwnames[] = {
4026 (char *) "self", NULL
4027 };
4028
4029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorLength",kwnames,&obj0)) goto fail;
4030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4031 {
4032 PyThreadState* __tstate = wxPyBeginAllowThreads();
4033 result = (double)((wxPoint2D const *)arg1)->GetVectorLength();
4034
4035 wxPyEndAllowThreads(__tstate);
4036 if (PyErr_Occurred()) SWIG_fail;
4037 }
4038 resultobj = PyFloat_FromDouble(result);
4039 return resultobj;
4040 fail:
4041 return NULL;
4042}
4043
4044
4045static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
4046 PyObject *resultobj;
4047 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4048 double result;
4049 PyObject * obj0 = 0 ;
4050 char *kwnames[] = {
4051 (char *) "self", NULL
4052 };
4053
4054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorAngle",kwnames,&obj0)) goto fail;
4055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4056 {
4057 PyThreadState* __tstate = wxPyBeginAllowThreads();
4058 result = (double)((wxPoint2D const *)arg1)->GetVectorAngle();
4059
4060 wxPyEndAllowThreads(__tstate);
4061 if (PyErr_Occurred()) SWIG_fail;
4062 }
4063 resultobj = PyFloat_FromDouble(result);
4064 return resultobj;
4065 fail:
4066 return NULL;
4067}
4068
4069
4070static PyObject *_wrap_Point2D_SetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
4071 PyObject *resultobj;
4072 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4073 double arg2 ;
4074 PyObject * obj0 = 0 ;
4075 char *kwnames[] = {
4076 (char *) "self",(char *) "length", NULL
4077 };
4078
4079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_SetVectorLength",kwnames,&obj0,&arg2)) goto fail;
4080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4081 {
4082 PyThreadState* __tstate = wxPyBeginAllowThreads();
4083 (arg1)->SetVectorLength(arg2);
4084
4085 wxPyEndAllowThreads(__tstate);
4086 if (PyErr_Occurred()) SWIG_fail;
4087 }
4088 Py_INCREF(Py_None); resultobj = Py_None;
4089 return resultobj;
4090 fail:
4091 return NULL;
4092}
4093
4094
4095static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
4096 PyObject *resultobj;
4097 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4098 double arg2 ;
4099 PyObject * obj0 = 0 ;
4100 char *kwnames[] = {
4101 (char *) "self",(char *) "degrees", NULL
4102 };
4103
4104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_SetVectorAngle",kwnames,&obj0,&arg2)) goto fail;
4105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4106 {
4107 PyThreadState* __tstate = wxPyBeginAllowThreads();
4108 (arg1)->SetVectorAngle(arg2);
4109
4110 wxPyEndAllowThreads(__tstate);
4111 if (PyErr_Occurred()) SWIG_fail;
4112 }
4113 Py_INCREF(Py_None); resultobj = Py_None;
4114 return resultobj;
4115 fail:
4116 return NULL;
4117}
4118
4119
4120static PyObject *_wrap_Point2D_GetDistance(PyObject *self, PyObject *args, PyObject *kwargs) {
4121 PyObject *resultobj;
4122 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4123 wxPoint2D *arg2 = 0 ;
4124 double result;
4125 wxPoint2D temp2 ;
4126 PyObject * obj0 = 0 ;
4127 PyObject * obj1 = 0 ;
4128 char *kwnames[] = {
4129 (char *) "self",(char *) "pt", NULL
4130 };
4131
4132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistance",kwnames,&obj0,&obj1)) goto fail;
4133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4134 {
4135 arg2 = &temp2;
4136 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4137 }
4138 {
4139 PyThreadState* __tstate = wxPyBeginAllowThreads();
4140 result = (double)((wxPoint2D const *)arg1)->GetDistance((wxPoint2D const &)*arg2);
4141
4142 wxPyEndAllowThreads(__tstate);
4143 if (PyErr_Occurred()) SWIG_fail;
4144 }
4145 resultobj = PyFloat_FromDouble(result);
4146 return resultobj;
4147 fail:
4148 return NULL;
4149}
4150
4151
4152static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *self, PyObject *args, PyObject *kwargs) {
4153 PyObject *resultobj;
4154 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4155 wxPoint2D *arg2 = 0 ;
4156 double result;
4157 wxPoint2D temp2 ;
4158 PyObject * obj0 = 0 ;
4159 PyObject * obj1 = 0 ;
4160 char *kwnames[] = {
4161 (char *) "self",(char *) "pt", NULL
4162 };
4163
4164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistanceSquare",kwnames,&obj0,&obj1)) goto fail;
4165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4166 {
4167 arg2 = &temp2;
4168 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4169 }
4170 {
4171 PyThreadState* __tstate = wxPyBeginAllowThreads();
4172 result = (double)((wxPoint2D const *)arg1)->GetDistanceSquare((wxPoint2D const &)*arg2);
4173
4174 wxPyEndAllowThreads(__tstate);
4175 if (PyErr_Occurred()) SWIG_fail;
4176 }
4177 resultobj = PyFloat_FromDouble(result);
4178 return resultobj;
4179 fail:
4180 return NULL;
4181}
4182
4183
4184static PyObject *_wrap_Point2D_GetDotProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
4185 PyObject *resultobj;
4186 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4187 wxPoint2D *arg2 = 0 ;
4188 double result;
4189 wxPoint2D temp2 ;
4190 PyObject * obj0 = 0 ;
4191 PyObject * obj1 = 0 ;
4192 char *kwnames[] = {
4193 (char *) "self",(char *) "vec", NULL
4194 };
4195
4196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDotProduct",kwnames,&obj0,&obj1)) goto fail;
4197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4198 {
4199 arg2 = &temp2;
4200 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4201 }
4202 {
4203 PyThreadState* __tstate = wxPyBeginAllowThreads();
4204 result = (double)((wxPoint2D const *)arg1)->GetDotProduct((wxPoint2D const &)*arg2);
4205
4206 wxPyEndAllowThreads(__tstate);
4207 if (PyErr_Occurred()) SWIG_fail;
4208 }
4209 resultobj = PyFloat_FromDouble(result);
4210 return resultobj;
4211 fail:
4212 return NULL;
4213}
4214
4215
4216static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
4217 PyObject *resultobj;
4218 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4219 wxPoint2D *arg2 = 0 ;
4220 double result;
4221 wxPoint2D temp2 ;
4222 PyObject * obj0 = 0 ;
4223 PyObject * obj1 = 0 ;
4224 char *kwnames[] = {
4225 (char *) "self",(char *) "vec", NULL
4226 };
4227
4228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetCrossProduct",kwnames,&obj0,&obj1)) goto fail;
4229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4230 {
4231 arg2 = &temp2;
4232 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4233 }
4234 {
4235 PyThreadState* __tstate = wxPyBeginAllowThreads();
4236 result = (double)((wxPoint2D const *)arg1)->GetCrossProduct((wxPoint2D const &)*arg2);
4237
4238 wxPyEndAllowThreads(__tstate);
4239 if (PyErr_Occurred()) SWIG_fail;
4240 }
4241 resultobj = PyFloat_FromDouble(result);
4242 return resultobj;
4243 fail:
4244 return NULL;
4245}
4246
4247
4248static PyObject *_wrap_Point2D___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
4249 PyObject *resultobj;
4250 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4251 wxPoint2D result;
4252 PyObject * obj0 = 0 ;
4253 char *kwnames[] = {
4254 (char *) "self", NULL
4255 };
4256
4257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D___neg__",kwnames,&obj0)) goto fail;
4258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4259 {
4260 PyThreadState* __tstate = wxPyBeginAllowThreads();
4261 result = (arg1)->operator -();
4262
4263 wxPyEndAllowThreads(__tstate);
4264 if (PyErr_Occurred()) SWIG_fail;
4265 }
4266 {
4267 wxPoint2D * resultptr;
4268 resultptr = new wxPoint2D((wxPoint2D &) result);
4269 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint2D, 1);
4270 }
4271 return resultobj;
4272 fail:
4273 return NULL;
4274}
4275
4276
4277static PyObject *_wrap_Point2D___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
4278 PyObject *resultobj;
4279 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4280 wxPoint2D *arg2 = 0 ;
4281 wxPoint2D *result;
4282 wxPoint2D temp2 ;
4283 PyObject * obj0 = 0 ;
4284 PyObject * obj1 = 0 ;
4285 char *kwnames[] = {
4286 (char *) "self",(char *) "pt", NULL
4287 };
4288
4289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___iadd__",kwnames,&obj0,&obj1)) goto fail;
4290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4291 {
4292 arg2 = &temp2;
4293 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4294 }
4295 {
4296 PyThreadState* __tstate = wxPyBeginAllowThreads();
4297 {
4298 wxPoint2D &_result_ref = (arg1)->operator +=((wxPoint2D const &)*arg2);
4299 result = (wxPoint2D *) &_result_ref;
4300 }
4301
4302 wxPyEndAllowThreads(__tstate);
4303 if (PyErr_Occurred()) SWIG_fail;
4304 }
4305 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4306 return resultobj;
4307 fail:
4308 return NULL;
4309}
4310
4311
4312static PyObject *_wrap_Point2D___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
4313 PyObject *resultobj;
4314 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4315 wxPoint2D *arg2 = 0 ;
4316 wxPoint2D *result;
4317 wxPoint2D temp2 ;
4318 PyObject * obj0 = 0 ;
4319 PyObject * obj1 = 0 ;
4320 char *kwnames[] = {
4321 (char *) "self",(char *) "pt", NULL
4322 };
4323
4324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___isub__",kwnames,&obj0,&obj1)) goto fail;
4325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4326 {
4327 arg2 = &temp2;
4328 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4329 }
4330 {
4331 PyThreadState* __tstate = wxPyBeginAllowThreads();
4332 {
4333 wxPoint2D &_result_ref = (arg1)->operator -=((wxPoint2D const &)*arg2);
4334 result = (wxPoint2D *) &_result_ref;
4335 }
4336
4337 wxPyEndAllowThreads(__tstate);
4338 if (PyErr_Occurred()) SWIG_fail;
4339 }
4340 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4341 return resultobj;
4342 fail:
4343 return NULL;
4344}
4345
4346
4347static PyObject *_wrap_Point2D___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
4348 PyObject *resultobj;
4349 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4350 wxPoint2D *arg2 = 0 ;
4351 wxPoint2D *result;
4352 wxPoint2D temp2 ;
4353 PyObject * obj0 = 0 ;
4354 PyObject * obj1 = 0 ;
4355 char *kwnames[] = {
4356 (char *) "self",(char *) "pt", NULL
4357 };
4358
4359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___imul__",kwnames,&obj0,&obj1)) goto fail;
4360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4361 {
4362 arg2 = &temp2;
4363 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4364 }
4365 {
4366 PyThreadState* __tstate = wxPyBeginAllowThreads();
4367 {
4368 wxPoint2D &_result_ref = (arg1)->operator *=((wxPoint2D const &)*arg2);
4369 result = (wxPoint2D *) &_result_ref;
4370 }
4371
4372 wxPyEndAllowThreads(__tstate);
4373 if (PyErr_Occurred()) SWIG_fail;
4374 }
4375 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4376 return resultobj;
4377 fail:
4378 return NULL;
4379}
4380
4381
4382static PyObject *_wrap_Point2D___idiv__(PyObject *self, PyObject *args, PyObject *kwargs) {
4383 PyObject *resultobj;
4384 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4385 wxPoint2D *arg2 = 0 ;
4386 wxPoint2D *result;
4387 wxPoint2D temp2 ;
4388 PyObject * obj0 = 0 ;
4389 PyObject * obj1 = 0 ;
4390 char *kwnames[] = {
4391 (char *) "self",(char *) "pt", NULL
4392 };
4393
4394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___idiv__",kwnames,&obj0,&obj1)) goto fail;
4395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4396 {
4397 arg2 = &temp2;
4398 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4399 }
4400 {
4401 PyThreadState* __tstate = wxPyBeginAllowThreads();
4402 {
4403 wxPoint2D &_result_ref = (arg1)->operator /=((wxPoint2D const &)*arg2);
4404 result = (wxPoint2D *) &_result_ref;
4405 }
4406
4407 wxPyEndAllowThreads(__tstate);
4408 if (PyErr_Occurred()) SWIG_fail;
4409 }
4410 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4411 return resultobj;
4412 fail:
4413 return NULL;
4414}
4415
4416
4417static PyObject *_wrap_Point2D___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
4418 PyObject *resultobj;
4419 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4420 wxPoint2D *arg2 = 0 ;
4421 bool result;
4422 wxPoint2D temp2 ;
4423 PyObject * obj0 = 0 ;
4424 PyObject * obj1 = 0 ;
4425 char *kwnames[] = {
4426 (char *) "self",(char *) "pt", NULL
4427 };
4428
4429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___eq__",kwnames,&obj0,&obj1)) goto fail;
4430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4431 {
4432 arg2 = &temp2;
4433 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4434 }
4435 {
4436 PyThreadState* __tstate = wxPyBeginAllowThreads();
4437 result = (bool)((wxPoint2D const *)arg1)->operator ==((wxPoint2D const &)*arg2);
4438
4439 wxPyEndAllowThreads(__tstate);
4440 if (PyErr_Occurred()) SWIG_fail;
4441 }
4442 resultobj = PyInt_FromLong((long)result);
4443 return resultobj;
4444 fail:
4445 return NULL;
4446}
4447
4448
4449static PyObject *_wrap_Point2D___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
4450 PyObject *resultobj;
4451 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4452 wxPoint2D *arg2 = 0 ;
4453 bool result;
4454 wxPoint2D temp2 ;
4455 PyObject * obj0 = 0 ;
4456 PyObject * obj1 = 0 ;
4457 char *kwnames[] = {
4458 (char *) "self",(char *) "pt", NULL
4459 };
4460
4461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___ne__",kwnames,&obj0,&obj1)) goto fail;
4462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4463 {
4464 arg2 = &temp2;
4465 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4466 }
4467 {
4468 PyThreadState* __tstate = wxPyBeginAllowThreads();
4469 result = (bool)((wxPoint2D const *)arg1)->operator !=((wxPoint2D const &)*arg2);
4470
4471 wxPyEndAllowThreads(__tstate);
4472 if (PyErr_Occurred()) SWIG_fail;
4473 }
4474 resultobj = PyInt_FromLong((long)result);
4475 return resultobj;
4476 fail:
4477 return NULL;
4478}
4479
4480
d14a1e28
RD
4481static PyObject *_wrap_Point2D_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4482 PyObject *resultobj;
4483 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4484 double arg2 ;
4485 PyObject * obj0 = 0 ;
4486 char *kwnames[] = {
4487 (char *) "self",(char *) "m_x", NULL
4488 };
4489
4490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_x_set",kwnames,&obj0,&arg2)) goto fail;
4491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4492 if (arg1) (arg1)->m_x = arg2;
4493
4494 Py_INCREF(Py_None); resultobj = Py_None;
4495 return resultobj;
4496 fail:
4497 return NULL;
4498}
4499
4500
4501static PyObject *_wrap_Point2D_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4502 PyObject *resultobj;
4503 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4504 double result;
4505 PyObject * obj0 = 0 ;
4506 char *kwnames[] = {
4507 (char *) "self", NULL
4508 };
4509
4510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_x_get",kwnames,&obj0)) goto fail;
4511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4512 result = (double) ((arg1)->m_x);
4513
4514 resultobj = PyFloat_FromDouble(result);
4515 return resultobj;
4516 fail:
4517 return NULL;
4518}
4519
4520
4521static PyObject *_wrap_Point2D_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4522 PyObject *resultobj;
4523 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4524 double arg2 ;
4525 PyObject * obj0 = 0 ;
4526 char *kwnames[] = {
4527 (char *) "self",(char *) "m_y", NULL
4528 };
4529
4530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_y_set",kwnames,&obj0,&arg2)) goto fail;
4531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4532 if (arg1) (arg1)->m_y = arg2;
4533
4534 Py_INCREF(Py_None); resultobj = Py_None;
4535 return resultobj;
4536 fail:
4537 return NULL;
4538}
4539
4540
4541static PyObject *_wrap_Point2D_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4542 PyObject *resultobj;
4543 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4544 double result;
4545 PyObject * obj0 = 0 ;
4546 char *kwnames[] = {
4547 (char *) "self", NULL
4548 };
4549
4550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_y_get",kwnames,&obj0)) goto fail;
4551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4552 result = (double) ((arg1)->m_y);
4553
4554 resultobj = PyFloat_FromDouble(result);
4555 return resultobj;
4556 fail:
4557 return NULL;
4558}
4559
4560
4561static PyObject *_wrap_Point2D_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4562 PyObject *resultobj;
4563 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4564 double arg2 = (double) 0 ;
4565 double arg3 = (double) 0 ;
4566 PyObject * obj0 = 0 ;
4567 char *kwnames[] = {
4568 (char *) "self",(char *) "x",(char *) "y", NULL
4569 };
4570
4571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|dd:Point2D_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
4572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4573 {
4574 PyThreadState* __tstate = wxPyBeginAllowThreads();
4575 wxPoint2D_Set(arg1,arg2,arg3);
4576
4577 wxPyEndAllowThreads(__tstate);
4578 if (PyErr_Occurred()) SWIG_fail;
4579 }
4580 Py_INCREF(Py_None); resultobj = Py_None;
4581 return resultobj;
4582 fail:
4583 return NULL;
4584}
4585
4586
e811c8ce 4587static PyObject *_wrap_Point2D_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4588 PyObject *resultobj;
4589 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4590 PyObject *result;
4591 PyObject * obj0 = 0 ;
4592 char *kwnames[] = {
4593 (char *) "self", NULL
4594 };
4595
e811c8ce 4596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
4597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4598 {
4599 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 4600 result = (PyObject *)wxPoint2D_Get(arg1);
d14a1e28
RD
4601
4602 wxPyEndAllowThreads(__tstate);
4603 if (PyErr_Occurred()) SWIG_fail;
4604 }
4605 resultobj = result;
4606 return resultobj;
4607 fail:
4608 return NULL;
4609}
4610
4611
4612static PyObject * Point2D_swigregister(PyObject *self, PyObject *args) {
4613 PyObject *obj;
4614 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4615 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D, obj);
4616 Py_INCREF(obj);
4617 return Py_BuildValue((char *)"");
4618}
4619static int _wrap_DefaultPosition_set(PyObject *_val) {
4620 PyErr_SetString(PyExc_TypeError,"Variable DefaultPosition is read-only.");
4621 return 1;
4622}
4623
4624
4625static PyObject *_wrap_DefaultPosition_get() {
4626 PyObject *pyobj;
4627
4628 pyobj = SWIG_NewPointerObj((void *) &wxDefaultPosition, SWIGTYPE_p_wxPoint, 0);
4629 return pyobj;
4630}
4631
4632
4633static int _wrap_DefaultSize_set(PyObject *_val) {
4634 PyErr_SetString(PyExc_TypeError,"Variable DefaultSize is read-only.");
4635 return 1;
4636}
4637
4638
4639static PyObject *_wrap_DefaultSize_get() {
4640 PyObject *pyobj;
4641
4642 pyobj = SWIG_NewPointerObj((void *) &wxDefaultSize, SWIGTYPE_p_wxSize, 0);
4643 return pyobj;
4644}
4645
4646
4647static PyObject *_wrap_new_InputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
4648 PyObject *resultobj;
4649 PyObject *arg1 = (PyObject *) 0 ;
4650 wxPyInputStream *result;
4651 PyObject * obj0 = 0 ;
4652 char *kwnames[] = {
4653 (char *) "p", NULL
4654 };
4655
4656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_InputStream",kwnames,&obj0)) goto fail;
4657 arg1 = obj0;
4658 {
4659 PyThreadState* __tstate = wxPyBeginAllowThreads();
4660 result = (wxPyInputStream *)new_wxPyInputStream(arg1);
4661
4662 wxPyEndAllowThreads(__tstate);
4663 if (PyErr_Occurred()) SWIG_fail;
4664 }
4665 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyInputStream, 1);
4666 return resultobj;
4667 fail:
4668 return NULL;
4669}
4670
4671
4672static PyObject *_wrap_InputStream_close(PyObject *self, PyObject *args, PyObject *kwargs) {
4673 PyObject *resultobj;
4674 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4675 PyObject * obj0 = 0 ;
4676 char *kwnames[] = {
4677 (char *) "self", NULL
4678 };
4679
4680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_close",kwnames,&obj0)) goto fail;
4681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4682 {
4683 PyThreadState* __tstate = wxPyBeginAllowThreads();
4684 (arg1)->close();
4685
4686 wxPyEndAllowThreads(__tstate);
4687 if (PyErr_Occurred()) SWIG_fail;
4688 }
4689 Py_INCREF(Py_None); resultobj = Py_None;
4690 return resultobj;
4691 fail:
4692 return NULL;
4693}
4694
4695
4696static PyObject *_wrap_InputStream_flush(PyObject *self, PyObject *args, PyObject *kwargs) {
4697 PyObject *resultobj;
4698 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4699 PyObject * obj0 = 0 ;
4700 char *kwnames[] = {
4701 (char *) "self", NULL
4702 };
4703
4704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_flush",kwnames,&obj0)) goto fail;
4705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4706 {
4707 PyThreadState* __tstate = wxPyBeginAllowThreads();
4708 (arg1)->flush();
4709
4710 wxPyEndAllowThreads(__tstate);
4711 if (PyErr_Occurred()) SWIG_fail;
4712 }
4713 Py_INCREF(Py_None); resultobj = Py_None;
4714 return resultobj;
4715 fail:
4716 return NULL;
4717}
4718
4719
4720static PyObject *_wrap_InputStream_eof(PyObject *self, PyObject *args, PyObject *kwargs) {
4721 PyObject *resultobj;
4722 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4723 bool result;
4724 PyObject * obj0 = 0 ;
4725 char *kwnames[] = {
4726 (char *) "self", NULL
4727 };
4728
4729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_eof",kwnames,&obj0)) goto fail;
4730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4731 {
4732 PyThreadState* __tstate = wxPyBeginAllowThreads();
4733 result = (bool)(arg1)->eof();
4734
4735 wxPyEndAllowThreads(__tstate);
4736 if (PyErr_Occurred()) SWIG_fail;
4737 }
4738 resultobj = PyInt_FromLong((long)result);
4739 return resultobj;
4740 fail:
4741 return NULL;
4742}
4743
4744
4745static PyObject *_wrap_InputStream_read(PyObject *self, PyObject *args, PyObject *kwargs) {
4746 PyObject *resultobj;
4747 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4748 int arg2 = (int) -1 ;
4749 PyObject *result;
4750 PyObject * obj0 = 0 ;
4751 char *kwnames[] = {
4752 (char *) "self",(char *) "size", NULL
4753 };
4754
4755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:InputStream_read",kwnames,&obj0,&arg2)) goto fail;
4756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4757 {
4758 PyThreadState* __tstate = wxPyBeginAllowThreads();
4759 result = (PyObject *)(arg1)->read(arg2);
4760
4761 wxPyEndAllowThreads(__tstate);
4762 if (PyErr_Occurred()) SWIG_fail;
4763 }
4764 resultobj = result;
4765 return resultobj;
4766 fail:
4767 return NULL;
4768}
4769
4770
4771static PyObject *_wrap_InputStream_readline(PyObject *self, PyObject *args, PyObject *kwargs) {
4772 PyObject *resultobj;
4773 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4774 int arg2 = (int) -1 ;
4775 PyObject *result;
4776 PyObject * obj0 = 0 ;
4777 char *kwnames[] = {
4778 (char *) "self",(char *) "size", NULL
4779 };
4780
4781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:InputStream_readline",kwnames,&obj0,&arg2)) goto fail;
4782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4783 {
4784 PyThreadState* __tstate = wxPyBeginAllowThreads();
4785 result = (PyObject *)(arg1)->readline(arg2);
4786
4787 wxPyEndAllowThreads(__tstate);
4788 if (PyErr_Occurred()) SWIG_fail;
4789 }
4790 resultobj = result;
4791 return resultobj;
4792 fail:
4793 return NULL;
4794}
4795
4796
4797static PyObject *_wrap_InputStream_readlines(PyObject *self, PyObject *args, PyObject *kwargs) {
4798 PyObject *resultobj;
4799 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4800 int arg2 = (int) -1 ;
4801 PyObject *result;
4802 PyObject * obj0 = 0 ;
4803 char *kwnames[] = {
4804 (char *) "self",(char *) "sizehint", NULL
4805 };
4806
4807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:InputStream_readlines",kwnames,&obj0,&arg2)) goto fail;
4808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4809 {
4810 PyThreadState* __tstate = wxPyBeginAllowThreads();
4811 result = (PyObject *)(arg1)->readlines(arg2);
4812
4813 wxPyEndAllowThreads(__tstate);
4814 if (PyErr_Occurred()) SWIG_fail;
4815 }
4816 resultobj = result;
4817 return resultobj;
4818 fail:
4819 return NULL;
4820}
4821
4822
4823static PyObject *_wrap_InputStream_seek(PyObject *self, PyObject *args, PyObject *kwargs) {
4824 PyObject *resultobj;
4825 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4826 int arg2 ;
4827 int arg3 = (int) 0 ;
4828 PyObject * obj0 = 0 ;
4829 char *kwnames[] = {
4830 (char *) "self",(char *) "offset",(char *) "whence", NULL
4831 };
4832
4833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:InputStream_seek",kwnames,&obj0,&arg2,&arg3)) goto fail;
4834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4835 {
4836 PyThreadState* __tstate = wxPyBeginAllowThreads();
4837 (arg1)->seek(arg2,arg3);
4838
4839 wxPyEndAllowThreads(__tstate);
4840 if (PyErr_Occurred()) SWIG_fail;
4841 }
4842 Py_INCREF(Py_None); resultobj = Py_None;
4843 return resultobj;
4844 fail:
4845 return NULL;
4846}
4847
4848
4849static PyObject *_wrap_InputStream_tell(PyObject *self, PyObject *args, PyObject *kwargs) {
4850 PyObject *resultobj;
4851 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4852 int result;
4853 PyObject * obj0 = 0 ;
4854 char *kwnames[] = {
4855 (char *) "self", NULL
4856 };
4857
4858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_tell",kwnames,&obj0)) goto fail;
4859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4860 {
4861 PyThreadState* __tstate = wxPyBeginAllowThreads();
4862 result = (int)(arg1)->tell();
4863
4864 wxPyEndAllowThreads(__tstate);
4865 if (PyErr_Occurred()) SWIG_fail;
4866 }
4867 resultobj = PyInt_FromLong((long)result);
4868 return resultobj;
4869 fail:
4870 return NULL;
4871}
4872
4873
4874static PyObject *_wrap_InputStream_Peek(PyObject *self, PyObject *args, PyObject *kwargs) {
4875 PyObject *resultobj;
4876 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4877 char result;
4878 PyObject * obj0 = 0 ;
4879 char *kwnames[] = {
4880 (char *) "self", NULL
4881 };
4882
4883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Peek",kwnames,&obj0)) goto fail;
4884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4885 {
4886 PyThreadState* __tstate = wxPyBeginAllowThreads();
4887 result = (char)(arg1)->Peek();
4888
4889 wxPyEndAllowThreads(__tstate);
4890 if (PyErr_Occurred()) SWIG_fail;
4891 }
4892 resultobj = Py_BuildValue((char*)"c",result);
4893 return resultobj;
4894 fail:
4895 return NULL;
4896}
4897
4898
4899static PyObject *_wrap_InputStream_GetC(PyObject *self, PyObject *args, PyObject *kwargs) {
4900 PyObject *resultobj;
4901 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4902 char result;
4903 PyObject * obj0 = 0 ;
4904 char *kwnames[] = {
4905 (char *) "self", NULL
4906 };
4907
4908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_GetC",kwnames,&obj0)) goto fail;
4909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4910 {
4911 PyThreadState* __tstate = wxPyBeginAllowThreads();
4912 result = (char)(arg1)->GetC();
4913
4914 wxPyEndAllowThreads(__tstate);
4915 if (PyErr_Occurred()) SWIG_fail;
4916 }
4917 resultobj = Py_BuildValue((char*)"c",result);
4918 return resultobj;
4919 fail:
4920 return NULL;
4921}
4922
4923
4924static PyObject *_wrap_InputStream_LastRead(PyObject *self, PyObject *args, PyObject *kwargs) {
4925 PyObject *resultobj;
4926 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4927 size_t result;
4928 PyObject * obj0 = 0 ;
4929 char *kwnames[] = {
4930 (char *) "self", NULL
4931 };
4932
4933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_LastRead",kwnames,&obj0)) goto fail;
4934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4935 {
4936 PyThreadState* __tstate = wxPyBeginAllowThreads();
4937 result = (size_t)(arg1)->LastRead();
4938
4939 wxPyEndAllowThreads(__tstate);
4940 if (PyErr_Occurred()) SWIG_fail;
4941 }
4942 resultobj = PyInt_FromLong((long)result);
4943 return resultobj;
4944 fail:
4945 return NULL;
4946}
4947
4948
4949static PyObject *_wrap_InputStream_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
4950 PyObject *resultobj;
4951 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4952 bool result;
4953 PyObject * obj0 = 0 ;
4954 char *kwnames[] = {
4955 (char *) "self", NULL
4956 };
4957
4958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_CanRead",kwnames,&obj0)) goto fail;
4959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4960 {
4961 PyThreadState* __tstate = wxPyBeginAllowThreads();
4962 result = (bool)(arg1)->CanRead();
4963
4964 wxPyEndAllowThreads(__tstate);
4965 if (PyErr_Occurred()) SWIG_fail;
4966 }
4967 resultobj = PyInt_FromLong((long)result);
4968 return resultobj;
4969 fail:
4970 return NULL;
4971}
4972
4973
4974static PyObject *_wrap_InputStream_Eof(PyObject *self, PyObject *args, PyObject *kwargs) {
4975 PyObject *resultobj;
4976 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4977 bool result;
4978 PyObject * obj0 = 0 ;
4979 char *kwnames[] = {
4980 (char *) "self", NULL
4981 };
4982
4983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Eof",kwnames,&obj0)) goto fail;
4984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4985 {
4986 PyThreadState* __tstate = wxPyBeginAllowThreads();
4987 result = (bool)(arg1)->Eof();
4988
4989 wxPyEndAllowThreads(__tstate);
4990 if (PyErr_Occurred()) SWIG_fail;
4991 }
4992 resultobj = PyInt_FromLong((long)result);
4993 return resultobj;
4994 fail:
4995 return NULL;
4996}
4997
4998
4999static PyObject *_wrap_InputStream_Ungetch(PyObject *self, PyObject *args, PyObject *kwargs) {
5000 PyObject *resultobj;
5001 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5002 char arg2 ;
5003 bool result;
5004 PyObject * obj0 = 0 ;
5005 char *kwnames[] = {
5006 (char *) "self",(char *) "c", NULL
5007 };
5008
5009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oc:InputStream_Ungetch",kwnames,&obj0,&arg2)) goto fail;
5010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5011 {
5012 PyThreadState* __tstate = wxPyBeginAllowThreads();
5013 result = (bool)(arg1)->Ungetch(arg2);
5014
5015 wxPyEndAllowThreads(__tstate);
5016 if (PyErr_Occurred()) SWIG_fail;
5017 }
5018 resultobj = PyInt_FromLong((long)result);
5019 return resultobj;
5020 fail:
5021 return NULL;
5022}
5023
5024
5025static PyObject *_wrap_InputStream_SeekI(PyObject *self, PyObject *args, PyObject *kwargs) {
5026 PyObject *resultobj;
5027 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5028 long arg2 ;
5029 int arg3 = (int) wxFromStart ;
5030 long result;
5031 PyObject * obj0 = 0 ;
5032 char *kwnames[] = {
5033 (char *) "self",(char *) "pos",(char *) "mode", NULL
5034 };
5035
5036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:InputStream_SeekI",kwnames,&obj0,&arg2,&arg3)) goto fail;
5037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5038 {
5039 PyThreadState* __tstate = wxPyBeginAllowThreads();
5040 result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3);
5041
5042 wxPyEndAllowThreads(__tstate);
5043 if (PyErr_Occurred()) SWIG_fail;
5044 }
5045 resultobj = PyInt_FromLong((long)result);
5046 return resultobj;
5047 fail:
5048 return NULL;
5049}
5050
5051
5052static PyObject *_wrap_InputStream_TellI(PyObject *self, PyObject *args, PyObject *kwargs) {
5053 PyObject *resultobj;
5054 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5055 long result;
5056 PyObject * obj0 = 0 ;
5057 char *kwnames[] = {
5058 (char *) "self", NULL
5059 };
5060
5061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_TellI",kwnames,&obj0)) goto fail;
5062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5063 {
5064 PyThreadState* __tstate = wxPyBeginAllowThreads();
5065 result = (long)(arg1)->TellI();
5066
5067 wxPyEndAllowThreads(__tstate);
5068 if (PyErr_Occurred()) SWIG_fail;
5069 }
5070 resultobj = PyInt_FromLong((long)result);
5071 return resultobj;
5072 fail:
5073 return NULL;
5074}
5075
5076
5077static PyObject * InputStream_swigregister(PyObject *self, PyObject *args) {
5078 PyObject *obj;
5079 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5080 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream, obj);
5081 Py_INCREF(obj);
5082 return Py_BuildValue((char *)"");
5083}
5084static PyObject *_wrap_OutputStream_write(PyObject *self, PyObject *args, PyObject *kwargs) {
5085 PyObject *resultobj;
5086 wxOutputStream *arg1 = (wxOutputStream *) 0 ;
5087 PyObject *arg2 = (PyObject *) 0 ;
5088 PyObject * obj0 = 0 ;
5089 PyObject * obj1 = 0 ;
5090 char *kwnames[] = {
5091 (char *) "self",(char *) "obj", NULL
5092 };
5093
5094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:OutputStream_write",kwnames,&obj0,&obj1)) goto fail;
5095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOutputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5096 arg2 = obj1;
5097 {
5098 PyThreadState* __tstate = wxPyBeginAllowThreads();
5099 wxOutputStream_write(arg1,arg2);
5100
5101 wxPyEndAllowThreads(__tstate);
5102 if (PyErr_Occurred()) SWIG_fail;
5103 }
5104 Py_INCREF(Py_None); resultobj = Py_None;
5105 return resultobj;
5106 fail:
5107 return NULL;
5108}
5109
5110
5111static PyObject * OutputStream_swigregister(PyObject *self, PyObject *args) {
5112 PyObject *obj;
5113 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5114 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream, obj);
5115 Py_INCREF(obj);
5116 return Py_BuildValue((char *)"");
5117}
5118static PyObject *_wrap_new_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5119 PyObject *resultobj;
5120 wxInputStream *arg1 = (wxInputStream *) 0 ;
5121 wxString *arg2 = 0 ;
5122 wxString *arg3 = 0 ;
5123 wxString *arg4 = 0 ;
5124 wxDateTime arg5 ;
5125 wxFSFile *result;
5126 wxPyInputStream *temp1 ;
5127 bool created1 ;
e811c8ce
RD
5128 bool temp2 = False ;
5129 bool temp3 = False ;
5130 bool temp4 = False ;
d14a1e28
RD
5131 wxDateTime *argp5 ;
5132 PyObject * obj0 = 0 ;
5133 PyObject * obj1 = 0 ;
5134 PyObject * obj2 = 0 ;
5135 PyObject * obj3 = 0 ;
5136 PyObject * obj4 = 0 ;
5137 char *kwnames[] = {
5138 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
5139 };
5140
5141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_FSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5142 {
5143 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
5144 arg1 = temp1->m_wxis;
e811c8ce 5145 created1 = False;
d14a1e28
RD
5146 } else {
5147 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 5148 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
5149 if (arg1 == NULL) {
5150 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
5151 SWIG_fail;
5152 }
e811c8ce 5153 created1 = True;
d14a1e28
RD
5154 }
5155 }
5156 {
5157 arg2 = wxString_in_helper(obj1);
5158 if (arg2 == NULL) SWIG_fail;
e811c8ce 5159 temp2 = True;
d14a1e28
RD
5160 }
5161 {
5162 arg3 = wxString_in_helper(obj2);
5163 if (arg3 == NULL) SWIG_fail;
e811c8ce 5164 temp3 = True;
d14a1e28
RD
5165 }
5166 {
5167 arg4 = wxString_in_helper(obj3);
5168 if (arg4 == NULL) SWIG_fail;
e811c8ce 5169 temp4 = True;
d14a1e28
RD
5170 }
5171 if ((SWIG_ConvertPtr(obj4,(void **) &argp5, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5172 arg5 = *argp5;
5173 {
5174 PyThreadState* __tstate = wxPyBeginAllowThreads();
5175 result = (wxFSFile *)new wxFSFile(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
5176
5177 wxPyEndAllowThreads(__tstate);
5178 if (PyErr_Occurred()) SWIG_fail;
5179 }
5180 {
5181 resultobj = wxPyMake_wxObject(result);
5182 }
5183 {
5184 if (created1)
5185 delete arg1;
5186 }
5187 {
5188 if (temp2)
5189 delete arg2;
5190 }
5191 {
5192 if (temp3)
5193 delete arg3;
5194 }
5195 {
5196 if (temp4)
5197 delete arg4;
5198 }
5199 return resultobj;
5200 fail:
5201 {
5202 if (created1)
5203 delete arg1;
5204 }
5205 {
5206 if (temp2)
5207 delete arg2;
5208 }
5209 {
5210 if (temp3)
5211 delete arg3;
5212 }
5213 {
5214 if (temp4)
5215 delete arg4;
5216 }
5217 return NULL;
5218}
5219
5220
5221static PyObject *_wrap_delete_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5222 PyObject *resultobj;
5223 wxFSFile *arg1 = (wxFSFile *) 0 ;
5224 PyObject * obj0 = 0 ;
5225 char *kwnames[] = {
5226 (char *) "self", NULL
5227 };
5228
5229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FSFile",kwnames,&obj0)) goto fail;
5230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5231 {
5232 PyThreadState* __tstate = wxPyBeginAllowThreads();
5233 delete arg1;
5234
5235 wxPyEndAllowThreads(__tstate);
5236 if (PyErr_Occurred()) SWIG_fail;
5237 }
5238 Py_INCREF(Py_None); resultobj = Py_None;
5239 return resultobj;
5240 fail:
5241 return NULL;
5242}
5243
5244
5245static PyObject *_wrap_FSFile_GetStream(PyObject *self, PyObject *args, PyObject *kwargs) {
5246 PyObject *resultobj;
5247 wxFSFile *arg1 = (wxFSFile *) 0 ;
5248 wxInputStream *result;
5249 PyObject * obj0 = 0 ;
5250 char *kwnames[] = {
5251 (char *) "self", NULL
5252 };
5253
5254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetStream",kwnames,&obj0)) goto fail;
5255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5256 {
5257 PyThreadState* __tstate = wxPyBeginAllowThreads();
5258 result = (wxInputStream *)(arg1)->GetStream();
5259
5260 wxPyEndAllowThreads(__tstate);
5261 if (PyErr_Occurred()) SWIG_fail;
5262 }
5263 {
5264 wxPyInputStream * _ptr = NULL;
5265
5266 if (result) {
5267 _ptr = new wxPyInputStream(result);
5268 }
e811c8ce 5269 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
5270 }
5271 return resultobj;
5272 fail:
5273 return NULL;
5274}
5275
5276
5277static PyObject *_wrap_FSFile_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
5278 PyObject *resultobj;
5279 wxFSFile *arg1 = (wxFSFile *) 0 ;
5280 wxString *result;
5281 PyObject * obj0 = 0 ;
5282 char *kwnames[] = {
5283 (char *) "self", NULL
5284 };
5285
5286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetMimeType",kwnames,&obj0)) goto fail;
5287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5288 {
5289 PyThreadState* __tstate = wxPyBeginAllowThreads();
5290 {
5291 wxString const &_result_ref = (arg1)->GetMimeType();
5292 result = (wxString *) &_result_ref;
5293 }
5294
5295 wxPyEndAllowThreads(__tstate);
5296 if (PyErr_Occurred()) SWIG_fail;
5297 }
5298 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
5299 return resultobj;
5300 fail:
5301 return NULL;
5302}
5303
5304
5305static PyObject *_wrap_FSFile_GetLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
5306 PyObject *resultobj;
5307 wxFSFile *arg1 = (wxFSFile *) 0 ;
5308 wxString *result;
5309 PyObject * obj0 = 0 ;
5310 char *kwnames[] = {
5311 (char *) "self", NULL
5312 };
5313
5314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetLocation",kwnames,&obj0)) goto fail;
5315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5316 {
5317 PyThreadState* __tstate = wxPyBeginAllowThreads();
5318 {
5319 wxString const &_result_ref = (arg1)->GetLocation();
5320 result = (wxString *) &_result_ref;
5321 }
5322
5323 wxPyEndAllowThreads(__tstate);
5324 if (PyErr_Occurred()) SWIG_fail;
5325 }
5326 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
5327 return resultobj;
5328 fail:
5329 return NULL;
5330}
5331
5332
5333static PyObject *_wrap_FSFile_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
5334 PyObject *resultobj;
5335 wxFSFile *arg1 = (wxFSFile *) 0 ;
5336 wxString *result;
5337 PyObject * obj0 = 0 ;
5338 char *kwnames[] = {
5339 (char *) "self", NULL
5340 };
5341
5342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetAnchor",kwnames,&obj0)) goto fail;
5343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5344 {
5345 PyThreadState* __tstate = wxPyBeginAllowThreads();
5346 {
5347 wxString const &_result_ref = (arg1)->GetAnchor();
5348 result = (wxString *) &_result_ref;
5349 }
5350
5351 wxPyEndAllowThreads(__tstate);
5352 if (PyErr_Occurred()) SWIG_fail;
5353 }
5354 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
5355 return resultobj;
5356 fail:
5357 return NULL;
5358}
5359
5360
5361static PyObject *_wrap_FSFile_GetModificationTime(PyObject *self, PyObject *args, PyObject *kwargs) {
5362 PyObject *resultobj;
5363 wxFSFile *arg1 = (wxFSFile *) 0 ;
5364 wxDateTime result;
5365 PyObject * obj0 = 0 ;
5366 char *kwnames[] = {
5367 (char *) "self", NULL
5368 };
5369
5370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetModificationTime",kwnames,&obj0)) goto fail;
5371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5372 {
5373 PyThreadState* __tstate = wxPyBeginAllowThreads();
5374 result = (arg1)->GetModificationTime();
5375
5376 wxPyEndAllowThreads(__tstate);
5377 if (PyErr_Occurred()) SWIG_fail;
5378 }
5379 {
5380 wxDateTime * resultptr;
5381 resultptr = new wxDateTime((wxDateTime &) result);
5382 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
5383 }
5384 return resultobj;
5385 fail:
5386 return NULL;
5387}
5388
5389
5390static PyObject * FSFile_swigregister(PyObject *self, PyObject *args) {
5391 PyObject *obj;
5392 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5393 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile, obj);
5394 Py_INCREF(obj);
5395 return Py_BuildValue((char *)"");
5396}
5397static PyObject * CPPFileSystemHandler_swigregister(PyObject *self, PyObject *args) {
5398 PyObject *obj;
5399 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5400 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler, obj);
5401 Py_INCREF(obj);
5402 return Py_BuildValue((char *)"");
5403}
5404static PyObject *_wrap_new_FileSystemHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
5405 PyObject *resultobj;
5406 wxPyFileSystemHandler *result;
5407 char *kwnames[] = {
5408 NULL
5409 };
5410
5411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystemHandler",kwnames)) goto fail;
5412 {
5413 PyThreadState* __tstate = wxPyBeginAllowThreads();
5414 result = (wxPyFileSystemHandler *)new wxPyFileSystemHandler();
5415
5416 wxPyEndAllowThreads(__tstate);
5417 if (PyErr_Occurred()) SWIG_fail;
5418 }
5419 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyFileSystemHandler, 1);
5420 return resultobj;
5421 fail:
5422 return NULL;
5423}
5424
5425
5426static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5427 PyObject *resultobj;
5428 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5429 PyObject *arg2 = (PyObject *) 0 ;
5430 PyObject *arg3 = (PyObject *) 0 ;
5431 PyObject * obj0 = 0 ;
5432 PyObject * obj1 = 0 ;
5433 PyObject * obj2 = 0 ;
5434 char *kwnames[] = {
5435 (char *) "self",(char *) "self",(char *) "_class", NULL
5436 };
5437
5438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5440 arg2 = obj1;
5441 arg3 = obj2;
5442 {
5443 PyThreadState* __tstate = wxPyBeginAllowThreads();
5444 (arg1)->_setCallbackInfo(arg2,arg3);
5445
5446 wxPyEndAllowThreads(__tstate);
5447 if (PyErr_Occurred()) SWIG_fail;
5448 }
5449 Py_INCREF(Py_None); resultobj = Py_None;
5450 return resultobj;
5451 fail:
5452 return NULL;
5453}
5454
5455
5456static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
5457 PyObject *resultobj;
5458 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5459 wxString *arg2 = 0 ;
5460 bool result;
e811c8ce 5461 bool temp2 = False ;
d14a1e28
RD
5462 PyObject * obj0 = 0 ;
5463 PyObject * obj1 = 0 ;
5464 char *kwnames[] = {
5465 (char *) "self",(char *) "location", NULL
5466 };
5467
5468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
5469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5470 {
5471 arg2 = wxString_in_helper(obj1);
5472 if (arg2 == NULL) SWIG_fail;
e811c8ce 5473 temp2 = True;
d14a1e28
RD
5474 }
5475 {
5476 PyThreadState* __tstate = wxPyBeginAllowThreads();
5477 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
5478
5479 wxPyEndAllowThreads(__tstate);
5480 if (PyErr_Occurred()) SWIG_fail;
5481 }
5482 resultobj = PyInt_FromLong((long)result);
5483 {
5484 if (temp2)
5485 delete arg2;
5486 }
5487 return resultobj;
5488 fail:
5489 {
5490 if (temp2)
5491 delete arg2;
5492 }
5493 return NULL;
5494}
5495
5496
5497static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5498 PyObject *resultobj;
5499 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5500 wxFileSystem *arg2 = 0 ;
5501 wxString *arg3 = 0 ;
5502 wxFSFile *result;
e811c8ce 5503 bool temp3 = False ;
d14a1e28
RD
5504 PyObject * obj0 = 0 ;
5505 PyObject * obj1 = 0 ;
5506 PyObject * obj2 = 0 ;
5507 char *kwnames[] = {
5508 (char *) "self",(char *) "fs",(char *) "location", NULL
5509 };
5510
5511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
5512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5513 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5514 if (arg2 == NULL) {
5515 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5516 }
5517 {
5518 arg3 = wxString_in_helper(obj2);
5519 if (arg3 == NULL) SWIG_fail;
e811c8ce 5520 temp3 = True;
d14a1e28
RD
5521 }
5522 {
5523 PyThreadState* __tstate = wxPyBeginAllowThreads();
5524 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
5525
5526 wxPyEndAllowThreads(__tstate);
5527 if (PyErr_Occurred()) SWIG_fail;
5528 }
5529 {
5530 resultobj = wxPyMake_wxObject(result);
5531 }
5532 {
5533 if (temp3)
5534 delete arg3;
5535 }
5536 return resultobj;
5537 fail:
5538 {
5539 if (temp3)
5540 delete arg3;
5541 }
5542 return NULL;
5543}
5544
5545
5546static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
5547 PyObject *resultobj;
5548 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5549 wxString *arg2 = 0 ;
5550 int arg3 = (int) 0 ;
5551 wxString result;
e811c8ce 5552 bool temp2 = False ;
d14a1e28
RD
5553 PyObject * obj0 = 0 ;
5554 PyObject * obj1 = 0 ;
5555 char *kwnames[] = {
5556 (char *) "self",(char *) "spec",(char *) "flags", NULL
5557 };
5558
5559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FileSystemHandler_FindFirst",kwnames,&obj0,&obj1,&arg3)) goto fail;
5560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5561 {
5562 arg2 = wxString_in_helper(obj1);
5563 if (arg2 == NULL) SWIG_fail;
e811c8ce 5564 temp2 = True;
d14a1e28
RD
5565 }
5566 {
5567 PyThreadState* __tstate = wxPyBeginAllowThreads();
5568 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
5569
5570 wxPyEndAllowThreads(__tstate);
5571 if (PyErr_Occurred()) SWIG_fail;
5572 }
5573 {
5574#if wxUSE_UNICODE
5575 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5576#else
5577 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5578#endif
5579 }
5580 {
5581 if (temp2)
5582 delete arg2;
5583 }
5584 return resultobj;
5585 fail:
5586 {
5587 if (temp2)
5588 delete arg2;
5589 }
5590 return NULL;
5591}
5592
5593
5594static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
5595 PyObject *resultobj;
5596 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5597 wxString result;
5598 PyObject * obj0 = 0 ;
5599 char *kwnames[] = {
5600 (char *) "self", NULL
5601 };
5602
5603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystemHandler_FindNext",kwnames,&obj0)) goto fail;
5604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5605 {
5606 PyThreadState* __tstate = wxPyBeginAllowThreads();
5607 result = (arg1)->FindNext();
5608
5609 wxPyEndAllowThreads(__tstate);
5610 if (PyErr_Occurred()) SWIG_fail;
5611 }
5612 {
5613#if wxUSE_UNICODE
5614 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5615#else
5616 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5617#endif
5618 }
5619 return resultobj;
5620 fail:
5621 return NULL;
5622}
5623
5624
5625static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *self, PyObject *args, PyObject *kwargs) {
5626 PyObject *resultobj;
5627 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5628 wxString *arg2 = 0 ;
5629 wxString result;
e811c8ce 5630 bool temp2 = False ;
d14a1e28
RD
5631 PyObject * obj0 = 0 ;
5632 PyObject * obj1 = 0 ;
5633 char *kwnames[] = {
5634 (char *) "self",(char *) "location", NULL
5635 };
5636
5637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetProtocol",kwnames,&obj0,&obj1)) goto fail;
5638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5639 {
5640 arg2 = wxString_in_helper(obj1);
5641 if (arg2 == NULL) SWIG_fail;
e811c8ce 5642 temp2 = True;
d14a1e28
RD
5643 }
5644 {
5645 PyThreadState* __tstate = wxPyBeginAllowThreads();
5646 result = (arg1)->GetProtocol((wxString const &)*arg2);
5647
5648 wxPyEndAllowThreads(__tstate);
5649 if (PyErr_Occurred()) SWIG_fail;
5650 }
5651 {
5652#if wxUSE_UNICODE
5653 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5654#else
5655 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5656#endif
5657 }
5658 {
5659 if (temp2)
5660 delete arg2;
5661 }
5662 return resultobj;
5663 fail:
5664 {
5665 if (temp2)
5666 delete arg2;
5667 }
5668 return NULL;
5669}
5670
5671
5672static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
5673 PyObject *resultobj;
5674 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5675 wxString *arg2 = 0 ;
5676 wxString result;
e811c8ce 5677 bool temp2 = False ;
d14a1e28
RD
5678 PyObject * obj0 = 0 ;
5679 PyObject * obj1 = 0 ;
5680 char *kwnames[] = {
5681 (char *) "self",(char *) "location", NULL
5682 };
5683
5684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames,&obj0,&obj1)) goto fail;
5685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5686 {
5687 arg2 = wxString_in_helper(obj1);
5688 if (arg2 == NULL) SWIG_fail;
e811c8ce 5689 temp2 = True;
d14a1e28
RD
5690 }
5691 {
5692 PyThreadState* __tstate = wxPyBeginAllowThreads();
5693 result = (arg1)->GetLeftLocation((wxString const &)*arg2);
5694
5695 wxPyEndAllowThreads(__tstate);
5696 if (PyErr_Occurred()) SWIG_fail;
5697 }
5698 {
5699#if wxUSE_UNICODE
5700 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5701#else
5702 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5703#endif
5704 }
5705 {
5706 if (temp2)
5707 delete arg2;
5708 }
5709 return resultobj;
5710 fail:
5711 {
5712 if (temp2)
5713 delete arg2;
5714 }
5715 return NULL;
5716}
5717
5718
5719static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
5720 PyObject *resultobj;
5721 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5722 wxString *arg2 = 0 ;
5723 wxString result;
e811c8ce 5724 bool temp2 = False ;
d14a1e28
RD
5725 PyObject * obj0 = 0 ;
5726 PyObject * obj1 = 0 ;
5727 char *kwnames[] = {
5728 (char *) "self",(char *) "location", NULL
5729 };
5730
5731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetAnchor",kwnames,&obj0,&obj1)) goto fail;
5732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5733 {
5734 arg2 = wxString_in_helper(obj1);
5735 if (arg2 == NULL) SWIG_fail;
e811c8ce 5736 temp2 = True;
d14a1e28
RD
5737 }
5738 {
5739 PyThreadState* __tstate = wxPyBeginAllowThreads();
5740 result = (arg1)->GetAnchor((wxString const &)*arg2);
5741
5742 wxPyEndAllowThreads(__tstate);
5743 if (PyErr_Occurred()) SWIG_fail;
5744 }
5745 {
5746#if wxUSE_UNICODE
5747 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5748#else
5749 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5750#endif
5751 }
5752 {
5753 if (temp2)
5754 delete arg2;
5755 }
5756 return resultobj;
5757 fail:
5758 {
5759 if (temp2)
5760 delete arg2;
5761 }
5762 return NULL;
5763}
5764
5765
5766static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
5767 PyObject *resultobj;
5768 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5769 wxString *arg2 = 0 ;
5770 wxString result;
e811c8ce 5771 bool temp2 = False ;
d14a1e28
RD
5772 PyObject * obj0 = 0 ;
5773 PyObject * obj1 = 0 ;
5774 char *kwnames[] = {
5775 (char *) "self",(char *) "location", NULL
5776 };
5777
5778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames,&obj0,&obj1)) goto fail;
5779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5780 {
5781 arg2 = wxString_in_helper(obj1);
5782 if (arg2 == NULL) SWIG_fail;
e811c8ce 5783 temp2 = True;
d14a1e28
RD
5784 }
5785 {
5786 PyThreadState* __tstate = wxPyBeginAllowThreads();
5787 result = (arg1)->GetRightLocation((wxString const &)*arg2);
5788
5789 wxPyEndAllowThreads(__tstate);
5790 if (PyErr_Occurred()) SWIG_fail;
5791 }
5792 {
5793#if wxUSE_UNICODE
5794 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5795#else
5796 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5797#endif
5798 }
5799 {
5800 if (temp2)
5801 delete arg2;
5802 }
5803 return resultobj;
5804 fail:
5805 {
5806 if (temp2)
5807 delete arg2;
5808 }
5809 return NULL;
5810}
5811
5812
5813static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *self, PyObject *args, PyObject *kwargs) {
5814 PyObject *resultobj;
5815 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5816 wxString *arg2 = 0 ;
5817 wxString result;
e811c8ce 5818 bool temp2 = False ;
d14a1e28
RD
5819 PyObject * obj0 = 0 ;
5820 PyObject * obj1 = 0 ;
5821 char *kwnames[] = {
5822 (char *) "self",(char *) "location", NULL
5823 };
5824
5825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames,&obj0,&obj1)) goto fail;
5826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5827 {
5828 arg2 = wxString_in_helper(obj1);
5829 if (arg2 == NULL) SWIG_fail;
e811c8ce 5830 temp2 = True;
d14a1e28
RD
5831 }
5832 {
5833 PyThreadState* __tstate = wxPyBeginAllowThreads();
5834 result = (arg1)->GetMimeTypeFromExt((wxString const &)*arg2);
5835
5836 wxPyEndAllowThreads(__tstate);
5837 if (PyErr_Occurred()) SWIG_fail;
5838 }
5839 {
5840#if wxUSE_UNICODE
5841 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5842#else
5843 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5844#endif
5845 }
5846 {
5847 if (temp2)
5848 delete arg2;
5849 }
5850 return resultobj;
5851 fail:
5852 {
5853 if (temp2)
5854 delete arg2;
5855 }
5856 return NULL;
5857}
5858
5859
5860static PyObject * FileSystemHandler_swigregister(PyObject *self, PyObject *args) {
5861 PyObject *obj;
5862 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5863 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler, obj);
5864 Py_INCREF(obj);
5865 return Py_BuildValue((char *)"");
5866}
5867static PyObject *_wrap_new_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
5868 PyObject *resultobj;
5869 wxFileSystem *result;
5870 char *kwnames[] = {
5871 NULL
5872 };
5873
5874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystem",kwnames)) goto fail;
5875 {
5876 PyThreadState* __tstate = wxPyBeginAllowThreads();
5877 result = (wxFileSystem *)new wxFileSystem();
5878
5879 wxPyEndAllowThreads(__tstate);
5880 if (PyErr_Occurred()) SWIG_fail;
5881 }
5882 {
5883 resultobj = wxPyMake_wxObject(result);
5884 }
5885 return resultobj;
5886 fail:
5887 return NULL;
5888}
5889
5890
5891static PyObject *_wrap_delete_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
5892 PyObject *resultobj;
5893 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
5894 PyObject * obj0 = 0 ;
5895 char *kwnames[] = {
5896 (char *) "self", NULL
5897 };
5898
5899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileSystem",kwnames,&obj0)) goto fail;
5900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5901 {
5902 PyThreadState* __tstate = wxPyBeginAllowThreads();
5903 delete arg1;
5904
5905 wxPyEndAllowThreads(__tstate);
5906 if (PyErr_Occurred()) SWIG_fail;
5907 }
5908 Py_INCREF(Py_None); resultobj = Py_None;
5909 return resultobj;
5910 fail:
5911 return NULL;
5912}
5913
5914
5915static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *self, PyObject *args, PyObject *kwargs) {
5916 PyObject *resultobj;
5917 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
5918 wxString *arg2 = 0 ;
e811c8ce
RD
5919 bool arg3 = (bool) False ;
5920 bool temp2 = False ;
d14a1e28
RD
5921 PyObject * obj0 = 0 ;
5922 PyObject * obj1 = 0 ;
5923 PyObject * obj2 = 0 ;
5924 char *kwnames[] = {
5925 (char *) "self",(char *) "location",(char *) "is_dir", NULL
5926 };
5927
5928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5930 {
5931 arg2 = wxString_in_helper(obj1);
5932 if (arg2 == NULL) SWIG_fail;
e811c8ce 5933 temp2 = True;
d14a1e28
RD
5934 }
5935 if (obj2) {
5936 arg3 = PyInt_AsLong(obj2) ? true : false;
5937 if (PyErr_Occurred()) SWIG_fail;
5938 }
5939 {
5940 PyThreadState* __tstate = wxPyBeginAllowThreads();
5941 (arg1)->ChangePathTo((wxString const &)*arg2,arg3);
5942
5943 wxPyEndAllowThreads(__tstate);
5944 if (PyErr_Occurred()) SWIG_fail;
5945 }
5946 Py_INCREF(Py_None); resultobj = Py_None;
5947 {
5948 if (temp2)
5949 delete arg2;
5950 }
5951 return resultobj;
5952 fail:
5953 {
5954 if (temp2)
5955 delete arg2;
5956 }
5957 return NULL;
5958}
5959
5960
5961static PyObject *_wrap_FileSystem_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
5962 PyObject *resultobj;
5963 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
5964 wxString result;
5965 PyObject * obj0 = 0 ;
5966 char *kwnames[] = {
5967 (char *) "self", NULL
5968 };
5969
5970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_GetPath",kwnames,&obj0)) goto fail;
5971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5972 {
5973 PyThreadState* __tstate = wxPyBeginAllowThreads();
5974 result = (arg1)->GetPath();
5975
5976 wxPyEndAllowThreads(__tstate);
5977 if (PyErr_Occurred()) SWIG_fail;
5978 }
5979 {
5980#if wxUSE_UNICODE
5981 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5982#else
5983 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5984#endif
5985 }
5986 return resultobj;
5987 fail:
5988 return NULL;
5989}
5990
5991
5992static PyObject *_wrap_FileSystem_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5993 PyObject *resultobj;
5994 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
5995 wxString *arg2 = 0 ;
5996 wxFSFile *result;
e811c8ce 5997 bool temp2 = False ;
d14a1e28
RD
5998 PyObject * obj0 = 0 ;
5999 PyObject * obj1 = 0 ;
6000 char *kwnames[] = {
6001 (char *) "self",(char *) "location", NULL
6002 };
6003
6004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail;
6005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6006 {
6007 arg2 = wxString_in_helper(obj1);
6008 if (arg2 == NULL) SWIG_fail;
e811c8ce 6009 temp2 = True;
d14a1e28
RD
6010 }
6011 {
6012 PyThreadState* __tstate = wxPyBeginAllowThreads();
6013 result = (wxFSFile *)(arg1)->OpenFile((wxString const &)*arg2);
6014
6015 wxPyEndAllowThreads(__tstate);
6016 if (PyErr_Occurred()) SWIG_fail;
6017 }
6018 {
6019 resultobj = wxPyMake_wxObject(result);
6020 }
6021 {
6022 if (temp2)
6023 delete arg2;
6024 }
6025 return resultobj;
6026 fail:
6027 {
6028 if (temp2)
6029 delete arg2;
6030 }
6031 return NULL;
6032}
6033
6034
6035static PyObject *_wrap_FileSystem_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6036 PyObject *resultobj;
6037 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6038 wxString *arg2 = 0 ;
6039 int arg3 = (int) 0 ;
6040 wxString result;
e811c8ce 6041 bool temp2 = False ;
d14a1e28
RD
6042 PyObject * obj0 = 0 ;
6043 PyObject * obj1 = 0 ;
6044 char *kwnames[] = {
6045 (char *) "self",(char *) "spec",(char *) "flags", NULL
6046 };
6047
6048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FileSystem_FindFirst",kwnames,&obj0,&obj1,&arg3)) goto fail;
6049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6050 {
6051 arg2 = wxString_in_helper(obj1);
6052 if (arg2 == NULL) SWIG_fail;
e811c8ce 6053 temp2 = True;
d14a1e28
RD
6054 }
6055 {
6056 PyThreadState* __tstate = wxPyBeginAllowThreads();
6057 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6058
6059 wxPyEndAllowThreads(__tstate);
6060 if (PyErr_Occurred()) SWIG_fail;
6061 }
6062 {
6063#if wxUSE_UNICODE
6064 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6065#else
6066 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6067#endif
6068 }
6069 {
6070 if (temp2)
6071 delete arg2;
6072 }
6073 return resultobj;
6074 fail:
6075 {
6076 if (temp2)
6077 delete arg2;
6078 }
6079 return NULL;
6080}
6081
6082
6083static PyObject *_wrap_FileSystem_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6084 PyObject *resultobj;
6085 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6086 wxString result;
6087 PyObject * obj0 = 0 ;
6088 char *kwnames[] = {
6089 (char *) "self", NULL
6090 };
6091
6092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FindNext",kwnames,&obj0)) goto fail;
6093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6094 {
6095 PyThreadState* __tstate = wxPyBeginAllowThreads();
6096 result = (arg1)->FindNext();
6097
6098 wxPyEndAllowThreads(__tstate);
6099 if (PyErr_Occurred()) SWIG_fail;
6100 }
6101 {
6102#if wxUSE_UNICODE
6103 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6104#else
6105 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6106#endif
6107 }
6108 return resultobj;
6109 fail:
6110 return NULL;
6111}
6112
6113
6114static PyObject *_wrap_FileSystem_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6115 PyObject *resultobj;
6116 wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ;
6117 PyObject * obj0 = 0 ;
6118 char *kwnames[] = {
6119 (char *) "handler", NULL
6120 };
6121
6122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_AddHandler",kwnames,&obj0)) goto fail;
6123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6124 {
6125 PyThreadState* __tstate = wxPyBeginAllowThreads();
6126 wxFileSystem::AddHandler(arg1);
6127
6128 wxPyEndAllowThreads(__tstate);
6129 if (PyErr_Occurred()) SWIG_fail;
6130 }
6131 Py_INCREF(Py_None); resultobj = Py_None;
6132 return resultobj;
6133 fail:
6134 return NULL;
6135}
6136
6137
6138static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
6139 PyObject *resultobj;
6140 char *kwnames[] = {
6141 NULL
6142 };
6143
6144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FileSystem_CleanUpHandlers",kwnames)) goto fail;
6145 {
6146 PyThreadState* __tstate = wxPyBeginAllowThreads();
6147 wxFileSystem::CleanUpHandlers();
6148
6149 wxPyEndAllowThreads(__tstate);
6150 if (PyErr_Occurred()) SWIG_fail;
6151 }
6152 Py_INCREF(Py_None); resultobj = Py_None;
6153 return resultobj;
6154 fail:
6155 return NULL;
6156}
6157
6158
6159static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *self, PyObject *args, PyObject *kwargs) {
6160 PyObject *resultobj;
6161 wxString *arg1 = 0 ;
6162 wxString result;
e811c8ce 6163 bool temp1 = False ;
d14a1e28
RD
6164 PyObject * obj0 = 0 ;
6165 char *kwnames[] = {
6166 (char *) "filename", NULL
6167 };
6168
6169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FileNameToURL",kwnames,&obj0)) goto fail;
6170 {
6171 arg1 = wxString_in_helper(obj0);
6172 if (arg1 == NULL) SWIG_fail;
e811c8ce 6173 temp1 = True;
d14a1e28
RD
6174 }
6175 {
6176 PyThreadState* __tstate = wxPyBeginAllowThreads();
6177 result = wxFileSystem::FileNameToURL((wxString const &)*arg1);
6178
6179 wxPyEndAllowThreads(__tstate);
6180 if (PyErr_Occurred()) SWIG_fail;
6181 }
6182 {
6183#if wxUSE_UNICODE
6184 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6185#else
6186 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6187#endif
6188 }
6189 {
6190 if (temp1)
6191 delete arg1;
6192 }
6193 return resultobj;
6194 fail:
6195 {
6196 if (temp1)
6197 delete arg1;
6198 }
6199 return NULL;
6200}
6201
6202
6203static PyObject * FileSystem_swigregister(PyObject *self, PyObject *args) {
6204 PyObject *obj;
6205 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6206 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
6207 Py_INCREF(obj);
6208 return Py_BuildValue((char *)"");
6209}
6210static PyObject *_wrap_FileSystem_URLToFileName(PyObject *self, PyObject *args, PyObject *kwargs) {
6211 PyObject *resultobj;
6212 wxString *arg1 = 0 ;
6213 wxString result;
e811c8ce 6214 bool temp1 = False ;
d14a1e28
RD
6215 PyObject * obj0 = 0 ;
6216 char *kwnames[] = {
6217 (char *) "url", NULL
6218 };
6219
6220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_URLToFileName",kwnames,&obj0)) goto fail;
6221 {
6222 arg1 = wxString_in_helper(obj0);
6223 if (arg1 == NULL) SWIG_fail;
e811c8ce 6224 temp1 = True;
d14a1e28
RD
6225 }
6226 {
6227 PyThreadState* __tstate = wxPyBeginAllowThreads();
6228 result = wxFileSystem_URLToFileName((wxString const &)*arg1);
6229
6230 wxPyEndAllowThreads(__tstate);
6231 if (PyErr_Occurred()) SWIG_fail;
6232 }
6233 {
6234#if wxUSE_UNICODE
6235 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6236#else
6237 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6238#endif
6239 }
6240 {
6241 if (temp1)
6242 delete arg1;
6243 }
6244 return resultobj;
6245 fail:
6246 {
6247 if (temp1)
6248 delete arg1;
6249 }
6250 return NULL;
6251}
6252
6253
6254static PyObject *_wrap_new_InternetFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6255 PyObject *resultobj;
6256 wxInternetFSHandler *result;
6257 char *kwnames[] = {
6258 NULL
6259 };
6260
6261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_InternetFSHandler",kwnames)) goto fail;
6262 {
6263 PyThreadState* __tstate = wxPyBeginAllowThreads();
6264 result = (wxInternetFSHandler *)new wxInternetFSHandler();
6265
6266 wxPyEndAllowThreads(__tstate);
6267 if (PyErr_Occurred()) SWIG_fail;
6268 }
6269 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxInternetFSHandler, 1);
6270 return resultobj;
6271 fail:
6272 return NULL;
6273}
6274
6275
6276static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6277 PyObject *resultobj;
6278 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
6279 wxString *arg2 = 0 ;
6280 bool result;
e811c8ce 6281 bool temp2 = False ;
d14a1e28
RD
6282 PyObject * obj0 = 0 ;
6283 PyObject * obj1 = 0 ;
6284 char *kwnames[] = {
6285 (char *) "self",(char *) "location", NULL
6286 };
6287
6288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
6289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxInternetFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6290 {
6291 arg2 = wxString_in_helper(obj1);
6292 if (arg2 == NULL) SWIG_fail;
e811c8ce 6293 temp2 = True;
d14a1e28
RD
6294 }
6295 {
6296 PyThreadState* __tstate = wxPyBeginAllowThreads();
6297 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6298
6299 wxPyEndAllowThreads(__tstate);
6300 if (PyErr_Occurred()) SWIG_fail;
6301 }
6302 resultobj = PyInt_FromLong((long)result);
6303 {
6304 if (temp2)
6305 delete arg2;
6306 }
6307 return resultobj;
6308 fail:
6309 {
6310 if (temp2)
6311 delete arg2;
6312 }
6313 return NULL;
6314}
6315
6316
6317static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6318 PyObject *resultobj;
6319 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
6320 wxFileSystem *arg2 = 0 ;
6321 wxString *arg3 = 0 ;
6322 wxFSFile *result;
e811c8ce 6323 bool temp3 = False ;
d14a1e28
RD
6324 PyObject * obj0 = 0 ;
6325 PyObject * obj1 = 0 ;
6326 PyObject * obj2 = 0 ;
6327 char *kwnames[] = {
6328 (char *) "self",(char *) "fs",(char *) "location", NULL
6329 };
6330
6331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:InternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxInternetFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6333 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6334 if (arg2 == NULL) {
6335 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6336 }
6337 {
6338 arg3 = wxString_in_helper(obj2);
6339 if (arg3 == NULL) SWIG_fail;
e811c8ce 6340 temp3 = True;
d14a1e28
RD
6341 }
6342 {
6343 PyThreadState* __tstate = wxPyBeginAllowThreads();
6344 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6345
6346 wxPyEndAllowThreads(__tstate);
6347 if (PyErr_Occurred()) SWIG_fail;
6348 }
6349 {
6350 resultobj = wxPyMake_wxObject(result);
6351 }
6352 {
6353 if (temp3)
6354 delete arg3;
6355 }
6356 return resultobj;
6357 fail:
6358 {
6359 if (temp3)
6360 delete arg3;
6361 }
6362 return NULL;
6363}
6364
6365
6366static PyObject * InternetFSHandler_swigregister(PyObject *self, PyObject *args) {
6367 PyObject *obj;
6368 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6369 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler, obj);
6370 Py_INCREF(obj);
6371 return Py_BuildValue((char *)"");
6372}
6373static PyObject *_wrap_new_ZipFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6374 PyObject *resultobj;
6375 wxZipFSHandler *result;
6376 char *kwnames[] = {
6377 NULL
6378 };
6379
6380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ZipFSHandler",kwnames)) goto fail;
6381 {
6382 PyThreadState* __tstate = wxPyBeginAllowThreads();
6383 result = (wxZipFSHandler *)new wxZipFSHandler();
6384
6385 wxPyEndAllowThreads(__tstate);
6386 if (PyErr_Occurred()) SWIG_fail;
6387 }
6388 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxZipFSHandler, 1);
6389 return resultobj;
6390 fail:
6391 return NULL;
6392}
6393
6394
6395static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6396 PyObject *resultobj;
6397 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
6398 wxString *arg2 = 0 ;
6399 bool result;
e811c8ce 6400 bool temp2 = False ;
d14a1e28
RD
6401 PyObject * obj0 = 0 ;
6402 PyObject * obj1 = 0 ;
6403 char *kwnames[] = {
6404 (char *) "self",(char *) "location", NULL
6405 };
6406
6407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
6408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6409 {
6410 arg2 = wxString_in_helper(obj1);
6411 if (arg2 == NULL) SWIG_fail;
e811c8ce 6412 temp2 = True;
d14a1e28
RD
6413 }
6414 {
6415 PyThreadState* __tstate = wxPyBeginAllowThreads();
6416 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6417
6418 wxPyEndAllowThreads(__tstate);
6419 if (PyErr_Occurred()) SWIG_fail;
6420 }
6421 resultobj = PyInt_FromLong((long)result);
6422 {
6423 if (temp2)
6424 delete arg2;
6425 }
6426 return resultobj;
6427 fail:
6428 {
6429 if (temp2)
6430 delete arg2;
6431 }
6432 return NULL;
6433}
6434
6435
6436static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6437 PyObject *resultobj;
6438 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
6439 wxFileSystem *arg2 = 0 ;
6440 wxString *arg3 = 0 ;
6441 wxFSFile *result;
e811c8ce 6442 bool temp3 = False ;
d14a1e28
RD
6443 PyObject * obj0 = 0 ;
6444 PyObject * obj1 = 0 ;
6445 PyObject * obj2 = 0 ;
6446 char *kwnames[] = {
6447 (char *) "self",(char *) "fs",(char *) "location", NULL
6448 };
6449
6450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6452 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6453 if (arg2 == NULL) {
6454 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6455 }
6456 {
6457 arg3 = wxString_in_helper(obj2);
6458 if (arg3 == NULL) SWIG_fail;
e811c8ce 6459 temp3 = True;
d14a1e28
RD
6460 }
6461 {
6462 PyThreadState* __tstate = wxPyBeginAllowThreads();
6463 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6464
6465 wxPyEndAllowThreads(__tstate);
6466 if (PyErr_Occurred()) SWIG_fail;
6467 }
6468 {
6469 resultobj = wxPyMake_wxObject(result);
6470 }
6471 {
6472 if (temp3)
6473 delete arg3;
6474 }
6475 return resultobj;
6476 fail:
6477 {
6478 if (temp3)
6479 delete arg3;
6480 }
6481 return NULL;
6482}
6483
6484
6485static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6486 PyObject *resultobj;
6487 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
6488 wxString *arg2 = 0 ;
6489 int arg3 = (int) 0 ;
6490 wxString result;
e811c8ce 6491 bool temp2 = False ;
d14a1e28
RD
6492 PyObject * obj0 = 0 ;
6493 PyObject * obj1 = 0 ;
6494 char *kwnames[] = {
6495 (char *) "self",(char *) "spec",(char *) "flags", NULL
6496 };
6497
6498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&arg3)) goto fail;
6499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6500 {
6501 arg2 = wxString_in_helper(obj1);
6502 if (arg2 == NULL) SWIG_fail;
e811c8ce 6503 temp2 = True;
d14a1e28
RD
6504 }
6505 {
6506 PyThreadState* __tstate = wxPyBeginAllowThreads();
6507 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6508
6509 wxPyEndAllowThreads(__tstate);
6510 if (PyErr_Occurred()) SWIG_fail;
6511 }
6512 {
6513#if wxUSE_UNICODE
6514 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6515#else
6516 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6517#endif
6518 }
6519 {
6520 if (temp2)
6521 delete arg2;
6522 }
6523 return resultobj;
6524 fail:
6525 {
6526 if (temp2)
6527 delete arg2;
6528 }
6529 return NULL;
6530}
6531
6532
6533static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6534 PyObject *resultobj;
6535 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
6536 wxString result;
6537 PyObject * obj0 = 0 ;
6538 char *kwnames[] = {
6539 (char *) "self", NULL
6540 };
6541
6542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ZipFSHandler_FindNext",kwnames,&obj0)) goto fail;
6543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6544 {
6545 PyThreadState* __tstate = wxPyBeginAllowThreads();
6546 result = (arg1)->FindNext();
6547
6548 wxPyEndAllowThreads(__tstate);
6549 if (PyErr_Occurred()) SWIG_fail;
6550 }
6551 {
6552#if wxUSE_UNICODE
6553 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6554#else
6555 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6556#endif
6557 }
6558 return resultobj;
6559 fail:
6560 return NULL;
6561}
6562
6563
6564static PyObject * ZipFSHandler_swigregister(PyObject *self, PyObject *args) {
6565 PyObject *obj;
6566 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6567 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler, obj);
6568 Py_INCREF(obj);
6569 return Py_BuildValue((char *)"");
6570}
6571static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *self, PyObject *args, PyObject *kwargs) {
6572 PyObject *resultobj;
6573 wxString *arg1 = 0 ;
6574 wxImage *arg2 = 0 ;
6575 long arg3 ;
e811c8ce 6576 bool temp1 = False ;
d14a1e28
RD
6577 PyObject * obj0 = 0 ;
6578 PyObject * obj1 = 0 ;
6579 char *kwnames[] = {
6580 (char *) "filename",(char *) "image",(char *) "type", NULL
6581 };
6582
6583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
6584 {
6585 arg1 = wxString_in_helper(obj0);
6586 if (arg1 == NULL) SWIG_fail;
e811c8ce 6587 temp1 = True;
d14a1e28
RD
6588 }
6589 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6590 if (arg2 == NULL) {
6591 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6592 }
6593 {
6594 PyThreadState* __tstate = wxPyBeginAllowThreads();
6595 __wxMemoryFSHandler_AddFile_wxImage((wxString const &)*arg1,*arg2,arg3);
6596
6597 wxPyEndAllowThreads(__tstate);
6598 if (PyErr_Occurred()) SWIG_fail;
6599 }
6600 Py_INCREF(Py_None); resultobj = Py_None;
6601 {
6602 if (temp1)
6603 delete arg1;
6604 }
6605 return resultobj;
6606 fail:
6607 {
6608 if (temp1)
6609 delete arg1;
6610 }
6611 return NULL;
6612}
6613
6614
6615static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
6616 PyObject *resultobj;
6617 wxString *arg1 = 0 ;
6618 wxBitmap *arg2 = 0 ;
6619 long arg3 ;
e811c8ce 6620 bool temp1 = False ;
d14a1e28
RD
6621 PyObject * obj0 = 0 ;
6622 PyObject * obj1 = 0 ;
6623 char *kwnames[] = {
6624 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
6625 };
6626
6627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames,&obj0,&obj1,&arg3)) goto fail;
6628 {
6629 arg1 = wxString_in_helper(obj0);
6630 if (arg1 == NULL) SWIG_fail;
e811c8ce 6631 temp1 = True;
d14a1e28
RD
6632 }
6633 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6634 if (arg2 == NULL) {
6635 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6636 }
6637 {
6638 PyThreadState* __tstate = wxPyBeginAllowThreads();
6639 __wxMemoryFSHandler_AddFile_wxBitmap((wxString const &)*arg1,(wxBitmap const &)*arg2,arg3);
6640
6641 wxPyEndAllowThreads(__tstate);
6642 if (PyErr_Occurred()) SWIG_fail;
6643 }
6644 Py_INCREF(Py_None); resultobj = Py_None;
6645 {
6646 if (temp1)
6647 delete arg1;
6648 }
6649 return resultobj;
6650 fail:
6651 {
6652 if (temp1)
6653 delete arg1;
6654 }
6655 return NULL;
6656}
6657
6658
6659static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *self, PyObject *args, PyObject *kwargs) {
6660 PyObject *resultobj;
6661 wxString *arg1 = 0 ;
6662 PyObject *arg2 = (PyObject *) 0 ;
e811c8ce 6663 bool temp1 = False ;
d14a1e28
RD
6664 PyObject * obj0 = 0 ;
6665 PyObject * obj1 = 0 ;
6666 char *kwnames[] = {
6667 (char *) "filename",(char *) "data", NULL
6668 };
6669
6670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames,&obj0,&obj1)) goto fail;
6671 {
6672 arg1 = wxString_in_helper(obj0);
6673 if (arg1 == NULL) SWIG_fail;
e811c8ce 6674 temp1 = True;
d14a1e28
RD
6675 }
6676 arg2 = obj1;
6677 {
6678 PyThreadState* __tstate = wxPyBeginAllowThreads();
6679 __wxMemoryFSHandler_AddFile_Data((wxString const &)*arg1,arg2);
6680
6681 wxPyEndAllowThreads(__tstate);
6682 if (PyErr_Occurred()) SWIG_fail;
6683 }
6684 Py_INCREF(Py_None); resultobj = Py_None;
6685 {
6686 if (temp1)
6687 delete arg1;
6688 }
6689 return resultobj;
6690 fail:
6691 {
6692 if (temp1)
6693 delete arg1;
6694 }
6695 return NULL;
6696}
6697
6698
6699static PyObject *_wrap_new_MemoryFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6700 PyObject *resultobj;
6701 wxMemoryFSHandler *result;
6702 char *kwnames[] = {
6703 NULL
6704 };
6705
6706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryFSHandler",kwnames)) goto fail;
6707 {
6708 PyThreadState* __tstate = wxPyBeginAllowThreads();
6709 result = (wxMemoryFSHandler *)new wxMemoryFSHandler();
6710
6711 wxPyEndAllowThreads(__tstate);
6712 if (PyErr_Occurred()) SWIG_fail;
6713 }
6714 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMemoryFSHandler, 1);
6715 return resultobj;
6716 fail:
6717 return NULL;
6718}
6719
6720
6721static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6722 PyObject *resultobj;
6723 wxString *arg1 = 0 ;
e811c8ce 6724 bool temp1 = False ;
d14a1e28
RD
6725 PyObject * obj0 = 0 ;
6726 char *kwnames[] = {
6727 (char *) "filename", NULL
6728 };
6729
6730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail;
6731 {
6732 arg1 = wxString_in_helper(obj0);
6733 if (arg1 == NULL) SWIG_fail;
e811c8ce 6734 temp1 = True;
d14a1e28
RD
6735 }
6736 {
6737 PyThreadState* __tstate = wxPyBeginAllowThreads();
6738 wxMemoryFSHandler::RemoveFile((wxString const &)*arg1);
6739
6740 wxPyEndAllowThreads(__tstate);
6741 if (PyErr_Occurred()) SWIG_fail;
6742 }
6743 Py_INCREF(Py_None); resultobj = Py_None;
6744 {
6745 if (temp1)
6746 delete arg1;
6747 }
6748 return resultobj;
6749 fail:
6750 {
6751 if (temp1)
6752 delete arg1;
6753 }
6754 return NULL;
6755}
6756
6757
6758static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6759 PyObject *resultobj;
6760 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
6761 wxString *arg2 = 0 ;
6762 bool result;
e811c8ce 6763 bool temp2 = False ;
d14a1e28
RD
6764 PyObject * obj0 = 0 ;
6765 PyObject * obj1 = 0 ;
6766 char *kwnames[] = {
6767 (char *) "self",(char *) "location", NULL
6768 };
6769
6770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
6771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6772 {
6773 arg2 = wxString_in_helper(obj1);
6774 if (arg2 == NULL) SWIG_fail;
e811c8ce 6775 temp2 = True;
d14a1e28
RD
6776 }
6777 {
6778 PyThreadState* __tstate = wxPyBeginAllowThreads();
6779 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6780
6781 wxPyEndAllowThreads(__tstate);
6782 if (PyErr_Occurred()) SWIG_fail;
6783 }
6784 resultobj = PyInt_FromLong((long)result);
6785 {
6786 if (temp2)
6787 delete arg2;
6788 }
6789 return resultobj;
6790 fail:
6791 {
6792 if (temp2)
6793 delete arg2;
6794 }
6795 return NULL;
6796}
6797
6798
6799static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6800 PyObject *resultobj;
6801 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
6802 wxFileSystem *arg2 = 0 ;
6803 wxString *arg3 = 0 ;
6804 wxFSFile *result;
e811c8ce 6805 bool temp3 = False ;
d14a1e28
RD
6806 PyObject * obj0 = 0 ;
6807 PyObject * obj1 = 0 ;
6808 PyObject * obj2 = 0 ;
6809 char *kwnames[] = {
6810 (char *) "self",(char *) "fs",(char *) "location", NULL
6811 };
6812
6813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6815 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6816 if (arg2 == NULL) {
6817 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6818 }
6819 {
6820 arg3 = wxString_in_helper(obj2);
6821 if (arg3 == NULL) SWIG_fail;
e811c8ce 6822 temp3 = True;
d14a1e28
RD
6823 }
6824 {
6825 PyThreadState* __tstate = wxPyBeginAllowThreads();
6826 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6827
6828 wxPyEndAllowThreads(__tstate);
6829 if (PyErr_Occurred()) SWIG_fail;
6830 }
6831 {
6832 resultobj = wxPyMake_wxObject(result);
6833 }
6834 {
6835 if (temp3)
6836 delete arg3;
6837 }
6838 return resultobj;
6839 fail:
6840 {
6841 if (temp3)
6842 delete arg3;
6843 }
6844 return NULL;
6845}
6846
6847
6848static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6849 PyObject *resultobj;
6850 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
6851 wxString *arg2 = 0 ;
6852 int arg3 = (int) 0 ;
6853 wxString result;
e811c8ce 6854 bool temp2 = False ;
d14a1e28
RD
6855 PyObject * obj0 = 0 ;
6856 PyObject * obj1 = 0 ;
6857 char *kwnames[] = {
6858 (char *) "self",(char *) "spec",(char *) "flags", NULL
6859 };
6860
6861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&arg3)) goto fail;
6862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6863 {
6864 arg2 = wxString_in_helper(obj1);
6865 if (arg2 == NULL) SWIG_fail;
e811c8ce 6866 temp2 = True;
d14a1e28
RD
6867 }
6868 {
6869 PyThreadState* __tstate = wxPyBeginAllowThreads();
6870 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6871
6872 wxPyEndAllowThreads(__tstate);
6873 if (PyErr_Occurred()) SWIG_fail;
6874 }
6875 {
6876#if wxUSE_UNICODE
6877 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6878#else
6879 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6880#endif
6881 }
6882 {
6883 if (temp2)
6884 delete arg2;
6885 }
6886 return resultobj;
6887 fail:
6888 {
6889 if (temp2)
6890 delete arg2;
6891 }
6892 return NULL;
6893}
6894
6895
6896static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6897 PyObject *resultobj;
6898 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
6899 wxString result;
6900 PyObject * obj0 = 0 ;
6901 char *kwnames[] = {
6902 (char *) "self", NULL
6903 };
6904
6905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_FindNext",kwnames,&obj0)) goto fail;
6906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6907 {
6908 PyThreadState* __tstate = wxPyBeginAllowThreads();
6909 result = (arg1)->FindNext();
6910
6911 wxPyEndAllowThreads(__tstate);
6912 if (PyErr_Occurred()) SWIG_fail;
6913 }
6914 {
6915#if wxUSE_UNICODE
6916 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6917#else
6918 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6919#endif
6920 }
6921 return resultobj;
6922 fail:
6923 return NULL;
6924}
6925
6926
6927static PyObject * MemoryFSHandler_swigregister(PyObject *self, PyObject *args) {
6928 PyObject *obj;
6929 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6930 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler, obj);
6931 Py_INCREF(obj);
6932 return Py_BuildValue((char *)"");
6933}
6934static PyObject *_wrap_ImageHandler_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
6935 PyObject *resultobj;
6936 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
6937 wxString result;
6938 PyObject * obj0 = 0 ;
6939 char *kwnames[] = {
6940 (char *) "self", NULL
6941 };
6942
6943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetName",kwnames,&obj0)) goto fail;
6944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6945 {
6946 PyThreadState* __tstate = wxPyBeginAllowThreads();
6947 result = (arg1)->GetName();
6948
6949 wxPyEndAllowThreads(__tstate);
6950 if (PyErr_Occurred()) SWIG_fail;
6951 }
6952 {
6953#if wxUSE_UNICODE
6954 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6955#else
6956 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6957#endif
6958 }
6959 return resultobj;
6960 fail:
6961 return NULL;
6962}
6963
6964
6965static PyObject *_wrap_ImageHandler_GetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
6966 PyObject *resultobj;
6967 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
6968 wxString result;
6969 PyObject * obj0 = 0 ;
6970 char *kwnames[] = {
6971 (char *) "self", NULL
6972 };
6973
6974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetExtension",kwnames,&obj0)) goto fail;
6975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6976 {
6977 PyThreadState* __tstate = wxPyBeginAllowThreads();
6978 result = (arg1)->GetExtension();
6979
6980 wxPyEndAllowThreads(__tstate);
6981 if (PyErr_Occurred()) SWIG_fail;
6982 }
6983 {
6984#if wxUSE_UNICODE
6985 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6986#else
6987 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6988#endif
6989 }
6990 return resultobj;
6991 fail:
6992 return NULL;
6993}
6994
6995
6996static PyObject *_wrap_ImageHandler_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
6997 PyObject *resultobj;
6998 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
6999 long result;
7000 PyObject * obj0 = 0 ;
7001 char *kwnames[] = {
7002 (char *) "self", NULL
7003 };
7004
7005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetType",kwnames,&obj0)) goto fail;
7006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7007 {
7008 PyThreadState* __tstate = wxPyBeginAllowThreads();
7009 result = (long)(arg1)->GetType();
7010
7011 wxPyEndAllowThreads(__tstate);
7012 if (PyErr_Occurred()) SWIG_fail;
7013 }
7014 resultobj = PyInt_FromLong((long)result);
7015 return resultobj;
7016 fail:
7017 return NULL;
7018}
7019
7020
7021static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
7022 PyObject *resultobj;
7023 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7024 wxString result;
7025 PyObject * obj0 = 0 ;
7026 char *kwnames[] = {
7027 (char *) "self", NULL
7028 };
7029
7030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetMimeType",kwnames,&obj0)) goto fail;
7031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7032 {
7033 PyThreadState* __tstate = wxPyBeginAllowThreads();
7034 result = (arg1)->GetMimeType();
7035
7036 wxPyEndAllowThreads(__tstate);
7037 if (PyErr_Occurred()) SWIG_fail;
7038 }
7039 {
7040#if wxUSE_UNICODE
7041 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7042#else
7043 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7044#endif
7045 }
7046 return resultobj;
7047 fail:
7048 return NULL;
7049}
7050
7051
7052static PyObject *_wrap_ImageHandler_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
7053 PyObject *resultobj;
7054 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7055 wxString *arg2 = 0 ;
7056 bool result;
e811c8ce 7057 bool temp2 = False ;
d14a1e28
RD
7058 PyObject * obj0 = 0 ;
7059 PyObject * obj1 = 0 ;
7060 char *kwnames[] = {
7061 (char *) "self",(char *) "name", NULL
7062 };
7063
7064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail;
7065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7066 {
7067 arg2 = wxString_in_helper(obj1);
7068 if (arg2 == NULL) SWIG_fail;
e811c8ce 7069 temp2 = True;
d14a1e28
RD
7070 }
7071 {
7072 PyThreadState* __tstate = wxPyBeginAllowThreads();
7073 result = (bool)(arg1)->CanRead((wxString const &)*arg2);
7074
7075 wxPyEndAllowThreads(__tstate);
7076 if (PyErr_Occurred()) SWIG_fail;
7077 }
7078 resultobj = PyInt_FromLong((long)result);
7079 {
7080 if (temp2)
7081 delete arg2;
7082 }
7083 return resultobj;
7084 fail:
7085 {
7086 if (temp2)
7087 delete arg2;
7088 }
7089 return NULL;
7090}
7091
7092
7093static PyObject *_wrap_ImageHandler_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
7094 PyObject *resultobj;
7095 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7096 wxString *arg2 = 0 ;
e811c8ce 7097 bool temp2 = False ;
d14a1e28
RD
7098 PyObject * obj0 = 0 ;
7099 PyObject * obj1 = 0 ;
7100 char *kwnames[] = {
7101 (char *) "self",(char *) "name", NULL
7102 };
7103
7104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail;
7105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7106 {
7107 arg2 = wxString_in_helper(obj1);
7108 if (arg2 == NULL) SWIG_fail;
e811c8ce 7109 temp2 = True;
d14a1e28
RD
7110 }
7111 {
7112 PyThreadState* __tstate = wxPyBeginAllowThreads();
7113 (arg1)->SetName((wxString const &)*arg2);
7114
7115 wxPyEndAllowThreads(__tstate);
7116 if (PyErr_Occurred()) SWIG_fail;
7117 }
7118 Py_INCREF(Py_None); resultobj = Py_None;
7119 {
7120 if (temp2)
7121 delete arg2;
7122 }
7123 return resultobj;
7124 fail:
7125 {
7126 if (temp2)
7127 delete arg2;
7128 }
7129 return NULL;
7130}
7131
7132
7133static PyObject *_wrap_ImageHandler_SetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
7134 PyObject *resultobj;
7135 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7136 wxString *arg2 = 0 ;
e811c8ce 7137 bool temp2 = False ;
d14a1e28
RD
7138 PyObject * obj0 = 0 ;
7139 PyObject * obj1 = 0 ;
7140 char *kwnames[] = {
7141 (char *) "self",(char *) "extension", NULL
7142 };
7143
7144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail;
7145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7146 {
7147 arg2 = wxString_in_helper(obj1);
7148 if (arg2 == NULL) SWIG_fail;
e811c8ce 7149 temp2 = True;
d14a1e28
RD
7150 }
7151 {
7152 PyThreadState* __tstate = wxPyBeginAllowThreads();
7153 (arg1)->SetExtension((wxString const &)*arg2);
7154
7155 wxPyEndAllowThreads(__tstate);
7156 if (PyErr_Occurred()) SWIG_fail;
7157 }
7158 Py_INCREF(Py_None); resultobj = Py_None;
7159 {
7160 if (temp2)
7161 delete arg2;
7162 }
7163 return resultobj;
7164 fail:
7165 {
7166 if (temp2)
7167 delete arg2;
7168 }
7169 return NULL;
7170}
7171
7172
7173static PyObject *_wrap_ImageHandler_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
7174 PyObject *resultobj;
7175 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7176 long arg2 ;
7177 PyObject * obj0 = 0 ;
7178 char *kwnames[] = {
7179 (char *) "self",(char *) "type", NULL
7180 };
7181
7182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ImageHandler_SetType",kwnames,&obj0,&arg2)) goto fail;
7183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7184 {
7185 PyThreadState* __tstate = wxPyBeginAllowThreads();
7186 (arg1)->SetType(arg2);
7187
7188 wxPyEndAllowThreads(__tstate);
7189 if (PyErr_Occurred()) SWIG_fail;
7190 }
7191 Py_INCREF(Py_None); resultobj = Py_None;
7192 return resultobj;
7193 fail:
7194 return NULL;
7195}
7196
7197
7198static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
7199 PyObject *resultobj;
7200 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7201 wxString *arg2 = 0 ;
e811c8ce 7202 bool temp2 = False ;
d14a1e28
RD
7203 PyObject * obj0 = 0 ;
7204 PyObject * obj1 = 0 ;
7205 char *kwnames[] = {
7206 (char *) "self",(char *) "mimetype", NULL
7207 };
7208
7209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetMimeType",kwnames,&obj0,&obj1)) goto fail;
7210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7211 {
7212 arg2 = wxString_in_helper(obj1);
7213 if (arg2 == NULL) SWIG_fail;
e811c8ce 7214 temp2 = True;
d14a1e28
RD
7215 }
7216 {
7217 PyThreadState* __tstate = wxPyBeginAllowThreads();
7218 (arg1)->SetMimeType((wxString const &)*arg2);
7219
7220 wxPyEndAllowThreads(__tstate);
7221 if (PyErr_Occurred()) SWIG_fail;
7222 }
7223 Py_INCREF(Py_None); resultobj = Py_None;
7224 {
7225 if (temp2)
7226 delete arg2;
7227 }
7228 return resultobj;
7229 fail:
7230 {
7231 if (temp2)
7232 delete arg2;
7233 }
7234 return NULL;
7235}
7236
7237
7238static PyObject * ImageHandler_swigregister(PyObject *self, PyObject *args) {
7239 PyObject *obj;
7240 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7241 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler, obj);
7242 Py_INCREF(obj);
7243 return Py_BuildValue((char *)"");
7244}
7245static PyObject *_wrap_new_ImageHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
7246 PyObject *resultobj;
7247 wxImageHistogram *result;
7248 char *kwnames[] = {
7249 NULL
7250 };
7251
7252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ImageHistogram",kwnames)) goto fail;
7253 {
7254 PyThreadState* __tstate = wxPyBeginAllowThreads();
7255 result = (wxImageHistogram *)new wxImageHistogram();
7256
7257 wxPyEndAllowThreads(__tstate);
7258 if (PyErr_Occurred()) SWIG_fail;
7259 }
7260 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImageHistogram, 1);
7261 return resultobj;
7262 fail:
7263 return NULL;
7264}
7265
7266
7267static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *self, PyObject *args, PyObject *kwargs) {
7268 PyObject *resultobj;
7269 unsigned char arg1 ;
7270 unsigned char arg2 ;
7271 unsigned char arg3 ;
7272 unsigned long result;
7273 PyObject * obj0 = 0 ;
7274 PyObject * obj1 = 0 ;
7275 PyObject * obj2 = 0 ;
7276 char *kwnames[] = {
7277 (char *) "r",(char *) "g",(char *) "b", NULL
7278 };
7279
7280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail;
7281 arg1 = (unsigned char) PyInt_AsLong(obj0);
7282 if (PyErr_Occurred()) SWIG_fail;
7283 arg2 = (unsigned char) PyInt_AsLong(obj1);
7284 if (PyErr_Occurred()) SWIG_fail;
7285 arg3 = (unsigned char) PyInt_AsLong(obj2);
7286 if (PyErr_Occurred()) SWIG_fail;
7287 {
7288 PyThreadState* __tstate = wxPyBeginAllowThreads();
7289 result = (unsigned long)wxImageHistogram::MakeKey(arg1,arg2,arg3);
7290
7291 wxPyEndAllowThreads(__tstate);
7292 if (PyErr_Occurred()) SWIG_fail;
7293 }
7294 resultobj = PyInt_FromLong((long)result);
7295 return resultobj;
7296 fail:
7297 return NULL;
7298}
7299
7300
7301static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7302 PyObject *resultobj;
7303 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
7304 unsigned char *arg2 = (unsigned char *) 0 ;
7305 unsigned char *arg3 = (unsigned char *) 0 ;
7306 unsigned char *arg4 = (unsigned char *) 0 ;
7307 unsigned char arg5 = (unsigned char) 1 ;
7308 unsigned char arg6 = (unsigned char) 0 ;
7309 unsigned char arg7 = (unsigned char) 0 ;
7310 bool result;
7311 unsigned char temp2 ;
7312 unsigned char temp3 ;
7313 unsigned char temp4 ;
7314 PyObject * obj0 = 0 ;
7315 PyObject * obj1 = 0 ;
7316 PyObject * obj2 = 0 ;
7317 PyObject * obj3 = 0 ;
7318 char *kwnames[] = {
7319 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
7320 };
7321
7322 arg2 = &temp2;
7323 arg3 = &temp3;
7324 arg4 = &temp4;
7325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHistogram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7327 if (obj1) {
7328 arg5 = (unsigned char) PyInt_AsLong(obj1);
7329 if (PyErr_Occurred()) SWIG_fail;
7330 }
7331 if (obj2) {
7332 arg6 = (unsigned char) PyInt_AsLong(obj2);
7333 if (PyErr_Occurred()) SWIG_fail;
7334 }
7335 if (obj3) {
7336 arg7 = (unsigned char) PyInt_AsLong(obj3);
7337 if (PyErr_Occurred()) SWIG_fail;
7338 }
7339 {
7340 PyThreadState* __tstate = wxPyBeginAllowThreads();
7341 result = (bool)((wxImageHistogram const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
7342
7343 wxPyEndAllowThreads(__tstate);
7344 if (PyErr_Occurred()) SWIG_fail;
7345 }
7346 resultobj = PyInt_FromLong((long)result);
7347 {
7348 PyObject *o = PyInt_FromLong((long) (*arg2));
7349 resultobj = t_output_helper(resultobj,o);
7350 }
7351 {
7352 PyObject *o = PyInt_FromLong((long) (*arg3));
7353 resultobj = t_output_helper(resultobj,o);
7354 }
7355 {
7356 PyObject *o = PyInt_FromLong((long) (*arg4));
7357 resultobj = t_output_helper(resultobj,o);
7358 }
7359 return resultobj;
7360 fail:
7361 return NULL;
7362}
7363
7364
7365static PyObject * ImageHistogram_swigregister(PyObject *self, PyObject *args) {
7366 PyObject *obj;
7367 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7368 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram, obj);
7369 Py_INCREF(obj);
7370 return Py_BuildValue((char *)"");
7371}
7372static PyObject *_wrap_new_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
7373 PyObject *resultobj;
7374 wxString *arg1 = 0 ;
7375 long arg2 = (long) wxBITMAP_TYPE_ANY ;
7376 int arg3 = (int) -1 ;
7377 wxImage *result;
e811c8ce 7378 bool temp1 = False ;
d14a1e28
RD
7379 PyObject * obj0 = 0 ;
7380 char *kwnames[] = {
7381 (char *) "name",(char *) "type",(char *) "index", NULL
7382 };
7383
7384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|li:new_Image",kwnames,&obj0,&arg2,&arg3)) goto fail;
7385 {
7386 arg1 = wxString_in_helper(obj0);
7387 if (arg1 == NULL) SWIG_fail;
e811c8ce 7388 temp1 = True;
d14a1e28
RD
7389 }
7390 {
7391 PyThreadState* __tstate = wxPyBeginAllowThreads();
7392 result = (wxImage *)new wxImage((wxString const &)*arg1,arg2,arg3);
7393
7394 wxPyEndAllowThreads(__tstate);
7395 if (PyErr_Occurred()) SWIG_fail;
7396 }
7397 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7398 {
7399 if (temp1)
7400 delete arg1;
7401 }
7402 return resultobj;
7403 fail:
7404 {
7405 if (temp1)
7406 delete arg1;
7407 }
7408 return NULL;
7409}
7410
7411
7412static PyObject *_wrap_delete_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
7413 PyObject *resultobj;
7414 wxImage *arg1 = (wxImage *) 0 ;
7415 PyObject * obj0 = 0 ;
7416 char *kwnames[] = {
7417 (char *) "self", NULL
7418 };
7419
7420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Image",kwnames,&obj0)) goto fail;
7421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7422 {
7423 PyThreadState* __tstate = wxPyBeginAllowThreads();
7424 delete arg1;
7425
7426 wxPyEndAllowThreads(__tstate);
7427 if (PyErr_Occurred()) SWIG_fail;
7428 }
7429 Py_INCREF(Py_None); resultobj = Py_None;
7430 return resultobj;
7431 fail:
7432 return NULL;
7433}
7434
7435
7436static PyObject *_wrap_new_ImageFromMime(PyObject *self, PyObject *args, PyObject *kwargs) {
7437 PyObject *resultobj;
7438 wxString *arg1 = 0 ;
7439 wxString *arg2 = 0 ;
7440 int arg3 = (int) -1 ;
7441 wxImage *result;
e811c8ce
RD
7442 bool temp1 = False ;
7443 bool temp2 = False ;
d14a1e28
RD
7444 PyObject * obj0 = 0 ;
7445 PyObject * obj1 = 0 ;
7446 char *kwnames[] = {
7447 (char *) "name",(char *) "mimetype",(char *) "index", NULL
7448 };
7449
7450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:new_ImageFromMime",kwnames,&obj0,&obj1,&arg3)) goto fail;
7451 {
7452 arg1 = wxString_in_helper(obj0);
7453 if (arg1 == NULL) SWIG_fail;
e811c8ce 7454 temp1 = True;
d14a1e28
RD
7455 }
7456 {
7457 arg2 = wxString_in_helper(obj1);
7458 if (arg2 == NULL) SWIG_fail;
e811c8ce 7459 temp2 = True;
d14a1e28
RD
7460 }
7461 {
7462 PyThreadState* __tstate = wxPyBeginAllowThreads();
7463 result = (wxImage *)new wxImage((wxString const &)*arg1,(wxString const &)*arg2,arg3);
7464
7465 wxPyEndAllowThreads(__tstate);
7466 if (PyErr_Occurred()) SWIG_fail;
7467 }
7468 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7469 {
7470 if (temp1)
7471 delete arg1;
7472 }
7473 {
7474 if (temp2)
7475 delete arg2;
7476 }
7477 return resultobj;
7478 fail:
7479 {
7480 if (temp1)
7481 delete arg1;
7482 }
7483 {
7484 if (temp2)
7485 delete arg2;
7486 }
7487 return NULL;
7488}
7489
7490
7491static PyObject *_wrap_new_ImageFromStream(PyObject *self, PyObject *args, PyObject *kwargs) {
7492 PyObject *resultobj;
7493 wxInputStream *arg1 = 0 ;
7494 long arg2 = (long) wxBITMAP_TYPE_ANY ;
7495 int arg3 = (int) -1 ;
7496 wxImage *result;
7497 wxPyInputStream *temp1 ;
7498 bool created1 ;
7499 PyObject * obj0 = 0 ;
7500 char *kwnames[] = {
7501 (char *) "stream",(char *) "type",(char *) "index", NULL
7502 };
7503
7504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|li:new_ImageFromStream",kwnames,&obj0,&arg2,&arg3)) goto fail;
7505 {
7506 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
7507 arg1 = temp1->m_wxis;
e811c8ce 7508 created1 = False;
d14a1e28
RD
7509 } else {
7510 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 7511 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
7512 if (arg1 == NULL) {
7513 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
7514 SWIG_fail;
7515 }
e811c8ce 7516 created1 = True;
d14a1e28
RD
7517 }
7518 }
7519 {
7520 PyThreadState* __tstate = wxPyBeginAllowThreads();
7521 result = (wxImage *)new wxImage(*arg1,arg2,arg3);
7522
7523 wxPyEndAllowThreads(__tstate);
7524 if (PyErr_Occurred()) SWIG_fail;
7525 }
7526 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7527 {
7528 if (created1)
7529 delete arg1;
7530 }
7531 return resultobj;
7532 fail:
7533 {
7534 if (created1)
7535 delete arg1;
7536 }
7537 return NULL;
7538}
7539
7540
7541static PyObject *_wrap_new_ImageFromStreamMime(PyObject *self, PyObject *args, PyObject *kwargs) {
7542 PyObject *resultobj;
7543 wxInputStream *arg1 = 0 ;
7544 wxString *arg2 = 0 ;
7545 int arg3 = (int) -1 ;
7546 wxImage *result;
7547 wxPyInputStream *temp1 ;
7548 bool created1 ;
e811c8ce 7549 bool temp2 = False ;
d14a1e28
RD
7550 PyObject * obj0 = 0 ;
7551 PyObject * obj1 = 0 ;
7552 char *kwnames[] = {
7553 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
7554 };
7555
7556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:new_ImageFromStreamMime",kwnames,&obj0,&obj1,&arg3)) goto fail;
7557 {
7558 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
7559 arg1 = temp1->m_wxis;
e811c8ce 7560 created1 = False;
d14a1e28
RD
7561 } else {
7562 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 7563 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
7564 if (arg1 == NULL) {
7565 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
7566 SWIG_fail;
7567 }
e811c8ce 7568 created1 = True;
d14a1e28
RD
7569 }
7570 }
7571 {
7572 arg2 = wxString_in_helper(obj1);
7573 if (arg2 == NULL) SWIG_fail;
e811c8ce 7574 temp2 = True;
d14a1e28
RD
7575 }
7576 {
7577 PyThreadState* __tstate = wxPyBeginAllowThreads();
7578 result = (wxImage *)new wxImage(*arg1,(wxString const &)*arg2,arg3);
7579
7580 wxPyEndAllowThreads(__tstate);
7581 if (PyErr_Occurred()) SWIG_fail;
7582 }
7583 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7584 {
7585 if (created1)
7586 delete arg1;
7587 }
7588 {
7589 if (temp2)
7590 delete arg2;
7591 }
7592 return resultobj;
7593 fail:
7594 {
7595 if (created1)
7596 delete arg1;
7597 }
7598 {
7599 if (temp2)
7600 delete arg2;
7601 }
7602 return NULL;
7603}
7604
7605
7606static PyObject *_wrap_new_EmptyImage(PyObject *self, PyObject *args, PyObject *kwargs) {
7607 PyObject *resultobj;
7608 int arg1 = (int) 0 ;
7609 int arg2 = (int) 0 ;
e811c8ce 7610 bool arg3 = (bool) True ;
d14a1e28
RD
7611 wxImage *result;
7612 PyObject * obj2 = 0 ;
7613 char *kwnames[] = {
7614 (char *) "width",(char *) "height",(char *) "clear", NULL
7615 };
7616
7617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_EmptyImage",kwnames,&arg1,&arg2,&obj2)) goto fail;
7618 if (obj2) {
7619 arg3 = PyInt_AsLong(obj2) ? true : false;
7620 if (PyErr_Occurred()) SWIG_fail;
7621 }
7622 {
7623 PyThreadState* __tstate = wxPyBeginAllowThreads();
7624 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
7625
7626 wxPyEndAllowThreads(__tstate);
7627 if (PyErr_Occurred()) SWIG_fail;
7628 }
7629 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7630 return resultobj;
7631 fail:
7632 return NULL;
7633}
7634
7635
7636static PyObject *_wrap_new_ImageFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
7637 PyObject *resultobj;
7638 wxBitmap *arg1 = 0 ;
7639 wxImage *result;
7640 PyObject * obj0 = 0 ;
7641 char *kwnames[] = {
7642 (char *) "bitmap", NULL
7643 };
7644
7645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ImageFromBitmap",kwnames,&obj0)) goto fail;
7646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7647 if (arg1 == NULL) {
7648 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7649 }
7650 {
7651 PyThreadState* __tstate = wxPyBeginAllowThreads();
7652 result = (wxImage *)new_wxImage((wxBitmap const &)*arg1);
7653
7654 wxPyEndAllowThreads(__tstate);
7655 if (PyErr_Occurred()) SWIG_fail;
7656 }
7657 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7658 return resultobj;
7659 fail:
7660 return NULL;
7661}
7662
7663
7664static PyObject *_wrap_new_ImageFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
7665 PyObject *resultobj;
7666 int arg1 ;
7667 int arg2 ;
7668 unsigned char *arg3 = (unsigned char *) 0 ;
7669 wxImage *result;
7670 PyObject * obj2 = 0 ;
7671 char *kwnames[] = {
7672 (char *) "width",(char *) "height",(char *) "data", NULL
7673 };
7674
7675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiO:new_ImageFromData",kwnames,&arg1,&arg2,&obj2)) goto fail;
7676 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7677 {
7678 PyThreadState* __tstate = wxPyBeginAllowThreads();
7679 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
7680
7681 wxPyEndAllowThreads(__tstate);
7682 if (PyErr_Occurred()) SWIG_fail;
7683 }
7684 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7685 return resultobj;
7686 fail:
7687 return NULL;
7688}
7689
7690
7691static PyObject *_wrap_Image_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7692 PyObject *resultobj;
7693 wxImage *arg1 = (wxImage *) 0 ;
7694 int arg2 ;
7695 int arg3 ;
7696 PyObject * obj0 = 0 ;
7697 char *kwnames[] = {
7698 (char *) "self",(char *) "width",(char *) "height", NULL
7699 };
7700
7701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_Create",kwnames,&obj0,&arg2,&arg3)) goto fail;
7702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7703 {
7704 PyThreadState* __tstate = wxPyBeginAllowThreads();
7705 (arg1)->Create(arg2,arg3);
7706
7707 wxPyEndAllowThreads(__tstate);
7708 if (PyErr_Occurred()) SWIG_fail;
7709 }
7710 Py_INCREF(Py_None); resultobj = Py_None;
7711 return resultobj;
7712 fail:
7713 return NULL;
7714}
7715
7716
7717static PyObject *_wrap_Image_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
7718 PyObject *resultobj;
7719 wxImage *arg1 = (wxImage *) 0 ;
7720 PyObject * obj0 = 0 ;
7721 char *kwnames[] = {
7722 (char *) "self", NULL
7723 };
7724
7725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail;
7726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7727 {
7728 PyThreadState* __tstate = wxPyBeginAllowThreads();
7729 (arg1)->Destroy();
7730
7731 wxPyEndAllowThreads(__tstate);
7732 if (PyErr_Occurred()) SWIG_fail;
7733 }
7734 Py_INCREF(Py_None); resultobj = Py_None;
7735 return resultobj;
7736 fail:
7737 return NULL;
7738}
7739
7740
7741static PyObject *_wrap_Image_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
7742 PyObject *resultobj;
7743 wxImage *arg1 = (wxImage *) 0 ;
7744 int arg2 ;
7745 int arg3 ;
7746 SwigValueWrapper< wxImage > result;
7747 PyObject * obj0 = 0 ;
7748 char *kwnames[] = {
7749 (char *) "self",(char *) "width",(char *) "height", NULL
7750 };
7751
7752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_Scale",kwnames,&obj0,&arg2,&arg3)) goto fail;
7753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7754 {
7755 PyThreadState* __tstate = wxPyBeginAllowThreads();
7756 result = (arg1)->Scale(arg2,arg3);
7757
7758 wxPyEndAllowThreads(__tstate);
7759 if (PyErr_Occurred()) SWIG_fail;
7760 }
7761 {
7762 wxImage * resultptr;
7763 resultptr = new wxImage((wxImage &) result);
7764 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
7765 }
7766 return resultobj;
7767 fail:
7768 return NULL;
7769}
7770
7771
7772static PyObject *_wrap_Image_ShrinkBy(PyObject *self, PyObject *args, PyObject *kwargs) {
7773 PyObject *resultobj;
7774 wxImage *arg1 = (wxImage *) 0 ;
7775 int arg2 ;
7776 int arg3 ;
7777 SwigValueWrapper< wxImage > result;
7778 PyObject * obj0 = 0 ;
7779 char *kwnames[] = {
7780 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
7781 };
7782
7783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_ShrinkBy",kwnames,&obj0,&arg2,&arg3)) goto fail;
7784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7785 {
7786 PyThreadState* __tstate = wxPyBeginAllowThreads();
7787 result = ((wxImage const *)arg1)->ShrinkBy(arg2,arg3);
7788
7789 wxPyEndAllowThreads(__tstate);
7790 if (PyErr_Occurred()) SWIG_fail;
7791 }
7792 {
7793 wxImage * resultptr;
7794 resultptr = new wxImage((wxImage &) result);
7795 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
7796 }
7797 return resultobj;
7798 fail:
7799 return NULL;
7800}
7801
7802
7803static PyObject *_wrap_Image_Rescale(PyObject *self, PyObject *args, PyObject *kwargs) {
7804 PyObject *resultobj;
7805 wxImage *arg1 = (wxImage *) 0 ;
7806 int arg2 ;
7807 int arg3 ;
7808 wxImage *result;
7809 PyObject * obj0 = 0 ;
7810 char *kwnames[] = {
7811 (char *) "self",(char *) "width",(char *) "height", NULL
7812 };
7813
7814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_Rescale",kwnames,&obj0,&arg2,&arg3)) goto fail;
7815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7816 {
7817 PyThreadState* __tstate = wxPyBeginAllowThreads();
7818 {
7819 wxImage &_result_ref = (arg1)->Rescale(arg2,arg3);
7820 result = (wxImage *) &_result_ref;
7821 }
7822
7823 wxPyEndAllowThreads(__tstate);
7824 if (PyErr_Occurred()) SWIG_fail;
7825 }
7826 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 0);
7827 return resultobj;
7828 fail:
7829 return NULL;
7830}
7831
7832
7833static PyObject *_wrap_Image_SetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
7834 PyObject *resultobj;
7835 wxImage *arg1 = (wxImage *) 0 ;
7836 int arg2 ;
7837 int arg3 ;
7838 unsigned char arg4 ;
7839 unsigned char arg5 ;
7840 unsigned char arg6 ;
7841 PyObject * obj0 = 0 ;
7842 PyObject * obj3 = 0 ;
7843 PyObject * obj4 = 0 ;
7844 PyObject * obj5 = 0 ;
7845 char *kwnames[] = {
7846 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
7847 };
7848
7849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiOOO:Image_SetRGB",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&obj5)) goto fail;
7850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7851 arg4 = (unsigned char) PyInt_AsLong(obj3);
7852 if (PyErr_Occurred()) SWIG_fail;
7853 arg5 = (unsigned char) PyInt_AsLong(obj4);
7854 if (PyErr_Occurred()) SWIG_fail;
7855 arg6 = (unsigned char) PyInt_AsLong(obj5);
7856 if (PyErr_Occurred()) SWIG_fail;
7857 {
7858 PyThreadState* __tstate = wxPyBeginAllowThreads();
7859 (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
7860
7861 wxPyEndAllowThreads(__tstate);
7862 if (PyErr_Occurred()) SWIG_fail;
7863 }
7864 Py_INCREF(Py_None); resultobj = Py_None;
7865 return resultobj;
7866 fail:
7867 return NULL;
7868}
7869
7870
7871static PyObject *_wrap_Image_GetRed(PyObject *self, PyObject *args, PyObject *kwargs) {
7872 PyObject *resultobj;
7873 wxImage *arg1 = (wxImage *) 0 ;
7874 int arg2 ;
7875 int arg3 ;
7876 unsigned char result;
7877 PyObject * obj0 = 0 ;
7878 char *kwnames[] = {
7879 (char *) "self",(char *) "x",(char *) "y", NULL
7880 };
7881
7882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_GetRed",kwnames,&obj0,&arg2,&arg3)) goto fail;
7883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7884 {
7885 PyThreadState* __tstate = wxPyBeginAllowThreads();
7886 result = (unsigned char)(arg1)->GetRed(arg2,arg3);
7887
7888 wxPyEndAllowThreads(__tstate);
7889 if (PyErr_Occurred()) SWIG_fail;
7890 }
7891 resultobj = PyInt_FromLong((long)result);
7892 return resultobj;
7893 fail:
7894 return NULL;
7895}
7896
7897
7898static PyObject *_wrap_Image_GetGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
7899 PyObject *resultobj;
7900 wxImage *arg1 = (wxImage *) 0 ;
7901 int arg2 ;
7902 int arg3 ;
7903 unsigned char result;
7904 PyObject * obj0 = 0 ;
7905 char *kwnames[] = {
7906 (char *) "self",(char *) "x",(char *) "y", NULL
7907 };
7908
7909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_GetGreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
7910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7911 {
7912 PyThreadState* __tstate = wxPyBeginAllowThreads();
7913 result = (unsigned char)(arg1)->GetGreen(arg2,arg3);
7914
7915 wxPyEndAllowThreads(__tstate);
7916 if (PyErr_Occurred()) SWIG_fail;
7917 }
7918 resultobj = PyInt_FromLong((long)result);
7919 return resultobj;
7920 fail:
7921 return NULL;
7922}
7923
7924
7925static PyObject *_wrap_Image_GetBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
7926 PyObject *resultobj;
7927 wxImage *arg1 = (wxImage *) 0 ;
7928 int arg2 ;
7929 int arg3 ;
7930 unsigned char result;
7931 PyObject * obj0 = 0 ;
7932 char *kwnames[] = {
7933 (char *) "self",(char *) "x",(char *) "y", NULL
7934 };
7935
7936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_GetBlue",kwnames,&obj0,&arg2,&arg3)) goto fail;
7937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7938 {
7939 PyThreadState* __tstate = wxPyBeginAllowThreads();
7940 result = (unsigned char)(arg1)->GetBlue(arg2,arg3);
7941
7942 wxPyEndAllowThreads(__tstate);
7943 if (PyErr_Occurred()) SWIG_fail;
7944 }
7945 resultobj = PyInt_FromLong((long)result);
7946 return resultobj;
7947 fail:
7948 return NULL;
7949}
7950
7951
7952static PyObject *_wrap_Image_SetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
7953 PyObject *resultobj;
7954 wxImage *arg1 = (wxImage *) 0 ;
7955 int arg2 ;
7956 int arg3 ;
7957 unsigned char arg4 ;
7958 PyObject * obj0 = 0 ;
7959 PyObject * obj3 = 0 ;
7960 char *kwnames[] = {
7961 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
7962 };
7963
7964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Image_SetAlpha",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7966 arg4 = (unsigned char) PyInt_AsLong(obj3);
7967 if (PyErr_Occurred()) SWIG_fail;
7968 {
7969 PyThreadState* __tstate = wxPyBeginAllowThreads();
7970 (arg1)->SetAlpha(arg2,arg3,arg4);
7971
7972 wxPyEndAllowThreads(__tstate);
7973 if (PyErr_Occurred()) SWIG_fail;
7974 }
7975 Py_INCREF(Py_None); resultobj = Py_None;
7976 return resultobj;
7977 fail:
7978 return NULL;
7979}
7980
7981
7982static PyObject *_wrap_Image_GetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
7983 PyObject *resultobj;
7984 wxImage *arg1 = (wxImage *) 0 ;
7985 int arg2 ;
7986 int arg3 ;
7987 unsigned char result;
7988 PyObject * obj0 = 0 ;
7989 char *kwnames[] = {
7990 (char *) "self",(char *) "x",(char *) "y", NULL
7991 };
7992
7993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_GetAlpha",kwnames,&obj0,&arg2,&arg3)) goto fail;
7994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7995 {
7996 PyThreadState* __tstate = wxPyBeginAllowThreads();
7997 result = (unsigned char)(arg1)->GetAlpha(arg2,arg3);
7998
7999 wxPyEndAllowThreads(__tstate);
8000 if (PyErr_Occurred()) SWIG_fail;
8001 }
8002 resultobj = PyInt_FromLong((long)result);
8003 return resultobj;
8004 fail:
8005 return NULL;
8006}
8007
8008
8009static PyObject *_wrap_Image_HasAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
8010 PyObject *resultobj;
8011 wxImage *arg1 = (wxImage *) 0 ;
8012 bool result;
8013 PyObject * obj0 = 0 ;
8014 char *kwnames[] = {
8015 (char *) "self", NULL
8016 };
8017
8018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail;
8019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8020 {
8021 PyThreadState* __tstate = wxPyBeginAllowThreads();
8022 result = (bool)(arg1)->HasAlpha();
8023
8024 wxPyEndAllowThreads(__tstate);
8025 if (PyErr_Occurred()) SWIG_fail;
8026 }
8027 resultobj = PyInt_FromLong((long)result);
8028 return resultobj;
8029 fail:
8030 return NULL;
8031}
8032
8033
8034static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8035 PyObject *resultobj;
8036 wxImage *arg1 = (wxImage *) 0 ;
8037 byte *arg2 = (byte *) 0 ;
8038 byte *arg3 = (byte *) 0 ;
8039 byte *arg4 = (byte *) 0 ;
8040 byte arg5 = (byte) 0 ;
8041 byte arg6 = (byte) 0 ;
8042 byte arg7 = (byte) 0 ;
8043 bool result;
8044 byte temp2 ;
8045 byte temp3 ;
8046 byte temp4 ;
8047 PyObject * obj0 = 0 ;
8048 PyObject * obj1 = 0 ;
8049 PyObject * obj2 = 0 ;
8050 PyObject * obj3 = 0 ;
8051 char *kwnames[] = {
8052 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8053 };
8054
8055 arg2 = &temp2;
8056 arg3 = &temp3;
8057 arg4 = &temp4;
8058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8060 if (obj1) {
8061 arg5 = (byte) PyInt_AsLong(obj1);
8062 if (PyErr_Occurred()) SWIG_fail;
8063 }
8064 if (obj2) {
8065 arg6 = (byte) PyInt_AsLong(obj2);
8066 if (PyErr_Occurred()) SWIG_fail;
8067 }
8068 if (obj3) {
8069 arg7 = (byte) PyInt_AsLong(obj3);
8070 if (PyErr_Occurred()) SWIG_fail;
8071 }
8072 {
8073 PyThreadState* __tstate = wxPyBeginAllowThreads();
8074 result = (bool)((wxImage const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
8075
8076 wxPyEndAllowThreads(__tstate);
8077 if (PyErr_Occurred()) SWIG_fail;
8078 }
8079 resultobj = PyInt_FromLong((long)result);
8080 {
8081 PyObject *o = PyInt_FromLong((long) (*arg2));
8082 resultobj = t_output_helper(resultobj,o);
8083 }
8084 {
8085 PyObject *o = PyInt_FromLong((long) (*arg3));
8086 resultobj = t_output_helper(resultobj,o);
8087 }
8088 {
8089 PyObject *o = PyInt_FromLong((long) (*arg4));
8090 resultobj = t_output_helper(resultobj,o);
8091 }
8092 return resultobj;
8093 fail:
8094 return NULL;
8095}
8096
8097
8098static PyObject *_wrap_Image_SetMaskFromImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8099 PyObject *resultobj;
8100 wxImage *arg1 = (wxImage *) 0 ;
8101 wxImage *arg2 = 0 ;
8102 byte arg3 ;
8103 byte arg4 ;
8104 byte arg5 ;
8105 bool result;
8106 PyObject * obj0 = 0 ;
8107 PyObject * obj1 = 0 ;
8108 PyObject * obj2 = 0 ;
8109 PyObject * obj3 = 0 ;
8110 PyObject * obj4 = 0 ;
8111 char *kwnames[] = {
8112 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
8113 };
8114
8115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8117 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8118 if (arg2 == NULL) {
8119 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8120 }
8121 arg3 = (byte) PyInt_AsLong(obj2);
8122 if (PyErr_Occurred()) SWIG_fail;
8123 arg4 = (byte) PyInt_AsLong(obj3);
8124 if (PyErr_Occurred()) SWIG_fail;
8125 arg5 = (byte) PyInt_AsLong(obj4);
8126 if (PyErr_Occurred()) SWIG_fail;
8127 {
8128 PyThreadState* __tstate = wxPyBeginAllowThreads();
8129 result = (bool)(arg1)->SetMaskFromImage((wxImage const &)*arg2,arg3,arg4,arg5);
8130
8131 wxPyEndAllowThreads(__tstate);
8132 if (PyErr_Occurred()) SWIG_fail;
8133 }
8134 resultobj = PyInt_FromLong((long)result);
8135 return resultobj;
8136 fail:
8137 return NULL;
8138}
8139
8140
8141static PyObject *_wrap_Image_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
8142 PyObject *resultobj;
8143 wxString *arg1 = 0 ;
8144 bool result;
e811c8ce 8145 bool temp1 = False ;
d14a1e28
RD
8146 PyObject * obj0 = 0 ;
8147 char *kwnames[] = {
8148 (char *) "name", NULL
8149 };
8150
8151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
8152 {
8153 arg1 = wxString_in_helper(obj0);
8154 if (arg1 == NULL) SWIG_fail;
e811c8ce 8155 temp1 = True;
d14a1e28
RD
8156 }
8157 {
8158 PyThreadState* __tstate = wxPyBeginAllowThreads();
8159 result = (bool)wxImage::CanRead((wxString const &)*arg1);
8160
8161 wxPyEndAllowThreads(__tstate);
8162 if (PyErr_Occurred()) SWIG_fail;
8163 }
8164 resultobj = PyInt_FromLong((long)result);
8165 {
8166 if (temp1)
8167 delete arg1;
8168 }
8169 return resultobj;
8170 fail:
8171 {
8172 if (temp1)
8173 delete arg1;
8174 }
8175 return NULL;
8176}
8177
8178
8179static PyObject *_wrap_Image_GetImageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8180 PyObject *resultobj;
8181 wxString *arg1 = 0 ;
8182 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8183 int result;
e811c8ce 8184 bool temp1 = False ;
d14a1e28
RD
8185 PyObject * obj0 = 0 ;
8186 char *kwnames[] = {
8187 (char *) "name",(char *) "type", NULL
8188 };
8189
8190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:Image_GetImageCount",kwnames,&obj0,&arg2)) goto fail;
8191 {
8192 arg1 = wxString_in_helper(obj0);
8193 if (arg1 == NULL) SWIG_fail;
e811c8ce 8194 temp1 = True;
d14a1e28
RD
8195 }
8196 {
8197 PyThreadState* __tstate = wxPyBeginAllowThreads();
8198 result = (int)wxImage::GetImageCount((wxString const &)*arg1,arg2);
8199
8200 wxPyEndAllowThreads(__tstate);
8201 if (PyErr_Occurred()) SWIG_fail;
8202 }
8203 resultobj = PyInt_FromLong((long)result);
8204 {
8205 if (temp1)
8206 delete arg1;
8207 }
8208 return resultobj;
8209 fail:
8210 {
8211 if (temp1)
8212 delete arg1;
8213 }
8214 return NULL;
8215}
8216
8217
8218static PyObject *_wrap_Image_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8219 PyObject *resultobj;
8220 wxImage *arg1 = (wxImage *) 0 ;
8221 wxString *arg2 = 0 ;
8222 long arg3 = (long) wxBITMAP_TYPE_ANY ;
8223 int arg4 = (int) -1 ;
8224 bool result;
e811c8ce 8225 bool temp2 = False ;
d14a1e28
RD
8226 PyObject * obj0 = 0 ;
8227 PyObject * obj1 = 0 ;
8228 char *kwnames[] = {
8229 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
8230 };
8231
8232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|li:Image_LoadFile",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
8233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8234 {
8235 arg2 = wxString_in_helper(obj1);
8236 if (arg2 == NULL) SWIG_fail;
e811c8ce 8237 temp2 = True;
d14a1e28
RD
8238 }
8239 {
8240 PyThreadState* __tstate = wxPyBeginAllowThreads();
8241 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3,arg4);
8242
8243 wxPyEndAllowThreads(__tstate);
8244 if (PyErr_Occurred()) SWIG_fail;
8245 }
8246 resultobj = PyInt_FromLong((long)result);
8247 {
8248 if (temp2)
8249 delete arg2;
8250 }
8251 return resultobj;
8252 fail:
8253 {
8254 if (temp2)
8255 delete arg2;
8256 }
8257 return NULL;
8258}
8259
8260
8261static PyObject *_wrap_Image_LoadMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8262 PyObject *resultobj;
8263 wxImage *arg1 = (wxImage *) 0 ;
8264 wxString *arg2 = 0 ;
8265 wxString *arg3 = 0 ;
8266 int arg4 = (int) -1 ;
8267 bool result;
e811c8ce
RD
8268 bool temp2 = False ;
8269 bool temp3 = False ;
d14a1e28
RD
8270 PyObject * obj0 = 0 ;
8271 PyObject * obj1 = 0 ;
8272 PyObject * obj2 = 0 ;
8273 char *kwnames[] = {
8274 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
8275 };
8276
8277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
8278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8279 {
8280 arg2 = wxString_in_helper(obj1);
8281 if (arg2 == NULL) SWIG_fail;
e811c8ce 8282 temp2 = True;
d14a1e28
RD
8283 }
8284 {
8285 arg3 = wxString_in_helper(obj2);
8286 if (arg3 == NULL) SWIG_fail;
e811c8ce 8287 temp3 = True;
d14a1e28
RD
8288 }
8289 {
8290 PyThreadState* __tstate = wxPyBeginAllowThreads();
8291 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxString const &)*arg3,arg4);
8292
8293 wxPyEndAllowThreads(__tstate);
8294 if (PyErr_Occurred()) SWIG_fail;
8295 }
8296 resultobj = PyInt_FromLong((long)result);
8297 {
8298 if (temp2)
8299 delete arg2;
8300 }
8301 {
8302 if (temp3)
8303 delete arg3;
8304 }
8305 return resultobj;
8306 fail:
8307 {
8308 if (temp2)
8309 delete arg2;
8310 }
8311 {
8312 if (temp3)
8313 delete arg3;
8314 }
8315 return NULL;
8316}
8317
8318
8319static PyObject *_wrap_Image_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8320 PyObject *resultobj;
8321 wxImage *arg1 = (wxImage *) 0 ;
8322 wxString *arg2 = 0 ;
8323 int arg3 ;
8324 bool result;
e811c8ce 8325 bool temp2 = False ;
d14a1e28
RD
8326 PyObject * obj0 = 0 ;
8327 PyObject * obj1 = 0 ;
8328 char *kwnames[] = {
8329 (char *) "self",(char *) "name",(char *) "type", NULL
8330 };
8331
8332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:Image_SaveFile",kwnames,&obj0,&obj1,&arg3)) goto fail;
8333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8334 {
8335 arg2 = wxString_in_helper(obj1);
8336 if (arg2 == NULL) SWIG_fail;
e811c8ce 8337 temp2 = True;
d14a1e28
RD
8338 }
8339 {
8340 PyThreadState* __tstate = wxPyBeginAllowThreads();
8341 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
8342
8343 wxPyEndAllowThreads(__tstate);
8344 if (PyErr_Occurred()) SWIG_fail;
8345 }
8346 resultobj = PyInt_FromLong((long)result);
8347 {
8348 if (temp2)
8349 delete arg2;
8350 }
8351 return resultobj;
8352 fail:
8353 {
8354 if (temp2)
8355 delete arg2;
8356 }
8357 return NULL;
8358}
8359
8360
8361static PyObject *_wrap_Image_SaveMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8362 PyObject *resultobj;
8363 wxImage *arg1 = (wxImage *) 0 ;
8364 wxString *arg2 = 0 ;
8365 wxString *arg3 = 0 ;
8366 bool result;
e811c8ce
RD
8367 bool temp2 = False ;
8368 bool temp3 = False ;
d14a1e28
RD
8369 PyObject * obj0 = 0 ;
8370 PyObject * obj1 = 0 ;
8371 PyObject * obj2 = 0 ;
8372 char *kwnames[] = {
8373 (char *) "self",(char *) "name",(char *) "mimetype", NULL
8374 };
8375
8376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
8377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8378 {
8379 arg2 = wxString_in_helper(obj1);
8380 if (arg2 == NULL) SWIG_fail;
e811c8ce 8381 temp2 = True;
d14a1e28
RD
8382 }
8383 {
8384 arg3 = wxString_in_helper(obj2);
8385 if (arg3 == NULL) SWIG_fail;
e811c8ce 8386 temp3 = True;
d14a1e28
RD
8387 }
8388 {
8389 PyThreadState* __tstate = wxPyBeginAllowThreads();
8390 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxString const &)*arg3);
8391
8392 wxPyEndAllowThreads(__tstate);
8393 if (PyErr_Occurred()) SWIG_fail;
8394 }
8395 resultobj = PyInt_FromLong((long)result);
8396 {
8397 if (temp2)
8398 delete arg2;
8399 }
8400 {
8401 if (temp3)
8402 delete arg3;
8403 }
8404 return resultobj;
8405 fail:
8406 {
8407 if (temp2)
8408 delete arg2;
8409 }
8410 {
8411 if (temp3)
8412 delete arg3;
8413 }
8414 return NULL;
8415}
8416
8417
8418static PyObject *_wrap_Image_CanReadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8419 PyObject *resultobj;
8420 wxInputStream *arg1 = 0 ;
8421 bool result;
8422 wxPyInputStream *temp1 ;
8423 bool created1 ;
8424 PyObject * obj0 = 0 ;
8425 char *kwnames[] = {
8426 (char *) "stream", NULL
8427 };
8428
8429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail;
8430 {
8431 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8432 arg1 = temp1->m_wxis;
e811c8ce 8433 created1 = False;
d14a1e28
RD
8434 } else {
8435 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 8436 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
8437 if (arg1 == NULL) {
8438 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8439 SWIG_fail;
8440 }
e811c8ce 8441 created1 = True;
d14a1e28
RD
8442 }
8443 }
8444 {
8445 PyThreadState* __tstate = wxPyBeginAllowThreads();
8446 result = (bool)wxImage::CanRead(*arg1);
8447
8448 wxPyEndAllowThreads(__tstate);
8449 if (PyErr_Occurred()) SWIG_fail;
8450 }
8451 resultobj = PyInt_FromLong((long)result);
8452 {
8453 if (created1)
8454 delete arg1;
8455 }
8456 return resultobj;
8457 fail:
8458 {
8459 if (created1)
8460 delete arg1;
8461 }
8462 return NULL;
8463}
8464
8465
8466static PyObject *_wrap_Image_LoadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8467 PyObject *resultobj;
8468 wxImage *arg1 = (wxImage *) 0 ;
8469 wxInputStream *arg2 = 0 ;
8470 long arg3 = (long) wxBITMAP_TYPE_ANY ;
8471 int arg4 = (int) -1 ;
8472 bool result;
8473 wxPyInputStream *temp2 ;
8474 bool created2 ;
8475 PyObject * obj0 = 0 ;
8476 PyObject * obj1 = 0 ;
8477 char *kwnames[] = {
8478 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
8479 };
8480
8481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|li:Image_LoadStream",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
8482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8483 {
8484 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
8485 arg2 = temp2->m_wxis;
e811c8ce 8486 created2 = False;
d14a1e28
RD
8487 } else {
8488 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 8489 arg2 = wxPyCBInputStream_create(obj1, False);
d14a1e28
RD
8490 if (arg2 == NULL) {
8491 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8492 SWIG_fail;
8493 }
e811c8ce 8494 created2 = True;
d14a1e28
RD
8495 }
8496 }
8497 {
8498 PyThreadState* __tstate = wxPyBeginAllowThreads();
8499 result = (bool)(arg1)->LoadFile(*arg2,arg3,arg4);
8500
8501 wxPyEndAllowThreads(__tstate);
8502 if (PyErr_Occurred()) SWIG_fail;
8503 }
8504 resultobj = PyInt_FromLong((long)result);
8505 {
8506 if (created2)
8507 delete arg2;
8508 }
8509 return resultobj;
8510 fail:
8511 {
8512 if (created2)
8513 delete arg2;
8514 }
8515 return NULL;
8516}
8517
8518
8519static PyObject *_wrap_Image_LoadMimeStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8520 PyObject *resultobj;
8521 wxImage *arg1 = (wxImage *) 0 ;
8522 wxInputStream *arg2 = 0 ;
8523 wxString *arg3 = 0 ;
8524 int arg4 = (int) -1 ;
8525 bool result;
8526 wxPyInputStream *temp2 ;
8527 bool created2 ;
e811c8ce 8528 bool temp3 = False ;
d14a1e28
RD
8529 PyObject * obj0 = 0 ;
8530 PyObject * obj1 = 0 ;
8531 PyObject * obj2 = 0 ;
8532 char *kwnames[] = {
8533 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
8534 };
8535
8536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
8537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8538 {
8539 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
8540 arg2 = temp2->m_wxis;
e811c8ce 8541 created2 = False;
d14a1e28
RD
8542 } else {
8543 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 8544 arg2 = wxPyCBInputStream_create(obj1, False);
d14a1e28
RD
8545 if (arg2 == NULL) {
8546 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8547 SWIG_fail;
8548 }
e811c8ce 8549 created2 = True;
d14a1e28
RD
8550 }
8551 }
8552 {
8553 arg3 = wxString_in_helper(obj2);
8554 if (arg3 == NULL) SWIG_fail;
e811c8ce 8555 temp3 = True;
d14a1e28
RD
8556 }
8557 {
8558 PyThreadState* __tstate = wxPyBeginAllowThreads();
8559 result = (bool)(arg1)->LoadFile(*arg2,(wxString const &)*arg3,arg4);
8560
8561 wxPyEndAllowThreads(__tstate);
8562 if (PyErr_Occurred()) SWIG_fail;
8563 }
8564 resultobj = PyInt_FromLong((long)result);
8565 {
8566 if (created2)
8567 delete arg2;
8568 }
8569 {
8570 if (temp3)
8571 delete arg3;
8572 }
8573 return resultobj;
8574 fail:
8575 {
8576 if (created2)
8577 delete arg2;
8578 }
8579 {
8580 if (temp3)
8581 delete arg3;
8582 }
8583 return NULL;
8584}
8585
8586
8587static PyObject *_wrap_Image_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8588 PyObject *resultobj;
8589 wxImage *arg1 = (wxImage *) 0 ;
8590 bool result;
8591 PyObject * obj0 = 0 ;
8592 char *kwnames[] = {
8593 (char *) "self", NULL
8594 };
8595
8596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail;
8597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8598 {
8599 PyThreadState* __tstate = wxPyBeginAllowThreads();
8600 result = (bool)(arg1)->Ok();
8601
8602 wxPyEndAllowThreads(__tstate);
8603 if (PyErr_Occurred()) SWIG_fail;
8604 }
8605 resultobj = PyInt_FromLong((long)result);
8606 return resultobj;
8607 fail:
8608 return NULL;
8609}
8610
8611
8612static PyObject *_wrap_Image_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8613 PyObject *resultobj;
8614 wxImage *arg1 = (wxImage *) 0 ;
8615 int result;
8616 PyObject * obj0 = 0 ;
8617 char *kwnames[] = {
8618 (char *) "self", NULL
8619 };
8620
8621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail;
8622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8623 {
8624 PyThreadState* __tstate = wxPyBeginAllowThreads();
8625 result = (int)(arg1)->GetWidth();
8626
8627 wxPyEndAllowThreads(__tstate);
8628 if (PyErr_Occurred()) SWIG_fail;
8629 }
8630 resultobj = PyInt_FromLong((long)result);
8631 return resultobj;
8632 fail:
8633 return NULL;
8634}
8635
8636
8637static PyObject *_wrap_Image_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8638 PyObject *resultobj;
8639 wxImage *arg1 = (wxImage *) 0 ;
8640 int result;
8641 PyObject * obj0 = 0 ;
8642 char *kwnames[] = {
8643 (char *) "self", NULL
8644 };
8645
8646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) goto fail;
8647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8648 {
8649 PyThreadState* __tstate = wxPyBeginAllowThreads();
8650 result = (int)(arg1)->GetHeight();
8651
8652 wxPyEndAllowThreads(__tstate);
8653 if (PyErr_Occurred()) SWIG_fail;
8654 }
8655 resultobj = PyInt_FromLong((long)result);
8656 return resultobj;
8657 fail:
8658 return NULL;
8659}
8660
8661
8662static PyObject *_wrap_Image_GetSubImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8663 PyObject *resultobj;
8664 wxImage *arg1 = (wxImage *) 0 ;
8665 wxRect *arg2 = 0 ;
8666 SwigValueWrapper< wxImage > result;
8667 wxRect temp2 ;
8668 PyObject * obj0 = 0 ;
8669 PyObject * obj1 = 0 ;
8670 char *kwnames[] = {
8671 (char *) "self",(char *) "rect", NULL
8672 };
8673
8674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail;
8675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8676 {
8677 arg2 = &temp2;
8678 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8679 }
8680 {
8681 PyThreadState* __tstate = wxPyBeginAllowThreads();
8682 result = (arg1)->GetSubImage((wxRect const &)*arg2);
8683
8684 wxPyEndAllowThreads(__tstate);
8685 if (PyErr_Occurred()) SWIG_fail;
8686 }
8687 {
8688 wxImage * resultptr;
8689 resultptr = new wxImage((wxImage &) result);
8690 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
8691 }
8692 return resultobj;
8693 fail:
8694 return NULL;
8695}
8696
8697
8698static PyObject *_wrap_Image_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8699 PyObject *resultobj;
8700 wxImage *arg1 = (wxImage *) 0 ;
8701 SwigValueWrapper< wxImage > result;
8702 PyObject * obj0 = 0 ;
8703 char *kwnames[] = {
8704 (char *) "self", NULL
8705 };
8706
8707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail;
8708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8709 {
8710 PyThreadState* __tstate = wxPyBeginAllowThreads();
8711 result = (arg1)->Copy();
8712
8713 wxPyEndAllowThreads(__tstate);
8714 if (PyErr_Occurred()) SWIG_fail;
8715 }
8716 {
8717 wxImage * resultptr;
8718 resultptr = new wxImage((wxImage &) result);
8719 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
8720 }
8721 return resultobj;
8722 fail:
8723 return NULL;
8724}
8725
8726
8727static PyObject *_wrap_Image_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8728 PyObject *resultobj;
8729 wxImage *arg1 = (wxImage *) 0 ;
8730 wxImage *arg2 = 0 ;
8731 int arg3 ;
8732 int arg4 ;
8733 PyObject * obj0 = 0 ;
8734 PyObject * obj1 = 0 ;
8735 char *kwnames[] = {
8736 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
8737 };
8738
8739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:Image_Paste",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
8740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8741 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8742 if (arg2 == NULL) {
8743 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8744 }
8745 {
8746 PyThreadState* __tstate = wxPyBeginAllowThreads();
8747 (arg1)->Paste((wxImage const &)*arg2,arg3,arg4);
8748
8749 wxPyEndAllowThreads(__tstate);
8750 if (PyErr_Occurred()) SWIG_fail;
8751 }
8752 Py_INCREF(Py_None); resultobj = Py_None;
8753 return resultobj;
8754 fail:
8755 return NULL;
8756}
8757
8758
8759static PyObject *_wrap_Image_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8760 PyObject *resultobj;
8761 wxImage *arg1 = (wxImage *) 0 ;
8762 PyObject *result;
8763 PyObject * obj0 = 0 ;
8764 char *kwnames[] = {
8765 (char *) "self", NULL
8766 };
8767
8768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) goto fail;
8769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8770 {
8771 PyThreadState* __tstate = wxPyBeginAllowThreads();
8772 result = (PyObject *)wxImage_GetData(arg1);
8773
8774 wxPyEndAllowThreads(__tstate);
8775 if (PyErr_Occurred()) SWIG_fail;
8776 }
8777 resultobj = result;
8778 return resultobj;
8779 fail:
8780 return NULL;
8781}
8782
8783
8784static PyObject *_wrap_Image_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8785 PyObject *resultobj;
8786 wxImage *arg1 = (wxImage *) 0 ;
8787 PyObject *arg2 = (PyObject *) 0 ;
8788 PyObject * obj0 = 0 ;
8789 PyObject * obj1 = 0 ;
8790 char *kwnames[] = {
8791 (char *) "self",(char *) "data", NULL
8792 };
8793
8794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail;
8795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8796 arg2 = obj1;
8797 {
8798 PyThreadState* __tstate = wxPyBeginAllowThreads();
8799 wxImage_SetData(arg1,arg2);
8800
8801 wxPyEndAllowThreads(__tstate);
8802 if (PyErr_Occurred()) SWIG_fail;
8803 }
8804 Py_INCREF(Py_None); resultobj = Py_None;
8805 return resultobj;
8806 fail:
8807 return NULL;
8808}
8809
8810
8811static PyObject *_wrap_Image_GetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
8812 PyObject *resultobj;
8813 wxImage *arg1 = (wxImage *) 0 ;
8814 PyObject *result;
8815 PyObject * obj0 = 0 ;
8816 char *kwnames[] = {
8817 (char *) "self", NULL
8818 };
8819
8820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail;
8821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8822 {
8823 PyThreadState* __tstate = wxPyBeginAllowThreads();
8824 result = (PyObject *)wxImage_GetDataBuffer(arg1);
8825
8826 wxPyEndAllowThreads(__tstate);
8827 if (PyErr_Occurred()) SWIG_fail;
8828 }
8829 resultobj = result;
8830 return resultobj;
8831 fail:
8832 return NULL;
8833}
8834
8835
8836static PyObject *_wrap_Image_SetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
8837 PyObject *resultobj;
8838 wxImage *arg1 = (wxImage *) 0 ;
8839 PyObject *arg2 = (PyObject *) 0 ;
8840 PyObject * obj0 = 0 ;
8841 PyObject * obj1 = 0 ;
8842 char *kwnames[] = {
8843 (char *) "self",(char *) "data", NULL
8844 };
8845
8846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail;
8847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8848 arg2 = obj1;
8849 {
8850 PyThreadState* __tstate = wxPyBeginAllowThreads();
8851 wxImage_SetDataBuffer(arg1,arg2);
8852
8853 wxPyEndAllowThreads(__tstate);
8854 if (PyErr_Occurred()) SWIG_fail;
8855 }
8856 Py_INCREF(Py_None); resultobj = Py_None;
8857 return resultobj;
8858 fail:
8859 return NULL;
8860}
8861
8862
8863static PyObject *_wrap_Image_GetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
8864 PyObject *resultobj;
8865 wxImage *arg1 = (wxImage *) 0 ;
8866 PyObject *result;
8867 PyObject * obj0 = 0 ;
8868 char *kwnames[] = {
8869 (char *) "self", NULL
8870 };
8871
8872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail;
8873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8874 {
8875 PyThreadState* __tstate = wxPyBeginAllowThreads();
8876 result = (PyObject *)wxImage_GetAlphaData(arg1);
8877
8878 wxPyEndAllowThreads(__tstate);
8879 if (PyErr_Occurred()) SWIG_fail;
8880 }
8881 resultobj = result;
8882 return resultobj;
8883 fail:
8884 return NULL;
8885}
8886
8887
8888static PyObject *_wrap_Image_SetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
8889 PyObject *resultobj;
8890 wxImage *arg1 = (wxImage *) 0 ;
8891 PyObject *arg2 = (PyObject *) 0 ;
8892 PyObject * obj0 = 0 ;
8893 PyObject * obj1 = 0 ;
8894 char *kwnames[] = {
8895 (char *) "self",(char *) "data", NULL
8896 };
8897
8898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail;
8899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8900 arg2 = obj1;
8901 {
8902 PyThreadState* __tstate = wxPyBeginAllowThreads();
8903 wxImage_SetAlphaData(arg1,arg2);
8904
8905 wxPyEndAllowThreads(__tstate);
8906 if (PyErr_Occurred()) SWIG_fail;
8907 }
8908 Py_INCREF(Py_None); resultobj = Py_None;
8909 return resultobj;
8910 fail:
8911 return NULL;
8912}
8913
8914
8915static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
8916 PyObject *resultobj;
8917 wxImage *arg1 = (wxImage *) 0 ;
8918 PyObject *result;
8919 PyObject * obj0 = 0 ;
8920 char *kwnames[] = {
8921 (char *) "self", NULL
8922 };
8923
8924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail;
8925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8926 {
8927 PyThreadState* __tstate = wxPyBeginAllowThreads();
8928 result = (PyObject *)wxImage_GetAlphaBuffer(arg1);
8929
8930 wxPyEndAllowThreads(__tstate);
8931 if (PyErr_Occurred()) SWIG_fail;
8932 }
8933 resultobj = result;
8934 return resultobj;
8935 fail:
8936 return NULL;
8937}
8938
8939
8940static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
8941 PyObject *resultobj;
8942 wxImage *arg1 = (wxImage *) 0 ;
8943 PyObject *arg2 = (PyObject *) 0 ;
8944 PyObject * obj0 = 0 ;
8945 PyObject * obj1 = 0 ;
8946 char *kwnames[] = {
8947 (char *) "self",(char *) "data", NULL
8948 };
8949
8950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail;
8951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8952 arg2 = obj1;
8953 {
8954 PyThreadState* __tstate = wxPyBeginAllowThreads();
8955 wxImage_SetAlphaBuffer(arg1,arg2);
8956
8957 wxPyEndAllowThreads(__tstate);
8958 if (PyErr_Occurred()) SWIG_fail;
8959 }
8960 Py_INCREF(Py_None); resultobj = Py_None;
8961 return resultobj;
8962 fail:
8963 return NULL;
8964}
8965
8966
8967static PyObject *_wrap_Image_SetMaskColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8968 PyObject *resultobj;
8969 wxImage *arg1 = (wxImage *) 0 ;
8970 unsigned char arg2 ;
8971 unsigned char arg3 ;
8972 unsigned char arg4 ;
8973 PyObject * obj0 = 0 ;
8974 PyObject * obj1 = 0 ;
8975 PyObject * obj2 = 0 ;
8976 PyObject * obj3 = 0 ;
8977 char *kwnames[] = {
8978 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
8979 };
8980
8981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8983 arg2 = (unsigned char) PyInt_AsLong(obj1);
8984 if (PyErr_Occurred()) SWIG_fail;
8985 arg3 = (unsigned char) PyInt_AsLong(obj2);
8986 if (PyErr_Occurred()) SWIG_fail;
8987 arg4 = (unsigned char) PyInt_AsLong(obj3);
8988 if (PyErr_Occurred()) SWIG_fail;
8989 {
8990 PyThreadState* __tstate = wxPyBeginAllowThreads();
8991 (arg1)->SetMaskColour(arg2,arg3,arg4);
8992
8993 wxPyEndAllowThreads(__tstate);
8994 if (PyErr_Occurred()) SWIG_fail;
8995 }
8996 Py_INCREF(Py_None); resultobj = Py_None;
8997 return resultobj;
8998 fail:
8999 return NULL;
9000}
9001
9002
9003static PyObject *_wrap_Image_GetMaskRed(PyObject *self, PyObject *args, PyObject *kwargs) {
9004 PyObject *resultobj;
9005 wxImage *arg1 = (wxImage *) 0 ;
9006 unsigned char result;
9007 PyObject * obj0 = 0 ;
9008 char *kwnames[] = {
9009 (char *) "self", NULL
9010 };
9011
9012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail;
9013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9014 {
9015 PyThreadState* __tstate = wxPyBeginAllowThreads();
9016 result = (unsigned char)(arg1)->GetMaskRed();
9017
9018 wxPyEndAllowThreads(__tstate);
9019 if (PyErr_Occurred()) SWIG_fail;
9020 }
9021 resultobj = PyInt_FromLong((long)result);
9022 return resultobj;
9023 fail:
9024 return NULL;
9025}
9026
9027
9028static PyObject *_wrap_Image_GetMaskGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
9029 PyObject *resultobj;
9030 wxImage *arg1 = (wxImage *) 0 ;
9031 unsigned char result;
9032 PyObject * obj0 = 0 ;
9033 char *kwnames[] = {
9034 (char *) "self", NULL
9035 };
9036
9037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail;
9038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9039 {
9040 PyThreadState* __tstate = wxPyBeginAllowThreads();
9041 result = (unsigned char)(arg1)->GetMaskGreen();
9042
9043 wxPyEndAllowThreads(__tstate);
9044 if (PyErr_Occurred()) SWIG_fail;
9045 }
9046 resultobj = PyInt_FromLong((long)result);
9047 return resultobj;
9048 fail:
9049 return NULL;
9050}
9051
9052
9053static PyObject *_wrap_Image_GetMaskBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
9054 PyObject *resultobj;
9055 wxImage *arg1 = (wxImage *) 0 ;
9056 unsigned char result;
9057 PyObject * obj0 = 0 ;
9058 char *kwnames[] = {
9059 (char *) "self", NULL
9060 };
9061
9062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail;
9063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9064 {
9065 PyThreadState* __tstate = wxPyBeginAllowThreads();
9066 result = (unsigned char)(arg1)->GetMaskBlue();
9067
9068 wxPyEndAllowThreads(__tstate);
9069 if (PyErr_Occurred()) SWIG_fail;
9070 }
9071 resultobj = PyInt_FromLong((long)result);
9072 return resultobj;
9073 fail:
9074 return NULL;
9075}
9076
9077
9078static PyObject *_wrap_Image_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
9079 PyObject *resultobj;
9080 wxImage *arg1 = (wxImage *) 0 ;
e811c8ce 9081 bool arg2 = (bool) True ;
d14a1e28
RD
9082 PyObject * obj0 = 0 ;
9083 PyObject * obj1 = 0 ;
9084 char *kwnames[] = {
9085 (char *) "self",(char *) "mask", NULL
9086 };
9087
9088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail;
9089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9090 if (obj1) {
9091 arg2 = PyInt_AsLong(obj1) ? true : false;
9092 if (PyErr_Occurred()) SWIG_fail;
9093 }
9094 {
9095 PyThreadState* __tstate = wxPyBeginAllowThreads();
9096 (arg1)->SetMask(arg2);
9097
9098 wxPyEndAllowThreads(__tstate);
9099 if (PyErr_Occurred()) SWIG_fail;
9100 }
9101 Py_INCREF(Py_None); resultobj = Py_None;
9102 return resultobj;
9103 fail:
9104 return NULL;
9105}
9106
9107
9108static PyObject *_wrap_Image_HasMask(PyObject *self, PyObject *args, PyObject *kwargs) {
9109 PyObject *resultobj;
9110 wxImage *arg1 = (wxImage *) 0 ;
9111 bool result;
9112 PyObject * obj0 = 0 ;
9113 char *kwnames[] = {
9114 (char *) "self", NULL
9115 };
9116
9117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail;
9118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9119 {
9120 PyThreadState* __tstate = wxPyBeginAllowThreads();
9121 result = (bool)(arg1)->HasMask();
9122
9123 wxPyEndAllowThreads(__tstate);
9124 if (PyErr_Occurred()) SWIG_fail;
9125 }
9126 resultobj = PyInt_FromLong((long)result);
9127 return resultobj;
9128 fail:
9129 return NULL;
9130}
9131
9132
9133static PyObject *_wrap_Image_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
9134 PyObject *resultobj;
9135 wxImage *arg1 = (wxImage *) 0 ;
9136 double arg2 ;
9137 wxPoint *arg3 = 0 ;
e811c8ce 9138 bool arg4 = (bool) True ;
d14a1e28
RD
9139 wxPoint *arg5 = (wxPoint *) NULL ;
9140 SwigValueWrapper< wxImage > result;
9141 wxPoint temp3 ;
9142 PyObject * obj0 = 0 ;
9143 PyObject * obj2 = 0 ;
9144 PyObject * obj3 = 0 ;
9145 PyObject * obj4 = 0 ;
9146 char *kwnames[] = {
9147 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
9148 };
9149
9150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OdO|OO:Image_Rotate",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4)) goto fail;
9151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9152 {
9153 arg3 = &temp3;
9154 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9155 }
9156 if (obj3) {
9157 arg4 = PyInt_AsLong(obj3) ? true : false;
9158 if (PyErr_Occurred()) SWIG_fail;
9159 }
9160 if (obj4) {
9161 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9162 }
9163 {
9164 PyThreadState* __tstate = wxPyBeginAllowThreads();
9165 result = ((wxImage const *)arg1)->Rotate(arg2,(wxPoint const &)*arg3,arg4,arg5);
9166
9167 wxPyEndAllowThreads(__tstate);
9168 if (PyErr_Occurred()) SWIG_fail;
9169 }
9170 {
9171 wxImage * resultptr;
9172 resultptr = new wxImage((wxImage &) result);
9173 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9174 }
9175 return resultobj;
9176 fail:
9177 return NULL;
9178}
9179
9180
9181static PyObject *_wrap_Image_Rotate90(PyObject *self, PyObject *args, PyObject *kwargs) {
9182 PyObject *resultobj;
9183 wxImage *arg1 = (wxImage *) 0 ;
e811c8ce 9184 bool arg2 = (bool) True ;
d14a1e28
RD
9185 SwigValueWrapper< wxImage > result;
9186 PyObject * obj0 = 0 ;
9187 PyObject * obj1 = 0 ;
9188 char *kwnames[] = {
9189 (char *) "self",(char *) "clockwise", NULL
9190 };
9191
9192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail;
9193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9194 if (obj1) {
9195 arg2 = PyInt_AsLong(obj1) ? true : false;
9196 if (PyErr_Occurred()) SWIG_fail;
9197 }
9198 {
9199 PyThreadState* __tstate = wxPyBeginAllowThreads();
9200 result = (arg1)->Rotate90(arg2);
9201
9202 wxPyEndAllowThreads(__tstate);
9203 if (PyErr_Occurred()) SWIG_fail;
9204 }
9205 {
9206 wxImage * resultptr;
9207 resultptr = new wxImage((wxImage &) result);
9208 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9209 }
9210 return resultobj;
9211 fail:
9212 return NULL;
9213}
9214
9215
9216static PyObject *_wrap_Image_Mirror(PyObject *self, PyObject *args, PyObject *kwargs) {
9217 PyObject *resultobj;
9218 wxImage *arg1 = (wxImage *) 0 ;
e811c8ce 9219 bool arg2 = (bool) True ;
d14a1e28
RD
9220 SwigValueWrapper< wxImage > result;
9221 PyObject * obj0 = 0 ;
9222 PyObject * obj1 = 0 ;
9223 char *kwnames[] = {
9224 (char *) "self",(char *) "horizontally", NULL
9225 };
9226
9227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail;
9228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9229 if (obj1) {
9230 arg2 = PyInt_AsLong(obj1) ? true : false;
9231 if (PyErr_Occurred()) SWIG_fail;
9232 }
9233 {
9234 PyThreadState* __tstate = wxPyBeginAllowThreads();
9235 result = (arg1)->Mirror(arg2);
9236
9237 wxPyEndAllowThreads(__tstate);
9238 if (PyErr_Occurred()) SWIG_fail;
9239 }
9240 {
9241 wxImage * resultptr;
9242 resultptr = new wxImage((wxImage &) result);
9243 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9244 }
9245 return resultobj;
9246 fail:
9247 return NULL;
9248}
9249
9250
9251static PyObject *_wrap_Image_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
9252 PyObject *resultobj;
9253 wxImage *arg1 = (wxImage *) 0 ;
9254 unsigned char arg2 ;
9255 unsigned char arg3 ;
9256 unsigned char arg4 ;
9257 unsigned char arg5 ;
9258 unsigned char arg6 ;
9259 unsigned char arg7 ;
9260 PyObject * obj0 = 0 ;
9261 PyObject * obj1 = 0 ;
9262 PyObject * obj2 = 0 ;
9263 PyObject * obj3 = 0 ;
9264 PyObject * obj4 = 0 ;
9265 PyObject * obj5 = 0 ;
9266 PyObject * obj6 = 0 ;
9267 char *kwnames[] = {
9268 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
9269 };
9270
9271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9273 arg2 = (unsigned char) PyInt_AsLong(obj1);
9274 if (PyErr_Occurred()) SWIG_fail;
9275 arg3 = (unsigned char) PyInt_AsLong(obj2);
9276 if (PyErr_Occurred()) SWIG_fail;
9277 arg4 = (unsigned char) PyInt_AsLong(obj3);
9278 if (PyErr_Occurred()) SWIG_fail;
9279 arg5 = (unsigned char) PyInt_AsLong(obj4);
9280 if (PyErr_Occurred()) SWIG_fail;
9281 arg6 = (unsigned char) PyInt_AsLong(obj5);
9282 if (PyErr_Occurred()) SWIG_fail;
9283 arg7 = (unsigned char) PyInt_AsLong(obj6);
9284 if (PyErr_Occurred()) SWIG_fail;
9285 {
9286 PyThreadState* __tstate = wxPyBeginAllowThreads();
9287 (arg1)->Replace(arg2,arg3,arg4,arg5,arg6,arg7);
9288
9289 wxPyEndAllowThreads(__tstate);
9290 if (PyErr_Occurred()) SWIG_fail;
9291 }
9292 Py_INCREF(Py_None); resultobj = Py_None;
9293 return resultobj;
9294 fail:
9295 return NULL;
9296}
9297
9298
9299static PyObject *_wrap_Image_ConvertToMono(PyObject *self, PyObject *args, PyObject *kwargs) {
9300 PyObject *resultobj;
9301 wxImage *arg1 = (wxImage *) 0 ;
9302 unsigned char arg2 ;
9303 unsigned char arg3 ;
9304 unsigned char arg4 ;
9305 SwigValueWrapper< wxImage > result;
9306 PyObject * obj0 = 0 ;
9307 PyObject * obj1 = 0 ;
9308 PyObject * obj2 = 0 ;
9309 PyObject * obj3 = 0 ;
9310 char *kwnames[] = {
9311 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9312 };
9313
9314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9316 arg2 = (unsigned char) PyInt_AsLong(obj1);
9317 if (PyErr_Occurred()) SWIG_fail;
9318 arg3 = (unsigned char) PyInt_AsLong(obj2);
9319 if (PyErr_Occurred()) SWIG_fail;
9320 arg4 = (unsigned char) PyInt_AsLong(obj3);
9321 if (PyErr_Occurred()) SWIG_fail;
9322 {
9323 PyThreadState* __tstate = wxPyBeginAllowThreads();
9324 result = ((wxImage const *)arg1)->ConvertToMono(arg2,arg3,arg4);
9325
9326 wxPyEndAllowThreads(__tstate);
9327 if (PyErr_Occurred()) SWIG_fail;
9328 }
9329 {
9330 wxImage * resultptr;
9331 resultptr = new wxImage((wxImage &) result);
9332 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9333 }
9334 return resultobj;
9335 fail:
9336 return NULL;
9337}
9338
9339
9340static PyObject *_wrap_Image_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
9341 PyObject *resultobj;
9342 wxImage *arg1 = (wxImage *) 0 ;
9343 wxString *arg2 = 0 ;
9344 wxString *arg3 = 0 ;
e811c8ce
RD
9345 bool temp2 = False ;
9346 bool temp3 = False ;
d14a1e28
RD
9347 PyObject * obj0 = 0 ;
9348 PyObject * obj1 = 0 ;
9349 PyObject * obj2 = 0 ;
9350 char *kwnames[] = {
9351 (char *) "self",(char *) "name",(char *) "value", NULL
9352 };
9353
9354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail;
9355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9356 {
9357 arg2 = wxString_in_helper(obj1);
9358 if (arg2 == NULL) SWIG_fail;
e811c8ce 9359 temp2 = True;
d14a1e28
RD
9360 }
9361 {
9362 arg3 = wxString_in_helper(obj2);
9363 if (arg3 == NULL) SWIG_fail;
e811c8ce 9364 temp3 = True;
d14a1e28
RD
9365 }
9366 {
9367 PyThreadState* __tstate = wxPyBeginAllowThreads();
9368 (arg1)->SetOption((wxString const &)*arg2,(wxString const &)*arg3);
9369
9370 wxPyEndAllowThreads(__tstate);
9371 if (PyErr_Occurred()) SWIG_fail;
9372 }
9373 Py_INCREF(Py_None); resultobj = Py_None;
9374 {
9375 if (temp2)
9376 delete arg2;
9377 }
9378 {
9379 if (temp3)
9380 delete arg3;
9381 }
9382 return resultobj;
9383 fail:
9384 {
9385 if (temp2)
9386 delete arg2;
9387 }
9388 {
9389 if (temp3)
9390 delete arg3;
9391 }
9392 return NULL;
9393}
9394
9395
9396static PyObject *_wrap_Image_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
9397 PyObject *resultobj;
9398 wxImage *arg1 = (wxImage *) 0 ;
9399 wxString *arg2 = 0 ;
9400 int arg3 ;
e811c8ce 9401 bool temp2 = False ;
d14a1e28
RD
9402 PyObject * obj0 = 0 ;
9403 PyObject * obj1 = 0 ;
9404 char *kwnames[] = {
9405 (char *) "self",(char *) "name",(char *) "value", NULL
9406 };
9407
9408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:Image_SetOptionInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
9409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9410 {
9411 arg2 = wxString_in_helper(obj1);
9412 if (arg2 == NULL) SWIG_fail;
e811c8ce 9413 temp2 = True;
d14a1e28
RD
9414 }
9415 {
9416 PyThreadState* __tstate = wxPyBeginAllowThreads();
9417 (arg1)->SetOption((wxString const &)*arg2,arg3);
9418
9419 wxPyEndAllowThreads(__tstate);
9420 if (PyErr_Occurred()) SWIG_fail;
9421 }
9422 Py_INCREF(Py_None); resultobj = Py_None;
9423 {
9424 if (temp2)
9425 delete arg2;
9426 }
9427 return resultobj;
9428 fail:
9429 {
9430 if (temp2)
9431 delete arg2;
9432 }
9433 return NULL;
9434}
9435
9436
9437static PyObject *_wrap_Image_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
9438 PyObject *resultobj;
9439 wxImage *arg1 = (wxImage *) 0 ;
9440 wxString *arg2 = 0 ;
9441 wxString result;
e811c8ce 9442 bool temp2 = False ;
d14a1e28
RD
9443 PyObject * obj0 = 0 ;
9444 PyObject * obj1 = 0 ;
9445 char *kwnames[] = {
9446 (char *) "self",(char *) "name", NULL
9447 };
9448
9449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail;
9450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9451 {
9452 arg2 = wxString_in_helper(obj1);
9453 if (arg2 == NULL) SWIG_fail;
e811c8ce 9454 temp2 = True;
d14a1e28
RD
9455 }
9456 {
9457 PyThreadState* __tstate = wxPyBeginAllowThreads();
9458 result = ((wxImage const *)arg1)->GetOption((wxString const &)*arg2);
9459
9460 wxPyEndAllowThreads(__tstate);
9461 if (PyErr_Occurred()) SWIG_fail;
9462 }
9463 {
9464#if wxUSE_UNICODE
9465 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9466#else
9467 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9468#endif
9469 }
9470 {
9471 if (temp2)
9472 delete arg2;
9473 }
9474 return resultobj;
9475 fail:
9476 {
9477 if (temp2)
9478 delete arg2;
9479 }
9480 return NULL;
9481}
9482
9483
9484static PyObject *_wrap_Image_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
9485 PyObject *resultobj;
9486 wxImage *arg1 = (wxImage *) 0 ;
9487 wxString *arg2 = 0 ;
9488 int result;
e811c8ce 9489 bool temp2 = False ;
d14a1e28
RD
9490 PyObject * obj0 = 0 ;
9491 PyObject * obj1 = 0 ;
9492 char *kwnames[] = {
9493 (char *) "self",(char *) "name", NULL
9494 };
9495
9496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail;
9497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9498 {
9499 arg2 = wxString_in_helper(obj1);
9500 if (arg2 == NULL) SWIG_fail;
e811c8ce 9501 temp2 = True;
d14a1e28
RD
9502 }
9503 {
9504 PyThreadState* __tstate = wxPyBeginAllowThreads();
9505 result = (int)((wxImage const *)arg1)->GetOptionInt((wxString const &)*arg2);
9506
9507 wxPyEndAllowThreads(__tstate);
9508 if (PyErr_Occurred()) SWIG_fail;
9509 }
9510 resultobj = PyInt_FromLong((long)result);
9511 {
9512 if (temp2)
9513 delete arg2;
9514 }
9515 return resultobj;
9516 fail:
9517 {
9518 if (temp2)
9519 delete arg2;
9520 }
9521 return NULL;
9522}
9523
9524
9525static PyObject *_wrap_Image_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
9526 PyObject *resultobj;
9527 wxImage *arg1 = (wxImage *) 0 ;
9528 wxString *arg2 = 0 ;
9529 bool result;
e811c8ce 9530 bool temp2 = False ;
d14a1e28
RD
9531 PyObject * obj0 = 0 ;
9532 PyObject * obj1 = 0 ;
9533 char *kwnames[] = {
9534 (char *) "self",(char *) "name", NULL
9535 };
9536
9537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail;
9538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9539 {
9540 arg2 = wxString_in_helper(obj1);
9541 if (arg2 == NULL) SWIG_fail;
e811c8ce 9542 temp2 = True;
d14a1e28
RD
9543 }
9544 {
9545 PyThreadState* __tstate = wxPyBeginAllowThreads();
9546 result = (bool)((wxImage const *)arg1)->HasOption((wxString const &)*arg2);
9547
9548 wxPyEndAllowThreads(__tstate);
9549 if (PyErr_Occurred()) SWIG_fail;
9550 }
9551 resultobj = PyInt_FromLong((long)result);
9552 {
9553 if (temp2)
9554 delete arg2;
9555 }
9556 return resultobj;
9557 fail:
9558 {
9559 if (temp2)
9560 delete arg2;
9561 }
9562 return NULL;
9563}
9564
9565
9566static PyObject *_wrap_Image_CountColours(PyObject *self, PyObject *args, PyObject *kwargs) {
9567 PyObject *resultobj;
9568 wxImage *arg1 = (wxImage *) 0 ;
9569 unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
9570 unsigned long result;
9571 PyObject * obj0 = 0 ;
9572 PyObject * obj1 = 0 ;
9573 char *kwnames[] = {
9574 (char *) "self",(char *) "stopafter", NULL
9575 };
9576
9577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail;
9578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9579 if (obj1) {
9580 arg2 = (unsigned long) PyInt_AsLong(obj1);
9581 if (PyErr_Occurred()) SWIG_fail;
9582 }
9583 {
9584 PyThreadState* __tstate = wxPyBeginAllowThreads();
9585 result = (unsigned long)(arg1)->CountColours(arg2);
9586
9587 wxPyEndAllowThreads(__tstate);
9588 if (PyErr_Occurred()) SWIG_fail;
9589 }
9590 resultobj = PyInt_FromLong((long)result);
9591 return resultobj;
9592 fail:
9593 return NULL;
9594}
9595
9596
9597static PyObject *_wrap_Image_ComputeHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
9598 PyObject *resultobj;
9599 wxImage *arg1 = (wxImage *) 0 ;
9600 wxImageHistogram *arg2 = 0 ;
9601 unsigned long result;
9602 PyObject * obj0 = 0 ;
9603 PyObject * obj1 = 0 ;
9604 char *kwnames[] = {
9605 (char *) "self",(char *) "h", NULL
9606 };
9607
9608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail;
9609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9610 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageHistogram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9611 if (arg2 == NULL) {
9612 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9613 }
9614 {
9615 PyThreadState* __tstate = wxPyBeginAllowThreads();
9616 result = (unsigned long)(arg1)->ComputeHistogram(*arg2);
9617
9618 wxPyEndAllowThreads(__tstate);
9619 if (PyErr_Occurred()) SWIG_fail;
9620 }
9621 resultobj = PyInt_FromLong((long)result);
9622 return resultobj;
9623 fail:
9624 return NULL;
9625}
9626
9627
9628static PyObject *_wrap_Image_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9629 PyObject *resultobj;
9630 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
9631 PyObject * obj0 = 0 ;
9632 char *kwnames[] = {
9633 (char *) "handler", NULL
9634 };
9635
9636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail;
9637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9638 {
9639 PyThreadState* __tstate = wxPyBeginAllowThreads();
9640 wxImage::AddHandler(arg1);
9641
9642 wxPyEndAllowThreads(__tstate);
9643 if (PyErr_Occurred()) SWIG_fail;
9644 }
9645 Py_INCREF(Py_None); resultobj = Py_None;
9646 return resultobj;
9647 fail:
9648 return NULL;
9649}
9650
9651
9652static PyObject *_wrap_Image_InsertHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9653 PyObject *resultobj;
9654 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
9655 PyObject * obj0 = 0 ;
9656 char *kwnames[] = {
9657 (char *) "handler", NULL
9658 };
9659
9660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail;
9661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9662 {
9663 PyThreadState* __tstate = wxPyBeginAllowThreads();
9664 wxImage::InsertHandler(arg1);
9665
9666 wxPyEndAllowThreads(__tstate);
9667 if (PyErr_Occurred()) SWIG_fail;
9668 }
9669 Py_INCREF(Py_None); resultobj = Py_None;
9670 return resultobj;
9671 fail:
9672 return NULL;
9673}
9674
9675
9676static PyObject *_wrap_Image_RemoveHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9677 PyObject *resultobj;
9678 wxString *arg1 = 0 ;
9679 bool result;
e811c8ce 9680 bool temp1 = False ;
d14a1e28
RD
9681 PyObject * obj0 = 0 ;
9682 char *kwnames[] = {
9683 (char *) "name", NULL
9684 };
9685
9686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail;
9687 {
9688 arg1 = wxString_in_helper(obj0);
9689 if (arg1 == NULL) SWIG_fail;
e811c8ce 9690 temp1 = True;
d14a1e28
RD
9691 }
9692 {
9693 PyThreadState* __tstate = wxPyBeginAllowThreads();
9694 result = (bool)wxImage::RemoveHandler((wxString const &)*arg1);
9695
9696 wxPyEndAllowThreads(__tstate);
9697 if (PyErr_Occurred()) SWIG_fail;
9698 }
9699 resultobj = PyInt_FromLong((long)result);
9700 {
9701 if (temp1)
9702 delete arg1;
9703 }
9704 return resultobj;
9705 fail:
9706 {
9707 if (temp1)
9708 delete arg1;
9709 }
9710 return NULL;
9711}
9712
9713
9714static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
9715 PyObject *resultobj;
9716 wxString result;
9717 char *kwnames[] = {
9718 NULL
9719 };
9720
9721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail;
9722 {
9723 PyThreadState* __tstate = wxPyBeginAllowThreads();
9724 result = wxImage::GetImageExtWildcard();
9725
9726 wxPyEndAllowThreads(__tstate);
9727 if (PyErr_Occurred()) SWIG_fail;
9728 }
9729 {
9730#if wxUSE_UNICODE
9731 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9732#else
9733 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9734#endif
9735 }
9736 return resultobj;
9737 fail:
9738 return NULL;
9739}
9740
9741
9742static PyObject *_wrap_Image_ConvertToBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
9743 PyObject *resultobj;
9744 wxImage *arg1 = (wxImage *) 0 ;
9745 wxBitmap result;
9746 PyObject * obj0 = 0 ;
9747 char *kwnames[] = {
9748 (char *) "self", NULL
9749 };
9750
9751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_ConvertToBitmap",kwnames,&obj0)) goto fail;
9752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9753 {
9754 PyThreadState* __tstate = wxPyBeginAllowThreads();
9755 result = wxImage_ConvertToBitmap(arg1);
9756
9757 wxPyEndAllowThreads(__tstate);
9758 if (PyErr_Occurred()) SWIG_fail;
9759 }
9760 {
9761 wxBitmap * resultptr;
9762 resultptr = new wxBitmap((wxBitmap &) result);
9763 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
9764 }
9765 return resultobj;
9766 fail:
9767 return NULL;
9768}
9769
9770
9771static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
9772 PyObject *resultobj;
9773 wxImage *arg1 = (wxImage *) 0 ;
9774 unsigned char arg2 ;
9775 unsigned char arg3 ;
9776 unsigned char arg4 ;
9777 wxBitmap result;
9778 PyObject * obj0 = 0 ;
9779 PyObject * obj1 = 0 ;
9780 PyObject * obj2 = 0 ;
9781 PyObject * obj3 = 0 ;
9782 char *kwnames[] = {
9783 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
9784 };
9785
9786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9788 arg2 = (unsigned char) PyInt_AsLong(obj1);
9789 if (PyErr_Occurred()) SWIG_fail;
9790 arg3 = (unsigned char) PyInt_AsLong(obj2);
9791 if (PyErr_Occurred()) SWIG_fail;
9792 arg4 = (unsigned char) PyInt_AsLong(obj3);
9793 if (PyErr_Occurred()) SWIG_fail;
9794 {
9795 PyThreadState* __tstate = wxPyBeginAllowThreads();
9796 result = wxImage_ConvertToMonoBitmap(arg1,arg2,arg3,arg4);
9797
9798 wxPyEndAllowThreads(__tstate);
9799 if (PyErr_Occurred()) SWIG_fail;
9800 }
9801 {
9802 wxBitmap * resultptr;
9803 resultptr = new wxBitmap((wxBitmap &) result);
9804 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
9805 }
9806 return resultobj;
9807 fail:
9808 return NULL;
9809}
9810
9811
9812static PyObject * Image_swigregister(PyObject *self, PyObject *args) {
9813 PyObject *obj;
9814 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9815 SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj);
9816 Py_INCREF(obj);
9817 return Py_BuildValue((char *)"");
9818}
9819static PyObject *_wrap_InitAllImageHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
9820 PyObject *resultobj;
9821 char *kwnames[] = {
9822 NULL
9823 };
9824
9825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":InitAllImageHandlers",kwnames)) goto fail;
9826 {
9827 PyThreadState* __tstate = wxPyBeginAllowThreads();
9828 wxInitAllImageHandlers();
9829
9830 wxPyEndAllowThreads(__tstate);
9831 if (PyErr_Occurred()) SWIG_fail;
9832 }
9833 Py_INCREF(Py_None); resultobj = Py_None;
9834 return resultobj;
9835 fail:
9836 return NULL;
9837}
9838
9839
9840static int _wrap_NullImage_set(PyObject *_val) {
9841 PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only.");
9842 return 1;
9843}
9844
9845
9846static PyObject *_wrap_NullImage_get() {
9847 PyObject *pyobj;
9848
9849 pyobj = SWIG_NewPointerObj((void *) &wxNullImage, SWIGTYPE_p_wxImage, 0);
9850 return pyobj;
9851}
9852
9853
9854static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *_val) {
9855 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
9856 return 1;
9857}
9858
9859
9860static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
9861 PyObject *pyobj;
9862
9863 {
9864#if wxUSE_UNICODE
9865 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
9866#else
9867 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
9868#endif
9869 }
9870 return pyobj;
9871}
9872
9873
9874static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *_val) {
9875 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
9876 return 1;
9877}
9878
9879
9880static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
9881 PyObject *pyobj;
9882
9883 {
9884#if wxUSE_UNICODE
9885 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
9886#else
9887 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
9888#endif
9889 }
9890 return pyobj;
9891}
9892
9893
9894static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *_val) {
9895 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
9896 return 1;
9897}
9898
9899
9900static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
9901 PyObject *pyobj;
9902
9903 {
9904#if wxUSE_UNICODE
9905 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
9906#else
9907 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
9908#endif
9909 }
9910 return pyobj;
9911}
9912
9913
9914static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *_val) {
9915 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
9916 return 1;
9917}
9918
9919
9920static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get() {
9921 PyObject *pyobj;
9922
9923 {
9924#if wxUSE_UNICODE
9925 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
9926#else
9927 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
9928#endif
9929 }
9930 return pyobj;
9931}
9932
9933
9934static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *_val) {
9935 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
9936 return 1;
9937}
9938
9939
9940static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
9941 PyObject *pyobj;
9942
9943 {
9944#if wxUSE_UNICODE
9945 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
9946#else
9947 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
9948#endif
9949 }
9950 return pyobj;
9951}
9952
9953
9954static PyObject *_wrap_new_BMPHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9955 PyObject *resultobj;
9956 wxBMPHandler *result;
9957 char *kwnames[] = {
9958 NULL
9959 };
9960
9961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail;
9962 {
9963 PyThreadState* __tstate = wxPyBeginAllowThreads();
9964 result = (wxBMPHandler *)new wxBMPHandler();
9965
9966 wxPyEndAllowThreads(__tstate);
9967 if (PyErr_Occurred()) SWIG_fail;
9968 }
9969 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBMPHandler, 1);
9970 return resultobj;
9971 fail:
9972 return NULL;
9973}
9974
9975
9976static PyObject * BMPHandler_swigregister(PyObject *self, PyObject *args) {
9977 PyObject *obj;
9978 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9979 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj);
9980 Py_INCREF(obj);
9981 return Py_BuildValue((char *)"");
9982}
9983static PyObject *_wrap_new_ICOHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9984 PyObject *resultobj;
9985 wxICOHandler *result;
9986 char *kwnames[] = {
9987 NULL
9988 };
9989
9990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail;
9991 {
9992 PyThreadState* __tstate = wxPyBeginAllowThreads();
9993 result = (wxICOHandler *)new wxICOHandler();
9994
9995 wxPyEndAllowThreads(__tstate);
9996 if (PyErr_Occurred()) SWIG_fail;
9997 }
9998 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxICOHandler, 1);
9999 return resultobj;
10000 fail:
10001 return NULL;
10002}
10003
10004
10005static PyObject * ICOHandler_swigregister(PyObject *self, PyObject *args) {
10006 PyObject *obj;
10007 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10008 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj);
10009 Py_INCREF(obj);
10010 return Py_BuildValue((char *)"");
10011}
10012static PyObject *_wrap_new_CURHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10013 PyObject *resultobj;
10014 wxCURHandler *result;
10015 char *kwnames[] = {
10016 NULL
10017 };
10018
10019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail;
10020 {
10021 PyThreadState* __tstate = wxPyBeginAllowThreads();
10022 result = (wxCURHandler *)new wxCURHandler();
10023
10024 wxPyEndAllowThreads(__tstate);
10025 if (PyErr_Occurred()) SWIG_fail;
10026 }
10027 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCURHandler, 1);
10028 return resultobj;
10029 fail:
10030 return NULL;
10031}
10032
10033
10034static PyObject * CURHandler_swigregister(PyObject *self, PyObject *args) {
10035 PyObject *obj;
10036 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10037 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj);
10038 Py_INCREF(obj);
10039 return Py_BuildValue((char *)"");
10040}
10041static PyObject *_wrap_new_ANIHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10042 PyObject *resultobj;
10043 wxANIHandler *result;
10044 char *kwnames[] = {
10045 NULL
10046 };
10047
10048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail;
10049 {
10050 PyThreadState* __tstate = wxPyBeginAllowThreads();
10051 result = (wxANIHandler *)new wxANIHandler();
10052
10053 wxPyEndAllowThreads(__tstate);
10054 if (PyErr_Occurred()) SWIG_fail;
10055 }
10056 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxANIHandler, 1);
10057 return resultobj;
10058 fail:
10059 return NULL;
10060}
10061
10062
10063static PyObject * ANIHandler_swigregister(PyObject *self, PyObject *args) {
10064 PyObject *obj;
10065 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10066 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj);
10067 Py_INCREF(obj);
10068 return Py_BuildValue((char *)"");
10069}
10070static PyObject *_wrap_new_PNGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10071 PyObject *resultobj;
10072 wxPNGHandler *result;
10073 char *kwnames[] = {
10074 NULL
10075 };
10076
10077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail;
10078 {
10079 PyThreadState* __tstate = wxPyBeginAllowThreads();
10080 result = (wxPNGHandler *)new wxPNGHandler();
10081
10082 wxPyEndAllowThreads(__tstate);
10083 if (PyErr_Occurred()) SWIG_fail;
10084 }
10085 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPNGHandler, 1);
10086 return resultobj;
10087 fail:
10088 return NULL;
10089}
10090
10091
10092static PyObject * PNGHandler_swigregister(PyObject *self, PyObject *args) {
10093 PyObject *obj;
10094 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10095 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj);
10096 Py_INCREF(obj);
10097 return Py_BuildValue((char *)"");
10098}
10099static PyObject *_wrap_new_GIFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10100 PyObject *resultobj;
10101 wxGIFHandler *result;
10102 char *kwnames[] = {
10103 NULL
10104 };
10105
10106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail;
10107 {
10108 PyThreadState* __tstate = wxPyBeginAllowThreads();
10109 result = (wxGIFHandler *)new wxGIFHandler();
10110
10111 wxPyEndAllowThreads(__tstate);
10112 if (PyErr_Occurred()) SWIG_fail;
10113 }
10114 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGIFHandler, 1);
10115 return resultobj;
10116 fail:
10117 return NULL;
10118}
10119
10120
10121static PyObject * GIFHandler_swigregister(PyObject *self, PyObject *args) {
10122 PyObject *obj;
10123 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10124 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj);
10125 Py_INCREF(obj);
10126 return Py_BuildValue((char *)"");
10127}
10128static PyObject *_wrap_new_PCXHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10129 PyObject *resultobj;
10130 wxPCXHandler *result;
10131 char *kwnames[] = {
10132 NULL
10133 };
10134
10135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail;
10136 {
10137 PyThreadState* __tstate = wxPyBeginAllowThreads();
10138 result = (wxPCXHandler *)new wxPCXHandler();
10139
10140 wxPyEndAllowThreads(__tstate);
10141 if (PyErr_Occurred()) SWIG_fail;
10142 }
10143 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPCXHandler, 1);
10144 return resultobj;
10145 fail:
10146 return NULL;
10147}
10148
10149
10150static PyObject * PCXHandler_swigregister(PyObject *self, PyObject *args) {
10151 PyObject *obj;
10152 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10153 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj);
10154 Py_INCREF(obj);
10155 return Py_BuildValue((char *)"");
10156}
10157static PyObject *_wrap_new_JPEGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10158 PyObject *resultobj;
10159 wxJPEGHandler *result;
10160 char *kwnames[] = {
10161 NULL
10162 };
10163
10164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail;
10165 {
10166 PyThreadState* __tstate = wxPyBeginAllowThreads();
10167 result = (wxJPEGHandler *)new wxJPEGHandler();
10168
10169 wxPyEndAllowThreads(__tstate);
10170 if (PyErr_Occurred()) SWIG_fail;
10171 }
10172 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJPEGHandler, 1);
10173 return resultobj;
10174 fail:
10175 return NULL;
10176}
10177
10178
10179static PyObject * JPEGHandler_swigregister(PyObject *self, PyObject *args) {
10180 PyObject *obj;
10181 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10182 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj);
10183 Py_INCREF(obj);
10184 return Py_BuildValue((char *)"");
10185}
10186static PyObject *_wrap_new_PNMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10187 PyObject *resultobj;
10188 wxPNMHandler *result;
10189 char *kwnames[] = {
10190 NULL
10191 };
10192
10193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail;
10194 {
10195 PyThreadState* __tstate = wxPyBeginAllowThreads();
10196 result = (wxPNMHandler *)new wxPNMHandler();
10197
10198 wxPyEndAllowThreads(__tstate);
10199 if (PyErr_Occurred()) SWIG_fail;
10200 }
10201 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPNMHandler, 1);
10202 return resultobj;
10203 fail:
10204 return NULL;
10205}
10206
10207
10208static PyObject * PNMHandler_swigregister(PyObject *self, PyObject *args) {
10209 PyObject *obj;
10210 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10211 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj);
10212 Py_INCREF(obj);
10213 return Py_BuildValue((char *)"");
10214}
10215static PyObject *_wrap_new_XPMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10216 PyObject *resultobj;
10217 wxXPMHandler *result;
10218 char *kwnames[] = {
10219 NULL
10220 };
10221
10222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail;
10223 {
10224 PyThreadState* __tstate = wxPyBeginAllowThreads();
10225 result = (wxXPMHandler *)new wxXPMHandler();
10226
10227 wxPyEndAllowThreads(__tstate);
10228 if (PyErr_Occurred()) SWIG_fail;
10229 }
10230 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxXPMHandler, 1);
10231 return resultobj;
10232 fail:
10233 return NULL;
10234}
10235
10236
10237static PyObject * XPMHandler_swigregister(PyObject *self, PyObject *args) {
10238 PyObject *obj;
10239 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10240 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj);
10241 Py_INCREF(obj);
10242 return Py_BuildValue((char *)"");
10243}
10244static PyObject *_wrap_new_TIFFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10245 PyObject *resultobj;
10246 wxTIFFHandler *result;
10247 char *kwnames[] = {
10248 NULL
10249 };
10250
10251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail;
10252 {
10253 PyThreadState* __tstate = wxPyBeginAllowThreads();
10254 result = (wxTIFFHandler *)new wxTIFFHandler();
10255
10256 wxPyEndAllowThreads(__tstate);
10257 if (PyErr_Occurred()) SWIG_fail;
10258 }
10259 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTIFFHandler, 1);
10260 return resultobj;
10261 fail:
10262 return NULL;
10263}
10264
10265
10266static PyObject * TIFFHandler_swigregister(PyObject *self, PyObject *args) {
10267 PyObject *obj;
10268 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10269 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj);
10270 Py_INCREF(obj);
10271 return Py_BuildValue((char *)"");
10272}
10273static PyObject *_wrap_new_EvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10274 PyObject *resultobj;
10275 wxEvtHandler *result;
10276 char *kwnames[] = {
10277 NULL
10278 };
10279
10280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail;
10281 {
10282 PyThreadState* __tstate = wxPyBeginAllowThreads();
10283 result = (wxEvtHandler *)new wxEvtHandler();
10284
10285 wxPyEndAllowThreads(__tstate);
10286 if (PyErr_Occurred()) SWIG_fail;
10287 }
10288 {
10289 resultobj = wxPyMake_wxObject(result);
10290 }
10291 return resultobj;
10292 fail:
10293 return NULL;
10294}
10295
10296
10297static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10298 PyObject *resultobj;
10299 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10300 wxEvtHandler *result;
10301 PyObject * obj0 = 0 ;
10302 char *kwnames[] = {
10303 (char *) "self", NULL
10304 };
10305
10306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail;
10307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10308 {
10309 PyThreadState* __tstate = wxPyBeginAllowThreads();
10310 result = (wxEvtHandler *)(arg1)->GetNextHandler();
10311
10312 wxPyEndAllowThreads(__tstate);
10313 if (PyErr_Occurred()) SWIG_fail;
10314 }
10315 {
10316 resultobj = wxPyMake_wxObject(result);
10317 }
10318 return resultobj;
10319 fail:
10320 return NULL;
10321}
10322
10323
10324static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10325 PyObject *resultobj;
10326 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10327 wxEvtHandler *result;
10328 PyObject * obj0 = 0 ;
10329 char *kwnames[] = {
10330 (char *) "self", NULL
10331 };
10332
10333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
10334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10335 {
10336 PyThreadState* __tstate = wxPyBeginAllowThreads();
10337 result = (wxEvtHandler *)(arg1)->GetPreviousHandler();
10338
10339 wxPyEndAllowThreads(__tstate);
10340 if (PyErr_Occurred()) SWIG_fail;
10341 }
10342 {
10343 resultobj = wxPyMake_wxObject(result);
10344 }
10345 return resultobj;
10346 fail:
10347 return NULL;
10348}
10349
10350
10351static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10352 PyObject *resultobj;
10353 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10354 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
10355 PyObject * obj0 = 0 ;
10356 PyObject * obj1 = 0 ;
10357 char *kwnames[] = {
10358 (char *) "self",(char *) "handler", NULL
10359 };
10360
10361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail;
10362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10363 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10364 {
10365 PyThreadState* __tstate = wxPyBeginAllowThreads();
10366 (arg1)->SetNextHandler(arg2);
10367
10368 wxPyEndAllowThreads(__tstate);
10369 if (PyErr_Occurred()) SWIG_fail;
10370 }
10371 Py_INCREF(Py_None); resultobj = Py_None;
10372 return resultobj;
10373 fail:
10374 return NULL;
10375}
10376
10377
10378static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10379 PyObject *resultobj;
10380 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10381 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
10382 PyObject * obj0 = 0 ;
10383 PyObject * obj1 = 0 ;
10384 char *kwnames[] = {
10385 (char *) "self",(char *) "handler", NULL
10386 };
10387
10388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
10389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10390 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10391 {
10392 PyThreadState* __tstate = wxPyBeginAllowThreads();
10393 (arg1)->SetPreviousHandler(arg2);
10394
10395 wxPyEndAllowThreads(__tstate);
10396 if (PyErr_Occurred()) SWIG_fail;
10397 }
10398 Py_INCREF(Py_None); resultobj = Py_None;
10399 return resultobj;
10400 fail:
10401 return NULL;
10402}
10403
10404
10405static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10406 PyObject *resultobj;
10407 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10408 bool result;
10409 PyObject * obj0 = 0 ;
10410 char *kwnames[] = {
10411 (char *) "self", NULL
10412 };
10413
10414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail;
10415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10416 {
10417 PyThreadState* __tstate = wxPyBeginAllowThreads();
10418 result = (bool)(arg1)->GetEvtHandlerEnabled();
10419
10420 wxPyEndAllowThreads(__tstate);
10421 if (PyErr_Occurred()) SWIG_fail;
10422 }
10423 resultobj = PyInt_FromLong((long)result);
10424 return resultobj;
10425 fail:
10426 return NULL;
10427}
10428
10429
10430static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10431 PyObject *resultobj;
10432 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10433 bool arg2 ;
10434 PyObject * obj0 = 0 ;
10435 PyObject * obj1 = 0 ;
10436 char *kwnames[] = {
10437 (char *) "self",(char *) "enabled", NULL
10438 };
10439
10440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail;
10441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10442 arg2 = PyInt_AsLong(obj1) ? true : false;
10443 if (PyErr_Occurred()) SWIG_fail;
10444 {
10445 PyThreadState* __tstate = wxPyBeginAllowThreads();
10446 (arg1)->SetEvtHandlerEnabled(arg2);
10447
10448 wxPyEndAllowThreads(__tstate);
10449 if (PyErr_Occurred()) SWIG_fail;
10450 }
10451 Py_INCREF(Py_None); resultobj = Py_None;
10452 return resultobj;
10453 fail:
10454 return NULL;
10455}
10456
10457
10458static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10459 PyObject *resultobj;
10460 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10461 wxEvent *arg2 = 0 ;
10462 bool result;
10463 PyObject * obj0 = 0 ;
10464 PyObject * obj1 = 0 ;
10465 char *kwnames[] = {
10466 (char *) "self",(char *) "event", NULL
10467 };
10468
10469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail;
10470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10471 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10472 if (arg2 == NULL) {
10473 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10474 }
10475 {
10476 PyThreadState* __tstate = wxPyBeginAllowThreads();
10477 result = (bool)(arg1)->ProcessEvent(*arg2);
10478
10479 wxPyEndAllowThreads(__tstate);
10480 if (PyErr_Occurred()) SWIG_fail;
10481 }
10482 resultobj = PyInt_FromLong((long)result);
10483 return resultobj;
10484 fail:
10485 return NULL;
10486}
10487
10488
10489static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10490 PyObject *resultobj;
10491 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10492 wxEvent *arg2 = 0 ;
10493 PyObject * obj0 = 0 ;
10494 PyObject * obj1 = 0 ;
10495 char *kwnames[] = {
10496 (char *) "self",(char *) "event", NULL
10497 };
10498
10499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail;
10500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10501 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10502 if (arg2 == NULL) {
10503 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10504 }
10505 {
10506 PyThreadState* __tstate = wxPyBeginAllowThreads();
10507 (arg1)->AddPendingEvent(*arg2);
10508
10509 wxPyEndAllowThreads(__tstate);
10510 if (PyErr_Occurred()) SWIG_fail;
10511 }
10512 Py_INCREF(Py_None); resultobj = Py_None;
10513 return resultobj;
10514 fail:
10515 return NULL;
10516}
10517
10518
10519static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
10520 PyObject *resultobj;
10521 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10522 PyObject * obj0 = 0 ;
10523 char *kwnames[] = {
10524 (char *) "self", NULL
10525 };
10526
10527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail;
10528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10529 {
10530 PyThreadState* __tstate = wxPyBeginAllowThreads();
10531 (arg1)->ProcessPendingEvents();
10532
10533 wxPyEndAllowThreads(__tstate);
10534 if (PyErr_Occurred()) SWIG_fail;
10535 }
10536 Py_INCREF(Py_None); resultobj = Py_None;
10537 return resultobj;
10538 fail:
10539 return NULL;
10540}
10541
10542
10543static PyObject *_wrap_EvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
10544 PyObject *resultobj;
10545 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10546 int arg2 ;
10547 int arg3 ;
10548 int arg4 ;
10549 PyObject *arg5 = (PyObject *) 0 ;
10550 PyObject * obj0 = 0 ;
10551 PyObject * obj4 = 0 ;
10552 char *kwnames[] = {
10553 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
10554 };
10555
10556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiiO:EvtHandler_Connect",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
10557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10558 arg5 = obj4;
10559 {
10560 PyThreadState* __tstate = wxPyBeginAllowThreads();
10561 wxEvtHandler_Connect(arg1,arg2,arg3,arg4,arg5);
10562
10563 wxPyEndAllowThreads(__tstate);
10564 if (PyErr_Occurred()) SWIG_fail;
10565 }
10566 Py_INCREF(Py_None); resultobj = Py_None;
10567 return resultobj;
10568 fail:
10569 return NULL;
10570}
10571
10572
10573static PyObject *_wrap_EvtHandler_Disconnect(PyObject *self, PyObject *args, PyObject *kwargs) {
10574 PyObject *resultobj;
10575 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10576 int arg2 ;
10577 int arg3 = (int) -1 ;
10578 wxEventType arg4 = (wxEventType) wxEVT_NULL ;
10579 bool result;
10580 PyObject * obj0 = 0 ;
10581 char *kwnames[] = {
10582 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
10583 };
10584
10585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:EvtHandler_Disconnect",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
10586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10587 {
10588 PyThreadState* __tstate = wxPyBeginAllowThreads();
10589 result = (bool)wxEvtHandler_Disconnect(arg1,arg2,arg3,arg4);
10590
10591 wxPyEndAllowThreads(__tstate);
10592 if (PyErr_Occurred()) SWIG_fail;
10593 }
10594 resultobj = PyInt_FromLong((long)result);
10595 return resultobj;
10596 fail:
10597 return NULL;
10598}
10599
10600
10601static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10602 PyObject *resultobj;
10603 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10604 PyObject *arg2 = (PyObject *) 0 ;
10605 PyObject * obj0 = 0 ;
10606 PyObject * obj1 = 0 ;
10607 char *kwnames[] = {
10608 (char *) "self",(char *) "_self", NULL
10609 };
10610
10611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
10612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10613 arg2 = obj1;
10614 {
10615 PyThreadState* __tstate = wxPyBeginAllowThreads();
10616 wxEvtHandler__setOORInfo(arg1,arg2);
10617
10618 wxPyEndAllowThreads(__tstate);
10619 if (PyErr_Occurred()) SWIG_fail;
10620 }
10621 Py_INCREF(Py_None); resultobj = Py_None;
10622 return resultobj;
10623 fail:
10624 return NULL;
10625}
10626
10627
10628static PyObject * EvtHandler_swigregister(PyObject *self, PyObject *args) {
10629 PyObject *obj;
10630 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10631 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj);
10632 Py_INCREF(obj);
10633 return Py_BuildValue((char *)"");
10634}
10635static PyObject *_wrap_NewEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
10636 PyObject *resultobj;
10637 wxEventType result;
10638 char *kwnames[] = {
10639 NULL
10640 };
10641
10642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail;
10643 {
10644 PyThreadState* __tstate = wxPyBeginAllowThreads();
10645 result = (wxEventType)wxNewEventType();
10646
10647 wxPyEndAllowThreads(__tstate);
10648 if (PyErr_Occurred()) SWIG_fail;
10649 }
10650 resultobj = PyInt_FromLong((long)result);
10651 return resultobj;
10652 fail:
10653 return NULL;
10654}
10655
10656
10657static PyObject *_wrap_delete_Event(PyObject *self, PyObject *args, PyObject *kwargs) {
10658 PyObject *resultobj;
10659 wxEvent *arg1 = (wxEvent *) 0 ;
10660 PyObject * obj0 = 0 ;
10661 char *kwnames[] = {
10662 (char *) "self", NULL
10663 };
10664
10665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail;
10666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10667 {
10668 PyThreadState* __tstate = wxPyBeginAllowThreads();
10669 delete arg1;
10670
10671 wxPyEndAllowThreads(__tstate);
10672 if (PyErr_Occurred()) SWIG_fail;
10673 }
10674 Py_INCREF(Py_None); resultobj = Py_None;
10675 return resultobj;
10676 fail:
10677 return NULL;
10678}
10679
10680
10681static PyObject *_wrap_Event_SetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
10682 PyObject *resultobj;
10683 wxEvent *arg1 = (wxEvent *) 0 ;
10684 wxEventType arg2 ;
10685 PyObject * obj0 = 0 ;
10686 char *kwnames[] = {
10687 (char *) "self",(char *) "typ", NULL
10688 };
10689
10690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Event_SetEventType",kwnames,&obj0,&arg2)) goto fail;
10691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10692 {
10693 PyThreadState* __tstate = wxPyBeginAllowThreads();
10694 (arg1)->SetEventType(arg2);
10695
10696 wxPyEndAllowThreads(__tstate);
10697 if (PyErr_Occurred()) SWIG_fail;
10698 }
10699 Py_INCREF(Py_None); resultobj = Py_None;
10700 return resultobj;
10701 fail:
10702 return NULL;
10703}
10704
10705
10706static PyObject *_wrap_Event_GetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
10707 PyObject *resultobj;
10708 wxEvent *arg1 = (wxEvent *) 0 ;
10709 wxEventType result;
10710 PyObject * obj0 = 0 ;
10711 char *kwnames[] = {
10712 (char *) "self", NULL
10713 };
10714
10715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail;
10716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10717 {
10718 PyThreadState* __tstate = wxPyBeginAllowThreads();
10719 result = (wxEventType)((wxEvent const *)arg1)->GetEventType();
10720
10721 wxPyEndAllowThreads(__tstate);
10722 if (PyErr_Occurred()) SWIG_fail;
10723 }
10724 resultobj = PyInt_FromLong((long)result);
10725 return resultobj;
10726 fail:
10727 return NULL;
10728}
10729
10730
10731static PyObject *_wrap_Event_GetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
10732 PyObject *resultobj;
10733 wxEvent *arg1 = (wxEvent *) 0 ;
10734 wxObject *result;
10735 PyObject * obj0 = 0 ;
10736 char *kwnames[] = {
10737 (char *) "self", NULL
10738 };
10739
10740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail;
10741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10742 {
10743 PyThreadState* __tstate = wxPyBeginAllowThreads();
10744 result = (wxObject *)((wxEvent const *)arg1)->GetEventObject();
10745
10746 wxPyEndAllowThreads(__tstate);
10747 if (PyErr_Occurred()) SWIG_fail;
10748 }
10749 {
10750 resultobj = wxPyMake_wxObject(result);
10751 }
10752 return resultobj;
10753 fail:
10754 return NULL;
10755}
10756
10757
10758static PyObject *_wrap_Event_SetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
10759 PyObject *resultobj;
10760 wxEvent *arg1 = (wxEvent *) 0 ;
10761 wxObject *arg2 = (wxObject *) 0 ;
10762 PyObject * obj0 = 0 ;
10763 PyObject * obj1 = 0 ;
10764 char *kwnames[] = {
10765 (char *) "self",(char *) "obj", NULL
10766 };
10767
10768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail;
10769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10770 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10771 {
10772 PyThreadState* __tstate = wxPyBeginAllowThreads();
10773 (arg1)->SetEventObject(arg2);
10774
10775 wxPyEndAllowThreads(__tstate);
10776 if (PyErr_Occurred()) SWIG_fail;
10777 }
10778 Py_INCREF(Py_None); resultobj = Py_None;
10779 return resultobj;
10780 fail:
10781 return NULL;
10782}
10783
10784
10785static PyObject *_wrap_Event_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
10786 PyObject *resultobj;
10787 wxEvent *arg1 = (wxEvent *) 0 ;
10788 long result;
10789 PyObject * obj0 = 0 ;
10790 char *kwnames[] = {
10791 (char *) "self", NULL
10792 };
10793
10794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail;
10795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10796 {
10797 PyThreadState* __tstate = wxPyBeginAllowThreads();
10798 result = (long)((wxEvent const *)arg1)->GetTimestamp();
10799
10800 wxPyEndAllowThreads(__tstate);
10801 if (PyErr_Occurred()) SWIG_fail;
10802 }
10803 resultobj = PyInt_FromLong((long)result);
10804 return resultobj;
10805 fail:
10806 return NULL;
10807}
10808
10809
10810static PyObject *_wrap_Event_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
10811 PyObject *resultobj;
10812 wxEvent *arg1 = (wxEvent *) 0 ;
10813 long arg2 = (long) 0 ;
10814 PyObject * obj0 = 0 ;
10815 char *kwnames[] = {
10816 (char *) "self",(char *) "ts", NULL
10817 };
10818
10819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:Event_SetTimestamp",kwnames,&obj0,&arg2)) goto fail;
10820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10821 {
10822 PyThreadState* __tstate = wxPyBeginAllowThreads();
10823 (arg1)->SetTimestamp(arg2);
10824
10825 wxPyEndAllowThreads(__tstate);
10826 if (PyErr_Occurred()) SWIG_fail;
10827 }
10828 Py_INCREF(Py_None); resultobj = Py_None;
10829 return resultobj;
10830 fail:
10831 return NULL;
10832}
10833
10834
10835static PyObject *_wrap_Event_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
10836 PyObject *resultobj;
10837 wxEvent *arg1 = (wxEvent *) 0 ;
10838 int result;
10839 PyObject * obj0 = 0 ;
10840 char *kwnames[] = {
10841 (char *) "self", NULL
10842 };
10843
10844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail;
10845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10846 {
10847 PyThreadState* __tstate = wxPyBeginAllowThreads();
10848 result = (int)((wxEvent const *)arg1)->GetId();
10849
10850 wxPyEndAllowThreads(__tstate);
10851 if (PyErr_Occurred()) SWIG_fail;
10852 }
10853 resultobj = PyInt_FromLong((long)result);
10854 return resultobj;
10855 fail:
10856 return NULL;
10857}
10858
10859
10860static PyObject *_wrap_Event_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
10861 PyObject *resultobj;
10862 wxEvent *arg1 = (wxEvent *) 0 ;
10863 int arg2 ;
10864 PyObject * obj0 = 0 ;
10865 char *kwnames[] = {
10866 (char *) "self",(char *) "Id", NULL
10867 };
10868
10869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Event_SetId",kwnames,&obj0,&arg2)) goto fail;
10870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10871 {
10872 PyThreadState* __tstate = wxPyBeginAllowThreads();
10873 (arg1)->SetId(arg2);
10874
10875 wxPyEndAllowThreads(__tstate);
10876 if (PyErr_Occurred()) SWIG_fail;
10877 }
10878 Py_INCREF(Py_None); resultobj = Py_None;
10879 return resultobj;
10880 fail:
10881 return NULL;
10882}
10883
10884
10885static PyObject *_wrap_Event_IsCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10886 PyObject *resultobj;
10887 wxEvent *arg1 = (wxEvent *) 0 ;
10888 bool result;
10889 PyObject * obj0 = 0 ;
10890 char *kwnames[] = {
10891 (char *) "self", NULL
10892 };
10893
10894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_IsCommandEvent",kwnames,&obj0)) goto fail;
10895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10896 {
10897 PyThreadState* __tstate = wxPyBeginAllowThreads();
10898 result = (bool)((wxEvent const *)arg1)->IsCommandEvent();
10899
10900 wxPyEndAllowThreads(__tstate);
10901 if (PyErr_Occurred()) SWIG_fail;
10902 }
10903 resultobj = PyInt_FromLong((long)result);
10904 return resultobj;
10905 fail:
10906 return NULL;
10907}
10908
10909
10910static PyObject *_wrap_Event_Skip(PyObject *self, PyObject *args, PyObject *kwargs) {
10911 PyObject *resultobj;
10912 wxEvent *arg1 = (wxEvent *) 0 ;
e811c8ce 10913 bool arg2 = (bool) True ;
d14a1e28
RD
10914 PyObject * obj0 = 0 ;
10915 PyObject * obj1 = 0 ;
10916 char *kwnames[] = {
10917 (char *) "self",(char *) "skip", NULL
10918 };
10919
10920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail;
10921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10922 if (obj1) {
10923 arg2 = PyInt_AsLong(obj1) ? true : false;
10924 if (PyErr_Occurred()) SWIG_fail;
10925 }
10926 {
10927 PyThreadState* __tstate = wxPyBeginAllowThreads();
10928 (arg1)->Skip(arg2);
10929
10930 wxPyEndAllowThreads(__tstate);
10931 if (PyErr_Occurred()) SWIG_fail;
10932 }
10933 Py_INCREF(Py_None); resultobj = Py_None;
10934 return resultobj;
10935 fail:
10936 return NULL;
10937}
10938
10939
10940static PyObject *_wrap_Event_GetSkipped(PyObject *self, PyObject *args, PyObject *kwargs) {
10941 PyObject *resultobj;
10942 wxEvent *arg1 = (wxEvent *) 0 ;
10943 bool result;
10944 PyObject * obj0 = 0 ;
10945 char *kwnames[] = {
10946 (char *) "self", NULL
10947 };
10948
10949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail;
10950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10951 {
10952 PyThreadState* __tstate = wxPyBeginAllowThreads();
10953 result = (bool)((wxEvent const *)arg1)->GetSkipped();
10954
10955 wxPyEndAllowThreads(__tstate);
10956 if (PyErr_Occurred()) SWIG_fail;
10957 }
10958 resultobj = PyInt_FromLong((long)result);
10959 return resultobj;
10960 fail:
10961 return NULL;
10962}
10963
10964
10965static PyObject *_wrap_Event_ShouldPropagate(PyObject *self, PyObject *args, PyObject *kwargs) {
10966 PyObject *resultobj;
10967 wxEvent *arg1 = (wxEvent *) 0 ;
10968 bool result;
10969 PyObject * obj0 = 0 ;
10970 char *kwnames[] = {
10971 (char *) "self", NULL
10972 };
10973
10974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_ShouldPropagate",kwnames,&obj0)) goto fail;
10975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10976 {
10977 PyThreadState* __tstate = wxPyBeginAllowThreads();
10978 result = (bool)((wxEvent const *)arg1)->ShouldPropagate();
10979
10980 wxPyEndAllowThreads(__tstate);
10981 if (PyErr_Occurred()) SWIG_fail;
10982 }
10983 resultobj = PyInt_FromLong((long)result);
10984 return resultobj;
10985 fail:
10986 return NULL;
10987}
10988
10989
10990static PyObject *_wrap_Event_StopPropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
10991 PyObject *resultobj;
10992 wxEvent *arg1 = (wxEvent *) 0 ;
10993 int result;
10994 PyObject * obj0 = 0 ;
10995 char *kwnames[] = {
10996 (char *) "self", NULL
10997 };
10998
10999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",kwnames,&obj0)) goto fail;
11000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11001 {
11002 PyThreadState* __tstate = wxPyBeginAllowThreads();
11003 result = (int)(arg1)->StopPropagation();
11004
11005 wxPyEndAllowThreads(__tstate);
11006 if (PyErr_Occurred()) SWIG_fail;
11007 }
11008 resultobj = PyInt_FromLong((long)result);
11009 return resultobj;
11010 fail:
11011 return NULL;
11012}
11013
11014
11015static PyObject *_wrap_Event_ResumePropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
11016 PyObject *resultobj;
11017 wxEvent *arg1 = (wxEvent *) 0 ;
11018 int arg2 ;
11019 PyObject * obj0 = 0 ;
11020 char *kwnames[] = {
11021 (char *) "self",(char *) "propagationLevel", NULL
11022 };
11023
11024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Event_ResumePropagation",kwnames,&obj0,&arg2)) goto fail;
11025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11026 {
11027 PyThreadState* __tstate = wxPyBeginAllowThreads();
11028 (arg1)->ResumePropagation(arg2);
11029
11030 wxPyEndAllowThreads(__tstate);
11031 if (PyErr_Occurred()) SWIG_fail;
11032 }
11033 Py_INCREF(Py_None); resultobj = Py_None;
11034 return resultobj;
11035 fail:
11036 return NULL;
11037}
11038
11039
11040static PyObject *_wrap_Event_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
11041 PyObject *resultobj;
11042 wxEvent *arg1 = (wxEvent *) 0 ;
11043 wxEvent *result;
11044 PyObject * obj0 = 0 ;
11045 char *kwnames[] = {
11046 (char *) "self", NULL
11047 };
11048
11049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail;
11050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11051 {
11052 PyThreadState* __tstate = wxPyBeginAllowThreads();
11053 result = (wxEvent *)(arg1)->Clone();
11054
11055 wxPyEndAllowThreads(__tstate);
11056 if (PyErr_Occurred()) SWIG_fail;
11057 }
11058 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEvent, 0);
11059 return resultobj;
11060 fail:
11061 return NULL;
11062}
11063
11064
11065static PyObject * Event_swigregister(PyObject *self, PyObject *args) {
11066 PyObject *obj;
11067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11068 SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj);
11069 Py_INCREF(obj);
11070 return Py_BuildValue((char *)"");
11071}
11072static PyObject *_wrap_new_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
11073 PyObject *resultobj;
11074 wxEvent *arg1 = 0 ;
11075 wxPropagationDisabler *result;
11076 PyObject * obj0 = 0 ;
11077 char *kwnames[] = {
11078 (char *) "event", NULL
11079 };
11080
11081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail;
11082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11083 if (arg1 == NULL) {
11084 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11085 }
11086 {
11087 PyThreadState* __tstate = wxPyBeginAllowThreads();
11088 result = (wxPropagationDisabler *)new wxPropagationDisabler(*arg1);
11089
11090 wxPyEndAllowThreads(__tstate);
11091 if (PyErr_Occurred()) SWIG_fail;
11092 }
11093 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPropagationDisabler, 1);
11094 return resultobj;
11095 fail:
11096 return NULL;
11097}
11098
11099
11100static PyObject *_wrap_delete_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
11101 PyObject *resultobj;
11102 wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
11103 PyObject * obj0 = 0 ;
11104 char *kwnames[] = {
11105 (char *) "self", NULL
11106 };
11107
11108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail;
11109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPropagationDisabler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11110 {
11111 PyThreadState* __tstate = wxPyBeginAllowThreads();
11112 delete arg1;
11113
11114 wxPyEndAllowThreads(__tstate);
11115 if (PyErr_Occurred()) SWIG_fail;
11116 }
11117 Py_INCREF(Py_None); resultobj = Py_None;
11118 return resultobj;
11119 fail:
11120 return NULL;
11121}
11122
11123
11124static PyObject * PropagationDisabler_swigregister(PyObject *self, PyObject *args) {
11125 PyObject *obj;
11126 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11127 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj);
11128 Py_INCREF(obj);
11129 return Py_BuildValue((char *)"");
11130}
11131static PyObject *_wrap_new_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
11132 PyObject *resultobj;
11133 wxEvent *arg1 = 0 ;
11134 wxPropagateOnce *result;
11135 PyObject * obj0 = 0 ;
11136 char *kwnames[] = {
11137 (char *) "event", NULL
11138 };
11139
11140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail;
11141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11142 if (arg1 == NULL) {
11143 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11144 }
11145 {
11146 PyThreadState* __tstate = wxPyBeginAllowThreads();
11147 result = (wxPropagateOnce *)new wxPropagateOnce(*arg1);
11148
11149 wxPyEndAllowThreads(__tstate);
11150 if (PyErr_Occurred()) SWIG_fail;
11151 }
11152 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPropagateOnce, 1);
11153 return resultobj;
11154 fail:
11155 return NULL;
11156}
11157
11158
11159static PyObject *_wrap_delete_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
11160 PyObject *resultobj;
11161 wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
11162 PyObject * obj0 = 0 ;
11163 char *kwnames[] = {
11164 (char *) "self", NULL
11165 };
11166
11167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail;
11168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPropagateOnce,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11169 {
11170 PyThreadState* __tstate = wxPyBeginAllowThreads();
11171 delete arg1;
11172
11173 wxPyEndAllowThreads(__tstate);
11174 if (PyErr_Occurred()) SWIG_fail;
11175 }
11176 Py_INCREF(Py_None); resultobj = Py_None;
11177 return resultobj;
11178 fail:
11179 return NULL;
11180}
11181
11182
11183static PyObject * PropagateOnce_swigregister(PyObject *self, PyObject *args) {
11184 PyObject *obj;
11185 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11186 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj);
11187 Py_INCREF(obj);
11188 return Py_BuildValue((char *)"");
11189}
11190static PyObject *_wrap_new_CommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11191 PyObject *resultobj;
11192 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11193 int arg2 = (int) 0 ;
11194 wxCommandEvent *result;
11195 char *kwnames[] = {
11196 (char *) "commandType",(char *) "winid", NULL
11197 };
11198
11199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_CommandEvent",kwnames,&arg1,&arg2)) goto fail;
11200 {
11201 PyThreadState* __tstate = wxPyBeginAllowThreads();
11202 result = (wxCommandEvent *)new wxCommandEvent(arg1,arg2);
11203
11204 wxPyEndAllowThreads(__tstate);
11205 if (PyErr_Occurred()) SWIG_fail;
11206 }
11207 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCommandEvent, 1);
11208 return resultobj;
11209 fail:
11210 return NULL;
11211}
11212
11213
11214static PyObject *_wrap_CommandEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11215 PyObject *resultobj;
11216 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11217 int result;
11218 PyObject * obj0 = 0 ;
11219 char *kwnames[] = {
11220 (char *) "self", NULL
11221 };
11222
11223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail;
11224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11225 {
11226 PyThreadState* __tstate = wxPyBeginAllowThreads();
11227 result = (int)((wxCommandEvent const *)arg1)->GetSelection();
11228
11229 wxPyEndAllowThreads(__tstate);
11230 if (PyErr_Occurred()) SWIG_fail;
11231 }
11232 resultobj = PyInt_FromLong((long)result);
11233 return resultobj;
11234 fail:
11235 return NULL;
11236}
11237
11238
11239static PyObject *_wrap_CommandEvent_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11240 PyObject *resultobj;
11241 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11242 wxString *arg2 = 0 ;
e811c8ce 11243 bool temp2 = False ;
d14a1e28
RD
11244 PyObject * obj0 = 0 ;
11245 PyObject * obj1 = 0 ;
11246 char *kwnames[] = {
11247 (char *) "self",(char *) "s", NULL
11248 };
11249
11250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail;
11251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11252 {
11253 arg2 = wxString_in_helper(obj1);
11254 if (arg2 == NULL) SWIG_fail;
e811c8ce 11255 temp2 = True;
d14a1e28
RD
11256 }
11257 {
11258 PyThreadState* __tstate = wxPyBeginAllowThreads();
11259 (arg1)->SetString((wxString const &)*arg2);
11260
11261 wxPyEndAllowThreads(__tstate);
11262 if (PyErr_Occurred()) SWIG_fail;
11263 }
11264 Py_INCREF(Py_None); resultobj = Py_None;
11265 {
11266 if (temp2)
11267 delete arg2;
11268 }
11269 return resultobj;
11270 fail:
11271 {
11272 if (temp2)
11273 delete arg2;
11274 }
11275 return NULL;
11276}
11277
11278
11279static PyObject *_wrap_CommandEvent_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11280 PyObject *resultobj;
11281 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11282 wxString result;
11283 PyObject * obj0 = 0 ;
11284 char *kwnames[] = {
11285 (char *) "self", NULL
11286 };
11287
11288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) goto fail;
11289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11290 {
11291 PyThreadState* __tstate = wxPyBeginAllowThreads();
11292 result = ((wxCommandEvent const *)arg1)->GetString();
11293
11294 wxPyEndAllowThreads(__tstate);
11295 if (PyErr_Occurred()) SWIG_fail;
11296 }
11297 {
11298#if wxUSE_UNICODE
11299 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11300#else
11301 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11302#endif
11303 }
11304 return resultobj;
11305 fail:
11306 return NULL;
11307}
11308
11309
11310static PyObject *_wrap_CommandEvent_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
11311 PyObject *resultobj;
11312 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11313 bool result;
11314 PyObject * obj0 = 0 ;
11315 char *kwnames[] = {
11316 (char *) "self", NULL
11317 };
11318
11319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsChecked",kwnames,&obj0)) goto fail;
11320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11321 {
11322 PyThreadState* __tstate = wxPyBeginAllowThreads();
11323 result = (bool)((wxCommandEvent const *)arg1)->IsChecked();
11324
11325 wxPyEndAllowThreads(__tstate);
11326 if (PyErr_Occurred()) SWIG_fail;
11327 }
11328 resultobj = PyInt_FromLong((long)result);
11329 return resultobj;
11330 fail:
11331 return NULL;
11332}
11333
11334
11335static PyObject *_wrap_CommandEvent_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11336 PyObject *resultobj;
11337 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11338 bool result;
11339 PyObject * obj0 = 0 ;
11340 char *kwnames[] = {
11341 (char *) "self", NULL
11342 };
11343
11344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail;
11345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11346 {
11347 PyThreadState* __tstate = wxPyBeginAllowThreads();
11348 result = (bool)((wxCommandEvent const *)arg1)->IsSelection();
11349
11350 wxPyEndAllowThreads(__tstate);
11351 if (PyErr_Occurred()) SWIG_fail;
11352 }
11353 resultobj = PyInt_FromLong((long)result);
11354 return resultobj;
11355 fail:
11356 return NULL;
11357}
11358
11359
11360static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
11361 PyObject *resultobj;
11362 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11363 long arg2 ;
11364 PyObject * obj0 = 0 ;
11365 char *kwnames[] = {
11366 (char *) "self",(char *) "extraLong", NULL
11367 };
11368
11369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:CommandEvent_SetExtraLong",kwnames,&obj0,&arg2)) goto fail;
11370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11371 {
11372 PyThreadState* __tstate = wxPyBeginAllowThreads();
11373 (arg1)->SetExtraLong(arg2);
11374
11375 wxPyEndAllowThreads(__tstate);
11376 if (PyErr_Occurred()) SWIG_fail;
11377 }
11378 Py_INCREF(Py_None); resultobj = Py_None;
11379 return resultobj;
11380 fail:
11381 return NULL;
11382}
11383
11384
11385static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
11386 PyObject *resultobj;
11387 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11388 long result;
11389 PyObject * obj0 = 0 ;
11390 char *kwnames[] = {
11391 (char *) "self", NULL
11392 };
11393
11394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail;
11395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11396 {
11397 PyThreadState* __tstate = wxPyBeginAllowThreads();
11398 result = (long)((wxCommandEvent const *)arg1)->GetExtraLong();
11399
11400 wxPyEndAllowThreads(__tstate);
11401 if (PyErr_Occurred()) SWIG_fail;
11402 }
11403 resultobj = PyInt_FromLong((long)result);
11404 return resultobj;
11405 fail:
11406 return NULL;
11407}
11408
11409
11410static PyObject *_wrap_CommandEvent_SetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
11411 PyObject *resultobj;
11412 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11413 int arg2 ;
11414 PyObject * obj0 = 0 ;
11415 char *kwnames[] = {
11416 (char *) "self",(char *) "i", NULL
11417 };
11418
11419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CommandEvent_SetInt",kwnames,&obj0,&arg2)) goto fail;
11420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11421 {
11422 PyThreadState* __tstate = wxPyBeginAllowThreads();
11423 (arg1)->SetInt(arg2);
11424
11425 wxPyEndAllowThreads(__tstate);
11426 if (PyErr_Occurred()) SWIG_fail;
11427 }
11428 Py_INCREF(Py_None); resultobj = Py_None;
11429 return resultobj;
11430 fail:
11431 return NULL;
11432}
11433
11434
11435static PyObject *_wrap_CommandEvent_GetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
11436 PyObject *resultobj;
11437 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11438 long result;
11439 PyObject * obj0 = 0 ;
11440 char *kwnames[] = {
11441 (char *) "self", NULL
11442 };
11443
11444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail;
11445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11446 {
11447 PyThreadState* __tstate = wxPyBeginAllowThreads();
11448 result = (long)((wxCommandEvent const *)arg1)->GetInt();
11449
11450 wxPyEndAllowThreads(__tstate);
11451 if (PyErr_Occurred()) SWIG_fail;
11452 }
11453 resultobj = PyInt_FromLong((long)result);
11454 return resultobj;
11455 fail:
11456 return NULL;
11457}
11458
11459
11460static PyObject *_wrap_CommandEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
11461 PyObject *resultobj;
11462 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11463 wxEvent *result;
11464 PyObject * obj0 = 0 ;
11465 char *kwnames[] = {
11466 (char *) "self", NULL
11467 };
11468
11469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail;
11470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11471 {
11472 PyThreadState* __tstate = wxPyBeginAllowThreads();
11473 result = (wxEvent *)((wxCommandEvent const *)arg1)->Clone();
11474
11475 wxPyEndAllowThreads(__tstate);
11476 if (PyErr_Occurred()) SWIG_fail;
11477 }
11478 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEvent, 0);
11479 return resultobj;
11480 fail:
11481 return NULL;
11482}
11483
11484
11485static PyObject * CommandEvent_swigregister(PyObject *self, PyObject *args) {
11486 PyObject *obj;
11487 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11488 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj);
11489 Py_INCREF(obj);
11490 return Py_BuildValue((char *)"");
11491}
11492static PyObject *_wrap_new_NotifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11493 PyObject *resultobj;
11494 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11495 int arg2 = (int) 0 ;
11496 wxNotifyEvent *result;
11497 char *kwnames[] = {
11498 (char *) "commandType",(char *) "winid", NULL
11499 };
11500
11501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_NotifyEvent",kwnames,&arg1,&arg2)) goto fail;
11502 {
11503 PyThreadState* __tstate = wxPyBeginAllowThreads();
11504 result = (wxNotifyEvent *)new wxNotifyEvent(arg1,arg2);
11505
11506 wxPyEndAllowThreads(__tstate);
11507 if (PyErr_Occurred()) SWIG_fail;
11508 }
11509 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotifyEvent, 1);
11510 return resultobj;
11511 fail:
11512 return NULL;
11513}
11514
11515
11516static PyObject *_wrap_NotifyEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
11517 PyObject *resultobj;
11518 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
11519 PyObject * obj0 = 0 ;
11520 char *kwnames[] = {
11521 (char *) "self", NULL
11522 };
11523
11524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail;
11525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotifyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11526 {
11527 PyThreadState* __tstate = wxPyBeginAllowThreads();
11528 (arg1)->Veto();
11529
11530 wxPyEndAllowThreads(__tstate);
11531 if (PyErr_Occurred()) SWIG_fail;
11532 }
11533 Py_INCREF(Py_None); resultobj = Py_None;
11534 return resultobj;
11535 fail:
11536 return NULL;
11537}
11538
11539
11540static PyObject *_wrap_NotifyEvent_Allow(PyObject *self, PyObject *args, PyObject *kwargs) {
11541 PyObject *resultobj;
11542 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
11543 PyObject * obj0 = 0 ;
11544 char *kwnames[] = {
11545 (char *) "self", NULL
11546 };
11547
11548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail;
11549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotifyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11550 {
11551 PyThreadState* __tstate = wxPyBeginAllowThreads();
11552 (arg1)->Allow();
11553
11554 wxPyEndAllowThreads(__tstate);
11555 if (PyErr_Occurred()) SWIG_fail;
11556 }
11557 Py_INCREF(Py_None); resultobj = Py_None;
11558 return resultobj;
11559 fail:
11560 return NULL;
11561}
11562
11563
11564static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
11565 PyObject *resultobj;
11566 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
11567 bool result;
11568 PyObject * obj0 = 0 ;
11569 char *kwnames[] = {
11570 (char *) "self", NULL
11571 };
11572
11573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail;
11574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotifyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11575 {
11576 PyThreadState* __tstate = wxPyBeginAllowThreads();
11577 result = (bool)(arg1)->IsAllowed();
11578
11579 wxPyEndAllowThreads(__tstate);
11580 if (PyErr_Occurred()) SWIG_fail;
11581 }
11582 resultobj = PyInt_FromLong((long)result);
11583 return resultobj;
11584 fail:
11585 return NULL;
11586}
11587
11588
11589static PyObject * NotifyEvent_swigregister(PyObject *self, PyObject *args) {
11590 PyObject *obj;
11591 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11592 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj);
11593 Py_INCREF(obj);
11594 return Py_BuildValue((char *)"");
11595}
11596static PyObject *_wrap_new_ScrollEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11597 PyObject *resultobj;
11598 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11599 int arg2 = (int) 0 ;
11600 int arg3 = (int) 0 ;
11601 int arg4 = (int) 0 ;
11602 wxScrollEvent *result;
11603 char *kwnames[] = {
11604 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
11605 };
11606
11607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ScrollEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
11608 {
11609 PyThreadState* __tstate = wxPyBeginAllowThreads();
11610 result = (wxScrollEvent *)new wxScrollEvent(arg1,arg2,arg3,arg4);
11611
11612 wxPyEndAllowThreads(__tstate);
11613 if (PyErr_Occurred()) SWIG_fail;
11614 }
11615 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollEvent, 1);
11616 return resultobj;
11617 fail:
11618 return NULL;
11619}
11620
11621
11622static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
11623 PyObject *resultobj;
11624 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
11625 int result;
11626 PyObject * obj0 = 0 ;
11627 char *kwnames[] = {
11628 (char *) "self", NULL
11629 };
11630
11631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail;
11632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11633 {
11634 PyThreadState* __tstate = wxPyBeginAllowThreads();
11635 result = (int)((wxScrollEvent const *)arg1)->GetOrientation();
11636
11637 wxPyEndAllowThreads(__tstate);
11638 if (PyErr_Occurred()) SWIG_fail;
11639 }
11640 resultobj = PyInt_FromLong((long)result);
11641 return resultobj;
11642 fail:
11643 return NULL;
11644}
11645
11646
11647static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11648 PyObject *resultobj;
11649 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
11650 int result;
11651 PyObject * obj0 = 0 ;
11652 char *kwnames[] = {
11653 (char *) "self", NULL
11654 };
11655
11656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail;
11657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11658 {
11659 PyThreadState* __tstate = wxPyBeginAllowThreads();
11660 result = (int)((wxScrollEvent const *)arg1)->GetPosition();
11661
11662 wxPyEndAllowThreads(__tstate);
11663 if (PyErr_Occurred()) SWIG_fail;
11664 }
11665 resultobj = PyInt_FromLong((long)result);
11666 return resultobj;
11667 fail:
11668 return NULL;
11669}
11670
11671
11672static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
11673 PyObject *resultobj;
11674 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
11675 int arg2 ;
11676 PyObject * obj0 = 0 ;
11677 char *kwnames[] = {
11678 (char *) "self",(char *) "orient", NULL
11679 };
11680
11681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
11682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11683 {
11684 PyThreadState* __tstate = wxPyBeginAllowThreads();
11685 (arg1)->SetOrientation(arg2);
11686
11687 wxPyEndAllowThreads(__tstate);
11688 if (PyErr_Occurred()) SWIG_fail;
11689 }
11690 Py_INCREF(Py_None); resultobj = Py_None;
11691 return resultobj;
11692 fail:
11693 return NULL;
11694}
11695
11696
11697static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11698 PyObject *resultobj;
11699 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
11700 int arg2 ;
11701 PyObject * obj0 = 0 ;
11702 char *kwnames[] = {
11703 (char *) "self",(char *) "pos", NULL
11704 };
11705
11706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollEvent_SetPosition",kwnames,&obj0,&arg2)) goto fail;
11707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11708 {
11709 PyThreadState* __tstate = wxPyBeginAllowThreads();
11710 (arg1)->SetPosition(arg2);
11711
11712 wxPyEndAllowThreads(__tstate);
11713 if (PyErr_Occurred()) SWIG_fail;
11714 }
11715 Py_INCREF(Py_None); resultobj = Py_None;
11716 return resultobj;
11717 fail:
11718 return NULL;
11719}
11720
11721
11722static PyObject * ScrollEvent_swigregister(PyObject *self, PyObject *args) {
11723 PyObject *obj;
11724 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11725 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj);
11726 Py_INCREF(obj);
11727 return Py_BuildValue((char *)"");
11728}
11729static PyObject *_wrap_new_ScrollWinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11730 PyObject *resultobj;
11731 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11732 int arg2 = (int) 0 ;
11733 int arg3 = (int) 0 ;
11734 wxScrollWinEvent *result;
11735 char *kwnames[] = {
11736 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
11737 };
11738
11739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iii:new_ScrollWinEvent",kwnames,&arg1,&arg2,&arg3)) goto fail;
11740 {
11741 PyThreadState* __tstate = wxPyBeginAllowThreads();
11742 result = (wxScrollWinEvent *)new wxScrollWinEvent(arg1,arg2,arg3);
11743
11744 wxPyEndAllowThreads(__tstate);
11745 if (PyErr_Occurred()) SWIG_fail;
11746 }
11747 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollWinEvent, 1);
11748 return resultobj;
11749 fail:
11750 return NULL;
11751}
11752
11753
11754static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
11755 PyObject *resultobj;
11756 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
11757 int result;
11758 PyObject * obj0 = 0 ;
11759 char *kwnames[] = {
11760 (char *) "self", NULL
11761 };
11762
11763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail;
11764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11765 {
11766 PyThreadState* __tstate = wxPyBeginAllowThreads();
11767 result = (int)((wxScrollWinEvent const *)arg1)->GetOrientation();
11768
11769 wxPyEndAllowThreads(__tstate);
11770 if (PyErr_Occurred()) SWIG_fail;
11771 }
11772 resultobj = PyInt_FromLong((long)result);
11773 return resultobj;
11774 fail:
11775 return NULL;
11776}
11777
11778
11779static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11780 PyObject *resultobj;
11781 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
11782 int result;
11783 PyObject * obj0 = 0 ;
11784 char *kwnames[] = {
11785 (char *) "self", NULL
11786 };
11787
11788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail;
11789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11790 {
11791 PyThreadState* __tstate = wxPyBeginAllowThreads();
11792 result = (int)((wxScrollWinEvent const *)arg1)->GetPosition();
11793
11794 wxPyEndAllowThreads(__tstate);
11795 if (PyErr_Occurred()) SWIG_fail;
11796 }
11797 resultobj = PyInt_FromLong((long)result);
11798 return resultobj;
11799 fail:
11800 return NULL;
11801}
11802
11803
11804static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
11805 PyObject *resultobj;
11806 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
11807 int arg2 ;
11808 PyObject * obj0 = 0 ;
11809 char *kwnames[] = {
11810 (char *) "self",(char *) "orient", NULL
11811 };
11812
11813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollWinEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
11814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11815 {
11816 PyThreadState* __tstate = wxPyBeginAllowThreads();
11817 (arg1)->SetOrientation(arg2);
11818
11819 wxPyEndAllowThreads(__tstate);
11820 if (PyErr_Occurred()) SWIG_fail;
11821 }
11822 Py_INCREF(Py_None); resultobj = Py_None;
11823 return resultobj;
11824 fail:
11825 return NULL;
11826}
11827
11828
11829static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11830 PyObject *resultobj;
11831 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
11832 int arg2 ;
11833 PyObject * obj0 = 0 ;
11834 char *kwnames[] = {
11835 (char *) "self",(char *) "pos", NULL
11836 };
11837
11838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollWinEvent_SetPosition",kwnames,&obj0,&arg2)) goto fail;
11839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11840 {
11841 PyThreadState* __tstate = wxPyBeginAllowThreads();
11842 (arg1)->SetPosition(arg2);
11843
11844 wxPyEndAllowThreads(__tstate);
11845 if (PyErr_Occurred()) SWIG_fail;
11846 }
11847 Py_INCREF(Py_None); resultobj = Py_None;
11848 return resultobj;
11849 fail:
11850 return NULL;
11851}
11852
11853
11854static PyObject * ScrollWinEvent_swigregister(PyObject *self, PyObject *args) {
11855 PyObject *obj;
11856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11857 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj);
11858 Py_INCREF(obj);
11859 return Py_BuildValue((char *)"");
11860}
11861static PyObject *_wrap_new_MouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11862 PyObject *resultobj;
11863 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11864 wxMouseEvent *result;
11865 char *kwnames[] = {
11866 (char *) "mouseType", NULL
11867 };
11868
11869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_MouseEvent",kwnames,&arg1)) goto fail;
11870 {
11871 PyThreadState* __tstate = wxPyBeginAllowThreads();
11872 result = (wxMouseEvent *)new wxMouseEvent(arg1);
11873
11874 wxPyEndAllowThreads(__tstate);
11875 if (PyErr_Occurred()) SWIG_fail;
11876 }
11877 {
11878 resultobj = wxPyMake_wxObject(result);
11879 }
11880 return resultobj;
11881 fail:
11882 return NULL;
11883}
11884
11885
11886static PyObject *_wrap_MouseEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11887 PyObject *resultobj;
11888 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
11889 bool result;
11890 PyObject * obj0 = 0 ;
11891 char *kwnames[] = {
11892 (char *) "self", NULL
11893 };
11894
11895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsButton",kwnames,&obj0)) goto fail;
11896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11897 {
11898 PyThreadState* __tstate = wxPyBeginAllowThreads();
11899 result = (bool)((wxMouseEvent const *)arg1)->IsButton();
11900
11901 wxPyEndAllowThreads(__tstate);
11902 if (PyErr_Occurred()) SWIG_fail;
11903 }
11904 resultobj = PyInt_FromLong((long)result);
11905 return resultobj;
11906 fail:
11907 return NULL;
11908}
11909
11910
11911static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11912 PyObject *resultobj;
11913 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
11914 int arg2 = (int) wxMOUSE_BTN_ANY ;
11915 bool result;
11916 PyObject * obj0 = 0 ;
11917 char *kwnames[] = {
11918 (char *) "self",(char *) "but", NULL
11919 };
11920
11921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:MouseEvent_ButtonDown",kwnames,&obj0,&arg2)) goto fail;
11922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11923 {
11924 PyThreadState* __tstate = wxPyBeginAllowThreads();
11925 result = (bool)((wxMouseEvent const *)arg1)->ButtonDown(arg2);
11926
11927 wxPyEndAllowThreads(__tstate);
11928 if (PyErr_Occurred()) SWIG_fail;
11929 }
11930 resultobj = PyInt_FromLong((long)result);
11931 return resultobj;
11932 fail:
11933 return NULL;
11934}
11935
11936
11937static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11938 PyObject *resultobj;
11939 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
11940 int arg2 = (int) wxMOUSE_BTN_ANY ;
11941 bool result;
11942 PyObject * obj0 = 0 ;
11943 char *kwnames[] = {
11944 (char *) "self",(char *) "but", NULL
11945 };
11946
11947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:MouseEvent_ButtonDClick",kwnames,&obj0,&arg2)) goto fail;
11948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11949 {
11950 PyThreadState* __tstate = wxPyBeginAllowThreads();
11951 result = (bool)((wxMouseEvent const *)arg1)->ButtonDClick(arg2);
11952
11953 wxPyEndAllowThreads(__tstate);
11954 if (PyErr_Occurred()) SWIG_fail;
11955 }
11956 resultobj = PyInt_FromLong((long)result);
11957 return resultobj;
11958 fail:
11959 return NULL;
11960}
11961
11962
11963static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
11964 PyObject *resultobj;
11965 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
11966 int arg2 = (int) wxMOUSE_BTN_ANY ;
11967 bool result;
11968 PyObject * obj0 = 0 ;
11969 char *kwnames[] = {
11970 (char *) "self",(char *) "but", NULL
11971 };
11972
11973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:MouseEvent_ButtonUp",kwnames,&obj0,&arg2)) goto fail;
11974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11975 {
11976 PyThreadState* __tstate = wxPyBeginAllowThreads();
11977 result = (bool)((wxMouseEvent const *)arg1)->ButtonUp(arg2);
11978
11979 wxPyEndAllowThreads(__tstate);
11980 if (PyErr_Occurred()) SWIG_fail;
11981 }
11982 resultobj = PyInt_FromLong((long)result);
11983 return resultobj;
11984 fail:
11985 return NULL;
11986}
11987
11988
11989static PyObject *_wrap_MouseEvent_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
11990 PyObject *resultobj;
11991 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
11992 int arg2 ;
11993 bool result;
11994 PyObject * obj0 = 0 ;
11995 char *kwnames[] = {
11996 (char *) "self",(char *) "but", NULL
11997 };
11998
11999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_Button",kwnames,&obj0,&arg2)) goto fail;
12000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12001 {
12002 PyThreadState* __tstate = wxPyBeginAllowThreads();
12003 result = (bool)((wxMouseEvent const *)arg1)->Button(arg2);
12004
12005 wxPyEndAllowThreads(__tstate);
12006 if (PyErr_Occurred()) SWIG_fail;
12007 }
12008 resultobj = PyInt_FromLong((long)result);
12009 return resultobj;
12010 fail:
12011 return NULL;
12012}
12013
12014
12015static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12016 PyObject *resultobj;
12017 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12018 int arg2 ;
12019 bool result;
12020 PyObject * obj0 = 0 ;
12021 char *kwnames[] = {
12022 (char *) "self",(char *) "but", NULL
12023 };
12024
12025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_ButtonIsDown",kwnames,&obj0,&arg2)) goto fail;
12026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12027 {
12028 PyThreadState* __tstate = wxPyBeginAllowThreads();
12029 result = (bool)((wxMouseEvent const *)arg1)->ButtonIsDown(arg2);
12030
12031 wxPyEndAllowThreads(__tstate);
12032 if (PyErr_Occurred()) SWIG_fail;
12033 }
12034 resultobj = PyInt_FromLong((long)result);
12035 return resultobj;
12036 fail:
12037 return NULL;
12038}
12039
12040
12041static PyObject *_wrap_MouseEvent_GetButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12042 PyObject *resultobj;
12043 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12044 int result;
12045 PyObject * obj0 = 0 ;
12046 char *kwnames[] = {
12047 (char *) "self", NULL
12048 };
12049
12050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail;
12051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12052 {
12053 PyThreadState* __tstate = wxPyBeginAllowThreads();
12054 result = (int)((wxMouseEvent const *)arg1)->GetButton();
12055
12056 wxPyEndAllowThreads(__tstate);
12057 if (PyErr_Occurred()) SWIG_fail;
12058 }
12059 resultobj = PyInt_FromLong((long)result);
12060 return resultobj;
12061 fail:
12062 return NULL;
12063}
12064
12065
12066static PyObject *_wrap_MouseEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12067 PyObject *resultobj;
12068 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12069 bool result;
12070 PyObject * obj0 = 0 ;
12071 char *kwnames[] = {
12072 (char *) "self", NULL
12073 };
12074
12075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail;
12076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12077 {
12078 PyThreadState* __tstate = wxPyBeginAllowThreads();
12079 result = (bool)((wxMouseEvent const *)arg1)->ControlDown();
12080
12081 wxPyEndAllowThreads(__tstate);
12082 if (PyErr_Occurred()) SWIG_fail;
12083 }
12084 resultobj = PyInt_FromLong((long)result);
12085 return resultobj;
12086 fail:
12087 return NULL;
12088}
12089
12090
12091static PyObject *_wrap_MouseEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12092 PyObject *resultobj;
12093 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12094 bool result;
12095 PyObject * obj0 = 0 ;
12096 char *kwnames[] = {
12097 (char *) "self", NULL
12098 };
12099
12100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail;
12101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12102 {
12103 PyThreadState* __tstate = wxPyBeginAllowThreads();
12104 result = (bool)((wxMouseEvent const *)arg1)->MetaDown();
12105
12106 wxPyEndAllowThreads(__tstate);
12107 if (PyErr_Occurred()) SWIG_fail;
12108 }
12109 resultobj = PyInt_FromLong((long)result);
12110 return resultobj;
12111 fail:
12112 return NULL;
12113}
12114
12115
12116static PyObject *_wrap_MouseEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12117 PyObject *resultobj;
12118 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12119 bool result;
12120 PyObject * obj0 = 0 ;
12121 char *kwnames[] = {
12122 (char *) "self", NULL
12123 };
12124
12125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_AltDown",kwnames,&obj0)) goto fail;
12126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12127 {
12128 PyThreadState* __tstate = wxPyBeginAllowThreads();
12129 result = (bool)((wxMouseEvent const *)arg1)->AltDown();
12130
12131 wxPyEndAllowThreads(__tstate);
12132 if (PyErr_Occurred()) SWIG_fail;
12133 }
12134 resultobj = PyInt_FromLong((long)result);
12135 return resultobj;
12136 fail:
12137 return NULL;
12138}
12139
12140
12141static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12142 PyObject *resultobj;
12143 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12144 bool result;
12145 PyObject * obj0 = 0 ;
12146 char *kwnames[] = {
12147 (char *) "self", NULL
12148 };
12149
12150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ShiftDown",kwnames,&obj0)) goto fail;
12151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12152 {
12153 PyThreadState* __tstate = wxPyBeginAllowThreads();
12154 result = (bool)((wxMouseEvent const *)arg1)->ShiftDown();
12155
12156 wxPyEndAllowThreads(__tstate);
12157 if (PyErr_Occurred()) SWIG_fail;
12158 }
12159 resultobj = PyInt_FromLong((long)result);
12160 return resultobj;
12161 fail:
12162 return NULL;
12163}
12164
12165
12166static PyObject *_wrap_MouseEvent_LeftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12167 PyObject *resultobj;
12168 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12169 bool result;
12170 PyObject * obj0 = 0 ;
12171 char *kwnames[] = {
12172 (char *) "self", NULL
12173 };
12174
12175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDown",kwnames,&obj0)) goto fail;
12176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12177 {
12178 PyThreadState* __tstate = wxPyBeginAllowThreads();
12179 result = (bool)((wxMouseEvent const *)arg1)->LeftDown();
12180
12181 wxPyEndAllowThreads(__tstate);
12182 if (PyErr_Occurred()) SWIG_fail;
12183 }
12184 resultobj = PyInt_FromLong((long)result);
12185 return resultobj;
12186 fail:
12187 return NULL;
12188}
12189
12190
12191static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12192 PyObject *resultobj;
12193 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12194 bool result;
12195 PyObject * obj0 = 0 ;
12196 char *kwnames[] = {
12197 (char *) "self", NULL
12198 };
12199
12200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDown",kwnames,&obj0)) goto fail;
12201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12202 {
12203 PyThreadState* __tstate = wxPyBeginAllowThreads();
12204 result = (bool)((wxMouseEvent const *)arg1)->MiddleDown();
12205
12206 wxPyEndAllowThreads(__tstate);
12207 if (PyErr_Occurred()) SWIG_fail;
12208 }
12209 resultobj = PyInt_FromLong((long)result);
12210 return resultobj;
12211 fail:
12212 return NULL;
12213}
12214
12215
12216static PyObject *_wrap_MouseEvent_RightDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12217 PyObject *resultobj;
12218 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12219 bool result;
12220 PyObject * obj0 = 0 ;
12221 char *kwnames[] = {
12222 (char *) "self", NULL
12223 };
12224
12225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDown",kwnames,&obj0)) goto fail;
12226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12227 {
12228 PyThreadState* __tstate = wxPyBeginAllowThreads();
12229 result = (bool)((wxMouseEvent const *)arg1)->RightDown();
12230
12231 wxPyEndAllowThreads(__tstate);
12232 if (PyErr_Occurred()) SWIG_fail;
12233 }
12234 resultobj = PyInt_FromLong((long)result);
12235 return resultobj;
12236 fail:
12237 return NULL;
12238}
12239
12240
12241static PyObject *_wrap_MouseEvent_LeftUp(PyObject *self, PyObject *args, PyObject *kwargs) {
12242 PyObject *resultobj;
12243 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12244 bool result;
12245 PyObject * obj0 = 0 ;
12246 char *kwnames[] = {
12247 (char *) "self", NULL
12248 };
12249
12250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftUp",kwnames,&obj0)) goto fail;
12251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12252 {
12253 PyThreadState* __tstate = wxPyBeginAllowThreads();
12254 result = (bool)((wxMouseEvent const *)arg1)->LeftUp();
12255
12256 wxPyEndAllowThreads(__tstate);
12257 if (PyErr_Occurred()) SWIG_fail;
12258 }
12259 resultobj = PyInt_FromLong((long)result);
12260 return resultobj;
12261 fail:
12262 return NULL;
12263}
12264
12265
12266static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *self, PyObject *args, PyObject *kwargs) {
12267 PyObject *resultobj;
12268 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12269 bool result;
12270 PyObject * obj0 = 0 ;
12271 char *kwnames[] = {
12272 (char *) "self", NULL
12273 };
12274
12275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleUp",kwnames,&obj0)) goto fail;
12276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12277 {
12278 PyThreadState* __tstate = wxPyBeginAllowThreads();
12279 result = (bool)((wxMouseEvent const *)arg1)->MiddleUp();
12280
12281 wxPyEndAllowThreads(__tstate);
12282 if (PyErr_Occurred()) SWIG_fail;
12283 }
12284 resultobj = PyInt_FromLong((long)result);
12285 return resultobj;
12286 fail:
12287 return NULL;
12288}
12289
12290
12291static PyObject *_wrap_MouseEvent_RightUp(PyObject *self, PyObject *args, PyObject *kwargs) {
12292 PyObject *resultobj;
12293 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12294 bool result;
12295 PyObject * obj0 = 0 ;
12296 char *kwnames[] = {
12297 (char *) "self", NULL
12298 };
12299
12300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightUp",kwnames,&obj0)) goto fail;
12301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12302 {
12303 PyThreadState* __tstate = wxPyBeginAllowThreads();
12304 result = (bool)((wxMouseEvent const *)arg1)->RightUp();
12305
12306 wxPyEndAllowThreads(__tstate);
12307 if (PyErr_Occurred()) SWIG_fail;
12308 }
12309 resultobj = PyInt_FromLong((long)result);
12310 return resultobj;
12311 fail:
12312 return NULL;
12313}
12314
12315
12316static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12317 PyObject *resultobj;
12318 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12319 bool result;
12320 PyObject * obj0 = 0 ;
12321 char *kwnames[] = {
12322 (char *) "self", NULL
12323 };
12324
12325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDClick",kwnames,&obj0)) goto fail;
12326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12327 {
12328 PyThreadState* __tstate = wxPyBeginAllowThreads();
12329 result = (bool)((wxMouseEvent const *)arg1)->LeftDClick();
12330
12331 wxPyEndAllowThreads(__tstate);
12332 if (PyErr_Occurred()) SWIG_fail;
12333 }
12334 resultobj = PyInt_FromLong((long)result);
12335 return resultobj;
12336 fail:
12337 return NULL;
12338}
12339
12340
12341static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12342 PyObject *resultobj;
12343 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12344 bool result;
12345 PyObject * obj0 = 0 ;
12346 char *kwnames[] = {
12347 (char *) "self", NULL
12348 };
12349
12350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDClick",kwnames,&obj0)) goto fail;
12351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12352 {
12353 PyThreadState* __tstate = wxPyBeginAllowThreads();
12354 result = (bool)((wxMouseEvent const *)arg1)->MiddleDClick();
12355
12356 wxPyEndAllowThreads(__tstate);
12357 if (PyErr_Occurred()) SWIG_fail;
12358 }
12359 resultobj = PyInt_FromLong((long)result);
12360 return resultobj;
12361 fail:
12362 return NULL;
12363}
12364
12365
12366static PyObject *_wrap_MouseEvent_RightDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12367 PyObject *resultobj;
12368 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12369 bool result;
12370 PyObject * obj0 = 0 ;
12371 char *kwnames[] = {
12372 (char *) "self", NULL
12373 };
12374
12375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDClick",kwnames,&obj0)) goto fail;
12376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12377 {
12378 PyThreadState* __tstate = wxPyBeginAllowThreads();
12379 result = (bool)((wxMouseEvent const *)arg1)->RightDClick();
12380
12381 wxPyEndAllowThreads(__tstate);
12382 if (PyErr_Occurred()) SWIG_fail;
12383 }
12384 resultobj = PyInt_FromLong((long)result);
12385 return resultobj;
12386 fail:
12387 return NULL;
12388}
12389
12390
12391static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12392 PyObject *resultobj;
12393 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12394 bool result;
12395 PyObject * obj0 = 0 ;
12396 char *kwnames[] = {
12397 (char *) "self", NULL
12398 };
12399
12400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftIsDown",kwnames,&obj0)) goto fail;
12401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12402 {
12403 PyThreadState* __tstate = wxPyBeginAllowThreads();
12404 result = (bool)(arg1)->LeftIsDown();
12405
12406 wxPyEndAllowThreads(__tstate);
12407 if (PyErr_Occurred()) SWIG_fail;
12408 }
12409 resultobj = PyInt_FromLong((long)result);
12410 return resultobj;
12411 fail:
12412 return NULL;
12413}
12414
12415
12416static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12417 PyObject *resultobj;
12418 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12419 bool result;
12420 PyObject * obj0 = 0 ;
12421 char *kwnames[] = {
12422 (char *) "self", NULL
12423 };
12424
12425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail;
12426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12427 {
12428 PyThreadState* __tstate = wxPyBeginAllowThreads();
12429 result = (bool)(arg1)->MiddleIsDown();
12430
12431 wxPyEndAllowThreads(__tstate);
12432 if (PyErr_Occurred()) SWIG_fail;
12433 }
12434 resultobj = PyInt_FromLong((long)result);
12435 return resultobj;
12436 fail:
12437 return NULL;
12438}
12439
12440
12441static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12442 PyObject *resultobj;
12443 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12444 bool result;
12445 PyObject * obj0 = 0 ;
12446 char *kwnames[] = {
12447 (char *) "self", NULL
12448 };
12449
12450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightIsDown",kwnames,&obj0)) goto fail;
12451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12452 {
12453 PyThreadState* __tstate = wxPyBeginAllowThreads();
12454 result = (bool)(arg1)->RightIsDown();
12455
12456 wxPyEndAllowThreads(__tstate);
12457 if (PyErr_Occurred()) SWIG_fail;
12458 }
12459 resultobj = PyInt_FromLong((long)result);
12460 return resultobj;
12461 fail:
12462 return NULL;
12463}
12464
12465
12466static PyObject *_wrap_MouseEvent_Dragging(PyObject *self, PyObject *args, PyObject *kwargs) {
12467 PyObject *resultobj;
12468 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12469 bool result;
12470 PyObject * obj0 = 0 ;
12471 char *kwnames[] = {
12472 (char *) "self", NULL
12473 };
12474
12475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Dragging",kwnames,&obj0)) goto fail;
12476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12477 {
12478 PyThreadState* __tstate = wxPyBeginAllowThreads();
12479 result = (bool)((wxMouseEvent const *)arg1)->Dragging();
12480
12481 wxPyEndAllowThreads(__tstate);
12482 if (PyErr_Occurred()) SWIG_fail;
12483 }
12484 resultobj = PyInt_FromLong((long)result);
12485 return resultobj;
12486 fail:
12487 return NULL;
12488}
12489
12490
12491static PyObject *_wrap_MouseEvent_Moving(PyObject *self, PyObject *args, PyObject *kwargs) {
12492 PyObject *resultobj;
12493 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12494 bool result;
12495 PyObject * obj0 = 0 ;
12496 char *kwnames[] = {
12497 (char *) "self", NULL
12498 };
12499
12500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Moving",kwnames,&obj0)) goto fail;
12501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12502 {
12503 PyThreadState* __tstate = wxPyBeginAllowThreads();
12504 result = (bool)((wxMouseEvent const *)arg1)->Moving();
12505
12506 wxPyEndAllowThreads(__tstate);
12507 if (PyErr_Occurred()) SWIG_fail;
12508 }
12509 resultobj = PyInt_FromLong((long)result);
12510 return resultobj;
12511 fail:
12512 return NULL;
12513}
12514
12515
12516static PyObject *_wrap_MouseEvent_Entering(PyObject *self, PyObject *args, PyObject *kwargs) {
12517 PyObject *resultobj;
12518 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12519 bool result;
12520 PyObject * obj0 = 0 ;
12521 char *kwnames[] = {
12522 (char *) "self", NULL
12523 };
12524
12525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Entering",kwnames,&obj0)) goto fail;
12526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12527 {
12528 PyThreadState* __tstate = wxPyBeginAllowThreads();
12529 result = (bool)((wxMouseEvent const *)arg1)->Entering();
12530
12531 wxPyEndAllowThreads(__tstate);
12532 if (PyErr_Occurred()) SWIG_fail;
12533 }
12534 resultobj = PyInt_FromLong((long)result);
12535 return resultobj;
12536 fail:
12537 return NULL;
12538}
12539
12540
12541static PyObject *_wrap_MouseEvent_Leaving(PyObject *self, PyObject *args, PyObject *kwargs) {
12542 PyObject *resultobj;
12543 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12544 bool result;
12545 PyObject * obj0 = 0 ;
12546 char *kwnames[] = {
12547 (char *) "self", NULL
12548 };
12549
12550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Leaving",kwnames,&obj0)) goto fail;
12551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12552 {
12553 PyThreadState* __tstate = wxPyBeginAllowThreads();
12554 result = (bool)((wxMouseEvent const *)arg1)->Leaving();
12555
12556 wxPyEndAllowThreads(__tstate);
12557 if (PyErr_Occurred()) SWIG_fail;
12558 }
12559 resultobj = PyInt_FromLong((long)result);
12560 return resultobj;
12561 fail:
12562 return NULL;
12563}
12564
12565
12566static PyObject *_wrap_MouseEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12567 PyObject *resultobj;
12568 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12569 wxPoint result;
12570 PyObject * obj0 = 0 ;
12571 char *kwnames[] = {
12572 (char *) "self", NULL
12573 };
12574
12575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",kwnames,&obj0)) goto fail;
12576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12577 {
12578 PyThreadState* __tstate = wxPyBeginAllowThreads();
12579 result = (arg1)->GetPosition();
12580
12581 wxPyEndAllowThreads(__tstate);
12582 if (PyErr_Occurred()) SWIG_fail;
12583 }
12584 {
12585 wxPoint * resultptr;
12586 resultptr = new wxPoint((wxPoint &) result);
12587 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
12588 }
12589 return resultobj;
12590 fail:
12591 return NULL;
12592}
12593
12594
12595static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
12596 PyObject *resultobj;
12597 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12598 long *arg2 = (long *) 0 ;
12599 long *arg3 = (long *) 0 ;
12600 long temp2 ;
12601 long temp3 ;
12602 PyObject * obj0 = 0 ;
12603 char *kwnames[] = {
12604 (char *) "self", NULL
12605 };
12606
12607 arg2 = &temp2;
12608 arg3 = &temp3;
12609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
12610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12611 {
12612 PyThreadState* __tstate = wxPyBeginAllowThreads();
12613 (arg1)->GetPosition(arg2,arg3);
12614
12615 wxPyEndAllowThreads(__tstate);
12616 if (PyErr_Occurred()) SWIG_fail;
12617 }
12618 Py_INCREF(Py_None); resultobj = Py_None;
12619 {
12620 PyObject *o = PyInt_FromLong((long) (*arg2));
12621 resultobj = t_output_helper(resultobj,o);
12622 }
12623 {
12624 PyObject *o = PyInt_FromLong((long) (*arg3));
12625 resultobj = t_output_helper(resultobj,o);
12626 }
12627 return resultobj;
12628 fail:
12629 return NULL;
12630}
12631
12632
12633static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12634 PyObject *resultobj;
12635 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12636 wxDC *arg2 = 0 ;
12637 wxPoint result;
12638 PyObject * obj0 = 0 ;
12639 PyObject * obj1 = 0 ;
12640 char *kwnames[] = {
12641 (char *) "self",(char *) "dc", NULL
12642 };
12643
12644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail;
12645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12646 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12647 if (arg2 == NULL) {
12648 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12649 }
12650 {
12651 PyThreadState* __tstate = wxPyBeginAllowThreads();
12652 result = ((wxMouseEvent const *)arg1)->GetLogicalPosition((wxDC const &)*arg2);
12653
12654 wxPyEndAllowThreads(__tstate);
12655 if (PyErr_Occurred()) SWIG_fail;
12656 }
12657 {
12658 wxPoint * resultptr;
12659 resultptr = new wxPoint((wxPoint &) result);
12660 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
12661 }
12662 return resultobj;
12663 fail:
12664 return NULL;
12665}
12666
12667
12668static PyObject *_wrap_MouseEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
12669 PyObject *resultobj;
12670 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 12671 int result;
d14a1e28
RD
12672 PyObject * obj0 = 0 ;
12673 char *kwnames[] = {
12674 (char *) "self", NULL
12675 };
12676
12677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail;
12678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12679 {
12680 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 12681 result = (int)((wxMouseEvent const *)arg1)->GetX();
d14a1e28
RD
12682
12683 wxPyEndAllowThreads(__tstate);
12684 if (PyErr_Occurred()) SWIG_fail;
12685 }
12686 resultobj = PyInt_FromLong((long)result);
12687 return resultobj;
12688 fail:
12689 return NULL;
12690}
12691
12692
12693static PyObject *_wrap_MouseEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
12694 PyObject *resultobj;
12695 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 12696 int result;
d14a1e28
RD
12697 PyObject * obj0 = 0 ;
12698 char *kwnames[] = {
12699 (char *) "self", NULL
12700 };
12701
12702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail;
12703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12704 {
12705 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 12706 result = (int)((wxMouseEvent const *)arg1)->GetY();
d14a1e28
RD
12707
12708 wxPyEndAllowThreads(__tstate);
12709 if (PyErr_Occurred()) SWIG_fail;
12710 }
12711 resultobj = PyInt_FromLong((long)result);
12712 return resultobj;
12713 fail:
12714 return NULL;
12715}
12716
12717
12718static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
12719 PyObject *resultobj;
12720 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12721 int result;
12722 PyObject * obj0 = 0 ;
12723 char *kwnames[] = {
12724 (char *) "self", NULL
12725 };
12726
12727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail;
12728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12729 {
12730 PyThreadState* __tstate = wxPyBeginAllowThreads();
12731 result = (int)((wxMouseEvent const *)arg1)->GetWheelRotation();
12732
12733 wxPyEndAllowThreads(__tstate);
12734 if (PyErr_Occurred()) SWIG_fail;
12735 }
12736 resultobj = PyInt_FromLong((long)result);
12737 return resultobj;
12738 fail:
12739 return NULL;
12740}
12741
12742
12743static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *self, PyObject *args, PyObject *kwargs) {
12744 PyObject *resultobj;
12745 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12746 int result;
12747 PyObject * obj0 = 0 ;
12748 char *kwnames[] = {
12749 (char *) "self", NULL
12750 };
12751
12752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail;
12753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12754 {
12755 PyThreadState* __tstate = wxPyBeginAllowThreads();
12756 result = (int)((wxMouseEvent const *)arg1)->GetWheelDelta();
12757
12758 wxPyEndAllowThreads(__tstate);
12759 if (PyErr_Occurred()) SWIG_fail;
12760 }
12761 resultobj = PyInt_FromLong((long)result);
12762 return resultobj;
12763 fail:
12764 return NULL;
12765}
12766
12767
12768static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *self, PyObject *args, PyObject *kwargs) {
12769 PyObject *resultobj;
12770 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12771 int result;
12772 PyObject * obj0 = 0 ;
12773 char *kwnames[] = {
12774 (char *) "self", NULL
12775 };
12776
12777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail;
12778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12779 {
12780 PyThreadState* __tstate = wxPyBeginAllowThreads();
12781 result = (int)((wxMouseEvent const *)arg1)->GetLinesPerAction();
12782
12783 wxPyEndAllowThreads(__tstate);
12784 if (PyErr_Occurred()) SWIG_fail;
12785 }
12786 resultobj = PyInt_FromLong((long)result);
12787 return resultobj;
12788 fail:
12789 return NULL;
12790}
12791
12792
12793static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
12794 PyObject *resultobj;
12795 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12796 bool result;
12797 PyObject * obj0 = 0 ;
12798 char *kwnames[] = {
12799 (char *) "self", NULL
12800 };
12801
12802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsPageScroll",kwnames,&obj0)) goto fail;
12803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12804 {
12805 PyThreadState* __tstate = wxPyBeginAllowThreads();
12806 result = (bool)((wxMouseEvent const *)arg1)->IsPageScroll();
12807
12808 wxPyEndAllowThreads(__tstate);
12809 if (PyErr_Occurred()) SWIG_fail;
12810 }
12811 resultobj = PyInt_FromLong((long)result);
12812 return resultobj;
12813 fail:
12814 return NULL;
12815}
12816
12817
12818static PyObject *_wrap_MouseEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12819 PyObject *resultobj;
12820 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 12821 int arg2 ;
d14a1e28
RD
12822 PyObject * obj0 = 0 ;
12823 char *kwnames[] = {
12824 (char *) "self",(char *) "m_x", NULL
12825 };
12826
12827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_x_set",kwnames,&obj0,&arg2)) goto fail;
12828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12829 if (arg1) (arg1)->m_x = arg2;
12830
12831 Py_INCREF(Py_None); resultobj = Py_None;
12832 return resultobj;
12833 fail:
12834 return NULL;
12835}
12836
12837
12838static PyObject *_wrap_MouseEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
12839 PyObject *resultobj;
12840 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 12841 int result;
d14a1e28
RD
12842 PyObject * obj0 = 0 ;
12843 char *kwnames[] = {
12844 (char *) "self", NULL
12845 };
12846
12847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail;
12848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
e811c8ce 12849 result = (int) ((arg1)->m_x);
d14a1e28
RD
12850
12851 resultobj = PyInt_FromLong((long)result);
12852 return resultobj;
12853 fail:
12854 return NULL;
12855}
12856
12857
12858static PyObject *_wrap_MouseEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12859 PyObject *resultobj;
12860 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 12861 int arg2 ;
d14a1e28
RD
12862 PyObject * obj0 = 0 ;
12863 char *kwnames[] = {
12864 (char *) "self",(char *) "m_y", NULL
12865 };
12866
12867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_y_set",kwnames,&obj0,&arg2)) goto fail;
12868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12869 if (arg1) (arg1)->m_y = arg2;
12870
12871 Py_INCREF(Py_None); resultobj = Py_None;
12872 return resultobj;
12873 fail:
12874 return NULL;
12875}
12876
12877
12878static PyObject *_wrap_MouseEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
12879 PyObject *resultobj;
12880 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 12881 int result;
d14a1e28
RD
12882 PyObject * obj0 = 0 ;
12883 char *kwnames[] = {
12884 (char *) "self", NULL
12885 };
12886
12887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail;
12888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
e811c8ce 12889 result = (int) ((arg1)->m_y);
d14a1e28
RD
12890
12891 resultobj = PyInt_FromLong((long)result);
12892 return resultobj;
12893 fail:
12894 return NULL;
12895}
12896
12897
12898static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12899 PyObject *resultobj;
12900 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12901 bool arg2 ;
12902 PyObject * obj0 = 0 ;
12903 PyObject * obj1 = 0 ;
12904 char *kwnames[] = {
12905 (char *) "self",(char *) "m_leftDown", NULL
12906 };
12907
12908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail;
12909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12910 arg2 = PyInt_AsLong(obj1) ? true : false;
12911 if (PyErr_Occurred()) SWIG_fail;
12912 if (arg1) (arg1)->m_leftDown = arg2;
12913
12914 Py_INCREF(Py_None); resultobj = Py_None;
12915 return resultobj;
12916 fail:
12917 return NULL;
12918}
12919
12920
12921static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
12922 PyObject *resultobj;
12923 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12924 bool result;
12925 PyObject * obj0 = 0 ;
12926 char *kwnames[] = {
12927 (char *) "self", NULL
12928 };
12929
12930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail;
12931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12932 result = (bool) ((arg1)->m_leftDown);
12933
12934 resultobj = PyInt_FromLong((long)result);
12935 return resultobj;
12936 fail:
12937 return NULL;
12938}
12939
12940
12941static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12942 PyObject *resultobj;
12943 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12944 bool arg2 ;
12945 PyObject * obj0 = 0 ;
12946 PyObject * obj1 = 0 ;
12947 char *kwnames[] = {
12948 (char *) "self",(char *) "m_middleDown", NULL
12949 };
12950
12951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail;
12952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12953 arg2 = PyInt_AsLong(obj1) ? true : false;
12954 if (PyErr_Occurred()) SWIG_fail;
12955 if (arg1) (arg1)->m_middleDown = arg2;
12956
12957 Py_INCREF(Py_None); resultobj = Py_None;
12958 return resultobj;
12959 fail:
12960 return NULL;
12961}
12962
12963
12964static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
12965 PyObject *resultobj;
12966 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12967 bool result;
12968 PyObject * obj0 = 0 ;
12969 char *kwnames[] = {
12970 (char *) "self", NULL
12971 };
12972
12973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail;
12974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12975 result = (bool) ((arg1)->m_middleDown);
12976
12977 resultobj = PyInt_FromLong((long)result);
12978 return resultobj;
12979 fail:
12980 return NULL;
12981}
12982
12983
12984static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12985 PyObject *resultobj;
12986 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12987 bool arg2 ;
12988 PyObject * obj0 = 0 ;
12989 PyObject * obj1 = 0 ;
12990 char *kwnames[] = {
12991 (char *) "self",(char *) "m_rightDown", NULL
12992 };
12993
12994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail;
12995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12996 arg2 = PyInt_AsLong(obj1) ? true : false;
12997 if (PyErr_Occurred()) SWIG_fail;
12998 if (arg1) (arg1)->m_rightDown = arg2;
12999
13000 Py_INCREF(Py_None); resultobj = Py_None;
13001 return resultobj;
13002 fail:
13003 return NULL;
13004}
13005
13006
13007static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13008 PyObject *resultobj;
13009 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13010 bool result;
13011 PyObject * obj0 = 0 ;
13012 char *kwnames[] = {
13013 (char *) "self", NULL
13014 };
13015
13016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail;
13017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13018 result = (bool) ((arg1)->m_rightDown);
13019
13020 resultobj = PyInt_FromLong((long)result);
13021 return resultobj;
13022 fail:
13023 return NULL;
13024}
13025
13026
13027static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13028 PyObject *resultobj;
13029 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13030 bool arg2 ;
13031 PyObject * obj0 = 0 ;
13032 PyObject * obj1 = 0 ;
13033 char *kwnames[] = {
13034 (char *) "self",(char *) "m_controlDown", NULL
13035 };
13036
13037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
13038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13039 arg2 = PyInt_AsLong(obj1) ? true : false;
13040 if (PyErr_Occurred()) SWIG_fail;
13041 if (arg1) (arg1)->m_controlDown = arg2;
13042
13043 Py_INCREF(Py_None); resultobj = Py_None;
13044 return resultobj;
13045 fail:
13046 return NULL;
13047}
13048
13049
13050static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13051 PyObject *resultobj;
13052 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13053 bool result;
13054 PyObject * obj0 = 0 ;
13055 char *kwnames[] = {
13056 (char *) "self", NULL
13057 };
13058
13059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
13060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13061 result = (bool) ((arg1)->m_controlDown);
13062
13063 resultobj = PyInt_FromLong((long)result);
13064 return resultobj;
13065 fail:
13066 return NULL;
13067}
13068
13069
13070static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13071 PyObject *resultobj;
13072 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13073 bool arg2 ;
13074 PyObject * obj0 = 0 ;
13075 PyObject * obj1 = 0 ;
13076 char *kwnames[] = {
13077 (char *) "self",(char *) "m_shiftDown", NULL
13078 };
13079
13080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
13081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13082 arg2 = PyInt_AsLong(obj1) ? true : false;
13083 if (PyErr_Occurred()) SWIG_fail;
13084 if (arg1) (arg1)->m_shiftDown = arg2;
13085
13086 Py_INCREF(Py_None); resultobj = Py_None;
13087 return resultobj;
13088 fail:
13089 return NULL;
13090}
13091
13092
13093static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13094 PyObject *resultobj;
13095 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13096 bool result;
13097 PyObject * obj0 = 0 ;
13098 char *kwnames[] = {
13099 (char *) "self", NULL
13100 };
13101
13102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
13103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13104 result = (bool) ((arg1)->m_shiftDown);
13105
13106 resultobj = PyInt_FromLong((long)result);
13107 return resultobj;
13108 fail:
13109 return NULL;
13110}
13111
13112
13113static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13114 PyObject *resultobj;
13115 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13116 bool arg2 ;
13117 PyObject * obj0 = 0 ;
13118 PyObject * obj1 = 0 ;
13119 char *kwnames[] = {
13120 (char *) "self",(char *) "m_altDown", NULL
13121 };
13122
13123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
13124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13125 arg2 = PyInt_AsLong(obj1) ? true : false;
13126 if (PyErr_Occurred()) SWIG_fail;
13127 if (arg1) (arg1)->m_altDown = arg2;
13128
13129 Py_INCREF(Py_None); resultobj = Py_None;
13130 return resultobj;
13131 fail:
13132 return NULL;
13133}
13134
13135
13136static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13137 PyObject *resultobj;
13138 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13139 bool result;
13140 PyObject * obj0 = 0 ;
13141 char *kwnames[] = {
13142 (char *) "self", NULL
13143 };
13144
13145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail;
13146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13147 result = (bool) ((arg1)->m_altDown);
13148
13149 resultobj = PyInt_FromLong((long)result);
13150 return resultobj;
13151 fail:
13152 return NULL;
13153}
13154
13155
13156static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13157 PyObject *resultobj;
13158 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13159 bool arg2 ;
13160 PyObject * obj0 = 0 ;
13161 PyObject * obj1 = 0 ;
13162 char *kwnames[] = {
13163 (char *) "self",(char *) "m_metaDown", NULL
13164 };
13165
13166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
13167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13168 arg2 = PyInt_AsLong(obj1) ? true : false;
13169 if (PyErr_Occurred()) SWIG_fail;
13170 if (arg1) (arg1)->m_metaDown = arg2;
13171
13172 Py_INCREF(Py_None); resultobj = Py_None;
13173 return resultobj;
13174 fail:
13175 return NULL;
13176}
13177
13178
13179static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13180 PyObject *resultobj;
13181 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13182 bool result;
13183 PyObject * obj0 = 0 ;
13184 char *kwnames[] = {
13185 (char *) "self", NULL
13186 };
13187
13188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
13189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13190 result = (bool) ((arg1)->m_metaDown);
13191
13192 resultobj = PyInt_FromLong((long)result);
13193 return resultobj;
13194 fail:
13195 return NULL;
13196}
13197
13198
13199static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13200 PyObject *resultobj;
13201 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13202 int arg2 ;
13203 PyObject * obj0 = 0 ;
13204 char *kwnames[] = {
13205 (char *) "self",(char *) "m_wheelRotation", NULL
13206 };
13207
13208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&arg2)) goto fail;
13209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13210 if (arg1) (arg1)->m_wheelRotation = arg2;
13211
13212 Py_INCREF(Py_None); resultobj = Py_None;
13213 return resultobj;
13214 fail:
13215 return NULL;
13216}
13217
13218
13219static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13220 PyObject *resultobj;
13221 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13222 int result;
13223 PyObject * obj0 = 0 ;
13224 char *kwnames[] = {
13225 (char *) "self", NULL
13226 };
13227
13228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail;
13229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13230 result = (int) ((arg1)->m_wheelRotation);
13231
13232 resultobj = PyInt_FromLong((long)result);
13233 return resultobj;
13234 fail:
13235 return NULL;
13236}
13237
13238
13239static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13240 PyObject *resultobj;
13241 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13242 int arg2 ;
13243 PyObject * obj0 = 0 ;
13244 char *kwnames[] = {
13245 (char *) "self",(char *) "m_wheelDelta", NULL
13246 };
13247
13248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&arg2)) goto fail;
13249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13250 if (arg1) (arg1)->m_wheelDelta = arg2;
13251
13252 Py_INCREF(Py_None); resultobj = Py_None;
13253 return resultobj;
13254 fail:
13255 return NULL;
13256}
13257
13258
13259static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13260 PyObject *resultobj;
13261 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13262 int result;
13263 PyObject * obj0 = 0 ;
13264 char *kwnames[] = {
13265 (char *) "self", NULL
13266 };
13267
13268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail;
13269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13270 result = (int) ((arg1)->m_wheelDelta);
13271
13272 resultobj = PyInt_FromLong((long)result);
13273 return resultobj;
13274 fail:
13275 return NULL;
13276}
13277
13278
13279static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13280 PyObject *resultobj;
13281 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13282 int arg2 ;
13283 PyObject * obj0 = 0 ;
13284 char *kwnames[] = {
13285 (char *) "self",(char *) "m_linesPerAction", NULL
13286 };
13287
13288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&arg2)) goto fail;
13289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13290 if (arg1) (arg1)->m_linesPerAction = arg2;
13291
13292 Py_INCREF(Py_None); resultobj = Py_None;
13293 return resultobj;
13294 fail:
13295 return NULL;
13296}
13297
13298
13299static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13300 PyObject *resultobj;
13301 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13302 int result;
13303 PyObject * obj0 = 0 ;
13304 char *kwnames[] = {
13305 (char *) "self", NULL
13306 };
13307
13308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail;
13309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13310 result = (int) ((arg1)->m_linesPerAction);
13311
13312 resultobj = PyInt_FromLong((long)result);
13313 return resultobj;
13314 fail:
13315 return NULL;
13316}
13317
13318
13319static PyObject * MouseEvent_swigregister(PyObject *self, PyObject *args) {
13320 PyObject *obj;
13321 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13322 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj);
13323 Py_INCREF(obj);
13324 return Py_BuildValue((char *)"");
13325}
13326static PyObject *_wrap_new_SetCursorEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13327 PyObject *resultobj;
e811c8ce
RD
13328 int arg1 = (int) 0 ;
13329 int arg2 = (int) 0 ;
d14a1e28
RD
13330 wxSetCursorEvent *result;
13331 char *kwnames[] = {
13332 (char *) "x",(char *) "y", NULL
13333 };
13334
13335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SetCursorEvent",kwnames,&arg1,&arg2)) goto fail;
13336 {
13337 PyThreadState* __tstate = wxPyBeginAllowThreads();
13338 result = (wxSetCursorEvent *)new wxSetCursorEvent(arg1,arg2);
13339
13340 wxPyEndAllowThreads(__tstate);
13341 if (PyErr_Occurred()) SWIG_fail;
13342 }
13343 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSetCursorEvent, 1);
13344 return resultobj;
13345 fail:
13346 return NULL;
13347}
13348
13349
13350static PyObject *_wrap_SetCursorEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
13351 PyObject *resultobj;
13352 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
e811c8ce 13353 int result;
d14a1e28
RD
13354 PyObject * obj0 = 0 ;
13355 char *kwnames[] = {
13356 (char *) "self", NULL
13357 };
13358
13359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail;
13360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13361 {
13362 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13363 result = (int)((wxSetCursorEvent const *)arg1)->GetX();
d14a1e28
RD
13364
13365 wxPyEndAllowThreads(__tstate);
13366 if (PyErr_Occurred()) SWIG_fail;
13367 }
13368 resultobj = PyInt_FromLong((long)result);
13369 return resultobj;
13370 fail:
13371 return NULL;
13372}
13373
13374
13375static PyObject *_wrap_SetCursorEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
13376 PyObject *resultobj;
13377 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
e811c8ce 13378 int result;
d14a1e28
RD
13379 PyObject * obj0 = 0 ;
13380 char *kwnames[] = {
13381 (char *) "self", NULL
13382 };
13383
13384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail;
13385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13386 {
13387 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13388 result = (int)((wxSetCursorEvent const *)arg1)->GetY();
d14a1e28
RD
13389
13390 wxPyEndAllowThreads(__tstate);
13391 if (PyErr_Occurred()) SWIG_fail;
13392 }
13393 resultobj = PyInt_FromLong((long)result);
13394 return resultobj;
13395 fail:
13396 return NULL;
13397}
13398
13399
13400static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
13401 PyObject *resultobj;
13402 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13403 wxCursor *arg2 = 0 ;
13404 PyObject * obj0 = 0 ;
13405 PyObject * obj1 = 0 ;
13406 char *kwnames[] = {
13407 (char *) "self",(char *) "cursor", NULL
13408 };
13409
13410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail;
13411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13412 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13413 if (arg2 == NULL) {
13414 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13415 }
13416 {
13417 PyThreadState* __tstate = wxPyBeginAllowThreads();
13418 (arg1)->SetCursor((wxCursor const &)*arg2);
13419
13420 wxPyEndAllowThreads(__tstate);
13421 if (PyErr_Occurred()) SWIG_fail;
13422 }
13423 Py_INCREF(Py_None); resultobj = Py_None;
13424 return resultobj;
13425 fail:
13426 return NULL;
13427}
13428
13429
13430static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
13431 PyObject *resultobj;
13432 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13433 wxCursor *result;
13434 PyObject * obj0 = 0 ;
13435 char *kwnames[] = {
13436 (char *) "self", NULL
13437 };
13438
13439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail;
13440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13441 {
13442 PyThreadState* __tstate = wxPyBeginAllowThreads();
13443 {
13444 wxCursor const &_result_ref = ((wxSetCursorEvent const *)arg1)->GetCursor();
13445 result = (wxCursor *) &_result_ref;
13446 }
13447
13448 wxPyEndAllowThreads(__tstate);
13449 if (PyErr_Occurred()) SWIG_fail;
13450 }
13451 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCursor, 0);
13452 return resultobj;
13453 fail:
13454 return NULL;
13455}
13456
13457
13458static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
13459 PyObject *resultobj;
13460 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13461 bool result;
13462 PyObject * obj0 = 0 ;
13463 char *kwnames[] = {
13464 (char *) "self", NULL
13465 };
13466
13467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail;
13468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13469 {
13470 PyThreadState* __tstate = wxPyBeginAllowThreads();
13471 result = (bool)((wxSetCursorEvent const *)arg1)->HasCursor();
13472
13473 wxPyEndAllowThreads(__tstate);
13474 if (PyErr_Occurred()) SWIG_fail;
13475 }
13476 resultobj = PyInt_FromLong((long)result);
13477 return resultobj;
13478 fail:
13479 return NULL;
13480}
13481
13482
13483static PyObject * SetCursorEvent_swigregister(PyObject *self, PyObject *args) {
13484 PyObject *obj;
13485 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13486 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj);
13487 Py_INCREF(obj);
13488 return Py_BuildValue((char *)"");
13489}
13490static PyObject *_wrap_new_KeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13491 PyObject *resultobj;
13492 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13493 wxKeyEvent *result;
13494 char *kwnames[] = {
13495 (char *) "keyType", NULL
13496 };
13497
13498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_KeyEvent",kwnames,&arg1)) goto fail;
13499 {
13500 PyThreadState* __tstate = wxPyBeginAllowThreads();
13501 result = (wxKeyEvent *)new wxKeyEvent(arg1);
13502
13503 wxPyEndAllowThreads(__tstate);
13504 if (PyErr_Occurred()) SWIG_fail;
13505 }
13506 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 1);
13507 return resultobj;
13508 fail:
13509 return NULL;
13510}
13511
13512
13513static PyObject *_wrap_KeyEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13514 PyObject *resultobj;
13515 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13516 bool result;
13517 PyObject * obj0 = 0 ;
13518 char *kwnames[] = {
13519 (char *) "self", NULL
13520 };
13521
13522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail;
13523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13524 {
13525 PyThreadState* __tstate = wxPyBeginAllowThreads();
13526 result = (bool)((wxKeyEvent const *)arg1)->ControlDown();
13527
13528 wxPyEndAllowThreads(__tstate);
13529 if (PyErr_Occurred()) SWIG_fail;
13530 }
13531 resultobj = PyInt_FromLong((long)result);
13532 return resultobj;
13533 fail:
13534 return NULL;
13535}
13536
13537
13538static PyObject *_wrap_KeyEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13539 PyObject *resultobj;
13540 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13541 bool result;
13542 PyObject * obj0 = 0 ;
13543 char *kwnames[] = {
13544 (char *) "self", NULL
13545 };
13546
13547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail;
13548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13549 {
13550 PyThreadState* __tstate = wxPyBeginAllowThreads();
13551 result = (bool)((wxKeyEvent const *)arg1)->MetaDown();
13552
13553 wxPyEndAllowThreads(__tstate);
13554 if (PyErr_Occurred()) SWIG_fail;
13555 }
13556 resultobj = PyInt_FromLong((long)result);
13557 return resultobj;
13558 fail:
13559 return NULL;
13560}
13561
13562
13563static PyObject *_wrap_KeyEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13564 PyObject *resultobj;
13565 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13566 bool result;
13567 PyObject * obj0 = 0 ;
13568 char *kwnames[] = {
13569 (char *) "self", NULL
13570 };
13571
13572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail;
13573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13574 {
13575 PyThreadState* __tstate = wxPyBeginAllowThreads();
13576 result = (bool)((wxKeyEvent const *)arg1)->AltDown();
13577
13578 wxPyEndAllowThreads(__tstate);
13579 if (PyErr_Occurred()) SWIG_fail;
13580 }
13581 resultobj = PyInt_FromLong((long)result);
13582 return resultobj;
13583 fail:
13584 return NULL;
13585}
13586
13587
13588static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13589 PyObject *resultobj;
13590 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13591 bool result;
13592 PyObject * obj0 = 0 ;
13593 char *kwnames[] = {
13594 (char *) "self", NULL
13595 };
13596
13597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ShiftDown",kwnames,&obj0)) goto fail;
13598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13599 {
13600 PyThreadState* __tstate = wxPyBeginAllowThreads();
13601 result = (bool)((wxKeyEvent const *)arg1)->ShiftDown();
13602
13603 wxPyEndAllowThreads(__tstate);
13604 if (PyErr_Occurred()) SWIG_fail;
13605 }
13606 resultobj = PyInt_FromLong((long)result);
13607 return resultobj;
13608 fail:
13609 return NULL;
13610}
13611
13612
13613static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
13614 PyObject *resultobj;
13615 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13616 bool result;
13617 PyObject * obj0 = 0 ;
13618 char *kwnames[] = {
13619 (char *) "self", NULL
13620 };
13621
13622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_HasModifiers",kwnames,&obj0)) goto fail;
13623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13624 {
13625 PyThreadState* __tstate = wxPyBeginAllowThreads();
13626 result = (bool)((wxKeyEvent const *)arg1)->HasModifiers();
13627
13628 wxPyEndAllowThreads(__tstate);
13629 if (PyErr_Occurred()) SWIG_fail;
13630 }
13631 resultobj = PyInt_FromLong((long)result);
13632 return resultobj;
13633 fail:
13634 return NULL;
13635}
13636
13637
13638static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
13639 PyObject *resultobj;
13640 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13641 int result;
13642 PyObject * obj0 = 0 ;
13643 char *kwnames[] = {
13644 (char *) "self", NULL
13645 };
13646
13647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",kwnames,&obj0)) goto fail;
13648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13649 {
13650 PyThreadState* __tstate = wxPyBeginAllowThreads();
13651 result = (int)((wxKeyEvent const *)arg1)->GetKeyCode();
13652
13653 wxPyEndAllowThreads(__tstate);
13654 if (PyErr_Occurred()) SWIG_fail;
13655 }
13656 resultobj = PyInt_FromLong((long)result);
13657 return resultobj;
13658 fail:
13659 return NULL;
13660}
13661
13662
13663static PyObject *_wrap_KeyEvent_GetUniChar(PyObject *self, PyObject *args, PyObject *kwargs) {
13664 PyObject *resultobj;
13665 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13666 int result;
13667 PyObject * obj0 = 0 ;
13668 char *kwnames[] = {
13669 (char *) "self", NULL
13670 };
13671
13672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUniChar",kwnames,&obj0)) goto fail;
13673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13674 {
13675 PyThreadState* __tstate = wxPyBeginAllowThreads();
13676 result = (int)wxKeyEvent_GetUniChar(arg1);
13677
13678 wxPyEndAllowThreads(__tstate);
13679 if (PyErr_Occurred()) SWIG_fail;
13680 }
13681 resultobj = PyInt_FromLong((long)result);
13682 return resultobj;
13683 fail:
13684 return NULL;
13685}
13686
13687
13688static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
13689 PyObject *resultobj;
13690 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 13691 unsigned int result;
d14a1e28
RD
13692 PyObject * obj0 = 0 ;
13693 char *kwnames[] = {
13694 (char *) "self", NULL
13695 };
13696
13697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail;
13698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13699 {
13700 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13701 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode();
d14a1e28
RD
13702
13703 wxPyEndAllowThreads(__tstate);
13704 if (PyErr_Occurred()) SWIG_fail;
13705 }
13706 resultobj = PyInt_FromLong((long)result);
13707 return resultobj;
13708 fail:
13709 return NULL;
13710}
13711
13712
13713static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13714 PyObject *resultobj;
13715 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 13716 unsigned int result;
d14a1e28
RD
13717 PyObject * obj0 = 0 ;
13718 char *kwnames[] = {
13719 (char *) "self", NULL
13720 };
13721
13722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail;
13723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13724 {
13725 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13726 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags();
d14a1e28
RD
13727
13728 wxPyEndAllowThreads(__tstate);
13729 if (PyErr_Occurred()) SWIG_fail;
13730 }
13731 resultobj = PyInt_FromLong((long)result);
13732 return resultobj;
13733 fail:
13734 return NULL;
13735}
13736
13737
13738static PyObject *_wrap_KeyEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13739 PyObject *resultobj;
13740 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13741 wxPoint result;
13742 PyObject * obj0 = 0 ;
13743 char *kwnames[] = {
13744 (char *) "self", NULL
13745 };
13746
13747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",kwnames,&obj0)) goto fail;
13748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13749 {
13750 PyThreadState* __tstate = wxPyBeginAllowThreads();
13751 result = (arg1)->GetPosition();
13752
13753 wxPyEndAllowThreads(__tstate);
13754 if (PyErr_Occurred()) SWIG_fail;
13755 }
13756 {
13757 wxPoint * resultptr;
13758 resultptr = new wxPoint((wxPoint &) result);
13759 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
13760 }
13761 return resultobj;
13762 fail:
13763 return NULL;
13764}
13765
13766
13767static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
13768 PyObject *resultobj;
13769 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13770 long *arg2 = (long *) 0 ;
13771 long *arg3 = (long *) 0 ;
13772 long temp2 ;
13773 long temp3 ;
13774 PyObject * obj0 = 0 ;
13775 char *kwnames[] = {
13776 (char *) "self", NULL
13777 };
13778
13779 arg2 = &temp2;
13780 arg3 = &temp3;
13781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
13782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13783 {
13784 PyThreadState* __tstate = wxPyBeginAllowThreads();
13785 (arg1)->GetPosition(arg2,arg3);
13786
13787 wxPyEndAllowThreads(__tstate);
13788 if (PyErr_Occurred()) SWIG_fail;
13789 }
13790 Py_INCREF(Py_None); resultobj = Py_None;
13791 {
13792 PyObject *o = PyInt_FromLong((long) (*arg2));
13793 resultobj = t_output_helper(resultobj,o);
13794 }
13795 {
13796 PyObject *o = PyInt_FromLong((long) (*arg3));
13797 resultobj = t_output_helper(resultobj,o);
13798 }
13799 return resultobj;
13800 fail:
13801 return NULL;
13802}
13803
13804
13805static PyObject *_wrap_KeyEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
13806 PyObject *resultobj;
13807 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 13808 int result;
d14a1e28
RD
13809 PyObject * obj0 = 0 ;
13810 char *kwnames[] = {
13811 (char *) "self", NULL
13812 };
13813
13814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail;
13815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13816 {
13817 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13818 result = (int)((wxKeyEvent const *)arg1)->GetX();
d14a1e28
RD
13819
13820 wxPyEndAllowThreads(__tstate);
13821 if (PyErr_Occurred()) SWIG_fail;
13822 }
13823 resultobj = PyInt_FromLong((long)result);
13824 return resultobj;
13825 fail:
13826 return NULL;
13827}
13828
13829
13830static PyObject *_wrap_KeyEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
13831 PyObject *resultobj;
13832 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 13833 int result;
d14a1e28
RD
13834 PyObject * obj0 = 0 ;
13835 char *kwnames[] = {
13836 (char *) "self", NULL
13837 };
13838
13839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail;
13840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13841 {
13842 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13843 result = (int)((wxKeyEvent const *)arg1)->GetY();
d14a1e28
RD
13844
13845 wxPyEndAllowThreads(__tstate);
13846 if (PyErr_Occurred()) SWIG_fail;
13847 }
13848 resultobj = PyInt_FromLong((long)result);
13849 return resultobj;
13850 fail:
13851 return NULL;
13852}
13853
13854
13855static PyObject *_wrap_KeyEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13856 PyObject *resultobj;
13857 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 13858 int arg2 ;
d14a1e28
RD
13859 PyObject * obj0 = 0 ;
13860 char *kwnames[] = {
13861 (char *) "self",(char *) "m_x", NULL
13862 };
13863
13864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:KeyEvent_m_x_set",kwnames,&obj0,&arg2)) goto fail;
13865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13866 if (arg1) (arg1)->m_x = arg2;
13867
13868 Py_INCREF(Py_None); resultobj = Py_None;
13869 return resultobj;
13870 fail:
13871 return NULL;
13872}
13873
13874
13875static PyObject *_wrap_KeyEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13876 PyObject *resultobj;
13877 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 13878 int result;
d14a1e28
RD
13879 PyObject * obj0 = 0 ;
13880 char *kwnames[] = {
13881 (char *) "self", NULL
13882 };
13883
13884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail;
13885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
e811c8ce 13886 result = (int) ((arg1)->m_x);
d14a1e28
RD
13887
13888 resultobj = PyInt_FromLong((long)result);
13889 return resultobj;
13890 fail:
13891 return NULL;
13892}
13893
13894
13895static PyObject *_wrap_KeyEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13896 PyObject *resultobj;
13897 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 13898 int arg2 ;
d14a1e28
RD
13899 PyObject * obj0 = 0 ;
13900 char *kwnames[] = {
13901 (char *) "self",(char *) "m_y", NULL
13902 };
13903
13904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:KeyEvent_m_y_set",kwnames,&obj0,&arg2)) goto fail;
13905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13906 if (arg1) (arg1)->m_y = arg2;
13907
13908 Py_INCREF(Py_None); resultobj = Py_None;
13909 return resultobj;
13910 fail:
13911 return NULL;
13912}
13913
13914
13915static PyObject *_wrap_KeyEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13916 PyObject *resultobj;
13917 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 13918 int result;
d14a1e28
RD
13919 PyObject * obj0 = 0 ;
13920 char *kwnames[] = {
13921 (char *) "self", NULL
13922 };
13923
13924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail;
13925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
e811c8ce 13926 result = (int) ((arg1)->m_y);
d14a1e28
RD
13927
13928 resultobj = PyInt_FromLong((long)result);
13929 return resultobj;
13930 fail:
13931 return NULL;
13932}
13933
13934
13935static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13936 PyObject *resultobj;
13937 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13938 long arg2 ;
13939 PyObject * obj0 = 0 ;
13940 char *kwnames[] = {
13941 (char *) "self",(char *) "m_keyCode", NULL
13942 };
13943
13944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:KeyEvent_m_keyCode_set",kwnames,&obj0,&arg2)) goto fail;
13945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13946 if (arg1) (arg1)->m_keyCode = arg2;
13947
13948 Py_INCREF(Py_None); resultobj = Py_None;
13949 return resultobj;
13950 fail:
13951 return NULL;
13952}
13953
13954
13955static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13956 PyObject *resultobj;
13957 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13958 long result;
13959 PyObject * obj0 = 0 ;
13960 char *kwnames[] = {
13961 (char *) "self", NULL
13962 };
13963
13964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail;
13965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13966 result = (long) ((arg1)->m_keyCode);
13967
13968 resultobj = PyInt_FromLong((long)result);
13969 return resultobj;
13970 fail:
13971 return NULL;
13972}
13973
13974
13975static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13976 PyObject *resultobj;
13977 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13978 bool arg2 ;
13979 PyObject * obj0 = 0 ;
13980 PyObject * obj1 = 0 ;
13981 char *kwnames[] = {
13982 (char *) "self",(char *) "m_controlDown", NULL
13983 };
13984
13985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
13986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13987 arg2 = PyInt_AsLong(obj1) ? true : false;
13988 if (PyErr_Occurred()) SWIG_fail;
13989 if (arg1) (arg1)->m_controlDown = arg2;
13990
13991 Py_INCREF(Py_None); resultobj = Py_None;
13992 return resultobj;
13993 fail:
13994 return NULL;
13995}
13996
13997
13998static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13999 PyObject *resultobj;
14000 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14001 bool result;
14002 PyObject * obj0 = 0 ;
14003 char *kwnames[] = {
14004 (char *) "self", NULL
14005 };
14006
14007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
14008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14009 result = (bool) ((arg1)->m_controlDown);
14010
14011 resultobj = PyInt_FromLong((long)result);
14012 return resultobj;
14013 fail:
14014 return NULL;
14015}
14016
14017
14018static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14019 PyObject *resultobj;
14020 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14021 bool arg2 ;
14022 PyObject * obj0 = 0 ;
14023 PyObject * obj1 = 0 ;
14024 char *kwnames[] = {
14025 (char *) "self",(char *) "m_shiftDown", NULL
14026 };
14027
14028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
14029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14030 arg2 = PyInt_AsLong(obj1) ? true : false;
14031 if (PyErr_Occurred()) SWIG_fail;
14032 if (arg1) (arg1)->m_shiftDown = arg2;
14033
14034 Py_INCREF(Py_None); resultobj = Py_None;
14035 return resultobj;
14036 fail:
14037 return NULL;
14038}
14039
14040
14041static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14042 PyObject *resultobj;
14043 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14044 bool result;
14045 PyObject * obj0 = 0 ;
14046 char *kwnames[] = {
14047 (char *) "self", NULL
14048 };
14049
14050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
14051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14052 result = (bool) ((arg1)->m_shiftDown);
14053
14054 resultobj = PyInt_FromLong((long)result);
14055 return resultobj;
14056 fail:
14057 return NULL;
14058}
14059
14060
14061static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14062 PyObject *resultobj;
14063 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14064 bool arg2 ;
14065 PyObject * obj0 = 0 ;
14066 PyObject * obj1 = 0 ;
14067 char *kwnames[] = {
14068 (char *) "self",(char *) "m_altDown", NULL
14069 };
14070
14071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
14072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14073 arg2 = PyInt_AsLong(obj1) ? true : false;
14074 if (PyErr_Occurred()) SWIG_fail;
14075 if (arg1) (arg1)->m_altDown = arg2;
14076
14077 Py_INCREF(Py_None); resultobj = Py_None;
14078 return resultobj;
14079 fail:
14080 return NULL;
14081}
14082
14083
14084static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14085 PyObject *resultobj;
14086 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14087 bool result;
14088 PyObject * obj0 = 0 ;
14089 char *kwnames[] = {
14090 (char *) "self", NULL
14091 };
14092
14093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail;
14094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14095 result = (bool) ((arg1)->m_altDown);
14096
14097 resultobj = PyInt_FromLong((long)result);
14098 return resultobj;
14099 fail:
14100 return NULL;
14101}
14102
14103
14104static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14105 PyObject *resultobj;
14106 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14107 bool arg2 ;
14108 PyObject * obj0 = 0 ;
14109 PyObject * obj1 = 0 ;
14110 char *kwnames[] = {
14111 (char *) "self",(char *) "m_metaDown", NULL
14112 };
14113
14114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
14115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14116 arg2 = PyInt_AsLong(obj1) ? true : false;
14117 if (PyErr_Occurred()) SWIG_fail;
14118 if (arg1) (arg1)->m_metaDown = arg2;
14119
14120 Py_INCREF(Py_None); resultobj = Py_None;
14121 return resultobj;
14122 fail:
14123 return NULL;
14124}
14125
14126
14127static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14128 PyObject *resultobj;
14129 wxKeyEvent *arg1 = (wxKeyEvent *) 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:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
14137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14138 result = (bool) ((arg1)->m_metaDown);
14139
14140 resultobj = PyInt_FromLong((long)result);
14141 return resultobj;
14142 fail:
14143 return NULL;
14144}
14145
14146
14147static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14148 PyObject *resultobj;
14149 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14150 bool arg2 ;
14151 PyObject * obj0 = 0 ;
14152 PyObject * obj1 = 0 ;
14153 char *kwnames[] = {
14154 (char *) "self",(char *) "m_scanCode", NULL
14155 };
14156
14157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail;
14158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14159 arg2 = PyInt_AsLong(obj1) ? true : false;
14160 if (PyErr_Occurred()) SWIG_fail;
14161 if (arg1) (arg1)->m_scanCode = arg2;
14162
14163 Py_INCREF(Py_None); resultobj = Py_None;
14164 return resultobj;
14165 fail:
14166 return NULL;
14167}
14168
14169
14170static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14171 PyObject *resultobj;
14172 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14173 bool result;
14174 PyObject * obj0 = 0 ;
14175 char *kwnames[] = {
14176 (char *) "self", NULL
14177 };
14178
14179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail;
14180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14181 result = (bool) ((arg1)->m_scanCode);
14182
14183 resultobj = PyInt_FromLong((long)result);
14184 return resultobj;
14185 fail:
14186 return NULL;
14187}
14188
14189
14190static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14191 PyObject *resultobj;
14192 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 14193 unsigned int arg2 ;
d14a1e28
RD
14194 PyObject * obj0 = 0 ;
14195 PyObject * obj1 = 0 ;
14196 char *kwnames[] = {
14197 (char *) "self",(char *) "m_rawCode", NULL
14198 };
14199
14200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail;
14201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
e811c8ce 14202 arg2 = (unsigned int) PyInt_AsLong(obj1);
d14a1e28
RD
14203 if (PyErr_Occurred()) SWIG_fail;
14204 if (arg1) (arg1)->m_rawCode = arg2;
14205
14206 Py_INCREF(Py_None); resultobj = Py_None;
14207 return resultobj;
14208 fail:
14209 return NULL;
14210}
14211
14212
14213static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14214 PyObject *resultobj;
14215 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 14216 unsigned int result;
d14a1e28
RD
14217 PyObject * obj0 = 0 ;
14218 char *kwnames[] = {
14219 (char *) "self", NULL
14220 };
14221
14222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail;
14223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
e811c8ce 14224 result = (unsigned int) ((arg1)->m_rawCode);
d14a1e28
RD
14225
14226 resultobj = PyInt_FromLong((long)result);
14227 return resultobj;
14228 fail:
14229 return NULL;
14230}
14231
14232
14233static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14234 PyObject *resultobj;
14235 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 14236 unsigned int arg2 ;
d14a1e28
RD
14237 PyObject * obj0 = 0 ;
14238 PyObject * obj1 = 0 ;
14239 char *kwnames[] = {
14240 (char *) "self",(char *) "m_rawFlags", NULL
14241 };
14242
14243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail;
14244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
e811c8ce 14245 arg2 = (unsigned int) PyInt_AsLong(obj1);
d14a1e28
RD
14246 if (PyErr_Occurred()) SWIG_fail;
14247 if (arg1) (arg1)->m_rawFlags = arg2;
14248
14249 Py_INCREF(Py_None); resultobj = Py_None;
14250 return resultobj;
14251 fail:
14252 return NULL;
14253}
14254
14255
14256static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14257 PyObject *resultobj;
14258 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 14259 unsigned int result;
d14a1e28
RD
14260 PyObject * obj0 = 0 ;
14261 char *kwnames[] = {
14262 (char *) "self", NULL
14263 };
14264
14265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail;
14266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
e811c8ce 14267 result = (unsigned int) ((arg1)->m_rawFlags);
d14a1e28
RD
14268
14269 resultobj = PyInt_FromLong((long)result);
14270 return resultobj;
14271 fail:
14272 return NULL;
14273}
14274
14275
14276static PyObject * KeyEvent_swigregister(PyObject *self, PyObject *args) {
14277 PyObject *obj;
14278 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14279 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj);
14280 Py_INCREF(obj);
14281 return Py_BuildValue((char *)"");
14282}
14283static PyObject *_wrap_new_SizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14284 PyObject *resultobj;
14285 wxSize const &arg1_defvalue = wxDefaultSize ;
14286 wxSize *arg1 = (wxSize *) &arg1_defvalue ;
14287 int arg2 = (int) 0 ;
14288 wxSizeEvent *result;
14289 wxSize temp1 ;
14290 PyObject * obj0 = 0 ;
14291 char *kwnames[] = {
14292 (char *) "sz",(char *) "winid", NULL
14293 };
14294
14295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_SizeEvent",kwnames,&obj0,&arg2)) goto fail;
14296 if (obj0) {
14297 {
14298 arg1 = &temp1;
14299 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
14300 }
14301 }
14302 {
14303 PyThreadState* __tstate = wxPyBeginAllowThreads();
14304 result = (wxSizeEvent *)new wxSizeEvent((wxSize const &)*arg1,arg2);
14305
14306 wxPyEndAllowThreads(__tstate);
14307 if (PyErr_Occurred()) SWIG_fail;
14308 }
14309 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizeEvent, 1);
14310 return resultobj;
14311 fail:
14312 return NULL;
14313}
14314
14315
14316static PyObject *_wrap_SizeEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14317 PyObject *resultobj;
14318 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14319 wxSize result;
14320 PyObject * obj0 = 0 ;
14321 char *kwnames[] = {
14322 (char *) "self", NULL
14323 };
14324
14325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail;
14326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14327 {
14328 PyThreadState* __tstate = wxPyBeginAllowThreads();
14329 result = ((wxSizeEvent const *)arg1)->GetSize();
14330
14331 wxPyEndAllowThreads(__tstate);
14332 if (PyErr_Occurred()) SWIG_fail;
14333 }
14334 {
14335 wxSize * resultptr;
14336 resultptr = new wxSize((wxSize &) result);
14337 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14338 }
14339 return resultobj;
14340 fail:
14341 return NULL;
14342}
14343
14344
14345static PyObject *_wrap_SizeEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14346 PyObject *resultobj;
14347 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14348 wxRect result;
14349 PyObject * obj0 = 0 ;
14350 char *kwnames[] = {
14351 (char *) "self", NULL
14352 };
14353
14354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail;
14355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14356 {
14357 PyThreadState* __tstate = wxPyBeginAllowThreads();
14358 result = ((wxSizeEvent const *)arg1)->GetRect();
14359
14360 wxPyEndAllowThreads(__tstate);
14361 if (PyErr_Occurred()) SWIG_fail;
14362 }
14363 {
14364 wxRect * resultptr;
14365 resultptr = new wxRect((wxRect &) result);
14366 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
14367 }
14368 return resultobj;
14369 fail:
14370 return NULL;
14371}
14372
14373
14374static PyObject *_wrap_SizeEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14375 PyObject *resultobj;
14376 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14377 wxRect arg2 ;
14378 wxRect *argp2 ;
14379 PyObject * obj0 = 0 ;
14380 PyObject * obj1 = 0 ;
14381 char *kwnames[] = {
14382 (char *) "self",(char *) "rect", NULL
14383 };
14384
14385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
14386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14387 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14388 arg2 = *argp2;
14389 {
14390 PyThreadState* __tstate = wxPyBeginAllowThreads();
14391 (arg1)->SetRect(arg2);
14392
14393 wxPyEndAllowThreads(__tstate);
14394 if (PyErr_Occurred()) SWIG_fail;
14395 }
14396 Py_INCREF(Py_None); resultobj = Py_None;
14397 return resultobj;
14398 fail:
14399 return NULL;
14400}
14401
14402
14403static PyObject *_wrap_SizeEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14404 PyObject *resultobj;
14405 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14406 wxSize arg2 ;
14407 wxSize *argp2 ;
14408 PyObject * obj0 = 0 ;
14409 PyObject * obj1 = 0 ;
14410 char *kwnames[] = {
14411 (char *) "self",(char *) "size", NULL
14412 };
14413
14414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
14415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14416 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14417 arg2 = *argp2;
14418 {
14419 PyThreadState* __tstate = wxPyBeginAllowThreads();
14420 wxSizeEvent_SetSize(arg1,arg2);
14421
14422 wxPyEndAllowThreads(__tstate);
14423 if (PyErr_Occurred()) SWIG_fail;
14424 }
14425 Py_INCREF(Py_None); resultobj = Py_None;
14426 return resultobj;
14427 fail:
14428 return NULL;
14429}
14430
14431
14432static PyObject *_wrap_SizeEvent_m_size_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14433 PyObject *resultobj;
14434 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14435 wxSize *arg2 = (wxSize *) 0 ;
14436 PyObject * obj0 = 0 ;
14437 PyObject * obj1 = 0 ;
14438 char *kwnames[] = {
14439 (char *) "self",(char *) "m_size", NULL
14440 };
14441
14442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail;
14443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14444 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14445 if (arg1) (arg1)->m_size = *arg2;
14446
14447 Py_INCREF(Py_None); resultobj = Py_None;
14448 return resultobj;
14449 fail:
14450 return NULL;
14451}
14452
14453
14454static PyObject *_wrap_SizeEvent_m_size_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14455 PyObject *resultobj;
14456 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14457 wxSize *result;
14458 PyObject * obj0 = 0 ;
14459 char *kwnames[] = {
14460 (char *) "self", NULL
14461 };
14462
14463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail;
14464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14465 result = (wxSize *)& ((arg1)->m_size);
14466
14467 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
14468 return resultobj;
14469 fail:
14470 return NULL;
14471}
14472
14473
14474static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14475 PyObject *resultobj;
14476 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14477 wxRect *arg2 = (wxRect *) 0 ;
14478 PyObject * obj0 = 0 ;
14479 PyObject * obj1 = 0 ;
14480 char *kwnames[] = {
14481 (char *) "self",(char *) "m_rect", NULL
14482 };
14483
14484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
14485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14486 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14487 if (arg1) (arg1)->m_rect = *arg2;
14488
14489 Py_INCREF(Py_None); resultobj = Py_None;
14490 return resultobj;
14491 fail:
14492 return NULL;
14493}
14494
14495
14496static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14497 PyObject *resultobj;
14498 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14499 wxRect *result;
14500 PyObject * obj0 = 0 ;
14501 char *kwnames[] = {
14502 (char *) "self", NULL
14503 };
14504
14505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail;
14506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14507 result = (wxRect *)& ((arg1)->m_rect);
14508
14509 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
14510 return resultobj;
14511 fail:
14512 return NULL;
14513}
14514
14515
14516static PyObject * SizeEvent_swigregister(PyObject *self, PyObject *args) {
14517 PyObject *obj;
14518 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14519 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj);
14520 Py_INCREF(obj);
14521 return Py_BuildValue((char *)"");
14522}
14523static PyObject *_wrap_new_MoveEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14524 PyObject *resultobj;
14525 wxPoint const &arg1_defvalue = wxDefaultPosition ;
14526 wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
14527 int arg2 = (int) 0 ;
14528 wxMoveEvent *result;
14529 wxPoint temp1 ;
14530 PyObject * obj0 = 0 ;
14531 char *kwnames[] = {
14532 (char *) "pos",(char *) "winid", NULL
14533 };
14534
14535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_MoveEvent",kwnames,&obj0,&arg2)) goto fail;
14536 if (obj0) {
14537 {
14538 arg1 = &temp1;
14539 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
14540 }
14541 }
14542 {
14543 PyThreadState* __tstate = wxPyBeginAllowThreads();
14544 result = (wxMoveEvent *)new wxMoveEvent((wxPoint const &)*arg1,arg2);
14545
14546 wxPyEndAllowThreads(__tstate);
14547 if (PyErr_Occurred()) SWIG_fail;
14548 }
14549 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMoveEvent, 1);
14550 return resultobj;
14551 fail:
14552 return NULL;
14553}
14554
14555
14556static PyObject *_wrap_MoveEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14557 PyObject *resultobj;
14558 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14559 wxPoint result;
14560 PyObject * obj0 = 0 ;
14561 char *kwnames[] = {
14562 (char *) "self", NULL
14563 };
14564
14565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail;
14566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14567 {
14568 PyThreadState* __tstate = wxPyBeginAllowThreads();
14569 result = ((wxMoveEvent const *)arg1)->GetPosition();
14570
14571 wxPyEndAllowThreads(__tstate);
14572 if (PyErr_Occurred()) SWIG_fail;
14573 }
14574 {
14575 wxPoint * resultptr;
14576 resultptr = new wxPoint((wxPoint &) result);
14577 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
14578 }
14579 return resultobj;
14580 fail:
14581 return NULL;
14582}
14583
14584
14585static PyObject *_wrap_MoveEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14586 PyObject *resultobj;
14587 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14588 wxRect result;
14589 PyObject * obj0 = 0 ;
14590 char *kwnames[] = {
14591 (char *) "self", NULL
14592 };
14593
14594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail;
14595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14596 {
14597 PyThreadState* __tstate = wxPyBeginAllowThreads();
14598 result = ((wxMoveEvent const *)arg1)->GetRect();
14599
14600 wxPyEndAllowThreads(__tstate);
14601 if (PyErr_Occurred()) SWIG_fail;
14602 }
14603 {
14604 wxRect * resultptr;
14605 resultptr = new wxRect((wxRect &) result);
14606 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
14607 }
14608 return resultobj;
14609 fail:
14610 return NULL;
14611}
14612
14613
14614static PyObject *_wrap_MoveEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14615 PyObject *resultobj;
14616 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14617 wxRect arg2 ;
14618 wxRect *argp2 ;
14619 PyObject * obj0 = 0 ;
14620 PyObject * obj1 = 0 ;
14621 char *kwnames[] = {
14622 (char *) "self",(char *) "rect", NULL
14623 };
14624
14625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
14626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14627 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14628 arg2 = *argp2;
14629 {
14630 PyThreadState* __tstate = wxPyBeginAllowThreads();
14631 (arg1)->SetRect(arg2);
14632
14633 wxPyEndAllowThreads(__tstate);
14634 if (PyErr_Occurred()) SWIG_fail;
14635 }
14636 Py_INCREF(Py_None); resultobj = Py_None;
14637 return resultobj;
14638 fail:
14639 return NULL;
14640}
14641
14642
14643static PyObject *_wrap_MoveEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14644 PyObject *resultobj;
14645 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14646 wxPoint arg2 ;
14647 wxPoint *argp2 ;
14648 PyObject * obj0 = 0 ;
14649 PyObject * obj1 = 0 ;
14650 char *kwnames[] = {
14651 (char *) "self",(char *) "pos", NULL
14652 };
14653
14654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
14655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14656 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14657 arg2 = *argp2;
14658 {
14659 PyThreadState* __tstate = wxPyBeginAllowThreads();
14660 wxMoveEvent_SetPosition(arg1,arg2);
14661
14662 wxPyEndAllowThreads(__tstate);
14663 if (PyErr_Occurred()) SWIG_fail;
14664 }
14665 Py_INCREF(Py_None); resultobj = Py_None;
14666 return resultobj;
14667 fail:
14668 return NULL;
14669}
14670
14671
14672static PyObject *_wrap_MoveEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14673 PyObject *resultobj;
14674 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14675 wxPoint *arg2 = (wxPoint *) 0 ;
14676 PyObject * obj0 = 0 ;
14677 PyObject * obj1 = 0 ;
14678 char *kwnames[] = {
14679 (char *) "self",(char *) "m_pos", NULL
14680 };
14681
14682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
14683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14684 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14685 if (arg1) (arg1)->m_pos = *arg2;
14686
14687 Py_INCREF(Py_None); resultobj = Py_None;
14688 return resultobj;
14689 fail:
14690 return NULL;
14691}
14692
14693
14694static PyObject *_wrap_MoveEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14695 PyObject *resultobj;
14696 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14697 wxPoint *result;
14698 PyObject * obj0 = 0 ;
14699 char *kwnames[] = {
14700 (char *) "self", NULL
14701 };
14702
14703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_pos_get",kwnames,&obj0)) goto fail;
14704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14705 result = (wxPoint *)& ((arg1)->m_pos);
14706
14707 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
14708 return resultobj;
14709 fail:
14710 return NULL;
14711}
14712
14713
14714static PyObject *_wrap_MoveEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14715 PyObject *resultobj;
14716 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14717 wxRect *arg2 = (wxRect *) 0 ;
14718 PyObject * obj0 = 0 ;
14719 PyObject * obj1 = 0 ;
14720 char *kwnames[] = {
14721 (char *) "self",(char *) "m_rect", NULL
14722 };
14723
14724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
14725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14726 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14727 if (arg1) (arg1)->m_rect = *arg2;
14728
14729 Py_INCREF(Py_None); resultobj = Py_None;
14730 return resultobj;
14731 fail:
14732 return NULL;
14733}
14734
14735
14736static PyObject *_wrap_MoveEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14737 PyObject *resultobj;
14738 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14739 wxRect *result;
14740 PyObject * obj0 = 0 ;
14741 char *kwnames[] = {
14742 (char *) "self", NULL
14743 };
14744
14745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_rect_get",kwnames,&obj0)) goto fail;
14746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14747 result = (wxRect *)& ((arg1)->m_rect);
14748
14749 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
14750 return resultobj;
14751 fail:
14752 return NULL;
14753}
14754
14755
14756static PyObject * MoveEvent_swigregister(PyObject *self, PyObject *args) {
14757 PyObject *obj;
14758 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14759 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj);
14760 Py_INCREF(obj);
14761 return Py_BuildValue((char *)"");
14762}
14763static PyObject *_wrap_new_PaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14764 PyObject *resultobj;
14765 int arg1 = (int) 0 ;
14766 wxPaintEvent *result;
14767 char *kwnames[] = {
14768 (char *) "Id", NULL
14769 };
14770
14771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_PaintEvent",kwnames,&arg1)) goto fail;
14772 {
14773 PyThreadState* __tstate = wxPyBeginAllowThreads();
14774 result = (wxPaintEvent *)new wxPaintEvent(arg1);
14775
14776 wxPyEndAllowThreads(__tstate);
14777 if (PyErr_Occurred()) SWIG_fail;
14778 }
14779 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPaintEvent, 1);
14780 return resultobj;
14781 fail:
14782 return NULL;
14783}
14784
14785
14786static PyObject * PaintEvent_swigregister(PyObject *self, PyObject *args) {
14787 PyObject *obj;
14788 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14789 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj);
14790 Py_INCREF(obj);
14791 return Py_BuildValue((char *)"");
14792}
14793static PyObject *_wrap_new_NcPaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14794 PyObject *resultobj;
14795 int arg1 = (int) 0 ;
14796 wxNcPaintEvent *result;
14797 char *kwnames[] = {
14798 (char *) "winid", NULL
14799 };
14800
14801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_NcPaintEvent",kwnames,&arg1)) goto fail;
14802 {
14803 PyThreadState* __tstate = wxPyBeginAllowThreads();
14804 result = (wxNcPaintEvent *)new wxNcPaintEvent(arg1);
14805
14806 wxPyEndAllowThreads(__tstate);
14807 if (PyErr_Occurred()) SWIG_fail;
14808 }
14809 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNcPaintEvent, 1);
14810 return resultobj;
14811 fail:
14812 return NULL;
14813}
14814
14815
14816static PyObject * NcPaintEvent_swigregister(PyObject *self, PyObject *args) {
14817 PyObject *obj;
14818 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14819 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj);
14820 Py_INCREF(obj);
14821 return Py_BuildValue((char *)"");
14822}
14823static PyObject *_wrap_new_EraseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14824 PyObject *resultobj;
14825 int arg1 = (int) 0 ;
14826 wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
14827 wxEraseEvent *result;
14828 PyObject * obj1 = 0 ;
14829 char *kwnames[] = {
14830 (char *) "Id",(char *) "dc", NULL
14831 };
14832
14833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_EraseEvent",kwnames,&arg1,&obj1)) goto fail;
14834 if (obj1) {
14835 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14836 }
14837 {
14838 PyThreadState* __tstate = wxPyBeginAllowThreads();
14839 result = (wxEraseEvent *)new wxEraseEvent(arg1,arg2);
14840
14841 wxPyEndAllowThreads(__tstate);
14842 if (PyErr_Occurred()) SWIG_fail;
14843 }
14844 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEraseEvent, 1);
14845 return resultobj;
14846 fail:
14847 return NULL;
14848}
14849
14850
14851static PyObject *_wrap_EraseEvent_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
14852 PyObject *resultobj;
14853 wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
14854 wxDC *result;
14855 PyObject * obj0 = 0 ;
14856 char *kwnames[] = {
14857 (char *) "self", NULL
14858 };
14859
14860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail;
14861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEraseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14862 {
14863 PyThreadState* __tstate = wxPyBeginAllowThreads();
14864 result = (wxDC *)((wxEraseEvent const *)arg1)->GetDC();
14865
14866 wxPyEndAllowThreads(__tstate);
14867 if (PyErr_Occurred()) SWIG_fail;
14868 }
14869 {
14870 resultobj = wxPyMake_wxObject(result);
14871 }
14872 return resultobj;
14873 fail:
14874 return NULL;
14875}
14876
14877
14878static PyObject * EraseEvent_swigregister(PyObject *self, PyObject *args) {
14879 PyObject *obj;
14880 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14881 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj);
14882 Py_INCREF(obj);
14883 return Py_BuildValue((char *)"");
14884}
14885static PyObject *_wrap_new_FocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14886 PyObject *resultobj;
14887 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14888 int arg2 = (int) 0 ;
14889 wxFocusEvent *result;
14890 char *kwnames[] = {
14891 (char *) "type",(char *) "winid", NULL
14892 };
14893
14894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FocusEvent",kwnames,&arg1,&arg2)) goto fail;
14895 {
14896 PyThreadState* __tstate = wxPyBeginAllowThreads();
14897 result = (wxFocusEvent *)new wxFocusEvent(arg1,arg2);
14898
14899 wxPyEndAllowThreads(__tstate);
14900 if (PyErr_Occurred()) SWIG_fail;
14901 }
14902 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFocusEvent, 1);
14903 return resultobj;
14904 fail:
14905 return NULL;
14906}
14907
14908
14909static PyObject *_wrap_FocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14910 PyObject *resultobj;
14911 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
14912 wxWindow *result;
14913 PyObject * obj0 = 0 ;
14914 char *kwnames[] = {
14915 (char *) "self", NULL
14916 };
14917
14918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail;
14919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFocusEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14920 {
14921 PyThreadState* __tstate = wxPyBeginAllowThreads();
14922 result = (wxWindow *)((wxFocusEvent const *)arg1)->GetWindow();
14923
14924 wxPyEndAllowThreads(__tstate);
14925 if (PyErr_Occurred()) SWIG_fail;
14926 }
14927 {
14928 resultobj = wxPyMake_wxObject(result);
14929 }
14930 return resultobj;
14931 fail:
14932 return NULL;
14933}
14934
14935
14936static PyObject *_wrap_FocusEvent_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14937 PyObject *resultobj;
14938 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
14939 wxWindow *arg2 = (wxWindow *) 0 ;
14940 PyObject * obj0 = 0 ;
14941 PyObject * obj1 = 0 ;
14942 char *kwnames[] = {
14943 (char *) "self",(char *) "win", NULL
14944 };
14945
14946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail;
14947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFocusEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14948 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14949 {
14950 PyThreadState* __tstate = wxPyBeginAllowThreads();
14951 (arg1)->SetWindow(arg2);
14952
14953 wxPyEndAllowThreads(__tstate);
14954 if (PyErr_Occurred()) SWIG_fail;
14955 }
14956 Py_INCREF(Py_None); resultobj = Py_None;
14957 return resultobj;
14958 fail:
14959 return NULL;
14960}
14961
14962
14963static PyObject * FocusEvent_swigregister(PyObject *self, PyObject *args) {
14964 PyObject *obj;
14965 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14966 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj);
14967 Py_INCREF(obj);
14968 return Py_BuildValue((char *)"");
14969}
14970static PyObject *_wrap_new_ChildFocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14971 PyObject *resultobj;
14972 wxWindow *arg1 = (wxWindow *) NULL ;
14973 wxChildFocusEvent *result;
14974 PyObject * obj0 = 0 ;
14975 char *kwnames[] = {
14976 (char *) "win", NULL
14977 };
14978
14979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail;
14980 if (obj0) {
14981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14982 }
14983 {
14984 PyThreadState* __tstate = wxPyBeginAllowThreads();
14985 result = (wxChildFocusEvent *)new wxChildFocusEvent(arg1);
14986
14987 wxPyEndAllowThreads(__tstate);
14988 if (PyErr_Occurred()) SWIG_fail;
14989 }
14990 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChildFocusEvent, 1);
14991 return resultobj;
14992 fail:
14993 return NULL;
14994}
14995
14996
14997static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14998 PyObject *resultobj;
14999 wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
15000 wxWindow *result;
15001 PyObject * obj0 = 0 ;
15002 char *kwnames[] = {
15003 (char *) "self", NULL
15004 };
15005
15006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail;
15007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChildFocusEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15008 {
15009 PyThreadState* __tstate = wxPyBeginAllowThreads();
15010 result = (wxWindow *)((wxChildFocusEvent const *)arg1)->GetWindow();
15011
15012 wxPyEndAllowThreads(__tstate);
15013 if (PyErr_Occurred()) SWIG_fail;
15014 }
15015 {
15016 resultobj = wxPyMake_wxObject(result);
15017 }
15018 return resultobj;
15019 fail:
15020 return NULL;
15021}
15022
15023
15024static PyObject * ChildFocusEvent_swigregister(PyObject *self, PyObject *args) {
15025 PyObject *obj;
15026 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15027 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj);
15028 Py_INCREF(obj);
15029 return Py_BuildValue((char *)"");
15030}
15031static PyObject *_wrap_new_ActivateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15032 PyObject *resultobj;
15033 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 15034 bool arg2 = (bool) True ;
d14a1e28
RD
15035 int arg3 = (int) 0 ;
15036 wxActivateEvent *result;
15037 PyObject * obj1 = 0 ;
15038 char *kwnames[] = {
15039 (char *) "type",(char *) "active",(char *) "Id", NULL
15040 };
15041
15042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iOi:new_ActivateEvent",kwnames,&arg1,&obj1,&arg3)) goto fail;
15043 if (obj1) {
15044 arg2 = PyInt_AsLong(obj1) ? true : false;
15045 if (PyErr_Occurred()) SWIG_fail;
15046 }
15047 {
15048 PyThreadState* __tstate = wxPyBeginAllowThreads();
15049 result = (wxActivateEvent *)new wxActivateEvent(arg1,arg2,arg3);
15050
15051 wxPyEndAllowThreads(__tstate);
15052 if (PyErr_Occurred()) SWIG_fail;
15053 }
15054 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxActivateEvent, 1);
15055 return resultobj;
15056 fail:
15057 return NULL;
15058}
15059
15060
15061static PyObject *_wrap_ActivateEvent_GetActive(PyObject *self, PyObject *args, PyObject *kwargs) {
15062 PyObject *resultobj;
15063 wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
15064 bool result;
15065 PyObject * obj0 = 0 ;
15066 char *kwnames[] = {
15067 (char *) "self", NULL
15068 };
15069
15070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail;
15071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxActivateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15072 {
15073 PyThreadState* __tstate = wxPyBeginAllowThreads();
15074 result = (bool)((wxActivateEvent const *)arg1)->GetActive();
15075
15076 wxPyEndAllowThreads(__tstate);
15077 if (PyErr_Occurred()) SWIG_fail;
15078 }
15079 resultobj = PyInt_FromLong((long)result);
15080 return resultobj;
15081 fail:
15082 return NULL;
15083}
15084
15085
15086static PyObject * ActivateEvent_swigregister(PyObject *self, PyObject *args) {
15087 PyObject *obj;
15088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15089 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj);
15090 Py_INCREF(obj);
15091 return Py_BuildValue((char *)"");
15092}
15093static PyObject *_wrap_new_InitDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15094 PyObject *resultobj;
15095 int arg1 = (int) 0 ;
15096 wxInitDialogEvent *result;
15097 char *kwnames[] = {
15098 (char *) "Id", NULL
15099 };
15100
15101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_InitDialogEvent",kwnames,&arg1)) goto fail;
15102 {
15103 PyThreadState* __tstate = wxPyBeginAllowThreads();
15104 result = (wxInitDialogEvent *)new wxInitDialogEvent(arg1);
15105
15106 wxPyEndAllowThreads(__tstate);
15107 if (PyErr_Occurred()) SWIG_fail;
15108 }
15109 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxInitDialogEvent, 1);
15110 return resultobj;
15111 fail:
15112 return NULL;
15113}
15114
15115
15116static PyObject * InitDialogEvent_swigregister(PyObject *self, PyObject *args) {
15117 PyObject *obj;
15118 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15119 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj);
15120 Py_INCREF(obj);
15121 return Py_BuildValue((char *)"");
15122}
15123static PyObject *_wrap_new_MenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15124 PyObject *resultobj;
15125 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15126 int arg2 = (int) 0 ;
15127 wxMenu *arg3 = (wxMenu *) NULL ;
15128 wxMenuEvent *result;
15129 PyObject * obj2 = 0 ;
15130 char *kwnames[] = {
15131 (char *) "type",(char *) "winid",(char *) "menu", NULL
15132 };
15133
15134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_MenuEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
15135 if (obj2) {
15136 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15137 }
15138 {
15139 PyThreadState* __tstate = wxPyBeginAllowThreads();
15140 result = (wxMenuEvent *)new wxMenuEvent(arg1,arg2,arg3);
15141
15142 wxPyEndAllowThreads(__tstate);
15143 if (PyErr_Occurred()) SWIG_fail;
15144 }
15145 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMenuEvent, 1);
15146 return resultobj;
15147 fail:
15148 return NULL;
15149}
15150
15151
15152static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *self, PyObject *args, PyObject *kwargs) {
15153 PyObject *resultobj;
15154 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
15155 int result;
15156 PyObject * obj0 = 0 ;
15157 char *kwnames[] = {
15158 (char *) "self", NULL
15159 };
15160
15161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail;
15162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15163 {
15164 PyThreadState* __tstate = wxPyBeginAllowThreads();
15165 result = (int)((wxMenuEvent const *)arg1)->GetMenuId();
15166
15167 wxPyEndAllowThreads(__tstate);
15168 if (PyErr_Occurred()) SWIG_fail;
15169 }
15170 resultobj = PyInt_FromLong((long)result);
15171 return resultobj;
15172 fail:
15173 return NULL;
15174}
15175
15176
15177static PyObject *_wrap_MenuEvent_IsPopup(PyObject *self, PyObject *args, PyObject *kwargs) {
15178 PyObject *resultobj;
15179 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
15180 bool result;
15181 PyObject * obj0 = 0 ;
15182 char *kwnames[] = {
15183 (char *) "self", NULL
15184 };
15185
15186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail;
15187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15188 {
15189 PyThreadState* __tstate = wxPyBeginAllowThreads();
15190 result = (bool)((wxMenuEvent const *)arg1)->IsPopup();
15191
15192 wxPyEndAllowThreads(__tstate);
15193 if (PyErr_Occurred()) SWIG_fail;
15194 }
15195 resultobj = PyInt_FromLong((long)result);
15196 return resultobj;
15197 fail:
15198 return NULL;
15199}
15200
15201
15202static PyObject *_wrap_MenuEvent_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
15203 PyObject *resultobj;
15204 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
15205 wxMenu *result;
15206 PyObject * obj0 = 0 ;
15207 char *kwnames[] = {
15208 (char *) "self", NULL
15209 };
15210
15211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail;
15212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15213 {
15214 PyThreadState* __tstate = wxPyBeginAllowThreads();
15215 result = (wxMenu *)((wxMenuEvent const *)arg1)->GetMenu();
15216
15217 wxPyEndAllowThreads(__tstate);
15218 if (PyErr_Occurred()) SWIG_fail;
15219 }
15220 {
15221 resultobj = wxPyMake_wxObject(result);
15222 }
15223 return resultobj;
15224 fail:
15225 return NULL;
15226}
15227
15228
15229static PyObject * MenuEvent_swigregister(PyObject *self, PyObject *args) {
15230 PyObject *obj;
15231 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15232 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj);
15233 Py_INCREF(obj);
15234 return Py_BuildValue((char *)"");
15235}
15236static PyObject *_wrap_new_CloseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15237 PyObject *resultobj;
15238 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15239 int arg2 = (int) 0 ;
15240 wxCloseEvent *result;
15241 char *kwnames[] = {
15242 (char *) "type",(char *) "winid", NULL
15243 };
15244
15245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_CloseEvent",kwnames,&arg1,&arg2)) goto fail;
15246 {
15247 PyThreadState* __tstate = wxPyBeginAllowThreads();
15248 result = (wxCloseEvent *)new wxCloseEvent(arg1,arg2);
15249
15250 wxPyEndAllowThreads(__tstate);
15251 if (PyErr_Occurred()) SWIG_fail;
15252 }
15253 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCloseEvent, 1);
15254 return resultobj;
15255 fail:
15256 return NULL;
15257}
15258
15259
15260static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
15261 PyObject *resultobj;
15262 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15263 bool arg2 ;
15264 PyObject * obj0 = 0 ;
15265 PyObject * obj1 = 0 ;
15266 char *kwnames[] = {
15267 (char *) "self",(char *) "logOff", NULL
15268 };
15269
15270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail;
15271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15272 arg2 = PyInt_AsLong(obj1) ? true : false;
15273 if (PyErr_Occurred()) SWIG_fail;
15274 {
15275 PyThreadState* __tstate = wxPyBeginAllowThreads();
15276 (arg1)->SetLoggingOff(arg2);
15277
15278 wxPyEndAllowThreads(__tstate);
15279 if (PyErr_Occurred()) SWIG_fail;
15280 }
15281 Py_INCREF(Py_None); resultobj = Py_None;
15282 return resultobj;
15283 fail:
15284 return NULL;
15285}
15286
15287
15288static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
15289 PyObject *resultobj;
15290 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15291 bool result;
15292 PyObject * obj0 = 0 ;
15293 char *kwnames[] = {
15294 (char *) "self", NULL
15295 };
15296
15297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail;
15298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15299 {
15300 PyThreadState* __tstate = wxPyBeginAllowThreads();
15301 result = (bool)((wxCloseEvent const *)arg1)->GetLoggingOff();
15302
15303 wxPyEndAllowThreads(__tstate);
15304 if (PyErr_Occurred()) SWIG_fail;
15305 }
15306 resultobj = PyInt_FromLong((long)result);
15307 return resultobj;
15308 fail:
15309 return NULL;
15310}
15311
15312
15313static PyObject *_wrap_CloseEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
15314 PyObject *resultobj;
15315 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
e811c8ce 15316 bool arg2 = (bool) True ;
d14a1e28
RD
15317 PyObject * obj0 = 0 ;
15318 PyObject * obj1 = 0 ;
15319 char *kwnames[] = {
15320 (char *) "self",(char *) "veto", NULL
15321 };
15322
15323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail;
15324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15325 if (obj1) {
15326 arg2 = PyInt_AsLong(obj1) ? true : false;
15327 if (PyErr_Occurred()) SWIG_fail;
15328 }
15329 {
15330 PyThreadState* __tstate = wxPyBeginAllowThreads();
15331 (arg1)->Veto(arg2);
15332
15333 wxPyEndAllowThreads(__tstate);
15334 if (PyErr_Occurred()) SWIG_fail;
15335 }
15336 Py_INCREF(Py_None); resultobj = Py_None;
15337 return resultobj;
15338 fail:
15339 return NULL;
15340}
15341
15342
15343static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
15344 PyObject *resultobj;
15345 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15346 bool arg2 ;
15347 PyObject * obj0 = 0 ;
15348 PyObject * obj1 = 0 ;
15349 char *kwnames[] = {
15350 (char *) "self",(char *) "canVeto", NULL
15351 };
15352
15353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
15354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15355 arg2 = PyInt_AsLong(obj1) ? true : false;
15356 if (PyErr_Occurred()) SWIG_fail;
15357 {
15358 PyThreadState* __tstate = wxPyBeginAllowThreads();
15359 (arg1)->SetCanVeto(arg2);
15360
15361 wxPyEndAllowThreads(__tstate);
15362 if (PyErr_Occurred()) SWIG_fail;
15363 }
15364 Py_INCREF(Py_None); resultobj = Py_None;
15365 return resultobj;
15366 fail:
15367 return NULL;
15368}
15369
15370
15371static PyObject *_wrap_CloseEvent_CanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
15372 PyObject *resultobj;
15373 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15374 bool result;
15375 PyObject * obj0 = 0 ;
15376 char *kwnames[] = {
15377 (char *) "self", NULL
15378 };
15379
15380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
15381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15382 {
15383 PyThreadState* __tstate = wxPyBeginAllowThreads();
15384 result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
15385
15386 wxPyEndAllowThreads(__tstate);
15387 if (PyErr_Occurred()) SWIG_fail;
15388 }
15389 resultobj = PyInt_FromLong((long)result);
15390 return resultobj;
15391 fail:
15392 return NULL;
15393}
15394
15395
15396static PyObject *_wrap_CloseEvent_GetVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
15397 PyObject *resultobj;
15398 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15399 bool result;
15400 PyObject * obj0 = 0 ;
15401 char *kwnames[] = {
15402 (char *) "self", NULL
15403 };
15404
15405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
15406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15407 {
15408 PyThreadState* __tstate = wxPyBeginAllowThreads();
15409 result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
15410
15411 wxPyEndAllowThreads(__tstate);
15412 if (PyErr_Occurred()) SWIG_fail;
15413 }
15414 resultobj = PyInt_FromLong((long)result);
15415 return resultobj;
15416 fail:
15417 return NULL;
15418}
15419
15420
15421static PyObject * CloseEvent_swigregister(PyObject *self, PyObject *args) {
15422 PyObject *obj;
15423 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15424 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj);
15425 Py_INCREF(obj);
15426 return Py_BuildValue((char *)"");
15427}
15428static PyObject *_wrap_new_ShowEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15429 PyObject *resultobj;
15430 int arg1 = (int) 0 ;
e811c8ce 15431 bool arg2 = (bool) False ;
d14a1e28
RD
15432 wxShowEvent *result;
15433 PyObject * obj1 = 0 ;
15434 char *kwnames[] = {
15435 (char *) "winid",(char *) "show", NULL
15436 };
15437
15438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_ShowEvent",kwnames,&arg1,&obj1)) goto fail;
15439 if (obj1) {
15440 arg2 = PyInt_AsLong(obj1) ? true : false;
15441 if (PyErr_Occurred()) SWIG_fail;
15442 }
15443 {
15444 PyThreadState* __tstate = wxPyBeginAllowThreads();
15445 result = (wxShowEvent *)new wxShowEvent(arg1,arg2);
15446
15447 wxPyEndAllowThreads(__tstate);
15448 if (PyErr_Occurred()) SWIG_fail;
15449 }
15450 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxShowEvent, 1);
15451 return resultobj;
15452 fail:
15453 return NULL;
15454}
15455
15456
15457static PyObject *_wrap_ShowEvent_SetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
15458 PyObject *resultobj;
15459 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
15460 bool arg2 ;
15461 PyObject * obj0 = 0 ;
15462 PyObject * obj1 = 0 ;
15463 char *kwnames[] = {
15464 (char *) "self",(char *) "show", NULL
15465 };
15466
15467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail;
15468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15469 arg2 = PyInt_AsLong(obj1) ? true : false;
15470 if (PyErr_Occurred()) SWIG_fail;
15471 {
15472 PyThreadState* __tstate = wxPyBeginAllowThreads();
15473 (arg1)->SetShow(arg2);
15474
15475 wxPyEndAllowThreads(__tstate);
15476 if (PyErr_Occurred()) SWIG_fail;
15477 }
15478 Py_INCREF(Py_None); resultobj = Py_None;
15479 return resultobj;
15480 fail:
15481 return NULL;
15482}
15483
15484
15485static PyObject *_wrap_ShowEvent_GetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
15486 PyObject *resultobj;
15487 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
15488 bool result;
15489 PyObject * obj0 = 0 ;
15490 char *kwnames[] = {
15491 (char *) "self", NULL
15492 };
15493
15494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail;
15495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15496 {
15497 PyThreadState* __tstate = wxPyBeginAllowThreads();
15498 result = (bool)((wxShowEvent const *)arg1)->GetShow();
15499
15500 wxPyEndAllowThreads(__tstate);
15501 if (PyErr_Occurred()) SWIG_fail;
15502 }
15503 resultobj = PyInt_FromLong((long)result);
15504 return resultobj;
15505 fail:
15506 return NULL;
15507}
15508
15509
15510static PyObject * ShowEvent_swigregister(PyObject *self, PyObject *args) {
15511 PyObject *obj;
15512 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15513 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj);
15514 Py_INCREF(obj);
15515 return Py_BuildValue((char *)"");
15516}
15517static PyObject *_wrap_new_IconizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15518 PyObject *resultobj;
15519 int arg1 = (int) 0 ;
e811c8ce 15520 bool arg2 = (bool) True ;
d14a1e28
RD
15521 wxIconizeEvent *result;
15522 PyObject * obj1 = 0 ;
15523 char *kwnames[] = {
15524 (char *) "id",(char *) "iconized", NULL
15525 };
15526
15527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_IconizeEvent",kwnames,&arg1,&obj1)) goto fail;
15528 if (obj1) {
15529 arg2 = PyInt_AsLong(obj1) ? true : false;
15530 if (PyErr_Occurred()) SWIG_fail;
15531 }
15532 {
15533 PyThreadState* __tstate = wxPyBeginAllowThreads();
15534 result = (wxIconizeEvent *)new wxIconizeEvent(arg1,arg2);
15535
15536 wxPyEndAllowThreads(__tstate);
15537 if (PyErr_Occurred()) SWIG_fail;
15538 }
15539 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIconizeEvent, 1);
15540 return resultobj;
15541 fail:
15542 return NULL;
15543}
15544
15545
15546static PyObject *_wrap_IconizeEvent_Iconized(PyObject *self, PyObject *args, PyObject *kwargs) {
15547 PyObject *resultobj;
15548 wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
15549 bool result;
15550 PyObject * obj0 = 0 ;
15551 char *kwnames[] = {
15552 (char *) "self", NULL
15553 };
15554
15555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail;
15556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIconizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15557 {
15558 PyThreadState* __tstate = wxPyBeginAllowThreads();
15559 result = (bool)(arg1)->Iconized();
15560
15561 wxPyEndAllowThreads(__tstate);
15562 if (PyErr_Occurred()) SWIG_fail;
15563 }
15564 resultobj = PyInt_FromLong((long)result);
15565 return resultobj;
15566 fail:
15567 return NULL;
15568}
15569
15570
15571static PyObject * IconizeEvent_swigregister(PyObject *self, PyObject *args) {
15572 PyObject *obj;
15573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15574 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj);
15575 Py_INCREF(obj);
15576 return Py_BuildValue((char *)"");
15577}
15578static PyObject *_wrap_new_MaximizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15579 PyObject *resultobj;
15580 int arg1 = (int) 0 ;
15581 wxMaximizeEvent *result;
15582 char *kwnames[] = {
15583 (char *) "id", NULL
15584 };
15585
15586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_MaximizeEvent",kwnames,&arg1)) goto fail;
15587 {
15588 PyThreadState* __tstate = wxPyBeginAllowThreads();
15589 result = (wxMaximizeEvent *)new wxMaximizeEvent(arg1);
15590
15591 wxPyEndAllowThreads(__tstate);
15592 if (PyErr_Occurred()) SWIG_fail;
15593 }
15594 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMaximizeEvent, 1);
15595 return resultobj;
15596 fail:
15597 return NULL;
15598}
15599
15600
15601static PyObject * MaximizeEvent_swigregister(PyObject *self, PyObject *args) {
15602 PyObject *obj;
15603 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15604 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj);
15605 Py_INCREF(obj);
15606 return Py_BuildValue((char *)"");
15607}
15608static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15609 PyObject *resultobj;
15610 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
15611 wxPoint result;
15612 PyObject * obj0 = 0 ;
15613 char *kwnames[] = {
15614 (char *) "self", NULL
15615 };
15616
15617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail;
15618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDropFilesEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15619 {
15620 PyThreadState* __tstate = wxPyBeginAllowThreads();
15621 result = (arg1)->GetPosition();
15622
15623 wxPyEndAllowThreads(__tstate);
15624 if (PyErr_Occurred()) SWIG_fail;
15625 }
15626 {
15627 wxPoint * resultptr;
15628 resultptr = new wxPoint((wxPoint &) result);
15629 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
15630 }
15631 return resultobj;
15632 fail:
15633 return NULL;
15634}
15635
15636
15637static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
15638 PyObject *resultobj;
15639 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
15640 int result;
15641 PyObject * obj0 = 0 ;
15642 char *kwnames[] = {
15643 (char *) "self", NULL
15644 };
15645
15646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail;
15647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDropFilesEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15648 {
15649 PyThreadState* __tstate = wxPyBeginAllowThreads();
15650 result = (int)(arg1)->GetNumberOfFiles();
15651
15652 wxPyEndAllowThreads(__tstate);
15653 if (PyErr_Occurred()) SWIG_fail;
15654 }
15655 resultobj = PyInt_FromLong((long)result);
15656 return resultobj;
15657 fail:
15658 return NULL;
15659}
15660
15661
15662static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
15663 PyObject *resultobj;
15664 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
15665 PyObject *result;
15666 PyObject * obj0 = 0 ;
15667 char *kwnames[] = {
15668 (char *) "self", NULL
15669 };
15670
15671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail;
15672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDropFilesEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15673 {
15674 PyThreadState* __tstate = wxPyBeginAllowThreads();
15675 result = (PyObject *)wxDropFilesEvent_GetFiles(arg1);
15676
15677 wxPyEndAllowThreads(__tstate);
15678 if (PyErr_Occurred()) SWIG_fail;
15679 }
15680 resultobj = result;
15681 return resultobj;
15682 fail:
15683 return NULL;
15684}
15685
15686
15687static PyObject * DropFilesEvent_swigregister(PyObject *self, PyObject *args) {
15688 PyObject *obj;
15689 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15690 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj);
15691 Py_INCREF(obj);
15692 return Py_BuildValue((char *)"");
15693}
15694static PyObject *_wrap_new_UpdateUIEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15695 PyObject *resultobj;
e811c8ce 15696 int arg1 = (int) 0 ;
d14a1e28
RD
15697 wxUpdateUIEvent *result;
15698 char *kwnames[] = {
15699 (char *) "commandId", NULL
15700 };
15701
15702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_UpdateUIEvent",kwnames,&arg1)) goto fail;
15703 {
15704 PyThreadState* __tstate = wxPyBeginAllowThreads();
15705 result = (wxUpdateUIEvent *)new wxUpdateUIEvent(arg1);
15706
15707 wxPyEndAllowThreads(__tstate);
15708 if (PyErr_Occurred()) SWIG_fail;
15709 }
15710 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxUpdateUIEvent, 1);
15711 return resultobj;
15712 fail:
15713 return NULL;
15714}
15715
15716
15717static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
15718 PyObject *resultobj;
15719 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15720 bool result;
15721 PyObject * obj0 = 0 ;
15722 char *kwnames[] = {
15723 (char *) "self", NULL
15724 };
15725
15726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail;
15727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15728 {
15729 PyThreadState* __tstate = wxPyBeginAllowThreads();
15730 result = (bool)((wxUpdateUIEvent const *)arg1)->GetChecked();
15731
15732 wxPyEndAllowThreads(__tstate);
15733 if (PyErr_Occurred()) SWIG_fail;
15734 }
15735 resultobj = PyInt_FromLong((long)result);
15736 return resultobj;
15737 fail:
15738 return NULL;
15739}
15740
15741
15742static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
15743 PyObject *resultobj;
15744 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15745 bool result;
15746 PyObject * obj0 = 0 ;
15747 char *kwnames[] = {
15748 (char *) "self", NULL
15749 };
15750
15751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail;
15752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15753 {
15754 PyThreadState* __tstate = wxPyBeginAllowThreads();
15755 result = (bool)((wxUpdateUIEvent const *)arg1)->GetEnabled();
15756
15757 wxPyEndAllowThreads(__tstate);
15758 if (PyErr_Occurred()) SWIG_fail;
15759 }
15760 resultobj = PyInt_FromLong((long)result);
15761 return resultobj;
15762 fail:
15763 return NULL;
15764}
15765
15766
15767static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15768 PyObject *resultobj;
15769 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15770 wxString result;
15771 PyObject * obj0 = 0 ;
15772 char *kwnames[] = {
15773 (char *) "self", NULL
15774 };
15775
15776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail;
15777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15778 {
15779 PyThreadState* __tstate = wxPyBeginAllowThreads();
15780 result = ((wxUpdateUIEvent const *)arg1)->GetText();
15781
15782 wxPyEndAllowThreads(__tstate);
15783 if (PyErr_Occurred()) SWIG_fail;
15784 }
15785 {
15786#if wxUSE_UNICODE
15787 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15788#else
15789 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15790#endif
15791 }
15792 return resultobj;
15793 fail:
15794 return NULL;
15795}
15796
15797
15798static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15799 PyObject *resultobj;
15800 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15801 bool result;
15802 PyObject * obj0 = 0 ;
15803 char *kwnames[] = {
15804 (char *) "self", NULL
15805 };
15806
15807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail;
15808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15809 {
15810 PyThreadState* __tstate = wxPyBeginAllowThreads();
15811 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetText();
15812
15813 wxPyEndAllowThreads(__tstate);
15814 if (PyErr_Occurred()) SWIG_fail;
15815 }
15816 resultobj = PyInt_FromLong((long)result);
15817 return resultobj;
15818 fail:
15819 return NULL;
15820}
15821
15822
15823static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
15824 PyObject *resultobj;
15825 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15826 bool result;
15827 PyObject * obj0 = 0 ;
15828 char *kwnames[] = {
15829 (char *) "self", NULL
15830 };
15831
15832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail;
15833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15834 {
15835 PyThreadState* __tstate = wxPyBeginAllowThreads();
15836 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetChecked();
15837
15838 wxPyEndAllowThreads(__tstate);
15839 if (PyErr_Occurred()) SWIG_fail;
15840 }
15841 resultobj = PyInt_FromLong((long)result);
15842 return resultobj;
15843 fail:
15844 return NULL;
15845}
15846
15847
15848static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
15849 PyObject *resultobj;
15850 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15851 bool result;
15852 PyObject * obj0 = 0 ;
15853 char *kwnames[] = {
15854 (char *) "self", NULL
15855 };
15856
15857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail;
15858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15859 {
15860 PyThreadState* __tstate = wxPyBeginAllowThreads();
15861 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetEnabled();
15862
15863 wxPyEndAllowThreads(__tstate);
15864 if (PyErr_Occurred()) SWIG_fail;
15865 }
15866 resultobj = PyInt_FromLong((long)result);
15867 return resultobj;
15868 fail:
15869 return NULL;
15870}
15871
15872
15873static PyObject *_wrap_UpdateUIEvent_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
15874 PyObject *resultobj;
15875 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15876 bool arg2 ;
15877 PyObject * obj0 = 0 ;
15878 PyObject * obj1 = 0 ;
15879 char *kwnames[] = {
15880 (char *) "self",(char *) "check", NULL
15881 };
15882
15883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail;
15884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15885 arg2 = PyInt_AsLong(obj1) ? true : false;
15886 if (PyErr_Occurred()) SWIG_fail;
15887 {
15888 PyThreadState* __tstate = wxPyBeginAllowThreads();
15889 (arg1)->Check(arg2);
15890
15891 wxPyEndAllowThreads(__tstate);
15892 if (PyErr_Occurred()) SWIG_fail;
15893 }
15894 Py_INCREF(Py_None); resultobj = Py_None;
15895 return resultobj;
15896 fail:
15897 return NULL;
15898}
15899
15900
15901static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
15902 PyObject *resultobj;
15903 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15904 bool arg2 ;
15905 PyObject * obj0 = 0 ;
15906 PyObject * obj1 = 0 ;
15907 char *kwnames[] = {
15908 (char *) "self",(char *) "enable", NULL
15909 };
15910
15911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail;
15912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15913 arg2 = PyInt_AsLong(obj1) ? true : false;
15914 if (PyErr_Occurred()) SWIG_fail;
15915 {
15916 PyThreadState* __tstate = wxPyBeginAllowThreads();
15917 (arg1)->Enable(arg2);
15918
15919 wxPyEndAllowThreads(__tstate);
15920 if (PyErr_Occurred()) SWIG_fail;
15921 }
15922 Py_INCREF(Py_None); resultobj = Py_None;
15923 return resultobj;
15924 fail:
15925 return NULL;
15926}
15927
15928
15929static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15930 PyObject *resultobj;
15931 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15932 wxString *arg2 = 0 ;
e811c8ce 15933 bool temp2 = False ;
d14a1e28
RD
15934 PyObject * obj0 = 0 ;
15935 PyObject * obj1 = 0 ;
15936 char *kwnames[] = {
15937 (char *) "self",(char *) "text", NULL
15938 };
15939
15940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
15941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15942 {
15943 arg2 = wxString_in_helper(obj1);
15944 if (arg2 == NULL) SWIG_fail;
e811c8ce 15945 temp2 = True;
d14a1e28
RD
15946 }
15947 {
15948 PyThreadState* __tstate = wxPyBeginAllowThreads();
15949 (arg1)->SetText((wxString const &)*arg2);
15950
15951 wxPyEndAllowThreads(__tstate);
15952 if (PyErr_Occurred()) SWIG_fail;
15953 }
15954 Py_INCREF(Py_None); resultobj = Py_None;
15955 {
15956 if (temp2)
15957 delete arg2;
15958 }
15959 return resultobj;
15960 fail:
15961 {
15962 if (temp2)
15963 delete arg2;
15964 }
15965 return NULL;
15966}
15967
15968
15969static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
15970 PyObject *resultobj;
15971 long arg1 ;
15972 char *kwnames[] = {
15973 (char *) "updateInterval", NULL
15974 };
15975
15976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:UpdateUIEvent_SetUpdateInterval",kwnames,&arg1)) goto fail;
15977 {
15978 PyThreadState* __tstate = wxPyBeginAllowThreads();
15979 wxUpdateUIEvent::SetUpdateInterval(arg1);
15980
15981 wxPyEndAllowThreads(__tstate);
15982 if (PyErr_Occurred()) SWIG_fail;
15983 }
15984 Py_INCREF(Py_None); resultobj = Py_None;
15985 return resultobj;
15986 fail:
15987 return NULL;
15988}
15989
15990
15991static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
15992 PyObject *resultobj;
15993 long result;
15994 char *kwnames[] = {
15995 NULL
15996 };
15997
15998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail;
15999 {
16000 PyThreadState* __tstate = wxPyBeginAllowThreads();
16001 result = (long)wxUpdateUIEvent::GetUpdateInterval();
16002
16003 wxPyEndAllowThreads(__tstate);
16004 if (PyErr_Occurred()) SWIG_fail;
16005 }
16006 resultobj = PyInt_FromLong((long)result);
16007 return resultobj;
16008 fail:
16009 return NULL;
16010}
16011
16012
16013static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *self, PyObject *args, PyObject *kwargs) {
16014 PyObject *resultobj;
16015 wxWindow *arg1 = (wxWindow *) 0 ;
16016 bool result;
16017 PyObject * obj0 = 0 ;
16018 char *kwnames[] = {
16019 (char *) "win", NULL
16020 };
16021
16022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail;
16023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16024 {
16025 PyThreadState* __tstate = wxPyBeginAllowThreads();
16026 result = (bool)wxUpdateUIEvent::CanUpdate(arg1);
16027
16028 wxPyEndAllowThreads(__tstate);
16029 if (PyErr_Occurred()) SWIG_fail;
16030 }
16031 resultobj = PyInt_FromLong((long)result);
16032 return resultobj;
16033 fail:
16034 return NULL;
16035}
16036
16037
16038static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
16039 PyObject *resultobj;
16040 char *kwnames[] = {
16041 NULL
16042 };
16043
16044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail;
16045 {
16046 PyThreadState* __tstate = wxPyBeginAllowThreads();
16047 wxUpdateUIEvent::ResetUpdateTime();
16048
16049 wxPyEndAllowThreads(__tstate);
16050 if (PyErr_Occurred()) SWIG_fail;
16051 }
16052 Py_INCREF(Py_None); resultobj = Py_None;
16053 return resultobj;
16054 fail:
16055 return NULL;
16056}
16057
16058
16059static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16060 PyObject *resultobj;
16061 int arg1 ;
16062 char *kwnames[] = {
16063 (char *) "mode", NULL
16064 };
16065
16066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:UpdateUIEvent_SetMode",kwnames,&arg1)) goto fail;
16067 {
16068 PyThreadState* __tstate = wxPyBeginAllowThreads();
16069 wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1);
16070
16071 wxPyEndAllowThreads(__tstate);
16072 if (PyErr_Occurred()) SWIG_fail;
16073 }
16074 Py_INCREF(Py_None); resultobj = Py_None;
16075 return resultobj;
16076 fail:
16077 return NULL;
16078}
16079
16080
16081static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16082 PyObject *resultobj;
16083 int result;
16084 char *kwnames[] = {
16085 NULL
16086 };
16087
16088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail;
16089 {
16090 PyThreadState* __tstate = wxPyBeginAllowThreads();
16091 result = (int)wxUpdateUIEvent::GetMode();
16092
16093 wxPyEndAllowThreads(__tstate);
16094 if (PyErr_Occurred()) SWIG_fail;
16095 }
16096 resultobj = PyInt_FromLong((long)result);
16097 return resultobj;
16098 fail:
16099 return NULL;
16100}
16101
16102
16103static PyObject * UpdateUIEvent_swigregister(PyObject *self, PyObject *args) {
16104 PyObject *obj;
16105 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16106 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj);
16107 Py_INCREF(obj);
16108 return Py_BuildValue((char *)"");
16109}
16110static PyObject *_wrap_new_SysColourChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16111 PyObject *resultobj;
16112 wxSysColourChangedEvent *result;
16113 char *kwnames[] = {
16114 NULL
16115 };
16116
16117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail;
16118 {
16119 PyThreadState* __tstate = wxPyBeginAllowThreads();
16120 result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent();
16121
16122 wxPyEndAllowThreads(__tstate);
16123 if (PyErr_Occurred()) SWIG_fail;
16124 }
16125 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSysColourChangedEvent, 1);
16126 return resultobj;
16127 fail:
16128 return NULL;
16129}
16130
16131
16132static PyObject * SysColourChangedEvent_swigregister(PyObject *self, PyObject *args) {
16133 PyObject *obj;
16134 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16135 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj);
16136 Py_INCREF(obj);
16137 return Py_BuildValue((char *)"");
16138}
16139static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16140 PyObject *resultobj;
e811c8ce 16141 int arg1 = (int) 0 ;
d14a1e28
RD
16142 wxWindow *arg2 = (wxWindow *) NULL ;
16143 wxMouseCaptureChangedEvent *result;
16144 PyObject * obj1 = 0 ;
16145 char *kwnames[] = {
16146 (char *) "winid",(char *) "gainedCapture", NULL
16147 };
16148
16149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_MouseCaptureChangedEvent",kwnames,&arg1,&obj1)) goto fail;
16150 if (obj1) {
16151 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16152 }
16153 {
16154 PyThreadState* __tstate = wxPyBeginAllowThreads();
16155 result = (wxMouseCaptureChangedEvent *)new wxMouseCaptureChangedEvent(arg1,arg2);
16156
16157 wxPyEndAllowThreads(__tstate);
16158 if (PyErr_Occurred()) SWIG_fail;
16159 }
16160 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseCaptureChangedEvent, 1);
16161 return resultobj;
16162 fail:
16163 return NULL;
16164}
16165
16166
16167static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16168 PyObject *resultobj;
16169 wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
16170 wxWindow *result;
16171 PyObject * obj0 = 0 ;
16172 char *kwnames[] = {
16173 (char *) "self", NULL
16174 };
16175
16176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail;
16177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseCaptureChangedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16178 {
16179 PyThreadState* __tstate = wxPyBeginAllowThreads();
16180 result = (wxWindow *)((wxMouseCaptureChangedEvent const *)arg1)->GetCapturedWindow();
16181
16182 wxPyEndAllowThreads(__tstate);
16183 if (PyErr_Occurred()) SWIG_fail;
16184 }
16185 {
16186 resultobj = wxPyMake_wxObject(result);
16187 }
16188 return resultobj;
16189 fail:
16190 return NULL;
16191}
16192
16193
16194static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *self, PyObject *args) {
16195 PyObject *obj;
16196 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16197 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj);
16198 Py_INCREF(obj);
16199 return Py_BuildValue((char *)"");
16200}
16201static PyObject *_wrap_new_DisplayChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16202 PyObject *resultobj;
16203 wxDisplayChangedEvent *result;
16204 char *kwnames[] = {
16205 NULL
16206 };
16207
16208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail;
16209 {
16210 PyThreadState* __tstate = wxPyBeginAllowThreads();
16211 result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent();
16212
16213 wxPyEndAllowThreads(__tstate);
16214 if (PyErr_Occurred()) SWIG_fail;
16215 }
16216 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDisplayChangedEvent, 1);
16217 return resultobj;
16218 fail:
16219 return NULL;
16220}
16221
16222
16223static PyObject * DisplayChangedEvent_swigregister(PyObject *self, PyObject *args) {
16224 PyObject *obj;
16225 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16226 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj);
16227 Py_INCREF(obj);
16228 return Py_BuildValue((char *)"");
16229}
16230static PyObject *_wrap_new_PaletteChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16231 PyObject *resultobj;
e811c8ce 16232 int arg1 = (int) 0 ;
d14a1e28
RD
16233 wxPaletteChangedEvent *result;
16234 char *kwnames[] = {
16235 (char *) "id", NULL
16236 };
16237
16238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_PaletteChangedEvent",kwnames,&arg1)) goto fail;
16239 {
16240 PyThreadState* __tstate = wxPyBeginAllowThreads();
16241 result = (wxPaletteChangedEvent *)new wxPaletteChangedEvent(arg1);
16242
16243 wxPyEndAllowThreads(__tstate);
16244 if (PyErr_Occurred()) SWIG_fail;
16245 }
16246 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPaletteChangedEvent, 1);
16247 return resultobj;
16248 fail:
16249 return NULL;
16250}
16251
16252
16253static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16254 PyObject *resultobj;
16255 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
16256 wxWindow *arg2 = (wxWindow *) 0 ;
16257 PyObject * obj0 = 0 ;
16258 PyObject * obj1 = 0 ;
16259 char *kwnames[] = {
16260 (char *) "self",(char *) "win", NULL
16261 };
16262
16263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail;
16264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPaletteChangedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16265 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16266 {
16267 PyThreadState* __tstate = wxPyBeginAllowThreads();
16268 (arg1)->SetChangedWindow(arg2);
16269
16270 wxPyEndAllowThreads(__tstate);
16271 if (PyErr_Occurred()) SWIG_fail;
16272 }
16273 Py_INCREF(Py_None); resultobj = Py_None;
16274 return resultobj;
16275 fail:
16276 return NULL;
16277}
16278
16279
16280static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16281 PyObject *resultobj;
16282 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
16283 wxWindow *result;
16284 PyObject * obj0 = 0 ;
16285 char *kwnames[] = {
16286 (char *) "self", NULL
16287 };
16288
16289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail;
16290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPaletteChangedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16291 {
16292 PyThreadState* __tstate = wxPyBeginAllowThreads();
16293 result = (wxWindow *)(arg1)->GetChangedWindow();
16294
16295 wxPyEndAllowThreads(__tstate);
16296 if (PyErr_Occurred()) SWIG_fail;
16297 }
16298 {
16299 resultobj = wxPyMake_wxObject(result);
16300 }
16301 return resultobj;
16302 fail:
16303 return NULL;
16304}
16305
16306
16307static PyObject * PaletteChangedEvent_swigregister(PyObject *self, PyObject *args) {
16308 PyObject *obj;
16309 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16310 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj);
16311 Py_INCREF(obj);
16312 return Py_BuildValue((char *)"");
16313}
16314static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16315 PyObject *resultobj;
e811c8ce 16316 int arg1 = (int) 0 ;
d14a1e28
RD
16317 wxQueryNewPaletteEvent *result;
16318 char *kwnames[] = {
16319 (char *) "winid", NULL
16320 };
16321
16322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryNewPaletteEvent",kwnames,&arg1)) goto fail;
16323 {
16324 PyThreadState* __tstate = wxPyBeginAllowThreads();
16325 result = (wxQueryNewPaletteEvent *)new wxQueryNewPaletteEvent(arg1);
16326
16327 wxPyEndAllowThreads(__tstate);
16328 if (PyErr_Occurred()) SWIG_fail;
16329 }
16330 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryNewPaletteEvent, 1);
16331 return resultobj;
16332 fail:
16333 return NULL;
16334}
16335
16336
16337static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
16338 PyObject *resultobj;
16339 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
16340 bool arg2 ;
16341 PyObject * obj0 = 0 ;
16342 PyObject * obj1 = 0 ;
16343 char *kwnames[] = {
16344 (char *) "self",(char *) "realized", NULL
16345 };
16346
16347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail;
16348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryNewPaletteEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16349 arg2 = PyInt_AsLong(obj1) ? true : false;
16350 if (PyErr_Occurred()) SWIG_fail;
16351 {
16352 PyThreadState* __tstate = wxPyBeginAllowThreads();
16353 (arg1)->SetPaletteRealized(arg2);
16354
16355 wxPyEndAllowThreads(__tstate);
16356 if (PyErr_Occurred()) SWIG_fail;
16357 }
16358 Py_INCREF(Py_None); resultobj = Py_None;
16359 return resultobj;
16360 fail:
16361 return NULL;
16362}
16363
16364
16365static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
16366 PyObject *resultobj;
16367 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
16368 bool result;
16369 PyObject * obj0 = 0 ;
16370 char *kwnames[] = {
16371 (char *) "self", NULL
16372 };
16373
16374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail;
16375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryNewPaletteEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16376 {
16377 PyThreadState* __tstate = wxPyBeginAllowThreads();
16378 result = (bool)((wxQueryNewPaletteEvent const *)arg1)->GetPaletteRealized();
16379
16380 wxPyEndAllowThreads(__tstate);
16381 if (PyErr_Occurred()) SWIG_fail;
16382 }
16383 resultobj = PyInt_FromLong((long)result);
16384 return resultobj;
16385 fail:
16386 return NULL;
16387}
16388
16389
16390static PyObject * QueryNewPaletteEvent_swigregister(PyObject *self, PyObject *args) {
16391 PyObject *obj;
16392 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16393 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj);
16394 Py_INCREF(obj);
16395 return Py_BuildValue((char *)"");
16396}
16397static PyObject *_wrap_new_NavigationKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16398 PyObject *resultobj;
16399 wxNavigationKeyEvent *result;
16400 char *kwnames[] = {
16401 NULL
16402 };
16403
16404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail;
16405 {
16406 PyThreadState* __tstate = wxPyBeginAllowThreads();
16407 result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent();
16408
16409 wxPyEndAllowThreads(__tstate);
16410 if (PyErr_Occurred()) SWIG_fail;
16411 }
16412 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNavigationKeyEvent, 1);
16413 return resultobj;
16414 fail:
16415 return NULL;
16416}
16417
16418
16419static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
16420 PyObject *resultobj;
16421 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16422 bool result;
16423 PyObject * obj0 = 0 ;
16424 char *kwnames[] = {
16425 (char *) "self", NULL
16426 };
16427
16428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail;
16429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16430 {
16431 PyThreadState* __tstate = wxPyBeginAllowThreads();
16432 result = (bool)((wxNavigationKeyEvent const *)arg1)->GetDirection();
16433
16434 wxPyEndAllowThreads(__tstate);
16435 if (PyErr_Occurred()) SWIG_fail;
16436 }
16437 resultobj = PyInt_FromLong((long)result);
16438 return resultobj;
16439 fail:
16440 return NULL;
16441}
16442
16443
16444static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
16445 PyObject *resultobj;
16446 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16447 bool arg2 ;
16448 PyObject * obj0 = 0 ;
16449 PyObject * obj1 = 0 ;
16450 char *kwnames[] = {
16451 (char *) "self",(char *) "bForward", NULL
16452 };
16453
16454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail;
16455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16456 arg2 = PyInt_AsLong(obj1) ? true : false;
16457 if (PyErr_Occurred()) SWIG_fail;
16458 {
16459 PyThreadState* __tstate = wxPyBeginAllowThreads();
16460 (arg1)->SetDirection(arg2);
16461
16462 wxPyEndAllowThreads(__tstate);
16463 if (PyErr_Occurred()) SWIG_fail;
16464 }
16465 Py_INCREF(Py_None); resultobj = Py_None;
16466 return resultobj;
16467 fail:
16468 return NULL;
16469}
16470
16471
16472static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
16473 PyObject *resultobj;
16474 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16475 bool result;
16476 PyObject * obj0 = 0 ;
16477 char *kwnames[] = {
16478 (char *) "self", NULL
16479 };
16480
16481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail;
16482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16483 {
16484 PyThreadState* __tstate = wxPyBeginAllowThreads();
16485 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsWindowChange();
16486
16487 wxPyEndAllowThreads(__tstate);
16488 if (PyErr_Occurred()) SWIG_fail;
16489 }
16490 resultobj = PyInt_FromLong((long)result);
16491 return resultobj;
16492 fail:
16493 return NULL;
16494}
16495
16496
16497static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
16498 PyObject *resultobj;
16499 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16500 bool arg2 ;
16501 PyObject * obj0 = 0 ;
16502 PyObject * obj1 = 0 ;
16503 char *kwnames[] = {
16504 (char *) "self",(char *) "bIs", NULL
16505 };
16506
16507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail;
16508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16509 arg2 = PyInt_AsLong(obj1) ? true : false;
16510 if (PyErr_Occurred()) SWIG_fail;
16511 {
16512 PyThreadState* __tstate = wxPyBeginAllowThreads();
16513 (arg1)->SetWindowChange(arg2);
16514
16515 wxPyEndAllowThreads(__tstate);
16516 if (PyErr_Occurred()) SWIG_fail;
16517 }
16518 Py_INCREF(Py_None); resultobj = Py_None;
16519 return resultobj;
16520 fail:
16521 return NULL;
16522}
16523
16524
16525static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16526 PyObject *resultobj;
16527 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16528 wxWindow *result;
16529 PyObject * obj0 = 0 ;
16530 char *kwnames[] = {
16531 (char *) "self", NULL
16532 };
16533
16534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail;
16535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16536 {
16537 PyThreadState* __tstate = wxPyBeginAllowThreads();
16538 result = (wxWindow *)((wxNavigationKeyEvent const *)arg1)->GetCurrentFocus();
16539
16540 wxPyEndAllowThreads(__tstate);
16541 if (PyErr_Occurred()) SWIG_fail;
16542 }
16543 {
16544 resultobj = wxPyMake_wxObject(result);
16545 }
16546 return resultobj;
16547 fail:
16548 return NULL;
16549}
16550
16551
16552static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16553 PyObject *resultobj;
16554 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16555 wxWindow *arg2 = (wxWindow *) 0 ;
16556 PyObject * obj0 = 0 ;
16557 PyObject * obj1 = 0 ;
16558 char *kwnames[] = {
16559 (char *) "self",(char *) "win", NULL
16560 };
16561
16562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail;
16563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16564 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16565 {
16566 PyThreadState* __tstate = wxPyBeginAllowThreads();
16567 (arg1)->SetCurrentFocus(arg2);
16568
16569 wxPyEndAllowThreads(__tstate);
16570 if (PyErr_Occurred()) SWIG_fail;
16571 }
16572 Py_INCREF(Py_None); resultobj = Py_None;
16573 return resultobj;
16574 fail:
16575 return NULL;
16576}
16577
16578
16579static PyObject * NavigationKeyEvent_swigregister(PyObject *self, PyObject *args) {
16580 PyObject *obj;
16581 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16582 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj);
16583 Py_INCREF(obj);
16584 return Py_BuildValue((char *)"");
16585}
16586static PyObject *_wrap_new_WindowCreateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16587 PyObject *resultobj;
16588 wxWindow *arg1 = (wxWindow *) NULL ;
16589 wxWindowCreateEvent *result;
16590 PyObject * obj0 = 0 ;
16591 char *kwnames[] = {
16592 (char *) "win", NULL
16593 };
16594
16595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail;
16596 if (obj0) {
16597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16598 }
16599 {
16600 PyThreadState* __tstate = wxPyBeginAllowThreads();
16601 result = (wxWindowCreateEvent *)new wxWindowCreateEvent(arg1);
16602
16603 wxPyEndAllowThreads(__tstate);
16604 if (PyErr_Occurred()) SWIG_fail;
16605 }
16606 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowCreateEvent, 1);
16607 return resultobj;
16608 fail:
16609 return NULL;
16610}
16611
16612
16613static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16614 PyObject *resultobj;
16615 wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
16616 wxWindow *result;
16617 PyObject * obj0 = 0 ;
16618 char *kwnames[] = {
16619 (char *) "self", NULL
16620 };
16621
16622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail;
16623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowCreateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16624 {
16625 PyThreadState* __tstate = wxPyBeginAllowThreads();
16626 result = (wxWindow *)((wxWindowCreateEvent const *)arg1)->GetWindow();
16627
16628 wxPyEndAllowThreads(__tstate);
16629 if (PyErr_Occurred()) SWIG_fail;
16630 }
16631 {
16632 resultobj = wxPyMake_wxObject(result);
16633 }
16634 return resultobj;
16635 fail:
16636 return NULL;
16637}
16638
16639
16640static PyObject * WindowCreateEvent_swigregister(PyObject *self, PyObject *args) {
16641 PyObject *obj;
16642 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16643 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj);
16644 Py_INCREF(obj);
16645 return Py_BuildValue((char *)"");
16646}
16647static PyObject *_wrap_new_WindowDestroyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16648 PyObject *resultobj;
16649 wxWindow *arg1 = (wxWindow *) NULL ;
16650 wxWindowDestroyEvent *result;
16651 PyObject * obj0 = 0 ;
16652 char *kwnames[] = {
16653 (char *) "win", NULL
16654 };
16655
16656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail;
16657 if (obj0) {
16658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16659 }
16660 {
16661 PyThreadState* __tstate = wxPyBeginAllowThreads();
16662 result = (wxWindowDestroyEvent *)new wxWindowDestroyEvent(arg1);
16663
16664 wxPyEndAllowThreads(__tstate);
16665 if (PyErr_Occurred()) SWIG_fail;
16666 }
16667 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowDestroyEvent, 1);
16668 return resultobj;
16669 fail:
16670 return NULL;
16671}
16672
16673
16674static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16675 PyObject *resultobj;
16676 wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
16677 wxWindow *result;
16678 PyObject * obj0 = 0 ;
16679 char *kwnames[] = {
16680 (char *) "self", NULL
16681 };
16682
16683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail;
16684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowDestroyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16685 {
16686 PyThreadState* __tstate = wxPyBeginAllowThreads();
16687 result = (wxWindow *)((wxWindowDestroyEvent const *)arg1)->GetWindow();
16688
16689 wxPyEndAllowThreads(__tstate);
16690 if (PyErr_Occurred()) SWIG_fail;
16691 }
16692 {
16693 resultobj = wxPyMake_wxObject(result);
16694 }
16695 return resultobj;
16696 fail:
16697 return NULL;
16698}
16699
16700
16701static PyObject * WindowDestroyEvent_swigregister(PyObject *self, PyObject *args) {
16702 PyObject *obj;
16703 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16704 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj);
16705 Py_INCREF(obj);
16706 return Py_BuildValue((char *)"");
16707}
16708static PyObject *_wrap_new_ContextMenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16709 PyObject *resultobj;
16710 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 16711 int arg2 = (int) 0 ;
d14a1e28
RD
16712 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16713 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16714 wxContextMenuEvent *result;
16715 wxPoint temp3 ;
16716 PyObject * obj2 = 0 ;
16717 char *kwnames[] = {
16718 (char *) "type",(char *) "winid",(char *) "pt", NULL
16719 };
16720
16721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_ContextMenuEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
16722 if (obj2) {
16723 {
16724 arg3 = &temp3;
16725 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16726 }
16727 }
16728 {
16729 PyThreadState* __tstate = wxPyBeginAllowThreads();
16730 result = (wxContextMenuEvent *)new wxContextMenuEvent(arg1,arg2,(wxPoint const &)*arg3);
16731
16732 wxPyEndAllowThreads(__tstate);
16733 if (PyErr_Occurred()) SWIG_fail;
16734 }
16735 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextMenuEvent, 1);
16736 return resultobj;
16737 fail:
16738 return NULL;
16739}
16740
16741
16742static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16743 PyObject *resultobj;
16744 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
16745 wxPoint *result;
16746 PyObject * obj0 = 0 ;
16747 char *kwnames[] = {
16748 (char *) "self", NULL
16749 };
16750
16751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail;
16752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16753 {
16754 PyThreadState* __tstate = wxPyBeginAllowThreads();
16755 {
16756 wxPoint const &_result_ref = ((wxContextMenuEvent const *)arg1)->GetPosition();
16757 result = (wxPoint *) &_result_ref;
16758 }
16759
16760 wxPyEndAllowThreads(__tstate);
16761 if (PyErr_Occurred()) SWIG_fail;
16762 }
16763 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
16764 return resultobj;
16765 fail:
16766 return NULL;
16767}
16768
16769
16770static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16771 PyObject *resultobj;
16772 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
16773 wxPoint *arg2 = 0 ;
16774 wxPoint temp2 ;
16775 PyObject * obj0 = 0 ;
16776 PyObject * obj1 = 0 ;
16777 char *kwnames[] = {
16778 (char *) "self",(char *) "pos", NULL
16779 };
16780
16781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
16782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16783 {
16784 arg2 = &temp2;
16785 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16786 }
16787 {
16788 PyThreadState* __tstate = wxPyBeginAllowThreads();
16789 (arg1)->SetPosition((wxPoint const &)*arg2);
16790
16791 wxPyEndAllowThreads(__tstate);
16792 if (PyErr_Occurred()) SWIG_fail;
16793 }
16794 Py_INCREF(Py_None); resultobj = Py_None;
16795 return resultobj;
16796 fail:
16797 return NULL;
16798}
16799
16800
16801static PyObject * ContextMenuEvent_swigregister(PyObject *self, PyObject *args) {
16802 PyObject *obj;
16803 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16804 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj);
16805 Py_INCREF(obj);
16806 return Py_BuildValue((char *)"");
16807}
16808static PyObject *_wrap_new_IdleEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16809 PyObject *resultobj;
16810 wxIdleEvent *result;
16811 char *kwnames[] = {
16812 NULL
16813 };
16814
16815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail;
16816 {
16817 PyThreadState* __tstate = wxPyBeginAllowThreads();
16818 result = (wxIdleEvent *)new wxIdleEvent();
16819
16820 wxPyEndAllowThreads(__tstate);
16821 if (PyErr_Occurred()) SWIG_fail;
16822 }
16823 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIdleEvent, 1);
16824 return resultobj;
16825 fail:
16826 return NULL;
16827}
16828
16829
16830static PyObject *_wrap_IdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) {
16831 PyObject *resultobj;
16832 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
e811c8ce 16833 bool arg2 = (bool) True ;
d14a1e28
RD
16834 PyObject * obj0 = 0 ;
16835 PyObject * obj1 = 0 ;
16836 char *kwnames[] = {
16837 (char *) "self",(char *) "needMore", NULL
16838 };
16839
16840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail;
16841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIdleEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16842 if (obj1) {
16843 arg2 = PyInt_AsLong(obj1) ? true : false;
16844 if (PyErr_Occurred()) SWIG_fail;
16845 }
16846 {
16847 PyThreadState* __tstate = wxPyBeginAllowThreads();
16848 (arg1)->RequestMore(arg2);
16849
16850 wxPyEndAllowThreads(__tstate);
16851 if (PyErr_Occurred()) SWIG_fail;
16852 }
16853 Py_INCREF(Py_None); resultobj = Py_None;
16854 return resultobj;
16855 fail:
16856 return NULL;
16857}
16858
16859
16860static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *self, PyObject *args, PyObject *kwargs) {
16861 PyObject *resultobj;
16862 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
16863 bool result;
16864 PyObject * obj0 = 0 ;
16865 char *kwnames[] = {
16866 (char *) "self", NULL
16867 };
16868
16869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail;
16870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIdleEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16871 {
16872 PyThreadState* __tstate = wxPyBeginAllowThreads();
16873 result = (bool)((wxIdleEvent const *)arg1)->MoreRequested();
16874
16875 wxPyEndAllowThreads(__tstate);
16876 if (PyErr_Occurred()) SWIG_fail;
16877 }
16878 resultobj = PyInt_FromLong((long)result);
16879 return resultobj;
16880 fail:
16881 return NULL;
16882}
16883
16884
16885static PyObject *_wrap_IdleEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16886 PyObject *resultobj;
16887 int arg1 ;
16888 char *kwnames[] = {
16889 (char *) "mode", NULL
16890 };
16891
16892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:IdleEvent_SetMode",kwnames,&arg1)) goto fail;
16893 {
16894 PyThreadState* __tstate = wxPyBeginAllowThreads();
16895 wxIdleEvent::SetMode((wxIdleMode )arg1);
16896
16897 wxPyEndAllowThreads(__tstate);
16898 if (PyErr_Occurred()) SWIG_fail;
16899 }
16900 Py_INCREF(Py_None); resultobj = Py_None;
16901 return resultobj;
16902 fail:
16903 return NULL;
16904}
16905
16906
16907static PyObject *_wrap_IdleEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16908 PyObject *resultobj;
16909 int result;
16910 char *kwnames[] = {
16911 NULL
16912 };
16913
16914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail;
16915 {
16916 PyThreadState* __tstate = wxPyBeginAllowThreads();
16917 result = (int)wxIdleEvent::GetMode();
16918
16919 wxPyEndAllowThreads(__tstate);
16920 if (PyErr_Occurred()) SWIG_fail;
16921 }
16922 resultobj = PyInt_FromLong((long)result);
16923 return resultobj;
16924 fail:
16925 return NULL;
16926}
16927
16928
16929static PyObject *_wrap_IdleEvent_CanSend(PyObject *self, PyObject *args, PyObject *kwargs) {
16930 PyObject *resultobj;
16931 wxWindow *arg1 = (wxWindow *) 0 ;
16932 bool result;
16933 PyObject * obj0 = 0 ;
16934 char *kwnames[] = {
16935 (char *) "win", NULL
16936 };
16937
16938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail;
16939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16940 {
16941 PyThreadState* __tstate = wxPyBeginAllowThreads();
16942 result = (bool)wxIdleEvent::CanSend(arg1);
16943
16944 wxPyEndAllowThreads(__tstate);
16945 if (PyErr_Occurred()) SWIG_fail;
16946 }
16947 resultobj = PyInt_FromLong((long)result);
16948 return resultobj;
16949 fail:
16950 return NULL;
16951}
16952
16953
16954static PyObject * IdleEvent_swigregister(PyObject *self, PyObject *args) {
16955 PyObject *obj;
16956 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16957 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj);
16958 Py_INCREF(obj);
16959 return Py_BuildValue((char *)"");
16960}
16961static PyObject *_wrap_new_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16962 PyObject *resultobj;
16963 int arg1 = (int) 0 ;
16964 wxEventType arg2 = (wxEventType) wxEVT_NULL ;
16965 wxPyEvent *result;
16966 char *kwnames[] = {
16967 (char *) "winid",(char *) "commandType", NULL
16968 };
16969
16970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_PyEvent",kwnames,&arg1,&arg2)) goto fail;
16971 {
16972 PyThreadState* __tstate = wxPyBeginAllowThreads();
16973 result = (wxPyEvent *)new wxPyEvent(arg1,arg2);
16974
16975 wxPyEndAllowThreads(__tstate);
16976 if (PyErr_Occurred()) SWIG_fail;
16977 }
16978 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyEvent, 1);
16979 return resultobj;
16980 fail:
16981 return NULL;
16982}
16983
16984
16985static PyObject *_wrap_delete_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16986 PyObject *resultobj;
16987 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
16988 PyObject * obj0 = 0 ;
16989 char *kwnames[] = {
16990 (char *) "self", NULL
16991 };
16992
16993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail;
16994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16995 {
16996 PyThreadState* __tstate = wxPyBeginAllowThreads();
16997 delete arg1;
16998
16999 wxPyEndAllowThreads(__tstate);
17000 if (PyErr_Occurred()) SWIG_fail;
17001 }
17002 Py_INCREF(Py_None); resultobj = Py_None;
17003 return resultobj;
17004 fail:
17005 return NULL;
17006}
17007
17008
17009static PyObject *_wrap_PyEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
17010 PyObject *resultobj;
17011 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
17012 PyObject *arg2 = (PyObject *) 0 ;
17013 PyObject * obj0 = 0 ;
17014 PyObject * obj1 = 0 ;
17015 char *kwnames[] = {
17016 (char *) "self",(char *) "self", NULL
17017 };
17018
17019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
17020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17021 arg2 = obj1;
17022 {
17023 PyThreadState* __tstate = wxPyBeginAllowThreads();
17024 (arg1)->SetSelf(arg2);
17025
17026 wxPyEndAllowThreads(__tstate);
17027 if (PyErr_Occurred()) SWIG_fail;
17028 }
17029 Py_INCREF(Py_None); resultobj = Py_None;
17030 return resultobj;
17031 fail:
17032 return NULL;
17033}
17034
17035
17036static PyObject *_wrap_PyEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
17037 PyObject *resultobj;
17038 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
17039 PyObject *result;
17040 PyObject * obj0 = 0 ;
17041 char *kwnames[] = {
17042 (char *) "self", NULL
17043 };
17044
17045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
17046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17047 {
17048 PyThreadState* __tstate = wxPyBeginAllowThreads();
17049 result = (PyObject *)(arg1)->GetSelf();
17050
17051 wxPyEndAllowThreads(__tstate);
17052 if (PyErr_Occurred()) SWIG_fail;
17053 }
17054 resultobj = result;
17055 return resultobj;
17056 fail:
17057 return NULL;
17058}
17059
17060
17061static PyObject * PyEvent_swigregister(PyObject *self, PyObject *args) {
17062 PyObject *obj;
17063 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17064 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj);
17065 Py_INCREF(obj);
17066 return Py_BuildValue((char *)"");
17067}
17068static PyObject *_wrap_new_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17069 PyObject *resultobj;
17070 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17071 int arg2 = (int) 0 ;
17072 wxPyCommandEvent *result;
17073 char *kwnames[] = {
17074 (char *) "commandType",(char *) "id", NULL
17075 };
17076
17077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_PyCommandEvent",kwnames,&arg1,&arg2)) goto fail;
17078 {
17079 PyThreadState* __tstate = wxPyBeginAllowThreads();
17080 result = (wxPyCommandEvent *)new wxPyCommandEvent(arg1,arg2);
17081
17082 wxPyEndAllowThreads(__tstate);
17083 if (PyErr_Occurred()) SWIG_fail;
17084 }
17085 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyCommandEvent, 1);
17086 return resultobj;
17087 fail:
17088 return NULL;
17089}
17090
17091
17092static PyObject *_wrap_delete_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17093 PyObject *resultobj;
17094 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
17095 PyObject * obj0 = 0 ;
17096 char *kwnames[] = {
17097 (char *) "self", NULL
17098 };
17099
17100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail;
17101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17102 {
17103 PyThreadState* __tstate = wxPyBeginAllowThreads();
17104 delete arg1;
17105
17106 wxPyEndAllowThreads(__tstate);
17107 if (PyErr_Occurred()) SWIG_fail;
17108 }
17109 Py_INCREF(Py_None); resultobj = Py_None;
17110 return resultobj;
17111 fail:
17112 return NULL;
17113}
17114
17115
17116static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
17117 PyObject *resultobj;
17118 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
17119 PyObject *arg2 = (PyObject *) 0 ;
17120 PyObject * obj0 = 0 ;
17121 PyObject * obj1 = 0 ;
17122 char *kwnames[] = {
17123 (char *) "self",(char *) "self", NULL
17124 };
17125
17126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
17127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17128 arg2 = obj1;
17129 {
17130 PyThreadState* __tstate = wxPyBeginAllowThreads();
17131 (arg1)->SetSelf(arg2);
17132
17133 wxPyEndAllowThreads(__tstate);
17134 if (PyErr_Occurred()) SWIG_fail;
17135 }
17136 Py_INCREF(Py_None); resultobj = Py_None;
17137 return resultobj;
17138 fail:
17139 return NULL;
17140}
17141
17142
17143static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
17144 PyObject *resultobj;
17145 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
17146 PyObject *result;
17147 PyObject * obj0 = 0 ;
17148 char *kwnames[] = {
17149 (char *) "self", NULL
17150 };
17151
17152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
17153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17154 {
17155 PyThreadState* __tstate = wxPyBeginAllowThreads();
17156 result = (PyObject *)(arg1)->GetSelf();
17157
17158 wxPyEndAllowThreads(__tstate);
17159 if (PyErr_Occurred()) SWIG_fail;
17160 }
17161 resultobj = result;
17162 return resultobj;
17163 fail:
17164 return NULL;
17165}
17166
17167
17168static PyObject * PyCommandEvent_swigregister(PyObject *self, PyObject *args) {
17169 PyObject *obj;
17170 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17171 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj);
17172 Py_INCREF(obj);
17173 return Py_BuildValue((char *)"");
17174}
17175static PyObject *_wrap_new_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
17176 PyObject *resultobj;
17177 wxPyApp *result;
17178 char *kwnames[] = {
17179 NULL
17180 };
17181
17182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail;
17183 {
17184 PyThreadState* __tstate = wxPyBeginAllowThreads();
17185 result = (wxPyApp *)new_wxPyApp();
17186
17187 wxPyEndAllowThreads(__tstate);
17188 if (PyErr_Occurred()) SWIG_fail;
17189 }
17190 {
17191 resultobj = wxPyMake_wxObject(result);
17192 }
17193 return resultobj;
17194 fail:
17195 return NULL;
17196}
17197
17198
17199static PyObject *_wrap_delete_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
17200 PyObject *resultobj;
17201 wxPyApp *arg1 = (wxPyApp *) 0 ;
17202 PyObject * obj0 = 0 ;
17203 char *kwnames[] = {
17204 (char *) "self", NULL
17205 };
17206
17207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail;
17208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17209 {
17210 PyThreadState* __tstate = wxPyBeginAllowThreads();
17211 delete arg1;
17212
17213 wxPyEndAllowThreads(__tstate);
17214 if (PyErr_Occurred()) SWIG_fail;
17215 }
17216 Py_INCREF(Py_None); resultobj = Py_None;
17217 return resultobj;
17218 fail:
17219 return NULL;
17220}
17221
17222
17223static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17224 PyObject *resultobj;
17225 wxPyApp *arg1 = (wxPyApp *) 0 ;
17226 PyObject *arg2 = (PyObject *) 0 ;
17227 PyObject *arg3 = (PyObject *) 0 ;
17228 PyObject * obj0 = 0 ;
17229 PyObject * obj1 = 0 ;
17230 PyObject * obj2 = 0 ;
17231 char *kwnames[] = {
17232 (char *) "self",(char *) "self",(char *) "_class", NULL
17233 };
17234
17235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17237 arg2 = obj1;
17238 arg3 = obj2;
17239 {
17240 PyThreadState* __tstate = wxPyBeginAllowThreads();
17241 (arg1)->_setCallbackInfo(arg2,arg3);
17242
17243 wxPyEndAllowThreads(__tstate);
17244 if (PyErr_Occurred()) SWIG_fail;
17245 }
17246 Py_INCREF(Py_None); resultobj = Py_None;
17247 return resultobj;
17248 fail:
17249 return NULL;
17250}
17251
17252
17253static PyObject *_wrap_PyApp_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
17254 PyObject *resultobj;
17255 wxPyApp *arg1 = (wxPyApp *) 0 ;
17256 wxString result;
17257 PyObject * obj0 = 0 ;
17258 char *kwnames[] = {
17259 (char *) "self", NULL
17260 };
17261
17262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail;
17263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17264 {
17265 PyThreadState* __tstate = wxPyBeginAllowThreads();
17266 result = ((wxPyApp const *)arg1)->GetAppName();
17267
17268 wxPyEndAllowThreads(__tstate);
17269 if (PyErr_Occurred()) SWIG_fail;
17270 }
17271 {
17272#if wxUSE_UNICODE
17273 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17274#else
17275 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17276#endif
17277 }
17278 return resultobj;
17279 fail:
17280 return NULL;
17281}
17282
17283
17284static PyObject *_wrap_PyApp_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
17285 PyObject *resultobj;
17286 wxPyApp *arg1 = (wxPyApp *) 0 ;
17287 wxString *arg2 = 0 ;
e811c8ce 17288 bool temp2 = False ;
d14a1e28
RD
17289 PyObject * obj0 = 0 ;
17290 PyObject * obj1 = 0 ;
17291 char *kwnames[] = {
17292 (char *) "self",(char *) "name", NULL
17293 };
17294
17295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail;
17296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17297 {
17298 arg2 = wxString_in_helper(obj1);
17299 if (arg2 == NULL) SWIG_fail;
e811c8ce 17300 temp2 = True;
d14a1e28
RD
17301 }
17302 {
17303 PyThreadState* __tstate = wxPyBeginAllowThreads();
17304 (arg1)->SetAppName((wxString const &)*arg2);
17305
17306 wxPyEndAllowThreads(__tstate);
17307 if (PyErr_Occurred()) SWIG_fail;
17308 }
17309 Py_INCREF(Py_None); resultobj = Py_None;
17310 {
17311 if (temp2)
17312 delete arg2;
17313 }
17314 return resultobj;
17315 fail:
17316 {
17317 if (temp2)
17318 delete arg2;
17319 }
17320 return NULL;
17321}
17322
17323
17324static PyObject *_wrap_PyApp_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
17325 PyObject *resultobj;
17326 wxPyApp *arg1 = (wxPyApp *) 0 ;
17327 wxString result;
17328 PyObject * obj0 = 0 ;
17329 char *kwnames[] = {
17330 (char *) "self", NULL
17331 };
17332
17333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail;
17334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17335 {
17336 PyThreadState* __tstate = wxPyBeginAllowThreads();
17337 result = ((wxPyApp const *)arg1)->GetClassName();
17338
17339 wxPyEndAllowThreads(__tstate);
17340 if (PyErr_Occurred()) SWIG_fail;
17341 }
17342 {
17343#if wxUSE_UNICODE
17344 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17345#else
17346 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17347#endif
17348 }
17349 return resultobj;
17350 fail:
17351 return NULL;
17352}
17353
17354
17355static PyObject *_wrap_PyApp_SetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
17356 PyObject *resultobj;
17357 wxPyApp *arg1 = (wxPyApp *) 0 ;
17358 wxString *arg2 = 0 ;
e811c8ce 17359 bool temp2 = False ;
d14a1e28
RD
17360 PyObject * obj0 = 0 ;
17361 PyObject * obj1 = 0 ;
17362 char *kwnames[] = {
17363 (char *) "self",(char *) "name", NULL
17364 };
17365
17366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail;
17367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17368 {
17369 arg2 = wxString_in_helper(obj1);
17370 if (arg2 == NULL) SWIG_fail;
e811c8ce 17371 temp2 = True;
d14a1e28
RD
17372 }
17373 {
17374 PyThreadState* __tstate = wxPyBeginAllowThreads();
17375 (arg1)->SetClassName((wxString const &)*arg2);
17376
17377 wxPyEndAllowThreads(__tstate);
17378 if (PyErr_Occurred()) SWIG_fail;
17379 }
17380 Py_INCREF(Py_None); resultobj = Py_None;
17381 {
17382 if (temp2)
17383 delete arg2;
17384 }
17385 return resultobj;
17386 fail:
17387 {
17388 if (temp2)
17389 delete arg2;
17390 }
17391 return NULL;
17392}
17393
17394
17395static PyObject *_wrap_PyApp_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
17396 PyObject *resultobj;
17397 wxPyApp *arg1 = (wxPyApp *) 0 ;
17398 wxString *result;
17399 PyObject * obj0 = 0 ;
17400 char *kwnames[] = {
17401 (char *) "self", NULL
17402 };
17403
17404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail;
17405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17406 {
17407 PyThreadState* __tstate = wxPyBeginAllowThreads();
17408 {
17409 wxString const &_result_ref = ((wxPyApp const *)arg1)->GetVendorName();
17410 result = (wxString *) &_result_ref;
17411 }
17412
17413 wxPyEndAllowThreads(__tstate);
17414 if (PyErr_Occurred()) SWIG_fail;
17415 }
17416 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
17417 return resultobj;
17418 fail:
17419 return NULL;
17420}
17421
17422
17423static PyObject *_wrap_PyApp_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
17424 PyObject *resultobj;
17425 wxPyApp *arg1 = (wxPyApp *) 0 ;
17426 wxString *arg2 = 0 ;
e811c8ce 17427 bool temp2 = False ;
d14a1e28
RD
17428 PyObject * obj0 = 0 ;
17429 PyObject * obj1 = 0 ;
17430 char *kwnames[] = {
17431 (char *) "self",(char *) "name", NULL
17432 };
17433
17434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
17435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17436 {
17437 arg2 = wxString_in_helper(obj1);
17438 if (arg2 == NULL) SWIG_fail;
e811c8ce 17439 temp2 = True;
d14a1e28
RD
17440 }
17441 {
17442 PyThreadState* __tstate = wxPyBeginAllowThreads();
17443 (arg1)->SetVendorName((wxString const &)*arg2);
17444
17445 wxPyEndAllowThreads(__tstate);
17446 if (PyErr_Occurred()) SWIG_fail;
17447 }
17448 Py_INCREF(Py_None); resultobj = Py_None;
17449 {
17450 if (temp2)
17451 delete arg2;
17452 }
17453 return resultobj;
17454 fail:
17455 {
17456 if (temp2)
17457 delete arg2;
17458 }
17459 return NULL;
17460}
17461
17462
17463static PyObject *_wrap_PyApp_GetTraits(PyObject *self, PyObject *args, PyObject *kwargs) {
17464 PyObject *resultobj;
17465 wxPyApp *arg1 = (wxPyApp *) 0 ;
17466 wxAppTraits *result;
17467 PyObject * obj0 = 0 ;
17468 char *kwnames[] = {
17469 (char *) "self", NULL
17470 };
17471
17472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail;
17473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17474 {
17475 PyThreadState* __tstate = wxPyBeginAllowThreads();
17476 result = (wxAppTraits *)(arg1)->GetTraits();
17477
17478 wxPyEndAllowThreads(__tstate);
17479 if (PyErr_Occurred()) SWIG_fail;
17480 }
17481 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAppTraits, 0);
17482 return resultobj;
17483 fail:
17484 return NULL;
17485}
17486
17487
17488static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
17489 PyObject *resultobj;
17490 wxPyApp *arg1 = (wxPyApp *) 0 ;
17491 PyObject * obj0 = 0 ;
17492 char *kwnames[] = {
17493 (char *) "self", NULL
17494 };
17495
17496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail;
17497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17498 {
17499 PyThreadState* __tstate = wxPyBeginAllowThreads();
17500 (arg1)->ProcessPendingEvents();
17501
17502 wxPyEndAllowThreads(__tstate);
17503 if (PyErr_Occurred()) SWIG_fail;
17504 }
17505 Py_INCREF(Py_None); resultobj = Py_None;
17506 return resultobj;
17507 fail:
17508 return NULL;
17509}
17510
17511
17512static PyObject *_wrap_PyApp_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
17513 PyObject *resultobj;
17514 wxPyApp *arg1 = (wxPyApp *) 0 ;
e811c8ce 17515 bool arg2 = (bool) False ;
d14a1e28
RD
17516 bool result;
17517 PyObject * obj0 = 0 ;
17518 PyObject * obj1 = 0 ;
17519 char *kwnames[] = {
17520 (char *) "self",(char *) "onlyIfNeeded", NULL
17521 };
17522
17523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail;
17524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17525 if (obj1) {
17526 arg2 = PyInt_AsLong(obj1) ? true : false;
17527 if (PyErr_Occurred()) SWIG_fail;
17528 }
17529 {
17530 PyThreadState* __tstate = wxPyBeginAllowThreads();
17531 result = (bool)(arg1)->Yield(arg2);
17532
17533 wxPyEndAllowThreads(__tstate);
17534 if (PyErr_Occurred()) SWIG_fail;
17535 }
17536 resultobj = PyInt_FromLong((long)result);
17537 return resultobj;
17538 fail:
17539 return NULL;
17540}
17541
17542
17543static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
17544 PyObject *resultobj;
17545 wxPyApp *arg1 = (wxPyApp *) 0 ;
17546 PyObject * obj0 = 0 ;
17547 char *kwnames[] = {
17548 (char *) "self", NULL
17549 };
17550
17551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail;
17552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17553 {
17554 PyThreadState* __tstate = wxPyBeginAllowThreads();
17555 (arg1)->WakeUpIdle();
17556
17557 wxPyEndAllowThreads(__tstate);
17558 if (PyErr_Occurred()) SWIG_fail;
17559 }
17560 Py_INCREF(Py_None); resultobj = Py_None;
17561 return resultobj;
17562 fail:
17563 return NULL;
17564}
17565
17566
17567static PyObject *_wrap_PyApp_MainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
17568 PyObject *resultobj;
17569 wxPyApp *arg1 = (wxPyApp *) 0 ;
17570 int result;
17571 PyObject * obj0 = 0 ;
17572 char *kwnames[] = {
17573 (char *) "self", NULL
17574 };
17575
17576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail;
17577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17578 {
17579 PyThreadState* __tstate = wxPyBeginAllowThreads();
17580 result = (int)(arg1)->MainLoop();
17581
17582 wxPyEndAllowThreads(__tstate);
17583 if (PyErr_Occurred()) SWIG_fail;
17584 }
17585 resultobj = PyInt_FromLong((long)result);
17586 return resultobj;
17587 fail:
17588 return NULL;
17589}
17590
17591
17592static PyObject *_wrap_PyApp_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
17593 PyObject *resultobj;
17594 wxPyApp *arg1 = (wxPyApp *) 0 ;
17595 PyObject * obj0 = 0 ;
17596 char *kwnames[] = {
17597 (char *) "self", NULL
17598 };
17599
17600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail;
17601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17602 {
17603 PyThreadState* __tstate = wxPyBeginAllowThreads();
17604 (arg1)->Exit();
17605
17606 wxPyEndAllowThreads(__tstate);
17607 if (PyErr_Occurred()) SWIG_fail;
17608 }
17609 Py_INCREF(Py_None); resultobj = Py_None;
17610 return resultobj;
17611 fail:
17612 return NULL;
17613}
17614
17615
17616static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
17617 PyObject *resultobj;
17618 wxPyApp *arg1 = (wxPyApp *) 0 ;
17619 PyObject * obj0 = 0 ;
17620 char *kwnames[] = {
17621 (char *) "self", NULL
17622 };
17623
17624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail;
17625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17626 {
17627 PyThreadState* __tstate = wxPyBeginAllowThreads();
17628 (arg1)->ExitMainLoop();
17629
17630 wxPyEndAllowThreads(__tstate);
17631 if (PyErr_Occurred()) SWIG_fail;
17632 }
17633 Py_INCREF(Py_None); resultobj = Py_None;
17634 return resultobj;
17635 fail:
17636 return NULL;
17637}
17638
17639
17640static PyObject *_wrap_PyApp_Pending(PyObject *self, PyObject *args, PyObject *kwargs) {
17641 PyObject *resultobj;
17642 wxPyApp *arg1 = (wxPyApp *) 0 ;
17643 bool result;
17644 PyObject * obj0 = 0 ;
17645 char *kwnames[] = {
17646 (char *) "self", NULL
17647 };
17648
17649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail;
17650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17651 {
17652 PyThreadState* __tstate = wxPyBeginAllowThreads();
17653 result = (bool)(arg1)->Pending();
17654
17655 wxPyEndAllowThreads(__tstate);
17656 if (PyErr_Occurred()) SWIG_fail;
17657 }
17658 resultobj = PyInt_FromLong((long)result);
17659 return resultobj;
17660 fail:
17661 return NULL;
17662}
17663
17664
17665static PyObject *_wrap_PyApp_Dispatch(PyObject *self, PyObject *args, PyObject *kwargs) {
17666 PyObject *resultobj;
17667 wxPyApp *arg1 = (wxPyApp *) 0 ;
17668 bool result;
17669 PyObject * obj0 = 0 ;
17670 char *kwnames[] = {
17671 (char *) "self", NULL
17672 };
17673
17674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",kwnames,&obj0)) goto fail;
17675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17676 {
17677 PyThreadState* __tstate = wxPyBeginAllowThreads();
17678 result = (bool)(arg1)->Dispatch();
17679
17680 wxPyEndAllowThreads(__tstate);
17681 if (PyErr_Occurred()) SWIG_fail;
17682 }
17683 resultobj = PyInt_FromLong((long)result);
17684 return resultobj;
17685 fail:
17686 return NULL;
17687}
17688
17689
17690static PyObject *_wrap_PyApp_ProcessIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
17691 PyObject *resultobj;
17692 wxPyApp *arg1 = (wxPyApp *) 0 ;
17693 bool result;
17694 PyObject * obj0 = 0 ;
17695 char *kwnames[] = {
17696 (char *) "self", NULL
17697 };
17698
17699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail;
17700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17701 {
17702 PyThreadState* __tstate = wxPyBeginAllowThreads();
17703 result = (bool)(arg1)->ProcessIdle();
17704
17705 wxPyEndAllowThreads(__tstate);
17706 if (PyErr_Occurred()) SWIG_fail;
17707 }
17708 resultobj = PyInt_FromLong((long)result);
17709 return resultobj;
17710 fail:
17711 return NULL;
17712}
17713
17714
17715static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
17716 PyObject *resultobj;
17717 wxPyApp *arg1 = (wxPyApp *) 0 ;
17718 wxWindow *arg2 = (wxWindow *) 0 ;
17719 wxIdleEvent *arg3 = 0 ;
17720 bool result;
17721 PyObject * obj0 = 0 ;
17722 PyObject * obj1 = 0 ;
17723 PyObject * obj2 = 0 ;
17724 char *kwnames[] = {
17725 (char *) "self",(char *) "win",(char *) "event", NULL
17726 };
17727
17728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail;
17729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17730 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17731 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxIdleEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17732 if (arg3 == NULL) {
17733 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17734 }
17735 {
17736 PyThreadState* __tstate = wxPyBeginAllowThreads();
17737 result = (bool)(arg1)->SendIdleEvents(arg2,*arg3);
17738
17739 wxPyEndAllowThreads(__tstate);
17740 if (PyErr_Occurred()) SWIG_fail;
17741 }
17742 resultobj = PyInt_FromLong((long)result);
17743 return resultobj;
17744 fail:
17745 return NULL;
17746}
17747
17748
17749static PyObject *_wrap_PyApp_OnIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
17750 PyObject *resultobj;
17751 wxPyApp *arg1 = (wxPyApp *) 0 ;
17752 wxIdleEvent *arg2 = 0 ;
17753 PyObject * obj0 = 0 ;
17754 PyObject * obj1 = 0 ;
17755 char *kwnames[] = {
17756 (char *) "self",(char *) "event", NULL
17757 };
17758
17759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_OnIdle",kwnames,&obj0,&obj1)) goto fail;
17760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17761 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIdleEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17762 if (arg2 == NULL) {
17763 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17764 }
17765 {
17766 PyThreadState* __tstate = wxPyBeginAllowThreads();
17767 (arg1)->OnIdle(*arg2);
17768
17769 wxPyEndAllowThreads(__tstate);
17770 if (PyErr_Occurred()) SWIG_fail;
17771 }
17772 Py_INCREF(Py_None); resultobj = Py_None;
17773 return resultobj;
17774 fail:
17775 return NULL;
17776}
17777
17778
17779static PyObject *_wrap_PyApp_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
17780 PyObject *resultobj;
17781 wxPyApp *arg1 = (wxPyApp *) 0 ;
17782 bool result;
17783 PyObject * obj0 = 0 ;
17784 char *kwnames[] = {
17785 (char *) "self", NULL
17786 };
17787
17788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
17789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17790 {
17791 PyThreadState* __tstate = wxPyBeginAllowThreads();
17792 result = (bool)((wxPyApp const *)arg1)->IsActive();
17793
17794 wxPyEndAllowThreads(__tstate);
17795 if (PyErr_Occurred()) SWIG_fail;
17796 }
17797 resultobj = PyInt_FromLong((long)result);
17798 return resultobj;
17799 fail:
17800 return NULL;
17801}
17802
17803
17804static PyObject *_wrap_PyApp_SetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17805 PyObject *resultobj;
17806 wxPyApp *arg1 = (wxPyApp *) 0 ;
17807 wxWindow *arg2 = (wxWindow *) 0 ;
17808 PyObject * obj0 = 0 ;
17809 PyObject * obj1 = 0 ;
17810 char *kwnames[] = {
17811 (char *) "self",(char *) "win", NULL
17812 };
17813
17814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
17815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17816 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17817 {
17818 PyThreadState* __tstate = wxPyBeginAllowThreads();
17819 (arg1)->SetTopWindow(arg2);
17820
17821 wxPyEndAllowThreads(__tstate);
17822 if (PyErr_Occurred()) SWIG_fail;
17823 }
17824 Py_INCREF(Py_None); resultobj = Py_None;
17825 return resultobj;
17826 fail:
17827 return NULL;
17828}
17829
17830
17831static PyObject *_wrap_PyApp_GetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17832 PyObject *resultobj;
17833 wxPyApp *arg1 = (wxPyApp *) 0 ;
17834 wxWindow *result;
17835 PyObject * obj0 = 0 ;
17836 char *kwnames[] = {
17837 (char *) "self", NULL
17838 };
17839
17840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
17841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17842 {
17843 PyThreadState* __tstate = wxPyBeginAllowThreads();
17844 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
17845
17846 wxPyEndAllowThreads(__tstate);
17847 if (PyErr_Occurred()) SWIG_fail;
17848 }
17849 {
17850 resultobj = wxPyMake_wxObject(result);
17851 }
17852 return resultobj;
17853 fail:
17854 return NULL;
17855}
17856
17857
17858static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
17859 PyObject *resultobj;
17860 wxPyApp *arg1 = (wxPyApp *) 0 ;
17861 bool arg2 ;
17862 PyObject * obj0 = 0 ;
17863 PyObject * obj1 = 0 ;
17864 char *kwnames[] = {
17865 (char *) "self",(char *) "flag", NULL
17866 };
17867
17868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
17869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17870 arg2 = PyInt_AsLong(obj1) ? true : false;
17871 if (PyErr_Occurred()) SWIG_fail;
17872 {
17873 PyThreadState* __tstate = wxPyBeginAllowThreads();
17874 (arg1)->SetExitOnFrameDelete(arg2);
17875
17876 wxPyEndAllowThreads(__tstate);
17877 if (PyErr_Occurred()) SWIG_fail;
17878 }
17879 Py_INCREF(Py_None); resultobj = Py_None;
17880 return resultobj;
17881 fail:
17882 return NULL;
17883}
17884
17885
17886static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
17887 PyObject *resultobj;
17888 wxPyApp *arg1 = (wxPyApp *) 0 ;
17889 bool result;
17890 PyObject * obj0 = 0 ;
17891 char *kwnames[] = {
17892 (char *) "self", NULL
17893 };
17894
17895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
17896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17897 {
17898 PyThreadState* __tstate = wxPyBeginAllowThreads();
17899 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
17900
17901 wxPyEndAllowThreads(__tstate);
17902 if (PyErr_Occurred()) SWIG_fail;
17903 }
17904 resultobj = PyInt_FromLong((long)result);
17905 return resultobj;
17906 fail:
17907 return NULL;
17908}
17909
17910
17911static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
17912 PyObject *resultobj;
17913 wxPyApp *arg1 = (wxPyApp *) 0 ;
17914 bool arg2 ;
17915 PyObject * obj0 = 0 ;
17916 PyObject * obj1 = 0 ;
17917 char *kwnames[] = {
17918 (char *) "self",(char *) "flag", NULL
17919 };
17920
17921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
17922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17923 arg2 = PyInt_AsLong(obj1) ? true : false;
17924 if (PyErr_Occurred()) SWIG_fail;
17925 {
17926 PyThreadState* __tstate = wxPyBeginAllowThreads();
17927 (arg1)->SetUseBestVisual(arg2);
17928
17929 wxPyEndAllowThreads(__tstate);
17930 if (PyErr_Occurred()) SWIG_fail;
17931 }
17932 Py_INCREF(Py_None); resultobj = Py_None;
17933 return resultobj;
17934 fail:
17935 return NULL;
17936}
17937
17938
17939static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
17940 PyObject *resultobj;
17941 wxPyApp *arg1 = (wxPyApp *) 0 ;
17942 bool result;
17943 PyObject * obj0 = 0 ;
17944 char *kwnames[] = {
17945 (char *) "self", NULL
17946 };
17947
17948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
17949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17950 {
17951 PyThreadState* __tstate = wxPyBeginAllowThreads();
17952 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
17953
17954 wxPyEndAllowThreads(__tstate);
17955 if (PyErr_Occurred()) SWIG_fail;
17956 }
17957 resultobj = PyInt_FromLong((long)result);
17958 return resultobj;
17959 fail:
17960 return NULL;
17961}
17962
17963
17964static PyObject *_wrap_PyApp_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17965 PyObject *resultobj;
17966 wxPyApp *arg1 = (wxPyApp *) 0 ;
17967 int arg2 ;
17968 PyObject * obj0 = 0 ;
17969 char *kwnames[] = {
17970 (char *) "self",(char *) "mode", NULL
17971 };
17972
17973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyApp_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
17974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17975 {
17976 PyThreadState* __tstate = wxPyBeginAllowThreads();
17977 (arg1)->SetPrintMode(arg2);
17978
17979 wxPyEndAllowThreads(__tstate);
17980 if (PyErr_Occurred()) SWIG_fail;
17981 }
17982 Py_INCREF(Py_None); resultobj = Py_None;
17983 return resultobj;
17984 fail:
17985 return NULL;
17986}
17987
17988
17989static PyObject *_wrap_PyApp_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17990 PyObject *resultobj;
17991 wxPyApp *arg1 = (wxPyApp *) 0 ;
17992 int result;
17993 PyObject * obj0 = 0 ;
17994 char *kwnames[] = {
17995 (char *) "self", NULL
17996 };
17997
17998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
17999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18000 {
18001 PyThreadState* __tstate = wxPyBeginAllowThreads();
18002 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
18003
18004 wxPyEndAllowThreads(__tstate);
18005 if (PyErr_Occurred()) SWIG_fail;
18006 }
18007 resultobj = PyInt_FromLong((long)result);
18008 return resultobj;
18009 fail:
18010 return NULL;
18011}
18012
18013
18014static PyObject *_wrap_PyApp_GetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18015 PyObject *resultobj;
18016 wxPyApp *arg1 = (wxPyApp *) 0 ;
18017 int result;
18018 PyObject * obj0 = 0 ;
18019 char *kwnames[] = {
18020 (char *) "self", NULL
18021 };
18022
18023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
18024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18025 {
18026 PyThreadState* __tstate = wxPyBeginAllowThreads();
18027 result = (int)(arg1)->GetAssertMode();
18028
18029 wxPyEndAllowThreads(__tstate);
18030 if (PyErr_Occurred()) SWIG_fail;
18031 }
18032 resultobj = PyInt_FromLong((long)result);
18033 return resultobj;
18034 fail:
18035 return NULL;
18036}
18037
18038
18039static PyObject *_wrap_PyApp_SetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18040 PyObject *resultobj;
18041 wxPyApp *arg1 = (wxPyApp *) 0 ;
18042 int arg2 ;
18043 PyObject * obj0 = 0 ;
18044 char *kwnames[] = {
18045 (char *) "self",(char *) "mode", NULL
18046 };
18047
18048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyApp_SetAssertMode",kwnames,&obj0,&arg2)) goto fail;
18049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18050 {
18051 PyThreadState* __tstate = wxPyBeginAllowThreads();
18052 (arg1)->SetAssertMode(arg2);
18053
18054 wxPyEndAllowThreads(__tstate);
18055 if (PyErr_Occurred()) SWIG_fail;
18056 }
18057 Py_INCREF(Py_None); resultobj = Py_None;
18058 return resultobj;
18059 fail:
18060 return NULL;
18061}
18062
18063
18064static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
18065 PyObject *resultobj;
18066 bool result;
18067 char *kwnames[] = {
18068 NULL
18069 };
18070
18071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
18072 {
18073 PyThreadState* __tstate = wxPyBeginAllowThreads();
18074 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
18075
18076 wxPyEndAllowThreads(__tstate);
18077 if (PyErr_Occurred()) SWIG_fail;
18078 }
18079 resultobj = PyInt_FromLong((long)result);
18080 return resultobj;
18081 fail:
18082 return NULL;
18083}
18084
18085
18086static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18087 PyObject *resultobj;
18088 long result;
18089 char *kwnames[] = {
18090 NULL
18091 };
18092
18093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
18094 {
18095 PyThreadState* __tstate = wxPyBeginAllowThreads();
18096 result = (long)wxPyApp::GetMacAboutMenuItemId();
18097
18098 wxPyEndAllowThreads(__tstate);
18099 if (PyErr_Occurred()) SWIG_fail;
18100 }
18101 resultobj = PyInt_FromLong((long)result);
18102 return resultobj;
18103 fail:
18104 return NULL;
18105}
18106
18107
18108static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18109 PyObject *resultobj;
18110 long result;
18111 char *kwnames[] = {
18112 NULL
18113 };
18114
18115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
18116 {
18117 PyThreadState* __tstate = wxPyBeginAllowThreads();
18118 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
18119
18120 wxPyEndAllowThreads(__tstate);
18121 if (PyErr_Occurred()) SWIG_fail;
18122 }
18123 resultobj = PyInt_FromLong((long)result);
18124 return resultobj;
18125 fail:
18126 return NULL;
18127}
18128
18129
18130static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18131 PyObject *resultobj;
18132 long result;
18133 char *kwnames[] = {
18134 NULL
18135 };
18136
18137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
18138 {
18139 PyThreadState* __tstate = wxPyBeginAllowThreads();
18140 result = (long)wxPyApp::GetMacExitMenuItemId();
18141
18142 wxPyEndAllowThreads(__tstate);
18143 if (PyErr_Occurred()) SWIG_fail;
18144 }
18145 resultobj = PyInt_FromLong((long)result);
18146 return resultobj;
18147 fail:
18148 return NULL;
18149}
18150
18151
18152static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
18153 PyObject *resultobj;
18154 wxString result;
18155 char *kwnames[] = {
18156 NULL
18157 };
18158
18159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
18160 {
18161 PyThreadState* __tstate = wxPyBeginAllowThreads();
18162 result = wxPyApp::GetMacHelpMenuTitleName();
18163
18164 wxPyEndAllowThreads(__tstate);
18165 if (PyErr_Occurred()) SWIG_fail;
18166 }
18167 {
18168#if wxUSE_UNICODE
18169 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18170#else
18171 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18172#endif
18173 }
18174 return resultobj;
18175 fail:
18176 return NULL;
18177}
18178
18179
18180static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
18181 PyObject *resultobj;
18182 bool arg1 ;
18183 PyObject * obj0 = 0 ;
18184 char *kwnames[] = {
18185 (char *) "val", NULL
18186 };
18187
18188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
18189 arg1 = PyInt_AsLong(obj0) ? true : false;
18190 if (PyErr_Occurred()) SWIG_fail;
18191 {
18192 PyThreadState* __tstate = wxPyBeginAllowThreads();
18193 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
18194
18195 wxPyEndAllowThreads(__tstate);
18196 if (PyErr_Occurred()) SWIG_fail;
18197 }
18198 Py_INCREF(Py_None); resultobj = Py_None;
18199 return resultobj;
18200 fail:
18201 return NULL;
18202}
18203
18204
18205static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18206 PyObject *resultobj;
18207 long arg1 ;
18208 char *kwnames[] = {
18209 (char *) "val", NULL
18210 };
18211
18212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:PyApp_SetMacAboutMenuItemId",kwnames,&arg1)) goto fail;
18213 {
18214 PyThreadState* __tstate = wxPyBeginAllowThreads();
18215 wxPyApp::SetMacAboutMenuItemId(arg1);
18216
18217 wxPyEndAllowThreads(__tstate);
18218 if (PyErr_Occurred()) SWIG_fail;
18219 }
18220 Py_INCREF(Py_None); resultobj = Py_None;
18221 return resultobj;
18222 fail:
18223 return NULL;
18224}
18225
18226
18227static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18228 PyObject *resultobj;
18229 long arg1 ;
18230 char *kwnames[] = {
18231 (char *) "val", NULL
18232 };
18233
18234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:PyApp_SetMacPreferencesMenuItemId",kwnames,&arg1)) goto fail;
18235 {
18236 PyThreadState* __tstate = wxPyBeginAllowThreads();
18237 wxPyApp::SetMacPreferencesMenuItemId(arg1);
18238
18239 wxPyEndAllowThreads(__tstate);
18240 if (PyErr_Occurred()) SWIG_fail;
18241 }
18242 Py_INCREF(Py_None); resultobj = Py_None;
18243 return resultobj;
18244 fail:
18245 return NULL;
18246}
18247
18248
18249static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18250 PyObject *resultobj;
18251 long arg1 ;
18252 char *kwnames[] = {
18253 (char *) "val", NULL
18254 };
18255
18256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:PyApp_SetMacExitMenuItemId",kwnames,&arg1)) goto fail;
18257 {
18258 PyThreadState* __tstate = wxPyBeginAllowThreads();
18259 wxPyApp::SetMacExitMenuItemId(arg1);
18260
18261 wxPyEndAllowThreads(__tstate);
18262 if (PyErr_Occurred()) SWIG_fail;
18263 }
18264 Py_INCREF(Py_None); resultobj = Py_None;
18265 return resultobj;
18266 fail:
18267 return NULL;
18268}
18269
18270
18271static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
18272 PyObject *resultobj;
18273 wxString *arg1 = 0 ;
e811c8ce 18274 bool temp1 = False ;
d14a1e28
RD
18275 PyObject * obj0 = 0 ;
18276 char *kwnames[] = {
18277 (char *) "val", NULL
18278 };
18279
18280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
18281 {
18282 arg1 = wxString_in_helper(obj0);
18283 if (arg1 == NULL) SWIG_fail;
e811c8ce 18284 temp1 = True;
d14a1e28
RD
18285 }
18286 {
18287 PyThreadState* __tstate = wxPyBeginAllowThreads();
18288 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
18289
18290 wxPyEndAllowThreads(__tstate);
18291 if (PyErr_Occurred()) SWIG_fail;
18292 }
18293 Py_INCREF(Py_None); resultobj = Py_None;
18294 {
18295 if (temp1)
18296 delete arg1;
18297 }
18298 return resultobj;
18299 fail:
18300 {
18301 if (temp1)
18302 delete arg1;
18303 }
18304 return NULL;
18305}
18306
18307
18308static PyObject *_wrap_PyApp__BootstrapApp(PyObject *self, PyObject *args, PyObject *kwargs) {
18309 PyObject *resultobj;
18310 wxPyApp *arg1 = (wxPyApp *) 0 ;
18311 PyObject * obj0 = 0 ;
18312 char *kwnames[] = {
18313 (char *) "self", NULL
18314 };
18315
18316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
18317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18318 {
18319 PyThreadState* __tstate = wxPyBeginAllowThreads();
18320 (arg1)->_BootstrapApp();
18321
18322 wxPyEndAllowThreads(__tstate);
18323 if (PyErr_Occurred()) SWIG_fail;
18324 }
18325 Py_INCREF(Py_None); resultobj = Py_None;
18326 return resultobj;
18327 fail:
18328 return NULL;
18329}
18330
18331
18332static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *self, PyObject *args, PyObject *kwargs) {
18333 PyObject *resultobj;
18334 int result;
18335 char *kwnames[] = {
18336 NULL
18337 };
18338
18339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
18340 {
18341 PyThreadState* __tstate = wxPyBeginAllowThreads();
18342 result = (int)PyApp_GetComCtl32Version();
18343
18344 wxPyEndAllowThreads(__tstate);
18345 if (PyErr_Occurred()) SWIG_fail;
18346 }
18347 resultobj = PyInt_FromLong((long)result);
18348 return resultobj;
18349 fail:
18350 return NULL;
18351}
18352
18353
18354static PyObject * PyApp_swigregister(PyObject *self, PyObject *args) {
18355 PyObject *obj;
18356 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18357 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
18358 Py_INCREF(obj);
18359 return Py_BuildValue((char *)"");
18360}
18361static PyObject *_wrap_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
18362 PyObject *resultobj;
18363 char *kwnames[] = {
18364 NULL
18365 };
18366
18367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
18368 {
18369 PyThreadState* __tstate = wxPyBeginAllowThreads();
18370 wxExit();
18371
18372 wxPyEndAllowThreads(__tstate);
18373 if (PyErr_Occurred()) SWIG_fail;
18374 }
18375 Py_INCREF(Py_None); resultobj = Py_None;
18376 return resultobj;
18377 fail:
18378 return NULL;
18379}
18380
18381
18382static PyObject *_wrap_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
18383 PyObject *resultobj;
18384 bool result;
18385 char *kwnames[] = {
18386 NULL
18387 };
18388
18389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
18390 {
18391 PyThreadState* __tstate = wxPyBeginAllowThreads();
18392 result = (bool)wxYield();
18393
18394 wxPyEndAllowThreads(__tstate);
18395 if (PyErr_Occurred()) SWIG_fail;
18396 }
18397 resultobj = PyInt_FromLong((long)result);
18398 return resultobj;
18399 fail:
18400 return NULL;
18401}
18402
18403
18404static PyObject *_wrap_YieldIfNeeded(PyObject *self, PyObject *args, PyObject *kwargs) {
18405 PyObject *resultobj;
18406 bool result;
18407 char *kwnames[] = {
18408 NULL
18409 };
18410
18411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
18412 {
18413 PyThreadState* __tstate = wxPyBeginAllowThreads();
18414 result = (bool)wxYieldIfNeeded();
18415
18416 wxPyEndAllowThreads(__tstate);
18417 if (PyErr_Occurred()) SWIG_fail;
18418 }
18419 resultobj = PyInt_FromLong((long)result);
18420 return resultobj;
18421 fail:
18422 return NULL;
18423}
18424
18425
18426static PyObject *_wrap_SafeYield(PyObject *self, PyObject *args, PyObject *kwargs) {
18427 PyObject *resultobj;
18428 wxWindow *arg1 = (wxWindow *) NULL ;
e811c8ce 18429 bool arg2 = (bool) False ;
d14a1e28
RD
18430 bool result;
18431 PyObject * obj0 = 0 ;
18432 PyObject * obj1 = 0 ;
18433 char *kwnames[] = {
18434 (char *) "win",(char *) "onlyIfNeeded", NULL
18435 };
18436
18437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
18438 if (obj0) {
18439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18440 }
18441 if (obj1) {
18442 arg2 = PyInt_AsLong(obj1) ? true : false;
18443 if (PyErr_Occurred()) SWIG_fail;
18444 }
18445 {
18446 PyThreadState* __tstate = wxPyBeginAllowThreads();
18447 result = (bool)wxSafeYield(arg1,arg2);
18448
18449 wxPyEndAllowThreads(__tstate);
18450 if (PyErr_Occurred()) SWIG_fail;
18451 }
18452 resultobj = PyInt_FromLong((long)result);
18453 return resultobj;
18454 fail:
18455 return NULL;
18456}
18457
18458
18459static PyObject *_wrap_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
18460 PyObject *resultobj;
18461 char *kwnames[] = {
18462 NULL
18463 };
18464
18465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
18466 {
18467 PyThreadState* __tstate = wxPyBeginAllowThreads();
18468 wxWakeUpIdle();
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_PostEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18481 PyObject *resultobj;
18482 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
18483 wxEvent *arg2 = 0 ;
18484 PyObject * obj0 = 0 ;
18485 PyObject * obj1 = 0 ;
18486 char *kwnames[] = {
18487 (char *) "dest",(char *) "event", NULL
18488 };
18489
18490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
18491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18492 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18493 if (arg2 == NULL) {
18494 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18495 }
18496 {
18497 PyThreadState* __tstate = wxPyBeginAllowThreads();
18498 wxPostEvent(arg1,*arg2);
18499
18500 wxPyEndAllowThreads(__tstate);
18501 if (PyErr_Occurred()) SWIG_fail;
18502 }
18503 Py_INCREF(Py_None); resultobj = Py_None;
18504 return resultobj;
18505 fail:
18506 return NULL;
18507}
18508
18509
18510static PyObject *_wrap_App_CleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
18511 PyObject *resultobj;
18512 char *kwnames[] = {
18513 NULL
18514 };
18515
18516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
18517 {
18518 PyThreadState* __tstate = wxPyBeginAllowThreads();
18519 wxApp_CleanUp();
18520
18521 wxPyEndAllowThreads(__tstate);
18522 if (PyErr_Occurred()) SWIG_fail;
18523 }
18524 Py_INCREF(Py_None); resultobj = Py_None;
18525 return resultobj;
18526 fail:
18527 return NULL;
18528}
18529
18530
18531static PyObject *_wrap_GetApp(PyObject *self, PyObject *args, PyObject *kwargs) {
18532 PyObject *resultobj;
18533 wxPyApp *result;
18534 char *kwnames[] = {
18535 NULL
18536 };
18537
18538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
18539 {
18540 PyThreadState* __tstate = wxPyBeginAllowThreads();
18541 result = (wxPyApp *)wxGetApp();
18542
18543 wxPyEndAllowThreads(__tstate);
18544 if (PyErr_Occurred()) SWIG_fail;
18545 }
18546 {
18547 resultobj = wxPyMake_wxObject(result);
18548 }
18549 return resultobj;
18550 fail:
18551 return NULL;
18552}
18553
18554
e811c8ce
RD
18555static int _wrap_PanelNameStr_set(PyObject *_val) {
18556 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
18557 return 1;
18558}
18559
18560
18561static PyObject *_wrap_PanelNameStr_get() {
18562 PyObject *pyobj;
18563
18564 {
18565#if wxUSE_UNICODE
18566 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
18567#else
18568 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
18569#endif
18570 }
18571 return pyobj;
18572}
18573
18574
d14a1e28
RD
18575static PyObject *_wrap_new_Window(PyObject *self, PyObject *args, PyObject *kwargs) {
18576 PyObject *resultobj;
18577 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 18578 int arg2 ;
d14a1e28
RD
18579 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18580 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18581 wxSize const &arg4_defvalue = wxDefaultSize ;
18582 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18583 long arg5 = (long) 0 ;
18584 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18585 wxString *arg6 = (wxString *) &arg6_defvalue ;
18586 wxWindow *result;
18587 wxPoint temp3 ;
18588 wxSize temp4 ;
e811c8ce 18589 bool temp6 = False ;
d14a1e28
RD
18590 PyObject * obj0 = 0 ;
18591 PyObject * obj2 = 0 ;
18592 PyObject * obj3 = 0 ;
18593 PyObject * obj5 = 0 ;
18594 char *kwnames[] = {
18595 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18596 };
18597
18598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Window",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
18599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18600 if (obj2) {
18601 {
18602 arg3 = &temp3;
18603 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18604 }
18605 }
18606 if (obj3) {
18607 {
18608 arg4 = &temp4;
18609 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18610 }
18611 }
18612 if (obj5) {
18613 {
18614 arg6 = wxString_in_helper(obj5);
18615 if (arg6 == NULL) SWIG_fail;
e811c8ce 18616 temp6 = True;
d14a1e28
RD
18617 }
18618 }
18619 {
18620 PyThreadState* __tstate = wxPyBeginAllowThreads();
18621 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18622
18623 wxPyEndAllowThreads(__tstate);
18624 if (PyErr_Occurred()) SWIG_fail;
18625 }
18626 {
18627 resultobj = wxPyMake_wxObject(result);
18628 }
18629 {
18630 if (temp6)
18631 delete arg6;
18632 }
18633 return resultobj;
18634 fail:
18635 {
18636 if (temp6)
18637 delete arg6;
18638 }
18639 return NULL;
18640}
18641
18642
18643static PyObject *_wrap_new_PreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18644 PyObject *resultobj;
18645 wxWindow *result;
18646 char *kwnames[] = {
18647 NULL
18648 };
18649
18650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
18651 {
18652 PyThreadState* __tstate = wxPyBeginAllowThreads();
18653 result = (wxWindow *)new wxWindow();
18654
18655 wxPyEndAllowThreads(__tstate);
18656 if (PyErr_Occurred()) SWIG_fail;
18657 }
18658 {
18659 resultobj = wxPyMake_wxObject(result);
18660 }
18661 return resultobj;
18662 fail:
18663 return NULL;
18664}
18665
18666
18667static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
18668 PyObject *resultobj;
18669 wxWindow *arg1 = (wxWindow *) 0 ;
18670 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 18671 int arg3 ;
d14a1e28
RD
18672 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18673 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18674 wxSize const &arg5_defvalue = wxDefaultSize ;
18675 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18676 long arg6 = (long) 0 ;
18677 wxString const &arg7_defvalue = wxPyPanelNameStr ;
18678 wxString *arg7 = (wxString *) &arg7_defvalue ;
18679 bool result;
18680 wxPoint temp4 ;
18681 wxSize temp5 ;
e811c8ce 18682 bool temp7 = False ;
d14a1e28
RD
18683 PyObject * obj0 = 0 ;
18684 PyObject * obj1 = 0 ;
18685 PyObject * obj3 = 0 ;
18686 PyObject * obj4 = 0 ;
18687 PyObject * obj6 = 0 ;
18688 char *kwnames[] = {
18689 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18690 };
18691
18692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Window_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
18693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18694 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18695 if (obj3) {
18696 {
18697 arg4 = &temp4;
18698 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18699 }
18700 }
18701 if (obj4) {
18702 {
18703 arg5 = &temp5;
18704 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18705 }
18706 }
18707 if (obj6) {
18708 {
18709 arg7 = wxString_in_helper(obj6);
18710 if (arg7 == NULL) SWIG_fail;
e811c8ce 18711 temp7 = True;
d14a1e28
RD
18712 }
18713 }
18714 {
18715 PyThreadState* __tstate = wxPyBeginAllowThreads();
18716 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18717
18718 wxPyEndAllowThreads(__tstate);
18719 if (PyErr_Occurred()) SWIG_fail;
18720 }
18721 resultobj = PyInt_FromLong((long)result);
18722 {
18723 if (temp7)
18724 delete arg7;
18725 }
18726 return resultobj;
18727 fail:
18728 {
18729 if (temp7)
18730 delete arg7;
18731 }
18732 return NULL;
18733}
18734
18735
18736static PyObject *_wrap_Window_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
18737 PyObject *resultobj;
18738 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 18739 bool arg2 = (bool) False ;
d14a1e28
RD
18740 bool result;
18741 PyObject * obj0 = 0 ;
18742 PyObject * obj1 = 0 ;
18743 char *kwnames[] = {
18744 (char *) "self",(char *) "force", NULL
18745 };
18746
18747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
18748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18749 if (obj1) {
18750 arg2 = PyInt_AsLong(obj1) ? true : false;
18751 if (PyErr_Occurred()) SWIG_fail;
18752 }
18753 {
18754 PyThreadState* __tstate = wxPyBeginAllowThreads();
18755 result = (bool)(arg1)->Close(arg2);
18756
18757 wxPyEndAllowThreads(__tstate);
18758 if (PyErr_Occurred()) SWIG_fail;
18759 }
18760 resultobj = PyInt_FromLong((long)result);
18761 return resultobj;
18762 fail:
18763 return NULL;
18764}
18765
18766
18767static PyObject *_wrap_Window_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
18768 PyObject *resultobj;
18769 wxWindow *arg1 = (wxWindow *) 0 ;
18770 bool result;
18771 PyObject * obj0 = 0 ;
18772 char *kwnames[] = {
18773 (char *) "self", NULL
18774 };
18775
18776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
18777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18778 {
18779 PyThreadState* __tstate = wxPyBeginAllowThreads();
18780 result = (bool)(arg1)->Destroy();
18781
18782 wxPyEndAllowThreads(__tstate);
18783 if (PyErr_Occurred()) SWIG_fail;
18784 }
18785 resultobj = PyInt_FromLong((long)result);
18786 return resultobj;
18787 fail:
18788 return NULL;
18789}
18790
18791
18792static PyObject *_wrap_Window_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
18793 PyObject *resultobj;
18794 wxWindow *arg1 = (wxWindow *) 0 ;
18795 bool result;
18796 PyObject * obj0 = 0 ;
18797 char *kwnames[] = {
18798 (char *) "self", NULL
18799 };
18800
18801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
18802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18803 {
18804 PyThreadState* __tstate = wxPyBeginAllowThreads();
18805 result = (bool)(arg1)->DestroyChildren();
18806
18807 wxPyEndAllowThreads(__tstate);
18808 if (PyErr_Occurred()) SWIG_fail;
18809 }
18810 resultobj = PyInt_FromLong((long)result);
18811 return resultobj;
18812 fail:
18813 return NULL;
18814}
18815
18816
18817static PyObject *_wrap_Window_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
18818 PyObject *resultobj;
18819 wxWindow *arg1 = (wxWindow *) 0 ;
18820 bool result;
18821 PyObject * obj0 = 0 ;
18822 char *kwnames[] = {
18823 (char *) "self", NULL
18824 };
18825
18826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
18827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18828 {
18829 PyThreadState* __tstate = wxPyBeginAllowThreads();
18830 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
18831
18832 wxPyEndAllowThreads(__tstate);
18833 if (PyErr_Occurred()) SWIG_fail;
18834 }
18835 resultobj = PyInt_FromLong((long)result);
18836 return resultobj;
18837 fail:
18838 return NULL;
18839}
18840
18841
18842static PyObject *_wrap_Window_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18843 PyObject *resultobj;
18844 wxWindow *arg1 = (wxWindow *) 0 ;
18845 wxString *arg2 = 0 ;
e811c8ce 18846 bool temp2 = False ;
d14a1e28
RD
18847 PyObject * obj0 = 0 ;
18848 PyObject * obj1 = 0 ;
18849 char *kwnames[] = {
18850 (char *) "self",(char *) "title", NULL
18851 };
18852
18853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
18854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18855 {
18856 arg2 = wxString_in_helper(obj1);
18857 if (arg2 == NULL) SWIG_fail;
e811c8ce 18858 temp2 = True;
d14a1e28
RD
18859 }
18860 {
18861 PyThreadState* __tstate = wxPyBeginAllowThreads();
18862 (arg1)->SetTitle((wxString const &)*arg2);
18863
18864 wxPyEndAllowThreads(__tstate);
18865 if (PyErr_Occurred()) SWIG_fail;
18866 }
18867 Py_INCREF(Py_None); resultobj = Py_None;
18868 {
18869 if (temp2)
18870 delete arg2;
18871 }
18872 return resultobj;
18873 fail:
18874 {
18875 if (temp2)
18876 delete arg2;
18877 }
18878 return NULL;
18879}
18880
18881
18882static PyObject *_wrap_Window_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18883 PyObject *resultobj;
18884 wxWindow *arg1 = (wxWindow *) 0 ;
18885 wxString result;
18886 PyObject * obj0 = 0 ;
18887 char *kwnames[] = {
18888 (char *) "self", NULL
18889 };
18890
18891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
18892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18893 {
18894 PyThreadState* __tstate = wxPyBeginAllowThreads();
18895 result = ((wxWindow const *)arg1)->GetTitle();
18896
18897 wxPyEndAllowThreads(__tstate);
18898 if (PyErr_Occurred()) SWIG_fail;
18899 }
18900 {
18901#if wxUSE_UNICODE
18902 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18903#else
18904 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18905#endif
18906 }
18907 return resultobj;
18908 fail:
18909 return NULL;
18910}
18911
18912
18913static PyObject *_wrap_Window_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18914 PyObject *resultobj;
18915 wxWindow *arg1 = (wxWindow *) 0 ;
18916 wxString *arg2 = 0 ;
e811c8ce 18917 bool temp2 = False ;
d14a1e28
RD
18918 PyObject * obj0 = 0 ;
18919 PyObject * obj1 = 0 ;
18920 char *kwnames[] = {
18921 (char *) "self",(char *) "label", NULL
18922 };
18923
18924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
18925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18926 {
18927 arg2 = wxString_in_helper(obj1);
18928 if (arg2 == NULL) SWIG_fail;
e811c8ce 18929 temp2 = True;
d14a1e28
RD
18930 }
18931 {
18932 PyThreadState* __tstate = wxPyBeginAllowThreads();
18933 (arg1)->SetLabel((wxString const &)*arg2);
18934
18935 wxPyEndAllowThreads(__tstate);
18936 if (PyErr_Occurred()) SWIG_fail;
18937 }
18938 Py_INCREF(Py_None); resultobj = Py_None;
18939 {
18940 if (temp2)
18941 delete arg2;
18942 }
18943 return resultobj;
18944 fail:
18945 {
18946 if (temp2)
18947 delete arg2;
18948 }
18949 return NULL;
18950}
18951
18952
18953static PyObject *_wrap_Window_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18954 PyObject *resultobj;
18955 wxWindow *arg1 = (wxWindow *) 0 ;
18956 wxString result;
18957 PyObject * obj0 = 0 ;
18958 char *kwnames[] = {
18959 (char *) "self", NULL
18960 };
18961
18962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
18963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18964 {
18965 PyThreadState* __tstate = wxPyBeginAllowThreads();
18966 result = ((wxWindow const *)arg1)->GetLabel();
18967
18968 wxPyEndAllowThreads(__tstate);
18969 if (PyErr_Occurred()) SWIG_fail;
18970 }
18971 {
18972#if wxUSE_UNICODE
18973 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18974#else
18975 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18976#endif
18977 }
18978 return resultobj;
18979 fail:
18980 return NULL;
18981}
18982
18983
18984static PyObject *_wrap_Window_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
18985 PyObject *resultobj;
18986 wxWindow *arg1 = (wxWindow *) 0 ;
18987 wxString *arg2 = 0 ;
e811c8ce 18988 bool temp2 = False ;
d14a1e28
RD
18989 PyObject * obj0 = 0 ;
18990 PyObject * obj1 = 0 ;
18991 char *kwnames[] = {
18992 (char *) "self",(char *) "name", NULL
18993 };
18994
18995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
18996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18997 {
18998 arg2 = wxString_in_helper(obj1);
18999 if (arg2 == NULL) SWIG_fail;
e811c8ce 19000 temp2 = True;
d14a1e28
RD
19001 }
19002 {
19003 PyThreadState* __tstate = wxPyBeginAllowThreads();
19004 (arg1)->SetName((wxString const &)*arg2);
19005
19006 wxPyEndAllowThreads(__tstate);
19007 if (PyErr_Occurred()) SWIG_fail;
19008 }
19009 Py_INCREF(Py_None); resultobj = Py_None;
19010 {
19011 if (temp2)
19012 delete arg2;
19013 }
19014 return resultobj;
19015 fail:
19016 {
19017 if (temp2)
19018 delete arg2;
19019 }
19020 return NULL;
19021}
19022
19023
19024static PyObject *_wrap_Window_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
19025 PyObject *resultobj;
19026 wxWindow *arg1 = (wxWindow *) 0 ;
19027 wxString result;
19028 PyObject * obj0 = 0 ;
19029 char *kwnames[] = {
19030 (char *) "self", NULL
19031 };
19032
19033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
19034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19035 {
19036 PyThreadState* __tstate = wxPyBeginAllowThreads();
19037 result = ((wxWindow const *)arg1)->GetName();
19038
19039 wxPyEndAllowThreads(__tstate);
19040 if (PyErr_Occurred()) SWIG_fail;
19041 }
19042 {
19043#if wxUSE_UNICODE
19044 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19045#else
19046 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19047#endif
19048 }
19049 return resultobj;
19050 fail:
19051 return NULL;
19052}
19053
19054
19055static PyObject *_wrap_Window_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19056 PyObject *resultobj;
19057 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 19058 int arg2 ;
d14a1e28
RD
19059 PyObject * obj0 = 0 ;
19060 char *kwnames[] = {
19061 (char *) "self",(char *) "winid", NULL
19062 };
19063
19064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_SetId",kwnames,&obj0,&arg2)) goto fail;
19065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19066 {
19067 PyThreadState* __tstate = wxPyBeginAllowThreads();
19068 (arg1)->SetId(arg2);
19069
19070 wxPyEndAllowThreads(__tstate);
19071 if (PyErr_Occurred()) SWIG_fail;
19072 }
19073 Py_INCREF(Py_None); resultobj = Py_None;
19074 return resultobj;
19075 fail:
19076 return NULL;
19077}
19078
19079
19080static PyObject *_wrap_Window_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19081 PyObject *resultobj;
19082 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 19083 int result;
d14a1e28
RD
19084 PyObject * obj0 = 0 ;
19085 char *kwnames[] = {
19086 (char *) "self", NULL
19087 };
19088
19089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
19090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19091 {
19092 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 19093 result = (int)((wxWindow const *)arg1)->GetId();
d14a1e28
RD
19094
19095 wxPyEndAllowThreads(__tstate);
19096 if (PyErr_Occurred()) SWIG_fail;
19097 }
19098 resultobj = PyInt_FromLong((long)result);
19099 return resultobj;
19100 fail:
19101 return NULL;
19102}
19103
19104
19105static PyObject *_wrap_Window_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
19106 PyObject *resultobj;
19107 int result;
19108 char *kwnames[] = {
19109 NULL
19110 };
19111
19112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
19113 {
19114 PyThreadState* __tstate = wxPyBeginAllowThreads();
19115 result = (int)wxWindow::NewControlId();
19116
19117 wxPyEndAllowThreads(__tstate);
19118 if (PyErr_Occurred()) SWIG_fail;
19119 }
19120 resultobj = PyInt_FromLong((long)result);
19121 return resultobj;
19122 fail:
19123 return NULL;
19124}
19125
19126
19127static PyObject *_wrap_Window_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
19128 PyObject *resultobj;
19129 int arg1 ;
19130 int result;
19131 char *kwnames[] = {
19132 (char *) "winid", NULL
19133 };
19134
19135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Window_NextControlId",kwnames,&arg1)) goto fail;
19136 {
19137 PyThreadState* __tstate = wxPyBeginAllowThreads();
19138 result = (int)wxWindow::NextControlId(arg1);
19139
19140 wxPyEndAllowThreads(__tstate);
19141 if (PyErr_Occurred()) SWIG_fail;
19142 }
19143 resultobj = PyInt_FromLong((long)result);
19144 return resultobj;
19145 fail:
19146 return NULL;
19147}
19148
19149
19150static PyObject *_wrap_Window_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
19151 PyObject *resultobj;
19152 int arg1 ;
19153 int result;
19154 char *kwnames[] = {
19155 (char *) "winid", NULL
19156 };
19157
19158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Window_PrevControlId",kwnames,&arg1)) goto fail;
19159 {
19160 PyThreadState* __tstate = wxPyBeginAllowThreads();
19161 result = (int)wxWindow::PrevControlId(arg1);
19162
19163 wxPyEndAllowThreads(__tstate);
19164 if (PyErr_Occurred()) SWIG_fail;
19165 }
19166 resultobj = PyInt_FromLong((long)result);
19167 return resultobj;
19168 fail:
19169 return NULL;
19170}
19171
19172
19173static PyObject *_wrap_Window_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19174 PyObject *resultobj;
19175 wxWindow *arg1 = (wxWindow *) 0 ;
19176 wxSize *arg2 = 0 ;
19177 wxSize temp2 ;
19178 PyObject * obj0 = 0 ;
19179 PyObject * obj1 = 0 ;
19180 char *kwnames[] = {
19181 (char *) "self",(char *) "size", NULL
19182 };
19183
19184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
19185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19186 {
19187 arg2 = &temp2;
19188 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19189 }
19190 {
19191 PyThreadState* __tstate = wxPyBeginAllowThreads();
19192 (arg1)->SetSize((wxSize const &)*arg2);
19193
19194 wxPyEndAllowThreads(__tstate);
19195 if (PyErr_Occurred()) SWIG_fail;
19196 }
19197 Py_INCREF(Py_None); resultobj = Py_None;
19198 return resultobj;
19199 fail:
19200 return NULL;
19201}
19202
19203
19204static PyObject *_wrap_Window_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
19205 PyObject *resultobj;
19206 wxWindow *arg1 = (wxWindow *) 0 ;
19207 int arg2 ;
19208 int arg3 ;
19209 int arg4 ;
19210 int arg5 ;
19211 int arg6 = (int) wxSIZE_AUTO ;
19212 PyObject * obj0 = 0 ;
19213 char *kwnames[] = {
19214 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19215 };
19216
19217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:Window_SetDimensions",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
19218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19219 {
19220 PyThreadState* __tstate = wxPyBeginAllowThreads();
19221 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
19222
19223 wxPyEndAllowThreads(__tstate);
19224 if (PyErr_Occurred()) SWIG_fail;
19225 }
19226 Py_INCREF(Py_None); resultobj = Py_None;
19227 return resultobj;
19228 fail:
19229 return NULL;
19230}
19231
19232
19233static PyObject *_wrap_Window_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19234 PyObject *resultobj;
19235 wxWindow *arg1 = (wxWindow *) 0 ;
19236 wxRect *arg2 = 0 ;
19237 int arg3 = (int) wxSIZE_AUTO ;
19238 wxRect temp2 ;
19239 PyObject * obj0 = 0 ;
19240 PyObject * obj1 = 0 ;
19241 char *kwnames[] = {
19242 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
19243 };
19244
19245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Window_SetRect",kwnames,&obj0,&obj1,&arg3)) goto fail;
19246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19247 {
19248 arg2 = &temp2;
19249 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
19250 }
19251 {
19252 PyThreadState* __tstate = wxPyBeginAllowThreads();
19253 (arg1)->SetSize((wxRect const &)*arg2,arg3);
19254
19255 wxPyEndAllowThreads(__tstate);
19256 if (PyErr_Occurred()) SWIG_fail;
19257 }
19258 Py_INCREF(Py_None); resultobj = Py_None;
19259 return resultobj;
19260 fail:
19261 return NULL;
19262}
19263
19264
19265static PyObject *_wrap_Window_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
19266 PyObject *resultobj;
19267 wxWindow *arg1 = (wxWindow *) 0 ;
19268 int arg2 ;
19269 int arg3 ;
19270 PyObject * obj0 = 0 ;
19271 char *kwnames[] = {
19272 (char *) "self",(char *) "width",(char *) "height", NULL
19273 };
19274
19275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_SetSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
19276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19277 {
19278 PyThreadState* __tstate = wxPyBeginAllowThreads();
19279 (arg1)->SetSize(arg2,arg3);
19280
19281 wxPyEndAllowThreads(__tstate);
19282 if (PyErr_Occurred()) SWIG_fail;
19283 }
19284 Py_INCREF(Py_None); resultobj = Py_None;
19285 return resultobj;
19286 fail:
19287 return NULL;
19288}
19289
19290
19291static PyObject *_wrap_Window_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
19292 PyObject *resultobj;
19293 wxWindow *arg1 = (wxWindow *) 0 ;
19294 wxPoint *arg2 = 0 ;
19295 int arg3 = (int) wxSIZE_USE_EXISTING ;
19296 wxPoint temp2 ;
19297 PyObject * obj0 = 0 ;
19298 PyObject * obj1 = 0 ;
19299 char *kwnames[] = {
19300 (char *) "self",(char *) "pt",(char *) "flags", NULL
19301 };
19302
19303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Window_Move",kwnames,&obj0,&obj1,&arg3)) goto fail;
19304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19305 {
19306 arg2 = &temp2;
19307 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19308 }
19309 {
19310 PyThreadState* __tstate = wxPyBeginAllowThreads();
19311 (arg1)->Move((wxPoint const &)*arg2,arg3);
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_Window_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
19324 PyObject *resultobj;
19325 wxWindow *arg1 = (wxWindow *) 0 ;
19326 int arg2 ;
19327 int arg3 ;
19328 int arg4 = (int) wxSIZE_USE_EXISTING ;
19329 PyObject * obj0 = 0 ;
19330 char *kwnames[] = {
19331 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
19332 };
19333
19334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:Window_MoveXY",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
19335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19336 {
19337 PyThreadState* __tstate = wxPyBeginAllowThreads();
19338 (arg1)->Move(arg2,arg3,arg4);
19339
19340 wxPyEndAllowThreads(__tstate);
19341 if (PyErr_Occurred()) SWIG_fail;
19342 }
19343 Py_INCREF(Py_None); resultobj = Py_None;
19344 return resultobj;
19345 fail:
19346 return NULL;
19347}
19348
19349
19350static PyObject *_wrap_Window_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
19351 PyObject *resultobj;
19352 wxWindow *arg1 = (wxWindow *) 0 ;
19353 PyObject * obj0 = 0 ;
19354 char *kwnames[] = {
19355 (char *) "self", NULL
19356 };
19357
19358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail;
19359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19360 {
19361 PyThreadState* __tstate = wxPyBeginAllowThreads();
19362 (arg1)->Raise();
19363
19364 wxPyEndAllowThreads(__tstate);
19365 if (PyErr_Occurred()) SWIG_fail;
19366 }
19367 Py_INCREF(Py_None); resultobj = Py_None;
19368 return resultobj;
19369 fail:
19370 return NULL;
19371}
19372
19373
19374static PyObject *_wrap_Window_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
19375 PyObject *resultobj;
19376 wxWindow *arg1 = (wxWindow *) 0 ;
19377 PyObject * obj0 = 0 ;
19378 char *kwnames[] = {
19379 (char *) "self", NULL
19380 };
19381
19382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
19383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19384 {
19385 PyThreadState* __tstate = wxPyBeginAllowThreads();
19386 (arg1)->Lower();
19387
19388 wxPyEndAllowThreads(__tstate);
19389 if (PyErr_Occurred()) SWIG_fail;
19390 }
19391 Py_INCREF(Py_None); resultobj = Py_None;
19392 return resultobj;
19393 fail:
19394 return NULL;
19395}
19396
19397
19398static PyObject *_wrap_Window_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19399 PyObject *resultobj;
19400 wxWindow *arg1 = (wxWindow *) 0 ;
19401 wxSize *arg2 = 0 ;
19402 wxSize temp2 ;
19403 PyObject * obj0 = 0 ;
19404 PyObject * obj1 = 0 ;
19405 char *kwnames[] = {
19406 (char *) "self",(char *) "size", NULL
19407 };
19408
19409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
19410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19411 {
19412 arg2 = &temp2;
19413 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19414 }
19415 {
19416 PyThreadState* __tstate = wxPyBeginAllowThreads();
19417 (arg1)->SetClientSize((wxSize const &)*arg2);
19418
19419 wxPyEndAllowThreads(__tstate);
19420 if (PyErr_Occurred()) SWIG_fail;
19421 }
19422 Py_INCREF(Py_None); resultobj = Py_None;
19423 return resultobj;
19424 fail:
19425 return NULL;
19426}
19427
19428
19429static PyObject *_wrap_Window_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
19430 PyObject *resultobj;
19431 wxWindow *arg1 = (wxWindow *) 0 ;
19432 int arg2 ;
19433 int arg3 ;
19434 PyObject * obj0 = 0 ;
19435 char *kwnames[] = {
19436 (char *) "self",(char *) "width",(char *) "height", NULL
19437 };
19438
19439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_SetClientSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
19440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19441 {
19442 PyThreadState* __tstate = wxPyBeginAllowThreads();
19443 (arg1)->SetClientSize(arg2,arg3);
19444
19445 wxPyEndAllowThreads(__tstate);
19446 if (PyErr_Occurred()) SWIG_fail;
19447 }
19448 Py_INCREF(Py_None); resultobj = Py_None;
19449 return resultobj;
19450 fail:
19451 return NULL;
19452}
19453
19454
19455static PyObject *_wrap_Window_SetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19456 PyObject *resultobj;
19457 wxWindow *arg1 = (wxWindow *) 0 ;
19458 wxRect *arg2 = 0 ;
19459 wxRect temp2 ;
19460 PyObject * obj0 = 0 ;
19461 PyObject * obj1 = 0 ;
19462 char *kwnames[] = {
19463 (char *) "self",(char *) "rect", NULL
19464 };
19465
19466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
19467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19468 {
19469 arg2 = &temp2;
19470 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
19471 }
19472 {
19473 PyThreadState* __tstate = wxPyBeginAllowThreads();
19474 (arg1)->SetClientSize((wxRect const &)*arg2);
19475
19476 wxPyEndAllowThreads(__tstate);
19477 if (PyErr_Occurred()) SWIG_fail;
19478 }
19479 Py_INCREF(Py_None); resultobj = Py_None;
19480 return resultobj;
19481 fail:
19482 return NULL;
19483}
19484
19485
19486static PyObject *_wrap_Window_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
19487 PyObject *resultobj;
19488 wxWindow *arg1 = (wxWindow *) 0 ;
19489 wxPoint result;
19490 PyObject * obj0 = 0 ;
19491 char *kwnames[] = {
19492 (char *) "self", NULL
19493 };
19494
19495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
19496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19497 {
19498 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 19499 result = (arg1)->GetPosition();
d14a1e28
RD
19500
19501 wxPyEndAllowThreads(__tstate);
19502 if (PyErr_Occurred()) SWIG_fail;
19503 }
19504 {
19505 wxPoint * resultptr;
19506 resultptr = new wxPoint((wxPoint &) result);
19507 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
19508 }
19509 return resultobj;
19510 fail:
19511 return NULL;
19512}
19513
19514
19515static PyObject *_wrap_Window_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19516 PyObject *resultobj;
19517 wxWindow *arg1 = (wxWindow *) 0 ;
19518 int *arg2 = (int *) 0 ;
19519 int *arg3 = (int *) 0 ;
19520 int temp2 ;
19521 int temp3 ;
19522 PyObject * obj0 = 0 ;
19523 char *kwnames[] = {
19524 (char *) "self", NULL
19525 };
19526
19527 arg2 = &temp2;
19528 arg3 = &temp3;
19529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
19530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19531 {
19532 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 19533 (arg1)->GetPosition(arg2,arg3);
d14a1e28
RD
19534
19535 wxPyEndAllowThreads(__tstate);
19536 if (PyErr_Occurred()) SWIG_fail;
19537 }
19538 Py_INCREF(Py_None); resultobj = Py_None;
19539 {
19540 PyObject *o = PyInt_FromLong((long) (*arg2));
19541 resultobj = t_output_helper(resultobj,o);
19542 }
19543 {
19544 PyObject *o = PyInt_FromLong((long) (*arg3));
19545 resultobj = t_output_helper(resultobj,o);
19546 }
19547 return resultobj;
19548 fail:
19549 return NULL;
19550}
19551
19552
19553static PyObject *_wrap_Window_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19554 PyObject *resultobj;
19555 wxWindow *arg1 = (wxWindow *) 0 ;
19556 wxSize result;
19557 PyObject * obj0 = 0 ;
19558 char *kwnames[] = {
19559 (char *) "self", NULL
19560 };
19561
19562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
19563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19564 {
19565 PyThreadState* __tstate = wxPyBeginAllowThreads();
19566 result = ((wxWindow const *)arg1)->GetSize();
19567
19568 wxPyEndAllowThreads(__tstate);
19569 if (PyErr_Occurred()) SWIG_fail;
19570 }
19571 {
19572 wxSize * resultptr;
19573 resultptr = new wxSize((wxSize &) result);
19574 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19575 }
19576 return resultobj;
19577 fail:
19578 return NULL;
19579}
19580
19581
19582static PyObject *_wrap_Window_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19583 PyObject *resultobj;
19584 wxWindow *arg1 = (wxWindow *) 0 ;
19585 int *arg2 = (int *) 0 ;
19586 int *arg3 = (int *) 0 ;
19587 int temp2 ;
19588 int temp3 ;
19589 PyObject * obj0 = 0 ;
19590 char *kwnames[] = {
19591 (char *) "self", NULL
19592 };
19593
19594 arg2 = &temp2;
19595 arg3 = &temp3;
19596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
19597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19598 {
19599 PyThreadState* __tstate = wxPyBeginAllowThreads();
19600 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
19601
19602 wxPyEndAllowThreads(__tstate);
19603 if (PyErr_Occurred()) SWIG_fail;
19604 }
19605 Py_INCREF(Py_None); resultobj = Py_None;
19606 {
19607 PyObject *o = PyInt_FromLong((long) (*arg2));
19608 resultobj = t_output_helper(resultobj,o);
19609 }
19610 {
19611 PyObject *o = PyInt_FromLong((long) (*arg3));
19612 resultobj = t_output_helper(resultobj,o);
19613 }
19614 return resultobj;
19615 fail:
19616 return NULL;
19617}
19618
19619
19620static PyObject *_wrap_Window_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19621 PyObject *resultobj;
19622 wxWindow *arg1 = (wxWindow *) 0 ;
19623 wxRect result;
19624 PyObject * obj0 = 0 ;
19625 char *kwnames[] = {
19626 (char *) "self", NULL
19627 };
19628
19629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
19630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19631 {
19632 PyThreadState* __tstate = wxPyBeginAllowThreads();
19633 result = ((wxWindow const *)arg1)->GetRect();
19634
19635 wxPyEndAllowThreads(__tstate);
19636 if (PyErr_Occurred()) SWIG_fail;
19637 }
19638 {
19639 wxRect * resultptr;
19640 resultptr = new wxRect((wxRect &) result);
19641 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
19642 }
19643 return resultobj;
19644 fail:
19645 return NULL;
19646}
19647
19648
19649static PyObject *_wrap_Window_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19650 PyObject *resultobj;
19651 wxWindow *arg1 = (wxWindow *) 0 ;
19652 wxSize result;
19653 PyObject * obj0 = 0 ;
19654 char *kwnames[] = {
19655 (char *) "self", NULL
19656 };
19657
19658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
19659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19660 {
19661 PyThreadState* __tstate = wxPyBeginAllowThreads();
19662 result = ((wxWindow const *)arg1)->GetClientSize();
19663
19664 wxPyEndAllowThreads(__tstate);
19665 if (PyErr_Occurred()) SWIG_fail;
19666 }
19667 {
19668 wxSize * resultptr;
19669 resultptr = new wxSize((wxSize &) result);
19670 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19671 }
19672 return resultobj;
19673 fail:
19674 return NULL;
19675}
19676
19677
19678static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19679 PyObject *resultobj;
19680 wxWindow *arg1 = (wxWindow *) 0 ;
19681 int *arg2 = (int *) 0 ;
19682 int *arg3 = (int *) 0 ;
19683 int temp2 ;
19684 int temp3 ;
19685 PyObject * obj0 = 0 ;
19686 char *kwnames[] = {
19687 (char *) "self", NULL
19688 };
19689
19690 arg2 = &temp2;
19691 arg3 = &temp3;
19692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
19693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19694 {
19695 PyThreadState* __tstate = wxPyBeginAllowThreads();
19696 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
19697
19698 wxPyEndAllowThreads(__tstate);
19699 if (PyErr_Occurred()) SWIG_fail;
19700 }
19701 Py_INCREF(Py_None); resultobj = Py_None;
19702 {
19703 PyObject *o = PyInt_FromLong((long) (*arg2));
19704 resultobj = t_output_helper(resultobj,o);
19705 }
19706 {
19707 PyObject *o = PyInt_FromLong((long) (*arg3));
19708 resultobj = t_output_helper(resultobj,o);
19709 }
19710 return resultobj;
19711 fail:
19712 return NULL;
19713}
19714
19715
19716static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
19717 PyObject *resultobj;
19718 wxWindow *arg1 = (wxWindow *) 0 ;
19719 wxPoint result;
19720 PyObject * obj0 = 0 ;
19721 char *kwnames[] = {
19722 (char *) "self", NULL
19723 };
19724
19725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
19726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19727 {
19728 PyThreadState* __tstate = wxPyBeginAllowThreads();
19729 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
19730
19731 wxPyEndAllowThreads(__tstate);
19732 if (PyErr_Occurred()) SWIG_fail;
19733 }
19734 {
19735 wxPoint * resultptr;
19736 resultptr = new wxPoint((wxPoint &) result);
19737 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
19738 }
19739 return resultobj;
19740 fail:
19741 return NULL;
19742}
19743
19744
19745static PyObject *_wrap_Window_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19746 PyObject *resultobj;
19747 wxWindow *arg1 = (wxWindow *) 0 ;
19748 wxRect result;
19749 PyObject * obj0 = 0 ;
19750 char *kwnames[] = {
19751 (char *) "self", NULL
19752 };
19753
19754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
19755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19756 {
19757 PyThreadState* __tstate = wxPyBeginAllowThreads();
19758 result = ((wxWindow const *)arg1)->GetClientRect();
19759
19760 wxPyEndAllowThreads(__tstate);
19761 if (PyErr_Occurred()) SWIG_fail;
19762 }
19763 {
19764 wxRect * resultptr;
19765 resultptr = new wxRect((wxRect &) result);
19766 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
19767 }
19768 return resultobj;
19769 fail:
19770 return NULL;
19771}
19772
19773
19774static PyObject *_wrap_Window_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19775 PyObject *resultobj;
19776 wxWindow *arg1 = (wxWindow *) 0 ;
19777 wxSize result;
19778 PyObject * obj0 = 0 ;
19779 char *kwnames[] = {
19780 (char *) "self", NULL
19781 };
19782
19783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
19784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19785 {
19786 PyThreadState* __tstate = wxPyBeginAllowThreads();
19787 result = ((wxWindow const *)arg1)->GetBestSize();
19788
19789 wxPyEndAllowThreads(__tstate);
19790 if (PyErr_Occurred()) SWIG_fail;
19791 }
19792 {
19793 wxSize * resultptr;
19794 resultptr = new wxSize((wxSize &) result);
19795 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19796 }
19797 return resultobj;
19798 fail:
19799 return NULL;
19800}
19801
19802
19803static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19804 PyObject *resultobj;
19805 wxWindow *arg1 = (wxWindow *) 0 ;
19806 int *arg2 = (int *) 0 ;
19807 int *arg3 = (int *) 0 ;
19808 int temp2 ;
19809 int temp3 ;
19810 PyObject * obj0 = 0 ;
19811 char *kwnames[] = {
19812 (char *) "self", NULL
19813 };
19814
19815 arg2 = &temp2;
19816 arg3 = &temp3;
19817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
19818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19819 {
19820 PyThreadState* __tstate = wxPyBeginAllowThreads();
19821 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
19822
19823 wxPyEndAllowThreads(__tstate);
19824 if (PyErr_Occurred()) SWIG_fail;
19825 }
19826 Py_INCREF(Py_None); resultobj = Py_None;
19827 {
19828 PyObject *o = PyInt_FromLong((long) (*arg2));
19829 resultobj = t_output_helper(resultobj,o);
19830 }
19831 {
19832 PyObject *o = PyInt_FromLong((long) (*arg3));
19833 resultobj = t_output_helper(resultobj,o);
19834 }
19835 return resultobj;
19836 fail:
19837 return NULL;
19838}
19839
19840
19841static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19842 PyObject *resultobj;
19843 wxWindow *arg1 = (wxWindow *) 0 ;
19844 wxSize result;
19845 PyObject * obj0 = 0 ;
19846 char *kwnames[] = {
19847 (char *) "self", NULL
19848 };
19849
19850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
19851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19852 {
19853 PyThreadState* __tstate = wxPyBeginAllowThreads();
19854 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
19855
19856 wxPyEndAllowThreads(__tstate);
19857 if (PyErr_Occurred()) SWIG_fail;
19858 }
19859 {
19860 wxSize * resultptr;
19861 resultptr = new wxSize((wxSize &) result);
19862 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19863 }
19864 return resultobj;
19865 fail:
19866 return NULL;
19867}
19868
19869
19870static PyObject *_wrap_Window_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
19871 PyObject *resultobj;
19872 wxWindow *arg1 = (wxWindow *) 0 ;
19873 int arg2 = (int) wxBOTH ;
19874 PyObject * obj0 = 0 ;
19875 char *kwnames[] = {
19876 (char *) "self",(char *) "direction", NULL
19877 };
19878
19879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Window_Center",kwnames,&obj0,&arg2)) goto fail;
19880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19881 {
19882 PyThreadState* __tstate = wxPyBeginAllowThreads();
19883 (arg1)->Center(arg2);
19884
19885 wxPyEndAllowThreads(__tstate);
19886 if (PyErr_Occurred()) SWIG_fail;
19887 }
19888 Py_INCREF(Py_None); resultobj = Py_None;
19889 return resultobj;
19890 fail:
19891 return NULL;
19892}
19893
19894
19895static PyObject *_wrap_Window_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
19896 PyObject *resultobj;
19897 wxWindow *arg1 = (wxWindow *) 0 ;
19898 int arg2 = (int) wxBOTH ;
19899 PyObject * obj0 = 0 ;
19900 char *kwnames[] = {
19901 (char *) "self",(char *) "dir", NULL
19902 };
19903
19904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Window_CenterOnScreen",kwnames,&obj0,&arg2)) goto fail;
19905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19906 {
19907 PyThreadState* __tstate = wxPyBeginAllowThreads();
19908 (arg1)->CenterOnScreen(arg2);
19909
19910 wxPyEndAllowThreads(__tstate);
19911 if (PyErr_Occurred()) SWIG_fail;
19912 }
19913 Py_INCREF(Py_None); resultobj = Py_None;
19914 return resultobj;
19915 fail:
19916 return NULL;
19917}
19918
19919
19920static PyObject *_wrap_Window_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
19921 PyObject *resultobj;
19922 wxWindow *arg1 = (wxWindow *) 0 ;
19923 int arg2 = (int) wxBOTH ;
19924 PyObject * obj0 = 0 ;
19925 char *kwnames[] = {
19926 (char *) "self",(char *) "dir", NULL
19927 };
19928
19929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Window_CenterOnParent",kwnames,&obj0,&arg2)) goto fail;
19930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19931 {
19932 PyThreadState* __tstate = wxPyBeginAllowThreads();
19933 (arg1)->CenterOnParent(arg2);
19934
19935 wxPyEndAllowThreads(__tstate);
19936 if (PyErr_Occurred()) SWIG_fail;
19937 }
19938 Py_INCREF(Py_None); resultobj = Py_None;
19939 return resultobj;
19940 fail:
19941 return NULL;
19942}
19943
19944
19945static PyObject *_wrap_Window_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
19946 PyObject *resultobj;
19947 wxWindow *arg1 = (wxWindow *) 0 ;
19948 PyObject * obj0 = 0 ;
19949 char *kwnames[] = {
19950 (char *) "self", NULL
19951 };
19952
19953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
19954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19955 {
19956 PyThreadState* __tstate = wxPyBeginAllowThreads();
19957 (arg1)->Fit();
19958
19959 wxPyEndAllowThreads(__tstate);
19960 if (PyErr_Occurred()) SWIG_fail;
19961 }
19962 Py_INCREF(Py_None); resultobj = Py_None;
19963 return resultobj;
19964 fail:
19965 return NULL;
19966}
19967
19968
19969static PyObject *_wrap_Window_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
19970 PyObject *resultobj;
19971 wxWindow *arg1 = (wxWindow *) 0 ;
19972 PyObject * obj0 = 0 ;
19973 char *kwnames[] = {
19974 (char *) "self", NULL
19975 };
19976
19977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail;
19978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19979 {
19980 PyThreadState* __tstate = wxPyBeginAllowThreads();
19981 (arg1)->FitInside();
19982
19983 wxPyEndAllowThreads(__tstate);
19984 if (PyErr_Occurred()) SWIG_fail;
19985 }
19986 Py_INCREF(Py_None); resultobj = Py_None;
19987 return resultobj;
19988 fail:
19989 return NULL;
19990}
19991
19992
19993static PyObject *_wrap_Window_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
19994 PyObject *resultobj;
19995 wxWindow *arg1 = (wxWindow *) 0 ;
19996 int arg2 ;
19997 int arg3 ;
19998 int arg4 = (int) -1 ;
19999 int arg5 = (int) -1 ;
20000 int arg6 = (int) -1 ;
20001 int arg7 = (int) -1 ;
20002 PyObject * obj0 = 0 ;
20003 char *kwnames[] = {
20004 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
20005 };
20006
20007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|iiii:Window_SetSizeHints",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7)) goto fail;
20008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20009 {
20010 PyThreadState* __tstate = wxPyBeginAllowThreads();
20011 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
20012
20013 wxPyEndAllowThreads(__tstate);
20014 if (PyErr_Occurred()) SWIG_fail;
20015 }
20016 Py_INCREF(Py_None); resultobj = Py_None;
20017 return resultobj;
20018 fail:
20019 return NULL;
20020}
20021
20022
20023static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
20024 PyObject *resultobj;
20025 wxWindow *arg1 = (wxWindow *) 0 ;
20026 int arg2 ;
20027 int arg3 ;
20028 int arg4 = (int) -1 ;
20029 int arg5 = (int) -1 ;
20030 PyObject * obj0 = 0 ;
20031 char *kwnames[] = {
20032 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
20033 };
20034
20035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|ii:Window_SetVirtualSizeHints",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
20036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20037 {
20038 PyThreadState* __tstate = wxPyBeginAllowThreads();
20039 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
20040
20041 wxPyEndAllowThreads(__tstate);
20042 if (PyErr_Occurred()) SWIG_fail;
20043 }
20044 Py_INCREF(Py_None); resultobj = Py_None;
20045 return resultobj;
20046 fail:
20047 return NULL;
20048}
20049
20050
20051static PyObject *_wrap_Window_GetMinWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20052 PyObject *resultobj;
20053 wxWindow *arg1 = (wxWindow *) 0 ;
20054 int result;
20055 PyObject * obj0 = 0 ;
20056 char *kwnames[] = {
20057 (char *) "self", NULL
20058 };
20059
20060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
20061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20062 {
20063 PyThreadState* __tstate = wxPyBeginAllowThreads();
20064 result = (int)((wxWindow const *)arg1)->GetMinWidth();
20065
20066 wxPyEndAllowThreads(__tstate);
20067 if (PyErr_Occurred()) SWIG_fail;
20068 }
20069 resultobj = PyInt_FromLong((long)result);
20070 return resultobj;
20071 fail:
20072 return NULL;
20073}
20074
20075
20076static PyObject *_wrap_Window_GetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
20077 PyObject *resultobj;
20078 wxWindow *arg1 = (wxWindow *) 0 ;
20079 int result;
20080 PyObject * obj0 = 0 ;
20081 char *kwnames[] = {
20082 (char *) "self", NULL
20083 };
20084
20085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
20086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20087 {
20088 PyThreadState* __tstate = wxPyBeginAllowThreads();
20089 result = (int)((wxWindow const *)arg1)->GetMinHeight();
20090
20091 wxPyEndAllowThreads(__tstate);
20092 if (PyErr_Occurred()) SWIG_fail;
20093 }
20094 resultobj = PyInt_FromLong((long)result);
20095 return resultobj;
20096 fail:
20097 return NULL;
20098}
20099
20100
20101static PyObject *_wrap_Window_GetMaxWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20102 PyObject *resultobj;
20103 wxWindow *arg1 = (wxWindow *) 0 ;
20104 int result;
20105 PyObject * obj0 = 0 ;
20106 char *kwnames[] = {
20107 (char *) "self", NULL
20108 };
20109
20110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
20111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20112 {
20113 PyThreadState* __tstate = wxPyBeginAllowThreads();
20114 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
20115
20116 wxPyEndAllowThreads(__tstate);
20117 if (PyErr_Occurred()) SWIG_fail;
20118 }
20119 resultobj = PyInt_FromLong((long)result);
20120 return resultobj;
20121 fail:
20122 return NULL;
20123}
20124
20125
20126static PyObject *_wrap_Window_GetMaxHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
20127 PyObject *resultobj;
20128 wxWindow *arg1 = (wxWindow *) 0 ;
20129 int result;
20130 PyObject * obj0 = 0 ;
20131 char *kwnames[] = {
20132 (char *) "self", NULL
20133 };
20134
20135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
20136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20137 {
20138 PyThreadState* __tstate = wxPyBeginAllowThreads();
20139 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
20140
20141 wxPyEndAllowThreads(__tstate);
20142 if (PyErr_Occurred()) SWIG_fail;
20143 }
20144 resultobj = PyInt_FromLong((long)result);
20145 return resultobj;
20146 fail:
20147 return NULL;
20148}
20149
20150
20151static PyObject *_wrap_Window_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20152 PyObject *resultobj;
20153 wxWindow *arg1 = (wxWindow *) 0 ;
20154 wxSize result;
20155 PyObject * obj0 = 0 ;
20156 char *kwnames[] = {
20157 (char *) "self", NULL
20158 };
20159
20160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
20161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20162 {
20163 PyThreadState* __tstate = wxPyBeginAllowThreads();
20164 result = ((wxWindow const *)arg1)->GetMaxSize();
20165
20166 wxPyEndAllowThreads(__tstate);
20167 if (PyErr_Occurred()) SWIG_fail;
20168 }
20169 {
20170 wxSize * resultptr;
20171 resultptr = new wxSize((wxSize &) result);
20172 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20173 }
20174 return resultobj;
20175 fail:
20176 return NULL;
20177}
20178
20179
20180static PyObject *_wrap_Window_SetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20181 PyObject *resultobj;
20182 wxWindow *arg1 = (wxWindow *) 0 ;
20183 wxSize *arg2 = 0 ;
20184 wxSize temp2 ;
20185 PyObject * obj0 = 0 ;
20186 PyObject * obj1 = 0 ;
20187 char *kwnames[] = {
20188 (char *) "self",(char *) "size", NULL
20189 };
20190
20191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
20192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20193 {
20194 arg2 = &temp2;
20195 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20196 }
20197 {
20198 PyThreadState* __tstate = wxPyBeginAllowThreads();
20199 (arg1)->SetVirtualSize((wxSize const &)*arg2);
20200
20201 wxPyEndAllowThreads(__tstate);
20202 if (PyErr_Occurred()) SWIG_fail;
20203 }
20204 Py_INCREF(Py_None); resultobj = Py_None;
20205 return resultobj;
20206 fail:
20207 return NULL;
20208}
20209
20210
20211static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
20212 PyObject *resultobj;
20213 wxWindow *arg1 = (wxWindow *) 0 ;
20214 int arg2 ;
20215 int arg3 ;
20216 PyObject * obj0 = 0 ;
20217 char *kwnames[] = {
20218 (char *) "self",(char *) "w",(char *) "h", NULL
20219 };
20220
20221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_SetVirtualSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
20222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20223 {
20224 PyThreadState* __tstate = wxPyBeginAllowThreads();
20225 (arg1)->SetVirtualSize(arg2,arg3);
20226
20227 wxPyEndAllowThreads(__tstate);
20228 if (PyErr_Occurred()) SWIG_fail;
20229 }
20230 Py_INCREF(Py_None); resultobj = Py_None;
20231 return resultobj;
20232 fail:
20233 return NULL;
20234}
20235
20236
20237static PyObject *_wrap_Window_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20238 PyObject *resultobj;
20239 wxWindow *arg1 = (wxWindow *) 0 ;
20240 wxSize result;
20241 PyObject * obj0 = 0 ;
20242 char *kwnames[] = {
20243 (char *) "self", NULL
20244 };
20245
20246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
20247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20248 {
20249 PyThreadState* __tstate = wxPyBeginAllowThreads();
20250 result = ((wxWindow const *)arg1)->GetVirtualSize();
20251
20252 wxPyEndAllowThreads(__tstate);
20253 if (PyErr_Occurred()) SWIG_fail;
20254 }
20255 {
20256 wxSize * resultptr;
20257 resultptr = new wxSize((wxSize &) result);
20258 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20259 }
20260 return resultobj;
20261 fail:
20262 return NULL;
20263}
20264
20265
20266static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
20267 PyObject *resultobj;
20268 wxWindow *arg1 = (wxWindow *) 0 ;
20269 int *arg2 = (int *) 0 ;
20270 int *arg3 = (int *) 0 ;
20271 int temp2 ;
20272 int temp3 ;
20273 PyObject * obj0 = 0 ;
20274 char *kwnames[] = {
20275 (char *) "self", NULL
20276 };
20277
20278 arg2 = &temp2;
20279 arg3 = &temp3;
20280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
20281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20282 {
20283 PyThreadState* __tstate = wxPyBeginAllowThreads();
20284 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
20285
20286 wxPyEndAllowThreads(__tstate);
20287 if (PyErr_Occurred()) SWIG_fail;
20288 }
20289 Py_INCREF(Py_None); resultobj = Py_None;
20290 {
20291 PyObject *o = PyInt_FromLong((long) (*arg2));
20292 resultobj = t_output_helper(resultobj,o);
20293 }
20294 {
20295 PyObject *o = PyInt_FromLong((long) (*arg3));
20296 resultobj = t_output_helper(resultobj,o);
20297 }
20298 return resultobj;
20299 fail:
20300 return NULL;
20301}
20302
20303
20304static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20305 PyObject *resultobj;
20306 wxWindow *arg1 = (wxWindow *) 0 ;
20307 wxSize result;
20308 PyObject * obj0 = 0 ;
20309 char *kwnames[] = {
20310 (char *) "self", NULL
20311 };
20312
20313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
20314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20315 {
20316 PyThreadState* __tstate = wxPyBeginAllowThreads();
20317 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
20318
20319 wxPyEndAllowThreads(__tstate);
20320 if (PyErr_Occurred()) SWIG_fail;
20321 }
20322 {
20323 wxSize * resultptr;
20324 resultptr = new wxSize((wxSize &) result);
20325 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20326 }
20327 return resultobj;
20328 fail:
20329 return NULL;
20330}
20331
20332
20333static PyObject *_wrap_Window_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
20334 PyObject *resultobj;
20335 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 20336 bool arg2 = (bool) True ;
d14a1e28
RD
20337 bool result;
20338 PyObject * obj0 = 0 ;
20339 PyObject * obj1 = 0 ;
20340 char *kwnames[] = {
20341 (char *) "self",(char *) "show", NULL
20342 };
20343
20344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
20345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20346 if (obj1) {
20347 arg2 = PyInt_AsLong(obj1) ? true : false;
20348 if (PyErr_Occurred()) SWIG_fail;
20349 }
20350 {
20351 PyThreadState* __tstate = wxPyBeginAllowThreads();
20352 result = (bool)(arg1)->Show(arg2);
20353
20354 wxPyEndAllowThreads(__tstate);
20355 if (PyErr_Occurred()) SWIG_fail;
20356 }
20357 resultobj = PyInt_FromLong((long)result);
20358 return resultobj;
20359 fail:
20360 return NULL;
20361}
20362
20363
20364static PyObject *_wrap_Window_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
20365 PyObject *resultobj;
20366 wxWindow *arg1 = (wxWindow *) 0 ;
20367 bool result;
20368 PyObject * obj0 = 0 ;
20369 char *kwnames[] = {
20370 (char *) "self", NULL
20371 };
20372
20373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
20374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20375 {
20376 PyThreadState* __tstate = wxPyBeginAllowThreads();
20377 result = (bool)(arg1)->Hide();
20378
20379 wxPyEndAllowThreads(__tstate);
20380 if (PyErr_Occurred()) SWIG_fail;
20381 }
20382 resultobj = PyInt_FromLong((long)result);
20383 return resultobj;
20384 fail:
20385 return NULL;
20386}
20387
20388
20389static PyObject *_wrap_Window_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
20390 PyObject *resultobj;
20391 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 20392 bool arg2 = (bool) True ;
d14a1e28
RD
20393 bool result;
20394 PyObject * obj0 = 0 ;
20395 PyObject * obj1 = 0 ;
20396 char *kwnames[] = {
20397 (char *) "self",(char *) "enable", NULL
20398 };
20399
20400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
20401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20402 if (obj1) {
20403 arg2 = PyInt_AsLong(obj1) ? true : false;
20404 if (PyErr_Occurred()) SWIG_fail;
20405 }
20406 {
20407 PyThreadState* __tstate = wxPyBeginAllowThreads();
20408 result = (bool)(arg1)->Enable(arg2);
20409
20410 wxPyEndAllowThreads(__tstate);
20411 if (PyErr_Occurred()) SWIG_fail;
20412 }
20413 resultobj = PyInt_FromLong((long)result);
20414 return resultobj;
20415 fail:
20416 return NULL;
20417}
20418
20419
20420static PyObject *_wrap_Window_Disable(PyObject *self, PyObject *args, PyObject *kwargs) {
20421 PyObject *resultobj;
20422 wxWindow *arg1 = (wxWindow *) 0 ;
20423 bool result;
20424 PyObject * obj0 = 0 ;
20425 char *kwnames[] = {
20426 (char *) "self", NULL
20427 };
20428
20429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
20430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20431 {
20432 PyThreadState* __tstate = wxPyBeginAllowThreads();
20433 result = (bool)(arg1)->Disable();
20434
20435 wxPyEndAllowThreads(__tstate);
20436 if (PyErr_Occurred()) SWIG_fail;
20437 }
20438 resultobj = PyInt_FromLong((long)result);
20439 return resultobj;
20440 fail:
20441 return NULL;
20442}
20443
20444
20445static PyObject *_wrap_Window_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
20446 PyObject *resultobj;
20447 wxWindow *arg1 = (wxWindow *) 0 ;
20448 bool result;
20449 PyObject * obj0 = 0 ;
20450 char *kwnames[] = {
20451 (char *) "self", NULL
20452 };
20453
20454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
20455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20456 {
20457 PyThreadState* __tstate = wxPyBeginAllowThreads();
20458 result = (bool)((wxWindow const *)arg1)->IsShown();
20459
20460 wxPyEndAllowThreads(__tstate);
20461 if (PyErr_Occurred()) SWIG_fail;
20462 }
20463 resultobj = PyInt_FromLong((long)result);
20464 return resultobj;
20465 fail:
20466 return NULL;
20467}
20468
20469
20470static PyObject *_wrap_Window_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
20471 PyObject *resultobj;
20472 wxWindow *arg1 = (wxWindow *) 0 ;
20473 bool result;
20474 PyObject * obj0 = 0 ;
20475 char *kwnames[] = {
20476 (char *) "self", NULL
20477 };
20478
20479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
20480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20481 {
20482 PyThreadState* __tstate = wxPyBeginAllowThreads();
20483 result = (bool)((wxWindow const *)arg1)->IsEnabled();
20484
20485 wxPyEndAllowThreads(__tstate);
20486 if (PyErr_Occurred()) SWIG_fail;
20487 }
20488 resultobj = PyInt_FromLong((long)result);
20489 return resultobj;
20490 fail:
20491 return NULL;
20492}
20493
20494
20495static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20496 PyObject *resultobj;
20497 wxWindow *arg1 = (wxWindow *) 0 ;
20498 long arg2 ;
20499 PyObject * obj0 = 0 ;
20500 char *kwnames[] = {
20501 (char *) "self",(char *) "style", NULL
20502 };
20503
20504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
20505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20506 {
20507 PyThreadState* __tstate = wxPyBeginAllowThreads();
20508 (arg1)->SetWindowStyleFlag(arg2);
20509
20510 wxPyEndAllowThreads(__tstate);
20511 if (PyErr_Occurred()) SWIG_fail;
20512 }
20513 Py_INCREF(Py_None); resultobj = Py_None;
20514 return resultobj;
20515 fail:
20516 return NULL;
20517}
20518
20519
20520static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20521 PyObject *resultobj;
20522 wxWindow *arg1 = (wxWindow *) 0 ;
20523 long result;
20524 PyObject * obj0 = 0 ;
20525 char *kwnames[] = {
20526 (char *) "self", NULL
20527 };
20528
20529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
20530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20531 {
20532 PyThreadState* __tstate = wxPyBeginAllowThreads();
20533 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
20534
20535 wxPyEndAllowThreads(__tstate);
20536 if (PyErr_Occurred()) SWIG_fail;
20537 }
20538 resultobj = PyInt_FromLong((long)result);
20539 return resultobj;
20540 fail:
20541 return NULL;
20542}
20543
20544
20545static PyObject *_wrap_Window_SetWindowStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20546 PyObject *resultobj;
20547 wxWindow *arg1 = (wxWindow *) 0 ;
20548 long arg2 ;
20549 PyObject * obj0 = 0 ;
20550 char *kwnames[] = {
20551 (char *) "self",(char *) "style", NULL
20552 };
20553
20554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_SetWindowStyle",kwnames,&obj0,&arg2)) goto fail;
20555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20556 {
20557 PyThreadState* __tstate = wxPyBeginAllowThreads();
20558 (arg1)->SetWindowStyle(arg2);
20559
20560 wxPyEndAllowThreads(__tstate);
20561 if (PyErr_Occurred()) SWIG_fail;
20562 }
20563 Py_INCREF(Py_None); resultobj = Py_None;
20564 return resultobj;
20565 fail:
20566 return NULL;
20567}
20568
20569
20570static PyObject *_wrap_Window_GetWindowStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20571 PyObject *resultobj;
20572 wxWindow *arg1 = (wxWindow *) 0 ;
20573 long result;
20574 PyObject * obj0 = 0 ;
20575 char *kwnames[] = {
20576 (char *) "self", NULL
20577 };
20578
20579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyle",kwnames,&obj0)) goto fail;
20580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20581 {
20582 PyThreadState* __tstate = wxPyBeginAllowThreads();
20583 result = (long)((wxWindow const *)arg1)->GetWindowStyle();
20584
20585 wxPyEndAllowThreads(__tstate);
20586 if (PyErr_Occurred()) SWIG_fail;
20587 }
20588 resultobj = PyInt_FromLong((long)result);
20589 return resultobj;
20590 fail:
20591 return NULL;
20592}
20593
20594
20595static PyObject *_wrap_Window_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20596 PyObject *resultobj;
20597 wxWindow *arg1 = (wxWindow *) 0 ;
20598 int arg2 ;
20599 bool result;
20600 PyObject * obj0 = 0 ;
20601 char *kwnames[] = {
20602 (char *) "self",(char *) "flag", NULL
20603 };
20604
20605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_HasFlag",kwnames,&obj0,&arg2)) goto fail;
20606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20607 {
20608 PyThreadState* __tstate = wxPyBeginAllowThreads();
20609 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
20610
20611 wxPyEndAllowThreads(__tstate);
20612 if (PyErr_Occurred()) SWIG_fail;
20613 }
20614 resultobj = PyInt_FromLong((long)result);
20615 return resultobj;
20616 fail:
20617 return NULL;
20618}
20619
20620
20621static PyObject *_wrap_Window_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
20622 PyObject *resultobj;
20623 wxWindow *arg1 = (wxWindow *) 0 ;
20624 bool result;
20625 PyObject * obj0 = 0 ;
20626 char *kwnames[] = {
20627 (char *) "self", NULL
20628 };
20629
20630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
20631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20632 {
20633 PyThreadState* __tstate = wxPyBeginAllowThreads();
20634 result = (bool)((wxWindow const *)arg1)->IsRetained();
20635
20636 wxPyEndAllowThreads(__tstate);
20637 if (PyErr_Occurred()) SWIG_fail;
20638 }
20639 resultobj = PyInt_FromLong((long)result);
20640 return resultobj;
20641 fail:
20642 return NULL;
20643}
20644
20645
20646static PyObject *_wrap_Window_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20647 PyObject *resultobj;
20648 wxWindow *arg1 = (wxWindow *) 0 ;
20649 long arg2 ;
20650 PyObject * obj0 = 0 ;
20651 char *kwnames[] = {
20652 (char *) "self",(char *) "exStyle", NULL
20653 };
20654
20655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_SetExtraStyle",kwnames,&obj0,&arg2)) goto fail;
20656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20657 {
20658 PyThreadState* __tstate = wxPyBeginAllowThreads();
20659 (arg1)->SetExtraStyle(arg2);
20660
20661 wxPyEndAllowThreads(__tstate);
20662 if (PyErr_Occurred()) SWIG_fail;
20663 }
20664 Py_INCREF(Py_None); resultobj = Py_None;
20665 return resultobj;
20666 fail:
20667 return NULL;
20668}
20669
20670
20671static PyObject *_wrap_Window_GetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20672 PyObject *resultobj;
20673 wxWindow *arg1 = (wxWindow *) 0 ;
20674 long result;
20675 PyObject * obj0 = 0 ;
20676 char *kwnames[] = {
20677 (char *) "self", NULL
20678 };
20679
20680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
20681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20682 {
20683 PyThreadState* __tstate = wxPyBeginAllowThreads();
20684 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
20685
20686 wxPyEndAllowThreads(__tstate);
20687 if (PyErr_Occurred()) SWIG_fail;
20688 }
20689 resultobj = PyInt_FromLong((long)result);
20690 return resultobj;
20691 fail:
20692 return NULL;
20693}
20694
20695
20696static PyObject *_wrap_Window_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
20697 PyObject *resultobj;
20698 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 20699 bool arg2 = (bool) True ;
d14a1e28
RD
20700 PyObject * obj0 = 0 ;
20701 PyObject * obj1 = 0 ;
20702 char *kwnames[] = {
20703 (char *) "self",(char *) "modal", NULL
20704 };
20705
20706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
20707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20708 if (obj1) {
20709 arg2 = PyInt_AsLong(obj1) ? true : false;
20710 if (PyErr_Occurred()) SWIG_fail;
20711 }
20712 {
20713 PyThreadState* __tstate = wxPyBeginAllowThreads();
20714 (arg1)->MakeModal(arg2);
20715
20716 wxPyEndAllowThreads(__tstate);
20717 if (PyErr_Occurred()) SWIG_fail;
20718 }
20719 Py_INCREF(Py_None); resultobj = Py_None;
20720 return resultobj;
20721 fail:
20722 return NULL;
20723}
20724
20725
20726static PyObject *_wrap_Window_SetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
20727 PyObject *resultobj;
20728 wxWindow *arg1 = (wxWindow *) 0 ;
20729 bool arg2 ;
20730 PyObject * obj0 = 0 ;
20731 PyObject * obj1 = 0 ;
20732 char *kwnames[] = {
20733 (char *) "self",(char *) "enableTheme", NULL
20734 };
20735
20736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
20737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20738 arg2 = PyInt_AsLong(obj1) ? true : false;
20739 if (PyErr_Occurred()) SWIG_fail;
20740 {
20741 PyThreadState* __tstate = wxPyBeginAllowThreads();
20742 (arg1)->SetThemeEnabled(arg2);
20743
20744 wxPyEndAllowThreads(__tstate);
20745 if (PyErr_Occurred()) SWIG_fail;
20746 }
20747 Py_INCREF(Py_None); resultobj = Py_None;
20748 return resultobj;
20749 fail:
20750 return NULL;
20751}
20752
20753
20754static PyObject *_wrap_Window_GetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
20755 PyObject *resultobj;
20756 wxWindow *arg1 = (wxWindow *) 0 ;
20757 bool result;
20758 PyObject * obj0 = 0 ;
20759 char *kwnames[] = {
20760 (char *) "self", NULL
20761 };
20762
20763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
20764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20765 {
20766 PyThreadState* __tstate = wxPyBeginAllowThreads();
20767 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
20768
20769 wxPyEndAllowThreads(__tstate);
20770 if (PyErr_Occurred()) SWIG_fail;
20771 }
20772 resultobj = PyInt_FromLong((long)result);
20773 return resultobj;
20774 fail:
20775 return NULL;
20776}
20777
20778
20779static PyObject *_wrap_Window_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
20780 PyObject *resultobj;
20781 wxWindow *arg1 = (wxWindow *) 0 ;
20782 bool result;
20783 PyObject * obj0 = 0 ;
20784 char *kwnames[] = {
20785 (char *) "self", NULL
20786 };
20787
20788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ShouldInheritColours",kwnames,&obj0)) goto fail;
20789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20790 {
20791 PyThreadState* __tstate = wxPyBeginAllowThreads();
20792 result = (bool)((wxWindow const *)arg1)->ShouldInheritColours();
20793
20794 wxPyEndAllowThreads(__tstate);
20795 if (PyErr_Occurred()) SWIG_fail;
20796 }
20797 resultobj = PyInt_FromLong((long)result);
20798 return resultobj;
20799 fail:
20800 return NULL;
20801}
20802
20803
20804static PyObject *_wrap_Window_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
20805 PyObject *resultobj;
20806 wxWindow *arg1 = (wxWindow *) 0 ;
20807 PyObject * obj0 = 0 ;
20808 char *kwnames[] = {
20809 (char *) "self", NULL
20810 };
20811
20812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
20813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20814 {
20815 PyThreadState* __tstate = wxPyBeginAllowThreads();
20816 (arg1)->SetFocus();
20817
20818 wxPyEndAllowThreads(__tstate);
20819 if (PyErr_Occurred()) SWIG_fail;
20820 }
20821 Py_INCREF(Py_None); resultobj = Py_None;
20822 return resultobj;
20823 fail:
20824 return NULL;
20825}
20826
20827
20828static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *self, PyObject *args, PyObject *kwargs) {
20829 PyObject *resultobj;
20830 wxWindow *arg1 = (wxWindow *) 0 ;
20831 PyObject * obj0 = 0 ;
20832 char *kwnames[] = {
20833 (char *) "self", NULL
20834 };
20835
20836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
20837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20838 {
20839 PyThreadState* __tstate = wxPyBeginAllowThreads();
20840 (arg1)->SetFocusFromKbd();
20841
20842 wxPyEndAllowThreads(__tstate);
20843 if (PyErr_Occurred()) SWIG_fail;
20844 }
20845 Py_INCREF(Py_None); resultobj = Py_None;
20846 return resultobj;
20847 fail:
20848 return NULL;
20849}
20850
20851
20852static PyObject *_wrap_Window_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
20853 PyObject *resultobj;
20854 wxWindow *result;
20855 char *kwnames[] = {
20856 NULL
20857 };
20858
20859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
20860 {
20861 PyThreadState* __tstate = wxPyBeginAllowThreads();
20862 result = (wxWindow *)wxWindow::FindFocus();
20863
20864 wxPyEndAllowThreads(__tstate);
20865 if (PyErr_Occurred()) SWIG_fail;
20866 }
20867 {
20868 resultobj = wxPyMake_wxObject(result);
20869 }
20870 return resultobj;
20871 fail:
20872 return NULL;
20873}
20874
20875
20876static PyObject *_wrap_Window_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
20877 PyObject *resultobj;
20878 wxWindow *arg1 = (wxWindow *) 0 ;
20879 bool result;
20880 PyObject * obj0 = 0 ;
20881 char *kwnames[] = {
20882 (char *) "self", NULL
20883 };
20884
20885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
20886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20887 {
20888 PyThreadState* __tstate = wxPyBeginAllowThreads();
20889 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
20890
20891 wxPyEndAllowThreads(__tstate);
20892 if (PyErr_Occurred()) SWIG_fail;
20893 }
20894 resultobj = PyInt_FromLong((long)result);
20895 return resultobj;
20896 fail:
20897 return NULL;
20898}
20899
20900
20901static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
20902 PyObject *resultobj;
20903 wxWindow *arg1 = (wxWindow *) 0 ;
20904 bool result;
20905 PyObject * obj0 = 0 ;
20906 char *kwnames[] = {
20907 (char *) "self", NULL
20908 };
20909
20910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
20911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20912 {
20913 PyThreadState* __tstate = wxPyBeginAllowThreads();
20914 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
20915
20916 wxPyEndAllowThreads(__tstate);
20917 if (PyErr_Occurred()) SWIG_fail;
20918 }
20919 resultobj = PyInt_FromLong((long)result);
20920 return resultobj;
20921 fail:
20922 return NULL;
20923}
20924
20925
20926static PyObject *_wrap_Window_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20927 PyObject *resultobj;
20928 wxWindow *arg1 = (wxWindow *) 0 ;
20929 wxWindow *result;
20930 PyObject * obj0 = 0 ;
20931 char *kwnames[] = {
20932 (char *) "self", NULL
20933 };
20934
20935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
20936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20937 {
20938 PyThreadState* __tstate = wxPyBeginAllowThreads();
20939 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
20940
20941 wxPyEndAllowThreads(__tstate);
20942 if (PyErr_Occurred()) SWIG_fail;
20943 }
20944 {
20945 resultobj = wxPyMake_wxObject(result);
20946 }
20947 return resultobj;
20948 fail:
20949 return NULL;
20950}
20951
20952
20953static PyObject *_wrap_Window_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20954 PyObject *resultobj;
20955 wxWindow *arg1 = (wxWindow *) 0 ;
20956 wxWindow *arg2 = (wxWindow *) 0 ;
20957 wxWindow *result;
20958 PyObject * obj0 = 0 ;
20959 PyObject * obj1 = 0 ;
20960 char *kwnames[] = {
20961 (char *) "self",(char *) "child", NULL
20962 };
20963
20964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
20965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20966 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20967 {
20968 PyThreadState* __tstate = wxPyBeginAllowThreads();
20969 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
20970
20971 wxPyEndAllowThreads(__tstate);
20972 if (PyErr_Occurred()) SWIG_fail;
20973 }
20974 {
20975 resultobj = wxPyMake_wxObject(result);
20976 }
20977 return resultobj;
20978 fail:
20979 return NULL;
20980}
20981
20982
20983static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20984 PyObject *resultobj;
20985 wxWindow *arg1 = (wxWindow *) 0 ;
20986 wxWindow *arg2 = (wxWindow *) 0 ;
20987 PyObject * obj0 = 0 ;
20988 PyObject * obj1 = 0 ;
20989 char *kwnames[] = {
20990 (char *) "self",(char *) "win", NULL
20991 };
20992
20993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
20994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20995 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20996 {
20997 PyThreadState* __tstate = wxPyBeginAllowThreads();
20998 (arg1)->SetTmpDefaultItem(arg2);
20999
21000 wxPyEndAllowThreads(__tstate);
21001 if (PyErr_Occurred()) SWIG_fail;
21002 }
21003 Py_INCREF(Py_None); resultobj = Py_None;
21004 return resultobj;
21005 fail:
21006 return NULL;
21007}
21008
21009
21010static PyObject *_wrap_Window_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21011 PyObject *resultobj;
21012 wxWindow *arg1 = (wxWindow *) 0 ;
21013 PyObject *result;
21014 PyObject * obj0 = 0 ;
21015 char *kwnames[] = {
21016 (char *) "self", NULL
21017 };
21018
21019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
21020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21021 {
21022 PyThreadState* __tstate = wxPyBeginAllowThreads();
21023 result = (PyObject *)wxWindow_GetChildren(arg1);
21024
21025 wxPyEndAllowThreads(__tstate);
21026 if (PyErr_Occurred()) SWIG_fail;
21027 }
21028 resultobj = result;
21029 return resultobj;
21030 fail:
21031 return NULL;
21032}
21033
21034
21035static PyObject *_wrap_Window_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21036 PyObject *resultobj;
21037 wxWindow *arg1 = (wxWindow *) 0 ;
21038 wxWindow *result;
21039 PyObject * obj0 = 0 ;
21040 char *kwnames[] = {
21041 (char *) "self", NULL
21042 };
21043
21044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
21045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21046 {
21047 PyThreadState* __tstate = wxPyBeginAllowThreads();
21048 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
21049
21050 wxPyEndAllowThreads(__tstate);
21051 if (PyErr_Occurred()) SWIG_fail;
21052 }
21053 {
21054 resultobj = wxPyMake_wxObject(result);
21055 }
21056 return resultobj;
21057 fail:
21058 return NULL;
21059}
21060
21061
21062static PyObject *_wrap_Window_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21063 PyObject *resultobj;
21064 wxWindow *arg1 = (wxWindow *) 0 ;
21065 wxWindow *result;
21066 PyObject * obj0 = 0 ;
21067 char *kwnames[] = {
21068 (char *) "self", NULL
21069 };
21070
21071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
21072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21073 {
21074 PyThreadState* __tstate = wxPyBeginAllowThreads();
21075 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
21076
21077 wxPyEndAllowThreads(__tstate);
21078 if (PyErr_Occurred()) SWIG_fail;
21079 }
21080 {
21081 resultobj = wxPyMake_wxObject(result);
21082 }
21083 return resultobj;
21084 fail:
21085 return NULL;
21086}
21087
21088
21089static PyObject *_wrap_Window_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
21090 PyObject *resultobj;
21091 wxWindow *arg1 = (wxWindow *) 0 ;
21092 bool result;
21093 PyObject * obj0 = 0 ;
21094 char *kwnames[] = {
21095 (char *) "self", NULL
21096 };
21097
21098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
21099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21100 {
21101 PyThreadState* __tstate = wxPyBeginAllowThreads();
21102 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
21103
21104 wxPyEndAllowThreads(__tstate);
21105 if (PyErr_Occurred()) SWIG_fail;
21106 }
21107 resultobj = PyInt_FromLong((long)result);
21108 return resultobj;
21109 fail:
21110 return NULL;
21111}
21112
21113
21114static PyObject *_wrap_Window_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
21115 PyObject *resultobj;
21116 wxWindow *arg1 = (wxWindow *) 0 ;
21117 wxWindow *arg2 = (wxWindow *) 0 ;
21118 bool result;
21119 PyObject * obj0 = 0 ;
21120 PyObject * obj1 = 0 ;
21121 char *kwnames[] = {
21122 (char *) "self",(char *) "newParent", NULL
21123 };
21124
21125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
21126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21127 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21128 {
21129 PyThreadState* __tstate = wxPyBeginAllowThreads();
21130 result = (bool)(arg1)->Reparent(arg2);
21131
21132 wxPyEndAllowThreads(__tstate);
21133 if (PyErr_Occurred()) SWIG_fail;
21134 }
21135 resultobj = PyInt_FromLong((long)result);
21136 return resultobj;
21137 fail:
21138 return NULL;
21139}
21140
21141
21142static PyObject *_wrap_Window_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21143 PyObject *resultobj;
21144 wxWindow *arg1 = (wxWindow *) 0 ;
21145 wxWindow *arg2 = (wxWindow *) 0 ;
21146 PyObject * obj0 = 0 ;
21147 PyObject * obj1 = 0 ;
21148 char *kwnames[] = {
21149 (char *) "self",(char *) "child", NULL
21150 };
21151
21152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
21153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21154 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21155 {
21156 PyThreadState* __tstate = wxPyBeginAllowThreads();
21157 (arg1)->AddChild(arg2);
21158
21159 wxPyEndAllowThreads(__tstate);
21160 if (PyErr_Occurred()) SWIG_fail;
21161 }
21162 Py_INCREF(Py_None); resultobj = Py_None;
21163 return resultobj;
21164 fail:
21165 return NULL;
21166}
21167
21168
21169static PyObject *_wrap_Window_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21170 PyObject *resultobj;
21171 wxWindow *arg1 = (wxWindow *) 0 ;
21172 wxWindow *arg2 = (wxWindow *) 0 ;
21173 PyObject * obj0 = 0 ;
21174 PyObject * obj1 = 0 ;
21175 char *kwnames[] = {
21176 (char *) "self",(char *) "child", NULL
21177 };
21178
21179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
21180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21181 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21182 {
21183 PyThreadState* __tstate = wxPyBeginAllowThreads();
21184 (arg1)->RemoveChild(arg2);
21185
21186 wxPyEndAllowThreads(__tstate);
21187 if (PyErr_Occurred()) SWIG_fail;
21188 }
21189 Py_INCREF(Py_None); resultobj = Py_None;
21190 return resultobj;
21191 fail:
21192 return NULL;
21193}
21194
21195
21196static PyObject *_wrap_Window_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
21197 PyObject *resultobj;
21198 wxWindow *arg1 = (wxWindow *) 0 ;
21199 long arg2 ;
21200 wxWindow *result;
21201 PyObject * obj0 = 0 ;
21202 char *kwnames[] = {
21203 (char *) "self",(char *) "winid", NULL
21204 };
21205
21206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_FindWindowById",kwnames,&obj0,&arg2)) goto fail;
21207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21208 {
21209 PyThreadState* __tstate = wxPyBeginAllowThreads();
21210 result = (wxWindow *)(arg1)->FindWindow(arg2);
21211
21212 wxPyEndAllowThreads(__tstate);
21213 if (PyErr_Occurred()) SWIG_fail;
21214 }
21215 {
21216 resultobj = wxPyMake_wxObject(result);
21217 }
21218 return resultobj;
21219 fail:
21220 return NULL;
21221}
21222
21223
21224static PyObject *_wrap_Window_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
21225 PyObject *resultobj;
21226 wxWindow *arg1 = (wxWindow *) 0 ;
21227 wxString *arg2 = 0 ;
21228 wxWindow *result;
e811c8ce 21229 bool temp2 = False ;
d14a1e28
RD
21230 PyObject * obj0 = 0 ;
21231 PyObject * obj1 = 0 ;
21232 char *kwnames[] = {
21233 (char *) "self",(char *) "name", NULL
21234 };
21235
21236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
21237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21238 {
21239 arg2 = wxString_in_helper(obj1);
21240 if (arg2 == NULL) SWIG_fail;
e811c8ce 21241 temp2 = True;
d14a1e28
RD
21242 }
21243 {
21244 PyThreadState* __tstate = wxPyBeginAllowThreads();
21245 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
21246
21247 wxPyEndAllowThreads(__tstate);
21248 if (PyErr_Occurred()) SWIG_fail;
21249 }
21250 {
21251 resultobj = wxPyMake_wxObject(result);
21252 }
21253 {
21254 if (temp2)
21255 delete arg2;
21256 }
21257 return resultobj;
21258 fail:
21259 {
21260 if (temp2)
21261 delete arg2;
21262 }
21263 return NULL;
21264}
21265
21266
21267static PyObject *_wrap_Window_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21268 PyObject *resultobj;
21269 wxWindow *arg1 = (wxWindow *) 0 ;
21270 wxEvtHandler *result;
21271 PyObject * obj0 = 0 ;
21272 char *kwnames[] = {
21273 (char *) "self", NULL
21274 };
21275
21276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
21277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21278 {
21279 PyThreadState* __tstate = wxPyBeginAllowThreads();
21280 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
21281
21282 wxPyEndAllowThreads(__tstate);
21283 if (PyErr_Occurred()) SWIG_fail;
21284 }
21285 {
21286 resultobj = wxPyMake_wxObject(result);
21287 }
21288 return resultobj;
21289 fail:
21290 return NULL;
21291}
21292
21293
21294static PyObject *_wrap_Window_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21295 PyObject *resultobj;
21296 wxWindow *arg1 = (wxWindow *) 0 ;
21297 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
21298 PyObject * obj0 = 0 ;
21299 PyObject * obj1 = 0 ;
21300 char *kwnames[] = {
21301 (char *) "self",(char *) "handler", NULL
21302 };
21303
21304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
21305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21306 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21307 {
21308 PyThreadState* __tstate = wxPyBeginAllowThreads();
21309 (arg1)->SetEventHandler(arg2);
21310
21311 wxPyEndAllowThreads(__tstate);
21312 if (PyErr_Occurred()) SWIG_fail;
21313 }
21314 Py_INCREF(Py_None); resultobj = Py_None;
21315 return resultobj;
21316 fail:
21317 return NULL;
21318}
21319
21320
21321static PyObject *_wrap_Window_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21322 PyObject *resultobj;
21323 wxWindow *arg1 = (wxWindow *) 0 ;
21324 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
21325 PyObject * obj0 = 0 ;
21326 PyObject * obj1 = 0 ;
21327 char *kwnames[] = {
21328 (char *) "self",(char *) "handler", NULL
21329 };
21330
21331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
21332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21333 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21334 {
21335 PyThreadState* __tstate = wxPyBeginAllowThreads();
21336 (arg1)->PushEventHandler(arg2);
21337
21338 wxPyEndAllowThreads(__tstate);
21339 if (PyErr_Occurred()) SWIG_fail;
21340 }
21341 Py_INCREF(Py_None); resultobj = Py_None;
21342 return resultobj;
21343 fail:
21344 return NULL;
21345}
21346
21347
21348static PyObject *_wrap_Window_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21349 PyObject *resultobj;
21350 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 21351 bool arg2 = (bool) False ;
d14a1e28
RD
21352 wxEvtHandler *result;
21353 PyObject * obj0 = 0 ;
21354 PyObject * obj1 = 0 ;
21355 char *kwnames[] = {
21356 (char *) "self",(char *) "deleteHandler", NULL
21357 };
21358
21359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
21360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21361 if (obj1) {
21362 arg2 = PyInt_AsLong(obj1) ? true : false;
21363 if (PyErr_Occurred()) SWIG_fail;
21364 }
21365 {
21366 PyThreadState* __tstate = wxPyBeginAllowThreads();
21367 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
21368
21369 wxPyEndAllowThreads(__tstate);
21370 if (PyErr_Occurred()) SWIG_fail;
21371 }
21372 {
21373 resultobj = wxPyMake_wxObject(result);
21374 }
21375 return resultobj;
21376 fail:
21377 return NULL;
21378}
21379
21380
21381static PyObject *_wrap_Window_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21382 PyObject *resultobj;
21383 wxWindow *arg1 = (wxWindow *) 0 ;
21384 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
21385 bool result;
21386 PyObject * obj0 = 0 ;
21387 PyObject * obj1 = 0 ;
21388 char *kwnames[] = {
21389 (char *) "self",(char *) "handler", NULL
21390 };
21391
21392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
21393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21394 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21395 {
21396 PyThreadState* __tstate = wxPyBeginAllowThreads();
21397 result = (bool)(arg1)->RemoveEventHandler(arg2);
21398
21399 wxPyEndAllowThreads(__tstate);
21400 if (PyErr_Occurred()) SWIG_fail;
21401 }
21402 resultobj = PyInt_FromLong((long)result);
21403 return resultobj;
21404 fail:
21405 return NULL;
21406}
21407
21408
21409static PyObject *_wrap_Window_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
21410 PyObject *resultobj;
21411 wxWindow *arg1 = (wxWindow *) 0 ;
21412 wxValidator *arg2 = 0 ;
21413 PyObject * obj0 = 0 ;
21414 PyObject * obj1 = 0 ;
21415 char *kwnames[] = {
21416 (char *) "self",(char *) "validator", NULL
21417 };
21418
21419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
21420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21421 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21422 if (arg2 == NULL) {
21423 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21424 }
21425 {
21426 PyThreadState* __tstate = wxPyBeginAllowThreads();
21427 (arg1)->SetValidator((wxValidator const &)*arg2);
21428
21429 wxPyEndAllowThreads(__tstate);
21430 if (PyErr_Occurred()) SWIG_fail;
21431 }
21432 Py_INCREF(Py_None); resultobj = Py_None;
21433 return resultobj;
21434 fail:
21435 return NULL;
21436}
21437
21438
21439static PyObject *_wrap_Window_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
21440 PyObject *resultobj;
21441 wxWindow *arg1 = (wxWindow *) 0 ;
21442 wxValidator *result;
21443 PyObject * obj0 = 0 ;
21444 char *kwnames[] = {
21445 (char *) "self", NULL
21446 };
21447
21448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
21449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21450 {
21451 PyThreadState* __tstate = wxPyBeginAllowThreads();
21452 result = (wxValidator *)(arg1)->GetValidator();
21453
21454 wxPyEndAllowThreads(__tstate);
21455 if (PyErr_Occurred()) SWIG_fail;
21456 }
21457 {
21458 resultobj = wxPyMake_wxObject(result);
21459 }
21460 return resultobj;
21461 fail:
21462 return NULL;
21463}
21464
21465
21466static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21467 PyObject *resultobj;
21468 wxWindow *arg1 = (wxWindow *) 0 ;
21469 wxAcceleratorTable *arg2 = 0 ;
21470 PyObject * obj0 = 0 ;
21471 PyObject * obj1 = 0 ;
21472 char *kwnames[] = {
21473 (char *) "self",(char *) "accel", NULL
21474 };
21475
21476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
21477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21478 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21479 if (arg2 == NULL) {
21480 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21481 }
21482 {
21483 PyThreadState* __tstate = wxPyBeginAllowThreads();
21484 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
21485
21486 wxPyEndAllowThreads(__tstate);
21487 if (PyErr_Occurred()) SWIG_fail;
21488 }
21489 Py_INCREF(Py_None); resultobj = Py_None;
21490 return resultobj;
21491 fail:
21492 return NULL;
21493}
21494
21495
21496static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21497 PyObject *resultobj;
21498 wxWindow *arg1 = (wxWindow *) 0 ;
21499 wxAcceleratorTable *result;
21500 PyObject * obj0 = 0 ;
21501 char *kwnames[] = {
21502 (char *) "self", NULL
21503 };
21504
21505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
21506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21507 {
21508 PyThreadState* __tstate = wxPyBeginAllowThreads();
21509 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
21510
21511 wxPyEndAllowThreads(__tstate);
21512 if (PyErr_Occurred()) SWIG_fail;
21513 }
21514 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorTable, 0);
21515 return resultobj;
21516 fail:
21517 return NULL;
21518}
21519
21520
21521static PyObject *_wrap_Window_RegisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
21522 PyObject *resultobj;
21523 wxWindow *arg1 = (wxWindow *) 0 ;
21524 int arg2 ;
21525 int arg3 ;
21526 int arg4 ;
21527 bool result;
21528 PyObject * obj0 = 0 ;
21529 char *kwnames[] = {
21530 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
21531 };
21532
21533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:Window_RegisterHotKey",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
21534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21535 {
21536 PyThreadState* __tstate = wxPyBeginAllowThreads();
21537 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
21538
21539 wxPyEndAllowThreads(__tstate);
21540 if (PyErr_Occurred()) SWIG_fail;
21541 }
21542 resultobj = PyInt_FromLong((long)result);
21543 return resultobj;
21544 fail:
21545 return NULL;
21546}
21547
21548
21549static PyObject *_wrap_Window_UnregisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
21550 PyObject *resultobj;
21551 wxWindow *arg1 = (wxWindow *) 0 ;
21552 int arg2 ;
21553 bool result;
21554 PyObject * obj0 = 0 ;
21555 char *kwnames[] = {
21556 (char *) "self",(char *) "hotkeyId", NULL
21557 };
21558
21559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_UnregisterHotKey",kwnames,&obj0,&arg2)) goto fail;
21560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21561 {
21562 PyThreadState* __tstate = wxPyBeginAllowThreads();
21563 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
21564
21565 wxPyEndAllowThreads(__tstate);
21566 if (PyErr_Occurred()) SWIG_fail;
21567 }
21568 resultobj = PyInt_FromLong((long)result);
21569 return resultobj;
21570 fail:
21571 return NULL;
21572}
21573
21574
21575static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21576 PyObject *resultobj;
21577 wxWindow *arg1 = (wxWindow *) 0 ;
21578 wxPoint *arg2 = 0 ;
21579 wxPoint result;
21580 wxPoint temp2 ;
21581 PyObject * obj0 = 0 ;
21582 PyObject * obj1 = 0 ;
21583 char *kwnames[] = {
21584 (char *) "self",(char *) "pt", NULL
21585 };
21586
21587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
21588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21589 {
21590 arg2 = &temp2;
21591 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21592 }
21593 {
21594 PyThreadState* __tstate = wxPyBeginAllowThreads();
21595 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
21596
21597 wxPyEndAllowThreads(__tstate);
21598 if (PyErr_Occurred()) SWIG_fail;
21599 }
21600 {
21601 wxPoint * resultptr;
21602 resultptr = new wxPoint((wxPoint &) result);
21603 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
21604 }
21605 return resultobj;
21606 fail:
21607 return NULL;
21608}
21609
21610
21611static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21612 PyObject *resultobj;
21613 wxWindow *arg1 = (wxWindow *) 0 ;
21614 wxSize *arg2 = 0 ;
21615 wxSize result;
21616 wxSize temp2 ;
21617 PyObject * obj0 = 0 ;
21618 PyObject * obj1 = 0 ;
21619 char *kwnames[] = {
21620 (char *) "self",(char *) "sz", NULL
21621 };
21622
21623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
21624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21625 {
21626 arg2 = &temp2;
21627 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21628 }
21629 {
21630 PyThreadState* __tstate = wxPyBeginAllowThreads();
21631 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
21632
21633 wxPyEndAllowThreads(__tstate);
21634 if (PyErr_Occurred()) SWIG_fail;
21635 }
21636 {
21637 wxSize * resultptr;
21638 resultptr = new wxSize((wxSize &) result);
21639 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
21640 }
21641 return resultobj;
21642 fail:
21643 return NULL;
21644}
21645
21646
21647static PyObject *_wrap_Window_DLG_PNT(PyObject *self, PyObject *args, PyObject *kwargs) {
21648 PyObject *resultobj;
21649 wxWindow *arg1 = (wxWindow *) 0 ;
21650 wxPoint *arg2 = 0 ;
21651 wxPoint result;
21652 wxPoint temp2 ;
21653 PyObject * obj0 = 0 ;
21654 PyObject * obj1 = 0 ;
21655 char *kwnames[] = {
21656 (char *) "self",(char *) "pt", NULL
21657 };
21658
21659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
21660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21661 {
21662 arg2 = &temp2;
21663 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21664 }
21665 {
21666 PyThreadState* __tstate = wxPyBeginAllowThreads();
21667 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
21668
21669 wxPyEndAllowThreads(__tstate);
21670 if (PyErr_Occurred()) SWIG_fail;
21671 }
21672 {
21673 wxPoint * resultptr;
21674 resultptr = new wxPoint((wxPoint &) result);
21675 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
21676 }
21677 return resultobj;
21678 fail:
21679 return NULL;
21680}
21681
21682
21683static PyObject *_wrap_Window_DLG_SZE(PyObject *self, PyObject *args, PyObject *kwargs) {
21684 PyObject *resultobj;
21685 wxWindow *arg1 = (wxWindow *) 0 ;
21686 wxSize *arg2 = 0 ;
21687 wxSize result;
21688 wxSize temp2 ;
21689 PyObject * obj0 = 0 ;
21690 PyObject * obj1 = 0 ;
21691 char *kwnames[] = {
21692 (char *) "self",(char *) "sz", NULL
21693 };
21694
21695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
21696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21697 {
21698 arg2 = &temp2;
21699 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21700 }
21701 {
21702 PyThreadState* __tstate = wxPyBeginAllowThreads();
21703 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
21704
21705 wxPyEndAllowThreads(__tstate);
21706 if (PyErr_Occurred()) SWIG_fail;
21707 }
21708 {
21709 wxSize * resultptr;
21710 resultptr = new wxSize((wxSize &) result);
21711 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
21712 }
21713 return resultobj;
21714 fail:
21715 return NULL;
21716}
21717
21718
21719static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21720 PyObject *resultobj;
21721 wxWindow *arg1 = (wxWindow *) 0 ;
21722 wxPoint *arg2 = 0 ;
21723 wxPoint result;
21724 wxPoint temp2 ;
21725 PyObject * obj0 = 0 ;
21726 PyObject * obj1 = 0 ;
21727 char *kwnames[] = {
21728 (char *) "self",(char *) "pt", NULL
21729 };
21730
21731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
21732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21733 {
21734 arg2 = &temp2;
21735 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21736 }
21737 {
21738 PyThreadState* __tstate = wxPyBeginAllowThreads();
21739 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
21740
21741 wxPyEndAllowThreads(__tstate);
21742 if (PyErr_Occurred()) SWIG_fail;
21743 }
21744 {
21745 wxPoint * resultptr;
21746 resultptr = new wxPoint((wxPoint &) result);
21747 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
21748 }
21749 return resultobj;
21750 fail:
21751 return NULL;
21752}
21753
21754
21755static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21756 PyObject *resultobj;
21757 wxWindow *arg1 = (wxWindow *) 0 ;
21758 wxSize *arg2 = 0 ;
21759 wxSize result;
21760 wxSize temp2 ;
21761 PyObject * obj0 = 0 ;
21762 PyObject * obj1 = 0 ;
21763 char *kwnames[] = {
21764 (char *) "self",(char *) "sz", NULL
21765 };
21766
21767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
21768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21769 {
21770 arg2 = &temp2;
21771 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21772 }
21773 {
21774 PyThreadState* __tstate = wxPyBeginAllowThreads();
21775 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
21776
21777 wxPyEndAllowThreads(__tstate);
21778 if (PyErr_Occurred()) SWIG_fail;
21779 }
21780 {
21781 wxSize * resultptr;
21782 resultptr = new wxSize((wxSize &) result);
21783 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
21784 }
21785 return resultobj;
21786 fail:
21787 return NULL;
21788}
21789
21790
21791static PyObject *_wrap_Window_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
21792 PyObject *resultobj;
21793 wxWindow *arg1 = (wxWindow *) 0 ;
21794 int arg2 ;
21795 int arg3 ;
21796 PyObject * obj0 = 0 ;
21797 char *kwnames[] = {
21798 (char *) "self",(char *) "x",(char *) "y", NULL
21799 };
21800
21801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_WarpPointer",kwnames,&obj0,&arg2,&arg3)) goto fail;
21802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21803 {
21804 PyThreadState* __tstate = wxPyBeginAllowThreads();
21805 (arg1)->WarpPointer(arg2,arg3);
21806
21807 wxPyEndAllowThreads(__tstate);
21808 if (PyErr_Occurred()) SWIG_fail;
21809 }
21810 Py_INCREF(Py_None); resultobj = Py_None;
21811 return resultobj;
21812 fail:
21813 return NULL;
21814}
21815
21816
21817static PyObject *_wrap_Window_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
21818 PyObject *resultobj;
21819 wxWindow *arg1 = (wxWindow *) 0 ;
21820 PyObject * obj0 = 0 ;
21821 char *kwnames[] = {
21822 (char *) "self", NULL
21823 };
21824
21825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
21826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21827 {
21828 PyThreadState* __tstate = wxPyBeginAllowThreads();
21829 (arg1)->CaptureMouse();
21830
21831 wxPyEndAllowThreads(__tstate);
21832 if (PyErr_Occurred()) SWIG_fail;
21833 }
21834 Py_INCREF(Py_None); resultobj = Py_None;
21835 return resultobj;
21836 fail:
21837 return NULL;
21838}
21839
21840
21841static PyObject *_wrap_Window_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
21842 PyObject *resultobj;
21843 wxWindow *arg1 = (wxWindow *) 0 ;
21844 PyObject * obj0 = 0 ;
21845 char *kwnames[] = {
21846 (char *) "self", NULL
21847 };
21848
21849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
21850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21851 {
21852 PyThreadState* __tstate = wxPyBeginAllowThreads();
21853 (arg1)->ReleaseMouse();
21854
21855 wxPyEndAllowThreads(__tstate);
21856 if (PyErr_Occurred()) SWIG_fail;
21857 }
21858 Py_INCREF(Py_None); resultobj = Py_None;
21859 return resultobj;
21860 fail:
21861 return NULL;
21862}
21863
21864
21865static PyObject *_wrap_Window_GetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
21866 PyObject *resultobj;
21867 wxWindow *result;
21868 char *kwnames[] = {
21869 NULL
21870 };
21871
21872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
21873 {
21874 PyThreadState* __tstate = wxPyBeginAllowThreads();
21875 result = (wxWindow *)wxWindow::GetCapture();
21876
21877 wxPyEndAllowThreads(__tstate);
21878 if (PyErr_Occurred()) SWIG_fail;
21879 }
21880 {
21881 resultobj = wxPyMake_wxObject(result);
21882 }
21883 return resultobj;
21884 fail:
21885 return NULL;
21886}
21887
21888
21889static PyObject *_wrap_Window_HasCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
21890 PyObject *resultobj;
21891 wxWindow *arg1 = (wxWindow *) 0 ;
21892 bool result;
21893 PyObject * obj0 = 0 ;
21894 char *kwnames[] = {
21895 (char *) "self", NULL
21896 };
21897
21898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
21899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21900 {
21901 PyThreadState* __tstate = wxPyBeginAllowThreads();
21902 result = (bool)((wxWindow const *)arg1)->HasCapture();
21903
21904 wxPyEndAllowThreads(__tstate);
21905 if (PyErr_Occurred()) SWIG_fail;
21906 }
21907 resultobj = PyInt_FromLong((long)result);
21908 return resultobj;
21909 fail:
21910 return NULL;
21911}
21912
21913
21914static PyObject *_wrap_Window_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
21915 PyObject *resultobj;
21916 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 21917 bool arg2 = (bool) True ;
d14a1e28
RD
21918 wxRect *arg3 = (wxRect *) NULL ;
21919 PyObject * obj0 = 0 ;
21920 PyObject * obj1 = 0 ;
21921 PyObject * obj2 = 0 ;
21922 char *kwnames[] = {
21923 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
21924 };
21925
21926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
21927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21928 if (obj1) {
21929 arg2 = PyInt_AsLong(obj1) ? true : false;
21930 if (PyErr_Occurred()) SWIG_fail;
21931 }
21932 if (obj2) {
21933 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21934 }
21935 {
21936 PyThreadState* __tstate = wxPyBeginAllowThreads();
21937 (arg1)->Refresh(arg2,(wxRect const *)arg3);
21938
21939 wxPyEndAllowThreads(__tstate);
21940 if (PyErr_Occurred()) SWIG_fail;
21941 }
21942 Py_INCREF(Py_None); resultobj = Py_None;
21943 return resultobj;
21944 fail:
21945 return NULL;
21946}
21947
21948
21949static PyObject *_wrap_Window_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21950 PyObject *resultobj;
21951 wxWindow *arg1 = (wxWindow *) 0 ;
21952 wxRect *arg2 = 0 ;
21953 wxRect temp2 ;
21954 PyObject * obj0 = 0 ;
21955 PyObject * obj1 = 0 ;
21956 char *kwnames[] = {
21957 (char *) "self",(char *) "rect", NULL
21958 };
21959
21960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RefreshRect",kwnames,&obj0,&obj1)) goto fail;
21961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21962 {
21963 arg2 = &temp2;
21964 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
21965 }
21966 {
21967 PyThreadState* __tstate = wxPyBeginAllowThreads();
21968 (arg1)->RefreshRect((wxRect const &)*arg2);
21969
21970 wxPyEndAllowThreads(__tstate);
21971 if (PyErr_Occurred()) SWIG_fail;
21972 }
21973 Py_INCREF(Py_None); resultobj = Py_None;
21974 return resultobj;
21975 fail:
21976 return NULL;
21977}
21978
21979
21980static PyObject *_wrap_Window_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
21981 PyObject *resultobj;
21982 wxWindow *arg1 = (wxWindow *) 0 ;
21983 PyObject * obj0 = 0 ;
21984 char *kwnames[] = {
21985 (char *) "self", NULL
21986 };
21987
21988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
21989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21990 {
21991 PyThreadState* __tstate = wxPyBeginAllowThreads();
21992 (arg1)->Update();
21993
21994 wxPyEndAllowThreads(__tstate);
21995 if (PyErr_Occurred()) SWIG_fail;
21996 }
21997 Py_INCREF(Py_None); resultobj = Py_None;
21998 return resultobj;
21999 fail:
22000 return NULL;
22001}
22002
22003
22004static PyObject *_wrap_Window_ClearBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
22005 PyObject *resultobj;
22006 wxWindow *arg1 = (wxWindow *) 0 ;
22007 PyObject * obj0 = 0 ;
22008 char *kwnames[] = {
22009 (char *) "self", NULL
22010 };
22011
22012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
22013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22014 {
22015 PyThreadState* __tstate = wxPyBeginAllowThreads();
22016 (arg1)->ClearBackground();
22017
22018 wxPyEndAllowThreads(__tstate);
22019 if (PyErr_Occurred()) SWIG_fail;
22020 }
22021 Py_INCREF(Py_None); resultobj = Py_None;
22022 return resultobj;
22023 fail:
22024 return NULL;
22025}
22026
22027
22028static PyObject *_wrap_Window_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
22029 PyObject *resultobj;
22030 wxWindow *arg1 = (wxWindow *) 0 ;
22031 PyObject * obj0 = 0 ;
22032 char *kwnames[] = {
22033 (char *) "self", NULL
22034 };
22035
22036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
22037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22038 {
22039 PyThreadState* __tstate = wxPyBeginAllowThreads();
22040 (arg1)->Freeze();
22041
22042 wxPyEndAllowThreads(__tstate);
22043 if (PyErr_Occurred()) SWIG_fail;
22044 }
22045 Py_INCREF(Py_None); resultobj = Py_None;
22046 return resultobj;
22047 fail:
22048 return NULL;
22049}
22050
22051
22052static PyObject *_wrap_Window_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
22053 PyObject *resultobj;
22054 wxWindow *arg1 = (wxWindow *) 0 ;
22055 PyObject * obj0 = 0 ;
22056 char *kwnames[] = {
22057 (char *) "self", NULL
22058 };
22059
22060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
22061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22062 {
22063 PyThreadState* __tstate = wxPyBeginAllowThreads();
22064 (arg1)->Thaw();
22065
22066 wxPyEndAllowThreads(__tstate);
22067 if (PyErr_Occurred()) SWIG_fail;
22068 }
22069 Py_INCREF(Py_None); resultobj = Py_None;
22070 return resultobj;
22071 fail:
22072 return NULL;
22073}
22074
22075
22076static PyObject *_wrap_Window_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
22077 PyObject *resultobj;
22078 wxWindow *arg1 = (wxWindow *) 0 ;
22079 wxDC *arg2 = 0 ;
22080 PyObject * obj0 = 0 ;
22081 PyObject * obj1 = 0 ;
22082 char *kwnames[] = {
22083 (char *) "self",(char *) "dc", NULL
22084 };
22085
22086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
22087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22088 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22089 if (arg2 == NULL) {
22090 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22091 }
22092 {
22093 PyThreadState* __tstate = wxPyBeginAllowThreads();
22094 (arg1)->PrepareDC(*arg2);
22095
22096 wxPyEndAllowThreads(__tstate);
22097 if (PyErr_Occurred()) SWIG_fail;
22098 }
22099 Py_INCREF(Py_None); resultobj = Py_None;
22100 return resultobj;
22101 fail:
22102 return NULL;
22103}
22104
22105
22106static PyObject *_wrap_Window_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
22107 PyObject *resultobj;
22108 wxWindow *arg1 = (wxWindow *) 0 ;
22109 wxRegion *result;
22110 PyObject * obj0 = 0 ;
22111 char *kwnames[] = {
22112 (char *) "self", NULL
22113 };
22114
22115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
22116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22117 {
22118 PyThreadState* __tstate = wxPyBeginAllowThreads();
22119 {
22120 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
22121 result = (wxRegion *) &_result_ref;
22122 }
22123
22124 wxPyEndAllowThreads(__tstate);
22125 if (PyErr_Occurred()) SWIG_fail;
22126 }
22127 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRegion, 0);
22128 return resultobj;
22129 fail:
22130 return NULL;
22131}
22132
22133
22134static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22135 PyObject *resultobj;
22136 wxWindow *arg1 = (wxWindow *) 0 ;
22137 wxRect result;
22138 PyObject * obj0 = 0 ;
22139 char *kwnames[] = {
22140 (char *) "self", NULL
22141 };
22142
22143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
22144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22145 {
22146 PyThreadState* __tstate = wxPyBeginAllowThreads();
22147 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
22148
22149 wxPyEndAllowThreads(__tstate);
22150 if (PyErr_Occurred()) SWIG_fail;
22151 }
22152 {
22153 wxRect * resultptr;
22154 resultptr = new wxRect((wxRect &) result);
22155 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
22156 }
22157 return resultobj;
22158 fail:
22159 return NULL;
22160}
22161
22162
22163static PyObject *_wrap_Window_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
22164 PyObject *resultobj;
22165 wxWindow *arg1 = (wxWindow *) 0 ;
22166 int arg2 ;
22167 int arg3 ;
22168 int arg4 = (int) 1 ;
22169 int arg5 = (int) 1 ;
22170 bool result;
22171 PyObject * obj0 = 0 ;
22172 char *kwnames[] = {
22173 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22174 };
22175
22176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|ii:Window_IsExposed",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22178 {
22179 PyThreadState* __tstate = wxPyBeginAllowThreads();
22180 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
22181
22182 wxPyEndAllowThreads(__tstate);
22183 if (PyErr_Occurred()) SWIG_fail;
22184 }
22185 resultobj = PyInt_FromLong((long)result);
22186 return resultobj;
22187 fail:
22188 return NULL;
22189}
22190
22191
22192static PyObject *_wrap_Window_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
22193 PyObject *resultobj;
22194 wxWindow *arg1 = (wxWindow *) 0 ;
22195 wxPoint *arg2 = 0 ;
22196 bool result;
22197 wxPoint temp2 ;
22198 PyObject * obj0 = 0 ;
22199 PyObject * obj1 = 0 ;
22200 char *kwnames[] = {
22201 (char *) "self",(char *) "pt", NULL
22202 };
22203
22204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
22205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22206 {
22207 arg2 = &temp2;
22208 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22209 }
22210 {
22211 PyThreadState* __tstate = wxPyBeginAllowThreads();
22212 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
22213
22214 wxPyEndAllowThreads(__tstate);
22215 if (PyErr_Occurred()) SWIG_fail;
22216 }
22217 resultobj = PyInt_FromLong((long)result);
22218 return resultobj;
22219 fail:
22220 return NULL;
22221}
22222
22223
22224static PyObject *_wrap_Window_isExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22225 PyObject *resultobj;
22226 wxWindow *arg1 = (wxWindow *) 0 ;
22227 wxRect *arg2 = 0 ;
22228 bool result;
22229 wxRect temp2 ;
22230 PyObject * obj0 = 0 ;
22231 PyObject * obj1 = 0 ;
22232 char *kwnames[] = {
22233 (char *) "self",(char *) "rect", NULL
22234 };
22235
22236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_isExposedRect",kwnames,&obj0,&obj1)) goto fail;
22237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22238 {
22239 arg2 = &temp2;
22240 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22241 }
22242 {
22243 PyThreadState* __tstate = wxPyBeginAllowThreads();
22244 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
22245
22246 wxPyEndAllowThreads(__tstate);
22247 if (PyErr_Occurred()) SWIG_fail;
22248 }
22249 resultobj = PyInt_FromLong((long)result);
22250 return resultobj;
22251 fail:
22252 return NULL;
22253}
22254
22255
22256static PyObject *_wrap_Window_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22257 PyObject *resultobj;
22258 wxWindow *arg1 = (wxWindow *) 0 ;
22259 wxColour *arg2 = 0 ;
22260 bool result;
22261 wxColour temp2 ;
22262 PyObject * obj0 = 0 ;
22263 PyObject * obj1 = 0 ;
22264 char *kwnames[] = {
22265 (char *) "self",(char *) "colour", NULL
22266 };
22267
22268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22270 {
22271 arg2 = &temp2;
22272 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22273 }
22274 {
22275 PyThreadState* __tstate = wxPyBeginAllowThreads();
22276 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
22277
22278 wxPyEndAllowThreads(__tstate);
22279 if (PyErr_Occurred()) SWIG_fail;
22280 }
22281 resultobj = PyInt_FromLong((long)result);
22282 return resultobj;
22283 fail:
22284 return NULL;
22285}
22286
22287
22288static PyObject *_wrap_Window_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22289 PyObject *resultobj;
22290 wxWindow *arg1 = (wxWindow *) 0 ;
22291 wxColour *arg2 = 0 ;
22292 bool result;
22293 wxColour temp2 ;
22294 PyObject * obj0 = 0 ;
22295 PyObject * obj1 = 0 ;
22296 char *kwnames[] = {
22297 (char *) "self",(char *) "colour", NULL
22298 };
22299
22300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
22301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22302 {
22303 arg2 = &temp2;
22304 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22305 }
22306 {
22307 PyThreadState* __tstate = wxPyBeginAllowThreads();
22308 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
22309
22310 wxPyEndAllowThreads(__tstate);
22311 if (PyErr_Occurred()) SWIG_fail;
22312 }
22313 resultobj = PyInt_FromLong((long)result);
22314 return resultobj;
22315 fail:
22316 return NULL;
22317}
22318
22319
22320static PyObject *_wrap_Window_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22321 PyObject *resultobj;
22322 wxWindow *arg1 = (wxWindow *) 0 ;
22323 wxColour result;
22324 PyObject * obj0 = 0 ;
22325 char *kwnames[] = {
22326 (char *) "self", NULL
22327 };
22328
22329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
22330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22331 {
22332 PyThreadState* __tstate = wxPyBeginAllowThreads();
22333 result = ((wxWindow const *)arg1)->GetBackgroundColour();
22334
22335 wxPyEndAllowThreads(__tstate);
22336 if (PyErr_Occurred()) SWIG_fail;
22337 }
22338 {
22339 wxColour * resultptr;
22340 resultptr = new wxColour((wxColour &) result);
22341 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22342 }
22343 return resultobj;
22344 fail:
22345 return NULL;
22346}
22347
22348
22349static PyObject *_wrap_Window_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22350 PyObject *resultobj;
22351 wxWindow *arg1 = (wxWindow *) 0 ;
22352 wxColour result;
22353 PyObject * obj0 = 0 ;
22354 char *kwnames[] = {
22355 (char *) "self", NULL
22356 };
22357
22358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
22359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22360 {
22361 PyThreadState* __tstate = wxPyBeginAllowThreads();
22362 result = ((wxWindow const *)arg1)->GetForegroundColour();
22363
22364 wxPyEndAllowThreads(__tstate);
22365 if (PyErr_Occurred()) SWIG_fail;
22366 }
22367 {
22368 wxColour * resultptr;
22369 resultptr = new wxColour((wxColour &) result);
22370 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22371 }
22372 return resultobj;
22373 fail:
22374 return NULL;
22375}
22376
22377
22378static PyObject *_wrap_Window_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
22379 PyObject *resultobj;
22380 wxWindow *arg1 = (wxWindow *) 0 ;
22381 wxCursor *arg2 = 0 ;
22382 bool result;
22383 PyObject * obj0 = 0 ;
22384 PyObject * obj1 = 0 ;
22385 char *kwnames[] = {
22386 (char *) "self",(char *) "cursor", NULL
22387 };
22388
22389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
22390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22391 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22392 if (arg2 == NULL) {
22393 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22394 }
22395 {
22396 PyThreadState* __tstate = wxPyBeginAllowThreads();
22397 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
22398
22399 wxPyEndAllowThreads(__tstate);
22400 if (PyErr_Occurred()) SWIG_fail;
22401 }
22402 resultobj = PyInt_FromLong((long)result);
22403 return resultobj;
22404 fail:
22405 return NULL;
22406}
22407
22408
22409static PyObject *_wrap_Window_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
22410 PyObject *resultobj;
22411 wxWindow *arg1 = (wxWindow *) 0 ;
22412 wxCursor *result;
22413 PyObject * obj0 = 0 ;
22414 char *kwnames[] = {
22415 (char *) "self", NULL
22416 };
22417
22418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
22419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22420 {
22421 PyThreadState* __tstate = wxPyBeginAllowThreads();
22422 {
22423 wxCursor &_result_ref = (arg1)->GetCursor();
22424 result = (wxCursor *) &_result_ref;
22425 }
22426
22427 wxPyEndAllowThreads(__tstate);
22428 if (PyErr_Occurred()) SWIG_fail;
22429 }
22430 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCursor, 0);
22431 return resultobj;
22432 fail:
22433 return NULL;
22434}
22435
22436
22437static PyObject *_wrap_Window_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22438 PyObject *resultobj;
22439 wxWindow *arg1 = (wxWindow *) 0 ;
22440 wxFont *arg2 = 0 ;
22441 bool result;
22442 PyObject * obj0 = 0 ;
22443 PyObject * obj1 = 0 ;
22444 char *kwnames[] = {
22445 (char *) "self",(char *) "font", NULL
22446 };
22447
22448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
22449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22450 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22451 if (arg2 == NULL) {
22452 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22453 }
22454 {
22455 PyThreadState* __tstate = wxPyBeginAllowThreads();
22456 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
22457
22458 wxPyEndAllowThreads(__tstate);
22459 if (PyErr_Occurred()) SWIG_fail;
22460 }
22461 resultobj = PyInt_FromLong((long)result);
22462 return resultobj;
22463 fail:
22464 return NULL;
22465}
22466
22467
22468static PyObject *_wrap_Window_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22469 PyObject *resultobj;
22470 wxWindow *arg1 = (wxWindow *) 0 ;
22471 wxFont *result;
22472 PyObject * obj0 = 0 ;
22473 char *kwnames[] = {
22474 (char *) "self", NULL
22475 };
22476
22477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
22478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22479 {
22480 PyThreadState* __tstate = wxPyBeginAllowThreads();
22481 {
22482 wxFont &_result_ref = (arg1)->GetFont();
22483 result = (wxFont *) &_result_ref;
22484 }
22485
22486 wxPyEndAllowThreads(__tstate);
22487 if (PyErr_Occurred()) SWIG_fail;
22488 }
22489 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
22490 return resultobj;
22491 fail:
22492 return NULL;
22493}
22494
22495
22496static PyObject *_wrap_Window_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
22497 PyObject *resultobj;
22498 wxWindow *arg1 = (wxWindow *) 0 ;
22499 wxCaret *arg2 = (wxCaret *) 0 ;
22500 PyObject * obj0 = 0 ;
22501 PyObject * obj1 = 0 ;
22502 char *kwnames[] = {
22503 (char *) "self",(char *) "caret", NULL
22504 };
22505
22506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
22507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22508 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22509 {
22510 PyThreadState* __tstate = wxPyBeginAllowThreads();
22511 (arg1)->SetCaret(arg2);
22512
22513 wxPyEndAllowThreads(__tstate);
22514 if (PyErr_Occurred()) SWIG_fail;
22515 }
22516 Py_INCREF(Py_None); resultobj = Py_None;
22517 return resultobj;
22518 fail:
22519 return NULL;
22520}
22521
22522
22523static PyObject *_wrap_Window_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
22524 PyObject *resultobj;
22525 wxWindow *arg1 = (wxWindow *) 0 ;
22526 wxCaret *result;
22527 PyObject * obj0 = 0 ;
22528 char *kwnames[] = {
22529 (char *) "self", NULL
22530 };
22531
22532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
22533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22534 {
22535 PyThreadState* __tstate = wxPyBeginAllowThreads();
22536 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
22537
22538 wxPyEndAllowThreads(__tstate);
22539 if (PyErr_Occurred()) SWIG_fail;
22540 }
22541 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 0);
22542 return resultobj;
22543 fail:
22544 return NULL;
22545}
22546
22547
22548static PyObject *_wrap_Window_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
22549 PyObject *resultobj;
22550 wxWindow *arg1 = (wxWindow *) 0 ;
22551 int result;
22552 PyObject * obj0 = 0 ;
22553 char *kwnames[] = {
22554 (char *) "self", NULL
22555 };
22556
22557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
22558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22559 {
22560 PyThreadState* __tstate = wxPyBeginAllowThreads();
22561 result = (int)((wxWindow const *)arg1)->GetCharHeight();
22562
22563 wxPyEndAllowThreads(__tstate);
22564 if (PyErr_Occurred()) SWIG_fail;
22565 }
22566 resultobj = PyInt_FromLong((long)result);
22567 return resultobj;
22568 fail:
22569 return NULL;
22570}
22571
22572
22573static PyObject *_wrap_Window_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
22574 PyObject *resultobj;
22575 wxWindow *arg1 = (wxWindow *) 0 ;
22576 int result;
22577 PyObject * obj0 = 0 ;
22578 char *kwnames[] = {
22579 (char *) "self", NULL
22580 };
22581
22582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
22583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22584 {
22585 PyThreadState* __tstate = wxPyBeginAllowThreads();
22586 result = (int)((wxWindow const *)arg1)->GetCharWidth();
22587
22588 wxPyEndAllowThreads(__tstate);
22589 if (PyErr_Occurred()) SWIG_fail;
22590 }
22591 resultobj = PyInt_FromLong((long)result);
22592 return resultobj;
22593 fail:
22594 return NULL;
22595}
22596
22597
22598static PyObject *_wrap_Window_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
22599 PyObject *resultobj;
22600 wxWindow *arg1 = (wxWindow *) 0 ;
22601 wxString *arg2 = 0 ;
22602 int *arg3 = (int *) 0 ;
22603 int *arg4 = (int *) 0 ;
e811c8ce 22604 bool temp2 = False ;
d14a1e28
RD
22605 int temp3 ;
22606 int temp4 ;
22607 PyObject * obj0 = 0 ;
22608 PyObject * obj1 = 0 ;
22609 char *kwnames[] = {
22610 (char *) "self",(char *) "string", NULL
22611 };
22612
22613 arg3 = &temp3;
22614 arg4 = &temp4;
22615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
22616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22617 {
22618 arg2 = wxString_in_helper(obj1);
22619 if (arg2 == NULL) SWIG_fail;
e811c8ce 22620 temp2 = True;
d14a1e28
RD
22621 }
22622 {
22623 PyThreadState* __tstate = wxPyBeginAllowThreads();
22624 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
22625
22626 wxPyEndAllowThreads(__tstate);
22627 if (PyErr_Occurred()) SWIG_fail;
22628 }
22629 Py_INCREF(Py_None); resultobj = Py_None;
22630 {
22631 PyObject *o = PyInt_FromLong((long) (*arg3));
22632 resultobj = t_output_helper(resultobj,o);
22633 }
22634 {
22635 PyObject *o = PyInt_FromLong((long) (*arg4));
22636 resultobj = t_output_helper(resultobj,o);
22637 }
22638 {
22639 if (temp2)
22640 delete arg2;
22641 }
22642 return resultobj;
22643 fail:
22644 {
22645 if (temp2)
22646 delete arg2;
22647 }
22648 return NULL;
22649}
22650
22651
22652static PyObject *_wrap_Window_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
22653 PyObject *resultobj;
22654 wxWindow *arg1 = (wxWindow *) 0 ;
22655 wxString *arg2 = 0 ;
22656 int *arg3 = (int *) 0 ;
22657 int *arg4 = (int *) 0 ;
22658 int *arg5 = (int *) 0 ;
22659 int *arg6 = (int *) 0 ;
22660 wxFont *arg7 = (wxFont *) NULL ;
e811c8ce 22661 bool temp2 = False ;
d14a1e28
RD
22662 int temp3 ;
22663 int temp4 ;
22664 int temp5 ;
22665 int temp6 ;
22666 PyObject * obj0 = 0 ;
22667 PyObject * obj1 = 0 ;
22668 PyObject * obj2 = 0 ;
22669 char *kwnames[] = {
22670 (char *) "self",(char *) "string",(char *) "font", NULL
22671 };
22672
22673 arg3 = &temp3;
22674 arg4 = &temp4;
22675 arg5 = &temp5;
22676 arg6 = &temp6;
22677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
22678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22679 {
22680 arg2 = wxString_in_helper(obj1);
22681 if (arg2 == NULL) SWIG_fail;
e811c8ce 22682 temp2 = True;
d14a1e28
RD
22683 }
22684 if (obj2) {
22685 if ((SWIG_ConvertPtr(obj2,(void **) &arg7, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22686 }
22687 {
22688 PyThreadState* __tstate = wxPyBeginAllowThreads();
22689 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
22690
22691 wxPyEndAllowThreads(__tstate);
22692 if (PyErr_Occurred()) SWIG_fail;
22693 }
22694 Py_INCREF(Py_None); resultobj = Py_None;
22695 {
22696 PyObject *o = PyInt_FromLong((long) (*arg3));
22697 resultobj = t_output_helper(resultobj,o);
22698 }
22699 {
22700 PyObject *o = PyInt_FromLong((long) (*arg4));
22701 resultobj = t_output_helper(resultobj,o);
22702 }
22703 {
22704 PyObject *o = PyInt_FromLong((long) (*arg5));
22705 resultobj = t_output_helper(resultobj,o);
22706 }
22707 {
22708 PyObject *o = PyInt_FromLong((long) (*arg6));
22709 resultobj = t_output_helper(resultobj,o);
22710 }
22711 {
22712 if (temp2)
22713 delete arg2;
22714 }
22715 return resultobj;
22716 fail:
22717 {
22718 if (temp2)
22719 delete arg2;
22720 }
22721 return NULL;
22722}
22723
22724
22725static PyObject *_wrap_Window_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22726 PyObject *resultobj;
22727 wxWindow *arg1 = (wxWindow *) 0 ;
22728 int *arg2 = (int *) 0 ;
22729 int *arg3 = (int *) 0 ;
22730 int temp2 ;
22731 int temp3 ;
22732 PyObject * obj0 = 0 ;
22733 PyObject * obj1 = 0 ;
22734 PyObject * obj2 = 0 ;
22735 char *kwnames[] = {
22736 (char *) "self",(char *) "x",(char *) "y", NULL
22737 };
22738
22739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
22740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22741 {
22742 temp2 = PyInt_AsLong(obj1);
22743 if (PyErr_Occurred()) SWIG_fail;
22744 arg2 = &temp2;
22745 }
22746 {
22747 temp3 = PyInt_AsLong(obj2);
22748 if (PyErr_Occurred()) SWIG_fail;
22749 arg3 = &temp3;
22750 }
22751 {
22752 PyThreadState* __tstate = wxPyBeginAllowThreads();
22753 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
22754
22755 wxPyEndAllowThreads(__tstate);
22756 if (PyErr_Occurred()) SWIG_fail;
22757 }
22758 Py_INCREF(Py_None); resultobj = Py_None;
22759 {
22760 PyObject *o = PyInt_FromLong((long) (*arg2));
22761 resultobj = t_output_helper(resultobj,o);
22762 }
22763 {
22764 PyObject *o = PyInt_FromLong((long) (*arg3));
22765 resultobj = t_output_helper(resultobj,o);
22766 }
22767 return resultobj;
22768 fail:
22769 return NULL;
22770}
22771
22772
22773static PyObject *_wrap_Window_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22774 PyObject *resultobj;
22775 wxWindow *arg1 = (wxWindow *) 0 ;
22776 int *arg2 = (int *) 0 ;
22777 int *arg3 = (int *) 0 ;
22778 int temp2 ;
22779 int temp3 ;
22780 PyObject * obj0 = 0 ;
22781 PyObject * obj1 = 0 ;
22782 PyObject * obj2 = 0 ;
22783 char *kwnames[] = {
22784 (char *) "self",(char *) "x",(char *) "y", NULL
22785 };
22786
22787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
22788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22789 {
22790 temp2 = PyInt_AsLong(obj1);
22791 if (PyErr_Occurred()) SWIG_fail;
22792 arg2 = &temp2;
22793 }
22794 {
22795 temp3 = PyInt_AsLong(obj2);
22796 if (PyErr_Occurred()) SWIG_fail;
22797 arg3 = &temp3;
22798 }
22799 {
22800 PyThreadState* __tstate = wxPyBeginAllowThreads();
22801 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
22802
22803 wxPyEndAllowThreads(__tstate);
22804 if (PyErr_Occurred()) SWIG_fail;
22805 }
22806 Py_INCREF(Py_None); resultobj = Py_None;
22807 {
22808 PyObject *o = PyInt_FromLong((long) (*arg2));
22809 resultobj = t_output_helper(resultobj,o);
22810 }
22811 {
22812 PyObject *o = PyInt_FromLong((long) (*arg3));
22813 resultobj = t_output_helper(resultobj,o);
22814 }
22815 return resultobj;
22816 fail:
22817 return NULL;
22818}
22819
22820
22821static PyObject *_wrap_Window_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22822 PyObject *resultobj;
22823 wxWindow *arg1 = (wxWindow *) 0 ;
22824 wxPoint *arg2 = 0 ;
22825 wxPoint result;
22826 wxPoint temp2 ;
22827 PyObject * obj0 = 0 ;
22828 PyObject * obj1 = 0 ;
22829 char *kwnames[] = {
22830 (char *) "self",(char *) "pt", NULL
22831 };
22832
22833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
22834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22835 {
22836 arg2 = &temp2;
22837 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22838 }
22839 {
22840 PyThreadState* __tstate = wxPyBeginAllowThreads();
22841 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
22842
22843 wxPyEndAllowThreads(__tstate);
22844 if (PyErr_Occurred()) SWIG_fail;
22845 }
22846 {
22847 wxPoint * resultptr;
22848 resultptr = new wxPoint((wxPoint &) result);
22849 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
22850 }
22851 return resultobj;
22852 fail:
22853 return NULL;
22854}
22855
22856
22857static PyObject *_wrap_Window_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
22858 PyObject *resultobj;
22859 wxWindow *arg1 = (wxWindow *) 0 ;
22860 wxPoint *arg2 = 0 ;
22861 wxPoint result;
22862 wxPoint temp2 ;
22863 PyObject * obj0 = 0 ;
22864 PyObject * obj1 = 0 ;
22865 char *kwnames[] = {
22866 (char *) "self",(char *) "pt", NULL
22867 };
22868
22869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
22870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22871 {
22872 arg2 = &temp2;
22873 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22874 }
22875 {
22876 PyThreadState* __tstate = wxPyBeginAllowThreads();
22877 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
22878
22879 wxPyEndAllowThreads(__tstate);
22880 if (PyErr_Occurred()) SWIG_fail;
22881 }
22882 {
22883 wxPoint * resultptr;
22884 resultptr = new wxPoint((wxPoint &) result);
22885 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
22886 }
22887 return resultobj;
22888 fail:
22889 return NULL;
22890}
22891
22892
22893static PyObject *_wrap_Window_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22894 PyObject *resultobj;
22895 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce
RD
22896 int arg2 ;
22897 int arg3 ;
d14a1e28
RD
22898 int result;
22899 PyObject * obj0 = 0 ;
22900 char *kwnames[] = {
22901 (char *) "self",(char *) "x",(char *) "y", NULL
22902 };
22903
22904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
22905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22906 {
22907 PyThreadState* __tstate = wxPyBeginAllowThreads();
22908 result = (int)((wxWindow const *)arg1)->HitTest(arg2,arg3);
22909
22910 wxPyEndAllowThreads(__tstate);
22911 if (PyErr_Occurred()) SWIG_fail;
22912 }
22913 resultobj = PyInt_FromLong((long)result);
22914 return resultobj;
22915 fail:
22916 return NULL;
22917}
22918
22919
22920static PyObject *_wrap_Window_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
22921 PyObject *resultobj;
22922 wxWindow *arg1 = (wxWindow *) 0 ;
22923 wxPoint *arg2 = 0 ;
22924 int result;
22925 wxPoint temp2 ;
22926 PyObject * obj0 = 0 ;
22927 PyObject * obj1 = 0 ;
22928 char *kwnames[] = {
22929 (char *) "self",(char *) "pt", NULL
22930 };
22931
22932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
22933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22934 {
22935 arg2 = &temp2;
22936 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22937 }
22938 {
22939 PyThreadState* __tstate = wxPyBeginAllowThreads();
22940 result = (int)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
22941
22942 wxPyEndAllowThreads(__tstate);
22943 if (PyErr_Occurred()) SWIG_fail;
22944 }
22945 resultobj = PyInt_FromLong((long)result);
22946 return resultobj;
22947 fail:
22948 return NULL;
22949}
22950
22951
22952static PyObject *_wrap_Window_GetBorderFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
22953 PyObject *resultobj;
22954 wxWindow *arg1 = (wxWindow *) 0 ;
22955 long arg2 ;
22956 int result;
22957 PyObject * obj0 = 0 ;
22958 char *kwnames[] = {
22959 (char *) "self",(char *) "flags", NULL
22960 };
22961
22962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_GetBorderFlags",kwnames,&obj0,&arg2)) goto fail;
22963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22964 {
22965 PyThreadState* __tstate = wxPyBeginAllowThreads();
22966 result = (int)((wxWindow const *)arg1)->GetBorder(arg2);
22967
22968 wxPyEndAllowThreads(__tstate);
22969 if (PyErr_Occurred()) SWIG_fail;
22970 }
22971 resultobj = PyInt_FromLong((long)result);
22972 return resultobj;
22973 fail:
22974 return NULL;
22975}
22976
22977
22978static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
22979 PyObject *resultobj;
22980 wxWindow *arg1 = (wxWindow *) 0 ;
22981 int result;
22982 PyObject * obj0 = 0 ;
22983 char *kwnames[] = {
22984 (char *) "self", NULL
22985 };
22986
22987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBorder",kwnames,&obj0)) goto fail;
22988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22989 {
22990 PyThreadState* __tstate = wxPyBeginAllowThreads();
22991 result = (int)((wxWindow const *)arg1)->GetBorder();
22992
22993 wxPyEndAllowThreads(__tstate);
22994 if (PyErr_Occurred()) SWIG_fail;
22995 }
22996 resultobj = PyInt_FromLong((long)result);
22997 return resultobj;
22998 fail:
22999 return NULL;
23000}
23001
23002
23003static PyObject *_wrap_Window_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
23004 PyObject *resultobj;
23005 wxWindow *arg1 = (wxWindow *) 0 ;
23006 long arg2 = (long) wxUPDATE_UI_NONE ;
23007 PyObject * obj0 = 0 ;
23008 char *kwnames[] = {
23009 (char *) "self",(char *) "flags", NULL
23010 };
23011
23012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:Window_UpdateWindowUI",kwnames,&obj0,&arg2)) goto fail;
23013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23014 {
23015 PyThreadState* __tstate = wxPyBeginAllowThreads();
23016 (arg1)->UpdateWindowUI(arg2);
23017
23018 wxPyEndAllowThreads(__tstate);
23019 if (PyErr_Occurred()) SWIG_fail;
23020 }
23021 Py_INCREF(Py_None); resultobj = Py_None;
23022 return resultobj;
23023 fail:
23024 return NULL;
23025}
23026
23027
23028static PyObject *_wrap_Window_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
23029 PyObject *resultobj;
23030 wxWindow *arg1 = (wxWindow *) 0 ;
23031 wxMenu *arg2 = (wxMenu *) 0 ;
23032 int arg3 ;
23033 int arg4 ;
23034 bool result;
23035 PyObject * obj0 = 0 ;
23036 PyObject * obj1 = 0 ;
23037 char *kwnames[] = {
23038 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
23039 };
23040
23041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:Window_PopupMenuXY",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
23042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23043 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23044 {
23045 PyThreadState* __tstate = wxPyBeginAllowThreads();
23046 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
23047
23048 wxPyEndAllowThreads(__tstate);
23049 if (PyErr_Occurred()) SWIG_fail;
23050 }
23051 resultobj = PyInt_FromLong((long)result);
23052 return resultobj;
23053 fail:
23054 return NULL;
23055}
23056
23057
23058static PyObject *_wrap_Window_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
23059 PyObject *resultobj;
23060 wxWindow *arg1 = (wxWindow *) 0 ;
23061 wxMenu *arg2 = (wxMenu *) 0 ;
23062 wxPoint *arg3 = 0 ;
23063 bool result;
23064 wxPoint temp3 ;
23065 PyObject * obj0 = 0 ;
23066 PyObject * obj1 = 0 ;
23067 PyObject * obj2 = 0 ;
23068 char *kwnames[] = {
23069 (char *) "self",(char *) "menu",(char *) "pos", NULL
23070 };
23071
23072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
23073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23074 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23075 {
23076 arg3 = &temp3;
23077 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23078 }
23079 {
23080 PyThreadState* __tstate = wxPyBeginAllowThreads();
23081 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
23082
23083 wxPyEndAllowThreads(__tstate);
23084 if (PyErr_Occurred()) SWIG_fail;
23085 }
23086 resultobj = PyInt_FromLong((long)result);
23087 return resultobj;
23088 fail:
23089 return NULL;
23090}
23091
23092
23093static PyObject *_wrap_Window_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
23094 PyObject *resultobj;
23095 wxWindow *arg1 = (wxWindow *) 0 ;
23096 long result;
23097 PyObject * obj0 = 0 ;
23098 char *kwnames[] = {
23099 (char *) "self", NULL
23100 };
23101
23102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
23103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23104 {
23105 PyThreadState* __tstate = wxPyBeginAllowThreads();
23106 result = (long)wxWindow_GetHandle(arg1);
23107
23108 wxPyEndAllowThreads(__tstate);
23109 if (PyErr_Occurred()) SWIG_fail;
23110 }
23111 resultobj = PyInt_FromLong((long)result);
23112 return resultobj;
23113 fail:
23114 return NULL;
23115}
23116
23117
23118static PyObject *_wrap_Window_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
23119 PyObject *resultobj;
23120 wxWindow *arg1 = (wxWindow *) 0 ;
23121 int arg2 ;
23122 bool result;
23123 PyObject * obj0 = 0 ;
23124 char *kwnames[] = {
23125 (char *) "self",(char *) "orient", NULL
23126 };
23127
23128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_HasScrollbar",kwnames,&obj0,&arg2)) goto fail;
23129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23130 {
23131 PyThreadState* __tstate = wxPyBeginAllowThreads();
23132 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
23133
23134 wxPyEndAllowThreads(__tstate);
23135 if (PyErr_Occurred()) SWIG_fail;
23136 }
23137 resultobj = PyInt_FromLong((long)result);
23138 return resultobj;
23139 fail:
23140 return NULL;
23141}
23142
23143
23144static PyObject *_wrap_Window_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
23145 PyObject *resultobj;
23146 wxWindow *arg1 = (wxWindow *) 0 ;
23147 int arg2 ;
23148 int arg3 ;
23149 int arg4 ;
23150 int arg5 ;
e811c8ce 23151 bool arg6 = (bool) True ;
d14a1e28
RD
23152 PyObject * obj0 = 0 ;
23153 PyObject * obj5 = 0 ;
23154 char *kwnames[] = {
23155 (char *) "self",(char *) "orient",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
23156 };
23157
23158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:Window_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
23159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23160 if (obj5) {
23161 arg6 = PyInt_AsLong(obj5) ? true : false;
23162 if (PyErr_Occurred()) SWIG_fail;
23163 }
23164 {
23165 PyThreadState* __tstate = wxPyBeginAllowThreads();
23166 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
23167
23168 wxPyEndAllowThreads(__tstate);
23169 if (PyErr_Occurred()) SWIG_fail;
23170 }
23171 Py_INCREF(Py_None); resultobj = Py_None;
23172 return resultobj;
23173 fail:
23174 return NULL;
23175}
23176
23177
23178static PyObject *_wrap_Window_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
23179 PyObject *resultobj;
23180 wxWindow *arg1 = (wxWindow *) 0 ;
23181 int arg2 ;
23182 int arg3 ;
e811c8ce 23183 bool arg4 = (bool) True ;
d14a1e28
RD
23184 PyObject * obj0 = 0 ;
23185 PyObject * obj3 = 0 ;
23186 char *kwnames[] = {
23187 (char *) "self",(char *) "orient",(char *) "pos",(char *) "refresh", NULL
23188 };
23189
23190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:Window_SetScrollPos",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
23191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23192 if (obj3) {
23193 arg4 = PyInt_AsLong(obj3) ? true : false;
23194 if (PyErr_Occurred()) SWIG_fail;
23195 }
23196 {
23197 PyThreadState* __tstate = wxPyBeginAllowThreads();
23198 (arg1)->SetScrollPos(arg2,arg3,arg4);
23199
23200 wxPyEndAllowThreads(__tstate);
23201 if (PyErr_Occurred()) SWIG_fail;
23202 }
23203 Py_INCREF(Py_None); resultobj = Py_None;
23204 return resultobj;
23205 fail:
23206 return NULL;
23207}
23208
23209
23210static PyObject *_wrap_Window_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
23211 PyObject *resultobj;
23212 wxWindow *arg1 = (wxWindow *) 0 ;
23213 int arg2 ;
23214 int result;
23215 PyObject * obj0 = 0 ;
23216 char *kwnames[] = {
23217 (char *) "self",(char *) "orient", NULL
23218 };
23219
23220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_GetScrollPos",kwnames,&obj0,&arg2)) goto fail;
23221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23222 {
23223 PyThreadState* __tstate = wxPyBeginAllowThreads();
23224 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
23225
23226 wxPyEndAllowThreads(__tstate);
23227 if (PyErr_Occurred()) SWIG_fail;
23228 }
23229 resultobj = PyInt_FromLong((long)result);
23230 return resultobj;
23231 fail:
23232 return NULL;
23233}
23234
23235
23236static PyObject *_wrap_Window_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
23237 PyObject *resultobj;
23238 wxWindow *arg1 = (wxWindow *) 0 ;
23239 int arg2 ;
23240 int result;
23241 PyObject * obj0 = 0 ;
23242 char *kwnames[] = {
23243 (char *) "self",(char *) "orient", NULL
23244 };
23245
23246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_GetScrollThumb",kwnames,&obj0,&arg2)) goto fail;
23247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23248 {
23249 PyThreadState* __tstate = wxPyBeginAllowThreads();
23250 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
23251
23252 wxPyEndAllowThreads(__tstate);
23253 if (PyErr_Occurred()) SWIG_fail;
23254 }
23255 resultobj = PyInt_FromLong((long)result);
23256 return resultobj;
23257 fail:
23258 return NULL;
23259}
23260
23261
23262static PyObject *_wrap_Window_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
23263 PyObject *resultobj;
23264 wxWindow *arg1 = (wxWindow *) 0 ;
23265 int arg2 ;
23266 int result;
23267 PyObject * obj0 = 0 ;
23268 char *kwnames[] = {
23269 (char *) "self",(char *) "orient", NULL
23270 };
23271
23272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_GetScrollRange",kwnames,&obj0,&arg2)) goto fail;
23273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23274 {
23275 PyThreadState* __tstate = wxPyBeginAllowThreads();
23276 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
23277
23278 wxPyEndAllowThreads(__tstate);
23279 if (PyErr_Occurred()) SWIG_fail;
23280 }
23281 resultobj = PyInt_FromLong((long)result);
23282 return resultobj;
23283 fail:
23284 return NULL;
23285}
23286
23287
23288static PyObject *_wrap_Window_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
23289 PyObject *resultobj;
23290 wxWindow *arg1 = (wxWindow *) 0 ;
23291 int arg2 ;
23292 int arg3 ;
23293 wxRect *arg4 = (wxRect *) NULL ;
23294 PyObject * obj0 = 0 ;
23295 PyObject * obj3 = 0 ;
23296 char *kwnames[] = {
23297 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
23298 };
23299
23300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:Window_ScrollWindow",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
23301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23302 if (obj3) {
23303 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23304 }
23305 {
23306 PyThreadState* __tstate = wxPyBeginAllowThreads();
23307 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
23308
23309 wxPyEndAllowThreads(__tstate);
23310 if (PyErr_Occurred()) SWIG_fail;
23311 }
23312 Py_INCREF(Py_None); resultobj = Py_None;
23313 return resultobj;
23314 fail:
23315 return NULL;
23316}
23317
23318
23319static PyObject *_wrap_Window_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
23320 PyObject *resultobj;
23321 wxWindow *arg1 = (wxWindow *) 0 ;
23322 int arg2 ;
23323 bool result;
23324 PyObject * obj0 = 0 ;
23325 char *kwnames[] = {
23326 (char *) "self",(char *) "lines", NULL
23327 };
23328
23329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
23330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23331 {
23332 PyThreadState* __tstate = wxPyBeginAllowThreads();
23333 result = (bool)(arg1)->ScrollLines(arg2);
23334
23335 wxPyEndAllowThreads(__tstate);
23336 if (PyErr_Occurred()) SWIG_fail;
23337 }
23338 resultobj = PyInt_FromLong((long)result);
23339 return resultobj;
23340 fail:
23341 return NULL;
23342}
23343
23344
23345static PyObject *_wrap_Window_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
23346 PyObject *resultobj;
23347 wxWindow *arg1 = (wxWindow *) 0 ;
23348 int arg2 ;
23349 bool result;
23350 PyObject * obj0 = 0 ;
23351 char *kwnames[] = {
23352 (char *) "self",(char *) "pages", NULL
23353 };
23354
23355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
23356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23357 {
23358 PyThreadState* __tstate = wxPyBeginAllowThreads();
23359 result = (bool)(arg1)->ScrollPages(arg2);
23360
23361 wxPyEndAllowThreads(__tstate);
23362 if (PyErr_Occurred()) SWIG_fail;
23363 }
23364 resultobj = PyInt_FromLong((long)result);
23365 return resultobj;
23366 fail:
23367 return NULL;
23368}
23369
23370
23371static PyObject *_wrap_Window_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
23372 PyObject *resultobj;
23373 wxWindow *arg1 = (wxWindow *) 0 ;
23374 bool result;
23375 PyObject * obj0 = 0 ;
23376 char *kwnames[] = {
23377 (char *) "self", NULL
23378 };
23379
23380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
23381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23382 {
23383 PyThreadState* __tstate = wxPyBeginAllowThreads();
23384 result = (bool)(arg1)->LineUp();
23385
23386 wxPyEndAllowThreads(__tstate);
23387 if (PyErr_Occurred()) SWIG_fail;
23388 }
23389 resultobj = PyInt_FromLong((long)result);
23390 return resultobj;
23391 fail:
23392 return NULL;
23393}
23394
23395
23396static PyObject *_wrap_Window_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
23397 PyObject *resultobj;
23398 wxWindow *arg1 = (wxWindow *) 0 ;
23399 bool result;
23400 PyObject * obj0 = 0 ;
23401 char *kwnames[] = {
23402 (char *) "self", NULL
23403 };
23404
23405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
23406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23407 {
23408 PyThreadState* __tstate = wxPyBeginAllowThreads();
23409 result = (bool)(arg1)->LineDown();
23410
23411 wxPyEndAllowThreads(__tstate);
23412 if (PyErr_Occurred()) SWIG_fail;
23413 }
23414 resultobj = PyInt_FromLong((long)result);
23415 return resultobj;
23416 fail:
23417 return NULL;
23418}
23419
23420
23421static PyObject *_wrap_Window_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
23422 PyObject *resultobj;
23423 wxWindow *arg1 = (wxWindow *) 0 ;
23424 bool result;
23425 PyObject * obj0 = 0 ;
23426 char *kwnames[] = {
23427 (char *) "self", NULL
23428 };
23429
23430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
23431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23432 {
23433 PyThreadState* __tstate = wxPyBeginAllowThreads();
23434 result = (bool)(arg1)->PageUp();
23435
23436 wxPyEndAllowThreads(__tstate);
23437 if (PyErr_Occurred()) SWIG_fail;
23438 }
23439 resultobj = PyInt_FromLong((long)result);
23440 return resultobj;
23441 fail:
23442 return NULL;
23443}
23444
23445
23446static PyObject *_wrap_Window_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
23447 PyObject *resultobj;
23448 wxWindow *arg1 = (wxWindow *) 0 ;
23449 bool result;
23450 PyObject * obj0 = 0 ;
23451 char *kwnames[] = {
23452 (char *) "self", NULL
23453 };
23454
23455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
23456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23457 {
23458 PyThreadState* __tstate = wxPyBeginAllowThreads();
23459 result = (bool)(arg1)->PageDown();
23460
23461 wxPyEndAllowThreads(__tstate);
23462 if (PyErr_Occurred()) SWIG_fail;
23463 }
23464 resultobj = PyInt_FromLong((long)result);
23465 return resultobj;
23466 fail:
23467 return NULL;
23468}
23469
23470
23471static PyObject *_wrap_Window_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
23472 PyObject *resultobj;
23473 wxWindow *arg1 = (wxWindow *) 0 ;
23474 wxString *arg2 = 0 ;
e811c8ce 23475 bool temp2 = False ;
d14a1e28
RD
23476 PyObject * obj0 = 0 ;
23477 PyObject * obj1 = 0 ;
23478 char *kwnames[] = {
23479 (char *) "self",(char *) "text", NULL
23480 };
23481
23482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
23483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23484 {
23485 arg2 = wxString_in_helper(obj1);
23486 if (arg2 == NULL) SWIG_fail;
e811c8ce 23487 temp2 = True;
d14a1e28
RD
23488 }
23489 {
23490 PyThreadState* __tstate = wxPyBeginAllowThreads();
23491 (arg1)->SetHelpText((wxString const &)*arg2);
23492
23493 wxPyEndAllowThreads(__tstate);
23494 if (PyErr_Occurred()) SWIG_fail;
23495 }
23496 Py_INCREF(Py_None); resultobj = Py_None;
23497 {
23498 if (temp2)
23499 delete arg2;
23500 }
23501 return resultobj;
23502 fail:
23503 {
23504 if (temp2)
23505 delete arg2;
23506 }
23507 return NULL;
23508}
23509
23510
23511static PyObject *_wrap_Window_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
23512 PyObject *resultobj;
23513 wxWindow *arg1 = (wxWindow *) 0 ;
23514 wxString *arg2 = 0 ;
e811c8ce 23515 bool temp2 = False ;
d14a1e28
RD
23516 PyObject * obj0 = 0 ;
23517 PyObject * obj1 = 0 ;
23518 char *kwnames[] = {
23519 (char *) "self",(char *) "text", NULL
23520 };
23521
23522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
23523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23524 {
23525 arg2 = wxString_in_helper(obj1);
23526 if (arg2 == NULL) SWIG_fail;
e811c8ce 23527 temp2 = True;
d14a1e28
RD
23528 }
23529 {
23530 PyThreadState* __tstate = wxPyBeginAllowThreads();
23531 (arg1)->SetHelpTextForId((wxString const &)*arg2);
23532
23533 wxPyEndAllowThreads(__tstate);
23534 if (PyErr_Occurred()) SWIG_fail;
23535 }
23536 Py_INCREF(Py_None); resultobj = Py_None;
23537 {
23538 if (temp2)
23539 delete arg2;
23540 }
23541 return resultobj;
23542 fail:
23543 {
23544 if (temp2)
23545 delete arg2;
23546 }
23547 return NULL;
23548}
23549
23550
23551static PyObject *_wrap_Window_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
23552 PyObject *resultobj;
23553 wxWindow *arg1 = (wxWindow *) 0 ;
23554 wxString result;
23555 PyObject * obj0 = 0 ;
23556 char *kwnames[] = {
23557 (char *) "self", NULL
23558 };
23559
23560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
23561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23562 {
23563 PyThreadState* __tstate = wxPyBeginAllowThreads();
23564 result = ((wxWindow const *)arg1)->GetHelpText();
23565
23566 wxPyEndAllowThreads(__tstate);
23567 if (PyErr_Occurred()) SWIG_fail;
23568 }
23569 {
23570#if wxUSE_UNICODE
23571 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23572#else
23573 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23574#endif
23575 }
23576 return resultobj;
23577 fail:
23578 return NULL;
23579}
23580
23581
23582static PyObject *_wrap_Window_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
23583 PyObject *resultobj;
23584 wxWindow *arg1 = (wxWindow *) 0 ;
23585 wxString *arg2 = 0 ;
e811c8ce 23586 bool temp2 = False ;
d14a1e28
RD
23587 PyObject * obj0 = 0 ;
23588 PyObject * obj1 = 0 ;
23589 char *kwnames[] = {
23590 (char *) "self",(char *) "tip", NULL
23591 };
23592
23593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
23594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23595 {
23596 arg2 = wxString_in_helper(obj1);
23597 if (arg2 == NULL) SWIG_fail;
e811c8ce 23598 temp2 = True;
d14a1e28
RD
23599 }
23600 {
23601 PyThreadState* __tstate = wxPyBeginAllowThreads();
23602 (arg1)->SetToolTip((wxString const &)*arg2);
23603
23604 wxPyEndAllowThreads(__tstate);
23605 if (PyErr_Occurred()) SWIG_fail;
23606 }
23607 Py_INCREF(Py_None); resultobj = Py_None;
23608 {
23609 if (temp2)
23610 delete arg2;
23611 }
23612 return resultobj;
23613 fail:
23614 {
23615 if (temp2)
23616 delete arg2;
23617 }
23618 return NULL;
23619}
23620
23621
23622static PyObject *_wrap_Window_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23623 PyObject *resultobj;
23624 wxWindow *arg1 = (wxWindow *) 0 ;
23625 wxToolTip *arg2 = (wxToolTip *) 0 ;
23626 PyObject * obj0 = 0 ;
23627 PyObject * obj1 = 0 ;
23628 char *kwnames[] = {
23629 (char *) "self",(char *) "tip", NULL
23630 };
23631
23632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
23633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23634 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23635 {
23636 PyThreadState* __tstate = wxPyBeginAllowThreads();
23637 (arg1)->SetToolTip(arg2);
23638
23639 wxPyEndAllowThreads(__tstate);
23640 if (PyErr_Occurred()) SWIG_fail;
23641 }
23642 Py_INCREF(Py_None); resultobj = Py_None;
23643 return resultobj;
23644 fail:
23645 return NULL;
23646}
23647
23648
23649static PyObject *_wrap_Window_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23650 PyObject *resultobj;
23651 wxWindow *arg1 = (wxWindow *) 0 ;
23652 wxToolTip *result;
23653 PyObject * obj0 = 0 ;
23654 char *kwnames[] = {
23655 (char *) "self", NULL
23656 };
23657
23658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
23659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23660 {
23661 PyThreadState* __tstate = wxPyBeginAllowThreads();
23662 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
23663
23664 wxPyEndAllowThreads(__tstate);
23665 if (PyErr_Occurred()) SWIG_fail;
23666 }
23667 {
23668 resultobj = wxPyMake_wxObject(result);
23669 }
23670 return resultobj;
23671 fail:
23672 return NULL;
23673}
23674
23675
23676static PyObject *_wrap_Window_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23677 PyObject *resultobj;
23678 wxWindow *arg1 = (wxWindow *) 0 ;
23679 wxDropTarget *arg2 = (wxDropTarget *) 0 ;
23680 PyObject * obj0 = 0 ;
23681 PyObject * obj1 = 0 ;
23682 char *kwnames[] = {
23683 (char *) "self",(char *) "dropTarget", NULL
23684 };
23685
23686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
23687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23688 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23689 {
23690 PyThreadState* __tstate = wxPyBeginAllowThreads();
23691 (arg1)->SetDropTarget(arg2);
23692
23693 wxPyEndAllowThreads(__tstate);
23694 if (PyErr_Occurred()) SWIG_fail;
23695 }
23696 Py_INCREF(Py_None); resultobj = Py_None;
23697 return resultobj;
23698 fail:
23699 return NULL;
23700}
23701
23702
23703static PyObject *_wrap_Window_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23704 PyObject *resultobj;
23705 wxWindow *arg1 = (wxWindow *) 0 ;
23706 wxDropTarget *result;
23707 PyObject * obj0 = 0 ;
23708 char *kwnames[] = {
23709 (char *) "self", NULL
23710 };
23711
23712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
23713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23714 {
23715 PyThreadState* __tstate = wxPyBeginAllowThreads();
23716 result = (wxDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
23717
23718 wxPyEndAllowThreads(__tstate);
23719 if (PyErr_Occurred()) SWIG_fail;
23720 }
23721 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDropTarget, 0);
23722 return resultobj;
23723 fail:
23724 return NULL;
23725}
23726
23727
23728static PyObject *_wrap_Window_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
23729 PyObject *resultobj;
23730 wxWindow *arg1 = (wxWindow *) 0 ;
23731 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
23732 PyObject * obj0 = 0 ;
23733 PyObject * obj1 = 0 ;
23734 char *kwnames[] = {
23735 (char *) "self",(char *) "constraints", NULL
23736 };
23737
23738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
23739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23740 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23741 {
23742 PyThreadState* __tstate = wxPyBeginAllowThreads();
23743 (arg1)->SetConstraints(arg2);
23744
23745 wxPyEndAllowThreads(__tstate);
23746 if (PyErr_Occurred()) SWIG_fail;
23747 }
23748 Py_INCREF(Py_None); resultobj = Py_None;
23749 return resultobj;
23750 fail:
23751 return NULL;
23752}
23753
23754
23755static PyObject *_wrap_Window_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
23756 PyObject *resultobj;
23757 wxWindow *arg1 = (wxWindow *) 0 ;
23758 wxLayoutConstraints *result;
23759 PyObject * obj0 = 0 ;
23760 char *kwnames[] = {
23761 (char *) "self", NULL
23762 };
23763
23764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
23765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23766 {
23767 PyThreadState* __tstate = wxPyBeginAllowThreads();
23768 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
23769
23770 wxPyEndAllowThreads(__tstate);
23771 if (PyErr_Occurred()) SWIG_fail;
23772 }
23773 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutConstraints, 0);
23774 return resultobj;
23775 fail:
23776 return NULL;
23777}
23778
23779
23780static PyObject *_wrap_Window_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
23781 PyObject *resultobj;
23782 wxWindow *arg1 = (wxWindow *) 0 ;
23783 bool arg2 ;
23784 PyObject * obj0 = 0 ;
23785 PyObject * obj1 = 0 ;
23786 char *kwnames[] = {
23787 (char *) "self",(char *) "autoLayout", NULL
23788 };
23789
23790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
23791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23792 arg2 = PyInt_AsLong(obj1) ? true : false;
23793 if (PyErr_Occurred()) SWIG_fail;
23794 {
23795 PyThreadState* __tstate = wxPyBeginAllowThreads();
23796 (arg1)->SetAutoLayout(arg2);
23797
23798 wxPyEndAllowThreads(__tstate);
23799 if (PyErr_Occurred()) SWIG_fail;
23800 }
23801 Py_INCREF(Py_None); resultobj = Py_None;
23802 return resultobj;
23803 fail:
23804 return NULL;
23805}
23806
23807
23808static PyObject *_wrap_Window_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
23809 PyObject *resultobj;
23810 wxWindow *arg1 = (wxWindow *) 0 ;
23811 bool result;
23812 PyObject * obj0 = 0 ;
23813 char *kwnames[] = {
23814 (char *) "self", NULL
23815 };
23816
23817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
23818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23819 {
23820 PyThreadState* __tstate = wxPyBeginAllowThreads();
23821 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
23822
23823 wxPyEndAllowThreads(__tstate);
23824 if (PyErr_Occurred()) SWIG_fail;
23825 }
23826 resultobj = PyInt_FromLong((long)result);
23827 return resultobj;
23828 fail:
23829 return NULL;
23830}
23831
23832
23833static PyObject *_wrap_Window_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
23834 PyObject *resultobj;
23835 wxWindow *arg1 = (wxWindow *) 0 ;
23836 bool result;
23837 PyObject * obj0 = 0 ;
23838 char *kwnames[] = {
23839 (char *) "self", NULL
23840 };
23841
23842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
23843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23844 {
23845 PyThreadState* __tstate = wxPyBeginAllowThreads();
23846 result = (bool)(arg1)->Layout();
23847
23848 wxPyEndAllowThreads(__tstate);
23849 if (PyErr_Occurred()) SWIG_fail;
23850 }
23851 resultobj = PyInt_FromLong((long)result);
23852 return resultobj;
23853 fail:
23854 return NULL;
23855}
23856
23857
23858static PyObject *_wrap_Window_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
23859 PyObject *resultobj;
23860 wxWindow *arg1 = (wxWindow *) 0 ;
23861 wxSizer *arg2 = (wxSizer *) 0 ;
e811c8ce 23862 bool arg3 = (bool) True ;
d14a1e28
RD
23863 PyObject * obj0 = 0 ;
23864 PyObject * obj1 = 0 ;
23865 PyObject * obj2 = 0 ;
23866 char *kwnames[] = {
23867 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
23868 };
23869
23870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
23871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23872 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23873 if (obj2) {
23874 arg3 = PyInt_AsLong(obj2) ? true : false;
23875 if (PyErr_Occurred()) SWIG_fail;
23876 }
23877 {
23878 PyThreadState* __tstate = wxPyBeginAllowThreads();
23879 (arg1)->SetSizer(arg2,arg3);
23880
23881 wxPyEndAllowThreads(__tstate);
23882 if (PyErr_Occurred()) SWIG_fail;
23883 }
23884 Py_INCREF(Py_None); resultobj = Py_None;
23885 return resultobj;
23886 fail:
23887 return NULL;
23888}
23889
23890
23891static PyObject *_wrap_Window_SetSizerAndFit(PyObject *self, PyObject *args, PyObject *kwargs) {
23892 PyObject *resultobj;
23893 wxWindow *arg1 = (wxWindow *) 0 ;
23894 wxSizer *arg2 = (wxSizer *) 0 ;
e811c8ce 23895 bool arg3 = (bool) True ;
d14a1e28
RD
23896 PyObject * obj0 = 0 ;
23897 PyObject * obj1 = 0 ;
23898 PyObject * obj2 = 0 ;
23899 char *kwnames[] = {
23900 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
23901 };
23902
23903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
23904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23905 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23906 if (obj2) {
23907 arg3 = PyInt_AsLong(obj2) ? true : false;
23908 if (PyErr_Occurred()) SWIG_fail;
23909 }
23910 {
23911 PyThreadState* __tstate = wxPyBeginAllowThreads();
23912 (arg1)->SetSizerAndFit(arg2,arg3);
23913
23914 wxPyEndAllowThreads(__tstate);
23915 if (PyErr_Occurred()) SWIG_fail;
23916 }
23917 Py_INCREF(Py_None); resultobj = Py_None;
23918 return resultobj;
23919 fail:
23920 return NULL;
23921}
23922
23923
23924static PyObject *_wrap_Window_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
23925 PyObject *resultobj;
23926 wxWindow *arg1 = (wxWindow *) 0 ;
23927 wxSizer *result;
23928 PyObject * obj0 = 0 ;
23929 char *kwnames[] = {
23930 (char *) "self", NULL
23931 };
23932
23933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
23934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23935 {
23936 PyThreadState* __tstate = wxPyBeginAllowThreads();
23937 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
23938
23939 wxPyEndAllowThreads(__tstate);
23940 if (PyErr_Occurred()) SWIG_fail;
23941 }
23942 {
23943 resultobj = wxPyMake_wxSizer(result);
23944 }
23945 return resultobj;
23946 fail:
23947 return NULL;
23948}
23949
23950
23951static PyObject *_wrap_Window_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
23952 PyObject *resultobj;
23953 wxWindow *arg1 = (wxWindow *) 0 ;
23954 wxSizer *arg2 = (wxSizer *) 0 ;
23955 PyObject * obj0 = 0 ;
23956 PyObject * obj1 = 0 ;
23957 char *kwnames[] = {
23958 (char *) "self",(char *) "sizer", NULL
23959 };
23960
23961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
23962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23963 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23964 {
23965 PyThreadState* __tstate = wxPyBeginAllowThreads();
23966 (arg1)->SetContainingSizer(arg2);
23967
23968 wxPyEndAllowThreads(__tstate);
23969 if (PyErr_Occurred()) SWIG_fail;
23970 }
23971 Py_INCREF(Py_None); resultobj = Py_None;
23972 return resultobj;
23973 fail:
23974 return NULL;
23975}
23976
23977
23978static PyObject *_wrap_Window_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
23979 PyObject *resultobj;
23980 wxWindow *arg1 = (wxWindow *) 0 ;
23981 wxSizer *result;
23982 PyObject * obj0 = 0 ;
23983 char *kwnames[] = {
23984 (char *) "self", NULL
23985 };
23986
23987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
23988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23989 {
23990 PyThreadState* __tstate = wxPyBeginAllowThreads();
23991 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
23992
23993 wxPyEndAllowThreads(__tstate);
23994 if (PyErr_Occurred()) SWIG_fail;
23995 }
23996 {
23997 resultobj = wxPyMake_wxSizer(result);
23998 }
23999 return resultobj;
24000 fail:
24001 return NULL;
24002}
24003
24004
24005static PyObject * Window_swigregister(PyObject *self, PyObject *args) {
24006 PyObject *obj;
24007 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24008 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
24009 Py_INCREF(obj);
24010 return Py_BuildValue((char *)"");
24011}
24012static PyObject *_wrap_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
24013 PyObject *resultobj;
24014 long arg1 ;
24015 wxWindow *arg2 = (wxWindow *) NULL ;
24016 wxWindow *result;
24017 PyObject * obj1 = 0 ;
24018 char *kwnames[] = {
24019 (char *) "id",(char *) "parent", NULL
24020 };
24021
24022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l|O:FindWindowById",kwnames,&arg1,&obj1)) goto fail;
24023 if (obj1) {
24024 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24025 }
24026 {
24027 PyThreadState* __tstate = wxPyBeginAllowThreads();
24028 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
24029
24030 wxPyEndAllowThreads(__tstate);
24031 if (PyErr_Occurred()) SWIG_fail;
24032 }
24033 {
24034 resultobj = wxPyMake_wxObject(result);
24035 }
24036 return resultobj;
24037 fail:
24038 return NULL;
24039}
24040
24041
24042static PyObject *_wrap_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
24043 PyObject *resultobj;
24044 wxString *arg1 = 0 ;
24045 wxWindow *arg2 = (wxWindow *) NULL ;
24046 wxWindow *result;
e811c8ce 24047 bool temp1 = False ;
d14a1e28
RD
24048 PyObject * obj0 = 0 ;
24049 PyObject * obj1 = 0 ;
24050 char *kwnames[] = {
24051 (char *) "name",(char *) "parent", NULL
24052 };
24053
24054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
24055 {
24056 arg1 = wxString_in_helper(obj0);
24057 if (arg1 == NULL) SWIG_fail;
e811c8ce 24058 temp1 = True;
d14a1e28
RD
24059 }
24060 if (obj1) {
24061 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24062 }
24063 {
24064 PyThreadState* __tstate = wxPyBeginAllowThreads();
24065 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
24066
24067 wxPyEndAllowThreads(__tstate);
24068 if (PyErr_Occurred()) SWIG_fail;
24069 }
24070 {
24071 resultobj = wxPyMake_wxObject(result);
24072 }
24073 {
24074 if (temp1)
24075 delete arg1;
24076 }
24077 return resultobj;
24078 fail:
24079 {
24080 if (temp1)
24081 delete arg1;
24082 }
24083 return NULL;
24084}
24085
24086
24087static PyObject *_wrap_FindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24088 PyObject *resultobj;
24089 wxString *arg1 = 0 ;
24090 wxWindow *arg2 = (wxWindow *) NULL ;
24091 wxWindow *result;
e811c8ce 24092 bool temp1 = False ;
d14a1e28
RD
24093 PyObject * obj0 = 0 ;
24094 PyObject * obj1 = 0 ;
24095 char *kwnames[] = {
24096 (char *) "label",(char *) "parent", NULL
24097 };
24098
24099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
24100 {
24101 arg1 = wxString_in_helper(obj0);
24102 if (arg1 == NULL) SWIG_fail;
e811c8ce 24103 temp1 = True;
d14a1e28
RD
24104 }
24105 if (obj1) {
24106 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24107 }
24108 {
24109 PyThreadState* __tstate = wxPyBeginAllowThreads();
24110 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
24111
24112 wxPyEndAllowThreads(__tstate);
24113 if (PyErr_Occurred()) SWIG_fail;
24114 }
24115 {
24116 resultobj = wxPyMake_wxObject(result);
24117 }
24118 {
24119 if (temp1)
24120 delete arg1;
24121 }
24122 return resultobj;
24123 fail:
24124 {
24125 if (temp1)
24126 delete arg1;
24127 }
24128 return NULL;
24129}
24130
24131
24132static PyObject *_wrap_Window_FromHWND(PyObject *self, PyObject *args, PyObject *kwargs) {
24133 PyObject *resultobj;
24134 unsigned long arg1 ;
24135 wxWindow *result;
24136 PyObject * obj0 = 0 ;
24137 char *kwnames[] = {
24138 (char *) "hWnd", NULL
24139 };
24140
24141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FromHWND",kwnames,&obj0)) goto fail;
24142 arg1 = (unsigned long) PyInt_AsLong(obj0);
24143 if (PyErr_Occurred()) SWIG_fail;
24144 {
24145 PyThreadState* __tstate = wxPyBeginAllowThreads();
24146 result = (wxWindow *)wxWindow_FromHWND(arg1);
24147
24148 wxPyEndAllowThreads(__tstate);
24149 if (PyErr_Occurred()) SWIG_fail;
24150 }
24151 {
24152 resultobj = wxPyMake_wxObject(result);
24153 }
24154 return resultobj;
24155 fail:
24156 return NULL;
24157}
24158
24159
24160static PyObject *_wrap_new_Validator(PyObject *self, PyObject *args, PyObject *kwargs) {
24161 PyObject *resultobj;
24162 wxValidator *result;
24163 char *kwnames[] = {
24164 NULL
24165 };
24166
24167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
24168 {
24169 PyThreadState* __tstate = wxPyBeginAllowThreads();
24170 result = (wxValidator *)new wxValidator();
24171
24172 wxPyEndAllowThreads(__tstate);
24173 if (PyErr_Occurred()) SWIG_fail;
24174 }
24175 {
24176 resultobj = wxPyMake_wxObject(result);
24177 }
24178 return resultobj;
24179 fail:
24180 return NULL;
24181}
24182
24183
24184static PyObject *_wrap_Validator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
24185 PyObject *resultobj;
24186 wxValidator *arg1 = (wxValidator *) 0 ;
24187 wxValidator *result;
24188 PyObject * obj0 = 0 ;
24189 char *kwnames[] = {
24190 (char *) "self", NULL
24191 };
24192
24193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
24194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24195 {
24196 PyThreadState* __tstate = wxPyBeginAllowThreads();
24197 result = (wxValidator *)(arg1)->Clone();
24198
24199 wxPyEndAllowThreads(__tstate);
24200 if (PyErr_Occurred()) SWIG_fail;
24201 }
24202 {
24203 resultobj = wxPyMake_wxObject(result);
24204 }
24205 return resultobj;
24206 fail:
24207 return NULL;
24208}
24209
24210
24211static PyObject *_wrap_Validator_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24212 PyObject *resultobj;
24213 wxValidator *arg1 = (wxValidator *) 0 ;
24214 wxWindow *arg2 = (wxWindow *) 0 ;
24215 bool result;
24216 PyObject * obj0 = 0 ;
24217 PyObject * obj1 = 0 ;
24218 char *kwnames[] = {
24219 (char *) "self",(char *) "parent", NULL
24220 };
24221
24222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
24223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24224 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24225 {
24226 PyThreadState* __tstate = wxPyBeginAllowThreads();
24227 result = (bool)(arg1)->Validate(arg2);
24228
24229 wxPyEndAllowThreads(__tstate);
24230 if (PyErr_Occurred()) SWIG_fail;
24231 }
24232 resultobj = PyInt_FromLong((long)result);
24233 return resultobj;
24234 fail:
24235 return NULL;
24236}
24237
24238
24239static PyObject *_wrap_Validator_TransferToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24240 PyObject *resultobj;
24241 wxValidator *arg1 = (wxValidator *) 0 ;
24242 bool result;
24243 PyObject * obj0 = 0 ;
24244 char *kwnames[] = {
24245 (char *) "self", NULL
24246 };
24247
24248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
24249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24250 {
24251 PyThreadState* __tstate = wxPyBeginAllowThreads();
24252 result = (bool)(arg1)->TransferToWindow();
24253
24254 wxPyEndAllowThreads(__tstate);
24255 if (PyErr_Occurred()) SWIG_fail;
24256 }
24257 resultobj = PyInt_FromLong((long)result);
24258 return resultobj;
24259 fail:
24260 return NULL;
24261}
24262
24263
24264static PyObject *_wrap_Validator_TransferFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24265 PyObject *resultobj;
24266 wxValidator *arg1 = (wxValidator *) 0 ;
24267 bool result;
24268 PyObject * obj0 = 0 ;
24269 char *kwnames[] = {
24270 (char *) "self", NULL
24271 };
24272
24273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
24274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24275 {
24276 PyThreadState* __tstate = wxPyBeginAllowThreads();
24277 result = (bool)(arg1)->TransferFromWindow();
24278
24279 wxPyEndAllowThreads(__tstate);
24280 if (PyErr_Occurred()) SWIG_fail;
24281 }
24282 resultobj = PyInt_FromLong((long)result);
24283 return resultobj;
24284 fail:
24285 return NULL;
24286}
24287
24288
24289static PyObject *_wrap_Validator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24290 PyObject *resultobj;
24291 wxValidator *arg1 = (wxValidator *) 0 ;
24292 wxWindow *result;
24293 PyObject * obj0 = 0 ;
24294 char *kwnames[] = {
24295 (char *) "self", NULL
24296 };
24297
24298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
24299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24300 {
24301 PyThreadState* __tstate = wxPyBeginAllowThreads();
24302 result = (wxWindow *)(arg1)->GetWindow();
24303
24304 wxPyEndAllowThreads(__tstate);
24305 if (PyErr_Occurred()) SWIG_fail;
24306 }
24307 {
24308 resultobj = wxPyMake_wxObject(result);
24309 }
24310 return resultobj;
24311 fail:
24312 return NULL;
24313}
24314
24315
24316static PyObject *_wrap_Validator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24317 PyObject *resultobj;
24318 wxValidator *arg1 = (wxValidator *) 0 ;
24319 wxWindow *arg2 = (wxWindow *) 0 ;
24320 PyObject * obj0 = 0 ;
24321 PyObject * obj1 = 0 ;
24322 char *kwnames[] = {
24323 (char *) "self",(char *) "window", NULL
24324 };
24325
24326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
24327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24328 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24329 {
24330 PyThreadState* __tstate = wxPyBeginAllowThreads();
24331 (arg1)->SetWindow(arg2);
24332
24333 wxPyEndAllowThreads(__tstate);
24334 if (PyErr_Occurred()) SWIG_fail;
24335 }
24336 Py_INCREF(Py_None); resultobj = Py_None;
24337 return resultobj;
24338 fail:
24339 return NULL;
24340}
24341
24342
24343static PyObject *_wrap_Validator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
24344 PyObject *resultobj;
24345 bool result;
24346 char *kwnames[] = {
24347 NULL
24348 };
24349
24350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
24351 {
24352 PyThreadState* __tstate = wxPyBeginAllowThreads();
24353 result = (bool)wxValidator::IsSilent();
24354
24355 wxPyEndAllowThreads(__tstate);
24356 if (PyErr_Occurred()) SWIG_fail;
24357 }
24358 resultobj = PyInt_FromLong((long)result);
24359 return resultobj;
24360 fail:
24361 return NULL;
24362}
24363
24364
24365static PyObject *_wrap_Validator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
24366 PyObject *resultobj;
e811c8ce 24367 int arg1 = (int) True ;
d14a1e28
RD
24368 char *kwnames[] = {
24369 (char *) "doIt", NULL
24370 };
24371
24372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:Validator_SetBellOnError",kwnames,&arg1)) goto fail;
24373 {
24374 PyThreadState* __tstate = wxPyBeginAllowThreads();
24375 wxValidator::SetBellOnError(arg1);
24376
24377 wxPyEndAllowThreads(__tstate);
24378 if (PyErr_Occurred()) SWIG_fail;
24379 }
24380 Py_INCREF(Py_None); resultobj = Py_None;
24381 return resultobj;
24382 fail:
24383 return NULL;
24384}
24385
24386
24387static PyObject * Validator_swigregister(PyObject *self, PyObject *args) {
24388 PyObject *obj;
24389 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24390 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
24391 Py_INCREF(obj);
24392 return Py_BuildValue((char *)"");
24393}
24394static PyObject *_wrap_new_PyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
24395 PyObject *resultobj;
24396 wxPyValidator *result;
24397 char *kwnames[] = {
24398 NULL
24399 };
24400
24401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
24402 {
24403 PyThreadState* __tstate = wxPyBeginAllowThreads();
24404 result = (wxPyValidator *)new wxPyValidator();
24405
24406 wxPyEndAllowThreads(__tstate);
24407 if (PyErr_Occurred()) SWIG_fail;
24408 }
24409 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyValidator, 1);
24410 return resultobj;
24411 fail:
24412 return NULL;
24413}
24414
24415
24416static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24417 PyObject *resultobj;
24418 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
24419 PyObject *arg2 = (PyObject *) 0 ;
24420 PyObject *arg3 = (PyObject *) 0 ;
e811c8ce 24421 int arg4 = (int) True ;
d14a1e28
RD
24422 PyObject * obj0 = 0 ;
24423 PyObject * obj1 = 0 ;
24424 PyObject * obj2 = 0 ;
24425 char *kwnames[] = {
24426 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
24427 };
24428
24429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
24430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24431 arg2 = obj1;
24432 arg3 = obj2;
24433 {
24434 PyThreadState* __tstate = wxPyBeginAllowThreads();
24435 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
24436
24437 wxPyEndAllowThreads(__tstate);
24438 if (PyErr_Occurred()) SWIG_fail;
24439 }
24440 Py_INCREF(Py_None); resultobj = Py_None;
24441 return resultobj;
24442 fail:
24443 return NULL;
24444}
24445
24446
24447static PyObject * PyValidator_swigregister(PyObject *self, PyObject *args) {
24448 PyObject *obj;
24449 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24450 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
24451 Py_INCREF(obj);
24452 return Py_BuildValue((char *)"");
24453}
24454static int _wrap_DefaultValidator_set(PyObject *_val) {
24455 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
24456 return 1;
24457}
24458
24459
24460static PyObject *_wrap_DefaultValidator_get() {
24461 PyObject *pyobj;
24462
24463 pyobj = SWIG_NewPointerObj((void *) &wxDefaultValidator, SWIGTYPE_p_wxValidator, 0);
24464 return pyobj;
24465}
24466
24467
24468static PyObject *_wrap_new_Menu(PyObject *self, PyObject *args, PyObject *kwargs) {
24469 PyObject *resultobj;
24470 wxString const &arg1_defvalue = wxPyEmptyString ;
24471 wxString *arg1 = (wxString *) &arg1_defvalue ;
24472 long arg2 = (long) 0 ;
24473 wxMenu *result;
e811c8ce 24474 bool temp1 = False ;
d14a1e28
RD
24475 PyObject * obj0 = 0 ;
24476 char *kwnames[] = {
24477 (char *) "title",(char *) "style", NULL
24478 };
24479
24480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Ol:new_Menu",kwnames,&obj0,&arg2)) goto fail;
24481 if (obj0) {
24482 {
24483 arg1 = wxString_in_helper(obj0);
24484 if (arg1 == NULL) SWIG_fail;
e811c8ce 24485 temp1 = True;
d14a1e28
RD
24486 }
24487 }
24488 {
24489 PyThreadState* __tstate = wxPyBeginAllowThreads();
24490 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
24491
24492 wxPyEndAllowThreads(__tstate);
24493 if (PyErr_Occurred()) SWIG_fail;
24494 }
24495 {
24496 resultobj = wxPyMake_wxObject(result);
24497 }
24498 {
24499 if (temp1)
24500 delete arg1;
24501 }
24502 return resultobj;
24503 fail:
24504 {
24505 if (temp1)
24506 delete arg1;
24507 }
24508 return NULL;
24509}
24510
24511
24512static PyObject *_wrap_Menu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
24513 PyObject *resultobj;
24514 wxMenu *arg1 = (wxMenu *) 0 ;
24515 int arg2 ;
24516 wxString *arg3 = 0 ;
24517 wxString const &arg4_defvalue = wxPyEmptyString ;
24518 wxString *arg4 = (wxString *) &arg4_defvalue ;
24519 int arg5 = (int) wxITEM_NORMAL ;
e811c8ce
RD
24520 bool temp3 = False ;
24521 bool temp4 = False ;
d14a1e28
RD
24522 PyObject * obj0 = 0 ;
24523 PyObject * obj2 = 0 ;
24524 PyObject * obj3 = 0 ;
24525 char *kwnames[] = {
24526 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
24527 };
24528
24529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|Oi:Menu_Append",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24531 {
24532 arg3 = wxString_in_helper(obj2);
24533 if (arg3 == NULL) SWIG_fail;
e811c8ce 24534 temp3 = True;
d14a1e28
RD
24535 }
24536 if (obj3) {
24537 {
24538 arg4 = wxString_in_helper(obj3);
24539 if (arg4 == NULL) SWIG_fail;
e811c8ce 24540 temp4 = True;
d14a1e28
RD
24541 }
24542 }
24543 {
24544 PyThreadState* __tstate = wxPyBeginAllowThreads();
24545 (arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
24546
24547 wxPyEndAllowThreads(__tstate);
24548 if (PyErr_Occurred()) SWIG_fail;
24549 }
24550 Py_INCREF(Py_None); resultobj = Py_None;
24551 {
24552 if (temp3)
24553 delete arg3;
24554 }
24555 {
24556 if (temp4)
24557 delete arg4;
24558 }
24559 return resultobj;
24560 fail:
24561 {
24562 if (temp3)
24563 delete arg3;
24564 }
24565 {
24566 if (temp4)
24567 delete arg4;
24568 }
24569 return NULL;
24570}
24571
24572
24573static PyObject *_wrap_Menu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
24574 PyObject *resultobj;
24575 wxMenu *arg1 = (wxMenu *) 0 ;
24576 PyObject * obj0 = 0 ;
24577 char *kwnames[] = {
24578 (char *) "self", NULL
24579 };
24580
24581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
24582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24583 {
24584 PyThreadState* __tstate = wxPyBeginAllowThreads();
24585 (arg1)->AppendSeparator();
24586
24587 wxPyEndAllowThreads(__tstate);
24588 if (PyErr_Occurred()) SWIG_fail;
24589 }
24590 Py_INCREF(Py_None); resultobj = Py_None;
24591 return resultobj;
24592 fail:
24593 return NULL;
24594}
24595
24596
24597static PyObject *_wrap_Menu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24598 PyObject *resultobj;
24599 wxMenu *arg1 = (wxMenu *) 0 ;
24600 int arg2 ;
24601 wxString *arg3 = 0 ;
24602 wxString const &arg4_defvalue = wxPyEmptyString ;
24603 wxString *arg4 = (wxString *) &arg4_defvalue ;
e811c8ce
RD
24604 bool temp3 = False ;
24605 bool temp4 = False ;
d14a1e28
RD
24606 PyObject * obj0 = 0 ;
24607 PyObject * obj2 = 0 ;
24608 PyObject * obj3 = 0 ;
24609 char *kwnames[] = {
24610 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
24611 };
24612
24613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_AppendCheckItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
24614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24615 {
24616 arg3 = wxString_in_helper(obj2);
24617 if (arg3 == NULL) SWIG_fail;
e811c8ce 24618 temp3 = True;
d14a1e28
RD
24619 }
24620 if (obj3) {
24621 {
24622 arg4 = wxString_in_helper(obj3);
24623 if (arg4 == NULL) SWIG_fail;
e811c8ce 24624 temp4 = True;
d14a1e28
RD
24625 }
24626 }
24627 {
24628 PyThreadState* __tstate = wxPyBeginAllowThreads();
24629 (arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
24630
24631 wxPyEndAllowThreads(__tstate);
24632 if (PyErr_Occurred()) SWIG_fail;
24633 }
24634 Py_INCREF(Py_None); resultobj = Py_None;
24635 {
24636 if (temp3)
24637 delete arg3;
24638 }
24639 {
24640 if (temp4)
24641 delete arg4;
24642 }
24643 return resultobj;
24644 fail:
24645 {
24646 if (temp3)
24647 delete arg3;
24648 }
24649 {
24650 if (temp4)
24651 delete arg4;
24652 }
24653 return NULL;
24654}
24655
24656
24657static PyObject *_wrap_Menu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24658 PyObject *resultobj;
24659 wxMenu *arg1 = (wxMenu *) 0 ;
24660 int arg2 ;
24661 wxString *arg3 = 0 ;
24662 wxString const &arg4_defvalue = wxPyEmptyString ;
24663 wxString *arg4 = (wxString *) &arg4_defvalue ;
e811c8ce
RD
24664 bool temp3 = False ;
24665 bool temp4 = False ;
d14a1e28
RD
24666 PyObject * obj0 = 0 ;
24667 PyObject * obj2 = 0 ;
24668 PyObject * obj3 = 0 ;
24669 char *kwnames[] = {
24670 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
24671 };
24672
24673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_AppendRadioItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
24674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24675 {
24676 arg3 = wxString_in_helper(obj2);
24677 if (arg3 == NULL) SWIG_fail;
e811c8ce 24678 temp3 = True;
d14a1e28
RD
24679 }
24680 if (obj3) {
24681 {
24682 arg4 = wxString_in_helper(obj3);
24683 if (arg4 == NULL) SWIG_fail;
e811c8ce 24684 temp4 = True;
d14a1e28
RD
24685 }
24686 }
24687 {
24688 PyThreadState* __tstate = wxPyBeginAllowThreads();
24689 (arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
24690
24691 wxPyEndAllowThreads(__tstate);
24692 if (PyErr_Occurred()) SWIG_fail;
24693 }
24694 Py_INCREF(Py_None); resultobj = Py_None;
24695 {
24696 if (temp3)
24697 delete arg3;
24698 }
24699 {
24700 if (temp4)
24701 delete arg4;
24702 }
24703 return resultobj;
24704 fail:
24705 {
24706 if (temp3)
24707 delete arg3;
24708 }
24709 {
24710 if (temp4)
24711 delete arg4;
24712 }
24713 return NULL;
24714}
24715
24716
24717static PyObject *_wrap_Menu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
24718 PyObject *resultobj;
24719 wxMenu *arg1 = (wxMenu *) 0 ;
24720 int arg2 ;
24721 wxString *arg3 = 0 ;
24722 wxMenu *arg4 = (wxMenu *) 0 ;
24723 wxString const &arg5_defvalue = wxPyEmptyString ;
24724 wxString *arg5 = (wxString *) &arg5_defvalue ;
e811c8ce
RD
24725 bool temp3 = False ;
24726 bool temp5 = False ;
d14a1e28
RD
24727 PyObject * obj0 = 0 ;
24728 PyObject * obj2 = 0 ;
24729 PyObject * obj3 = 0 ;
24730 PyObject * obj4 = 0 ;
24731 char *kwnames[] = {
24732 (char *) "self",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
24733 };
24734
24735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|O:Menu_AppendMenu",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4)) goto fail;
24736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24737 {
24738 arg3 = wxString_in_helper(obj2);
24739 if (arg3 == NULL) SWIG_fail;
e811c8ce 24740 temp3 = True;
d14a1e28
RD
24741 }
24742 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24743 if (obj4) {
24744 {
24745 arg5 = wxString_in_helper(obj4);
24746 if (arg5 == NULL) SWIG_fail;
e811c8ce 24747 temp5 = True;
d14a1e28
RD
24748 }
24749 }
24750 {
24751 PyThreadState* __tstate = wxPyBeginAllowThreads();
24752 (arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
24753
24754 wxPyEndAllowThreads(__tstate);
24755 if (PyErr_Occurred()) SWIG_fail;
24756 }
24757 Py_INCREF(Py_None); resultobj = Py_None;
24758 {
24759 if (temp3)
24760 delete arg3;
24761 }
24762 {
24763 if (temp5)
24764 delete arg5;
24765 }
24766 return resultobj;
24767 fail:
24768 {
24769 if (temp3)
24770 delete arg3;
24771 }
24772 {
24773 if (temp5)
24774 delete arg5;
24775 }
24776 return NULL;
24777}
24778
24779
24780static PyObject *_wrap_Menu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24781 PyObject *resultobj;
24782 wxMenu *arg1 = (wxMenu *) 0 ;
24783 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
24784 PyObject * obj0 = 0 ;
24785 PyObject * obj1 = 0 ;
24786 char *kwnames[] = {
24787 (char *) "self",(char *) "item", NULL
24788 };
24789
24790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
24791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24792 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24793 {
24794 PyThreadState* __tstate = wxPyBeginAllowThreads();
24795 (arg1)->Append(arg2);
24796
24797 wxPyEndAllowThreads(__tstate);
24798 if (PyErr_Occurred()) SWIG_fail;
24799 }
24800 Py_INCREF(Py_None); resultobj = Py_None;
24801 return resultobj;
24802 fail:
24803 return NULL;
24804}
24805
24806
24807static PyObject *_wrap_Menu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
24808 PyObject *resultobj;
24809 wxMenu *arg1 = (wxMenu *) 0 ;
24810 PyObject * obj0 = 0 ;
24811 char *kwnames[] = {
24812 (char *) "self", NULL
24813 };
24814
24815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
24816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24817 {
24818 PyThreadState* __tstate = wxPyBeginAllowThreads();
24819 (arg1)->Break();
24820
24821 wxPyEndAllowThreads(__tstate);
24822 if (PyErr_Occurred()) SWIG_fail;
24823 }
24824 Py_INCREF(Py_None); resultobj = Py_None;
24825 return resultobj;
24826 fail:
24827 return NULL;
24828}
24829
24830
24831static PyObject *_wrap_Menu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24832 PyObject *resultobj;
24833 wxMenu *arg1 = (wxMenu *) 0 ;
24834 size_t arg2 ;
24835 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
24836 bool result;
24837 PyObject * obj0 = 0 ;
24838 PyObject * obj1 = 0 ;
24839 PyObject * obj2 = 0 ;
24840 char *kwnames[] = {
24841 (char *) "self",(char *) "pos",(char *) "item", NULL
24842 };
24843
24844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
24845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24846 arg2 = (size_t) PyInt_AsLong(obj1);
24847 if (PyErr_Occurred()) SWIG_fail;
24848 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24849 {
24850 PyThreadState* __tstate = wxPyBeginAllowThreads();
24851 result = (bool)(arg1)->Insert(arg2,arg3);
24852
24853 wxPyEndAllowThreads(__tstate);
24854 if (PyErr_Occurred()) SWIG_fail;
24855 }
24856 resultobj = PyInt_FromLong((long)result);
24857 return resultobj;
24858 fail:
24859 return NULL;
24860}
24861
24862
24863static PyObject *_wrap_Menu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
24864 PyObject *resultobj;
24865 wxMenu *arg1 = (wxMenu *) 0 ;
24866 size_t arg2 ;
24867 int arg3 ;
24868 wxString *arg4 = 0 ;
24869 wxString const &arg5_defvalue = wxPyEmptyString ;
24870 wxString *arg5 = (wxString *) &arg5_defvalue ;
24871 int arg6 = (int) wxITEM_NORMAL ;
e811c8ce
RD
24872 bool temp4 = False ;
24873 bool temp5 = False ;
d14a1e28
RD
24874 PyObject * obj0 = 0 ;
24875 PyObject * obj1 = 0 ;
24876 PyObject * obj3 = 0 ;
24877 PyObject * obj4 = 0 ;
24878 char *kwnames[] = {
24879 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
24880 };
24881
24882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|Oi:Menu_Insert",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
24883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24884 arg2 = (size_t) PyInt_AsLong(obj1);
24885 if (PyErr_Occurred()) SWIG_fail;
24886 {
24887 arg4 = wxString_in_helper(obj3);
24888 if (arg4 == NULL) SWIG_fail;
e811c8ce 24889 temp4 = True;
d14a1e28
RD
24890 }
24891 if (obj4) {
24892 {
24893 arg5 = wxString_in_helper(obj4);
24894 if (arg5 == NULL) SWIG_fail;
e811c8ce 24895 temp5 = True;
d14a1e28
RD
24896 }
24897 }
24898 {
24899 PyThreadState* __tstate = wxPyBeginAllowThreads();
24900 (arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
24901
24902 wxPyEndAllowThreads(__tstate);
24903 if (PyErr_Occurred()) SWIG_fail;
24904 }
24905 Py_INCREF(Py_None); resultobj = Py_None;
24906 {
24907 if (temp4)
24908 delete arg4;
24909 }
24910 {
24911 if (temp5)
24912 delete arg5;
24913 }
24914 return resultobj;
24915 fail:
24916 {
24917 if (temp4)
24918 delete arg4;
24919 }
24920 {
24921 if (temp5)
24922 delete arg5;
24923 }
24924 return NULL;
24925}
24926
24927
24928static PyObject *_wrap_Menu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
24929 PyObject *resultobj;
24930 wxMenu *arg1 = (wxMenu *) 0 ;
24931 size_t arg2 ;
24932 PyObject * obj0 = 0 ;
24933 PyObject * obj1 = 0 ;
24934 char *kwnames[] = {
24935 (char *) "self",(char *) "pos", NULL
24936 };
24937
24938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
24939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24940 arg2 = (size_t) PyInt_AsLong(obj1);
24941 if (PyErr_Occurred()) SWIG_fail;
24942 {
24943 PyThreadState* __tstate = wxPyBeginAllowThreads();
24944 (arg1)->InsertSeparator(arg2);
24945
24946 wxPyEndAllowThreads(__tstate);
24947 if (PyErr_Occurred()) SWIG_fail;
24948 }
24949 Py_INCREF(Py_None); resultobj = Py_None;
24950 return resultobj;
24951 fail:
24952 return NULL;
24953}
24954
24955
24956static PyObject *_wrap_Menu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24957 PyObject *resultobj;
24958 wxMenu *arg1 = (wxMenu *) 0 ;
24959 size_t arg2 ;
24960 int arg3 ;
24961 wxString *arg4 = 0 ;
24962 wxString const &arg5_defvalue = wxPyEmptyString ;
24963 wxString *arg5 = (wxString *) &arg5_defvalue ;
e811c8ce
RD
24964 bool temp4 = False ;
24965 bool temp5 = False ;
d14a1e28
RD
24966 PyObject * obj0 = 0 ;
24967 PyObject * obj1 = 0 ;
24968 PyObject * obj3 = 0 ;
24969 PyObject * obj4 = 0 ;
24970 char *kwnames[] = {
24971 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help", NULL
24972 };
24973
24974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
24975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24976 arg2 = (size_t) PyInt_AsLong(obj1);
24977 if (PyErr_Occurred()) SWIG_fail;
24978 {
24979 arg4 = wxString_in_helper(obj3);
24980 if (arg4 == NULL) SWIG_fail;
e811c8ce 24981 temp4 = True;
d14a1e28
RD
24982 }
24983 if (obj4) {
24984 {
24985 arg5 = wxString_in_helper(obj4);
24986 if (arg5 == NULL) SWIG_fail;
e811c8ce 24987 temp5 = True;
d14a1e28
RD
24988 }
24989 }
24990 {
24991 PyThreadState* __tstate = wxPyBeginAllowThreads();
24992 (arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
24993
24994 wxPyEndAllowThreads(__tstate);
24995 if (PyErr_Occurred()) SWIG_fail;
24996 }
24997 Py_INCREF(Py_None); resultobj = Py_None;
24998 {
24999 if (temp4)
25000 delete arg4;
25001 }
25002 {
25003 if (temp5)
25004 delete arg5;
25005 }
25006 return resultobj;
25007 fail:
25008 {
25009 if (temp4)
25010 delete arg4;
25011 }
25012 {
25013 if (temp5)
25014 delete arg5;
25015 }
25016 return NULL;
25017}
25018
25019
25020static PyObject *_wrap_Menu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25021 PyObject *resultobj;
25022 wxMenu *arg1 = (wxMenu *) 0 ;
25023 size_t arg2 ;
25024 int arg3 ;
25025 wxString *arg4 = 0 ;
25026 wxString const &arg5_defvalue = wxPyEmptyString ;
25027 wxString *arg5 = (wxString *) &arg5_defvalue ;
e811c8ce
RD
25028 bool temp4 = False ;
25029 bool temp5 = False ;
d14a1e28
RD
25030 PyObject * obj0 = 0 ;
25031 PyObject * obj1 = 0 ;
25032 PyObject * obj3 = 0 ;
25033 PyObject * obj4 = 0 ;
25034 char *kwnames[] = {
25035 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help", NULL
25036 };
25037
25038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
25039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25040 arg2 = (size_t) PyInt_AsLong(obj1);
25041 if (PyErr_Occurred()) SWIG_fail;
25042 {
25043 arg4 = wxString_in_helper(obj3);
25044 if (arg4 == NULL) SWIG_fail;
e811c8ce 25045 temp4 = True;
d14a1e28
RD
25046 }
25047 if (obj4) {
25048 {
25049 arg5 = wxString_in_helper(obj4);
25050 if (arg5 == NULL) SWIG_fail;
e811c8ce 25051 temp5 = True;
d14a1e28
RD
25052 }
25053 }
25054 {
25055 PyThreadState* __tstate = wxPyBeginAllowThreads();
25056 (arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
25057
25058 wxPyEndAllowThreads(__tstate);
25059 if (PyErr_Occurred()) SWIG_fail;
25060 }
25061 Py_INCREF(Py_None); resultobj = Py_None;
25062 {
25063 if (temp4)
25064 delete arg4;
25065 }
25066 {
25067 if (temp5)
25068 delete arg5;
25069 }
25070 return resultobj;
25071 fail:
25072 {
25073 if (temp4)
25074 delete arg4;
25075 }
25076 {
25077 if (temp5)
25078 delete arg5;
25079 }
25080 return NULL;
25081}
25082
25083
25084static PyObject *_wrap_Menu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
25085 PyObject *resultobj;
25086 wxMenu *arg1 = (wxMenu *) 0 ;
25087 size_t arg2 ;
25088 int arg3 ;
25089 wxString *arg4 = 0 ;
25090 wxMenu *arg5 = (wxMenu *) 0 ;
25091 wxString const &arg6_defvalue = wxPyEmptyString ;
25092 wxString *arg6 = (wxString *) &arg6_defvalue ;
e811c8ce
RD
25093 bool temp4 = False ;
25094 bool temp6 = False ;
d14a1e28
RD
25095 PyObject * obj0 = 0 ;
25096 PyObject * obj1 = 0 ;
25097 PyObject * obj3 = 0 ;
25098 PyObject * obj4 = 0 ;
25099 PyObject * obj5 = 0 ;
25100 char *kwnames[] = {
25101 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25102 };
25103
25104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5)) goto fail;
25105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25106 arg2 = (size_t) PyInt_AsLong(obj1);
25107 if (PyErr_Occurred()) SWIG_fail;
25108 {
25109 arg4 = wxString_in_helper(obj3);
25110 if (arg4 == NULL) SWIG_fail;
e811c8ce 25111 temp4 = True;
d14a1e28
RD
25112 }
25113 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25114 if (obj5) {
25115 {
25116 arg6 = wxString_in_helper(obj5);
25117 if (arg6 == NULL) SWIG_fail;
e811c8ce 25118 temp6 = True;
d14a1e28
RD
25119 }
25120 }
25121 {
25122 PyThreadState* __tstate = wxPyBeginAllowThreads();
25123 (arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
25124
25125 wxPyEndAllowThreads(__tstate);
25126 if (PyErr_Occurred()) SWIG_fail;
25127 }
25128 Py_INCREF(Py_None); resultobj = Py_None;
25129 {
25130 if (temp4)
25131 delete arg4;
25132 }
25133 {
25134 if (temp6)
25135 delete arg6;
25136 }
25137 return resultobj;
25138 fail:
25139 {
25140 if (temp4)
25141 delete arg4;
25142 }
25143 {
25144 if (temp6)
25145 delete arg6;
25146 }
25147 return NULL;
25148}
25149
25150
25151static PyObject *_wrap_Menu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25152 PyObject *resultobj;
25153 wxMenu *arg1 = (wxMenu *) 0 ;
25154 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25155 PyObject * obj0 = 0 ;
25156 PyObject * obj1 = 0 ;
25157 char *kwnames[] = {
25158 (char *) "self",(char *) "item", NULL
25159 };
25160
25161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
25162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25163 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25164 {
25165 PyThreadState* __tstate = wxPyBeginAllowThreads();
25166 (arg1)->Prepend(arg2);
25167
25168 wxPyEndAllowThreads(__tstate);
25169 if (PyErr_Occurred()) SWIG_fail;
25170 }
25171 Py_INCREF(Py_None); resultobj = Py_None;
25172 return resultobj;
25173 fail:
25174 return NULL;
25175}
25176
25177
25178static PyObject *_wrap_Menu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
25179 PyObject *resultobj;
25180 wxMenu *arg1 = (wxMenu *) 0 ;
25181 int arg2 ;
25182 wxString *arg3 = 0 ;
25183 wxString const &arg4_defvalue = wxPyEmptyString ;
25184 wxString *arg4 = (wxString *) &arg4_defvalue ;
25185 int arg5 = (int) wxITEM_NORMAL ;
e811c8ce
RD
25186 bool temp3 = False ;
25187 bool temp4 = False ;
d14a1e28
RD
25188 PyObject * obj0 = 0 ;
25189 PyObject * obj2 = 0 ;
25190 PyObject * obj3 = 0 ;
25191 char *kwnames[] = {
25192 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
25193 };
25194
25195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|Oi:Menu_Prepend",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
25196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25197 {
25198 arg3 = wxString_in_helper(obj2);
25199 if (arg3 == NULL) SWIG_fail;
e811c8ce 25200 temp3 = True;
d14a1e28
RD
25201 }
25202 if (obj3) {
25203 {
25204 arg4 = wxString_in_helper(obj3);
25205 if (arg4 == NULL) SWIG_fail;
e811c8ce 25206 temp4 = True;
d14a1e28
RD
25207 }
25208 }
25209 {
25210 PyThreadState* __tstate = wxPyBeginAllowThreads();
25211 (arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
25212
25213 wxPyEndAllowThreads(__tstate);
25214 if (PyErr_Occurred()) SWIG_fail;
25215 }
25216 Py_INCREF(Py_None); resultobj = Py_None;
25217 {
25218 if (temp3)
25219 delete arg3;
25220 }
25221 {
25222 if (temp4)
25223 delete arg4;
25224 }
25225 return resultobj;
25226 fail:
25227 {
25228 if (temp3)
25229 delete arg3;
25230 }
25231 {
25232 if (temp4)
25233 delete arg4;
25234 }
25235 return NULL;
25236}
25237
25238
25239static PyObject *_wrap_Menu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
25240 PyObject *resultobj;
25241 wxMenu *arg1 = (wxMenu *) 0 ;
25242 PyObject * obj0 = 0 ;
25243 char *kwnames[] = {
25244 (char *) "self", NULL
25245 };
25246
25247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
25248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25249 {
25250 PyThreadState* __tstate = wxPyBeginAllowThreads();
25251 (arg1)->PrependSeparator();
25252
25253 wxPyEndAllowThreads(__tstate);
25254 if (PyErr_Occurred()) SWIG_fail;
25255 }
25256 Py_INCREF(Py_None); resultobj = Py_None;
25257 return resultobj;
25258 fail:
25259 return NULL;
25260}
25261
25262
25263static PyObject *_wrap_Menu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25264 PyObject *resultobj;
25265 wxMenu *arg1 = (wxMenu *) 0 ;
25266 int arg2 ;
25267 wxString *arg3 = 0 ;
25268 wxString const &arg4_defvalue = wxPyEmptyString ;
25269 wxString *arg4 = (wxString *) &arg4_defvalue ;
e811c8ce
RD
25270 bool temp3 = False ;
25271 bool temp4 = False ;
d14a1e28
RD
25272 PyObject * obj0 = 0 ;
25273 PyObject * obj2 = 0 ;
25274 PyObject * obj3 = 0 ;
25275 char *kwnames[] = {
25276 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
25277 };
25278
25279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_PrependCheckItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
25280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25281 {
25282 arg3 = wxString_in_helper(obj2);
25283 if (arg3 == NULL) SWIG_fail;
e811c8ce 25284 temp3 = True;
d14a1e28
RD
25285 }
25286 if (obj3) {
25287 {
25288 arg4 = wxString_in_helper(obj3);
25289 if (arg4 == NULL) SWIG_fail;
e811c8ce 25290 temp4 = True;
d14a1e28
RD
25291 }
25292 }
25293 {
25294 PyThreadState* __tstate = wxPyBeginAllowThreads();
25295 (arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
25296
25297 wxPyEndAllowThreads(__tstate);
25298 if (PyErr_Occurred()) SWIG_fail;
25299 }
25300 Py_INCREF(Py_None); resultobj = Py_None;
25301 {
25302 if (temp3)
25303 delete arg3;
25304 }
25305 {
25306 if (temp4)
25307 delete arg4;
25308 }
25309 return resultobj;
25310 fail:
25311 {
25312 if (temp3)
25313 delete arg3;
25314 }
25315 {
25316 if (temp4)
25317 delete arg4;
25318 }
25319 return NULL;
25320}
25321
25322
25323static PyObject *_wrap_Menu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25324 PyObject *resultobj;
25325 wxMenu *arg1 = (wxMenu *) 0 ;
25326 int arg2 ;
25327 wxString *arg3 = 0 ;
25328 wxString const &arg4_defvalue = wxPyEmptyString ;
25329 wxString *arg4 = (wxString *) &arg4_defvalue ;
e811c8ce
RD
25330 bool temp3 = False ;
25331 bool temp4 = False ;
d14a1e28
RD
25332 PyObject * obj0 = 0 ;
25333 PyObject * obj2 = 0 ;
25334 PyObject * obj3 = 0 ;
25335 char *kwnames[] = {
25336 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
25337 };
25338
25339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_PrependRadioItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
25340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25341 {
25342 arg3 = wxString_in_helper(obj2);
25343 if (arg3 == NULL) SWIG_fail;
e811c8ce 25344 temp3 = True;
d14a1e28
RD
25345 }
25346 if (obj3) {
25347 {
25348 arg4 = wxString_in_helper(obj3);
25349 if (arg4 == NULL) SWIG_fail;
e811c8ce 25350 temp4 = True;
d14a1e28
RD
25351 }
25352 }
25353 {
25354 PyThreadState* __tstate = wxPyBeginAllowThreads();
25355 (arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
25356
25357 wxPyEndAllowThreads(__tstate);
25358 if (PyErr_Occurred()) SWIG_fail;
25359 }
25360 Py_INCREF(Py_None); resultobj = Py_None;
25361 {
25362 if (temp3)
25363 delete arg3;
25364 }
25365 {
25366 if (temp4)
25367 delete arg4;
25368 }
25369 return resultobj;
25370 fail:
25371 {
25372 if (temp3)
25373 delete arg3;
25374 }
25375 {
25376 if (temp4)
25377 delete arg4;
25378 }
25379 return NULL;
25380}
25381
25382
25383static PyObject *_wrap_Menu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
25384 PyObject *resultobj;
25385 wxMenu *arg1 = (wxMenu *) 0 ;
25386 int arg2 ;
25387 wxString *arg3 = 0 ;
25388 wxMenu *arg4 = (wxMenu *) 0 ;
25389 wxString const &arg5_defvalue = wxPyEmptyString ;
25390 wxString *arg5 = (wxString *) &arg5_defvalue ;
e811c8ce
RD
25391 bool temp3 = False ;
25392 bool temp5 = False ;
d14a1e28
RD
25393 PyObject * obj0 = 0 ;
25394 PyObject * obj2 = 0 ;
25395 PyObject * obj3 = 0 ;
25396 PyObject * obj4 = 0 ;
25397 char *kwnames[] = {
25398 (char *) "self",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25399 };
25400
25401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|O:Menu_PrependMenu",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4)) goto fail;
25402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25403 {
25404 arg3 = wxString_in_helper(obj2);
25405 if (arg3 == NULL) SWIG_fail;
e811c8ce 25406 temp3 = True;
d14a1e28
RD
25407 }
25408 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25409 if (obj4) {
25410 {
25411 arg5 = wxString_in_helper(obj4);
25412 if (arg5 == NULL) SWIG_fail;
e811c8ce 25413 temp5 = True;
d14a1e28
RD
25414 }
25415 }
25416 {
25417 PyThreadState* __tstate = wxPyBeginAllowThreads();
25418 (arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
25419
25420 wxPyEndAllowThreads(__tstate);
25421 if (PyErr_Occurred()) SWIG_fail;
25422 }
25423 Py_INCREF(Py_None); resultobj = Py_None;
25424 {
25425 if (temp3)
25426 delete arg3;
25427 }
25428 {
25429 if (temp5)
25430 delete arg5;
25431 }
25432 return resultobj;
25433 fail:
25434 {
25435 if (temp3)
25436 delete arg3;
25437 }
25438 {
25439 if (temp5)
25440 delete arg5;
25441 }
25442 return NULL;
25443}
25444
25445
25446static PyObject *_wrap_Menu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
25447 PyObject *resultobj;
25448 wxMenu *arg1 = (wxMenu *) 0 ;
25449 int arg2 ;
25450 wxMenuItem *result;
25451 PyObject * obj0 = 0 ;
25452 char *kwnames[] = {
25453 (char *) "self",(char *) "itemid", NULL
25454 };
25455
25456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_Remove",kwnames,&obj0,&arg2)) goto fail;
25457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25458 {
25459 PyThreadState* __tstate = wxPyBeginAllowThreads();
25460 result = (wxMenuItem *)(arg1)->Remove(arg2);
25461
25462 wxPyEndAllowThreads(__tstate);
25463 if (PyErr_Occurred()) SWIG_fail;
25464 }
25465 {
25466 resultobj = wxPyMake_wxObject(result);
25467 }
25468 return resultobj;
25469 fail:
25470 return NULL;
25471}
25472
25473
25474static PyObject *_wrap_Menu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25475 PyObject *resultobj;
25476 wxMenu *arg1 = (wxMenu *) 0 ;
25477 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25478 wxMenuItem *result;
25479 PyObject * obj0 = 0 ;
25480 PyObject * obj1 = 0 ;
25481 char *kwnames[] = {
25482 (char *) "self",(char *) "item", NULL
25483 };
25484
25485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
25486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25487 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25488 {
25489 PyThreadState* __tstate = wxPyBeginAllowThreads();
25490 result = (wxMenuItem *)(arg1)->Remove(arg2);
25491
25492 wxPyEndAllowThreads(__tstate);
25493 if (PyErr_Occurred()) SWIG_fail;
25494 }
25495 {
25496 resultobj = wxPyMake_wxObject(result);
25497 }
25498 return resultobj;
25499 fail:
25500 return NULL;
25501}
25502
25503
25504static PyObject *_wrap_Menu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
25505 PyObject *resultobj;
25506 wxMenu *arg1 = (wxMenu *) 0 ;
25507 int arg2 ;
25508 bool result;
25509 PyObject * obj0 = 0 ;
25510 char *kwnames[] = {
25511 (char *) "self",(char *) "itemid", NULL
25512 };
25513
25514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_Delete",kwnames,&obj0,&arg2)) goto fail;
25515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25516 {
25517 PyThreadState* __tstate = wxPyBeginAllowThreads();
25518 result = (bool)(arg1)->Delete(arg2);
25519
25520 wxPyEndAllowThreads(__tstate);
25521 if (PyErr_Occurred()) SWIG_fail;
25522 }
25523 resultobj = PyInt_FromLong((long)result);
25524 return resultobj;
25525 fail:
25526 return NULL;
25527}
25528
25529
25530static PyObject *_wrap_Menu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25531 PyObject *resultobj;
25532 wxMenu *arg1 = (wxMenu *) 0 ;
25533 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25534 bool result;
25535 PyObject * obj0 = 0 ;
25536 PyObject * obj1 = 0 ;
25537 char *kwnames[] = {
25538 (char *) "self",(char *) "item", NULL
25539 };
25540
25541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
25542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25543 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25544 {
25545 PyThreadState* __tstate = wxPyBeginAllowThreads();
25546 result = (bool)(arg1)->Delete(arg2);
25547
25548 wxPyEndAllowThreads(__tstate);
25549 if (PyErr_Occurred()) SWIG_fail;
25550 }
25551 resultobj = PyInt_FromLong((long)result);
25552 return resultobj;
25553 fail:
25554 return NULL;
25555}
25556
25557
25558static PyObject *_wrap_Menu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25559 PyObject *resultobj;
25560 wxMenu *arg1 = (wxMenu *) 0 ;
25561 PyObject * obj0 = 0 ;
25562 char *kwnames[] = {
25563 (char *) "self", NULL
25564 };
25565
25566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
25567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25568 {
25569 PyThreadState* __tstate = wxPyBeginAllowThreads();
25570 wxMenu_Destroy(arg1);
25571
25572 wxPyEndAllowThreads(__tstate);
25573 if (PyErr_Occurred()) SWIG_fail;
25574 }
25575 Py_INCREF(Py_None); resultobj = Py_None;
25576 return resultobj;
25577 fail:
25578 return NULL;
25579}
25580
25581
25582static PyObject *_wrap_Menu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
25583 PyObject *resultobj;
25584 wxMenu *arg1 = (wxMenu *) 0 ;
25585 int arg2 ;
25586 bool result;
25587 PyObject * obj0 = 0 ;
25588 char *kwnames[] = {
25589 (char *) "self",(char *) "itemid", NULL
25590 };
25591
25592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_DestroyId",kwnames,&obj0,&arg2)) goto fail;
25593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25594 {
25595 PyThreadState* __tstate = wxPyBeginAllowThreads();
25596 result = (bool)(arg1)->Destroy(arg2);
25597
25598 wxPyEndAllowThreads(__tstate);
25599 if (PyErr_Occurred()) SWIG_fail;
25600 }
25601 resultobj = PyInt_FromLong((long)result);
25602 return resultobj;
25603 fail:
25604 return NULL;
25605}
25606
25607
25608static PyObject *_wrap_Menu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25609 PyObject *resultobj;
25610 wxMenu *arg1 = (wxMenu *) 0 ;
25611 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25612 bool result;
25613 PyObject * obj0 = 0 ;
25614 PyObject * obj1 = 0 ;
25615 char *kwnames[] = {
25616 (char *) "self",(char *) "item", NULL
25617 };
25618
25619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
25620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25621 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25622 {
25623 PyThreadState* __tstate = wxPyBeginAllowThreads();
25624 result = (bool)(arg1)->Destroy(arg2);
25625
25626 wxPyEndAllowThreads(__tstate);
25627 if (PyErr_Occurred()) SWIG_fail;
25628 }
25629 resultobj = PyInt_FromLong((long)result);
25630 return resultobj;
25631 fail:
25632 return NULL;
25633}
25634
25635
25636static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25637 PyObject *resultobj;
25638 wxMenu *arg1 = (wxMenu *) 0 ;
25639 size_t result;
25640 PyObject * obj0 = 0 ;
25641 char *kwnames[] = {
25642 (char *) "self", NULL
25643 };
25644
25645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
25646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25647 {
25648 PyThreadState* __tstate = wxPyBeginAllowThreads();
25649 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
25650
25651 wxPyEndAllowThreads(__tstate);
25652 if (PyErr_Occurred()) SWIG_fail;
25653 }
25654 resultobj = PyInt_FromLong((long)result);
25655 return resultobj;
25656 fail:
25657 return NULL;
25658}
25659
25660
25661static PyObject *_wrap_Menu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
25662 PyObject *resultobj;
25663 wxMenu *arg1 = (wxMenu *) 0 ;
25664 PyObject *result;
25665 PyObject * obj0 = 0 ;
25666 char *kwnames[] = {
25667 (char *) "self", NULL
25668 };
25669
25670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
25671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25672 {
25673 PyThreadState* __tstate = wxPyBeginAllowThreads();
25674 result = (PyObject *)wxMenu_GetMenuItems(arg1);
25675
25676 wxPyEndAllowThreads(__tstate);
25677 if (PyErr_Occurred()) SWIG_fail;
25678 }
25679 resultobj = result;
25680 return resultobj;
25681 fail:
25682 return NULL;
25683}
25684
25685
25686static PyObject *_wrap_Menu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25687 PyObject *resultobj;
25688 wxMenu *arg1 = (wxMenu *) 0 ;
25689 wxString *arg2 = 0 ;
25690 int result;
e811c8ce 25691 bool temp2 = False ;
d14a1e28
RD
25692 PyObject * obj0 = 0 ;
25693 PyObject * obj1 = 0 ;
25694 char *kwnames[] = {
25695 (char *) "self",(char *) "item", NULL
25696 };
25697
25698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
25699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25700 {
25701 arg2 = wxString_in_helper(obj1);
25702 if (arg2 == NULL) SWIG_fail;
e811c8ce 25703 temp2 = True;
d14a1e28
RD
25704 }
25705 {
25706 PyThreadState* __tstate = wxPyBeginAllowThreads();
25707 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
25708
25709 wxPyEndAllowThreads(__tstate);
25710 if (PyErr_Occurred()) SWIG_fail;
25711 }
25712 resultobj = PyInt_FromLong((long)result);
25713 {
25714 if (temp2)
25715 delete arg2;
25716 }
25717 return resultobj;
25718 fail:
25719 {
25720 if (temp2)
25721 delete arg2;
25722 }
25723 return NULL;
25724}
25725
25726
25727static PyObject *_wrap_Menu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
25728 PyObject *resultobj;
25729 wxMenu *arg1 = (wxMenu *) 0 ;
25730 int arg2 ;
25731 wxMenuItem *result;
25732 PyObject * obj0 = 0 ;
25733 char *kwnames[] = {
25734 (char *) "self",(char *) "itemid", NULL
25735 };
25736
25737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_FindItemById",kwnames,&obj0,&arg2)) goto fail;
25738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25739 {
25740 PyThreadState* __tstate = wxPyBeginAllowThreads();
25741 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
25742
25743 wxPyEndAllowThreads(__tstate);
25744 if (PyErr_Occurred()) SWIG_fail;
25745 }
25746 {
25747 resultobj = wxPyMake_wxObject(result);
25748 }
25749 return resultobj;
25750 fail:
25751 return NULL;
25752}
25753
25754
25755static PyObject *_wrap_Menu_FindItemByPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25756 PyObject *resultobj;
25757 wxMenu *arg1 = (wxMenu *) 0 ;
25758 size_t arg2 ;
25759 wxMenuItem *result;
25760 PyObject * obj0 = 0 ;
25761 PyObject * obj1 = 0 ;
25762 char *kwnames[] = {
25763 (char *) "self",(char *) "position", NULL
25764 };
25765
25766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
25767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25768 arg2 = (size_t) PyInt_AsLong(obj1);
25769 if (PyErr_Occurred()) SWIG_fail;
25770 {
25771 PyThreadState* __tstate = wxPyBeginAllowThreads();
25772 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
25773
25774 wxPyEndAllowThreads(__tstate);
25775 if (PyErr_Occurred()) SWIG_fail;
25776 }
25777 {
25778 resultobj = wxPyMake_wxObject(result);
25779 }
25780 return resultobj;
25781 fail:
25782 return NULL;
25783}
25784
25785
25786static PyObject *_wrap_Menu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
25787 PyObject *resultobj;
25788 wxMenu *arg1 = (wxMenu *) 0 ;
25789 int arg2 ;
25790 bool arg3 ;
25791 PyObject * obj0 = 0 ;
25792 PyObject * obj2 = 0 ;
25793 char *kwnames[] = {
25794 (char *) "self",(char *) "itemid",(char *) "enable", NULL
25795 };
25796
25797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_Enable",kwnames,&obj0,&arg2,&obj2)) goto fail;
25798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25799 arg3 = PyInt_AsLong(obj2) ? true : false;
25800 if (PyErr_Occurred()) SWIG_fail;
25801 {
25802 PyThreadState* __tstate = wxPyBeginAllowThreads();
25803 (arg1)->Enable(arg2,arg3);
25804
25805 wxPyEndAllowThreads(__tstate);
25806 if (PyErr_Occurred()) SWIG_fail;
25807 }
25808 Py_INCREF(Py_None); resultobj = Py_None;
25809 return resultobj;
25810 fail:
25811 return NULL;
25812}
25813
25814
25815static PyObject *_wrap_Menu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
25816 PyObject *resultobj;
25817 wxMenu *arg1 = (wxMenu *) 0 ;
25818 int arg2 ;
25819 bool result;
25820 PyObject * obj0 = 0 ;
25821 char *kwnames[] = {
25822 (char *) "self",(char *) "itemid", NULL
25823 };
25824
25825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_IsEnabled",kwnames,&obj0,&arg2)) goto fail;
25826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25827 {
25828 PyThreadState* __tstate = wxPyBeginAllowThreads();
25829 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
25830
25831 wxPyEndAllowThreads(__tstate);
25832 if (PyErr_Occurred()) SWIG_fail;
25833 }
25834 resultobj = PyInt_FromLong((long)result);
25835 return resultobj;
25836 fail:
25837 return NULL;
25838}
25839
25840
25841static PyObject *_wrap_Menu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
25842 PyObject *resultobj;
25843 wxMenu *arg1 = (wxMenu *) 0 ;
25844 int arg2 ;
25845 bool arg3 ;
25846 PyObject * obj0 = 0 ;
25847 PyObject * obj2 = 0 ;
25848 char *kwnames[] = {
25849 (char *) "self",(char *) "itemid",(char *) "check", NULL
25850 };
25851
25852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_Check",kwnames,&obj0,&arg2,&obj2)) goto fail;
25853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25854 arg3 = PyInt_AsLong(obj2) ? true : false;
25855 if (PyErr_Occurred()) SWIG_fail;
25856 {
25857 PyThreadState* __tstate = wxPyBeginAllowThreads();
25858 (arg1)->Check(arg2,arg3);
25859
25860 wxPyEndAllowThreads(__tstate);
25861 if (PyErr_Occurred()) SWIG_fail;
25862 }
25863 Py_INCREF(Py_None); resultobj = Py_None;
25864 return resultobj;
25865 fail:
25866 return NULL;
25867}
25868
25869
25870static PyObject *_wrap_Menu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
25871 PyObject *resultobj;
25872 wxMenu *arg1 = (wxMenu *) 0 ;
25873 int arg2 ;
25874 bool result;
25875 PyObject * obj0 = 0 ;
25876 char *kwnames[] = {
25877 (char *) "self",(char *) "itemid", NULL
25878 };
25879
25880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_IsChecked",kwnames,&obj0,&arg2)) goto fail;
25881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25882 {
25883 PyThreadState* __tstate = wxPyBeginAllowThreads();
25884 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
25885
25886 wxPyEndAllowThreads(__tstate);
25887 if (PyErr_Occurred()) SWIG_fail;
25888 }
25889 resultobj = PyInt_FromLong((long)result);
25890 return resultobj;
25891 fail:
25892 return NULL;
25893}
25894
25895
25896static PyObject *_wrap_Menu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
25897 PyObject *resultobj;
25898 wxMenu *arg1 = (wxMenu *) 0 ;
25899 int arg2 ;
25900 wxString *arg3 = 0 ;
e811c8ce 25901 bool temp3 = False ;
d14a1e28
RD
25902 PyObject * obj0 = 0 ;
25903 PyObject * obj2 = 0 ;
25904 char *kwnames[] = {
25905 (char *) "self",(char *) "itemid",(char *) "label", NULL
25906 };
25907
25908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_SetLabel",kwnames,&obj0,&arg2,&obj2)) goto fail;
25909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25910 {
25911 arg3 = wxString_in_helper(obj2);
25912 if (arg3 == NULL) SWIG_fail;
e811c8ce 25913 temp3 = True;
d14a1e28
RD
25914 }
25915 {
25916 PyThreadState* __tstate = wxPyBeginAllowThreads();
25917 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
25918
25919 wxPyEndAllowThreads(__tstate);
25920 if (PyErr_Occurred()) SWIG_fail;
25921 }
25922 Py_INCREF(Py_None); resultobj = Py_None;
25923 {
25924 if (temp3)
25925 delete arg3;
25926 }
25927 return resultobj;
25928 fail:
25929 {
25930 if (temp3)
25931 delete arg3;
25932 }
25933 return NULL;
25934}
25935
25936
25937static PyObject *_wrap_Menu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
25938 PyObject *resultobj;
25939 wxMenu *arg1 = (wxMenu *) 0 ;
25940 int arg2 ;
25941 wxString result;
25942 PyObject * obj0 = 0 ;
25943 char *kwnames[] = {
25944 (char *) "self",(char *) "itemid", NULL
25945 };
25946
25947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_GetLabel",kwnames,&obj0,&arg2)) goto fail;
25948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25949 {
25950 PyThreadState* __tstate = wxPyBeginAllowThreads();
25951 result = ((wxMenu const *)arg1)->GetLabel(arg2);
25952
25953 wxPyEndAllowThreads(__tstate);
25954 if (PyErr_Occurred()) SWIG_fail;
25955 }
25956 {
25957#if wxUSE_UNICODE
25958 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25959#else
25960 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25961#endif
25962 }
25963 return resultobj;
25964 fail:
25965 return NULL;
25966}
25967
25968
25969static PyObject *_wrap_Menu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
25970 PyObject *resultobj;
25971 wxMenu *arg1 = (wxMenu *) 0 ;
25972 int arg2 ;
25973 wxString *arg3 = 0 ;
e811c8ce 25974 bool temp3 = False ;
d14a1e28
RD
25975 PyObject * obj0 = 0 ;
25976 PyObject * obj2 = 0 ;
25977 char *kwnames[] = {
25978 (char *) "self",(char *) "itemid",(char *) "helpString", NULL
25979 };
25980
25981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_SetHelpString",kwnames,&obj0,&arg2,&obj2)) goto fail;
25982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25983 {
25984 arg3 = wxString_in_helper(obj2);
25985 if (arg3 == NULL) SWIG_fail;
e811c8ce 25986 temp3 = True;
d14a1e28
RD
25987 }
25988 {
25989 PyThreadState* __tstate = wxPyBeginAllowThreads();
25990 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
25991
25992 wxPyEndAllowThreads(__tstate);
25993 if (PyErr_Occurred()) SWIG_fail;
25994 }
25995 Py_INCREF(Py_None); resultobj = Py_None;
25996 {
25997 if (temp3)
25998 delete arg3;
25999 }
26000 return resultobj;
26001 fail:
26002 {
26003 if (temp3)
26004 delete arg3;
26005 }
26006 return NULL;
26007}
26008
26009
26010static PyObject *_wrap_Menu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
26011 PyObject *resultobj;
26012 wxMenu *arg1 = (wxMenu *) 0 ;
26013 int arg2 ;
26014 wxString result;
26015 PyObject * obj0 = 0 ;
26016 char *kwnames[] = {
26017 (char *) "self",(char *) "itemid", NULL
26018 };
26019
26020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_GetHelpString",kwnames,&obj0,&arg2)) goto fail;
26021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26022 {
26023 PyThreadState* __tstate = wxPyBeginAllowThreads();
26024 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
26025
26026 wxPyEndAllowThreads(__tstate);
26027 if (PyErr_Occurred()) SWIG_fail;
26028 }
26029 {
26030#if wxUSE_UNICODE
26031 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26032#else
26033 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26034#endif
26035 }
26036 return resultobj;
26037 fail:
26038 return NULL;
26039}
26040
26041
26042static PyObject *_wrap_Menu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
26043 PyObject *resultobj;
26044 wxMenu *arg1 = (wxMenu *) 0 ;
26045 wxString *arg2 = 0 ;
e811c8ce 26046 bool temp2 = False ;
d14a1e28
RD
26047 PyObject * obj0 = 0 ;
26048 PyObject * obj1 = 0 ;
26049 char *kwnames[] = {
26050 (char *) "self",(char *) "title", NULL
26051 };
26052
26053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
26054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26055 {
26056 arg2 = wxString_in_helper(obj1);
26057 if (arg2 == NULL) SWIG_fail;
e811c8ce 26058 temp2 = True;
d14a1e28
RD
26059 }
26060 {
26061 PyThreadState* __tstate = wxPyBeginAllowThreads();
26062 (arg1)->SetTitle((wxString const &)*arg2);
26063
26064 wxPyEndAllowThreads(__tstate);
26065 if (PyErr_Occurred()) SWIG_fail;
26066 }
26067 Py_INCREF(Py_None); resultobj = Py_None;
26068 {
26069 if (temp2)
26070 delete arg2;
26071 }
26072 return resultobj;
26073 fail:
26074 {
26075 if (temp2)
26076 delete arg2;
26077 }
26078 return NULL;
26079}
26080
26081
26082static PyObject *_wrap_Menu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
26083 PyObject *resultobj;
26084 wxMenu *arg1 = (wxMenu *) 0 ;
26085 wxString result;
26086 PyObject * obj0 = 0 ;
26087 char *kwnames[] = {
26088 (char *) "self", NULL
26089 };
26090
26091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
26092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26093 {
26094 PyThreadState* __tstate = wxPyBeginAllowThreads();
26095 result = ((wxMenu const *)arg1)->GetTitle();
26096
26097 wxPyEndAllowThreads(__tstate);
26098 if (PyErr_Occurred()) SWIG_fail;
26099 }
26100 {
26101#if wxUSE_UNICODE
26102 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26103#else
26104 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26105#endif
26106 }
26107 return resultobj;
26108 fail:
26109 return NULL;
26110}
26111
26112
26113static PyObject *_wrap_Menu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
26114 PyObject *resultobj;
26115 wxMenu *arg1 = (wxMenu *) 0 ;
26116 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
26117 PyObject * obj0 = 0 ;
26118 PyObject * obj1 = 0 ;
26119 char *kwnames[] = {
26120 (char *) "self",(char *) "handler", NULL
26121 };
26122
26123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
26124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26125 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26126 {
26127 PyThreadState* __tstate = wxPyBeginAllowThreads();
26128 (arg1)->SetEventHandler(arg2);
26129
26130 wxPyEndAllowThreads(__tstate);
26131 if (PyErr_Occurred()) SWIG_fail;
26132 }
26133 Py_INCREF(Py_None); resultobj = Py_None;
26134 return resultobj;
26135 fail:
26136 return NULL;
26137}
26138
26139
26140static PyObject *_wrap_Menu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
26141 PyObject *resultobj;
26142 wxMenu *arg1 = (wxMenu *) 0 ;
26143 wxEvtHandler *result;
26144 PyObject * obj0 = 0 ;
26145 char *kwnames[] = {
26146 (char *) "self", NULL
26147 };
26148
26149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
26150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26151 {
26152 PyThreadState* __tstate = wxPyBeginAllowThreads();
26153 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
26154
26155 wxPyEndAllowThreads(__tstate);
26156 if (PyErr_Occurred()) SWIG_fail;
26157 }
26158 {
26159 resultobj = wxPyMake_wxObject(result);
26160 }
26161 return resultobj;
26162 fail:
26163 return NULL;
26164}
26165
26166
26167static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26168 PyObject *resultobj;
26169 wxMenu *arg1 = (wxMenu *) 0 ;
26170 wxWindow *arg2 = (wxWindow *) 0 ;
26171 PyObject * obj0 = 0 ;
26172 PyObject * obj1 = 0 ;
26173 char *kwnames[] = {
26174 (char *) "self",(char *) "win", NULL
26175 };
26176
26177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
26178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26179 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26180 {
26181 PyThreadState* __tstate = wxPyBeginAllowThreads();
26182 (arg1)->SetInvokingWindow(arg2);
26183
26184 wxPyEndAllowThreads(__tstate);
26185 if (PyErr_Occurred()) SWIG_fail;
26186 }
26187 Py_INCREF(Py_None); resultobj = Py_None;
26188 return resultobj;
26189 fail:
26190 return NULL;
26191}
26192
26193
26194static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26195 PyObject *resultobj;
26196 wxMenu *arg1 = (wxMenu *) 0 ;
26197 wxWindow *result;
26198 PyObject * obj0 = 0 ;
26199 char *kwnames[] = {
26200 (char *) "self", NULL
26201 };
26202
26203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
26204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26205 {
26206 PyThreadState* __tstate = wxPyBeginAllowThreads();
26207 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
26208
26209 wxPyEndAllowThreads(__tstate);
26210 if (PyErr_Occurred()) SWIG_fail;
26211 }
26212 {
26213 resultobj = wxPyMake_wxObject(result);
26214 }
26215 return resultobj;
26216 fail:
26217 return NULL;
26218}
26219
26220
26221static PyObject *_wrap_Menu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
26222 PyObject *resultobj;
26223 wxMenu *arg1 = (wxMenu *) 0 ;
26224 long result;
26225 PyObject * obj0 = 0 ;
26226 char *kwnames[] = {
26227 (char *) "self", NULL
26228 };
26229
26230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
26231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26232 {
26233 PyThreadState* __tstate = wxPyBeginAllowThreads();
26234 result = (long)((wxMenu const *)arg1)->GetStyle();
26235
26236 wxPyEndAllowThreads(__tstate);
26237 if (PyErr_Occurred()) SWIG_fail;
26238 }
26239 resultobj = PyInt_FromLong((long)result);
26240 return resultobj;
26241 fail:
26242 return NULL;
26243}
26244
26245
26246static PyObject *_wrap_Menu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
26247 PyObject *resultobj;
26248 wxMenu *arg1 = (wxMenu *) 0 ;
26249 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
26250 PyObject * obj0 = 0 ;
26251 PyObject * obj1 = 0 ;
26252 char *kwnames[] = {
26253 (char *) "self",(char *) "source", NULL
26254 };
26255
26256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
26257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26258 if (obj1) {
26259 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26260 }
26261 {
26262 PyThreadState* __tstate = wxPyBeginAllowThreads();
26263 (arg1)->UpdateUI(arg2);
26264
26265 wxPyEndAllowThreads(__tstate);
26266 if (PyErr_Occurred()) SWIG_fail;
26267 }
26268 Py_INCREF(Py_None); resultobj = Py_None;
26269 return resultobj;
26270 fail:
26271 return NULL;
26272}
26273
26274
26275static PyObject *_wrap_Menu_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
26276 PyObject *resultobj;
26277 wxMenu *arg1 = (wxMenu *) 0 ;
26278 wxMenuBar *result;
26279 PyObject * obj0 = 0 ;
26280 char *kwnames[] = {
26281 (char *) "self", NULL
26282 };
26283
26284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
26285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26286 {
26287 PyThreadState* __tstate = wxPyBeginAllowThreads();
26288 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
26289
26290 wxPyEndAllowThreads(__tstate);
26291 if (PyErr_Occurred()) SWIG_fail;
26292 }
26293 {
26294 resultobj = wxPyMake_wxObject(result);
26295 }
26296 return resultobj;
26297 fail:
26298 return NULL;
26299}
26300
26301
26302static PyObject *_wrap_Menu_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
26303 PyObject *resultobj;
26304 wxMenu *arg1 = (wxMenu *) 0 ;
26305 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
26306 PyObject * obj0 = 0 ;
26307 PyObject * obj1 = 0 ;
26308 char *kwnames[] = {
26309 (char *) "self",(char *) "menubar", NULL
26310 };
26311
26312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
26313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26314 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26315 {
26316 PyThreadState* __tstate = wxPyBeginAllowThreads();
26317 (arg1)->Attach(arg2);
26318
26319 wxPyEndAllowThreads(__tstate);
26320 if (PyErr_Occurred()) SWIG_fail;
26321 }
26322 Py_INCREF(Py_None); resultobj = Py_None;
26323 return resultobj;
26324 fail:
26325 return NULL;
26326}
26327
26328
26329static PyObject *_wrap_Menu_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
26330 PyObject *resultobj;
26331 wxMenu *arg1 = (wxMenu *) 0 ;
26332 PyObject * obj0 = 0 ;
26333 char *kwnames[] = {
26334 (char *) "self", NULL
26335 };
26336
26337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
26338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26339 {
26340 PyThreadState* __tstate = wxPyBeginAllowThreads();
26341 (arg1)->Detach();
26342
26343 wxPyEndAllowThreads(__tstate);
26344 if (PyErr_Occurred()) SWIG_fail;
26345 }
26346 Py_INCREF(Py_None); resultobj = Py_None;
26347 return resultobj;
26348 fail:
26349 return NULL;
26350}
26351
26352
26353static PyObject *_wrap_Menu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
26354 PyObject *resultobj;
26355 wxMenu *arg1 = (wxMenu *) 0 ;
26356 bool result;
26357 PyObject * obj0 = 0 ;
26358 char *kwnames[] = {
26359 (char *) "self", NULL
26360 };
26361
26362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
26363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26364 {
26365 PyThreadState* __tstate = wxPyBeginAllowThreads();
26366 result = (bool)((wxMenu const *)arg1)->IsAttached();
26367
26368 wxPyEndAllowThreads(__tstate);
26369 if (PyErr_Occurred()) SWIG_fail;
26370 }
26371 resultobj = PyInt_FromLong((long)result);
26372 return resultobj;
26373 fail:
26374 return NULL;
26375}
26376
26377
26378static PyObject *_wrap_Menu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
26379 PyObject *resultobj;
26380 wxMenu *arg1 = (wxMenu *) 0 ;
26381 wxMenu *arg2 = (wxMenu *) 0 ;
26382 PyObject * obj0 = 0 ;
26383 PyObject * obj1 = 0 ;
26384 char *kwnames[] = {
26385 (char *) "self",(char *) "parent", NULL
26386 };
26387
26388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
26389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26390 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26391 {
26392 PyThreadState* __tstate = wxPyBeginAllowThreads();
26393 (arg1)->SetParent(arg2);
26394
26395 wxPyEndAllowThreads(__tstate);
26396 if (PyErr_Occurred()) SWIG_fail;
26397 }
26398 Py_INCREF(Py_None); resultobj = Py_None;
26399 return resultobj;
26400 fail:
26401 return NULL;
26402}
26403
26404
26405static PyObject *_wrap_Menu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
26406 PyObject *resultobj;
26407 wxMenu *arg1 = (wxMenu *) 0 ;
26408 wxMenu *result;
26409 PyObject * obj0 = 0 ;
26410 char *kwnames[] = {
26411 (char *) "self", NULL
26412 };
26413
26414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
26415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26416 {
26417 PyThreadState* __tstate = wxPyBeginAllowThreads();
26418 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
26419
26420 wxPyEndAllowThreads(__tstate);
26421 if (PyErr_Occurred()) SWIG_fail;
26422 }
26423 {
26424 resultobj = wxPyMake_wxObject(result);
26425 }
26426 return resultobj;
26427 fail:
26428 return NULL;
26429}
26430
26431
26432static PyObject * Menu_swigregister(PyObject *self, PyObject *args) {
26433 PyObject *obj;
26434 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26435 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
26436 Py_INCREF(obj);
26437 return Py_BuildValue((char *)"");
26438}
26439static PyObject *_wrap_new_MenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
26440 PyObject *resultobj;
26441 long arg1 = (long) 0 ;
26442 wxMenuBar *result;
26443 char *kwnames[] = {
26444 (char *) "style", NULL
26445 };
26446
26447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|l:new_MenuBar",kwnames,&arg1)) goto fail;
26448 {
26449 PyThreadState* __tstate = wxPyBeginAllowThreads();
26450 result = (wxMenuBar *)new wxMenuBar(arg1);
26451
26452 wxPyEndAllowThreads(__tstate);
26453 if (PyErr_Occurred()) SWIG_fail;
26454 }
26455 {
26456 resultobj = wxPyMake_wxObject(result);
26457 }
26458 return resultobj;
26459 fail:
26460 return NULL;
26461}
26462
26463
26464static PyObject *_wrap_MenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
26465 PyObject *resultobj;
26466 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26467 wxMenu *arg2 = (wxMenu *) 0 ;
26468 wxString *arg3 = 0 ;
26469 bool result;
e811c8ce 26470 bool temp3 = False ;
d14a1e28
RD
26471 PyObject * obj0 = 0 ;
26472 PyObject * obj1 = 0 ;
26473 PyObject * obj2 = 0 ;
26474 char *kwnames[] = {
26475 (char *) "self",(char *) "menu",(char *) "title", NULL
26476 };
26477
26478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
26479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26480 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26481 {
26482 arg3 = wxString_in_helper(obj2);
26483 if (arg3 == NULL) SWIG_fail;
e811c8ce 26484 temp3 = True;
d14a1e28
RD
26485 }
26486 {
26487 PyThreadState* __tstate = wxPyBeginAllowThreads();
26488 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
26489
26490 wxPyEndAllowThreads(__tstate);
26491 if (PyErr_Occurred()) SWIG_fail;
26492 }
26493 resultobj = PyInt_FromLong((long)result);
26494 {
26495 if (temp3)
26496 delete arg3;
26497 }
26498 return resultobj;
26499 fail:
26500 {
26501 if (temp3)
26502 delete arg3;
26503 }
26504 return NULL;
26505}
26506
26507
26508static PyObject *_wrap_MenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
26509 PyObject *resultobj;
26510 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26511 size_t arg2 ;
26512 wxMenu *arg3 = (wxMenu *) 0 ;
26513 wxString *arg4 = 0 ;
26514 bool result;
e811c8ce 26515 bool temp4 = False ;
d14a1e28
RD
26516 PyObject * obj0 = 0 ;
26517 PyObject * obj1 = 0 ;
26518 PyObject * obj2 = 0 ;
26519 PyObject * obj3 = 0 ;
26520 char *kwnames[] = {
26521 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26522 };
26523
26524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26526 arg2 = (size_t) PyInt_AsLong(obj1);
26527 if (PyErr_Occurred()) SWIG_fail;
26528 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26529 {
26530 arg4 = wxString_in_helper(obj3);
26531 if (arg4 == NULL) SWIG_fail;
e811c8ce 26532 temp4 = True;
d14a1e28
RD
26533 }
26534 {
26535 PyThreadState* __tstate = wxPyBeginAllowThreads();
26536 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
26537
26538 wxPyEndAllowThreads(__tstate);
26539 if (PyErr_Occurred()) SWIG_fail;
26540 }
26541 resultobj = PyInt_FromLong((long)result);
26542 {
26543 if (temp4)
26544 delete arg4;
26545 }
26546 return resultobj;
26547 fail:
26548 {
26549 if (temp4)
26550 delete arg4;
26551 }
26552 return NULL;
26553}
26554
26555
26556static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
26557 PyObject *resultobj;
26558 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26559 size_t result;
26560 PyObject * obj0 = 0 ;
26561 char *kwnames[] = {
26562 (char *) "self", NULL
26563 };
26564
26565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
26566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26567 {
26568 PyThreadState* __tstate = wxPyBeginAllowThreads();
26569 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
26570
26571 wxPyEndAllowThreads(__tstate);
26572 if (PyErr_Occurred()) SWIG_fail;
26573 }
26574 resultobj = PyInt_FromLong((long)result);
26575 return resultobj;
26576 fail:
26577 return NULL;
26578}
26579
26580
26581static PyObject *_wrap_MenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
26582 PyObject *resultobj;
26583 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26584 size_t arg2 ;
26585 wxMenu *result;
26586 PyObject * obj0 = 0 ;
26587 PyObject * obj1 = 0 ;
26588 char *kwnames[] = {
26589 (char *) "self",(char *) "pos", NULL
26590 };
26591
26592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
26593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26594 arg2 = (size_t) PyInt_AsLong(obj1);
26595 if (PyErr_Occurred()) SWIG_fail;
26596 {
26597 PyThreadState* __tstate = wxPyBeginAllowThreads();
26598 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
26599
26600 wxPyEndAllowThreads(__tstate);
26601 if (PyErr_Occurred()) SWIG_fail;
26602 }
26603 {
26604 resultobj = wxPyMake_wxObject(result);
26605 }
26606 return resultobj;
26607 fail:
26608 return NULL;
26609}
26610
26611
26612static PyObject *_wrap_MenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
26613 PyObject *resultobj;
26614 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26615 size_t arg2 ;
26616 wxMenu *arg3 = (wxMenu *) 0 ;
26617 wxString *arg4 = 0 ;
26618 wxMenu *result;
e811c8ce 26619 bool temp4 = False ;
d14a1e28
RD
26620 PyObject * obj0 = 0 ;
26621 PyObject * obj1 = 0 ;
26622 PyObject * obj2 = 0 ;
26623 PyObject * obj3 = 0 ;
26624 char *kwnames[] = {
26625 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26626 };
26627
26628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26630 arg2 = (size_t) PyInt_AsLong(obj1);
26631 if (PyErr_Occurred()) SWIG_fail;
26632 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26633 {
26634 arg4 = wxString_in_helper(obj3);
26635 if (arg4 == NULL) SWIG_fail;
e811c8ce 26636 temp4 = True;
d14a1e28
RD
26637 }
26638 {
26639 PyThreadState* __tstate = wxPyBeginAllowThreads();
26640 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
26641
26642 wxPyEndAllowThreads(__tstate);
26643 if (PyErr_Occurred()) SWIG_fail;
26644 }
26645 {
26646 resultobj = wxPyMake_wxObject(result);
26647 }
26648 {
26649 if (temp4)
26650 delete arg4;
26651 }
26652 return resultobj;
26653 fail:
26654 {
26655 if (temp4)
26656 delete arg4;
26657 }
26658 return NULL;
26659}
26660
26661
26662static PyObject *_wrap_MenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
26663 PyObject *resultobj;
26664 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26665 size_t arg2 ;
26666 wxMenu *result;
26667 PyObject * obj0 = 0 ;
26668 PyObject * obj1 = 0 ;
26669 char *kwnames[] = {
26670 (char *) "self",(char *) "pos", NULL
26671 };
26672
26673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
26674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26675 arg2 = (size_t) PyInt_AsLong(obj1);
26676 if (PyErr_Occurred()) SWIG_fail;
26677 {
26678 PyThreadState* __tstate = wxPyBeginAllowThreads();
26679 result = (wxMenu *)(arg1)->Remove(arg2);
26680
26681 wxPyEndAllowThreads(__tstate);
26682 if (PyErr_Occurred()) SWIG_fail;
26683 }
26684 {
26685 resultobj = wxPyMake_wxObject(result);
26686 }
26687 return resultobj;
26688 fail:
26689 return NULL;
26690}
26691
26692
26693static PyObject *_wrap_MenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
26694 PyObject *resultobj;
26695 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26696 size_t arg2 ;
26697 bool arg3 ;
26698 PyObject * obj0 = 0 ;
26699 PyObject * obj1 = 0 ;
26700 PyObject * obj2 = 0 ;
26701 char *kwnames[] = {
26702 (char *) "self",(char *) "pos",(char *) "enable", NULL
26703 };
26704
26705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26707 arg2 = (size_t) PyInt_AsLong(obj1);
26708 if (PyErr_Occurred()) SWIG_fail;
26709 arg3 = PyInt_AsLong(obj2) ? true : false;
26710 if (PyErr_Occurred()) SWIG_fail;
26711 {
26712 PyThreadState* __tstate = wxPyBeginAllowThreads();
26713 (arg1)->EnableTop(arg2,arg3);
26714
26715 wxPyEndAllowThreads(__tstate);
26716 if (PyErr_Occurred()) SWIG_fail;
26717 }
26718 Py_INCREF(Py_None); resultobj = Py_None;
26719 return resultobj;
26720 fail:
26721 return NULL;
26722}
26723
26724
26725static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *self, PyObject *args, PyObject *kwargs) {
26726 PyObject *resultobj;
26727 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26728 size_t arg2 ;
26729 bool result;
26730 PyObject * obj0 = 0 ;
26731 PyObject * obj1 = 0 ;
26732 char *kwnames[] = {
26733 (char *) "self",(char *) "pos", NULL
26734 };
26735
26736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
26737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26738 arg2 = (size_t) PyInt_AsLong(obj1);
26739 if (PyErr_Occurred()) SWIG_fail;
26740 {
26741 PyThreadState* __tstate = wxPyBeginAllowThreads();
26742 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
26743
26744 wxPyEndAllowThreads(__tstate);
26745 if (PyErr_Occurred()) SWIG_fail;
26746 }
26747 resultobj = PyInt_FromLong((long)result);
26748 return resultobj;
26749 fail:
26750 return NULL;
26751}
26752
26753
26754static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
26755 PyObject *resultobj;
26756 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26757 size_t arg2 ;
26758 wxString *arg3 = 0 ;
e811c8ce 26759 bool temp3 = False ;
d14a1e28
RD
26760 PyObject * obj0 = 0 ;
26761 PyObject * obj1 = 0 ;
26762 PyObject * obj2 = 0 ;
26763 char *kwnames[] = {
26764 (char *) "self",(char *) "pos",(char *) "label", NULL
26765 };
26766
26767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26769 arg2 = (size_t) PyInt_AsLong(obj1);
26770 if (PyErr_Occurred()) SWIG_fail;
26771 {
26772 arg3 = wxString_in_helper(obj2);
26773 if (arg3 == NULL) SWIG_fail;
e811c8ce 26774 temp3 = True;
d14a1e28
RD
26775 }
26776 {
26777 PyThreadState* __tstate = wxPyBeginAllowThreads();
26778 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
26779
26780 wxPyEndAllowThreads(__tstate);
26781 if (PyErr_Occurred()) SWIG_fail;
26782 }
26783 Py_INCREF(Py_None); resultobj = Py_None;
26784 {
26785 if (temp3)
26786 delete arg3;
26787 }
26788 return resultobj;
26789 fail:
26790 {
26791 if (temp3)
26792 delete arg3;
26793 }
26794 return NULL;
26795}
26796
26797
26798static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
26799 PyObject *resultobj;
26800 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26801 size_t arg2 ;
26802 wxString result;
26803 PyObject * obj0 = 0 ;
26804 PyObject * obj1 = 0 ;
26805 char *kwnames[] = {
26806 (char *) "self",(char *) "pos", NULL
26807 };
26808
26809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
26810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26811 arg2 = (size_t) PyInt_AsLong(obj1);
26812 if (PyErr_Occurred()) SWIG_fail;
26813 {
26814 PyThreadState* __tstate = wxPyBeginAllowThreads();
26815 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
26816
26817 wxPyEndAllowThreads(__tstate);
26818 if (PyErr_Occurred()) SWIG_fail;
26819 }
26820 {
26821#if wxUSE_UNICODE
26822 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26823#else
26824 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26825#endif
26826 }
26827 return resultobj;
26828 fail:
26829 return NULL;
26830}
26831
26832
26833static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26834 PyObject *resultobj;
26835 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26836 wxString *arg2 = 0 ;
26837 wxString *arg3 = 0 ;
26838 int result;
e811c8ce
RD
26839 bool temp2 = False ;
26840 bool temp3 = False ;
d14a1e28
RD
26841 PyObject * obj0 = 0 ;
26842 PyObject * obj1 = 0 ;
26843 PyObject * obj2 = 0 ;
26844 char *kwnames[] = {
26845 (char *) "self",(char *) "menu",(char *) "item", NULL
26846 };
26847
26848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26850 {
26851 arg2 = wxString_in_helper(obj1);
26852 if (arg2 == NULL) SWIG_fail;
e811c8ce 26853 temp2 = True;
d14a1e28
RD
26854 }
26855 {
26856 arg3 = wxString_in_helper(obj2);
26857 if (arg3 == NULL) SWIG_fail;
e811c8ce 26858 temp3 = True;
d14a1e28
RD
26859 }
26860 {
26861 PyThreadState* __tstate = wxPyBeginAllowThreads();
26862 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
26863
26864 wxPyEndAllowThreads(__tstate);
26865 if (PyErr_Occurred()) SWIG_fail;
26866 }
26867 resultobj = PyInt_FromLong((long)result);
26868 {
26869 if (temp2)
26870 delete arg2;
26871 }
26872 {
26873 if (temp3)
26874 delete arg3;
26875 }
26876 return resultobj;
26877 fail:
26878 {
26879 if (temp2)
26880 delete arg2;
26881 }
26882 {
26883 if (temp3)
26884 delete arg3;
26885 }
26886 return NULL;
26887}
26888
26889
26890static PyObject *_wrap_MenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
26891 PyObject *resultobj;
26892 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26893 int arg2 ;
26894 wxMenuItem *result;
26895 PyObject * obj0 = 0 ;
26896 char *kwnames[] = {
26897 (char *) "self",(char *) "itemid", NULL
26898 };
26899
26900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_FindItemById",kwnames,&obj0,&arg2)) goto fail;
26901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26902 {
26903 PyThreadState* __tstate = wxPyBeginAllowThreads();
26904 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
26905
26906 wxPyEndAllowThreads(__tstate);
26907 if (PyErr_Occurred()) SWIG_fail;
26908 }
26909 {
26910 resultobj = wxPyMake_wxObject(result);
26911 }
26912 return resultobj;
26913 fail:
26914 return NULL;
26915}
26916
26917
26918static PyObject *_wrap_MenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
26919 PyObject *resultobj;
26920 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26921 wxString *arg2 = 0 ;
26922 int result;
e811c8ce 26923 bool temp2 = False ;
d14a1e28
RD
26924 PyObject * obj0 = 0 ;
26925 PyObject * obj1 = 0 ;
26926 char *kwnames[] = {
26927 (char *) "self",(char *) "title", NULL
26928 };
26929
26930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
26931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26932 {
26933 arg2 = wxString_in_helper(obj1);
26934 if (arg2 == NULL) SWIG_fail;
e811c8ce 26935 temp2 = True;
d14a1e28
RD
26936 }
26937 {
26938 PyThreadState* __tstate = wxPyBeginAllowThreads();
26939 result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2);
26940
26941 wxPyEndAllowThreads(__tstate);
26942 if (PyErr_Occurred()) SWIG_fail;
26943 }
26944 resultobj = PyInt_FromLong((long)result);
26945 {
26946 if (temp2)
26947 delete arg2;
26948 }
26949 return resultobj;
26950 fail:
26951 {
26952 if (temp2)
26953 delete arg2;
26954 }
26955 return NULL;
26956}
26957
26958
26959static PyObject *_wrap_MenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
26960 PyObject *resultobj;
26961 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26962 int arg2 ;
26963 bool arg3 ;
26964 PyObject * obj0 = 0 ;
26965 PyObject * obj2 = 0 ;
26966 char *kwnames[] = {
26967 (char *) "self",(char *) "itemid",(char *) "enable", NULL
26968 };
26969
26970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_Enable",kwnames,&obj0,&arg2,&obj2)) goto fail;
26971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26972 arg3 = PyInt_AsLong(obj2) ? true : false;
26973 if (PyErr_Occurred()) SWIG_fail;
26974 {
26975 PyThreadState* __tstate = wxPyBeginAllowThreads();
26976 (arg1)->Enable(arg2,arg3);
26977
26978 wxPyEndAllowThreads(__tstate);
26979 if (PyErr_Occurred()) SWIG_fail;
26980 }
26981 Py_INCREF(Py_None); resultobj = Py_None;
26982 return resultobj;
26983 fail:
26984 return NULL;
26985}
26986
26987
26988static PyObject *_wrap_MenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
26989 PyObject *resultobj;
26990 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26991 int arg2 ;
26992 bool arg3 ;
26993 PyObject * obj0 = 0 ;
26994 PyObject * obj2 = 0 ;
26995 char *kwnames[] = {
26996 (char *) "self",(char *) "itemid",(char *) "check", NULL
26997 };
26998
26999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_Check",kwnames,&obj0,&arg2,&obj2)) goto fail;
27000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27001 arg3 = PyInt_AsLong(obj2) ? true : false;
27002 if (PyErr_Occurred()) SWIG_fail;
27003 {
27004 PyThreadState* __tstate = wxPyBeginAllowThreads();
27005 (arg1)->Check(arg2,arg3);
27006
27007 wxPyEndAllowThreads(__tstate);
27008 if (PyErr_Occurred()) SWIG_fail;
27009 }
27010 Py_INCREF(Py_None); resultobj = Py_None;
27011 return resultobj;
27012 fail:
27013 return NULL;
27014}
27015
27016
27017static PyObject *_wrap_MenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
27018 PyObject *resultobj;
27019 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27020 int arg2 ;
27021 bool result;
27022 PyObject * obj0 = 0 ;
27023 char *kwnames[] = {
27024 (char *) "self",(char *) "itemid", NULL
27025 };
27026
27027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_IsChecked",kwnames,&obj0,&arg2)) goto fail;
27028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27029 {
27030 PyThreadState* __tstate = wxPyBeginAllowThreads();
27031 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
27032
27033 wxPyEndAllowThreads(__tstate);
27034 if (PyErr_Occurred()) SWIG_fail;
27035 }
27036 resultobj = PyInt_FromLong((long)result);
27037 return resultobj;
27038 fail:
27039 return NULL;
27040}
27041
27042
27043static PyObject *_wrap_MenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
27044 PyObject *resultobj;
27045 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27046 int arg2 ;
27047 bool result;
27048 PyObject * obj0 = 0 ;
27049 char *kwnames[] = {
27050 (char *) "self",(char *) "itemid", NULL
27051 };
27052
27053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_IsEnabled",kwnames,&obj0,&arg2)) goto fail;
27054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27055 {
27056 PyThreadState* __tstate = wxPyBeginAllowThreads();
27057 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
27058
27059 wxPyEndAllowThreads(__tstate);
27060 if (PyErr_Occurred()) SWIG_fail;
27061 }
27062 resultobj = PyInt_FromLong((long)result);
27063 return resultobj;
27064 fail:
27065 return NULL;
27066}
27067
27068
27069static PyObject *_wrap_MenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27070 PyObject *resultobj;
27071 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27072 int arg2 ;
27073 wxString *arg3 = 0 ;
e811c8ce 27074 bool temp3 = False ;
d14a1e28
RD
27075 PyObject * obj0 = 0 ;
27076 PyObject * obj2 = 0 ;
27077 char *kwnames[] = {
27078 (char *) "self",(char *) "itemid",(char *) "label", NULL
27079 };
27080
27081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_SetLabel",kwnames,&obj0,&arg2,&obj2)) goto fail;
27082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27083 {
27084 arg3 = wxString_in_helper(obj2);
27085 if (arg3 == NULL) SWIG_fail;
e811c8ce 27086 temp3 = True;
d14a1e28
RD
27087 }
27088 {
27089 PyThreadState* __tstate = wxPyBeginAllowThreads();
27090 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
27091
27092 wxPyEndAllowThreads(__tstate);
27093 if (PyErr_Occurred()) SWIG_fail;
27094 }
27095 Py_INCREF(Py_None); resultobj = Py_None;
27096 {
27097 if (temp3)
27098 delete arg3;
27099 }
27100 return resultobj;
27101 fail:
27102 {
27103 if (temp3)
27104 delete arg3;
27105 }
27106 return NULL;
27107}
27108
27109
27110static PyObject *_wrap_MenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27111 PyObject *resultobj;
27112 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27113 int arg2 ;
27114 wxString result;
27115 PyObject * obj0 = 0 ;
27116 char *kwnames[] = {
27117 (char *) "self",(char *) "itemid", NULL
27118 };
27119
27120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_GetLabel",kwnames,&obj0,&arg2)) goto fail;
27121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27122 {
27123 PyThreadState* __tstate = wxPyBeginAllowThreads();
27124 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
27125
27126 wxPyEndAllowThreads(__tstate);
27127 if (PyErr_Occurred()) SWIG_fail;
27128 }
27129 {
27130#if wxUSE_UNICODE
27131 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27132#else
27133 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27134#endif
27135 }
27136 return resultobj;
27137 fail:
27138 return NULL;
27139}
27140
27141
27142static PyObject *_wrap_MenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
27143 PyObject *resultobj;
27144 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27145 int arg2 ;
27146 wxString *arg3 = 0 ;
e811c8ce 27147 bool temp3 = False ;
d14a1e28
RD
27148 PyObject * obj0 = 0 ;
27149 PyObject * obj2 = 0 ;
27150 char *kwnames[] = {
27151 (char *) "self",(char *) "itemid",(char *) "helpString", NULL
27152 };
27153
27154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_SetHelpString",kwnames,&obj0,&arg2,&obj2)) goto fail;
27155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27156 {
27157 arg3 = wxString_in_helper(obj2);
27158 if (arg3 == NULL) SWIG_fail;
e811c8ce 27159 temp3 = True;
d14a1e28
RD
27160 }
27161 {
27162 PyThreadState* __tstate = wxPyBeginAllowThreads();
27163 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
27164
27165 wxPyEndAllowThreads(__tstate);
27166 if (PyErr_Occurred()) SWIG_fail;
27167 }
27168 Py_INCREF(Py_None); resultobj = Py_None;
27169 {
27170 if (temp3)
27171 delete arg3;
27172 }
27173 return resultobj;
27174 fail:
27175 {
27176 if (temp3)
27177 delete arg3;
27178 }
27179 return NULL;
27180}
27181
27182
27183static PyObject *_wrap_MenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
27184 PyObject *resultobj;
27185 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27186 int arg2 ;
27187 wxString result;
27188 PyObject * obj0 = 0 ;
27189 char *kwnames[] = {
27190 (char *) "self",(char *) "itemid", NULL
27191 };
27192
27193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_GetHelpString",kwnames,&obj0,&arg2)) goto fail;
27194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27195 {
27196 PyThreadState* __tstate = wxPyBeginAllowThreads();
27197 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
27198
27199 wxPyEndAllowThreads(__tstate);
27200 if (PyErr_Occurred()) SWIG_fail;
27201 }
27202 {
27203#if wxUSE_UNICODE
27204 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27205#else
27206 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27207#endif
27208 }
27209 return resultobj;
27210 fail:
27211 return NULL;
27212}
27213
27214
27215static PyObject *_wrap_MenuBar_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
27216 PyObject *resultobj;
27217 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27218 wxFrame *result;
27219 PyObject * obj0 = 0 ;
27220 char *kwnames[] = {
27221 (char *) "self", NULL
27222 };
27223
27224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
27225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27226 {
27227 PyThreadState* __tstate = wxPyBeginAllowThreads();
27228 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
27229
27230 wxPyEndAllowThreads(__tstate);
27231 if (PyErr_Occurred()) SWIG_fail;
27232 }
27233 {
27234 resultobj = wxPyMake_wxObject(result);
27235 }
27236 return resultobj;
27237 fail:
27238 return NULL;
27239}
27240
27241
27242static PyObject *_wrap_MenuBar_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
27243 PyObject *resultobj;
27244 wxMenuBar *arg1 = (wxMenuBar *) 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:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
27252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27253 {
27254 PyThreadState* __tstate = wxPyBeginAllowThreads();
27255 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
27256
27257 wxPyEndAllowThreads(__tstate);
27258 if (PyErr_Occurred()) SWIG_fail;
27259 }
27260 resultobj = PyInt_FromLong((long)result);
27261 return resultobj;
27262 fail:
27263 return NULL;
27264}
27265
27266
27267static PyObject *_wrap_MenuBar_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
27268 PyObject *resultobj;
27269 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27270 wxFrame *arg2 = (wxFrame *) 0 ;
27271 PyObject * obj0 = 0 ;
27272 PyObject * obj1 = 0 ;
27273 char *kwnames[] = {
27274 (char *) "self",(char *) "frame", NULL
27275 };
27276
27277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
27278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27279 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27280 {
27281 PyThreadState* __tstate = wxPyBeginAllowThreads();
27282 (arg1)->Attach(arg2);
27283
27284 wxPyEndAllowThreads(__tstate);
27285 if (PyErr_Occurred()) SWIG_fail;
27286 }
27287 Py_INCREF(Py_None); resultobj = Py_None;
27288 return resultobj;
27289 fail:
27290 return NULL;
27291}
27292
27293
27294static PyObject *_wrap_MenuBar_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
27295 PyObject *resultobj;
27296 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27297 PyObject * obj0 = 0 ;
27298 char *kwnames[] = {
27299 (char *) "self", NULL
27300 };
27301
27302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
27303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27304 {
27305 PyThreadState* __tstate = wxPyBeginAllowThreads();
27306 (arg1)->Detach();
27307
27308 wxPyEndAllowThreads(__tstate);
27309 if (PyErr_Occurred()) SWIG_fail;
27310 }
27311 Py_INCREF(Py_None); resultobj = Py_None;
27312 return resultobj;
27313 fail:
27314 return NULL;
27315}
27316
27317
27318static PyObject * MenuBar_swigregister(PyObject *self, PyObject *args) {
27319 PyObject *obj;
27320 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27321 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
27322 Py_INCREF(obj);
27323 return Py_BuildValue((char *)"");
27324}
27325static PyObject *_wrap_new_MenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27326 PyObject *resultobj;
27327 wxMenu *arg1 = (wxMenu *) NULL ;
27328 int arg2 = (int) wxID_SEPARATOR ;
27329 wxString const &arg3_defvalue = wxPyEmptyString ;
27330 wxString *arg3 = (wxString *) &arg3_defvalue ;
27331 wxString const &arg4_defvalue = wxPyEmptyString ;
27332 wxString *arg4 = (wxString *) &arg4_defvalue ;
27333 int arg5 = (int) wxITEM_NORMAL ;
27334 wxMenu *arg6 = (wxMenu *) NULL ;
27335 wxMenuItem *result;
e811c8ce
RD
27336 bool temp3 = False ;
27337 bool temp4 = False ;
d14a1e28
RD
27338 PyObject * obj0 = 0 ;
27339 PyObject * obj2 = 0 ;
27340 PyObject * obj3 = 0 ;
27341 PyObject * obj5 = 0 ;
27342 char *kwnames[] = {
27343 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
27344 };
27345
27346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OiOOiO:new_MenuItem",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
27347 if (obj0) {
27348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27349 }
27350 if (obj2) {
27351 {
27352 arg3 = wxString_in_helper(obj2);
27353 if (arg3 == NULL) SWIG_fail;
e811c8ce 27354 temp3 = True;
d14a1e28
RD
27355 }
27356 }
27357 if (obj3) {
27358 {
27359 arg4 = wxString_in_helper(obj3);
27360 if (arg4 == NULL) SWIG_fail;
e811c8ce 27361 temp4 = True;
d14a1e28
RD
27362 }
27363 }
27364 if (obj5) {
27365 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27366 }
27367 {
27368 PyThreadState* __tstate = wxPyBeginAllowThreads();
27369 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
27370
27371 wxPyEndAllowThreads(__tstate);
27372 if (PyErr_Occurred()) SWIG_fail;
27373 }
27374 {
27375 resultobj = wxPyMake_wxObject(result);
27376 }
27377 {
27378 if (temp3)
27379 delete arg3;
27380 }
27381 {
27382 if (temp4)
27383 delete arg4;
27384 }
27385 return resultobj;
27386 fail:
27387 {
27388 if (temp3)
27389 delete arg3;
27390 }
27391 {
27392 if (temp4)
27393 delete arg4;
27394 }
27395 return NULL;
27396}
27397
27398
27399static PyObject *_wrap_MenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27400 PyObject *resultobj;
27401 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27402 wxMenu *result;
27403 PyObject * obj0 = 0 ;
27404 char *kwnames[] = {
27405 (char *) "self", NULL
27406 };
27407
27408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
27409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27410 {
27411 PyThreadState* __tstate = wxPyBeginAllowThreads();
27412 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
27413
27414 wxPyEndAllowThreads(__tstate);
27415 if (PyErr_Occurred()) SWIG_fail;
27416 }
27417 {
27418 resultobj = wxPyMake_wxObject(result);
27419 }
27420 return resultobj;
27421 fail:
27422 return NULL;
27423}
27424
27425
27426static PyObject *_wrap_MenuItem_SetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27427 PyObject *resultobj;
27428 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27429 wxMenu *arg2 = (wxMenu *) 0 ;
27430 PyObject * obj0 = 0 ;
27431 PyObject * obj1 = 0 ;
27432 char *kwnames[] = {
27433 (char *) "self",(char *) "menu", NULL
27434 };
27435
27436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
27437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27438 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27439 {
27440 PyThreadState* __tstate = wxPyBeginAllowThreads();
27441 (arg1)->SetMenu(arg2);
27442
27443 wxPyEndAllowThreads(__tstate);
27444 if (PyErr_Occurred()) SWIG_fail;
27445 }
27446 Py_INCREF(Py_None); resultobj = Py_None;
27447 return resultobj;
27448 fail:
27449 return NULL;
27450}
27451
27452
27453static PyObject *_wrap_MenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
27454 PyObject *resultobj;
27455 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27456 int arg2 ;
27457 PyObject * obj0 = 0 ;
27458 char *kwnames[] = {
27459 (char *) "self",(char *) "itemid", NULL
27460 };
27461
27462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuItem_SetId",kwnames,&obj0,&arg2)) goto fail;
27463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27464 {
27465 PyThreadState* __tstate = wxPyBeginAllowThreads();
27466 (arg1)->SetId(arg2);
27467
27468 wxPyEndAllowThreads(__tstate);
27469 if (PyErr_Occurred()) SWIG_fail;
27470 }
27471 Py_INCREF(Py_None); resultobj = Py_None;
27472 return resultobj;
27473 fail:
27474 return NULL;
27475}
27476
27477
27478static PyObject *_wrap_MenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
27479 PyObject *resultobj;
27480 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27481 int result;
27482 PyObject * obj0 = 0 ;
27483 char *kwnames[] = {
27484 (char *) "self", NULL
27485 };
27486
27487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
27488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27489 {
27490 PyThreadState* __tstate = wxPyBeginAllowThreads();
27491 result = (int)((wxMenuItem const *)arg1)->GetId();
27492
27493 wxPyEndAllowThreads(__tstate);
27494 if (PyErr_Occurred()) SWIG_fail;
27495 }
27496 resultobj = PyInt_FromLong((long)result);
27497 return resultobj;
27498 fail:
27499 return NULL;
27500}
27501
27502
27503static PyObject *_wrap_MenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
27504 PyObject *resultobj;
27505 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27506 bool result;
27507 PyObject * obj0 = 0 ;
27508 char *kwnames[] = {
27509 (char *) "self", NULL
27510 };
27511
27512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
27513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27514 {
27515 PyThreadState* __tstate = wxPyBeginAllowThreads();
27516 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
27517
27518 wxPyEndAllowThreads(__tstate);
27519 if (PyErr_Occurred()) SWIG_fail;
27520 }
27521 resultobj = PyInt_FromLong((long)result);
27522 return resultobj;
27523 fail:
27524 return NULL;
27525}
27526
27527
27528static PyObject *_wrap_MenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
27529 PyObject *resultobj;
27530 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27531 wxString *arg2 = 0 ;
e811c8ce 27532 bool temp2 = False ;
d14a1e28
RD
27533 PyObject * obj0 = 0 ;
27534 PyObject * obj1 = 0 ;
27535 char *kwnames[] = {
27536 (char *) "self",(char *) "str", NULL
27537 };
27538
27539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
27540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27541 {
27542 arg2 = wxString_in_helper(obj1);
27543 if (arg2 == NULL) SWIG_fail;
e811c8ce 27544 temp2 = True;
d14a1e28
RD
27545 }
27546 {
27547 PyThreadState* __tstate = wxPyBeginAllowThreads();
27548 (arg1)->SetText((wxString const &)*arg2);
27549
27550 wxPyEndAllowThreads(__tstate);
27551 if (PyErr_Occurred()) SWIG_fail;
27552 }
27553 Py_INCREF(Py_None); resultobj = Py_None;
27554 {
27555 if (temp2)
27556 delete arg2;
27557 }
27558 return resultobj;
27559 fail:
27560 {
27561 if (temp2)
27562 delete arg2;
27563 }
27564 return NULL;
27565}
27566
27567
27568static PyObject *_wrap_MenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27569 PyObject *resultobj;
27570 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27571 wxString result;
27572 PyObject * obj0 = 0 ;
27573 char *kwnames[] = {
27574 (char *) "self", NULL
27575 };
27576
27577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
27578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27579 {
27580 PyThreadState* __tstate = wxPyBeginAllowThreads();
27581 result = ((wxMenuItem const *)arg1)->GetLabel();
27582
27583 wxPyEndAllowThreads(__tstate);
27584 if (PyErr_Occurred()) SWIG_fail;
27585 }
27586 {
27587#if wxUSE_UNICODE
27588 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27589#else
27590 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27591#endif
27592 }
27593 return resultobj;
27594 fail:
27595 return NULL;
27596}
27597
27598
27599static PyObject *_wrap_MenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
27600 PyObject *resultobj;
27601 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27602 wxString *result;
27603 PyObject * obj0 = 0 ;
27604 char *kwnames[] = {
27605 (char *) "self", NULL
27606 };
27607
27608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
27609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27610 {
27611 PyThreadState* __tstate = wxPyBeginAllowThreads();
27612 {
27613 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
27614 result = (wxString *) &_result_ref;
27615 }
27616
27617 wxPyEndAllowThreads(__tstate);
27618 if (PyErr_Occurred()) SWIG_fail;
27619 }
27620 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
27621 return resultobj;
27622 fail:
27623 return NULL;
27624}
27625
27626
27627static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
27628 PyObject *resultobj;
27629 wxString *arg1 = 0 ;
27630 wxString result;
e811c8ce 27631 bool temp1 = False ;
d14a1e28
RD
27632 PyObject * obj0 = 0 ;
27633 char *kwnames[] = {
27634 (char *) "text", NULL
27635 };
27636
27637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
27638 {
27639 arg1 = wxString_in_helper(obj0);
27640 if (arg1 == NULL) SWIG_fail;
e811c8ce 27641 temp1 = True;
d14a1e28
RD
27642 }
27643 {
27644 PyThreadState* __tstate = wxPyBeginAllowThreads();
27645 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
27646
27647 wxPyEndAllowThreads(__tstate);
27648 if (PyErr_Occurred()) SWIG_fail;
27649 }
27650 {
27651#if wxUSE_UNICODE
27652 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27653#else
27654 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27655#endif
27656 }
27657 {
27658 if (temp1)
27659 delete arg1;
27660 }
27661 return resultobj;
27662 fail:
27663 {
27664 if (temp1)
27665 delete arg1;
27666 }
27667 return NULL;
27668}
27669
27670
27671static PyObject *_wrap_MenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
27672 PyObject *resultobj;
27673 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27674 int result;
27675 PyObject * obj0 = 0 ;
27676 char *kwnames[] = {
27677 (char *) "self", NULL
27678 };
27679
27680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
27681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27682 {
27683 PyThreadState* __tstate = wxPyBeginAllowThreads();
27684 result = (int)((wxMenuItem const *)arg1)->GetKind();
27685
27686 wxPyEndAllowThreads(__tstate);
27687 if (PyErr_Occurred()) SWIG_fail;
27688 }
27689 resultobj = PyInt_FromLong((long)result);
27690 return resultobj;
27691 fail:
27692 return NULL;
27693}
27694
27695
27696static PyObject *_wrap_MenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
27697 PyObject *resultobj;
27698 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27699 bool arg2 ;
27700 PyObject * obj0 = 0 ;
27701 PyObject * obj1 = 0 ;
27702 char *kwnames[] = {
27703 (char *) "self",(char *) "checkable", NULL
27704 };
27705
27706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
27707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27708 arg2 = PyInt_AsLong(obj1) ? true : false;
27709 if (PyErr_Occurred()) SWIG_fail;
27710 {
27711 PyThreadState* __tstate = wxPyBeginAllowThreads();
27712 (arg1)->SetCheckable(arg2);
27713
27714 wxPyEndAllowThreads(__tstate);
27715 if (PyErr_Occurred()) SWIG_fail;
27716 }
27717 Py_INCREF(Py_None); resultobj = Py_None;
27718 return resultobj;
27719 fail:
27720 return NULL;
27721}
27722
27723
27724static PyObject *_wrap_MenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
27725 PyObject *resultobj;
27726 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27727 bool result;
27728 PyObject * obj0 = 0 ;
27729 char *kwnames[] = {
27730 (char *) "self", NULL
27731 };
27732
27733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
27734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27735 {
27736 PyThreadState* __tstate = wxPyBeginAllowThreads();
27737 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
27738
27739 wxPyEndAllowThreads(__tstate);
27740 if (PyErr_Occurred()) SWIG_fail;
27741 }
27742 resultobj = PyInt_FromLong((long)result);
27743 return resultobj;
27744 fail:
27745 return NULL;
27746}
27747
27748
27749static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27750 PyObject *resultobj;
27751 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27752 bool result;
27753 PyObject * obj0 = 0 ;
27754 char *kwnames[] = {
27755 (char *) "self", NULL
27756 };
27757
27758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
27759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27760 {
27761 PyThreadState* __tstate = wxPyBeginAllowThreads();
27762 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
27763
27764 wxPyEndAllowThreads(__tstate);
27765 if (PyErr_Occurred()) SWIG_fail;
27766 }
27767 resultobj = PyInt_FromLong((long)result);
27768 return resultobj;
27769 fail:
27770 return NULL;
27771}
27772
27773
27774static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27775 PyObject *resultobj;
27776 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27777 wxMenu *arg2 = (wxMenu *) 0 ;
27778 PyObject * obj0 = 0 ;
27779 PyObject * obj1 = 0 ;
27780 char *kwnames[] = {
27781 (char *) "self",(char *) "menu", NULL
27782 };
27783
27784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
27785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27786 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27787 {
27788 PyThreadState* __tstate = wxPyBeginAllowThreads();
27789 (arg1)->SetSubMenu(arg2);
27790
27791 wxPyEndAllowThreads(__tstate);
27792 if (PyErr_Occurred()) SWIG_fail;
27793 }
27794 Py_INCREF(Py_None); resultobj = Py_None;
27795 return resultobj;
27796 fail:
27797 return NULL;
27798}
27799
27800
27801static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27802 PyObject *resultobj;
27803 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27804 wxMenu *result;
27805 PyObject * obj0 = 0 ;
27806 char *kwnames[] = {
27807 (char *) "self", NULL
27808 };
27809
27810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
27811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27812 {
27813 PyThreadState* __tstate = wxPyBeginAllowThreads();
27814 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
27815
27816 wxPyEndAllowThreads(__tstate);
27817 if (PyErr_Occurred()) SWIG_fail;
27818 }
27819 {
27820 resultobj = wxPyMake_wxObject(result);
27821 }
27822 return resultobj;
27823 fail:
27824 return NULL;
27825}
27826
27827
27828static PyObject *_wrap_MenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
27829 PyObject *resultobj;
27830 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
e811c8ce 27831 bool arg2 = (bool) True ;
d14a1e28
RD
27832 PyObject * obj0 = 0 ;
27833 PyObject * obj1 = 0 ;
27834 char *kwnames[] = {
27835 (char *) "self",(char *) "enable", NULL
27836 };
27837
27838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
27839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27840 if (obj1) {
27841 arg2 = PyInt_AsLong(obj1) ? true : false;
27842 if (PyErr_Occurred()) SWIG_fail;
27843 }
27844 {
27845 PyThreadState* __tstate = wxPyBeginAllowThreads();
27846 (arg1)->Enable(arg2);
27847
27848 wxPyEndAllowThreads(__tstate);
27849 if (PyErr_Occurred()) SWIG_fail;
27850 }
27851 Py_INCREF(Py_None); resultobj = Py_None;
27852 return resultobj;
27853 fail:
27854 return NULL;
27855}
27856
27857
27858static PyObject *_wrap_MenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
27859 PyObject *resultobj;
27860 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27861 bool result;
27862 PyObject * obj0 = 0 ;
27863 char *kwnames[] = {
27864 (char *) "self", NULL
27865 };
27866
27867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
27868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27869 {
27870 PyThreadState* __tstate = wxPyBeginAllowThreads();
27871 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
27872
27873 wxPyEndAllowThreads(__tstate);
27874 if (PyErr_Occurred()) SWIG_fail;
27875 }
27876 resultobj = PyInt_FromLong((long)result);
27877 return resultobj;
27878 fail:
27879 return NULL;
27880}
27881
27882
27883static PyObject *_wrap_MenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
27884 PyObject *resultobj;
27885 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
e811c8ce 27886 bool arg2 = (bool) True ;
d14a1e28
RD
27887 PyObject * obj0 = 0 ;
27888 PyObject * obj1 = 0 ;
27889 char *kwnames[] = {
27890 (char *) "self",(char *) "check", NULL
27891 };
27892
27893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
27894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27895 if (obj1) {
27896 arg2 = PyInt_AsLong(obj1) ? true : false;
27897 if (PyErr_Occurred()) SWIG_fail;
27898 }
27899 {
27900 PyThreadState* __tstate = wxPyBeginAllowThreads();
27901 (arg1)->Check(arg2);
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_MenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
27914 PyObject *resultobj;
27915 wxMenuItem *arg1 = (wxMenuItem *) 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:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
27923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27924 {
27925 PyThreadState* __tstate = wxPyBeginAllowThreads();
27926 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
27927
27928 wxPyEndAllowThreads(__tstate);
27929 if (PyErr_Occurred()) SWIG_fail;
27930 }
27931 resultobj = PyInt_FromLong((long)result);
27932 return resultobj;
27933 fail:
27934 return NULL;
27935}
27936
27937
27938static PyObject *_wrap_MenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
27939 PyObject *resultobj;
27940 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27941 PyObject * obj0 = 0 ;
27942 char *kwnames[] = {
27943 (char *) "self", NULL
27944 };
27945
27946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
27947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27948 {
27949 PyThreadState* __tstate = wxPyBeginAllowThreads();
27950 (arg1)->Toggle();
27951
27952 wxPyEndAllowThreads(__tstate);
27953 if (PyErr_Occurred()) SWIG_fail;
27954 }
27955 Py_INCREF(Py_None); resultobj = Py_None;
27956 return resultobj;
27957 fail:
27958 return NULL;
27959}
27960
27961
27962static PyObject *_wrap_MenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
27963 PyObject *resultobj;
27964 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27965 wxString *arg2 = 0 ;
e811c8ce 27966 bool temp2 = False ;
d14a1e28
RD
27967 PyObject * obj0 = 0 ;
27968 PyObject * obj1 = 0 ;
27969 char *kwnames[] = {
27970 (char *) "self",(char *) "str", NULL
27971 };
27972
27973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
27974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27975 {
27976 arg2 = wxString_in_helper(obj1);
27977 if (arg2 == NULL) SWIG_fail;
e811c8ce 27978 temp2 = True;
d14a1e28
RD
27979 }
27980 {
27981 PyThreadState* __tstate = wxPyBeginAllowThreads();
27982 (arg1)->SetHelp((wxString const &)*arg2);
27983
27984 wxPyEndAllowThreads(__tstate);
27985 if (PyErr_Occurred()) SWIG_fail;
27986 }
27987 Py_INCREF(Py_None); resultobj = Py_None;
27988 {
27989 if (temp2)
27990 delete arg2;
27991 }
27992 return resultobj;
27993 fail:
27994 {
27995 if (temp2)
27996 delete arg2;
27997 }
27998 return NULL;
27999}
28000
28001
28002static PyObject *_wrap_MenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28003 PyObject *resultobj;
28004 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28005 wxString *result;
28006 PyObject * obj0 = 0 ;
28007 char *kwnames[] = {
28008 (char *) "self", NULL
28009 };
28010
28011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
28012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28013 {
28014 PyThreadState* __tstate = wxPyBeginAllowThreads();
28015 {
28016 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
28017 result = (wxString *) &_result_ref;
28018 }
28019
28020 wxPyEndAllowThreads(__tstate);
28021 if (PyErr_Occurred()) SWIG_fail;
28022 }
28023 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
28024 return resultobj;
28025 fail:
28026 return NULL;
28027}
28028
28029
28030static PyObject *_wrap_MenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
28031 PyObject *resultobj;
28032 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28033 wxAcceleratorEntry *result;
28034 PyObject * obj0 = 0 ;
28035 char *kwnames[] = {
28036 (char *) "self", NULL
28037 };
28038
28039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
28040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28041 {
28042 PyThreadState* __tstate = wxPyBeginAllowThreads();
28043 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
28044
28045 wxPyEndAllowThreads(__tstate);
28046 if (PyErr_Occurred()) SWIG_fail;
28047 }
28048 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 0);
28049 return resultobj;
28050 fail:
28051 return NULL;
28052}
28053
28054
28055static PyObject *_wrap_MenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
28056 PyObject *resultobj;
28057 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28058 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
28059 PyObject * obj0 = 0 ;
28060 PyObject * obj1 = 0 ;
28061 char *kwnames[] = {
28062 (char *) "self",(char *) "accel", NULL
28063 };
28064
28065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
28066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28067 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28068 {
28069 PyThreadState* __tstate = wxPyBeginAllowThreads();
28070 (arg1)->SetAccel(arg2);
28071
28072 wxPyEndAllowThreads(__tstate);
28073 if (PyErr_Occurred()) SWIG_fail;
28074 }
28075 Py_INCREF(Py_None); resultobj = Py_None;
28076 return resultobj;
28077 fail:
28078 return NULL;
28079}
28080
28081
28082static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
28083 PyObject *resultobj;
28084 int result;
28085 char *kwnames[] = {
28086 NULL
28087 };
28088
28089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
28090 {
28091 PyThreadState* __tstate = wxPyBeginAllowThreads();
28092 result = (int)MenuItem_GetDefaultMarginWidth();
28093
28094 wxPyEndAllowThreads(__tstate);
28095 if (PyErr_Occurred()) SWIG_fail;
28096 }
28097 resultobj = PyInt_FromLong((long)result);
28098 return resultobj;
28099 fail:
28100 return NULL;
28101}
28102
28103
28104static PyObject *_wrap_MenuItem_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28105 PyObject *resultobj;
28106 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28107 wxBitmap *arg2 = 0 ;
28108 PyObject * obj0 = 0 ;
28109 PyObject * obj1 = 0 ;
28110 char *kwnames[] = {
28111 (char *) "self",(char *) "bitmap", NULL
28112 };
28113
28114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
28115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28116 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28117 if (arg2 == NULL) {
28118 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28119 }
28120 {
28121 PyThreadState* __tstate = wxPyBeginAllowThreads();
28122 (arg1)->SetBitmap((wxBitmap const &)*arg2);
28123
28124 wxPyEndAllowThreads(__tstate);
28125 if (PyErr_Occurred()) SWIG_fail;
28126 }
28127 Py_INCREF(Py_None); resultobj = Py_None;
28128 return resultobj;
28129 fail:
28130 return NULL;
28131}
28132
28133
28134static PyObject *_wrap_MenuItem_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28135 PyObject *resultobj;
28136 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28137 wxBitmap *result;
28138 PyObject * obj0 = 0 ;
28139 char *kwnames[] = {
28140 (char *) "self", NULL
28141 };
28142
28143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
28144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28145 {
28146 PyThreadState* __tstate = wxPyBeginAllowThreads();
28147 {
28148 wxBitmap const &_result_ref = (arg1)->GetBitmap();
28149 result = (wxBitmap *) &_result_ref;
28150 }
28151
28152 wxPyEndAllowThreads(__tstate);
28153 if (PyErr_Occurred()) SWIG_fail;
28154 }
28155 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
28156 return resultobj;
28157 fail:
28158 return NULL;
28159}
28160
28161
28162static PyObject * MenuItem_swigregister(PyObject *self, PyObject *args) {
28163 PyObject *obj;
28164 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28165 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
28166 Py_INCREF(obj);
28167 return Py_BuildValue((char *)"");
28168}
28169static PyObject *_wrap_new_Control(PyObject *self, PyObject *args, PyObject *kwargs) {
28170 PyObject *resultobj;
28171 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 28172 int arg2 ;
d14a1e28
RD
28173 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28174 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28175 wxSize const &arg4_defvalue = wxDefaultSize ;
28176 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28177 long arg5 = (long) 0 ;
28178 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28179 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28180 wxString const &arg7_defvalue = wxPyControlNameStr ;
28181 wxString *arg7 = (wxString *) &arg7_defvalue ;
28182 wxControl *result;
28183 wxPoint temp3 ;
28184 wxSize temp4 ;
e811c8ce 28185 bool temp7 = False ;
d14a1e28
RD
28186 PyObject * obj0 = 0 ;
28187 PyObject * obj2 = 0 ;
28188 PyObject * obj3 = 0 ;
28189 PyObject * obj5 = 0 ;
28190 PyObject * obj6 = 0 ;
28191 char *kwnames[] = {
28192 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28193 };
28194
28195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_Control",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
28196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28197 if (obj2) {
28198 {
28199 arg3 = &temp3;
28200 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28201 }
28202 }
28203 if (obj3) {
28204 {
28205 arg4 = &temp4;
28206 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28207 }
28208 }
28209 if (obj5) {
28210 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28211 if (arg6 == NULL) {
28212 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28213 }
28214 }
28215 if (obj6) {
28216 {
28217 arg7 = wxString_in_helper(obj6);
28218 if (arg7 == NULL) SWIG_fail;
e811c8ce 28219 temp7 = True;
d14a1e28
RD
28220 }
28221 }
28222 {
28223 PyThreadState* __tstate = wxPyBeginAllowThreads();
28224 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28225
28226 wxPyEndAllowThreads(__tstate);
28227 if (PyErr_Occurred()) SWIG_fail;
28228 }
28229 {
28230 resultobj = wxPyMake_wxObject(result);
28231 }
28232 {
28233 if (temp7)
28234 delete arg7;
28235 }
28236 return resultobj;
28237 fail:
28238 {
28239 if (temp7)
28240 delete arg7;
28241 }
28242 return NULL;
28243}
28244
28245
28246static PyObject *_wrap_new_PreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
28247 PyObject *resultobj;
28248 wxControl *result;
28249 char *kwnames[] = {
28250 NULL
28251 };
28252
28253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
28254 {
28255 PyThreadState* __tstate = wxPyBeginAllowThreads();
28256 result = (wxControl *)new wxControl();
28257
28258 wxPyEndAllowThreads(__tstate);
28259 if (PyErr_Occurred()) SWIG_fail;
28260 }
28261 {
28262 resultobj = wxPyMake_wxObject(result);
28263 }
28264 return resultobj;
28265 fail:
28266 return NULL;
28267}
28268
28269
28270static PyObject *_wrap_Control_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
28271 PyObject *resultobj;
28272 wxControl *arg1 = (wxControl *) 0 ;
28273 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 28274 int arg3 ;
d14a1e28
RD
28275 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28276 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28277 wxSize const &arg5_defvalue = wxDefaultSize ;
28278 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28279 long arg6 = (long) 0 ;
28280 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28281 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28282 wxString const &arg8_defvalue = wxPyControlNameStr ;
28283 wxString *arg8 = (wxString *) &arg8_defvalue ;
28284 bool result;
28285 wxPoint temp4 ;
28286 wxSize temp5 ;
e811c8ce 28287 bool temp8 = False ;
d14a1e28
RD
28288 PyObject * obj0 = 0 ;
28289 PyObject * obj1 = 0 ;
28290 PyObject * obj3 = 0 ;
28291 PyObject * obj4 = 0 ;
28292 PyObject * obj6 = 0 ;
28293 PyObject * obj7 = 0 ;
28294 char *kwnames[] = {
28295 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28296 };
28297
28298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlOO:Control_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
28299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28300 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28301 if (obj3) {
28302 {
28303 arg4 = &temp4;
28304 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28305 }
28306 }
28307 if (obj4) {
28308 {
28309 arg5 = &temp5;
28310 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28311 }
28312 }
28313 if (obj6) {
28314 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28315 if (arg7 == NULL) {
28316 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28317 }
28318 }
28319 if (obj7) {
28320 {
28321 arg8 = wxString_in_helper(obj7);
28322 if (arg8 == NULL) SWIG_fail;
e811c8ce 28323 temp8 = True;
d14a1e28
RD
28324 }
28325 }
28326 {
28327 PyThreadState* __tstate = wxPyBeginAllowThreads();
28328 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28329
28330 wxPyEndAllowThreads(__tstate);
28331 if (PyErr_Occurred()) SWIG_fail;
28332 }
28333 resultobj = PyInt_FromLong((long)result);
28334 {
28335 if (temp8)
28336 delete arg8;
28337 }
28338 return resultobj;
28339 fail:
28340 {
28341 if (temp8)
28342 delete arg8;
28343 }
28344 return NULL;
28345}
28346
28347
28348static PyObject *_wrap_Control_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
28349 PyObject *resultobj;
28350 wxControl *arg1 = (wxControl *) 0 ;
28351 wxCommandEvent *arg2 = 0 ;
28352 PyObject * obj0 = 0 ;
28353 PyObject * obj1 = 0 ;
28354 char *kwnames[] = {
28355 (char *) "self",(char *) "event", NULL
28356 };
28357
28358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
28359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28360 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28361 if (arg2 == NULL) {
28362 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28363 }
28364 {
28365 PyThreadState* __tstate = wxPyBeginAllowThreads();
28366 (arg1)->Command(*arg2);
28367
28368 wxPyEndAllowThreads(__tstate);
28369 if (PyErr_Occurred()) SWIG_fail;
28370 }
28371 Py_INCREF(Py_None); resultobj = Py_None;
28372 return resultobj;
28373 fail:
28374 return NULL;
28375}
28376
28377
28378static PyObject *_wrap_Control_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28379 PyObject *resultobj;
28380 wxControl *arg1 = (wxControl *) 0 ;
28381 wxString result;
28382 PyObject * obj0 = 0 ;
28383 char *kwnames[] = {
28384 (char *) "self", NULL
28385 };
28386
28387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
28388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28389 {
28390 PyThreadState* __tstate = wxPyBeginAllowThreads();
28391 result = (arg1)->GetLabel();
28392
28393 wxPyEndAllowThreads(__tstate);
28394 if (PyErr_Occurred()) SWIG_fail;
28395 }
28396 {
28397#if wxUSE_UNICODE
28398 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28399#else
28400 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28401#endif
28402 }
28403 return resultobj;
28404 fail:
28405 return NULL;
28406}
28407
28408
28409static PyObject *_wrap_Control_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28410 PyObject *resultobj;
28411 wxControl *arg1 = (wxControl *) 0 ;
28412 wxString *arg2 = 0 ;
e811c8ce 28413 bool temp2 = False ;
d14a1e28
RD
28414 PyObject * obj0 = 0 ;
28415 PyObject * obj1 = 0 ;
28416 char *kwnames[] = {
28417 (char *) "self",(char *) "label", NULL
28418 };
28419
28420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
28421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28422 {
28423 arg2 = wxString_in_helper(obj1);
28424 if (arg2 == NULL) SWIG_fail;
e811c8ce 28425 temp2 = True;
d14a1e28
RD
28426 }
28427 {
28428 PyThreadState* __tstate = wxPyBeginAllowThreads();
28429 (arg1)->SetLabel((wxString const &)*arg2);
28430
28431 wxPyEndAllowThreads(__tstate);
28432 if (PyErr_Occurred()) SWIG_fail;
28433 }
28434 Py_INCREF(Py_None); resultobj = Py_None;
28435 {
28436 if (temp2)
28437 delete arg2;
28438 }
28439 return resultobj;
28440 fail:
28441 {
28442 if (temp2)
28443 delete arg2;
28444 }
28445 return NULL;
28446}
28447
28448
28449static PyObject * Control_swigregister(PyObject *self, PyObject *args) {
28450 PyObject *obj;
28451 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28452 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
28453 Py_INCREF(obj);
28454 return Py_BuildValue((char *)"");
28455}
28456static PyObject *_wrap_ItemContainer_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
28457 PyObject *resultobj;
28458 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28459 wxString *arg2 = 0 ;
28460 PyObject *arg3 = (PyObject *) NULL ;
28461 int result;
e811c8ce 28462 bool temp2 = False ;
d14a1e28
RD
28463 PyObject * obj0 = 0 ;
28464 PyObject * obj1 = 0 ;
28465 PyObject * obj2 = 0 ;
28466 char *kwnames[] = {
28467 (char *) "self",(char *) "item",(char *) "clientData", NULL
28468 };
28469
28470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
28471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28472 {
28473 arg2 = wxString_in_helper(obj1);
28474 if (arg2 == NULL) SWIG_fail;
e811c8ce 28475 temp2 = True;
d14a1e28
RD
28476 }
28477 if (obj2) {
28478 arg3 = obj2;
28479 }
28480 {
28481 PyThreadState* __tstate = wxPyBeginAllowThreads();
28482 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
28483
28484 wxPyEndAllowThreads(__tstate);
28485 if (PyErr_Occurred()) SWIG_fail;
28486 }
28487 resultobj = PyInt_FromLong((long)result);
28488 {
28489 if (temp2)
28490 delete arg2;
28491 }
28492 return resultobj;
28493 fail:
28494 {
28495 if (temp2)
28496 delete arg2;
28497 }
28498 return NULL;
28499}
28500
28501
28502static PyObject *_wrap_ItemContainer_AppendItems(PyObject *self, PyObject *args, PyObject *kwargs) {
28503 PyObject *resultobj;
28504 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28505 wxArrayString *arg2 = 0 ;
28506 PyObject * obj0 = 0 ;
28507 PyObject * obj1 = 0 ;
28508 char *kwnames[] = {
28509 (char *) "self",(char *) "strings", NULL
28510 };
28511
28512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
28513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28514 {
28515 if (! PySequence_Check(obj1)) {
28516 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
28517 SWIG_fail;
28518 }
28519 arg2 = new wxArrayString;
28520 int i, len=PySequence_Length(obj1);
28521 for (i=0; i<len; i++) {
28522 PyObject* item = PySequence_GetItem(obj1, i);
28523#if wxUSE_UNICODE
28524 PyObject* str = PyObject_Unicode(item);
28525#else
28526 PyObject* str = PyObject_Str(item);
28527#endif
28528 arg2->Add(Py2wxString(str));
28529 Py_DECREF(item);
28530 Py_DECREF(str);
28531 }
28532 }
28533 {
28534 PyThreadState* __tstate = wxPyBeginAllowThreads();
28535 (arg1)->Append((wxArrayString const &)*arg2);
28536
28537 wxPyEndAllowThreads(__tstate);
28538 if (PyErr_Occurred()) SWIG_fail;
28539 }
28540 Py_INCREF(Py_None); resultobj = Py_None;
28541 {
28542 if (arg2) delete arg2;
28543 }
28544 return resultobj;
28545 fail:
28546 {
28547 if (arg2) delete arg2;
28548 }
28549 return NULL;
28550}
28551
28552
28553static PyObject *_wrap_ItemContainer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
28554 PyObject *resultobj;
28555 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28556 wxString *arg2 = 0 ;
28557 int arg3 ;
28558 PyObject *arg4 = (PyObject *) NULL ;
28559 int result;
e811c8ce 28560 bool temp2 = False ;
d14a1e28
RD
28561 PyObject * obj0 = 0 ;
28562 PyObject * obj1 = 0 ;
28563 PyObject * obj3 = 0 ;
28564 char *kwnames[] = {
28565 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
28566 };
28567
28568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
28569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28570 {
28571 arg2 = wxString_in_helper(obj1);
28572 if (arg2 == NULL) SWIG_fail;
e811c8ce 28573 temp2 = True;
d14a1e28
RD
28574 }
28575 if (obj3) {
28576 arg4 = obj3;
28577 }
28578 {
28579 PyThreadState* __tstate = wxPyBeginAllowThreads();
28580 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
28581
28582 wxPyEndAllowThreads(__tstate);
28583 if (PyErr_Occurred()) SWIG_fail;
28584 }
28585 resultobj = PyInt_FromLong((long)result);
28586 {
28587 if (temp2)
28588 delete arg2;
28589 }
28590 return resultobj;
28591 fail:
28592 {
28593 if (temp2)
28594 delete arg2;
28595 }
28596 return NULL;
28597}
28598
28599
28600static PyObject *_wrap_ItemContainer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
28601 PyObject *resultobj;
28602 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28603 PyObject * obj0 = 0 ;
28604 char *kwnames[] = {
28605 (char *) "self", NULL
28606 };
28607
28608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
28609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28610 {
28611 PyThreadState* __tstate = wxPyBeginAllowThreads();
28612 (arg1)->Clear();
28613
28614 wxPyEndAllowThreads(__tstate);
28615 if (PyErr_Occurred()) SWIG_fail;
28616 }
28617 Py_INCREF(Py_None); resultobj = Py_None;
28618 return resultobj;
28619 fail:
28620 return NULL;
28621}
28622
28623
28624static PyObject *_wrap_ItemContainer_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
28625 PyObject *resultobj;
28626 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28627 int arg2 ;
28628 PyObject * obj0 = 0 ;
28629 char *kwnames[] = {
28630 (char *) "self",(char *) "n", NULL
28631 };
28632
28633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_Delete",kwnames,&obj0,&arg2)) goto fail;
28634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28635 {
28636 PyThreadState* __tstate = wxPyBeginAllowThreads();
28637 (arg1)->Delete(arg2);
28638
28639 wxPyEndAllowThreads(__tstate);
28640 if (PyErr_Occurred()) SWIG_fail;
28641 }
28642 Py_INCREF(Py_None); resultobj = Py_None;
28643 return resultobj;
28644 fail:
28645 return NULL;
28646}
28647
28648
28649static PyObject *_wrap_ItemContainer_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
28650 PyObject *resultobj;
28651 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28652 int result;
28653 PyObject * obj0 = 0 ;
28654 char *kwnames[] = {
28655 (char *) "self", NULL
28656 };
28657
28658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
28659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28660 {
28661 PyThreadState* __tstate = wxPyBeginAllowThreads();
28662 result = (int)((wxItemContainer const *)arg1)->GetCount();
28663
28664 wxPyEndAllowThreads(__tstate);
28665 if (PyErr_Occurred()) SWIG_fail;
28666 }
28667 resultobj = PyInt_FromLong((long)result);
28668 return resultobj;
28669 fail:
28670 return NULL;
28671}
28672
28673
28674static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
28675 PyObject *resultobj;
28676 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28677 bool result;
28678 PyObject * obj0 = 0 ;
28679 char *kwnames[] = {
28680 (char *) "self", NULL
28681 };
28682
28683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
28684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28685 {
28686 PyThreadState* __tstate = wxPyBeginAllowThreads();
28687 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
28688
28689 wxPyEndAllowThreads(__tstate);
28690 if (PyErr_Occurred()) SWIG_fail;
28691 }
28692 resultobj = PyInt_FromLong((long)result);
28693 return resultobj;
28694 fail:
28695 return NULL;
28696}
28697
28698
28699static PyObject *_wrap_ItemContainer_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
28700 PyObject *resultobj;
28701 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28702 int arg2 ;
28703 wxString result;
28704 PyObject * obj0 = 0 ;
28705 char *kwnames[] = {
28706 (char *) "self",(char *) "n", NULL
28707 };
28708
28709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_GetString",kwnames,&obj0,&arg2)) goto fail;
28710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28711 {
28712 PyThreadState* __tstate = wxPyBeginAllowThreads();
28713 result = ((wxItemContainer const *)arg1)->GetString(arg2);
28714
28715 wxPyEndAllowThreads(__tstate);
28716 if (PyErr_Occurred()) SWIG_fail;
28717 }
28718 {
28719#if wxUSE_UNICODE
28720 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28721#else
28722 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28723#endif
28724 }
28725 return resultobj;
28726 fail:
28727 return NULL;
28728}
28729
28730
28731static PyObject *_wrap_ItemContainer_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
28732 PyObject *resultobj;
28733 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28734 wxArrayString result;
28735 PyObject * obj0 = 0 ;
28736 char *kwnames[] = {
28737 (char *) "self", NULL
28738 };
28739
28740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
28741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28742 {
28743 PyThreadState* __tstate = wxPyBeginAllowThreads();
28744 result = ((wxItemContainer const *)arg1)->GetStrings();
28745
28746 wxPyEndAllowThreads(__tstate);
28747 if (PyErr_Occurred()) SWIG_fail;
28748 }
28749 {
28750 resultobj = wxArrayString2PyList_helper(result);
28751 }
28752 return resultobj;
28753 fail:
28754 return NULL;
28755}
28756
28757
28758static PyObject *_wrap_ItemContainer_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
28759 PyObject *resultobj;
28760 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28761 int arg2 ;
28762 wxString *arg3 = 0 ;
e811c8ce 28763 bool temp3 = False ;
d14a1e28
RD
28764 PyObject * obj0 = 0 ;
28765 PyObject * obj2 = 0 ;
28766 char *kwnames[] = {
28767 (char *) "self",(char *) "n",(char *) "s", NULL
28768 };
28769
28770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ItemContainer_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
28771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28772 {
28773 arg3 = wxString_in_helper(obj2);
28774 if (arg3 == NULL) SWIG_fail;
e811c8ce 28775 temp3 = True;
d14a1e28
RD
28776 }
28777 {
28778 PyThreadState* __tstate = wxPyBeginAllowThreads();
28779 (arg1)->SetString(arg2,(wxString const &)*arg3);
28780
28781 wxPyEndAllowThreads(__tstate);
28782 if (PyErr_Occurred()) SWIG_fail;
28783 }
28784 Py_INCREF(Py_None); resultobj = Py_None;
28785 {
28786 if (temp3)
28787 delete arg3;
28788 }
28789 return resultobj;
28790 fail:
28791 {
28792 if (temp3)
28793 delete arg3;
28794 }
28795 return NULL;
28796}
28797
28798
28799static PyObject *_wrap_ItemContainer_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
28800 PyObject *resultobj;
28801 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28802 wxString *arg2 = 0 ;
28803 int result;
e811c8ce 28804 bool temp2 = False ;
d14a1e28
RD
28805 PyObject * obj0 = 0 ;
28806 PyObject * obj1 = 0 ;
28807 char *kwnames[] = {
28808 (char *) "self",(char *) "s", NULL
28809 };
28810
28811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
28812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28813 {
28814 arg2 = wxString_in_helper(obj1);
28815 if (arg2 == NULL) SWIG_fail;
e811c8ce 28816 temp2 = True;
d14a1e28
RD
28817 }
28818 {
28819 PyThreadState* __tstate = wxPyBeginAllowThreads();
28820 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
28821
28822 wxPyEndAllowThreads(__tstate);
28823 if (PyErr_Occurred()) SWIG_fail;
28824 }
28825 resultobj = PyInt_FromLong((long)result);
28826 {
28827 if (temp2)
28828 delete arg2;
28829 }
28830 return resultobj;
28831 fail:
28832 {
28833 if (temp2)
28834 delete arg2;
28835 }
28836 return NULL;
28837}
28838
28839
28840static PyObject *_wrap_ItemContainer_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
28841 PyObject *resultobj;
28842 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28843 int arg2 ;
28844 PyObject * obj0 = 0 ;
28845 char *kwnames[] = {
28846 (char *) "self",(char *) "n", NULL
28847 };
28848
28849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_Select",kwnames,&obj0,&arg2)) goto fail;
28850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28851 {
28852 PyThreadState* __tstate = wxPyBeginAllowThreads();
28853 (arg1)->Select(arg2);
28854
28855 wxPyEndAllowThreads(__tstate);
28856 if (PyErr_Occurred()) SWIG_fail;
28857 }
28858 Py_INCREF(Py_None); resultobj = Py_None;
28859 return resultobj;
28860 fail:
28861 return NULL;
28862}
28863
28864
28865static PyObject *_wrap_ItemContainer_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
28866 PyObject *resultobj;
28867 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28868 int result;
28869 PyObject * obj0 = 0 ;
28870 char *kwnames[] = {
28871 (char *) "self", NULL
28872 };
28873
28874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
28875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28876 {
28877 PyThreadState* __tstate = wxPyBeginAllowThreads();
28878 result = (int)((wxItemContainer const *)arg1)->GetSelection();
28879
28880 wxPyEndAllowThreads(__tstate);
28881 if (PyErr_Occurred()) SWIG_fail;
28882 }
28883 resultobj = PyInt_FromLong((long)result);
28884 return resultobj;
28885 fail:
28886 return NULL;
28887}
28888
28889
28890static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
28891 PyObject *resultobj;
28892 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28893 wxString result;
28894 PyObject * obj0 = 0 ;
28895 char *kwnames[] = {
28896 (char *) "self", NULL
28897 };
28898
28899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
28900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28901 {
28902 PyThreadState* __tstate = wxPyBeginAllowThreads();
28903 result = ((wxItemContainer const *)arg1)->GetStringSelection();
28904
28905 wxPyEndAllowThreads(__tstate);
28906 if (PyErr_Occurred()) SWIG_fail;
28907 }
28908 {
28909#if wxUSE_UNICODE
28910 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28911#else
28912 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28913#endif
28914 }
28915 return resultobj;
28916 fail:
28917 return NULL;
28918}
28919
28920
28921static PyObject *_wrap_ItemContainer_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
28922 PyObject *resultobj;
28923 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28924 int arg2 ;
28925 PyObject *result;
28926 PyObject * obj0 = 0 ;
28927 char *kwnames[] = {
28928 (char *) "self",(char *) "n", NULL
28929 };
28930
28931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_GetClientData",kwnames,&obj0,&arg2)) goto fail;
28932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28933 {
28934 PyThreadState* __tstate = wxPyBeginAllowThreads();
28935 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
28936
28937 wxPyEndAllowThreads(__tstate);
28938 if (PyErr_Occurred()) SWIG_fail;
28939 }
28940 resultobj = result;
28941 return resultobj;
28942 fail:
28943 return NULL;
28944}
28945
28946
28947static PyObject *_wrap_ItemContainer_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
28948 PyObject *resultobj;
28949 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28950 int arg2 ;
28951 PyObject *arg3 = (PyObject *) 0 ;
28952 PyObject * obj0 = 0 ;
28953 PyObject * obj2 = 0 ;
28954 char *kwnames[] = {
28955 (char *) "self",(char *) "n",(char *) "clientData", NULL
28956 };
28957
28958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ItemContainer_SetClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
28959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28960 arg3 = obj2;
28961 {
28962 PyThreadState* __tstate = wxPyBeginAllowThreads();
28963 wxItemContainer_SetClientData(arg1,arg2,arg3);
28964
28965 wxPyEndAllowThreads(__tstate);
28966 if (PyErr_Occurred()) SWIG_fail;
28967 }
28968 Py_INCREF(Py_None); resultobj = Py_None;
28969 return resultobj;
28970 fail:
28971 return NULL;
28972}
28973
28974
28975static PyObject * ItemContainer_swigregister(PyObject *self, PyObject *args) {
28976 PyObject *obj;
28977 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28978 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
28979 Py_INCREF(obj);
28980 return Py_BuildValue((char *)"");
28981}
28982static PyObject * ControlWithItems_swigregister(PyObject *self, PyObject *args) {
28983 PyObject *obj;
28984 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28985 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
28986 Py_INCREF(obj);
28987 return Py_BuildValue((char *)"");
28988}
28989static PyObject *_wrap_new_SizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28990 PyObject *resultobj;
28991 wxSizerItem *result;
28992 char *kwnames[] = {
28993 NULL
28994 };
28995
28996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
28997 {
28998 PyThreadState* __tstate = wxPyBeginAllowThreads();
28999 result = (wxSizerItem *)new wxSizerItem();
29000
29001 wxPyEndAllowThreads(__tstate);
29002 if (PyErr_Occurred()) SWIG_fail;
29003 }
29004 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29005 return resultobj;
29006 fail:
29007 return NULL;
29008}
29009
29010
29011static PyObject *_wrap_new_SizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
29012 PyObject *resultobj;
29013 int arg1 ;
29014 int arg2 ;
29015 int arg3 ;
29016 int arg4 ;
29017 int arg5 ;
29018 wxObject *arg6 = (wxObject *) 0 ;
29019 wxSizerItem *result;
29020 PyObject * obj5 = 0 ;
29021 char *kwnames[] = {
29022 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29023 };
29024
29025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiiiiO:new_SizerItemSpacer",kwnames,&arg1,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
29026 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29027 {
29028 PyThreadState* __tstate = wxPyBeginAllowThreads();
29029 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
29030
29031 wxPyEndAllowThreads(__tstate);
29032 if (PyErr_Occurred()) SWIG_fail;
29033 }
29034 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29035 return resultobj;
29036 fail:
29037 return NULL;
29038}
29039
29040
29041static PyObject *_wrap_new_SizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29042 PyObject *resultobj;
29043 wxWindow *arg1 = (wxWindow *) 0 ;
29044 int arg2 ;
29045 int arg3 ;
29046 int arg4 ;
29047 wxObject *arg5 = (wxObject *) 0 ;
29048 wxSizerItem *result;
29049 PyObject * obj0 = 0 ;
29050 PyObject * obj4 = 0 ;
29051 char *kwnames[] = {
29052 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29053 };
29054
29055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiiO:new_SizerItemWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
29056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29057 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29058 {
29059 PyThreadState* __tstate = wxPyBeginAllowThreads();
29060 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
29061
29062 wxPyEndAllowThreads(__tstate);
29063 if (PyErr_Occurred()) SWIG_fail;
29064 }
29065 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29066 return resultobj;
29067 fail:
29068 return NULL;
29069}
29070
29071
29072static PyObject *_wrap_new_SizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29073 PyObject *resultobj;
29074 wxSizer *arg1 = (wxSizer *) 0 ;
29075 int arg2 ;
29076 int arg3 ;
29077 int arg4 ;
29078 wxObject *arg5 = (wxObject *) 0 ;
29079 wxSizerItem *result;
29080 PyObject * obj0 = 0 ;
29081 PyObject * obj4 = 0 ;
29082 char *kwnames[] = {
29083 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29084 };
29085
29086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiiO:new_SizerItemSizer",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
29087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29088 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29089 {
29090 PyThreadState* __tstate = wxPyBeginAllowThreads();
29091 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
29092
29093 wxPyEndAllowThreads(__tstate);
29094 if (PyErr_Occurred()) SWIG_fail;
29095 }
29096 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29097 return resultobj;
29098 fail:
29099 return NULL;
29100}
29101
29102
29103static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
29104 PyObject *resultobj;
29105 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29106 PyObject * obj0 = 0 ;
29107 char *kwnames[] = {
29108 (char *) "self", NULL
29109 };
29110
29111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
29112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29113 {
29114 PyThreadState* __tstate = wxPyBeginAllowThreads();
29115 (arg1)->DeleteWindows();
29116
29117 wxPyEndAllowThreads(__tstate);
29118 if (PyErr_Occurred()) SWIG_fail;
29119 }
29120 Py_INCREF(Py_None); resultobj = Py_None;
29121 return resultobj;
29122 fail:
29123 return NULL;
29124}
29125
29126
29127static PyObject *_wrap_SizerItem_DetachSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29128 PyObject *resultobj;
29129 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29130 PyObject * obj0 = 0 ;
29131 char *kwnames[] = {
29132 (char *) "self", NULL
29133 };
29134
29135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
29136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29137 {
29138 PyThreadState* __tstate = wxPyBeginAllowThreads();
29139 (arg1)->DetachSizer();
29140
29141 wxPyEndAllowThreads(__tstate);
29142 if (PyErr_Occurred()) SWIG_fail;
29143 }
29144 Py_INCREF(Py_None); resultobj = Py_None;
29145 return resultobj;
29146 fail:
29147 return NULL;
29148}
29149
29150
29151static PyObject *_wrap_SizerItem_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29152 PyObject *resultobj;
29153 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29154 wxSize result;
29155 PyObject * obj0 = 0 ;
29156 char *kwnames[] = {
29157 (char *) "self", NULL
29158 };
29159
29160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
29161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29162 {
29163 PyThreadState* __tstate = wxPyBeginAllowThreads();
29164 result = (arg1)->GetSize();
29165
29166 wxPyEndAllowThreads(__tstate);
29167 if (PyErr_Occurred()) SWIG_fail;
29168 }
29169 {
29170 wxSize * resultptr;
29171 resultptr = new wxSize((wxSize &) result);
29172 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
29173 }
29174 return resultobj;
29175 fail:
29176 return NULL;
29177}
29178
29179
29180static PyObject *_wrap_SizerItem_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
29181 PyObject *resultobj;
29182 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29183 wxSize result;
29184 PyObject * obj0 = 0 ;
29185 char *kwnames[] = {
29186 (char *) "self", NULL
29187 };
29188
29189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
29190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29191 {
29192 PyThreadState* __tstate = wxPyBeginAllowThreads();
29193 result = (arg1)->CalcMin();
29194
29195 wxPyEndAllowThreads(__tstate);
29196 if (PyErr_Occurred()) SWIG_fail;
29197 }
29198 {
29199 wxSize * resultptr;
29200 resultptr = new wxSize((wxSize &) result);
29201 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
29202 }
29203 return resultobj;
29204 fail:
29205 return NULL;
29206}
29207
29208
29209static PyObject *_wrap_SizerItem_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
29210 PyObject *resultobj;
29211 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29212 wxPoint arg2 ;
29213 wxSize arg3 ;
29214 wxPoint *argp2 ;
29215 wxSize *argp3 ;
29216 PyObject * obj0 = 0 ;
29217 PyObject * obj1 = 0 ;
29218 PyObject * obj2 = 0 ;
29219 char *kwnames[] = {
29220 (char *) "self",(char *) "pos",(char *) "size", NULL
29221 };
29222
29223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
29224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29225 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29226 arg2 = *argp2;
29227 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29228 arg3 = *argp3;
29229 {
29230 PyThreadState* __tstate = wxPyBeginAllowThreads();
29231 (arg1)->SetDimension(arg2,arg3);
29232
29233 wxPyEndAllowThreads(__tstate);
29234 if (PyErr_Occurred()) SWIG_fail;
29235 }
29236 Py_INCREF(Py_None); resultobj = Py_None;
29237 return resultobj;
29238 fail:
29239 return NULL;
29240}
29241
29242
29243static PyObject *_wrap_SizerItem_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29244 PyObject *resultobj;
29245 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29246 wxSize result;
29247 PyObject * obj0 = 0 ;
29248 char *kwnames[] = {
29249 (char *) "self", NULL
29250 };
29251
29252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail;
29253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29254 {
29255 PyThreadState* __tstate = wxPyBeginAllowThreads();
29256 result = (arg1)->GetMinSize();
29257
29258 wxPyEndAllowThreads(__tstate);
29259 if (PyErr_Occurred()) SWIG_fail;
29260 }
29261 {
29262 wxSize * resultptr;
29263 resultptr = new wxSize((wxSize &) result);
29264 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
29265 }
29266 return resultobj;
29267 fail:
29268 return NULL;
29269}
29270
29271
29272static PyObject *_wrap_SizerItem_SetInitSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29273 PyObject *resultobj;
29274 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29275 int arg2 ;
29276 int arg3 ;
29277 PyObject * obj0 = 0 ;
29278 char *kwnames[] = {
29279 (char *) "self",(char *) "x",(char *) "y", NULL
29280 };
29281
29282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SizerItem_SetInitSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
29283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29284 {
29285 PyThreadState* __tstate = wxPyBeginAllowThreads();
29286 (arg1)->SetInitSize(arg2,arg3);
29287
29288 wxPyEndAllowThreads(__tstate);
29289 if (PyErr_Occurred()) SWIG_fail;
29290 }
29291 Py_INCREF(Py_None); resultobj = Py_None;
29292 return resultobj;
29293 fail:
29294 return NULL;
29295}
29296
29297
29298static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *self, PyObject *args, PyObject *kwargs) {
29299 PyObject *resultobj;
29300 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29301 int arg2 ;
29302 int arg3 ;
29303 PyObject * obj0 = 0 ;
29304 char *kwnames[] = {
29305 (char *) "self",(char *) "width",(char *) "height", NULL
29306 };
29307
29308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SizerItem_SetRatioWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
29309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29310 {
29311 PyThreadState* __tstate = wxPyBeginAllowThreads();
29312 (arg1)->SetRatio(arg2,arg3);
29313
29314 wxPyEndAllowThreads(__tstate);
29315 if (PyErr_Occurred()) SWIG_fail;
29316 }
29317 Py_INCREF(Py_None); resultobj = Py_None;
29318 return resultobj;
29319 fail:
29320 return NULL;
29321}
29322
29323
29324static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29325 PyObject *resultobj;
29326 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29327 wxSize arg2 ;
29328 wxSize *argp2 ;
29329 PyObject * obj0 = 0 ;
29330 PyObject * obj1 = 0 ;
29331 char *kwnames[] = {
29332 (char *) "self",(char *) "size", NULL
29333 };
29334
29335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
29336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29337 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29338 arg2 = *argp2;
29339 {
29340 PyThreadState* __tstate = wxPyBeginAllowThreads();
29341 (arg1)->SetRatio(arg2);
29342
29343 wxPyEndAllowThreads(__tstate);
29344 if (PyErr_Occurred()) SWIG_fail;
29345 }
29346 Py_INCREF(Py_None); resultobj = Py_None;
29347 return resultobj;
29348 fail:
29349 return NULL;
29350}
29351
29352
29353static PyObject *_wrap_SizerItem_SetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
29354 PyObject *resultobj;
29355 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29356 float arg2 ;
29357 PyObject * obj0 = 0 ;
29358 char *kwnames[] = {
29359 (char *) "self",(char *) "ratio", NULL
29360 };
29361
29362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Of:SizerItem_SetRatio",kwnames,&obj0,&arg2)) goto fail;
29363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29364 {
29365 PyThreadState* __tstate = wxPyBeginAllowThreads();
29366 (arg1)->SetRatio(arg2);
29367
29368 wxPyEndAllowThreads(__tstate);
29369 if (PyErr_Occurred()) SWIG_fail;
29370 }
29371 Py_INCREF(Py_None); resultobj = Py_None;
29372 return resultobj;
29373 fail:
29374 return NULL;
29375}
29376
29377
29378static PyObject *_wrap_SizerItem_GetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
29379 PyObject *resultobj;
29380 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29381 float result;
29382 PyObject * obj0 = 0 ;
29383 char *kwnames[] = {
29384 (char *) "self", NULL
29385 };
29386
29387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
29388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29389 {
29390 PyThreadState* __tstate = wxPyBeginAllowThreads();
29391 result = (float)(arg1)->GetRatio();
29392
29393 wxPyEndAllowThreads(__tstate);
29394 if (PyErr_Occurred()) SWIG_fail;
29395 }
29396 resultobj = PyFloat_FromDouble(result);
29397 return resultobj;
29398 fail:
29399 return NULL;
29400}
29401
29402
29403static PyObject *_wrap_SizerItem_IsWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29404 PyObject *resultobj;
29405 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29406 bool result;
29407 PyObject * obj0 = 0 ;
29408 char *kwnames[] = {
29409 (char *) "self", NULL
29410 };
29411
29412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
29413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29414 {
29415 PyThreadState* __tstate = wxPyBeginAllowThreads();
29416 result = (bool)(arg1)->IsWindow();
29417
29418 wxPyEndAllowThreads(__tstate);
29419 if (PyErr_Occurred()) SWIG_fail;
29420 }
29421 resultobj = PyInt_FromLong((long)result);
29422 return resultobj;
29423 fail:
29424 return NULL;
29425}
29426
29427
29428static PyObject *_wrap_SizerItem_IsSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29429 PyObject *resultobj;
29430 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29431 bool result;
29432 PyObject * obj0 = 0 ;
29433 char *kwnames[] = {
29434 (char *) "self", NULL
29435 };
29436
29437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
29438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29439 {
29440 PyThreadState* __tstate = wxPyBeginAllowThreads();
29441 result = (bool)(arg1)->IsSizer();
29442
29443 wxPyEndAllowThreads(__tstate);
29444 if (PyErr_Occurred()) SWIG_fail;
29445 }
29446 resultobj = PyInt_FromLong((long)result);
29447 return resultobj;
29448 fail:
29449 return NULL;
29450}
29451
29452
29453static PyObject *_wrap_SizerItem_IsSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
29454 PyObject *resultobj;
29455 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29456 bool result;
29457 PyObject * obj0 = 0 ;
29458 char *kwnames[] = {
29459 (char *) "self", NULL
29460 };
29461
29462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
29463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29464 {
29465 PyThreadState* __tstate = wxPyBeginAllowThreads();
29466 result = (bool)(arg1)->IsSpacer();
29467
29468 wxPyEndAllowThreads(__tstate);
29469 if (PyErr_Occurred()) SWIG_fail;
29470 }
29471 resultobj = PyInt_FromLong((long)result);
29472 return resultobj;
29473 fail:
29474 return NULL;
29475}
29476
29477
29478static PyObject *_wrap_SizerItem_SetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
29479 PyObject *resultobj;
29480 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29481 int arg2 ;
29482 PyObject * obj0 = 0 ;
29483 char *kwnames[] = {
29484 (char *) "self",(char *) "proportion", NULL
29485 };
29486
29487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SizerItem_SetProportion",kwnames,&obj0,&arg2)) goto fail;
29488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29489 {
29490 PyThreadState* __tstate = wxPyBeginAllowThreads();
29491 (arg1)->SetProportion(arg2);
29492
29493 wxPyEndAllowThreads(__tstate);
29494 if (PyErr_Occurred()) SWIG_fail;
29495 }
29496 Py_INCREF(Py_None); resultobj = Py_None;
29497 return resultobj;
29498 fail:
29499 return NULL;
29500}
29501
29502
29503static PyObject *_wrap_SizerItem_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
29504 PyObject *resultobj;
29505 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29506 int result;
29507 PyObject * obj0 = 0 ;
29508 char *kwnames[] = {
29509 (char *) "self", NULL
29510 };
29511
29512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
29513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29514 {
29515 PyThreadState* __tstate = wxPyBeginAllowThreads();
29516 result = (int)(arg1)->GetProportion();
29517
29518 wxPyEndAllowThreads(__tstate);
29519 if (PyErr_Occurred()) SWIG_fail;
29520 }
29521 resultobj = PyInt_FromLong((long)result);
29522 return resultobj;
29523 fail:
29524 return NULL;
29525}
29526
29527
29528static PyObject *_wrap_SizerItem_SetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
29529 PyObject *resultobj;
29530 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29531 int arg2 ;
29532 PyObject * obj0 = 0 ;
29533 char *kwnames[] = {
29534 (char *) "self",(char *) "flag", NULL
29535 };
29536
29537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SizerItem_SetFlag",kwnames,&obj0,&arg2)) goto fail;
29538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29539 {
29540 PyThreadState* __tstate = wxPyBeginAllowThreads();
29541 (arg1)->SetFlag(arg2);
29542
29543 wxPyEndAllowThreads(__tstate);
29544 if (PyErr_Occurred()) SWIG_fail;
29545 }
29546 Py_INCREF(Py_None); resultobj = Py_None;
29547 return resultobj;
29548 fail:
29549 return NULL;
29550}
29551
29552
29553static PyObject *_wrap_SizerItem_GetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
29554 PyObject *resultobj;
29555 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29556 int result;
29557 PyObject * obj0 = 0 ;
29558 char *kwnames[] = {
29559 (char *) "self", NULL
29560 };
29561
29562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
29563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29564 {
29565 PyThreadState* __tstate = wxPyBeginAllowThreads();
29566 result = (int)(arg1)->GetFlag();
29567
29568 wxPyEndAllowThreads(__tstate);
29569 if (PyErr_Occurred()) SWIG_fail;
29570 }
29571 resultobj = PyInt_FromLong((long)result);
29572 return resultobj;
29573 fail:
29574 return NULL;
29575}
29576
29577
29578static PyObject *_wrap_SizerItem_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
29579 PyObject *resultobj;
29580 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29581 int arg2 ;
29582 PyObject * obj0 = 0 ;
29583 char *kwnames[] = {
29584 (char *) "self",(char *) "border", NULL
29585 };
29586
29587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SizerItem_SetBorder",kwnames,&obj0,&arg2)) goto fail;
29588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29589 {
29590 PyThreadState* __tstate = wxPyBeginAllowThreads();
29591 (arg1)->SetBorder(arg2);
29592
29593 wxPyEndAllowThreads(__tstate);
29594 if (PyErr_Occurred()) SWIG_fail;
29595 }
29596 Py_INCREF(Py_None); resultobj = Py_None;
29597 return resultobj;
29598 fail:
29599 return NULL;
29600}
29601
29602
29603static PyObject *_wrap_SizerItem_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
29604 PyObject *resultobj;
29605 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29606 int result;
29607 PyObject * obj0 = 0 ;
29608 char *kwnames[] = {
29609 (char *) "self", NULL
29610 };
29611
29612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
29613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29614 {
29615 PyThreadState* __tstate = wxPyBeginAllowThreads();
29616 result = (int)(arg1)->GetBorder();
29617
29618 wxPyEndAllowThreads(__tstate);
29619 if (PyErr_Occurred()) SWIG_fail;
29620 }
29621 resultobj = PyInt_FromLong((long)result);
29622 return resultobj;
29623 fail:
29624 return NULL;
29625}
29626
29627
29628static PyObject *_wrap_SizerItem_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29629 PyObject *resultobj;
29630 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29631 wxWindow *result;
29632 PyObject * obj0 = 0 ;
29633 char *kwnames[] = {
29634 (char *) "self", NULL
29635 };
29636
29637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
29638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29639 {
29640 PyThreadState* __tstate = wxPyBeginAllowThreads();
29641 result = (wxWindow *)(arg1)->GetWindow();
29642
29643 wxPyEndAllowThreads(__tstate);
29644 if (PyErr_Occurred()) SWIG_fail;
29645 }
29646 {
29647 resultobj = wxPyMake_wxObject(result);
29648 }
29649 return resultobj;
29650 fail:
29651 return NULL;
29652}
29653
29654
29655static PyObject *_wrap_SizerItem_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29656 PyObject *resultobj;
29657 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29658 wxWindow *arg2 = (wxWindow *) 0 ;
29659 PyObject * obj0 = 0 ;
29660 PyObject * obj1 = 0 ;
29661 char *kwnames[] = {
29662 (char *) "self",(char *) "window", NULL
29663 };
29664
29665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
29666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29667 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29668 {
29669 PyThreadState* __tstate = wxPyBeginAllowThreads();
29670 (arg1)->SetWindow(arg2);
29671
29672 wxPyEndAllowThreads(__tstate);
29673 if (PyErr_Occurred()) SWIG_fail;
29674 }
29675 Py_INCREF(Py_None); resultobj = Py_None;
29676 return resultobj;
29677 fail:
29678 return NULL;
29679}
29680
29681
29682static PyObject *_wrap_SizerItem_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29683 PyObject *resultobj;
29684 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29685 wxSizer *result;
29686 PyObject * obj0 = 0 ;
29687 char *kwnames[] = {
29688 (char *) "self", NULL
29689 };
29690
29691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
29692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29693 {
29694 PyThreadState* __tstate = wxPyBeginAllowThreads();
29695 result = (wxSizer *)(arg1)->GetSizer();
29696
29697 wxPyEndAllowThreads(__tstate);
29698 if (PyErr_Occurred()) SWIG_fail;
29699 }
29700 {
29701 resultobj = wxPyMake_wxSizer(result);
29702 }
29703 return resultobj;
29704 fail:
29705 return NULL;
29706}
29707
29708
29709static PyObject *_wrap_SizerItem_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29710 PyObject *resultobj;
29711 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29712 wxSizer *arg2 = (wxSizer *) 0 ;
29713 PyObject * obj0 = 0 ;
29714 PyObject * obj1 = 0 ;
29715 char *kwnames[] = {
29716 (char *) "self",(char *) "sizer", NULL
29717 };
29718
29719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
29720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29721 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29722 {
29723 PyThreadState* __tstate = wxPyBeginAllowThreads();
29724 (arg1)->SetSizer(arg2);
29725
29726 wxPyEndAllowThreads(__tstate);
29727 if (PyErr_Occurred()) SWIG_fail;
29728 }
29729 Py_INCREF(Py_None); resultobj = Py_None;
29730 return resultobj;
29731 fail:
29732 return NULL;
29733}
29734
29735
29736static PyObject *_wrap_SizerItem_GetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
29737 PyObject *resultobj;
29738 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29739 wxSize *result;
29740 PyObject * obj0 = 0 ;
29741 char *kwnames[] = {
29742 (char *) "self", NULL
29743 };
29744
29745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
29746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29747 {
29748 PyThreadState* __tstate = wxPyBeginAllowThreads();
29749 {
29750 wxSize const &_result_ref = (arg1)->GetSpacer();
29751 result = (wxSize *) &_result_ref;
29752 }
29753
29754 wxPyEndAllowThreads(__tstate);
29755 if (PyErr_Occurred()) SWIG_fail;
29756 }
29757 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
29758 return resultobj;
29759 fail:
29760 return NULL;
29761}
29762
29763
29764static PyObject *_wrap_SizerItem_SetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
29765 PyObject *resultobj;
29766 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29767 wxSize *arg2 = 0 ;
29768 wxSize temp2 ;
29769 PyObject * obj0 = 0 ;
29770 PyObject * obj1 = 0 ;
29771 char *kwnames[] = {
29772 (char *) "self",(char *) "size", NULL
29773 };
29774
29775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
29776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29777 {
29778 arg2 = &temp2;
29779 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
29780 }
29781 {
29782 PyThreadState* __tstate = wxPyBeginAllowThreads();
29783 (arg1)->SetSpacer((wxSize const &)*arg2);
29784
29785 wxPyEndAllowThreads(__tstate);
29786 if (PyErr_Occurred()) SWIG_fail;
29787 }
29788 Py_INCREF(Py_None); resultobj = Py_None;
29789 return resultobj;
29790 fail:
29791 return NULL;
29792}
29793
29794
29795static PyObject *_wrap_SizerItem_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
29796 PyObject *resultobj;
29797 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29798 bool arg2 ;
29799 PyObject * obj0 = 0 ;
29800 PyObject * obj1 = 0 ;
29801 char *kwnames[] = {
29802 (char *) "self",(char *) "show", NULL
29803 };
29804
29805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
29806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29807 arg2 = PyInt_AsLong(obj1) ? true : false;
29808 if (PyErr_Occurred()) SWIG_fail;
29809 {
29810 PyThreadState* __tstate = wxPyBeginAllowThreads();
29811 (arg1)->Show(arg2);
29812
29813 wxPyEndAllowThreads(__tstate);
29814 if (PyErr_Occurred()) SWIG_fail;
29815 }
29816 Py_INCREF(Py_None); resultobj = Py_None;
29817 return resultobj;
29818 fail:
29819 return NULL;
29820}
29821
29822
29823static PyObject *_wrap_SizerItem_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
29824 PyObject *resultobj;
29825 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29826 bool result;
29827 PyObject * obj0 = 0 ;
29828 char *kwnames[] = {
29829 (char *) "self", NULL
29830 };
29831
29832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
29833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29834 {
29835 PyThreadState* __tstate = wxPyBeginAllowThreads();
29836 result = (bool)(arg1)->IsShown();
29837
29838 wxPyEndAllowThreads(__tstate);
29839 if (PyErr_Occurred()) SWIG_fail;
29840 }
29841 resultobj = PyInt_FromLong((long)result);
29842 return resultobj;
29843 fail:
29844 return NULL;
29845}
29846
29847
29848static PyObject *_wrap_SizerItem_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29849 PyObject *resultobj;
29850 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29851 wxPoint result;
29852 PyObject * obj0 = 0 ;
29853 char *kwnames[] = {
29854 (char *) "self", NULL
29855 };
29856
29857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
29858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29859 {
29860 PyThreadState* __tstate = wxPyBeginAllowThreads();
29861 result = (arg1)->GetPosition();
29862
29863 wxPyEndAllowThreads(__tstate);
29864 if (PyErr_Occurred()) SWIG_fail;
29865 }
29866 {
29867 wxPoint * resultptr;
29868 resultptr = new wxPoint((wxPoint &) result);
29869 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
29870 }
29871 return resultobj;
29872 fail:
29873 return NULL;
29874}
29875
29876
29877static PyObject *_wrap_SizerItem_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
29878 PyObject *resultobj;
29879 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29880 PyObject *result;
29881 PyObject * obj0 = 0 ;
29882 char *kwnames[] = {
29883 (char *) "self", NULL
29884 };
29885
29886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
29887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29888 {
29889 PyThreadState* __tstate = wxPyBeginAllowThreads();
29890 result = (PyObject *)wxSizerItem_GetUserData(arg1);
29891
29892 wxPyEndAllowThreads(__tstate);
29893 if (PyErr_Occurred()) SWIG_fail;
29894 }
29895 resultobj = result;
29896 return resultobj;
29897 fail:
29898 return NULL;
29899}
29900
29901
29902static PyObject * SizerItem_swigregister(PyObject *self, PyObject *args) {
29903 PyObject *obj;
29904 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29905 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
29906 Py_INCREF(obj);
29907 return Py_BuildValue((char *)"");
29908}
29909static PyObject *_wrap_Sizer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
29910 PyObject *resultobj;
29911 wxSizer *arg1 = (wxSizer *) 0 ;
29912 PyObject *arg2 = (PyObject *) 0 ;
29913 PyObject * obj0 = 0 ;
29914 PyObject * obj1 = 0 ;
29915 char *kwnames[] = {
29916 (char *) "self",(char *) "_self", NULL
29917 };
29918
29919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
29920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29921 arg2 = obj1;
29922 {
29923 PyThreadState* __tstate = wxPyBeginAllowThreads();
29924 wxSizer__setOORInfo(arg1,arg2);
29925
29926 wxPyEndAllowThreads(__tstate);
29927 if (PyErr_Occurred()) SWIG_fail;
29928 }
29929 Py_INCREF(Py_None); resultobj = Py_None;
29930 return resultobj;
29931 fail:
29932 return NULL;
29933}
29934
29935
29936static PyObject *_wrap_Sizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
29937 PyObject *resultobj;
29938 wxSizer *arg1 = (wxSizer *) 0 ;
29939 PyObject *arg2 = (PyObject *) 0 ;
29940 int arg3 = (int) 0 ;
29941 int arg4 = (int) 0 ;
29942 int arg5 = (int) 0 ;
29943 PyObject *arg6 = (PyObject *) NULL ;
29944 PyObject * obj0 = 0 ;
29945 PyObject * obj1 = 0 ;
29946 PyObject * obj5 = 0 ;
29947 char *kwnames[] = {
29948 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29949 };
29950
29951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiiO:Sizer_Add",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&obj5)) goto fail;
29952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29953 arg2 = obj1;
29954 if (obj5) {
29955 arg6 = obj5;
29956 }
29957 {
29958 PyThreadState* __tstate = wxPyBeginAllowThreads();
29959 wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
29960
29961 wxPyEndAllowThreads(__tstate);
29962 if (PyErr_Occurred()) SWIG_fail;
29963 }
29964 Py_INCREF(Py_None); resultobj = Py_None;
29965 return resultobj;
29966 fail:
29967 return NULL;
29968}
29969
29970
29971static PyObject *_wrap_Sizer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
29972 PyObject *resultobj;
29973 wxSizer *arg1 = (wxSizer *) 0 ;
29974 int arg2 ;
29975 PyObject *arg3 = (PyObject *) 0 ;
29976 int arg4 = (int) 0 ;
29977 int arg5 = (int) 0 ;
29978 int arg6 = (int) 0 ;
29979 PyObject *arg7 = (PyObject *) NULL ;
29980 PyObject * obj0 = 0 ;
29981 PyObject * obj2 = 0 ;
29982 PyObject * obj6 = 0 ;
29983 char *kwnames[] = {
29984 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29985 };
29986
29987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|iiiO:Sizer_Insert",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5,&arg6,&obj6)) goto fail;
29988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29989 arg3 = obj2;
29990 if (obj6) {
29991 arg7 = obj6;
29992 }
29993 {
29994 PyThreadState* __tstate = wxPyBeginAllowThreads();
29995 wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
29996
29997 wxPyEndAllowThreads(__tstate);
29998 if (PyErr_Occurred()) SWIG_fail;
29999 }
30000 Py_INCREF(Py_None); resultobj = Py_None;
30001 return resultobj;
30002 fail:
30003 return NULL;
30004}
30005
30006
30007static PyObject *_wrap_Sizer_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
30008 PyObject *resultobj;
30009 wxSizer *arg1 = (wxSizer *) 0 ;
30010 PyObject *arg2 = (PyObject *) 0 ;
30011 int arg3 = (int) 0 ;
30012 int arg4 = (int) 0 ;
30013 int arg5 = (int) 0 ;
30014 PyObject *arg6 = (PyObject *) NULL ;
30015 PyObject * obj0 = 0 ;
30016 PyObject * obj1 = 0 ;
30017 PyObject * obj5 = 0 ;
30018 char *kwnames[] = {
30019 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30020 };
30021
30022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiiO:Sizer_Prepend",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&obj5)) goto fail;
30023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30024 arg2 = obj1;
30025 if (obj5) {
30026 arg6 = obj5;
30027 }
30028 {
30029 PyThreadState* __tstate = wxPyBeginAllowThreads();
30030 wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
30031
30032 wxPyEndAllowThreads(__tstate);
30033 if (PyErr_Occurred()) SWIG_fail;
30034 }
30035 Py_INCREF(Py_None); resultobj = Py_None;
30036 return resultobj;
30037 fail:
30038 return NULL;
30039}
30040
30041
30042static PyObject *_wrap_Sizer_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
30043 PyObject *resultobj;
30044 wxSizer *arg1 = (wxSizer *) 0 ;
30045 PyObject *arg2 = (PyObject *) 0 ;
30046 bool result;
30047 PyObject * obj0 = 0 ;
30048 PyObject * obj1 = 0 ;
30049 char *kwnames[] = {
30050 (char *) "self",(char *) "item", NULL
30051 };
30052
30053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
30054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30055 arg2 = obj1;
30056 {
30057 PyThreadState* __tstate = wxPyBeginAllowThreads();
30058 result = (bool)wxSizer_Remove(arg1,arg2);
30059
30060 wxPyEndAllowThreads(__tstate);
30061 if (PyErr_Occurred()) SWIG_fail;
30062 }
30063 resultobj = PyInt_FromLong((long)result);
30064 return resultobj;
30065 fail:
30066 return NULL;
30067}
30068
30069
30070static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30071 PyObject *resultobj;
30072 wxSizer *arg1 = (wxSizer *) 0 ;
30073 PyObject *arg2 = (PyObject *) 0 ;
e811c8ce
RD
30074 wxSize *arg3 = 0 ;
30075 wxSize temp3 ;
d14a1e28
RD
30076 PyObject * obj0 = 0 ;
30077 PyObject * obj1 = 0 ;
30078 PyObject * obj2 = 0 ;
30079 char *kwnames[] = {
30080 (char *) "self",(char *) "item",(char *) "size", NULL
30081 };
30082
30083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
30084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30085 arg2 = obj1;
e811c8ce
RD
30086 {
30087 arg3 = &temp3;
30088 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
30089 }
d14a1e28
RD
30090 {
30091 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 30092 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
d14a1e28
RD
30093
30094 wxPyEndAllowThreads(__tstate);
30095 if (PyErr_Occurred()) SWIG_fail;
30096 }
30097 Py_INCREF(Py_None); resultobj = Py_None;
30098 return resultobj;
30099 fail:
30100 return NULL;
30101}
30102
30103
30104static PyObject *_wrap_Sizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30105 PyObject *resultobj;
30106 wxSizer *arg1 = (wxSizer *) 0 ;
30107 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
30108 PyObject * obj0 = 0 ;
30109 PyObject * obj1 = 0 ;
30110 char *kwnames[] = {
30111 (char *) "self",(char *) "item", NULL
30112 };
30113
30114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
30115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30116 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30117 {
30118 PyThreadState* __tstate = wxPyBeginAllowThreads();
30119 (arg1)->Add(arg2);
30120
30121 wxPyEndAllowThreads(__tstate);
30122 if (PyErr_Occurred()) SWIG_fail;
30123 }
30124 Py_INCREF(Py_None); resultobj = Py_None;
30125 return resultobj;
30126 fail:
30127 return NULL;
30128}
30129
30130
30131static PyObject *_wrap_Sizer_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30132 PyObject *resultobj;
30133 wxSizer *arg1 = (wxSizer *) 0 ;
30134 size_t arg2 ;
30135 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
30136 PyObject * obj0 = 0 ;
30137 PyObject * obj1 = 0 ;
30138 PyObject * obj2 = 0 ;
30139 char *kwnames[] = {
30140 (char *) "self",(char *) "index",(char *) "item", NULL
30141 };
30142
30143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
30144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30145 arg2 = (size_t) PyInt_AsLong(obj1);
30146 if (PyErr_Occurred()) SWIG_fail;
30147 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30148 {
30149 PyThreadState* __tstate = wxPyBeginAllowThreads();
30150 (arg1)->Insert(arg2,arg3);
30151
30152 wxPyEndAllowThreads(__tstate);
30153 if (PyErr_Occurred()) SWIG_fail;
30154 }
30155 Py_INCREF(Py_None); resultobj = Py_None;
30156 return resultobj;
30157 fail:
30158 return NULL;
30159}
30160
30161
30162static PyObject *_wrap_Sizer_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30163 PyObject *resultobj;
30164 wxSizer *arg1 = (wxSizer *) 0 ;
30165 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
30166 PyObject * obj0 = 0 ;
30167 PyObject * obj1 = 0 ;
30168 char *kwnames[] = {
30169 (char *) "self",(char *) "item", NULL
30170 };
30171
30172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
30173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30174 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30175 {
30176 PyThreadState* __tstate = wxPyBeginAllowThreads();
30177 (arg1)->Prepend(arg2);
30178
30179 wxPyEndAllowThreads(__tstate);
30180 if (PyErr_Occurred()) SWIG_fail;
30181 }
30182 Py_INCREF(Py_None); resultobj = Py_None;
30183 return resultobj;
30184 fail:
30185 return NULL;
30186}
30187
30188
30189static PyObject *_wrap_Sizer_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
30190 PyObject *resultobj;
30191 wxSizer *arg1 = (wxSizer *) 0 ;
30192 int arg2 ;
30193 int arg3 ;
30194 int arg4 ;
30195 int arg5 ;
30196 PyObject * obj0 = 0 ;
30197 char *kwnames[] = {
30198 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
30199 };
30200
30201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:Sizer_SetDimension",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
30202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30203 {
30204 PyThreadState* __tstate = wxPyBeginAllowThreads();
30205 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
30206
30207 wxPyEndAllowThreads(__tstate);
30208 if (PyErr_Occurred()) SWIG_fail;
30209 }
30210 Py_INCREF(Py_None); resultobj = Py_None;
30211 return resultobj;
30212 fail:
30213 return NULL;
30214}
30215
30216
30217static PyObject *_wrap_Sizer_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30218 PyObject *resultobj;
30219 wxSizer *arg1 = (wxSizer *) 0 ;
30220 wxSize arg2 ;
30221 wxSize *argp2 ;
30222 PyObject * obj0 = 0 ;
30223 PyObject * obj1 = 0 ;
30224 char *kwnames[] = {
30225 (char *) "self",(char *) "size", NULL
30226 };
30227
30228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
30229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30230 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
30231 arg2 = *argp2;
30232 {
30233 PyThreadState* __tstate = wxPyBeginAllowThreads();
30234 (arg1)->SetMinSize(arg2);
30235
30236 wxPyEndAllowThreads(__tstate);
30237 if (PyErr_Occurred()) SWIG_fail;
30238 }
30239 Py_INCREF(Py_None); resultobj = Py_None;
30240 return resultobj;
30241 fail:
30242 return NULL;
30243}
30244
30245
30246static PyObject *_wrap_Sizer_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30247 PyObject *resultobj;
30248 wxSizer *arg1 = (wxSizer *) 0 ;
30249 wxSize result;
30250 PyObject * obj0 = 0 ;
30251 char *kwnames[] = {
30252 (char *) "self", NULL
30253 };
30254
30255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
30256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30257 {
30258 PyThreadState* __tstate = wxPyBeginAllowThreads();
30259 result = (arg1)->GetSize();
30260
30261 wxPyEndAllowThreads(__tstate);
30262 if (PyErr_Occurred()) SWIG_fail;
30263 }
30264 {
30265 wxSize * resultptr;
30266 resultptr = new wxSize((wxSize &) result);
30267 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30268 }
30269 return resultobj;
30270 fail:
30271 return NULL;
30272}
30273
30274
30275static PyObject *_wrap_Sizer_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
30276 PyObject *resultobj;
30277 wxSizer *arg1 = (wxSizer *) 0 ;
30278 wxPoint result;
30279 PyObject * obj0 = 0 ;
30280 char *kwnames[] = {
30281 (char *) "self", NULL
30282 };
30283
30284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
30285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30286 {
30287 PyThreadState* __tstate = wxPyBeginAllowThreads();
30288 result = (arg1)->GetPosition();
30289
30290 wxPyEndAllowThreads(__tstate);
30291 if (PyErr_Occurred()) SWIG_fail;
30292 }
30293 {
30294 wxPoint * resultptr;
30295 resultptr = new wxPoint((wxPoint &) result);
30296 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
30297 }
30298 return resultobj;
30299 fail:
30300 return NULL;
30301}
30302
30303
30304static PyObject *_wrap_Sizer_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30305 PyObject *resultobj;
30306 wxSizer *arg1 = (wxSizer *) 0 ;
30307 wxSize result;
30308 PyObject * obj0 = 0 ;
30309 char *kwnames[] = {
30310 (char *) "self", NULL
30311 };
30312
30313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
30314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30315 {
30316 PyThreadState* __tstate = wxPyBeginAllowThreads();
30317 result = (arg1)->GetMinSize();
30318
30319 wxPyEndAllowThreads(__tstate);
30320 if (PyErr_Occurred()) SWIG_fail;
30321 }
30322 {
30323 wxSize * resultptr;
30324 resultptr = new wxSize((wxSize &) result);
30325 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30326 }
30327 return resultobj;
30328 fail:
30329 return NULL;
30330}
30331
30332
30333static PyObject *_wrap_Sizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
30334 PyObject *resultobj;
30335 wxSizer *arg1 = (wxSizer *) 0 ;
30336 PyObject * obj0 = 0 ;
30337 char *kwnames[] = {
30338 (char *) "self", NULL
30339 };
30340
30341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
30342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30343 {
30344 PyThreadState* __tstate = wxPyBeginAllowThreads();
30345 (arg1)->RecalcSizes();
30346
30347 wxPyEndAllowThreads(__tstate);
30348 if (PyErr_Occurred()) SWIG_fail;
30349 }
30350 Py_INCREF(Py_None); resultobj = Py_None;
30351 return resultobj;
30352 fail:
30353 return NULL;
30354}
30355
30356
30357static PyObject *_wrap_Sizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
30358 PyObject *resultobj;
30359 wxSizer *arg1 = (wxSizer *) 0 ;
30360 wxSize result;
30361 PyObject * obj0 = 0 ;
30362 char *kwnames[] = {
30363 (char *) "self", NULL
30364 };
30365
30366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
30367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30368 {
30369 PyThreadState* __tstate = wxPyBeginAllowThreads();
30370 result = (arg1)->CalcMin();
30371
30372 wxPyEndAllowThreads(__tstate);
30373 if (PyErr_Occurred()) SWIG_fail;
30374 }
30375 {
30376 wxSize * resultptr;
30377 resultptr = new wxSize((wxSize &) result);
30378 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30379 }
30380 return resultobj;
30381 fail:
30382 return NULL;
30383}
30384
30385
30386static PyObject *_wrap_Sizer_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
30387 PyObject *resultobj;
30388 wxSizer *arg1 = (wxSizer *) 0 ;
30389 PyObject * obj0 = 0 ;
30390 char *kwnames[] = {
30391 (char *) "self", NULL
30392 };
30393
30394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
30395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30396 {
30397 PyThreadState* __tstate = wxPyBeginAllowThreads();
30398 (arg1)->Layout();
30399
30400 wxPyEndAllowThreads(__tstate);
30401 if (PyErr_Occurred()) SWIG_fail;
30402 }
30403 Py_INCREF(Py_None); resultobj = Py_None;
30404 return resultobj;
30405 fail:
30406 return NULL;
30407}
30408
30409
30410static PyObject *_wrap_Sizer_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
30411 PyObject *resultobj;
30412 wxSizer *arg1 = (wxSizer *) 0 ;
30413 wxWindow *arg2 = (wxWindow *) 0 ;
30414 wxSize result;
30415 PyObject * obj0 = 0 ;
30416 PyObject * obj1 = 0 ;
30417 char *kwnames[] = {
30418 (char *) "self",(char *) "window", NULL
30419 };
30420
30421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
30422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30423 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30424 {
30425 PyThreadState* __tstate = wxPyBeginAllowThreads();
30426 result = (arg1)->Fit(arg2);
30427
30428 wxPyEndAllowThreads(__tstate);
30429 if (PyErr_Occurred()) SWIG_fail;
30430 }
30431 {
30432 wxSize * resultptr;
30433 resultptr = new wxSize((wxSize &) result);
30434 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30435 }
30436 return resultobj;
30437 fail:
30438 return NULL;
30439}
30440
30441
30442static PyObject *_wrap_Sizer_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
30443 PyObject *resultobj;
30444 wxSizer *arg1 = (wxSizer *) 0 ;
30445 wxWindow *arg2 = (wxWindow *) 0 ;
30446 PyObject * obj0 = 0 ;
30447 PyObject * obj1 = 0 ;
30448 char *kwnames[] = {
30449 (char *) "self",(char *) "window", NULL
30450 };
30451
30452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
30453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30454 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30455 {
30456 PyThreadState* __tstate = wxPyBeginAllowThreads();
30457 (arg1)->FitInside(arg2);
30458
30459 wxPyEndAllowThreads(__tstate);
30460 if (PyErr_Occurred()) SWIG_fail;
30461 }
30462 Py_INCREF(Py_None); resultobj = Py_None;
30463 return resultobj;
30464 fail:
30465 return NULL;
30466}
30467
30468
30469static PyObject *_wrap_Sizer_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
30470 PyObject *resultobj;
30471 wxSizer *arg1 = (wxSizer *) 0 ;
30472 wxWindow *arg2 = (wxWindow *) 0 ;
30473 PyObject * obj0 = 0 ;
30474 PyObject * obj1 = 0 ;
30475 char *kwnames[] = {
30476 (char *) "self",(char *) "window", NULL
30477 };
30478
30479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
30480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30481 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30482 {
30483 PyThreadState* __tstate = wxPyBeginAllowThreads();
30484 (arg1)->SetSizeHints(arg2);
30485
30486 wxPyEndAllowThreads(__tstate);
30487 if (PyErr_Occurred()) SWIG_fail;
30488 }
30489 Py_INCREF(Py_None); resultobj = Py_None;
30490 return resultobj;
30491 fail:
30492 return NULL;
30493}
30494
30495
30496static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
30497 PyObject *resultobj;
30498 wxSizer *arg1 = (wxSizer *) 0 ;
30499 wxWindow *arg2 = (wxWindow *) 0 ;
30500 PyObject * obj0 = 0 ;
30501 PyObject * obj1 = 0 ;
30502 char *kwnames[] = {
30503 (char *) "self",(char *) "window", NULL
30504 };
30505
30506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
30507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30508 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30509 {
30510 PyThreadState* __tstate = wxPyBeginAllowThreads();
30511 (arg1)->SetVirtualSizeHints(arg2);
30512
30513 wxPyEndAllowThreads(__tstate);
30514 if (PyErr_Occurred()) SWIG_fail;
30515 }
30516 Py_INCREF(Py_None); resultobj = Py_None;
30517 return resultobj;
30518 fail:
30519 return NULL;
30520}
30521
30522
30523static PyObject *_wrap_Sizer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
30524 PyObject *resultobj;
30525 wxSizer *arg1 = (wxSizer *) 0 ;
e811c8ce 30526 bool arg2 = (bool) False ;
d14a1e28
RD
30527 PyObject * obj0 = 0 ;
30528 PyObject * obj1 = 0 ;
30529 char *kwnames[] = {
30530 (char *) "self",(char *) "delete_windows", NULL
30531 };
30532
30533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
30534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30535 if (obj1) {
30536 arg2 = PyInt_AsLong(obj1) ? true : false;
30537 if (PyErr_Occurred()) SWIG_fail;
30538 }
30539 {
30540 PyThreadState* __tstate = wxPyBeginAllowThreads();
30541 (arg1)->Clear(arg2);
30542
30543 wxPyEndAllowThreads(__tstate);
30544 if (PyErr_Occurred()) SWIG_fail;
30545 }
30546 Py_INCREF(Py_None); resultobj = Py_None;
30547 return resultobj;
30548 fail:
30549 return NULL;
30550}
30551
30552
30553static PyObject *_wrap_Sizer_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
30554 PyObject *resultobj;
30555 wxSizer *arg1 = (wxSizer *) 0 ;
30556 PyObject * obj0 = 0 ;
30557 char *kwnames[] = {
30558 (char *) "self", NULL
30559 };
30560
30561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
30562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30563 {
30564 PyThreadState* __tstate = wxPyBeginAllowThreads();
30565 (arg1)->DeleteWindows();
30566
30567 wxPyEndAllowThreads(__tstate);
30568 if (PyErr_Occurred()) SWIG_fail;
30569 }
30570 Py_INCREF(Py_None); resultobj = Py_None;
30571 return resultobj;
30572 fail:
30573 return NULL;
30574}
30575
30576
30577static PyObject *_wrap_Sizer_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
30578 PyObject *resultobj;
30579 wxSizer *arg1 = (wxSizer *) 0 ;
30580 PyObject *result;
30581 PyObject * obj0 = 0 ;
30582 char *kwnames[] = {
30583 (char *) "self", NULL
30584 };
30585
30586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
30587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30588 {
30589 PyThreadState* __tstate = wxPyBeginAllowThreads();
30590 result = (PyObject *)wxSizer_GetChildren(arg1);
30591
30592 wxPyEndAllowThreads(__tstate);
30593 if (PyErr_Occurred()) SWIG_fail;
30594 }
30595 resultobj = result;
30596 return resultobj;
30597 fail:
30598 return NULL;
30599}
30600
30601
30602static PyObject *_wrap_Sizer_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
30603 PyObject *resultobj;
30604 wxSizer *arg1 = (wxSizer *) 0 ;
30605 PyObject *arg2 = (PyObject *) 0 ;
e811c8ce 30606 bool arg3 = (bool) True ;
d14a1e28
RD
30607 PyObject * obj0 = 0 ;
30608 PyObject * obj1 = 0 ;
30609 PyObject * obj2 = 0 ;
30610 char *kwnames[] = {
30611 (char *) "self",(char *) "item",(char *) "show", NULL
30612 };
30613
30614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Sizer_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
30615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30616 arg2 = obj1;
30617 if (obj2) {
30618 arg3 = PyInt_AsLong(obj2) ? true : false;
30619 if (PyErr_Occurred()) SWIG_fail;
30620 }
30621 {
30622 PyThreadState* __tstate = wxPyBeginAllowThreads();
30623 wxSizer_Show(arg1,arg2,arg3);
30624
30625 wxPyEndAllowThreads(__tstate);
30626 if (PyErr_Occurred()) SWIG_fail;
30627 }
30628 Py_INCREF(Py_None); resultobj = Py_None;
30629 return resultobj;
30630 fail:
30631 return NULL;
30632}
30633
30634
30635static PyObject *_wrap_Sizer_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
30636 PyObject *resultobj;
30637 wxSizer *arg1 = (wxSizer *) 0 ;
30638 PyObject *arg2 = (PyObject *) 0 ;
30639 PyObject * obj0 = 0 ;
30640 PyObject * obj1 = 0 ;
30641 char *kwnames[] = {
30642 (char *) "self",(char *) "item", NULL
30643 };
30644
30645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Hide",kwnames,&obj0,&obj1)) goto fail;
30646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30647 arg2 = obj1;
30648 {
30649 PyThreadState* __tstate = wxPyBeginAllowThreads();
30650 wxSizer_Hide(arg1,arg2);
30651
30652 wxPyEndAllowThreads(__tstate);
30653 if (PyErr_Occurred()) SWIG_fail;
30654 }
30655 Py_INCREF(Py_None); resultobj = Py_None;
30656 return resultobj;
30657 fail:
30658 return NULL;
30659}
30660
30661
30662static PyObject *_wrap_Sizer_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
30663 PyObject *resultobj;
30664 wxSizer *arg1 = (wxSizer *) 0 ;
30665 PyObject *arg2 = (PyObject *) 0 ;
30666 bool result;
30667 PyObject * obj0 = 0 ;
30668 PyObject * obj1 = 0 ;
30669 char *kwnames[] = {
30670 (char *) "self",(char *) "item", NULL
30671 };
30672
30673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
30674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30675 arg2 = obj1;
30676 {
30677 PyThreadState* __tstate = wxPyBeginAllowThreads();
30678 result = (bool)wxSizer_IsShown(arg1,arg2);
30679
30680 wxPyEndAllowThreads(__tstate);
30681 if (PyErr_Occurred()) SWIG_fail;
30682 }
30683 resultobj = PyInt_FromLong((long)result);
30684 return resultobj;
30685 fail:
30686 return NULL;
30687}
30688
30689
30690static PyObject *_wrap_Sizer_ShowItems(PyObject *self, PyObject *args, PyObject *kwargs) {
30691 PyObject *resultobj;
30692 wxSizer *arg1 = (wxSizer *) 0 ;
30693 bool arg2 ;
30694 PyObject * obj0 = 0 ;
30695 PyObject * obj1 = 0 ;
30696 char *kwnames[] = {
30697 (char *) "self",(char *) "show", NULL
30698 };
30699
30700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
30701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30702 arg2 = PyInt_AsLong(obj1) ? true : false;
30703 if (PyErr_Occurred()) SWIG_fail;
30704 {
30705 PyThreadState* __tstate = wxPyBeginAllowThreads();
30706 (arg1)->ShowItems(arg2);
30707
30708 wxPyEndAllowThreads(__tstate);
30709 if (PyErr_Occurred()) SWIG_fail;
30710 }
30711 Py_INCREF(Py_None); resultobj = Py_None;
30712 return resultobj;
30713 fail:
30714 return NULL;
30715}
30716
30717
30718static PyObject * Sizer_swigregister(PyObject *self, PyObject *args) {
30719 PyObject *obj;
30720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30721 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
30722 Py_INCREF(obj);
30723 return Py_BuildValue((char *)"");
30724}
30725static PyObject *_wrap_new_PySizer(PyObject *self, PyObject *args, PyObject *kwargs) {
30726 PyObject *resultobj;
30727 wxPySizer *result;
30728 char *kwnames[] = {
30729 NULL
30730 };
30731
30732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
30733 {
30734 PyThreadState* __tstate = wxPyBeginAllowThreads();
30735 result = (wxPySizer *)new wxPySizer();
30736
30737 wxPyEndAllowThreads(__tstate);
30738 if (PyErr_Occurred()) SWIG_fail;
30739 }
30740 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPySizer, 1);
30741 return resultobj;
30742 fail:
30743 return NULL;
30744}
30745
30746
30747static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
30748 PyObject *resultobj;
30749 wxPySizer *arg1 = (wxPySizer *) 0 ;
30750 PyObject *arg2 = (PyObject *) 0 ;
30751 PyObject *arg3 = (PyObject *) 0 ;
30752 PyObject * obj0 = 0 ;
30753 PyObject * obj1 = 0 ;
30754 PyObject * obj2 = 0 ;
30755 char *kwnames[] = {
30756 (char *) "self",(char *) "self",(char *) "_class", NULL
30757 };
30758
30759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
30760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPySizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30761 arg2 = obj1;
30762 arg3 = obj2;
30763 {
30764 PyThreadState* __tstate = wxPyBeginAllowThreads();
30765 (arg1)->_setCallbackInfo(arg2,arg3);
30766
30767 wxPyEndAllowThreads(__tstate);
30768 if (PyErr_Occurred()) SWIG_fail;
30769 }
30770 Py_INCREF(Py_None); resultobj = Py_None;
30771 return resultobj;
30772 fail:
30773 return NULL;
30774}
30775
30776
30777static PyObject * PySizer_swigregister(PyObject *self, PyObject *args) {
30778 PyObject *obj;
30779 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30780 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
30781 Py_INCREF(obj);
30782 return Py_BuildValue((char *)"");
30783}
30784static PyObject *_wrap_new_BoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
30785 PyObject *resultobj;
30786 int arg1 = (int) wxHORIZONTAL ;
30787 wxBoxSizer *result;
30788 char *kwnames[] = {
30789 (char *) "orient", NULL
30790 };
30791
30792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_BoxSizer",kwnames,&arg1)) goto fail;
30793 {
30794 PyThreadState* __tstate = wxPyBeginAllowThreads();
30795 result = (wxBoxSizer *)new wxBoxSizer(arg1);
30796
30797 wxPyEndAllowThreads(__tstate);
30798 if (PyErr_Occurred()) SWIG_fail;
30799 }
30800 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBoxSizer, 1);
30801 return resultobj;
30802 fail:
30803 return NULL;
30804}
30805
30806
30807static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
30808 PyObject *resultobj;
30809 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
30810 int result;
30811 PyObject * obj0 = 0 ;
30812 char *kwnames[] = {
30813 (char *) "self", NULL
30814 };
30815
30816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
30817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30818 {
30819 PyThreadState* __tstate = wxPyBeginAllowThreads();
30820 result = (int)(arg1)->GetOrientation();
30821
30822 wxPyEndAllowThreads(__tstate);
30823 if (PyErr_Occurred()) SWIG_fail;
30824 }
30825 resultobj = PyInt_FromLong((long)result);
30826 return resultobj;
30827 fail:
30828 return NULL;
30829}
30830
30831
30832static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
30833 PyObject *resultobj;
30834 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
30835 int arg2 ;
30836 PyObject * obj0 = 0 ;
30837 char *kwnames[] = {
30838 (char *) "self",(char *) "orient", NULL
30839 };
30840
30841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BoxSizer_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
30842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30843 {
30844 PyThreadState* __tstate = wxPyBeginAllowThreads();
30845 (arg1)->SetOrientation(arg2);
30846
30847 wxPyEndAllowThreads(__tstate);
30848 if (PyErr_Occurred()) SWIG_fail;
30849 }
30850 Py_INCREF(Py_None); resultobj = Py_None;
30851 return resultobj;
30852 fail:
30853 return NULL;
30854}
30855
30856
30857static PyObject *_wrap_BoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
30858 PyObject *resultobj;
30859 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
30860 PyObject * obj0 = 0 ;
30861 char *kwnames[] = {
30862 (char *) "self", NULL
30863 };
30864
30865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
30866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30867 {
30868 PyThreadState* __tstate = wxPyBeginAllowThreads();
30869 (arg1)->RecalcSizes();
30870
30871 wxPyEndAllowThreads(__tstate);
30872 if (PyErr_Occurred()) SWIG_fail;
30873 }
30874 Py_INCREF(Py_None); resultobj = Py_None;
30875 return resultobj;
30876 fail:
30877 return NULL;
30878}
30879
30880
30881static PyObject *_wrap_BoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
30882 PyObject *resultobj;
30883 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
30884 wxSize result;
30885 PyObject * obj0 = 0 ;
30886 char *kwnames[] = {
30887 (char *) "self", NULL
30888 };
30889
30890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_CalcMin",kwnames,&obj0)) goto fail;
30891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30892 {
30893 PyThreadState* __tstate = wxPyBeginAllowThreads();
30894 result = (arg1)->CalcMin();
30895
30896 wxPyEndAllowThreads(__tstate);
30897 if (PyErr_Occurred()) SWIG_fail;
30898 }
30899 {
30900 wxSize * resultptr;
30901 resultptr = new wxSize((wxSize &) result);
30902 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30903 }
30904 return resultobj;
30905 fail:
30906 return NULL;
30907}
30908
30909
30910static PyObject * BoxSizer_swigregister(PyObject *self, PyObject *args) {
30911 PyObject *obj;
30912 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30913 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
30914 Py_INCREF(obj);
30915 return Py_BuildValue((char *)"");
30916}
30917static PyObject *_wrap_new_StaticBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
30918 PyObject *resultobj;
30919 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
30920 int arg2 = (int) wxHORIZONTAL ;
30921 wxStaticBoxSizer *result;
30922 PyObject * obj0 = 0 ;
30923 char *kwnames[] = {
30924 (char *) "box",(char *) "orient", NULL
30925 };
30926
30927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_StaticBoxSizer",kwnames,&obj0,&arg2)) goto fail;
30928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30929 {
30930 PyThreadState* __tstate = wxPyBeginAllowThreads();
30931 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
30932
30933 wxPyEndAllowThreads(__tstate);
30934 if (PyErr_Occurred()) SWIG_fail;
30935 }
30936 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBoxSizer, 1);
30937 return resultobj;
30938 fail:
30939 return NULL;
30940}
30941
30942
30943static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
30944 PyObject *resultobj;
30945 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
30946 wxStaticBox *result;
30947 PyObject * obj0 = 0 ;
30948 char *kwnames[] = {
30949 (char *) "self", NULL
30950 };
30951
30952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
30953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30954 {
30955 PyThreadState* __tstate = wxPyBeginAllowThreads();
30956 result = (wxStaticBox *)(arg1)->GetStaticBox();
30957
30958 wxPyEndAllowThreads(__tstate);
30959 if (PyErr_Occurred()) SWIG_fail;
30960 }
30961 {
30962 resultobj = wxPyMake_wxObject(result);
30963 }
30964 return resultobj;
30965 fail:
30966 return NULL;
30967}
30968
30969
30970static PyObject *_wrap_StaticBoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
30971 PyObject *resultobj;
30972 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
30973 PyObject * obj0 = 0 ;
30974 char *kwnames[] = {
30975 (char *) "self", NULL
30976 };
30977
30978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
30979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30980 {
30981 PyThreadState* __tstate = wxPyBeginAllowThreads();
30982 (arg1)->RecalcSizes();
30983
30984 wxPyEndAllowThreads(__tstate);
30985 if (PyErr_Occurred()) SWIG_fail;
30986 }
30987 Py_INCREF(Py_None); resultobj = Py_None;
30988 return resultobj;
30989 fail:
30990 return NULL;
30991}
30992
30993
30994static PyObject *_wrap_StaticBoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
30995 PyObject *resultobj;
30996 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
30997 wxSize result;
30998 PyObject * obj0 = 0 ;
30999 char *kwnames[] = {
31000 (char *) "self", NULL
31001 };
31002
31003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_CalcMin",kwnames,&obj0)) goto fail;
31004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31005 {
31006 PyThreadState* __tstate = wxPyBeginAllowThreads();
31007 result = (arg1)->CalcMin();
31008
31009 wxPyEndAllowThreads(__tstate);
31010 if (PyErr_Occurred()) SWIG_fail;
31011 }
31012 {
31013 wxSize * resultptr;
31014 resultptr = new wxSize((wxSize &) result);
31015 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31016 }
31017 return resultobj;
31018 fail:
31019 return NULL;
31020}
31021
31022
31023static PyObject * StaticBoxSizer_swigregister(PyObject *self, PyObject *args) {
31024 PyObject *obj;
31025 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31026 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
31027 Py_INCREF(obj);
31028 return Py_BuildValue((char *)"");
31029}
31030static PyObject *_wrap_new_GridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31031 PyObject *resultobj;
31032 int arg1 = (int) 1 ;
31033 int arg2 = (int) 0 ;
31034 int arg3 = (int) 0 ;
31035 int arg4 = (int) 0 ;
31036 wxGridSizer *result;
31037 char *kwnames[] = {
31038 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31039 };
31040
31041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_GridSizer",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
31042 {
31043 PyThreadState* __tstate = wxPyBeginAllowThreads();
31044 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
31045
31046 wxPyEndAllowThreads(__tstate);
31047 if (PyErr_Occurred()) SWIG_fail;
31048 }
31049 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridSizer, 1);
31050 return resultobj;
31051 fail:
31052 return NULL;
31053}
31054
31055
31056static PyObject *_wrap_GridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31057 PyObject *resultobj;
31058 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31059 PyObject * obj0 = 0 ;
31060 char *kwnames[] = {
31061 (char *) "self", NULL
31062 };
31063
31064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
31065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31066 {
31067 PyThreadState* __tstate = wxPyBeginAllowThreads();
31068 (arg1)->RecalcSizes();
31069
31070 wxPyEndAllowThreads(__tstate);
31071 if (PyErr_Occurred()) SWIG_fail;
31072 }
31073 Py_INCREF(Py_None); resultobj = Py_None;
31074 return resultobj;
31075 fail:
31076 return NULL;
31077}
31078
31079
31080static PyObject *_wrap_GridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31081 PyObject *resultobj;
31082 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31083 wxSize result;
31084 PyObject * obj0 = 0 ;
31085 char *kwnames[] = {
31086 (char *) "self", NULL
31087 };
31088
31089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_CalcMin",kwnames,&obj0)) goto fail;
31090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31091 {
31092 PyThreadState* __tstate = wxPyBeginAllowThreads();
31093 result = (arg1)->CalcMin();
31094
31095 wxPyEndAllowThreads(__tstate);
31096 if (PyErr_Occurred()) SWIG_fail;
31097 }
31098 {
31099 wxSize * resultptr;
31100 resultptr = new wxSize((wxSize &) result);
31101 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31102 }
31103 return resultobj;
31104 fail:
31105 return NULL;
31106}
31107
31108
31109static PyObject *_wrap_GridSizer_SetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
31110 PyObject *resultobj;
31111 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31112 int arg2 ;
31113 PyObject * obj0 = 0 ;
31114 char *kwnames[] = {
31115 (char *) "self",(char *) "cols", NULL
31116 };
31117
31118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetCols",kwnames,&obj0,&arg2)) goto fail;
31119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31120 {
31121 PyThreadState* __tstate = wxPyBeginAllowThreads();
31122 (arg1)->SetCols(arg2);
31123
31124 wxPyEndAllowThreads(__tstate);
31125 if (PyErr_Occurred()) SWIG_fail;
31126 }
31127 Py_INCREF(Py_None); resultobj = Py_None;
31128 return resultobj;
31129 fail:
31130 return NULL;
31131}
31132
31133
31134static PyObject *_wrap_GridSizer_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
31135 PyObject *resultobj;
31136 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31137 int arg2 ;
31138 PyObject * obj0 = 0 ;
31139 char *kwnames[] = {
31140 (char *) "self",(char *) "rows", NULL
31141 };
31142
31143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetRows",kwnames,&obj0,&arg2)) goto fail;
31144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31145 {
31146 PyThreadState* __tstate = wxPyBeginAllowThreads();
31147 (arg1)->SetRows(arg2);
31148
31149 wxPyEndAllowThreads(__tstate);
31150 if (PyErr_Occurred()) SWIG_fail;
31151 }
31152 Py_INCREF(Py_None); resultobj = Py_None;
31153 return resultobj;
31154 fail:
31155 return NULL;
31156}
31157
31158
31159static PyObject *_wrap_GridSizer_SetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31160 PyObject *resultobj;
31161 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31162 int arg2 ;
31163 PyObject * obj0 = 0 ;
31164 char *kwnames[] = {
31165 (char *) "self",(char *) "gap", NULL
31166 };
31167
31168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetVGap",kwnames,&obj0,&arg2)) goto fail;
31169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31170 {
31171 PyThreadState* __tstate = wxPyBeginAllowThreads();
31172 (arg1)->SetVGap(arg2);
31173
31174 wxPyEndAllowThreads(__tstate);
31175 if (PyErr_Occurred()) SWIG_fail;
31176 }
31177 Py_INCREF(Py_None); resultobj = Py_None;
31178 return resultobj;
31179 fail:
31180 return NULL;
31181}
31182
31183
31184static PyObject *_wrap_GridSizer_SetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31185 PyObject *resultobj;
31186 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31187 int arg2 ;
31188 PyObject * obj0 = 0 ;
31189 char *kwnames[] = {
31190 (char *) "self",(char *) "gap", NULL
31191 };
31192
31193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetHGap",kwnames,&obj0,&arg2)) goto fail;
31194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31195 {
31196 PyThreadState* __tstate = wxPyBeginAllowThreads();
31197 (arg1)->SetHGap(arg2);
31198
31199 wxPyEndAllowThreads(__tstate);
31200 if (PyErr_Occurred()) SWIG_fail;
31201 }
31202 Py_INCREF(Py_None); resultobj = Py_None;
31203 return resultobj;
31204 fail:
31205 return NULL;
31206}
31207
31208
31209static PyObject *_wrap_GridSizer_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
31210 PyObject *resultobj;
31211 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31212 int result;
31213 PyObject * obj0 = 0 ;
31214 char *kwnames[] = {
31215 (char *) "self", NULL
31216 };
31217
31218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
31219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31220 {
31221 PyThreadState* __tstate = wxPyBeginAllowThreads();
31222 result = (int)(arg1)->GetCols();
31223
31224 wxPyEndAllowThreads(__tstate);
31225 if (PyErr_Occurred()) SWIG_fail;
31226 }
31227 resultobj = PyInt_FromLong((long)result);
31228 return resultobj;
31229 fail:
31230 return NULL;
31231}
31232
31233
31234static PyObject *_wrap_GridSizer_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
31235 PyObject *resultobj;
31236 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31237 int result;
31238 PyObject * obj0 = 0 ;
31239 char *kwnames[] = {
31240 (char *) "self", NULL
31241 };
31242
31243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
31244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31245 {
31246 PyThreadState* __tstate = wxPyBeginAllowThreads();
31247 result = (int)(arg1)->GetRows();
31248
31249 wxPyEndAllowThreads(__tstate);
31250 if (PyErr_Occurred()) SWIG_fail;
31251 }
31252 resultobj = PyInt_FromLong((long)result);
31253 return resultobj;
31254 fail:
31255 return NULL;
31256}
31257
31258
31259static PyObject *_wrap_GridSizer_GetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31260 PyObject *resultobj;
31261 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31262 int result;
31263 PyObject * obj0 = 0 ;
31264 char *kwnames[] = {
31265 (char *) "self", NULL
31266 };
31267
31268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
31269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31270 {
31271 PyThreadState* __tstate = wxPyBeginAllowThreads();
31272 result = (int)(arg1)->GetVGap();
31273
31274 wxPyEndAllowThreads(__tstate);
31275 if (PyErr_Occurred()) SWIG_fail;
31276 }
31277 resultobj = PyInt_FromLong((long)result);
31278 return resultobj;
31279 fail:
31280 return NULL;
31281}
31282
31283
31284static PyObject *_wrap_GridSizer_GetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31285 PyObject *resultobj;
31286 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31287 int result;
31288 PyObject * obj0 = 0 ;
31289 char *kwnames[] = {
31290 (char *) "self", NULL
31291 };
31292
31293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
31294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31295 {
31296 PyThreadState* __tstate = wxPyBeginAllowThreads();
31297 result = (int)(arg1)->GetHGap();
31298
31299 wxPyEndAllowThreads(__tstate);
31300 if (PyErr_Occurred()) SWIG_fail;
31301 }
31302 resultobj = PyInt_FromLong((long)result);
31303 return resultobj;
31304 fail:
31305 return NULL;
31306}
31307
31308
31309static PyObject * GridSizer_swigregister(PyObject *self, PyObject *args) {
31310 PyObject *obj;
31311 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31312 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
31313 Py_INCREF(obj);
31314 return Py_BuildValue((char *)"");
31315}
31316static PyObject *_wrap_new_FlexGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31317 PyObject *resultobj;
31318 int arg1 = (int) 1 ;
31319 int arg2 = (int) 0 ;
31320 int arg3 = (int) 0 ;
31321 int arg4 = (int) 0 ;
31322 wxFlexGridSizer *result;
31323 char *kwnames[] = {
31324 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31325 };
31326
31327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_FlexGridSizer",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
31328 {
31329 PyThreadState* __tstate = wxPyBeginAllowThreads();
31330 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
31331
31332 wxPyEndAllowThreads(__tstate);
31333 if (PyErr_Occurred()) SWIG_fail;
31334 }
31335 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFlexGridSizer, 1);
31336 return resultobj;
31337 fail:
31338 return NULL;
31339}
31340
31341
31342static PyObject *_wrap_FlexGridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31343 PyObject *resultobj;
31344 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31345 PyObject * obj0 = 0 ;
31346 char *kwnames[] = {
31347 (char *) "self", NULL
31348 };
31349
31350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
31351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31352 {
31353 PyThreadState* __tstate = wxPyBeginAllowThreads();
31354 (arg1)->RecalcSizes();
31355
31356 wxPyEndAllowThreads(__tstate);
31357 if (PyErr_Occurred()) SWIG_fail;
31358 }
31359 Py_INCREF(Py_None); resultobj = Py_None;
31360 return resultobj;
31361 fail:
31362 return NULL;
31363}
31364
31365
31366static PyObject *_wrap_FlexGridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31367 PyObject *resultobj;
31368 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31369 wxSize result;
31370 PyObject * obj0 = 0 ;
31371 char *kwnames[] = {
31372 (char *) "self", NULL
31373 };
31374
31375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_CalcMin",kwnames,&obj0)) goto fail;
31376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31377 {
31378 PyThreadState* __tstate = wxPyBeginAllowThreads();
31379 result = (arg1)->CalcMin();
31380
31381 wxPyEndAllowThreads(__tstate);
31382 if (PyErr_Occurred()) SWIG_fail;
31383 }
31384 {
31385 wxSize * resultptr;
31386 resultptr = new wxSize((wxSize &) result);
31387 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31388 }
31389 return resultobj;
31390 fail:
31391 return NULL;
31392}
31393
31394
31395static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
31396 PyObject *resultobj;
31397 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31398 size_t arg2 ;
31399 int arg3 = (int) 0 ;
31400 PyObject * obj0 = 0 ;
31401 PyObject * obj1 = 0 ;
31402 char *kwnames[] = {
31403 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31404 };
31405
31406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&arg3)) goto fail;
31407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31408 arg2 = (size_t) PyInt_AsLong(obj1);
31409 if (PyErr_Occurred()) SWIG_fail;
31410 {
31411 PyThreadState* __tstate = wxPyBeginAllowThreads();
31412 (arg1)->AddGrowableRow(arg2,arg3);
31413
31414 wxPyEndAllowThreads(__tstate);
31415 if (PyErr_Occurred()) SWIG_fail;
31416 }
31417 Py_INCREF(Py_None); resultobj = Py_None;
31418 return resultobj;
31419 fail:
31420 return NULL;
31421}
31422
31423
31424static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
31425 PyObject *resultobj;
31426 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31427 size_t arg2 ;
31428 PyObject * obj0 = 0 ;
31429 PyObject * obj1 = 0 ;
31430 char *kwnames[] = {
31431 (char *) "self",(char *) "idx", NULL
31432 };
31433
31434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
31435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31436 arg2 = (size_t) PyInt_AsLong(obj1);
31437 if (PyErr_Occurred()) SWIG_fail;
31438 {
31439 PyThreadState* __tstate = wxPyBeginAllowThreads();
31440 (arg1)->RemoveGrowableRow(arg2);
31441
31442 wxPyEndAllowThreads(__tstate);
31443 if (PyErr_Occurred()) SWIG_fail;
31444 }
31445 Py_INCREF(Py_None); resultobj = Py_None;
31446 return resultobj;
31447 fail:
31448 return NULL;
31449}
31450
31451
31452static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
31453 PyObject *resultobj;
31454 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31455 size_t arg2 ;
31456 int arg3 = (int) 0 ;
31457 PyObject * obj0 = 0 ;
31458 PyObject * obj1 = 0 ;
31459 char *kwnames[] = {
31460 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31461 };
31462
31463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&arg3)) goto fail;
31464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31465 arg2 = (size_t) PyInt_AsLong(obj1);
31466 if (PyErr_Occurred()) SWIG_fail;
31467 {
31468 PyThreadState* __tstate = wxPyBeginAllowThreads();
31469 (arg1)->AddGrowableCol(arg2,arg3);
31470
31471 wxPyEndAllowThreads(__tstate);
31472 if (PyErr_Occurred()) SWIG_fail;
31473 }
31474 Py_INCREF(Py_None); resultobj = Py_None;
31475 return resultobj;
31476 fail:
31477 return NULL;
31478}
31479
31480
31481static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
31482 PyObject *resultobj;
31483 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31484 size_t arg2 ;
31485 PyObject * obj0 = 0 ;
31486 PyObject * obj1 = 0 ;
31487 char *kwnames[] = {
31488 (char *) "self",(char *) "idx", NULL
31489 };
31490
31491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
31492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31493 arg2 = (size_t) PyInt_AsLong(obj1);
31494 if (PyErr_Occurred()) SWIG_fail;
31495 {
31496 PyThreadState* __tstate = wxPyBeginAllowThreads();
31497 (arg1)->RemoveGrowableCol(arg2);
31498
31499 wxPyEndAllowThreads(__tstate);
31500 if (PyErr_Occurred()) SWIG_fail;
31501 }
31502 Py_INCREF(Py_None); resultobj = Py_None;
31503 return resultobj;
31504 fail:
31505 return NULL;
31506}
31507
31508
31509static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
31510 PyObject *resultobj;
31511 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31512 int arg2 ;
31513 PyObject * obj0 = 0 ;
31514 char *kwnames[] = {
31515 (char *) "self",(char *) "direction", NULL
31516 };
31517
31518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&arg2)) goto fail;
31519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31520 {
31521 PyThreadState* __tstate = wxPyBeginAllowThreads();
31522 (arg1)->SetFlexibleDirection(arg2);
31523
31524 wxPyEndAllowThreads(__tstate);
31525 if (PyErr_Occurred()) SWIG_fail;
31526 }
31527 Py_INCREF(Py_None); resultobj = Py_None;
31528 return resultobj;
31529 fail:
31530 return NULL;
31531}
31532
31533
31534static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
31535 PyObject *resultobj;
31536 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31537 int result;
31538 PyObject * obj0 = 0 ;
31539 char *kwnames[] = {
31540 (char *) "self", NULL
31541 };
31542
31543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
31544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31545 {
31546 PyThreadState* __tstate = wxPyBeginAllowThreads();
31547 result = (int)(arg1)->GetFlexibleDirection();
31548
31549 wxPyEndAllowThreads(__tstate);
31550 if (PyErr_Occurred()) SWIG_fail;
31551 }
31552 resultobj = PyInt_FromLong((long)result);
31553 return resultobj;
31554 fail:
31555 return NULL;
31556}
31557
31558
31559static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
31560 PyObject *resultobj;
31561 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31562 int arg2 ;
31563 PyObject * obj0 = 0 ;
31564 char *kwnames[] = {
31565 (char *) "self",(char *) "mode", NULL
31566 };
31567
31568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&arg2)) goto fail;
31569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31570 {
31571 PyThreadState* __tstate = wxPyBeginAllowThreads();
31572 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
31573
31574 wxPyEndAllowThreads(__tstate);
31575 if (PyErr_Occurred()) SWIG_fail;
31576 }
31577 Py_INCREF(Py_None); resultobj = Py_None;
31578 return resultobj;
31579 fail:
31580 return NULL;
31581}
31582
31583
31584static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
31585 PyObject *resultobj;
31586 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31587 int result;
31588 PyObject * obj0 = 0 ;
31589 char *kwnames[] = {
31590 (char *) "self", NULL
31591 };
31592
31593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
31594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31595 {
31596 PyThreadState* __tstate = wxPyBeginAllowThreads();
31597 result = (int)(arg1)->GetNonFlexibleGrowMode();
31598
31599 wxPyEndAllowThreads(__tstate);
31600 if (PyErr_Occurred()) SWIG_fail;
31601 }
31602 resultobj = PyInt_FromLong((long)result);
31603 return resultobj;
31604 fail:
31605 return NULL;
31606}
31607
31608
e811c8ce
RD
31609static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *self, PyObject *args, PyObject *kwargs) {
31610 PyObject *resultobj;
31611 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31612 wxArrayInt *result;
31613 PyObject * obj0 = 0 ;
31614 char *kwnames[] = {
31615 (char *) "self", NULL
31616 };
31617
31618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
31619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31620 {
31621 PyThreadState* __tstate = wxPyBeginAllowThreads();
31622 {
31623 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
31624 result = (wxArrayInt *) &_result_ref;
31625 }
31626
31627 wxPyEndAllowThreads(__tstate);
31628 if (PyErr_Occurred()) SWIG_fail;
31629 }
31630 {
31631 resultobj = PyList_New(0);
31632 size_t idx;
31633 for (idx = 0; idx < result->GetCount(); idx += 1) {
31634 PyObject* val = PyInt_FromLong( result->Item(idx) );
31635 PyList_Append(resultobj, val);
31636 Py_DECREF(val);
31637 }
31638 }
31639 return resultobj;
31640 fail:
31641 return NULL;
31642}
31643
31644
31645static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
31646 PyObject *resultobj;
31647 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31648 wxArrayInt *result;
31649 PyObject * obj0 = 0 ;
31650 char *kwnames[] = {
31651 (char *) "self", NULL
31652 };
31653
31654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
31655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31656 {
31657 PyThreadState* __tstate = wxPyBeginAllowThreads();
31658 {
31659 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
31660 result = (wxArrayInt *) &_result_ref;
31661 }
31662
31663 wxPyEndAllowThreads(__tstate);
31664 if (PyErr_Occurred()) SWIG_fail;
31665 }
31666 {
31667 resultobj = PyList_New(0);
31668 size_t idx;
31669 for (idx = 0; idx < result->GetCount(); idx += 1) {
31670 PyObject* val = PyInt_FromLong( result->Item(idx) );
31671 PyList_Append(resultobj, val);
31672 Py_DECREF(val);
31673 }
31674 }
31675 return resultobj;
31676 fail:
31677 return NULL;
31678}
31679
31680
d14a1e28
RD
31681static PyObject * FlexGridSizer_swigregister(PyObject *self, PyObject *args) {
31682 PyObject *obj;
31683 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31684 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
31685 Py_INCREF(obj);
31686 return Py_BuildValue((char *)"");
31687}
31688static PyObject *_wrap_new_GBPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
31689 PyObject *resultobj;
31690 int arg1 = (int) 0 ;
31691 int arg2 = (int) 0 ;
31692 wxGBPosition *result;
31693 char *kwnames[] = {
31694 (char *) "row",(char *) "col", NULL
31695 };
31696
31697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GBPosition",kwnames,&arg1,&arg2)) goto fail;
31698 {
31699 PyThreadState* __tstate = wxPyBeginAllowThreads();
31700 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
31701
31702 wxPyEndAllowThreads(__tstate);
31703 if (PyErr_Occurred()) SWIG_fail;
31704 }
31705 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBPosition, 1);
31706 return resultobj;
31707 fail:
31708 return NULL;
31709}
31710
31711
31712static PyObject *_wrap_GBPosition_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
31713 PyObject *resultobj;
31714 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31715 int result;
31716 PyObject * obj0 = 0 ;
31717 char *kwnames[] = {
31718 (char *) "self", NULL
31719 };
31720
31721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
31722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31723 {
31724 PyThreadState* __tstate = wxPyBeginAllowThreads();
31725 result = (int)((wxGBPosition const *)arg1)->GetRow();
31726
31727 wxPyEndAllowThreads(__tstate);
31728 if (PyErr_Occurred()) SWIG_fail;
31729 }
31730 resultobj = PyInt_FromLong((long)result);
31731 return resultobj;
31732 fail:
31733 return NULL;
31734}
31735
31736
31737static PyObject *_wrap_GBPosition_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
31738 PyObject *resultobj;
31739 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31740 int result;
31741 PyObject * obj0 = 0 ;
31742 char *kwnames[] = {
31743 (char *) "self", NULL
31744 };
31745
31746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
31747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31748 {
31749 PyThreadState* __tstate = wxPyBeginAllowThreads();
31750 result = (int)((wxGBPosition const *)arg1)->GetCol();
31751
31752 wxPyEndAllowThreads(__tstate);
31753 if (PyErr_Occurred()) SWIG_fail;
31754 }
31755 resultobj = PyInt_FromLong((long)result);
31756 return resultobj;
31757 fail:
31758 return NULL;
31759}
31760
31761
31762static PyObject *_wrap_GBPosition_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
31763 PyObject *resultobj;
31764 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31765 int arg2 ;
31766 PyObject * obj0 = 0 ;
31767 char *kwnames[] = {
31768 (char *) "self",(char *) "row", NULL
31769 };
31770
31771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBPosition_SetRow",kwnames,&obj0,&arg2)) goto fail;
31772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31773 {
31774 PyThreadState* __tstate = wxPyBeginAllowThreads();
31775 (arg1)->SetRow(arg2);
31776
31777 wxPyEndAllowThreads(__tstate);
31778 if (PyErr_Occurred()) SWIG_fail;
31779 }
31780 Py_INCREF(Py_None); resultobj = Py_None;
31781 return resultobj;
31782 fail:
31783 return NULL;
31784}
31785
31786
31787static PyObject *_wrap_GBPosition_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
31788 PyObject *resultobj;
31789 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31790 int arg2 ;
31791 PyObject * obj0 = 0 ;
31792 char *kwnames[] = {
31793 (char *) "self",(char *) "col", NULL
31794 };
31795
31796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBPosition_SetCol",kwnames,&obj0,&arg2)) goto fail;
31797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31798 {
31799 PyThreadState* __tstate = wxPyBeginAllowThreads();
31800 (arg1)->SetCol(arg2);
31801
31802 wxPyEndAllowThreads(__tstate);
31803 if (PyErr_Occurred()) SWIG_fail;
31804 }
31805 Py_INCREF(Py_None); resultobj = Py_None;
31806 return resultobj;
31807 fail:
31808 return NULL;
31809}
31810
31811
31812static PyObject *_wrap_GBPosition___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
31813 PyObject *resultobj;
31814 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31815 wxGBPosition *arg2 = 0 ;
31816 bool result;
31817 wxGBPosition temp2 ;
31818 PyObject * obj0 = 0 ;
31819 PyObject * obj1 = 0 ;
31820 char *kwnames[] = {
31821 (char *) "self",(char *) "p", NULL
31822 };
31823
31824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
31825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31826 {
31827 arg2 = &temp2;
31828 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
31829 }
31830 {
31831 PyThreadState* __tstate = wxPyBeginAllowThreads();
31832 result = (bool)((wxGBPosition const *)arg1)->operator ==((wxGBPosition const &)*arg2);
31833
31834 wxPyEndAllowThreads(__tstate);
31835 if (PyErr_Occurred()) SWIG_fail;
31836 }
31837 resultobj = PyInt_FromLong((long)result);
31838 return resultobj;
31839 fail:
31840 return NULL;
31841}
31842
31843
31844static PyObject *_wrap_GBPosition___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
31845 PyObject *resultobj;
31846 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31847 wxGBPosition *arg2 = 0 ;
31848 bool result;
31849 wxGBPosition temp2 ;
31850 PyObject * obj0 = 0 ;
31851 PyObject * obj1 = 0 ;
31852 char *kwnames[] = {
31853 (char *) "self",(char *) "p", NULL
31854 };
31855
31856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
31857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31858 {
31859 arg2 = &temp2;
31860 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
31861 }
31862 {
31863 PyThreadState* __tstate = wxPyBeginAllowThreads();
31864 result = (bool)((wxGBPosition const *)arg1)->operator !=((wxGBPosition const &)*arg2);
31865
31866 wxPyEndAllowThreads(__tstate);
31867 if (PyErr_Occurred()) SWIG_fail;
31868 }
31869 resultobj = PyInt_FromLong((long)result);
31870 return resultobj;
31871 fail:
31872 return NULL;
31873}
31874
31875
e811c8ce
RD
31876static PyObject *_wrap_GBPosition_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
31877 PyObject *resultobj;
31878 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31879 int arg2 = (int) 0 ;
31880 int arg3 = (int) 0 ;
31881 PyObject * obj0 = 0 ;
31882 char *kwnames[] = {
31883 (char *) "self",(char *) "row",(char *) "col", NULL
31884 };
31885
31886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:GBPosition_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
31887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31888 {
31889 PyThreadState* __tstate = wxPyBeginAllowThreads();
31890 wxGBPosition_Set(arg1,arg2,arg3);
31891
31892 wxPyEndAllowThreads(__tstate);
31893 if (PyErr_Occurred()) SWIG_fail;
31894 }
31895 Py_INCREF(Py_None); resultobj = Py_None;
31896 return resultobj;
31897 fail:
31898 return NULL;
31899}
31900
31901
31902static PyObject *_wrap_GBPosition_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31903 PyObject *resultobj;
31904 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31905 PyObject *result;
31906 PyObject * obj0 = 0 ;
31907 char *kwnames[] = {
31908 (char *) "self", NULL
31909 };
31910
e811c8ce 31911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
31912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31913 {
31914 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 31915 result = (PyObject *)wxGBPosition_Get(arg1);
d14a1e28
RD
31916
31917 wxPyEndAllowThreads(__tstate);
31918 if (PyErr_Occurred()) SWIG_fail;
31919 }
31920 resultobj = result;
31921 return resultobj;
31922 fail:
31923 return NULL;
31924}
31925
31926
31927static PyObject * GBPosition_swigregister(PyObject *self, PyObject *args) {
31928 PyObject *obj;
31929 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31930 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
31931 Py_INCREF(obj);
31932 return Py_BuildValue((char *)"");
31933}
31934static PyObject *_wrap_new_GBSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
31935 PyObject *resultobj;
31936 int arg1 = (int) 1 ;
31937 int arg2 = (int) 1 ;
31938 wxGBSpan *result;
31939 char *kwnames[] = {
31940 (char *) "rowspan",(char *) "colspan", NULL
31941 };
31942
31943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GBSpan",kwnames,&arg1,&arg2)) goto fail;
31944 {
31945 PyThreadState* __tstate = wxPyBeginAllowThreads();
31946 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
31947
31948 wxPyEndAllowThreads(__tstate);
31949 if (PyErr_Occurred()) SWIG_fail;
31950 }
31951 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSpan, 1);
31952 return resultobj;
31953 fail:
31954 return NULL;
31955}
31956
31957
31958static PyObject *_wrap_GBSpan_GetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
31959 PyObject *resultobj;
31960 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
31961 int result;
31962 PyObject * obj0 = 0 ;
31963 char *kwnames[] = {
31964 (char *) "self", NULL
31965 };
31966
31967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
31968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31969 {
31970 PyThreadState* __tstate = wxPyBeginAllowThreads();
31971 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
31972
31973 wxPyEndAllowThreads(__tstate);
31974 if (PyErr_Occurred()) SWIG_fail;
31975 }
31976 resultobj = PyInt_FromLong((long)result);
31977 return resultobj;
31978 fail:
31979 return NULL;
31980}
31981
31982
31983static PyObject *_wrap_GBSpan_GetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
31984 PyObject *resultobj;
31985 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
31986 int result;
31987 PyObject * obj0 = 0 ;
31988 char *kwnames[] = {
31989 (char *) "self", NULL
31990 };
31991
31992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
31993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31994 {
31995 PyThreadState* __tstate = wxPyBeginAllowThreads();
31996 result = (int)((wxGBSpan const *)arg1)->GetColspan();
31997
31998 wxPyEndAllowThreads(__tstate);
31999 if (PyErr_Occurred()) SWIG_fail;
32000 }
32001 resultobj = PyInt_FromLong((long)result);
32002 return resultobj;
32003 fail:
32004 return NULL;
32005}
32006
32007
32008static PyObject *_wrap_GBSpan_SetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
32009 PyObject *resultobj;
32010 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32011 int arg2 ;
32012 PyObject * obj0 = 0 ;
32013 char *kwnames[] = {
32014 (char *) "self",(char *) "rowspan", NULL
32015 };
32016
32017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBSpan_SetRowspan",kwnames,&obj0,&arg2)) goto fail;
32018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32019 {
32020 PyThreadState* __tstate = wxPyBeginAllowThreads();
32021 (arg1)->SetRowspan(arg2);
32022
32023 wxPyEndAllowThreads(__tstate);
32024 if (PyErr_Occurred()) SWIG_fail;
32025 }
32026 Py_INCREF(Py_None); resultobj = Py_None;
32027 return resultobj;
32028 fail:
32029 return NULL;
32030}
32031
32032
32033static PyObject *_wrap_GBSpan_SetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
32034 PyObject *resultobj;
32035 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32036 int arg2 ;
32037 PyObject * obj0 = 0 ;
32038 char *kwnames[] = {
32039 (char *) "self",(char *) "colspan", NULL
32040 };
32041
32042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBSpan_SetColspan",kwnames,&obj0,&arg2)) goto fail;
32043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32044 {
32045 PyThreadState* __tstate = wxPyBeginAllowThreads();
32046 (arg1)->SetColspan(arg2);
32047
32048 wxPyEndAllowThreads(__tstate);
32049 if (PyErr_Occurred()) SWIG_fail;
32050 }
32051 Py_INCREF(Py_None); resultobj = Py_None;
32052 return resultobj;
32053 fail:
32054 return NULL;
32055}
32056
32057
32058static PyObject *_wrap_GBSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
32059 PyObject *resultobj;
32060 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32061 wxGBSpan *arg2 = 0 ;
32062 bool result;
32063 wxGBSpan temp2 ;
32064 PyObject * obj0 = 0 ;
32065 PyObject * obj1 = 0 ;
32066 char *kwnames[] = {
32067 (char *) "self",(char *) "o", NULL
32068 };
32069
32070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
32071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32072 {
32073 arg2 = &temp2;
32074 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
32075 }
32076 {
32077 PyThreadState* __tstate = wxPyBeginAllowThreads();
32078 result = (bool)((wxGBSpan const *)arg1)->operator ==((wxGBSpan const &)*arg2);
32079
32080 wxPyEndAllowThreads(__tstate);
32081 if (PyErr_Occurred()) SWIG_fail;
32082 }
32083 resultobj = PyInt_FromLong((long)result);
32084 return resultobj;
32085 fail:
32086 return NULL;
32087}
32088
32089
32090static PyObject *_wrap_GBSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
32091 PyObject *resultobj;
32092 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32093 wxGBSpan *arg2 = 0 ;
32094 bool result;
32095 wxGBSpan temp2 ;
32096 PyObject * obj0 = 0 ;
32097 PyObject * obj1 = 0 ;
32098 char *kwnames[] = {
32099 (char *) "self",(char *) "o", NULL
32100 };
32101
32102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
32103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32104 {
32105 arg2 = &temp2;
32106 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
32107 }
32108 {
32109 PyThreadState* __tstate = wxPyBeginAllowThreads();
32110 result = (bool)((wxGBSpan const *)arg1)->operator !=((wxGBSpan const &)*arg2);
32111
32112 wxPyEndAllowThreads(__tstate);
32113 if (PyErr_Occurred()) SWIG_fail;
32114 }
32115 resultobj = PyInt_FromLong((long)result);
32116 return resultobj;
32117 fail:
32118 return NULL;
32119}
32120
32121
e811c8ce
RD
32122static PyObject *_wrap_GBSpan_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
32123 PyObject *resultobj;
32124 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32125 int arg2 = (int) 1 ;
32126 int arg3 = (int) 1 ;
32127 PyObject * obj0 = 0 ;
32128 char *kwnames[] = {
32129 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
32130 };
32131
32132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:GBSpan_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
32133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32134 {
32135 PyThreadState* __tstate = wxPyBeginAllowThreads();
32136 wxGBSpan_Set(arg1,arg2,arg3);
32137
32138 wxPyEndAllowThreads(__tstate);
32139 if (PyErr_Occurred()) SWIG_fail;
32140 }
32141 Py_INCREF(Py_None); resultobj = Py_None;
32142 return resultobj;
32143 fail:
32144 return NULL;
32145}
32146
32147
32148static PyObject *_wrap_GBSpan_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32149 PyObject *resultobj;
32150 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32151 PyObject *result;
32152 PyObject * obj0 = 0 ;
32153 char *kwnames[] = {
32154 (char *) "self", NULL
32155 };
32156
e811c8ce 32157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
32158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32159 {
32160 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 32161 result = (PyObject *)wxGBSpan_Get(arg1);
d14a1e28
RD
32162
32163 wxPyEndAllowThreads(__tstate);
32164 if (PyErr_Occurred()) SWIG_fail;
32165 }
32166 resultobj = result;
32167 return resultobj;
32168 fail:
32169 return NULL;
32170}
32171
32172
32173static PyObject * GBSpan_swigregister(PyObject *self, PyObject *args) {
32174 PyObject *obj;
32175 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32176 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
32177 Py_INCREF(obj);
32178 return Py_BuildValue((char *)"");
32179}
32180static int _wrap_DefaultSpan_set(PyObject *_val) {
32181 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
32182 return 1;
32183}
32184
32185
32186static PyObject *_wrap_DefaultSpan_get() {
32187 PyObject *pyobj;
32188
32189 pyobj = SWIG_NewPointerObj((void *) &wxDefaultSpan, SWIGTYPE_p_wxGBSpan, 0);
32190 return pyobj;
32191}
32192
32193
32194static PyObject *_wrap_new_GBSizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
32195 PyObject *resultobj;
32196 wxGBSizerItem *result;
32197 char *kwnames[] = {
32198 NULL
32199 };
32200
32201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
32202 {
32203 PyThreadState* __tstate = wxPyBeginAllowThreads();
32204 result = (wxGBSizerItem *)new wxGBSizerItem();
32205
32206 wxPyEndAllowThreads(__tstate);
32207 if (PyErr_Occurred()) SWIG_fail;
32208 }
32209 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32210 return resultobj;
32211 fail:
32212 return NULL;
32213}
32214
32215
32216static PyObject *_wrap_new_GBSizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
32217 PyObject *resultobj;
32218 wxWindow *arg1 = (wxWindow *) 0 ;
32219 wxGBPosition *arg2 = 0 ;
32220 wxGBSpan *arg3 = 0 ;
32221 int arg4 ;
32222 int arg5 ;
32223 wxObject *arg6 = (wxObject *) 0 ;
32224 wxGBSizerItem *result;
32225 wxGBPosition temp2 ;
32226 wxGBSpan temp3 ;
32227 PyObject * obj0 = 0 ;
32228 PyObject * obj1 = 0 ;
32229 PyObject * obj2 = 0 ;
32230 PyObject * obj5 = 0 ;
32231 char *kwnames[] = {
32232 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32233 };
32234
32235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiiO:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
32236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32237 {
32238 arg2 = &temp2;
32239 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32240 }
32241 {
32242 arg3 = &temp3;
32243 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
32244 }
32245 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32246 {
32247 PyThreadState* __tstate = wxPyBeginAllowThreads();
32248 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
32249
32250 wxPyEndAllowThreads(__tstate);
32251 if (PyErr_Occurred()) SWIG_fail;
32252 }
32253 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32254 return resultobj;
32255 fail:
32256 return NULL;
32257}
32258
32259
32260static PyObject *_wrap_new_GBSizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32261 PyObject *resultobj;
32262 wxSizer *arg1 = (wxSizer *) 0 ;
32263 wxGBPosition *arg2 = 0 ;
32264 wxGBSpan *arg3 = 0 ;
32265 int arg4 ;
32266 int arg5 ;
32267 wxObject *arg6 = (wxObject *) 0 ;
32268 wxGBSizerItem *result;
32269 wxGBPosition temp2 ;
32270 wxGBSpan temp3 ;
32271 PyObject * obj0 = 0 ;
32272 PyObject * obj1 = 0 ;
32273 PyObject * obj2 = 0 ;
32274 PyObject * obj5 = 0 ;
32275 char *kwnames[] = {
32276 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32277 };
32278
32279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiiO:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
32280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32281 {
32282 arg2 = &temp2;
32283 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32284 }
32285 {
32286 arg3 = &temp3;
32287 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
32288 }
32289 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32290 {
32291 PyThreadState* __tstate = wxPyBeginAllowThreads();
32292 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
32293
32294 wxPyEndAllowThreads(__tstate);
32295 if (PyErr_Occurred()) SWIG_fail;
32296 }
32297 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32298 return resultobj;
32299 fail:
32300 return NULL;
32301}
32302
32303
32304static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
32305 PyObject *resultobj;
32306 int arg1 ;
32307 int arg2 ;
32308 wxGBPosition *arg3 = 0 ;
32309 wxGBSpan *arg4 = 0 ;
32310 int arg5 ;
32311 int arg6 ;
32312 wxObject *arg7 = (wxObject *) 0 ;
32313 wxGBSizerItem *result;
32314 wxGBPosition temp3 ;
32315 wxGBSpan temp4 ;
32316 PyObject * obj2 = 0 ;
32317 PyObject * obj3 = 0 ;
32318 PyObject * obj6 = 0 ;
32319 char *kwnames[] = {
32320 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32321 };
32322
32323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiOOiiO:new_GBSizerItemSpacer",kwnames,&arg1,&arg2,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
32324 {
32325 arg3 = &temp3;
32326 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
32327 }
32328 {
32329 arg4 = &temp4;
32330 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
32331 }
32332 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32333 {
32334 PyThreadState* __tstate = wxPyBeginAllowThreads();
32335 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
32336
32337 wxPyEndAllowThreads(__tstate);
32338 if (PyErr_Occurred()) SWIG_fail;
32339 }
32340 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32341 return resultobj;
32342 fail:
32343 return NULL;
32344}
32345
32346
32347static PyObject *_wrap_GBSizerItem_GetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
32348 PyObject *resultobj;
32349 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32350 wxGBPosition result;
32351 PyObject * obj0 = 0 ;
32352 char *kwnames[] = {
32353 (char *) "self", NULL
32354 };
32355
32356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
32357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32358 {
32359 PyThreadState* __tstate = wxPyBeginAllowThreads();
32360 result = ((wxGBSizerItem const *)arg1)->GetPos();
32361
32362 wxPyEndAllowThreads(__tstate);
32363 if (PyErr_Occurred()) SWIG_fail;
32364 }
32365 {
32366 wxGBPosition * resultptr;
32367 resultptr = new wxGBPosition((wxGBPosition &) result);
32368 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
32369 }
32370 return resultobj;
32371 fail:
32372 return NULL;
32373}
32374
32375
32376static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
32377 PyObject *resultobj;
32378 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32379 wxGBSpan result;
32380 PyObject * obj0 = 0 ;
32381 char *kwnames[] = {
32382 (char *) "self", NULL
32383 };
32384
32385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
32386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32387 {
32388 PyThreadState* __tstate = wxPyBeginAllowThreads();
32389 result = ((wxGBSizerItem const *)arg1)->GetSpan();
32390
32391 wxPyEndAllowThreads(__tstate);
32392 if (PyErr_Occurred()) SWIG_fail;
32393 }
32394 {
32395 wxGBSpan * resultptr;
32396 resultptr = new wxGBSpan((wxGBSpan &) result);
32397 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
32398 }
32399 return resultobj;
32400 fail:
32401 return NULL;
32402}
32403
32404
32405static PyObject *_wrap_GBSizerItem_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
32406 PyObject *resultobj;
32407 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32408 wxGBPosition *arg2 = 0 ;
32409 bool result;
32410 wxGBPosition temp2 ;
32411 PyObject * obj0 = 0 ;
32412 PyObject * obj1 = 0 ;
32413 char *kwnames[] = {
32414 (char *) "self",(char *) "pos", NULL
32415 };
32416
32417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
32418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32419 {
32420 arg2 = &temp2;
32421 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32422 }
32423 {
32424 PyThreadState* __tstate = wxPyBeginAllowThreads();
32425 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
32426
32427 wxPyEndAllowThreads(__tstate);
32428 if (PyErr_Occurred()) SWIG_fail;
32429 }
32430 resultobj = PyInt_FromLong((long)result);
32431 return resultobj;
32432 fail:
32433 return NULL;
32434}
32435
32436
32437static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
32438 PyObject *resultobj;
32439 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32440 wxGBSpan *arg2 = 0 ;
32441 bool result;
32442 wxGBSpan temp2 ;
32443 PyObject * obj0 = 0 ;
32444 PyObject * obj1 = 0 ;
32445 char *kwnames[] = {
32446 (char *) "self",(char *) "span", NULL
32447 };
32448
32449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
32450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32451 {
32452 arg2 = &temp2;
32453 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
32454 }
32455 {
32456 PyThreadState* __tstate = wxPyBeginAllowThreads();
32457 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
32458
32459 wxPyEndAllowThreads(__tstate);
32460 if (PyErr_Occurred()) SWIG_fail;
32461 }
32462 resultobj = PyInt_FromLong((long)result);
32463 return resultobj;
32464 fail:
32465 return NULL;
32466}
32467
32468
32469static PyObject *_wrap_GBSizerItem_Intersects__SWIG_0(PyObject *self, PyObject *args) {
32470 PyObject *resultobj;
32471 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32472 wxGBSizerItem *arg2 = 0 ;
32473 bool result;
32474 PyObject * obj0 = 0 ;
32475 PyObject * obj1 = 0 ;
32476
32477 if(!PyArg_ParseTuple(args,(char *)"OO:GBSizerItem_Intersects",&obj0,&obj1)) goto fail;
32478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32479 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32480 if (arg2 == NULL) {
32481 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
32482 }
32483 {
32484 PyThreadState* __tstate = wxPyBeginAllowThreads();
32485 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
32486
32487 wxPyEndAllowThreads(__tstate);
32488 if (PyErr_Occurred()) SWIG_fail;
32489 }
32490 resultobj = PyInt_FromLong((long)result);
32491 return resultobj;
32492 fail:
32493 return NULL;
32494}
32495
32496
32497static PyObject *_wrap_GBSizerItem_Intersects__SWIG_1(PyObject *self, PyObject *args) {
32498 PyObject *resultobj;
32499 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32500 wxGBPosition *arg2 = 0 ;
32501 wxGBSpan *arg3 = 0 ;
32502 bool result;
32503 wxGBPosition temp2 ;
32504 wxGBSpan temp3 ;
32505 PyObject * obj0 = 0 ;
32506 PyObject * obj1 = 0 ;
32507 PyObject * obj2 = 0 ;
32508
32509 if(!PyArg_ParseTuple(args,(char *)"OOO:GBSizerItem_Intersects",&obj0,&obj1,&obj2)) goto fail;
32510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32511 {
32512 arg2 = &temp2;
32513 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32514 }
32515 {
32516 arg3 = &temp3;
32517 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
32518 }
32519 {
32520 PyThreadState* __tstate = wxPyBeginAllowThreads();
32521 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
32522
32523 wxPyEndAllowThreads(__tstate);
32524 if (PyErr_Occurred()) SWIG_fail;
32525 }
32526 resultobj = PyInt_FromLong((long)result);
32527 return resultobj;
32528 fail:
32529 return NULL;
32530}
32531
32532
32533static PyObject *_wrap_GBSizerItem_Intersects(PyObject *self, PyObject *args) {
32534 int argc;
32535 PyObject *argv[4];
32536 int ii;
32537
32538 argc = PyObject_Length(args);
32539 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
32540 argv[ii] = PyTuple_GetItem(args,ii);
32541 }
32542 if (argc == 2) {
32543 int _v;
32544 {
32545 void *ptr;
32546 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
32547 _v = 0;
32548 PyErr_Clear();
32549 } else {
32550 _v = 1;
32551 }
32552 }
32553 if (_v) {
32554 {
32555 void *ptr;
32556 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
32557 _v = 0;
32558 PyErr_Clear();
32559 } else {
32560 _v = 1;
32561 }
32562 }
32563 if (_v) {
32564 return _wrap_GBSizerItem_Intersects__SWIG_0(self,args);
32565 }
32566 }
32567 }
32568 if (argc == 3) {
32569 int _v;
32570 {
32571 void *ptr;
32572 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
32573 _v = 0;
32574 PyErr_Clear();
32575 } else {
32576 _v = 1;
32577 }
32578 }
32579 if (_v) {
32580 {
32581 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
32582 }
32583 if (_v) {
32584 {
32585 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
32586 }
32587 if (_v) {
32588 return _wrap_GBSizerItem_Intersects__SWIG_1(self,args);
32589 }
32590 }
32591 }
32592 }
32593
32594 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GBSizerItem_Intersects'");
32595 return NULL;
32596}
32597
32598
32599static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *self, PyObject *args, PyObject *kwargs) {
32600 PyObject *resultobj;
32601 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32602 int *arg2 = 0 ;
32603 int *arg3 = 0 ;
32604 PyObject * obj0 = 0 ;
32605 PyObject * obj1 = 0 ;
32606 PyObject * obj2 = 0 ;
32607 char *kwnames[] = {
32608 (char *) "self",(char *) "row",(char *) "col", NULL
32609 };
32610
32611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_GetEndPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
32612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32613 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32614 if (arg2 == NULL) {
32615 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
32616 }
32617 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32618 if (arg3 == NULL) {
32619 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
32620 }
32621 {
32622 PyThreadState* __tstate = wxPyBeginAllowThreads();
32623 (arg1)->GetEndPos(*arg2,*arg3);
32624
32625 wxPyEndAllowThreads(__tstate);
32626 if (PyErr_Occurred()) SWIG_fail;
32627 }
32628 Py_INCREF(Py_None); resultobj = Py_None;
32629 return resultobj;
32630 fail:
32631 return NULL;
32632}
32633
32634
32635static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32636 PyObject *resultobj;
32637 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32638 wxGridBagSizer *result;
32639 PyObject * obj0 = 0 ;
32640 char *kwnames[] = {
32641 (char *) "self", NULL
32642 };
32643
32644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
32645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32646 {
32647 PyThreadState* __tstate = wxPyBeginAllowThreads();
32648 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
32649
32650 wxPyEndAllowThreads(__tstate);
32651 if (PyErr_Occurred()) SWIG_fail;
32652 }
32653 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridBagSizer, 0);
32654 return resultobj;
32655 fail:
32656 return NULL;
32657}
32658
32659
32660static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32661 PyObject *resultobj;
32662 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32663 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
32664 PyObject * obj0 = 0 ;
32665 PyObject * obj1 = 0 ;
32666 char *kwnames[] = {
32667 (char *) "self",(char *) "sizer", NULL
32668 };
32669
32670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
32671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32672 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32673 {
32674 PyThreadState* __tstate = wxPyBeginAllowThreads();
32675 (arg1)->SetGBSizer(arg2);
32676
32677 wxPyEndAllowThreads(__tstate);
32678 if (PyErr_Occurred()) SWIG_fail;
32679 }
32680 Py_INCREF(Py_None); resultobj = Py_None;
32681 return resultobj;
32682 fail:
32683 return NULL;
32684}
32685
32686
32687static PyObject * GBSizerItem_swigregister(PyObject *self, PyObject *args) {
32688 PyObject *obj;
32689 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32690 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
32691 Py_INCREF(obj);
32692 return Py_BuildValue((char *)"");
32693}
32694static PyObject *_wrap_new_GridBagSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32695 PyObject *resultobj;
32696 int arg1 = (int) 0 ;
32697 int arg2 = (int) 0 ;
32698 wxGridBagSizer *result;
32699 char *kwnames[] = {
32700 (char *) "vgap",(char *) "hgap", NULL
32701 };
32702
32703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GridBagSizer",kwnames,&arg1,&arg2)) goto fail;
32704 {
32705 PyThreadState* __tstate = wxPyBeginAllowThreads();
32706 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
32707
32708 wxPyEndAllowThreads(__tstate);
32709 if (PyErr_Occurred()) SWIG_fail;
32710 }
32711 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridBagSizer, 1);
32712 return resultobj;
32713 fail:
32714 return NULL;
32715}
32716
32717
32718static PyObject *_wrap_GridBagSizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
32719 PyObject *resultobj;
32720 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
32721 PyObject *arg2 = (PyObject *) 0 ;
32722 wxGBPosition *arg3 = 0 ;
32723 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
32724 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
32725 int arg5 = (int) 0 ;
32726 int arg6 = (int) 0 ;
32727 PyObject *arg7 = (PyObject *) NULL ;
32728 bool result;
32729 wxGBPosition temp3 ;
32730 wxGBSpan temp4 ;
32731 PyObject * obj0 = 0 ;
32732 PyObject * obj1 = 0 ;
32733 PyObject * obj2 = 0 ;
32734 PyObject * obj3 = 0 ;
32735 PyObject * obj6 = 0 ;
32736 char *kwnames[] = {
32737 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32738 };
32739
32740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
32741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32742 arg2 = obj1;
32743 {
32744 arg3 = &temp3;
32745 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
32746 }
32747 if (obj3) {
32748 {
32749 arg4 = &temp4;
32750 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
32751 }
32752 }
32753 if (obj6) {
32754 arg7 = obj6;
32755 }
32756 {
32757 PyThreadState* __tstate = wxPyBeginAllowThreads();
32758 result = (bool)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
32759
32760 wxPyEndAllowThreads(__tstate);
32761 if (PyErr_Occurred()) SWIG_fail;
32762 }
32763 resultobj = PyInt_FromLong((long)result);
32764 return resultobj;
32765 fail:
32766 return NULL;
32767}
32768
32769
32770static PyObject *_wrap_GridBagSizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
32771 PyObject *resultobj;
32772 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
32773 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
32774 bool result;
32775 PyObject * obj0 = 0 ;
32776 PyObject * obj1 = 0 ;
32777 char *kwnames[] = {
32778 (char *) "self",(char *) "item", NULL
32779 };
32780
32781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
32782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32783 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32784 {
32785 PyThreadState* __tstate = wxPyBeginAllowThreads();
32786 result = (bool)(arg1)->Add(arg2);
32787
32788 wxPyEndAllowThreads(__tstate);
32789 if (PyErr_Occurred()) SWIG_fail;
32790 }
32791 resultobj = PyInt_FromLong((long)result);
32792 return resultobj;
32793 fail:
32794 return NULL;
32795}
32796
32797
32798static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
32799 PyObject *resultobj;
32800 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
32801 wxSize result;
32802 PyObject * obj0 = 0 ;
32803 char *kwnames[] = {
32804 (char *) "self", NULL
32805 };
32806
32807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
32808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32809 {
32810 PyThreadState* __tstate = wxPyBeginAllowThreads();
32811 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
32812
32813 wxPyEndAllowThreads(__tstate);
32814 if (PyErr_Occurred()) SWIG_fail;
32815 }
32816 {
32817 wxSize * resultptr;
32818 resultptr = new wxSize((wxSize &) result);
32819 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
32820 }
32821 return resultobj;
32822 fail:
32823 return NULL;
32824}
32825
32826
32827static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
32828 PyObject *resultobj;
32829 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
32830 wxSize *arg2 = 0 ;
32831 wxSize temp2 ;
32832 PyObject * obj0 = 0 ;
32833 PyObject * obj1 = 0 ;
32834 char *kwnames[] = {
32835 (char *) "self",(char *) "sz", NULL
32836 };
32837
32838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
32839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32840 {
32841 arg2 = &temp2;
32842 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
32843 }
32844 {
32845 PyThreadState* __tstate = wxPyBeginAllowThreads();
32846 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
32847
32848 wxPyEndAllowThreads(__tstate);
32849 if (PyErr_Occurred()) SWIG_fail;
32850 }
32851 Py_INCREF(Py_None); resultobj = Py_None;
32852 return resultobj;
32853 fail:
32854 return NULL;
32855}
32856
32857
32858static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
32859 PyObject *resultobj;
32860 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
32861 wxWindow *arg2 = (wxWindow *) 0 ;
32862 wxGBPosition result;
32863 PyObject * obj0 = 0 ;
32864 PyObject * obj1 = 0 ;
32865
32866 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
32867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32868 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32869 {
32870 PyThreadState* __tstate = wxPyBeginAllowThreads();
32871 result = (arg1)->GetItemPosition(arg2);
32872
32873 wxPyEndAllowThreads(__tstate);
32874 if (PyErr_Occurred()) SWIG_fail;
32875 }
32876 {
32877 wxGBPosition * resultptr;
32878 resultptr = new wxGBPosition((wxGBPosition &) result);
32879 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
32880 }
32881 return resultobj;
32882 fail:
32883 return NULL;
32884}
32885
32886
32887static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
32888 PyObject *resultobj;
32889 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
32890 wxSizer *arg2 = (wxSizer *) 0 ;
32891 wxGBPosition result;
32892 PyObject * obj0 = 0 ;
32893 PyObject * obj1 = 0 ;
32894
32895 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
32896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32897 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32898 {
32899 PyThreadState* __tstate = wxPyBeginAllowThreads();
32900 result = (arg1)->GetItemPosition(arg2);
32901
32902 wxPyEndAllowThreads(__tstate);
32903 if (PyErr_Occurred()) SWIG_fail;
32904 }
32905 {
32906 wxGBPosition * resultptr;
32907 resultptr = new wxGBPosition((wxGBPosition &) result);
32908 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
32909 }
32910 return resultobj;
32911 fail:
32912 return NULL;
32913}
32914
32915
32916static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
32917 PyObject *resultobj;
32918 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
32919 size_t arg2 ;
32920 wxGBPosition result;
32921 PyObject * obj0 = 0 ;
32922 PyObject * obj1 = 0 ;
32923
32924 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
32925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32926 arg2 = (size_t) PyInt_AsLong(obj1);
32927 if (PyErr_Occurred()) SWIG_fail;
32928 {
32929 PyThreadState* __tstate = wxPyBeginAllowThreads();
32930 result = (arg1)->GetItemPosition(arg2);
32931
32932 wxPyEndAllowThreads(__tstate);
32933 if (PyErr_Occurred()) SWIG_fail;
32934 }
32935 {
32936 wxGBPosition * resultptr;
32937 resultptr = new wxGBPosition((wxGBPosition &) result);
32938 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
32939 }
32940 return resultobj;
32941 fail:
32942 return NULL;
32943}
32944
32945
32946static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
32947 int argc;
32948 PyObject *argv[3];
32949 int ii;
32950
32951 argc = PyObject_Length(args);
32952 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
32953 argv[ii] = PyTuple_GetItem(args,ii);
32954 }
32955 if (argc == 2) {
32956 int _v;
32957 {
32958 void *ptr;
32959 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
32960 _v = 0;
32961 PyErr_Clear();
32962 } else {
32963 _v = 1;
32964 }
32965 }
32966 if (_v) {
32967 {
32968 void *ptr;
32969 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
32970 _v = 0;
32971 PyErr_Clear();
32972 } else {
32973 _v = 1;
32974 }
32975 }
32976 if (_v) {
32977 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
32978 }
32979 }
32980 }
32981 if (argc == 2) {
32982 int _v;
32983 {
32984 void *ptr;
32985 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
32986 _v = 0;
32987 PyErr_Clear();
32988 } else {
32989 _v = 1;
32990 }
32991 }
32992 if (_v) {
32993 {
32994 void *ptr;
32995 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
32996 _v = 0;
32997 PyErr_Clear();
32998 } else {
32999 _v = 1;
33000 }
33001 }
33002 if (_v) {
33003 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
33004 }
33005 }
33006 }
33007 if (argc == 2) {
33008 int _v;
33009 {
33010 void *ptr;
33011 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33012 _v = 0;
33013 PyErr_Clear();
33014 } else {
33015 _v = 1;
33016 }
33017 }
33018 if (_v) {
33019 {
33020 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
33021 }
33022 if (_v) {
33023 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
33024 }
33025 }
33026 }
33027
33028 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
33029 return NULL;
33030}
33031
33032
33033static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
33034 PyObject *resultobj;
33035 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33036 wxWindow *arg2 = (wxWindow *) 0 ;
33037 wxGBPosition *arg3 = 0 ;
33038 bool result;
33039 wxGBPosition temp3 ;
33040 PyObject * obj0 = 0 ;
33041 PyObject * obj1 = 0 ;
33042 PyObject * obj2 = 0 ;
33043
33044 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
33045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33046 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33047 {
33048 arg3 = &temp3;
33049 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33050 }
33051 {
33052 PyThreadState* __tstate = wxPyBeginAllowThreads();
33053 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
33054
33055 wxPyEndAllowThreads(__tstate);
33056 if (PyErr_Occurred()) SWIG_fail;
33057 }
33058 resultobj = PyInt_FromLong((long)result);
33059 return resultobj;
33060 fail:
33061 return NULL;
33062}
33063
33064
33065static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
33066 PyObject *resultobj;
33067 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33068 wxSizer *arg2 = (wxSizer *) 0 ;
33069 wxGBPosition *arg3 = 0 ;
33070 bool result;
33071 wxGBPosition temp3 ;
33072 PyObject * obj0 = 0 ;
33073 PyObject * obj1 = 0 ;
33074 PyObject * obj2 = 0 ;
33075
33076 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
33077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33078 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33079 {
33080 arg3 = &temp3;
33081 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33082 }
33083 {
33084 PyThreadState* __tstate = wxPyBeginAllowThreads();
33085 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
33086
33087 wxPyEndAllowThreads(__tstate);
33088 if (PyErr_Occurred()) SWIG_fail;
33089 }
33090 resultobj = PyInt_FromLong((long)result);
33091 return resultobj;
33092 fail:
33093 return NULL;
33094}
33095
33096
33097static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
33098 PyObject *resultobj;
33099 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33100 size_t arg2 ;
33101 wxGBPosition *arg3 = 0 ;
33102 bool result;
33103 wxGBPosition temp3 ;
33104 PyObject * obj0 = 0 ;
33105 PyObject * obj1 = 0 ;
33106 PyObject * obj2 = 0 ;
33107
33108 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
33109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33110 arg2 = (size_t) PyInt_AsLong(obj1);
33111 if (PyErr_Occurred()) SWIG_fail;
33112 {
33113 arg3 = &temp3;
33114 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33115 }
33116 {
33117 PyThreadState* __tstate = wxPyBeginAllowThreads();
33118 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
33119
33120 wxPyEndAllowThreads(__tstate);
33121 if (PyErr_Occurred()) SWIG_fail;
33122 }
33123 resultobj = PyInt_FromLong((long)result);
33124 return resultobj;
33125 fail:
33126 return NULL;
33127}
33128
33129
33130static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
33131 int argc;
33132 PyObject *argv[4];
33133 int ii;
33134
33135 argc = PyObject_Length(args);
33136 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
33137 argv[ii] = PyTuple_GetItem(args,ii);
33138 }
33139 if (argc == 3) {
33140 int _v;
33141 {
33142 void *ptr;
33143 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33144 _v = 0;
33145 PyErr_Clear();
33146 } else {
33147 _v = 1;
33148 }
33149 }
33150 if (_v) {
33151 {
33152 void *ptr;
33153 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33154 _v = 0;
33155 PyErr_Clear();
33156 } else {
33157 _v = 1;
33158 }
33159 }
33160 if (_v) {
33161 {
33162 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
33163 }
33164 if (_v) {
33165 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
33166 }
33167 }
33168 }
33169 }
33170 if (argc == 3) {
33171 int _v;
33172 {
33173 void *ptr;
33174 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33175 _v = 0;
33176 PyErr_Clear();
33177 } else {
33178 _v = 1;
33179 }
33180 }
33181 if (_v) {
33182 {
33183 void *ptr;
33184 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33185 _v = 0;
33186 PyErr_Clear();
33187 } else {
33188 _v = 1;
33189 }
33190 }
33191 if (_v) {
33192 {
33193 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
33194 }
33195 if (_v) {
33196 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
33197 }
33198 }
33199 }
33200 }
33201 if (argc == 3) {
33202 int _v;
33203 {
33204 void *ptr;
33205 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33206 _v = 0;
33207 PyErr_Clear();
33208 } else {
33209 _v = 1;
33210 }
33211 }
33212 if (_v) {
33213 {
33214 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
33215 }
33216 if (_v) {
33217 {
33218 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
33219 }
33220 if (_v) {
33221 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
33222 }
33223 }
33224 }
33225 }
33226
33227 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
33228 return NULL;
33229}
33230
33231
33232static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
33233 PyObject *resultobj;
33234 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33235 wxWindow *arg2 = (wxWindow *) 0 ;
33236 wxGBSpan result;
33237 PyObject * obj0 = 0 ;
33238 PyObject * obj1 = 0 ;
33239
33240 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
33241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33242 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33243 {
33244 PyThreadState* __tstate = wxPyBeginAllowThreads();
33245 result = (arg1)->GetItemSpan(arg2);
33246
33247 wxPyEndAllowThreads(__tstate);
33248 if (PyErr_Occurred()) SWIG_fail;
33249 }
33250 {
33251 wxGBSpan * resultptr;
33252 resultptr = new wxGBSpan((wxGBSpan &) result);
33253 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
33254 }
33255 return resultobj;
33256 fail:
33257 return NULL;
33258}
33259
33260
33261static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
33262 PyObject *resultobj;
33263 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33264 wxSizer *arg2 = (wxSizer *) 0 ;
33265 wxGBSpan result;
33266 PyObject * obj0 = 0 ;
33267 PyObject * obj1 = 0 ;
33268
33269 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
33270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33271 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33272 {
33273 PyThreadState* __tstate = wxPyBeginAllowThreads();
33274 result = (arg1)->GetItemSpan(arg2);
33275
33276 wxPyEndAllowThreads(__tstate);
33277 if (PyErr_Occurred()) SWIG_fail;
33278 }
33279 {
33280 wxGBSpan * resultptr;
33281 resultptr = new wxGBSpan((wxGBSpan &) result);
33282 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
33283 }
33284 return resultobj;
33285 fail:
33286 return NULL;
33287}
33288
33289
33290static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
33291 PyObject *resultobj;
33292 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33293 size_t arg2 ;
33294 wxGBSpan result;
33295 PyObject * obj0 = 0 ;
33296 PyObject * obj1 = 0 ;
33297
33298 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
33299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33300 arg2 = (size_t) PyInt_AsLong(obj1);
33301 if (PyErr_Occurred()) SWIG_fail;
33302 {
33303 PyThreadState* __tstate = wxPyBeginAllowThreads();
33304 result = (arg1)->GetItemSpan(arg2);
33305
33306 wxPyEndAllowThreads(__tstate);
33307 if (PyErr_Occurred()) SWIG_fail;
33308 }
33309 {
33310 wxGBSpan * resultptr;
33311 resultptr = new wxGBSpan((wxGBSpan &) result);
33312 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
33313 }
33314 return resultobj;
33315 fail:
33316 return NULL;
33317}
33318
33319
33320static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
33321 int argc;
33322 PyObject *argv[3];
33323 int ii;
33324
33325 argc = PyObject_Length(args);
33326 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
33327 argv[ii] = PyTuple_GetItem(args,ii);
33328 }
33329 if (argc == 2) {
33330 int _v;
33331 {
33332 void *ptr;
33333 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33334 _v = 0;
33335 PyErr_Clear();
33336 } else {
33337 _v = 1;
33338 }
33339 }
33340 if (_v) {
33341 {
33342 void *ptr;
33343 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33344 _v = 0;
33345 PyErr_Clear();
33346 } else {
33347 _v = 1;
33348 }
33349 }
33350 if (_v) {
33351 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
33352 }
33353 }
33354 }
33355 if (argc == 2) {
33356 int _v;
33357 {
33358 void *ptr;
33359 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33360 _v = 0;
33361 PyErr_Clear();
33362 } else {
33363 _v = 1;
33364 }
33365 }
33366 if (_v) {
33367 {
33368 void *ptr;
33369 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33370 _v = 0;
33371 PyErr_Clear();
33372 } else {
33373 _v = 1;
33374 }
33375 }
33376 if (_v) {
33377 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
33378 }
33379 }
33380 }
33381 if (argc == 2) {
33382 int _v;
33383 {
33384 void *ptr;
33385 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33386 _v = 0;
33387 PyErr_Clear();
33388 } else {
33389 _v = 1;
33390 }
33391 }
33392 if (_v) {
33393 {
33394 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
33395 }
33396 if (_v) {
33397 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
33398 }
33399 }
33400 }
33401
33402 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
33403 return NULL;
33404}
33405
33406
33407static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
33408 PyObject *resultobj;
33409 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33410 wxWindow *arg2 = (wxWindow *) 0 ;
33411 wxGBSpan *arg3 = 0 ;
33412 bool result;
33413 wxGBSpan temp3 ;
33414 PyObject * obj0 = 0 ;
33415 PyObject * obj1 = 0 ;
33416 PyObject * obj2 = 0 ;
33417
33418 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
33419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33420 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33421 {
33422 arg3 = &temp3;
33423 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33424 }
33425 {
33426 PyThreadState* __tstate = wxPyBeginAllowThreads();
33427 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
33428
33429 wxPyEndAllowThreads(__tstate);
33430 if (PyErr_Occurred()) SWIG_fail;
33431 }
33432 resultobj = PyInt_FromLong((long)result);
33433 return resultobj;
33434 fail:
33435 return NULL;
33436}
33437
33438
33439static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
33440 PyObject *resultobj;
33441 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33442 wxSizer *arg2 = (wxSizer *) 0 ;
33443 wxGBSpan *arg3 = 0 ;
33444 bool result;
33445 wxGBSpan temp3 ;
33446 PyObject * obj0 = 0 ;
33447 PyObject * obj1 = 0 ;
33448 PyObject * obj2 = 0 ;
33449
33450 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
33451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33452 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33453 {
33454 arg3 = &temp3;
33455 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33456 }
33457 {
33458 PyThreadState* __tstate = wxPyBeginAllowThreads();
33459 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
33460
33461 wxPyEndAllowThreads(__tstate);
33462 if (PyErr_Occurred()) SWIG_fail;
33463 }
33464 resultobj = PyInt_FromLong((long)result);
33465 return resultobj;
33466 fail:
33467 return NULL;
33468}
33469
33470
33471static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
33472 PyObject *resultobj;
33473 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33474 size_t arg2 ;
33475 wxGBSpan *arg3 = 0 ;
33476 bool result;
33477 wxGBSpan temp3 ;
33478 PyObject * obj0 = 0 ;
33479 PyObject * obj1 = 0 ;
33480 PyObject * obj2 = 0 ;
33481
33482 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
33483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33484 arg2 = (size_t) PyInt_AsLong(obj1);
33485 if (PyErr_Occurred()) SWIG_fail;
33486 {
33487 arg3 = &temp3;
33488 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33489 }
33490 {
33491 PyThreadState* __tstate = wxPyBeginAllowThreads();
33492 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
33493
33494 wxPyEndAllowThreads(__tstate);
33495 if (PyErr_Occurred()) SWIG_fail;
33496 }
33497 resultobj = PyInt_FromLong((long)result);
33498 return resultobj;
33499 fail:
33500 return NULL;
33501}
33502
33503
33504static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
33505 int argc;
33506 PyObject *argv[4];
33507 int ii;
33508
33509 argc = PyObject_Length(args);
33510 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
33511 argv[ii] = PyTuple_GetItem(args,ii);
33512 }
33513 if (argc == 3) {
33514 int _v;
33515 {
33516 void *ptr;
33517 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33518 _v = 0;
33519 PyErr_Clear();
33520 } else {
33521 _v = 1;
33522 }
33523 }
33524 if (_v) {
33525 {
33526 void *ptr;
33527 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33528 _v = 0;
33529 PyErr_Clear();
33530 } else {
33531 _v = 1;
33532 }
33533 }
33534 if (_v) {
33535 {
33536 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
33537 }
33538 if (_v) {
33539 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
33540 }
33541 }
33542 }
33543 }
33544 if (argc == 3) {
33545 int _v;
33546 {
33547 void *ptr;
33548 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33549 _v = 0;
33550 PyErr_Clear();
33551 } else {
33552 _v = 1;
33553 }
33554 }
33555 if (_v) {
33556 {
33557 void *ptr;
33558 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33559 _v = 0;
33560 PyErr_Clear();
33561 } else {
33562 _v = 1;
33563 }
33564 }
33565 if (_v) {
33566 {
33567 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
33568 }
33569 if (_v) {
33570 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
33571 }
33572 }
33573 }
33574 }
33575 if (argc == 3) {
33576 int _v;
33577 {
33578 void *ptr;
33579 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33580 _v = 0;
33581 PyErr_Clear();
33582 } else {
33583 _v = 1;
33584 }
33585 }
33586 if (_v) {
33587 {
33588 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
33589 }
33590 if (_v) {
33591 {
33592 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
33593 }
33594 if (_v) {
33595 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
33596 }
33597 }
33598 }
33599 }
33600
33601 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
33602 return NULL;
33603}
33604
33605
33606static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *self, PyObject *args) {
33607 PyObject *resultobj;
33608 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33609 wxWindow *arg2 = (wxWindow *) 0 ;
33610 wxGBSizerItem *result;
33611 PyObject * obj0 = 0 ;
33612 PyObject * obj1 = 0 ;
33613
33614 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
33615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33616 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33617 {
33618 PyThreadState* __tstate = wxPyBeginAllowThreads();
33619 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
33620
33621 wxPyEndAllowThreads(__tstate);
33622 if (PyErr_Occurred()) SWIG_fail;
33623 }
33624 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
33625 return resultobj;
33626 fail:
33627 return NULL;
33628}
33629
33630
33631static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *self, PyObject *args) {
33632 PyObject *resultobj;
33633 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33634 wxSizer *arg2 = (wxSizer *) 0 ;
33635 wxGBSizerItem *result;
33636 PyObject * obj0 = 0 ;
33637 PyObject * obj1 = 0 ;
33638
33639 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
33640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33641 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33642 {
33643 PyThreadState* __tstate = wxPyBeginAllowThreads();
33644 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
33645
33646 wxPyEndAllowThreads(__tstate);
33647 if (PyErr_Occurred()) SWIG_fail;
33648 }
33649 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
33650 return resultobj;
33651 fail:
33652 return NULL;
33653}
33654
33655
33656static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
33657 int argc;
33658 PyObject *argv[3];
33659 int ii;
33660
33661 argc = PyObject_Length(args);
33662 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
33663 argv[ii] = PyTuple_GetItem(args,ii);
33664 }
33665 if (argc == 2) {
33666 int _v;
33667 {
33668 void *ptr;
33669 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33670 _v = 0;
33671 PyErr_Clear();
33672 } else {
33673 _v = 1;
33674 }
33675 }
33676 if (_v) {
33677 {
33678 void *ptr;
33679 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33680 _v = 0;
33681 PyErr_Clear();
33682 } else {
33683 _v = 1;
33684 }
33685 }
33686 if (_v) {
33687 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
33688 }
33689 }
33690 }
33691 if (argc == 2) {
33692 int _v;
33693 {
33694 void *ptr;
33695 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33696 _v = 0;
33697 PyErr_Clear();
33698 } else {
33699 _v = 1;
33700 }
33701 }
33702 if (_v) {
33703 {
33704 void *ptr;
33705 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33706 _v = 0;
33707 PyErr_Clear();
33708 } else {
33709 _v = 1;
33710 }
33711 }
33712 if (_v) {
33713 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
33714 }
33715 }
33716 }
33717
33718 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_FindItem'");
33719 return NULL;
33720}
33721
33722
33723static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
33724 PyObject *resultobj;
33725 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33726 wxGBPosition *arg2 = 0 ;
33727 wxGBSizerItem *result;
33728 wxGBPosition temp2 ;
33729 PyObject * obj0 = 0 ;
33730 PyObject * obj1 = 0 ;
33731 char *kwnames[] = {
33732 (char *) "self",(char *) "pos", NULL
33733 };
33734
33735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
33736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33737 {
33738 arg2 = &temp2;
33739 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
33740 }
33741 {
33742 PyThreadState* __tstate = wxPyBeginAllowThreads();
33743 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
33744
33745 wxPyEndAllowThreads(__tstate);
33746 if (PyErr_Occurred()) SWIG_fail;
33747 }
33748 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
33749 return resultobj;
33750 fail:
33751 return NULL;
33752}
33753
33754
e811c8ce
RD
33755static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
33756 PyObject *resultobj;
33757 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33758 wxPoint *arg2 = 0 ;
33759 wxGBSizerItem *result;
33760 wxPoint temp2 ;
33761 PyObject * obj0 = 0 ;
33762 PyObject * obj1 = 0 ;
33763 char *kwnames[] = {
33764 (char *) "self",(char *) "pt", NULL
33765 };
33766
33767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
33768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33769 {
33770 arg2 = &temp2;
33771 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33772 }
33773 {
33774 PyThreadState* __tstate = wxPyBeginAllowThreads();
33775 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
33776
33777 wxPyEndAllowThreads(__tstate);
33778 if (PyErr_Occurred()) SWIG_fail;
33779 }
33780 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
33781 return resultobj;
33782 fail:
33783 return NULL;
33784}
33785
33786
d14a1e28
RD
33787static PyObject *_wrap_GridBagSizer_FindItemWithData(PyObject *self, PyObject *args, PyObject *kwargs) {
33788 PyObject *resultobj;
33789 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33790 wxObject *arg2 = (wxObject *) 0 ;
33791 wxGBSizerItem *result;
33792 PyObject * obj0 = 0 ;
33793 PyObject * obj1 = 0 ;
33794 char *kwnames[] = {
33795 (char *) "self",(char *) "userData", NULL
33796 };
33797
33798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemWithData",kwnames,&obj0,&obj1)) goto fail;
33799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33800 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33801 {
33802 PyThreadState* __tstate = wxPyBeginAllowThreads();
33803 result = (wxGBSizerItem *)(arg1)->FindItemWithData((wxObject const *)arg2);
33804
33805 wxPyEndAllowThreads(__tstate);
33806 if (PyErr_Occurred()) SWIG_fail;
33807 }
33808 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
33809 return resultobj;
33810 fail:
33811 return NULL;
33812}
33813
33814
33815static PyObject *_wrap_GridBagSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
33816 PyObject *resultobj;
33817 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33818 PyObject * obj0 = 0 ;
33819 char *kwnames[] = {
33820 (char *) "self", NULL
33821 };
33822
33823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_RecalcSizes",kwnames,&obj0)) goto fail;
33824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33825 {
33826 PyThreadState* __tstate = wxPyBeginAllowThreads();
33827 (arg1)->RecalcSizes();
33828
33829 wxPyEndAllowThreads(__tstate);
33830 if (PyErr_Occurred()) SWIG_fail;
33831 }
33832 Py_INCREF(Py_None); resultobj = Py_None;
33833 return resultobj;
33834 fail:
33835 return NULL;
33836}
33837
33838
33839static PyObject *_wrap_GridBagSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
33840 PyObject *resultobj;
33841 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33842 wxSize result;
33843 PyObject * obj0 = 0 ;
33844 char *kwnames[] = {
33845 (char *) "self", NULL
33846 };
33847
33848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_CalcMin",kwnames,&obj0)) goto fail;
33849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33850 {
33851 PyThreadState* __tstate = wxPyBeginAllowThreads();
33852 result = (arg1)->CalcMin();
33853
33854 wxPyEndAllowThreads(__tstate);
33855 if (PyErr_Occurred()) SWIG_fail;
33856 }
33857 {
33858 wxSize * resultptr;
33859 resultptr = new wxSize((wxSize &) result);
33860 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
33861 }
33862 return resultobj;
33863 fail:
33864 return NULL;
33865}
33866
33867
33868static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject *self, PyObject *args) {
33869 PyObject *resultobj;
33870 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33871 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
33872 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
33873 bool result;
33874 PyObject * obj0 = 0 ;
33875 PyObject * obj1 = 0 ;
33876 PyObject * obj2 = 0 ;
33877
33878 if(!PyArg_ParseTuple(args,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2)) goto fail;
33879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33880 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33881 if (obj2) {
33882 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33883 }
33884 {
33885 PyThreadState* __tstate = wxPyBeginAllowThreads();
33886 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
33887
33888 wxPyEndAllowThreads(__tstate);
33889 if (PyErr_Occurred()) SWIG_fail;
33890 }
33891 resultobj = PyInt_FromLong((long)result);
33892 return resultobj;
33893 fail:
33894 return NULL;
33895}
33896
33897
33898static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject *self, PyObject *args) {
33899 PyObject *resultobj;
33900 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33901 wxGBPosition *arg2 = 0 ;
33902 wxGBSpan *arg3 = 0 ;
33903 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
33904 bool result;
33905 wxGBPosition temp2 ;
33906 wxGBSpan temp3 ;
33907 PyObject * obj0 = 0 ;
33908 PyObject * obj1 = 0 ;
33909 PyObject * obj2 = 0 ;
33910 PyObject * obj3 = 0 ;
33911
33912 if(!PyArg_ParseTuple(args,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2,&obj3)) goto fail;
33913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33914 {
33915 arg2 = &temp2;
33916 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
33917 }
33918 {
33919 arg3 = &temp3;
33920 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33921 }
33922 if (obj3) {
33923 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33924 }
33925 {
33926 PyThreadState* __tstate = wxPyBeginAllowThreads();
33927 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
33928
33929 wxPyEndAllowThreads(__tstate);
33930 if (PyErr_Occurred()) SWIG_fail;
33931 }
33932 resultobj = PyInt_FromLong((long)result);
33933 return resultobj;
33934 fail:
33935 return NULL;
33936}
33937
33938
33939static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *self, PyObject *args) {
33940 int argc;
33941 PyObject *argv[5];
33942 int ii;
33943
33944 argc = PyObject_Length(args);
33945 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
33946 argv[ii] = PyTuple_GetItem(args,ii);
33947 }
33948 if ((argc >= 2) && (argc <= 3)) {
33949 int _v;
33950 {
33951 void *ptr;
33952 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33953 _v = 0;
33954 PyErr_Clear();
33955 } else {
33956 _v = 1;
33957 }
33958 }
33959 if (_v) {
33960 {
33961 void *ptr;
33962 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
33963 _v = 0;
33964 PyErr_Clear();
33965 } else {
33966 _v = 1;
33967 }
33968 }
33969 if (_v) {
33970 if (argc <= 2) {
33971 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
33972 }
33973 {
33974 void *ptr;
33975 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
33976 _v = 0;
33977 PyErr_Clear();
33978 } else {
33979 _v = 1;
33980 }
33981 }
33982 if (_v) {
33983 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
33984 }
33985 }
33986 }
33987 }
33988 if ((argc >= 3) && (argc <= 4)) {
33989 int _v;
33990 {
33991 void *ptr;
33992 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33993 _v = 0;
33994 PyErr_Clear();
33995 } else {
33996 _v = 1;
33997 }
33998 }
33999 if (_v) {
34000 {
34001 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
34002 }
34003 if (_v) {
34004 {
34005 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
34006 }
34007 if (_v) {
34008 if (argc <= 3) {
34009 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
34010 }
34011 {
34012 void *ptr;
34013 if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
34014 _v = 0;
34015 PyErr_Clear();
34016 } else {
34017 _v = 1;
34018 }
34019 }
34020 if (_v) {
34021 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
34022 }
34023 }
34024 }
34025 }
34026 }
34027
34028 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
34029 return NULL;
34030}
34031
34032
34033static PyObject * GridBagSizer_swigregister(PyObject *self, PyObject *args) {
34034 PyObject *obj;
34035 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34036 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
34037 Py_INCREF(obj);
34038 return Py_BuildValue((char *)"");
34039}
34040static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
34041 PyObject *resultobj;
34042 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34043 int arg2 ;
34044 wxWindow *arg3 = (wxWindow *) 0 ;
34045 int arg4 ;
34046 int arg5 = (int) 0 ;
34047 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
34048 PyObject * obj0 = 0 ;
34049 PyObject * obj2 = 0 ;
34050 char *kwnames[] = {
34051 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
34052 };
34053
34054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOi|ii:IndividualLayoutConstraint_Set",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5,&arg6)) goto fail;
34055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34056 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34057 {
34058 PyThreadState* __tstate = wxPyBeginAllowThreads();
34059 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
34060
34061 wxPyEndAllowThreads(__tstate);
34062 if (PyErr_Occurred()) SWIG_fail;
34063 }
34064 Py_INCREF(Py_None); resultobj = Py_None;
34065 return resultobj;
34066 fail:
34067 return NULL;
34068}
34069
34070
34071static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args, PyObject *kwargs) {
34072 PyObject *resultobj;
34073 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34074 wxWindow *arg2 = (wxWindow *) 0 ;
34075 int arg3 = (int) 0 ;
34076 PyObject * obj0 = 0 ;
34077 PyObject * obj1 = 0 ;
34078 char *kwnames[] = {
34079 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34080 };
34081
34082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&arg3)) goto fail;
34083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34084 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34085 {
34086 PyThreadState* __tstate = wxPyBeginAllowThreads();
34087 (arg1)->LeftOf(arg2,arg3);
34088
34089 wxPyEndAllowThreads(__tstate);
34090 if (PyErr_Occurred()) SWIG_fail;
34091 }
34092 Py_INCREF(Py_None); resultobj = Py_None;
34093 return resultobj;
34094 fail:
34095 return NULL;
34096}
34097
34098
34099static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args, PyObject *kwargs) {
34100 PyObject *resultobj;
34101 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34102 wxWindow *arg2 = (wxWindow *) 0 ;
34103 int arg3 = (int) 0 ;
34104 PyObject * obj0 = 0 ;
34105 PyObject * obj1 = 0 ;
34106 char *kwnames[] = {
34107 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34108 };
34109
34110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&arg3)) goto fail;
34111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34112 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34113 {
34114 PyThreadState* __tstate = wxPyBeginAllowThreads();
34115 (arg1)->RightOf(arg2,arg3);
34116
34117 wxPyEndAllowThreads(__tstate);
34118 if (PyErr_Occurred()) SWIG_fail;
34119 }
34120 Py_INCREF(Py_None); resultobj = Py_None;
34121 return resultobj;
34122 fail:
34123 return NULL;
34124}
34125
34126
34127static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *self, PyObject *args, PyObject *kwargs) {
34128 PyObject *resultobj;
34129 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34130 wxWindow *arg2 = (wxWindow *) 0 ;
34131 int arg3 = (int) 0 ;
34132 PyObject * obj0 = 0 ;
34133 PyObject * obj1 = 0 ;
34134 char *kwnames[] = {
34135 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34136 };
34137
34138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&arg3)) goto fail;
34139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34140 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34141 {
34142 PyThreadState* __tstate = wxPyBeginAllowThreads();
34143 (arg1)->Above(arg2,arg3);
34144
34145 wxPyEndAllowThreads(__tstate);
34146 if (PyErr_Occurred()) SWIG_fail;
34147 }
34148 Py_INCREF(Py_None); resultobj = Py_None;
34149 return resultobj;
34150 fail:
34151 return NULL;
34152}
34153
34154
34155static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *self, PyObject *args, PyObject *kwargs) {
34156 PyObject *resultobj;
34157 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34158 wxWindow *arg2 = (wxWindow *) 0 ;
34159 int arg3 = (int) 0 ;
34160 PyObject * obj0 = 0 ;
34161 PyObject * obj1 = 0 ;
34162 char *kwnames[] = {
34163 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34164 };
34165
34166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&arg3)) goto fail;
34167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34168 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34169 {
34170 PyThreadState* __tstate = wxPyBeginAllowThreads();
34171 (arg1)->Below(arg2,arg3);
34172
34173 wxPyEndAllowThreads(__tstate);
34174 if (PyErr_Occurred()) SWIG_fail;
34175 }
34176 Py_INCREF(Py_None); resultobj = Py_None;
34177 return resultobj;
34178 fail:
34179 return NULL;
34180}
34181
34182
34183static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args, PyObject *kwargs) {
34184 PyObject *resultobj;
34185 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34186 wxWindow *arg2 = (wxWindow *) 0 ;
34187 int arg3 ;
34188 int arg4 = (int) 0 ;
34189 PyObject * obj0 = 0 ;
34190 PyObject * obj1 = 0 ;
34191 char *kwnames[] = {
34192 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
34193 };
34194
34195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
34196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34197 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34198 {
34199 PyThreadState* __tstate = wxPyBeginAllowThreads();
34200 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
34201
34202 wxPyEndAllowThreads(__tstate);
34203 if (PyErr_Occurred()) SWIG_fail;
34204 }
34205 Py_INCREF(Py_None); resultobj = Py_None;
34206 return resultobj;
34207 fail:
34208 return NULL;
34209}
34210
34211
34212static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args, PyObject *kwargs) {
34213 PyObject *resultobj;
34214 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34215 wxWindow *arg2 = (wxWindow *) 0 ;
34216 int arg3 ;
34217 int arg4 ;
34218 PyObject * obj0 = 0 ;
34219 PyObject * obj1 = 0 ;
34220 char *kwnames[] = {
34221 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
34222 };
34223
34224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
34225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34226 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34227 {
34228 PyThreadState* __tstate = wxPyBeginAllowThreads();
34229 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
34230
34231 wxPyEndAllowThreads(__tstate);
34232 if (PyErr_Occurred()) SWIG_fail;
34233 }
34234 Py_INCREF(Py_None); resultobj = Py_None;
34235 return resultobj;
34236 fail:
34237 return NULL;
34238}
34239
34240
34241static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args, PyObject *kwargs) {
34242 PyObject *resultobj;
34243 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34244 int arg2 ;
34245 PyObject * obj0 = 0 ;
34246 char *kwnames[] = {
34247 (char *) "self",(char *) "val", NULL
34248 };
34249
34250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&arg2)) goto fail;
34251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34252 {
34253 PyThreadState* __tstate = wxPyBeginAllowThreads();
34254 (arg1)->Absolute(arg2);
34255
34256 wxPyEndAllowThreads(__tstate);
34257 if (PyErr_Occurred()) SWIG_fail;
34258 }
34259 Py_INCREF(Py_None); resultobj = Py_None;
34260 return resultobj;
34261 fail:
34262 return NULL;
34263}
34264
34265
34266static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args, PyObject *kwargs) {
34267 PyObject *resultobj;
34268 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34269 PyObject * obj0 = 0 ;
34270 char *kwnames[] = {
34271 (char *) "self", NULL
34272 };
34273
34274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
34275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34276 {
34277 PyThreadState* __tstate = wxPyBeginAllowThreads();
34278 (arg1)->Unconstrained();
34279
34280 wxPyEndAllowThreads(__tstate);
34281 if (PyErr_Occurred()) SWIG_fail;
34282 }
34283 Py_INCREF(Py_None); resultobj = Py_None;
34284 return resultobj;
34285 fail:
34286 return NULL;
34287}
34288
34289
34290static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args, PyObject *kwargs) {
34291 PyObject *resultobj;
34292 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34293 PyObject * obj0 = 0 ;
34294 char *kwnames[] = {
34295 (char *) "self", NULL
34296 };
34297
34298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
34299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34300 {
34301 PyThreadState* __tstate = wxPyBeginAllowThreads();
34302 (arg1)->AsIs();
34303
34304 wxPyEndAllowThreads(__tstate);
34305 if (PyErr_Occurred()) SWIG_fail;
34306 }
34307 Py_INCREF(Py_None); resultobj = Py_None;
34308 return resultobj;
34309 fail:
34310 return NULL;
34311}
34312
34313
34314static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34315 PyObject *resultobj;
34316 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34317 wxWindow *result;
34318 PyObject * obj0 = 0 ;
34319 char *kwnames[] = {
34320 (char *) "self", NULL
34321 };
34322
34323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
34324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34325 {
34326 PyThreadState* __tstate = wxPyBeginAllowThreads();
34327 result = (wxWindow *)(arg1)->GetOtherWindow();
34328
34329 wxPyEndAllowThreads(__tstate);
34330 if (PyErr_Occurred()) SWIG_fail;
34331 }
34332 {
34333 resultobj = wxPyMake_wxObject(result);
34334 }
34335 return resultobj;
34336 fail:
34337 return NULL;
34338}
34339
34340
34341static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
34342 PyObject *resultobj;
34343 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34344 int result;
34345 PyObject * obj0 = 0 ;
34346 char *kwnames[] = {
34347 (char *) "self", NULL
34348 };
34349
34350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
34351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34352 {
34353 PyThreadState* __tstate = wxPyBeginAllowThreads();
34354 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
34355
34356 wxPyEndAllowThreads(__tstate);
34357 if (PyErr_Occurred()) SWIG_fail;
34358 }
34359 resultobj = PyInt_FromLong((long)result);
34360 return resultobj;
34361 fail:
34362 return NULL;
34363}
34364
34365
34366static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
34367 PyObject *resultobj;
34368 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34369 int arg2 ;
34370 PyObject * obj0 = 0 ;
34371 char *kwnames[] = {
34372 (char *) "self",(char *) "which", NULL
34373 };
34374
34375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&arg2)) goto fail;
34376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34377 {
34378 PyThreadState* __tstate = wxPyBeginAllowThreads();
34379 (arg1)->SetEdge((wxEdge )arg2);
34380
34381 wxPyEndAllowThreads(__tstate);
34382 if (PyErr_Occurred()) SWIG_fail;
34383 }
34384 Py_INCREF(Py_None); resultobj = Py_None;
34385 return resultobj;
34386 fail:
34387 return NULL;
34388}
34389
34390
34391static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
34392 PyObject *resultobj;
34393 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34394 int arg2 ;
34395 PyObject * obj0 = 0 ;
34396 char *kwnames[] = {
34397 (char *) "self",(char *) "v", NULL
34398 };
34399
34400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&arg2)) goto fail;
34401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34402 {
34403 PyThreadState* __tstate = wxPyBeginAllowThreads();
34404 (arg1)->SetValue(arg2);
34405
34406 wxPyEndAllowThreads(__tstate);
34407 if (PyErr_Occurred()) SWIG_fail;
34408 }
34409 Py_INCREF(Py_None); resultobj = Py_None;
34410 return resultobj;
34411 fail:
34412 return NULL;
34413}
34414
34415
34416static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
34417 PyObject *resultobj;
34418 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34419 int result;
34420 PyObject * obj0 = 0 ;
34421 char *kwnames[] = {
34422 (char *) "self", NULL
34423 };
34424
34425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
34426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34427 {
34428 PyThreadState* __tstate = wxPyBeginAllowThreads();
34429 result = (int)(arg1)->GetMargin();
34430
34431 wxPyEndAllowThreads(__tstate);
34432 if (PyErr_Occurred()) SWIG_fail;
34433 }
34434 resultobj = PyInt_FromLong((long)result);
34435 return resultobj;
34436 fail:
34437 return NULL;
34438}
34439
34440
34441static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
34442 PyObject *resultobj;
34443 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34444 int arg2 ;
34445 PyObject * obj0 = 0 ;
34446 char *kwnames[] = {
34447 (char *) "self",(char *) "m", NULL
34448 };
34449
34450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&arg2)) goto fail;
34451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34452 {
34453 PyThreadState* __tstate = wxPyBeginAllowThreads();
34454 (arg1)->SetMargin(arg2);
34455
34456 wxPyEndAllowThreads(__tstate);
34457 if (PyErr_Occurred()) SWIG_fail;
34458 }
34459 Py_INCREF(Py_None); resultobj = Py_None;
34460 return resultobj;
34461 fail:
34462 return NULL;
34463}
34464
34465
34466static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
34467 PyObject *resultobj;
34468 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34469 int result;
34470 PyObject * obj0 = 0 ;
34471 char *kwnames[] = {
34472 (char *) "self", NULL
34473 };
34474
34475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
34476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34477 {
34478 PyThreadState* __tstate = wxPyBeginAllowThreads();
34479 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
34480
34481 wxPyEndAllowThreads(__tstate);
34482 if (PyErr_Occurred()) SWIG_fail;
34483 }
34484 resultobj = PyInt_FromLong((long)result);
34485 return resultobj;
34486 fail:
34487 return NULL;
34488}
34489
34490
34491static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *self, PyObject *args, PyObject *kwargs) {
34492 PyObject *resultobj;
34493 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34494 int result;
34495 PyObject * obj0 = 0 ;
34496 char *kwnames[] = {
34497 (char *) "self", NULL
34498 };
34499
34500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
34501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34502 {
34503 PyThreadState* __tstate = wxPyBeginAllowThreads();
34504 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
34505
34506 wxPyEndAllowThreads(__tstate);
34507 if (PyErr_Occurred()) SWIG_fail;
34508 }
34509 resultobj = PyInt_FromLong((long)result);
34510 return resultobj;
34511 fail:
34512 return NULL;
34513}
34514
34515
34516static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
34517 PyObject *resultobj;
34518 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34519 int result;
34520 PyObject * obj0 = 0 ;
34521 char *kwnames[] = {
34522 (char *) "self", NULL
34523 };
34524
34525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
34526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34527 {
34528 PyThreadState* __tstate = wxPyBeginAllowThreads();
34529 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
34530
34531 wxPyEndAllowThreads(__tstate);
34532 if (PyErr_Occurred()) SWIG_fail;
34533 }
34534 resultobj = PyInt_FromLong((long)result);
34535 return resultobj;
34536 fail:
34537 return NULL;
34538}
34539
34540
34541static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
34542 PyObject *resultobj;
34543 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34544 bool result;
34545 PyObject * obj0 = 0 ;
34546 char *kwnames[] = {
34547 (char *) "self", NULL
34548 };
34549
34550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
34551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34552 {
34553 PyThreadState* __tstate = wxPyBeginAllowThreads();
34554 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
34555
34556 wxPyEndAllowThreads(__tstate);
34557 if (PyErr_Occurred()) SWIG_fail;
34558 }
34559 resultobj = PyInt_FromLong((long)result);
34560 return resultobj;
34561 fail:
34562 return NULL;
34563}
34564
34565
34566static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
34567 PyObject *resultobj;
34568 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34569 bool arg2 ;
34570 PyObject * obj0 = 0 ;
34571 PyObject * obj1 = 0 ;
34572 char *kwnames[] = {
34573 (char *) "self",(char *) "d", NULL
34574 };
34575
34576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
34577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34578 arg2 = PyInt_AsLong(obj1) ? true : false;
34579 if (PyErr_Occurred()) SWIG_fail;
34580 {
34581 PyThreadState* __tstate = wxPyBeginAllowThreads();
34582 (arg1)->SetDone(arg2);
34583
34584 wxPyEndAllowThreads(__tstate);
34585 if (PyErr_Occurred()) SWIG_fail;
34586 }
34587 Py_INCREF(Py_None); resultobj = Py_None;
34588 return resultobj;
34589 fail:
34590 return NULL;
34591}
34592
34593
34594static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
34595 PyObject *resultobj;
34596 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34597 int result;
34598 PyObject * obj0 = 0 ;
34599 char *kwnames[] = {
34600 (char *) "self", NULL
34601 };
34602
34603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
34604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34605 {
34606 PyThreadState* __tstate = wxPyBeginAllowThreads();
34607 result = (int)(arg1)->GetRelationship();
34608
34609 wxPyEndAllowThreads(__tstate);
34610 if (PyErr_Occurred()) SWIG_fail;
34611 }
34612 resultobj = PyInt_FromLong((long)result);
34613 return resultobj;
34614 fail:
34615 return NULL;
34616}
34617
34618
34619static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
34620 PyObject *resultobj;
34621 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34622 int arg2 ;
34623 PyObject * obj0 = 0 ;
34624 char *kwnames[] = {
34625 (char *) "self",(char *) "r", NULL
34626 };
34627
34628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&arg2)) goto fail;
34629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34630 {
34631 PyThreadState* __tstate = wxPyBeginAllowThreads();
34632 (arg1)->SetRelationship((wxRelationship )arg2);
34633
34634 wxPyEndAllowThreads(__tstate);
34635 if (PyErr_Occurred()) SWIG_fail;
34636 }
34637 Py_INCREF(Py_None); resultobj = Py_None;
34638 return resultobj;
34639 fail:
34640 return NULL;
34641}
34642
34643
34644static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *self, PyObject *args, PyObject *kwargs) {
34645 PyObject *resultobj;
34646 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34647 wxWindow *arg2 = (wxWindow *) 0 ;
34648 bool result;
34649 PyObject * obj0 = 0 ;
34650 PyObject * obj1 = 0 ;
34651 char *kwnames[] = {
34652 (char *) "self",(char *) "otherW", NULL
34653 };
34654
34655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail;
34656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34657 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34658 {
34659 PyThreadState* __tstate = wxPyBeginAllowThreads();
34660 result = (bool)(arg1)->ResetIfWin(arg2);
34661
34662 wxPyEndAllowThreads(__tstate);
34663 if (PyErr_Occurred()) SWIG_fail;
34664 }
34665 resultobj = PyInt_FromLong((long)result);
34666 return resultobj;
34667 fail:
34668 return NULL;
34669}
34670
34671
34672static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
34673 PyObject *resultobj;
34674 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34675 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
34676 wxWindow *arg3 = (wxWindow *) 0 ;
34677 bool result;
34678 PyObject * obj0 = 0 ;
34679 PyObject * obj1 = 0 ;
34680 PyObject * obj2 = 0 ;
34681 char *kwnames[] = {
34682 (char *) "self",(char *) "constraints",(char *) "win", NULL
34683 };
34684
34685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
34686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34687 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34688 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34689 {
34690 PyThreadState* __tstate = wxPyBeginAllowThreads();
34691 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
34692
34693 wxPyEndAllowThreads(__tstate);
34694 if (PyErr_Occurred()) SWIG_fail;
34695 }
34696 resultobj = PyInt_FromLong((long)result);
34697 return resultobj;
34698 fail:
34699 return NULL;
34700}
34701
34702
34703static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
34704 PyObject *resultobj;
34705 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34706 int arg2 ;
34707 wxWindow *arg3 = (wxWindow *) 0 ;
34708 wxWindow *arg4 = (wxWindow *) 0 ;
34709 int result;
34710 PyObject * obj0 = 0 ;
34711 PyObject * obj2 = 0 ;
34712 PyObject * obj3 = 0 ;
34713 char *kwnames[] = {
34714 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
34715 };
34716
34717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
34718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34719 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34720 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34721 {
34722 PyThreadState* __tstate = wxPyBeginAllowThreads();
34723 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
34724
34725 wxPyEndAllowThreads(__tstate);
34726 if (PyErr_Occurred()) SWIG_fail;
34727 }
34728 resultobj = PyInt_FromLong((long)result);
34729 return resultobj;
34730 fail:
34731 return NULL;
34732}
34733
34734
34735static PyObject * IndividualLayoutConstraint_swigregister(PyObject *self, PyObject *args) {
34736 PyObject *obj;
34737 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34738 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
34739 Py_INCREF(obj);
34740 return Py_BuildValue((char *)"");
34741}
34742static PyObject *_wrap_LayoutConstraints_left_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34743 PyObject *resultobj;
34744 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34745 wxIndividualLayoutConstraint *result;
34746 PyObject * obj0 = 0 ;
34747 char *kwnames[] = {
34748 (char *) "self", NULL
34749 };
34750
34751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
34752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34753 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
34754
34755 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34756 return resultobj;
34757 fail:
34758 return NULL;
34759}
34760
34761
34762static PyObject *_wrap_LayoutConstraints_top_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34763 PyObject *resultobj;
34764 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34765 wxIndividualLayoutConstraint *result;
34766 PyObject * obj0 = 0 ;
34767 char *kwnames[] = {
34768 (char *) "self", NULL
34769 };
34770
34771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
34772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34773 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
34774
34775 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34776 return resultobj;
34777 fail:
34778 return NULL;
34779}
34780
34781
34782static PyObject *_wrap_LayoutConstraints_right_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34783 PyObject *resultobj;
34784 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34785 wxIndividualLayoutConstraint *result;
34786 PyObject * obj0 = 0 ;
34787 char *kwnames[] = {
34788 (char *) "self", NULL
34789 };
34790
34791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
34792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34793 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
34794
34795 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34796 return resultobj;
34797 fail:
34798 return NULL;
34799}
34800
34801
34802static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34803 PyObject *resultobj;
34804 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34805 wxIndividualLayoutConstraint *result;
34806 PyObject * obj0 = 0 ;
34807 char *kwnames[] = {
34808 (char *) "self", NULL
34809 };
34810
34811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
34812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34813 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
34814
34815 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34816 return resultobj;
34817 fail:
34818 return NULL;
34819}
34820
34821
34822static PyObject *_wrap_LayoutConstraints_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34823 PyObject *resultobj;
34824 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34825 wxIndividualLayoutConstraint *result;
34826 PyObject * obj0 = 0 ;
34827 char *kwnames[] = {
34828 (char *) "self", NULL
34829 };
34830
34831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
34832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34833 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
34834
34835 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34836 return resultobj;
34837 fail:
34838 return NULL;
34839}
34840
34841
34842static PyObject *_wrap_LayoutConstraints_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34843 PyObject *resultobj;
34844 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34845 wxIndividualLayoutConstraint *result;
34846 PyObject * obj0 = 0 ;
34847 char *kwnames[] = {
34848 (char *) "self", NULL
34849 };
34850
34851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
34852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34853 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
34854
34855 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34856 return resultobj;
34857 fail:
34858 return NULL;
34859}
34860
34861
34862static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34863 PyObject *resultobj;
34864 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34865 wxIndividualLayoutConstraint *result;
34866 PyObject * obj0 = 0 ;
34867 char *kwnames[] = {
34868 (char *) "self", NULL
34869 };
34870
34871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
34872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34873 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
34874
34875 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34876 return resultobj;
34877 fail:
34878 return NULL;
34879}
34880
34881
34882static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34883 PyObject *resultobj;
34884 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34885 wxIndividualLayoutConstraint *result;
34886 PyObject * obj0 = 0 ;
34887 char *kwnames[] = {
34888 (char *) "self", NULL
34889 };
34890
34891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
34892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34893 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
34894
34895 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34896 return resultobj;
34897 fail:
34898 return NULL;
34899}
34900
34901
34902static PyObject *_wrap_new_LayoutConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
34903 PyObject *resultobj;
34904 wxLayoutConstraints *result;
34905 char *kwnames[] = {
34906 NULL
34907 };
34908
34909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
34910 {
34911 PyThreadState* __tstate = wxPyBeginAllowThreads();
34912 result = (wxLayoutConstraints *)new wxLayoutConstraints();
34913
34914 wxPyEndAllowThreads(__tstate);
34915 if (PyErr_Occurred()) SWIG_fail;
34916 }
34917 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutConstraints, 1);
34918 return resultobj;
34919 fail:
34920 return NULL;
34921}
34922
34923
34924static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
34925 PyObject *resultobj;
34926 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34927 wxWindow *arg2 = (wxWindow *) 0 ;
34928 int *arg3 = (int *) 0 ;
34929 bool result;
34930 int temp3 ;
34931 PyObject * obj0 = 0 ;
34932 PyObject * obj1 = 0 ;
34933 char *kwnames[] = {
34934 (char *) "self",(char *) "win", NULL
34935 };
34936
34937 arg3 = &temp3;
34938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
34939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34940 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34941 {
34942 PyThreadState* __tstate = wxPyBeginAllowThreads();
34943 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
34944
34945 wxPyEndAllowThreads(__tstate);
34946 if (PyErr_Occurred()) SWIG_fail;
34947 }
34948 resultobj = PyInt_FromLong((long)result);
34949 {
34950 PyObject *o = PyInt_FromLong((long) (*arg3));
34951 resultobj = t_output_helper(resultobj,o);
34952 }
34953 return resultobj;
34954 fail:
34955 return NULL;
34956}
34957
34958
34959static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *self, PyObject *args, PyObject *kwargs) {
34960 PyObject *resultobj;
34961 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34962 bool result;
34963 PyObject * obj0 = 0 ;
34964 char *kwnames[] = {
34965 (char *) "self", NULL
34966 };
34967
34968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
34969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34970 {
34971 PyThreadState* __tstate = wxPyBeginAllowThreads();
34972 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
34973
34974 wxPyEndAllowThreads(__tstate);
34975 if (PyErr_Occurred()) SWIG_fail;
34976 }
34977 resultobj = PyInt_FromLong((long)result);
34978 return resultobj;
34979 fail:
34980 return NULL;
34981}
34982
34983
34984static PyObject * LayoutConstraints_swigregister(PyObject *self, PyObject *args) {
34985 PyObject *obj;
34986 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34987 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
34988 Py_INCREF(obj);
34989 return Py_BuildValue((char *)"");
34990}
34991static PyMethodDef SwigMethods[] = {
34992 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS },
34993 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS },
34994 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS },
34995 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS },
34996 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS },
34997 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS },
34998 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS },
34999 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS },
35000 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS },
35001 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS },
35002 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS },
35003 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS },
35004 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS },
35005 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS },
35006 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS },
35007 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS },
35008 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS },
35009 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS },
35010 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS },
35011 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS },
35012 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS },
e811c8ce 35013 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35014 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS },
35015 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS },
35016 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS },
35017 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS },
35018 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS },
35019 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS },
35020 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35021 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS },
35022 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
35023 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS },
35024 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS },
d14a1e28 35025 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 35026 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35027 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS },
35028 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS },
35029 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS },
35030 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS },
35031 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS },
35032 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS },
35033 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS },
35034 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS },
35035 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS },
35036 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS },
35037 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS },
35038 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS },
35039 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS },
35040 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 35041 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35042 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
35043 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS },
35044 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS },
35045 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS },
35046 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS },
35047 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS },
35048 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS },
35049 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS },
35050 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS },
35051 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS },
35052 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS },
35053 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS },
35054 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS },
35055 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS },
35056 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS },
35057 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS },
35058 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS },
35059 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS },
35060 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS },
35061 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS },
35062 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS },
35063 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS },
35064 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS },
35065 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS },
35066 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS },
35067 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS },
35068 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS },
35069 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS },
35070 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS },
35071 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS },
35072 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS },
35073 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS },
35074 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS },
35075 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS },
35076 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS },
35077 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS },
35078 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS },
35079 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS },
35080 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS },
35081 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS },
35082 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS },
35083 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS },
35084 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS },
35085 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS },
35086 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS },
35087 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 35088 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35089 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
35090 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS },
35091 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS },
35092 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS },
35093 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS },
35094 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS },
35095 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS },
35096 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS },
35097 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS },
35098 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS },
35099 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS },
35100 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS },
35101 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS },
35102 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS },
35103 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS },
35104 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS },
35105 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS },
35106 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS },
35107 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS },
35108 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS },
35109 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS },
35110 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35111 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS },
35112 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS },
35113 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS },
35114 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS },
35115 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 35116 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35117 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS },
35118 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS },
35119 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS },
35120 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS },
35121 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS },
35122 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS },
35123 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS },
35124 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS },
35125 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS },
35126 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS },
35127 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS },
35128 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS },
35129 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS },
35130 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS },
35131 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS },
35132 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS },
35133 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS },
35134 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS },
35135 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS },
35136 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS },
35137 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS },
35138 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS },
35139 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS },
35140 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS },
35141 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS },
35142 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS },
35143 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS },
35144 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS },
35145 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS },
35146 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS },
35147 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS },
35148 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
35149 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35150 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35151 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
35152 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
35153 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS },
35154 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS },
35155 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS },
35156 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS },
35157 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS },
35158 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS },
35159 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS },
35160 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS },
35161 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS },
35162 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS },
35163 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS },
35164 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS },
35165 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS },
35166 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS },
35167 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS },
35168 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS },
35169 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS },
35170 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS },
35171 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS },
35172 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35173 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35174 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS },
35175 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS },
35176 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35177 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35178 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
35179 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
35180 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS },
35181 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS },
35182 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS },
35183 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS },
35184 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS },
35185 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS },
35186 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35187 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35188 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
35189 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
35190 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS },
35191 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS },
35192 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS },
35193 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS },
35194 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS },
35195 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS },
35196 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS },
35197 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS },
35198 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS },
35199 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS },
35200 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS },
35201 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS },
35202 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS },
35203 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
35204 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS },
35205 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS },
35206 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS },
35207 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS },
35208 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS },
35209 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS },
35210 { (char *)"new_EmptyImage", (PyCFunction) _wrap_new_EmptyImage, METH_VARARGS | METH_KEYWORDS },
35211 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS },
35212 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS },
35213 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS },
35214 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS },
35215 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS },
35216 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS },
35217 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS },
35218 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS },
35219 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS },
35220 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS },
35221 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS },
35222 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS },
35223 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS },
35224 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS },
35225 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
35226 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS },
35227 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS },
35228 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS },
35229 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS },
35230 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS },
35231 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS },
35232 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS },
35233 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS },
35234 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS },
35235 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS },
35236 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS },
35237 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS },
35238 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS },
35239 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS },
35240 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS },
35241 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS },
35242 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS },
35243 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS },
35244 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS },
35245 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS },
35246 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS },
35247 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS },
35248 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
35249 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
35250 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS },
35251 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS },
35252 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS },
35253 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS },
35254 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS },
35255 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS },
35256 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS },
35257 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS },
35258 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS },
35259 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS },
35260 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS },
35261 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS },
35262 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
35263 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS },
35264 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
35265 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS },
35266 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS },
35267 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS },
35268 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS },
35269 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS },
35270 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS },
35271 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS },
35272 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
35273 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS },
35274 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS },
35275 { (char *)"InitAllImageHandlers", (PyCFunction) _wrap_InitAllImageHandlers, METH_VARARGS | METH_KEYWORDS },
35276 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS },
35277 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS },
35278 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS },
35279 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS },
35280 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS },
35281 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS },
35282 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS },
35283 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS },
35284 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS },
35285 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS },
35286 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS },
35287 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS },
35288 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS },
35289 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS },
35290 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS },
35291 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS },
35292 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS },
35293 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS },
35294 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS },
35295 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS },
35296 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS },
35297 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS },
35298 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS },
35299 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
35300 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
35301 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
35302 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
35303 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
35304 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
35305 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
35306 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
35307 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
35308 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
35309 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
35310 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
35311 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS },
35312 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS },
35313 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS },
35314 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS },
35315 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS },
35316 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS },
35317 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS },
35318 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
35319 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
35320 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS },
35321 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS },
35322 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS },
35323 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS },
35324 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS },
35325 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS },
35326 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS },
35327 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS },
35328 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS },
35329 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS },
35330 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
35331 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
35332 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS },
35333 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
35334 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
35335 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS },
35336 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS },
35337 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
35338 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS },
35339 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS },
35340 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS },
35341 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS },
35342 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS },
35343 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS },
35344 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS },
35345 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS },
35346 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS },
35347 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS },
35348 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS },
35349 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS },
35350 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS },
35351 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS },
35352 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS },
35353 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS },
35354 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
35355 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35356 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
35357 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
35358 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS },
35359 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS },
35360 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
35361 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35362 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
35363 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
35364 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS },
35365 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS },
35366 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
35367 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
35368 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS },
35369 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
35370 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS },
35371 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
35372 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS },
35373 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
35374 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
35375 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
35376 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
35377 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS },
35378 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS },
35379 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS },
35380 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS },
35381 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS },
35382 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS },
35383 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS },
35384 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS },
35385 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS },
35386 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS },
35387 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS },
35388 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS },
35389 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS },
35390 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS },
35391 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS },
35392 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS },
35393 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35394 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
35395 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS },
35396 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS },
35397 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS },
35398 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS },
35399 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS },
35400 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS },
35401 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS },
35402 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
35403 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
35404 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
35405 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
35406 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS },
35407 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS },
35408 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS },
35409 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS },
35410 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS },
35411 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS },
35412 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
35413 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
35414 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
35415 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
35416 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
35417 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
35418 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
35419 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
35420 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS },
35421 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS },
35422 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS },
35423 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS },
35424 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS },
35425 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS },
35426 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS },
35427 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS },
35428 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS },
35429 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS },
35430 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS },
35431 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS },
35432 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS },
35433 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS },
35434 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS },
35435 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
35436 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
35437 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
35438 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
35439 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS },
35440 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
35441 { (char *)"KeyEvent_GetUniChar", (PyCFunction) _wrap_KeyEvent_GetUniChar, METH_VARARGS | METH_KEYWORDS },
35442 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS },
35443 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS },
35444 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35445 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
35446 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS },
35447 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS },
35448 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
35449 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
35450 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
35451 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
35452 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS },
35453 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS },
35454 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
35455 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
35456 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
35457 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
35458 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
35459 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
35460 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
35461 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
35462 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS },
35463 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS },
35464 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS },
35465 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS },
35466 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS },
35467 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS },
35468 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS },
35469 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS },
35470 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
35471 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
35472 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
35473 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
35474 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS },
35475 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS },
35476 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
35477 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
35478 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS },
35479 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS },
35480 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35481 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
35482 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
35483 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
35484 { (char *)"MoveEvent_m_pos_set", (PyCFunction) _wrap_MoveEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
35485 { (char *)"MoveEvent_m_pos_get", (PyCFunction) _wrap_MoveEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
35486 { (char *)"MoveEvent_m_rect_set", (PyCFunction) _wrap_MoveEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
35487 { (char *)"MoveEvent_m_rect_get", (PyCFunction) _wrap_MoveEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
35488 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS },
35489 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS },
35490 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS },
35491 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS },
35492 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS },
35493 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS },
35494 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS },
35495 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS },
35496 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS },
35497 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
35498 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS },
35499 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS },
35500 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS },
35501 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
35502 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS },
35503 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS },
35504 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS },
35505 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS },
35506 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS },
35507 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS },
35508 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS },
35509 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS },
35510 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS },
35511 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS },
35512 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS },
35513 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS },
35514 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS },
35515 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS },
35516 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS },
35517 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS },
35518 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS },
35519 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS },
35520 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS },
35521 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS },
35522 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS },
35523 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS },
35524 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS },
35525 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS },
35526 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS },
35527 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS },
35528 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS },
35529 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS },
35530 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35531 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS },
35532 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS },
35533 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS },
35534 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS },
35535 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS },
35536 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS },
35537 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS },
35538 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS },
35539 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS },
35540 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS },
35541 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS },
35542 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS },
35543 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS },
35544 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
35545 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
35546 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS },
35547 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS },
35548 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
35549 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
35550 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS },
35551 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS },
35552 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS },
35553 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS },
35554 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS },
35555 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS },
35556 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS },
35557 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS },
35558 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS },
35559 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS },
35560 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS },
35561 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS },
35562 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS },
35563 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
35564 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
35565 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS },
35566 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS },
35567 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS },
35568 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS },
35569 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS },
35570 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS },
35571 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
35572 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
35573 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS },
35574 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS },
35575 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
35576 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS },
35577 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS },
35578 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
35579 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS },
35580 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS },
35581 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35582 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
35583 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS },
35584 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS },
35585 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS },
35586 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS },
35587 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
35588 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
35589 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS },
35590 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS },
35591 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS },
35592 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS },
35593 { (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
35594 { (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
35595 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS },
35596 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
35597 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
35598 { (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
35599 { (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
35600 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS },
35601 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS },
35602 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS },
35603 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
35604 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS },
35605 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS },
35606 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS },
35607 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS },
35608 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS },
35609 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS },
35610 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS },
35611 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
35612 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS },
35613 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
35614 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS },
35615 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS },
35616 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS },
35617 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS },
35618 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS },
35619 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS },
35620 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS },
35621 { (char *)"PyApp_OnIdle", (PyCFunction) _wrap_PyApp_OnIdle, METH_VARARGS | METH_KEYWORDS },
35622 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS },
35623 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS },
35624 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS },
35625 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
35626 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
35627 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
35628 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
35629 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
35630 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
35631 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS },
35632 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS },
35633 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
35634 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
35635 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
35636 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
35637 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
35638 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
35639 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
35640 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
35641 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
35642 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
35643 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS },
35644 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS },
35645 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS },
35646 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS },
35647 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS },
35648 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS },
35649 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS },
35650 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
35651 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS },
35652 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS },
35653 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS },
35654 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS },
35655 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS },
35656 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS },
35657 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS },
35658 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS },
35659 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
35660 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
35661 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS },
35662 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS },
35663 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS },
35664 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS },
35665 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS },
35666 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS },
35667 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS },
35668 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS },
35669 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS },
35670 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS },
35671 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS },
35672 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS },
35673 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS },
35674 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS },
35675 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
35676 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS },
35677 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS },
35678 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS },
35679 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS },
35680 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS },
35681 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
35682 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS },
35683 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS },
35684 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
35685 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS },
35686 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
35687 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS },
35688 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS },
35689 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
35690 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
35691 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS },
35692 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS },
35693 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS },
35694 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS },
35695 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS },
35696 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
35697 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
35698 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS },
35699 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS },
35700 { (char *)"Window_SetSizeHints", (PyCFunction) _wrap_Window_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
35701 { (char *)"Window_SetVirtualSizeHints", (PyCFunction) _wrap_Window_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
35702 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS },
35703 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS },
35704 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS },
35705 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS },
35706 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
35707 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS },
35708 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS },
35709 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
35710 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS },
35711 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS },
35712 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS },
35713 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS },
35714 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS },
35715 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS },
35716 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS },
35717 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS },
35718 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
35719 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
35720 { (char *)"Window_SetWindowStyle", (PyCFunction) _wrap_Window_SetWindowStyle, METH_VARARGS | METH_KEYWORDS },
35721 { (char *)"Window_GetWindowStyle", (PyCFunction) _wrap_Window_GetWindowStyle, METH_VARARGS | METH_KEYWORDS },
35722 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS },
35723 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS },
35724 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
35725 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS },
35726 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS },
35727 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
35728 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
35729 { (char *)"Window_ShouldInheritColours", (PyCFunction) _wrap_Window_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
35730 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS },
35731 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS },
35732 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS },
35733 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
35734 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
35735 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
35736 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
35737 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS },
35738 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS },
35739 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS },
35740 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
35741 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
35742 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS },
35743 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS },
35744 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS },
35745 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS },
35746 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
35747 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
35748 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
35749 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
35750 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
35751 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
35752 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS },
35753 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS },
35754 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
35755 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
35756 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS },
35757 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS },
35758 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
35759 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
35760 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS },
35761 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS },
35762 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
35763 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
35764 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS },
35765 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
35766 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
35767 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS },
35768 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS },
35769 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS },
35770 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS },
35771 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS },
35772 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS },
35773 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS },
35774 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS },
35775 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS },
35776 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
35777 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS },
35778 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS },
35779 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
35780 { (char *)"Window_isExposedRect", (PyCFunction) _wrap_Window_isExposedRect, METH_VARARGS | METH_KEYWORDS },
35781 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
35782 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
35783 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
35784 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
35785 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS },
35786 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS },
35787 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS },
35788 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS },
35789 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS },
35790 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS },
35791 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
35792 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
35793 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
35794 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
35795 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
35796 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
35797 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
35798 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
35799 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS },
35800 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS },
35801 { (char *)"Window_GetBorderFlags", (PyCFunction) _wrap_Window_GetBorderFlags, METH_VARARGS | METH_KEYWORDS },
35802 { (char *)"Window_GetBorder", (PyCFunction) _wrap_Window_GetBorder, METH_VARARGS | METH_KEYWORDS },
35803 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
35804 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
35805 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS },
35806 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS },
35807 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
35808 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
35809 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
35810 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
35811 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
35812 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
35813 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
35814 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS },
35815 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS },
35816 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS },
35817 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS },
35818 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS },
35819 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS },
35820 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS },
35821 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
35822 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS },
35823 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
35824 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS },
35825 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS },
35826 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
35827 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
35828 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS },
35829 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS },
35830 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
35831 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
35832 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS },
35833 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS },
35834 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS },
35835 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS },
35836 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
35837 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
35838 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS },
35839 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS },
35840 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
35841 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
35842 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS },
35843 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS },
35844 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS },
35845 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS },
35846 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS },
35847 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS },
35848 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS },
35849 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS },
35850 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS },
35851 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
35852 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS },
35853 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS },
35854 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
35855 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS },
35856 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS },
35857 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS },
35858 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
35859 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
35860 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
35861 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
35862 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS },
35863 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS },
35864 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS },
35865 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS },
35866 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
35867 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
35868 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
35869 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
35870 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS },
35871 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS },
35872 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
35873 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
35874 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
35875 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
35876 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS },
35877 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
35878 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS },
35879 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
35880 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS },
35881 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS },
35882 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
35883 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
35884 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
35885 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS },
35886 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS },
35887 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS },
35888 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS },
35889 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
35890 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS },
35891 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS },
35892 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS },
35893 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS },
35894 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
35895 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
35896 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS },
35897 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS },
35898 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
35899 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
35900 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
35901 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
35902 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS },
35903 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
35904 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
35905 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS },
35906 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS },
35907 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS },
35908 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS },
35909 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS },
35910 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS },
35911 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS },
35912 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS },
35913 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
35914 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
35915 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
35916 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
35917 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
35918 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
35919 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS },
35920 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
35921 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
35922 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
35923 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
35924 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
35925 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
35926 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS },
35927 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
35928 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
35929 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
35930 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
35931 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
35932 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
35933 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS },
35934 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS },
35935 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS },
35936 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS },
35937 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS },
35938 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS },
35939 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
35940 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS },
35941 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
35942 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
35943 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
35944 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
35945 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
35946 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
35947 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
35948 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
35949 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
35950 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
35951 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
35952 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
35953 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
35954 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
35955 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
35956 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS },
35957 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
35958 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
35959 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
35960 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
35961 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
35962 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
35963 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS },
35964 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS },
35965 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS },
35966 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS },
35967 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS },
35968 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS },
35969 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS },
35970 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS },
35971 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS },
35972 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS },
35973 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS },
35974 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS },
35975 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS },
35976 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS },
35977 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS },
35978 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS },
35979 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS },
35980 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS },
35981 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS },
35982 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS },
35983 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS },
35984 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS },
35985 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS },
35986 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS },
35987 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
35988 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS },
35989 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS },
35990 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS },
35991 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS },
35992 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS },
35993 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
35994 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS },
35995 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS },
35996 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
35997 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS },
35998 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS },
35999 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
36000 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
36001 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS },
36002 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS },
36003 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS },
36004 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS },
36005 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS },
36006 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS },
36007 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS },
36008 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS },
36009 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS },
36010 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS },
36011 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS },
36012 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS },
36013 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS },
36014 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS },
36015 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS },
36016 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS },
36017 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS },
36018 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS },
36019 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS },
36020 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS },
36021 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS },
36022 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS },
36023 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS },
36024 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS },
36025 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS },
36026 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS },
36027 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
36028 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS },
36029 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS },
36030 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS },
36031 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS },
36032 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS },
36033 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS },
36034 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS },
36035 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS },
36036 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS },
36037 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS },
36038 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS },
36039 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS },
36040 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS },
36041 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36042 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36043 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS },
36044 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS },
36045 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS },
36046 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
36047 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
36048 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS },
36049 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
36050 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS },
36051 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS },
36052 { (char *)"Sizer_Hide", (PyCFunction) _wrap_Sizer_Hide, METH_VARARGS | METH_KEYWORDS },
36053 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS },
36054 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS },
36055 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS },
36056 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS },
36057 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
36058 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS },
36059 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS },
36060 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS },
36061 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS },
36062 { (char *)"BoxSizer_RecalcSizes", (PyCFunction) _wrap_BoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36063 { (char *)"BoxSizer_CalcMin", (PyCFunction) _wrap_BoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36064 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS },
36065 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS },
36066 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS },
36067 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction) _wrap_StaticBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36068 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction) _wrap_StaticBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36069 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS },
36070 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS },
36071 { (char *)"GridSizer_RecalcSizes", (PyCFunction) _wrap_GridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36072 { (char *)"GridSizer_CalcMin", (PyCFunction) _wrap_GridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36073 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS },
36074 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS },
36075 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS },
36076 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS },
36077 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS },
36078 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS },
36079 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS },
36080 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS },
36081 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS },
36082 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS },
36083 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction) _wrap_FlexGridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36084 { (char *)"FlexGridSizer_CalcMin", (PyCFunction) _wrap_FlexGridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36085 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS },
36086 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS },
36087 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS },
36088 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS },
36089 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
36090 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
36091 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
36092 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
36093 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS },
36094 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
36095 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS },
36096 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS },
36097 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS },
36098 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS },
36099 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS },
36100 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS },
36101 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS },
36102 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
36103 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS },
36104 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
36105 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS },
36106 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS },
36107 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS },
36108 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS },
36109 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS },
36110 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS },
36111 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS },
36112 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
36113 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS },
36114 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
36115 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS },
36116 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS },
36117 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS },
36118 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS },
36119 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
36120 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS },
36121 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS },
36122 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS },
36123 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS },
36124 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects, METH_VARARGS },
36125 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS },
36126 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS },
36127 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS },
36128 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS },
36129 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS },
36130 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS },
36131 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS },
36132 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
36133 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
36134 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS },
36135 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS },
36136 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS },
36137 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS },
36138 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS },
36139 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS },
e811c8ce 36140 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
36141 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction) _wrap_GridBagSizer_FindItemWithData, METH_VARARGS | METH_KEYWORDS },
36142 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction) _wrap_GridBagSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36143 { (char *)"GridBagSizer_CalcMin", (PyCFunction) _wrap_GridBagSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36144 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS },
36145 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS },
36146 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS },
36147 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS },
36148 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS },
36149 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS },
36150 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS },
36151 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS },
36152 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS },
36153 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS },
36154 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS },
36155 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS },
36156 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS },
36157 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS },
36158 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS },
36159 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS },
36160 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS },
36161 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS },
36162 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS },
36163 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS },
36164 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS },
36165 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS },
36166 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS },
36167 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS },
36168 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS },
36169 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS },
36170 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS },
36171 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS },
36172 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS },
36173 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS },
36174 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS },
36175 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS },
36176 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS },
36177 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS },
36178 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS },
36179 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS },
36180 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS },
36181 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS },
36182 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS },
36183 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS },
36184 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS },
36185 { NULL, NULL }
36186};
36187
36188
36189/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36190
36191static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
36192 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
36193}
36194static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
36195 return (void *)((wxSizer *) ((wxBoxSizer *) x));
36196}
36197static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
36198 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
36199}
36200static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
36201 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36202}
36203static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
36204 return (void *)((wxSizer *) ((wxGridSizer *) x));
36205}
36206static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
36207 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
36208}
36209static void *_p_wxPySizerTo_p_wxSizer(void *x) {
36210 return (void *)((wxSizer *) ((wxPySizer *) x));
36211}
36212static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
36213 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
36214}
36215static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
36216 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
36217}
36218static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
36219 return (void *)((wxEvent *) ((wxMenuEvent *) x));
36220}
36221static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
36222 return (void *)((wxEvent *) ((wxCloseEvent *) x));
36223}
36224static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
36225 return (void *)((wxEvent *) ((wxMouseEvent *) x));
36226}
36227static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
36228 return (void *)((wxEvent *) ((wxEraseEvent *) x));
36229}
36230static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
36231 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
36232}
36233static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
36234 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
36235}
36236static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
36237 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
36238}
36239static void *_p_wxPyEventTo_p_wxEvent(void *x) {
36240 return (void *)((wxEvent *) ((wxPyEvent *) x));
36241}
36242static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
36243 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
36244}
36245static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
36246 return (void *)((wxEvent *) ((wxIdleEvent *) x));
36247}
36248static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
36249 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
36250}
36251static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
36252 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
36253}
36254static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
36255 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
36256}
36257static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
36258 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
36259}
36260static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
36261 return (void *)((wxEvent *) ((wxActivateEvent *) x));
36262}
36263static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
36264 return (void *)((wxEvent *) ((wxSizeEvent *) x));
36265}
36266static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
36267 return (void *)((wxEvent *) ((wxMoveEvent *) x));
36268}
36269static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
36270 return (void *)((wxEvent *) ((wxPaintEvent *) x));
36271}
36272static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
36273 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
36274}
36275static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
36276 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
36277}
36278static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
36279 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
36280}
36281static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
36282 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
36283}
36284static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
36285 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36286}
36287static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
36288 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
36289}
36290static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
36291 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
36292}
36293static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
36294 return (void *)((wxEvent *) ((wxFocusEvent *) x));
36295}
36296static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
36297 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
36298}
36299static void *_p_wxShowEventTo_p_wxEvent(void *x) {
36300 return (void *)((wxEvent *) ((wxShowEvent *) x));
36301}
36302static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
36303 return (void *)((wxEvent *) ((wxCommandEvent *) x));
36304}
36305static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
36306 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
36307}
36308static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
36309 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36310}
36311static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
36312 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
36313}
36314static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
36315 return (void *)((wxEvent *) ((wxKeyEvent *) x));
36316}
36317static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
36318 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
36319}
36320static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
36321 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
36322}
36323static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
36324 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
36325}
36326static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
36327 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
36328}
36329static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
36330 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
36331}
36332static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
36333 return (void *)((wxControl *) ((wxControlWithItems *) x));
36334}
36335static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
36336 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
36337}
36338static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
36339 return (void *)((wxEvtHandler *) ((wxWindow *) x));
36340}
36341static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
36342 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36343}
36344static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
36345 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
36346}
36347static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
36348 return (void *)((wxEvtHandler *) ((wxValidator *) x));
36349}
36350static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
36351 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
36352}
36353static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
36354 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
36355}
36356static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
36357 return (void *)((wxEvtHandler *) ((wxMenu *) x));
36358}
36359static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
36360 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
36361}
36362static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
36363 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
36364}
36365static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
36366 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
36367}
36368static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
36369 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
36370}
36371static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
36372 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
36373}
36374static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
36375 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36376}
36377static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
36378 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
36379}
36380static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
36381 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
36382}
36383static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
36384 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36385}
36386static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
36387 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36388}
36389static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
36390 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
36391}
36392static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
36393 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
36394}
36395static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
36396 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
36397}
36398static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
36399 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
36400}
36401static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
36402 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
36403}
36404static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
36405 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
36406}
36407static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
36408 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
36409}
36410static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
36411 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
36412}
36413static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
36414 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
36415}
36416static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
36417 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
36418}
36419static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
36420 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
36421}
36422static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
36423 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
36424}
36425static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36426 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36427}
36428static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36429 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36430}
36431static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36432 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36433}
36434static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36435 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36436}
36437static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36438 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36439}
36440static void *_p_wxValidatorTo_p_wxObject(void *x) {
36441 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36442}
36443static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36444 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36445}
36446static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36447 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36448}
36449static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
36450 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
36451}
36452static void *_p_wxSizerTo_p_wxObject(void *x) {
36453 return (void *)((wxObject *) ((wxSizer *) x));
36454}
36455static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
36456 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
36457}
36458static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
36459 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
36460}
36461static void *_p_wxMenuTo_p_wxObject(void *x) {
36462 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36463}
36464static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
36465 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
36466}
36467static void *_p_wxImageTo_p_wxObject(void *x) {
36468 return (void *)((wxObject *) ((wxImage *) x));
36469}
36470static void *_p_wxScrollEventTo_p_wxObject(void *x) {
36471 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
36472}
36473static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
36474 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
36475}
36476static void *_p_wxPyEventTo_p_wxObject(void *x) {
36477 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
36478}
36479static void *_p_wxWindowTo_p_wxObject(void *x) {
36480 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36481}
36482static void *_p_wxControlTo_p_wxObject(void *x) {
36483 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
36484}
36485static void *_p_wxGridSizerTo_p_wxObject(void *x) {
36486 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
36487}
36488static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
36489 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
36490}
36491static void *_p_wxPyAppTo_p_wxObject(void *x) {
36492 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36493}
36494static void *_p_wxEventTo_p_wxObject(void *x) {
36495 return (void *)((wxObject *) ((wxEvent *) x));
36496}
36497static void *_p_wxActivateEventTo_p_wxObject(void *x) {
36498 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
36499}
36500static void *_p_wxMoveEventTo_p_wxObject(void *x) {
36501 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
36502}
36503static void *_p_wxSizeEventTo_p_wxObject(void *x) {
36504 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
36505}
36506static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
36507 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
36508}
36509static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
36510 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
36511}
36512static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
36513 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
36514}
36515static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
36516 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
36517}
36518static void *_p_wxIdleEventTo_p_wxObject(void *x) {
36519 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
36520}
36521static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36522 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36523}
36524static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
36525 return (void *)((wxObject *) ((wxEvtHandler *) x));
36526}
36527static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
36528 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
36529}
36530static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
36531 return (void *)((wxObject *) ((wxImageHandler *) x));
36532}
36533static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
36534 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
36535}
36536static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
36537 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
36538}
36539static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
36540 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36541}
36542static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
36543 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36544}
36545static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
36546 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
36547}
36548static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
36549 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
36550}
36551static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
36552 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
36553}
36554static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
36555 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
36556}
36557static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
36558 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
36559}
36560static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
36561 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
36562}
36563static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
36564 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
36565}
36566static void *_p_wxPaintEventTo_p_wxObject(void *x) {
36567 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
36568}
36569static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
36570 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
36571}
36572static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
36573 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
36574}
36575static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
36576 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36577}
36578static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
36579 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
36580}
36581static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
36582 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
36583}
36584static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
36585 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
36586}
36587static void *_p_wxFileSystemTo_p_wxObject(void *x) {
36588 return (void *)((wxObject *) ((wxFileSystem *) x));
36589}
36590static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
36591 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
36592}
36593static void *_p_wxFocusEventTo_p_wxObject(void *x) {
36594 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
36595}
36596static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
36597 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
36598}
36599static void *_p_wxSizerItemTo_p_wxObject(void *x) {
36600 return (void *)((wxObject *) ((wxSizerItem *) x));
36601}
36602static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
36603 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
36604}
36605static void *_p_wxShowEventTo_p_wxObject(void *x) {
36606 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
36607}
36608static void *_p_wxFSFileTo_p_wxObject(void *x) {
36609 return (void *)((wxObject *) ((wxFSFile *) x));
36610}
36611static void *_p_wxCommandEventTo_p_wxObject(void *x) {
36612 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
36613}
36614static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
36615 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
36616}
36617static void *_p_wxKeyEventTo_p_wxObject(void *x) {
36618 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
36619}
36620static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
36621 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
36622}
36623static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
36624 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36625}
36626static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
36627 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36628}
36629static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
36630 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
36631}
36632static void *_p_wxMenuItemTo_p_wxObject(void *x) {
36633 return (void *)((wxObject *) ((wxMenuItem *) x));
36634}
36635static void *_p_wxPySizerTo_p_wxObject(void *x) {
36636 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
36637}
36638static void *_p_wxControlTo_p_wxWindow(void *x) {
36639 return (void *)((wxWindow *) ((wxControl *) x));
36640}
36641static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
36642 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
36643}
36644static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
36645 return (void *)((wxWindow *) ((wxMenuBar *) x));
36646}
36647static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
36648 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
36649}
36650static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
36651 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
36652}
36653static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
36654 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
36655}
36656static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
36657 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
36658}
36659static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
36660 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36661}
36662static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
36663 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
36664}
36665static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
36666 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
36667}
36668static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
36669 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
36670}
36671static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
36672 return (void *)((wxValidator *) ((wxPyValidator *) x));
36673}
36674static swig_type_info _swigt__p_wxLayoutConstraints[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0},{"_p_wxLayoutConstraints"},{0}};
36675static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
36676static swig_type_info _swigt__p_wxSizerItem[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0},{"_p_wxSizerItem"},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem},{0}};
36677static swig_type_info _swigt__p_wxGBSizerItem[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0},{"_p_wxGBSizerItem"},{0}};
36678static swig_type_info _swigt__p_wxScrollEvent[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0},{"_p_wxScrollEvent"},{0}};
36679static swig_type_info _swigt__p_wxIndividualLayoutConstraint[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0},{"_p_wxIndividualLayoutConstraint"},{0}};
36680static swig_type_info _swigt__p_wxSizer[] = {{"_p_wxSizer", 0, "wxSizer *", 0},{"_p_wxSizer"},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer},{0}};
36681static swig_type_info _swigt__p_wxBoxSizer[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0},{"_p_wxBoxSizer"},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer},{0}};
36682static swig_type_info _swigt__p_wxStaticBoxSizer[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0},{"_p_wxStaticBoxSizer"},{0}};
36683static swig_type_info _swigt__p_wxGridBagSizer[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0},{"_p_wxGridBagSizer"},{0}};
36684static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
36685static swig_type_info _swigt__p_wxUpdateUIEvent[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0},{"_p_wxUpdateUIEvent"},{0}};
36686static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
36687static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent},{"_p_wxEvent"},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent},{0}};
36688static swig_type_info _swigt__p_wxGridSizer[] = {{"_p_wxGridSizer", 0, "wxGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxGridSizer},{"_p_wxGridSizer"},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxGridSizer},{0}};
36689static swig_type_info _swigt__p_wxFlexGridSizer[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer},{"_p_wxFlexGridSizer"},{0}};
36690static swig_type_info _swigt__p_wxInitDialogEvent[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0},{"_p_wxInitDialogEvent"},{0}};
36691static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer},{"_p_wxItemContainer"},{0}};
36692static swig_type_info _swigt__p_wxNcPaintEvent[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0},{"_p_wxNcPaintEvent"},{0}};
36693static swig_type_info _swigt__p_wxPaintEvent[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0},{"_p_wxPaintEvent"},{0}};
36694static swig_type_info _swigt__p_wxSysColourChangedEvent[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0},{"_p_wxSysColourChangedEvent"},{0}};
36695static swig_type_info _swigt__p_wxMouseCaptureChangedEvent[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0},{"_p_wxMouseCaptureChangedEvent"},{0}};
36696static swig_type_info _swigt__p_wxDisplayChangedEvent[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0},{"_p_wxDisplayChangedEvent"},{0}};
36697static swig_type_info _swigt__p_wxPaletteChangedEvent[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0},{"_p_wxPaletteChangedEvent"},{0}};
36698static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl},{0}};
36699static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
36700static swig_type_info _swigt__p_wxMenuBarBase[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0},{"_p_wxMenuBarBase"},{0}};
36701static swig_type_info _swigt__p_wxSetCursorEvent[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0},{"_p_wxSetCursorEvent"},{0}};
36702static swig_type_info _swigt__p_wxFSFile[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0},{"_p_wxFSFile"},{0}};
36703static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
36704static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
36705static swig_type_info _swigt__p_wxPoint2D[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0},{"_p_wxPoint2D"},{0}};
36706static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
36707static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
36708static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
36709static swig_type_info _swigt__p_wxPySizer[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0},{"_p_wxPySizer"},{0}};
36710static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxNotifyEvent"},{0}};
36711static swig_type_info _swigt__p_wxPyEvent[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0},{"_p_wxPyEvent"},{0}};
36712static swig_type_info _swigt__p_wxPropagationDisabler[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0},{"_p_wxPropagationDisabler"},{0}};
36713static swig_type_info _swigt__p_wxAppTraits[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0},{"_p_wxAppTraits"},{0}};
36714static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
36715static swig_type_info _swigt__p_wxShowEvent[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0},{"_p_wxShowEvent"},{0}};
36716static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
36717static swig_type_info _swigt__p_wxMaximizeEvent[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0},{"_p_wxMaximizeEvent"},{0}};
36718static swig_type_info _swigt__p_wxIconizeEvent[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0},{"_p_wxIconizeEvent"},{0}};
36719static swig_type_info _swigt__p_wxActivateEvent[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0},{"_p_wxActivateEvent"},{0}};
36720static swig_type_info _swigt__p_wxMoveEvent[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0},{"_p_wxMoveEvent"},{0}};
36721static swig_type_info _swigt__p_wxSizeEvent[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0},{"_p_wxSizeEvent"},{0}};
36722static swig_type_info _swigt__p_wxQueryNewPaletteEvent[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0},{"_p_wxQueryNewPaletteEvent"},{0}};
36723static swig_type_info _swigt__p_wxWindowCreateEvent[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0},{"_p_wxWindowCreateEvent"},{0}};
36724static swig_type_info _swigt__p_wxIdleEvent[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0},{"_p_wxIdleEvent"},{0}};
36725static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
36726static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
36727static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
36728static swig_type_info _swigt__p_wxTIFFHandler[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0},{"_p_wxTIFFHandler"},{0}};
36729static swig_type_info _swigt__p_wxXPMHandler[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0},{"_p_wxXPMHandler"},{0}};
36730static swig_type_info _swigt__p_wxPNMHandler[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0},{"_p_wxPNMHandler"},{0}};
36731static swig_type_info _swigt__p_wxJPEGHandler[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0},{"_p_wxJPEGHandler"},{0}};
36732static swig_type_info _swigt__p_wxPCXHandler[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0},{"_p_wxPCXHandler"},{0}};
36733static swig_type_info _swigt__p_wxGIFHandler[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0},{"_p_wxGIFHandler"},{0}};
36734static swig_type_info _swigt__p_wxPNGHandler[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0},{"_p_wxPNGHandler"},{0}};
36735static swig_type_info _swigt__p_wxANIHandler[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0},{"_p_wxANIHandler"},{0}};
36736static swig_type_info _swigt__p_wxMemoryFSHandler[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0},{"_p_wxMemoryFSHandler"},{0}};
36737static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{0}};
36738static swig_type_info _swigt__p_wxCURHandler[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0},{"_p_wxCURHandler"},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler},{0}};
36739static swig_type_info _swigt__p_wxICOHandler[] = {{"_p_wxICOHandler", 0, "wxICOHandler *", 0},{"_p_wxICOHandler"},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxICOHandler},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxICOHandler},{0}};
36740static swig_type_info _swigt__p_wxBMPHandler[] = {{"_p_wxBMPHandler", 0, "wxBMPHandler *", 0},{"_p_wxBMPHandler"},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxBMPHandler},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxBMPHandler},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxBMPHandler},{0}};
36741static swig_type_info _swigt__p_wxImageHandler[] = {{"_p_wxImageHandler", 0, "wxImageHandler *", 0},{"_p_wxImageHandler"},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxImageHandler},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxImageHandler},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxImageHandler},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxImageHandler},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxImageHandler},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxImageHandler},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxImageHandler},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxImageHandler},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxImageHandler},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxImageHandler},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxImageHandler},{0}};
36742static swig_type_info _swigt__p_wxFileSystemHandler[] = {{"_p_wxFileSystemHandler", 0, "wxFileSystemHandler *", 0},{"_p_wxFileSystemHandler"},{"_p_wxPyFileSystemHandler", _p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler},{"_p_wxInternetFSHandler", _p_wxInternetFSHandlerTo_p_wxFileSystemHandler},{"_p_wxZipFSHandler", _p_wxZipFSHandlerTo_p_wxFileSystemHandler},{"_p_wxMemoryFSHandler", _p_wxMemoryFSHandlerTo_p_wxFileSystemHandler},{0}};
36743static swig_type_info _swigt__p_wxPyFileSystemHandler[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0},{"_p_wxPyFileSystemHandler"},{0}};
36744static swig_type_info _swigt__p_wxInternetFSHandler[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0},{"_p_wxInternetFSHandler"},{0}};
36745static swig_type_info _swigt__p_wxZipFSHandler[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0},{"_p_wxZipFSHandler"},{0}};
36746static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
36747static swig_type_info _swigt__p_wxGBSpan[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0},{"_p_wxGBSpan"},{0}};
36748static swig_type_info _swigt__p_wxPropagateOnce[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0},{"_p_wxPropagateOnce"},{0}};
36749static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
36750static swig_type_info _swigt__p_wxGBPosition[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0},{"_p_wxGBPosition"},{0}};
36751static swig_type_info _swigt__p_wxImage[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
36752static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
36753static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
36754static swig_type_info _swigt__p_wxImageHistogram[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0},{"_p_wxImageHistogram"},{0}};
36755static swig_type_info _swigt__p_byte[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
36756static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
36757static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
36758static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{0}};
36759static swig_type_info _swigt__p_wxPyInputStream[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0},{"_p_wxPyInputStream"},{0}};
36760static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
36761static swig_type_info _swigt__p_wxInputStream[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}};
36762static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
36763static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
36764static swig_type_info _swigt__p_wxNavigationKeyEvent[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0},{"_p_wxNavigationKeyEvent"},{0}};
36765static swig_type_info _swigt__p_wxWindowDestroyEvent[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0},{"_p_wxWindowDestroyEvent"},{0}};
36766static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{0}};
36767static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
36768static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
36769static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
36770static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
36771static swig_type_info _swigt__p_wxMenuEvent[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0},{"_p_wxMenuEvent"},{0}};
36772static swig_type_info _swigt__p_wxContextMenuEvent[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0},{"_p_wxContextMenuEvent"},{0}};
36773static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
36774static swig_type_info _swigt__p_wxCloseEvent[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0},{"_p_wxCloseEvent"},{0}};
36775static swig_type_info _swigt__p_wxEraseEvent[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0},{"_p_wxEraseEvent"},{0}};
36776static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
36777static swig_type_info _swigt__p_wxPyApp[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0},{"_p_wxPyApp"},{0}};
36778static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent},{"_p_wxCommandEvent"},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent},{0}};
36779static swig_type_info _swigt__p_wxPyCommandEvent[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0},{"_p_wxPyCommandEvent"},{0}};
36780static swig_type_info _swigt__p_wxDropTarget[] = {{"_p_wxDropTarget", 0, "wxDropTarget *", 0},{"_p_wxDropTarget"},{0}};
36781static swig_type_info _swigt__p_wxChildFocusEvent[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0},{"_p_wxChildFocusEvent"},{0}};
36782static swig_type_info _swigt__p_wxFocusEvent[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0},{"_p_wxFocusEvent"},{0}};
36783static swig_type_info _swigt__p_wxDropFilesEvent[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0},{"_p_wxDropFilesEvent"},{0}};
36784static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxControlWithItems"},{0}};
36785static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
36786static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
36787static swig_type_info _swigt__p_wxPyValidator[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0},{"_p_wxPyValidator"},{0}};
36788
36789static swig_type_info *swig_types_initial[] = {
36790_swigt__p_wxLayoutConstraints,
36791_swigt__p_wxRealPoint,
36792_swigt__p_wxSizerItem,
36793_swigt__p_wxGBSizerItem,
36794_swigt__p_wxScrollEvent,
36795_swigt__p_wxIndividualLayoutConstraint,
36796_swigt__p_wxSizer,
36797_swigt__p_wxBoxSizer,
36798_swigt__p_wxStaticBoxSizer,
36799_swigt__p_wxGridBagSizer,
36800_swigt__p_wxAcceleratorEntry,
36801_swigt__p_wxUpdateUIEvent,
36802_swigt__p_wxMenu,
36803_swigt__p_wxEvent,
36804_swigt__p_wxGridSizer,
36805_swigt__p_wxFlexGridSizer,
36806_swigt__p_wxInitDialogEvent,
36807_swigt__p_wxItemContainer,
36808_swigt__p_wxNcPaintEvent,
36809_swigt__p_wxPaintEvent,
36810_swigt__p_wxSysColourChangedEvent,
36811_swigt__p_wxMouseCaptureChangedEvent,
36812_swigt__p_wxDisplayChangedEvent,
36813_swigt__p_wxPaletteChangedEvent,
36814_swigt__p_wxControl,
36815_swigt__p_wxFont,
36816_swigt__p_wxMenuBarBase,
36817_swigt__p_wxSetCursorEvent,
36818_swigt__p_wxFSFile,
36819_swigt__p_wxCaret,
36820_swigt__p_wxRegion,
36821_swigt__p_wxPoint2D,
36822_swigt__p_int,
36823_swigt__p_wxSize,
36824_swigt__p_wxDC,
36825_swigt__p_wxPySizer,
36826_swigt__p_wxNotifyEvent,
36827_swigt__p_wxPyEvent,
36828_swigt__p_wxPropagationDisabler,
36829_swigt__p_wxAppTraits,
36830_swigt__p_wxArrayString,
36831_swigt__p_wxShowEvent,
36832_swigt__p_wxToolTip,
36833_swigt__p_wxMaximizeEvent,
36834_swigt__p_wxIconizeEvent,
36835_swigt__p_wxActivateEvent,
36836_swigt__p_wxMoveEvent,
36837_swigt__p_wxSizeEvent,
36838_swigt__p_wxQueryNewPaletteEvent,
36839_swigt__p_wxWindowCreateEvent,
36840_swigt__p_wxIdleEvent,
36841_swigt__p_wxMenuItem,
36842_swigt__p_wxStaticBox,
36843_swigt__p_long,
36844_swigt__p_wxTIFFHandler,
36845_swigt__p_wxXPMHandler,
36846_swigt__p_wxPNMHandler,
36847_swigt__p_wxJPEGHandler,
36848_swigt__p_wxPCXHandler,
36849_swigt__p_wxGIFHandler,
36850_swigt__p_wxPNGHandler,
36851_swigt__p_wxANIHandler,
36852_swigt__p_wxMemoryFSHandler,
36853_swigt__p_wxEvtHandler,
36854_swigt__p_wxCURHandler,
36855_swigt__p_wxICOHandler,
36856_swigt__p_wxBMPHandler,
36857_swigt__p_wxImageHandler,
36858_swigt__p_wxFileSystemHandler,
36859_swigt__p_wxPyFileSystemHandler,
36860_swigt__p_wxInternetFSHandler,
36861_swigt__p_wxZipFSHandler,
36862_swigt__p_wxRect,
36863_swigt__p_wxGBSpan,
36864_swigt__p_wxPropagateOnce,
36865_swigt__p_wxAcceleratorTable,
36866_swigt__p_wxGBPosition,
36867_swigt__p_wxImage,
36868_swigt__p_wxFrame,
36869_swigt__p_wxScrollWinEvent,
36870_swigt__p_wxImageHistogram,
36871_swigt__p_byte,
36872_swigt__p_wxPoint,
36873_swigt__p_wxCursor,
36874_swigt__p_wxObject,
36875_swigt__p_wxPyInputStream,
36876_swigt__p_wxOutputStream,
36877_swigt__p_wxInputStream,
36878_swigt__p_wxDateTime,
36879_swigt__p_wxKeyEvent,
36880_swigt__p_wxNavigationKeyEvent,
36881_swigt__p_wxWindowDestroyEvent,
36882_swigt__p_wxWindow,
36883_swigt__p_wxMenuBar,
36884_swigt__p_wxString,
36885_swigt__p_wxFileSystem,
36886_swigt__p_wxBitmap,
36887_swigt__p_wxMenuEvent,
36888_swigt__p_wxContextMenuEvent,
36889_swigt__p_unsigned_char,
36890_swigt__p_wxCloseEvent,
36891_swigt__p_wxEraseEvent,
36892_swigt__p_wxMouseEvent,
36893_swigt__p_wxPyApp,
36894_swigt__p_wxCommandEvent,
36895_swigt__p_wxPyCommandEvent,
36896_swigt__p_wxDropTarget,
36897_swigt__p_wxChildFocusEvent,
36898_swigt__p_wxFocusEvent,
36899_swigt__p_wxDropFilesEvent,
36900_swigt__p_wxControlWithItems,
36901_swigt__p_wxColour,
36902_swigt__p_wxValidator,
36903_swigt__p_wxPyValidator,
369040
36905};
36906
36907
36908/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36909
36910static swig_const_info swig_const_table[] = {
36911{ SWIG_PY_INT, (char *)"NOT_FOUND", (long) wxNOT_FOUND, 0, 0, 0},
36912{ SWIG_PY_INT, (char *)"VSCROLL", (long) wxVSCROLL, 0, 0, 0},
36913{ SWIG_PY_INT, (char *)"HSCROLL", (long) wxHSCROLL, 0, 0, 0},
36914{ SWIG_PY_INT, (char *)"CAPTION", (long) wxCAPTION, 0, 0, 0},
36915{ SWIG_PY_INT, (char *)"DOUBLE_BORDER", (long) wxDOUBLE_BORDER, 0, 0, 0},
36916{ SWIG_PY_INT, (char *)"SUNKEN_BORDER", (long) wxSUNKEN_BORDER, 0, 0, 0},
36917{ SWIG_PY_INT, (char *)"RAISED_BORDER", (long) wxRAISED_BORDER, 0, 0, 0},
36918{ SWIG_PY_INT, (char *)"BORDER", (long) wxBORDER, 0, 0, 0},
36919{ SWIG_PY_INT, (char *)"SIMPLE_BORDER", (long) wxSIMPLE_BORDER, 0, 0, 0},
36920{ SWIG_PY_INT, (char *)"STATIC_BORDER", (long) wxSTATIC_BORDER, 0, 0, 0},
36921{ SWIG_PY_INT, (char *)"TRANSPARENT_WINDOW", (long) wxTRANSPARENT_WINDOW, 0, 0, 0},
36922{ SWIG_PY_INT, (char *)"NO_BORDER", (long) wxNO_BORDER, 0, 0, 0},
36923{ SWIG_PY_INT, (char *)"USER_COLOURS", (long) wxUSER_COLOURS, 0, 0, 0},
36924{ SWIG_PY_INT, (char *)"NO_3D", (long) wxNO_3D, 0, 0, 0},
36925{ SWIG_PY_INT, (char *)"TAB_TRAVERSAL", (long) wxTAB_TRAVERSAL, 0, 0, 0},
36926{ SWIG_PY_INT, (char *)"WANTS_CHARS", (long) wxWANTS_CHARS, 0, 0, 0},
36927{ SWIG_PY_INT, (char *)"POPUP_WINDOW", (long) wxPOPUP_WINDOW, 0, 0, 0},
36928{ SWIG_PY_INT, (char *)"CENTER_FRAME", (long) wxCENTER_FRAME, 0, 0, 0},
36929{ SWIG_PY_INT, (char *)"CENTRE_ON_SCREEN", (long) wxCENTRE_ON_SCREEN, 0, 0, 0},
36930{ SWIG_PY_INT, (char *)"CENTER_ON_SCREEN", (long) wxCENTER_ON_SCREEN, 0, 0, 0},
36931{ SWIG_PY_INT, (char *)"STAY_ON_TOP", (long) wxSTAY_ON_TOP, 0, 0, 0},
36932{ SWIG_PY_INT, (char *)"ICONIZE", (long) wxICONIZE, 0, 0, 0},
36933{ SWIG_PY_INT, (char *)"MINIMIZE", (long) wxMINIMIZE, 0, 0, 0},
36934{ SWIG_PY_INT, (char *)"MAXIMIZE", (long) wxMAXIMIZE, 0, 0, 0},
36935{ SWIG_PY_INT, (char *)"CLOSE_BOX", (long) wxCLOSE_BOX, 0, 0, 0},
36936{ SWIG_PY_INT, (char *)"THICK_FRAME", (long) wxTHICK_FRAME, 0, 0, 0},
36937{ SWIG_PY_INT, (char *)"SYSTEM_MENU", (long) wxSYSTEM_MENU, 0, 0, 0},
36938{ SWIG_PY_INT, (char *)"MINIMIZE_BOX", (long) wxMINIMIZE_BOX, 0, 0, 0},
36939{ SWIG_PY_INT, (char *)"MAXIMIZE_BOX", (long) wxMAXIMIZE_BOX, 0, 0, 0},
36940{ SWIG_PY_INT, (char *)"TINY_CAPTION_HORIZ", (long) wxTINY_CAPTION_HORIZ, 0, 0, 0},
36941{ SWIG_PY_INT, (char *)"TINY_CAPTION_VERT", (long) wxTINY_CAPTION_VERT, 0, 0, 0},
36942{ SWIG_PY_INT, (char *)"RESIZE_BOX", (long) wxRESIZE_BOX, 0, 0, 0},
36943{ SWIG_PY_INT, (char *)"RESIZE_BORDER", (long) wxRESIZE_BORDER, 0, 0, 0},
36944{ SWIG_PY_INT, (char *)"DIALOG_MODAL", (long) wxDIALOG_MODAL, 0, 0, 0},
36945{ SWIG_PY_INT, (char *)"DIALOG_MODELESS", (long) wxDIALOG_MODELESS, 0, 0, 0},
36946{ SWIG_PY_INT, (char *)"DIALOG_NO_PARENT", (long) wxDIALOG_NO_PARENT, 0, 0, 0},
36947{ SWIG_PY_INT, (char *)"DEFAULT_FRAME_STYLE", (long) wxDEFAULT_FRAME_STYLE, 0, 0, 0},
36948{ SWIG_PY_INT, (char *)"DEFAULT_DIALOG_STYLE", (long) wxDEFAULT_DIALOG_STYLE, 0, 0, 0},
36949{ SWIG_PY_INT, (char *)"FRAME_TOOL_WINDOW", (long) wxFRAME_TOOL_WINDOW, 0, 0, 0},
36950{ SWIG_PY_INT, (char *)"FRAME_FLOAT_ON_PARENT", (long) wxFRAME_FLOAT_ON_PARENT, 0, 0, 0},
36951{ SWIG_PY_INT, (char *)"FRAME_NO_WINDOW_MENU", (long) wxFRAME_NO_WINDOW_MENU, 0, 0, 0},
36952{ SWIG_PY_INT, (char *)"FRAME_NO_TASKBAR", (long) wxFRAME_NO_TASKBAR, 0, 0, 0},
36953{ SWIG_PY_INT, (char *)"FRAME_SHAPED", (long) wxFRAME_SHAPED, 0, 0, 0},
36954{ SWIG_PY_INT, (char *)"ED_CLIENT_MARGIN", (long) wxED_CLIENT_MARGIN, 0, 0, 0},
36955{ SWIG_PY_INT, (char *)"ED_BUTTONS_BOTTOM", (long) wxED_BUTTONS_BOTTOM, 0, 0, 0},
36956{ SWIG_PY_INT, (char *)"ED_BUTTONS_RIGHT", (long) wxED_BUTTONS_RIGHT, 0, 0, 0},
36957{ SWIG_PY_INT, (char *)"ED_STATIC_LINE", (long) wxED_STATIC_LINE, 0, 0, 0},
36958{ SWIG_PY_INT, (char *)"EXT_DIALOG_STYLE", (long) wxEXT_DIALOG_STYLE, 0, 0, 0},
36959{ SWIG_PY_INT, (char *)"CLIP_CHILDREN", (long) wxCLIP_CHILDREN, 0, 0, 0},
36960{ SWIG_PY_INT, (char *)"CLIP_SIBLINGS", (long) wxCLIP_SIBLINGS, 0, 0, 0},
36961{ SWIG_PY_INT, (char *)"RETAINED", (long) wxRETAINED, 0, 0, 0},
36962{ SWIG_PY_INT, (char *)"BACKINGSTORE", (long) wxBACKINGSTORE, 0, 0, 0},
36963{ SWIG_PY_INT, (char *)"COLOURED", (long) wxCOLOURED, 0, 0, 0},
36964{ SWIG_PY_INT, (char *)"FIXED_LENGTH", (long) wxFIXED_LENGTH, 0, 0, 0},
36965{ SWIG_PY_INT, (char *)"LB_NEEDED_SB", (long) wxLB_NEEDED_SB, 0, 0, 0},
36966{ SWIG_PY_INT, (char *)"LB_ALWAYS_SB", (long) wxLB_ALWAYS_SB, 0, 0, 0},
36967{ SWIG_PY_INT, (char *)"LB_SORT", (long) wxLB_SORT, 0, 0, 0},
36968{ SWIG_PY_INT, (char *)"LB_SINGLE", (long) wxLB_SINGLE, 0, 0, 0},
36969{ SWIG_PY_INT, (char *)"LB_MULTIPLE", (long) wxLB_MULTIPLE, 0, 0, 0},
36970{ SWIG_PY_INT, (char *)"LB_EXTENDED", (long) wxLB_EXTENDED, 0, 0, 0},
36971{ SWIG_PY_INT, (char *)"LB_OWNERDRAW", (long) wxLB_OWNERDRAW, 0, 0, 0},
36972{ SWIG_PY_INT, (char *)"LB_HSCROLL", (long) wxLB_HSCROLL, 0, 0, 0},
36973{ SWIG_PY_INT, (char *)"PROCESS_ENTER", (long) wxPROCESS_ENTER, 0, 0, 0},
36974{ SWIG_PY_INT, (char *)"PASSWORD", (long) wxPASSWORD, 0, 0, 0},
36975{ SWIG_PY_INT, (char *)"CB_SIMPLE", (long) wxCB_SIMPLE, 0, 0, 0},
36976{ SWIG_PY_INT, (char *)"CB_DROPDOWN", (long) wxCB_DROPDOWN, 0, 0, 0},
36977{ SWIG_PY_INT, (char *)"CB_SORT", (long) wxCB_SORT, 0, 0, 0},
36978{ SWIG_PY_INT, (char *)"CB_READONLY", (long) wxCB_READONLY, 0, 0, 0},
36979{ SWIG_PY_INT, (char *)"RA_HORIZONTAL", (long) wxRA_HORIZONTAL, 0, 0, 0},
36980{ SWIG_PY_INT, (char *)"RA_VERTICAL", (long) wxRA_VERTICAL, 0, 0, 0},
36981{ SWIG_PY_INT, (char *)"RA_SPECIFY_ROWS", (long) wxRA_SPECIFY_ROWS, 0, 0, 0},
36982{ SWIG_PY_INT, (char *)"RA_SPECIFY_COLS", (long) wxRA_SPECIFY_COLS, 0, 0, 0},
36983{ SWIG_PY_INT, (char *)"RB_GROUP", (long) wxRB_GROUP, 0, 0, 0},
36984{ SWIG_PY_INT, (char *)"RB_SINGLE", (long) wxRB_SINGLE, 0, 0, 0},
36985{ SWIG_PY_INT, (char *)"SL_HORIZONTAL", (long) wxSL_HORIZONTAL, 0, 0, 0},
36986{ SWIG_PY_INT, (char *)"SL_VERTICAL", (long) wxSL_VERTICAL, 0, 0, 0},
36987{ SWIG_PY_INT, (char *)"SL_AUTOTICKS", (long) wxSL_AUTOTICKS, 0, 0, 0},
36988{ SWIG_PY_INT, (char *)"SL_LABELS", (long) wxSL_LABELS, 0, 0, 0},
36989{ SWIG_PY_INT, (char *)"SL_LEFT", (long) wxSL_LEFT, 0, 0, 0},
36990{ SWIG_PY_INT, (char *)"SL_TOP", (long) wxSL_TOP, 0, 0, 0},
36991{ SWIG_PY_INT, (char *)"SL_RIGHT", (long) wxSL_RIGHT, 0, 0, 0},
36992{ SWIG_PY_INT, (char *)"SL_BOTTOM", (long) wxSL_BOTTOM, 0, 0, 0},
36993{ SWIG_PY_INT, (char *)"SL_BOTH", (long) wxSL_BOTH, 0, 0, 0},
36994{ SWIG_PY_INT, (char *)"SL_SELRANGE", (long) wxSL_SELRANGE, 0, 0, 0},
36995{ SWIG_PY_INT, (char *)"SB_HORIZONTAL", (long) wxSB_HORIZONTAL, 0, 0, 0},
36996{ SWIG_PY_INT, (char *)"SB_VERTICAL", (long) wxSB_VERTICAL, 0, 0, 0},
36997{ SWIG_PY_INT, (char *)"ST_SIZEGRIP", (long) wxST_SIZEGRIP, 0, 0, 0},
36998{ SWIG_PY_INT, (char *)"ST_NO_AUTORESIZE", (long) wxST_NO_AUTORESIZE, 0, 0, 0},
36999{ SWIG_PY_INT, (char *)"FLOOD_SURFACE", (long) wxFLOOD_SURFACE, 0, 0, 0},
37000{ SWIG_PY_INT, (char *)"FLOOD_BORDER", (long) wxFLOOD_BORDER, 0, 0, 0},
37001{ SWIG_PY_INT, (char *)"ODDEVEN_RULE", (long) wxODDEVEN_RULE, 0, 0, 0},
37002{ SWIG_PY_INT, (char *)"WINDING_RULE", (long) wxWINDING_RULE, 0, 0, 0},
37003{ SWIG_PY_INT, (char *)"TOOL_TOP", (long) wxTOOL_TOP, 0, 0, 0},
37004{ SWIG_PY_INT, (char *)"TOOL_BOTTOM", (long) wxTOOL_BOTTOM, 0, 0, 0},
37005{ SWIG_PY_INT, (char *)"TOOL_LEFT", (long) wxTOOL_LEFT, 0, 0, 0},
37006{ SWIG_PY_INT, (char *)"TOOL_RIGHT", (long) wxTOOL_RIGHT, 0, 0, 0},
37007{ SWIG_PY_INT, (char *)"OK", (long) wxOK, 0, 0, 0},
37008{ SWIG_PY_INT, (char *)"YES_NO", (long) wxYES_NO, 0, 0, 0},
37009{ SWIG_PY_INT, (char *)"CANCEL", (long) wxCANCEL, 0, 0, 0},
37010{ SWIG_PY_INT, (char *)"YES", (long) wxYES, 0, 0, 0},
37011{ SWIG_PY_INT, (char *)"NO", (long) wxNO, 0, 0, 0},
37012{ SWIG_PY_INT, (char *)"NO_DEFAULT", (long) wxNO_DEFAULT, 0, 0, 0},
37013{ SWIG_PY_INT, (char *)"YES_DEFAULT", (long) wxYES_DEFAULT, 0, 0, 0},
37014{ SWIG_PY_INT, (char *)"ICON_EXCLAMATION", (long) wxICON_EXCLAMATION, 0, 0, 0},
37015{ SWIG_PY_INT, (char *)"ICON_HAND", (long) wxICON_HAND, 0, 0, 0},
37016{ SWIG_PY_INT, (char *)"ICON_QUESTION", (long) wxICON_QUESTION, 0, 0, 0},
37017{ SWIG_PY_INT, (char *)"ICON_INFORMATION", (long) wxICON_INFORMATION, 0, 0, 0},
37018{ SWIG_PY_INT, (char *)"ICON_STOP", (long) wxICON_STOP, 0, 0, 0},
37019{ SWIG_PY_INT, (char *)"ICON_ASTERISK", (long) wxICON_ASTERISK, 0, 0, 0},
37020{ SWIG_PY_INT, (char *)"ICON_MASK", (long) wxICON_MASK, 0, 0, 0},
37021{ SWIG_PY_INT, (char *)"ICON_WARNING", (long) wxICON_WARNING, 0, 0, 0},
37022{ SWIG_PY_INT, (char *)"ICON_ERROR", (long) wxICON_ERROR, 0, 0, 0},
37023{ SWIG_PY_INT, (char *)"FORWARD", (long) wxFORWARD, 0, 0, 0},
37024{ SWIG_PY_INT, (char *)"BACKWARD", (long) wxBACKWARD, 0, 0, 0},
37025{ SWIG_PY_INT, (char *)"RESET", (long) wxRESET, 0, 0, 0},
37026{ SWIG_PY_INT, (char *)"HELP", (long) wxHELP, 0, 0, 0},
37027{ SWIG_PY_INT, (char *)"MORE", (long) wxMORE, 0, 0, 0},
37028{ SWIG_PY_INT, (char *)"SETUP", (long) wxSETUP, 0, 0, 0},
37029{ SWIG_PY_INT, (char *)"SIZE_AUTO_WIDTH", (long) wxSIZE_AUTO_WIDTH, 0, 0, 0},
37030{ SWIG_PY_INT, (char *)"SIZE_AUTO_HEIGHT", (long) wxSIZE_AUTO_HEIGHT, 0, 0, 0},
37031{ SWIG_PY_INT, (char *)"SIZE_AUTO", (long) wxSIZE_AUTO, 0, 0, 0},
37032{ SWIG_PY_INT, (char *)"SIZE_USE_EXISTING", (long) wxSIZE_USE_EXISTING, 0, 0, 0},
37033{ SWIG_PY_INT, (char *)"SIZE_ALLOW_MINUS_ONE", (long) wxSIZE_ALLOW_MINUS_ONE, 0, 0, 0},
37034{ SWIG_PY_INT, (char *)"PORTRAIT", (long) wxPORTRAIT, 0, 0, 0},
37035{ SWIG_PY_INT, (char *)"LANDSCAPE", (long) wxLANDSCAPE, 0, 0, 0},
37036{ SWIG_PY_INT, (char *)"PRINT_QUALITY_HIGH", (long) wxPRINT_QUALITY_HIGH, 0, 0, 0},
37037{ SWIG_PY_INT, (char *)"PRINT_QUALITY_MEDIUM", (long) wxPRINT_QUALITY_MEDIUM, 0, 0, 0},
37038{ SWIG_PY_INT, (char *)"PRINT_QUALITY_LOW", (long) wxPRINT_QUALITY_LOW, 0, 0, 0},
37039{ SWIG_PY_INT, (char *)"PRINT_QUALITY_DRAFT", (long) wxPRINT_QUALITY_DRAFT, 0, 0, 0},
37040{ SWIG_PY_INT, (char *)"ID_ANY", (long) wxID_ANY, 0, 0, 0},
37041{ SWIG_PY_INT, (char *)"ID_SEPARATOR", (long) wxID_SEPARATOR, 0, 0, 0},
37042{ SWIG_PY_INT, (char *)"ID_LOWEST", (long) wxID_LOWEST, 0, 0, 0},
37043{ SWIG_PY_INT, (char *)"ID_OPEN", (long) wxID_OPEN, 0, 0, 0},
37044{ SWIG_PY_INT, (char *)"ID_CLOSE", (long) wxID_CLOSE, 0, 0, 0},
37045{ SWIG_PY_INT, (char *)"ID_NEW", (long) wxID_NEW, 0, 0, 0},
37046{ SWIG_PY_INT, (char *)"ID_SAVE", (long) wxID_SAVE, 0, 0, 0},
37047{ SWIG_PY_INT, (char *)"ID_SAVEAS", (long) wxID_SAVEAS, 0, 0, 0},
37048{ SWIG_PY_INT, (char *)"ID_REVERT", (long) wxID_REVERT, 0, 0, 0},
37049{ SWIG_PY_INT, (char *)"ID_EXIT", (long) wxID_EXIT, 0, 0, 0},
37050{ SWIG_PY_INT, (char *)"ID_UNDO", (long) wxID_UNDO, 0, 0, 0},
37051{ SWIG_PY_INT, (char *)"ID_REDO", (long) wxID_REDO, 0, 0, 0},
37052{ SWIG_PY_INT, (char *)"ID_HELP", (long) wxID_HELP, 0, 0, 0},
37053{ SWIG_PY_INT, (char *)"ID_PRINT", (long) wxID_PRINT, 0, 0, 0},
37054{ SWIG_PY_INT, (char *)"ID_PRINT_SETUP", (long) wxID_PRINT_SETUP, 0, 0, 0},
37055{ SWIG_PY_INT, (char *)"ID_PREVIEW", (long) wxID_PREVIEW, 0, 0, 0},
37056{ SWIG_PY_INT, (char *)"ID_ABOUT", (long) wxID_ABOUT, 0, 0, 0},
37057{ SWIG_PY_INT, (char *)"ID_HELP_CONTENTS", (long) wxID_HELP_CONTENTS, 0, 0, 0},
37058{ SWIG_PY_INT, (char *)"ID_HELP_COMMANDS", (long) wxID_HELP_COMMANDS, 0, 0, 0},
37059{ SWIG_PY_INT, (char *)"ID_HELP_PROCEDURES", (long) wxID_HELP_PROCEDURES, 0, 0, 0},
37060{ SWIG_PY_INT, (char *)"ID_HELP_CONTEXT", (long) wxID_HELP_CONTEXT, 0, 0, 0},
37061{ SWIG_PY_INT, (char *)"ID_CLOSE_ALL", (long) wxID_CLOSE_ALL, 0, 0, 0},
37062{ SWIG_PY_INT, (char *)"ID_PREFERENCES", (long) wxID_PREFERENCES, 0, 0, 0},
37063{ SWIG_PY_INT, (char *)"ID_CUT", (long) wxID_CUT, 0, 0, 0},
37064{ SWIG_PY_INT, (char *)"ID_COPY", (long) wxID_COPY, 0, 0, 0},
37065{ SWIG_PY_INT, (char *)"ID_PASTE", (long) wxID_PASTE, 0, 0, 0},
37066{ SWIG_PY_INT, (char *)"ID_CLEAR", (long) wxID_CLEAR, 0, 0, 0},
37067{ SWIG_PY_INT, (char *)"ID_FIND", (long) wxID_FIND, 0, 0, 0},
37068{ SWIG_PY_INT, (char *)"ID_DUPLICATE", (long) wxID_DUPLICATE, 0, 0, 0},
37069{ SWIG_PY_INT, (char *)"ID_SELECTALL", (long) wxID_SELECTALL, 0, 0, 0},
37070{ SWIG_PY_INT, (char *)"ID_DELETE", (long) wxID_DELETE, 0, 0, 0},
37071{ SWIG_PY_INT, (char *)"ID_REPLACE", (long) wxID_REPLACE, 0, 0, 0},
37072{ SWIG_PY_INT, (char *)"ID_REPLACE_ALL", (long) wxID_REPLACE_ALL, 0, 0, 0},
37073{ SWIG_PY_INT, (char *)"ID_PROPERTIES", (long) wxID_PROPERTIES, 0, 0, 0},
37074{ SWIG_PY_INT, (char *)"ID_VIEW_DETAILS", (long) wxID_VIEW_DETAILS, 0, 0, 0},
37075{ SWIG_PY_INT, (char *)"ID_VIEW_LARGEICONS", (long) wxID_VIEW_LARGEICONS, 0, 0, 0},
37076{ SWIG_PY_INT, (char *)"ID_VIEW_SMALLICONS", (long) wxID_VIEW_SMALLICONS, 0, 0, 0},
37077{ SWIG_PY_INT, (char *)"ID_VIEW_LIST", (long) wxID_VIEW_LIST, 0, 0, 0},
37078{ SWIG_PY_INT, (char *)"ID_VIEW_SORTDATE", (long) wxID_VIEW_SORTDATE, 0, 0, 0},
37079{ SWIG_PY_INT, (char *)"ID_VIEW_SORTNAME", (long) wxID_VIEW_SORTNAME, 0, 0, 0},
37080{ SWIG_PY_INT, (char *)"ID_VIEW_SORTSIZE", (long) wxID_VIEW_SORTSIZE, 0, 0, 0},
37081{ SWIG_PY_INT, (char *)"ID_VIEW_SORTTYPE", (long) wxID_VIEW_SORTTYPE, 0, 0, 0},
37082{ SWIG_PY_INT, (char *)"ID_FILE1", (long) wxID_FILE1, 0, 0, 0},
37083{ SWIG_PY_INT, (char *)"ID_FILE2", (long) wxID_FILE2, 0, 0, 0},
37084{ SWIG_PY_INT, (char *)"ID_FILE3", (long) wxID_FILE3, 0, 0, 0},
37085{ SWIG_PY_INT, (char *)"ID_FILE4", (long) wxID_FILE4, 0, 0, 0},
37086{ SWIG_PY_INT, (char *)"ID_FILE5", (long) wxID_FILE5, 0, 0, 0},
37087{ SWIG_PY_INT, (char *)"ID_FILE6", (long) wxID_FILE6, 0, 0, 0},
37088{ SWIG_PY_INT, (char *)"ID_FILE7", (long) wxID_FILE7, 0, 0, 0},
37089{ SWIG_PY_INT, (char *)"ID_FILE8", (long) wxID_FILE8, 0, 0, 0},
37090{ SWIG_PY_INT, (char *)"ID_FILE9", (long) wxID_FILE9, 0, 0, 0},
37091{ SWIG_PY_INT, (char *)"ID_OK", (long) wxID_OK, 0, 0, 0},
37092{ SWIG_PY_INT, (char *)"ID_CANCEL", (long) wxID_CANCEL, 0, 0, 0},
37093{ SWIG_PY_INT, (char *)"ID_APPLY", (long) wxID_APPLY, 0, 0, 0},
37094{ SWIG_PY_INT, (char *)"ID_YES", (long) wxID_YES, 0, 0, 0},
37095{ SWIG_PY_INT, (char *)"ID_NO", (long) wxID_NO, 0, 0, 0},
37096{ SWIG_PY_INT, (char *)"ID_STATIC", (long) wxID_STATIC, 0, 0, 0},
37097{ SWIG_PY_INT, (char *)"ID_FORWARD", (long) wxID_FORWARD, 0, 0, 0},
37098{ SWIG_PY_INT, (char *)"ID_BACKWARD", (long) wxID_BACKWARD, 0, 0, 0},
37099{ SWIG_PY_INT, (char *)"ID_DEFAULT", (long) wxID_DEFAULT, 0, 0, 0},
37100{ SWIG_PY_INT, (char *)"ID_MORE", (long) wxID_MORE, 0, 0, 0},
37101{ SWIG_PY_INT, (char *)"ID_SETUP", (long) wxID_SETUP, 0, 0, 0},
37102{ SWIG_PY_INT, (char *)"ID_RESET", (long) wxID_RESET, 0, 0, 0},
37103{ SWIG_PY_INT, (char *)"ID_CONTEXT_HELP", (long) wxID_CONTEXT_HELP, 0, 0, 0},
37104{ SWIG_PY_INT, (char *)"ID_YESTOALL", (long) wxID_YESTOALL, 0, 0, 0},
37105{ SWIG_PY_INT, (char *)"ID_NOTOALL", (long) wxID_NOTOALL, 0, 0, 0},
37106{ SWIG_PY_INT, (char *)"ID_ABORT", (long) wxID_ABORT, 0, 0, 0},
37107{ SWIG_PY_INT, (char *)"ID_RETRY", (long) wxID_RETRY, 0, 0, 0},
37108{ SWIG_PY_INT, (char *)"ID_IGNORE", (long) wxID_IGNORE, 0, 0, 0},
37109{ SWIG_PY_INT, (char *)"ID_HIGHEST", (long) wxID_HIGHEST, 0, 0, 0},
37110{ SWIG_PY_INT, (char *)"OPEN", (long) wxOPEN, 0, 0, 0},
37111{ SWIG_PY_INT, (char *)"SAVE", (long) wxSAVE, 0, 0, 0},
37112{ SWIG_PY_INT, (char *)"HIDE_READONLY", (long) wxHIDE_READONLY, 0, 0, 0},
37113{ SWIG_PY_INT, (char *)"OVERWRITE_PROMPT", (long) wxOVERWRITE_PROMPT, 0, 0, 0},
37114{ SWIG_PY_INT, (char *)"FILE_MUST_EXIST", (long) wxFILE_MUST_EXIST, 0, 0, 0},
37115{ SWIG_PY_INT, (char *)"MULTIPLE", (long) wxMULTIPLE, 0, 0, 0},
37116{ SWIG_PY_INT, (char *)"CHANGE_DIR", (long) wxCHANGE_DIR, 0, 0, 0},
37117{ SWIG_PY_INT, (char *)"ACCEL_ALT", (long) wxACCEL_ALT, 0, 0, 0},
37118{ SWIG_PY_INT, (char *)"ACCEL_CTRL", (long) wxACCEL_CTRL, 0, 0, 0},
37119{ SWIG_PY_INT, (char *)"ACCEL_SHIFT", (long) wxACCEL_SHIFT, 0, 0, 0},
37120{ SWIG_PY_INT, (char *)"ACCEL_NORMAL", (long) wxACCEL_NORMAL, 0, 0, 0},
37121{ SWIG_PY_INT, (char *)"PD_AUTO_HIDE", (long) wxPD_AUTO_HIDE, 0, 0, 0},
37122{ SWIG_PY_INT, (char *)"PD_APP_MODAL", (long) wxPD_APP_MODAL, 0, 0, 0},
37123{ SWIG_PY_INT, (char *)"PD_CAN_ABORT", (long) wxPD_CAN_ABORT, 0, 0, 0},
37124{ SWIG_PY_INT, (char *)"PD_ELAPSED_TIME", (long) wxPD_ELAPSED_TIME, 0, 0, 0},
37125{ SWIG_PY_INT, (char *)"PD_ESTIMATED_TIME", (long) wxPD_ESTIMATED_TIME, 0, 0, 0},
37126{ SWIG_PY_INT, (char *)"PD_REMAINING_TIME", (long) wxPD_REMAINING_TIME, 0, 0, 0},
37127{ SWIG_PY_INT, (char *)"DD_NEW_DIR_BUTTON", (long) wxDD_NEW_DIR_BUTTON, 0, 0, 0},
37128{ SWIG_PY_INT, (char *)"DD_DEFAULT_STYLE", (long) wxDD_DEFAULT_STYLE, 0, 0, 0},
37129{ SWIG_PY_INT, (char *)"MENU_TEAROFF", (long) wxMENU_TEAROFF, 0, 0, 0},
37130{ SWIG_PY_INT, (char *)"MB_DOCKABLE", (long) wxMB_DOCKABLE, 0, 0, 0},
37131{ SWIG_PY_INT, (char *)"NO_FULL_REPAINT_ON_RESIZE", (long) wxNO_FULL_REPAINT_ON_RESIZE, 0, 0, 0},
37132{ SWIG_PY_INT, (char *)"LI_HORIZONTAL", (long) wxLI_HORIZONTAL, 0, 0, 0},
37133{ SWIG_PY_INT, (char *)"LI_VERTICAL", (long) wxLI_VERTICAL, 0, 0, 0},
37134{ SWIG_PY_INT, (char *)"WS_EX_VALIDATE_RECURSIVELY", (long) wxWS_EX_VALIDATE_RECURSIVELY, 0, 0, 0},
37135{ SWIG_PY_INT, (char *)"WS_EX_BLOCK_EVENTS", (long) wxWS_EX_BLOCK_EVENTS, 0, 0, 0},
37136{ SWIG_PY_INT, (char *)"WS_EX_TRANSIENT", (long) wxWS_EX_TRANSIENT, 0, 0, 0},
37137{ SWIG_PY_INT, (char *)"WS_EX_THEMED_BACKGROUND", (long) wxWS_EX_THEMED_BACKGROUND, 0, 0, 0},
37138{ SWIG_PY_INT, (char *)"WS_EX_PROCESS_IDLE", (long) wxWS_EX_PROCESS_IDLE, 0, 0, 0},
37139{ SWIG_PY_INT, (char *)"WS_EX_PROCESS_UI_UPDATES", (long) wxWS_EX_PROCESS_UI_UPDATES, 0, 0, 0},
37140{ SWIG_PY_INT, (char *)"MM_TEXT", (long) wxMM_TEXT, 0, 0, 0},
37141{ SWIG_PY_INT, (char *)"MM_LOMETRIC", (long) wxMM_LOMETRIC, 0, 0, 0},
37142{ SWIG_PY_INT, (char *)"MM_HIMETRIC", (long) wxMM_HIMETRIC, 0, 0, 0},
37143{ SWIG_PY_INT, (char *)"MM_LOENGLISH", (long) wxMM_LOENGLISH, 0, 0, 0},
37144{ SWIG_PY_INT, (char *)"MM_HIENGLISH", (long) wxMM_HIENGLISH, 0, 0, 0},
37145{ SWIG_PY_INT, (char *)"MM_TWIPS", (long) wxMM_TWIPS, 0, 0, 0},
37146{ SWIG_PY_INT, (char *)"MM_ISOTROPIC", (long) wxMM_ISOTROPIC, 0, 0, 0},
37147{ SWIG_PY_INT, (char *)"MM_ANISOTROPIC", (long) wxMM_ANISOTROPIC, 0, 0, 0},
37148{ SWIG_PY_INT, (char *)"MM_POINTS", (long) wxMM_POINTS, 0, 0, 0},
37149{ SWIG_PY_INT, (char *)"MM_METRIC", (long) wxMM_METRIC, 0, 0, 0},
37150{ SWIG_PY_INT, (char *)"CENTRE", (long) wxCENTRE, 0, 0, 0},
37151{ SWIG_PY_INT, (char *)"CENTER", (long) wxCENTER, 0, 0, 0},
37152{ SWIG_PY_INT, (char *)"HORIZONTAL", (long) wxHORIZONTAL, 0, 0, 0},
37153{ SWIG_PY_INT, (char *)"VERTICAL", (long) wxVERTICAL, 0, 0, 0},
37154{ SWIG_PY_INT, (char *)"BOTH", (long) wxBOTH, 0, 0, 0},
37155{ SWIG_PY_INT, (char *)"LEFT", (long) wxLEFT, 0, 0, 0},
37156{ SWIG_PY_INT, (char *)"RIGHT", (long) wxRIGHT, 0, 0, 0},
37157{ SWIG_PY_INT, (char *)"UP", (long) wxUP, 0, 0, 0},
37158{ SWIG_PY_INT, (char *)"DOWN", (long) wxDOWN, 0, 0, 0},
37159{ SWIG_PY_INT, (char *)"TOP", (long) wxTOP, 0, 0, 0},
37160{ SWIG_PY_INT, (char *)"BOTTOM", (long) wxBOTTOM, 0, 0, 0},
37161{ SWIG_PY_INT, (char *)"NORTH", (long) wxNORTH, 0, 0, 0},
37162{ SWIG_PY_INT, (char *)"SOUTH", (long) wxSOUTH, 0, 0, 0},
37163{ SWIG_PY_INT, (char *)"WEST", (long) wxWEST, 0, 0, 0},
37164{ SWIG_PY_INT, (char *)"EAST", (long) wxEAST, 0, 0, 0},
37165{ SWIG_PY_INT, (char *)"ALL", (long) wxALL, 0, 0, 0},
37166{ SWIG_PY_INT, (char *)"ALIGN_NOT", (long) wxALIGN_NOT, 0, 0, 0},
37167{ SWIG_PY_INT, (char *)"ALIGN_CENTER_HORIZONTAL", (long) wxALIGN_CENTER_HORIZONTAL, 0, 0, 0},
37168{ SWIG_PY_INT, (char *)"ALIGN_CENTRE_HORIZONTAL", (long) wxALIGN_CENTRE_HORIZONTAL, 0, 0, 0},
37169{ SWIG_PY_INT, (char *)"ALIGN_LEFT", (long) wxALIGN_LEFT, 0, 0, 0},
37170{ SWIG_PY_INT, (char *)"ALIGN_TOP", (long) wxALIGN_TOP, 0, 0, 0},
37171{ SWIG_PY_INT, (char *)"ALIGN_RIGHT", (long) wxALIGN_RIGHT, 0, 0, 0},
37172{ SWIG_PY_INT, (char *)"ALIGN_BOTTOM", (long) wxALIGN_BOTTOM, 0, 0, 0},
37173{ SWIG_PY_INT, (char *)"ALIGN_CENTER_VERTICAL", (long) wxALIGN_CENTER_VERTICAL, 0, 0, 0},
37174{ SWIG_PY_INT, (char *)"ALIGN_CENTRE_VERTICAL", (long) wxALIGN_CENTRE_VERTICAL, 0, 0, 0},
37175{ SWIG_PY_INT, (char *)"ALIGN_CENTER", (long) wxALIGN_CENTER, 0, 0, 0},
37176{ SWIG_PY_INT, (char *)"ALIGN_CENTRE", (long) wxALIGN_CENTRE, 0, 0, 0},
37177{ SWIG_PY_INT, (char *)"ALIGN_MASK", (long) wxALIGN_MASK, 0, 0, 0},
37178{ SWIG_PY_INT, (char *)"STRETCH_NOT", (long) wxSTRETCH_NOT, 0, 0, 0},
37179{ SWIG_PY_INT, (char *)"SHRINK", (long) wxSHRINK, 0, 0, 0},
37180{ SWIG_PY_INT, (char *)"GROW", (long) wxGROW, 0, 0, 0},
37181{ SWIG_PY_INT, (char *)"EXPAND", (long) wxEXPAND, 0, 0, 0},
37182{ SWIG_PY_INT, (char *)"SHAPED", (long) wxSHAPED, 0, 0, 0},
37183{ SWIG_PY_INT, (char *)"ADJUST_MINSIZE", (long) wxADJUST_MINSIZE, 0, 0, 0},
37184{ SWIG_PY_INT, (char *)"TILE", (long) wxTILE, 0, 0, 0},
37185{ SWIG_PY_INT, (char *)"BORDER_DEFAULT", (long) wxBORDER_DEFAULT, 0, 0, 0},
37186{ SWIG_PY_INT, (char *)"BORDER_NONE", (long) wxBORDER_NONE, 0, 0, 0},
37187{ SWIG_PY_INT, (char *)"BORDER_STATIC", (long) wxBORDER_STATIC, 0, 0, 0},
37188{ SWIG_PY_INT, (char *)"BORDER_SIMPLE", (long) wxBORDER_SIMPLE, 0, 0, 0},
37189{ SWIG_PY_INT, (char *)"BORDER_RAISED", (long) wxBORDER_RAISED, 0, 0, 0},
37190{ SWIG_PY_INT, (char *)"BORDER_SUNKEN", (long) wxBORDER_SUNKEN, 0, 0, 0},
37191{ SWIG_PY_INT, (char *)"BORDER_DOUBLE", (long) wxBORDER_DOUBLE, 0, 0, 0},
37192{ SWIG_PY_INT, (char *)"BORDER_MASK", (long) wxBORDER_MASK, 0, 0, 0},
37193{ SWIG_PY_INT, (char *)"DEFAULT", (long) wxDEFAULT, 0, 0, 0},
37194{ SWIG_PY_INT, (char *)"DECORATIVE", (long) wxDECORATIVE, 0, 0, 0},
37195{ SWIG_PY_INT, (char *)"ROMAN", (long) wxROMAN, 0, 0, 0},
37196{ SWIG_PY_INT, (char *)"SCRIPT", (long) wxSCRIPT, 0, 0, 0},
37197{ SWIG_PY_INT, (char *)"SWISS", (long) wxSWISS, 0, 0, 0},
37198{ SWIG_PY_INT, (char *)"MODERN", (long) wxMODERN, 0, 0, 0},
37199{ SWIG_PY_INT, (char *)"TELETYPE", (long) wxTELETYPE, 0, 0, 0},
37200{ SWIG_PY_INT, (char *)"VARIABLE", (long) wxVARIABLE, 0, 0, 0},
37201{ SWIG_PY_INT, (char *)"FIXED", (long) wxFIXED, 0, 0, 0},
37202{ SWIG_PY_INT, (char *)"NORMAL", (long) wxNORMAL, 0, 0, 0},
37203{ SWIG_PY_INT, (char *)"LIGHT", (long) wxLIGHT, 0, 0, 0},
37204{ SWIG_PY_INT, (char *)"BOLD", (long) wxBOLD, 0, 0, 0},
37205{ SWIG_PY_INT, (char *)"ITALIC", (long) wxITALIC, 0, 0, 0},
37206{ SWIG_PY_INT, (char *)"SLANT", (long) wxSLANT, 0, 0, 0},
37207{ SWIG_PY_INT, (char *)"SOLID", (long) wxSOLID, 0, 0, 0},
37208{ SWIG_PY_INT, (char *)"DOT", (long) wxDOT, 0, 0, 0},
37209{ SWIG_PY_INT, (char *)"LONG_DASH", (long) wxLONG_DASH, 0, 0, 0},
37210{ SWIG_PY_INT, (char *)"SHORT_DASH", (long) wxSHORT_DASH, 0, 0, 0},
37211{ SWIG_PY_INT, (char *)"DOT_DASH", (long) wxDOT_DASH, 0, 0, 0},
37212{ SWIG_PY_INT, (char *)"USER_DASH", (long) wxUSER_DASH, 0, 0, 0},
37213{ SWIG_PY_INT, (char *)"TRANSPARENT", (long) wxTRANSPARENT, 0, 0, 0},
37214{ SWIG_PY_INT, (char *)"STIPPLE", (long) wxSTIPPLE, 0, 0, 0},
37215{ SWIG_PY_INT, (char *)"BDIAGONAL_HATCH", (long) wxBDIAGONAL_HATCH, 0, 0, 0},
37216{ SWIG_PY_INT, (char *)"CROSSDIAG_HATCH", (long) wxCROSSDIAG_HATCH, 0, 0, 0},
37217{ SWIG_PY_INT, (char *)"FDIAGONAL_HATCH", (long) wxFDIAGONAL_HATCH, 0, 0, 0},
37218{ SWIG_PY_INT, (char *)"CROSS_HATCH", (long) wxCROSS_HATCH, 0, 0, 0},
37219{ SWIG_PY_INT, (char *)"HORIZONTAL_HATCH", (long) wxHORIZONTAL_HATCH, 0, 0, 0},
37220{ SWIG_PY_INT, (char *)"VERTICAL_HATCH", (long) wxVERTICAL_HATCH, 0, 0, 0},
37221{ SWIG_PY_INT, (char *)"JOIN_BEVEL", (long) wxJOIN_BEVEL, 0, 0, 0},
37222{ SWIG_PY_INT, (char *)"JOIN_MITER", (long) wxJOIN_MITER, 0, 0, 0},
37223{ SWIG_PY_INT, (char *)"JOIN_ROUND", (long) wxJOIN_ROUND, 0, 0, 0},
37224{ SWIG_PY_INT, (char *)"CAP_ROUND", (long) wxCAP_ROUND, 0, 0, 0},
37225{ SWIG_PY_INT, (char *)"CAP_PROJECTING", (long) wxCAP_PROJECTING, 0, 0, 0},
37226{ SWIG_PY_INT, (char *)"CAP_BUTT", (long) wxCAP_BUTT, 0, 0, 0},
37227{ SWIG_PY_INT, (char *)"CLEAR", (long) wxCLEAR, 0, 0, 0},
37228{ SWIG_PY_INT, (char *)"XOR", (long) wxXOR, 0, 0, 0},
37229{ SWIG_PY_INT, (char *)"INVERT", (long) wxINVERT, 0, 0, 0},
37230{ SWIG_PY_INT, (char *)"OR_REVERSE", (long) wxOR_REVERSE, 0, 0, 0},
37231{ SWIG_PY_INT, (char *)"AND_REVERSE", (long) wxAND_REVERSE, 0, 0, 0},
37232{ SWIG_PY_INT, (char *)"COPY", (long) wxCOPY, 0, 0, 0},
37233{ SWIG_PY_INT, (char *)"AND", (long) wxAND, 0, 0, 0},
37234{ SWIG_PY_INT, (char *)"AND_INVERT", (long) wxAND_INVERT, 0, 0, 0},
37235{ SWIG_PY_INT, (char *)"NO_OP", (long) wxNO_OP, 0, 0, 0},
37236{ SWIG_PY_INT, (char *)"NOR", (long) wxNOR, 0, 0, 0},
37237{ SWIG_PY_INT, (char *)"EQUIV", (long) wxEQUIV, 0, 0, 0},
37238{ SWIG_PY_INT, (char *)"SRC_INVERT", (long) wxSRC_INVERT, 0, 0, 0},
37239{ SWIG_PY_INT, (char *)"OR_INVERT", (long) wxOR_INVERT, 0, 0, 0},
37240{ SWIG_PY_INT, (char *)"NAND", (long) wxNAND, 0, 0, 0},
37241{ SWIG_PY_INT, (char *)"OR", (long) wxOR, 0, 0, 0},
37242{ SWIG_PY_INT, (char *)"SET", (long) wxSET, 0, 0, 0},
37243{ SWIG_PY_INT, (char *)"WXK_BACK", (long) WXK_BACK, 0, 0, 0},
37244{ SWIG_PY_INT, (char *)"WXK_TAB", (long) WXK_TAB, 0, 0, 0},
37245{ SWIG_PY_INT, (char *)"WXK_RETURN", (long) WXK_RETURN, 0, 0, 0},
37246{ SWIG_PY_INT, (char *)"WXK_ESCAPE", (long) WXK_ESCAPE, 0, 0, 0},
37247{ SWIG_PY_INT, (char *)"WXK_SPACE", (long) WXK_SPACE, 0, 0, 0},
37248{ SWIG_PY_INT, (char *)"WXK_DELETE", (long) WXK_DELETE, 0, 0, 0},
37249{ SWIG_PY_INT, (char *)"WXK_START", (long) WXK_START, 0, 0, 0},
37250{ SWIG_PY_INT, (char *)"WXK_LBUTTON", (long) WXK_LBUTTON, 0, 0, 0},
37251{ SWIG_PY_INT, (char *)"WXK_RBUTTON", (long) WXK_RBUTTON, 0, 0, 0},
37252{ SWIG_PY_INT, (char *)"WXK_CANCEL", (long) WXK_CANCEL, 0, 0, 0},
37253{ SWIG_PY_INT, (char *)"WXK_MBUTTON", (long) WXK_MBUTTON, 0, 0, 0},
37254{ SWIG_PY_INT, (char *)"WXK_CLEAR", (long) WXK_CLEAR, 0, 0, 0},
37255{ SWIG_PY_INT, (char *)"WXK_SHIFT", (long) WXK_SHIFT, 0, 0, 0},
37256{ SWIG_PY_INT, (char *)"WXK_ALT", (long) WXK_ALT, 0, 0, 0},
37257{ SWIG_PY_INT, (char *)"WXK_CONTROL", (long) WXK_CONTROL, 0, 0, 0},
37258{ SWIG_PY_INT, (char *)"WXK_MENU", (long) WXK_MENU, 0, 0, 0},
37259{ SWIG_PY_INT, (char *)"WXK_PAUSE", (long) WXK_PAUSE, 0, 0, 0},
37260{ SWIG_PY_INT, (char *)"WXK_CAPITAL", (long) WXK_CAPITAL, 0, 0, 0},
37261{ SWIG_PY_INT, (char *)"WXK_PRIOR", (long) WXK_PRIOR, 0, 0, 0},
37262{ SWIG_PY_INT, (char *)"WXK_NEXT", (long) WXK_NEXT, 0, 0, 0},
37263{ SWIG_PY_INT, (char *)"WXK_END", (long) WXK_END, 0, 0, 0},
37264{ SWIG_PY_INT, (char *)"WXK_HOME", (long) WXK_HOME, 0, 0, 0},
37265{ SWIG_PY_INT, (char *)"WXK_LEFT", (long) WXK_LEFT, 0, 0, 0},
37266{ SWIG_PY_INT, (char *)"WXK_UP", (long) WXK_UP, 0, 0, 0},
37267{ SWIG_PY_INT, (char *)"WXK_RIGHT", (long) WXK_RIGHT, 0, 0, 0},
37268{ SWIG_PY_INT, (char *)"WXK_DOWN", (long) WXK_DOWN, 0, 0, 0},
37269{ SWIG_PY_INT, (char *)"WXK_SELECT", (long) WXK_SELECT, 0, 0, 0},
37270{ SWIG_PY_INT, (char *)"WXK_PRINT", (long) WXK_PRINT, 0, 0, 0},
37271{ SWIG_PY_INT, (char *)"WXK_EXECUTE", (long) WXK_EXECUTE, 0, 0, 0},
37272{ SWIG_PY_INT, (char *)"WXK_SNAPSHOT", (long) WXK_SNAPSHOT, 0, 0, 0},
37273{ SWIG_PY_INT, (char *)"WXK_INSERT", (long) WXK_INSERT, 0, 0, 0},
37274{ SWIG_PY_INT, (char *)"WXK_HELP", (long) WXK_HELP, 0, 0, 0},
37275{ SWIG_PY_INT, (char *)"WXK_NUMPAD0", (long) WXK_NUMPAD0, 0, 0, 0},
37276{ SWIG_PY_INT, (char *)"WXK_NUMPAD1", (long) WXK_NUMPAD1, 0, 0, 0},
37277{ SWIG_PY_INT, (char *)"WXK_NUMPAD2", (long) WXK_NUMPAD2, 0, 0, 0},
37278{ SWIG_PY_INT, (char *)"WXK_NUMPAD3", (long) WXK_NUMPAD3, 0, 0, 0},
37279{ SWIG_PY_INT, (char *)"WXK_NUMPAD4", (long) WXK_NUMPAD4, 0, 0, 0},
37280{ SWIG_PY_INT, (char *)"WXK_NUMPAD5", (long) WXK_NUMPAD5, 0, 0, 0},
37281{ SWIG_PY_INT, (char *)"WXK_NUMPAD6", (long) WXK_NUMPAD6, 0, 0, 0},
37282{ SWIG_PY_INT, (char *)"WXK_NUMPAD7", (long) WXK_NUMPAD7, 0, 0, 0},
37283{ SWIG_PY_INT, (char *)"WXK_NUMPAD8", (long) WXK_NUMPAD8, 0, 0, 0},
37284{ SWIG_PY_INT, (char *)"WXK_NUMPAD9", (long) WXK_NUMPAD9, 0, 0, 0},
37285{ SWIG_PY_INT, (char *)"WXK_MULTIPLY", (long) WXK_MULTIPLY, 0, 0, 0},
37286{ SWIG_PY_INT, (char *)"WXK_ADD", (long) WXK_ADD, 0, 0, 0},
37287{ SWIG_PY_INT, (char *)"WXK_SEPARATOR", (long) WXK_SEPARATOR, 0, 0, 0},
37288{ SWIG_PY_INT, (char *)"WXK_SUBTRACT", (long) WXK_SUBTRACT, 0, 0, 0},
37289{ SWIG_PY_INT, (char *)"WXK_DECIMAL", (long) WXK_DECIMAL, 0, 0, 0},
37290{ SWIG_PY_INT, (char *)"WXK_DIVIDE", (long) WXK_DIVIDE, 0, 0, 0},
37291{ SWIG_PY_INT, (char *)"WXK_F1", (long) WXK_F1, 0, 0, 0},
37292{ SWIG_PY_INT, (char *)"WXK_F2", (long) WXK_F2, 0, 0, 0},
37293{ SWIG_PY_INT, (char *)"WXK_F3", (long) WXK_F3, 0, 0, 0},
37294{ SWIG_PY_INT, (char *)"WXK_F4", (long) WXK_F4, 0, 0, 0},
37295{ SWIG_PY_INT, (char *)"WXK_F5", (long) WXK_F5, 0, 0, 0},
37296{ SWIG_PY_INT, (char *)"WXK_F6", (long) WXK_F6, 0, 0, 0},
37297{ SWIG_PY_INT, (char *)"WXK_F7", (long) WXK_F7, 0, 0, 0},
37298{ SWIG_PY_INT, (char *)"WXK_F8", (long) WXK_F8, 0, 0, 0},
37299{ SWIG_PY_INT, (char *)"WXK_F9", (long) WXK_F9, 0, 0, 0},
37300{ SWIG_PY_INT, (char *)"WXK_F10", (long) WXK_F10, 0, 0, 0},
37301{ SWIG_PY_INT, (char *)"WXK_F11", (long) WXK_F11, 0, 0, 0},
37302{ SWIG_PY_INT, (char *)"WXK_F12", (long) WXK_F12, 0, 0, 0},
37303{ SWIG_PY_INT, (char *)"WXK_F13", (long) WXK_F13, 0, 0, 0},
37304{ SWIG_PY_INT, (char *)"WXK_F14", (long) WXK_F14, 0, 0, 0},
37305{ SWIG_PY_INT, (char *)"WXK_F15", (long) WXK_F15, 0, 0, 0},
37306{ SWIG_PY_INT, (char *)"WXK_F16", (long) WXK_F16, 0, 0, 0},
37307{ SWIG_PY_INT, (char *)"WXK_F17", (long) WXK_F17, 0, 0, 0},
37308{ SWIG_PY_INT, (char *)"WXK_F18", (long) WXK_F18, 0, 0, 0},
37309{ SWIG_PY_INT, (char *)"WXK_F19", (long) WXK_F19, 0, 0, 0},
37310{ SWIG_PY_INT, (char *)"WXK_F20", (long) WXK_F20, 0, 0, 0},
37311{ SWIG_PY_INT, (char *)"WXK_F21", (long) WXK_F21, 0, 0, 0},
37312{ SWIG_PY_INT, (char *)"WXK_F22", (long) WXK_F22, 0, 0, 0},
37313{ SWIG_PY_INT, (char *)"WXK_F23", (long) WXK_F23, 0, 0, 0},
37314{ SWIG_PY_INT, (char *)"WXK_F24", (long) WXK_F24, 0, 0, 0},
37315{ SWIG_PY_INT, (char *)"WXK_NUMLOCK", (long) WXK_NUMLOCK, 0, 0, 0},
37316{ SWIG_PY_INT, (char *)"WXK_SCROLL", (long) WXK_SCROLL, 0, 0, 0},
37317{ SWIG_PY_INT, (char *)"WXK_PAGEUP", (long) WXK_PAGEUP, 0, 0, 0},
37318{ SWIG_PY_INT, (char *)"WXK_PAGEDOWN", (long) WXK_PAGEDOWN, 0, 0, 0},
37319{ SWIG_PY_INT, (char *)"WXK_NUMPAD_SPACE", (long) WXK_NUMPAD_SPACE, 0, 0, 0},
37320{ SWIG_PY_INT, (char *)"WXK_NUMPAD_TAB", (long) WXK_NUMPAD_TAB, 0, 0, 0},
37321{ SWIG_PY_INT, (char *)"WXK_NUMPAD_ENTER", (long) WXK_NUMPAD_ENTER, 0, 0, 0},
37322{ SWIG_PY_INT, (char *)"WXK_NUMPAD_F1", (long) WXK_NUMPAD_F1, 0, 0, 0},
37323{ SWIG_PY_INT, (char *)"WXK_NUMPAD_F2", (long) WXK_NUMPAD_F2, 0, 0, 0},
37324{ SWIG_PY_INT, (char *)"WXK_NUMPAD_F3", (long) WXK_NUMPAD_F3, 0, 0, 0},
37325{ SWIG_PY_INT, (char *)"WXK_NUMPAD_F4", (long) WXK_NUMPAD_F4, 0, 0, 0},
37326{ SWIG_PY_INT, (char *)"WXK_NUMPAD_HOME", (long) WXK_NUMPAD_HOME, 0, 0, 0},
37327{ SWIG_PY_INT, (char *)"WXK_NUMPAD_LEFT", (long) WXK_NUMPAD_LEFT, 0, 0, 0},
37328{ SWIG_PY_INT, (char *)"WXK_NUMPAD_UP", (long) WXK_NUMPAD_UP, 0, 0, 0},
37329{ SWIG_PY_INT, (char *)"WXK_NUMPAD_RIGHT", (long) WXK_NUMPAD_RIGHT, 0, 0, 0},
37330{ SWIG_PY_INT, (char *)"WXK_NUMPAD_DOWN", (long) WXK_NUMPAD_DOWN, 0, 0, 0},
37331{ SWIG_PY_INT, (char *)"WXK_NUMPAD_PRIOR", (long) WXK_NUMPAD_PRIOR, 0, 0, 0},
37332{ SWIG_PY_INT, (char *)"WXK_NUMPAD_PAGEUP", (long) WXK_NUMPAD_PAGEUP, 0, 0, 0},
37333{ SWIG_PY_INT, (char *)"WXK_NUMPAD_NEXT", (long) WXK_NUMPAD_NEXT, 0, 0, 0},
37334{ SWIG_PY_INT, (char *)"WXK_NUMPAD_PAGEDOWN", (long) WXK_NUMPAD_PAGEDOWN, 0, 0, 0},
37335{ SWIG_PY_INT, (char *)"WXK_NUMPAD_END", (long) WXK_NUMPAD_END, 0, 0, 0},
37336{ SWIG_PY_INT, (char *)"WXK_NUMPAD_BEGIN", (long) WXK_NUMPAD_BEGIN, 0, 0, 0},
37337{ SWIG_PY_INT, (char *)"WXK_NUMPAD_INSERT", (long) WXK_NUMPAD_INSERT, 0, 0, 0},
37338{ SWIG_PY_INT, (char *)"WXK_NUMPAD_DELETE", (long) WXK_NUMPAD_DELETE, 0, 0, 0},
37339{ SWIG_PY_INT, (char *)"WXK_NUMPAD_EQUAL", (long) WXK_NUMPAD_EQUAL, 0, 0, 0},
37340{ SWIG_PY_INT, (char *)"WXK_NUMPAD_MULTIPLY", (long) WXK_NUMPAD_MULTIPLY, 0, 0, 0},
37341{ SWIG_PY_INT, (char *)"WXK_NUMPAD_ADD", (long) WXK_NUMPAD_ADD, 0, 0, 0},
37342{ SWIG_PY_INT, (char *)"WXK_NUMPAD_SEPARATOR", (long) WXK_NUMPAD_SEPARATOR, 0, 0, 0},
37343{ SWIG_PY_INT, (char *)"WXK_NUMPAD_SUBTRACT", (long) WXK_NUMPAD_SUBTRACT, 0, 0, 0},
37344{ SWIG_PY_INT, (char *)"WXK_NUMPAD_DECIMAL", (long) WXK_NUMPAD_DECIMAL, 0, 0, 0},
37345{ SWIG_PY_INT, (char *)"WXK_NUMPAD_DIVIDE", (long) WXK_NUMPAD_DIVIDE, 0, 0, 0},
37346{ SWIG_PY_INT, (char *)"WXK_WINDOWS_LEFT", (long) WXK_WINDOWS_LEFT, 0, 0, 0},
37347{ SWIG_PY_INT, (char *)"WXK_WINDOWS_RIGHT", (long) WXK_WINDOWS_RIGHT, 0, 0, 0},
37348{ SWIG_PY_INT, (char *)"WXK_WINDOWS_MENU", (long) WXK_WINDOWS_MENU, 0, 0, 0},
37349{ SWIG_PY_INT, (char *)"PAPER_NONE", (long) wxPAPER_NONE, 0, 0, 0},
37350{ SWIG_PY_INT, (char *)"PAPER_LETTER", (long) wxPAPER_LETTER, 0, 0, 0},
37351{ SWIG_PY_INT, (char *)"PAPER_LEGAL", (long) wxPAPER_LEGAL, 0, 0, 0},
37352{ SWIG_PY_INT, (char *)"PAPER_A4", (long) wxPAPER_A4, 0, 0, 0},
37353{ SWIG_PY_INT, (char *)"PAPER_CSHEET", (long) wxPAPER_CSHEET, 0, 0, 0},
37354{ SWIG_PY_INT, (char *)"PAPER_DSHEET", (long) wxPAPER_DSHEET, 0, 0, 0},
37355{ SWIG_PY_INT, (char *)"PAPER_ESHEET", (long) wxPAPER_ESHEET, 0, 0, 0},
37356{ SWIG_PY_INT, (char *)"PAPER_LETTERSMALL", (long) wxPAPER_LETTERSMALL, 0, 0, 0},
37357{ SWIG_PY_INT, (char *)"PAPER_TABLOID", (long) wxPAPER_TABLOID, 0, 0, 0},
37358{ SWIG_PY_INT, (char *)"PAPER_LEDGER", (long) wxPAPER_LEDGER, 0, 0, 0},
37359{ SWIG_PY_INT, (char *)"PAPER_STATEMENT", (long) wxPAPER_STATEMENT, 0, 0, 0},
37360{ SWIG_PY_INT, (char *)"PAPER_EXECUTIVE", (long) wxPAPER_EXECUTIVE, 0, 0, 0},
37361{ SWIG_PY_INT, (char *)"PAPER_A3", (long) wxPAPER_A3, 0, 0, 0},
37362{ SWIG_PY_INT, (char *)"PAPER_A4SMALL", (long) wxPAPER_A4SMALL, 0, 0, 0},
37363{ SWIG_PY_INT, (char *)"PAPER_A5", (long) wxPAPER_A5, 0, 0, 0},
37364{ SWIG_PY_INT, (char *)"PAPER_B4", (long) wxPAPER_B4, 0, 0, 0},
37365{ SWIG_PY_INT, (char *)"PAPER_B5", (long) wxPAPER_B5, 0, 0, 0},
37366{ SWIG_PY_INT, (char *)"PAPER_FOLIO", (long) wxPAPER_FOLIO, 0, 0, 0},
37367{ SWIG_PY_INT, (char *)"PAPER_QUARTO", (long) wxPAPER_QUARTO, 0, 0, 0},
37368{ SWIG_PY_INT, (char *)"PAPER_10X14", (long) wxPAPER_10X14, 0, 0, 0},
37369{ SWIG_PY_INT, (char *)"PAPER_11X17", (long) wxPAPER_11X17, 0, 0, 0},
37370{ SWIG_PY_INT, (char *)"PAPER_NOTE", (long) wxPAPER_NOTE, 0, 0, 0},
37371{ SWIG_PY_INT, (char *)"PAPER_ENV_9", (long) wxPAPER_ENV_9, 0, 0, 0},
37372{ SWIG_PY_INT, (char *)"PAPER_ENV_10", (long) wxPAPER_ENV_10, 0, 0, 0},
37373{ SWIG_PY_INT, (char *)"PAPER_ENV_11", (long) wxPAPER_ENV_11, 0, 0, 0},
37374{ SWIG_PY_INT, (char *)"PAPER_ENV_12", (long) wxPAPER_ENV_12, 0, 0, 0},
37375{ SWIG_PY_INT, (char *)"PAPER_ENV_14", (long) wxPAPER_ENV_14, 0, 0, 0},
37376{ SWIG_PY_INT, (char *)"PAPER_ENV_DL", (long) wxPAPER_ENV_DL, 0, 0, 0},
37377{ SWIG_PY_INT, (char *)"PAPER_ENV_C5", (long) wxPAPER_ENV_C5, 0, 0, 0},
37378{ SWIG_PY_INT, (char *)"PAPER_ENV_C3", (long) wxPAPER_ENV_C3, 0, 0, 0},
37379{ SWIG_PY_INT, (char *)"PAPER_ENV_C4", (long) wxPAPER_ENV_C4, 0, 0, 0},
37380{ SWIG_PY_INT, (char *)"PAPER_ENV_C6", (long) wxPAPER_ENV_C6, 0, 0, 0},
37381{ SWIG_PY_INT, (char *)"PAPER_ENV_C65", (long) wxPAPER_ENV_C65, 0, 0, 0},
37382{ SWIG_PY_INT, (char *)"PAPER_ENV_B4", (long) wxPAPER_ENV_B4, 0, 0, 0},
37383{ SWIG_PY_INT, (char *)"PAPER_ENV_B5", (long) wxPAPER_ENV_B5, 0, 0, 0},
37384{ SWIG_PY_INT, (char *)"PAPER_ENV_B6", (long) wxPAPER_ENV_B6, 0, 0, 0},
37385{ SWIG_PY_INT, (char *)"PAPER_ENV_ITALY", (long) wxPAPER_ENV_ITALY, 0, 0, 0},
37386{ SWIG_PY_INT, (char *)"PAPER_ENV_MONARCH", (long) wxPAPER_ENV_MONARCH, 0, 0, 0},
37387{ SWIG_PY_INT, (char *)"PAPER_ENV_PERSONAL", (long) wxPAPER_ENV_PERSONAL, 0, 0, 0},
37388{ SWIG_PY_INT, (char *)"PAPER_FANFOLD_US", (long) wxPAPER_FANFOLD_US, 0, 0, 0},
37389{ SWIG_PY_INT, (char *)"PAPER_FANFOLD_STD_GERMAN", (long) wxPAPER_FANFOLD_STD_GERMAN, 0, 0, 0},
37390{ SWIG_PY_INT, (char *)"PAPER_FANFOLD_LGL_GERMAN", (long) wxPAPER_FANFOLD_LGL_GERMAN, 0, 0, 0},
37391{ SWIG_PY_INT, (char *)"PAPER_ISO_B4", (long) wxPAPER_ISO_B4, 0, 0, 0},
37392{ SWIG_PY_INT, (char *)"PAPER_JAPANESE_POSTCARD", (long) wxPAPER_JAPANESE_POSTCARD, 0, 0, 0},
37393{ SWIG_PY_INT, (char *)"PAPER_9X11", (long) wxPAPER_9X11, 0, 0, 0},
37394{ SWIG_PY_INT, (char *)"PAPER_10X11", (long) wxPAPER_10X11, 0, 0, 0},
37395{ SWIG_PY_INT, (char *)"PAPER_15X11", (long) wxPAPER_15X11, 0, 0, 0},
37396{ SWIG_PY_INT, (char *)"PAPER_ENV_INVITE", (long) wxPAPER_ENV_INVITE, 0, 0, 0},
37397{ SWIG_PY_INT, (char *)"PAPER_LETTER_EXTRA", (long) wxPAPER_LETTER_EXTRA, 0, 0, 0},
37398{ SWIG_PY_INT, (char *)"PAPER_LEGAL_EXTRA", (long) wxPAPER_LEGAL_EXTRA, 0, 0, 0},
37399{ SWIG_PY_INT, (char *)"PAPER_TABLOID_EXTRA", (long) wxPAPER_TABLOID_EXTRA, 0, 0, 0},
37400{ SWIG_PY_INT, (char *)"PAPER_A4_EXTRA", (long) wxPAPER_A4_EXTRA, 0, 0, 0},
37401{ SWIG_PY_INT, (char *)"PAPER_LETTER_TRANSVERSE", (long) wxPAPER_LETTER_TRANSVERSE, 0, 0, 0},
37402{ SWIG_PY_INT, (char *)"PAPER_A4_TRANSVERSE", (long) wxPAPER_A4_TRANSVERSE, 0, 0, 0},
37403{ SWIG_PY_INT, (char *)"PAPER_LETTER_EXTRA_TRANSVERSE", (long) wxPAPER_LETTER_EXTRA_TRANSVERSE, 0, 0, 0},
37404{ SWIG_PY_INT, (char *)"PAPER_A_PLUS", (long) wxPAPER_A_PLUS, 0, 0, 0},
37405{ SWIG_PY_INT, (char *)"PAPER_B_PLUS", (long) wxPAPER_B_PLUS, 0, 0, 0},
37406{ SWIG_PY_INT, (char *)"PAPER_LETTER_PLUS", (long) wxPAPER_LETTER_PLUS, 0, 0, 0},
37407{ SWIG_PY_INT, (char *)"PAPER_A4_PLUS", (long) wxPAPER_A4_PLUS, 0, 0, 0},
37408{ SWIG_PY_INT, (char *)"PAPER_A5_TRANSVERSE", (long) wxPAPER_A5_TRANSVERSE, 0, 0, 0},
37409{ SWIG_PY_INT, (char *)"PAPER_B5_TRANSVERSE", (long) wxPAPER_B5_TRANSVERSE, 0, 0, 0},
37410{ SWIG_PY_INT, (char *)"PAPER_A3_EXTRA", (long) wxPAPER_A3_EXTRA, 0, 0, 0},
37411{ SWIG_PY_INT, (char *)"PAPER_A5_EXTRA", (long) wxPAPER_A5_EXTRA, 0, 0, 0},
37412{ SWIG_PY_INT, (char *)"PAPER_B5_EXTRA", (long) wxPAPER_B5_EXTRA, 0, 0, 0},
37413{ SWIG_PY_INT, (char *)"PAPER_A2", (long) wxPAPER_A2, 0, 0, 0},
37414{ SWIG_PY_INT, (char *)"PAPER_A3_TRANSVERSE", (long) wxPAPER_A3_TRANSVERSE, 0, 0, 0},
37415{ SWIG_PY_INT, (char *)"PAPER_A3_EXTRA_TRANSVERSE", (long) wxPAPER_A3_EXTRA_TRANSVERSE, 0, 0, 0},
37416{ SWIG_PY_INT, (char *)"DUPLEX_SIMPLEX", (long) wxDUPLEX_SIMPLEX, 0, 0, 0},
37417{ SWIG_PY_INT, (char *)"DUPLEX_HORIZONTAL", (long) wxDUPLEX_HORIZONTAL, 0, 0, 0},
37418{ SWIG_PY_INT, (char *)"DUPLEX_VERTICAL", (long) wxDUPLEX_VERTICAL, 0, 0, 0},
37419{ SWIG_PY_INT, (char *)"ITEM_SEPARATOR", (long) wxITEM_SEPARATOR, 0, 0, 0},
37420{ SWIG_PY_INT, (char *)"ITEM_NORMAL", (long) wxITEM_NORMAL, 0, 0, 0},
37421{ SWIG_PY_INT, (char *)"ITEM_CHECK", (long) wxITEM_CHECK, 0, 0, 0},
37422{ SWIG_PY_INT, (char *)"ITEM_RADIO", (long) wxITEM_RADIO, 0, 0, 0},
37423{ SWIG_PY_INT, (char *)"ITEM_MAX", (long) wxITEM_MAX, 0, 0, 0},
37424{ SWIG_PY_INT, (char *)"HT_NOWHERE", (long) wxHT_NOWHERE, 0, 0, 0},
37425{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_FIRST", (long) wxHT_SCROLLBAR_FIRST, 0, 0, 0},
37426{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_LINE_1", (long) wxHT_SCROLLBAR_ARROW_LINE_1, 0, 0, 0},
37427{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_LINE_2", (long) wxHT_SCROLLBAR_ARROW_LINE_2, 0, 0, 0},
37428{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_PAGE_1", (long) wxHT_SCROLLBAR_ARROW_PAGE_1, 0, 0, 0},
37429{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_PAGE_2", (long) wxHT_SCROLLBAR_ARROW_PAGE_2, 0, 0, 0},
37430{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_THUMB", (long) wxHT_SCROLLBAR_THUMB, 0, 0, 0},
37431{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_BAR_1", (long) wxHT_SCROLLBAR_BAR_1, 0, 0, 0},
37432{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_BAR_2", (long) wxHT_SCROLLBAR_BAR_2, 0, 0, 0},
37433{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_LAST", (long) wxHT_SCROLLBAR_LAST, 0, 0, 0},
37434{ SWIG_PY_INT, (char *)"HT_WINDOW_OUTSIDE", (long) wxHT_WINDOW_OUTSIDE, 0, 0, 0},
37435{ SWIG_PY_INT, (char *)"HT_WINDOW_INSIDE", (long) wxHT_WINDOW_INSIDE, 0, 0, 0},
37436{ SWIG_PY_INT, (char *)"HT_WINDOW_VERT_SCROLLBAR", (long) wxHT_WINDOW_VERT_SCROLLBAR, 0, 0, 0},
37437{ SWIG_PY_INT, (char *)"HT_WINDOW_HORZ_SCROLLBAR", (long) wxHT_WINDOW_HORZ_SCROLLBAR, 0, 0, 0},
37438{ SWIG_PY_INT, (char *)"HT_WINDOW_CORNER", (long) wxHT_WINDOW_CORNER, 0, 0, 0},
37439{ SWIG_PY_INT, (char *)"HT_MAX", (long) wxHT_MAX, 0, 0, 0},
37440{ SWIG_PY_INT, (char *)"MOD_NONE", (long) wxMOD_NONE, 0, 0, 0},
37441{ SWIG_PY_INT, (char *)"MOD_ALT", (long) wxMOD_ALT, 0, 0, 0},
37442{ SWIG_PY_INT, (char *)"MOD_CONTROL", (long) wxMOD_CONTROL, 0, 0, 0},
37443{ SWIG_PY_INT, (char *)"MOD_SHIFT", (long) wxMOD_SHIFT, 0, 0, 0},
37444{ SWIG_PY_INT, (char *)"MOD_WIN", (long) wxMOD_WIN, 0, 0, 0},
37445{ SWIG_PY_INT, (char *)"UPDATE_UI_NONE", (long) wxUPDATE_UI_NONE, 0, 0, 0},
37446{ SWIG_PY_INT, (char *)"UPDATE_UI_RECURSE", (long) wxUPDATE_UI_RECURSE, 0, 0, 0},
37447{ SWIG_PY_INT, (char *)"UPDATE_UI_FROMIDLE", (long) wxUPDATE_UI_FROMIDLE, 0, 0, 0},
37448{ SWIG_PY_INT, (char *)"BITMAP_TYPE_INVALID", (long) wxBITMAP_TYPE_INVALID, 0, 0, 0},
37449{ SWIG_PY_INT, (char *)"BITMAP_TYPE_BMP", (long) wxBITMAP_TYPE_BMP, 0, 0, 0},
37450{ SWIG_PY_INT, (char *)"BITMAP_TYPE_BMP_RESOURCE", (long) wxBITMAP_TYPE_BMP_RESOURCE, 0, 0, 0},
37451{ SWIG_PY_INT, (char *)"BITMAP_TYPE_RESOURCE", (long) wxBITMAP_TYPE_RESOURCE, 0, 0, 0},
37452{ SWIG_PY_INT, (char *)"BITMAP_TYPE_ICO", (long) wxBITMAP_TYPE_ICO, 0, 0, 0},
37453{ SWIG_PY_INT, (char *)"BITMAP_TYPE_ICO_RESOURCE", (long) wxBITMAP_TYPE_ICO_RESOURCE, 0, 0, 0},
37454{ SWIG_PY_INT, (char *)"BITMAP_TYPE_CUR", (long) wxBITMAP_TYPE_CUR, 0, 0, 0},
37455{ SWIG_PY_INT, (char *)"BITMAP_TYPE_CUR_RESOURCE", (long) wxBITMAP_TYPE_CUR_RESOURCE, 0, 0, 0},
37456{ SWIG_PY_INT, (char *)"BITMAP_TYPE_XBM", (long) wxBITMAP_TYPE_XBM, 0, 0, 0},
37457{ SWIG_PY_INT, (char *)"BITMAP_TYPE_XBM_DATA", (long) wxBITMAP_TYPE_XBM_DATA, 0, 0, 0},
37458{ SWIG_PY_INT, (char *)"BITMAP_TYPE_XPM", (long) wxBITMAP_TYPE_XPM, 0, 0, 0},
37459{ SWIG_PY_INT, (char *)"BITMAP_TYPE_XPM_DATA", (long) wxBITMAP_TYPE_XPM_DATA, 0, 0, 0},
37460{ SWIG_PY_INT, (char *)"BITMAP_TYPE_TIF", (long) wxBITMAP_TYPE_TIF, 0, 0, 0},
37461{ SWIG_PY_INT, (char *)"BITMAP_TYPE_TIF_RESOURCE", (long) wxBITMAP_TYPE_TIF_RESOURCE, 0, 0, 0},
37462{ SWIG_PY_INT, (char *)"BITMAP_TYPE_GIF", (long) wxBITMAP_TYPE_GIF, 0, 0, 0},
37463{ SWIG_PY_INT, (char *)"BITMAP_TYPE_GIF_RESOURCE", (long) wxBITMAP_TYPE_GIF_RESOURCE, 0, 0, 0},
37464{ SWIG_PY_INT, (char *)"BITMAP_TYPE_PNG", (long) wxBITMAP_TYPE_PNG, 0, 0, 0},
37465{ SWIG_PY_INT, (char *)"BITMAP_TYPE_PNG_RESOURCE", (long) wxBITMAP_TYPE_PNG_RESOURCE, 0, 0, 0},
37466{ SWIG_PY_INT, (char *)"BITMAP_TYPE_JPEG", (long) wxBITMAP_TYPE_JPEG, 0, 0, 0},
37467{ SWIG_PY_INT, (char *)"BITMAP_TYPE_JPEG_RESOURCE", (long) wxBITMAP_TYPE_JPEG_RESOURCE, 0, 0, 0},
37468{ SWIG_PY_INT, (char *)"BITMAP_TYPE_PNM", (long) wxBITMAP_TYPE_PNM, 0, 0, 0},
37469{ SWIG_PY_INT, (char *)"BITMAP_TYPE_PNM_RESOURCE", (long) wxBITMAP_TYPE_PNM_RESOURCE, 0, 0, 0},
37470{ SWIG_PY_INT, (char *)"BITMAP_TYPE_PCX", (long) wxBITMAP_TYPE_PCX, 0, 0, 0},
37471{ SWIG_PY_INT, (char *)"BITMAP_TYPE_PCX_RESOURCE", (long) wxBITMAP_TYPE_PCX_RESOURCE, 0, 0, 0},
37472{ SWIG_PY_INT, (char *)"BITMAP_TYPE_PICT", (long) wxBITMAP_TYPE_PICT, 0, 0, 0},
37473{ SWIG_PY_INT, (char *)"BITMAP_TYPE_PICT_RESOURCE", (long) wxBITMAP_TYPE_PICT_RESOURCE, 0, 0, 0},
37474{ SWIG_PY_INT, (char *)"BITMAP_TYPE_ICON", (long) wxBITMAP_TYPE_ICON, 0, 0, 0},
37475{ SWIG_PY_INT, (char *)"BITMAP_TYPE_ICON_RESOURCE", (long) wxBITMAP_TYPE_ICON_RESOURCE, 0, 0, 0},
37476{ SWIG_PY_INT, (char *)"BITMAP_TYPE_ANI", (long) wxBITMAP_TYPE_ANI, 0, 0, 0},
37477{ SWIG_PY_INT, (char *)"BITMAP_TYPE_IFF", (long) wxBITMAP_TYPE_IFF, 0, 0, 0},
37478{ SWIG_PY_INT, (char *)"BITMAP_TYPE_MACCURSOR", (long) wxBITMAP_TYPE_MACCURSOR, 0, 0, 0},
37479{ SWIG_PY_INT, (char *)"BITMAP_TYPE_MACCURSOR_RESOURCE", (long) wxBITMAP_TYPE_MACCURSOR_RESOURCE, 0, 0, 0},
37480{ SWIG_PY_INT, (char *)"BITMAP_TYPE_ANY", (long) wxBITMAP_TYPE_ANY, 0, 0, 0},
37481{ SWIG_PY_INT, (char *)"CURSOR_NONE", (long) wxCURSOR_NONE, 0, 0, 0},
37482{ SWIG_PY_INT, (char *)"CURSOR_ARROW", (long) wxCURSOR_ARROW, 0, 0, 0},
37483{ SWIG_PY_INT, (char *)"CURSOR_RIGHT_ARROW", (long) wxCURSOR_RIGHT_ARROW, 0, 0, 0},
37484{ SWIG_PY_INT, (char *)"CURSOR_BULLSEYE", (long) wxCURSOR_BULLSEYE, 0, 0, 0},
37485{ SWIG_PY_INT, (char *)"CURSOR_CHAR", (long) wxCURSOR_CHAR, 0, 0, 0},
37486{ SWIG_PY_INT, (char *)"CURSOR_CROSS", (long) wxCURSOR_CROSS, 0, 0, 0},
37487{ SWIG_PY_INT, (char *)"CURSOR_HAND", (long) wxCURSOR_HAND, 0, 0, 0},
37488{ SWIG_PY_INT, (char *)"CURSOR_IBEAM", (long) wxCURSOR_IBEAM, 0, 0, 0},
37489{ SWIG_PY_INT, (char *)"CURSOR_LEFT_BUTTON", (long) wxCURSOR_LEFT_BUTTON, 0, 0, 0},
37490{ SWIG_PY_INT, (char *)"CURSOR_MAGNIFIER", (long) wxCURSOR_MAGNIFIER, 0, 0, 0},
37491{ SWIG_PY_INT, (char *)"CURSOR_MIDDLE_BUTTON", (long) wxCURSOR_MIDDLE_BUTTON, 0, 0, 0},
37492{ SWIG_PY_INT, (char *)"CURSOR_NO_ENTRY", (long) wxCURSOR_NO_ENTRY, 0, 0, 0},
37493{ SWIG_PY_INT, (char *)"CURSOR_PAINT_BRUSH", (long) wxCURSOR_PAINT_BRUSH, 0, 0, 0},
37494{ SWIG_PY_INT, (char *)"CURSOR_PENCIL", (long) wxCURSOR_PENCIL, 0, 0, 0},
37495{ SWIG_PY_INT, (char *)"CURSOR_POINT_LEFT", (long) wxCURSOR_POINT_LEFT, 0, 0, 0},
37496{ SWIG_PY_INT, (char *)"CURSOR_POINT_RIGHT", (long) wxCURSOR_POINT_RIGHT, 0, 0, 0},
37497{ SWIG_PY_INT, (char *)"CURSOR_QUESTION_ARROW", (long) wxCURSOR_QUESTION_ARROW, 0, 0, 0},
37498{ SWIG_PY_INT, (char *)"CURSOR_RIGHT_BUTTON", (long) wxCURSOR_RIGHT_BUTTON, 0, 0, 0},
37499{ SWIG_PY_INT, (char *)"CURSOR_SIZENESW", (long) wxCURSOR_SIZENESW, 0, 0, 0},
37500{ SWIG_PY_INT, (char *)"CURSOR_SIZENS", (long) wxCURSOR_SIZENS, 0, 0, 0},
37501{ SWIG_PY_INT, (char *)"CURSOR_SIZENWSE", (long) wxCURSOR_SIZENWSE, 0, 0, 0},
37502{ SWIG_PY_INT, (char *)"CURSOR_SIZEWE", (long) wxCURSOR_SIZEWE, 0, 0, 0},
37503{ SWIG_PY_INT, (char *)"CURSOR_SIZING", (long) wxCURSOR_SIZING, 0, 0, 0},
37504{ SWIG_PY_INT, (char *)"CURSOR_SPRAYCAN", (long) wxCURSOR_SPRAYCAN, 0, 0, 0},
37505{ SWIG_PY_INT, (char *)"CURSOR_WAIT", (long) wxCURSOR_WAIT, 0, 0, 0},
37506{ SWIG_PY_INT, (char *)"CURSOR_WATCH", (long) wxCURSOR_WATCH, 0, 0, 0},
37507{ SWIG_PY_INT, (char *)"CURSOR_BLANK", (long) wxCURSOR_BLANK, 0, 0, 0},
37508{ SWIG_PY_INT, (char *)"CURSOR_DEFAULT", (long) wxCURSOR_DEFAULT, 0, 0, 0},
37509{ SWIG_PY_INT, (char *)"CURSOR_COPY_ARROW", (long) wxCURSOR_COPY_ARROW, 0, 0, 0},
37510{ SWIG_PY_INT, (char *)"CURSOR_ARROWWAIT", (long) wxCURSOR_ARROWWAIT, 0, 0, 0},
37511{ SWIG_PY_INT, (char *)"CURSOR_MAX", (long) wxCURSOR_MAX, 0, 0, 0},
37512{ SWIG_PY_INT, (char *)"FromStart", (long) wxFromStart, 0, 0, 0},
37513{ SWIG_PY_INT, (char *)"FromCurrent", (long) wxFromCurrent, 0, 0, 0},
37514{ SWIG_PY_INT, (char *)"FromEnd", (long) wxFromEnd, 0, 0, 0},
37515{ SWIG_PY_INT, (char *)"IMAGE_RESOLUTION_INCHES", (long) wxIMAGE_RESOLUTION_INCHES, 0, 0, 0},
37516{ SWIG_PY_INT, (char *)"IMAGE_RESOLUTION_CM", (long) wxIMAGE_RESOLUTION_CM, 0, 0, 0},
37517{ SWIG_PY_INT, (char *)"BMP_24BPP", (long) wxBMP_24BPP, 0, 0, 0},
37518{ SWIG_PY_INT, (char *)"BMP_8BPP", (long) wxBMP_8BPP, 0, 0, 0},
37519{ SWIG_PY_INT, (char *)"BMP_8BPP_GREY", (long) wxBMP_8BPP_GREY, 0, 0, 0},
37520{ SWIG_PY_INT, (char *)"BMP_8BPP_GRAY", (long) wxBMP_8BPP_GRAY, 0, 0, 0},
37521{ SWIG_PY_INT, (char *)"BMP_8BPP_RED", (long) wxBMP_8BPP_RED, 0, 0, 0},
37522{ SWIG_PY_INT, (char *)"BMP_8BPP_PALETTE", (long) wxBMP_8BPP_PALETTE, 0, 0, 0},
37523{ SWIG_PY_INT, (char *)"BMP_4BPP", (long) wxBMP_4BPP, 0, 0, 0},
37524{ SWIG_PY_INT, (char *)"BMP_1BPP", (long) wxBMP_1BPP, 0, 0, 0},
37525{ SWIG_PY_INT, (char *)"BMP_1BPP_BW", (long) wxBMP_1BPP_BW, 0, 0, 0},
37526{ SWIG_PY_INT, (char *)"EVENT_PROPAGATE_NONE", (long) wxEVENT_PROPAGATE_NONE, 0, 0, 0},
37527{ SWIG_PY_INT, (char *)"EVENT_PROPAGATE_MAX", (long) wxEVENT_PROPAGATE_MAX, 0, 0, 0},
37528{ SWIG_PY_INT, (char *)"wxEVT_NULL", (long) wxEVT_NULL, 0, 0, 0},
37529{ SWIG_PY_INT, (char *)"wxEVT_FIRST", (long) wxEVT_FIRST, 0, 0, 0},
37530{ SWIG_PY_INT, (char *)"wxEVT_USER_FIRST", (long) wxEVT_USER_FIRST, 0, 0, 0},
37531{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_BUTTON_CLICKED", (long) wxEVT_COMMAND_BUTTON_CLICKED, 0, 0, 0},
37532{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_CHECKBOX_CLICKED", (long) wxEVT_COMMAND_CHECKBOX_CLICKED, 0, 0, 0},
37533{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_CHOICE_SELECTED", (long) wxEVT_COMMAND_CHOICE_SELECTED, 0, 0, 0},
37534{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOX_SELECTED", (long) wxEVT_COMMAND_LISTBOX_SELECTED, 0, 0, 0},
37535{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", (long) wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, 0, 0, 0},
37536{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", (long) wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, 0, 0, 0},
37537{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_MENU_SELECTED", (long) wxEVT_COMMAND_MENU_SELECTED, 0, 0, 0},
37538{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOOL_CLICKED", (long) wxEVT_COMMAND_TOOL_CLICKED, 0, 0, 0},
37539{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SLIDER_UPDATED", (long) wxEVT_COMMAND_SLIDER_UPDATED, 0, 0, 0},
37540{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_RADIOBOX_SELECTED", (long) wxEVT_COMMAND_RADIOBOX_SELECTED, 0, 0, 0},
37541{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_RADIOBUTTON_SELECTED", (long) wxEVT_COMMAND_RADIOBUTTON_SELECTED, 0, 0, 0},
37542{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SCROLLBAR_UPDATED", (long) wxEVT_COMMAND_SCROLLBAR_UPDATED, 0, 0, 0},
37543{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_VLBOX_SELECTED", (long) wxEVT_COMMAND_VLBOX_SELECTED, 0, 0, 0},
37544{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_COMBOBOX_SELECTED", (long) wxEVT_COMMAND_COMBOBOX_SELECTED, 0, 0, 0},
37545{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOOL_RCLICKED", (long) wxEVT_COMMAND_TOOL_RCLICKED, 0, 0, 0},
37546{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOOL_ENTER", (long) wxEVT_COMMAND_TOOL_ENTER, 0, 0, 0},
37547{ SWIG_PY_INT, (char *)"wxEVT_LEFT_DOWN", (long) wxEVT_LEFT_DOWN, 0, 0, 0},
37548{ SWIG_PY_INT, (char *)"wxEVT_LEFT_UP", (long) wxEVT_LEFT_UP, 0, 0, 0},
37549{ SWIG_PY_INT, (char *)"wxEVT_MIDDLE_DOWN", (long) wxEVT_MIDDLE_DOWN, 0, 0, 0},
37550{ SWIG_PY_INT, (char *)"wxEVT_MIDDLE_UP", (long) wxEVT_MIDDLE_UP, 0, 0, 0},
37551{ SWIG_PY_INT, (char *)"wxEVT_RIGHT_DOWN", (long) wxEVT_RIGHT_DOWN, 0, 0, 0},
37552{ SWIG_PY_INT, (char *)"wxEVT_RIGHT_UP", (long) wxEVT_RIGHT_UP, 0, 0, 0},
37553{ SWIG_PY_INT, (char *)"wxEVT_MOTION", (long) wxEVT_MOTION, 0, 0, 0},
37554{ SWIG_PY_INT, (char *)"wxEVT_ENTER_WINDOW", (long) wxEVT_ENTER_WINDOW, 0, 0, 0},
37555{ SWIG_PY_INT, (char *)"wxEVT_LEAVE_WINDOW", (long) wxEVT_LEAVE_WINDOW, 0, 0, 0},
37556{ SWIG_PY_INT, (char *)"wxEVT_LEFT_DCLICK", (long) wxEVT_LEFT_DCLICK, 0, 0, 0},
37557{ SWIG_PY_INT, (char *)"wxEVT_MIDDLE_DCLICK", (long) wxEVT_MIDDLE_DCLICK, 0, 0, 0},
37558{ SWIG_PY_INT, (char *)"wxEVT_RIGHT_DCLICK", (long) wxEVT_RIGHT_DCLICK, 0, 0, 0},
37559{ SWIG_PY_INT, (char *)"wxEVT_SET_FOCUS", (long) wxEVT_SET_FOCUS, 0, 0, 0},
37560{ SWIG_PY_INT, (char *)"wxEVT_KILL_FOCUS", (long) wxEVT_KILL_FOCUS, 0, 0, 0},
37561{ SWIG_PY_INT, (char *)"wxEVT_CHILD_FOCUS", (long) wxEVT_CHILD_FOCUS, 0, 0, 0},
37562{ SWIG_PY_INT, (char *)"wxEVT_MOUSEWHEEL", (long) wxEVT_MOUSEWHEEL, 0, 0, 0},
37563{ SWIG_PY_INT, (char *)"wxEVT_NC_LEFT_DOWN", (long) wxEVT_NC_LEFT_DOWN, 0, 0, 0},
37564{ SWIG_PY_INT, (char *)"wxEVT_NC_LEFT_UP", (long) wxEVT_NC_LEFT_UP, 0, 0, 0},
37565{ SWIG_PY_INT, (char *)"wxEVT_NC_MIDDLE_DOWN", (long) wxEVT_NC_MIDDLE_DOWN, 0, 0, 0},
37566{ SWIG_PY_INT, (char *)"wxEVT_NC_MIDDLE_UP", (long) wxEVT_NC_MIDDLE_UP, 0, 0, 0},
37567{ SWIG_PY_INT, (char *)"wxEVT_NC_RIGHT_DOWN", (long) wxEVT_NC_RIGHT_DOWN, 0, 0, 0},
37568{ SWIG_PY_INT, (char *)"wxEVT_NC_RIGHT_UP", (long) wxEVT_NC_RIGHT_UP, 0, 0, 0},
37569{ SWIG_PY_INT, (char *)"wxEVT_NC_MOTION", (long) wxEVT_NC_MOTION, 0, 0, 0},
37570{ SWIG_PY_INT, (char *)"wxEVT_NC_ENTER_WINDOW", (long) wxEVT_NC_ENTER_WINDOW, 0, 0, 0},
37571{ SWIG_PY_INT, (char *)"wxEVT_NC_LEAVE_WINDOW", (long) wxEVT_NC_LEAVE_WINDOW, 0, 0, 0},
37572{ SWIG_PY_INT, (char *)"wxEVT_NC_LEFT_DCLICK", (long) wxEVT_NC_LEFT_DCLICK, 0, 0, 0},
37573{ SWIG_PY_INT, (char *)"wxEVT_NC_MIDDLE_DCLICK", (long) wxEVT_NC_MIDDLE_DCLICK, 0, 0, 0},
37574{ SWIG_PY_INT, (char *)"wxEVT_NC_RIGHT_DCLICK", (long) wxEVT_NC_RIGHT_DCLICK, 0, 0, 0},
37575{ SWIG_PY_INT, (char *)"wxEVT_CHAR", (long) wxEVT_CHAR, 0, 0, 0},
37576{ SWIG_PY_INT, (char *)"wxEVT_CHAR_HOOK", (long) wxEVT_CHAR_HOOK, 0, 0, 0},
37577{ SWIG_PY_INT, (char *)"wxEVT_NAVIGATION_KEY", (long) wxEVT_NAVIGATION_KEY, 0, 0, 0},
37578{ SWIG_PY_INT, (char *)"wxEVT_KEY_DOWN", (long) wxEVT_KEY_DOWN, 0, 0, 0},
37579{ SWIG_PY_INT, (char *)"wxEVT_KEY_UP", (long) wxEVT_KEY_UP, 0, 0, 0},
37580{ SWIG_PY_INT, (char *)"wxEVT_HOTKEY", (long) wxEVT_HOTKEY, 0, 0, 0},
37581{ SWIG_PY_INT, (char *)"wxEVT_SET_CURSOR", (long) wxEVT_SET_CURSOR, 0, 0, 0},
37582{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_TOP", (long) wxEVT_SCROLL_TOP, 0, 0, 0},
37583{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_BOTTOM", (long) wxEVT_SCROLL_BOTTOM, 0, 0, 0},
37584{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_LINEUP", (long) wxEVT_SCROLL_LINEUP, 0, 0, 0},
37585{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_LINEDOWN", (long) wxEVT_SCROLL_LINEDOWN, 0, 0, 0},
37586{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_PAGEUP", (long) wxEVT_SCROLL_PAGEUP, 0, 0, 0},
37587{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_PAGEDOWN", (long) wxEVT_SCROLL_PAGEDOWN, 0, 0, 0},
37588{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_THUMBTRACK", (long) wxEVT_SCROLL_THUMBTRACK, 0, 0, 0},
37589{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_THUMBRELEASE", (long) wxEVT_SCROLL_THUMBRELEASE, 0, 0, 0},
37590{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_ENDSCROLL", (long) wxEVT_SCROLL_ENDSCROLL, 0, 0, 0},
37591{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_TOP", (long) wxEVT_SCROLLWIN_TOP, 0, 0, 0},
37592{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_BOTTOM", (long) wxEVT_SCROLLWIN_BOTTOM, 0, 0, 0},
37593{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_LINEUP", (long) wxEVT_SCROLLWIN_LINEUP, 0, 0, 0},
37594{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_LINEDOWN", (long) wxEVT_SCROLLWIN_LINEDOWN, 0, 0, 0},
37595{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_PAGEUP", (long) wxEVT_SCROLLWIN_PAGEUP, 0, 0, 0},
37596{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_PAGEDOWN", (long) wxEVT_SCROLLWIN_PAGEDOWN, 0, 0, 0},
37597{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_THUMBTRACK", (long) wxEVT_SCROLLWIN_THUMBTRACK, 0, 0, 0},
37598{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_THUMBRELEASE", (long) wxEVT_SCROLLWIN_THUMBRELEASE, 0, 0, 0},
37599{ SWIG_PY_INT, (char *)"wxEVT_SIZE", (long) wxEVT_SIZE, 0, 0, 0},
37600{ SWIG_PY_INT, (char *)"wxEVT_MOVE", (long) wxEVT_MOVE, 0, 0, 0},
37601{ SWIG_PY_INT, (char *)"wxEVT_CLOSE_WINDOW", (long) wxEVT_CLOSE_WINDOW, 0, 0, 0},
37602{ SWIG_PY_INT, (char *)"wxEVT_END_SESSION", (long) wxEVT_END_SESSION, 0, 0, 0},
37603{ SWIG_PY_INT, (char *)"wxEVT_QUERY_END_SESSION", (long) wxEVT_QUERY_END_SESSION, 0, 0, 0},
37604{ SWIG_PY_INT, (char *)"wxEVT_ACTIVATE_APP", (long) wxEVT_ACTIVATE_APP, 0, 0, 0},
37605{ SWIG_PY_INT, (char *)"wxEVT_POWER", (long) wxEVT_POWER, 0, 0, 0},
37606{ SWIG_PY_INT, (char *)"wxEVT_ACTIVATE", (long) wxEVT_ACTIVATE, 0, 0, 0},
37607{ SWIG_PY_INT, (char *)"wxEVT_CREATE", (long) wxEVT_CREATE, 0, 0, 0},
37608{ SWIG_PY_INT, (char *)"wxEVT_DESTROY", (long) wxEVT_DESTROY, 0, 0, 0},
37609{ SWIG_PY_INT, (char *)"wxEVT_SHOW", (long) wxEVT_SHOW, 0, 0, 0},
37610{ SWIG_PY_INT, (char *)"wxEVT_ICONIZE", (long) wxEVT_ICONIZE, 0, 0, 0},
37611{ SWIG_PY_INT, (char *)"wxEVT_MAXIMIZE", (long) wxEVT_MAXIMIZE, 0, 0, 0},
37612{ SWIG_PY_INT, (char *)"wxEVT_MOUSE_CAPTURE_CHANGED", (long) wxEVT_MOUSE_CAPTURE_CHANGED, 0, 0, 0},
37613{ SWIG_PY_INT, (char *)"wxEVT_PAINT", (long) wxEVT_PAINT, 0, 0, 0},
37614{ SWIG_PY_INT, (char *)"wxEVT_ERASE_BACKGROUND", (long) wxEVT_ERASE_BACKGROUND, 0, 0, 0},
37615{ SWIG_PY_INT, (char *)"wxEVT_NC_PAINT", (long) wxEVT_NC_PAINT, 0, 0, 0},
37616{ SWIG_PY_INT, (char *)"wxEVT_PAINT_ICON", (long) wxEVT_PAINT_ICON, 0, 0, 0},
37617{ SWIG_PY_INT, (char *)"wxEVT_MENU_OPEN", (long) wxEVT_MENU_OPEN, 0, 0, 0},
37618{ SWIG_PY_INT, (char *)"wxEVT_MENU_CLOSE", (long) wxEVT_MENU_CLOSE, 0, 0, 0},
37619{ SWIG_PY_INT, (char *)"wxEVT_MENU_HIGHLIGHT", (long) wxEVT_MENU_HIGHLIGHT, 0, 0, 0},
37620{ SWIG_PY_INT, (char *)"wxEVT_CONTEXT_MENU", (long) wxEVT_CONTEXT_MENU, 0, 0, 0},
37621{ SWIG_PY_INT, (char *)"wxEVT_SYS_COLOUR_CHANGED", (long) wxEVT_SYS_COLOUR_CHANGED, 0, 0, 0},
37622{ SWIG_PY_INT, (char *)"wxEVT_DISPLAY_CHANGED", (long) wxEVT_DISPLAY_CHANGED, 0, 0, 0},
37623{ SWIG_PY_INT, (char *)"wxEVT_SETTING_CHANGED", (long) wxEVT_SETTING_CHANGED, 0, 0, 0},
37624{ SWIG_PY_INT, (char *)"wxEVT_QUERY_NEW_PALETTE", (long) wxEVT_QUERY_NEW_PALETTE, 0, 0, 0},
37625{ SWIG_PY_INT, (char *)"wxEVT_PALETTE_CHANGED", (long) wxEVT_PALETTE_CHANGED, 0, 0, 0},
37626{ SWIG_PY_INT, (char *)"wxEVT_DROP_FILES", (long) wxEVT_DROP_FILES, 0, 0, 0},
37627{ SWIG_PY_INT, (char *)"wxEVT_DRAW_ITEM", (long) wxEVT_DRAW_ITEM, 0, 0, 0},
37628{ SWIG_PY_INT, (char *)"wxEVT_MEASURE_ITEM", (long) wxEVT_MEASURE_ITEM, 0, 0, 0},
37629{ SWIG_PY_INT, (char *)"wxEVT_COMPARE_ITEM", (long) wxEVT_COMPARE_ITEM, 0, 0, 0},
37630{ SWIG_PY_INT, (char *)"wxEVT_INIT_DIALOG", (long) wxEVT_INIT_DIALOG, 0, 0, 0},
37631{ SWIG_PY_INT, (char *)"wxEVT_IDLE", (long) wxEVT_IDLE, 0, 0, 0},
37632{ SWIG_PY_INT, (char *)"wxEVT_UPDATE_UI", (long) wxEVT_UPDATE_UI, 0, 0, 0},
37633{ SWIG_PY_INT, (char *)"wxEVT_SIZING", (long) wxEVT_SIZING, 0, 0, 0},
37634{ SWIG_PY_INT, (char *)"wxEVT_MOVING", (long) wxEVT_MOVING, 0, 0, 0},
37635{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LEFT_CLICK", (long) wxEVT_COMMAND_LEFT_CLICK, 0, 0, 0},
37636{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LEFT_DCLICK", (long) wxEVT_COMMAND_LEFT_DCLICK, 0, 0, 0},
37637{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_RIGHT_CLICK", (long) wxEVT_COMMAND_RIGHT_CLICK, 0, 0, 0},
37638{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_RIGHT_DCLICK", (long) wxEVT_COMMAND_RIGHT_DCLICK, 0, 0, 0},
37639{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SET_FOCUS", (long) wxEVT_COMMAND_SET_FOCUS, 0, 0, 0},
37640{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_KILL_FOCUS", (long) wxEVT_COMMAND_KILL_FOCUS, 0, 0, 0},
37641{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_ENTER", (long) wxEVT_COMMAND_ENTER, 0, 0, 0},
37642{ SWIG_PY_INT, (char *)"MOUSE_BTN_ANY", (long) wxMOUSE_BTN_ANY, 0, 0, 0},
37643{ SWIG_PY_INT, (char *)"MOUSE_BTN_NONE", (long) wxMOUSE_BTN_NONE, 0, 0, 0},
37644{ SWIG_PY_INT, (char *)"MOUSE_BTN_LEFT", (long) wxMOUSE_BTN_LEFT, 0, 0, 0},
37645{ SWIG_PY_INT, (char *)"MOUSE_BTN_MIDDLE", (long) wxMOUSE_BTN_MIDDLE, 0, 0, 0},
37646{ SWIG_PY_INT, (char *)"MOUSE_BTN_RIGHT", (long) wxMOUSE_BTN_RIGHT, 0, 0, 0},
37647{ SWIG_PY_INT, (char *)"UPDATE_UI_PROCESS_ALL", (long) wxUPDATE_UI_PROCESS_ALL, 0, 0, 0},
37648{ SWIG_PY_INT, (char *)"UPDATE_UI_PROCESS_SPECIFIED", (long) wxUPDATE_UI_PROCESS_SPECIFIED, 0, 0, 0},
37649{ SWIG_PY_INT, (char *)"IDLE_PROCESS_ALL", (long) wxIDLE_PROCESS_ALL, 0, 0, 0},
37650{ SWIG_PY_INT, (char *)"IDLE_PROCESS_SPECIFIED", (long) wxIDLE_PROCESS_SPECIFIED, 0, 0, 0},
37651{ SWIG_PY_INT, (char *)"PYAPP_ASSERT_SUPPRESS", (long) wxPYAPP_ASSERT_SUPPRESS, 0, 0, 0},
37652{ SWIG_PY_INT, (char *)"PYAPP_ASSERT_EXCEPTION", (long) wxPYAPP_ASSERT_EXCEPTION, 0, 0, 0},
37653{ SWIG_PY_INT, (char *)"PYAPP_ASSERT_DIALOG", (long) wxPYAPP_ASSERT_DIALOG, 0, 0, 0},
37654{ SWIG_PY_INT, (char *)"PYAPP_ASSERT_LOG", (long) wxPYAPP_ASSERT_LOG, 0, 0, 0},
37655{ SWIG_PY_INT, (char *)"PRINT_WINDOWS", (long) wxPRINT_WINDOWS, 0, 0, 0},
37656{ SWIG_PY_INT, (char *)"PRINT_POSTSCRIPT", (long) wxPRINT_POSTSCRIPT, 0, 0, 0},
37657{ SWIG_PY_INT, (char *)"FLEX_GROWMODE_NONE", (long) wxFLEX_GROWMODE_NONE, 0, 0, 0},
37658{ SWIG_PY_INT, (char *)"FLEX_GROWMODE_SPECIFIED", (long) wxFLEX_GROWMODE_SPECIFIED, 0, 0, 0},
37659{ SWIG_PY_INT, (char *)"FLEX_GROWMODE_ALL", (long) wxFLEX_GROWMODE_ALL, 0, 0, 0},
37660{ SWIG_PY_INT, (char *)"Left", (long) wxLeft, 0, 0, 0},
37661{ SWIG_PY_INT, (char *)"Top", (long) wxTop, 0, 0, 0},
37662{ SWIG_PY_INT, (char *)"Right", (long) wxRight, 0, 0, 0},
37663{ SWIG_PY_INT, (char *)"Bottom", (long) wxBottom, 0, 0, 0},
37664{ SWIG_PY_INT, (char *)"Width", (long) wxWidth, 0, 0, 0},
37665{ SWIG_PY_INT, (char *)"Height", (long) wxHeight, 0, 0, 0},
37666{ SWIG_PY_INT, (char *)"Centre", (long) wxCentre, 0, 0, 0},
37667{ SWIG_PY_INT, (char *)"Center", (long) wxCenter, 0, 0, 0},
37668{ SWIG_PY_INT, (char *)"CentreX", (long) wxCentreX, 0, 0, 0},
37669{ SWIG_PY_INT, (char *)"CentreY", (long) wxCentreY, 0, 0, 0},
37670{ SWIG_PY_INT, (char *)"Unconstrained", (long) wxUnconstrained, 0, 0, 0},
37671{ SWIG_PY_INT, (char *)"AsIs", (long) wxAsIs, 0, 0, 0},
37672{ SWIG_PY_INT, (char *)"PercentOf", (long) wxPercentOf, 0, 0, 0},
37673{ SWIG_PY_INT, (char *)"Above", (long) wxAbove, 0, 0, 0},
37674{ SWIG_PY_INT, (char *)"Below", (long) wxBelow, 0, 0, 0},
37675{ SWIG_PY_INT, (char *)"LeftOf", (long) wxLeftOf, 0, 0, 0},
37676{ SWIG_PY_INT, (char *)"RightOf", (long) wxRightOf, 0, 0, 0},
37677{ SWIG_PY_INT, (char *)"SameAs", (long) wxSameAs, 0, 0, 0},
37678{ SWIG_PY_INT, (char *)"Absolute", (long) wxAbsolute, 0, 0, 0},
37679{0}};
37680
37681#ifdef __cplusplus
37682}
37683#endif
37684
37685#ifdef __cplusplus
37686extern "C"
37687#endif
37688SWIGEXPORT(void) SWIG_init(void) {
37689 static PyObject *SWIG_globals = 0;
37690 static int typeinit = 0;
37691 PyObject *m, *d;
37692 int i;
37693 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
37694 m = Py_InitModule((char *) SWIG_name, SwigMethods);
37695 d = PyModule_GetDict(m);
37696
37697 if (!typeinit) {
37698 for (i = 0; swig_types_initial[i]; i++) {
37699 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
37700 }
37701 typeinit = 1;
37702 }
37703 SWIG_InstallConstants(d,swig_const_table);
37704
37705
37706#ifndef wxPyUSE_EXPORT
37707 // Make our API structure a CObject so other modules can import it
37708 // from this module.
37709 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
37710 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
37711 Py_XDECREF(cobj);
37712#endif
37713
37714 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
37715 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
37716 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
37717
37718 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
37719
37720
37721 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
37722
37723 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
37724 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
37725 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
37726 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
37727 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
37728 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
37729 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
37730 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
37731 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
37732 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
37733 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
37734 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
37735 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
37736 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
37737 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
37738 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
37739 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
37740 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
37741 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
37742 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
37743 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
37744 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
37745 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
37746 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
37747 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
37748 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
37749 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
37750 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
37751 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
37752 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
37753 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
37754 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
37755 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
37756 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
37757 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
37758 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
37759 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
37760 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
37761 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
37762 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
37763 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
37764 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
37765 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
37766 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
37767 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
37768 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
37769 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
37770 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
37771 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
37772 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
37773 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
37774 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
37775 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
37776 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
37777 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
37778 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
37779 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
37780 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
37781 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
37782 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
37783 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
37784 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
37785 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
37786 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
37787 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
37788 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
37789 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
37790 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
37791 PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
37792 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
37793 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
37794 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
37795 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
37796 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
37797 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
37798 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
37799 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
37800 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
37801 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
37802 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
37803 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
37804 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
37805 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
37806 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
37807 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
37808 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
37809 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
37810 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
37811 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
37812 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
37813 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
37814 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
37815 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
37816 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
37817 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
37818 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
37819 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
37820 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
37821 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
37822 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
37823 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
37824 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
37825 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
37826 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
37827 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
37828 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
37829 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
37830 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
37831 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
37832 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
37833 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
37834 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
37835 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
37836 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
37837 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
37838 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
37839 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
37840 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
37841 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
37842 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
e811c8ce 37843 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
d14a1e28
RD
37844 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
37845 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
37846
37847 // Initialize threading, some globals and such
37848 __wxPyPreStart(d);
37849
37850
37851 // Although these are defined in __version__ they need to be here too so
37852 // that an assert can be done to ensure that the wxPython and the wxWindows
37853 // versions match.
37854 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
37855 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
37856 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
37857
37858}
37859