]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/core_wrap.cpp
Updated overview
[wxWidgets.git] / wxPython / src / mac / 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
9fd4be55
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
d14a1e28
RD
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
0f774bef
RD
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
d14a1e28 82#else
0f774bef
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
0f774bef 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
0f774bef 90# define SWIGRUNTIME(a) static a
d14a1e28
RD
91#endif
92
d14a1e28
RD
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
0f774bef 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
0f774bef 104 void *clientdata;
d14a1e28
RD
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
0f774bef
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
120
121
122#ifdef __cplusplus
123}
423f194a 124
d14a1e28
RD
125#endif
126
0f774bef 127
d14a1e28
RD
128/***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
d14a1e28
RD
138#include "Python.h"
139
140#ifdef __cplusplus
141extern "C" {
142#endif
143
144#define SWIG_PY_INT 1
145#define SWIG_PY_FLOAT 2
146#define SWIG_PY_STRING 3
147#define SWIG_PY_POINTER 4
148#define SWIG_PY_BINARY 5
149
150/* Flags for pointer conversion */
151
152#define SWIG_POINTER_EXCEPTION 0x1
153#define SWIG_POINTER_DISOWN 0x2
154
155/* Exception handling in wrappers */
156#define SWIG_fail goto fail
157
158/* Constant information structure */
159typedef struct swig_const_info {
160 int type;
161 char *name;
162 long lvalue;
163 double dvalue;
164 void *pvalue;
165 swig_type_info **ptype;
166} swig_const_info;
167
d14a1e28
RD
168/* Common SWIG API */
169#define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171#define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173#define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175
176/* Python-specific SWIG API */
177#define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179#define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
183#define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185#define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
187
188
0f774bef
RD
189SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 197
d14a1e28
RD
198
199
200/* Contract support */
201
423f194a 202#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 203
d14a1e28
RD
204#ifdef __cplusplus
205}
206#endif
207
208
209
210/* -------- TYPES TABLE (BEGIN) -------- */
211
212#define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
213#define SWIGTYPE_p_wxRealPoint swig_types[1]
214#define SWIGTYPE_p_wxSizerItem swig_types[2]
215#define SWIGTYPE_p_wxGBSizerItem swig_types[3]
216#define SWIGTYPE_p_wxScrollEvent swig_types[4]
217#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
218#define SWIGTYPE_p_wxSizer swig_types[6]
219#define SWIGTYPE_p_wxBoxSizer swig_types[7]
220#define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
221#define SWIGTYPE_p_wxGridBagSizer swig_types[9]
222#define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
223#define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
224#define SWIGTYPE_p_wxMenu swig_types[12]
225#define SWIGTYPE_p_wxEvent swig_types[13]
226#define SWIGTYPE_p_wxGridSizer swig_types[14]
227#define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
228#define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
229#define SWIGTYPE_p_wxItemContainer swig_types[17]
230#define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
231#define SWIGTYPE_p_wxPaintEvent swig_types[19]
232#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
233#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
234#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
235#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
236#define SWIGTYPE_p_wxControl swig_types[24]
237#define SWIGTYPE_p_wxFont swig_types[25]
238#define SWIGTYPE_p_wxMenuBarBase swig_types[26]
239#define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
240#define SWIGTYPE_p_wxFSFile swig_types[28]
241#define SWIGTYPE_p_wxCaret swig_types[29]
242#define SWIGTYPE_p_wxRegion swig_types[30]
243#define SWIGTYPE_p_wxPoint2D swig_types[31]
244#define SWIGTYPE_p_int swig_types[32]
245#define SWIGTYPE_p_wxSize swig_types[33]
246#define SWIGTYPE_p_wxDC swig_types[34]
247#define SWIGTYPE_p_wxPySizer swig_types[35]
248#define SWIGTYPE_p_wxNotifyEvent swig_types[36]
249#define SWIGTYPE_p_wxPyEvent swig_types[37]
250#define SWIGTYPE_p_wxPropagationDisabler swig_types[38]
251#define SWIGTYPE_p_wxAppTraits swig_types[39]
252#define SWIGTYPE_p_wxArrayString swig_types[40]
253#define SWIGTYPE_p_wxShowEvent swig_types[41]
254#define SWIGTYPE_p_wxToolTip swig_types[42]
255#define SWIGTYPE_p_wxMaximizeEvent swig_types[43]
256#define SWIGTYPE_p_wxIconizeEvent swig_types[44]
257#define SWIGTYPE_p_wxActivateEvent swig_types[45]
258#define SWIGTYPE_p_wxMoveEvent swig_types[46]
259#define SWIGTYPE_p_wxSizeEvent swig_types[47]
260#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[48]
261#define SWIGTYPE_p_wxWindowCreateEvent swig_types[49]
262#define SWIGTYPE_p_wxIdleEvent swig_types[50]
263#define SWIGTYPE_p_wxMenuItem swig_types[51]
264#define SWIGTYPE_p_wxStaticBox swig_types[52]
265#define SWIGTYPE_p_long swig_types[53]
266#define SWIGTYPE_p_wxTIFFHandler swig_types[54]
267#define SWIGTYPE_p_wxXPMHandler swig_types[55]
268#define SWIGTYPE_p_wxPNMHandler swig_types[56]
269#define SWIGTYPE_p_wxJPEGHandler swig_types[57]
270#define SWIGTYPE_p_wxPCXHandler swig_types[58]
271#define SWIGTYPE_p_wxGIFHandler swig_types[59]
272#define SWIGTYPE_p_wxPNGHandler swig_types[60]
273#define SWIGTYPE_p_wxANIHandler swig_types[61]
274#define SWIGTYPE_p_wxMemoryFSHandler swig_types[62]
275#define SWIGTYPE_p_wxEvtHandler swig_types[63]
276#define SWIGTYPE_p_wxCURHandler swig_types[64]
277#define SWIGTYPE_p_wxICOHandler swig_types[65]
278#define SWIGTYPE_p_wxBMPHandler swig_types[66]
279#define SWIGTYPE_p_wxImageHandler swig_types[67]
280#define SWIGTYPE_p_wxFileSystemHandler swig_types[68]
281#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[69]
282#define SWIGTYPE_p_wxInternetFSHandler swig_types[70]
283#define SWIGTYPE_p_wxZipFSHandler swig_types[71]
284#define SWIGTYPE_p_wxRect swig_types[72]
285#define SWIGTYPE_p_wxGBSpan swig_types[73]
286#define SWIGTYPE_p_wxPropagateOnce swig_types[74]
287#define SWIGTYPE_p_wxAcceleratorTable swig_types[75]
288#define SWIGTYPE_p_wxGBPosition swig_types[76]
289#define SWIGTYPE_p_wxImage swig_types[77]
290#define SWIGTYPE_p_wxFrame swig_types[78]
291#define SWIGTYPE_p_wxScrollWinEvent swig_types[79]
292#define SWIGTYPE_p_wxImageHistogram swig_types[80]
293#define SWIGTYPE_p_byte swig_types[81]
294#define SWIGTYPE_p_wxPoint swig_types[82]
295#define SWIGTYPE_p_wxCursor swig_types[83]
296#define SWIGTYPE_p_wxObject swig_types[84]
297#define SWIGTYPE_p_wxPyInputStream swig_types[85]
298#define SWIGTYPE_p_wxOutputStream swig_types[86]
299#define SWIGTYPE_p_wxInputStream swig_types[87]
300#define SWIGTYPE_p_wxDateTime swig_types[88]
301#define SWIGTYPE_p_wxKeyEvent swig_types[89]
302#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[90]
303#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[91]
304#define SWIGTYPE_p_wxWindow swig_types[92]
305#define SWIGTYPE_p_wxMenuBar swig_types[93]
306#define SWIGTYPE_p_wxString swig_types[94]
307#define SWIGTYPE_p_wxFileSystem swig_types[95]
308#define SWIGTYPE_p_wxBitmap swig_types[96]
309#define SWIGTYPE_p_wxMenuEvent swig_types[97]
310#define SWIGTYPE_p_wxContextMenuEvent swig_types[98]
311#define SWIGTYPE_p_unsigned_char swig_types[99]
312#define SWIGTYPE_p_wxCloseEvent swig_types[100]
313#define SWIGTYPE_p_wxEraseEvent swig_types[101]
314#define SWIGTYPE_p_wxMouseEvent swig_types[102]
315#define SWIGTYPE_p_wxPyApp swig_types[103]
316#define SWIGTYPE_p_wxCommandEvent swig_types[104]
317#define SWIGTYPE_p_wxPyCommandEvent swig_types[105]
44127b65 318#define SWIGTYPE_p_wxPyDropTarget swig_types[106]
d14a1e28
RD
319#define SWIGTYPE_p_wxChildFocusEvent swig_types[107]
320#define SWIGTYPE_p_wxFocusEvent swig_types[108]
321#define SWIGTYPE_p_wxDropFilesEvent swig_types[109]
322#define SWIGTYPE_p_wxControlWithItems swig_types[110]
323#define SWIGTYPE_p_wxColour swig_types[111]
324#define SWIGTYPE_p_wxValidator swig_types[112]
325#define SWIGTYPE_p_wxPyValidator swig_types[113]
326static swig_type_info *swig_types[115];
327
328/* -------- TYPES TABLE (END) -------- */
329
330
331/*-----------------------------------------------
332 @(target):= _core.so
333 ------------------------------------------------*/
334#define SWIG_init init_core
335
336#define SWIG_name "_core"
337
338#include "wx/wxPython/wxPython_int.h"
339#include "wx/wxPython/pyclasses.h"
340
341
342#ifndef wxPyUSE_EXPORT
343// Helper functions for dealing with SWIG objects and such. These are
344// located here so they know about the SWIG types and functions declared
345// in the wrapper code.
346
347#include <wx/hashmap.h>
348WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap );
349
350
351// Maintains a hashmap of className to swig_type_info pointers. Given the
352// name of a class either looks up the type info in the cache, or scans the
353// SWIG tables for it.
354extern PyObject* wxPyPtrTypeMap;
355static
356swig_type_info* wxPyFindSwigType(const wxChar* className) {
357
358 static wxPyTypeInfoHashMap* typeInfoCache = NULL;
359
360 if (typeInfoCache == NULL)
361 typeInfoCache = new wxPyTypeInfoHashMap;
362
363 wxString name(className);
364 swig_type_info* swigType = (*typeInfoCache)[name];
365
366 if (! swigType) {
367 // it wasn't in the cache, so look it up from SWIG
368 name.Append(wxT(" *"));
369 swigType = SWIG_Python_TypeQuery(name.mb_str());
370
371 // if it still wasn't found, try looking for a mapped name
372 if (!swigType) {
373 PyObject* item;
374 name = className;
375
376 if ((item = PyDict_GetItemString(wxPyPtrTypeMap,
377 (char*)(const char*)name.mbc_str())) != NULL) {
378 name = wxString(PyString_AsString(item), *wxConvCurrent);
379 name.Append(wxT(" *"));
380 swigType = SWIG_Python_TypeQuery(name.mb_str());
381 }
382 }
383 if (swigType) {
384 // and add it to the map if found
385 (*typeInfoCache)[className] = swigType;
386 }
387 }
388 return swigType;
389}
390
391
392// Check if a class name is a type known to SWIG
393bool wxPyCheckSwigType(const wxChar* className) {
394
395 swig_type_info* swigType = wxPyFindSwigType(className);
396 return swigType != NULL;
397}
398
399
400// Given a pointer to a C++ object and a class name, construct a Python proxy
401// object for it.
402PyObject* wxPyConstructObject(void* ptr,
403 const wxChar* className,
404 int setThisOwn) {
405
406 swig_type_info* swigType = wxPyFindSwigType(className);
407 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConstructObject"));
408
409 return SWIG_Python_NewPointerObj(ptr, swigType, setThisOwn);
410}
411
412
413// Extract a pointer to the wrapped C++ object from a Python proxy object.
414// Ensures that the proxy object is of the specified (or derived) type. If
415// not able to perform the conversion then a Python exception is set and the
423f194a 416// error should be handled properly in the caller. Returns True on success.
d14a1e28
RD
417bool wxPyConvertSwigPtr(PyObject* obj, void **ptr,
418 const wxChar* className) {
419
420 swig_type_info* swigType = wxPyFindSwigType(className);
423f194a 421 wxCHECK_MSG(swigType != NULL, False, wxT("Unknown type in wxPyConvertSwigPtr"));
d14a1e28
RD
422
423 return SWIG_Python_ConvertPtr(obj, ptr, swigType, SWIG_POINTER_EXCEPTION) != -1;
424}
425
426
427// Make a SWIGified pointer object suitable for a .this attribute
428PyObject* wxPyMakeSwigPtr(void* ptr, const wxChar* className) {
429
430 PyObject* robj = NULL;
431
432 swig_type_info* swigType = wxPyFindSwigType(className);
433 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConvertSwigPtr"));
434
435#ifdef SWIG_COBJECT_TYPES
436 robj = PyCObject_FromVoidPtrAndDesc((void *) ptr, (char *) swigType->name, NULL);
437#else
438 {
439 char result[1024];
440 char *r = result;
441 *(r++) = '_';
442 r = SWIG_Python_PackData(r, &ptr, sizeof(void *));
443 strcpy(r, swigType->name);
444 robj = PyString_FromString(result);
445 }
446#endif
447
448 return robj;
449}
450
451
452
453
454// Export a C API in a struct. Other modules will be able to load this from
455// the wx.core module and will then have safe access to these functions, even if
456// they are located in another shared library.
457static wxPyCoreAPI API = {
458
459 (p_SWIG_Python_TypeRegister_t)SWIG_Python_TypeRegister,
460 (p_SWIG_Python_TypeCheck_t)SWIG_Python_TypeCheck,
461 (p_SWIG_Python_TypeCast_t)SWIG_Python_TypeCast,
462 (p_SWIG_Python_TypeDynamicCast_t)SWIG_Python_TypeDynamicCast,
463 (p_SWIG_Python_TypeName_t)SWIG_Python_TypeName,
464 (p_SWIG_Python_TypeQuery_t)SWIG_Python_TypeQuery,
465 (p_SWIG_Python_TypeClientData_t)SWIG_Python_TypeClientData,
466 (p_SWIG_Python_newvarlink_t)SWIG_Python_newvarlink,
467 (p_SWIG_Python_addvarlink_t)SWIG_Python_addvarlink,
468 (p_SWIG_Python_ConvertPtr_t)SWIG_Python_ConvertPtr,
469 (p_SWIG_Python_ConvertPacked_t)SWIG_Python_ConvertPacked,
470 (p_SWIG_Python_PackData_t)SWIG_Python_PackData,
471 (p_SWIG_Python_UnpackData_t)SWIG_Python_UnpackData,
472 (p_SWIG_Python_NewPointerObj_t)SWIG_Python_NewPointerObj,
473 (p_SWIG_Python_NewPackedObj_t)SWIG_Python_NewPackedObj,
474 (p_SWIG_Python_InstallConstants_t)SWIG_Python_InstallConstants,
475 (p_SWIG_Python_MustGetPtr_t)SWIG_Python_MustGetPtr,
476
477 wxPyCheckSwigType,
478 wxPyConstructObject,
479 wxPyConvertSwigPtr,
480 wxPyMakeSwigPtr,
481
482 wxPyBeginAllowThreads,
483 wxPyEndAllowThreads,
484 wxPyBeginBlockThreads,
485 wxPyEndBlockThreads,
486
487 wxPy_ConvertList,
488
489 wxString_in_helper,
490 Py2wxString,
491 wx2PyString,
492
493 byte_LIST_helper,
494 int_LIST_helper,
495 long_LIST_helper,
496 string_LIST_helper,
497 wxPoint_LIST_helper,
498 wxBitmap_LIST_helper,
499 wxString_LIST_helper,
500 wxAcceleratorEntry_LIST_helper,
501
502 wxSize_helper,
503 wxPoint_helper,
504 wxRealPoint_helper,
505 wxRect_helper,
506 wxColour_helper,
507 wxPoint2D_helper,
508
509 wxPySimple_typecheck,
510 wxColour_typecheck,
511
512 wxPyCBH_setCallbackInfo,
513 wxPyCBH_findCallback,
514 wxPyCBH_callCallback,
515 wxPyCBH_callCallbackObj,
516 wxPyCBH_delete,
517
518 wxPyMake_wxObject,
519 wxPyMake_wxSizer,
520 wxPyPtrTypeMap_Add,
521 wxPy2int_seq_helper,
522 wxPy4int_seq_helper,
523 wxArrayString2PyList_helper,
524 wxArrayInt2PyList_helper,
525
526 wxPyClientData_dtor,
527 wxPyUserData_dtor,
528 wxPyOORClientData_dtor,
529
530 wxPyCBInputStream_create,
531
532 wxPyInstance_Check,
533 wxPySwigInstance_Check
534
535};
536
537#endif
538
539
d14a1e28
RD
540#if ! wxUSE_HOTKEY
541enum wxHotkeyModifier
542{
543 wxMOD_NONE = 0,
544 wxMOD_ALT = 1,
545 wxMOD_CONTROL = 2,
546 wxMOD_SHIFT = 4,
547 wxMOD_WIN = 8
548};
549#define wxEVT_HOTKEY 9999
550#endif
551
cbd72d4f 552 static const wxString wxPyEmptyString(wxEmptyString);
d14a1e28
RD
553wxString wxObject_GetClassName(wxObject *self){
554 return self->GetClassInfo()->GetClassName();
555 }
556void wxObject_Destroy(wxObject *self){
557 delete self;
558 }
559
560#ifndef __WXMAC__
561#define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
562#endif
563
423f194a 564PyObject *wxSize_Get(wxSize *self){
d14a1e28
RD
565 wxPyBeginBlockThreads();
566 PyObject* tup = PyTuple_New(2);
567 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
568 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
569 wxPyEndBlockThreads();
570 return tup;
571 }
572void wxRealPoint_Set(wxRealPoint *self,double x,double y){
573 self->x = x;
574 self->y = y;
575 }
423f194a 576PyObject *wxRealPoint_Get(wxRealPoint *self){
d14a1e28
RD
577 wxPyBeginBlockThreads();
578 PyObject* tup = PyTuple_New(2);
579 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x));
580 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
581 wxPyEndBlockThreads();
582 return tup;
583 }
584void wxPoint_Set(wxPoint *self,long x,long y){
585 self->x = x;
586 self->y = y;
587 }
423f194a 588PyObject *wxPoint_Get(wxPoint *self){
d14a1e28
RD
589 wxPyBeginBlockThreads();
590 PyObject* tup = PyTuple_New(2);
591 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
592 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
593 wxPyEndBlockThreads();
594 return tup;
595 }
596void wxRect_Set(wxRect *self,int x,int y,int width,int height){
597 self->x = x;
598 self->y = y;
599 self->width = width;
600 self->height = height;
601 }
423f194a 602PyObject *wxRect_Get(wxRect *self){
d14a1e28
RD
603 wxPyBeginBlockThreads();
604 PyObject* tup = PyTuple_New(4);
605 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
606 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
607 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(self->width));
608 PyTuple_SET_ITEM(tup, 3, PyInt_FromLong(self->height));
609 wxPyEndBlockThreads();
610 return tup;
611 }
612
613 PyObject* wxIntersectRect(wxRect* r1, wxRect* r2) {
614 wxRegion reg1(*r1);
615 wxRegion reg2(*r2);
616 wxRect dest(0,0,0,0);
617 PyObject* obj;
618
619 reg1.Intersect(reg2);
620 dest = reg1.GetBox();
621
622 if (dest != wxRect(0,0,0,0)) {
623 wxPyBeginBlockThreads();
624 wxRect* newRect = new wxRect(dest);
423f194a 625 obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), True);
d14a1e28
RD
626 wxPyEndBlockThreads();
627 return obj;
628 }
629 Py_INCREF(Py_None);
630 return Py_None;
631 }
632
633
634static PyObject* t_output_helper(PyObject* target, PyObject* o) {
635 PyObject* o2;
636 PyObject* o3;
637
638 if (!target) {
639 target = o;
640 } else if (target == Py_None) {
641 Py_DECREF(Py_None);
642 target = o;
643 } else {
644 if (!PyTuple_Check(target)) {
645 o2 = target;
646 target = PyTuple_New(1);
647 PyTuple_SetItem(target, 0, o2);
648 }
649 o3 = PyTuple_New(1);
650 PyTuple_SetItem(o3, 0, o);
651
652 o2 = target;
653 target = PySequence_Concat(o2, o3);
654 Py_DECREF(o2);
655 Py_DECREF(o3);
656 }
657 return target;
658}
659
660void wxPoint2D_Set(wxPoint2D *self,double x,double y){
661 self->m_x = x;
662 self->m_y = y;
663 }
423f194a 664PyObject *wxPoint2D_Get(wxPoint2D *self){
d14a1e28
RD
665 wxPyBeginBlockThreads();
666 PyObject* tup = PyTuple_New(2);
667 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->m_x));
668 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->m_y));
669 wxPyEndBlockThreads();
670 return tup;
671 }
672
673#include "wx/wxPython/pyistream.h"
674
675wxPyInputStream *new_wxPyInputStream(PyObject *p){
676 wxInputStream* wxis = wxPyCBInputStream::create(p);
677 if (wxis)
678 return new wxPyInputStream(wxis);
679 else
680 return NULL;
681 }
682void wxOutputStream_write(wxOutputStream *self,PyObject *obj){
683 // We use only strings for the streams, not unicode
684 PyObject* str = PyObject_Str(obj);
685 if (! str) {
686 PyErr_SetString(PyExc_TypeError, "Unable to convert to string");
687 return;
688 }
689 self->Write(PyString_AS_STRING(str),
690 PyString_GET_SIZE(str));
691 Py_DECREF(str);
692 }
693
694#include "wx/wxPython/pyistream.h"
695
696
697class wxPyFileSystemHandler : public wxFileSystemHandler
698{
699public:
700 wxPyFileSystemHandler() : wxFileSystemHandler() {}
701
702 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen);
703 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile);
704 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst);
705 DEC_PYCALLBACK_STRING__pure(FindNext);
706
707 wxString GetProtocol(const wxString& location) {
708 return wxFileSystemHandler::GetProtocol(location);
709 }
710
711 wxString GetLeftLocation(const wxString& location) {
712 return wxFileSystemHandler::GetLeftLocation(location);
713 }
714
715 wxString GetAnchor(const wxString& location) {
716 return wxFileSystemHandler::GetAnchor(location);
717 }
718
719 wxString GetRightLocation(const wxString& location) {
720 return wxFileSystemHandler::GetRightLocation(location);
721 }
722
723 wxString GetMimeTypeFromExt(const wxString& location) {
724 return wxFileSystemHandler::GetMimeTypeFromExt(location);
725 }
726
727 PYPRIVATE;
728};
729
730
731IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, CanOpen);
732IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, OpenFile);
733IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler, wxFileSystemHandler, FindFirst);
734IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler, wxFileSystemHandler, FindNext);
735
736
737 wxString wxFileSystem_URLToFileName(const wxString& url) {
738 wxFileName fname = wxFileSystem::URLToFileName(url);
739 return fname.GetFullPath();
740 }
741
742
743 void __wxMemoryFSHandler_AddFile_wxImage(const wxString& filename,
744 wxImage& image,
745 long type) {
746 wxMemoryFSHandler::AddFile(filename, image, type);
747 }
748
749 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString& filename,
750 const wxBitmap& bitmap,
751 long type) {
752 wxMemoryFSHandler::AddFile(filename, bitmap, type);
753 }
754
755 void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
756 PyObject* data) {
757 wxMemoryFSHandler::AddFile(filename,
758 // TODO: Verify data type
759 (void*)PyString_AsString(data),
760 (size_t)PyString_Size(data));
761 }
762
763
764#include "wx/wxPython/pyistream.h"
765
766wxImage *new_wxImage(int width,int height,bool clear){
767 if (width > 0 && height > 0)
768 return new wxImage(width, height, clear);
769 else
770 return new wxImage;
771 }
772wxImage *new_wxImage(wxBitmap const &bitmap){
773 return new wxImage(bitmap.ConvertToImage());
774 }
775wxImage *new_wxImage(int width,int height,unsigned char *data){
776 // Copy the source data so the wxImage can clean it up later
777 unsigned char* copy = (unsigned char*)malloc(width*height*3);
778 if (copy == NULL) {
779 PyErr_NoMemory();
780 return NULL;
781 }
782 memcpy(copy, data, width*height*3);
423f194a 783 return new wxImage(width, height, copy, False);
d14a1e28
RD
784 }
785PyObject *wxImage_GetData(wxImage *self){
786 unsigned char* data = self->GetData();
787 int len = self->GetWidth() * self->GetHeight() * 3;
788 PyObject* rv;
789 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len));
790 return rv;
791 }
792void wxImage_SetData(wxImage *self,PyObject *data){
793 unsigned char* dataPtr;
794
795 if (! PyString_Check(data)) {
796 PyErr_SetString(PyExc_TypeError, "Expected string object");
797 return /* NULL */ ;
798 }
799
800 size_t len = self->GetWidth() * self->GetHeight() * 3;
801 dataPtr = (unsigned char*) malloc(len);
802 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
803 self->SetData(dataPtr);
804 // wxImage takes ownership of dataPtr...
805 }
806PyObject *wxImage_GetDataBuffer(wxImage *self){
807 unsigned char* data = self->GetData();
808 int len = self->GetWidth() * self->GetHeight() * 3;
809 PyObject* rv;
810 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
811 return rv;
812 }
813void wxImage_SetDataBuffer(wxImage *self,PyObject *data){
814 unsigned char* buffer;
815 int size;
816
817 wxPyBeginBlockThreads();
818 if (!PyArg_Parse(data, "t#", &buffer, &size))
819 goto done;
820
821 if (size != self->GetWidth() * self->GetHeight() * 3) {
822 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
823 goto done;
824 }
825 self->SetData(buffer);
826 done:
827 wxPyEndBlockThreads();
828 }
829PyObject *wxImage_GetAlphaData(wxImage *self){
830 unsigned char* data = self->GetAlpha();
831 if (! data) {
832 RETURN_NONE();
833 } else {
834 int len = self->GetWidth() * self->GetHeight();
835 PyObject* rv;
836 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len) );
837 return rv;
838 }
839 }
840void wxImage_SetAlphaData(wxImage *self,PyObject *data){
841 unsigned char* dataPtr;
842
843 if (! PyString_Check(data)) {
844 PyErr_SetString(PyExc_TypeError, "Expected string object");
845 return /* NULL */ ;
846 }
847
848 size_t len = self->GetWidth() * self->GetHeight();
849 dataPtr = (unsigned char*) malloc(len);
850 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
851 self->SetAlpha(dataPtr);
852 // wxImage takes ownership of dataPtr...
853 }
854PyObject *wxImage_GetAlphaBuffer(wxImage *self){
855 unsigned char* data = self->GetAlpha();
856 int len = self->GetWidth() * self->GetHeight();
857 PyObject* rv;
858 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
859 return rv;
860 }
861void wxImage_SetAlphaBuffer(wxImage *self,PyObject *data){
862 unsigned char* buffer;
863 int size;
864
865 wxPyBeginBlockThreads();
866 if (!PyArg_Parse(data, "t#", &buffer, &size))
867 goto done;
868
869 if (size != self->GetWidth() * self->GetHeight()) {
870 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
871 goto done;
872 }
873 self->SetAlpha(buffer);
874 done:
875 wxPyEndBlockThreads();
876 }
877wxBitmap wxImage_ConvertToBitmap(wxImage *self){
878 wxBitmap bitmap(*self);
879 return bitmap;
880 }
881wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,unsigned char red,unsigned char green,unsigned char blue){
882 wxImage mono = self->ConvertToMono( red, green, blue );
883 wxBitmap bitmap( mono, 1 );
884 return bitmap;
885 }
886 static const wxString wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT);
887 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X);
888 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y);
889 static const wxString wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION);
890 static const wxString wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT);
891void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject *func){
892 if (PyCallable_Check(func)) {
893 self->Connect(id, lastId, eventType,
894 (wxObjectEventFunction) &wxPyCallback::EventThunker,
895 new wxPyCallback(func));
896 }
897 else if (func == Py_None) {
898 self->Disconnect(id, lastId, eventType,
899 (wxObjectEventFunction)
900 &wxPyCallback::EventThunker);
901 }
902 else {
903 PyErr_SetString(PyExc_TypeError, "Expected callable object or None.");
904 }
905 }
906bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType){
907 return self->Disconnect(id, lastId, eventType,
908 (wxObjectEventFunction)
909 &wxPyCallback::EventThunker);
910 }
911void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject *_self){
912 if (_self && _self != Py_None) {
913 self->SetClientObject(new wxPyOORClientData(_self));
914 }
915 else {
916 wxPyOORClientData* data = (wxPyOORClientData*)self->GetClientObject();
917 if (data) {
918 self->SetClientObject(NULL); // This will delete it too
919 }
920 }
921 }
922int wxKeyEvent_GetUniChar(wxKeyEvent *self){
41f1cec7
RD
923 #if wxUSE_UNICODE
924 return self->m_uniChar;
925 #else
d14a1e28 926 return 0;
41f1cec7 927 #endif
d14a1e28
RD
928 }
929void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){
930 self->m_size = size;
931 }
932void wxMoveEvent_SetPosition(wxMoveEvent *self,wxPoint pos){
933 self->m_pos = pos;
934 }
935PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
936 int count = self->GetNumberOfFiles();
937 wxString* files = self->GetFiles();
938 PyObject* list = PyList_New(count);
939
940 if (!list) {
941 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
942 return NULL;
943 }
944
945 for (int i=0; i<count; i++) {
41f1cec7 946 PyList_SetItem(list, i, wx2PyString(files[i]));
d14a1e28
RD
947 }
948 return list;
949 }
950
951
952wxPyApp *new_wxPyApp(){
953 wxPythonApp = new wxPyApp();
954 return wxPythonApp;
955 }
cbd72d4f 956int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
d14a1e28
RD
957
958 void wxApp_CleanUp() {
959 __wxPyCleanup();
960 }
961
962
963 wxPyApp* wxGetApp() {
964 return (wxPyApp*)wxTheApp;
965 }
966
967
968
423f194a 969 static const wxString wxPyPanelNameStr(wxPanelNameStr);
d14a1e28
RD
970PyObject *wxWindow_GetChildren(wxWindow *self){
971 wxWindowList& list = self->GetChildren();
972 return wxPy_ConvertList(&list);
973 }
974bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keycode){
975
976
977
423f194a 978 return False;
d14a1e28
RD
979
980 }
981bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId){
982
983
984
423f194a 985 return False;
d14a1e28
RD
986
987 }
988long wxWindow_GetHandle(wxWindow *self){
989 return wxPyGetWinHandle(self);
990 }
991
992wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
993 return wxWindow::FindWindowById(id, parent);
994}
995
996wxWindow* wxFindWindowByName( const wxString& name,
997 const wxWindow *parent = NULL ) {
998 return wxWindow::FindWindowByName(name, parent);
999}
1000
1001wxWindow* wxFindWindowByLabel( const wxString& label,
1002 const wxWindow *parent = NULL ) {
1003 return wxWindow::FindWindowByLabel(label, parent);
1004}
1005
1006
1007 wxWindow* wxWindow_FromHWND(unsigned long hWnd) {
1008#ifdef __WXMSW__
1009 wxWindow* win = new wxWindow;
1010 win->SetHWND(hWnd);
1011 win->SubclassWin(hWnd);
1012 return win;
1013#else
cbd72d4f 1014 wxPyRaiseNotImplemented();
d14a1e28
RD
1015 return NULL;
1016#endif
1017 }
1018
1019
1020IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
1021IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
1022IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
1023
1024IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
1025
1026void wxMenu_Destroy(wxMenu *self){ delete self; }
1027PyObject *wxMenu_GetMenuItems(wxMenu *self){
1028 wxMenuItemList& list = self->GetMenuItems();
1029 return wxPy_ConvertList(&list);
1030 }
1031int MenuItem_GetDefaultMarginWidth(){ return 0; }
cbd72d4f 1032 static const wxString wxPyControlNameStr(wxControlNameStr);
d14a1e28
RD
1033int wxItemContainer_Append(wxItemContainer *self,wxString const &item,PyObject *clientData){
1034 if (clientData) {
1035 wxPyClientData* data = new wxPyClientData(clientData);
1036 return self->Append(item, data);
1037 } else
1038 return self->Append(item);
1039 }
1040int wxItemContainer_Insert(wxItemContainer *self,wxString const &item,int pos,PyObject *clientData){
1041 if (clientData) {
1042 wxPyClientData* data = new wxPyClientData(clientData);
1043 return self->Insert(item, pos, data);
1044 } else
1045 return self->Insert(item, pos);
1046 }
1047PyObject *wxItemContainer_GetClientData(wxItemContainer *self,int n){
1048 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
1049 if (data) {
1050 Py_INCREF(data->m_obj);
1051 return data->m_obj;
1052 } else {
1053 Py_INCREF(Py_None);
1054 return Py_None;
1055 }
1056 }
1057void wxItemContainer_SetClientData(wxItemContainer *self,int n,PyObject *clientData){
1058 wxPyClientData* data = new wxPyClientData(clientData);
1059 self->SetClientObject(n, data);
1060 }
1061
1062
1063PyObject *wxSizerItem_GetUserData(wxSizerItem *self){
1064 wxPyUserData* data = (wxPyUserData*)self->GetUserData();
1065 if (data) {
1066 Py_INCREF(data->m_obj);
1067 return data->m_obj;
1068 } else {
1069 Py_INCREF(Py_None);
1070 return Py_None;
1071 }
1072 }
1073
1074// Figure out the type of the sizer item
1075
1076struct wxPySizerItemInfo {
1077 wxPySizerItemInfo()
423f194a
RD
1078 : window(NULL), sizer(NULL), gotSize(False),
1079 size(wxDefaultSize), gotPos(False), pos(-1)
d14a1e28
RD
1080 {}
1081
1082 wxWindow* window;
1083 wxSizer* sizer;
1084 bool gotSize;
1085 wxSize size;
1086 bool gotPos;
1087 int pos;
1088};
1089
1090static wxPySizerItemInfo wxPySizerItemTypeHelper(PyObject* item, bool checkSize, bool checkIdx ) {
1091
1092 wxPySizerItemInfo info;
1093 wxSize size;
1094 wxSize* sizePtr = &size;
1095
1096 // Find out what the type of the item is
1097 // try wxWindow
1098 if ( ! wxPyConvertSwigPtr(item, (void**)&info.window, wxT("wxWindow")) ) {
1099 PyErr_Clear();
1100 info.window = NULL;
1101
1102 // try wxSizer
1103 if ( ! wxPyConvertSwigPtr(item, (void**)&info.sizer, wxT("wxSizer")) ) {
1104 PyErr_Clear();
1105 info.sizer = NULL;
1106
1107 // try wxSize or (w,h)
1108 if ( checkSize && wxSize_helper(item, &sizePtr)) {
1109 info.size = *sizePtr;
423f194a 1110 info.gotSize = True;
d14a1e28
RD
1111 }
1112
1113 // or a single int
1114 if (checkIdx && PyInt_Check(item)) {
1115 info.pos = PyInt_AsLong(item);
423f194a 1116 info.gotPos = True;
d14a1e28
RD
1117 }
1118 }
1119 }
1120
1121 if ( !(info.window || info.sizer || (checkSize && info.gotSize) || (checkIdx && info.gotPos)) ) {
1122 // no expected type, figure out what kind of error message to generate
1123 if ( !checkSize && !checkIdx )
1124 PyErr_SetString(PyExc_TypeError, "wxWindow or wxSizer expected for item");
1125 else if ( checkSize && !checkIdx )
1126 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1127 else if ( !checkSize && checkIdx)
1128 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer or int (position) expected for item");
1129 else
1130 // can this one happen?
1131 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1132 }
1133
1134 return info;
1135}
1136
1137void wxSizer__setOORInfo(wxSizer *self,PyObject *_self){
1138 self->SetClientObject(new wxPyOORClientData(_self));
1139 }
1140void wxSizer_Add(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1141
1142 wxPyUserData* data = NULL;
1143 wxPyBeginBlockThreads();
423f194a 1144 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1145 if ( userData && (info.window || info.sizer || info.gotSize) )
1146 data = new wxPyUserData(userData);
1147 wxPyEndBlockThreads();
1148
1149 // Now call the real Add method if a valid item type was found
1150 if ( info.window )
1151 self->Add(info.window, proportion, flag, border, data);
1152 else if ( info.sizer )
1153 self->Add(info.sizer, proportion, flag, border, data);
1154 else if (info.gotSize)
1155 self->Add(info.size.GetWidth(), info.size.GetHeight(),
1156 proportion, flag, border, data);
1157 }
1158void wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1159
1160 wxPyUserData* data = NULL;
1161 wxPyBeginBlockThreads();
423f194a 1162 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1163 if ( userData && (info.window || info.sizer || info.gotSize) )
1164 data = new wxPyUserData(userData);
1165 wxPyEndBlockThreads();
1166
1167 // Now call the real Insert method if a valid item type was found
1168 if ( info.window )
1169 self->Insert(before, info.window, proportion, flag, border, data);
1170 else if ( info.sizer )
1171 self->Insert(before, info.sizer, proportion, flag, border, data);
1172 else if (info.gotSize)
1173 self->Insert(before, info.size.GetWidth(), info.size.GetHeight(),
1174 proportion, flag, border, data);
1175 }
1176void wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1177
1178 wxPyUserData* data = NULL;
1179 wxPyBeginBlockThreads();
423f194a 1180 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1181 if ( userData && (info.window || info.sizer || info.gotSize) )
1182 data = new wxPyUserData(userData);
1183 wxPyEndBlockThreads();
1184
1185 // Now call the real Prepend method if a valid item type was found
1186 if ( info.window )
1187 self->Prepend(info.window, proportion, flag, border, data);
1188 else if ( info.sizer )
1189 self->Prepend(info.sizer, proportion, flag, border, data);
1190 else if (info.gotSize)
1191 self->Prepend(info.size.GetWidth(), info.size.GetHeight(),
1192 proportion, flag, border, data);
1193 }
1194bool wxSizer_Remove(wxSizer *self,PyObject *item){
1195 wxPyBeginBlockThreads();
423f194a 1196 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
d14a1e28
RD
1197 wxPyEndBlockThreads();
1198 if ( info.window )
1199 return self->Remove(info.window);
1200 else if ( info.sizer )
1201 return self->Remove(info.sizer);
1202 else if ( info.gotPos )
1203 return self->Remove(info.pos);
1204 else
423f194a 1205 return False;
d14a1e28 1206 }
423f194a 1207void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){
d14a1e28 1208 wxPyBeginBlockThreads();
423f194a 1209 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
d14a1e28
RD
1210 wxPyEndBlockThreads();
1211 if ( info.window )
1212 self->SetItemMinSize(info.window, size);
1213 else if ( info.sizer )
1214 self->SetItemMinSize(info.sizer, size);
1215 else if ( info.gotPos )
1216 self->SetItemMinSize(info.pos, size);
1217 }
1218PyObject *wxSizer_GetChildren(wxSizer *self){
1219 wxSizerItemList& list = self->GetChildren();
1220 return wxPy_ConvertList(&list);
1221 }
1222void wxSizer_Show(wxSizer *self,PyObject *item,bool show){
423f194a 1223 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d14a1e28
RD
1224 if ( info.window )
1225 self->Show(info.window, show);
1226 else if ( info.sizer )
1227 self->Show(info.sizer, show);
1228 }
1229void wxSizer_Hide(wxSizer *self,PyObject *item){
423f194a 1230 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d14a1e28
RD
1231 if ( info.window )
1232 self->Hide(info.window);
1233 else if ( info.sizer )
1234 self->Hide(info.sizer);
1235 }
1236bool wxSizer_IsShown(wxSizer *self,PyObject *item){
423f194a 1237 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d14a1e28
RD
1238 if ( info.window )
1239 return self->IsShown(info.window);
1240 else if ( info.sizer )
1241 return self->IsShown(info.sizer);
1242 else
423f194a 1243 return False;
d14a1e28
RD
1244 }
1245
1246// See pyclasses.h
1247IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
1248IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
1249IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
1250
1251
1252
1253
1254bool wxGBPosition_helper(PyObject* source, wxGBPosition** obj)
1255{
1256 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBPosition"));
1257}
1258
1259bool wxGBSpan_helper(PyObject* source, wxGBSpan** obj)
1260{
1261 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBSpan"));
1262}
1263
1264
423f194a
RD
1265void wxGBPosition_Set(wxGBPosition *self,int row,int col){
1266 self->SetRow(row);
1267 self->SetCol(col);
1268 }
1269PyObject *wxGBPosition_Get(wxGBPosition *self){
d14a1e28
RD
1270 wxPyBeginBlockThreads();
1271 PyObject* tup = PyTuple_New(2);
1272 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1273 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
1274 wxPyEndBlockThreads();
1275 return tup;
1276 }
423f194a
RD
1277void wxGBSpan_Set(wxGBSpan *self,int rowspan,int colspan){
1278 self->SetRowspan(rowspan);
1279 self->SetColspan(colspan);
1280 }
1281PyObject *wxGBSpan_Get(wxGBSpan *self){
d14a1e28
RD
1282 wxPyBeginBlockThreads();
1283 PyObject* tup = PyTuple_New(2);
1284 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRowspan()));
1285 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetColspan()));
1286 wxPyEndBlockThreads();
1287 return tup;
1288 }
1289bool wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1290
1291 wxPyUserData* data = NULL;
1292 wxPyBeginBlockThreads();
423f194a 1293 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1294 if ( userData && (info.window || info.sizer || info.gotSize) )
1295 data = new wxPyUserData(userData);
1296 wxPyEndBlockThreads();
1297
1298 // Now call the real Add method if a valid item type was found
1299 if ( info.window )
1300 return self->Add(info.window, pos, span, flag, border, data);
1301 else if ( info.sizer )
1302 return self->Add(info.sizer, pos, span, flag, border, data);
1303 else if (info.gotSize)
1304 return self->Add(info.size.GetWidth(), info.size.GetHeight(),
1305 pos, span, flag, border, data);
423f194a 1306 return False;
d14a1e28
RD
1307 }
1308
1309
1310#ifdef __cplusplus
1311extern "C" {
1312#endif
cbd72d4f
RD
1313static int _wrap_EmptyString_set(PyObject *_val) {
1314 PyErr_SetString(PyExc_TypeError,"Variable EmptyString is read-only.");
1315 return 1;
1316}
1317
1318
1319static PyObject *_wrap_EmptyString_get() {
1320 PyObject *pyobj;
1321
1322 {
1323#if wxUSE_UNICODE
1324 pyobj = PyUnicode_FromWideChar((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1325#else
1326 pyobj = PyString_FromStringAndSize((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1327#endif
1328 }
1329 return pyobj;
1330}
1331
1332
d14a1e28
RD
1333static PyObject *_wrap_Object_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
1334 PyObject *resultobj;
1335 wxObject *arg1 = (wxObject *) 0 ;
1336 wxString result;
1337 PyObject * obj0 = 0 ;
1338 char *kwnames[] = {
1339 (char *) "self", NULL
1340 };
1341
1342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_GetClassName",kwnames,&obj0)) goto fail;
1343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1344 {
1345 PyThreadState* __tstate = wxPyBeginAllowThreads();
1346 result = wxObject_GetClassName(arg1);
1347
1348 wxPyEndAllowThreads(__tstate);
1349 if (PyErr_Occurred()) SWIG_fail;
1350 }
1351 {
1352#if wxUSE_UNICODE
1353 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1354#else
1355 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1356#endif
1357 }
1358 return resultobj;
1359 fail:
1360 return NULL;
1361}
1362
1363
1364static PyObject *_wrap_Object_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
1365 PyObject *resultobj;
1366 wxObject *arg1 = (wxObject *) 0 ;
1367 PyObject * obj0 = 0 ;
1368 char *kwnames[] = {
1369 (char *) "self", NULL
1370 };
1371
1372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_Destroy",kwnames,&obj0)) goto fail;
1373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1374 {
1375 PyThreadState* __tstate = wxPyBeginAllowThreads();
1376 wxObject_Destroy(arg1);
1377
1378 wxPyEndAllowThreads(__tstate);
1379 if (PyErr_Occurred()) SWIG_fail;
1380 }
1381 Py_INCREF(Py_None); resultobj = Py_None;
1382 return resultobj;
1383 fail:
1384 return NULL;
1385}
1386
1387
1388static PyObject * Object_swigregister(PyObject *self, PyObject *args) {
1389 PyObject *obj;
1390 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1391 SWIG_TypeClientData(SWIGTYPE_p_wxObject, obj);
1392 Py_INCREF(obj);
1393 return Py_BuildValue((char *)"");
1394}
1395static PyObject *_wrap_Size_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1396 PyObject *resultobj;
1397 wxSize *arg1 = (wxSize *) 0 ;
1398 int arg2 ;
1399 PyObject * obj0 = 0 ;
1400 char *kwnames[] = {
1401 (char *) "self",(char *) "x", NULL
1402 };
1403
1404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Size_width_set",kwnames,&obj0,&arg2)) goto fail;
1405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1406 if (arg1) (arg1)->x = arg2;
1407
1408 Py_INCREF(Py_None); resultobj = Py_None;
1409 return resultobj;
1410 fail:
1411 return NULL;
1412}
1413
1414
1415static PyObject *_wrap_Size_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1416 PyObject *resultobj;
1417 wxSize *arg1 = (wxSize *) 0 ;
1418 int result;
1419 PyObject * obj0 = 0 ;
1420 char *kwnames[] = {
1421 (char *) "self", NULL
1422 };
1423
1424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_width_get",kwnames,&obj0)) goto fail;
1425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1426 result = (int) ((arg1)->x);
1427
1428 resultobj = PyInt_FromLong((long)result);
1429 return resultobj;
1430 fail:
1431 return NULL;
1432}
1433
1434
1435static PyObject *_wrap_Size_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1436 PyObject *resultobj;
1437 wxSize *arg1 = (wxSize *) 0 ;
1438 int arg2 ;
1439 PyObject * obj0 = 0 ;
1440 char *kwnames[] = {
1441 (char *) "self",(char *) "y", NULL
1442 };
1443
1444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Size_height_set",kwnames,&obj0,&arg2)) goto fail;
1445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1446 if (arg1) (arg1)->y = arg2;
1447
1448 Py_INCREF(Py_None); resultobj = Py_None;
1449 return resultobj;
1450 fail:
1451 return NULL;
1452}
1453
1454
1455static PyObject *_wrap_Size_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1456 PyObject *resultobj;
1457 wxSize *arg1 = (wxSize *) 0 ;
1458 int result;
1459 PyObject * obj0 = 0 ;
1460 char *kwnames[] = {
1461 (char *) "self", NULL
1462 };
1463
1464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_height_get",kwnames,&obj0)) goto fail;
1465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1466 result = (int) ((arg1)->y);
1467
1468 resultobj = PyInt_FromLong((long)result);
1469 return resultobj;
1470 fail:
1471 return NULL;
1472}
1473
1474
1475static PyObject *_wrap_new_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
1476 PyObject *resultobj;
1477 int arg1 = (int) 0 ;
1478 int arg2 = (int) 0 ;
1479 wxSize *result;
1480 char *kwnames[] = {
1481 (char *) "w",(char *) "h", NULL
1482 };
1483
1484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_Size",kwnames,&arg1,&arg2)) goto fail;
1485 {
1486 PyThreadState* __tstate = wxPyBeginAllowThreads();
1487 result = (wxSize *)new wxSize(arg1,arg2);
1488
1489 wxPyEndAllowThreads(__tstate);
1490 if (PyErr_Occurred()) SWIG_fail;
1491 }
1492 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 1);
1493 return resultobj;
1494 fail:
1495 return NULL;
1496}
1497
1498
1499static PyObject *_wrap_delete_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
1500 PyObject *resultobj;
1501 wxSize *arg1 = (wxSize *) 0 ;
1502 PyObject * obj0 = 0 ;
1503 char *kwnames[] = {
1504 (char *) "self", NULL
1505 };
1506
1507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Size",kwnames,&obj0)) goto fail;
1508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1509 {
1510 PyThreadState* __tstate = wxPyBeginAllowThreads();
1511 delete arg1;
1512
1513 wxPyEndAllowThreads(__tstate);
1514 if (PyErr_Occurred()) SWIG_fail;
1515 }
1516 Py_INCREF(Py_None); resultobj = Py_None;
1517 return resultobj;
1518 fail:
1519 return NULL;
1520}
1521
1522
1523static PyObject *_wrap_Size___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
1524 PyObject *resultobj;
1525 wxSize *arg1 = (wxSize *) 0 ;
1526 wxSize *arg2 = 0 ;
1527 bool result;
1528 wxSize temp2 ;
1529 PyObject * obj0 = 0 ;
1530 PyObject * obj1 = 0 ;
1531 char *kwnames[] = {
1532 (char *) "self",(char *) "sz", NULL
1533 };
1534
1535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___eq__",kwnames,&obj0,&obj1)) goto fail;
1536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1537 {
1538 arg2 = &temp2;
1539 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1540 }
1541 {
1542 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 1543 result = (bool)(arg1)->operator ==((wxSize const &)*arg2);
d14a1e28
RD
1544
1545 wxPyEndAllowThreads(__tstate);
1546 if (PyErr_Occurred()) SWIG_fail;
1547 }
1548 resultobj = PyInt_FromLong((long)result);
1549 return resultobj;
1550 fail:
1551 return NULL;
1552}
1553
1554
1555static PyObject *_wrap_Size___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
1556 PyObject *resultobj;
1557 wxSize *arg1 = (wxSize *) 0 ;
1558 wxSize *arg2 = 0 ;
1559 bool result;
1560 wxSize temp2 ;
1561 PyObject * obj0 = 0 ;
1562 PyObject * obj1 = 0 ;
1563 char *kwnames[] = {
1564 (char *) "self",(char *) "sz", NULL
1565 };
1566
1567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___ne__",kwnames,&obj0,&obj1)) goto fail;
1568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1569 {
1570 arg2 = &temp2;
1571 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1572 }
1573 {
1574 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 1575 result = (bool)(arg1)->operator !=((wxSize const &)*arg2);
d14a1e28
RD
1576
1577 wxPyEndAllowThreads(__tstate);
1578 if (PyErr_Occurred()) SWIG_fail;
1579 }
1580 resultobj = PyInt_FromLong((long)result);
1581 return resultobj;
1582 fail:
1583 return NULL;
1584}
1585
1586
1587static PyObject *_wrap_Size___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
1588 PyObject *resultobj;
1589 wxSize *arg1 = (wxSize *) 0 ;
1590 wxSize *arg2 = 0 ;
1591 wxSize result;
1592 wxSize temp2 ;
1593 PyObject * obj0 = 0 ;
1594 PyObject * obj1 = 0 ;
1595 char *kwnames[] = {
1596 (char *) "self",(char *) "sz", NULL
1597 };
1598
1599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___add__",kwnames,&obj0,&obj1)) goto fail;
1600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1601 {
1602 arg2 = &temp2;
1603 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1604 }
1605 {
1606 PyThreadState* __tstate = wxPyBeginAllowThreads();
1607 result = (arg1)->operator +((wxSize const &)*arg2);
1608
1609 wxPyEndAllowThreads(__tstate);
1610 if (PyErr_Occurred()) SWIG_fail;
1611 }
1612 {
1613 wxSize * resultptr;
1614 resultptr = new wxSize((wxSize &) result);
1615 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1616 }
1617 return resultobj;
1618 fail:
1619 return NULL;
1620}
1621
1622
1623static PyObject *_wrap_Size___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
1624 PyObject *resultobj;
1625 wxSize *arg1 = (wxSize *) 0 ;
1626 wxSize *arg2 = 0 ;
1627 wxSize result;
1628 wxSize temp2 ;
1629 PyObject * obj0 = 0 ;
1630 PyObject * obj1 = 0 ;
1631 char *kwnames[] = {
1632 (char *) "self",(char *) "sz", NULL
1633 };
1634
1635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___sub__",kwnames,&obj0,&obj1)) goto fail;
1636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1637 {
1638 arg2 = &temp2;
1639 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1640 }
1641 {
1642 PyThreadState* __tstate = wxPyBeginAllowThreads();
1643 result = (arg1)->operator -((wxSize const &)*arg2);
1644
1645 wxPyEndAllowThreads(__tstate);
1646 if (PyErr_Occurred()) SWIG_fail;
1647 }
1648 {
1649 wxSize * resultptr;
1650 resultptr = new wxSize((wxSize &) result);
1651 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1652 }
1653 return resultobj;
1654 fail:
1655 return NULL;
1656}
1657
1658
1659static PyObject *_wrap_Size_IncTo(PyObject *self, PyObject *args, PyObject *kwargs) {
1660 PyObject *resultobj;
1661 wxSize *arg1 = (wxSize *) 0 ;
1662 wxSize *arg2 = 0 ;
1663 wxSize temp2 ;
1664 PyObject * obj0 = 0 ;
1665 PyObject * obj1 = 0 ;
1666 char *kwnames[] = {
1667 (char *) "self",(char *) "sz", NULL
1668 };
1669
1670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_IncTo",kwnames,&obj0,&obj1)) goto fail;
1671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1672 {
1673 arg2 = &temp2;
1674 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1675 }
1676 {
1677 PyThreadState* __tstate = wxPyBeginAllowThreads();
1678 (arg1)->IncTo((wxSize const &)*arg2);
1679
1680 wxPyEndAllowThreads(__tstate);
1681 if (PyErr_Occurred()) SWIG_fail;
1682 }
1683 Py_INCREF(Py_None); resultobj = Py_None;
1684 return resultobj;
1685 fail:
1686 return NULL;
1687}
1688
1689
1690static PyObject *_wrap_Size_DecTo(PyObject *self, PyObject *args, PyObject *kwargs) {
1691 PyObject *resultobj;
1692 wxSize *arg1 = (wxSize *) 0 ;
1693 wxSize *arg2 = 0 ;
1694 wxSize temp2 ;
1695 PyObject * obj0 = 0 ;
1696 PyObject * obj1 = 0 ;
1697 char *kwnames[] = {
1698 (char *) "self",(char *) "sz", NULL
1699 };
1700
1701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_DecTo",kwnames,&obj0,&obj1)) goto fail;
1702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1703 {
1704 arg2 = &temp2;
1705 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1706 }
1707 {
1708 PyThreadState* __tstate = wxPyBeginAllowThreads();
1709 (arg1)->DecTo((wxSize const &)*arg2);
1710
1711 wxPyEndAllowThreads(__tstate);
1712 if (PyErr_Occurred()) SWIG_fail;
1713 }
1714 Py_INCREF(Py_None); resultobj = Py_None;
1715 return resultobj;
1716 fail:
1717 return NULL;
1718}
1719
1720
1721static PyObject *_wrap_Size_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
1722 PyObject *resultobj;
1723 wxSize *arg1 = (wxSize *) 0 ;
1724 int arg2 ;
1725 int arg3 ;
1726 PyObject * obj0 = 0 ;
1727 char *kwnames[] = {
423f194a 1728 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
1729 };
1730
1731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Size_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
1732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1733 {
1734 PyThreadState* __tstate = wxPyBeginAllowThreads();
1735 (arg1)->Set(arg2,arg3);
1736
1737 wxPyEndAllowThreads(__tstate);
1738 if (PyErr_Occurred()) SWIG_fail;
1739 }
1740 Py_INCREF(Py_None); resultobj = Py_None;
1741 return resultobj;
1742 fail:
1743 return NULL;
1744}
1745
1746
1747static PyObject *_wrap_Size_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1748 PyObject *resultobj;
1749 wxSize *arg1 = (wxSize *) 0 ;
1750 int arg2 ;
1751 PyObject * obj0 = 0 ;
1752 char *kwnames[] = {
1753 (char *) "self",(char *) "w", NULL
1754 };
1755
1756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Size_SetWidth",kwnames,&obj0,&arg2)) goto fail;
1757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1758 {
1759 PyThreadState* __tstate = wxPyBeginAllowThreads();
1760 (arg1)->SetWidth(arg2);
1761
1762 wxPyEndAllowThreads(__tstate);
1763 if (PyErr_Occurred()) SWIG_fail;
1764 }
1765 Py_INCREF(Py_None); resultobj = Py_None;
1766 return resultobj;
1767 fail:
1768 return NULL;
1769}
1770
1771
1772static PyObject *_wrap_Size_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1773 PyObject *resultobj;
1774 wxSize *arg1 = (wxSize *) 0 ;
1775 int arg2 ;
1776 PyObject * obj0 = 0 ;
1777 char *kwnames[] = {
1778 (char *) "self",(char *) "h", NULL
1779 };
1780
1781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Size_SetHeight",kwnames,&obj0,&arg2)) goto fail;
1782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1783 {
1784 PyThreadState* __tstate = wxPyBeginAllowThreads();
1785 (arg1)->SetHeight(arg2);
1786
1787 wxPyEndAllowThreads(__tstate);
1788 if (PyErr_Occurred()) SWIG_fail;
1789 }
1790 Py_INCREF(Py_None); resultobj = Py_None;
1791 return resultobj;
1792 fail:
1793 return NULL;
1794}
1795
1796
1797static PyObject *_wrap_Size_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1798 PyObject *resultobj;
1799 wxSize *arg1 = (wxSize *) 0 ;
1800 int result;
1801 PyObject * obj0 = 0 ;
1802 char *kwnames[] = {
1803 (char *) "self", NULL
1804 };
1805
1806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetWidth",kwnames,&obj0)) goto fail;
1807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1808 {
1809 PyThreadState* __tstate = wxPyBeginAllowThreads();
1810 result = (int)((wxSize const *)arg1)->GetWidth();
1811
1812 wxPyEndAllowThreads(__tstate);
1813 if (PyErr_Occurred()) SWIG_fail;
1814 }
1815 resultobj = PyInt_FromLong((long)result);
1816 return resultobj;
1817 fail:
1818 return NULL;
1819}
1820
1821
1822static PyObject *_wrap_Size_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1823 PyObject *resultobj;
1824 wxSize *arg1 = (wxSize *) 0 ;
1825 int result;
1826 PyObject * obj0 = 0 ;
1827 char *kwnames[] = {
1828 (char *) "self", NULL
1829 };
1830
1831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetHeight",kwnames,&obj0)) goto fail;
1832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1833 {
1834 PyThreadState* __tstate = wxPyBeginAllowThreads();
1835 result = (int)((wxSize const *)arg1)->GetHeight();
1836
1837 wxPyEndAllowThreads(__tstate);
1838 if (PyErr_Occurred()) SWIG_fail;
1839 }
1840 resultobj = PyInt_FromLong((long)result);
1841 return resultobj;
1842 fail:
1843 return NULL;
1844}
1845
1846
423f194a 1847static PyObject *_wrap_Size_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1848 PyObject *resultobj;
1849 wxSize *arg1 = (wxSize *) 0 ;
1850 PyObject *result;
1851 PyObject * obj0 = 0 ;
1852 char *kwnames[] = {
1853 (char *) "self", NULL
1854 };
1855
423f194a 1856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
1857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1858 {
1859 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 1860 result = (PyObject *)wxSize_Get(arg1);
d14a1e28
RD
1861
1862 wxPyEndAllowThreads(__tstate);
1863 if (PyErr_Occurred()) SWIG_fail;
1864 }
1865 resultobj = result;
1866 return resultobj;
1867 fail:
1868 return NULL;
1869}
1870
1871
1872static PyObject * Size_swigregister(PyObject *self, PyObject *args) {
1873 PyObject *obj;
1874 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1875 SWIG_TypeClientData(SWIGTYPE_p_wxSize, obj);
1876 Py_INCREF(obj);
1877 return Py_BuildValue((char *)"");
1878}
1879static PyObject *_wrap_RealPoint_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1880 PyObject *resultobj;
1881 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1882 double arg2 ;
1883 PyObject * obj0 = 0 ;
1884 char *kwnames[] = {
1885 (char *) "self",(char *) "x", NULL
1886 };
1887
1888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:RealPoint_x_set",kwnames,&obj0,&arg2)) goto fail;
1889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1890 if (arg1) (arg1)->x = arg2;
1891
1892 Py_INCREF(Py_None); resultobj = Py_None;
1893 return resultobj;
1894 fail:
1895 return NULL;
1896}
1897
1898
1899static PyObject *_wrap_RealPoint_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1900 PyObject *resultobj;
1901 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1902 double result;
1903 PyObject * obj0 = 0 ;
1904 char *kwnames[] = {
1905 (char *) "self", NULL
1906 };
1907
1908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_x_get",kwnames,&obj0)) goto fail;
1909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1910 result = (double) ((arg1)->x);
1911
1912 resultobj = PyFloat_FromDouble(result);
1913 return resultobj;
1914 fail:
1915 return NULL;
1916}
1917
1918
1919static PyObject *_wrap_RealPoint_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1920 PyObject *resultobj;
1921 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1922 double arg2 ;
1923 PyObject * obj0 = 0 ;
1924 char *kwnames[] = {
1925 (char *) "self",(char *) "y", NULL
1926 };
1927
1928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:RealPoint_y_set",kwnames,&obj0,&arg2)) goto fail;
1929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1930 if (arg1) (arg1)->y = arg2;
1931
1932 Py_INCREF(Py_None); resultobj = Py_None;
1933 return resultobj;
1934 fail:
1935 return NULL;
1936}
1937
1938
1939static PyObject *_wrap_RealPoint_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1940 PyObject *resultobj;
1941 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1942 double result;
1943 PyObject * obj0 = 0 ;
1944 char *kwnames[] = {
1945 (char *) "self", NULL
1946 };
1947
1948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_y_get",kwnames,&obj0)) goto fail;
1949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1950 result = (double) ((arg1)->y);
1951
1952 resultobj = PyFloat_FromDouble(result);
1953 return resultobj;
1954 fail:
1955 return NULL;
1956}
1957
1958
1959static PyObject *_wrap_new_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1960 PyObject *resultobj;
1961 double arg1 = (double) 0.0 ;
1962 double arg2 = (double) 0.0 ;
1963 wxRealPoint *result;
1964 char *kwnames[] = {
1965 (char *) "x",(char *) "y", NULL
1966 };
1967
1968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_RealPoint",kwnames,&arg1,&arg2)) goto fail;
1969 {
1970 PyThreadState* __tstate = wxPyBeginAllowThreads();
1971 result = (wxRealPoint *)new wxRealPoint(arg1,arg2);
1972
1973 wxPyEndAllowThreads(__tstate);
1974 if (PyErr_Occurred()) SWIG_fail;
1975 }
1976 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRealPoint, 1);
1977 return resultobj;
1978 fail:
1979 return NULL;
1980}
1981
1982
1983static PyObject *_wrap_delete_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1984 PyObject *resultobj;
1985 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1986 PyObject * obj0 = 0 ;
1987 char *kwnames[] = {
1988 (char *) "self", NULL
1989 };
1990
1991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RealPoint",kwnames,&obj0)) goto fail;
1992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1993 {
1994 PyThreadState* __tstate = wxPyBeginAllowThreads();
1995 delete arg1;
1996
1997 wxPyEndAllowThreads(__tstate);
1998 if (PyErr_Occurred()) SWIG_fail;
1999 }
2000 Py_INCREF(Py_None); resultobj = Py_None;
2001 return resultobj;
2002 fail:
2003 return NULL;
2004}
2005
2006
423f194a 2007static PyObject *_wrap_RealPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2008 PyObject *resultobj;
2009 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2010 wxRealPoint *arg2 = 0 ;
423f194a 2011 bool result;
d14a1e28
RD
2012 wxRealPoint temp2 ;
2013 PyObject * obj0 = 0 ;
2014 PyObject * obj1 = 0 ;
2015 char *kwnames[] = {
2016 (char *) "self",(char *) "pt", NULL
2017 };
2018
423f194a 2019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
2020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2021 {
2022 arg2 = &temp2;
2023 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2024 }
2025 {
2026 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2027 result = (bool)(arg1)->operator ==((wxRealPoint const &)*arg2);
d14a1e28
RD
2028
2029 wxPyEndAllowThreads(__tstate);
2030 if (PyErr_Occurred()) SWIG_fail;
2031 }
423f194a 2032 resultobj = PyInt_FromLong((long)result);
d14a1e28
RD
2033 return resultobj;
2034 fail:
2035 return NULL;
2036}
2037
2038
423f194a 2039static PyObject *_wrap_RealPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2040 PyObject *resultobj;
2041 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2042 wxRealPoint *arg2 = 0 ;
423f194a 2043 bool result;
d14a1e28
RD
2044 wxRealPoint temp2 ;
2045 PyObject * obj0 = 0 ;
2046 PyObject * obj1 = 0 ;
2047 char *kwnames[] = {
2048 (char *) "self",(char *) "pt", NULL
2049 };
2050
423f194a 2051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
2052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2053 {
2054 arg2 = &temp2;
2055 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2056 }
2057 {
2058 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2059 result = (bool)(arg1)->operator !=((wxRealPoint const &)*arg2);
d14a1e28
RD
2060
2061 wxPyEndAllowThreads(__tstate);
2062 if (PyErr_Occurred()) SWIG_fail;
2063 }
423f194a 2064 resultobj = PyInt_FromLong((long)result);
d14a1e28
RD
2065 return resultobj;
2066 fail:
2067 return NULL;
2068}
2069
2070
423f194a 2071static PyObject *_wrap_RealPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2072 PyObject *resultobj;
2073 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2074 wxRealPoint *arg2 = 0 ;
423f194a 2075 wxRealPoint result;
d14a1e28
RD
2076 wxRealPoint temp2 ;
2077 PyObject * obj0 = 0 ;
2078 PyObject * obj1 = 0 ;
2079 char *kwnames[] = {
2080 (char *) "self",(char *) "pt", NULL
2081 };
2082
423f194a 2083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
2084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2085 {
2086 arg2 = &temp2;
2087 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2088 }
2089 {
2090 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2091 result = (arg1)->operator +((wxRealPoint const &)*arg2);
d14a1e28
RD
2092
2093 wxPyEndAllowThreads(__tstate);
2094 if (PyErr_Occurred()) SWIG_fail;
2095 }
423f194a
RD
2096 {
2097 wxRealPoint * resultptr;
2098 resultptr = new wxRealPoint((wxRealPoint &) result);
2099 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
2100 }
d14a1e28
RD
2101 return resultobj;
2102 fail:
2103 return NULL;
2104}
2105
2106
423f194a 2107static PyObject *_wrap_RealPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2108 PyObject *resultobj;
2109 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2110 wxRealPoint *arg2 = 0 ;
423f194a 2111 wxRealPoint result;
d14a1e28
RD
2112 wxRealPoint temp2 ;
2113 PyObject * obj0 = 0 ;
2114 PyObject * obj1 = 0 ;
2115 char *kwnames[] = {
2116 (char *) "self",(char *) "pt", NULL
2117 };
2118
423f194a 2119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
2120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2121 {
2122 arg2 = &temp2;
2123 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2124 }
2125 {
2126 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2127 result = (arg1)->operator -((wxRealPoint const &)*arg2);
d14a1e28
RD
2128
2129 wxPyEndAllowThreads(__tstate);
2130 if (PyErr_Occurred()) SWIG_fail;
2131 }
423f194a
RD
2132 {
2133 wxRealPoint * resultptr;
2134 resultptr = new wxRealPoint((wxRealPoint &) result);
2135 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
2136 }
d14a1e28
RD
2137 return resultobj;
2138 fail:
2139 return NULL;
2140}
2141
2142
2143static PyObject *_wrap_RealPoint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2144 PyObject *resultobj;
2145 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2146 double arg2 ;
2147 double arg3 ;
2148 PyObject * obj0 = 0 ;
2149 char *kwnames[] = {
2150 (char *) "self",(char *) "x",(char *) "y", NULL
2151 };
2152
2153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:RealPoint_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
2154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2155 {
2156 PyThreadState* __tstate = wxPyBeginAllowThreads();
2157 wxRealPoint_Set(arg1,arg2,arg3);
2158
2159 wxPyEndAllowThreads(__tstate);
2160 if (PyErr_Occurred()) SWIG_fail;
2161 }
2162 Py_INCREF(Py_None); resultobj = Py_None;
2163 return resultobj;
2164 fail:
2165 return NULL;
2166}
2167
2168
423f194a 2169static PyObject *_wrap_RealPoint_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2170 PyObject *resultobj;
2171 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2172 PyObject *result;
2173 PyObject * obj0 = 0 ;
2174 char *kwnames[] = {
2175 (char *) "self", NULL
2176 };
2177
423f194a 2178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
2179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2180 {
2181 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2182 result = (PyObject *)wxRealPoint_Get(arg1);
d14a1e28
RD
2183
2184 wxPyEndAllowThreads(__tstate);
2185 if (PyErr_Occurred()) SWIG_fail;
2186 }
2187 resultobj = result;
2188 return resultobj;
2189 fail:
2190 return NULL;
2191}
2192
2193
2194static PyObject * RealPoint_swigregister(PyObject *self, PyObject *args) {
2195 PyObject *obj;
2196 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2197 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint, obj);
2198 Py_INCREF(obj);
2199 return Py_BuildValue((char *)"");
2200}
2201static PyObject *_wrap_Point_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2202 PyObject *resultobj;
2203 wxPoint *arg1 = (wxPoint *) 0 ;
2204 int arg2 ;
2205 PyObject * obj0 = 0 ;
2206 char *kwnames[] = {
2207 (char *) "self",(char *) "x", NULL
2208 };
2209
2210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Point_x_set",kwnames,&obj0,&arg2)) goto fail;
2211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2212 if (arg1) (arg1)->x = arg2;
2213
2214 Py_INCREF(Py_None); resultobj = Py_None;
2215 return resultobj;
2216 fail:
2217 return NULL;
2218}
2219
2220
2221static PyObject *_wrap_Point_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2222 PyObject *resultobj;
2223 wxPoint *arg1 = (wxPoint *) 0 ;
2224 int result;
2225 PyObject * obj0 = 0 ;
2226 char *kwnames[] = {
2227 (char *) "self", NULL
2228 };
2229
2230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_x_get",kwnames,&obj0)) goto fail;
2231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2232 result = (int) ((arg1)->x);
2233
2234 resultobj = PyInt_FromLong((long)result);
2235 return resultobj;
2236 fail:
2237 return NULL;
2238}
2239
2240
2241static PyObject *_wrap_Point_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2242 PyObject *resultobj;
2243 wxPoint *arg1 = (wxPoint *) 0 ;
2244 int arg2 ;
2245 PyObject * obj0 = 0 ;
2246 char *kwnames[] = {
2247 (char *) "self",(char *) "y", NULL
2248 };
2249
2250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Point_y_set",kwnames,&obj0,&arg2)) goto fail;
2251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2252 if (arg1) (arg1)->y = arg2;
2253
2254 Py_INCREF(Py_None); resultobj = Py_None;
2255 return resultobj;
2256 fail:
2257 return NULL;
2258}
2259
2260
2261static PyObject *_wrap_Point_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2262 PyObject *resultobj;
2263 wxPoint *arg1 = (wxPoint *) 0 ;
2264 int result;
2265 PyObject * obj0 = 0 ;
2266 char *kwnames[] = {
2267 (char *) "self", NULL
2268 };
2269
2270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_y_get",kwnames,&obj0)) goto fail;
2271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2272 result = (int) ((arg1)->y);
2273
2274 resultobj = PyInt_FromLong((long)result);
2275 return resultobj;
2276 fail:
2277 return NULL;
2278}
2279
2280
2281static PyObject *_wrap_new_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2282 PyObject *resultobj;
2283 int arg1 = (int) 0 ;
2284 int arg2 = (int) 0 ;
2285 wxPoint *result;
2286 char *kwnames[] = {
2287 (char *) "x",(char *) "y", NULL
2288 };
2289
2290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_Point",kwnames,&arg1,&arg2)) goto fail;
2291 {
2292 PyThreadState* __tstate = wxPyBeginAllowThreads();
2293 result = (wxPoint *)new wxPoint(arg1,arg2);
2294
2295 wxPyEndAllowThreads(__tstate);
2296 if (PyErr_Occurred()) SWIG_fail;
2297 }
2298 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 1);
2299 return resultobj;
2300 fail:
2301 return NULL;
2302}
2303
2304
2305static PyObject *_wrap_delete_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2306 PyObject *resultobj;
2307 wxPoint *arg1 = (wxPoint *) 0 ;
2308 PyObject * obj0 = 0 ;
2309 char *kwnames[] = {
2310 (char *) "self", NULL
2311 };
2312
2313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Point",kwnames,&obj0)) goto fail;
2314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2315 {
2316 PyThreadState* __tstate = wxPyBeginAllowThreads();
2317 delete arg1;
2318
2319 wxPyEndAllowThreads(__tstate);
2320 if (PyErr_Occurred()) SWIG_fail;
2321 }
2322 Py_INCREF(Py_None); resultobj = Py_None;
2323 return resultobj;
2324 fail:
2325 return NULL;
2326}
2327
2328
2329static PyObject *_wrap_Point___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
2330 PyObject *resultobj;
2331 wxPoint *arg1 = (wxPoint *) 0 ;
2332 wxPoint *arg2 = 0 ;
2333 bool result;
2334 wxPoint temp2 ;
2335 PyObject * obj0 = 0 ;
2336 PyObject * obj1 = 0 ;
2337 char *kwnames[] = {
423f194a 2338 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2339 };
2340
2341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail;
2342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2343 {
2344 arg2 = &temp2;
2345 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2346 }
2347 {
2348 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2349 result = (bool)(arg1)->operator ==((wxPoint const &)*arg2);
d14a1e28
RD
2350
2351 wxPyEndAllowThreads(__tstate);
2352 if (PyErr_Occurred()) SWIG_fail;
2353 }
2354 resultobj = PyInt_FromLong((long)result);
2355 return resultobj;
2356 fail:
2357 return NULL;
2358}
2359
2360
2361static PyObject *_wrap_Point___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2362 PyObject *resultobj;
2363 wxPoint *arg1 = (wxPoint *) 0 ;
2364 wxPoint *arg2 = 0 ;
2365 bool result;
2366 wxPoint temp2 ;
2367 PyObject * obj0 = 0 ;
2368 PyObject * obj1 = 0 ;
2369 char *kwnames[] = {
423f194a 2370 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2371 };
2372
2373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail;
2374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2375 {
2376 arg2 = &temp2;
2377 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2378 }
2379 {
2380 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2381 result = (bool)(arg1)->operator !=((wxPoint const &)*arg2);
d14a1e28
RD
2382
2383 wxPyEndAllowThreads(__tstate);
2384 if (PyErr_Occurred()) SWIG_fail;
2385 }
2386 resultobj = PyInt_FromLong((long)result);
2387 return resultobj;
2388 fail:
2389 return NULL;
2390}
2391
2392
2393static PyObject *_wrap_Point___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2394 PyObject *resultobj;
2395 wxPoint *arg1 = (wxPoint *) 0 ;
2396 wxPoint *arg2 = 0 ;
2397 wxPoint result;
2398 wxPoint temp2 ;
2399 PyObject * obj0 = 0 ;
2400 PyObject * obj1 = 0 ;
2401 char *kwnames[] = {
423f194a 2402 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2403 };
2404
2405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail;
2406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2407 {
2408 arg2 = &temp2;
2409 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2410 }
2411 {
2412 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2413 result = (arg1)->operator +((wxPoint const &)*arg2);
d14a1e28
RD
2414
2415 wxPyEndAllowThreads(__tstate);
2416 if (PyErr_Occurred()) SWIG_fail;
2417 }
2418 {
2419 wxPoint * resultptr;
2420 resultptr = new wxPoint((wxPoint &) result);
2421 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2422 }
2423 return resultobj;
2424 fail:
2425 return NULL;
2426}
2427
2428
2429static PyObject *_wrap_Point___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2430 PyObject *resultobj;
2431 wxPoint *arg1 = (wxPoint *) 0 ;
2432 wxPoint *arg2 = 0 ;
2433 wxPoint result;
2434 wxPoint temp2 ;
2435 PyObject * obj0 = 0 ;
2436 PyObject * obj1 = 0 ;
2437 char *kwnames[] = {
423f194a 2438 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2439 };
2440
2441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail;
2442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2443 {
2444 arg2 = &temp2;
2445 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2446 }
2447 {
2448 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2449 result = (arg1)->operator -((wxPoint const &)*arg2);
d14a1e28
RD
2450
2451 wxPyEndAllowThreads(__tstate);
2452 if (PyErr_Occurred()) SWIG_fail;
2453 }
2454 {
2455 wxPoint * resultptr;
2456 resultptr = new wxPoint((wxPoint &) result);
2457 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2458 }
2459 return resultobj;
2460 fail:
2461 return NULL;
2462}
2463
2464
2465static PyObject *_wrap_Point___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
2466 PyObject *resultobj;
2467 wxPoint *arg1 = (wxPoint *) 0 ;
2468 wxPoint *arg2 = 0 ;
2469 wxPoint *result;
2470 wxPoint temp2 ;
2471 PyObject * obj0 = 0 ;
2472 PyObject * obj1 = 0 ;
2473 char *kwnames[] = {
423f194a 2474 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2475 };
2476
2477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail;
2478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2479 {
2480 arg2 = &temp2;
2481 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2482 }
2483 {
2484 PyThreadState* __tstate = wxPyBeginAllowThreads();
2485 {
2486 wxPoint &_result_ref = (arg1)->operator +=((wxPoint const &)*arg2);
2487 result = (wxPoint *) &_result_ref;
2488 }
2489
2490 wxPyEndAllowThreads(__tstate);
2491 if (PyErr_Occurred()) SWIG_fail;
2492 }
2493 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
2494 return resultobj;
2495 fail:
2496 return NULL;
2497}
2498
2499
2500static PyObject *_wrap_Point___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2501 PyObject *resultobj;
2502 wxPoint *arg1 = (wxPoint *) 0 ;
2503 wxPoint *arg2 = 0 ;
2504 wxPoint *result;
2505 wxPoint temp2 ;
2506 PyObject * obj0 = 0 ;
2507 PyObject * obj1 = 0 ;
2508 char *kwnames[] = {
423f194a 2509 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2510 };
2511
2512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___isub__",kwnames,&obj0,&obj1)) goto fail;
2513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2514 {
2515 arg2 = &temp2;
2516 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2517 }
2518 {
2519 PyThreadState* __tstate = wxPyBeginAllowThreads();
2520 {
2521 wxPoint &_result_ref = (arg1)->operator -=((wxPoint const &)*arg2);
2522 result = (wxPoint *) &_result_ref;
2523 }
2524
2525 wxPyEndAllowThreads(__tstate);
2526 if (PyErr_Occurred()) SWIG_fail;
2527 }
2528 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
2529 return resultobj;
2530 fail:
2531 return NULL;
2532}
2533
2534
2535static PyObject *_wrap_Point_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2536 PyObject *resultobj;
2537 wxPoint *arg1 = (wxPoint *) 0 ;
2538 long arg2 ;
2539 long arg3 ;
2540 PyObject * obj0 = 0 ;
2541 char *kwnames[] = {
2542 (char *) "self",(char *) "x",(char *) "y", NULL
2543 };
2544
2545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:Point_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
2546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2547 {
2548 PyThreadState* __tstate = wxPyBeginAllowThreads();
2549 wxPoint_Set(arg1,arg2,arg3);
2550
2551 wxPyEndAllowThreads(__tstate);
2552 if (PyErr_Occurred()) SWIG_fail;
2553 }
2554 Py_INCREF(Py_None); resultobj = Py_None;
2555 return resultobj;
2556 fail:
2557 return NULL;
2558}
2559
2560
423f194a 2561static PyObject *_wrap_Point_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2562 PyObject *resultobj;
2563 wxPoint *arg1 = (wxPoint *) 0 ;
2564 PyObject *result;
2565 PyObject * obj0 = 0 ;
2566 char *kwnames[] = {
2567 (char *) "self", NULL
2568 };
2569
423f194a 2570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
2571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2572 {
2573 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2574 result = (PyObject *)wxPoint_Get(arg1);
d14a1e28
RD
2575
2576 wxPyEndAllowThreads(__tstate);
2577 if (PyErr_Occurred()) SWIG_fail;
2578 }
2579 resultobj = result;
2580 return resultobj;
2581 fail:
2582 return NULL;
2583}
2584
2585
2586static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
2587 PyObject *obj;
2588 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2589 SWIG_TypeClientData(SWIGTYPE_p_wxPoint, obj);
2590 Py_INCREF(obj);
2591 return Py_BuildValue((char *)"");
2592}
2593static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
2594 PyObject *resultobj;
2595 int arg1 = (int) 0 ;
2596 int arg2 = (int) 0 ;
2597 int arg3 = (int) 0 ;
2598 int arg4 = (int) 0 ;
2599 wxRect *result;
2600 char *kwnames[] = {
2601 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2602 };
2603
2604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_Rect",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
2605 {
2606 PyThreadState* __tstate = wxPyBeginAllowThreads();
2607 result = (wxRect *)new wxRect(arg1,arg2,arg3,arg4);
2608
2609 wxPyEndAllowThreads(__tstate);
2610 if (PyErr_Occurred()) SWIG_fail;
2611 }
2612 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 1);
2613 return resultobj;
2614 fail:
2615 return NULL;
2616}
2617
2618
2619static PyObject *_wrap_new_RectPP(PyObject *self, PyObject *args, PyObject *kwargs) {
2620 PyObject *resultobj;
2621 wxPoint *arg1 = 0 ;
2622 wxPoint *arg2 = 0 ;
2623 wxRect *result;
2624 wxPoint temp1 ;
2625 wxPoint temp2 ;
2626 PyObject * obj0 = 0 ;
2627 PyObject * obj1 = 0 ;
2628 char *kwnames[] = {
2629 (char *) "topLeft",(char *) "bottomRight", NULL
2630 };
2631
2632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPP",kwnames,&obj0,&obj1)) goto fail;
2633 {
2634 arg1 = &temp1;
2635 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
2636 }
2637 {
2638 arg2 = &temp2;
2639 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2640 }
2641 {
2642 PyThreadState* __tstate = wxPyBeginAllowThreads();
2643 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxPoint const &)*arg2);
2644
2645 wxPyEndAllowThreads(__tstate);
2646 if (PyErr_Occurred()) SWIG_fail;
2647 }
2648 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 1);
2649 return resultobj;
2650 fail:
2651 return NULL;
2652}
2653
2654
2655static PyObject *_wrap_new_RectPS(PyObject *self, PyObject *args, PyObject *kwargs) {
2656 PyObject *resultobj;
2657 wxPoint *arg1 = 0 ;
2658 wxSize *arg2 = 0 ;
2659 wxRect *result;
2660 wxPoint temp1 ;
2661 wxSize temp2 ;
2662 PyObject * obj0 = 0 ;
2663 PyObject * obj1 = 0 ;
2664 char *kwnames[] = {
2665 (char *) "pos",(char *) "size", NULL
2666 };
2667
2668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPS",kwnames,&obj0,&obj1)) goto fail;
2669 {
2670 arg1 = &temp1;
2671 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
2672 }
2673 {
2674 arg2 = &temp2;
2675 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2676 }
2677 {
2678 PyThreadState* __tstate = wxPyBeginAllowThreads();
2679 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxSize const &)*arg2);
2680
2681 wxPyEndAllowThreads(__tstate);
2682 if (PyErr_Occurred()) SWIG_fail;
2683 }
2684 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 1);
2685 return resultobj;
2686 fail:
2687 return NULL;
2688}
2689
2690
2691static PyObject *_wrap_delete_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
2692 PyObject *resultobj;
2693 wxRect *arg1 = (wxRect *) 0 ;
2694 PyObject * obj0 = 0 ;
2695 char *kwnames[] = {
2696 (char *) "self", NULL
2697 };
2698
2699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Rect",kwnames,&obj0)) goto fail;
2700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2701 {
2702 PyThreadState* __tstate = wxPyBeginAllowThreads();
2703 delete arg1;
2704
2705 wxPyEndAllowThreads(__tstate);
2706 if (PyErr_Occurred()) SWIG_fail;
2707 }
2708 Py_INCREF(Py_None); resultobj = Py_None;
2709 return resultobj;
2710 fail:
2711 return NULL;
2712}
2713
2714
2715static PyObject *_wrap_Rect_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
2716 PyObject *resultobj;
2717 wxRect *arg1 = (wxRect *) 0 ;
2718 int result;
2719 PyObject * obj0 = 0 ;
2720 char *kwnames[] = {
2721 (char *) "self", NULL
2722 };
2723
2724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetX",kwnames,&obj0)) goto fail;
2725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2726 {
2727 PyThreadState* __tstate = wxPyBeginAllowThreads();
2728 result = (int)((wxRect const *)arg1)->GetX();
2729
2730 wxPyEndAllowThreads(__tstate);
2731 if (PyErr_Occurred()) SWIG_fail;
2732 }
2733 resultobj = PyInt_FromLong((long)result);
2734 return resultobj;
2735 fail:
2736 return NULL;
2737}
2738
2739
2740static PyObject *_wrap_Rect_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
2741 PyObject *resultobj;
2742 wxRect *arg1 = (wxRect *) 0 ;
2743 int arg2 ;
2744 PyObject * obj0 = 0 ;
2745 char *kwnames[] = {
2746 (char *) "self",(char *) "x", NULL
2747 };
2748
2749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetX",kwnames,&obj0,&arg2)) goto fail;
2750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2751 {
2752 PyThreadState* __tstate = wxPyBeginAllowThreads();
2753 (arg1)->SetX(arg2);
2754
2755 wxPyEndAllowThreads(__tstate);
2756 if (PyErr_Occurred()) SWIG_fail;
2757 }
2758 Py_INCREF(Py_None); resultobj = Py_None;
2759 return resultobj;
2760 fail:
2761 return NULL;
2762}
2763
2764
2765static PyObject *_wrap_Rect_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
2766 PyObject *resultobj;
2767 wxRect *arg1 = (wxRect *) 0 ;
2768 int result;
2769 PyObject * obj0 = 0 ;
2770 char *kwnames[] = {
2771 (char *) "self", NULL
2772 };
2773
2774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetY",kwnames,&obj0)) goto fail;
2775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2776 {
2777 PyThreadState* __tstate = wxPyBeginAllowThreads();
2778 result = (int)(arg1)->GetY();
2779
2780 wxPyEndAllowThreads(__tstate);
2781 if (PyErr_Occurred()) SWIG_fail;
2782 }
2783 resultobj = PyInt_FromLong((long)result);
2784 return resultobj;
2785 fail:
2786 return NULL;
2787}
2788
2789
2790static PyObject *_wrap_Rect_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
2791 PyObject *resultobj;
2792 wxRect *arg1 = (wxRect *) 0 ;
2793 int arg2 ;
2794 PyObject * obj0 = 0 ;
2795 char *kwnames[] = {
2796 (char *) "self",(char *) "y", NULL
2797 };
2798
2799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetY",kwnames,&obj0,&arg2)) goto fail;
2800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2801 {
2802 PyThreadState* __tstate = wxPyBeginAllowThreads();
2803 (arg1)->SetY(arg2);
2804
2805 wxPyEndAllowThreads(__tstate);
2806 if (PyErr_Occurred()) SWIG_fail;
2807 }
2808 Py_INCREF(Py_None); resultobj = Py_None;
2809 return resultobj;
2810 fail:
2811 return NULL;
2812}
2813
2814
2815static PyObject *_wrap_Rect_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2816 PyObject *resultobj;
2817 wxRect *arg1 = (wxRect *) 0 ;
2818 int result;
2819 PyObject * obj0 = 0 ;
2820 char *kwnames[] = {
2821 (char *) "self", NULL
2822 };
2823
2824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetWidth",kwnames,&obj0)) goto fail;
2825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2826 {
2827 PyThreadState* __tstate = wxPyBeginAllowThreads();
2828 result = (int)((wxRect const *)arg1)->GetWidth();
2829
2830 wxPyEndAllowThreads(__tstate);
2831 if (PyErr_Occurred()) SWIG_fail;
2832 }
2833 resultobj = PyInt_FromLong((long)result);
2834 return resultobj;
2835 fail:
2836 return NULL;
2837}
2838
2839
2840static PyObject *_wrap_Rect_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2841 PyObject *resultobj;
2842 wxRect *arg1 = (wxRect *) 0 ;
2843 int arg2 ;
2844 PyObject * obj0 = 0 ;
2845 char *kwnames[] = {
2846 (char *) "self",(char *) "w", NULL
2847 };
2848
2849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetWidth",kwnames,&obj0,&arg2)) goto fail;
2850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2851 {
2852 PyThreadState* __tstate = wxPyBeginAllowThreads();
2853 (arg1)->SetWidth(arg2);
2854
2855 wxPyEndAllowThreads(__tstate);
2856 if (PyErr_Occurred()) SWIG_fail;
2857 }
2858 Py_INCREF(Py_None); resultobj = Py_None;
2859 return resultobj;
2860 fail:
2861 return NULL;
2862}
2863
2864
2865static PyObject *_wrap_Rect_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2866 PyObject *resultobj;
2867 wxRect *arg1 = (wxRect *) 0 ;
2868 int result;
2869 PyObject * obj0 = 0 ;
2870 char *kwnames[] = {
2871 (char *) "self", NULL
2872 };
2873
2874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetHeight",kwnames,&obj0)) goto fail;
2875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2876 {
2877 PyThreadState* __tstate = wxPyBeginAllowThreads();
2878 result = (int)((wxRect const *)arg1)->GetHeight();
2879
2880 wxPyEndAllowThreads(__tstate);
2881 if (PyErr_Occurred()) SWIG_fail;
2882 }
2883 resultobj = PyInt_FromLong((long)result);
2884 return resultobj;
2885 fail:
2886 return NULL;
2887}
2888
2889
2890static PyObject *_wrap_Rect_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2891 PyObject *resultobj;
2892 wxRect *arg1 = (wxRect *) 0 ;
2893 int arg2 ;
2894 PyObject * obj0 = 0 ;
2895 char *kwnames[] = {
2896 (char *) "self",(char *) "h", NULL
2897 };
2898
2899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetHeight",kwnames,&obj0,&arg2)) goto fail;
2900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2901 {
2902 PyThreadState* __tstate = wxPyBeginAllowThreads();
2903 (arg1)->SetHeight(arg2);
2904
2905 wxPyEndAllowThreads(__tstate);
2906 if (PyErr_Occurred()) SWIG_fail;
2907 }
2908 Py_INCREF(Py_None); resultobj = Py_None;
2909 return resultobj;
2910 fail:
2911 return NULL;
2912}
2913
2914
2915static PyObject *_wrap_Rect_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2916 PyObject *resultobj;
2917 wxRect *arg1 = (wxRect *) 0 ;
2918 wxPoint result;
2919 PyObject * obj0 = 0 ;
2920 char *kwnames[] = {
2921 (char *) "self", NULL
2922 };
2923
2924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetPosition",kwnames,&obj0)) goto fail;
2925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2926 {
2927 PyThreadState* __tstate = wxPyBeginAllowThreads();
2928 result = ((wxRect const *)arg1)->GetPosition();
2929
2930 wxPyEndAllowThreads(__tstate);
2931 if (PyErr_Occurred()) SWIG_fail;
2932 }
2933 {
2934 wxPoint * resultptr;
2935 resultptr = new wxPoint((wxPoint &) result);
2936 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2937 }
2938 return resultobj;
2939 fail:
2940 return NULL;
2941}
2942
2943
2944static PyObject *_wrap_Rect_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2945 PyObject *resultobj;
2946 wxRect *arg1 = (wxRect *) 0 ;
2947 wxPoint *arg2 = 0 ;
2948 wxPoint temp2 ;
2949 PyObject * obj0 = 0 ;
2950 PyObject * obj1 = 0 ;
2951 char *kwnames[] = {
2952 (char *) "self",(char *) "p", NULL
2953 };
2954
2955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2957 {
2958 arg2 = &temp2;
2959 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2960 }
2961 {
2962 PyThreadState* __tstate = wxPyBeginAllowThreads();
2963 (arg1)->SetPosition((wxPoint const &)*arg2);
2964
2965 wxPyEndAllowThreads(__tstate);
2966 if (PyErr_Occurred()) SWIG_fail;
2967 }
2968 Py_INCREF(Py_None); resultobj = Py_None;
2969 return resultobj;
2970 fail:
2971 return NULL;
2972}
2973
2974
2975static PyObject *_wrap_Rect_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2976 PyObject *resultobj;
2977 wxRect *arg1 = (wxRect *) 0 ;
2978 wxSize result;
2979 PyObject * obj0 = 0 ;
2980 char *kwnames[] = {
2981 (char *) "self", NULL
2982 };
2983
2984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetSize",kwnames,&obj0)) goto fail;
2985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2986 {
2987 PyThreadState* __tstate = wxPyBeginAllowThreads();
2988 result = ((wxRect const *)arg1)->GetSize();
2989
2990 wxPyEndAllowThreads(__tstate);
2991 if (PyErr_Occurred()) SWIG_fail;
2992 }
2993 {
2994 wxSize * resultptr;
2995 resultptr = new wxSize((wxSize &) result);
2996 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
2997 }
2998 return resultobj;
2999 fail:
3000 return NULL;
3001}
3002
3003
3004static PyObject *_wrap_Rect_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3005 PyObject *resultobj;
3006 wxRect *arg1 = (wxRect *) 0 ;
3007 wxSize *arg2 = 0 ;
3008 wxSize temp2 ;
3009 PyObject * obj0 = 0 ;
3010 PyObject * obj1 = 0 ;
3011 char *kwnames[] = {
3012 (char *) "self",(char *) "s", NULL
3013 };
3014
3015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetSize",kwnames,&obj0,&obj1)) goto fail;
3016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3017 {
3018 arg2 = &temp2;
3019 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3020 }
3021 {
3022 PyThreadState* __tstate = wxPyBeginAllowThreads();
3023 (arg1)->SetSize((wxSize const &)*arg2);
3024
3025 wxPyEndAllowThreads(__tstate);
3026 if (PyErr_Occurred()) SWIG_fail;
3027 }
3028 Py_INCREF(Py_None); resultobj = Py_None;
3029 return resultobj;
3030 fail:
3031 return NULL;
3032}
3033
3034
9fd4be55
RD
3035static PyObject *_wrap_Rect_GetTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3036 PyObject *resultobj;
3037 wxRect *arg1 = (wxRect *) 0 ;
3038 wxPoint result;
3039 PyObject * obj0 = 0 ;
3040 char *kwnames[] = {
3041 (char *) "self", NULL
3042 };
3043
3044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTopLeft",kwnames,&obj0)) goto fail;
3045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3046 {
3047 PyThreadState* __tstate = wxPyBeginAllowThreads();
3048 result = ((wxRect const *)arg1)->GetTopLeft();
3049
3050 wxPyEndAllowThreads(__tstate);
3051 if (PyErr_Occurred()) SWIG_fail;
3052 }
3053 {
3054 wxPoint * resultptr;
3055 resultptr = new wxPoint((wxPoint &) result);
3056 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
3057 }
3058 return resultobj;
3059 fail:
3060 return NULL;
3061}
3062
3063
3064static PyObject *_wrap_Rect_SetTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3065 PyObject *resultobj;
3066 wxRect *arg1 = (wxRect *) 0 ;
3067 wxPoint *arg2 = 0 ;
3068 wxPoint temp2 ;
3069 PyObject * obj0 = 0 ;
3070 PyObject * obj1 = 0 ;
3071 char *kwnames[] = {
3072 (char *) "self",(char *) "p", NULL
3073 };
3074
3075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTopLeft",kwnames,&obj0,&obj1)) goto fail;
3076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3077 {
3078 arg2 = &temp2;
3079 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3080 }
3081 {
3082 PyThreadState* __tstate = wxPyBeginAllowThreads();
3083 (arg1)->SetTopLeft((wxPoint const &)*arg2);
3084
3085 wxPyEndAllowThreads(__tstate);
3086 if (PyErr_Occurred()) SWIG_fail;
3087 }
3088 Py_INCREF(Py_None); resultobj = Py_None;
3089 return resultobj;
3090 fail:
3091 return NULL;
3092}
3093
3094
3095static PyObject *_wrap_Rect_GetBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3096 PyObject *resultobj;
3097 wxRect *arg1 = (wxRect *) 0 ;
3098 wxPoint result;
3099 PyObject * obj0 = 0 ;
3100 char *kwnames[] = {
3101 (char *) "self", NULL
3102 };
3103
3104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottomRight",kwnames,&obj0)) goto fail;
3105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3106 {
3107 PyThreadState* __tstate = wxPyBeginAllowThreads();
3108 result = ((wxRect const *)arg1)->GetBottomRight();
3109
3110 wxPyEndAllowThreads(__tstate);
3111 if (PyErr_Occurred()) SWIG_fail;
3112 }
3113 {
3114 wxPoint * resultptr;
3115 resultptr = new wxPoint((wxPoint &) result);
3116 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
3117 }
3118 return resultobj;
3119 fail:
3120 return NULL;
3121}
3122
3123
3124static PyObject *_wrap_Rect_SetBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3125 PyObject *resultobj;
3126 wxRect *arg1 = (wxRect *) 0 ;
3127 wxPoint *arg2 = 0 ;
3128 wxPoint temp2 ;
3129 PyObject * obj0 = 0 ;
3130 PyObject * obj1 = 0 ;
3131 char *kwnames[] = {
3132 (char *) "self",(char *) "p", NULL
3133 };
3134
3135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottomRight",kwnames,&obj0,&obj1)) goto fail;
3136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3137 {
3138 arg2 = &temp2;
3139 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3140 }
3141 {
3142 PyThreadState* __tstate = wxPyBeginAllowThreads();
3143 (arg1)->SetBottomRight((wxPoint const &)*arg2);
3144
3145 wxPyEndAllowThreads(__tstate);
3146 if (PyErr_Occurred()) SWIG_fail;
3147 }
3148 Py_INCREF(Py_None); resultobj = Py_None;
3149 return resultobj;
3150 fail:
3151 return NULL;
3152}
3153
3154
d14a1e28
RD
3155static PyObject *_wrap_Rect_GetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3156 PyObject *resultobj;
3157 wxRect *arg1 = (wxRect *) 0 ;
3158 int result;
3159 PyObject * obj0 = 0 ;
3160 char *kwnames[] = {
3161 (char *) "self", NULL
3162 };
3163
3164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetLeft",kwnames,&obj0)) goto fail;
3165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3166 {
3167 PyThreadState* __tstate = wxPyBeginAllowThreads();
3168 result = (int)((wxRect const *)arg1)->GetLeft();
3169
3170 wxPyEndAllowThreads(__tstate);
3171 if (PyErr_Occurred()) SWIG_fail;
3172 }
3173 resultobj = PyInt_FromLong((long)result);
3174 return resultobj;
3175 fail:
3176 return NULL;
3177}
3178
3179
3180static PyObject *_wrap_Rect_GetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
3181 PyObject *resultobj;
3182 wxRect *arg1 = (wxRect *) 0 ;
3183 int result;
3184 PyObject * obj0 = 0 ;
3185 char *kwnames[] = {
3186 (char *) "self", NULL
3187 };
3188
3189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTop",kwnames,&obj0)) goto fail;
3190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3191 {
3192 PyThreadState* __tstate = wxPyBeginAllowThreads();
3193 result = (int)((wxRect const *)arg1)->GetTop();
3194
3195 wxPyEndAllowThreads(__tstate);
3196 if (PyErr_Occurred()) SWIG_fail;
3197 }
3198 resultobj = PyInt_FromLong((long)result);
3199 return resultobj;
3200 fail:
3201 return NULL;
3202}
3203
3204
3205static PyObject *_wrap_Rect_GetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
3206 PyObject *resultobj;
3207 wxRect *arg1 = (wxRect *) 0 ;
3208 int result;
3209 PyObject * obj0 = 0 ;
3210 char *kwnames[] = {
3211 (char *) "self", NULL
3212 };
3213
3214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottom",kwnames,&obj0)) goto fail;
3215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3216 {
3217 PyThreadState* __tstate = wxPyBeginAllowThreads();
3218 result = (int)((wxRect const *)arg1)->GetBottom();
3219
3220 wxPyEndAllowThreads(__tstate);
3221 if (PyErr_Occurred()) SWIG_fail;
3222 }
3223 resultobj = PyInt_FromLong((long)result);
3224 return resultobj;
3225 fail:
3226 return NULL;
3227}
3228
3229
3230static PyObject *_wrap_Rect_GetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3231 PyObject *resultobj;
3232 wxRect *arg1 = (wxRect *) 0 ;
3233 int result;
3234 PyObject * obj0 = 0 ;
3235 char *kwnames[] = {
3236 (char *) "self", NULL
3237 };
3238
3239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetRight",kwnames,&obj0)) goto fail;
3240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3241 {
3242 PyThreadState* __tstate = wxPyBeginAllowThreads();
3243 result = (int)((wxRect const *)arg1)->GetRight();
3244
3245 wxPyEndAllowThreads(__tstate);
3246 if (PyErr_Occurred()) SWIG_fail;
3247 }
3248 resultobj = PyInt_FromLong((long)result);
3249 return resultobj;
3250 fail:
3251 return NULL;
3252}
3253
3254
3255static PyObject *_wrap_Rect_SetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3256 PyObject *resultobj;
3257 wxRect *arg1 = (wxRect *) 0 ;
3258 int arg2 ;
3259 PyObject * obj0 = 0 ;
3260 char *kwnames[] = {
3261 (char *) "self",(char *) "left", NULL
3262 };
3263
3264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetLeft",kwnames,&obj0,&arg2)) goto fail;
3265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3266 {
3267 PyThreadState* __tstate = wxPyBeginAllowThreads();
3268 (arg1)->SetLeft(arg2);
3269
3270 wxPyEndAllowThreads(__tstate);
3271 if (PyErr_Occurred()) SWIG_fail;
3272 }
3273 Py_INCREF(Py_None); resultobj = Py_None;
3274 return resultobj;
3275 fail:
3276 return NULL;
3277}
3278
3279
3280static PyObject *_wrap_Rect_SetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3281 PyObject *resultobj;
3282 wxRect *arg1 = (wxRect *) 0 ;
3283 int arg2 ;
3284 PyObject * obj0 = 0 ;
3285 char *kwnames[] = {
3286 (char *) "self",(char *) "right", NULL
3287 };
3288
3289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetRight",kwnames,&obj0,&arg2)) goto fail;
3290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3291 {
3292 PyThreadState* __tstate = wxPyBeginAllowThreads();
3293 (arg1)->SetRight(arg2);
3294
3295 wxPyEndAllowThreads(__tstate);
3296 if (PyErr_Occurred()) SWIG_fail;
3297 }
3298 Py_INCREF(Py_None); resultobj = Py_None;
3299 return resultobj;
3300 fail:
3301 return NULL;
3302}
3303
3304
3305static PyObject *_wrap_Rect_SetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
3306 PyObject *resultobj;
3307 wxRect *arg1 = (wxRect *) 0 ;
3308 int arg2 ;
3309 PyObject * obj0 = 0 ;
3310 char *kwnames[] = {
3311 (char *) "self",(char *) "top", NULL
3312 };
3313
3314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetTop",kwnames,&obj0,&arg2)) goto fail;
3315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3316 {
3317 PyThreadState* __tstate = wxPyBeginAllowThreads();
3318 (arg1)->SetTop(arg2);
3319
3320 wxPyEndAllowThreads(__tstate);
3321 if (PyErr_Occurred()) SWIG_fail;
3322 }
3323 Py_INCREF(Py_None); resultobj = Py_None;
3324 return resultobj;
3325 fail:
3326 return NULL;
3327}
3328
3329
3330static PyObject *_wrap_Rect_SetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
3331 PyObject *resultobj;
3332 wxRect *arg1 = (wxRect *) 0 ;
3333 int arg2 ;
3334 PyObject * obj0 = 0 ;
3335 char *kwnames[] = {
3336 (char *) "self",(char *) "bottom", NULL
3337 };
3338
3339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetBottom",kwnames,&obj0,&arg2)) goto fail;
3340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3341 {
3342 PyThreadState* __tstate = wxPyBeginAllowThreads();
3343 (arg1)->SetBottom(arg2);
3344
3345 wxPyEndAllowThreads(__tstate);
3346 if (PyErr_Occurred()) SWIG_fail;
3347 }
3348 Py_INCREF(Py_None); resultobj = Py_None;
3349 return resultobj;
3350 fail:
3351 return NULL;
3352}
3353
3354
3355static PyObject *_wrap_Rect_Inflate(PyObject *self, PyObject *args, PyObject *kwargs) {
3356 PyObject *resultobj;
3357 wxRect *arg1 = (wxRect *) 0 ;
423f194a
RD
3358 int arg2 ;
3359 int arg3 ;
d14a1e28
RD
3360 wxRect *result;
3361 PyObject * obj0 = 0 ;
3362 char *kwnames[] = {
3363 (char *) "self",(char *) "dx",(char *) "dy", NULL
3364 };
3365
3366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Rect_Inflate",kwnames,&obj0,&arg2,&arg3)) goto fail;
3367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3368 {
3369 PyThreadState* __tstate = wxPyBeginAllowThreads();
3370 {
3371 wxRect &_result_ref = (arg1)->Inflate(arg2,arg3);
3372 result = (wxRect *) &_result_ref;
3373 }
3374
3375 wxPyEndAllowThreads(__tstate);
3376 if (PyErr_Occurred()) SWIG_fail;
3377 }
3378 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3379 return resultobj;
3380 fail:
3381 return NULL;
3382}
3383
3384
3385static PyObject *_wrap_Rect_Deflate(PyObject *self, PyObject *args, PyObject *kwargs) {
3386 PyObject *resultobj;
3387 wxRect *arg1 = (wxRect *) 0 ;
423f194a
RD
3388 int arg2 ;
3389 int arg3 ;
d14a1e28
RD
3390 wxRect *result;
3391 PyObject * obj0 = 0 ;
3392 char *kwnames[] = {
3393 (char *) "self",(char *) "dx",(char *) "dy", NULL
3394 };
3395
3396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Rect_Deflate",kwnames,&obj0,&arg2,&arg3)) goto fail;
3397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3398 {
3399 PyThreadState* __tstate = wxPyBeginAllowThreads();
3400 {
3401 wxRect &_result_ref = (arg1)->Deflate(arg2,arg3);
3402 result = (wxRect *) &_result_ref;
3403 }
3404
3405 wxPyEndAllowThreads(__tstate);
3406 if (PyErr_Occurred()) SWIG_fail;
3407 }
3408 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3409 return resultobj;
3410 fail:
3411 return NULL;
3412}
3413
3414
3415static PyObject *_wrap_Rect_OffsetXY(PyObject *self, PyObject *args, PyObject *kwargs) {
3416 PyObject *resultobj;
3417 wxRect *arg1 = (wxRect *) 0 ;
423f194a
RD
3418 int arg2 ;
3419 int arg3 ;
d14a1e28
RD
3420 PyObject * obj0 = 0 ;
3421 char *kwnames[] = {
3422 (char *) "self",(char *) "dx",(char *) "dy", NULL
3423 };
3424
3425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Rect_OffsetXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
3426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3427 {
3428 PyThreadState* __tstate = wxPyBeginAllowThreads();
3429 (arg1)->Offset(arg2,arg3);
3430
3431 wxPyEndAllowThreads(__tstate);
3432 if (PyErr_Occurred()) SWIG_fail;
3433 }
3434 Py_INCREF(Py_None); resultobj = Py_None;
3435 return resultobj;
3436 fail:
3437 return NULL;
3438}
3439
3440
3441static PyObject *_wrap_Rect_Offset(PyObject *self, PyObject *args, PyObject *kwargs) {
3442 PyObject *resultobj;
3443 wxRect *arg1 = (wxRect *) 0 ;
3444 wxPoint *arg2 = 0 ;
3445 wxPoint temp2 ;
3446 PyObject * obj0 = 0 ;
3447 PyObject * obj1 = 0 ;
3448 char *kwnames[] = {
3449 (char *) "self",(char *) "pt", NULL
3450 };
3451
3452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Offset",kwnames,&obj0,&obj1)) goto fail;
3453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3454 {
3455 arg2 = &temp2;
3456 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3457 }
3458 {
3459 PyThreadState* __tstate = wxPyBeginAllowThreads();
3460 (arg1)->Offset((wxPoint const &)*arg2);
3461
3462 wxPyEndAllowThreads(__tstate);
3463 if (PyErr_Occurred()) SWIG_fail;
3464 }
3465 Py_INCREF(Py_None); resultobj = Py_None;
3466 return resultobj;
3467 fail:
3468 return NULL;
3469}
3470
3471
3472static PyObject *_wrap_Rect_Intersect(PyObject *self, PyObject *args, PyObject *kwargs) {
3473 PyObject *resultobj;
3474 wxRect *arg1 = (wxRect *) 0 ;
3475 wxRect *arg2 = 0 ;
3476 wxRect *result;
3477 wxRect temp2 ;
3478 PyObject * obj0 = 0 ;
3479 PyObject * obj1 = 0 ;
3480 char *kwnames[] = {
3481 (char *) "self",(char *) "rect", NULL
3482 };
3483
3484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersect",kwnames,&obj0,&obj1)) goto fail;
3485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3486 {
3487 arg2 = &temp2;
3488 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3489 }
3490 {
3491 PyThreadState* __tstate = wxPyBeginAllowThreads();
3492 {
3493 wxRect &_result_ref = (arg1)->Intersect((wxRect const &)*arg2);
3494 result = (wxRect *) &_result_ref;
3495 }
3496
3497 wxPyEndAllowThreads(__tstate);
3498 if (PyErr_Occurred()) SWIG_fail;
3499 }
3500 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3501 return resultobj;
3502 fail:
3503 return NULL;
3504}
3505
3506
3507static PyObject *_wrap_Rect___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
3508 PyObject *resultobj;
3509 wxRect *arg1 = (wxRect *) 0 ;
3510 wxRect *arg2 = 0 ;
3511 wxRect result;
3512 wxRect temp2 ;
3513 PyObject * obj0 = 0 ;
3514 PyObject * obj1 = 0 ;
3515 char *kwnames[] = {
3516 (char *) "self",(char *) "rect", NULL
3517 };
3518
3519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___add__",kwnames,&obj0,&obj1)) goto fail;
3520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3521 {
3522 arg2 = &temp2;
3523 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3524 }
3525 {
3526 PyThreadState* __tstate = wxPyBeginAllowThreads();
3527 result = ((wxRect const *)arg1)->operator +((wxRect const &)*arg2);
3528
3529 wxPyEndAllowThreads(__tstate);
3530 if (PyErr_Occurred()) SWIG_fail;
3531 }
3532 {
3533 wxRect * resultptr;
3534 resultptr = new wxRect((wxRect &) result);
3535 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
3536 }
3537 return resultobj;
3538 fail:
3539 return NULL;
3540}
3541
3542
3543static PyObject *_wrap_Rect___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
3544 PyObject *resultobj;
3545 wxRect *arg1 = (wxRect *) 0 ;
3546 wxRect *arg2 = 0 ;
3547 wxRect *result;
3548 wxRect temp2 ;
3549 PyObject * obj0 = 0 ;
3550 PyObject * obj1 = 0 ;
3551 char *kwnames[] = {
3552 (char *) "self",(char *) "rect", NULL
3553 };
3554
3555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___iadd__",kwnames,&obj0,&obj1)) goto fail;
3556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3557 {
3558 arg2 = &temp2;
3559 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3560 }
3561 {
3562 PyThreadState* __tstate = wxPyBeginAllowThreads();
3563 {
3564 wxRect &_result_ref = (arg1)->operator +=((wxRect const &)*arg2);
3565 result = (wxRect *) &_result_ref;
3566 }
3567
3568 wxPyEndAllowThreads(__tstate);
3569 if (PyErr_Occurred()) SWIG_fail;
3570 }
3571 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3572 return resultobj;
3573 fail:
3574 return NULL;
3575}
3576
3577
3578static PyObject *_wrap_Rect___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
3579 PyObject *resultobj;
3580 wxRect *arg1 = (wxRect *) 0 ;
3581 wxRect *arg2 = 0 ;
3582 bool result;
3583 wxRect temp2 ;
3584 PyObject * obj0 = 0 ;
3585 PyObject * obj1 = 0 ;
3586 char *kwnames[] = {
3587 (char *) "self",(char *) "rect", NULL
3588 };
3589
3590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___eq__",kwnames,&obj0,&obj1)) goto fail;
3591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3592 {
3593 arg2 = &temp2;
3594 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3595 }
3596 {
3597 PyThreadState* __tstate = wxPyBeginAllowThreads();
3598 result = (bool)((wxRect const *)arg1)->operator ==((wxRect const &)*arg2);
3599
3600 wxPyEndAllowThreads(__tstate);
3601 if (PyErr_Occurred()) SWIG_fail;
3602 }
3603 resultobj = PyInt_FromLong((long)result);
3604 return resultobj;
3605 fail:
3606 return NULL;
3607}
3608
3609
3610static PyObject *_wrap_Rect___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
3611 PyObject *resultobj;
3612 wxRect *arg1 = (wxRect *) 0 ;
3613 wxRect *arg2 = 0 ;
3614 bool result;
3615 wxRect temp2 ;
3616 PyObject * obj0 = 0 ;
3617 PyObject * obj1 = 0 ;
3618 char *kwnames[] = {
3619 (char *) "self",(char *) "rect", NULL
3620 };
3621
3622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___ne__",kwnames,&obj0,&obj1)) goto fail;
3623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3624 {
3625 arg2 = &temp2;
3626 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3627 }
3628 {
3629 PyThreadState* __tstate = wxPyBeginAllowThreads();
3630 result = (bool)((wxRect const *)arg1)->operator !=((wxRect const &)*arg2);
3631
3632 wxPyEndAllowThreads(__tstate);
3633 if (PyErr_Occurred()) SWIG_fail;
3634 }
3635 resultobj = PyInt_FromLong((long)result);
3636 return resultobj;
3637 fail:
3638 return NULL;
3639}
3640
3641
3642static PyObject *_wrap_Rect_InsideXY(PyObject *self, PyObject *args, PyObject *kwargs) {
3643 PyObject *resultobj;
3644 wxRect *arg1 = (wxRect *) 0 ;
3645 int arg2 ;
3646 int arg3 ;
3647 bool result;
3648 PyObject * obj0 = 0 ;
3649 char *kwnames[] = {
3650 (char *) "self",(char *) "x",(char *) "y", NULL
3651 };
3652
3653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Rect_InsideXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
3654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3655 {
3656 PyThreadState* __tstate = wxPyBeginAllowThreads();
3657 result = (bool)((wxRect const *)arg1)->Inside(arg2,arg3);
3658
3659 wxPyEndAllowThreads(__tstate);
3660 if (PyErr_Occurred()) SWIG_fail;
3661 }
3662 resultobj = PyInt_FromLong((long)result);
3663 return resultobj;
3664 fail:
3665 return NULL;
3666}
3667
3668
3669static PyObject *_wrap_Rect_Inside(PyObject *self, PyObject *args, PyObject *kwargs) {
3670 PyObject *resultobj;
3671 wxRect *arg1 = (wxRect *) 0 ;
3672 wxPoint *arg2 = 0 ;
3673 bool result;
3674 wxPoint temp2 ;
3675 PyObject * obj0 = 0 ;
3676 PyObject * obj1 = 0 ;
3677 char *kwnames[] = {
3678 (char *) "self",(char *) "pt", NULL
3679 };
3680
3681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) goto fail;
3682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3683 {
3684 arg2 = &temp2;
3685 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3686 }
3687 {
3688 PyThreadState* __tstate = wxPyBeginAllowThreads();
3689 result = (bool)((wxRect const *)arg1)->Inside((wxPoint const &)*arg2);
3690
3691 wxPyEndAllowThreads(__tstate);
3692 if (PyErr_Occurred()) SWIG_fail;
3693 }
3694 resultobj = PyInt_FromLong((long)result);
3695 return resultobj;
3696 fail:
3697 return NULL;
3698}
3699
3700
3701static PyObject *_wrap_Rect_Intersects(PyObject *self, PyObject *args, PyObject *kwargs) {
3702 PyObject *resultobj;
3703 wxRect *arg1 = (wxRect *) 0 ;
3704 wxRect *arg2 = 0 ;
3705 bool result;
3706 wxRect temp2 ;
3707 PyObject * obj0 = 0 ;
3708 PyObject * obj1 = 0 ;
3709 char *kwnames[] = {
3710 (char *) "self",(char *) "rect", NULL
3711 };
3712
3713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersects",kwnames,&obj0,&obj1)) goto fail;
3714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3715 {
3716 arg2 = &temp2;
3717 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3718 }
3719 {
3720 PyThreadState* __tstate = wxPyBeginAllowThreads();
3721 result = (bool)((wxRect const *)arg1)->Intersects((wxRect const &)*arg2);
3722
3723 wxPyEndAllowThreads(__tstate);
3724 if (PyErr_Occurred()) SWIG_fail;
3725 }
3726 resultobj = PyInt_FromLong((long)result);
3727 return resultobj;
3728 fail:
3729 return NULL;
3730}
3731
3732
3733static PyObject *_wrap_Rect_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3734 PyObject *resultobj;
3735 wxRect *arg1 = (wxRect *) 0 ;
3736 int arg2 ;
3737 PyObject * obj0 = 0 ;
3738 char *kwnames[] = {
3739 (char *) "self",(char *) "x", NULL
3740 };
3741
3742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_x_set",kwnames,&obj0,&arg2)) goto fail;
3743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3744 if (arg1) (arg1)->x = arg2;
3745
3746 Py_INCREF(Py_None); resultobj = Py_None;
3747 return resultobj;
3748 fail:
3749 return NULL;
3750}
3751
3752
3753static PyObject *_wrap_Rect_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3754 PyObject *resultobj;
3755 wxRect *arg1 = (wxRect *) 0 ;
3756 int result;
3757 PyObject * obj0 = 0 ;
3758 char *kwnames[] = {
3759 (char *) "self", NULL
3760 };
3761
3762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_x_get",kwnames,&obj0)) goto fail;
3763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3764 result = (int) ((arg1)->x);
3765
3766 resultobj = PyInt_FromLong((long)result);
3767 return resultobj;
3768 fail:
3769 return NULL;
3770}
3771
3772
3773static PyObject *_wrap_Rect_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3774 PyObject *resultobj;
3775 wxRect *arg1 = (wxRect *) 0 ;
3776 int arg2 ;
3777 PyObject * obj0 = 0 ;
3778 char *kwnames[] = {
3779 (char *) "self",(char *) "y", NULL
3780 };
3781
3782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_y_set",kwnames,&obj0,&arg2)) goto fail;
3783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3784 if (arg1) (arg1)->y = arg2;
3785
3786 Py_INCREF(Py_None); resultobj = Py_None;
3787 return resultobj;
3788 fail:
3789 return NULL;
3790}
3791
3792
3793static PyObject *_wrap_Rect_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3794 PyObject *resultobj;
3795 wxRect *arg1 = (wxRect *) 0 ;
3796 int result;
3797 PyObject * obj0 = 0 ;
3798 char *kwnames[] = {
3799 (char *) "self", NULL
3800 };
3801
3802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_y_get",kwnames,&obj0)) goto fail;
3803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3804 result = (int) ((arg1)->y);
3805
3806 resultobj = PyInt_FromLong((long)result);
3807 return resultobj;
3808 fail:
3809 return NULL;
3810}
3811
3812
3813static PyObject *_wrap_Rect_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3814 PyObject *resultobj;
3815 wxRect *arg1 = (wxRect *) 0 ;
3816 int arg2 ;
3817 PyObject * obj0 = 0 ;
3818 char *kwnames[] = {
3819 (char *) "self",(char *) "width", NULL
3820 };
3821
3822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_width_set",kwnames,&obj0,&arg2)) goto fail;
3823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3824 if (arg1) (arg1)->width = arg2;
3825
3826 Py_INCREF(Py_None); resultobj = Py_None;
3827 return resultobj;
3828 fail:
3829 return NULL;
3830}
3831
3832
3833static PyObject *_wrap_Rect_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3834 PyObject *resultobj;
3835 wxRect *arg1 = (wxRect *) 0 ;
3836 int result;
3837 PyObject * obj0 = 0 ;
3838 char *kwnames[] = {
3839 (char *) "self", NULL
3840 };
3841
3842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_width_get",kwnames,&obj0)) goto fail;
3843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3844 result = (int) ((arg1)->width);
3845
3846 resultobj = PyInt_FromLong((long)result);
3847 return resultobj;
3848 fail:
3849 return NULL;
3850}
3851
3852
3853static PyObject *_wrap_Rect_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3854 PyObject *resultobj;
3855 wxRect *arg1 = (wxRect *) 0 ;
3856 int arg2 ;
3857 PyObject * obj0 = 0 ;
3858 char *kwnames[] = {
3859 (char *) "self",(char *) "height", NULL
3860 };
3861
3862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_height_set",kwnames,&obj0,&arg2)) goto fail;
3863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3864 if (arg1) (arg1)->height = arg2;
3865
3866 Py_INCREF(Py_None); resultobj = Py_None;
3867 return resultobj;
3868 fail:
3869 return NULL;
3870}
3871
3872
3873static PyObject *_wrap_Rect_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3874 PyObject *resultobj;
3875 wxRect *arg1 = (wxRect *) 0 ;
3876 int result;
3877 PyObject * obj0 = 0 ;
3878 char *kwnames[] = {
3879 (char *) "self", NULL
3880 };
3881
3882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_height_get",kwnames,&obj0)) goto fail;
3883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3884 result = (int) ((arg1)->height);
3885
3886 resultobj = PyInt_FromLong((long)result);
3887 return resultobj;
3888 fail:
3889 return NULL;
3890}
3891
3892
3893static PyObject *_wrap_Rect_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
3894 PyObject *resultobj;
3895 wxRect *arg1 = (wxRect *) 0 ;
3896 int arg2 = (int) 0 ;
3897 int arg3 = (int) 0 ;
3898 int arg4 = (int) 0 ;
3899 int arg5 = (int) 0 ;
3900 PyObject * obj0 = 0 ;
3901 char *kwnames[] = {
3902 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3903 };
3904
3905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iiii:Rect_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
3906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3907 {
3908 PyThreadState* __tstate = wxPyBeginAllowThreads();
3909 wxRect_Set(arg1,arg2,arg3,arg4,arg5);
3910
3911 wxPyEndAllowThreads(__tstate);
3912 if (PyErr_Occurred()) SWIG_fail;
3913 }
3914 Py_INCREF(Py_None); resultobj = Py_None;
3915 return resultobj;
3916 fail:
3917 return NULL;
3918}
3919
3920
423f194a 3921static PyObject *_wrap_Rect_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3922 PyObject *resultobj;
3923 wxRect *arg1 = (wxRect *) 0 ;
3924 PyObject *result;
3925 PyObject * obj0 = 0 ;
3926 char *kwnames[] = {
3927 (char *) "self", NULL
3928 };
3929
423f194a 3930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
3931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3932 {
3933 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 3934 result = (PyObject *)wxRect_Get(arg1);
d14a1e28
RD
3935
3936 wxPyEndAllowThreads(__tstate);
3937 if (PyErr_Occurred()) SWIG_fail;
3938 }
3939 resultobj = result;
3940 return resultobj;
3941 fail:
3942 return NULL;
3943}
3944
3945
3946static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
3947 PyObject *obj;
3948 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3949 SWIG_TypeClientData(SWIGTYPE_p_wxRect, obj);
3950 Py_INCREF(obj);
3951 return Py_BuildValue((char *)"");
3952}
3953static PyObject *_wrap_IntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3954 PyObject *resultobj;
3955 wxRect *arg1 = (wxRect *) 0 ;
3956 wxRect *arg2 = (wxRect *) 0 ;
3957 PyObject *result;
3958 PyObject * obj0 = 0 ;
3959 PyObject * obj1 = 0 ;
3960 char *kwnames[] = {
3961 (char *) "r1",(char *) "r2", NULL
3962 };
3963
3964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IntersectRect",kwnames,&obj0,&obj1)) goto fail;
3965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3966 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3967 {
3968 PyThreadState* __tstate = wxPyBeginAllowThreads();
3969 result = (PyObject *)wxIntersectRect(arg1,arg2);
3970
3971 wxPyEndAllowThreads(__tstate);
3972 if (PyErr_Occurred()) SWIG_fail;
3973 }
3974 resultobj = result;
3975 return resultobj;
3976 fail:
3977 return NULL;
3978}
3979
3980
3981static PyObject *_wrap_new_Point2D(PyObject *self, PyObject *args, PyObject *kwargs) {
3982 PyObject *resultobj;
3983 double arg1 = (double) 0.0 ;
3984 double arg2 = (double) 0.0 ;
3985 wxPoint2D *result;
3986 char *kwnames[] = {
3987 (char *) "x",(char *) "y", NULL
3988 };
3989
3990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_Point2D",kwnames,&arg1,&arg2)) goto fail;
3991 {
3992 PyThreadState* __tstate = wxPyBeginAllowThreads();
3993 result = (wxPoint2D *)new wxPoint2D(arg1,arg2);
3994
3995 wxPyEndAllowThreads(__tstate);
3996 if (PyErr_Occurred()) SWIG_fail;
3997 }
3998 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 1);
3999 return resultobj;
4000 fail:
4001 return NULL;
4002}
4003
4004
4005static PyObject *_wrap_new_Point2DCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
4006 PyObject *resultobj;
4007 wxPoint2D *arg1 = 0 ;
4008 wxPoint2D *result;
4009 wxPoint2D temp1 ;
4010 PyObject * obj0 = 0 ;
4011 char *kwnames[] = {
4012 (char *) "pt", NULL
4013 };
4014
4015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DCopy",kwnames,&obj0)) goto fail;
4016 {
4017 arg1 = &temp1;
4018 if ( ! wxPoint2D_helper(obj0, &arg1)) SWIG_fail;
4019 }
4020 {
4021 PyThreadState* __tstate = wxPyBeginAllowThreads();
4022 result = (wxPoint2D *)new wxPoint2D((wxPoint2D const &)*arg1);
4023
4024 wxPyEndAllowThreads(__tstate);
4025 if (PyErr_Occurred()) SWIG_fail;
4026 }
4027 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 1);
4028 return resultobj;
4029 fail:
4030 return NULL;
4031}
4032
4033
4034static PyObject *_wrap_new_Point2DFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4035 PyObject *resultobj;
4036 wxPoint *arg1 = 0 ;
4037 wxPoint2D *result;
4038 wxPoint temp1 ;
4039 PyObject * obj0 = 0 ;
4040 char *kwnames[] = {
4041 (char *) "pt", NULL
4042 };
4043
4044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DFromPoint",kwnames,&obj0)) goto fail;
4045 {
4046 arg1 = &temp1;
4047 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4048 }
4049 {
4050 PyThreadState* __tstate = wxPyBeginAllowThreads();
4051 result = (wxPoint2D *)new wxPoint2D((wxPoint const &)*arg1);
4052
4053 wxPyEndAllowThreads(__tstate);
4054 if (PyErr_Occurred()) SWIG_fail;
4055 }
4056 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 1);
4057 return resultobj;
4058 fail:
4059 return NULL;
4060}
4061
4062
4063static PyObject *_wrap_Point2D_GetFloor(PyObject *self, PyObject *args, PyObject *kwargs) {
4064 PyObject *resultobj;
4065 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4066 int *arg2 = (int *) 0 ;
4067 int *arg3 = (int *) 0 ;
4068 int temp2 ;
4069 int temp3 ;
4070 PyObject * obj0 = 0 ;
4071 char *kwnames[] = {
4072 (char *) "self", NULL
4073 };
4074
4075 arg2 = &temp2;
4076 arg3 = &temp3;
4077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetFloor",kwnames,&obj0)) goto fail;
4078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4079 {
4080 PyThreadState* __tstate = wxPyBeginAllowThreads();
4081 ((wxPoint2D const *)arg1)->GetFloor(arg2,arg3);
4082
4083 wxPyEndAllowThreads(__tstate);
4084 if (PyErr_Occurred()) SWIG_fail;
4085 }
4086 Py_INCREF(Py_None); resultobj = Py_None;
4087 {
4088 PyObject *o = PyInt_FromLong((long) (*arg2));
4089 resultobj = t_output_helper(resultobj,o);
4090 }
4091 {
4092 PyObject *o = PyInt_FromLong((long) (*arg3));
4093 resultobj = t_output_helper(resultobj,o);
4094 }
4095 return resultobj;
4096 fail:
4097 return NULL;
4098}
4099
4100
4101static PyObject *_wrap_Point2D_GetRounded(PyObject *self, PyObject *args, PyObject *kwargs) {
4102 PyObject *resultobj;
4103 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4104 int *arg2 = (int *) 0 ;
4105 int *arg3 = (int *) 0 ;
4106 int temp2 ;
4107 int temp3 ;
4108 PyObject * obj0 = 0 ;
4109 char *kwnames[] = {
4110 (char *) "self", NULL
4111 };
4112
4113 arg2 = &temp2;
4114 arg3 = &temp3;
4115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetRounded",kwnames,&obj0)) goto fail;
4116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4117 {
4118 PyThreadState* __tstate = wxPyBeginAllowThreads();
4119 ((wxPoint2D const *)arg1)->GetRounded(arg2,arg3);
4120
4121 wxPyEndAllowThreads(__tstate);
4122 if (PyErr_Occurred()) SWIG_fail;
4123 }
4124 Py_INCREF(Py_None); resultobj = Py_None;
4125 {
4126 PyObject *o = PyInt_FromLong((long) (*arg2));
4127 resultobj = t_output_helper(resultobj,o);
4128 }
4129 {
4130 PyObject *o = PyInt_FromLong((long) (*arg3));
4131 resultobj = t_output_helper(resultobj,o);
4132 }
4133 return resultobj;
4134 fail:
4135 return NULL;
4136}
4137
4138
4139static PyObject *_wrap_Point2D_GetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
4140 PyObject *resultobj;
4141 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4142 double result;
4143 PyObject * obj0 = 0 ;
4144 char *kwnames[] = {
4145 (char *) "self", NULL
4146 };
4147
4148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorLength",kwnames,&obj0)) goto fail;
4149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4150 {
4151 PyThreadState* __tstate = wxPyBeginAllowThreads();
4152 result = (double)((wxPoint2D const *)arg1)->GetVectorLength();
4153
4154 wxPyEndAllowThreads(__tstate);
4155 if (PyErr_Occurred()) SWIG_fail;
4156 }
4157 resultobj = PyFloat_FromDouble(result);
4158 return resultobj;
4159 fail:
4160 return NULL;
4161}
4162
4163
4164static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
4165 PyObject *resultobj;
4166 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4167 double result;
4168 PyObject * obj0 = 0 ;
4169 char *kwnames[] = {
4170 (char *) "self", NULL
4171 };
4172
4173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorAngle",kwnames,&obj0)) goto fail;
4174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4175 {
4176 PyThreadState* __tstate = wxPyBeginAllowThreads();
4177 result = (double)((wxPoint2D const *)arg1)->GetVectorAngle();
4178
4179 wxPyEndAllowThreads(__tstate);
4180 if (PyErr_Occurred()) SWIG_fail;
4181 }
4182 resultobj = PyFloat_FromDouble(result);
4183 return resultobj;
4184 fail:
4185 return NULL;
4186}
4187
4188
4189static PyObject *_wrap_Point2D_SetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
4190 PyObject *resultobj;
4191 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4192 double arg2 ;
4193 PyObject * obj0 = 0 ;
4194 char *kwnames[] = {
4195 (char *) "self",(char *) "length", NULL
4196 };
4197
4198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_SetVectorLength",kwnames,&obj0,&arg2)) goto fail;
4199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4200 {
4201 PyThreadState* __tstate = wxPyBeginAllowThreads();
4202 (arg1)->SetVectorLength(arg2);
4203
4204 wxPyEndAllowThreads(__tstate);
4205 if (PyErr_Occurred()) SWIG_fail;
4206 }
4207 Py_INCREF(Py_None); resultobj = Py_None;
4208 return resultobj;
4209 fail:
4210 return NULL;
4211}
4212
4213
4214static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
4215 PyObject *resultobj;
4216 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4217 double arg2 ;
4218 PyObject * obj0 = 0 ;
4219 char *kwnames[] = {
4220 (char *) "self",(char *) "degrees", NULL
4221 };
4222
4223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_SetVectorAngle",kwnames,&obj0,&arg2)) goto fail;
4224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4225 {
4226 PyThreadState* __tstate = wxPyBeginAllowThreads();
4227 (arg1)->SetVectorAngle(arg2);
4228
4229 wxPyEndAllowThreads(__tstate);
4230 if (PyErr_Occurred()) SWIG_fail;
4231 }
4232 Py_INCREF(Py_None); resultobj = Py_None;
4233 return resultobj;
4234 fail:
4235 return NULL;
4236}
4237
4238
4239static PyObject *_wrap_Point2D_GetDistance(PyObject *self, PyObject *args, PyObject *kwargs) {
4240 PyObject *resultobj;
4241 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4242 wxPoint2D *arg2 = 0 ;
4243 double result;
4244 wxPoint2D temp2 ;
4245 PyObject * obj0 = 0 ;
4246 PyObject * obj1 = 0 ;
4247 char *kwnames[] = {
4248 (char *) "self",(char *) "pt", NULL
4249 };
4250
4251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistance",kwnames,&obj0,&obj1)) goto fail;
4252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4253 {
4254 arg2 = &temp2;
4255 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4256 }
4257 {
4258 PyThreadState* __tstate = wxPyBeginAllowThreads();
4259 result = (double)((wxPoint2D const *)arg1)->GetDistance((wxPoint2D const &)*arg2);
4260
4261 wxPyEndAllowThreads(__tstate);
4262 if (PyErr_Occurred()) SWIG_fail;
4263 }
4264 resultobj = PyFloat_FromDouble(result);
4265 return resultobj;
4266 fail:
4267 return NULL;
4268}
4269
4270
4271static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *self, PyObject *args, PyObject *kwargs) {
4272 PyObject *resultobj;
4273 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4274 wxPoint2D *arg2 = 0 ;
4275 double result;
4276 wxPoint2D temp2 ;
4277 PyObject * obj0 = 0 ;
4278 PyObject * obj1 = 0 ;
4279 char *kwnames[] = {
4280 (char *) "self",(char *) "pt", NULL
4281 };
4282
4283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistanceSquare",kwnames,&obj0,&obj1)) goto fail;
4284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4285 {
4286 arg2 = &temp2;
4287 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4288 }
4289 {
4290 PyThreadState* __tstate = wxPyBeginAllowThreads();
4291 result = (double)((wxPoint2D const *)arg1)->GetDistanceSquare((wxPoint2D const &)*arg2);
4292
4293 wxPyEndAllowThreads(__tstate);
4294 if (PyErr_Occurred()) SWIG_fail;
4295 }
4296 resultobj = PyFloat_FromDouble(result);
4297 return resultobj;
4298 fail:
4299 return NULL;
4300}
4301
4302
4303static PyObject *_wrap_Point2D_GetDotProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
4304 PyObject *resultobj;
4305 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4306 wxPoint2D *arg2 = 0 ;
4307 double result;
4308 wxPoint2D temp2 ;
4309 PyObject * obj0 = 0 ;
4310 PyObject * obj1 = 0 ;
4311 char *kwnames[] = {
4312 (char *) "self",(char *) "vec", NULL
4313 };
4314
4315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDotProduct",kwnames,&obj0,&obj1)) goto fail;
4316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4317 {
4318 arg2 = &temp2;
4319 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4320 }
4321 {
4322 PyThreadState* __tstate = wxPyBeginAllowThreads();
4323 result = (double)((wxPoint2D const *)arg1)->GetDotProduct((wxPoint2D const &)*arg2);
4324
4325 wxPyEndAllowThreads(__tstate);
4326 if (PyErr_Occurred()) SWIG_fail;
4327 }
4328 resultobj = PyFloat_FromDouble(result);
4329 return resultobj;
4330 fail:
4331 return NULL;
4332}
4333
4334
4335static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
4336 PyObject *resultobj;
4337 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4338 wxPoint2D *arg2 = 0 ;
4339 double result;
4340 wxPoint2D temp2 ;
4341 PyObject * obj0 = 0 ;
4342 PyObject * obj1 = 0 ;
4343 char *kwnames[] = {
4344 (char *) "self",(char *) "vec", NULL
4345 };
4346
4347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetCrossProduct",kwnames,&obj0,&obj1)) goto fail;
4348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4349 {
4350 arg2 = &temp2;
4351 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4352 }
4353 {
4354 PyThreadState* __tstate = wxPyBeginAllowThreads();
4355 result = (double)((wxPoint2D const *)arg1)->GetCrossProduct((wxPoint2D const &)*arg2);
4356
4357 wxPyEndAllowThreads(__tstate);
4358 if (PyErr_Occurred()) SWIG_fail;
4359 }
4360 resultobj = PyFloat_FromDouble(result);
4361 return resultobj;
4362 fail:
4363 return NULL;
4364}
4365
4366
4367static PyObject *_wrap_Point2D___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
4368 PyObject *resultobj;
4369 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4370 wxPoint2D result;
4371 PyObject * obj0 = 0 ;
4372 char *kwnames[] = {
4373 (char *) "self", NULL
4374 };
4375
4376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D___neg__",kwnames,&obj0)) goto fail;
4377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4378 {
4379 PyThreadState* __tstate = wxPyBeginAllowThreads();
4380 result = (arg1)->operator -();
4381
4382 wxPyEndAllowThreads(__tstate);
4383 if (PyErr_Occurred()) SWIG_fail;
4384 }
4385 {
4386 wxPoint2D * resultptr;
4387 resultptr = new wxPoint2D((wxPoint2D &) result);
4388 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint2D, 1);
4389 }
4390 return resultobj;
4391 fail:
4392 return NULL;
4393}
4394
4395
4396static PyObject *_wrap_Point2D___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
4397 PyObject *resultobj;
4398 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4399 wxPoint2D *arg2 = 0 ;
4400 wxPoint2D *result;
4401 wxPoint2D temp2 ;
4402 PyObject * obj0 = 0 ;
4403 PyObject * obj1 = 0 ;
4404 char *kwnames[] = {
4405 (char *) "self",(char *) "pt", NULL
4406 };
4407
4408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___iadd__",kwnames,&obj0,&obj1)) goto fail;
4409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4410 {
4411 arg2 = &temp2;
4412 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4413 }
4414 {
4415 PyThreadState* __tstate = wxPyBeginAllowThreads();
4416 {
4417 wxPoint2D &_result_ref = (arg1)->operator +=((wxPoint2D const &)*arg2);
4418 result = (wxPoint2D *) &_result_ref;
4419 }
4420
4421 wxPyEndAllowThreads(__tstate);
4422 if (PyErr_Occurred()) SWIG_fail;
4423 }
4424 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4425 return resultobj;
4426 fail:
4427 return NULL;
4428}
4429
4430
4431static PyObject *_wrap_Point2D___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
4432 PyObject *resultobj;
4433 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4434 wxPoint2D *arg2 = 0 ;
4435 wxPoint2D *result;
4436 wxPoint2D temp2 ;
4437 PyObject * obj0 = 0 ;
4438 PyObject * obj1 = 0 ;
4439 char *kwnames[] = {
4440 (char *) "self",(char *) "pt", NULL
4441 };
4442
4443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___isub__",kwnames,&obj0,&obj1)) goto fail;
4444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4445 {
4446 arg2 = &temp2;
4447 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4448 }
4449 {
4450 PyThreadState* __tstate = wxPyBeginAllowThreads();
4451 {
4452 wxPoint2D &_result_ref = (arg1)->operator -=((wxPoint2D const &)*arg2);
4453 result = (wxPoint2D *) &_result_ref;
4454 }
4455
4456 wxPyEndAllowThreads(__tstate);
4457 if (PyErr_Occurred()) SWIG_fail;
4458 }
4459 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4460 return resultobj;
4461 fail:
4462 return NULL;
4463}
4464
4465
4466static PyObject *_wrap_Point2D___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
4467 PyObject *resultobj;
4468 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4469 wxPoint2D *arg2 = 0 ;
4470 wxPoint2D *result;
4471 wxPoint2D temp2 ;
4472 PyObject * obj0 = 0 ;
4473 PyObject * obj1 = 0 ;
4474 char *kwnames[] = {
4475 (char *) "self",(char *) "pt", NULL
4476 };
4477
4478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___imul__",kwnames,&obj0,&obj1)) goto fail;
4479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4480 {
4481 arg2 = &temp2;
4482 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4483 }
4484 {
4485 PyThreadState* __tstate = wxPyBeginAllowThreads();
4486 {
4487 wxPoint2D &_result_ref = (arg1)->operator *=((wxPoint2D const &)*arg2);
4488 result = (wxPoint2D *) &_result_ref;
4489 }
4490
4491 wxPyEndAllowThreads(__tstate);
4492 if (PyErr_Occurred()) SWIG_fail;
4493 }
4494 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4495 return resultobj;
4496 fail:
4497 return NULL;
4498}
4499
4500
4501static PyObject *_wrap_Point2D___idiv__(PyObject *self, PyObject *args, PyObject *kwargs) {
4502 PyObject *resultobj;
4503 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4504 wxPoint2D *arg2 = 0 ;
4505 wxPoint2D *result;
4506 wxPoint2D temp2 ;
4507 PyObject * obj0 = 0 ;
4508 PyObject * obj1 = 0 ;
4509 char *kwnames[] = {
4510 (char *) "self",(char *) "pt", NULL
4511 };
4512
4513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___idiv__",kwnames,&obj0,&obj1)) goto fail;
4514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4515 {
4516 arg2 = &temp2;
4517 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4518 }
4519 {
4520 PyThreadState* __tstate = wxPyBeginAllowThreads();
4521 {
4522 wxPoint2D &_result_ref = (arg1)->operator /=((wxPoint2D const &)*arg2);
4523 result = (wxPoint2D *) &_result_ref;
4524 }
4525
4526 wxPyEndAllowThreads(__tstate);
4527 if (PyErr_Occurred()) SWIG_fail;
4528 }
4529 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4530 return resultobj;
4531 fail:
4532 return NULL;
4533}
4534
4535
4536static PyObject *_wrap_Point2D___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
4537 PyObject *resultobj;
4538 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4539 wxPoint2D *arg2 = 0 ;
4540 bool result;
4541 wxPoint2D temp2 ;
4542 PyObject * obj0 = 0 ;
4543 PyObject * obj1 = 0 ;
4544 char *kwnames[] = {
4545 (char *) "self",(char *) "pt", NULL
4546 };
4547
4548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___eq__",kwnames,&obj0,&obj1)) goto fail;
4549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4550 {
4551 arg2 = &temp2;
4552 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4553 }
4554 {
4555 PyThreadState* __tstate = wxPyBeginAllowThreads();
4556 result = (bool)((wxPoint2D const *)arg1)->operator ==((wxPoint2D const &)*arg2);
4557
4558 wxPyEndAllowThreads(__tstate);
4559 if (PyErr_Occurred()) SWIG_fail;
4560 }
4561 resultobj = PyInt_FromLong((long)result);
4562 return resultobj;
4563 fail:
4564 return NULL;
4565}
4566
4567
4568static PyObject *_wrap_Point2D___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
4569 PyObject *resultobj;
4570 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4571 wxPoint2D *arg2 = 0 ;
4572 bool result;
4573 wxPoint2D temp2 ;
4574 PyObject * obj0 = 0 ;
4575 PyObject * obj1 = 0 ;
4576 char *kwnames[] = {
4577 (char *) "self",(char *) "pt", NULL
4578 };
4579
4580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___ne__",kwnames,&obj0,&obj1)) goto fail;
4581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4582 {
4583 arg2 = &temp2;
4584 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4585 }
4586 {
4587 PyThreadState* __tstate = wxPyBeginAllowThreads();
4588 result = (bool)((wxPoint2D const *)arg1)->operator !=((wxPoint2D const &)*arg2);
4589
4590 wxPyEndAllowThreads(__tstate);
4591 if (PyErr_Occurred()) SWIG_fail;
4592 }
4593 resultobj = PyInt_FromLong((long)result);
4594 return resultobj;
4595 fail:
4596 return NULL;
4597}
4598
4599
d14a1e28
RD
4600static PyObject *_wrap_Point2D_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4601 PyObject *resultobj;
4602 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4603 double arg2 ;
4604 PyObject * obj0 = 0 ;
4605 char *kwnames[] = {
4606 (char *) "self",(char *) "m_x", NULL
4607 };
4608
4609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_x_set",kwnames,&obj0,&arg2)) goto fail;
4610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4611 if (arg1) (arg1)->m_x = arg2;
4612
4613 Py_INCREF(Py_None); resultobj = Py_None;
4614 return resultobj;
4615 fail:
4616 return NULL;
4617}
4618
4619
4620static PyObject *_wrap_Point2D_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4621 PyObject *resultobj;
4622 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4623 double result;
4624 PyObject * obj0 = 0 ;
4625 char *kwnames[] = {
4626 (char *) "self", NULL
4627 };
4628
4629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_x_get",kwnames,&obj0)) goto fail;
4630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4631 result = (double) ((arg1)->m_x);
4632
4633 resultobj = PyFloat_FromDouble(result);
4634 return resultobj;
4635 fail:
4636 return NULL;
4637}
4638
4639
4640static PyObject *_wrap_Point2D_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4641 PyObject *resultobj;
4642 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4643 double arg2 ;
4644 PyObject * obj0 = 0 ;
4645 char *kwnames[] = {
4646 (char *) "self",(char *) "m_y", NULL
4647 };
4648
4649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_y_set",kwnames,&obj0,&arg2)) goto fail;
4650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4651 if (arg1) (arg1)->m_y = arg2;
4652
4653 Py_INCREF(Py_None); resultobj = Py_None;
4654 return resultobj;
4655 fail:
4656 return NULL;
4657}
4658
4659
4660static PyObject *_wrap_Point2D_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4661 PyObject *resultobj;
4662 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4663 double result;
4664 PyObject * obj0 = 0 ;
4665 char *kwnames[] = {
4666 (char *) "self", NULL
4667 };
4668
4669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_y_get",kwnames,&obj0)) goto fail;
4670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4671 result = (double) ((arg1)->m_y);
4672
4673 resultobj = PyFloat_FromDouble(result);
4674 return resultobj;
4675 fail:
4676 return NULL;
4677}
4678
4679
4680static PyObject *_wrap_Point2D_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4681 PyObject *resultobj;
4682 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4683 double arg2 = (double) 0 ;
4684 double arg3 = (double) 0 ;
4685 PyObject * obj0 = 0 ;
4686 char *kwnames[] = {
4687 (char *) "self",(char *) "x",(char *) "y", NULL
4688 };
4689
4690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|dd:Point2D_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
4691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4692 {
4693 PyThreadState* __tstate = wxPyBeginAllowThreads();
4694 wxPoint2D_Set(arg1,arg2,arg3);
4695
4696 wxPyEndAllowThreads(__tstate);
4697 if (PyErr_Occurred()) SWIG_fail;
4698 }
4699 Py_INCREF(Py_None); resultobj = Py_None;
4700 return resultobj;
4701 fail:
4702 return NULL;
4703}
4704
4705
423f194a 4706static PyObject *_wrap_Point2D_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4707 PyObject *resultobj;
4708 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4709 PyObject *result;
4710 PyObject * obj0 = 0 ;
4711 char *kwnames[] = {
4712 (char *) "self", NULL
4713 };
4714
423f194a 4715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
4716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4717 {
4718 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 4719 result = (PyObject *)wxPoint2D_Get(arg1);
d14a1e28
RD
4720
4721 wxPyEndAllowThreads(__tstate);
4722 if (PyErr_Occurred()) SWIG_fail;
4723 }
4724 resultobj = result;
4725 return resultobj;
4726 fail:
4727 return NULL;
4728}
4729
4730
4731static PyObject * Point2D_swigregister(PyObject *self, PyObject *args) {
4732 PyObject *obj;
4733 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4734 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D, obj);
4735 Py_INCREF(obj);
4736 return Py_BuildValue((char *)"");
4737}
4738static int _wrap_DefaultPosition_set(PyObject *_val) {
4739 PyErr_SetString(PyExc_TypeError,"Variable DefaultPosition is read-only.");
4740 return 1;
4741}
4742
4743
4744static PyObject *_wrap_DefaultPosition_get() {
4745 PyObject *pyobj;
4746
4747 pyobj = SWIG_NewPointerObj((void *) &wxDefaultPosition, SWIGTYPE_p_wxPoint, 0);
4748 return pyobj;
4749}
4750
4751
4752static int _wrap_DefaultSize_set(PyObject *_val) {
4753 PyErr_SetString(PyExc_TypeError,"Variable DefaultSize is read-only.");
4754 return 1;
4755}
4756
4757
4758static PyObject *_wrap_DefaultSize_get() {
4759 PyObject *pyobj;
4760
4761 pyobj = SWIG_NewPointerObj((void *) &wxDefaultSize, SWIGTYPE_p_wxSize, 0);
4762 return pyobj;
4763}
4764
4765
4766static PyObject *_wrap_new_InputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
4767 PyObject *resultobj;
4768 PyObject *arg1 = (PyObject *) 0 ;
4769 wxPyInputStream *result;
4770 PyObject * obj0 = 0 ;
4771 char *kwnames[] = {
4772 (char *) "p", NULL
4773 };
4774
4775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_InputStream",kwnames,&obj0)) goto fail;
4776 arg1 = obj0;
4777 {
4778 PyThreadState* __tstate = wxPyBeginAllowThreads();
4779 result = (wxPyInputStream *)new_wxPyInputStream(arg1);
4780
4781 wxPyEndAllowThreads(__tstate);
4782 if (PyErr_Occurred()) SWIG_fail;
4783 }
4784 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyInputStream, 1);
4785 return resultobj;
4786 fail:
4787 return NULL;
4788}
4789
4790
4791static PyObject *_wrap_InputStream_close(PyObject *self, PyObject *args, PyObject *kwargs) {
4792 PyObject *resultobj;
4793 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4794 PyObject * obj0 = 0 ;
4795 char *kwnames[] = {
4796 (char *) "self", NULL
4797 };
4798
4799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_close",kwnames,&obj0)) goto fail;
4800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4801 {
4802 PyThreadState* __tstate = wxPyBeginAllowThreads();
4803 (arg1)->close();
4804
4805 wxPyEndAllowThreads(__tstate);
4806 if (PyErr_Occurred()) SWIG_fail;
4807 }
4808 Py_INCREF(Py_None); resultobj = Py_None;
4809 return resultobj;
4810 fail:
4811 return NULL;
4812}
4813
4814
4815static PyObject *_wrap_InputStream_flush(PyObject *self, PyObject *args, PyObject *kwargs) {
4816 PyObject *resultobj;
4817 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4818 PyObject * obj0 = 0 ;
4819 char *kwnames[] = {
4820 (char *) "self", NULL
4821 };
4822
4823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_flush",kwnames,&obj0)) goto fail;
4824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4825 {
4826 PyThreadState* __tstate = wxPyBeginAllowThreads();
4827 (arg1)->flush();
4828
4829 wxPyEndAllowThreads(__tstate);
4830 if (PyErr_Occurred()) SWIG_fail;
4831 }
4832 Py_INCREF(Py_None); resultobj = Py_None;
4833 return resultobj;
4834 fail:
4835 return NULL;
4836}
4837
4838
4839static PyObject *_wrap_InputStream_eof(PyObject *self, PyObject *args, PyObject *kwargs) {
4840 PyObject *resultobj;
4841 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4842 bool result;
4843 PyObject * obj0 = 0 ;
4844 char *kwnames[] = {
4845 (char *) "self", NULL
4846 };
4847
4848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_eof",kwnames,&obj0)) goto fail;
4849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4850 {
4851 PyThreadState* __tstate = wxPyBeginAllowThreads();
4852 result = (bool)(arg1)->eof();
4853
4854 wxPyEndAllowThreads(__tstate);
4855 if (PyErr_Occurred()) SWIG_fail;
4856 }
4857 resultobj = PyInt_FromLong((long)result);
4858 return resultobj;
4859 fail:
4860 return NULL;
4861}
4862
4863
4864static PyObject *_wrap_InputStream_read(PyObject *self, PyObject *args, PyObject *kwargs) {
4865 PyObject *resultobj;
4866 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4867 int arg2 = (int) -1 ;
4868 PyObject *result;
4869 PyObject * obj0 = 0 ;
4870 char *kwnames[] = {
4871 (char *) "self",(char *) "size", NULL
4872 };
4873
4874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:InputStream_read",kwnames,&obj0,&arg2)) goto fail;
4875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4876 {
4877 PyThreadState* __tstate = wxPyBeginAllowThreads();
4878 result = (PyObject *)(arg1)->read(arg2);
4879
4880 wxPyEndAllowThreads(__tstate);
4881 if (PyErr_Occurred()) SWIG_fail;
4882 }
4883 resultobj = result;
4884 return resultobj;
4885 fail:
4886 return NULL;
4887}
4888
4889
4890static PyObject *_wrap_InputStream_readline(PyObject *self, PyObject *args, PyObject *kwargs) {
4891 PyObject *resultobj;
4892 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4893 int arg2 = (int) -1 ;
4894 PyObject *result;
4895 PyObject * obj0 = 0 ;
4896 char *kwnames[] = {
4897 (char *) "self",(char *) "size", NULL
4898 };
4899
4900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:InputStream_readline",kwnames,&obj0,&arg2)) goto fail;
4901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4902 {
4903 PyThreadState* __tstate = wxPyBeginAllowThreads();
4904 result = (PyObject *)(arg1)->readline(arg2);
4905
4906 wxPyEndAllowThreads(__tstate);
4907 if (PyErr_Occurred()) SWIG_fail;
4908 }
4909 resultobj = result;
4910 return resultobj;
4911 fail:
4912 return NULL;
4913}
4914
4915
4916static PyObject *_wrap_InputStream_readlines(PyObject *self, PyObject *args, PyObject *kwargs) {
4917 PyObject *resultobj;
4918 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4919 int arg2 = (int) -1 ;
4920 PyObject *result;
4921 PyObject * obj0 = 0 ;
4922 char *kwnames[] = {
4923 (char *) "self",(char *) "sizehint", NULL
4924 };
4925
4926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:InputStream_readlines",kwnames,&obj0,&arg2)) goto fail;
4927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4928 {
4929 PyThreadState* __tstate = wxPyBeginAllowThreads();
4930 result = (PyObject *)(arg1)->readlines(arg2);
4931
4932 wxPyEndAllowThreads(__tstate);
4933 if (PyErr_Occurred()) SWIG_fail;
4934 }
4935 resultobj = result;
4936 return resultobj;
4937 fail:
4938 return NULL;
4939}
4940
4941
4942static PyObject *_wrap_InputStream_seek(PyObject *self, PyObject *args, PyObject *kwargs) {
4943 PyObject *resultobj;
4944 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4945 int arg2 ;
4946 int arg3 = (int) 0 ;
4947 PyObject * obj0 = 0 ;
4948 char *kwnames[] = {
4949 (char *) "self",(char *) "offset",(char *) "whence", NULL
4950 };
4951
4952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:InputStream_seek",kwnames,&obj0,&arg2,&arg3)) goto fail;
4953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4954 {
4955 PyThreadState* __tstate = wxPyBeginAllowThreads();
4956 (arg1)->seek(arg2,arg3);
4957
4958 wxPyEndAllowThreads(__tstate);
4959 if (PyErr_Occurred()) SWIG_fail;
4960 }
4961 Py_INCREF(Py_None); resultobj = Py_None;
4962 return resultobj;
4963 fail:
4964 return NULL;
4965}
4966
4967
4968static PyObject *_wrap_InputStream_tell(PyObject *self, PyObject *args, PyObject *kwargs) {
4969 PyObject *resultobj;
4970 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4971 int result;
4972 PyObject * obj0 = 0 ;
4973 char *kwnames[] = {
4974 (char *) "self", NULL
4975 };
4976
4977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_tell",kwnames,&obj0)) goto fail;
4978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4979 {
4980 PyThreadState* __tstate = wxPyBeginAllowThreads();
4981 result = (int)(arg1)->tell();
4982
4983 wxPyEndAllowThreads(__tstate);
4984 if (PyErr_Occurred()) SWIG_fail;
4985 }
4986 resultobj = PyInt_FromLong((long)result);
4987 return resultobj;
4988 fail:
4989 return NULL;
4990}
4991
4992
4993static PyObject *_wrap_InputStream_Peek(PyObject *self, PyObject *args, PyObject *kwargs) {
4994 PyObject *resultobj;
4995 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4996 char result;
4997 PyObject * obj0 = 0 ;
4998 char *kwnames[] = {
4999 (char *) "self", NULL
5000 };
5001
5002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Peek",kwnames,&obj0)) goto fail;
5003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5004 {
5005 PyThreadState* __tstate = wxPyBeginAllowThreads();
5006 result = (char)(arg1)->Peek();
5007
5008 wxPyEndAllowThreads(__tstate);
5009 if (PyErr_Occurred()) SWIG_fail;
5010 }
5011 resultobj = Py_BuildValue((char*)"c",result);
5012 return resultobj;
5013 fail:
5014 return NULL;
5015}
5016
5017
5018static PyObject *_wrap_InputStream_GetC(PyObject *self, PyObject *args, PyObject *kwargs) {
5019 PyObject *resultobj;
5020 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5021 char result;
5022 PyObject * obj0 = 0 ;
5023 char *kwnames[] = {
5024 (char *) "self", NULL
5025 };
5026
5027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_GetC",kwnames,&obj0)) goto fail;
5028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5029 {
5030 PyThreadState* __tstate = wxPyBeginAllowThreads();
5031 result = (char)(arg1)->GetC();
5032
5033 wxPyEndAllowThreads(__tstate);
5034 if (PyErr_Occurred()) SWIG_fail;
5035 }
5036 resultobj = Py_BuildValue((char*)"c",result);
5037 return resultobj;
5038 fail:
5039 return NULL;
5040}
5041
5042
5043static PyObject *_wrap_InputStream_LastRead(PyObject *self, PyObject *args, PyObject *kwargs) {
5044 PyObject *resultobj;
5045 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5046 size_t result;
5047 PyObject * obj0 = 0 ;
5048 char *kwnames[] = {
5049 (char *) "self", NULL
5050 };
5051
5052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_LastRead",kwnames,&obj0)) goto fail;
5053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5054 {
5055 PyThreadState* __tstate = wxPyBeginAllowThreads();
5056 result = (size_t)(arg1)->LastRead();
5057
5058 wxPyEndAllowThreads(__tstate);
5059 if (PyErr_Occurred()) SWIG_fail;
5060 }
5061 resultobj = PyInt_FromLong((long)result);
5062 return resultobj;
5063 fail:
5064 return NULL;
5065}
5066
5067
5068static PyObject *_wrap_InputStream_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
5069 PyObject *resultobj;
5070 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5071 bool result;
5072 PyObject * obj0 = 0 ;
5073 char *kwnames[] = {
5074 (char *) "self", NULL
5075 };
5076
5077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_CanRead",kwnames,&obj0)) goto fail;
5078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5079 {
5080 PyThreadState* __tstate = wxPyBeginAllowThreads();
5081 result = (bool)(arg1)->CanRead();
5082
5083 wxPyEndAllowThreads(__tstate);
5084 if (PyErr_Occurred()) SWIG_fail;
5085 }
5086 resultobj = PyInt_FromLong((long)result);
5087 return resultobj;
5088 fail:
5089 return NULL;
5090}
5091
5092
5093static PyObject *_wrap_InputStream_Eof(PyObject *self, PyObject *args, PyObject *kwargs) {
5094 PyObject *resultobj;
5095 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5096 bool result;
5097 PyObject * obj0 = 0 ;
5098 char *kwnames[] = {
5099 (char *) "self", NULL
5100 };
5101
5102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Eof",kwnames,&obj0)) goto fail;
5103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5104 {
5105 PyThreadState* __tstate = wxPyBeginAllowThreads();
5106 result = (bool)(arg1)->Eof();
5107
5108 wxPyEndAllowThreads(__tstate);
5109 if (PyErr_Occurred()) SWIG_fail;
5110 }
5111 resultobj = PyInt_FromLong((long)result);
5112 return resultobj;
5113 fail:
5114 return NULL;
5115}
5116
5117
5118static PyObject *_wrap_InputStream_Ungetch(PyObject *self, PyObject *args, PyObject *kwargs) {
5119 PyObject *resultobj;
5120 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5121 char arg2 ;
5122 bool result;
5123 PyObject * obj0 = 0 ;
5124 char *kwnames[] = {
5125 (char *) "self",(char *) "c", NULL
5126 };
5127
5128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oc:InputStream_Ungetch",kwnames,&obj0,&arg2)) goto fail;
5129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5130 {
5131 PyThreadState* __tstate = wxPyBeginAllowThreads();
5132 result = (bool)(arg1)->Ungetch(arg2);
5133
5134 wxPyEndAllowThreads(__tstate);
5135 if (PyErr_Occurred()) SWIG_fail;
5136 }
5137 resultobj = PyInt_FromLong((long)result);
5138 return resultobj;
5139 fail:
5140 return NULL;
5141}
5142
5143
5144static PyObject *_wrap_InputStream_SeekI(PyObject *self, PyObject *args, PyObject *kwargs) {
5145 PyObject *resultobj;
5146 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5147 long arg2 ;
5148 int arg3 = (int) wxFromStart ;
5149 long result;
5150 PyObject * obj0 = 0 ;
5151 char *kwnames[] = {
5152 (char *) "self",(char *) "pos",(char *) "mode", NULL
5153 };
5154
5155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:InputStream_SeekI",kwnames,&obj0,&arg2,&arg3)) goto fail;
5156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5157 {
5158 PyThreadState* __tstate = wxPyBeginAllowThreads();
5159 result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3);
5160
5161 wxPyEndAllowThreads(__tstate);
5162 if (PyErr_Occurred()) SWIG_fail;
5163 }
5164 resultobj = PyInt_FromLong((long)result);
5165 return resultobj;
5166 fail:
5167 return NULL;
5168}
5169
5170
5171static PyObject *_wrap_InputStream_TellI(PyObject *self, PyObject *args, PyObject *kwargs) {
5172 PyObject *resultobj;
5173 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5174 long result;
5175 PyObject * obj0 = 0 ;
5176 char *kwnames[] = {
5177 (char *) "self", NULL
5178 };
5179
5180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_TellI",kwnames,&obj0)) goto fail;
5181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5182 {
5183 PyThreadState* __tstate = wxPyBeginAllowThreads();
5184 result = (long)(arg1)->TellI();
5185
5186 wxPyEndAllowThreads(__tstate);
5187 if (PyErr_Occurred()) SWIG_fail;
5188 }
5189 resultobj = PyInt_FromLong((long)result);
5190 return resultobj;
5191 fail:
5192 return NULL;
5193}
5194
5195
5196static PyObject * InputStream_swigregister(PyObject *self, PyObject *args) {
5197 PyObject *obj;
5198 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5199 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream, obj);
5200 Py_INCREF(obj);
5201 return Py_BuildValue((char *)"");
5202}
5203static PyObject *_wrap_OutputStream_write(PyObject *self, PyObject *args, PyObject *kwargs) {
5204 PyObject *resultobj;
5205 wxOutputStream *arg1 = (wxOutputStream *) 0 ;
5206 PyObject *arg2 = (PyObject *) 0 ;
5207 PyObject * obj0 = 0 ;
5208 PyObject * obj1 = 0 ;
5209 char *kwnames[] = {
5210 (char *) "self",(char *) "obj", NULL
5211 };
5212
5213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:OutputStream_write",kwnames,&obj0,&obj1)) goto fail;
5214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOutputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5215 arg2 = obj1;
5216 {
5217 PyThreadState* __tstate = wxPyBeginAllowThreads();
5218 wxOutputStream_write(arg1,arg2);
5219
5220 wxPyEndAllowThreads(__tstate);
5221 if (PyErr_Occurred()) SWIG_fail;
5222 }
5223 Py_INCREF(Py_None); resultobj = Py_None;
5224 return resultobj;
5225 fail:
5226 return NULL;
5227}
5228
5229
5230static PyObject * OutputStream_swigregister(PyObject *self, PyObject *args) {
5231 PyObject *obj;
5232 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5233 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream, obj);
5234 Py_INCREF(obj);
5235 return Py_BuildValue((char *)"");
5236}
5237static PyObject *_wrap_new_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5238 PyObject *resultobj;
5239 wxInputStream *arg1 = (wxInputStream *) 0 ;
5240 wxString *arg2 = 0 ;
5241 wxString *arg3 = 0 ;
5242 wxString *arg4 = 0 ;
5243 wxDateTime arg5 ;
5244 wxFSFile *result;
5245 wxPyInputStream *temp1 ;
5246 bool created1 ;
423f194a
RD
5247 bool temp2 = False ;
5248 bool temp3 = False ;
5249 bool temp4 = False ;
d14a1e28
RD
5250 wxDateTime *argp5 ;
5251 PyObject * obj0 = 0 ;
5252 PyObject * obj1 = 0 ;
5253 PyObject * obj2 = 0 ;
5254 PyObject * obj3 = 0 ;
5255 PyObject * obj4 = 0 ;
5256 char *kwnames[] = {
5257 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
5258 };
5259
5260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_FSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5261 {
5262 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
5263 arg1 = temp1->m_wxis;
423f194a 5264 created1 = False;
d14a1e28
RD
5265 } else {
5266 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 5267 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
5268 if (arg1 == NULL) {
5269 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
5270 SWIG_fail;
5271 }
423f194a 5272 created1 = True;
d14a1e28
RD
5273 }
5274 }
5275 {
5276 arg2 = wxString_in_helper(obj1);
5277 if (arg2 == NULL) SWIG_fail;
423f194a 5278 temp2 = True;
d14a1e28
RD
5279 }
5280 {
5281 arg3 = wxString_in_helper(obj2);
5282 if (arg3 == NULL) SWIG_fail;
423f194a 5283 temp3 = True;
d14a1e28
RD
5284 }
5285 {
5286 arg4 = wxString_in_helper(obj3);
5287 if (arg4 == NULL) SWIG_fail;
423f194a 5288 temp4 = True;
d14a1e28
RD
5289 }
5290 if ((SWIG_ConvertPtr(obj4,(void **) &argp5, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5291 arg5 = *argp5;
5292 {
5293 PyThreadState* __tstate = wxPyBeginAllowThreads();
5294 result = (wxFSFile *)new wxFSFile(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
5295
5296 wxPyEndAllowThreads(__tstate);
5297 if (PyErr_Occurred()) SWIG_fail;
5298 }
5299 {
5300 resultobj = wxPyMake_wxObject(result);
5301 }
5302 {
5303 if (created1)
5304 delete arg1;
5305 }
5306 {
5307 if (temp2)
5308 delete arg2;
5309 }
5310 {
5311 if (temp3)
5312 delete arg3;
5313 }
5314 {
5315 if (temp4)
5316 delete arg4;
5317 }
5318 return resultobj;
5319 fail:
5320 {
5321 if (created1)
5322 delete arg1;
5323 }
5324 {
5325 if (temp2)
5326 delete arg2;
5327 }
5328 {
5329 if (temp3)
5330 delete arg3;
5331 }
5332 {
5333 if (temp4)
5334 delete arg4;
5335 }
5336 return NULL;
5337}
5338
5339
5340static PyObject *_wrap_delete_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5341 PyObject *resultobj;
5342 wxFSFile *arg1 = (wxFSFile *) 0 ;
5343 PyObject * obj0 = 0 ;
5344 char *kwnames[] = {
5345 (char *) "self", NULL
5346 };
5347
5348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FSFile",kwnames,&obj0)) goto fail;
5349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5350 {
5351 PyThreadState* __tstate = wxPyBeginAllowThreads();
5352 delete arg1;
5353
5354 wxPyEndAllowThreads(__tstate);
5355 if (PyErr_Occurred()) SWIG_fail;
5356 }
5357 Py_INCREF(Py_None); resultobj = Py_None;
5358 return resultobj;
5359 fail:
5360 return NULL;
5361}
5362
5363
5364static PyObject *_wrap_FSFile_GetStream(PyObject *self, PyObject *args, PyObject *kwargs) {
5365 PyObject *resultobj;
5366 wxFSFile *arg1 = (wxFSFile *) 0 ;
5367 wxInputStream *result;
5368 PyObject * obj0 = 0 ;
5369 char *kwnames[] = {
5370 (char *) "self", NULL
5371 };
5372
5373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetStream",kwnames,&obj0)) goto fail;
5374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5375 {
5376 PyThreadState* __tstate = wxPyBeginAllowThreads();
5377 result = (wxInputStream *)(arg1)->GetStream();
5378
5379 wxPyEndAllowThreads(__tstate);
5380 if (PyErr_Occurred()) SWIG_fail;
5381 }
5382 {
5383 wxPyInputStream * _ptr = NULL;
5384
5385 if (result) {
5386 _ptr = new wxPyInputStream(result);
5387 }
423f194a 5388 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
5389 }
5390 return resultobj;
5391 fail:
5392 return NULL;
5393}
5394
5395
5396static PyObject *_wrap_FSFile_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
5397 PyObject *resultobj;
5398 wxFSFile *arg1 = (wxFSFile *) 0 ;
5399 wxString *result;
5400 PyObject * obj0 = 0 ;
5401 char *kwnames[] = {
5402 (char *) "self", NULL
5403 };
5404
5405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetMimeType",kwnames,&obj0)) goto fail;
5406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5407 {
5408 PyThreadState* __tstate = wxPyBeginAllowThreads();
5409 {
5410 wxString const &_result_ref = (arg1)->GetMimeType();
5411 result = (wxString *) &_result_ref;
5412 }
5413
5414 wxPyEndAllowThreads(__tstate);
5415 if (PyErr_Occurred()) SWIG_fail;
5416 }
0f774bef
RD
5417 {
5418#if wxUSE_UNICODE
5419 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5420#else
5421 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5422#endif
5423 }
d14a1e28
RD
5424 return resultobj;
5425 fail:
5426 return NULL;
5427}
5428
5429
5430static PyObject *_wrap_FSFile_GetLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
5431 PyObject *resultobj;
5432 wxFSFile *arg1 = (wxFSFile *) 0 ;
5433 wxString *result;
5434 PyObject * obj0 = 0 ;
5435 char *kwnames[] = {
5436 (char *) "self", NULL
5437 };
5438
5439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetLocation",kwnames,&obj0)) goto fail;
5440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5441 {
5442 PyThreadState* __tstate = wxPyBeginAllowThreads();
5443 {
5444 wxString const &_result_ref = (arg1)->GetLocation();
5445 result = (wxString *) &_result_ref;
5446 }
5447
5448 wxPyEndAllowThreads(__tstate);
5449 if (PyErr_Occurred()) SWIG_fail;
5450 }
0f774bef
RD
5451 {
5452#if wxUSE_UNICODE
5453 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5454#else
5455 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5456#endif
5457 }
d14a1e28
RD
5458 return resultobj;
5459 fail:
5460 return NULL;
5461}
5462
5463
5464static PyObject *_wrap_FSFile_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
5465 PyObject *resultobj;
5466 wxFSFile *arg1 = (wxFSFile *) 0 ;
5467 wxString *result;
5468 PyObject * obj0 = 0 ;
5469 char *kwnames[] = {
5470 (char *) "self", NULL
5471 };
5472
5473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetAnchor",kwnames,&obj0)) goto fail;
5474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5475 {
5476 PyThreadState* __tstate = wxPyBeginAllowThreads();
5477 {
5478 wxString const &_result_ref = (arg1)->GetAnchor();
5479 result = (wxString *) &_result_ref;
5480 }
5481
5482 wxPyEndAllowThreads(__tstate);
5483 if (PyErr_Occurred()) SWIG_fail;
5484 }
0f774bef
RD
5485 {
5486#if wxUSE_UNICODE
5487 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5488#else
5489 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5490#endif
5491 }
d14a1e28
RD
5492 return resultobj;
5493 fail:
5494 return NULL;
5495}
5496
5497
5498static PyObject *_wrap_FSFile_GetModificationTime(PyObject *self, PyObject *args, PyObject *kwargs) {
5499 PyObject *resultobj;
5500 wxFSFile *arg1 = (wxFSFile *) 0 ;
5501 wxDateTime result;
5502 PyObject * obj0 = 0 ;
5503 char *kwnames[] = {
5504 (char *) "self", NULL
5505 };
5506
5507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetModificationTime",kwnames,&obj0)) goto fail;
5508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5509 {
5510 PyThreadState* __tstate = wxPyBeginAllowThreads();
5511 result = (arg1)->GetModificationTime();
5512
5513 wxPyEndAllowThreads(__tstate);
5514 if (PyErr_Occurred()) SWIG_fail;
5515 }
5516 {
5517 wxDateTime * resultptr;
5518 resultptr = new wxDateTime((wxDateTime &) result);
5519 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
5520 }
5521 return resultobj;
5522 fail:
5523 return NULL;
5524}
5525
5526
5527static PyObject * FSFile_swigregister(PyObject *self, PyObject *args) {
5528 PyObject *obj;
5529 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5530 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile, obj);
5531 Py_INCREF(obj);
5532 return Py_BuildValue((char *)"");
5533}
5534static PyObject * CPPFileSystemHandler_swigregister(PyObject *self, PyObject *args) {
5535 PyObject *obj;
5536 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5537 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler, obj);
5538 Py_INCREF(obj);
5539 return Py_BuildValue((char *)"");
5540}
5541static PyObject *_wrap_new_FileSystemHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
5542 PyObject *resultobj;
5543 wxPyFileSystemHandler *result;
5544 char *kwnames[] = {
5545 NULL
5546 };
5547
5548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystemHandler",kwnames)) goto fail;
5549 {
5550 PyThreadState* __tstate = wxPyBeginAllowThreads();
5551 result = (wxPyFileSystemHandler *)new wxPyFileSystemHandler();
5552
5553 wxPyEndAllowThreads(__tstate);
5554 if (PyErr_Occurred()) SWIG_fail;
5555 }
5556 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyFileSystemHandler, 1);
5557 return resultobj;
5558 fail:
5559 return NULL;
5560}
5561
5562
5563static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5564 PyObject *resultobj;
5565 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5566 PyObject *arg2 = (PyObject *) 0 ;
5567 PyObject *arg3 = (PyObject *) 0 ;
5568 PyObject * obj0 = 0 ;
5569 PyObject * obj1 = 0 ;
5570 PyObject * obj2 = 0 ;
5571 char *kwnames[] = {
5572 (char *) "self",(char *) "self",(char *) "_class", NULL
5573 };
5574
5575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5577 arg2 = obj1;
5578 arg3 = obj2;
5579 {
5580 PyThreadState* __tstate = wxPyBeginAllowThreads();
5581 (arg1)->_setCallbackInfo(arg2,arg3);
5582
5583 wxPyEndAllowThreads(__tstate);
5584 if (PyErr_Occurred()) SWIG_fail;
5585 }
5586 Py_INCREF(Py_None); resultobj = Py_None;
5587 return resultobj;
5588 fail:
5589 return NULL;
5590}
5591
5592
5593static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
5594 PyObject *resultobj;
5595 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5596 wxString *arg2 = 0 ;
5597 bool result;
423f194a 5598 bool temp2 = False ;
d14a1e28
RD
5599 PyObject * obj0 = 0 ;
5600 PyObject * obj1 = 0 ;
5601 char *kwnames[] = {
5602 (char *) "self",(char *) "location", NULL
5603 };
5604
5605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
5606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5607 {
5608 arg2 = wxString_in_helper(obj1);
5609 if (arg2 == NULL) SWIG_fail;
423f194a 5610 temp2 = True;
d14a1e28
RD
5611 }
5612 {
5613 PyThreadState* __tstate = wxPyBeginAllowThreads();
5614 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
5615
5616 wxPyEndAllowThreads(__tstate);
5617 if (PyErr_Occurred()) SWIG_fail;
5618 }
5619 resultobj = PyInt_FromLong((long)result);
5620 {
5621 if (temp2)
5622 delete arg2;
5623 }
5624 return resultobj;
5625 fail:
5626 {
5627 if (temp2)
5628 delete arg2;
5629 }
5630 return NULL;
5631}
5632
5633
5634static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5635 PyObject *resultobj;
5636 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5637 wxFileSystem *arg2 = 0 ;
5638 wxString *arg3 = 0 ;
5639 wxFSFile *result;
423f194a 5640 bool temp3 = False ;
d14a1e28
RD
5641 PyObject * obj0 = 0 ;
5642 PyObject * obj1 = 0 ;
5643 PyObject * obj2 = 0 ;
5644 char *kwnames[] = {
5645 (char *) "self",(char *) "fs",(char *) "location", NULL
5646 };
5647
5648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
5649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5650 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5651 if (arg2 == NULL) {
5652 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5653 }
5654 {
5655 arg3 = wxString_in_helper(obj2);
5656 if (arg3 == NULL) SWIG_fail;
423f194a 5657 temp3 = True;
d14a1e28
RD
5658 }
5659 {
5660 PyThreadState* __tstate = wxPyBeginAllowThreads();
5661 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
5662
5663 wxPyEndAllowThreads(__tstate);
5664 if (PyErr_Occurred()) SWIG_fail;
5665 }
5666 {
5667 resultobj = wxPyMake_wxObject(result);
5668 }
5669 {
5670 if (temp3)
5671 delete arg3;
5672 }
5673 return resultobj;
5674 fail:
5675 {
5676 if (temp3)
5677 delete arg3;
5678 }
5679 return NULL;
5680}
5681
5682
5683static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
5684 PyObject *resultobj;
5685 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5686 wxString *arg2 = 0 ;
5687 int arg3 = (int) 0 ;
5688 wxString result;
423f194a 5689 bool temp2 = False ;
d14a1e28
RD
5690 PyObject * obj0 = 0 ;
5691 PyObject * obj1 = 0 ;
5692 char *kwnames[] = {
5693 (char *) "self",(char *) "spec",(char *) "flags", NULL
5694 };
5695
5696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FileSystemHandler_FindFirst",kwnames,&obj0,&obj1,&arg3)) goto fail;
5697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5698 {
5699 arg2 = wxString_in_helper(obj1);
5700 if (arg2 == NULL) SWIG_fail;
423f194a 5701 temp2 = True;
d14a1e28
RD
5702 }
5703 {
5704 PyThreadState* __tstate = wxPyBeginAllowThreads();
5705 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
5706
5707 wxPyEndAllowThreads(__tstate);
5708 if (PyErr_Occurred()) SWIG_fail;
5709 }
5710 {
5711#if wxUSE_UNICODE
5712 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5713#else
5714 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5715#endif
5716 }
5717 {
5718 if (temp2)
5719 delete arg2;
5720 }
5721 return resultobj;
5722 fail:
5723 {
5724 if (temp2)
5725 delete arg2;
5726 }
5727 return NULL;
5728}
5729
5730
5731static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
5732 PyObject *resultobj;
5733 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5734 wxString result;
5735 PyObject * obj0 = 0 ;
5736 char *kwnames[] = {
5737 (char *) "self", NULL
5738 };
5739
5740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystemHandler_FindNext",kwnames,&obj0)) goto fail;
5741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5742 {
5743 PyThreadState* __tstate = wxPyBeginAllowThreads();
5744 result = (arg1)->FindNext();
5745
5746 wxPyEndAllowThreads(__tstate);
5747 if (PyErr_Occurred()) SWIG_fail;
5748 }
5749 {
5750#if wxUSE_UNICODE
5751 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5752#else
5753 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5754#endif
5755 }
5756 return resultobj;
5757 fail:
5758 return NULL;
5759}
5760
5761
5762static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *self, PyObject *args, PyObject *kwargs) {
5763 PyObject *resultobj;
5764 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5765 wxString *arg2 = 0 ;
5766 wxString result;
423f194a 5767 bool temp2 = False ;
d14a1e28
RD
5768 PyObject * obj0 = 0 ;
5769 PyObject * obj1 = 0 ;
5770 char *kwnames[] = {
5771 (char *) "self",(char *) "location", NULL
5772 };
5773
5774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetProtocol",kwnames,&obj0,&obj1)) goto fail;
5775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5776 {
5777 arg2 = wxString_in_helper(obj1);
5778 if (arg2 == NULL) SWIG_fail;
423f194a 5779 temp2 = True;
d14a1e28
RD
5780 }
5781 {
5782 PyThreadState* __tstate = wxPyBeginAllowThreads();
5783 result = (arg1)->GetProtocol((wxString const &)*arg2);
5784
5785 wxPyEndAllowThreads(__tstate);
5786 if (PyErr_Occurred()) SWIG_fail;
5787 }
5788 {
5789#if wxUSE_UNICODE
5790 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5791#else
5792 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5793#endif
5794 }
5795 {
5796 if (temp2)
5797 delete arg2;
5798 }
5799 return resultobj;
5800 fail:
5801 {
5802 if (temp2)
5803 delete arg2;
5804 }
5805 return NULL;
5806}
5807
5808
5809static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
5810 PyObject *resultobj;
5811 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5812 wxString *arg2 = 0 ;
5813 wxString result;
423f194a 5814 bool temp2 = False ;
d14a1e28
RD
5815 PyObject * obj0 = 0 ;
5816 PyObject * obj1 = 0 ;
5817 char *kwnames[] = {
5818 (char *) "self",(char *) "location", NULL
5819 };
5820
5821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames,&obj0,&obj1)) goto fail;
5822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5823 {
5824 arg2 = wxString_in_helper(obj1);
5825 if (arg2 == NULL) SWIG_fail;
423f194a 5826 temp2 = True;
d14a1e28
RD
5827 }
5828 {
5829 PyThreadState* __tstate = wxPyBeginAllowThreads();
5830 result = (arg1)->GetLeftLocation((wxString const &)*arg2);
5831
5832 wxPyEndAllowThreads(__tstate);
5833 if (PyErr_Occurred()) SWIG_fail;
5834 }
5835 {
5836#if wxUSE_UNICODE
5837 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5838#else
5839 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5840#endif
5841 }
5842 {
5843 if (temp2)
5844 delete arg2;
5845 }
5846 return resultobj;
5847 fail:
5848 {
5849 if (temp2)
5850 delete arg2;
5851 }
5852 return NULL;
5853}
5854
5855
5856static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
5857 PyObject *resultobj;
5858 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5859 wxString *arg2 = 0 ;
5860 wxString result;
423f194a 5861 bool temp2 = False ;
d14a1e28
RD
5862 PyObject * obj0 = 0 ;
5863 PyObject * obj1 = 0 ;
5864 char *kwnames[] = {
5865 (char *) "self",(char *) "location", NULL
5866 };
5867
5868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetAnchor",kwnames,&obj0,&obj1)) goto fail;
5869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5870 {
5871 arg2 = wxString_in_helper(obj1);
5872 if (arg2 == NULL) SWIG_fail;
423f194a 5873 temp2 = True;
d14a1e28
RD
5874 }
5875 {
5876 PyThreadState* __tstate = wxPyBeginAllowThreads();
5877 result = (arg1)->GetAnchor((wxString const &)*arg2);
5878
5879 wxPyEndAllowThreads(__tstate);
5880 if (PyErr_Occurred()) SWIG_fail;
5881 }
5882 {
5883#if wxUSE_UNICODE
5884 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5885#else
5886 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5887#endif
5888 }
5889 {
5890 if (temp2)
5891 delete arg2;
5892 }
5893 return resultobj;
5894 fail:
5895 {
5896 if (temp2)
5897 delete arg2;
5898 }
5899 return NULL;
5900}
5901
5902
5903static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
5904 PyObject *resultobj;
5905 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5906 wxString *arg2 = 0 ;
5907 wxString result;
423f194a 5908 bool temp2 = False ;
d14a1e28
RD
5909 PyObject * obj0 = 0 ;
5910 PyObject * obj1 = 0 ;
5911 char *kwnames[] = {
5912 (char *) "self",(char *) "location", NULL
5913 };
5914
5915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames,&obj0,&obj1)) goto fail;
5916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5917 {
5918 arg2 = wxString_in_helper(obj1);
5919 if (arg2 == NULL) SWIG_fail;
423f194a 5920 temp2 = True;
d14a1e28
RD
5921 }
5922 {
5923 PyThreadState* __tstate = wxPyBeginAllowThreads();
5924 result = (arg1)->GetRightLocation((wxString const &)*arg2);
5925
5926 wxPyEndAllowThreads(__tstate);
5927 if (PyErr_Occurred()) SWIG_fail;
5928 }
5929 {
5930#if wxUSE_UNICODE
5931 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5932#else
5933 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5934#endif
5935 }
5936 {
5937 if (temp2)
5938 delete arg2;
5939 }
5940 return resultobj;
5941 fail:
5942 {
5943 if (temp2)
5944 delete arg2;
5945 }
5946 return NULL;
5947}
5948
5949
5950static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *self, PyObject *args, PyObject *kwargs) {
5951 PyObject *resultobj;
5952 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5953 wxString *arg2 = 0 ;
5954 wxString result;
423f194a 5955 bool temp2 = False ;
d14a1e28
RD
5956 PyObject * obj0 = 0 ;
5957 PyObject * obj1 = 0 ;
5958 char *kwnames[] = {
5959 (char *) "self",(char *) "location", NULL
5960 };
5961
5962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames,&obj0,&obj1)) goto fail;
5963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5964 {
5965 arg2 = wxString_in_helper(obj1);
5966 if (arg2 == NULL) SWIG_fail;
423f194a 5967 temp2 = True;
d14a1e28
RD
5968 }
5969 {
5970 PyThreadState* __tstate = wxPyBeginAllowThreads();
5971 result = (arg1)->GetMimeTypeFromExt((wxString const &)*arg2);
5972
5973 wxPyEndAllowThreads(__tstate);
5974 if (PyErr_Occurred()) SWIG_fail;
5975 }
5976 {
5977#if wxUSE_UNICODE
5978 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5979#else
5980 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5981#endif
5982 }
5983 {
5984 if (temp2)
5985 delete arg2;
5986 }
5987 return resultobj;
5988 fail:
5989 {
5990 if (temp2)
5991 delete arg2;
5992 }
5993 return NULL;
5994}
5995
5996
5997static PyObject * FileSystemHandler_swigregister(PyObject *self, PyObject *args) {
5998 PyObject *obj;
5999 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6000 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler, obj);
6001 Py_INCREF(obj);
6002 return Py_BuildValue((char *)"");
6003}
6004static PyObject *_wrap_new_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
6005 PyObject *resultobj;
6006 wxFileSystem *result;
6007 char *kwnames[] = {
6008 NULL
6009 };
6010
6011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystem",kwnames)) goto fail;
6012 {
6013 PyThreadState* __tstate = wxPyBeginAllowThreads();
6014 result = (wxFileSystem *)new wxFileSystem();
6015
6016 wxPyEndAllowThreads(__tstate);
6017 if (PyErr_Occurred()) SWIG_fail;
6018 }
6019 {
6020 resultobj = wxPyMake_wxObject(result);
6021 }
6022 return resultobj;
6023 fail:
6024 return NULL;
6025}
6026
6027
6028static PyObject *_wrap_delete_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
6029 PyObject *resultobj;
6030 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6031 PyObject * obj0 = 0 ;
6032 char *kwnames[] = {
6033 (char *) "self", NULL
6034 };
6035
6036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileSystem",kwnames,&obj0)) goto fail;
6037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6038 {
6039 PyThreadState* __tstate = wxPyBeginAllowThreads();
6040 delete arg1;
6041
6042 wxPyEndAllowThreads(__tstate);
6043 if (PyErr_Occurred()) SWIG_fail;
6044 }
6045 Py_INCREF(Py_None); resultobj = Py_None;
6046 return resultobj;
6047 fail:
6048 return NULL;
6049}
6050
6051
6052static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *self, PyObject *args, PyObject *kwargs) {
6053 PyObject *resultobj;
6054 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6055 wxString *arg2 = 0 ;
423f194a
RD
6056 bool arg3 = (bool) False ;
6057 bool temp2 = False ;
d14a1e28
RD
6058 PyObject * obj0 = 0 ;
6059 PyObject * obj1 = 0 ;
6060 PyObject * obj2 = 0 ;
6061 char *kwnames[] = {
6062 (char *) "self",(char *) "location",(char *) "is_dir", NULL
6063 };
6064
6065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6067 {
6068 arg2 = wxString_in_helper(obj1);
6069 if (arg2 == NULL) SWIG_fail;
423f194a 6070 temp2 = True;
d14a1e28
RD
6071 }
6072 if (obj2) {
6073 arg3 = PyInt_AsLong(obj2) ? true : false;
6074 if (PyErr_Occurred()) SWIG_fail;
6075 }
6076 {
6077 PyThreadState* __tstate = wxPyBeginAllowThreads();
6078 (arg1)->ChangePathTo((wxString const &)*arg2,arg3);
6079
6080 wxPyEndAllowThreads(__tstate);
6081 if (PyErr_Occurred()) SWIG_fail;
6082 }
6083 Py_INCREF(Py_None); resultobj = Py_None;
6084 {
6085 if (temp2)
6086 delete arg2;
6087 }
6088 return resultobj;
6089 fail:
6090 {
6091 if (temp2)
6092 delete arg2;
6093 }
6094 return NULL;
6095}
6096
6097
6098static PyObject *_wrap_FileSystem_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
6099 PyObject *resultobj;
6100 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6101 wxString result;
6102 PyObject * obj0 = 0 ;
6103 char *kwnames[] = {
6104 (char *) "self", NULL
6105 };
6106
6107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_GetPath",kwnames,&obj0)) goto fail;
6108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6109 {
6110 PyThreadState* __tstate = wxPyBeginAllowThreads();
6111 result = (arg1)->GetPath();
6112
6113 wxPyEndAllowThreads(__tstate);
6114 if (PyErr_Occurred()) SWIG_fail;
6115 }
6116 {
6117#if wxUSE_UNICODE
6118 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6119#else
6120 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6121#endif
6122 }
6123 return resultobj;
6124 fail:
6125 return NULL;
6126}
6127
6128
6129static PyObject *_wrap_FileSystem_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6130 PyObject *resultobj;
6131 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6132 wxString *arg2 = 0 ;
6133 wxFSFile *result;
423f194a 6134 bool temp2 = False ;
d14a1e28
RD
6135 PyObject * obj0 = 0 ;
6136 PyObject * obj1 = 0 ;
6137 char *kwnames[] = {
6138 (char *) "self",(char *) "location", NULL
6139 };
6140
6141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail;
6142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6143 {
6144 arg2 = wxString_in_helper(obj1);
6145 if (arg2 == NULL) SWIG_fail;
423f194a 6146 temp2 = True;
d14a1e28
RD
6147 }
6148 {
6149 PyThreadState* __tstate = wxPyBeginAllowThreads();
6150 result = (wxFSFile *)(arg1)->OpenFile((wxString const &)*arg2);
6151
6152 wxPyEndAllowThreads(__tstate);
6153 if (PyErr_Occurred()) SWIG_fail;
6154 }
6155 {
6156 resultobj = wxPyMake_wxObject(result);
6157 }
6158 {
6159 if (temp2)
6160 delete arg2;
6161 }
6162 return resultobj;
6163 fail:
6164 {
6165 if (temp2)
6166 delete arg2;
6167 }
6168 return NULL;
6169}
6170
6171
6172static PyObject *_wrap_FileSystem_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6173 PyObject *resultobj;
6174 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6175 wxString *arg2 = 0 ;
6176 int arg3 = (int) 0 ;
6177 wxString result;
423f194a 6178 bool temp2 = False ;
d14a1e28
RD
6179 PyObject * obj0 = 0 ;
6180 PyObject * obj1 = 0 ;
6181 char *kwnames[] = {
6182 (char *) "self",(char *) "spec",(char *) "flags", NULL
6183 };
6184
6185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FileSystem_FindFirst",kwnames,&obj0,&obj1,&arg3)) goto fail;
6186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6187 {
6188 arg2 = wxString_in_helper(obj1);
6189 if (arg2 == NULL) SWIG_fail;
423f194a 6190 temp2 = True;
d14a1e28
RD
6191 }
6192 {
6193 PyThreadState* __tstate = wxPyBeginAllowThreads();
6194 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6195
6196 wxPyEndAllowThreads(__tstate);
6197 if (PyErr_Occurred()) SWIG_fail;
6198 }
6199 {
6200#if wxUSE_UNICODE
6201 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6202#else
6203 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6204#endif
6205 }
6206 {
6207 if (temp2)
6208 delete arg2;
6209 }
6210 return resultobj;
6211 fail:
6212 {
6213 if (temp2)
6214 delete arg2;
6215 }
6216 return NULL;
6217}
6218
6219
6220static PyObject *_wrap_FileSystem_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6221 PyObject *resultobj;
6222 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6223 wxString result;
6224 PyObject * obj0 = 0 ;
6225 char *kwnames[] = {
6226 (char *) "self", NULL
6227 };
6228
6229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FindNext",kwnames,&obj0)) goto fail;
6230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6231 {
6232 PyThreadState* __tstate = wxPyBeginAllowThreads();
6233 result = (arg1)->FindNext();
6234
6235 wxPyEndAllowThreads(__tstate);
6236 if (PyErr_Occurred()) SWIG_fail;
6237 }
6238 {
6239#if wxUSE_UNICODE
6240 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6241#else
6242 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6243#endif
6244 }
6245 return resultobj;
6246 fail:
6247 return NULL;
6248}
6249
6250
6251static PyObject *_wrap_FileSystem_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6252 PyObject *resultobj;
6253 wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ;
6254 PyObject * obj0 = 0 ;
6255 char *kwnames[] = {
6256 (char *) "handler", NULL
6257 };
6258
6259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_AddHandler",kwnames,&obj0)) goto fail;
6260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6261 {
6262 PyThreadState* __tstate = wxPyBeginAllowThreads();
6263 wxFileSystem::AddHandler(arg1);
6264
6265 wxPyEndAllowThreads(__tstate);
6266 if (PyErr_Occurred()) SWIG_fail;
6267 }
6268 Py_INCREF(Py_None); resultobj = Py_None;
6269 return resultobj;
6270 fail:
6271 return NULL;
6272}
6273
6274
6275static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
6276 PyObject *resultobj;
6277 char *kwnames[] = {
6278 NULL
6279 };
6280
6281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FileSystem_CleanUpHandlers",kwnames)) goto fail;
6282 {
6283 PyThreadState* __tstate = wxPyBeginAllowThreads();
6284 wxFileSystem::CleanUpHandlers();
6285
6286 wxPyEndAllowThreads(__tstate);
6287 if (PyErr_Occurred()) SWIG_fail;
6288 }
6289 Py_INCREF(Py_None); resultobj = Py_None;
6290 return resultobj;
6291 fail:
6292 return NULL;
6293}
6294
6295
6296static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *self, PyObject *args, PyObject *kwargs) {
6297 PyObject *resultobj;
6298 wxString *arg1 = 0 ;
6299 wxString result;
423f194a 6300 bool temp1 = False ;
d14a1e28
RD
6301 PyObject * obj0 = 0 ;
6302 char *kwnames[] = {
6303 (char *) "filename", NULL
6304 };
6305
6306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FileNameToURL",kwnames,&obj0)) goto fail;
6307 {
6308 arg1 = wxString_in_helper(obj0);
6309 if (arg1 == NULL) SWIG_fail;
423f194a 6310 temp1 = True;
d14a1e28
RD
6311 }
6312 {
6313 PyThreadState* __tstate = wxPyBeginAllowThreads();
6314 result = wxFileSystem::FileNameToURL((wxString const &)*arg1);
6315
6316 wxPyEndAllowThreads(__tstate);
6317 if (PyErr_Occurred()) SWIG_fail;
6318 }
6319 {
6320#if wxUSE_UNICODE
6321 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6322#else
6323 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6324#endif
6325 }
6326 {
6327 if (temp1)
6328 delete arg1;
6329 }
6330 return resultobj;
6331 fail:
6332 {
6333 if (temp1)
6334 delete arg1;
6335 }
6336 return NULL;
6337}
6338
6339
6340static PyObject * FileSystem_swigregister(PyObject *self, PyObject *args) {
6341 PyObject *obj;
6342 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6343 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
6344 Py_INCREF(obj);
6345 return Py_BuildValue((char *)"");
6346}
6347static PyObject *_wrap_FileSystem_URLToFileName(PyObject *self, PyObject *args, PyObject *kwargs) {
6348 PyObject *resultobj;
6349 wxString *arg1 = 0 ;
6350 wxString result;
423f194a 6351 bool temp1 = False ;
d14a1e28
RD
6352 PyObject * obj0 = 0 ;
6353 char *kwnames[] = {
6354 (char *) "url", NULL
6355 };
6356
6357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_URLToFileName",kwnames,&obj0)) goto fail;
6358 {
6359 arg1 = wxString_in_helper(obj0);
6360 if (arg1 == NULL) SWIG_fail;
423f194a 6361 temp1 = True;
d14a1e28
RD
6362 }
6363 {
6364 PyThreadState* __tstate = wxPyBeginAllowThreads();
6365 result = wxFileSystem_URLToFileName((wxString const &)*arg1);
6366
6367 wxPyEndAllowThreads(__tstate);
6368 if (PyErr_Occurred()) SWIG_fail;
6369 }
6370 {
6371#if wxUSE_UNICODE
6372 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6373#else
6374 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6375#endif
6376 }
6377 {
6378 if (temp1)
6379 delete arg1;
6380 }
6381 return resultobj;
6382 fail:
6383 {
6384 if (temp1)
6385 delete arg1;
6386 }
6387 return NULL;
6388}
6389
6390
6391static PyObject *_wrap_new_InternetFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6392 PyObject *resultobj;
6393 wxInternetFSHandler *result;
6394 char *kwnames[] = {
6395 NULL
6396 };
6397
6398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_InternetFSHandler",kwnames)) goto fail;
6399 {
6400 PyThreadState* __tstate = wxPyBeginAllowThreads();
6401 result = (wxInternetFSHandler *)new wxInternetFSHandler();
6402
6403 wxPyEndAllowThreads(__tstate);
6404 if (PyErr_Occurred()) SWIG_fail;
6405 }
6406 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxInternetFSHandler, 1);
6407 return resultobj;
6408 fail:
6409 return NULL;
6410}
6411
6412
6413static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6414 PyObject *resultobj;
6415 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
6416 wxString *arg2 = 0 ;
6417 bool result;
423f194a 6418 bool temp2 = False ;
d14a1e28
RD
6419 PyObject * obj0 = 0 ;
6420 PyObject * obj1 = 0 ;
6421 char *kwnames[] = {
6422 (char *) "self",(char *) "location", NULL
6423 };
6424
6425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
6426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxInternetFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6427 {
6428 arg2 = wxString_in_helper(obj1);
6429 if (arg2 == NULL) SWIG_fail;
423f194a 6430 temp2 = True;
d14a1e28
RD
6431 }
6432 {
6433 PyThreadState* __tstate = wxPyBeginAllowThreads();
6434 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6435
6436 wxPyEndAllowThreads(__tstate);
6437 if (PyErr_Occurred()) SWIG_fail;
6438 }
6439 resultobj = PyInt_FromLong((long)result);
6440 {
6441 if (temp2)
6442 delete arg2;
6443 }
6444 return resultobj;
6445 fail:
6446 {
6447 if (temp2)
6448 delete arg2;
6449 }
6450 return NULL;
6451}
6452
6453
6454static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6455 PyObject *resultobj;
6456 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
6457 wxFileSystem *arg2 = 0 ;
6458 wxString *arg3 = 0 ;
6459 wxFSFile *result;
423f194a 6460 bool temp3 = False ;
d14a1e28
RD
6461 PyObject * obj0 = 0 ;
6462 PyObject * obj1 = 0 ;
6463 PyObject * obj2 = 0 ;
6464 char *kwnames[] = {
6465 (char *) "self",(char *) "fs",(char *) "location", NULL
6466 };
6467
6468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:InternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxInternetFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6470 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6471 if (arg2 == NULL) {
6472 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6473 }
6474 {
6475 arg3 = wxString_in_helper(obj2);
6476 if (arg3 == NULL) SWIG_fail;
423f194a 6477 temp3 = True;
d14a1e28
RD
6478 }
6479 {
6480 PyThreadState* __tstate = wxPyBeginAllowThreads();
6481 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6482
6483 wxPyEndAllowThreads(__tstate);
6484 if (PyErr_Occurred()) SWIG_fail;
6485 }
6486 {
6487 resultobj = wxPyMake_wxObject(result);
6488 }
6489 {
6490 if (temp3)
6491 delete arg3;
6492 }
6493 return resultobj;
6494 fail:
6495 {
6496 if (temp3)
6497 delete arg3;
6498 }
6499 return NULL;
6500}
6501
6502
6503static PyObject * InternetFSHandler_swigregister(PyObject *self, PyObject *args) {
6504 PyObject *obj;
6505 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6506 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler, obj);
6507 Py_INCREF(obj);
6508 return Py_BuildValue((char *)"");
6509}
6510static PyObject *_wrap_new_ZipFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6511 PyObject *resultobj;
6512 wxZipFSHandler *result;
6513 char *kwnames[] = {
6514 NULL
6515 };
6516
6517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ZipFSHandler",kwnames)) goto fail;
6518 {
6519 PyThreadState* __tstate = wxPyBeginAllowThreads();
6520 result = (wxZipFSHandler *)new wxZipFSHandler();
6521
6522 wxPyEndAllowThreads(__tstate);
6523 if (PyErr_Occurred()) SWIG_fail;
6524 }
6525 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxZipFSHandler, 1);
6526 return resultobj;
6527 fail:
6528 return NULL;
6529}
6530
6531
6532static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6533 PyObject *resultobj;
6534 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
6535 wxString *arg2 = 0 ;
6536 bool result;
423f194a 6537 bool temp2 = False ;
d14a1e28
RD
6538 PyObject * obj0 = 0 ;
6539 PyObject * obj1 = 0 ;
6540 char *kwnames[] = {
6541 (char *) "self",(char *) "location", NULL
6542 };
6543
6544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
6545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6546 {
6547 arg2 = wxString_in_helper(obj1);
6548 if (arg2 == NULL) SWIG_fail;
423f194a 6549 temp2 = True;
d14a1e28
RD
6550 }
6551 {
6552 PyThreadState* __tstate = wxPyBeginAllowThreads();
6553 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6554
6555 wxPyEndAllowThreads(__tstate);
6556 if (PyErr_Occurred()) SWIG_fail;
6557 }
6558 resultobj = PyInt_FromLong((long)result);
6559 {
6560 if (temp2)
6561 delete arg2;
6562 }
6563 return resultobj;
6564 fail:
6565 {
6566 if (temp2)
6567 delete arg2;
6568 }
6569 return NULL;
6570}
6571
6572
6573static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6574 PyObject *resultobj;
6575 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
6576 wxFileSystem *arg2 = 0 ;
6577 wxString *arg3 = 0 ;
6578 wxFSFile *result;
423f194a 6579 bool temp3 = False ;
d14a1e28
RD
6580 PyObject * obj0 = 0 ;
6581 PyObject * obj1 = 0 ;
6582 PyObject * obj2 = 0 ;
6583 char *kwnames[] = {
6584 (char *) "self",(char *) "fs",(char *) "location", NULL
6585 };
6586
6587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6589 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6590 if (arg2 == NULL) {
6591 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6592 }
6593 {
6594 arg3 = wxString_in_helper(obj2);
6595 if (arg3 == NULL) SWIG_fail;
423f194a 6596 temp3 = True;
d14a1e28
RD
6597 }
6598 {
6599 PyThreadState* __tstate = wxPyBeginAllowThreads();
6600 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6601
6602 wxPyEndAllowThreads(__tstate);
6603 if (PyErr_Occurred()) SWIG_fail;
6604 }
6605 {
6606 resultobj = wxPyMake_wxObject(result);
6607 }
6608 {
6609 if (temp3)
6610 delete arg3;
6611 }
6612 return resultobj;
6613 fail:
6614 {
6615 if (temp3)
6616 delete arg3;
6617 }
6618 return NULL;
6619}
6620
6621
6622static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6623 PyObject *resultobj;
6624 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
6625 wxString *arg2 = 0 ;
6626 int arg3 = (int) 0 ;
6627 wxString result;
423f194a 6628 bool temp2 = False ;
d14a1e28
RD
6629 PyObject * obj0 = 0 ;
6630 PyObject * obj1 = 0 ;
6631 char *kwnames[] = {
6632 (char *) "self",(char *) "spec",(char *) "flags", NULL
6633 };
6634
6635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&arg3)) goto fail;
6636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6637 {
6638 arg2 = wxString_in_helper(obj1);
6639 if (arg2 == NULL) SWIG_fail;
423f194a 6640 temp2 = True;
d14a1e28
RD
6641 }
6642 {
6643 PyThreadState* __tstate = wxPyBeginAllowThreads();
6644 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6645
6646 wxPyEndAllowThreads(__tstate);
6647 if (PyErr_Occurred()) SWIG_fail;
6648 }
6649 {
6650#if wxUSE_UNICODE
6651 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6652#else
6653 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6654#endif
6655 }
6656 {
6657 if (temp2)
6658 delete arg2;
6659 }
6660 return resultobj;
6661 fail:
6662 {
6663 if (temp2)
6664 delete arg2;
6665 }
6666 return NULL;
6667}
6668
6669
6670static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6671 PyObject *resultobj;
6672 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
6673 wxString result;
6674 PyObject * obj0 = 0 ;
6675 char *kwnames[] = {
6676 (char *) "self", NULL
6677 };
6678
6679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ZipFSHandler_FindNext",kwnames,&obj0)) goto fail;
6680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6681 {
6682 PyThreadState* __tstate = wxPyBeginAllowThreads();
6683 result = (arg1)->FindNext();
6684
6685 wxPyEndAllowThreads(__tstate);
6686 if (PyErr_Occurred()) SWIG_fail;
6687 }
6688 {
6689#if wxUSE_UNICODE
6690 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6691#else
6692 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6693#endif
6694 }
6695 return resultobj;
6696 fail:
6697 return NULL;
6698}
6699
6700
6701static PyObject * ZipFSHandler_swigregister(PyObject *self, PyObject *args) {
6702 PyObject *obj;
6703 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6704 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler, obj);
6705 Py_INCREF(obj);
6706 return Py_BuildValue((char *)"");
6707}
6708static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *self, PyObject *args, PyObject *kwargs) {
6709 PyObject *resultobj;
6710 wxString *arg1 = 0 ;
6711 wxImage *arg2 = 0 ;
6712 long arg3 ;
423f194a 6713 bool temp1 = False ;
d14a1e28
RD
6714 PyObject * obj0 = 0 ;
6715 PyObject * obj1 = 0 ;
6716 char *kwnames[] = {
6717 (char *) "filename",(char *) "image",(char *) "type", NULL
6718 };
6719
6720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
6721 {
6722 arg1 = wxString_in_helper(obj0);
6723 if (arg1 == NULL) SWIG_fail;
423f194a 6724 temp1 = True;
d14a1e28
RD
6725 }
6726 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6727 if (arg2 == NULL) {
6728 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6729 }
6730 {
6731 PyThreadState* __tstate = wxPyBeginAllowThreads();
6732 __wxMemoryFSHandler_AddFile_wxImage((wxString const &)*arg1,*arg2,arg3);
6733
6734 wxPyEndAllowThreads(__tstate);
6735 if (PyErr_Occurred()) SWIG_fail;
6736 }
6737 Py_INCREF(Py_None); resultobj = Py_None;
6738 {
6739 if (temp1)
6740 delete arg1;
6741 }
6742 return resultobj;
6743 fail:
6744 {
6745 if (temp1)
6746 delete arg1;
6747 }
6748 return NULL;
6749}
6750
6751
6752static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
6753 PyObject *resultobj;
6754 wxString *arg1 = 0 ;
6755 wxBitmap *arg2 = 0 ;
6756 long arg3 ;
423f194a 6757 bool temp1 = False ;
d14a1e28
RD
6758 PyObject * obj0 = 0 ;
6759 PyObject * obj1 = 0 ;
6760 char *kwnames[] = {
6761 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
6762 };
6763
6764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames,&obj0,&obj1,&arg3)) goto fail;
6765 {
6766 arg1 = wxString_in_helper(obj0);
6767 if (arg1 == NULL) SWIG_fail;
423f194a 6768 temp1 = True;
d14a1e28
RD
6769 }
6770 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6771 if (arg2 == NULL) {
6772 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6773 }
6774 {
6775 PyThreadState* __tstate = wxPyBeginAllowThreads();
6776 __wxMemoryFSHandler_AddFile_wxBitmap((wxString const &)*arg1,(wxBitmap const &)*arg2,arg3);
6777
6778 wxPyEndAllowThreads(__tstate);
6779 if (PyErr_Occurred()) SWIG_fail;
6780 }
6781 Py_INCREF(Py_None); resultobj = Py_None;
6782 {
6783 if (temp1)
6784 delete arg1;
6785 }
6786 return resultobj;
6787 fail:
6788 {
6789 if (temp1)
6790 delete arg1;
6791 }
6792 return NULL;
6793}
6794
6795
6796static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *self, PyObject *args, PyObject *kwargs) {
6797 PyObject *resultobj;
6798 wxString *arg1 = 0 ;
6799 PyObject *arg2 = (PyObject *) 0 ;
423f194a 6800 bool temp1 = False ;
d14a1e28
RD
6801 PyObject * obj0 = 0 ;
6802 PyObject * obj1 = 0 ;
6803 char *kwnames[] = {
6804 (char *) "filename",(char *) "data", NULL
6805 };
6806
6807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames,&obj0,&obj1)) goto fail;
6808 {
6809 arg1 = wxString_in_helper(obj0);
6810 if (arg1 == NULL) SWIG_fail;
423f194a 6811 temp1 = True;
d14a1e28
RD
6812 }
6813 arg2 = obj1;
6814 {
6815 PyThreadState* __tstate = wxPyBeginAllowThreads();
6816 __wxMemoryFSHandler_AddFile_Data((wxString const &)*arg1,arg2);
6817
6818 wxPyEndAllowThreads(__tstate);
6819 if (PyErr_Occurred()) SWIG_fail;
6820 }
6821 Py_INCREF(Py_None); resultobj = Py_None;
6822 {
6823 if (temp1)
6824 delete arg1;
6825 }
6826 return resultobj;
6827 fail:
6828 {
6829 if (temp1)
6830 delete arg1;
6831 }
6832 return NULL;
6833}
6834
6835
6836static PyObject *_wrap_new_MemoryFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6837 PyObject *resultobj;
6838 wxMemoryFSHandler *result;
6839 char *kwnames[] = {
6840 NULL
6841 };
6842
6843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryFSHandler",kwnames)) goto fail;
6844 {
6845 PyThreadState* __tstate = wxPyBeginAllowThreads();
6846 result = (wxMemoryFSHandler *)new wxMemoryFSHandler();
6847
6848 wxPyEndAllowThreads(__tstate);
6849 if (PyErr_Occurred()) SWIG_fail;
6850 }
6851 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMemoryFSHandler, 1);
6852 return resultobj;
6853 fail:
6854 return NULL;
6855}
6856
6857
6858static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6859 PyObject *resultobj;
6860 wxString *arg1 = 0 ;
423f194a 6861 bool temp1 = False ;
d14a1e28
RD
6862 PyObject * obj0 = 0 ;
6863 char *kwnames[] = {
6864 (char *) "filename", NULL
6865 };
6866
6867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail;
6868 {
6869 arg1 = wxString_in_helper(obj0);
6870 if (arg1 == NULL) SWIG_fail;
423f194a 6871 temp1 = True;
d14a1e28
RD
6872 }
6873 {
6874 PyThreadState* __tstate = wxPyBeginAllowThreads();
6875 wxMemoryFSHandler::RemoveFile((wxString const &)*arg1);
6876
6877 wxPyEndAllowThreads(__tstate);
6878 if (PyErr_Occurred()) SWIG_fail;
6879 }
6880 Py_INCREF(Py_None); resultobj = Py_None;
6881 {
6882 if (temp1)
6883 delete arg1;
6884 }
6885 return resultobj;
6886 fail:
6887 {
6888 if (temp1)
6889 delete arg1;
6890 }
6891 return NULL;
6892}
6893
6894
6895static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6896 PyObject *resultobj;
6897 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
6898 wxString *arg2 = 0 ;
6899 bool result;
423f194a 6900 bool temp2 = False ;
d14a1e28
RD
6901 PyObject * obj0 = 0 ;
6902 PyObject * obj1 = 0 ;
6903 char *kwnames[] = {
6904 (char *) "self",(char *) "location", NULL
6905 };
6906
6907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
6908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6909 {
6910 arg2 = wxString_in_helper(obj1);
6911 if (arg2 == NULL) SWIG_fail;
423f194a 6912 temp2 = True;
d14a1e28
RD
6913 }
6914 {
6915 PyThreadState* __tstate = wxPyBeginAllowThreads();
6916 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6917
6918 wxPyEndAllowThreads(__tstate);
6919 if (PyErr_Occurred()) SWIG_fail;
6920 }
6921 resultobj = PyInt_FromLong((long)result);
6922 {
6923 if (temp2)
6924 delete arg2;
6925 }
6926 return resultobj;
6927 fail:
6928 {
6929 if (temp2)
6930 delete arg2;
6931 }
6932 return NULL;
6933}
6934
6935
6936static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6937 PyObject *resultobj;
6938 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
6939 wxFileSystem *arg2 = 0 ;
6940 wxString *arg3 = 0 ;
6941 wxFSFile *result;
423f194a 6942 bool temp3 = False ;
d14a1e28
RD
6943 PyObject * obj0 = 0 ;
6944 PyObject * obj1 = 0 ;
6945 PyObject * obj2 = 0 ;
6946 char *kwnames[] = {
6947 (char *) "self",(char *) "fs",(char *) "location", NULL
6948 };
6949
6950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6952 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6953 if (arg2 == NULL) {
6954 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6955 }
6956 {
6957 arg3 = wxString_in_helper(obj2);
6958 if (arg3 == NULL) SWIG_fail;
423f194a 6959 temp3 = True;
d14a1e28
RD
6960 }
6961 {
6962 PyThreadState* __tstate = wxPyBeginAllowThreads();
6963 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6964
6965 wxPyEndAllowThreads(__tstate);
6966 if (PyErr_Occurred()) SWIG_fail;
6967 }
6968 {
6969 resultobj = wxPyMake_wxObject(result);
6970 }
6971 {
6972 if (temp3)
6973 delete arg3;
6974 }
6975 return resultobj;
6976 fail:
6977 {
6978 if (temp3)
6979 delete arg3;
6980 }
6981 return NULL;
6982}
6983
6984
6985static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6986 PyObject *resultobj;
6987 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
6988 wxString *arg2 = 0 ;
6989 int arg3 = (int) 0 ;
6990 wxString result;
423f194a 6991 bool temp2 = False ;
d14a1e28
RD
6992 PyObject * obj0 = 0 ;
6993 PyObject * obj1 = 0 ;
6994 char *kwnames[] = {
6995 (char *) "self",(char *) "spec",(char *) "flags", NULL
6996 };
6997
6998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&arg3)) goto fail;
6999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7000 {
7001 arg2 = wxString_in_helper(obj1);
7002 if (arg2 == NULL) SWIG_fail;
423f194a 7003 temp2 = True;
d14a1e28
RD
7004 }
7005 {
7006 PyThreadState* __tstate = wxPyBeginAllowThreads();
7007 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7008
7009 wxPyEndAllowThreads(__tstate);
7010 if (PyErr_Occurred()) SWIG_fail;
7011 }
7012 {
7013#if wxUSE_UNICODE
7014 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7015#else
7016 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7017#endif
7018 }
7019 {
7020 if (temp2)
7021 delete arg2;
7022 }
7023 return resultobj;
7024 fail:
7025 {
7026 if (temp2)
7027 delete arg2;
7028 }
7029 return NULL;
7030}
7031
7032
7033static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7034 PyObject *resultobj;
7035 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7036 wxString result;
7037 PyObject * obj0 = 0 ;
7038 char *kwnames[] = {
7039 (char *) "self", NULL
7040 };
7041
7042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_FindNext",kwnames,&obj0)) goto fail;
7043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7044 {
7045 PyThreadState* __tstate = wxPyBeginAllowThreads();
7046 result = (arg1)->FindNext();
7047
7048 wxPyEndAllowThreads(__tstate);
7049 if (PyErr_Occurred()) SWIG_fail;
7050 }
7051 {
7052#if wxUSE_UNICODE
7053 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7054#else
7055 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7056#endif
7057 }
7058 return resultobj;
7059 fail:
7060 return NULL;
7061}
7062
7063
7064static PyObject * MemoryFSHandler_swigregister(PyObject *self, PyObject *args) {
7065 PyObject *obj;
7066 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7067 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler, obj);
7068 Py_INCREF(obj);
7069 return Py_BuildValue((char *)"");
7070}
7071static PyObject *_wrap_ImageHandler_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
7072 PyObject *resultobj;
7073 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7074 wxString result;
7075 PyObject * obj0 = 0 ;
7076 char *kwnames[] = {
7077 (char *) "self", NULL
7078 };
7079
7080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetName",kwnames,&obj0)) goto fail;
7081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7082 {
7083 PyThreadState* __tstate = wxPyBeginAllowThreads();
7084 result = (arg1)->GetName();
7085
7086 wxPyEndAllowThreads(__tstate);
7087 if (PyErr_Occurred()) SWIG_fail;
7088 }
7089 {
7090#if wxUSE_UNICODE
7091 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7092#else
7093 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7094#endif
7095 }
7096 return resultobj;
7097 fail:
7098 return NULL;
7099}
7100
7101
7102static PyObject *_wrap_ImageHandler_GetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
7103 PyObject *resultobj;
7104 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7105 wxString result;
7106 PyObject * obj0 = 0 ;
7107 char *kwnames[] = {
7108 (char *) "self", NULL
7109 };
7110
7111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetExtension",kwnames,&obj0)) goto fail;
7112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7113 {
7114 PyThreadState* __tstate = wxPyBeginAllowThreads();
7115 result = (arg1)->GetExtension();
7116
7117 wxPyEndAllowThreads(__tstate);
7118 if (PyErr_Occurred()) SWIG_fail;
7119 }
7120 {
7121#if wxUSE_UNICODE
7122 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7123#else
7124 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7125#endif
7126 }
7127 return resultobj;
7128 fail:
7129 return NULL;
7130}
7131
7132
7133static PyObject *_wrap_ImageHandler_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
7134 PyObject *resultobj;
7135 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7136 long result;
7137 PyObject * obj0 = 0 ;
7138 char *kwnames[] = {
7139 (char *) "self", NULL
7140 };
7141
7142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetType",kwnames,&obj0)) goto fail;
7143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7144 {
7145 PyThreadState* __tstate = wxPyBeginAllowThreads();
7146 result = (long)(arg1)->GetType();
7147
7148 wxPyEndAllowThreads(__tstate);
7149 if (PyErr_Occurred()) SWIG_fail;
7150 }
7151 resultobj = PyInt_FromLong((long)result);
7152 return resultobj;
7153 fail:
7154 return NULL;
7155}
7156
7157
7158static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
7159 PyObject *resultobj;
7160 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7161 wxString result;
7162 PyObject * obj0 = 0 ;
7163 char *kwnames[] = {
7164 (char *) "self", NULL
7165 };
7166
7167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetMimeType",kwnames,&obj0)) goto fail;
7168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7169 {
7170 PyThreadState* __tstate = wxPyBeginAllowThreads();
7171 result = (arg1)->GetMimeType();
7172
7173 wxPyEndAllowThreads(__tstate);
7174 if (PyErr_Occurred()) SWIG_fail;
7175 }
7176 {
7177#if wxUSE_UNICODE
7178 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7179#else
7180 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7181#endif
7182 }
7183 return resultobj;
7184 fail:
7185 return NULL;
7186}
7187
7188
7189static PyObject *_wrap_ImageHandler_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
7190 PyObject *resultobj;
7191 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7192 wxString *arg2 = 0 ;
7193 bool result;
423f194a 7194 bool temp2 = False ;
d14a1e28
RD
7195 PyObject * obj0 = 0 ;
7196 PyObject * obj1 = 0 ;
7197 char *kwnames[] = {
7198 (char *) "self",(char *) "name", NULL
7199 };
7200
7201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail;
7202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7203 {
7204 arg2 = wxString_in_helper(obj1);
7205 if (arg2 == NULL) SWIG_fail;
423f194a 7206 temp2 = True;
d14a1e28
RD
7207 }
7208 {
7209 PyThreadState* __tstate = wxPyBeginAllowThreads();
7210 result = (bool)(arg1)->CanRead((wxString const &)*arg2);
7211
7212 wxPyEndAllowThreads(__tstate);
7213 if (PyErr_Occurred()) SWIG_fail;
7214 }
7215 resultobj = PyInt_FromLong((long)result);
7216 {
7217 if (temp2)
7218 delete arg2;
7219 }
7220 return resultobj;
7221 fail:
7222 {
7223 if (temp2)
7224 delete arg2;
7225 }
7226 return NULL;
7227}
7228
7229
7230static PyObject *_wrap_ImageHandler_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
7231 PyObject *resultobj;
7232 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7233 wxString *arg2 = 0 ;
423f194a 7234 bool temp2 = False ;
d14a1e28
RD
7235 PyObject * obj0 = 0 ;
7236 PyObject * obj1 = 0 ;
7237 char *kwnames[] = {
7238 (char *) "self",(char *) "name", NULL
7239 };
7240
7241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail;
7242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7243 {
7244 arg2 = wxString_in_helper(obj1);
7245 if (arg2 == NULL) SWIG_fail;
423f194a 7246 temp2 = True;
d14a1e28
RD
7247 }
7248 {
7249 PyThreadState* __tstate = wxPyBeginAllowThreads();
7250 (arg1)->SetName((wxString const &)*arg2);
7251
7252 wxPyEndAllowThreads(__tstate);
7253 if (PyErr_Occurred()) SWIG_fail;
7254 }
7255 Py_INCREF(Py_None); resultobj = Py_None;
7256 {
7257 if (temp2)
7258 delete arg2;
7259 }
7260 return resultobj;
7261 fail:
7262 {
7263 if (temp2)
7264 delete arg2;
7265 }
7266 return NULL;
7267}
7268
7269
7270static PyObject *_wrap_ImageHandler_SetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
7271 PyObject *resultobj;
7272 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7273 wxString *arg2 = 0 ;
423f194a 7274 bool temp2 = False ;
d14a1e28
RD
7275 PyObject * obj0 = 0 ;
7276 PyObject * obj1 = 0 ;
7277 char *kwnames[] = {
7278 (char *) "self",(char *) "extension", NULL
7279 };
7280
7281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail;
7282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7283 {
7284 arg2 = wxString_in_helper(obj1);
7285 if (arg2 == NULL) SWIG_fail;
423f194a 7286 temp2 = True;
d14a1e28
RD
7287 }
7288 {
7289 PyThreadState* __tstate = wxPyBeginAllowThreads();
7290 (arg1)->SetExtension((wxString const &)*arg2);
7291
7292 wxPyEndAllowThreads(__tstate);
7293 if (PyErr_Occurred()) SWIG_fail;
7294 }
7295 Py_INCREF(Py_None); resultobj = Py_None;
7296 {
7297 if (temp2)
7298 delete arg2;
7299 }
7300 return resultobj;
7301 fail:
7302 {
7303 if (temp2)
7304 delete arg2;
7305 }
7306 return NULL;
7307}
7308
7309
7310static PyObject *_wrap_ImageHandler_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
7311 PyObject *resultobj;
7312 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7313 long arg2 ;
7314 PyObject * obj0 = 0 ;
7315 char *kwnames[] = {
7316 (char *) "self",(char *) "type", NULL
7317 };
7318
7319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ImageHandler_SetType",kwnames,&obj0,&arg2)) goto fail;
7320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7321 {
7322 PyThreadState* __tstate = wxPyBeginAllowThreads();
7323 (arg1)->SetType(arg2);
7324
7325 wxPyEndAllowThreads(__tstate);
7326 if (PyErr_Occurred()) SWIG_fail;
7327 }
7328 Py_INCREF(Py_None); resultobj = Py_None;
7329 return resultobj;
7330 fail:
7331 return NULL;
7332}
7333
7334
7335static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
7336 PyObject *resultobj;
7337 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7338 wxString *arg2 = 0 ;
423f194a 7339 bool temp2 = False ;
d14a1e28
RD
7340 PyObject * obj0 = 0 ;
7341 PyObject * obj1 = 0 ;
7342 char *kwnames[] = {
7343 (char *) "self",(char *) "mimetype", NULL
7344 };
7345
7346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetMimeType",kwnames,&obj0,&obj1)) goto fail;
7347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7348 {
7349 arg2 = wxString_in_helper(obj1);
7350 if (arg2 == NULL) SWIG_fail;
423f194a 7351 temp2 = True;
d14a1e28
RD
7352 }
7353 {
7354 PyThreadState* __tstate = wxPyBeginAllowThreads();
7355 (arg1)->SetMimeType((wxString const &)*arg2);
7356
7357 wxPyEndAllowThreads(__tstate);
7358 if (PyErr_Occurred()) SWIG_fail;
7359 }
7360 Py_INCREF(Py_None); resultobj = Py_None;
7361 {
7362 if (temp2)
7363 delete arg2;
7364 }
7365 return resultobj;
7366 fail:
7367 {
7368 if (temp2)
7369 delete arg2;
7370 }
7371 return NULL;
7372}
7373
7374
7375static PyObject * ImageHandler_swigregister(PyObject *self, PyObject *args) {
7376 PyObject *obj;
7377 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7378 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler, obj);
7379 Py_INCREF(obj);
7380 return Py_BuildValue((char *)"");
7381}
7382static PyObject *_wrap_new_ImageHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
7383 PyObject *resultobj;
7384 wxImageHistogram *result;
7385 char *kwnames[] = {
7386 NULL
7387 };
7388
7389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ImageHistogram",kwnames)) goto fail;
7390 {
7391 PyThreadState* __tstate = wxPyBeginAllowThreads();
7392 result = (wxImageHistogram *)new wxImageHistogram();
7393
7394 wxPyEndAllowThreads(__tstate);
7395 if (PyErr_Occurred()) SWIG_fail;
7396 }
7397 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImageHistogram, 1);
7398 return resultobj;
7399 fail:
7400 return NULL;
7401}
7402
7403
7404static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *self, PyObject *args, PyObject *kwargs) {
7405 PyObject *resultobj;
7406 unsigned char arg1 ;
7407 unsigned char arg2 ;
7408 unsigned char arg3 ;
7409 unsigned long result;
7410 PyObject * obj0 = 0 ;
7411 PyObject * obj1 = 0 ;
7412 PyObject * obj2 = 0 ;
7413 char *kwnames[] = {
7414 (char *) "r",(char *) "g",(char *) "b", NULL
7415 };
7416
7417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail;
7418 arg1 = (unsigned char) PyInt_AsLong(obj0);
7419 if (PyErr_Occurred()) SWIG_fail;
7420 arg2 = (unsigned char) PyInt_AsLong(obj1);
7421 if (PyErr_Occurred()) SWIG_fail;
7422 arg3 = (unsigned char) PyInt_AsLong(obj2);
7423 if (PyErr_Occurred()) SWIG_fail;
7424 {
7425 PyThreadState* __tstate = wxPyBeginAllowThreads();
7426 result = (unsigned long)wxImageHistogram::MakeKey(arg1,arg2,arg3);
7427
7428 wxPyEndAllowThreads(__tstate);
7429 if (PyErr_Occurred()) SWIG_fail;
7430 }
7431 resultobj = PyInt_FromLong((long)result);
7432 return resultobj;
7433 fail:
7434 return NULL;
7435}
7436
7437
7438static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7439 PyObject *resultobj;
7440 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
7441 unsigned char *arg2 = (unsigned char *) 0 ;
7442 unsigned char *arg3 = (unsigned char *) 0 ;
7443 unsigned char *arg4 = (unsigned char *) 0 ;
7444 unsigned char arg5 = (unsigned char) 1 ;
7445 unsigned char arg6 = (unsigned char) 0 ;
7446 unsigned char arg7 = (unsigned char) 0 ;
7447 bool result;
7448 unsigned char temp2 ;
7449 unsigned char temp3 ;
7450 unsigned char temp4 ;
7451 PyObject * obj0 = 0 ;
7452 PyObject * obj1 = 0 ;
7453 PyObject * obj2 = 0 ;
7454 PyObject * obj3 = 0 ;
7455 char *kwnames[] = {
7456 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
7457 };
7458
7459 arg2 = &temp2;
7460 arg3 = &temp3;
7461 arg4 = &temp4;
7462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHistogram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7464 if (obj1) {
7465 arg5 = (unsigned char) PyInt_AsLong(obj1);
7466 if (PyErr_Occurred()) SWIG_fail;
7467 }
7468 if (obj2) {
7469 arg6 = (unsigned char) PyInt_AsLong(obj2);
7470 if (PyErr_Occurred()) SWIG_fail;
7471 }
7472 if (obj3) {
7473 arg7 = (unsigned char) PyInt_AsLong(obj3);
7474 if (PyErr_Occurred()) SWIG_fail;
7475 }
7476 {
7477 PyThreadState* __tstate = wxPyBeginAllowThreads();
7478 result = (bool)((wxImageHistogram const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
7479
7480 wxPyEndAllowThreads(__tstate);
7481 if (PyErr_Occurred()) SWIG_fail;
7482 }
7483 resultobj = PyInt_FromLong((long)result);
7484 {
7485 PyObject *o = PyInt_FromLong((long) (*arg2));
7486 resultobj = t_output_helper(resultobj,o);
7487 }
7488 {
7489 PyObject *o = PyInt_FromLong((long) (*arg3));
7490 resultobj = t_output_helper(resultobj,o);
7491 }
7492 {
7493 PyObject *o = PyInt_FromLong((long) (*arg4));
7494 resultobj = t_output_helper(resultobj,o);
7495 }
7496 return resultobj;
7497 fail:
7498 return NULL;
7499}
7500
7501
7502static PyObject * ImageHistogram_swigregister(PyObject *self, PyObject *args) {
7503 PyObject *obj;
7504 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7505 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram, obj);
7506 Py_INCREF(obj);
7507 return Py_BuildValue((char *)"");
7508}
7509static PyObject *_wrap_new_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
7510 PyObject *resultobj;
7511 wxString *arg1 = 0 ;
7512 long arg2 = (long) wxBITMAP_TYPE_ANY ;
7513 int arg3 = (int) -1 ;
7514 wxImage *result;
423f194a 7515 bool temp1 = False ;
d14a1e28
RD
7516 PyObject * obj0 = 0 ;
7517 char *kwnames[] = {
7518 (char *) "name",(char *) "type",(char *) "index", NULL
7519 };
7520
7521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|li:new_Image",kwnames,&obj0,&arg2,&arg3)) goto fail;
7522 {
7523 arg1 = wxString_in_helper(obj0);
7524 if (arg1 == NULL) SWIG_fail;
423f194a 7525 temp1 = True;
d14a1e28
RD
7526 }
7527 {
7528 PyThreadState* __tstate = wxPyBeginAllowThreads();
7529 result = (wxImage *)new wxImage((wxString const &)*arg1,arg2,arg3);
7530
7531 wxPyEndAllowThreads(__tstate);
7532 if (PyErr_Occurred()) SWIG_fail;
7533 }
7534 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7535 {
7536 if (temp1)
7537 delete arg1;
7538 }
7539 return resultobj;
7540 fail:
7541 {
7542 if (temp1)
7543 delete arg1;
7544 }
7545 return NULL;
7546}
7547
7548
7549static PyObject *_wrap_delete_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
7550 PyObject *resultobj;
7551 wxImage *arg1 = (wxImage *) 0 ;
7552 PyObject * obj0 = 0 ;
7553 char *kwnames[] = {
7554 (char *) "self", NULL
7555 };
7556
7557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Image",kwnames,&obj0)) goto fail;
7558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7559 {
7560 PyThreadState* __tstate = wxPyBeginAllowThreads();
7561 delete arg1;
7562
7563 wxPyEndAllowThreads(__tstate);
7564 if (PyErr_Occurred()) SWIG_fail;
7565 }
7566 Py_INCREF(Py_None); resultobj = Py_None;
7567 return resultobj;
7568 fail:
7569 return NULL;
7570}
7571
7572
7573static PyObject *_wrap_new_ImageFromMime(PyObject *self, PyObject *args, PyObject *kwargs) {
7574 PyObject *resultobj;
7575 wxString *arg1 = 0 ;
7576 wxString *arg2 = 0 ;
7577 int arg3 = (int) -1 ;
7578 wxImage *result;
423f194a
RD
7579 bool temp1 = False ;
7580 bool temp2 = False ;
d14a1e28
RD
7581 PyObject * obj0 = 0 ;
7582 PyObject * obj1 = 0 ;
7583 char *kwnames[] = {
7584 (char *) "name",(char *) "mimetype",(char *) "index", NULL
7585 };
7586
7587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:new_ImageFromMime",kwnames,&obj0,&obj1,&arg3)) goto fail;
7588 {
7589 arg1 = wxString_in_helper(obj0);
7590 if (arg1 == NULL) SWIG_fail;
423f194a 7591 temp1 = True;
d14a1e28
RD
7592 }
7593 {
7594 arg2 = wxString_in_helper(obj1);
7595 if (arg2 == NULL) SWIG_fail;
423f194a 7596 temp2 = True;
d14a1e28
RD
7597 }
7598 {
7599 PyThreadState* __tstate = wxPyBeginAllowThreads();
7600 result = (wxImage *)new wxImage((wxString const &)*arg1,(wxString const &)*arg2,arg3);
7601
7602 wxPyEndAllowThreads(__tstate);
7603 if (PyErr_Occurred()) SWIG_fail;
7604 }
7605 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7606 {
7607 if (temp1)
7608 delete arg1;
7609 }
7610 {
7611 if (temp2)
7612 delete arg2;
7613 }
7614 return resultobj;
7615 fail:
7616 {
7617 if (temp1)
7618 delete arg1;
7619 }
7620 {
7621 if (temp2)
7622 delete arg2;
7623 }
7624 return NULL;
7625}
7626
7627
7628static PyObject *_wrap_new_ImageFromStream(PyObject *self, PyObject *args, PyObject *kwargs) {
7629 PyObject *resultobj;
7630 wxInputStream *arg1 = 0 ;
7631 long arg2 = (long) wxBITMAP_TYPE_ANY ;
7632 int arg3 = (int) -1 ;
7633 wxImage *result;
7634 wxPyInputStream *temp1 ;
7635 bool created1 ;
7636 PyObject * obj0 = 0 ;
7637 char *kwnames[] = {
7638 (char *) "stream",(char *) "type",(char *) "index", NULL
7639 };
7640
7641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|li:new_ImageFromStream",kwnames,&obj0,&arg2,&arg3)) goto fail;
7642 {
7643 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
7644 arg1 = temp1->m_wxis;
423f194a 7645 created1 = False;
d14a1e28
RD
7646 } else {
7647 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 7648 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
7649 if (arg1 == NULL) {
7650 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
7651 SWIG_fail;
7652 }
423f194a 7653 created1 = True;
d14a1e28
RD
7654 }
7655 }
7656 {
7657 PyThreadState* __tstate = wxPyBeginAllowThreads();
7658 result = (wxImage *)new wxImage(*arg1,arg2,arg3);
7659
7660 wxPyEndAllowThreads(__tstate);
7661 if (PyErr_Occurred()) SWIG_fail;
7662 }
7663 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7664 {
7665 if (created1)
7666 delete arg1;
7667 }
7668 return resultobj;
7669 fail:
7670 {
7671 if (created1)
7672 delete arg1;
7673 }
7674 return NULL;
7675}
7676
7677
7678static PyObject *_wrap_new_ImageFromStreamMime(PyObject *self, PyObject *args, PyObject *kwargs) {
7679 PyObject *resultobj;
7680 wxInputStream *arg1 = 0 ;
7681 wxString *arg2 = 0 ;
7682 int arg3 = (int) -1 ;
7683 wxImage *result;
7684 wxPyInputStream *temp1 ;
7685 bool created1 ;
423f194a 7686 bool temp2 = False ;
d14a1e28
RD
7687 PyObject * obj0 = 0 ;
7688 PyObject * obj1 = 0 ;
7689 char *kwnames[] = {
7690 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
7691 };
7692
7693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:new_ImageFromStreamMime",kwnames,&obj0,&obj1,&arg3)) goto fail;
7694 {
7695 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
7696 arg1 = temp1->m_wxis;
423f194a 7697 created1 = False;
d14a1e28
RD
7698 } else {
7699 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 7700 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
7701 if (arg1 == NULL) {
7702 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
7703 SWIG_fail;
7704 }
423f194a 7705 created1 = True;
d14a1e28
RD
7706 }
7707 }
7708 {
7709 arg2 = wxString_in_helper(obj1);
7710 if (arg2 == NULL) SWIG_fail;
423f194a 7711 temp2 = True;
d14a1e28
RD
7712 }
7713 {
7714 PyThreadState* __tstate = wxPyBeginAllowThreads();
7715 result = (wxImage *)new wxImage(*arg1,(wxString const &)*arg2,arg3);
7716
7717 wxPyEndAllowThreads(__tstate);
7718 if (PyErr_Occurred()) SWIG_fail;
7719 }
7720 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7721 {
7722 if (created1)
7723 delete arg1;
7724 }
7725 {
7726 if (temp2)
7727 delete arg2;
7728 }
7729 return resultobj;
7730 fail:
7731 {
7732 if (created1)
7733 delete arg1;
7734 }
7735 {
7736 if (temp2)
7737 delete arg2;
7738 }
7739 return NULL;
7740}
7741
7742
7743static PyObject *_wrap_new_EmptyImage(PyObject *self, PyObject *args, PyObject *kwargs) {
7744 PyObject *resultobj;
7745 int arg1 = (int) 0 ;
7746 int arg2 = (int) 0 ;
423f194a 7747 bool arg3 = (bool) True ;
d14a1e28
RD
7748 wxImage *result;
7749 PyObject * obj2 = 0 ;
7750 char *kwnames[] = {
7751 (char *) "width",(char *) "height",(char *) "clear", NULL
7752 };
7753
7754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_EmptyImage",kwnames,&arg1,&arg2,&obj2)) goto fail;
7755 if (obj2) {
7756 arg3 = PyInt_AsLong(obj2) ? true : false;
7757 if (PyErr_Occurred()) SWIG_fail;
7758 }
7759 {
7760 PyThreadState* __tstate = wxPyBeginAllowThreads();
7761 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
7762
7763 wxPyEndAllowThreads(__tstate);
7764 if (PyErr_Occurred()) SWIG_fail;
7765 }
7766 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7767 return resultobj;
7768 fail:
7769 return NULL;
7770}
7771
7772
7773static PyObject *_wrap_new_ImageFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
7774 PyObject *resultobj;
7775 wxBitmap *arg1 = 0 ;
7776 wxImage *result;
7777 PyObject * obj0 = 0 ;
7778 char *kwnames[] = {
7779 (char *) "bitmap", NULL
7780 };
7781
7782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ImageFromBitmap",kwnames,&obj0)) goto fail;
7783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7784 if (arg1 == NULL) {
7785 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7786 }
7787 {
7788 PyThreadState* __tstate = wxPyBeginAllowThreads();
7789 result = (wxImage *)new_wxImage((wxBitmap const &)*arg1);
7790
7791 wxPyEndAllowThreads(__tstate);
7792 if (PyErr_Occurred()) SWIG_fail;
7793 }
7794 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7795 return resultobj;
7796 fail:
7797 return NULL;
7798}
7799
7800
7801static PyObject *_wrap_new_ImageFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
7802 PyObject *resultobj;
7803 int arg1 ;
7804 int arg2 ;
7805 unsigned char *arg3 = (unsigned char *) 0 ;
7806 wxImage *result;
7807 PyObject * obj2 = 0 ;
7808 char *kwnames[] = {
7809 (char *) "width",(char *) "height",(char *) "data", NULL
7810 };
7811
7812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiO:new_ImageFromData",kwnames,&arg1,&arg2,&obj2)) goto fail;
7813 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7814 {
7815 PyThreadState* __tstate = wxPyBeginAllowThreads();
7816 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
7817
7818 wxPyEndAllowThreads(__tstate);
7819 if (PyErr_Occurred()) SWIG_fail;
7820 }
7821 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7822 return resultobj;
7823 fail:
7824 return NULL;
7825}
7826
7827
7828static PyObject *_wrap_Image_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7829 PyObject *resultobj;
7830 wxImage *arg1 = (wxImage *) 0 ;
7831 int arg2 ;
7832 int arg3 ;
7833 PyObject * obj0 = 0 ;
7834 char *kwnames[] = {
7835 (char *) "self",(char *) "width",(char *) "height", NULL
7836 };
7837
7838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_Create",kwnames,&obj0,&arg2,&arg3)) goto fail;
7839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7840 {
7841 PyThreadState* __tstate = wxPyBeginAllowThreads();
7842 (arg1)->Create(arg2,arg3);
7843
7844 wxPyEndAllowThreads(__tstate);
7845 if (PyErr_Occurred()) SWIG_fail;
7846 }
7847 Py_INCREF(Py_None); resultobj = Py_None;
7848 return resultobj;
7849 fail:
7850 return NULL;
7851}
7852
7853
7854static PyObject *_wrap_Image_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
7855 PyObject *resultobj;
7856 wxImage *arg1 = (wxImage *) 0 ;
7857 PyObject * obj0 = 0 ;
7858 char *kwnames[] = {
7859 (char *) "self", NULL
7860 };
7861
7862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail;
7863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7864 {
7865 PyThreadState* __tstate = wxPyBeginAllowThreads();
7866 (arg1)->Destroy();
7867
7868 wxPyEndAllowThreads(__tstate);
7869 if (PyErr_Occurred()) SWIG_fail;
7870 }
7871 Py_INCREF(Py_None); resultobj = Py_None;
7872 return resultobj;
7873 fail:
7874 return NULL;
7875}
7876
7877
7878static PyObject *_wrap_Image_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
7879 PyObject *resultobj;
7880 wxImage *arg1 = (wxImage *) 0 ;
7881 int arg2 ;
7882 int arg3 ;
7883 SwigValueWrapper< wxImage > result;
7884 PyObject * obj0 = 0 ;
7885 char *kwnames[] = {
7886 (char *) "self",(char *) "width",(char *) "height", NULL
7887 };
7888
7889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_Scale",kwnames,&obj0,&arg2,&arg3)) goto fail;
7890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7891 {
7892 PyThreadState* __tstate = wxPyBeginAllowThreads();
7893 result = (arg1)->Scale(arg2,arg3);
7894
7895 wxPyEndAllowThreads(__tstate);
7896 if (PyErr_Occurred()) SWIG_fail;
7897 }
7898 {
7899 wxImage * resultptr;
7900 resultptr = new wxImage((wxImage &) result);
7901 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
7902 }
7903 return resultobj;
7904 fail:
7905 return NULL;
7906}
7907
7908
7909static PyObject *_wrap_Image_ShrinkBy(PyObject *self, PyObject *args, PyObject *kwargs) {
7910 PyObject *resultobj;
7911 wxImage *arg1 = (wxImage *) 0 ;
7912 int arg2 ;
7913 int arg3 ;
7914 SwigValueWrapper< wxImage > result;
7915 PyObject * obj0 = 0 ;
7916 char *kwnames[] = {
7917 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
7918 };
7919
7920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_ShrinkBy",kwnames,&obj0,&arg2,&arg3)) goto fail;
7921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7922 {
7923 PyThreadState* __tstate = wxPyBeginAllowThreads();
7924 result = ((wxImage const *)arg1)->ShrinkBy(arg2,arg3);
7925
7926 wxPyEndAllowThreads(__tstate);
7927 if (PyErr_Occurred()) SWIG_fail;
7928 }
7929 {
7930 wxImage * resultptr;
7931 resultptr = new wxImage((wxImage &) result);
7932 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
7933 }
7934 return resultobj;
7935 fail:
7936 return NULL;
7937}
7938
7939
7940static PyObject *_wrap_Image_Rescale(PyObject *self, PyObject *args, PyObject *kwargs) {
7941 PyObject *resultobj;
7942 wxImage *arg1 = (wxImage *) 0 ;
7943 int arg2 ;
7944 int arg3 ;
7945 wxImage *result;
7946 PyObject * obj0 = 0 ;
7947 char *kwnames[] = {
7948 (char *) "self",(char *) "width",(char *) "height", NULL
7949 };
7950
7951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_Rescale",kwnames,&obj0,&arg2,&arg3)) goto fail;
7952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7953 {
7954 PyThreadState* __tstate = wxPyBeginAllowThreads();
7955 {
7956 wxImage &_result_ref = (arg1)->Rescale(arg2,arg3);
7957 result = (wxImage *) &_result_ref;
7958 }
7959
7960 wxPyEndAllowThreads(__tstate);
7961 if (PyErr_Occurred()) SWIG_fail;
7962 }
7963 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 0);
7964 return resultobj;
7965 fail:
7966 return NULL;
7967}
7968
7969
7970static PyObject *_wrap_Image_SetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
7971 PyObject *resultobj;
7972 wxImage *arg1 = (wxImage *) 0 ;
7973 int arg2 ;
7974 int arg3 ;
7975 unsigned char arg4 ;
7976 unsigned char arg5 ;
7977 unsigned char arg6 ;
7978 PyObject * obj0 = 0 ;
7979 PyObject * obj3 = 0 ;
7980 PyObject * obj4 = 0 ;
7981 PyObject * obj5 = 0 ;
7982 char *kwnames[] = {
7983 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
7984 };
7985
7986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiOOO:Image_SetRGB",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&obj5)) goto fail;
7987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7988 arg4 = (unsigned char) PyInt_AsLong(obj3);
7989 if (PyErr_Occurred()) SWIG_fail;
7990 arg5 = (unsigned char) PyInt_AsLong(obj4);
7991 if (PyErr_Occurred()) SWIG_fail;
7992 arg6 = (unsigned char) PyInt_AsLong(obj5);
7993 if (PyErr_Occurred()) SWIG_fail;
7994 {
7995 PyThreadState* __tstate = wxPyBeginAllowThreads();
7996 (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
7997
7998 wxPyEndAllowThreads(__tstate);
7999 if (PyErr_Occurred()) SWIG_fail;
8000 }
8001 Py_INCREF(Py_None); resultobj = Py_None;
8002 return resultobj;
8003 fail:
8004 return NULL;
8005}
8006
8007
8008static PyObject *_wrap_Image_GetRed(PyObject *self, PyObject *args, PyObject *kwargs) {
8009 PyObject *resultobj;
8010 wxImage *arg1 = (wxImage *) 0 ;
8011 int arg2 ;
8012 int arg3 ;
8013 unsigned char result;
8014 PyObject * obj0 = 0 ;
8015 char *kwnames[] = {
8016 (char *) "self",(char *) "x",(char *) "y", NULL
8017 };
8018
8019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_GetRed",kwnames,&obj0,&arg2,&arg3)) goto fail;
8020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8021 {
8022 PyThreadState* __tstate = wxPyBeginAllowThreads();
8023 result = (unsigned char)(arg1)->GetRed(arg2,arg3);
8024
8025 wxPyEndAllowThreads(__tstate);
8026 if (PyErr_Occurred()) SWIG_fail;
8027 }
8028 resultobj = PyInt_FromLong((long)result);
8029 return resultobj;
8030 fail:
8031 return NULL;
8032}
8033
8034
8035static PyObject *_wrap_Image_GetGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
8036 PyObject *resultobj;
8037 wxImage *arg1 = (wxImage *) 0 ;
8038 int arg2 ;
8039 int arg3 ;
8040 unsigned char result;
8041 PyObject * obj0 = 0 ;
8042 char *kwnames[] = {
8043 (char *) "self",(char *) "x",(char *) "y", NULL
8044 };
8045
8046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_GetGreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
8047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8048 {
8049 PyThreadState* __tstate = wxPyBeginAllowThreads();
8050 result = (unsigned char)(arg1)->GetGreen(arg2,arg3);
8051
8052 wxPyEndAllowThreads(__tstate);
8053 if (PyErr_Occurred()) SWIG_fail;
8054 }
8055 resultobj = PyInt_FromLong((long)result);
8056 return resultobj;
8057 fail:
8058 return NULL;
8059}
8060
8061
8062static PyObject *_wrap_Image_GetBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
8063 PyObject *resultobj;
8064 wxImage *arg1 = (wxImage *) 0 ;
8065 int arg2 ;
8066 int arg3 ;
8067 unsigned char result;
8068 PyObject * obj0 = 0 ;
8069 char *kwnames[] = {
8070 (char *) "self",(char *) "x",(char *) "y", NULL
8071 };
8072
8073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_GetBlue",kwnames,&obj0,&arg2,&arg3)) goto fail;
8074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8075 {
8076 PyThreadState* __tstate = wxPyBeginAllowThreads();
8077 result = (unsigned char)(arg1)->GetBlue(arg2,arg3);
8078
8079 wxPyEndAllowThreads(__tstate);
8080 if (PyErr_Occurred()) SWIG_fail;
8081 }
8082 resultobj = PyInt_FromLong((long)result);
8083 return resultobj;
8084 fail:
8085 return NULL;
8086}
8087
8088
8089static PyObject *_wrap_Image_SetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
8090 PyObject *resultobj;
8091 wxImage *arg1 = (wxImage *) 0 ;
8092 int arg2 ;
8093 int arg3 ;
8094 unsigned char arg4 ;
8095 PyObject * obj0 = 0 ;
8096 PyObject * obj3 = 0 ;
8097 char *kwnames[] = {
8098 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
8099 };
8100
8101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Image_SetAlpha",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
8102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8103 arg4 = (unsigned char) PyInt_AsLong(obj3);
8104 if (PyErr_Occurred()) SWIG_fail;
8105 {
8106 PyThreadState* __tstate = wxPyBeginAllowThreads();
8107 (arg1)->SetAlpha(arg2,arg3,arg4);
8108
8109 wxPyEndAllowThreads(__tstate);
8110 if (PyErr_Occurred()) SWIG_fail;
8111 }
8112 Py_INCREF(Py_None); resultobj = Py_None;
8113 return resultobj;
8114 fail:
8115 return NULL;
8116}
8117
8118
8119static PyObject *_wrap_Image_GetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
8120 PyObject *resultobj;
8121 wxImage *arg1 = (wxImage *) 0 ;
8122 int arg2 ;
8123 int arg3 ;
8124 unsigned char result;
8125 PyObject * obj0 = 0 ;
8126 char *kwnames[] = {
8127 (char *) "self",(char *) "x",(char *) "y", NULL
8128 };
8129
8130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_GetAlpha",kwnames,&obj0,&arg2,&arg3)) goto fail;
8131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8132 {
8133 PyThreadState* __tstate = wxPyBeginAllowThreads();
8134 result = (unsigned char)(arg1)->GetAlpha(arg2,arg3);
8135
8136 wxPyEndAllowThreads(__tstate);
8137 if (PyErr_Occurred()) SWIG_fail;
8138 }
8139 resultobj = PyInt_FromLong((long)result);
8140 return resultobj;
8141 fail:
8142 return NULL;
8143}
8144
8145
8146static PyObject *_wrap_Image_HasAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
8147 PyObject *resultobj;
8148 wxImage *arg1 = (wxImage *) 0 ;
8149 bool result;
8150 PyObject * obj0 = 0 ;
8151 char *kwnames[] = {
8152 (char *) "self", NULL
8153 };
8154
8155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail;
8156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8157 {
8158 PyThreadState* __tstate = wxPyBeginAllowThreads();
8159 result = (bool)(arg1)->HasAlpha();
8160
8161 wxPyEndAllowThreads(__tstate);
8162 if (PyErr_Occurred()) SWIG_fail;
8163 }
8164 resultobj = PyInt_FromLong((long)result);
8165 return resultobj;
8166 fail:
8167 return NULL;
8168}
8169
8170
8171static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8172 PyObject *resultobj;
8173 wxImage *arg1 = (wxImage *) 0 ;
8174 byte *arg2 = (byte *) 0 ;
8175 byte *arg3 = (byte *) 0 ;
8176 byte *arg4 = (byte *) 0 ;
8177 byte arg5 = (byte) 0 ;
8178 byte arg6 = (byte) 0 ;
8179 byte arg7 = (byte) 0 ;
8180 bool result;
8181 byte temp2 ;
8182 byte temp3 ;
8183 byte temp4 ;
8184 PyObject * obj0 = 0 ;
8185 PyObject * obj1 = 0 ;
8186 PyObject * obj2 = 0 ;
8187 PyObject * obj3 = 0 ;
8188 char *kwnames[] = {
8189 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8190 };
8191
8192 arg2 = &temp2;
8193 arg3 = &temp3;
8194 arg4 = &temp4;
8195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8197 if (obj1) {
8198 arg5 = (byte) PyInt_AsLong(obj1);
8199 if (PyErr_Occurred()) SWIG_fail;
8200 }
8201 if (obj2) {
8202 arg6 = (byte) PyInt_AsLong(obj2);
8203 if (PyErr_Occurred()) SWIG_fail;
8204 }
8205 if (obj3) {
8206 arg7 = (byte) PyInt_AsLong(obj3);
8207 if (PyErr_Occurred()) SWIG_fail;
8208 }
8209 {
8210 PyThreadState* __tstate = wxPyBeginAllowThreads();
8211 result = (bool)((wxImage const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
8212
8213 wxPyEndAllowThreads(__tstate);
8214 if (PyErr_Occurred()) SWIG_fail;
8215 }
8216 resultobj = PyInt_FromLong((long)result);
8217 {
8218 PyObject *o = PyInt_FromLong((long) (*arg2));
8219 resultobj = t_output_helper(resultobj,o);
8220 }
8221 {
8222 PyObject *o = PyInt_FromLong((long) (*arg3));
8223 resultobj = t_output_helper(resultobj,o);
8224 }
8225 {
8226 PyObject *o = PyInt_FromLong((long) (*arg4));
8227 resultobj = t_output_helper(resultobj,o);
8228 }
8229 return resultobj;
8230 fail:
8231 return NULL;
8232}
8233
8234
8235static PyObject *_wrap_Image_SetMaskFromImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8236 PyObject *resultobj;
8237 wxImage *arg1 = (wxImage *) 0 ;
8238 wxImage *arg2 = 0 ;
8239 byte arg3 ;
8240 byte arg4 ;
8241 byte arg5 ;
8242 bool result;
8243 PyObject * obj0 = 0 ;
8244 PyObject * obj1 = 0 ;
8245 PyObject * obj2 = 0 ;
8246 PyObject * obj3 = 0 ;
8247 PyObject * obj4 = 0 ;
8248 char *kwnames[] = {
8249 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
8250 };
8251
8252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8254 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8255 if (arg2 == NULL) {
8256 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8257 }
8258 arg3 = (byte) PyInt_AsLong(obj2);
8259 if (PyErr_Occurred()) SWIG_fail;
8260 arg4 = (byte) PyInt_AsLong(obj3);
8261 if (PyErr_Occurred()) SWIG_fail;
8262 arg5 = (byte) PyInt_AsLong(obj4);
8263 if (PyErr_Occurred()) SWIG_fail;
8264 {
8265 PyThreadState* __tstate = wxPyBeginAllowThreads();
8266 result = (bool)(arg1)->SetMaskFromImage((wxImage const &)*arg2,arg3,arg4,arg5);
8267
8268 wxPyEndAllowThreads(__tstate);
8269 if (PyErr_Occurred()) SWIG_fail;
8270 }
8271 resultobj = PyInt_FromLong((long)result);
8272 return resultobj;
8273 fail:
8274 return NULL;
8275}
8276
8277
8278static PyObject *_wrap_Image_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
8279 PyObject *resultobj;
8280 wxString *arg1 = 0 ;
8281 bool result;
423f194a 8282 bool temp1 = False ;
d14a1e28
RD
8283 PyObject * obj0 = 0 ;
8284 char *kwnames[] = {
8285 (char *) "name", NULL
8286 };
8287
8288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
8289 {
8290 arg1 = wxString_in_helper(obj0);
8291 if (arg1 == NULL) SWIG_fail;
423f194a 8292 temp1 = True;
d14a1e28
RD
8293 }
8294 {
8295 PyThreadState* __tstate = wxPyBeginAllowThreads();
8296 result = (bool)wxImage::CanRead((wxString const &)*arg1);
8297
8298 wxPyEndAllowThreads(__tstate);
8299 if (PyErr_Occurred()) SWIG_fail;
8300 }
8301 resultobj = PyInt_FromLong((long)result);
8302 {
8303 if (temp1)
8304 delete arg1;
8305 }
8306 return resultobj;
8307 fail:
8308 {
8309 if (temp1)
8310 delete arg1;
8311 }
8312 return NULL;
8313}
8314
8315
8316static PyObject *_wrap_Image_GetImageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8317 PyObject *resultobj;
8318 wxString *arg1 = 0 ;
8319 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8320 int result;
423f194a 8321 bool temp1 = False ;
d14a1e28
RD
8322 PyObject * obj0 = 0 ;
8323 char *kwnames[] = {
8324 (char *) "name",(char *) "type", NULL
8325 };
8326
8327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:Image_GetImageCount",kwnames,&obj0,&arg2)) goto fail;
8328 {
8329 arg1 = wxString_in_helper(obj0);
8330 if (arg1 == NULL) SWIG_fail;
423f194a 8331 temp1 = True;
d14a1e28
RD
8332 }
8333 {
8334 PyThreadState* __tstate = wxPyBeginAllowThreads();
8335 result = (int)wxImage::GetImageCount((wxString const &)*arg1,arg2);
8336
8337 wxPyEndAllowThreads(__tstate);
8338 if (PyErr_Occurred()) SWIG_fail;
8339 }
8340 resultobj = PyInt_FromLong((long)result);
8341 {
8342 if (temp1)
8343 delete arg1;
8344 }
8345 return resultobj;
8346 fail:
8347 {
8348 if (temp1)
8349 delete arg1;
8350 }
8351 return NULL;
8352}
8353
8354
8355static PyObject *_wrap_Image_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8356 PyObject *resultobj;
8357 wxImage *arg1 = (wxImage *) 0 ;
8358 wxString *arg2 = 0 ;
8359 long arg3 = (long) wxBITMAP_TYPE_ANY ;
8360 int arg4 = (int) -1 ;
8361 bool result;
423f194a 8362 bool temp2 = False ;
d14a1e28
RD
8363 PyObject * obj0 = 0 ;
8364 PyObject * obj1 = 0 ;
8365 char *kwnames[] = {
8366 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
8367 };
8368
8369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|li:Image_LoadFile",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
8370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8371 {
8372 arg2 = wxString_in_helper(obj1);
8373 if (arg2 == NULL) SWIG_fail;
423f194a 8374 temp2 = True;
d14a1e28
RD
8375 }
8376 {
8377 PyThreadState* __tstate = wxPyBeginAllowThreads();
8378 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3,arg4);
8379
8380 wxPyEndAllowThreads(__tstate);
8381 if (PyErr_Occurred()) SWIG_fail;
8382 }
8383 resultobj = PyInt_FromLong((long)result);
8384 {
8385 if (temp2)
8386 delete arg2;
8387 }
8388 return resultobj;
8389 fail:
8390 {
8391 if (temp2)
8392 delete arg2;
8393 }
8394 return NULL;
8395}
8396
8397
8398static PyObject *_wrap_Image_LoadMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8399 PyObject *resultobj;
8400 wxImage *arg1 = (wxImage *) 0 ;
8401 wxString *arg2 = 0 ;
8402 wxString *arg3 = 0 ;
8403 int arg4 = (int) -1 ;
8404 bool result;
423f194a
RD
8405 bool temp2 = False ;
8406 bool temp3 = False ;
d14a1e28
RD
8407 PyObject * obj0 = 0 ;
8408 PyObject * obj1 = 0 ;
8409 PyObject * obj2 = 0 ;
8410 char *kwnames[] = {
8411 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
8412 };
8413
8414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
8415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8416 {
8417 arg2 = wxString_in_helper(obj1);
8418 if (arg2 == NULL) SWIG_fail;
423f194a 8419 temp2 = True;
d14a1e28
RD
8420 }
8421 {
8422 arg3 = wxString_in_helper(obj2);
8423 if (arg3 == NULL) SWIG_fail;
423f194a 8424 temp3 = True;
d14a1e28
RD
8425 }
8426 {
8427 PyThreadState* __tstate = wxPyBeginAllowThreads();
8428 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxString const &)*arg3,arg4);
8429
8430 wxPyEndAllowThreads(__tstate);
8431 if (PyErr_Occurred()) SWIG_fail;
8432 }
8433 resultobj = PyInt_FromLong((long)result);
8434 {
8435 if (temp2)
8436 delete arg2;
8437 }
8438 {
8439 if (temp3)
8440 delete arg3;
8441 }
8442 return resultobj;
8443 fail:
8444 {
8445 if (temp2)
8446 delete arg2;
8447 }
8448 {
8449 if (temp3)
8450 delete arg3;
8451 }
8452 return NULL;
8453}
8454
8455
8456static PyObject *_wrap_Image_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8457 PyObject *resultobj;
8458 wxImage *arg1 = (wxImage *) 0 ;
8459 wxString *arg2 = 0 ;
8460 int arg3 ;
8461 bool result;
423f194a 8462 bool temp2 = False ;
d14a1e28
RD
8463 PyObject * obj0 = 0 ;
8464 PyObject * obj1 = 0 ;
8465 char *kwnames[] = {
8466 (char *) "self",(char *) "name",(char *) "type", NULL
8467 };
8468
8469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:Image_SaveFile",kwnames,&obj0,&obj1,&arg3)) goto fail;
8470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8471 {
8472 arg2 = wxString_in_helper(obj1);
8473 if (arg2 == NULL) SWIG_fail;
423f194a 8474 temp2 = True;
d14a1e28
RD
8475 }
8476 {
8477 PyThreadState* __tstate = wxPyBeginAllowThreads();
8478 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
8479
8480 wxPyEndAllowThreads(__tstate);
8481 if (PyErr_Occurred()) SWIG_fail;
8482 }
8483 resultobj = PyInt_FromLong((long)result);
8484 {
8485 if (temp2)
8486 delete arg2;
8487 }
8488 return resultobj;
8489 fail:
8490 {
8491 if (temp2)
8492 delete arg2;
8493 }
8494 return NULL;
8495}
8496
8497
8498static PyObject *_wrap_Image_SaveMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8499 PyObject *resultobj;
8500 wxImage *arg1 = (wxImage *) 0 ;
8501 wxString *arg2 = 0 ;
8502 wxString *arg3 = 0 ;
8503 bool result;
423f194a
RD
8504 bool temp2 = False ;
8505 bool temp3 = False ;
d14a1e28
RD
8506 PyObject * obj0 = 0 ;
8507 PyObject * obj1 = 0 ;
8508 PyObject * obj2 = 0 ;
8509 char *kwnames[] = {
8510 (char *) "self",(char *) "name",(char *) "mimetype", NULL
8511 };
8512
8513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
8514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8515 {
8516 arg2 = wxString_in_helper(obj1);
8517 if (arg2 == NULL) SWIG_fail;
423f194a 8518 temp2 = True;
d14a1e28
RD
8519 }
8520 {
8521 arg3 = wxString_in_helper(obj2);
8522 if (arg3 == NULL) SWIG_fail;
423f194a 8523 temp3 = True;
d14a1e28
RD
8524 }
8525 {
8526 PyThreadState* __tstate = wxPyBeginAllowThreads();
8527 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxString const &)*arg3);
8528
8529 wxPyEndAllowThreads(__tstate);
8530 if (PyErr_Occurred()) SWIG_fail;
8531 }
8532 resultobj = PyInt_FromLong((long)result);
8533 {
8534 if (temp2)
8535 delete arg2;
8536 }
8537 {
8538 if (temp3)
8539 delete arg3;
8540 }
8541 return resultobj;
8542 fail:
8543 {
8544 if (temp2)
8545 delete arg2;
8546 }
8547 {
8548 if (temp3)
8549 delete arg3;
8550 }
8551 return NULL;
8552}
8553
8554
8555static PyObject *_wrap_Image_CanReadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8556 PyObject *resultobj;
8557 wxInputStream *arg1 = 0 ;
8558 bool result;
8559 wxPyInputStream *temp1 ;
8560 bool created1 ;
8561 PyObject * obj0 = 0 ;
8562 char *kwnames[] = {
8563 (char *) "stream", NULL
8564 };
8565
8566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail;
8567 {
8568 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8569 arg1 = temp1->m_wxis;
423f194a 8570 created1 = False;
d14a1e28
RD
8571 } else {
8572 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 8573 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
8574 if (arg1 == NULL) {
8575 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8576 SWIG_fail;
8577 }
423f194a 8578 created1 = True;
d14a1e28
RD
8579 }
8580 }
8581 {
8582 PyThreadState* __tstate = wxPyBeginAllowThreads();
8583 result = (bool)wxImage::CanRead(*arg1);
8584
8585 wxPyEndAllowThreads(__tstate);
8586 if (PyErr_Occurred()) SWIG_fail;
8587 }
8588 resultobj = PyInt_FromLong((long)result);
8589 {
8590 if (created1)
8591 delete arg1;
8592 }
8593 return resultobj;
8594 fail:
8595 {
8596 if (created1)
8597 delete arg1;
8598 }
8599 return NULL;
8600}
8601
8602
8603static PyObject *_wrap_Image_LoadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8604 PyObject *resultobj;
8605 wxImage *arg1 = (wxImage *) 0 ;
8606 wxInputStream *arg2 = 0 ;
8607 long arg3 = (long) wxBITMAP_TYPE_ANY ;
8608 int arg4 = (int) -1 ;
8609 bool result;
8610 wxPyInputStream *temp2 ;
8611 bool created2 ;
8612 PyObject * obj0 = 0 ;
8613 PyObject * obj1 = 0 ;
8614 char *kwnames[] = {
8615 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
8616 };
8617
8618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|li:Image_LoadStream",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
8619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8620 {
8621 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
8622 arg2 = temp2->m_wxis;
423f194a 8623 created2 = False;
d14a1e28
RD
8624 } else {
8625 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 8626 arg2 = wxPyCBInputStream_create(obj1, False);
d14a1e28
RD
8627 if (arg2 == NULL) {
8628 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8629 SWIG_fail;
8630 }
423f194a 8631 created2 = True;
d14a1e28
RD
8632 }
8633 }
8634 {
8635 PyThreadState* __tstate = wxPyBeginAllowThreads();
8636 result = (bool)(arg1)->LoadFile(*arg2,arg3,arg4);
8637
8638 wxPyEndAllowThreads(__tstate);
8639 if (PyErr_Occurred()) SWIG_fail;
8640 }
8641 resultobj = PyInt_FromLong((long)result);
8642 {
8643 if (created2)
8644 delete arg2;
8645 }
8646 return resultobj;
8647 fail:
8648 {
8649 if (created2)
8650 delete arg2;
8651 }
8652 return NULL;
8653}
8654
8655
8656static PyObject *_wrap_Image_LoadMimeStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8657 PyObject *resultobj;
8658 wxImage *arg1 = (wxImage *) 0 ;
8659 wxInputStream *arg2 = 0 ;
8660 wxString *arg3 = 0 ;
8661 int arg4 = (int) -1 ;
8662 bool result;
8663 wxPyInputStream *temp2 ;
8664 bool created2 ;
423f194a 8665 bool temp3 = False ;
d14a1e28
RD
8666 PyObject * obj0 = 0 ;
8667 PyObject * obj1 = 0 ;
8668 PyObject * obj2 = 0 ;
8669 char *kwnames[] = {
8670 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
8671 };
8672
8673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
8674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8675 {
8676 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
8677 arg2 = temp2->m_wxis;
423f194a 8678 created2 = False;
d14a1e28
RD
8679 } else {
8680 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 8681 arg2 = wxPyCBInputStream_create(obj1, False);
d14a1e28
RD
8682 if (arg2 == NULL) {
8683 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8684 SWIG_fail;
8685 }
423f194a 8686 created2 = True;
d14a1e28
RD
8687 }
8688 }
8689 {
8690 arg3 = wxString_in_helper(obj2);
8691 if (arg3 == NULL) SWIG_fail;
423f194a 8692 temp3 = True;
d14a1e28
RD
8693 }
8694 {
8695 PyThreadState* __tstate = wxPyBeginAllowThreads();
8696 result = (bool)(arg1)->LoadFile(*arg2,(wxString const &)*arg3,arg4);
8697
8698 wxPyEndAllowThreads(__tstate);
8699 if (PyErr_Occurred()) SWIG_fail;
8700 }
8701 resultobj = PyInt_FromLong((long)result);
8702 {
8703 if (created2)
8704 delete arg2;
8705 }
8706 {
8707 if (temp3)
8708 delete arg3;
8709 }
8710 return resultobj;
8711 fail:
8712 {
8713 if (created2)
8714 delete arg2;
8715 }
8716 {
8717 if (temp3)
8718 delete arg3;
8719 }
8720 return NULL;
8721}
8722
8723
8724static PyObject *_wrap_Image_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8725 PyObject *resultobj;
8726 wxImage *arg1 = (wxImage *) 0 ;
8727 bool result;
8728 PyObject * obj0 = 0 ;
8729 char *kwnames[] = {
8730 (char *) "self", NULL
8731 };
8732
8733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail;
8734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8735 {
8736 PyThreadState* __tstate = wxPyBeginAllowThreads();
8737 result = (bool)(arg1)->Ok();
8738
8739 wxPyEndAllowThreads(__tstate);
8740 if (PyErr_Occurred()) SWIG_fail;
8741 }
8742 resultobj = PyInt_FromLong((long)result);
8743 return resultobj;
8744 fail:
8745 return NULL;
8746}
8747
8748
8749static PyObject *_wrap_Image_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8750 PyObject *resultobj;
8751 wxImage *arg1 = (wxImage *) 0 ;
8752 int result;
8753 PyObject * obj0 = 0 ;
8754 char *kwnames[] = {
8755 (char *) "self", NULL
8756 };
8757
8758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail;
8759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8760 {
8761 PyThreadState* __tstate = wxPyBeginAllowThreads();
8762 result = (int)(arg1)->GetWidth();
8763
8764 wxPyEndAllowThreads(__tstate);
8765 if (PyErr_Occurred()) SWIG_fail;
8766 }
8767 resultobj = PyInt_FromLong((long)result);
8768 return resultobj;
8769 fail:
8770 return NULL;
8771}
8772
8773
8774static PyObject *_wrap_Image_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8775 PyObject *resultobj;
8776 wxImage *arg1 = (wxImage *) 0 ;
8777 int result;
8778 PyObject * obj0 = 0 ;
8779 char *kwnames[] = {
8780 (char *) "self", NULL
8781 };
8782
8783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) goto fail;
8784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8785 {
8786 PyThreadState* __tstate = wxPyBeginAllowThreads();
8787 result = (int)(arg1)->GetHeight();
8788
8789 wxPyEndAllowThreads(__tstate);
8790 if (PyErr_Occurred()) SWIG_fail;
8791 }
8792 resultobj = PyInt_FromLong((long)result);
8793 return resultobj;
8794 fail:
8795 return NULL;
8796}
8797
8798
8799static PyObject *_wrap_Image_GetSubImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8800 PyObject *resultobj;
8801 wxImage *arg1 = (wxImage *) 0 ;
8802 wxRect *arg2 = 0 ;
8803 SwigValueWrapper< wxImage > result;
8804 wxRect temp2 ;
8805 PyObject * obj0 = 0 ;
8806 PyObject * obj1 = 0 ;
8807 char *kwnames[] = {
8808 (char *) "self",(char *) "rect", NULL
8809 };
8810
8811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail;
8812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8813 {
8814 arg2 = &temp2;
8815 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8816 }
8817 {
8818 PyThreadState* __tstate = wxPyBeginAllowThreads();
8819 result = (arg1)->GetSubImage((wxRect const &)*arg2);
8820
8821 wxPyEndAllowThreads(__tstate);
8822 if (PyErr_Occurred()) SWIG_fail;
8823 }
8824 {
8825 wxImage * resultptr;
8826 resultptr = new wxImage((wxImage &) result);
8827 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
8828 }
8829 return resultobj;
8830 fail:
8831 return NULL;
8832}
8833
8834
8835static PyObject *_wrap_Image_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8836 PyObject *resultobj;
8837 wxImage *arg1 = (wxImage *) 0 ;
8838 SwigValueWrapper< wxImage > result;
8839 PyObject * obj0 = 0 ;
8840 char *kwnames[] = {
8841 (char *) "self", NULL
8842 };
8843
8844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail;
8845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8846 {
8847 PyThreadState* __tstate = wxPyBeginAllowThreads();
8848 result = (arg1)->Copy();
8849
8850 wxPyEndAllowThreads(__tstate);
8851 if (PyErr_Occurred()) SWIG_fail;
8852 }
8853 {
8854 wxImage * resultptr;
8855 resultptr = new wxImage((wxImage &) result);
8856 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
8857 }
8858 return resultobj;
8859 fail:
8860 return NULL;
8861}
8862
8863
8864static PyObject *_wrap_Image_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8865 PyObject *resultobj;
8866 wxImage *arg1 = (wxImage *) 0 ;
8867 wxImage *arg2 = 0 ;
8868 int arg3 ;
8869 int arg4 ;
8870 PyObject * obj0 = 0 ;
8871 PyObject * obj1 = 0 ;
8872 char *kwnames[] = {
8873 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
8874 };
8875
8876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:Image_Paste",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
8877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8878 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8879 if (arg2 == NULL) {
8880 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8881 }
8882 {
8883 PyThreadState* __tstate = wxPyBeginAllowThreads();
8884 (arg1)->Paste((wxImage const &)*arg2,arg3,arg4);
8885
8886 wxPyEndAllowThreads(__tstate);
8887 if (PyErr_Occurred()) SWIG_fail;
8888 }
8889 Py_INCREF(Py_None); resultobj = Py_None;
8890 return resultobj;
8891 fail:
8892 return NULL;
8893}
8894
8895
8896static PyObject *_wrap_Image_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8897 PyObject *resultobj;
8898 wxImage *arg1 = (wxImage *) 0 ;
8899 PyObject *result;
8900 PyObject * obj0 = 0 ;
8901 char *kwnames[] = {
8902 (char *) "self", NULL
8903 };
8904
8905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) goto fail;
8906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8907 {
8908 PyThreadState* __tstate = wxPyBeginAllowThreads();
8909 result = (PyObject *)wxImage_GetData(arg1);
8910
8911 wxPyEndAllowThreads(__tstate);
8912 if (PyErr_Occurred()) SWIG_fail;
8913 }
8914 resultobj = result;
8915 return resultobj;
8916 fail:
8917 return NULL;
8918}
8919
8920
8921static PyObject *_wrap_Image_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8922 PyObject *resultobj;
8923 wxImage *arg1 = (wxImage *) 0 ;
8924 PyObject *arg2 = (PyObject *) 0 ;
8925 PyObject * obj0 = 0 ;
8926 PyObject * obj1 = 0 ;
8927 char *kwnames[] = {
8928 (char *) "self",(char *) "data", NULL
8929 };
8930
8931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail;
8932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8933 arg2 = obj1;
8934 {
8935 PyThreadState* __tstate = wxPyBeginAllowThreads();
8936 wxImage_SetData(arg1,arg2);
8937
8938 wxPyEndAllowThreads(__tstate);
8939 if (PyErr_Occurred()) SWIG_fail;
8940 }
8941 Py_INCREF(Py_None); resultobj = Py_None;
8942 return resultobj;
8943 fail:
8944 return NULL;
8945}
8946
8947
8948static PyObject *_wrap_Image_GetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
8949 PyObject *resultobj;
8950 wxImage *arg1 = (wxImage *) 0 ;
8951 PyObject *result;
8952 PyObject * obj0 = 0 ;
8953 char *kwnames[] = {
8954 (char *) "self", NULL
8955 };
8956
8957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail;
8958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8959 {
8960 PyThreadState* __tstate = wxPyBeginAllowThreads();
8961 result = (PyObject *)wxImage_GetDataBuffer(arg1);
8962
8963 wxPyEndAllowThreads(__tstate);
8964 if (PyErr_Occurred()) SWIG_fail;
8965 }
8966 resultobj = result;
8967 return resultobj;
8968 fail:
8969 return NULL;
8970}
8971
8972
8973static PyObject *_wrap_Image_SetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
8974 PyObject *resultobj;
8975 wxImage *arg1 = (wxImage *) 0 ;
8976 PyObject *arg2 = (PyObject *) 0 ;
8977 PyObject * obj0 = 0 ;
8978 PyObject * obj1 = 0 ;
8979 char *kwnames[] = {
8980 (char *) "self",(char *) "data", NULL
8981 };
8982
8983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail;
8984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8985 arg2 = obj1;
8986 {
8987 PyThreadState* __tstate = wxPyBeginAllowThreads();
8988 wxImage_SetDataBuffer(arg1,arg2);
8989
8990 wxPyEndAllowThreads(__tstate);
8991 if (PyErr_Occurred()) SWIG_fail;
8992 }
8993 Py_INCREF(Py_None); resultobj = Py_None;
8994 return resultobj;
8995 fail:
8996 return NULL;
8997}
8998
8999
9000static PyObject *_wrap_Image_GetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
9001 PyObject *resultobj;
9002 wxImage *arg1 = (wxImage *) 0 ;
9003 PyObject *result;
9004 PyObject * obj0 = 0 ;
9005 char *kwnames[] = {
9006 (char *) "self", NULL
9007 };
9008
9009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail;
9010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9011 {
9012 PyThreadState* __tstate = wxPyBeginAllowThreads();
9013 result = (PyObject *)wxImage_GetAlphaData(arg1);
9014
9015 wxPyEndAllowThreads(__tstate);
9016 if (PyErr_Occurred()) SWIG_fail;
9017 }
9018 resultobj = result;
9019 return resultobj;
9020 fail:
9021 return NULL;
9022}
9023
9024
9025static PyObject *_wrap_Image_SetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
9026 PyObject *resultobj;
9027 wxImage *arg1 = (wxImage *) 0 ;
9028 PyObject *arg2 = (PyObject *) 0 ;
9029 PyObject * obj0 = 0 ;
9030 PyObject * obj1 = 0 ;
9031 char *kwnames[] = {
9032 (char *) "self",(char *) "data", NULL
9033 };
9034
9035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail;
9036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9037 arg2 = obj1;
9038 {
9039 PyThreadState* __tstate = wxPyBeginAllowThreads();
9040 wxImage_SetAlphaData(arg1,arg2);
9041
9042 wxPyEndAllowThreads(__tstate);
9043 if (PyErr_Occurred()) SWIG_fail;
9044 }
9045 Py_INCREF(Py_None); resultobj = Py_None;
9046 return resultobj;
9047 fail:
9048 return NULL;
9049}
9050
9051
9052static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
9053 PyObject *resultobj;
9054 wxImage *arg1 = (wxImage *) 0 ;
9055 PyObject *result;
9056 PyObject * obj0 = 0 ;
9057 char *kwnames[] = {
9058 (char *) "self", NULL
9059 };
9060
9061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail;
9062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9063 {
9064 PyThreadState* __tstate = wxPyBeginAllowThreads();
9065 result = (PyObject *)wxImage_GetAlphaBuffer(arg1);
9066
9067 wxPyEndAllowThreads(__tstate);
9068 if (PyErr_Occurred()) SWIG_fail;
9069 }
9070 resultobj = result;
9071 return resultobj;
9072 fail:
9073 return NULL;
9074}
9075
9076
9077static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
9078 PyObject *resultobj;
9079 wxImage *arg1 = (wxImage *) 0 ;
9080 PyObject *arg2 = (PyObject *) 0 ;
9081 PyObject * obj0 = 0 ;
9082 PyObject * obj1 = 0 ;
9083 char *kwnames[] = {
9084 (char *) "self",(char *) "data", NULL
9085 };
9086
9087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail;
9088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9089 arg2 = obj1;
9090 {
9091 PyThreadState* __tstate = wxPyBeginAllowThreads();
9092 wxImage_SetAlphaBuffer(arg1,arg2);
9093
9094 wxPyEndAllowThreads(__tstate);
9095 if (PyErr_Occurred()) SWIG_fail;
9096 }
9097 Py_INCREF(Py_None); resultobj = Py_None;
9098 return resultobj;
9099 fail:
9100 return NULL;
9101}
9102
9103
9104static PyObject *_wrap_Image_SetMaskColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9105 PyObject *resultobj;
9106 wxImage *arg1 = (wxImage *) 0 ;
9107 unsigned char arg2 ;
9108 unsigned char arg3 ;
9109 unsigned char arg4 ;
9110 PyObject * obj0 = 0 ;
9111 PyObject * obj1 = 0 ;
9112 PyObject * obj2 = 0 ;
9113 PyObject * obj3 = 0 ;
9114 char *kwnames[] = {
9115 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9116 };
9117
9118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9120 arg2 = (unsigned char) PyInt_AsLong(obj1);
9121 if (PyErr_Occurred()) SWIG_fail;
9122 arg3 = (unsigned char) PyInt_AsLong(obj2);
9123 if (PyErr_Occurred()) SWIG_fail;
9124 arg4 = (unsigned char) PyInt_AsLong(obj3);
9125 if (PyErr_Occurred()) SWIG_fail;
9126 {
9127 PyThreadState* __tstate = wxPyBeginAllowThreads();
9128 (arg1)->SetMaskColour(arg2,arg3,arg4);
9129
9130 wxPyEndAllowThreads(__tstate);
9131 if (PyErr_Occurred()) SWIG_fail;
9132 }
9133 Py_INCREF(Py_None); resultobj = Py_None;
9134 return resultobj;
9135 fail:
9136 return NULL;
9137}
9138
9139
9140static PyObject *_wrap_Image_GetMaskRed(PyObject *self, PyObject *args, PyObject *kwargs) {
9141 PyObject *resultobj;
9142 wxImage *arg1 = (wxImage *) 0 ;
9143 unsigned char result;
9144 PyObject * obj0 = 0 ;
9145 char *kwnames[] = {
9146 (char *) "self", NULL
9147 };
9148
9149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail;
9150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9151 {
9152 PyThreadState* __tstate = wxPyBeginAllowThreads();
9153 result = (unsigned char)(arg1)->GetMaskRed();
9154
9155 wxPyEndAllowThreads(__tstate);
9156 if (PyErr_Occurred()) SWIG_fail;
9157 }
9158 resultobj = PyInt_FromLong((long)result);
9159 return resultobj;
9160 fail:
9161 return NULL;
9162}
9163
9164
9165static PyObject *_wrap_Image_GetMaskGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
9166 PyObject *resultobj;
9167 wxImage *arg1 = (wxImage *) 0 ;
9168 unsigned char result;
9169 PyObject * obj0 = 0 ;
9170 char *kwnames[] = {
9171 (char *) "self", NULL
9172 };
9173
9174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail;
9175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9176 {
9177 PyThreadState* __tstate = wxPyBeginAllowThreads();
9178 result = (unsigned char)(arg1)->GetMaskGreen();
9179
9180 wxPyEndAllowThreads(__tstate);
9181 if (PyErr_Occurred()) SWIG_fail;
9182 }
9183 resultobj = PyInt_FromLong((long)result);
9184 return resultobj;
9185 fail:
9186 return NULL;
9187}
9188
9189
9190static PyObject *_wrap_Image_GetMaskBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
9191 PyObject *resultobj;
9192 wxImage *arg1 = (wxImage *) 0 ;
9193 unsigned char result;
9194 PyObject * obj0 = 0 ;
9195 char *kwnames[] = {
9196 (char *) "self", NULL
9197 };
9198
9199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail;
9200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9201 {
9202 PyThreadState* __tstate = wxPyBeginAllowThreads();
9203 result = (unsigned char)(arg1)->GetMaskBlue();
9204
9205 wxPyEndAllowThreads(__tstate);
9206 if (PyErr_Occurred()) SWIG_fail;
9207 }
9208 resultobj = PyInt_FromLong((long)result);
9209 return resultobj;
9210 fail:
9211 return NULL;
9212}
9213
9214
9215static PyObject *_wrap_Image_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
9216 PyObject *resultobj;
9217 wxImage *arg1 = (wxImage *) 0 ;
423f194a 9218 bool arg2 = (bool) True ;
d14a1e28
RD
9219 PyObject * obj0 = 0 ;
9220 PyObject * obj1 = 0 ;
9221 char *kwnames[] = {
9222 (char *) "self",(char *) "mask", NULL
9223 };
9224
9225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail;
9226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9227 if (obj1) {
9228 arg2 = PyInt_AsLong(obj1) ? true : false;
9229 if (PyErr_Occurred()) SWIG_fail;
9230 }
9231 {
9232 PyThreadState* __tstate = wxPyBeginAllowThreads();
9233 (arg1)->SetMask(arg2);
9234
9235 wxPyEndAllowThreads(__tstate);
9236 if (PyErr_Occurred()) SWIG_fail;
9237 }
9238 Py_INCREF(Py_None); resultobj = Py_None;
9239 return resultobj;
9240 fail:
9241 return NULL;
9242}
9243
9244
9245static PyObject *_wrap_Image_HasMask(PyObject *self, PyObject *args, PyObject *kwargs) {
9246 PyObject *resultobj;
9247 wxImage *arg1 = (wxImage *) 0 ;
9248 bool result;
9249 PyObject * obj0 = 0 ;
9250 char *kwnames[] = {
9251 (char *) "self", NULL
9252 };
9253
9254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail;
9255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9256 {
9257 PyThreadState* __tstate = wxPyBeginAllowThreads();
9258 result = (bool)(arg1)->HasMask();
9259
9260 wxPyEndAllowThreads(__tstate);
9261 if (PyErr_Occurred()) SWIG_fail;
9262 }
9263 resultobj = PyInt_FromLong((long)result);
9264 return resultobj;
9265 fail:
9266 return NULL;
9267}
9268
9269
9270static PyObject *_wrap_Image_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
9271 PyObject *resultobj;
9272 wxImage *arg1 = (wxImage *) 0 ;
9273 double arg2 ;
9274 wxPoint *arg3 = 0 ;
423f194a 9275 bool arg4 = (bool) True ;
d14a1e28
RD
9276 wxPoint *arg5 = (wxPoint *) NULL ;
9277 SwigValueWrapper< wxImage > result;
9278 wxPoint temp3 ;
9279 PyObject * obj0 = 0 ;
9280 PyObject * obj2 = 0 ;
9281 PyObject * obj3 = 0 ;
9282 PyObject * obj4 = 0 ;
9283 char *kwnames[] = {
9284 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
9285 };
9286
9287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OdO|OO:Image_Rotate",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4)) goto fail;
9288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9289 {
9290 arg3 = &temp3;
9291 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9292 }
9293 if (obj3) {
9294 arg4 = PyInt_AsLong(obj3) ? true : false;
9295 if (PyErr_Occurred()) SWIG_fail;
9296 }
9297 if (obj4) {
9298 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9299 }
9300 {
9301 PyThreadState* __tstate = wxPyBeginAllowThreads();
9302 result = ((wxImage const *)arg1)->Rotate(arg2,(wxPoint const &)*arg3,arg4,arg5);
9303
9304 wxPyEndAllowThreads(__tstate);
9305 if (PyErr_Occurred()) SWIG_fail;
9306 }
9307 {
9308 wxImage * resultptr;
9309 resultptr = new wxImage((wxImage &) result);
9310 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9311 }
9312 return resultobj;
9313 fail:
9314 return NULL;
9315}
9316
9317
9318static PyObject *_wrap_Image_Rotate90(PyObject *self, PyObject *args, PyObject *kwargs) {
9319 PyObject *resultobj;
9320 wxImage *arg1 = (wxImage *) 0 ;
423f194a 9321 bool arg2 = (bool) True ;
d14a1e28
RD
9322 SwigValueWrapper< wxImage > result;
9323 PyObject * obj0 = 0 ;
9324 PyObject * obj1 = 0 ;
9325 char *kwnames[] = {
9326 (char *) "self",(char *) "clockwise", NULL
9327 };
9328
9329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail;
9330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9331 if (obj1) {
9332 arg2 = PyInt_AsLong(obj1) ? true : false;
9333 if (PyErr_Occurred()) SWIG_fail;
9334 }
9335 {
9336 PyThreadState* __tstate = wxPyBeginAllowThreads();
9337 result = (arg1)->Rotate90(arg2);
9338
9339 wxPyEndAllowThreads(__tstate);
9340 if (PyErr_Occurred()) SWIG_fail;
9341 }
9342 {
9343 wxImage * resultptr;
9344 resultptr = new wxImage((wxImage &) result);
9345 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9346 }
9347 return resultobj;
9348 fail:
9349 return NULL;
9350}
9351
9352
9353static PyObject *_wrap_Image_Mirror(PyObject *self, PyObject *args, PyObject *kwargs) {
9354 PyObject *resultobj;
9355 wxImage *arg1 = (wxImage *) 0 ;
423f194a 9356 bool arg2 = (bool) True ;
d14a1e28
RD
9357 SwigValueWrapper< wxImage > result;
9358 PyObject * obj0 = 0 ;
9359 PyObject * obj1 = 0 ;
9360 char *kwnames[] = {
9361 (char *) "self",(char *) "horizontally", NULL
9362 };
9363
9364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail;
9365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9366 if (obj1) {
9367 arg2 = PyInt_AsLong(obj1) ? true : false;
9368 if (PyErr_Occurred()) SWIG_fail;
9369 }
9370 {
9371 PyThreadState* __tstate = wxPyBeginAllowThreads();
9372 result = (arg1)->Mirror(arg2);
9373
9374 wxPyEndAllowThreads(__tstate);
9375 if (PyErr_Occurred()) SWIG_fail;
9376 }
9377 {
9378 wxImage * resultptr;
9379 resultptr = new wxImage((wxImage &) result);
9380 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9381 }
9382 return resultobj;
9383 fail:
9384 return NULL;
9385}
9386
9387
9388static PyObject *_wrap_Image_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
9389 PyObject *resultobj;
9390 wxImage *arg1 = (wxImage *) 0 ;
9391 unsigned char arg2 ;
9392 unsigned char arg3 ;
9393 unsigned char arg4 ;
9394 unsigned char arg5 ;
9395 unsigned char arg6 ;
9396 unsigned char arg7 ;
9397 PyObject * obj0 = 0 ;
9398 PyObject * obj1 = 0 ;
9399 PyObject * obj2 = 0 ;
9400 PyObject * obj3 = 0 ;
9401 PyObject * obj4 = 0 ;
9402 PyObject * obj5 = 0 ;
9403 PyObject * obj6 = 0 ;
9404 char *kwnames[] = {
9405 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
9406 };
9407
9408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9410 arg2 = (unsigned char) PyInt_AsLong(obj1);
9411 if (PyErr_Occurred()) SWIG_fail;
9412 arg3 = (unsigned char) PyInt_AsLong(obj2);
9413 if (PyErr_Occurred()) SWIG_fail;
9414 arg4 = (unsigned char) PyInt_AsLong(obj3);
9415 if (PyErr_Occurred()) SWIG_fail;
9416 arg5 = (unsigned char) PyInt_AsLong(obj4);
9417 if (PyErr_Occurred()) SWIG_fail;
9418 arg6 = (unsigned char) PyInt_AsLong(obj5);
9419 if (PyErr_Occurred()) SWIG_fail;
9420 arg7 = (unsigned char) PyInt_AsLong(obj6);
9421 if (PyErr_Occurred()) SWIG_fail;
9422 {
9423 PyThreadState* __tstate = wxPyBeginAllowThreads();
9424 (arg1)->Replace(arg2,arg3,arg4,arg5,arg6,arg7);
9425
9426 wxPyEndAllowThreads(__tstate);
9427 if (PyErr_Occurred()) SWIG_fail;
9428 }
9429 Py_INCREF(Py_None); resultobj = Py_None;
9430 return resultobj;
9431 fail:
9432 return NULL;
9433}
9434
9435
9436static PyObject *_wrap_Image_ConvertToMono(PyObject *self, PyObject *args, PyObject *kwargs) {
9437 PyObject *resultobj;
9438 wxImage *arg1 = (wxImage *) 0 ;
9439 unsigned char arg2 ;
9440 unsigned char arg3 ;
9441 unsigned char arg4 ;
9442 SwigValueWrapper< wxImage > result;
9443 PyObject * obj0 = 0 ;
9444 PyObject * obj1 = 0 ;
9445 PyObject * obj2 = 0 ;
9446 PyObject * obj3 = 0 ;
9447 char *kwnames[] = {
9448 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9449 };
9450
9451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9453 arg2 = (unsigned char) PyInt_AsLong(obj1);
9454 if (PyErr_Occurred()) SWIG_fail;
9455 arg3 = (unsigned char) PyInt_AsLong(obj2);
9456 if (PyErr_Occurred()) SWIG_fail;
9457 arg4 = (unsigned char) PyInt_AsLong(obj3);
9458 if (PyErr_Occurred()) SWIG_fail;
9459 {
9460 PyThreadState* __tstate = wxPyBeginAllowThreads();
9461 result = ((wxImage const *)arg1)->ConvertToMono(arg2,arg3,arg4);
9462
9463 wxPyEndAllowThreads(__tstate);
9464 if (PyErr_Occurred()) SWIG_fail;
9465 }
9466 {
9467 wxImage * resultptr;
9468 resultptr = new wxImage((wxImage &) result);
9469 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9470 }
9471 return resultobj;
9472 fail:
9473 return NULL;
9474}
9475
9476
9477static PyObject *_wrap_Image_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
9478 PyObject *resultobj;
9479 wxImage *arg1 = (wxImage *) 0 ;
9480 wxString *arg2 = 0 ;
9481 wxString *arg3 = 0 ;
423f194a
RD
9482 bool temp2 = False ;
9483 bool temp3 = False ;
d14a1e28
RD
9484 PyObject * obj0 = 0 ;
9485 PyObject * obj1 = 0 ;
9486 PyObject * obj2 = 0 ;
9487 char *kwnames[] = {
9488 (char *) "self",(char *) "name",(char *) "value", NULL
9489 };
9490
9491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail;
9492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9493 {
9494 arg2 = wxString_in_helper(obj1);
9495 if (arg2 == NULL) SWIG_fail;
423f194a 9496 temp2 = True;
d14a1e28
RD
9497 }
9498 {
9499 arg3 = wxString_in_helper(obj2);
9500 if (arg3 == NULL) SWIG_fail;
423f194a 9501 temp3 = True;
d14a1e28
RD
9502 }
9503 {
9504 PyThreadState* __tstate = wxPyBeginAllowThreads();
9505 (arg1)->SetOption((wxString const &)*arg2,(wxString const &)*arg3);
9506
9507 wxPyEndAllowThreads(__tstate);
9508 if (PyErr_Occurred()) SWIG_fail;
9509 }
9510 Py_INCREF(Py_None); resultobj = Py_None;
9511 {
9512 if (temp2)
9513 delete arg2;
9514 }
9515 {
9516 if (temp3)
9517 delete arg3;
9518 }
9519 return resultobj;
9520 fail:
9521 {
9522 if (temp2)
9523 delete arg2;
9524 }
9525 {
9526 if (temp3)
9527 delete arg3;
9528 }
9529 return NULL;
9530}
9531
9532
9533static PyObject *_wrap_Image_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
9534 PyObject *resultobj;
9535 wxImage *arg1 = (wxImage *) 0 ;
9536 wxString *arg2 = 0 ;
9537 int arg3 ;
423f194a 9538 bool temp2 = False ;
d14a1e28
RD
9539 PyObject * obj0 = 0 ;
9540 PyObject * obj1 = 0 ;
9541 char *kwnames[] = {
9542 (char *) "self",(char *) "name",(char *) "value", NULL
9543 };
9544
9545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:Image_SetOptionInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
9546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9547 {
9548 arg2 = wxString_in_helper(obj1);
9549 if (arg2 == NULL) SWIG_fail;
423f194a 9550 temp2 = True;
d14a1e28
RD
9551 }
9552 {
9553 PyThreadState* __tstate = wxPyBeginAllowThreads();
9554 (arg1)->SetOption((wxString const &)*arg2,arg3);
9555
9556 wxPyEndAllowThreads(__tstate);
9557 if (PyErr_Occurred()) SWIG_fail;
9558 }
9559 Py_INCREF(Py_None); resultobj = Py_None;
9560 {
9561 if (temp2)
9562 delete arg2;
9563 }
9564 return resultobj;
9565 fail:
9566 {
9567 if (temp2)
9568 delete arg2;
9569 }
9570 return NULL;
9571}
9572
9573
9574static PyObject *_wrap_Image_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
9575 PyObject *resultobj;
9576 wxImage *arg1 = (wxImage *) 0 ;
9577 wxString *arg2 = 0 ;
9578 wxString result;
423f194a 9579 bool temp2 = False ;
d14a1e28
RD
9580 PyObject * obj0 = 0 ;
9581 PyObject * obj1 = 0 ;
9582 char *kwnames[] = {
9583 (char *) "self",(char *) "name", NULL
9584 };
9585
9586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail;
9587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9588 {
9589 arg2 = wxString_in_helper(obj1);
9590 if (arg2 == NULL) SWIG_fail;
423f194a 9591 temp2 = True;
d14a1e28
RD
9592 }
9593 {
9594 PyThreadState* __tstate = wxPyBeginAllowThreads();
9595 result = ((wxImage const *)arg1)->GetOption((wxString const &)*arg2);
9596
9597 wxPyEndAllowThreads(__tstate);
9598 if (PyErr_Occurred()) SWIG_fail;
9599 }
9600 {
9601#if wxUSE_UNICODE
9602 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9603#else
9604 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9605#endif
9606 }
9607 {
9608 if (temp2)
9609 delete arg2;
9610 }
9611 return resultobj;
9612 fail:
9613 {
9614 if (temp2)
9615 delete arg2;
9616 }
9617 return NULL;
9618}
9619
9620
9621static PyObject *_wrap_Image_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
9622 PyObject *resultobj;
9623 wxImage *arg1 = (wxImage *) 0 ;
9624 wxString *arg2 = 0 ;
9625 int result;
423f194a 9626 bool temp2 = False ;
d14a1e28
RD
9627 PyObject * obj0 = 0 ;
9628 PyObject * obj1 = 0 ;
9629 char *kwnames[] = {
9630 (char *) "self",(char *) "name", NULL
9631 };
9632
9633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail;
9634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9635 {
9636 arg2 = wxString_in_helper(obj1);
9637 if (arg2 == NULL) SWIG_fail;
423f194a 9638 temp2 = True;
d14a1e28
RD
9639 }
9640 {
9641 PyThreadState* __tstate = wxPyBeginAllowThreads();
9642 result = (int)((wxImage const *)arg1)->GetOptionInt((wxString const &)*arg2);
9643
9644 wxPyEndAllowThreads(__tstate);
9645 if (PyErr_Occurred()) SWIG_fail;
9646 }
9647 resultobj = PyInt_FromLong((long)result);
9648 {
9649 if (temp2)
9650 delete arg2;
9651 }
9652 return resultobj;
9653 fail:
9654 {
9655 if (temp2)
9656 delete arg2;
9657 }
9658 return NULL;
9659}
9660
9661
9662static PyObject *_wrap_Image_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
9663 PyObject *resultobj;
9664 wxImage *arg1 = (wxImage *) 0 ;
9665 wxString *arg2 = 0 ;
9666 bool result;
423f194a 9667 bool temp2 = False ;
d14a1e28
RD
9668 PyObject * obj0 = 0 ;
9669 PyObject * obj1 = 0 ;
9670 char *kwnames[] = {
9671 (char *) "self",(char *) "name", NULL
9672 };
9673
9674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail;
9675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9676 {
9677 arg2 = wxString_in_helper(obj1);
9678 if (arg2 == NULL) SWIG_fail;
423f194a 9679 temp2 = True;
d14a1e28
RD
9680 }
9681 {
9682 PyThreadState* __tstate = wxPyBeginAllowThreads();
9683 result = (bool)((wxImage const *)arg1)->HasOption((wxString const &)*arg2);
9684
9685 wxPyEndAllowThreads(__tstate);
9686 if (PyErr_Occurred()) SWIG_fail;
9687 }
9688 resultobj = PyInt_FromLong((long)result);
9689 {
9690 if (temp2)
9691 delete arg2;
9692 }
9693 return resultobj;
9694 fail:
9695 {
9696 if (temp2)
9697 delete arg2;
9698 }
9699 return NULL;
9700}
9701
9702
9703static PyObject *_wrap_Image_CountColours(PyObject *self, PyObject *args, PyObject *kwargs) {
9704 PyObject *resultobj;
9705 wxImage *arg1 = (wxImage *) 0 ;
9706 unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
9707 unsigned long result;
9708 PyObject * obj0 = 0 ;
9709 PyObject * obj1 = 0 ;
9710 char *kwnames[] = {
9711 (char *) "self",(char *) "stopafter", NULL
9712 };
9713
9714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail;
9715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9716 if (obj1) {
9717 arg2 = (unsigned long) PyInt_AsLong(obj1);
9718 if (PyErr_Occurred()) SWIG_fail;
9719 }
9720 {
9721 PyThreadState* __tstate = wxPyBeginAllowThreads();
9722 result = (unsigned long)(arg1)->CountColours(arg2);
9723
9724 wxPyEndAllowThreads(__tstate);
9725 if (PyErr_Occurred()) SWIG_fail;
9726 }
9727 resultobj = PyInt_FromLong((long)result);
9728 return resultobj;
9729 fail:
9730 return NULL;
9731}
9732
9733
9734static PyObject *_wrap_Image_ComputeHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
9735 PyObject *resultobj;
9736 wxImage *arg1 = (wxImage *) 0 ;
9737 wxImageHistogram *arg2 = 0 ;
9738 unsigned long result;
9739 PyObject * obj0 = 0 ;
9740 PyObject * obj1 = 0 ;
9741 char *kwnames[] = {
9742 (char *) "self",(char *) "h", NULL
9743 };
9744
9745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail;
9746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9747 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageHistogram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9748 if (arg2 == NULL) {
9749 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9750 }
9751 {
9752 PyThreadState* __tstate = wxPyBeginAllowThreads();
9753 result = (unsigned long)(arg1)->ComputeHistogram(*arg2);
9754
9755 wxPyEndAllowThreads(__tstate);
9756 if (PyErr_Occurred()) SWIG_fail;
9757 }
9758 resultobj = PyInt_FromLong((long)result);
9759 return resultobj;
9760 fail:
9761 return NULL;
9762}
9763
9764
9765static PyObject *_wrap_Image_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9766 PyObject *resultobj;
9767 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
9768 PyObject * obj0 = 0 ;
9769 char *kwnames[] = {
9770 (char *) "handler", NULL
9771 };
9772
9773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail;
9774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9775 {
9776 PyThreadState* __tstate = wxPyBeginAllowThreads();
9777 wxImage::AddHandler(arg1);
9778
9779 wxPyEndAllowThreads(__tstate);
9780 if (PyErr_Occurred()) SWIG_fail;
9781 }
9782 Py_INCREF(Py_None); resultobj = Py_None;
9783 return resultobj;
9784 fail:
9785 return NULL;
9786}
9787
9788
9789static PyObject *_wrap_Image_InsertHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9790 PyObject *resultobj;
9791 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
9792 PyObject * obj0 = 0 ;
9793 char *kwnames[] = {
9794 (char *) "handler", NULL
9795 };
9796
9797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail;
9798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9799 {
9800 PyThreadState* __tstate = wxPyBeginAllowThreads();
9801 wxImage::InsertHandler(arg1);
9802
9803 wxPyEndAllowThreads(__tstate);
9804 if (PyErr_Occurred()) SWIG_fail;
9805 }
9806 Py_INCREF(Py_None); resultobj = Py_None;
9807 return resultobj;
9808 fail:
9809 return NULL;
9810}
9811
9812
9813static PyObject *_wrap_Image_RemoveHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9814 PyObject *resultobj;
9815 wxString *arg1 = 0 ;
9816 bool result;
423f194a 9817 bool temp1 = False ;
d14a1e28
RD
9818 PyObject * obj0 = 0 ;
9819 char *kwnames[] = {
9820 (char *) "name", NULL
9821 };
9822
9823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail;
9824 {
9825 arg1 = wxString_in_helper(obj0);
9826 if (arg1 == NULL) SWIG_fail;
423f194a 9827 temp1 = True;
d14a1e28
RD
9828 }
9829 {
9830 PyThreadState* __tstate = wxPyBeginAllowThreads();
9831 result = (bool)wxImage::RemoveHandler((wxString const &)*arg1);
9832
9833 wxPyEndAllowThreads(__tstate);
9834 if (PyErr_Occurred()) SWIG_fail;
9835 }
9836 resultobj = PyInt_FromLong((long)result);
9837 {
9838 if (temp1)
9839 delete arg1;
9840 }
9841 return resultobj;
9842 fail:
9843 {
9844 if (temp1)
9845 delete arg1;
9846 }
9847 return NULL;
9848}
9849
9850
9851static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
9852 PyObject *resultobj;
9853 wxString result;
9854 char *kwnames[] = {
9855 NULL
9856 };
9857
9858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail;
9859 {
9860 PyThreadState* __tstate = wxPyBeginAllowThreads();
9861 result = wxImage::GetImageExtWildcard();
9862
9863 wxPyEndAllowThreads(__tstate);
9864 if (PyErr_Occurred()) SWIG_fail;
9865 }
9866 {
9867#if wxUSE_UNICODE
9868 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9869#else
9870 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9871#endif
9872 }
9873 return resultobj;
9874 fail:
9875 return NULL;
9876}
9877
9878
9879static PyObject *_wrap_Image_ConvertToBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
9880 PyObject *resultobj;
9881 wxImage *arg1 = (wxImage *) 0 ;
9882 wxBitmap result;
9883 PyObject * obj0 = 0 ;
9884 char *kwnames[] = {
9885 (char *) "self", NULL
9886 };
9887
9888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_ConvertToBitmap",kwnames,&obj0)) goto fail;
9889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9890 {
9891 PyThreadState* __tstate = wxPyBeginAllowThreads();
9892 result = wxImage_ConvertToBitmap(arg1);
9893
9894 wxPyEndAllowThreads(__tstate);
9895 if (PyErr_Occurred()) SWIG_fail;
9896 }
9897 {
9898 wxBitmap * resultptr;
9899 resultptr = new wxBitmap((wxBitmap &) result);
9900 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
9901 }
9902 return resultobj;
9903 fail:
9904 return NULL;
9905}
9906
9907
9908static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
9909 PyObject *resultobj;
9910 wxImage *arg1 = (wxImage *) 0 ;
9911 unsigned char arg2 ;
9912 unsigned char arg3 ;
9913 unsigned char arg4 ;
9914 wxBitmap result;
9915 PyObject * obj0 = 0 ;
9916 PyObject * obj1 = 0 ;
9917 PyObject * obj2 = 0 ;
9918 PyObject * obj3 = 0 ;
9919 char *kwnames[] = {
9920 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
9921 };
9922
9923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9925 arg2 = (unsigned char) PyInt_AsLong(obj1);
9926 if (PyErr_Occurred()) SWIG_fail;
9927 arg3 = (unsigned char) PyInt_AsLong(obj2);
9928 if (PyErr_Occurred()) SWIG_fail;
9929 arg4 = (unsigned char) PyInt_AsLong(obj3);
9930 if (PyErr_Occurred()) SWIG_fail;
9931 {
9932 PyThreadState* __tstate = wxPyBeginAllowThreads();
9933 result = wxImage_ConvertToMonoBitmap(arg1,arg2,arg3,arg4);
9934
9935 wxPyEndAllowThreads(__tstate);
9936 if (PyErr_Occurred()) SWIG_fail;
9937 }
9938 {
9939 wxBitmap * resultptr;
9940 resultptr = new wxBitmap((wxBitmap &) result);
9941 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
9942 }
9943 return resultobj;
9944 fail:
9945 return NULL;
9946}
9947
9948
9949static PyObject * Image_swigregister(PyObject *self, PyObject *args) {
9950 PyObject *obj;
9951 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9952 SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj);
9953 Py_INCREF(obj);
9954 return Py_BuildValue((char *)"");
9955}
9956static PyObject *_wrap_InitAllImageHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
9957 PyObject *resultobj;
9958 char *kwnames[] = {
9959 NULL
9960 };
9961
9962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":InitAllImageHandlers",kwnames)) goto fail;
9963 {
9964 PyThreadState* __tstate = wxPyBeginAllowThreads();
9965 wxInitAllImageHandlers();
9966
9967 wxPyEndAllowThreads(__tstate);
9968 if (PyErr_Occurred()) SWIG_fail;
9969 }
9970 Py_INCREF(Py_None); resultobj = Py_None;
9971 return resultobj;
9972 fail:
9973 return NULL;
9974}
9975
9976
9977static int _wrap_NullImage_set(PyObject *_val) {
9978 PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only.");
9979 return 1;
9980}
9981
9982
9983static PyObject *_wrap_NullImage_get() {
9984 PyObject *pyobj;
9985
9986 pyobj = SWIG_NewPointerObj((void *) &wxNullImage, SWIGTYPE_p_wxImage, 0);
9987 return pyobj;
9988}
9989
9990
9991static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *_val) {
9992 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
9993 return 1;
9994}
9995
9996
9997static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
9998 PyObject *pyobj;
9999
10000 {
10001#if wxUSE_UNICODE
10002 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
10003#else
10004 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
10005#endif
10006 }
10007 return pyobj;
10008}
10009
10010
10011static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *_val) {
10012 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
10013 return 1;
10014}
10015
10016
10017static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
10018 PyObject *pyobj;
10019
10020 {
10021#if wxUSE_UNICODE
10022 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
10023#else
10024 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
10025#endif
10026 }
10027 return pyobj;
10028}
10029
10030
10031static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *_val) {
10032 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
10033 return 1;
10034}
10035
10036
10037static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
10038 PyObject *pyobj;
10039
10040 {
10041#if wxUSE_UNICODE
10042 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
10043#else
10044 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
10045#endif
10046 }
10047 return pyobj;
10048}
10049
10050
10051static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *_val) {
10052 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
10053 return 1;
10054}
10055
10056
10057static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get() {
10058 PyObject *pyobj;
10059
10060 {
10061#if wxUSE_UNICODE
10062 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
10063#else
10064 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
10065#endif
10066 }
10067 return pyobj;
10068}
10069
10070
10071static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *_val) {
10072 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
10073 return 1;
10074}
10075
10076
10077static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
10078 PyObject *pyobj;
10079
10080 {
10081#if wxUSE_UNICODE
10082 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
10083#else
10084 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
10085#endif
10086 }
10087 return pyobj;
10088}
10089
10090
10091static PyObject *_wrap_new_BMPHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10092 PyObject *resultobj;
10093 wxBMPHandler *result;
10094 char *kwnames[] = {
10095 NULL
10096 };
10097
10098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail;
10099 {
10100 PyThreadState* __tstate = wxPyBeginAllowThreads();
10101 result = (wxBMPHandler *)new wxBMPHandler();
10102
10103 wxPyEndAllowThreads(__tstate);
10104 if (PyErr_Occurred()) SWIG_fail;
10105 }
10106 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBMPHandler, 1);
10107 return resultobj;
10108 fail:
10109 return NULL;
10110}
10111
10112
10113static PyObject * BMPHandler_swigregister(PyObject *self, PyObject *args) {
10114 PyObject *obj;
10115 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10116 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj);
10117 Py_INCREF(obj);
10118 return Py_BuildValue((char *)"");
10119}
10120static PyObject *_wrap_new_ICOHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10121 PyObject *resultobj;
10122 wxICOHandler *result;
10123 char *kwnames[] = {
10124 NULL
10125 };
10126
10127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail;
10128 {
10129 PyThreadState* __tstate = wxPyBeginAllowThreads();
10130 result = (wxICOHandler *)new wxICOHandler();
10131
10132 wxPyEndAllowThreads(__tstate);
10133 if (PyErr_Occurred()) SWIG_fail;
10134 }
10135 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxICOHandler, 1);
10136 return resultobj;
10137 fail:
10138 return NULL;
10139}
10140
10141
10142static PyObject * ICOHandler_swigregister(PyObject *self, PyObject *args) {
10143 PyObject *obj;
10144 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10145 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj);
10146 Py_INCREF(obj);
10147 return Py_BuildValue((char *)"");
10148}
10149static PyObject *_wrap_new_CURHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10150 PyObject *resultobj;
10151 wxCURHandler *result;
10152 char *kwnames[] = {
10153 NULL
10154 };
10155
10156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail;
10157 {
10158 PyThreadState* __tstate = wxPyBeginAllowThreads();
10159 result = (wxCURHandler *)new wxCURHandler();
10160
10161 wxPyEndAllowThreads(__tstate);
10162 if (PyErr_Occurred()) SWIG_fail;
10163 }
10164 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCURHandler, 1);
10165 return resultobj;
10166 fail:
10167 return NULL;
10168}
10169
10170
10171static PyObject * CURHandler_swigregister(PyObject *self, PyObject *args) {
10172 PyObject *obj;
10173 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10174 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj);
10175 Py_INCREF(obj);
10176 return Py_BuildValue((char *)"");
10177}
10178static PyObject *_wrap_new_ANIHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10179 PyObject *resultobj;
10180 wxANIHandler *result;
10181 char *kwnames[] = {
10182 NULL
10183 };
10184
10185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail;
10186 {
10187 PyThreadState* __tstate = wxPyBeginAllowThreads();
10188 result = (wxANIHandler *)new wxANIHandler();
10189
10190 wxPyEndAllowThreads(__tstate);
10191 if (PyErr_Occurred()) SWIG_fail;
10192 }
10193 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxANIHandler, 1);
10194 return resultobj;
10195 fail:
10196 return NULL;
10197}
10198
10199
10200static PyObject * ANIHandler_swigregister(PyObject *self, PyObject *args) {
10201 PyObject *obj;
10202 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10203 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj);
10204 Py_INCREF(obj);
10205 return Py_BuildValue((char *)"");
10206}
10207static PyObject *_wrap_new_PNGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10208 PyObject *resultobj;
10209 wxPNGHandler *result;
10210 char *kwnames[] = {
10211 NULL
10212 };
10213
10214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail;
10215 {
10216 PyThreadState* __tstate = wxPyBeginAllowThreads();
10217 result = (wxPNGHandler *)new wxPNGHandler();
10218
10219 wxPyEndAllowThreads(__tstate);
10220 if (PyErr_Occurred()) SWIG_fail;
10221 }
10222 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPNGHandler, 1);
10223 return resultobj;
10224 fail:
10225 return NULL;
10226}
10227
10228
10229static PyObject * PNGHandler_swigregister(PyObject *self, PyObject *args) {
10230 PyObject *obj;
10231 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10232 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj);
10233 Py_INCREF(obj);
10234 return Py_BuildValue((char *)"");
10235}
10236static PyObject *_wrap_new_GIFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10237 PyObject *resultobj;
10238 wxGIFHandler *result;
10239 char *kwnames[] = {
10240 NULL
10241 };
10242
10243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail;
10244 {
10245 PyThreadState* __tstate = wxPyBeginAllowThreads();
10246 result = (wxGIFHandler *)new wxGIFHandler();
10247
10248 wxPyEndAllowThreads(__tstate);
10249 if (PyErr_Occurred()) SWIG_fail;
10250 }
10251 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGIFHandler, 1);
10252 return resultobj;
10253 fail:
10254 return NULL;
10255}
10256
10257
10258static PyObject * GIFHandler_swigregister(PyObject *self, PyObject *args) {
10259 PyObject *obj;
10260 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10261 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj);
10262 Py_INCREF(obj);
10263 return Py_BuildValue((char *)"");
10264}
10265static PyObject *_wrap_new_PCXHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10266 PyObject *resultobj;
10267 wxPCXHandler *result;
10268 char *kwnames[] = {
10269 NULL
10270 };
10271
10272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail;
10273 {
10274 PyThreadState* __tstate = wxPyBeginAllowThreads();
10275 result = (wxPCXHandler *)new wxPCXHandler();
10276
10277 wxPyEndAllowThreads(__tstate);
10278 if (PyErr_Occurred()) SWIG_fail;
10279 }
10280 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPCXHandler, 1);
10281 return resultobj;
10282 fail:
10283 return NULL;
10284}
10285
10286
10287static PyObject * PCXHandler_swigregister(PyObject *self, PyObject *args) {
10288 PyObject *obj;
10289 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10290 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj);
10291 Py_INCREF(obj);
10292 return Py_BuildValue((char *)"");
10293}
10294static PyObject *_wrap_new_JPEGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10295 PyObject *resultobj;
10296 wxJPEGHandler *result;
10297 char *kwnames[] = {
10298 NULL
10299 };
10300
10301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail;
10302 {
10303 PyThreadState* __tstate = wxPyBeginAllowThreads();
10304 result = (wxJPEGHandler *)new wxJPEGHandler();
10305
10306 wxPyEndAllowThreads(__tstate);
10307 if (PyErr_Occurred()) SWIG_fail;
10308 }
10309 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJPEGHandler, 1);
10310 return resultobj;
10311 fail:
10312 return NULL;
10313}
10314
10315
10316static PyObject * JPEGHandler_swigregister(PyObject *self, PyObject *args) {
10317 PyObject *obj;
10318 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10319 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj);
10320 Py_INCREF(obj);
10321 return Py_BuildValue((char *)"");
10322}
10323static PyObject *_wrap_new_PNMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10324 PyObject *resultobj;
10325 wxPNMHandler *result;
10326 char *kwnames[] = {
10327 NULL
10328 };
10329
10330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail;
10331 {
10332 PyThreadState* __tstate = wxPyBeginAllowThreads();
10333 result = (wxPNMHandler *)new wxPNMHandler();
10334
10335 wxPyEndAllowThreads(__tstate);
10336 if (PyErr_Occurred()) SWIG_fail;
10337 }
10338 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPNMHandler, 1);
10339 return resultobj;
10340 fail:
10341 return NULL;
10342}
10343
10344
10345static PyObject * PNMHandler_swigregister(PyObject *self, PyObject *args) {
10346 PyObject *obj;
10347 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10348 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj);
10349 Py_INCREF(obj);
10350 return Py_BuildValue((char *)"");
10351}
10352static PyObject *_wrap_new_XPMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10353 PyObject *resultobj;
10354 wxXPMHandler *result;
10355 char *kwnames[] = {
10356 NULL
10357 };
10358
10359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail;
10360 {
10361 PyThreadState* __tstate = wxPyBeginAllowThreads();
10362 result = (wxXPMHandler *)new wxXPMHandler();
10363
10364 wxPyEndAllowThreads(__tstate);
10365 if (PyErr_Occurred()) SWIG_fail;
10366 }
10367 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxXPMHandler, 1);
10368 return resultobj;
10369 fail:
10370 return NULL;
10371}
10372
10373
10374static PyObject * XPMHandler_swigregister(PyObject *self, PyObject *args) {
10375 PyObject *obj;
10376 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10377 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj);
10378 Py_INCREF(obj);
10379 return Py_BuildValue((char *)"");
10380}
10381static PyObject *_wrap_new_TIFFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10382 PyObject *resultobj;
10383 wxTIFFHandler *result;
10384 char *kwnames[] = {
10385 NULL
10386 };
10387
10388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail;
10389 {
10390 PyThreadState* __tstate = wxPyBeginAllowThreads();
10391 result = (wxTIFFHandler *)new wxTIFFHandler();
10392
10393 wxPyEndAllowThreads(__tstate);
10394 if (PyErr_Occurred()) SWIG_fail;
10395 }
10396 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTIFFHandler, 1);
10397 return resultobj;
10398 fail:
10399 return NULL;
10400}
10401
10402
10403static PyObject * TIFFHandler_swigregister(PyObject *self, PyObject *args) {
10404 PyObject *obj;
10405 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10406 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj);
10407 Py_INCREF(obj);
10408 return Py_BuildValue((char *)"");
10409}
10410static PyObject *_wrap_new_EvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10411 PyObject *resultobj;
10412 wxEvtHandler *result;
10413 char *kwnames[] = {
10414 NULL
10415 };
10416
10417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail;
10418 {
10419 PyThreadState* __tstate = wxPyBeginAllowThreads();
10420 result = (wxEvtHandler *)new wxEvtHandler();
10421
10422 wxPyEndAllowThreads(__tstate);
10423 if (PyErr_Occurred()) SWIG_fail;
10424 }
10425 {
10426 resultobj = wxPyMake_wxObject(result);
10427 }
10428 return resultobj;
10429 fail:
10430 return NULL;
10431}
10432
10433
10434static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10435 PyObject *resultobj;
10436 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10437 wxEvtHandler *result;
10438 PyObject * obj0 = 0 ;
10439 char *kwnames[] = {
10440 (char *) "self", NULL
10441 };
10442
10443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail;
10444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10445 {
10446 PyThreadState* __tstate = wxPyBeginAllowThreads();
10447 result = (wxEvtHandler *)(arg1)->GetNextHandler();
10448
10449 wxPyEndAllowThreads(__tstate);
10450 if (PyErr_Occurred()) SWIG_fail;
10451 }
10452 {
10453 resultobj = wxPyMake_wxObject(result);
10454 }
10455 return resultobj;
10456 fail:
10457 return NULL;
10458}
10459
10460
10461static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10462 PyObject *resultobj;
10463 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10464 wxEvtHandler *result;
10465 PyObject * obj0 = 0 ;
10466 char *kwnames[] = {
10467 (char *) "self", NULL
10468 };
10469
10470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
10471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10472 {
10473 PyThreadState* __tstate = wxPyBeginAllowThreads();
10474 result = (wxEvtHandler *)(arg1)->GetPreviousHandler();
10475
10476 wxPyEndAllowThreads(__tstate);
10477 if (PyErr_Occurred()) SWIG_fail;
10478 }
10479 {
10480 resultobj = wxPyMake_wxObject(result);
10481 }
10482 return resultobj;
10483 fail:
10484 return NULL;
10485}
10486
10487
10488static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10489 PyObject *resultobj;
10490 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10491 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
10492 PyObject * obj0 = 0 ;
10493 PyObject * obj1 = 0 ;
10494 char *kwnames[] = {
10495 (char *) "self",(char *) "handler", NULL
10496 };
10497
10498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail;
10499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10500 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10501 {
10502 PyThreadState* __tstate = wxPyBeginAllowThreads();
10503 (arg1)->SetNextHandler(arg2);
10504
10505 wxPyEndAllowThreads(__tstate);
10506 if (PyErr_Occurred()) SWIG_fail;
10507 }
10508 Py_INCREF(Py_None); resultobj = Py_None;
10509 return resultobj;
10510 fail:
10511 return NULL;
10512}
10513
10514
10515static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10516 PyObject *resultobj;
10517 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10518 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
10519 PyObject * obj0 = 0 ;
10520 PyObject * obj1 = 0 ;
10521 char *kwnames[] = {
10522 (char *) "self",(char *) "handler", NULL
10523 };
10524
10525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
10526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10527 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10528 {
10529 PyThreadState* __tstate = wxPyBeginAllowThreads();
10530 (arg1)->SetPreviousHandler(arg2);
10531
10532 wxPyEndAllowThreads(__tstate);
10533 if (PyErr_Occurred()) SWIG_fail;
10534 }
10535 Py_INCREF(Py_None); resultobj = Py_None;
10536 return resultobj;
10537 fail:
10538 return NULL;
10539}
10540
10541
10542static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10543 PyObject *resultobj;
10544 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10545 bool result;
10546 PyObject * obj0 = 0 ;
10547 char *kwnames[] = {
10548 (char *) "self", NULL
10549 };
10550
10551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail;
10552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10553 {
10554 PyThreadState* __tstate = wxPyBeginAllowThreads();
10555 result = (bool)(arg1)->GetEvtHandlerEnabled();
10556
10557 wxPyEndAllowThreads(__tstate);
10558 if (PyErr_Occurred()) SWIG_fail;
10559 }
10560 resultobj = PyInt_FromLong((long)result);
10561 return resultobj;
10562 fail:
10563 return NULL;
10564}
10565
10566
10567static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10568 PyObject *resultobj;
10569 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10570 bool arg2 ;
10571 PyObject * obj0 = 0 ;
10572 PyObject * obj1 = 0 ;
10573 char *kwnames[] = {
10574 (char *) "self",(char *) "enabled", NULL
10575 };
10576
10577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail;
10578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10579 arg2 = PyInt_AsLong(obj1) ? true : false;
10580 if (PyErr_Occurred()) SWIG_fail;
10581 {
10582 PyThreadState* __tstate = wxPyBeginAllowThreads();
10583 (arg1)->SetEvtHandlerEnabled(arg2);
10584
10585 wxPyEndAllowThreads(__tstate);
10586 if (PyErr_Occurred()) SWIG_fail;
10587 }
10588 Py_INCREF(Py_None); resultobj = Py_None;
10589 return resultobj;
10590 fail:
10591 return NULL;
10592}
10593
10594
10595static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10596 PyObject *resultobj;
10597 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10598 wxEvent *arg2 = 0 ;
10599 bool result;
10600 PyObject * obj0 = 0 ;
10601 PyObject * obj1 = 0 ;
10602 char *kwnames[] = {
10603 (char *) "self",(char *) "event", NULL
10604 };
10605
10606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail;
10607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10608 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10609 if (arg2 == NULL) {
10610 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10611 }
10612 {
10613 PyThreadState* __tstate = wxPyBeginAllowThreads();
10614 result = (bool)(arg1)->ProcessEvent(*arg2);
10615
10616 wxPyEndAllowThreads(__tstate);
10617 if (PyErr_Occurred()) SWIG_fail;
10618 }
10619 resultobj = PyInt_FromLong((long)result);
10620 return resultobj;
10621 fail:
10622 return NULL;
10623}
10624
10625
10626static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10627 PyObject *resultobj;
10628 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10629 wxEvent *arg2 = 0 ;
10630 PyObject * obj0 = 0 ;
10631 PyObject * obj1 = 0 ;
10632 char *kwnames[] = {
10633 (char *) "self",(char *) "event", NULL
10634 };
10635
10636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail;
10637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10638 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10639 if (arg2 == NULL) {
10640 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10641 }
10642 {
10643 PyThreadState* __tstate = wxPyBeginAllowThreads();
10644 (arg1)->AddPendingEvent(*arg2);
10645
10646 wxPyEndAllowThreads(__tstate);
10647 if (PyErr_Occurred()) SWIG_fail;
10648 }
10649 Py_INCREF(Py_None); resultobj = Py_None;
10650 return resultobj;
10651 fail:
10652 return NULL;
10653}
10654
10655
10656static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
10657 PyObject *resultobj;
10658 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10659 PyObject * obj0 = 0 ;
10660 char *kwnames[] = {
10661 (char *) "self", NULL
10662 };
10663
10664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail;
10665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10666 {
10667 PyThreadState* __tstate = wxPyBeginAllowThreads();
10668 (arg1)->ProcessPendingEvents();
10669
10670 wxPyEndAllowThreads(__tstate);
10671 if (PyErr_Occurred()) SWIG_fail;
10672 }
10673 Py_INCREF(Py_None); resultobj = Py_None;
10674 return resultobj;
10675 fail:
10676 return NULL;
10677}
10678
10679
10680static PyObject *_wrap_EvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
10681 PyObject *resultobj;
10682 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10683 int arg2 ;
10684 int arg3 ;
10685 int arg4 ;
10686 PyObject *arg5 = (PyObject *) 0 ;
10687 PyObject * obj0 = 0 ;
10688 PyObject * obj4 = 0 ;
10689 char *kwnames[] = {
10690 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
10691 };
10692
10693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiiO:EvtHandler_Connect",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
10694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10695 arg5 = obj4;
10696 {
10697 PyThreadState* __tstate = wxPyBeginAllowThreads();
10698 wxEvtHandler_Connect(arg1,arg2,arg3,arg4,arg5);
10699
10700 wxPyEndAllowThreads(__tstate);
10701 if (PyErr_Occurred()) SWIG_fail;
10702 }
10703 Py_INCREF(Py_None); resultobj = Py_None;
10704 return resultobj;
10705 fail:
10706 return NULL;
10707}
10708
10709
10710static PyObject *_wrap_EvtHandler_Disconnect(PyObject *self, PyObject *args, PyObject *kwargs) {
10711 PyObject *resultobj;
10712 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10713 int arg2 ;
10714 int arg3 = (int) -1 ;
10715 wxEventType arg4 = (wxEventType) wxEVT_NULL ;
10716 bool result;
10717 PyObject * obj0 = 0 ;
10718 char *kwnames[] = {
10719 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
10720 };
10721
10722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:EvtHandler_Disconnect",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
10723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10724 {
10725 PyThreadState* __tstate = wxPyBeginAllowThreads();
10726 result = (bool)wxEvtHandler_Disconnect(arg1,arg2,arg3,arg4);
10727
10728 wxPyEndAllowThreads(__tstate);
10729 if (PyErr_Occurred()) SWIG_fail;
10730 }
10731 resultobj = PyInt_FromLong((long)result);
10732 return resultobj;
10733 fail:
10734 return NULL;
10735}
10736
10737
10738static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10739 PyObject *resultobj;
10740 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10741 PyObject *arg2 = (PyObject *) 0 ;
10742 PyObject * obj0 = 0 ;
10743 PyObject * obj1 = 0 ;
10744 char *kwnames[] = {
10745 (char *) "self",(char *) "_self", NULL
10746 };
10747
10748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
10749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10750 arg2 = obj1;
10751 {
10752 PyThreadState* __tstate = wxPyBeginAllowThreads();
10753 wxEvtHandler__setOORInfo(arg1,arg2);
10754
10755 wxPyEndAllowThreads(__tstate);
10756 if (PyErr_Occurred()) SWIG_fail;
10757 }
10758 Py_INCREF(Py_None); resultobj = Py_None;
10759 return resultobj;
10760 fail:
10761 return NULL;
10762}
10763
10764
10765static PyObject * EvtHandler_swigregister(PyObject *self, PyObject *args) {
10766 PyObject *obj;
10767 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10768 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj);
10769 Py_INCREF(obj);
10770 return Py_BuildValue((char *)"");
10771}
10772static PyObject *_wrap_NewEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
10773 PyObject *resultobj;
10774 wxEventType result;
10775 char *kwnames[] = {
10776 NULL
10777 };
10778
10779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail;
10780 {
10781 PyThreadState* __tstate = wxPyBeginAllowThreads();
10782 result = (wxEventType)wxNewEventType();
10783
10784 wxPyEndAllowThreads(__tstate);
10785 if (PyErr_Occurred()) SWIG_fail;
10786 }
10787 resultobj = PyInt_FromLong((long)result);
10788 return resultobj;
10789 fail:
10790 return NULL;
10791}
10792
10793
10794static PyObject *_wrap_delete_Event(PyObject *self, PyObject *args, PyObject *kwargs) {
10795 PyObject *resultobj;
10796 wxEvent *arg1 = (wxEvent *) 0 ;
10797 PyObject * obj0 = 0 ;
10798 char *kwnames[] = {
10799 (char *) "self", NULL
10800 };
10801
10802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail;
10803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10804 {
10805 PyThreadState* __tstate = wxPyBeginAllowThreads();
10806 delete arg1;
10807
10808 wxPyEndAllowThreads(__tstate);
10809 if (PyErr_Occurred()) SWIG_fail;
10810 }
10811 Py_INCREF(Py_None); resultobj = Py_None;
10812 return resultobj;
10813 fail:
10814 return NULL;
10815}
10816
10817
10818static PyObject *_wrap_Event_SetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
10819 PyObject *resultobj;
10820 wxEvent *arg1 = (wxEvent *) 0 ;
10821 wxEventType arg2 ;
10822 PyObject * obj0 = 0 ;
10823 char *kwnames[] = {
10824 (char *) "self",(char *) "typ", NULL
10825 };
10826
10827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Event_SetEventType",kwnames,&obj0,&arg2)) goto fail;
10828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10829 {
10830 PyThreadState* __tstate = wxPyBeginAllowThreads();
10831 (arg1)->SetEventType(arg2);
10832
10833 wxPyEndAllowThreads(__tstate);
10834 if (PyErr_Occurred()) SWIG_fail;
10835 }
10836 Py_INCREF(Py_None); resultobj = Py_None;
10837 return resultobj;
10838 fail:
10839 return NULL;
10840}
10841
10842
10843static PyObject *_wrap_Event_GetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
10844 PyObject *resultobj;
10845 wxEvent *arg1 = (wxEvent *) 0 ;
10846 wxEventType result;
10847 PyObject * obj0 = 0 ;
10848 char *kwnames[] = {
10849 (char *) "self", NULL
10850 };
10851
10852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail;
10853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10854 {
10855 PyThreadState* __tstate = wxPyBeginAllowThreads();
10856 result = (wxEventType)((wxEvent const *)arg1)->GetEventType();
10857
10858 wxPyEndAllowThreads(__tstate);
10859 if (PyErr_Occurred()) SWIG_fail;
10860 }
10861 resultobj = PyInt_FromLong((long)result);
10862 return resultobj;
10863 fail:
10864 return NULL;
10865}
10866
10867
10868static PyObject *_wrap_Event_GetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
10869 PyObject *resultobj;
10870 wxEvent *arg1 = (wxEvent *) 0 ;
10871 wxObject *result;
10872 PyObject * obj0 = 0 ;
10873 char *kwnames[] = {
10874 (char *) "self", NULL
10875 };
10876
10877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail;
10878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10879 {
10880 PyThreadState* __tstate = wxPyBeginAllowThreads();
10881 result = (wxObject *)((wxEvent const *)arg1)->GetEventObject();
10882
10883 wxPyEndAllowThreads(__tstate);
10884 if (PyErr_Occurred()) SWIG_fail;
10885 }
10886 {
10887 resultobj = wxPyMake_wxObject(result);
10888 }
10889 return resultobj;
10890 fail:
10891 return NULL;
10892}
10893
10894
10895static PyObject *_wrap_Event_SetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
10896 PyObject *resultobj;
10897 wxEvent *arg1 = (wxEvent *) 0 ;
10898 wxObject *arg2 = (wxObject *) 0 ;
10899 PyObject * obj0 = 0 ;
10900 PyObject * obj1 = 0 ;
10901 char *kwnames[] = {
10902 (char *) "self",(char *) "obj", NULL
10903 };
10904
10905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail;
10906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10907 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10908 {
10909 PyThreadState* __tstate = wxPyBeginAllowThreads();
10910 (arg1)->SetEventObject(arg2);
10911
10912 wxPyEndAllowThreads(__tstate);
10913 if (PyErr_Occurred()) SWIG_fail;
10914 }
10915 Py_INCREF(Py_None); resultobj = Py_None;
10916 return resultobj;
10917 fail:
10918 return NULL;
10919}
10920
10921
10922static PyObject *_wrap_Event_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
10923 PyObject *resultobj;
10924 wxEvent *arg1 = (wxEvent *) 0 ;
10925 long result;
10926 PyObject * obj0 = 0 ;
10927 char *kwnames[] = {
10928 (char *) "self", NULL
10929 };
10930
10931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail;
10932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10933 {
10934 PyThreadState* __tstate = wxPyBeginAllowThreads();
10935 result = (long)((wxEvent const *)arg1)->GetTimestamp();
10936
10937 wxPyEndAllowThreads(__tstate);
10938 if (PyErr_Occurred()) SWIG_fail;
10939 }
10940 resultobj = PyInt_FromLong((long)result);
10941 return resultobj;
10942 fail:
10943 return NULL;
10944}
10945
10946
10947static PyObject *_wrap_Event_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
10948 PyObject *resultobj;
10949 wxEvent *arg1 = (wxEvent *) 0 ;
10950 long arg2 = (long) 0 ;
10951 PyObject * obj0 = 0 ;
10952 char *kwnames[] = {
10953 (char *) "self",(char *) "ts", NULL
10954 };
10955
10956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:Event_SetTimestamp",kwnames,&obj0,&arg2)) goto fail;
10957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10958 {
10959 PyThreadState* __tstate = wxPyBeginAllowThreads();
10960 (arg1)->SetTimestamp(arg2);
10961
10962 wxPyEndAllowThreads(__tstate);
10963 if (PyErr_Occurred()) SWIG_fail;
10964 }
10965 Py_INCREF(Py_None); resultobj = Py_None;
10966 return resultobj;
10967 fail:
10968 return NULL;
10969}
10970
10971
10972static PyObject *_wrap_Event_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
10973 PyObject *resultobj;
10974 wxEvent *arg1 = (wxEvent *) 0 ;
10975 int result;
10976 PyObject * obj0 = 0 ;
10977 char *kwnames[] = {
10978 (char *) "self", NULL
10979 };
10980
10981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail;
10982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10983 {
10984 PyThreadState* __tstate = wxPyBeginAllowThreads();
10985 result = (int)((wxEvent const *)arg1)->GetId();
10986
10987 wxPyEndAllowThreads(__tstate);
10988 if (PyErr_Occurred()) SWIG_fail;
10989 }
10990 resultobj = PyInt_FromLong((long)result);
10991 return resultobj;
10992 fail:
10993 return NULL;
10994}
10995
10996
10997static PyObject *_wrap_Event_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
10998 PyObject *resultobj;
10999 wxEvent *arg1 = (wxEvent *) 0 ;
11000 int arg2 ;
11001 PyObject * obj0 = 0 ;
11002 char *kwnames[] = {
11003 (char *) "self",(char *) "Id", NULL
11004 };
11005
11006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Event_SetId",kwnames,&obj0,&arg2)) goto fail;
11007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11008 {
11009 PyThreadState* __tstate = wxPyBeginAllowThreads();
11010 (arg1)->SetId(arg2);
11011
11012 wxPyEndAllowThreads(__tstate);
11013 if (PyErr_Occurred()) SWIG_fail;
11014 }
11015 Py_INCREF(Py_None); resultobj = Py_None;
11016 return resultobj;
11017 fail:
11018 return NULL;
11019}
11020
11021
11022static PyObject *_wrap_Event_IsCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11023 PyObject *resultobj;
11024 wxEvent *arg1 = (wxEvent *) 0 ;
11025 bool result;
11026 PyObject * obj0 = 0 ;
11027 char *kwnames[] = {
11028 (char *) "self", NULL
11029 };
11030
11031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_IsCommandEvent",kwnames,&obj0)) goto fail;
11032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11033 {
11034 PyThreadState* __tstate = wxPyBeginAllowThreads();
11035 result = (bool)((wxEvent const *)arg1)->IsCommandEvent();
11036
11037 wxPyEndAllowThreads(__tstate);
11038 if (PyErr_Occurred()) SWIG_fail;
11039 }
11040 resultobj = PyInt_FromLong((long)result);
11041 return resultobj;
11042 fail:
11043 return NULL;
11044}
11045
11046
11047static PyObject *_wrap_Event_Skip(PyObject *self, PyObject *args, PyObject *kwargs) {
11048 PyObject *resultobj;
11049 wxEvent *arg1 = (wxEvent *) 0 ;
423f194a 11050 bool arg2 = (bool) True ;
d14a1e28
RD
11051 PyObject * obj0 = 0 ;
11052 PyObject * obj1 = 0 ;
11053 char *kwnames[] = {
11054 (char *) "self",(char *) "skip", NULL
11055 };
11056
11057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail;
11058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11059 if (obj1) {
11060 arg2 = PyInt_AsLong(obj1) ? true : false;
11061 if (PyErr_Occurred()) SWIG_fail;
11062 }
11063 {
11064 PyThreadState* __tstate = wxPyBeginAllowThreads();
11065 (arg1)->Skip(arg2);
11066
11067 wxPyEndAllowThreads(__tstate);
11068 if (PyErr_Occurred()) SWIG_fail;
11069 }
11070 Py_INCREF(Py_None); resultobj = Py_None;
11071 return resultobj;
11072 fail:
11073 return NULL;
11074}
11075
11076
11077static PyObject *_wrap_Event_GetSkipped(PyObject *self, PyObject *args, PyObject *kwargs) {
11078 PyObject *resultobj;
11079 wxEvent *arg1 = (wxEvent *) 0 ;
11080 bool result;
11081 PyObject * obj0 = 0 ;
11082 char *kwnames[] = {
11083 (char *) "self", NULL
11084 };
11085
11086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail;
11087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11088 {
11089 PyThreadState* __tstate = wxPyBeginAllowThreads();
11090 result = (bool)((wxEvent const *)arg1)->GetSkipped();
11091
11092 wxPyEndAllowThreads(__tstate);
11093 if (PyErr_Occurred()) SWIG_fail;
11094 }
11095 resultobj = PyInt_FromLong((long)result);
11096 return resultobj;
11097 fail:
11098 return NULL;
11099}
11100
11101
11102static PyObject *_wrap_Event_ShouldPropagate(PyObject *self, PyObject *args, PyObject *kwargs) {
11103 PyObject *resultobj;
11104 wxEvent *arg1 = (wxEvent *) 0 ;
11105 bool result;
11106 PyObject * obj0 = 0 ;
11107 char *kwnames[] = {
11108 (char *) "self", NULL
11109 };
11110
11111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_ShouldPropagate",kwnames,&obj0)) goto fail;
11112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11113 {
11114 PyThreadState* __tstate = wxPyBeginAllowThreads();
11115 result = (bool)((wxEvent const *)arg1)->ShouldPropagate();
11116
11117 wxPyEndAllowThreads(__tstate);
11118 if (PyErr_Occurred()) SWIG_fail;
11119 }
11120 resultobj = PyInt_FromLong((long)result);
11121 return resultobj;
11122 fail:
11123 return NULL;
11124}
11125
11126
11127static PyObject *_wrap_Event_StopPropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
11128 PyObject *resultobj;
11129 wxEvent *arg1 = (wxEvent *) 0 ;
11130 int result;
11131 PyObject * obj0 = 0 ;
11132 char *kwnames[] = {
11133 (char *) "self", NULL
11134 };
11135
11136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",kwnames,&obj0)) goto fail;
11137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11138 {
11139 PyThreadState* __tstate = wxPyBeginAllowThreads();
11140 result = (int)(arg1)->StopPropagation();
11141
11142 wxPyEndAllowThreads(__tstate);
11143 if (PyErr_Occurred()) SWIG_fail;
11144 }
11145 resultobj = PyInt_FromLong((long)result);
11146 return resultobj;
11147 fail:
11148 return NULL;
11149}
11150
11151
11152static PyObject *_wrap_Event_ResumePropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
11153 PyObject *resultobj;
11154 wxEvent *arg1 = (wxEvent *) 0 ;
11155 int arg2 ;
11156 PyObject * obj0 = 0 ;
11157 char *kwnames[] = {
11158 (char *) "self",(char *) "propagationLevel", NULL
11159 };
11160
11161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Event_ResumePropagation",kwnames,&obj0,&arg2)) goto fail;
11162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11163 {
11164 PyThreadState* __tstate = wxPyBeginAllowThreads();
11165 (arg1)->ResumePropagation(arg2);
11166
11167 wxPyEndAllowThreads(__tstate);
11168 if (PyErr_Occurred()) SWIG_fail;
11169 }
11170 Py_INCREF(Py_None); resultobj = Py_None;
11171 return resultobj;
11172 fail:
11173 return NULL;
11174}
11175
11176
11177static PyObject *_wrap_Event_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
11178 PyObject *resultobj;
11179 wxEvent *arg1 = (wxEvent *) 0 ;
11180 wxEvent *result;
11181 PyObject * obj0 = 0 ;
11182 char *kwnames[] = {
11183 (char *) "self", NULL
11184 };
11185
11186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail;
11187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11188 {
11189 PyThreadState* __tstate = wxPyBeginAllowThreads();
11190 result = (wxEvent *)(arg1)->Clone();
11191
11192 wxPyEndAllowThreads(__tstate);
11193 if (PyErr_Occurred()) SWIG_fail;
11194 }
11195 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEvent, 0);
11196 return resultobj;
11197 fail:
11198 return NULL;
11199}
11200
11201
11202static PyObject * Event_swigregister(PyObject *self, PyObject *args) {
11203 PyObject *obj;
11204 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11205 SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj);
11206 Py_INCREF(obj);
11207 return Py_BuildValue((char *)"");
11208}
11209static PyObject *_wrap_new_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
11210 PyObject *resultobj;
11211 wxEvent *arg1 = 0 ;
11212 wxPropagationDisabler *result;
11213 PyObject * obj0 = 0 ;
11214 char *kwnames[] = {
11215 (char *) "event", NULL
11216 };
11217
11218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail;
11219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11220 if (arg1 == NULL) {
11221 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11222 }
11223 {
11224 PyThreadState* __tstate = wxPyBeginAllowThreads();
11225 result = (wxPropagationDisabler *)new wxPropagationDisabler(*arg1);
11226
11227 wxPyEndAllowThreads(__tstate);
11228 if (PyErr_Occurred()) SWIG_fail;
11229 }
11230 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPropagationDisabler, 1);
11231 return resultobj;
11232 fail:
11233 return NULL;
11234}
11235
11236
11237static PyObject *_wrap_delete_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
11238 PyObject *resultobj;
11239 wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
11240 PyObject * obj0 = 0 ;
11241 char *kwnames[] = {
11242 (char *) "self", NULL
11243 };
11244
11245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail;
11246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPropagationDisabler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11247 {
11248 PyThreadState* __tstate = wxPyBeginAllowThreads();
11249 delete arg1;
11250
11251 wxPyEndAllowThreads(__tstate);
11252 if (PyErr_Occurred()) SWIG_fail;
11253 }
11254 Py_INCREF(Py_None); resultobj = Py_None;
11255 return resultobj;
11256 fail:
11257 return NULL;
11258}
11259
11260
11261static PyObject * PropagationDisabler_swigregister(PyObject *self, PyObject *args) {
11262 PyObject *obj;
11263 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11264 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj);
11265 Py_INCREF(obj);
11266 return Py_BuildValue((char *)"");
11267}
11268static PyObject *_wrap_new_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
11269 PyObject *resultobj;
11270 wxEvent *arg1 = 0 ;
11271 wxPropagateOnce *result;
11272 PyObject * obj0 = 0 ;
11273 char *kwnames[] = {
11274 (char *) "event", NULL
11275 };
11276
11277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail;
11278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11279 if (arg1 == NULL) {
11280 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11281 }
11282 {
11283 PyThreadState* __tstate = wxPyBeginAllowThreads();
11284 result = (wxPropagateOnce *)new wxPropagateOnce(*arg1);
11285
11286 wxPyEndAllowThreads(__tstate);
11287 if (PyErr_Occurred()) SWIG_fail;
11288 }
11289 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPropagateOnce, 1);
11290 return resultobj;
11291 fail:
11292 return NULL;
11293}
11294
11295
11296static PyObject *_wrap_delete_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
11297 PyObject *resultobj;
11298 wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
11299 PyObject * obj0 = 0 ;
11300 char *kwnames[] = {
11301 (char *) "self", NULL
11302 };
11303
11304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail;
11305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPropagateOnce,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11306 {
11307 PyThreadState* __tstate = wxPyBeginAllowThreads();
11308 delete arg1;
11309
11310 wxPyEndAllowThreads(__tstate);
11311 if (PyErr_Occurred()) SWIG_fail;
11312 }
11313 Py_INCREF(Py_None); resultobj = Py_None;
11314 return resultobj;
11315 fail:
11316 return NULL;
11317}
11318
11319
11320static PyObject * PropagateOnce_swigregister(PyObject *self, PyObject *args) {
11321 PyObject *obj;
11322 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11323 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj);
11324 Py_INCREF(obj);
11325 return Py_BuildValue((char *)"");
11326}
11327static PyObject *_wrap_new_CommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11328 PyObject *resultobj;
11329 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11330 int arg2 = (int) 0 ;
11331 wxCommandEvent *result;
11332 char *kwnames[] = {
11333 (char *) "commandType",(char *) "winid", NULL
11334 };
11335
11336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_CommandEvent",kwnames,&arg1,&arg2)) goto fail;
11337 {
11338 PyThreadState* __tstate = wxPyBeginAllowThreads();
11339 result = (wxCommandEvent *)new wxCommandEvent(arg1,arg2);
11340
11341 wxPyEndAllowThreads(__tstate);
11342 if (PyErr_Occurred()) SWIG_fail;
11343 }
11344 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCommandEvent, 1);
11345 return resultobj;
11346 fail:
11347 return NULL;
11348}
11349
11350
11351static PyObject *_wrap_CommandEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11352 PyObject *resultobj;
11353 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11354 int result;
11355 PyObject * obj0 = 0 ;
11356 char *kwnames[] = {
11357 (char *) "self", NULL
11358 };
11359
11360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail;
11361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11362 {
11363 PyThreadState* __tstate = wxPyBeginAllowThreads();
11364 result = (int)((wxCommandEvent const *)arg1)->GetSelection();
11365
11366 wxPyEndAllowThreads(__tstate);
11367 if (PyErr_Occurred()) SWIG_fail;
11368 }
11369 resultobj = PyInt_FromLong((long)result);
11370 return resultobj;
11371 fail:
11372 return NULL;
11373}
11374
11375
11376static PyObject *_wrap_CommandEvent_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11377 PyObject *resultobj;
11378 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11379 wxString *arg2 = 0 ;
423f194a 11380 bool temp2 = False ;
d14a1e28
RD
11381 PyObject * obj0 = 0 ;
11382 PyObject * obj1 = 0 ;
11383 char *kwnames[] = {
11384 (char *) "self",(char *) "s", NULL
11385 };
11386
11387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail;
11388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11389 {
11390 arg2 = wxString_in_helper(obj1);
11391 if (arg2 == NULL) SWIG_fail;
423f194a 11392 temp2 = True;
d14a1e28
RD
11393 }
11394 {
11395 PyThreadState* __tstate = wxPyBeginAllowThreads();
11396 (arg1)->SetString((wxString const &)*arg2);
11397
11398 wxPyEndAllowThreads(__tstate);
11399 if (PyErr_Occurred()) SWIG_fail;
11400 }
11401 Py_INCREF(Py_None); resultobj = Py_None;
11402 {
11403 if (temp2)
11404 delete arg2;
11405 }
11406 return resultobj;
11407 fail:
11408 {
11409 if (temp2)
11410 delete arg2;
11411 }
11412 return NULL;
11413}
11414
11415
11416static PyObject *_wrap_CommandEvent_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11417 PyObject *resultobj;
11418 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11419 wxString result;
11420 PyObject * obj0 = 0 ;
11421 char *kwnames[] = {
11422 (char *) "self", NULL
11423 };
11424
11425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) goto fail;
11426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11427 {
11428 PyThreadState* __tstate = wxPyBeginAllowThreads();
11429 result = ((wxCommandEvent const *)arg1)->GetString();
11430
11431 wxPyEndAllowThreads(__tstate);
11432 if (PyErr_Occurred()) SWIG_fail;
11433 }
11434 {
11435#if wxUSE_UNICODE
11436 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11437#else
11438 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11439#endif
11440 }
11441 return resultobj;
11442 fail:
11443 return NULL;
11444}
11445
11446
11447static PyObject *_wrap_CommandEvent_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
11448 PyObject *resultobj;
11449 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11450 bool result;
11451 PyObject * obj0 = 0 ;
11452 char *kwnames[] = {
11453 (char *) "self", NULL
11454 };
11455
11456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsChecked",kwnames,&obj0)) goto fail;
11457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11458 {
11459 PyThreadState* __tstate = wxPyBeginAllowThreads();
11460 result = (bool)((wxCommandEvent const *)arg1)->IsChecked();
11461
11462 wxPyEndAllowThreads(__tstate);
11463 if (PyErr_Occurred()) SWIG_fail;
11464 }
11465 resultobj = PyInt_FromLong((long)result);
11466 return resultobj;
11467 fail:
11468 return NULL;
11469}
11470
11471
11472static PyObject *_wrap_CommandEvent_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11473 PyObject *resultobj;
11474 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11475 bool result;
11476 PyObject * obj0 = 0 ;
11477 char *kwnames[] = {
11478 (char *) "self", NULL
11479 };
11480
11481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail;
11482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11483 {
11484 PyThreadState* __tstate = wxPyBeginAllowThreads();
11485 result = (bool)((wxCommandEvent const *)arg1)->IsSelection();
11486
11487 wxPyEndAllowThreads(__tstate);
11488 if (PyErr_Occurred()) SWIG_fail;
11489 }
11490 resultobj = PyInt_FromLong((long)result);
11491 return resultobj;
11492 fail:
11493 return NULL;
11494}
11495
11496
11497static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
11498 PyObject *resultobj;
11499 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11500 long arg2 ;
11501 PyObject * obj0 = 0 ;
11502 char *kwnames[] = {
11503 (char *) "self",(char *) "extraLong", NULL
11504 };
11505
11506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:CommandEvent_SetExtraLong",kwnames,&obj0,&arg2)) goto fail;
11507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11508 {
11509 PyThreadState* __tstate = wxPyBeginAllowThreads();
11510 (arg1)->SetExtraLong(arg2);
11511
11512 wxPyEndAllowThreads(__tstate);
11513 if (PyErr_Occurred()) SWIG_fail;
11514 }
11515 Py_INCREF(Py_None); resultobj = Py_None;
11516 return resultobj;
11517 fail:
11518 return NULL;
11519}
11520
11521
11522static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
11523 PyObject *resultobj;
11524 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11525 long result;
11526 PyObject * obj0 = 0 ;
11527 char *kwnames[] = {
11528 (char *) "self", NULL
11529 };
11530
11531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail;
11532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11533 {
11534 PyThreadState* __tstate = wxPyBeginAllowThreads();
11535 result = (long)((wxCommandEvent const *)arg1)->GetExtraLong();
11536
11537 wxPyEndAllowThreads(__tstate);
11538 if (PyErr_Occurred()) SWIG_fail;
11539 }
11540 resultobj = PyInt_FromLong((long)result);
11541 return resultobj;
11542 fail:
11543 return NULL;
11544}
11545
11546
11547static PyObject *_wrap_CommandEvent_SetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
11548 PyObject *resultobj;
11549 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11550 int arg2 ;
11551 PyObject * obj0 = 0 ;
11552 char *kwnames[] = {
11553 (char *) "self",(char *) "i", NULL
11554 };
11555
11556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CommandEvent_SetInt",kwnames,&obj0,&arg2)) goto fail;
11557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11558 {
11559 PyThreadState* __tstate = wxPyBeginAllowThreads();
11560 (arg1)->SetInt(arg2);
11561
11562 wxPyEndAllowThreads(__tstate);
11563 if (PyErr_Occurred()) SWIG_fail;
11564 }
11565 Py_INCREF(Py_None); resultobj = Py_None;
11566 return resultobj;
11567 fail:
11568 return NULL;
11569}
11570
11571
11572static PyObject *_wrap_CommandEvent_GetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
11573 PyObject *resultobj;
11574 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11575 long result;
11576 PyObject * obj0 = 0 ;
11577 char *kwnames[] = {
11578 (char *) "self", NULL
11579 };
11580
11581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail;
11582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11583 {
11584 PyThreadState* __tstate = wxPyBeginAllowThreads();
11585 result = (long)((wxCommandEvent const *)arg1)->GetInt();
11586
11587 wxPyEndAllowThreads(__tstate);
11588 if (PyErr_Occurred()) SWIG_fail;
11589 }
11590 resultobj = PyInt_FromLong((long)result);
11591 return resultobj;
11592 fail:
11593 return NULL;
11594}
11595
11596
11597static PyObject *_wrap_CommandEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
11598 PyObject *resultobj;
11599 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11600 wxEvent *result;
11601 PyObject * obj0 = 0 ;
11602 char *kwnames[] = {
11603 (char *) "self", NULL
11604 };
11605
11606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail;
11607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11608 {
11609 PyThreadState* __tstate = wxPyBeginAllowThreads();
11610 result = (wxEvent *)((wxCommandEvent const *)arg1)->Clone();
11611
11612 wxPyEndAllowThreads(__tstate);
11613 if (PyErr_Occurred()) SWIG_fail;
11614 }
11615 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEvent, 0);
11616 return resultobj;
11617 fail:
11618 return NULL;
11619}
11620
11621
11622static PyObject * CommandEvent_swigregister(PyObject *self, PyObject *args) {
11623 PyObject *obj;
11624 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11625 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj);
11626 Py_INCREF(obj);
11627 return Py_BuildValue((char *)"");
11628}
11629static PyObject *_wrap_new_NotifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11630 PyObject *resultobj;
11631 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11632 int arg2 = (int) 0 ;
11633 wxNotifyEvent *result;
11634 char *kwnames[] = {
11635 (char *) "commandType",(char *) "winid", NULL
11636 };
11637
11638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_NotifyEvent",kwnames,&arg1,&arg2)) goto fail;
11639 {
11640 PyThreadState* __tstate = wxPyBeginAllowThreads();
11641 result = (wxNotifyEvent *)new wxNotifyEvent(arg1,arg2);
11642
11643 wxPyEndAllowThreads(__tstate);
11644 if (PyErr_Occurred()) SWIG_fail;
11645 }
11646 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotifyEvent, 1);
11647 return resultobj;
11648 fail:
11649 return NULL;
11650}
11651
11652
11653static PyObject *_wrap_NotifyEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
11654 PyObject *resultobj;
11655 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
11656 PyObject * obj0 = 0 ;
11657 char *kwnames[] = {
11658 (char *) "self", NULL
11659 };
11660
11661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail;
11662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotifyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11663 {
11664 PyThreadState* __tstate = wxPyBeginAllowThreads();
11665 (arg1)->Veto();
11666
11667 wxPyEndAllowThreads(__tstate);
11668 if (PyErr_Occurred()) SWIG_fail;
11669 }
11670 Py_INCREF(Py_None); resultobj = Py_None;
11671 return resultobj;
11672 fail:
11673 return NULL;
11674}
11675
11676
11677static PyObject *_wrap_NotifyEvent_Allow(PyObject *self, PyObject *args, PyObject *kwargs) {
11678 PyObject *resultobj;
11679 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
11680 PyObject * obj0 = 0 ;
11681 char *kwnames[] = {
11682 (char *) "self", NULL
11683 };
11684
11685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail;
11686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotifyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11687 {
11688 PyThreadState* __tstate = wxPyBeginAllowThreads();
11689 (arg1)->Allow();
11690
11691 wxPyEndAllowThreads(__tstate);
11692 if (PyErr_Occurred()) SWIG_fail;
11693 }
11694 Py_INCREF(Py_None); resultobj = Py_None;
11695 return resultobj;
11696 fail:
11697 return NULL;
11698}
11699
11700
11701static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
11702 PyObject *resultobj;
11703 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
11704 bool result;
11705 PyObject * obj0 = 0 ;
11706 char *kwnames[] = {
11707 (char *) "self", NULL
11708 };
11709
11710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail;
11711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotifyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11712 {
11713 PyThreadState* __tstate = wxPyBeginAllowThreads();
11714 result = (bool)(arg1)->IsAllowed();
11715
11716 wxPyEndAllowThreads(__tstate);
11717 if (PyErr_Occurred()) SWIG_fail;
11718 }
11719 resultobj = PyInt_FromLong((long)result);
11720 return resultobj;
11721 fail:
11722 return NULL;
11723}
11724
11725
11726static PyObject * NotifyEvent_swigregister(PyObject *self, PyObject *args) {
11727 PyObject *obj;
11728 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11729 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj);
11730 Py_INCREF(obj);
11731 return Py_BuildValue((char *)"");
11732}
11733static PyObject *_wrap_new_ScrollEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11734 PyObject *resultobj;
11735 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11736 int arg2 = (int) 0 ;
11737 int arg3 = (int) 0 ;
11738 int arg4 = (int) 0 ;
11739 wxScrollEvent *result;
11740 char *kwnames[] = {
11741 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
11742 };
11743
11744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ScrollEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
11745 {
11746 PyThreadState* __tstate = wxPyBeginAllowThreads();
11747 result = (wxScrollEvent *)new wxScrollEvent(arg1,arg2,arg3,arg4);
11748
11749 wxPyEndAllowThreads(__tstate);
11750 if (PyErr_Occurred()) SWIG_fail;
11751 }
11752 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollEvent, 1);
11753 return resultobj;
11754 fail:
11755 return NULL;
11756}
11757
11758
11759static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
11760 PyObject *resultobj;
11761 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
11762 int result;
11763 PyObject * obj0 = 0 ;
11764 char *kwnames[] = {
11765 (char *) "self", NULL
11766 };
11767
11768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail;
11769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11770 {
11771 PyThreadState* __tstate = wxPyBeginAllowThreads();
11772 result = (int)((wxScrollEvent const *)arg1)->GetOrientation();
11773
11774 wxPyEndAllowThreads(__tstate);
11775 if (PyErr_Occurred()) SWIG_fail;
11776 }
11777 resultobj = PyInt_FromLong((long)result);
11778 return resultobj;
11779 fail:
11780 return NULL;
11781}
11782
11783
11784static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11785 PyObject *resultobj;
11786 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
11787 int result;
11788 PyObject * obj0 = 0 ;
11789 char *kwnames[] = {
11790 (char *) "self", NULL
11791 };
11792
11793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail;
11794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11795 {
11796 PyThreadState* __tstate = wxPyBeginAllowThreads();
11797 result = (int)((wxScrollEvent const *)arg1)->GetPosition();
11798
11799 wxPyEndAllowThreads(__tstate);
11800 if (PyErr_Occurred()) SWIG_fail;
11801 }
11802 resultobj = PyInt_FromLong((long)result);
11803 return resultobj;
11804 fail:
11805 return NULL;
11806}
11807
11808
11809static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
11810 PyObject *resultobj;
11811 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
11812 int arg2 ;
11813 PyObject * obj0 = 0 ;
11814 char *kwnames[] = {
11815 (char *) "self",(char *) "orient", NULL
11816 };
11817
11818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
11819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11820 {
11821 PyThreadState* __tstate = wxPyBeginAllowThreads();
11822 (arg1)->SetOrientation(arg2);
11823
11824 wxPyEndAllowThreads(__tstate);
11825 if (PyErr_Occurred()) SWIG_fail;
11826 }
11827 Py_INCREF(Py_None); resultobj = Py_None;
11828 return resultobj;
11829 fail:
11830 return NULL;
11831}
11832
11833
11834static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11835 PyObject *resultobj;
11836 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
11837 int arg2 ;
11838 PyObject * obj0 = 0 ;
11839 char *kwnames[] = {
11840 (char *) "self",(char *) "pos", NULL
11841 };
11842
11843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollEvent_SetPosition",kwnames,&obj0,&arg2)) goto fail;
11844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11845 {
11846 PyThreadState* __tstate = wxPyBeginAllowThreads();
11847 (arg1)->SetPosition(arg2);
11848
11849 wxPyEndAllowThreads(__tstate);
11850 if (PyErr_Occurred()) SWIG_fail;
11851 }
11852 Py_INCREF(Py_None); resultobj = Py_None;
11853 return resultobj;
11854 fail:
11855 return NULL;
11856}
11857
11858
11859static PyObject * ScrollEvent_swigregister(PyObject *self, PyObject *args) {
11860 PyObject *obj;
11861 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11862 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj);
11863 Py_INCREF(obj);
11864 return Py_BuildValue((char *)"");
11865}
11866static PyObject *_wrap_new_ScrollWinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11867 PyObject *resultobj;
11868 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11869 int arg2 = (int) 0 ;
11870 int arg3 = (int) 0 ;
11871 wxScrollWinEvent *result;
11872 char *kwnames[] = {
11873 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
11874 };
11875
11876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iii:new_ScrollWinEvent",kwnames,&arg1,&arg2,&arg3)) goto fail;
11877 {
11878 PyThreadState* __tstate = wxPyBeginAllowThreads();
11879 result = (wxScrollWinEvent *)new wxScrollWinEvent(arg1,arg2,arg3);
11880
11881 wxPyEndAllowThreads(__tstate);
11882 if (PyErr_Occurred()) SWIG_fail;
11883 }
11884 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollWinEvent, 1);
11885 return resultobj;
11886 fail:
11887 return NULL;
11888}
11889
11890
11891static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
11892 PyObject *resultobj;
11893 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
11894 int result;
11895 PyObject * obj0 = 0 ;
11896 char *kwnames[] = {
11897 (char *) "self", NULL
11898 };
11899
11900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail;
11901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11902 {
11903 PyThreadState* __tstate = wxPyBeginAllowThreads();
11904 result = (int)((wxScrollWinEvent const *)arg1)->GetOrientation();
11905
11906 wxPyEndAllowThreads(__tstate);
11907 if (PyErr_Occurred()) SWIG_fail;
11908 }
11909 resultobj = PyInt_FromLong((long)result);
11910 return resultobj;
11911 fail:
11912 return NULL;
11913}
11914
11915
11916static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11917 PyObject *resultobj;
11918 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
11919 int result;
11920 PyObject * obj0 = 0 ;
11921 char *kwnames[] = {
11922 (char *) "self", NULL
11923 };
11924
11925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail;
11926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11927 {
11928 PyThreadState* __tstate = wxPyBeginAllowThreads();
11929 result = (int)((wxScrollWinEvent const *)arg1)->GetPosition();
11930
11931 wxPyEndAllowThreads(__tstate);
11932 if (PyErr_Occurred()) SWIG_fail;
11933 }
11934 resultobj = PyInt_FromLong((long)result);
11935 return resultobj;
11936 fail:
11937 return NULL;
11938}
11939
11940
11941static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
11942 PyObject *resultobj;
11943 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
11944 int arg2 ;
11945 PyObject * obj0 = 0 ;
11946 char *kwnames[] = {
11947 (char *) "self",(char *) "orient", NULL
11948 };
11949
11950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollWinEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
11951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11952 {
11953 PyThreadState* __tstate = wxPyBeginAllowThreads();
11954 (arg1)->SetOrientation(arg2);
11955
11956 wxPyEndAllowThreads(__tstate);
11957 if (PyErr_Occurred()) SWIG_fail;
11958 }
11959 Py_INCREF(Py_None); resultobj = Py_None;
11960 return resultobj;
11961 fail:
11962 return NULL;
11963}
11964
11965
11966static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11967 PyObject *resultobj;
11968 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
11969 int arg2 ;
11970 PyObject * obj0 = 0 ;
11971 char *kwnames[] = {
11972 (char *) "self",(char *) "pos", NULL
11973 };
11974
11975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollWinEvent_SetPosition",kwnames,&obj0,&arg2)) goto fail;
11976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11977 {
11978 PyThreadState* __tstate = wxPyBeginAllowThreads();
11979 (arg1)->SetPosition(arg2);
11980
11981 wxPyEndAllowThreads(__tstate);
11982 if (PyErr_Occurred()) SWIG_fail;
11983 }
11984 Py_INCREF(Py_None); resultobj = Py_None;
11985 return resultobj;
11986 fail:
11987 return NULL;
11988}
11989
11990
11991static PyObject * ScrollWinEvent_swigregister(PyObject *self, PyObject *args) {
11992 PyObject *obj;
11993 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11994 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj);
11995 Py_INCREF(obj);
11996 return Py_BuildValue((char *)"");
11997}
11998static PyObject *_wrap_new_MouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11999 PyObject *resultobj;
12000 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12001 wxMouseEvent *result;
12002 char *kwnames[] = {
12003 (char *) "mouseType", NULL
12004 };
12005
12006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_MouseEvent",kwnames,&arg1)) goto fail;
12007 {
12008 PyThreadState* __tstate = wxPyBeginAllowThreads();
12009 result = (wxMouseEvent *)new wxMouseEvent(arg1);
12010
12011 wxPyEndAllowThreads(__tstate);
12012 if (PyErr_Occurred()) SWIG_fail;
12013 }
12014 {
12015 resultobj = wxPyMake_wxObject(result);
12016 }
12017 return resultobj;
12018 fail:
12019 return NULL;
12020}
12021
12022
12023static PyObject *_wrap_MouseEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12024 PyObject *resultobj;
12025 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12026 bool result;
12027 PyObject * obj0 = 0 ;
12028 char *kwnames[] = {
12029 (char *) "self", NULL
12030 };
12031
12032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsButton",kwnames,&obj0)) goto fail;
12033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12034 {
12035 PyThreadState* __tstate = wxPyBeginAllowThreads();
12036 result = (bool)((wxMouseEvent const *)arg1)->IsButton();
12037
12038 wxPyEndAllowThreads(__tstate);
12039 if (PyErr_Occurred()) SWIG_fail;
12040 }
12041 resultobj = PyInt_FromLong((long)result);
12042 return resultobj;
12043 fail:
12044 return NULL;
12045}
12046
12047
12048static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12049 PyObject *resultobj;
12050 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12051 int arg2 = (int) wxMOUSE_BTN_ANY ;
12052 bool result;
12053 PyObject * obj0 = 0 ;
12054 char *kwnames[] = {
12055 (char *) "self",(char *) "but", NULL
12056 };
12057
12058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:MouseEvent_ButtonDown",kwnames,&obj0,&arg2)) goto fail;
12059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12060 {
12061 PyThreadState* __tstate = wxPyBeginAllowThreads();
12062 result = (bool)((wxMouseEvent const *)arg1)->ButtonDown(arg2);
12063
12064 wxPyEndAllowThreads(__tstate);
12065 if (PyErr_Occurred()) SWIG_fail;
12066 }
12067 resultobj = PyInt_FromLong((long)result);
12068 return resultobj;
12069 fail:
12070 return NULL;
12071}
12072
12073
12074static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12075 PyObject *resultobj;
12076 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12077 int arg2 = (int) wxMOUSE_BTN_ANY ;
12078 bool result;
12079 PyObject * obj0 = 0 ;
12080 char *kwnames[] = {
12081 (char *) "self",(char *) "but", NULL
12082 };
12083
12084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:MouseEvent_ButtonDClick",kwnames,&obj0,&arg2)) goto fail;
12085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12086 {
12087 PyThreadState* __tstate = wxPyBeginAllowThreads();
12088 result = (bool)((wxMouseEvent const *)arg1)->ButtonDClick(arg2);
12089
12090 wxPyEndAllowThreads(__tstate);
12091 if (PyErr_Occurred()) SWIG_fail;
12092 }
12093 resultobj = PyInt_FromLong((long)result);
12094 return resultobj;
12095 fail:
12096 return NULL;
12097}
12098
12099
12100static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
12101 PyObject *resultobj;
12102 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12103 int arg2 = (int) wxMOUSE_BTN_ANY ;
12104 bool result;
12105 PyObject * obj0 = 0 ;
12106 char *kwnames[] = {
12107 (char *) "self",(char *) "but", NULL
12108 };
12109
12110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:MouseEvent_ButtonUp",kwnames,&obj0,&arg2)) goto fail;
12111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12112 {
12113 PyThreadState* __tstate = wxPyBeginAllowThreads();
12114 result = (bool)((wxMouseEvent const *)arg1)->ButtonUp(arg2);
12115
12116 wxPyEndAllowThreads(__tstate);
12117 if (PyErr_Occurred()) SWIG_fail;
12118 }
12119 resultobj = PyInt_FromLong((long)result);
12120 return resultobj;
12121 fail:
12122 return NULL;
12123}
12124
12125
12126static PyObject *_wrap_MouseEvent_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
12127 PyObject *resultobj;
12128 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12129 int arg2 ;
12130 bool result;
12131 PyObject * obj0 = 0 ;
12132 char *kwnames[] = {
12133 (char *) "self",(char *) "but", NULL
12134 };
12135
12136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_Button",kwnames,&obj0,&arg2)) goto fail;
12137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12138 {
12139 PyThreadState* __tstate = wxPyBeginAllowThreads();
12140 result = (bool)((wxMouseEvent const *)arg1)->Button(arg2);
12141
12142 wxPyEndAllowThreads(__tstate);
12143 if (PyErr_Occurred()) SWIG_fail;
12144 }
12145 resultobj = PyInt_FromLong((long)result);
12146 return resultobj;
12147 fail:
12148 return NULL;
12149}
12150
12151
12152static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12153 PyObject *resultobj;
12154 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12155 int arg2 ;
12156 bool result;
12157 PyObject * obj0 = 0 ;
12158 char *kwnames[] = {
12159 (char *) "self",(char *) "but", NULL
12160 };
12161
12162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_ButtonIsDown",kwnames,&obj0,&arg2)) goto fail;
12163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12164 {
12165 PyThreadState* __tstate = wxPyBeginAllowThreads();
12166 result = (bool)((wxMouseEvent const *)arg1)->ButtonIsDown(arg2);
12167
12168 wxPyEndAllowThreads(__tstate);
12169 if (PyErr_Occurred()) SWIG_fail;
12170 }
12171 resultobj = PyInt_FromLong((long)result);
12172 return resultobj;
12173 fail:
12174 return NULL;
12175}
12176
12177
12178static PyObject *_wrap_MouseEvent_GetButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12179 PyObject *resultobj;
12180 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12181 int result;
12182 PyObject * obj0 = 0 ;
12183 char *kwnames[] = {
12184 (char *) "self", NULL
12185 };
12186
12187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail;
12188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12189 {
12190 PyThreadState* __tstate = wxPyBeginAllowThreads();
12191 result = (int)((wxMouseEvent const *)arg1)->GetButton();
12192
12193 wxPyEndAllowThreads(__tstate);
12194 if (PyErr_Occurred()) SWIG_fail;
12195 }
12196 resultobj = PyInt_FromLong((long)result);
12197 return resultobj;
12198 fail:
12199 return NULL;
12200}
12201
12202
12203static PyObject *_wrap_MouseEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12204 PyObject *resultobj;
12205 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12206 bool result;
12207 PyObject * obj0 = 0 ;
12208 char *kwnames[] = {
12209 (char *) "self", NULL
12210 };
12211
12212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail;
12213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12214 {
12215 PyThreadState* __tstate = wxPyBeginAllowThreads();
12216 result = (bool)((wxMouseEvent const *)arg1)->ControlDown();
12217
12218 wxPyEndAllowThreads(__tstate);
12219 if (PyErr_Occurred()) SWIG_fail;
12220 }
12221 resultobj = PyInt_FromLong((long)result);
12222 return resultobj;
12223 fail:
12224 return NULL;
12225}
12226
12227
12228static PyObject *_wrap_MouseEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12229 PyObject *resultobj;
12230 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12231 bool result;
12232 PyObject * obj0 = 0 ;
12233 char *kwnames[] = {
12234 (char *) "self", NULL
12235 };
12236
12237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail;
12238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12239 {
12240 PyThreadState* __tstate = wxPyBeginAllowThreads();
12241 result = (bool)((wxMouseEvent const *)arg1)->MetaDown();
12242
12243 wxPyEndAllowThreads(__tstate);
12244 if (PyErr_Occurred()) SWIG_fail;
12245 }
12246 resultobj = PyInt_FromLong((long)result);
12247 return resultobj;
12248 fail:
12249 return NULL;
12250}
12251
12252
12253static PyObject *_wrap_MouseEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12254 PyObject *resultobj;
12255 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12256 bool result;
12257 PyObject * obj0 = 0 ;
12258 char *kwnames[] = {
12259 (char *) "self", NULL
12260 };
12261
12262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_AltDown",kwnames,&obj0)) goto fail;
12263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12264 {
12265 PyThreadState* __tstate = wxPyBeginAllowThreads();
12266 result = (bool)((wxMouseEvent const *)arg1)->AltDown();
12267
12268 wxPyEndAllowThreads(__tstate);
12269 if (PyErr_Occurred()) SWIG_fail;
12270 }
12271 resultobj = PyInt_FromLong((long)result);
12272 return resultobj;
12273 fail:
12274 return NULL;
12275}
12276
12277
12278static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12279 PyObject *resultobj;
12280 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12281 bool result;
12282 PyObject * obj0 = 0 ;
12283 char *kwnames[] = {
12284 (char *) "self", NULL
12285 };
12286
12287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ShiftDown",kwnames,&obj0)) goto fail;
12288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12289 {
12290 PyThreadState* __tstate = wxPyBeginAllowThreads();
12291 result = (bool)((wxMouseEvent const *)arg1)->ShiftDown();
12292
12293 wxPyEndAllowThreads(__tstate);
12294 if (PyErr_Occurred()) SWIG_fail;
12295 }
12296 resultobj = PyInt_FromLong((long)result);
12297 return resultobj;
12298 fail:
12299 return NULL;
12300}
12301
12302
12303static PyObject *_wrap_MouseEvent_LeftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12304 PyObject *resultobj;
12305 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12306 bool result;
12307 PyObject * obj0 = 0 ;
12308 char *kwnames[] = {
12309 (char *) "self", NULL
12310 };
12311
12312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDown",kwnames,&obj0)) goto fail;
12313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12314 {
12315 PyThreadState* __tstate = wxPyBeginAllowThreads();
12316 result = (bool)((wxMouseEvent const *)arg1)->LeftDown();
12317
12318 wxPyEndAllowThreads(__tstate);
12319 if (PyErr_Occurred()) SWIG_fail;
12320 }
12321 resultobj = PyInt_FromLong((long)result);
12322 return resultobj;
12323 fail:
12324 return NULL;
12325}
12326
12327
12328static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12329 PyObject *resultobj;
12330 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12331 bool result;
12332 PyObject * obj0 = 0 ;
12333 char *kwnames[] = {
12334 (char *) "self", NULL
12335 };
12336
12337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDown",kwnames,&obj0)) goto fail;
12338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12339 {
12340 PyThreadState* __tstate = wxPyBeginAllowThreads();
12341 result = (bool)((wxMouseEvent const *)arg1)->MiddleDown();
12342
12343 wxPyEndAllowThreads(__tstate);
12344 if (PyErr_Occurred()) SWIG_fail;
12345 }
12346 resultobj = PyInt_FromLong((long)result);
12347 return resultobj;
12348 fail:
12349 return NULL;
12350}
12351
12352
12353static PyObject *_wrap_MouseEvent_RightDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12354 PyObject *resultobj;
12355 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12356 bool result;
12357 PyObject * obj0 = 0 ;
12358 char *kwnames[] = {
12359 (char *) "self", NULL
12360 };
12361
12362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDown",kwnames,&obj0)) goto fail;
12363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12364 {
12365 PyThreadState* __tstate = wxPyBeginAllowThreads();
12366 result = (bool)((wxMouseEvent const *)arg1)->RightDown();
12367
12368 wxPyEndAllowThreads(__tstate);
12369 if (PyErr_Occurred()) SWIG_fail;
12370 }
12371 resultobj = PyInt_FromLong((long)result);
12372 return resultobj;
12373 fail:
12374 return NULL;
12375}
12376
12377
12378static PyObject *_wrap_MouseEvent_LeftUp(PyObject *self, PyObject *args, PyObject *kwargs) {
12379 PyObject *resultobj;
12380 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12381 bool result;
12382 PyObject * obj0 = 0 ;
12383 char *kwnames[] = {
12384 (char *) "self", NULL
12385 };
12386
12387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftUp",kwnames,&obj0)) goto fail;
12388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12389 {
12390 PyThreadState* __tstate = wxPyBeginAllowThreads();
12391 result = (bool)((wxMouseEvent const *)arg1)->LeftUp();
12392
12393 wxPyEndAllowThreads(__tstate);
12394 if (PyErr_Occurred()) SWIG_fail;
12395 }
12396 resultobj = PyInt_FromLong((long)result);
12397 return resultobj;
12398 fail:
12399 return NULL;
12400}
12401
12402
12403static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *self, PyObject *args, PyObject *kwargs) {
12404 PyObject *resultobj;
12405 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12406 bool result;
12407 PyObject * obj0 = 0 ;
12408 char *kwnames[] = {
12409 (char *) "self", NULL
12410 };
12411
12412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleUp",kwnames,&obj0)) goto fail;
12413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12414 {
12415 PyThreadState* __tstate = wxPyBeginAllowThreads();
12416 result = (bool)((wxMouseEvent const *)arg1)->MiddleUp();
12417
12418 wxPyEndAllowThreads(__tstate);
12419 if (PyErr_Occurred()) SWIG_fail;
12420 }
12421 resultobj = PyInt_FromLong((long)result);
12422 return resultobj;
12423 fail:
12424 return NULL;
12425}
12426
12427
12428static PyObject *_wrap_MouseEvent_RightUp(PyObject *self, PyObject *args, PyObject *kwargs) {
12429 PyObject *resultobj;
12430 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12431 bool result;
12432 PyObject * obj0 = 0 ;
12433 char *kwnames[] = {
12434 (char *) "self", NULL
12435 };
12436
12437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightUp",kwnames,&obj0)) goto fail;
12438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12439 {
12440 PyThreadState* __tstate = wxPyBeginAllowThreads();
12441 result = (bool)((wxMouseEvent const *)arg1)->RightUp();
12442
12443 wxPyEndAllowThreads(__tstate);
12444 if (PyErr_Occurred()) SWIG_fail;
12445 }
12446 resultobj = PyInt_FromLong((long)result);
12447 return resultobj;
12448 fail:
12449 return NULL;
12450}
12451
12452
12453static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12454 PyObject *resultobj;
12455 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12456 bool result;
12457 PyObject * obj0 = 0 ;
12458 char *kwnames[] = {
12459 (char *) "self", NULL
12460 };
12461
12462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDClick",kwnames,&obj0)) goto fail;
12463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12464 {
12465 PyThreadState* __tstate = wxPyBeginAllowThreads();
12466 result = (bool)((wxMouseEvent const *)arg1)->LeftDClick();
12467
12468 wxPyEndAllowThreads(__tstate);
12469 if (PyErr_Occurred()) SWIG_fail;
12470 }
12471 resultobj = PyInt_FromLong((long)result);
12472 return resultobj;
12473 fail:
12474 return NULL;
12475}
12476
12477
12478static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12479 PyObject *resultobj;
12480 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12481 bool result;
12482 PyObject * obj0 = 0 ;
12483 char *kwnames[] = {
12484 (char *) "self", NULL
12485 };
12486
12487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDClick",kwnames,&obj0)) goto fail;
12488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12489 {
12490 PyThreadState* __tstate = wxPyBeginAllowThreads();
12491 result = (bool)((wxMouseEvent const *)arg1)->MiddleDClick();
12492
12493 wxPyEndAllowThreads(__tstate);
12494 if (PyErr_Occurred()) SWIG_fail;
12495 }
12496 resultobj = PyInt_FromLong((long)result);
12497 return resultobj;
12498 fail:
12499 return NULL;
12500}
12501
12502
12503static PyObject *_wrap_MouseEvent_RightDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12504 PyObject *resultobj;
12505 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12506 bool result;
12507 PyObject * obj0 = 0 ;
12508 char *kwnames[] = {
12509 (char *) "self", NULL
12510 };
12511
12512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDClick",kwnames,&obj0)) goto fail;
12513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12514 {
12515 PyThreadState* __tstate = wxPyBeginAllowThreads();
12516 result = (bool)((wxMouseEvent const *)arg1)->RightDClick();
12517
12518 wxPyEndAllowThreads(__tstate);
12519 if (PyErr_Occurred()) SWIG_fail;
12520 }
12521 resultobj = PyInt_FromLong((long)result);
12522 return resultobj;
12523 fail:
12524 return NULL;
12525}
12526
12527
12528static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12529 PyObject *resultobj;
12530 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12531 bool result;
12532 PyObject * obj0 = 0 ;
12533 char *kwnames[] = {
12534 (char *) "self", NULL
12535 };
12536
12537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftIsDown",kwnames,&obj0)) goto fail;
12538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12539 {
12540 PyThreadState* __tstate = wxPyBeginAllowThreads();
12541 result = (bool)(arg1)->LeftIsDown();
12542
12543 wxPyEndAllowThreads(__tstate);
12544 if (PyErr_Occurred()) SWIG_fail;
12545 }
12546 resultobj = PyInt_FromLong((long)result);
12547 return resultobj;
12548 fail:
12549 return NULL;
12550}
12551
12552
12553static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12554 PyObject *resultobj;
12555 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12556 bool result;
12557 PyObject * obj0 = 0 ;
12558 char *kwnames[] = {
12559 (char *) "self", NULL
12560 };
12561
12562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail;
12563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12564 {
12565 PyThreadState* __tstate = wxPyBeginAllowThreads();
12566 result = (bool)(arg1)->MiddleIsDown();
12567
12568 wxPyEndAllowThreads(__tstate);
12569 if (PyErr_Occurred()) SWIG_fail;
12570 }
12571 resultobj = PyInt_FromLong((long)result);
12572 return resultobj;
12573 fail:
12574 return NULL;
12575}
12576
12577
12578static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12579 PyObject *resultobj;
12580 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12581 bool result;
12582 PyObject * obj0 = 0 ;
12583 char *kwnames[] = {
12584 (char *) "self", NULL
12585 };
12586
12587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightIsDown",kwnames,&obj0)) goto fail;
12588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12589 {
12590 PyThreadState* __tstate = wxPyBeginAllowThreads();
12591 result = (bool)(arg1)->RightIsDown();
12592
12593 wxPyEndAllowThreads(__tstate);
12594 if (PyErr_Occurred()) SWIG_fail;
12595 }
12596 resultobj = PyInt_FromLong((long)result);
12597 return resultobj;
12598 fail:
12599 return NULL;
12600}
12601
12602
12603static PyObject *_wrap_MouseEvent_Dragging(PyObject *self, PyObject *args, PyObject *kwargs) {
12604 PyObject *resultobj;
12605 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12606 bool result;
12607 PyObject * obj0 = 0 ;
12608 char *kwnames[] = {
12609 (char *) "self", NULL
12610 };
12611
12612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Dragging",kwnames,&obj0)) goto fail;
12613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12614 {
12615 PyThreadState* __tstate = wxPyBeginAllowThreads();
12616 result = (bool)((wxMouseEvent const *)arg1)->Dragging();
12617
12618 wxPyEndAllowThreads(__tstate);
12619 if (PyErr_Occurred()) SWIG_fail;
12620 }
12621 resultobj = PyInt_FromLong((long)result);
12622 return resultobj;
12623 fail:
12624 return NULL;
12625}
12626
12627
12628static PyObject *_wrap_MouseEvent_Moving(PyObject *self, PyObject *args, PyObject *kwargs) {
12629 PyObject *resultobj;
12630 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12631 bool result;
12632 PyObject * obj0 = 0 ;
12633 char *kwnames[] = {
12634 (char *) "self", NULL
12635 };
12636
12637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Moving",kwnames,&obj0)) goto fail;
12638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12639 {
12640 PyThreadState* __tstate = wxPyBeginAllowThreads();
12641 result = (bool)((wxMouseEvent const *)arg1)->Moving();
12642
12643 wxPyEndAllowThreads(__tstate);
12644 if (PyErr_Occurred()) SWIG_fail;
12645 }
12646 resultobj = PyInt_FromLong((long)result);
12647 return resultobj;
12648 fail:
12649 return NULL;
12650}
12651
12652
12653static PyObject *_wrap_MouseEvent_Entering(PyObject *self, PyObject *args, PyObject *kwargs) {
12654 PyObject *resultobj;
12655 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12656 bool result;
12657 PyObject * obj0 = 0 ;
12658 char *kwnames[] = {
12659 (char *) "self", NULL
12660 };
12661
12662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Entering",kwnames,&obj0)) goto fail;
12663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12664 {
12665 PyThreadState* __tstate = wxPyBeginAllowThreads();
12666 result = (bool)((wxMouseEvent const *)arg1)->Entering();
12667
12668 wxPyEndAllowThreads(__tstate);
12669 if (PyErr_Occurred()) SWIG_fail;
12670 }
12671 resultobj = PyInt_FromLong((long)result);
12672 return resultobj;
12673 fail:
12674 return NULL;
12675}
12676
12677
12678static PyObject *_wrap_MouseEvent_Leaving(PyObject *self, PyObject *args, PyObject *kwargs) {
12679 PyObject *resultobj;
12680 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12681 bool result;
12682 PyObject * obj0 = 0 ;
12683 char *kwnames[] = {
12684 (char *) "self", NULL
12685 };
12686
12687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Leaving",kwnames,&obj0)) goto fail;
12688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12689 {
12690 PyThreadState* __tstate = wxPyBeginAllowThreads();
12691 result = (bool)((wxMouseEvent const *)arg1)->Leaving();
12692
12693 wxPyEndAllowThreads(__tstate);
12694 if (PyErr_Occurred()) SWIG_fail;
12695 }
12696 resultobj = PyInt_FromLong((long)result);
12697 return resultobj;
12698 fail:
12699 return NULL;
12700}
12701
12702
12703static PyObject *_wrap_MouseEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12704 PyObject *resultobj;
12705 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12706 wxPoint result;
12707 PyObject * obj0 = 0 ;
12708 char *kwnames[] = {
12709 (char *) "self", NULL
12710 };
12711
12712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",kwnames,&obj0)) goto fail;
12713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12714 {
12715 PyThreadState* __tstate = wxPyBeginAllowThreads();
12716 result = (arg1)->GetPosition();
12717
12718 wxPyEndAllowThreads(__tstate);
12719 if (PyErr_Occurred()) SWIG_fail;
12720 }
12721 {
12722 wxPoint * resultptr;
12723 resultptr = new wxPoint((wxPoint &) result);
12724 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
12725 }
12726 return resultobj;
12727 fail:
12728 return NULL;
12729}
12730
12731
12732static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
12733 PyObject *resultobj;
12734 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12735 long *arg2 = (long *) 0 ;
12736 long *arg3 = (long *) 0 ;
12737 long temp2 ;
12738 long temp3 ;
12739 PyObject * obj0 = 0 ;
12740 char *kwnames[] = {
12741 (char *) "self", NULL
12742 };
12743
12744 arg2 = &temp2;
12745 arg3 = &temp3;
12746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
12747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12748 {
12749 PyThreadState* __tstate = wxPyBeginAllowThreads();
12750 (arg1)->GetPosition(arg2,arg3);
12751
12752 wxPyEndAllowThreads(__tstate);
12753 if (PyErr_Occurred()) SWIG_fail;
12754 }
12755 Py_INCREF(Py_None); resultobj = Py_None;
12756 {
12757 PyObject *o = PyInt_FromLong((long) (*arg2));
12758 resultobj = t_output_helper(resultobj,o);
12759 }
12760 {
12761 PyObject *o = PyInt_FromLong((long) (*arg3));
12762 resultobj = t_output_helper(resultobj,o);
12763 }
12764 return resultobj;
12765 fail:
12766 return NULL;
12767}
12768
12769
12770static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12771 PyObject *resultobj;
12772 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12773 wxDC *arg2 = 0 ;
12774 wxPoint result;
12775 PyObject * obj0 = 0 ;
12776 PyObject * obj1 = 0 ;
12777 char *kwnames[] = {
12778 (char *) "self",(char *) "dc", NULL
12779 };
12780
12781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail;
12782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12783 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12784 if (arg2 == NULL) {
12785 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12786 }
12787 {
12788 PyThreadState* __tstate = wxPyBeginAllowThreads();
12789 result = ((wxMouseEvent const *)arg1)->GetLogicalPosition((wxDC const &)*arg2);
12790
12791 wxPyEndAllowThreads(__tstate);
12792 if (PyErr_Occurred()) SWIG_fail;
12793 }
12794 {
12795 wxPoint * resultptr;
12796 resultptr = new wxPoint((wxPoint &) result);
12797 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
12798 }
12799 return resultobj;
12800 fail:
12801 return NULL;
12802}
12803
12804
12805static PyObject *_wrap_MouseEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
12806 PyObject *resultobj;
12807 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 12808 int result;
d14a1e28
RD
12809 PyObject * obj0 = 0 ;
12810 char *kwnames[] = {
12811 (char *) "self", NULL
12812 };
12813
12814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail;
12815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12816 {
12817 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 12818 result = (int)((wxMouseEvent const *)arg1)->GetX();
d14a1e28
RD
12819
12820 wxPyEndAllowThreads(__tstate);
12821 if (PyErr_Occurred()) SWIG_fail;
12822 }
12823 resultobj = PyInt_FromLong((long)result);
12824 return resultobj;
12825 fail:
12826 return NULL;
12827}
12828
12829
12830static PyObject *_wrap_MouseEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
12831 PyObject *resultobj;
12832 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 12833 int result;
d14a1e28
RD
12834 PyObject * obj0 = 0 ;
12835 char *kwnames[] = {
12836 (char *) "self", NULL
12837 };
12838
12839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail;
12840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12841 {
12842 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 12843 result = (int)((wxMouseEvent const *)arg1)->GetY();
d14a1e28
RD
12844
12845 wxPyEndAllowThreads(__tstate);
12846 if (PyErr_Occurred()) SWIG_fail;
12847 }
12848 resultobj = PyInt_FromLong((long)result);
12849 return resultobj;
12850 fail:
12851 return NULL;
12852}
12853
12854
12855static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
12856 PyObject *resultobj;
12857 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12858 int result;
12859 PyObject * obj0 = 0 ;
12860 char *kwnames[] = {
12861 (char *) "self", NULL
12862 };
12863
12864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail;
12865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12866 {
12867 PyThreadState* __tstate = wxPyBeginAllowThreads();
12868 result = (int)((wxMouseEvent const *)arg1)->GetWheelRotation();
12869
12870 wxPyEndAllowThreads(__tstate);
12871 if (PyErr_Occurred()) SWIG_fail;
12872 }
12873 resultobj = PyInt_FromLong((long)result);
12874 return resultobj;
12875 fail:
12876 return NULL;
12877}
12878
12879
12880static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *self, PyObject *args, PyObject *kwargs) {
12881 PyObject *resultobj;
12882 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12883 int result;
12884 PyObject * obj0 = 0 ;
12885 char *kwnames[] = {
12886 (char *) "self", NULL
12887 };
12888
12889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail;
12890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12891 {
12892 PyThreadState* __tstate = wxPyBeginAllowThreads();
12893 result = (int)((wxMouseEvent const *)arg1)->GetWheelDelta();
12894
12895 wxPyEndAllowThreads(__tstate);
12896 if (PyErr_Occurred()) SWIG_fail;
12897 }
12898 resultobj = PyInt_FromLong((long)result);
12899 return resultobj;
12900 fail:
12901 return NULL;
12902}
12903
12904
12905static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *self, PyObject *args, PyObject *kwargs) {
12906 PyObject *resultobj;
12907 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12908 int result;
12909 PyObject * obj0 = 0 ;
12910 char *kwnames[] = {
12911 (char *) "self", NULL
12912 };
12913
12914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail;
12915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12916 {
12917 PyThreadState* __tstate = wxPyBeginAllowThreads();
12918 result = (int)((wxMouseEvent const *)arg1)->GetLinesPerAction();
12919
12920 wxPyEndAllowThreads(__tstate);
12921 if (PyErr_Occurred()) SWIG_fail;
12922 }
12923 resultobj = PyInt_FromLong((long)result);
12924 return resultobj;
12925 fail:
12926 return NULL;
12927}
12928
12929
12930static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
12931 PyObject *resultobj;
12932 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12933 bool result;
12934 PyObject * obj0 = 0 ;
12935 char *kwnames[] = {
12936 (char *) "self", NULL
12937 };
12938
12939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsPageScroll",kwnames,&obj0)) goto fail;
12940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12941 {
12942 PyThreadState* __tstate = wxPyBeginAllowThreads();
12943 result = (bool)((wxMouseEvent const *)arg1)->IsPageScroll();
12944
12945 wxPyEndAllowThreads(__tstate);
12946 if (PyErr_Occurred()) SWIG_fail;
12947 }
12948 resultobj = PyInt_FromLong((long)result);
12949 return resultobj;
12950 fail:
12951 return NULL;
12952}
12953
12954
12955static PyObject *_wrap_MouseEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12956 PyObject *resultobj;
12957 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 12958 int arg2 ;
d14a1e28
RD
12959 PyObject * obj0 = 0 ;
12960 char *kwnames[] = {
12961 (char *) "self",(char *) "m_x", NULL
12962 };
12963
12964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_x_set",kwnames,&obj0,&arg2)) goto fail;
12965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12966 if (arg1) (arg1)->m_x = arg2;
12967
12968 Py_INCREF(Py_None); resultobj = Py_None;
12969 return resultobj;
12970 fail:
12971 return NULL;
12972}
12973
12974
12975static PyObject *_wrap_MouseEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
12976 PyObject *resultobj;
12977 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 12978 int result;
d14a1e28
RD
12979 PyObject * obj0 = 0 ;
12980 char *kwnames[] = {
12981 (char *) "self", NULL
12982 };
12983
12984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail;
12985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
423f194a 12986 result = (int) ((arg1)->m_x);
d14a1e28
RD
12987
12988 resultobj = PyInt_FromLong((long)result);
12989 return resultobj;
12990 fail:
12991 return NULL;
12992}
12993
12994
12995static PyObject *_wrap_MouseEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12996 PyObject *resultobj;
12997 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 12998 int arg2 ;
d14a1e28
RD
12999 PyObject * obj0 = 0 ;
13000 char *kwnames[] = {
13001 (char *) "self",(char *) "m_y", NULL
13002 };
13003
13004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_y_set",kwnames,&obj0,&arg2)) goto fail;
13005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13006 if (arg1) (arg1)->m_y = arg2;
13007
13008 Py_INCREF(Py_None); resultobj = Py_None;
13009 return resultobj;
13010 fail:
13011 return NULL;
13012}
13013
13014
13015static PyObject *_wrap_MouseEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13016 PyObject *resultobj;
13017 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 13018 int result;
d14a1e28
RD
13019 PyObject * obj0 = 0 ;
13020 char *kwnames[] = {
13021 (char *) "self", NULL
13022 };
13023
13024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail;
13025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
423f194a 13026 result = (int) ((arg1)->m_y);
d14a1e28
RD
13027
13028 resultobj = PyInt_FromLong((long)result);
13029 return resultobj;
13030 fail:
13031 return NULL;
13032}
13033
13034
13035static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13036 PyObject *resultobj;
13037 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13038 bool arg2 ;
13039 PyObject * obj0 = 0 ;
13040 PyObject * obj1 = 0 ;
13041 char *kwnames[] = {
13042 (char *) "self",(char *) "m_leftDown", NULL
13043 };
13044
13045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail;
13046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13047 arg2 = PyInt_AsLong(obj1) ? true : false;
13048 if (PyErr_Occurred()) SWIG_fail;
13049 if (arg1) (arg1)->m_leftDown = arg2;
13050
13051 Py_INCREF(Py_None); resultobj = Py_None;
13052 return resultobj;
13053 fail:
13054 return NULL;
13055}
13056
13057
13058static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13059 PyObject *resultobj;
13060 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13061 bool result;
13062 PyObject * obj0 = 0 ;
13063 char *kwnames[] = {
13064 (char *) "self", NULL
13065 };
13066
13067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail;
13068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13069 result = (bool) ((arg1)->m_leftDown);
13070
13071 resultobj = PyInt_FromLong((long)result);
13072 return resultobj;
13073 fail:
13074 return NULL;
13075}
13076
13077
13078static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13079 PyObject *resultobj;
13080 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13081 bool arg2 ;
13082 PyObject * obj0 = 0 ;
13083 PyObject * obj1 = 0 ;
13084 char *kwnames[] = {
13085 (char *) "self",(char *) "m_middleDown", NULL
13086 };
13087
13088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail;
13089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13090 arg2 = PyInt_AsLong(obj1) ? true : false;
13091 if (PyErr_Occurred()) SWIG_fail;
13092 if (arg1) (arg1)->m_middleDown = arg2;
13093
13094 Py_INCREF(Py_None); resultobj = Py_None;
13095 return resultobj;
13096 fail:
13097 return NULL;
13098}
13099
13100
13101static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13102 PyObject *resultobj;
13103 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13104 bool result;
13105 PyObject * obj0 = 0 ;
13106 char *kwnames[] = {
13107 (char *) "self", NULL
13108 };
13109
13110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail;
13111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13112 result = (bool) ((arg1)->m_middleDown);
13113
13114 resultobj = PyInt_FromLong((long)result);
13115 return resultobj;
13116 fail:
13117 return NULL;
13118}
13119
13120
13121static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13122 PyObject *resultobj;
13123 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13124 bool arg2 ;
13125 PyObject * obj0 = 0 ;
13126 PyObject * obj1 = 0 ;
13127 char *kwnames[] = {
13128 (char *) "self",(char *) "m_rightDown", NULL
13129 };
13130
13131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail;
13132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13133 arg2 = PyInt_AsLong(obj1) ? true : false;
13134 if (PyErr_Occurred()) SWIG_fail;
13135 if (arg1) (arg1)->m_rightDown = arg2;
13136
13137 Py_INCREF(Py_None); resultobj = Py_None;
13138 return resultobj;
13139 fail:
13140 return NULL;
13141}
13142
13143
13144static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13145 PyObject *resultobj;
13146 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13147 bool result;
13148 PyObject * obj0 = 0 ;
13149 char *kwnames[] = {
13150 (char *) "self", NULL
13151 };
13152
13153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail;
13154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13155 result = (bool) ((arg1)->m_rightDown);
13156
13157 resultobj = PyInt_FromLong((long)result);
13158 return resultobj;
13159 fail:
13160 return NULL;
13161}
13162
13163
13164static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13165 PyObject *resultobj;
13166 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13167 bool arg2 ;
13168 PyObject * obj0 = 0 ;
13169 PyObject * obj1 = 0 ;
13170 char *kwnames[] = {
13171 (char *) "self",(char *) "m_controlDown", NULL
13172 };
13173
13174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
13175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13176 arg2 = PyInt_AsLong(obj1) ? true : false;
13177 if (PyErr_Occurred()) SWIG_fail;
13178 if (arg1) (arg1)->m_controlDown = arg2;
13179
13180 Py_INCREF(Py_None); resultobj = Py_None;
13181 return resultobj;
13182 fail:
13183 return NULL;
13184}
13185
13186
13187static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13188 PyObject *resultobj;
13189 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13190 bool result;
13191 PyObject * obj0 = 0 ;
13192 char *kwnames[] = {
13193 (char *) "self", NULL
13194 };
13195
13196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
13197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13198 result = (bool) ((arg1)->m_controlDown);
13199
13200 resultobj = PyInt_FromLong((long)result);
13201 return resultobj;
13202 fail:
13203 return NULL;
13204}
13205
13206
13207static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13208 PyObject *resultobj;
13209 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13210 bool arg2 ;
13211 PyObject * obj0 = 0 ;
13212 PyObject * obj1 = 0 ;
13213 char *kwnames[] = {
13214 (char *) "self",(char *) "m_shiftDown", NULL
13215 };
13216
13217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
13218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13219 arg2 = PyInt_AsLong(obj1) ? true : false;
13220 if (PyErr_Occurred()) SWIG_fail;
13221 if (arg1) (arg1)->m_shiftDown = arg2;
13222
13223 Py_INCREF(Py_None); resultobj = Py_None;
13224 return resultobj;
13225 fail:
13226 return NULL;
13227}
13228
13229
13230static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13231 PyObject *resultobj;
13232 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13233 bool result;
13234 PyObject * obj0 = 0 ;
13235 char *kwnames[] = {
13236 (char *) "self", NULL
13237 };
13238
13239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
13240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13241 result = (bool) ((arg1)->m_shiftDown);
13242
13243 resultobj = PyInt_FromLong((long)result);
13244 return resultobj;
13245 fail:
13246 return NULL;
13247}
13248
13249
13250static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13251 PyObject *resultobj;
13252 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13253 bool arg2 ;
13254 PyObject * obj0 = 0 ;
13255 PyObject * obj1 = 0 ;
13256 char *kwnames[] = {
13257 (char *) "self",(char *) "m_altDown", NULL
13258 };
13259
13260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
13261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13262 arg2 = PyInt_AsLong(obj1) ? true : false;
13263 if (PyErr_Occurred()) SWIG_fail;
13264 if (arg1) (arg1)->m_altDown = arg2;
13265
13266 Py_INCREF(Py_None); resultobj = Py_None;
13267 return resultobj;
13268 fail:
13269 return NULL;
13270}
13271
13272
13273static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13274 PyObject *resultobj;
13275 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13276 bool result;
13277 PyObject * obj0 = 0 ;
13278 char *kwnames[] = {
13279 (char *) "self", NULL
13280 };
13281
13282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail;
13283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13284 result = (bool) ((arg1)->m_altDown);
13285
13286 resultobj = PyInt_FromLong((long)result);
13287 return resultobj;
13288 fail:
13289 return NULL;
13290}
13291
13292
13293static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13294 PyObject *resultobj;
13295 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13296 bool arg2 ;
13297 PyObject * obj0 = 0 ;
13298 PyObject * obj1 = 0 ;
13299 char *kwnames[] = {
13300 (char *) "self",(char *) "m_metaDown", NULL
13301 };
13302
13303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
13304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13305 arg2 = PyInt_AsLong(obj1) ? true : false;
13306 if (PyErr_Occurred()) SWIG_fail;
13307 if (arg1) (arg1)->m_metaDown = arg2;
13308
13309 Py_INCREF(Py_None); resultobj = Py_None;
13310 return resultobj;
13311 fail:
13312 return NULL;
13313}
13314
13315
13316static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13317 PyObject *resultobj;
13318 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13319 bool result;
13320 PyObject * obj0 = 0 ;
13321 char *kwnames[] = {
13322 (char *) "self", NULL
13323 };
13324
13325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
13326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13327 result = (bool) ((arg1)->m_metaDown);
13328
13329 resultobj = PyInt_FromLong((long)result);
13330 return resultobj;
13331 fail:
13332 return NULL;
13333}
13334
13335
13336static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13337 PyObject *resultobj;
13338 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13339 int arg2 ;
13340 PyObject * obj0 = 0 ;
13341 char *kwnames[] = {
13342 (char *) "self",(char *) "m_wheelRotation", NULL
13343 };
13344
13345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&arg2)) goto fail;
13346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13347 if (arg1) (arg1)->m_wheelRotation = arg2;
13348
13349 Py_INCREF(Py_None); resultobj = Py_None;
13350 return resultobj;
13351 fail:
13352 return NULL;
13353}
13354
13355
13356static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13357 PyObject *resultobj;
13358 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13359 int result;
13360 PyObject * obj0 = 0 ;
13361 char *kwnames[] = {
13362 (char *) "self", NULL
13363 };
13364
13365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail;
13366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13367 result = (int) ((arg1)->m_wheelRotation);
13368
13369 resultobj = PyInt_FromLong((long)result);
13370 return resultobj;
13371 fail:
13372 return NULL;
13373}
13374
13375
13376static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13377 PyObject *resultobj;
13378 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13379 int arg2 ;
13380 PyObject * obj0 = 0 ;
13381 char *kwnames[] = {
13382 (char *) "self",(char *) "m_wheelDelta", NULL
13383 };
13384
13385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&arg2)) goto fail;
13386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13387 if (arg1) (arg1)->m_wheelDelta = arg2;
13388
13389 Py_INCREF(Py_None); resultobj = Py_None;
13390 return resultobj;
13391 fail:
13392 return NULL;
13393}
13394
13395
13396static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13397 PyObject *resultobj;
13398 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13399 int result;
13400 PyObject * obj0 = 0 ;
13401 char *kwnames[] = {
13402 (char *) "self", NULL
13403 };
13404
13405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail;
13406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13407 result = (int) ((arg1)->m_wheelDelta);
13408
13409 resultobj = PyInt_FromLong((long)result);
13410 return resultobj;
13411 fail:
13412 return NULL;
13413}
13414
13415
13416static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13417 PyObject *resultobj;
13418 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13419 int arg2 ;
13420 PyObject * obj0 = 0 ;
13421 char *kwnames[] = {
13422 (char *) "self",(char *) "m_linesPerAction", NULL
13423 };
13424
13425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&arg2)) goto fail;
13426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13427 if (arg1) (arg1)->m_linesPerAction = arg2;
13428
13429 Py_INCREF(Py_None); resultobj = Py_None;
13430 return resultobj;
13431 fail:
13432 return NULL;
13433}
13434
13435
13436static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13437 PyObject *resultobj;
13438 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13439 int result;
13440 PyObject * obj0 = 0 ;
13441 char *kwnames[] = {
13442 (char *) "self", NULL
13443 };
13444
13445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail;
13446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13447 result = (int) ((arg1)->m_linesPerAction);
13448
13449 resultobj = PyInt_FromLong((long)result);
13450 return resultobj;
13451 fail:
13452 return NULL;
13453}
13454
13455
13456static PyObject * MouseEvent_swigregister(PyObject *self, PyObject *args) {
13457 PyObject *obj;
13458 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13459 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj);
13460 Py_INCREF(obj);
13461 return Py_BuildValue((char *)"");
13462}
13463static PyObject *_wrap_new_SetCursorEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13464 PyObject *resultobj;
423f194a
RD
13465 int arg1 = (int) 0 ;
13466 int arg2 = (int) 0 ;
d14a1e28
RD
13467 wxSetCursorEvent *result;
13468 char *kwnames[] = {
13469 (char *) "x",(char *) "y", NULL
13470 };
13471
13472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SetCursorEvent",kwnames,&arg1,&arg2)) goto fail;
13473 {
13474 PyThreadState* __tstate = wxPyBeginAllowThreads();
13475 result = (wxSetCursorEvent *)new wxSetCursorEvent(arg1,arg2);
13476
13477 wxPyEndAllowThreads(__tstate);
13478 if (PyErr_Occurred()) SWIG_fail;
13479 }
13480 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSetCursorEvent, 1);
13481 return resultobj;
13482 fail:
13483 return NULL;
13484}
13485
13486
13487static PyObject *_wrap_SetCursorEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
13488 PyObject *resultobj;
13489 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
423f194a 13490 int result;
d14a1e28
RD
13491 PyObject * obj0 = 0 ;
13492 char *kwnames[] = {
13493 (char *) "self", NULL
13494 };
13495
13496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail;
13497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13498 {
13499 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 13500 result = (int)((wxSetCursorEvent const *)arg1)->GetX();
d14a1e28
RD
13501
13502 wxPyEndAllowThreads(__tstate);
13503 if (PyErr_Occurred()) SWIG_fail;
13504 }
13505 resultobj = PyInt_FromLong((long)result);
13506 return resultobj;
13507 fail:
13508 return NULL;
13509}
13510
13511
13512static PyObject *_wrap_SetCursorEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
13513 PyObject *resultobj;
13514 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
423f194a 13515 int result;
d14a1e28
RD
13516 PyObject * obj0 = 0 ;
13517 char *kwnames[] = {
13518 (char *) "self", NULL
13519 };
13520
13521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail;
13522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13523 {
13524 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 13525 result = (int)((wxSetCursorEvent const *)arg1)->GetY();
d14a1e28
RD
13526
13527 wxPyEndAllowThreads(__tstate);
13528 if (PyErr_Occurred()) SWIG_fail;
13529 }
13530 resultobj = PyInt_FromLong((long)result);
13531 return resultobj;
13532 fail:
13533 return NULL;
13534}
13535
13536
13537static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
13538 PyObject *resultobj;
13539 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13540 wxCursor *arg2 = 0 ;
13541 PyObject * obj0 = 0 ;
13542 PyObject * obj1 = 0 ;
13543 char *kwnames[] = {
13544 (char *) "self",(char *) "cursor", NULL
13545 };
13546
13547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail;
13548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13549 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13550 if (arg2 == NULL) {
13551 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13552 }
13553 {
13554 PyThreadState* __tstate = wxPyBeginAllowThreads();
13555 (arg1)->SetCursor((wxCursor const &)*arg2);
13556
13557 wxPyEndAllowThreads(__tstate);
13558 if (PyErr_Occurred()) SWIG_fail;
13559 }
13560 Py_INCREF(Py_None); resultobj = Py_None;
13561 return resultobj;
13562 fail:
13563 return NULL;
13564}
13565
13566
13567static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
13568 PyObject *resultobj;
13569 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13570 wxCursor *result;
13571 PyObject * obj0 = 0 ;
13572 char *kwnames[] = {
13573 (char *) "self", NULL
13574 };
13575
13576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail;
13577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13578 {
13579 PyThreadState* __tstate = wxPyBeginAllowThreads();
13580 {
13581 wxCursor const &_result_ref = ((wxSetCursorEvent const *)arg1)->GetCursor();
13582 result = (wxCursor *) &_result_ref;
13583 }
13584
13585 wxPyEndAllowThreads(__tstate);
13586 if (PyErr_Occurred()) SWIG_fail;
13587 }
13588 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCursor, 0);
13589 return resultobj;
13590 fail:
13591 return NULL;
13592}
13593
13594
13595static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
13596 PyObject *resultobj;
13597 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13598 bool result;
13599 PyObject * obj0 = 0 ;
13600 char *kwnames[] = {
13601 (char *) "self", NULL
13602 };
13603
13604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail;
13605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13606 {
13607 PyThreadState* __tstate = wxPyBeginAllowThreads();
13608 result = (bool)((wxSetCursorEvent const *)arg1)->HasCursor();
13609
13610 wxPyEndAllowThreads(__tstate);
13611 if (PyErr_Occurred()) SWIG_fail;
13612 }
13613 resultobj = PyInt_FromLong((long)result);
13614 return resultobj;
13615 fail:
13616 return NULL;
13617}
13618
13619
13620static PyObject * SetCursorEvent_swigregister(PyObject *self, PyObject *args) {
13621 PyObject *obj;
13622 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13623 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj);
13624 Py_INCREF(obj);
13625 return Py_BuildValue((char *)"");
13626}
13627static PyObject *_wrap_new_KeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13628 PyObject *resultobj;
13629 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13630 wxKeyEvent *result;
13631 char *kwnames[] = {
13632 (char *) "keyType", NULL
13633 };
13634
13635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_KeyEvent",kwnames,&arg1)) goto fail;
13636 {
13637 PyThreadState* __tstate = wxPyBeginAllowThreads();
13638 result = (wxKeyEvent *)new wxKeyEvent(arg1);
13639
13640 wxPyEndAllowThreads(__tstate);
13641 if (PyErr_Occurred()) SWIG_fail;
13642 }
13643 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 1);
13644 return resultobj;
13645 fail:
13646 return NULL;
13647}
13648
13649
13650static PyObject *_wrap_KeyEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13651 PyObject *resultobj;
13652 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13653 bool result;
13654 PyObject * obj0 = 0 ;
13655 char *kwnames[] = {
13656 (char *) "self", NULL
13657 };
13658
13659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail;
13660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13661 {
13662 PyThreadState* __tstate = wxPyBeginAllowThreads();
13663 result = (bool)((wxKeyEvent const *)arg1)->ControlDown();
13664
13665 wxPyEndAllowThreads(__tstate);
13666 if (PyErr_Occurred()) SWIG_fail;
13667 }
13668 resultobj = PyInt_FromLong((long)result);
13669 return resultobj;
13670 fail:
13671 return NULL;
13672}
13673
13674
13675static PyObject *_wrap_KeyEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13676 PyObject *resultobj;
13677 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13678 bool result;
13679 PyObject * obj0 = 0 ;
13680 char *kwnames[] = {
13681 (char *) "self", NULL
13682 };
13683
13684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail;
13685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13686 {
13687 PyThreadState* __tstate = wxPyBeginAllowThreads();
13688 result = (bool)((wxKeyEvent const *)arg1)->MetaDown();
13689
13690 wxPyEndAllowThreads(__tstate);
13691 if (PyErr_Occurred()) SWIG_fail;
13692 }
13693 resultobj = PyInt_FromLong((long)result);
13694 return resultobj;
13695 fail:
13696 return NULL;
13697}
13698
13699
13700static PyObject *_wrap_KeyEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13701 PyObject *resultobj;
13702 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13703 bool result;
13704 PyObject * obj0 = 0 ;
13705 char *kwnames[] = {
13706 (char *) "self", NULL
13707 };
13708
13709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail;
13710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13711 {
13712 PyThreadState* __tstate = wxPyBeginAllowThreads();
13713 result = (bool)((wxKeyEvent const *)arg1)->AltDown();
13714
13715 wxPyEndAllowThreads(__tstate);
13716 if (PyErr_Occurred()) SWIG_fail;
13717 }
13718 resultobj = PyInt_FromLong((long)result);
13719 return resultobj;
13720 fail:
13721 return NULL;
13722}
13723
13724
13725static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13726 PyObject *resultobj;
13727 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13728 bool result;
13729 PyObject * obj0 = 0 ;
13730 char *kwnames[] = {
13731 (char *) "self", NULL
13732 };
13733
13734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ShiftDown",kwnames,&obj0)) goto fail;
13735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13736 {
13737 PyThreadState* __tstate = wxPyBeginAllowThreads();
13738 result = (bool)((wxKeyEvent const *)arg1)->ShiftDown();
13739
13740 wxPyEndAllowThreads(__tstate);
13741 if (PyErr_Occurred()) SWIG_fail;
13742 }
13743 resultobj = PyInt_FromLong((long)result);
13744 return resultobj;
13745 fail:
13746 return NULL;
13747}
13748
13749
13750static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
13751 PyObject *resultobj;
13752 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13753 bool result;
13754 PyObject * obj0 = 0 ;
13755 char *kwnames[] = {
13756 (char *) "self", NULL
13757 };
13758
13759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_HasModifiers",kwnames,&obj0)) goto fail;
13760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13761 {
13762 PyThreadState* __tstate = wxPyBeginAllowThreads();
13763 result = (bool)((wxKeyEvent const *)arg1)->HasModifiers();
13764
13765 wxPyEndAllowThreads(__tstate);
13766 if (PyErr_Occurred()) SWIG_fail;
13767 }
13768 resultobj = PyInt_FromLong((long)result);
13769 return resultobj;
13770 fail:
13771 return NULL;
13772}
13773
13774
13775static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
13776 PyObject *resultobj;
13777 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13778 int result;
13779 PyObject * obj0 = 0 ;
13780 char *kwnames[] = {
13781 (char *) "self", NULL
13782 };
13783
13784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",kwnames,&obj0)) goto fail;
13785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13786 {
13787 PyThreadState* __tstate = wxPyBeginAllowThreads();
13788 result = (int)((wxKeyEvent const *)arg1)->GetKeyCode();
13789
13790 wxPyEndAllowThreads(__tstate);
13791 if (PyErr_Occurred()) SWIG_fail;
13792 }
13793 resultobj = PyInt_FromLong((long)result);
13794 return resultobj;
13795 fail:
13796 return NULL;
13797}
13798
13799
13800static PyObject *_wrap_KeyEvent_GetUniChar(PyObject *self, PyObject *args, PyObject *kwargs) {
13801 PyObject *resultobj;
13802 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13803 int result;
13804 PyObject * obj0 = 0 ;
13805 char *kwnames[] = {
13806 (char *) "self", NULL
13807 };
13808
13809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUniChar",kwnames,&obj0)) goto fail;
13810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13811 {
13812 PyThreadState* __tstate = wxPyBeginAllowThreads();
13813 result = (int)wxKeyEvent_GetUniChar(arg1);
13814
13815 wxPyEndAllowThreads(__tstate);
13816 if (PyErr_Occurred()) SWIG_fail;
13817 }
13818 resultobj = PyInt_FromLong((long)result);
13819 return resultobj;
13820 fail:
13821 return NULL;
13822}
13823
13824
13825static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
13826 PyObject *resultobj;
13827 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 13828 unsigned int result;
d14a1e28
RD
13829 PyObject * obj0 = 0 ;
13830 char *kwnames[] = {
13831 (char *) "self", NULL
13832 };
13833
13834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail;
13835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13836 {
13837 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 13838 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode();
d14a1e28
RD
13839
13840 wxPyEndAllowThreads(__tstate);
13841 if (PyErr_Occurred()) SWIG_fail;
13842 }
13843 resultobj = PyInt_FromLong((long)result);
13844 return resultobj;
13845 fail:
13846 return NULL;
13847}
13848
13849
13850static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13851 PyObject *resultobj;
13852 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 13853 unsigned int result;
d14a1e28
RD
13854 PyObject * obj0 = 0 ;
13855 char *kwnames[] = {
13856 (char *) "self", NULL
13857 };
13858
13859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail;
13860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13861 {
13862 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 13863 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags();
d14a1e28
RD
13864
13865 wxPyEndAllowThreads(__tstate);
13866 if (PyErr_Occurred()) SWIG_fail;
13867 }
13868 resultobj = PyInt_FromLong((long)result);
13869 return resultobj;
13870 fail:
13871 return NULL;
13872}
13873
13874
13875static PyObject *_wrap_KeyEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13876 PyObject *resultobj;
13877 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13878 wxPoint result;
13879 PyObject * obj0 = 0 ;
13880 char *kwnames[] = {
13881 (char *) "self", NULL
13882 };
13883
13884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",kwnames,&obj0)) goto fail;
13885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13886 {
13887 PyThreadState* __tstate = wxPyBeginAllowThreads();
13888 result = (arg1)->GetPosition();
13889
13890 wxPyEndAllowThreads(__tstate);
13891 if (PyErr_Occurred()) SWIG_fail;
13892 }
13893 {
13894 wxPoint * resultptr;
13895 resultptr = new wxPoint((wxPoint &) result);
13896 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
13897 }
13898 return resultobj;
13899 fail:
13900 return NULL;
13901}
13902
13903
13904static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
13905 PyObject *resultobj;
13906 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13907 long *arg2 = (long *) 0 ;
13908 long *arg3 = (long *) 0 ;
13909 long temp2 ;
13910 long temp3 ;
13911 PyObject * obj0 = 0 ;
13912 char *kwnames[] = {
13913 (char *) "self", NULL
13914 };
13915
13916 arg2 = &temp2;
13917 arg3 = &temp3;
13918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
13919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13920 {
13921 PyThreadState* __tstate = wxPyBeginAllowThreads();
13922 (arg1)->GetPosition(arg2,arg3);
13923
13924 wxPyEndAllowThreads(__tstate);
13925 if (PyErr_Occurred()) SWIG_fail;
13926 }
13927 Py_INCREF(Py_None); resultobj = Py_None;
13928 {
13929 PyObject *o = PyInt_FromLong((long) (*arg2));
13930 resultobj = t_output_helper(resultobj,o);
13931 }
13932 {
13933 PyObject *o = PyInt_FromLong((long) (*arg3));
13934 resultobj = t_output_helper(resultobj,o);
13935 }
13936 return resultobj;
13937 fail:
13938 return NULL;
13939}
13940
13941
13942static PyObject *_wrap_KeyEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
13943 PyObject *resultobj;
13944 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 13945 int result;
d14a1e28
RD
13946 PyObject * obj0 = 0 ;
13947 char *kwnames[] = {
13948 (char *) "self", NULL
13949 };
13950
13951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail;
13952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13953 {
13954 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 13955 result = (int)((wxKeyEvent const *)arg1)->GetX();
d14a1e28
RD
13956
13957 wxPyEndAllowThreads(__tstate);
13958 if (PyErr_Occurred()) SWIG_fail;
13959 }
13960 resultobj = PyInt_FromLong((long)result);
13961 return resultobj;
13962 fail:
13963 return NULL;
13964}
13965
13966
13967static PyObject *_wrap_KeyEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
13968 PyObject *resultobj;
13969 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 13970 int result;
d14a1e28
RD
13971 PyObject * obj0 = 0 ;
13972 char *kwnames[] = {
13973 (char *) "self", NULL
13974 };
13975
13976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail;
13977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13978 {
13979 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 13980 result = (int)((wxKeyEvent const *)arg1)->GetY();
d14a1e28
RD
13981
13982 wxPyEndAllowThreads(__tstate);
13983 if (PyErr_Occurred()) SWIG_fail;
13984 }
13985 resultobj = PyInt_FromLong((long)result);
13986 return resultobj;
13987 fail:
13988 return NULL;
13989}
13990
13991
13992static PyObject *_wrap_KeyEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13993 PyObject *resultobj;
13994 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 13995 int arg2 ;
d14a1e28
RD
13996 PyObject * obj0 = 0 ;
13997 char *kwnames[] = {
13998 (char *) "self",(char *) "m_x", NULL
13999 };
14000
14001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:KeyEvent_m_x_set",kwnames,&obj0,&arg2)) goto fail;
14002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14003 if (arg1) (arg1)->m_x = arg2;
14004
14005 Py_INCREF(Py_None); resultobj = Py_None;
14006 return resultobj;
14007 fail:
14008 return NULL;
14009}
14010
14011
14012static PyObject *_wrap_KeyEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14013 PyObject *resultobj;
14014 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 14015 int result;
d14a1e28
RD
14016 PyObject * obj0 = 0 ;
14017 char *kwnames[] = {
14018 (char *) "self", NULL
14019 };
14020
14021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail;
14022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
423f194a 14023 result = (int) ((arg1)->m_x);
d14a1e28
RD
14024
14025 resultobj = PyInt_FromLong((long)result);
14026 return resultobj;
14027 fail:
14028 return NULL;
14029}
14030
14031
14032static PyObject *_wrap_KeyEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14033 PyObject *resultobj;
14034 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 14035 int arg2 ;
d14a1e28
RD
14036 PyObject * obj0 = 0 ;
14037 char *kwnames[] = {
14038 (char *) "self",(char *) "m_y", NULL
14039 };
14040
14041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:KeyEvent_m_y_set",kwnames,&obj0,&arg2)) goto fail;
14042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14043 if (arg1) (arg1)->m_y = arg2;
14044
14045 Py_INCREF(Py_None); resultobj = Py_None;
14046 return resultobj;
14047 fail:
14048 return NULL;
14049}
14050
14051
14052static PyObject *_wrap_KeyEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14053 PyObject *resultobj;
14054 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 14055 int result;
d14a1e28
RD
14056 PyObject * obj0 = 0 ;
14057 char *kwnames[] = {
14058 (char *) "self", NULL
14059 };
14060
14061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail;
14062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
423f194a 14063 result = (int) ((arg1)->m_y);
d14a1e28
RD
14064
14065 resultobj = PyInt_FromLong((long)result);
14066 return resultobj;
14067 fail:
14068 return NULL;
14069}
14070
14071
14072static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14073 PyObject *resultobj;
14074 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14075 long arg2 ;
14076 PyObject * obj0 = 0 ;
14077 char *kwnames[] = {
14078 (char *) "self",(char *) "m_keyCode", NULL
14079 };
14080
14081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:KeyEvent_m_keyCode_set",kwnames,&obj0,&arg2)) goto fail;
14082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14083 if (arg1) (arg1)->m_keyCode = arg2;
14084
14085 Py_INCREF(Py_None); resultobj = Py_None;
14086 return resultobj;
14087 fail:
14088 return NULL;
14089}
14090
14091
14092static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14093 PyObject *resultobj;
14094 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14095 long result;
14096 PyObject * obj0 = 0 ;
14097 char *kwnames[] = {
14098 (char *) "self", NULL
14099 };
14100
14101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail;
14102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14103 result = (long) ((arg1)->m_keyCode);
14104
14105 resultobj = PyInt_FromLong((long)result);
14106 return resultobj;
14107 fail:
14108 return NULL;
14109}
14110
14111
14112static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14113 PyObject *resultobj;
14114 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14115 bool arg2 ;
14116 PyObject * obj0 = 0 ;
14117 PyObject * obj1 = 0 ;
14118 char *kwnames[] = {
14119 (char *) "self",(char *) "m_controlDown", NULL
14120 };
14121
14122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
14123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14124 arg2 = PyInt_AsLong(obj1) ? true : false;
14125 if (PyErr_Occurred()) SWIG_fail;
14126 if (arg1) (arg1)->m_controlDown = arg2;
14127
14128 Py_INCREF(Py_None); resultobj = Py_None;
14129 return resultobj;
14130 fail:
14131 return NULL;
14132}
14133
14134
14135static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14136 PyObject *resultobj;
14137 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14138 bool result;
14139 PyObject * obj0 = 0 ;
14140 char *kwnames[] = {
14141 (char *) "self", NULL
14142 };
14143
14144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
14145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14146 result = (bool) ((arg1)->m_controlDown);
14147
14148 resultobj = PyInt_FromLong((long)result);
14149 return resultobj;
14150 fail:
14151 return NULL;
14152}
14153
14154
14155static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14156 PyObject *resultobj;
14157 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14158 bool arg2 ;
14159 PyObject * obj0 = 0 ;
14160 PyObject * obj1 = 0 ;
14161 char *kwnames[] = {
14162 (char *) "self",(char *) "m_shiftDown", NULL
14163 };
14164
14165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
14166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14167 arg2 = PyInt_AsLong(obj1) ? true : false;
14168 if (PyErr_Occurred()) SWIG_fail;
14169 if (arg1) (arg1)->m_shiftDown = arg2;
14170
14171 Py_INCREF(Py_None); resultobj = Py_None;
14172 return resultobj;
14173 fail:
14174 return NULL;
14175}
14176
14177
14178static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14179 PyObject *resultobj;
14180 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14181 bool result;
14182 PyObject * obj0 = 0 ;
14183 char *kwnames[] = {
14184 (char *) "self", NULL
14185 };
14186
14187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
14188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14189 result = (bool) ((arg1)->m_shiftDown);
14190
14191 resultobj = PyInt_FromLong((long)result);
14192 return resultobj;
14193 fail:
14194 return NULL;
14195}
14196
14197
14198static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14199 PyObject *resultobj;
14200 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14201 bool arg2 ;
14202 PyObject * obj0 = 0 ;
14203 PyObject * obj1 = 0 ;
14204 char *kwnames[] = {
14205 (char *) "self",(char *) "m_altDown", NULL
14206 };
14207
14208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
14209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14210 arg2 = PyInt_AsLong(obj1) ? true : false;
14211 if (PyErr_Occurred()) SWIG_fail;
14212 if (arg1) (arg1)->m_altDown = arg2;
14213
14214 Py_INCREF(Py_None); resultobj = Py_None;
14215 return resultobj;
14216 fail:
14217 return NULL;
14218}
14219
14220
14221static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14222 PyObject *resultobj;
14223 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14224 bool result;
14225 PyObject * obj0 = 0 ;
14226 char *kwnames[] = {
14227 (char *) "self", NULL
14228 };
14229
14230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail;
14231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14232 result = (bool) ((arg1)->m_altDown);
14233
14234 resultobj = PyInt_FromLong((long)result);
14235 return resultobj;
14236 fail:
14237 return NULL;
14238}
14239
14240
14241static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14242 PyObject *resultobj;
14243 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14244 bool arg2 ;
14245 PyObject * obj0 = 0 ;
14246 PyObject * obj1 = 0 ;
14247 char *kwnames[] = {
14248 (char *) "self",(char *) "m_metaDown", NULL
14249 };
14250
14251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
14252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14253 arg2 = PyInt_AsLong(obj1) ? true : false;
14254 if (PyErr_Occurred()) SWIG_fail;
14255 if (arg1) (arg1)->m_metaDown = arg2;
14256
14257 Py_INCREF(Py_None); resultobj = Py_None;
14258 return resultobj;
14259 fail:
14260 return NULL;
14261}
14262
14263
14264static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14265 PyObject *resultobj;
14266 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14267 bool result;
14268 PyObject * obj0 = 0 ;
14269 char *kwnames[] = {
14270 (char *) "self", NULL
14271 };
14272
14273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
14274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14275 result = (bool) ((arg1)->m_metaDown);
14276
14277 resultobj = PyInt_FromLong((long)result);
14278 return resultobj;
14279 fail:
14280 return NULL;
14281}
14282
14283
14284static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14285 PyObject *resultobj;
14286 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14287 bool arg2 ;
14288 PyObject * obj0 = 0 ;
14289 PyObject * obj1 = 0 ;
14290 char *kwnames[] = {
14291 (char *) "self",(char *) "m_scanCode", NULL
14292 };
14293
14294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail;
14295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14296 arg2 = PyInt_AsLong(obj1) ? true : false;
14297 if (PyErr_Occurred()) SWIG_fail;
14298 if (arg1) (arg1)->m_scanCode = arg2;
14299
14300 Py_INCREF(Py_None); resultobj = Py_None;
14301 return resultobj;
14302 fail:
14303 return NULL;
14304}
14305
14306
14307static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14308 PyObject *resultobj;
14309 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14310 bool result;
14311 PyObject * obj0 = 0 ;
14312 char *kwnames[] = {
14313 (char *) "self", NULL
14314 };
14315
14316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail;
14317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14318 result = (bool) ((arg1)->m_scanCode);
14319
14320 resultobj = PyInt_FromLong((long)result);
14321 return resultobj;
14322 fail:
14323 return NULL;
14324}
14325
14326
14327static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14328 PyObject *resultobj;
14329 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 14330 unsigned int arg2 ;
d14a1e28
RD
14331 PyObject * obj0 = 0 ;
14332 PyObject * obj1 = 0 ;
14333 char *kwnames[] = {
14334 (char *) "self",(char *) "m_rawCode", NULL
14335 };
14336
14337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail;
14338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
423f194a 14339 arg2 = (unsigned int) PyInt_AsLong(obj1);
d14a1e28
RD
14340 if (PyErr_Occurred()) SWIG_fail;
14341 if (arg1) (arg1)->m_rawCode = arg2;
14342
14343 Py_INCREF(Py_None); resultobj = Py_None;
14344 return resultobj;
14345 fail:
14346 return NULL;
14347}
14348
14349
14350static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14351 PyObject *resultobj;
14352 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 14353 unsigned int result;
d14a1e28
RD
14354 PyObject * obj0 = 0 ;
14355 char *kwnames[] = {
14356 (char *) "self", NULL
14357 };
14358
14359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail;
14360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
423f194a 14361 result = (unsigned int) ((arg1)->m_rawCode);
d14a1e28
RD
14362
14363 resultobj = PyInt_FromLong((long)result);
14364 return resultobj;
14365 fail:
14366 return NULL;
14367}
14368
14369
14370static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14371 PyObject *resultobj;
14372 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 14373 unsigned int arg2 ;
d14a1e28
RD
14374 PyObject * obj0 = 0 ;
14375 PyObject * obj1 = 0 ;
14376 char *kwnames[] = {
14377 (char *) "self",(char *) "m_rawFlags", NULL
14378 };
14379
14380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail;
14381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
423f194a 14382 arg2 = (unsigned int) PyInt_AsLong(obj1);
d14a1e28
RD
14383 if (PyErr_Occurred()) SWIG_fail;
14384 if (arg1) (arg1)->m_rawFlags = arg2;
14385
14386 Py_INCREF(Py_None); resultobj = Py_None;
14387 return resultobj;
14388 fail:
14389 return NULL;
14390}
14391
14392
14393static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14394 PyObject *resultobj;
14395 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 14396 unsigned int result;
d14a1e28
RD
14397 PyObject * obj0 = 0 ;
14398 char *kwnames[] = {
14399 (char *) "self", NULL
14400 };
14401
14402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail;
14403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
423f194a 14404 result = (unsigned int) ((arg1)->m_rawFlags);
d14a1e28
RD
14405
14406 resultobj = PyInt_FromLong((long)result);
14407 return resultobj;
14408 fail:
14409 return NULL;
14410}
14411
14412
14413static PyObject * KeyEvent_swigregister(PyObject *self, PyObject *args) {
14414 PyObject *obj;
14415 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14416 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj);
14417 Py_INCREF(obj);
14418 return Py_BuildValue((char *)"");
14419}
14420static PyObject *_wrap_new_SizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14421 PyObject *resultobj;
14422 wxSize const &arg1_defvalue = wxDefaultSize ;
14423 wxSize *arg1 = (wxSize *) &arg1_defvalue ;
14424 int arg2 = (int) 0 ;
14425 wxSizeEvent *result;
14426 wxSize temp1 ;
14427 PyObject * obj0 = 0 ;
14428 char *kwnames[] = {
14429 (char *) "sz",(char *) "winid", NULL
14430 };
14431
14432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_SizeEvent",kwnames,&obj0,&arg2)) goto fail;
14433 if (obj0) {
14434 {
14435 arg1 = &temp1;
14436 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
14437 }
14438 }
14439 {
14440 PyThreadState* __tstate = wxPyBeginAllowThreads();
14441 result = (wxSizeEvent *)new wxSizeEvent((wxSize const &)*arg1,arg2);
14442
14443 wxPyEndAllowThreads(__tstate);
14444 if (PyErr_Occurred()) SWIG_fail;
14445 }
14446 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizeEvent, 1);
14447 return resultobj;
14448 fail:
14449 return NULL;
14450}
14451
14452
14453static PyObject *_wrap_SizeEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14454 PyObject *resultobj;
14455 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14456 wxSize result;
14457 PyObject * obj0 = 0 ;
14458 char *kwnames[] = {
14459 (char *) "self", NULL
14460 };
14461
14462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail;
14463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14464 {
14465 PyThreadState* __tstate = wxPyBeginAllowThreads();
14466 result = ((wxSizeEvent const *)arg1)->GetSize();
14467
14468 wxPyEndAllowThreads(__tstate);
14469 if (PyErr_Occurred()) SWIG_fail;
14470 }
14471 {
14472 wxSize * resultptr;
14473 resultptr = new wxSize((wxSize &) result);
14474 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14475 }
14476 return resultobj;
14477 fail:
14478 return NULL;
14479}
14480
14481
14482static PyObject *_wrap_SizeEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14483 PyObject *resultobj;
14484 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14485 wxRect result;
14486 PyObject * obj0 = 0 ;
14487 char *kwnames[] = {
14488 (char *) "self", NULL
14489 };
14490
14491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail;
14492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14493 {
14494 PyThreadState* __tstate = wxPyBeginAllowThreads();
14495 result = ((wxSizeEvent const *)arg1)->GetRect();
14496
14497 wxPyEndAllowThreads(__tstate);
14498 if (PyErr_Occurred()) SWIG_fail;
14499 }
14500 {
14501 wxRect * resultptr;
14502 resultptr = new wxRect((wxRect &) result);
14503 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
14504 }
14505 return resultobj;
14506 fail:
14507 return NULL;
14508}
14509
14510
14511static PyObject *_wrap_SizeEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14512 PyObject *resultobj;
14513 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14514 wxRect arg2 ;
14515 wxRect *argp2 ;
14516 PyObject * obj0 = 0 ;
14517 PyObject * obj1 = 0 ;
14518 char *kwnames[] = {
14519 (char *) "self",(char *) "rect", NULL
14520 };
14521
14522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
14523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14524 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14525 arg2 = *argp2;
14526 {
14527 PyThreadState* __tstate = wxPyBeginAllowThreads();
14528 (arg1)->SetRect(arg2);
14529
14530 wxPyEndAllowThreads(__tstate);
14531 if (PyErr_Occurred()) SWIG_fail;
14532 }
14533 Py_INCREF(Py_None); resultobj = Py_None;
14534 return resultobj;
14535 fail:
14536 return NULL;
14537}
14538
14539
14540static PyObject *_wrap_SizeEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14541 PyObject *resultobj;
14542 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14543 wxSize arg2 ;
14544 wxSize *argp2 ;
14545 PyObject * obj0 = 0 ;
14546 PyObject * obj1 = 0 ;
14547 char *kwnames[] = {
14548 (char *) "self",(char *) "size", NULL
14549 };
14550
14551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
14552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14553 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14554 arg2 = *argp2;
14555 {
14556 PyThreadState* __tstate = wxPyBeginAllowThreads();
14557 wxSizeEvent_SetSize(arg1,arg2);
14558
14559 wxPyEndAllowThreads(__tstate);
14560 if (PyErr_Occurred()) SWIG_fail;
14561 }
14562 Py_INCREF(Py_None); resultobj = Py_None;
14563 return resultobj;
14564 fail:
14565 return NULL;
14566}
14567
14568
14569static PyObject *_wrap_SizeEvent_m_size_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14570 PyObject *resultobj;
14571 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14572 wxSize *arg2 = (wxSize *) 0 ;
14573 PyObject * obj0 = 0 ;
14574 PyObject * obj1 = 0 ;
14575 char *kwnames[] = {
14576 (char *) "self",(char *) "m_size", NULL
14577 };
14578
14579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail;
14580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14581 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14582 if (arg1) (arg1)->m_size = *arg2;
14583
14584 Py_INCREF(Py_None); resultobj = Py_None;
14585 return resultobj;
14586 fail:
14587 return NULL;
14588}
14589
14590
14591static PyObject *_wrap_SizeEvent_m_size_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14592 PyObject *resultobj;
14593 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14594 wxSize *result;
14595 PyObject * obj0 = 0 ;
14596 char *kwnames[] = {
14597 (char *) "self", NULL
14598 };
14599
14600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail;
14601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14602 result = (wxSize *)& ((arg1)->m_size);
14603
14604 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
14605 return resultobj;
14606 fail:
14607 return NULL;
14608}
14609
14610
14611static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14612 PyObject *resultobj;
14613 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14614 wxRect *arg2 = (wxRect *) 0 ;
14615 PyObject * obj0 = 0 ;
14616 PyObject * obj1 = 0 ;
14617 char *kwnames[] = {
14618 (char *) "self",(char *) "m_rect", NULL
14619 };
14620
14621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
14622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14623 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14624 if (arg1) (arg1)->m_rect = *arg2;
14625
14626 Py_INCREF(Py_None); resultobj = Py_None;
14627 return resultobj;
14628 fail:
14629 return NULL;
14630}
14631
14632
14633static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14634 PyObject *resultobj;
14635 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14636 wxRect *result;
14637 PyObject * obj0 = 0 ;
14638 char *kwnames[] = {
14639 (char *) "self", NULL
14640 };
14641
14642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail;
14643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14644 result = (wxRect *)& ((arg1)->m_rect);
14645
14646 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
14647 return resultobj;
14648 fail:
14649 return NULL;
14650}
14651
14652
14653static PyObject * SizeEvent_swigregister(PyObject *self, PyObject *args) {
14654 PyObject *obj;
14655 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14656 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj);
14657 Py_INCREF(obj);
14658 return Py_BuildValue((char *)"");
14659}
14660static PyObject *_wrap_new_MoveEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14661 PyObject *resultobj;
14662 wxPoint const &arg1_defvalue = wxDefaultPosition ;
14663 wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
14664 int arg2 = (int) 0 ;
14665 wxMoveEvent *result;
14666 wxPoint temp1 ;
14667 PyObject * obj0 = 0 ;
14668 char *kwnames[] = {
14669 (char *) "pos",(char *) "winid", NULL
14670 };
14671
14672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_MoveEvent",kwnames,&obj0,&arg2)) goto fail;
14673 if (obj0) {
14674 {
14675 arg1 = &temp1;
14676 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
14677 }
14678 }
14679 {
14680 PyThreadState* __tstate = wxPyBeginAllowThreads();
14681 result = (wxMoveEvent *)new wxMoveEvent((wxPoint const &)*arg1,arg2);
14682
14683 wxPyEndAllowThreads(__tstate);
14684 if (PyErr_Occurred()) SWIG_fail;
14685 }
14686 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMoveEvent, 1);
14687 return resultobj;
14688 fail:
14689 return NULL;
14690}
14691
14692
14693static PyObject *_wrap_MoveEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14694 PyObject *resultobj;
14695 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14696 wxPoint result;
14697 PyObject * obj0 = 0 ;
14698 char *kwnames[] = {
14699 (char *) "self", NULL
14700 };
14701
14702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail;
14703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14704 {
14705 PyThreadState* __tstate = wxPyBeginAllowThreads();
14706 result = ((wxMoveEvent const *)arg1)->GetPosition();
14707
14708 wxPyEndAllowThreads(__tstate);
14709 if (PyErr_Occurred()) SWIG_fail;
14710 }
14711 {
14712 wxPoint * resultptr;
14713 resultptr = new wxPoint((wxPoint &) result);
14714 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
14715 }
14716 return resultobj;
14717 fail:
14718 return NULL;
14719}
14720
14721
14722static PyObject *_wrap_MoveEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14723 PyObject *resultobj;
14724 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14725 wxRect result;
14726 PyObject * obj0 = 0 ;
14727 char *kwnames[] = {
14728 (char *) "self", NULL
14729 };
14730
14731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail;
14732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14733 {
14734 PyThreadState* __tstate = wxPyBeginAllowThreads();
14735 result = ((wxMoveEvent const *)arg1)->GetRect();
14736
14737 wxPyEndAllowThreads(__tstate);
14738 if (PyErr_Occurred()) SWIG_fail;
14739 }
14740 {
14741 wxRect * resultptr;
14742 resultptr = new wxRect((wxRect &) result);
14743 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
14744 }
14745 return resultobj;
14746 fail:
14747 return NULL;
14748}
14749
14750
14751static PyObject *_wrap_MoveEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14752 PyObject *resultobj;
14753 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14754 wxRect arg2 ;
14755 wxRect *argp2 ;
14756 PyObject * obj0 = 0 ;
14757 PyObject * obj1 = 0 ;
14758 char *kwnames[] = {
14759 (char *) "self",(char *) "rect", NULL
14760 };
14761
14762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
14763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14764 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14765 arg2 = *argp2;
14766 {
14767 PyThreadState* __tstate = wxPyBeginAllowThreads();
14768 (arg1)->SetRect(arg2);
14769
14770 wxPyEndAllowThreads(__tstate);
14771 if (PyErr_Occurred()) SWIG_fail;
14772 }
14773 Py_INCREF(Py_None); resultobj = Py_None;
14774 return resultobj;
14775 fail:
14776 return NULL;
14777}
14778
14779
14780static PyObject *_wrap_MoveEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14781 PyObject *resultobj;
14782 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14783 wxPoint arg2 ;
14784 wxPoint *argp2 ;
14785 PyObject * obj0 = 0 ;
14786 PyObject * obj1 = 0 ;
14787 char *kwnames[] = {
14788 (char *) "self",(char *) "pos", NULL
14789 };
14790
14791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
14792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14793 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14794 arg2 = *argp2;
14795 {
14796 PyThreadState* __tstate = wxPyBeginAllowThreads();
14797 wxMoveEvent_SetPosition(arg1,arg2);
14798
14799 wxPyEndAllowThreads(__tstate);
14800 if (PyErr_Occurred()) SWIG_fail;
14801 }
14802 Py_INCREF(Py_None); resultobj = Py_None;
14803 return resultobj;
14804 fail:
14805 return NULL;
14806}
14807
14808
14809static PyObject *_wrap_MoveEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14810 PyObject *resultobj;
14811 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14812 wxPoint *arg2 = (wxPoint *) 0 ;
14813 PyObject * obj0 = 0 ;
14814 PyObject * obj1 = 0 ;
14815 char *kwnames[] = {
14816 (char *) "self",(char *) "m_pos", NULL
14817 };
14818
14819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
14820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14821 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14822 if (arg1) (arg1)->m_pos = *arg2;
14823
14824 Py_INCREF(Py_None); resultobj = Py_None;
14825 return resultobj;
14826 fail:
14827 return NULL;
14828}
14829
14830
14831static PyObject *_wrap_MoveEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14832 PyObject *resultobj;
14833 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14834 wxPoint *result;
14835 PyObject * obj0 = 0 ;
14836 char *kwnames[] = {
14837 (char *) "self", NULL
14838 };
14839
14840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_pos_get",kwnames,&obj0)) goto fail;
14841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14842 result = (wxPoint *)& ((arg1)->m_pos);
14843
14844 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
14845 return resultobj;
14846 fail:
14847 return NULL;
14848}
14849
14850
14851static PyObject *_wrap_MoveEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14852 PyObject *resultobj;
14853 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14854 wxRect *arg2 = (wxRect *) 0 ;
14855 PyObject * obj0 = 0 ;
14856 PyObject * obj1 = 0 ;
14857 char *kwnames[] = {
14858 (char *) "self",(char *) "m_rect", NULL
14859 };
14860
14861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
14862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14863 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14864 if (arg1) (arg1)->m_rect = *arg2;
14865
14866 Py_INCREF(Py_None); resultobj = Py_None;
14867 return resultobj;
14868 fail:
14869 return NULL;
14870}
14871
14872
14873static PyObject *_wrap_MoveEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14874 PyObject *resultobj;
14875 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14876 wxRect *result;
14877 PyObject * obj0 = 0 ;
14878 char *kwnames[] = {
14879 (char *) "self", NULL
14880 };
14881
14882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_rect_get",kwnames,&obj0)) goto fail;
14883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14884 result = (wxRect *)& ((arg1)->m_rect);
14885
14886 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
14887 return resultobj;
14888 fail:
14889 return NULL;
14890}
14891
14892
14893static PyObject * MoveEvent_swigregister(PyObject *self, PyObject *args) {
14894 PyObject *obj;
14895 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14896 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj);
14897 Py_INCREF(obj);
14898 return Py_BuildValue((char *)"");
14899}
14900static PyObject *_wrap_new_PaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14901 PyObject *resultobj;
14902 int arg1 = (int) 0 ;
14903 wxPaintEvent *result;
14904 char *kwnames[] = {
14905 (char *) "Id", NULL
14906 };
14907
14908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_PaintEvent",kwnames,&arg1)) goto fail;
14909 {
14910 PyThreadState* __tstate = wxPyBeginAllowThreads();
14911 result = (wxPaintEvent *)new wxPaintEvent(arg1);
14912
14913 wxPyEndAllowThreads(__tstate);
14914 if (PyErr_Occurred()) SWIG_fail;
14915 }
14916 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPaintEvent, 1);
14917 return resultobj;
14918 fail:
14919 return NULL;
14920}
14921
14922
14923static PyObject * PaintEvent_swigregister(PyObject *self, PyObject *args) {
14924 PyObject *obj;
14925 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14926 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj);
14927 Py_INCREF(obj);
14928 return Py_BuildValue((char *)"");
14929}
14930static PyObject *_wrap_new_NcPaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14931 PyObject *resultobj;
14932 int arg1 = (int) 0 ;
14933 wxNcPaintEvent *result;
14934 char *kwnames[] = {
14935 (char *) "winid", NULL
14936 };
14937
14938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_NcPaintEvent",kwnames,&arg1)) goto fail;
14939 {
14940 PyThreadState* __tstate = wxPyBeginAllowThreads();
14941 result = (wxNcPaintEvent *)new wxNcPaintEvent(arg1);
14942
14943 wxPyEndAllowThreads(__tstate);
14944 if (PyErr_Occurred()) SWIG_fail;
14945 }
14946 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNcPaintEvent, 1);
14947 return resultobj;
14948 fail:
14949 return NULL;
14950}
14951
14952
14953static PyObject * NcPaintEvent_swigregister(PyObject *self, PyObject *args) {
14954 PyObject *obj;
14955 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14956 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj);
14957 Py_INCREF(obj);
14958 return Py_BuildValue((char *)"");
14959}
14960static PyObject *_wrap_new_EraseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14961 PyObject *resultobj;
14962 int arg1 = (int) 0 ;
14963 wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
14964 wxEraseEvent *result;
14965 PyObject * obj1 = 0 ;
14966 char *kwnames[] = {
14967 (char *) "Id",(char *) "dc", NULL
14968 };
14969
14970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_EraseEvent",kwnames,&arg1,&obj1)) goto fail;
14971 if (obj1) {
14972 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14973 }
14974 {
14975 PyThreadState* __tstate = wxPyBeginAllowThreads();
14976 result = (wxEraseEvent *)new wxEraseEvent(arg1,arg2);
14977
14978 wxPyEndAllowThreads(__tstate);
14979 if (PyErr_Occurred()) SWIG_fail;
14980 }
14981 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEraseEvent, 1);
14982 return resultobj;
14983 fail:
14984 return NULL;
14985}
14986
14987
14988static PyObject *_wrap_EraseEvent_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
14989 PyObject *resultobj;
14990 wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
14991 wxDC *result;
14992 PyObject * obj0 = 0 ;
14993 char *kwnames[] = {
14994 (char *) "self", NULL
14995 };
14996
14997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail;
14998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEraseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14999 {
15000 PyThreadState* __tstate = wxPyBeginAllowThreads();
15001 result = (wxDC *)((wxEraseEvent const *)arg1)->GetDC();
15002
15003 wxPyEndAllowThreads(__tstate);
15004 if (PyErr_Occurred()) SWIG_fail;
15005 }
15006 {
15007 resultobj = wxPyMake_wxObject(result);
15008 }
15009 return resultobj;
15010 fail:
15011 return NULL;
15012}
15013
15014
15015static PyObject * EraseEvent_swigregister(PyObject *self, PyObject *args) {
15016 PyObject *obj;
15017 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15018 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj);
15019 Py_INCREF(obj);
15020 return Py_BuildValue((char *)"");
15021}
15022static PyObject *_wrap_new_FocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15023 PyObject *resultobj;
15024 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15025 int arg2 = (int) 0 ;
15026 wxFocusEvent *result;
15027 char *kwnames[] = {
15028 (char *) "type",(char *) "winid", NULL
15029 };
15030
15031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FocusEvent",kwnames,&arg1,&arg2)) goto fail;
15032 {
15033 PyThreadState* __tstate = wxPyBeginAllowThreads();
15034 result = (wxFocusEvent *)new wxFocusEvent(arg1,arg2);
15035
15036 wxPyEndAllowThreads(__tstate);
15037 if (PyErr_Occurred()) SWIG_fail;
15038 }
15039 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFocusEvent, 1);
15040 return resultobj;
15041 fail:
15042 return NULL;
15043}
15044
15045
15046static PyObject *_wrap_FocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15047 PyObject *resultobj;
15048 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
15049 wxWindow *result;
15050 PyObject * obj0 = 0 ;
15051 char *kwnames[] = {
15052 (char *) "self", NULL
15053 };
15054
15055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail;
15056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFocusEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15057 {
15058 PyThreadState* __tstate = wxPyBeginAllowThreads();
15059 result = (wxWindow *)((wxFocusEvent const *)arg1)->GetWindow();
15060
15061 wxPyEndAllowThreads(__tstate);
15062 if (PyErr_Occurred()) SWIG_fail;
15063 }
15064 {
15065 resultobj = wxPyMake_wxObject(result);
15066 }
15067 return resultobj;
15068 fail:
15069 return NULL;
15070}
15071
15072
15073static PyObject *_wrap_FocusEvent_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15074 PyObject *resultobj;
15075 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
15076 wxWindow *arg2 = (wxWindow *) 0 ;
15077 PyObject * obj0 = 0 ;
15078 PyObject * obj1 = 0 ;
15079 char *kwnames[] = {
15080 (char *) "self",(char *) "win", NULL
15081 };
15082
15083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail;
15084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFocusEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15085 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15086 {
15087 PyThreadState* __tstate = wxPyBeginAllowThreads();
15088 (arg1)->SetWindow(arg2);
15089
15090 wxPyEndAllowThreads(__tstate);
15091 if (PyErr_Occurred()) SWIG_fail;
15092 }
15093 Py_INCREF(Py_None); resultobj = Py_None;
15094 return resultobj;
15095 fail:
15096 return NULL;
15097}
15098
15099
15100static PyObject * FocusEvent_swigregister(PyObject *self, PyObject *args) {
15101 PyObject *obj;
15102 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15103 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj);
15104 Py_INCREF(obj);
15105 return Py_BuildValue((char *)"");
15106}
15107static PyObject *_wrap_new_ChildFocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15108 PyObject *resultobj;
15109 wxWindow *arg1 = (wxWindow *) NULL ;
15110 wxChildFocusEvent *result;
15111 PyObject * obj0 = 0 ;
15112 char *kwnames[] = {
15113 (char *) "win", NULL
15114 };
15115
15116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail;
15117 if (obj0) {
15118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15119 }
15120 {
15121 PyThreadState* __tstate = wxPyBeginAllowThreads();
15122 result = (wxChildFocusEvent *)new wxChildFocusEvent(arg1);
15123
15124 wxPyEndAllowThreads(__tstate);
15125 if (PyErr_Occurred()) SWIG_fail;
15126 }
15127 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChildFocusEvent, 1);
15128 return resultobj;
15129 fail:
15130 return NULL;
15131}
15132
15133
15134static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15135 PyObject *resultobj;
15136 wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
15137 wxWindow *result;
15138 PyObject * obj0 = 0 ;
15139 char *kwnames[] = {
15140 (char *) "self", NULL
15141 };
15142
15143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail;
15144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChildFocusEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15145 {
15146 PyThreadState* __tstate = wxPyBeginAllowThreads();
15147 result = (wxWindow *)((wxChildFocusEvent const *)arg1)->GetWindow();
15148
15149 wxPyEndAllowThreads(__tstate);
15150 if (PyErr_Occurred()) SWIG_fail;
15151 }
15152 {
15153 resultobj = wxPyMake_wxObject(result);
15154 }
15155 return resultobj;
15156 fail:
15157 return NULL;
15158}
15159
15160
15161static PyObject * ChildFocusEvent_swigregister(PyObject *self, PyObject *args) {
15162 PyObject *obj;
15163 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15164 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj);
15165 Py_INCREF(obj);
15166 return Py_BuildValue((char *)"");
15167}
15168static PyObject *_wrap_new_ActivateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15169 PyObject *resultobj;
15170 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
423f194a 15171 bool arg2 = (bool) True ;
d14a1e28
RD
15172 int arg3 = (int) 0 ;
15173 wxActivateEvent *result;
15174 PyObject * obj1 = 0 ;
15175 char *kwnames[] = {
15176 (char *) "type",(char *) "active",(char *) "Id", NULL
15177 };
15178
15179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iOi:new_ActivateEvent",kwnames,&arg1,&obj1,&arg3)) goto fail;
15180 if (obj1) {
15181 arg2 = PyInt_AsLong(obj1) ? true : false;
15182 if (PyErr_Occurred()) SWIG_fail;
15183 }
15184 {
15185 PyThreadState* __tstate = wxPyBeginAllowThreads();
15186 result = (wxActivateEvent *)new wxActivateEvent(arg1,arg2,arg3);
15187
15188 wxPyEndAllowThreads(__tstate);
15189 if (PyErr_Occurred()) SWIG_fail;
15190 }
15191 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxActivateEvent, 1);
15192 return resultobj;
15193 fail:
15194 return NULL;
15195}
15196
15197
15198static PyObject *_wrap_ActivateEvent_GetActive(PyObject *self, PyObject *args, PyObject *kwargs) {
15199 PyObject *resultobj;
15200 wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
15201 bool result;
15202 PyObject * obj0 = 0 ;
15203 char *kwnames[] = {
15204 (char *) "self", NULL
15205 };
15206
15207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail;
15208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxActivateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15209 {
15210 PyThreadState* __tstate = wxPyBeginAllowThreads();
15211 result = (bool)((wxActivateEvent const *)arg1)->GetActive();
15212
15213 wxPyEndAllowThreads(__tstate);
15214 if (PyErr_Occurred()) SWIG_fail;
15215 }
15216 resultobj = PyInt_FromLong((long)result);
15217 return resultobj;
15218 fail:
15219 return NULL;
15220}
15221
15222
15223static PyObject * ActivateEvent_swigregister(PyObject *self, PyObject *args) {
15224 PyObject *obj;
15225 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15226 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj);
15227 Py_INCREF(obj);
15228 return Py_BuildValue((char *)"");
15229}
15230static PyObject *_wrap_new_InitDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15231 PyObject *resultobj;
15232 int arg1 = (int) 0 ;
15233 wxInitDialogEvent *result;
15234 char *kwnames[] = {
15235 (char *) "Id", NULL
15236 };
15237
15238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_InitDialogEvent",kwnames,&arg1)) goto fail;
15239 {
15240 PyThreadState* __tstate = wxPyBeginAllowThreads();
15241 result = (wxInitDialogEvent *)new wxInitDialogEvent(arg1);
15242
15243 wxPyEndAllowThreads(__tstate);
15244 if (PyErr_Occurred()) SWIG_fail;
15245 }
15246 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxInitDialogEvent, 1);
15247 return resultobj;
15248 fail:
15249 return NULL;
15250}
15251
15252
15253static PyObject * InitDialogEvent_swigregister(PyObject *self, PyObject *args) {
15254 PyObject *obj;
15255 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15256 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj);
15257 Py_INCREF(obj);
15258 return Py_BuildValue((char *)"");
15259}
15260static PyObject *_wrap_new_MenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15261 PyObject *resultobj;
15262 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15263 int arg2 = (int) 0 ;
15264 wxMenu *arg3 = (wxMenu *) NULL ;
15265 wxMenuEvent *result;
15266 PyObject * obj2 = 0 ;
15267 char *kwnames[] = {
15268 (char *) "type",(char *) "winid",(char *) "menu", NULL
15269 };
15270
15271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_MenuEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
15272 if (obj2) {
15273 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15274 }
15275 {
15276 PyThreadState* __tstate = wxPyBeginAllowThreads();
15277 result = (wxMenuEvent *)new wxMenuEvent(arg1,arg2,arg3);
15278
15279 wxPyEndAllowThreads(__tstate);
15280 if (PyErr_Occurred()) SWIG_fail;
15281 }
15282 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMenuEvent, 1);
15283 return resultobj;
15284 fail:
15285 return NULL;
15286}
15287
15288
15289static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *self, PyObject *args, PyObject *kwargs) {
15290 PyObject *resultobj;
15291 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
15292 int result;
15293 PyObject * obj0 = 0 ;
15294 char *kwnames[] = {
15295 (char *) "self", NULL
15296 };
15297
15298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail;
15299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15300 {
15301 PyThreadState* __tstate = wxPyBeginAllowThreads();
15302 result = (int)((wxMenuEvent const *)arg1)->GetMenuId();
15303
15304 wxPyEndAllowThreads(__tstate);
15305 if (PyErr_Occurred()) SWIG_fail;
15306 }
15307 resultobj = PyInt_FromLong((long)result);
15308 return resultobj;
15309 fail:
15310 return NULL;
15311}
15312
15313
15314static PyObject *_wrap_MenuEvent_IsPopup(PyObject *self, PyObject *args, PyObject *kwargs) {
15315 PyObject *resultobj;
15316 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
15317 bool result;
15318 PyObject * obj0 = 0 ;
15319 char *kwnames[] = {
15320 (char *) "self", NULL
15321 };
15322
15323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail;
15324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15325 {
15326 PyThreadState* __tstate = wxPyBeginAllowThreads();
15327 result = (bool)((wxMenuEvent const *)arg1)->IsPopup();
15328
15329 wxPyEndAllowThreads(__tstate);
15330 if (PyErr_Occurred()) SWIG_fail;
15331 }
15332 resultobj = PyInt_FromLong((long)result);
15333 return resultobj;
15334 fail:
15335 return NULL;
15336}
15337
15338
15339static PyObject *_wrap_MenuEvent_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
15340 PyObject *resultobj;
15341 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
15342 wxMenu *result;
15343 PyObject * obj0 = 0 ;
15344 char *kwnames[] = {
15345 (char *) "self", NULL
15346 };
15347
15348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail;
15349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15350 {
15351 PyThreadState* __tstate = wxPyBeginAllowThreads();
15352 result = (wxMenu *)((wxMenuEvent const *)arg1)->GetMenu();
15353
15354 wxPyEndAllowThreads(__tstate);
15355 if (PyErr_Occurred()) SWIG_fail;
15356 }
15357 {
15358 resultobj = wxPyMake_wxObject(result);
15359 }
15360 return resultobj;
15361 fail:
15362 return NULL;
15363}
15364
15365
15366static PyObject * MenuEvent_swigregister(PyObject *self, PyObject *args) {
15367 PyObject *obj;
15368 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15369 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj);
15370 Py_INCREF(obj);
15371 return Py_BuildValue((char *)"");
15372}
15373static PyObject *_wrap_new_CloseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15374 PyObject *resultobj;
15375 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15376 int arg2 = (int) 0 ;
15377 wxCloseEvent *result;
15378 char *kwnames[] = {
15379 (char *) "type",(char *) "winid", NULL
15380 };
15381
15382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_CloseEvent",kwnames,&arg1,&arg2)) goto fail;
15383 {
15384 PyThreadState* __tstate = wxPyBeginAllowThreads();
15385 result = (wxCloseEvent *)new wxCloseEvent(arg1,arg2);
15386
15387 wxPyEndAllowThreads(__tstate);
15388 if (PyErr_Occurred()) SWIG_fail;
15389 }
15390 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCloseEvent, 1);
15391 return resultobj;
15392 fail:
15393 return NULL;
15394}
15395
15396
15397static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
15398 PyObject *resultobj;
15399 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15400 bool arg2 ;
15401 PyObject * obj0 = 0 ;
15402 PyObject * obj1 = 0 ;
15403 char *kwnames[] = {
15404 (char *) "self",(char *) "logOff", NULL
15405 };
15406
15407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail;
15408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15409 arg2 = PyInt_AsLong(obj1) ? true : false;
15410 if (PyErr_Occurred()) SWIG_fail;
15411 {
15412 PyThreadState* __tstate = wxPyBeginAllowThreads();
15413 (arg1)->SetLoggingOff(arg2);
15414
15415 wxPyEndAllowThreads(__tstate);
15416 if (PyErr_Occurred()) SWIG_fail;
15417 }
15418 Py_INCREF(Py_None); resultobj = Py_None;
15419 return resultobj;
15420 fail:
15421 return NULL;
15422}
15423
15424
15425static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
15426 PyObject *resultobj;
15427 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15428 bool result;
15429 PyObject * obj0 = 0 ;
15430 char *kwnames[] = {
15431 (char *) "self", NULL
15432 };
15433
15434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail;
15435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15436 {
15437 PyThreadState* __tstate = wxPyBeginAllowThreads();
15438 result = (bool)((wxCloseEvent const *)arg1)->GetLoggingOff();
15439
15440 wxPyEndAllowThreads(__tstate);
15441 if (PyErr_Occurred()) SWIG_fail;
15442 }
15443 resultobj = PyInt_FromLong((long)result);
15444 return resultobj;
15445 fail:
15446 return NULL;
15447}
15448
15449
15450static PyObject *_wrap_CloseEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
15451 PyObject *resultobj;
15452 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
423f194a 15453 bool arg2 = (bool) True ;
d14a1e28
RD
15454 PyObject * obj0 = 0 ;
15455 PyObject * obj1 = 0 ;
15456 char *kwnames[] = {
15457 (char *) "self",(char *) "veto", NULL
15458 };
15459
15460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail;
15461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15462 if (obj1) {
15463 arg2 = PyInt_AsLong(obj1) ? true : false;
15464 if (PyErr_Occurred()) SWIG_fail;
15465 }
15466 {
15467 PyThreadState* __tstate = wxPyBeginAllowThreads();
15468 (arg1)->Veto(arg2);
15469
15470 wxPyEndAllowThreads(__tstate);
15471 if (PyErr_Occurred()) SWIG_fail;
15472 }
15473 Py_INCREF(Py_None); resultobj = Py_None;
15474 return resultobj;
15475 fail:
15476 return NULL;
15477}
15478
15479
15480static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
15481 PyObject *resultobj;
15482 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15483 bool arg2 ;
15484 PyObject * obj0 = 0 ;
15485 PyObject * obj1 = 0 ;
15486 char *kwnames[] = {
15487 (char *) "self",(char *) "canVeto", NULL
15488 };
15489
15490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
15491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15492 arg2 = PyInt_AsLong(obj1) ? true : false;
15493 if (PyErr_Occurred()) SWIG_fail;
15494 {
15495 PyThreadState* __tstate = wxPyBeginAllowThreads();
15496 (arg1)->SetCanVeto(arg2);
15497
15498 wxPyEndAllowThreads(__tstate);
15499 if (PyErr_Occurred()) SWIG_fail;
15500 }
15501 Py_INCREF(Py_None); resultobj = Py_None;
15502 return resultobj;
15503 fail:
15504 return NULL;
15505}
15506
15507
15508static PyObject *_wrap_CloseEvent_CanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
15509 PyObject *resultobj;
15510 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15511 bool result;
15512 PyObject * obj0 = 0 ;
15513 char *kwnames[] = {
15514 (char *) "self", NULL
15515 };
15516
15517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
15518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15519 {
15520 PyThreadState* __tstate = wxPyBeginAllowThreads();
15521 result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
15522
15523 wxPyEndAllowThreads(__tstate);
15524 if (PyErr_Occurred()) SWIG_fail;
15525 }
15526 resultobj = PyInt_FromLong((long)result);
15527 return resultobj;
15528 fail:
15529 return NULL;
15530}
15531
15532
15533static PyObject *_wrap_CloseEvent_GetVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
15534 PyObject *resultobj;
15535 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15536 bool result;
15537 PyObject * obj0 = 0 ;
15538 char *kwnames[] = {
15539 (char *) "self", NULL
15540 };
15541
15542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
15543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15544 {
15545 PyThreadState* __tstate = wxPyBeginAllowThreads();
15546 result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
15547
15548 wxPyEndAllowThreads(__tstate);
15549 if (PyErr_Occurred()) SWIG_fail;
15550 }
15551 resultobj = PyInt_FromLong((long)result);
15552 return resultobj;
15553 fail:
15554 return NULL;
15555}
15556
15557
15558static PyObject * CloseEvent_swigregister(PyObject *self, PyObject *args) {
15559 PyObject *obj;
15560 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15561 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj);
15562 Py_INCREF(obj);
15563 return Py_BuildValue((char *)"");
15564}
15565static PyObject *_wrap_new_ShowEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15566 PyObject *resultobj;
15567 int arg1 = (int) 0 ;
423f194a 15568 bool arg2 = (bool) False ;
d14a1e28
RD
15569 wxShowEvent *result;
15570 PyObject * obj1 = 0 ;
15571 char *kwnames[] = {
15572 (char *) "winid",(char *) "show", NULL
15573 };
15574
15575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_ShowEvent",kwnames,&arg1,&obj1)) goto fail;
15576 if (obj1) {
15577 arg2 = PyInt_AsLong(obj1) ? true : false;
15578 if (PyErr_Occurred()) SWIG_fail;
15579 }
15580 {
15581 PyThreadState* __tstate = wxPyBeginAllowThreads();
15582 result = (wxShowEvent *)new wxShowEvent(arg1,arg2);
15583
15584 wxPyEndAllowThreads(__tstate);
15585 if (PyErr_Occurred()) SWIG_fail;
15586 }
15587 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxShowEvent, 1);
15588 return resultobj;
15589 fail:
15590 return NULL;
15591}
15592
15593
15594static PyObject *_wrap_ShowEvent_SetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
15595 PyObject *resultobj;
15596 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
15597 bool arg2 ;
15598 PyObject * obj0 = 0 ;
15599 PyObject * obj1 = 0 ;
15600 char *kwnames[] = {
15601 (char *) "self",(char *) "show", NULL
15602 };
15603
15604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail;
15605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15606 arg2 = PyInt_AsLong(obj1) ? true : false;
15607 if (PyErr_Occurred()) SWIG_fail;
15608 {
15609 PyThreadState* __tstate = wxPyBeginAllowThreads();
15610 (arg1)->SetShow(arg2);
15611
15612 wxPyEndAllowThreads(__tstate);
15613 if (PyErr_Occurred()) SWIG_fail;
15614 }
15615 Py_INCREF(Py_None); resultobj = Py_None;
15616 return resultobj;
15617 fail:
15618 return NULL;
15619}
15620
15621
15622static PyObject *_wrap_ShowEvent_GetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
15623 PyObject *resultobj;
15624 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
15625 bool result;
15626 PyObject * obj0 = 0 ;
15627 char *kwnames[] = {
15628 (char *) "self", NULL
15629 };
15630
15631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail;
15632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15633 {
15634 PyThreadState* __tstate = wxPyBeginAllowThreads();
15635 result = (bool)((wxShowEvent const *)arg1)->GetShow();
15636
15637 wxPyEndAllowThreads(__tstate);
15638 if (PyErr_Occurred()) SWIG_fail;
15639 }
15640 resultobj = PyInt_FromLong((long)result);
15641 return resultobj;
15642 fail:
15643 return NULL;
15644}
15645
15646
15647static PyObject * ShowEvent_swigregister(PyObject *self, PyObject *args) {
15648 PyObject *obj;
15649 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15650 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj);
15651 Py_INCREF(obj);
15652 return Py_BuildValue((char *)"");
15653}
15654static PyObject *_wrap_new_IconizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15655 PyObject *resultobj;
15656 int arg1 = (int) 0 ;
423f194a 15657 bool arg2 = (bool) True ;
d14a1e28
RD
15658 wxIconizeEvent *result;
15659 PyObject * obj1 = 0 ;
15660 char *kwnames[] = {
15661 (char *) "id",(char *) "iconized", NULL
15662 };
15663
15664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_IconizeEvent",kwnames,&arg1,&obj1)) goto fail;
15665 if (obj1) {
15666 arg2 = PyInt_AsLong(obj1) ? true : false;
15667 if (PyErr_Occurred()) SWIG_fail;
15668 }
15669 {
15670 PyThreadState* __tstate = wxPyBeginAllowThreads();
15671 result = (wxIconizeEvent *)new wxIconizeEvent(arg1,arg2);
15672
15673 wxPyEndAllowThreads(__tstate);
15674 if (PyErr_Occurred()) SWIG_fail;
15675 }
15676 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIconizeEvent, 1);
15677 return resultobj;
15678 fail:
15679 return NULL;
15680}
15681
15682
15683static PyObject *_wrap_IconizeEvent_Iconized(PyObject *self, PyObject *args, PyObject *kwargs) {
15684 PyObject *resultobj;
15685 wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
15686 bool result;
15687 PyObject * obj0 = 0 ;
15688 char *kwnames[] = {
15689 (char *) "self", NULL
15690 };
15691
15692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail;
15693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIconizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15694 {
15695 PyThreadState* __tstate = wxPyBeginAllowThreads();
15696 result = (bool)(arg1)->Iconized();
15697
15698 wxPyEndAllowThreads(__tstate);
15699 if (PyErr_Occurred()) SWIG_fail;
15700 }
15701 resultobj = PyInt_FromLong((long)result);
15702 return resultobj;
15703 fail:
15704 return NULL;
15705}
15706
15707
15708static PyObject * IconizeEvent_swigregister(PyObject *self, PyObject *args) {
15709 PyObject *obj;
15710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15711 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj);
15712 Py_INCREF(obj);
15713 return Py_BuildValue((char *)"");
15714}
15715static PyObject *_wrap_new_MaximizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15716 PyObject *resultobj;
15717 int arg1 = (int) 0 ;
15718 wxMaximizeEvent *result;
15719 char *kwnames[] = {
15720 (char *) "id", NULL
15721 };
15722
15723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_MaximizeEvent",kwnames,&arg1)) goto fail;
15724 {
15725 PyThreadState* __tstate = wxPyBeginAllowThreads();
15726 result = (wxMaximizeEvent *)new wxMaximizeEvent(arg1);
15727
15728 wxPyEndAllowThreads(__tstate);
15729 if (PyErr_Occurred()) SWIG_fail;
15730 }
15731 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMaximizeEvent, 1);
15732 return resultobj;
15733 fail:
15734 return NULL;
15735}
15736
15737
15738static PyObject * MaximizeEvent_swigregister(PyObject *self, PyObject *args) {
15739 PyObject *obj;
15740 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15741 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj);
15742 Py_INCREF(obj);
15743 return Py_BuildValue((char *)"");
15744}
15745static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15746 PyObject *resultobj;
15747 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
15748 wxPoint result;
15749 PyObject * obj0 = 0 ;
15750 char *kwnames[] = {
15751 (char *) "self", NULL
15752 };
15753
15754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail;
15755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDropFilesEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15756 {
15757 PyThreadState* __tstate = wxPyBeginAllowThreads();
15758 result = (arg1)->GetPosition();
15759
15760 wxPyEndAllowThreads(__tstate);
15761 if (PyErr_Occurred()) SWIG_fail;
15762 }
15763 {
15764 wxPoint * resultptr;
15765 resultptr = new wxPoint((wxPoint &) result);
15766 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
15767 }
15768 return resultobj;
15769 fail:
15770 return NULL;
15771}
15772
15773
15774static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
15775 PyObject *resultobj;
15776 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
15777 int result;
15778 PyObject * obj0 = 0 ;
15779 char *kwnames[] = {
15780 (char *) "self", NULL
15781 };
15782
15783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail;
15784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDropFilesEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15785 {
15786 PyThreadState* __tstate = wxPyBeginAllowThreads();
15787 result = (int)(arg1)->GetNumberOfFiles();
15788
15789 wxPyEndAllowThreads(__tstate);
15790 if (PyErr_Occurred()) SWIG_fail;
15791 }
15792 resultobj = PyInt_FromLong((long)result);
15793 return resultobj;
15794 fail:
15795 return NULL;
15796}
15797
15798
15799static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
15800 PyObject *resultobj;
15801 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
15802 PyObject *result;
15803 PyObject * obj0 = 0 ;
15804 char *kwnames[] = {
15805 (char *) "self", NULL
15806 };
15807
15808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail;
15809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDropFilesEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15810 {
15811 PyThreadState* __tstate = wxPyBeginAllowThreads();
15812 result = (PyObject *)wxDropFilesEvent_GetFiles(arg1);
15813
15814 wxPyEndAllowThreads(__tstate);
15815 if (PyErr_Occurred()) SWIG_fail;
15816 }
15817 resultobj = result;
15818 return resultobj;
15819 fail:
15820 return NULL;
15821}
15822
15823
15824static PyObject * DropFilesEvent_swigregister(PyObject *self, PyObject *args) {
15825 PyObject *obj;
15826 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15827 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj);
15828 Py_INCREF(obj);
15829 return Py_BuildValue((char *)"");
15830}
15831static PyObject *_wrap_new_UpdateUIEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15832 PyObject *resultobj;
423f194a 15833 int arg1 = (int) 0 ;
d14a1e28
RD
15834 wxUpdateUIEvent *result;
15835 char *kwnames[] = {
15836 (char *) "commandId", NULL
15837 };
15838
15839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_UpdateUIEvent",kwnames,&arg1)) goto fail;
15840 {
15841 PyThreadState* __tstate = wxPyBeginAllowThreads();
15842 result = (wxUpdateUIEvent *)new wxUpdateUIEvent(arg1);
15843
15844 wxPyEndAllowThreads(__tstate);
15845 if (PyErr_Occurred()) SWIG_fail;
15846 }
15847 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxUpdateUIEvent, 1);
15848 return resultobj;
15849 fail:
15850 return NULL;
15851}
15852
15853
15854static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
15855 PyObject *resultobj;
15856 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15857 bool result;
15858 PyObject * obj0 = 0 ;
15859 char *kwnames[] = {
15860 (char *) "self", NULL
15861 };
15862
15863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail;
15864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15865 {
15866 PyThreadState* __tstate = wxPyBeginAllowThreads();
15867 result = (bool)((wxUpdateUIEvent const *)arg1)->GetChecked();
15868
15869 wxPyEndAllowThreads(__tstate);
15870 if (PyErr_Occurred()) SWIG_fail;
15871 }
15872 resultobj = PyInt_FromLong((long)result);
15873 return resultobj;
15874 fail:
15875 return NULL;
15876}
15877
15878
15879static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
15880 PyObject *resultobj;
15881 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15882 bool result;
15883 PyObject * obj0 = 0 ;
15884 char *kwnames[] = {
15885 (char *) "self", NULL
15886 };
15887
15888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail;
15889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15890 {
15891 PyThreadState* __tstate = wxPyBeginAllowThreads();
15892 result = (bool)((wxUpdateUIEvent const *)arg1)->GetEnabled();
15893
15894 wxPyEndAllowThreads(__tstate);
15895 if (PyErr_Occurred()) SWIG_fail;
15896 }
15897 resultobj = PyInt_FromLong((long)result);
15898 return resultobj;
15899 fail:
15900 return NULL;
15901}
15902
15903
15904static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15905 PyObject *resultobj;
15906 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15907 wxString result;
15908 PyObject * obj0 = 0 ;
15909 char *kwnames[] = {
15910 (char *) "self", NULL
15911 };
15912
15913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail;
15914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15915 {
15916 PyThreadState* __tstate = wxPyBeginAllowThreads();
15917 result = ((wxUpdateUIEvent const *)arg1)->GetText();
15918
15919 wxPyEndAllowThreads(__tstate);
15920 if (PyErr_Occurred()) SWIG_fail;
15921 }
15922 {
15923#if wxUSE_UNICODE
15924 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15925#else
15926 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15927#endif
15928 }
15929 return resultobj;
15930 fail:
15931 return NULL;
15932}
15933
15934
15935static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15936 PyObject *resultobj;
15937 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15938 bool result;
15939 PyObject * obj0 = 0 ;
15940 char *kwnames[] = {
15941 (char *) "self", NULL
15942 };
15943
15944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail;
15945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15946 {
15947 PyThreadState* __tstate = wxPyBeginAllowThreads();
15948 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetText();
15949
15950 wxPyEndAllowThreads(__tstate);
15951 if (PyErr_Occurred()) SWIG_fail;
15952 }
15953 resultobj = PyInt_FromLong((long)result);
15954 return resultobj;
15955 fail:
15956 return NULL;
15957}
15958
15959
15960static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
15961 PyObject *resultobj;
15962 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15963 bool result;
15964 PyObject * obj0 = 0 ;
15965 char *kwnames[] = {
15966 (char *) "self", NULL
15967 };
15968
15969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail;
15970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15971 {
15972 PyThreadState* __tstate = wxPyBeginAllowThreads();
15973 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetChecked();
15974
15975 wxPyEndAllowThreads(__tstate);
15976 if (PyErr_Occurred()) SWIG_fail;
15977 }
15978 resultobj = PyInt_FromLong((long)result);
15979 return resultobj;
15980 fail:
15981 return NULL;
15982}
15983
15984
15985static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
15986 PyObject *resultobj;
15987 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15988 bool result;
15989 PyObject * obj0 = 0 ;
15990 char *kwnames[] = {
15991 (char *) "self", NULL
15992 };
15993
15994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail;
15995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15996 {
15997 PyThreadState* __tstate = wxPyBeginAllowThreads();
15998 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetEnabled();
15999
16000 wxPyEndAllowThreads(__tstate);
16001 if (PyErr_Occurred()) SWIG_fail;
16002 }
16003 resultobj = PyInt_FromLong((long)result);
16004 return resultobj;
16005 fail:
16006 return NULL;
16007}
16008
16009
16010static PyObject *_wrap_UpdateUIEvent_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
16011 PyObject *resultobj;
16012 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
16013 bool arg2 ;
16014 PyObject * obj0 = 0 ;
16015 PyObject * obj1 = 0 ;
16016 char *kwnames[] = {
16017 (char *) "self",(char *) "check", NULL
16018 };
16019
16020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail;
16021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16022 arg2 = PyInt_AsLong(obj1) ? true : false;
16023 if (PyErr_Occurred()) SWIG_fail;
16024 {
16025 PyThreadState* __tstate = wxPyBeginAllowThreads();
16026 (arg1)->Check(arg2);
16027
16028 wxPyEndAllowThreads(__tstate);
16029 if (PyErr_Occurred()) SWIG_fail;
16030 }
16031 Py_INCREF(Py_None); resultobj = Py_None;
16032 return resultobj;
16033 fail:
16034 return NULL;
16035}
16036
16037
16038static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
16039 PyObject *resultobj;
16040 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
16041 bool arg2 ;
16042 PyObject * obj0 = 0 ;
16043 PyObject * obj1 = 0 ;
16044 char *kwnames[] = {
16045 (char *) "self",(char *) "enable", NULL
16046 };
16047
16048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail;
16049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16050 arg2 = PyInt_AsLong(obj1) ? true : false;
16051 if (PyErr_Occurred()) SWIG_fail;
16052 {
16053 PyThreadState* __tstate = wxPyBeginAllowThreads();
16054 (arg1)->Enable(arg2);
16055
16056 wxPyEndAllowThreads(__tstate);
16057 if (PyErr_Occurred()) SWIG_fail;
16058 }
16059 Py_INCREF(Py_None); resultobj = Py_None;
16060 return resultobj;
16061 fail:
16062 return NULL;
16063}
16064
16065
16066static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16067 PyObject *resultobj;
16068 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
16069 wxString *arg2 = 0 ;
423f194a 16070 bool temp2 = False ;
d14a1e28
RD
16071 PyObject * obj0 = 0 ;
16072 PyObject * obj1 = 0 ;
16073 char *kwnames[] = {
16074 (char *) "self",(char *) "text", NULL
16075 };
16076
16077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
16078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16079 {
16080 arg2 = wxString_in_helper(obj1);
16081 if (arg2 == NULL) SWIG_fail;
423f194a 16082 temp2 = True;
d14a1e28
RD
16083 }
16084 {
16085 PyThreadState* __tstate = wxPyBeginAllowThreads();
16086 (arg1)->SetText((wxString const &)*arg2);
16087
16088 wxPyEndAllowThreads(__tstate);
16089 if (PyErr_Occurred()) SWIG_fail;
16090 }
16091 Py_INCREF(Py_None); resultobj = Py_None;
16092 {
16093 if (temp2)
16094 delete arg2;
16095 }
16096 return resultobj;
16097 fail:
16098 {
16099 if (temp2)
16100 delete arg2;
16101 }
16102 return NULL;
16103}
16104
16105
16106static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
16107 PyObject *resultobj;
16108 long arg1 ;
16109 char *kwnames[] = {
16110 (char *) "updateInterval", NULL
16111 };
16112
16113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:UpdateUIEvent_SetUpdateInterval",kwnames,&arg1)) goto fail;
16114 {
16115 PyThreadState* __tstate = wxPyBeginAllowThreads();
16116 wxUpdateUIEvent::SetUpdateInterval(arg1);
16117
16118 wxPyEndAllowThreads(__tstate);
16119 if (PyErr_Occurred()) SWIG_fail;
16120 }
16121 Py_INCREF(Py_None); resultobj = Py_None;
16122 return resultobj;
16123 fail:
16124 return NULL;
16125}
16126
16127
16128static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
16129 PyObject *resultobj;
16130 long result;
16131 char *kwnames[] = {
16132 NULL
16133 };
16134
16135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail;
16136 {
16137 PyThreadState* __tstate = wxPyBeginAllowThreads();
16138 result = (long)wxUpdateUIEvent::GetUpdateInterval();
16139
16140 wxPyEndAllowThreads(__tstate);
16141 if (PyErr_Occurred()) SWIG_fail;
16142 }
16143 resultobj = PyInt_FromLong((long)result);
16144 return resultobj;
16145 fail:
16146 return NULL;
16147}
16148
16149
16150static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *self, PyObject *args, PyObject *kwargs) {
16151 PyObject *resultobj;
16152 wxWindow *arg1 = (wxWindow *) 0 ;
16153 bool result;
16154 PyObject * obj0 = 0 ;
16155 char *kwnames[] = {
16156 (char *) "win", NULL
16157 };
16158
16159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail;
16160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16161 {
16162 PyThreadState* __tstate = wxPyBeginAllowThreads();
16163 result = (bool)wxUpdateUIEvent::CanUpdate(arg1);
16164
16165 wxPyEndAllowThreads(__tstate);
16166 if (PyErr_Occurred()) SWIG_fail;
16167 }
16168 resultobj = PyInt_FromLong((long)result);
16169 return resultobj;
16170 fail:
16171 return NULL;
16172}
16173
16174
16175static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
16176 PyObject *resultobj;
16177 char *kwnames[] = {
16178 NULL
16179 };
16180
16181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail;
16182 {
16183 PyThreadState* __tstate = wxPyBeginAllowThreads();
16184 wxUpdateUIEvent::ResetUpdateTime();
16185
16186 wxPyEndAllowThreads(__tstate);
16187 if (PyErr_Occurred()) SWIG_fail;
16188 }
16189 Py_INCREF(Py_None); resultobj = Py_None;
16190 return resultobj;
16191 fail:
16192 return NULL;
16193}
16194
16195
16196static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16197 PyObject *resultobj;
16198 int arg1 ;
16199 char *kwnames[] = {
16200 (char *) "mode", NULL
16201 };
16202
16203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:UpdateUIEvent_SetMode",kwnames,&arg1)) goto fail;
16204 {
16205 PyThreadState* __tstate = wxPyBeginAllowThreads();
16206 wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1);
16207
16208 wxPyEndAllowThreads(__tstate);
16209 if (PyErr_Occurred()) SWIG_fail;
16210 }
16211 Py_INCREF(Py_None); resultobj = Py_None;
16212 return resultobj;
16213 fail:
16214 return NULL;
16215}
16216
16217
16218static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16219 PyObject *resultobj;
16220 int result;
16221 char *kwnames[] = {
16222 NULL
16223 };
16224
16225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail;
16226 {
16227 PyThreadState* __tstate = wxPyBeginAllowThreads();
16228 result = (int)wxUpdateUIEvent::GetMode();
16229
16230 wxPyEndAllowThreads(__tstate);
16231 if (PyErr_Occurred()) SWIG_fail;
16232 }
16233 resultobj = PyInt_FromLong((long)result);
16234 return resultobj;
16235 fail:
16236 return NULL;
16237}
16238
16239
16240static PyObject * UpdateUIEvent_swigregister(PyObject *self, PyObject *args) {
16241 PyObject *obj;
16242 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16243 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj);
16244 Py_INCREF(obj);
16245 return Py_BuildValue((char *)"");
16246}
16247static PyObject *_wrap_new_SysColourChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16248 PyObject *resultobj;
16249 wxSysColourChangedEvent *result;
16250 char *kwnames[] = {
16251 NULL
16252 };
16253
16254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail;
16255 {
16256 PyThreadState* __tstate = wxPyBeginAllowThreads();
16257 result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent();
16258
16259 wxPyEndAllowThreads(__tstate);
16260 if (PyErr_Occurred()) SWIG_fail;
16261 }
16262 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSysColourChangedEvent, 1);
16263 return resultobj;
16264 fail:
16265 return NULL;
16266}
16267
16268
16269static PyObject * SysColourChangedEvent_swigregister(PyObject *self, PyObject *args) {
16270 PyObject *obj;
16271 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16272 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj);
16273 Py_INCREF(obj);
16274 return Py_BuildValue((char *)"");
16275}
16276static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16277 PyObject *resultobj;
423f194a 16278 int arg1 = (int) 0 ;
d14a1e28
RD
16279 wxWindow *arg2 = (wxWindow *) NULL ;
16280 wxMouseCaptureChangedEvent *result;
16281 PyObject * obj1 = 0 ;
16282 char *kwnames[] = {
16283 (char *) "winid",(char *) "gainedCapture", NULL
16284 };
16285
16286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_MouseCaptureChangedEvent",kwnames,&arg1,&obj1)) goto fail;
16287 if (obj1) {
16288 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16289 }
16290 {
16291 PyThreadState* __tstate = wxPyBeginAllowThreads();
16292 result = (wxMouseCaptureChangedEvent *)new wxMouseCaptureChangedEvent(arg1,arg2);
16293
16294 wxPyEndAllowThreads(__tstate);
16295 if (PyErr_Occurred()) SWIG_fail;
16296 }
16297 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseCaptureChangedEvent, 1);
16298 return resultobj;
16299 fail:
16300 return NULL;
16301}
16302
16303
16304static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16305 PyObject *resultobj;
16306 wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
16307 wxWindow *result;
16308 PyObject * obj0 = 0 ;
16309 char *kwnames[] = {
16310 (char *) "self", NULL
16311 };
16312
16313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail;
16314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseCaptureChangedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16315 {
16316 PyThreadState* __tstate = wxPyBeginAllowThreads();
16317 result = (wxWindow *)((wxMouseCaptureChangedEvent const *)arg1)->GetCapturedWindow();
16318
16319 wxPyEndAllowThreads(__tstate);
16320 if (PyErr_Occurred()) SWIG_fail;
16321 }
16322 {
16323 resultobj = wxPyMake_wxObject(result);
16324 }
16325 return resultobj;
16326 fail:
16327 return NULL;
16328}
16329
16330
16331static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *self, PyObject *args) {
16332 PyObject *obj;
16333 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16334 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj);
16335 Py_INCREF(obj);
16336 return Py_BuildValue((char *)"");
16337}
16338static PyObject *_wrap_new_DisplayChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16339 PyObject *resultobj;
16340 wxDisplayChangedEvent *result;
16341 char *kwnames[] = {
16342 NULL
16343 };
16344
16345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail;
16346 {
16347 PyThreadState* __tstate = wxPyBeginAllowThreads();
16348 result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent();
16349
16350 wxPyEndAllowThreads(__tstate);
16351 if (PyErr_Occurred()) SWIG_fail;
16352 }
16353 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDisplayChangedEvent, 1);
16354 return resultobj;
16355 fail:
16356 return NULL;
16357}
16358
16359
16360static PyObject * DisplayChangedEvent_swigregister(PyObject *self, PyObject *args) {
16361 PyObject *obj;
16362 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16363 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj);
16364 Py_INCREF(obj);
16365 return Py_BuildValue((char *)"");
16366}
16367static PyObject *_wrap_new_PaletteChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16368 PyObject *resultobj;
423f194a 16369 int arg1 = (int) 0 ;
d14a1e28
RD
16370 wxPaletteChangedEvent *result;
16371 char *kwnames[] = {
16372 (char *) "id", NULL
16373 };
16374
16375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_PaletteChangedEvent",kwnames,&arg1)) goto fail;
16376 {
16377 PyThreadState* __tstate = wxPyBeginAllowThreads();
16378 result = (wxPaletteChangedEvent *)new wxPaletteChangedEvent(arg1);
16379
16380 wxPyEndAllowThreads(__tstate);
16381 if (PyErr_Occurred()) SWIG_fail;
16382 }
16383 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPaletteChangedEvent, 1);
16384 return resultobj;
16385 fail:
16386 return NULL;
16387}
16388
16389
16390static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16391 PyObject *resultobj;
16392 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
16393 wxWindow *arg2 = (wxWindow *) 0 ;
16394 PyObject * obj0 = 0 ;
16395 PyObject * obj1 = 0 ;
16396 char *kwnames[] = {
16397 (char *) "self",(char *) "win", NULL
16398 };
16399
16400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail;
16401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPaletteChangedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16402 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16403 {
16404 PyThreadState* __tstate = wxPyBeginAllowThreads();
16405 (arg1)->SetChangedWindow(arg2);
16406
16407 wxPyEndAllowThreads(__tstate);
16408 if (PyErr_Occurred()) SWIG_fail;
16409 }
16410 Py_INCREF(Py_None); resultobj = Py_None;
16411 return resultobj;
16412 fail:
16413 return NULL;
16414}
16415
16416
16417static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16418 PyObject *resultobj;
16419 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
16420 wxWindow *result;
16421 PyObject * obj0 = 0 ;
16422 char *kwnames[] = {
16423 (char *) "self", NULL
16424 };
16425
16426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail;
16427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPaletteChangedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16428 {
16429 PyThreadState* __tstate = wxPyBeginAllowThreads();
16430 result = (wxWindow *)(arg1)->GetChangedWindow();
16431
16432 wxPyEndAllowThreads(__tstate);
16433 if (PyErr_Occurred()) SWIG_fail;
16434 }
16435 {
16436 resultobj = wxPyMake_wxObject(result);
16437 }
16438 return resultobj;
16439 fail:
16440 return NULL;
16441}
16442
16443
16444static PyObject * PaletteChangedEvent_swigregister(PyObject *self, PyObject *args) {
16445 PyObject *obj;
16446 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16447 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj);
16448 Py_INCREF(obj);
16449 return Py_BuildValue((char *)"");
16450}
16451static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16452 PyObject *resultobj;
423f194a 16453 int arg1 = (int) 0 ;
d14a1e28
RD
16454 wxQueryNewPaletteEvent *result;
16455 char *kwnames[] = {
16456 (char *) "winid", NULL
16457 };
16458
16459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryNewPaletteEvent",kwnames,&arg1)) goto fail;
16460 {
16461 PyThreadState* __tstate = wxPyBeginAllowThreads();
16462 result = (wxQueryNewPaletteEvent *)new wxQueryNewPaletteEvent(arg1);
16463
16464 wxPyEndAllowThreads(__tstate);
16465 if (PyErr_Occurred()) SWIG_fail;
16466 }
16467 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryNewPaletteEvent, 1);
16468 return resultobj;
16469 fail:
16470 return NULL;
16471}
16472
16473
16474static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
16475 PyObject *resultobj;
16476 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
16477 bool arg2 ;
16478 PyObject * obj0 = 0 ;
16479 PyObject * obj1 = 0 ;
16480 char *kwnames[] = {
16481 (char *) "self",(char *) "realized", NULL
16482 };
16483
16484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail;
16485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryNewPaletteEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16486 arg2 = PyInt_AsLong(obj1) ? true : false;
16487 if (PyErr_Occurred()) SWIG_fail;
16488 {
16489 PyThreadState* __tstate = wxPyBeginAllowThreads();
16490 (arg1)->SetPaletteRealized(arg2);
16491
16492 wxPyEndAllowThreads(__tstate);
16493 if (PyErr_Occurred()) SWIG_fail;
16494 }
16495 Py_INCREF(Py_None); resultobj = Py_None;
16496 return resultobj;
16497 fail:
16498 return NULL;
16499}
16500
16501
16502static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
16503 PyObject *resultobj;
16504 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
16505 bool result;
16506 PyObject * obj0 = 0 ;
16507 char *kwnames[] = {
16508 (char *) "self", NULL
16509 };
16510
16511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail;
16512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryNewPaletteEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16513 {
16514 PyThreadState* __tstate = wxPyBeginAllowThreads();
16515 result = (bool)((wxQueryNewPaletteEvent const *)arg1)->GetPaletteRealized();
16516
16517 wxPyEndAllowThreads(__tstate);
16518 if (PyErr_Occurred()) SWIG_fail;
16519 }
16520 resultobj = PyInt_FromLong((long)result);
16521 return resultobj;
16522 fail:
16523 return NULL;
16524}
16525
16526
16527static PyObject * QueryNewPaletteEvent_swigregister(PyObject *self, PyObject *args) {
16528 PyObject *obj;
16529 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16530 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj);
16531 Py_INCREF(obj);
16532 return Py_BuildValue((char *)"");
16533}
16534static PyObject *_wrap_new_NavigationKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16535 PyObject *resultobj;
16536 wxNavigationKeyEvent *result;
16537 char *kwnames[] = {
16538 NULL
16539 };
16540
16541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail;
16542 {
16543 PyThreadState* __tstate = wxPyBeginAllowThreads();
16544 result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent();
16545
16546 wxPyEndAllowThreads(__tstate);
16547 if (PyErr_Occurred()) SWIG_fail;
16548 }
16549 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNavigationKeyEvent, 1);
16550 return resultobj;
16551 fail:
16552 return NULL;
16553}
16554
16555
16556static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
16557 PyObject *resultobj;
16558 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16559 bool result;
16560 PyObject * obj0 = 0 ;
16561 char *kwnames[] = {
16562 (char *) "self", NULL
16563 };
16564
16565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail;
16566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16567 {
16568 PyThreadState* __tstate = wxPyBeginAllowThreads();
16569 result = (bool)((wxNavigationKeyEvent const *)arg1)->GetDirection();
16570
16571 wxPyEndAllowThreads(__tstate);
16572 if (PyErr_Occurred()) SWIG_fail;
16573 }
16574 resultobj = PyInt_FromLong((long)result);
16575 return resultobj;
16576 fail:
16577 return NULL;
16578}
16579
16580
16581static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
16582 PyObject *resultobj;
16583 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16584 bool arg2 ;
16585 PyObject * obj0 = 0 ;
16586 PyObject * obj1 = 0 ;
16587 char *kwnames[] = {
16588 (char *) "self",(char *) "bForward", NULL
16589 };
16590
16591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail;
16592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16593 arg2 = PyInt_AsLong(obj1) ? true : false;
16594 if (PyErr_Occurred()) SWIG_fail;
16595 {
16596 PyThreadState* __tstate = wxPyBeginAllowThreads();
16597 (arg1)->SetDirection(arg2);
16598
16599 wxPyEndAllowThreads(__tstate);
16600 if (PyErr_Occurred()) SWIG_fail;
16601 }
16602 Py_INCREF(Py_None); resultobj = Py_None;
16603 return resultobj;
16604 fail:
16605 return NULL;
16606}
16607
16608
16609static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
16610 PyObject *resultobj;
16611 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16612 bool result;
16613 PyObject * obj0 = 0 ;
16614 char *kwnames[] = {
16615 (char *) "self", NULL
16616 };
16617
16618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail;
16619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16620 {
16621 PyThreadState* __tstate = wxPyBeginAllowThreads();
16622 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsWindowChange();
16623
16624 wxPyEndAllowThreads(__tstate);
16625 if (PyErr_Occurred()) SWIG_fail;
16626 }
16627 resultobj = PyInt_FromLong((long)result);
16628 return resultobj;
16629 fail:
16630 return NULL;
16631}
16632
16633
16634static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
16635 PyObject *resultobj;
16636 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16637 bool arg2 ;
16638 PyObject * obj0 = 0 ;
16639 PyObject * obj1 = 0 ;
16640 char *kwnames[] = {
16641 (char *) "self",(char *) "bIs", NULL
16642 };
16643
16644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail;
16645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16646 arg2 = PyInt_AsLong(obj1) ? true : false;
16647 if (PyErr_Occurred()) SWIG_fail;
16648 {
16649 PyThreadState* __tstate = wxPyBeginAllowThreads();
16650 (arg1)->SetWindowChange(arg2);
16651
16652 wxPyEndAllowThreads(__tstate);
16653 if (PyErr_Occurred()) SWIG_fail;
16654 }
16655 Py_INCREF(Py_None); resultobj = Py_None;
16656 return resultobj;
16657 fail:
16658 return NULL;
16659}
16660
16661
16662static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16663 PyObject *resultobj;
16664 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16665 wxWindow *result;
16666 PyObject * obj0 = 0 ;
16667 char *kwnames[] = {
16668 (char *) "self", NULL
16669 };
16670
16671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail;
16672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16673 {
16674 PyThreadState* __tstate = wxPyBeginAllowThreads();
16675 result = (wxWindow *)((wxNavigationKeyEvent const *)arg1)->GetCurrentFocus();
16676
16677 wxPyEndAllowThreads(__tstate);
16678 if (PyErr_Occurred()) SWIG_fail;
16679 }
16680 {
16681 resultobj = wxPyMake_wxObject(result);
16682 }
16683 return resultobj;
16684 fail:
16685 return NULL;
16686}
16687
16688
16689static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16690 PyObject *resultobj;
16691 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16692 wxWindow *arg2 = (wxWindow *) 0 ;
16693 PyObject * obj0 = 0 ;
16694 PyObject * obj1 = 0 ;
16695 char *kwnames[] = {
16696 (char *) "self",(char *) "win", NULL
16697 };
16698
16699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail;
16700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16701 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16702 {
16703 PyThreadState* __tstate = wxPyBeginAllowThreads();
16704 (arg1)->SetCurrentFocus(arg2);
16705
16706 wxPyEndAllowThreads(__tstate);
16707 if (PyErr_Occurred()) SWIG_fail;
16708 }
16709 Py_INCREF(Py_None); resultobj = Py_None;
16710 return resultobj;
16711 fail:
16712 return NULL;
16713}
16714
16715
16716static PyObject * NavigationKeyEvent_swigregister(PyObject *self, PyObject *args) {
16717 PyObject *obj;
16718 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16719 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj);
16720 Py_INCREF(obj);
16721 return Py_BuildValue((char *)"");
16722}
16723static PyObject *_wrap_new_WindowCreateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16724 PyObject *resultobj;
16725 wxWindow *arg1 = (wxWindow *) NULL ;
16726 wxWindowCreateEvent *result;
16727 PyObject * obj0 = 0 ;
16728 char *kwnames[] = {
16729 (char *) "win", NULL
16730 };
16731
16732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail;
16733 if (obj0) {
16734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16735 }
16736 {
16737 PyThreadState* __tstate = wxPyBeginAllowThreads();
16738 result = (wxWindowCreateEvent *)new wxWindowCreateEvent(arg1);
16739
16740 wxPyEndAllowThreads(__tstate);
16741 if (PyErr_Occurred()) SWIG_fail;
16742 }
16743 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowCreateEvent, 1);
16744 return resultobj;
16745 fail:
16746 return NULL;
16747}
16748
16749
16750static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16751 PyObject *resultobj;
16752 wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
16753 wxWindow *result;
16754 PyObject * obj0 = 0 ;
16755 char *kwnames[] = {
16756 (char *) "self", NULL
16757 };
16758
16759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail;
16760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowCreateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16761 {
16762 PyThreadState* __tstate = wxPyBeginAllowThreads();
16763 result = (wxWindow *)((wxWindowCreateEvent const *)arg1)->GetWindow();
16764
16765 wxPyEndAllowThreads(__tstate);
16766 if (PyErr_Occurred()) SWIG_fail;
16767 }
16768 {
16769 resultobj = wxPyMake_wxObject(result);
16770 }
16771 return resultobj;
16772 fail:
16773 return NULL;
16774}
16775
16776
16777static PyObject * WindowCreateEvent_swigregister(PyObject *self, PyObject *args) {
16778 PyObject *obj;
16779 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16780 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj);
16781 Py_INCREF(obj);
16782 return Py_BuildValue((char *)"");
16783}
16784static PyObject *_wrap_new_WindowDestroyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16785 PyObject *resultobj;
16786 wxWindow *arg1 = (wxWindow *) NULL ;
16787 wxWindowDestroyEvent *result;
16788 PyObject * obj0 = 0 ;
16789 char *kwnames[] = {
16790 (char *) "win", NULL
16791 };
16792
16793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail;
16794 if (obj0) {
16795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16796 }
16797 {
16798 PyThreadState* __tstate = wxPyBeginAllowThreads();
16799 result = (wxWindowDestroyEvent *)new wxWindowDestroyEvent(arg1);
16800
16801 wxPyEndAllowThreads(__tstate);
16802 if (PyErr_Occurred()) SWIG_fail;
16803 }
16804 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowDestroyEvent, 1);
16805 return resultobj;
16806 fail:
16807 return NULL;
16808}
16809
16810
16811static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16812 PyObject *resultobj;
16813 wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
16814 wxWindow *result;
16815 PyObject * obj0 = 0 ;
16816 char *kwnames[] = {
16817 (char *) "self", NULL
16818 };
16819
16820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail;
16821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowDestroyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16822 {
16823 PyThreadState* __tstate = wxPyBeginAllowThreads();
16824 result = (wxWindow *)((wxWindowDestroyEvent const *)arg1)->GetWindow();
16825
16826 wxPyEndAllowThreads(__tstate);
16827 if (PyErr_Occurred()) SWIG_fail;
16828 }
16829 {
16830 resultobj = wxPyMake_wxObject(result);
16831 }
16832 return resultobj;
16833 fail:
16834 return NULL;
16835}
16836
16837
16838static PyObject * WindowDestroyEvent_swigregister(PyObject *self, PyObject *args) {
16839 PyObject *obj;
16840 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16841 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj);
16842 Py_INCREF(obj);
16843 return Py_BuildValue((char *)"");
16844}
16845static PyObject *_wrap_new_ContextMenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16846 PyObject *resultobj;
16847 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
423f194a 16848 int arg2 = (int) 0 ;
d14a1e28
RD
16849 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16850 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16851 wxContextMenuEvent *result;
16852 wxPoint temp3 ;
16853 PyObject * obj2 = 0 ;
16854 char *kwnames[] = {
16855 (char *) "type",(char *) "winid",(char *) "pt", NULL
16856 };
16857
16858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_ContextMenuEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
16859 if (obj2) {
16860 {
16861 arg3 = &temp3;
16862 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16863 }
16864 }
16865 {
16866 PyThreadState* __tstate = wxPyBeginAllowThreads();
16867 result = (wxContextMenuEvent *)new wxContextMenuEvent(arg1,arg2,(wxPoint const &)*arg3);
16868
16869 wxPyEndAllowThreads(__tstate);
16870 if (PyErr_Occurred()) SWIG_fail;
16871 }
16872 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextMenuEvent, 1);
16873 return resultobj;
16874 fail:
16875 return NULL;
16876}
16877
16878
16879static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16880 PyObject *resultobj;
16881 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
16882 wxPoint *result;
16883 PyObject * obj0 = 0 ;
16884 char *kwnames[] = {
16885 (char *) "self", NULL
16886 };
16887
16888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail;
16889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16890 {
16891 PyThreadState* __tstate = wxPyBeginAllowThreads();
16892 {
16893 wxPoint const &_result_ref = ((wxContextMenuEvent const *)arg1)->GetPosition();
16894 result = (wxPoint *) &_result_ref;
16895 }
16896
16897 wxPyEndAllowThreads(__tstate);
16898 if (PyErr_Occurred()) SWIG_fail;
16899 }
16900 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
16901 return resultobj;
16902 fail:
16903 return NULL;
16904}
16905
16906
16907static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16908 PyObject *resultobj;
16909 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
16910 wxPoint *arg2 = 0 ;
16911 wxPoint temp2 ;
16912 PyObject * obj0 = 0 ;
16913 PyObject * obj1 = 0 ;
16914 char *kwnames[] = {
16915 (char *) "self",(char *) "pos", NULL
16916 };
16917
16918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
16919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16920 {
16921 arg2 = &temp2;
16922 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16923 }
16924 {
16925 PyThreadState* __tstate = wxPyBeginAllowThreads();
16926 (arg1)->SetPosition((wxPoint const &)*arg2);
16927
16928 wxPyEndAllowThreads(__tstate);
16929 if (PyErr_Occurred()) SWIG_fail;
16930 }
16931 Py_INCREF(Py_None); resultobj = Py_None;
16932 return resultobj;
16933 fail:
16934 return NULL;
16935}
16936
16937
16938static PyObject * ContextMenuEvent_swigregister(PyObject *self, PyObject *args) {
16939 PyObject *obj;
16940 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16941 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj);
16942 Py_INCREF(obj);
16943 return Py_BuildValue((char *)"");
16944}
16945static PyObject *_wrap_new_IdleEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16946 PyObject *resultobj;
16947 wxIdleEvent *result;
16948 char *kwnames[] = {
16949 NULL
16950 };
16951
16952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail;
16953 {
16954 PyThreadState* __tstate = wxPyBeginAllowThreads();
16955 result = (wxIdleEvent *)new wxIdleEvent();
16956
16957 wxPyEndAllowThreads(__tstate);
16958 if (PyErr_Occurred()) SWIG_fail;
16959 }
16960 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIdleEvent, 1);
16961 return resultobj;
16962 fail:
16963 return NULL;
16964}
16965
16966
16967static PyObject *_wrap_IdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) {
16968 PyObject *resultobj;
16969 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
423f194a 16970 bool arg2 = (bool) True ;
d14a1e28
RD
16971 PyObject * obj0 = 0 ;
16972 PyObject * obj1 = 0 ;
16973 char *kwnames[] = {
16974 (char *) "self",(char *) "needMore", NULL
16975 };
16976
16977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail;
16978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIdleEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16979 if (obj1) {
16980 arg2 = PyInt_AsLong(obj1) ? true : false;
16981 if (PyErr_Occurred()) SWIG_fail;
16982 }
16983 {
16984 PyThreadState* __tstate = wxPyBeginAllowThreads();
16985 (arg1)->RequestMore(arg2);
16986
16987 wxPyEndAllowThreads(__tstate);
16988 if (PyErr_Occurred()) SWIG_fail;
16989 }
16990 Py_INCREF(Py_None); resultobj = Py_None;
16991 return resultobj;
16992 fail:
16993 return NULL;
16994}
16995
16996
16997static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *self, PyObject *args, PyObject *kwargs) {
16998 PyObject *resultobj;
16999 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
17000 bool result;
17001 PyObject * obj0 = 0 ;
17002 char *kwnames[] = {
17003 (char *) "self", NULL
17004 };
17005
17006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail;
17007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIdleEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17008 {
17009 PyThreadState* __tstate = wxPyBeginAllowThreads();
17010 result = (bool)((wxIdleEvent const *)arg1)->MoreRequested();
17011
17012 wxPyEndAllowThreads(__tstate);
17013 if (PyErr_Occurred()) SWIG_fail;
17014 }
17015 resultobj = PyInt_FromLong((long)result);
17016 return resultobj;
17017 fail:
17018 return NULL;
17019}
17020
17021
17022static PyObject *_wrap_IdleEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17023 PyObject *resultobj;
17024 int arg1 ;
17025 char *kwnames[] = {
17026 (char *) "mode", NULL
17027 };
17028
17029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:IdleEvent_SetMode",kwnames,&arg1)) goto fail;
17030 {
17031 PyThreadState* __tstate = wxPyBeginAllowThreads();
17032 wxIdleEvent::SetMode((wxIdleMode )arg1);
17033
17034 wxPyEndAllowThreads(__tstate);
17035 if (PyErr_Occurred()) SWIG_fail;
17036 }
17037 Py_INCREF(Py_None); resultobj = Py_None;
17038 return resultobj;
17039 fail:
17040 return NULL;
17041}
17042
17043
17044static PyObject *_wrap_IdleEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17045 PyObject *resultobj;
17046 int result;
17047 char *kwnames[] = {
17048 NULL
17049 };
17050
17051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail;
17052 {
17053 PyThreadState* __tstate = wxPyBeginAllowThreads();
17054 result = (int)wxIdleEvent::GetMode();
17055
17056 wxPyEndAllowThreads(__tstate);
17057 if (PyErr_Occurred()) SWIG_fail;
17058 }
17059 resultobj = PyInt_FromLong((long)result);
17060 return resultobj;
17061 fail:
17062 return NULL;
17063}
17064
17065
17066static PyObject *_wrap_IdleEvent_CanSend(PyObject *self, PyObject *args, PyObject *kwargs) {
17067 PyObject *resultobj;
17068 wxWindow *arg1 = (wxWindow *) 0 ;
17069 bool result;
17070 PyObject * obj0 = 0 ;
17071 char *kwnames[] = {
17072 (char *) "win", NULL
17073 };
17074
17075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail;
17076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17077 {
17078 PyThreadState* __tstate = wxPyBeginAllowThreads();
17079 result = (bool)wxIdleEvent::CanSend(arg1);
17080
17081 wxPyEndAllowThreads(__tstate);
17082 if (PyErr_Occurred()) SWIG_fail;
17083 }
17084 resultobj = PyInt_FromLong((long)result);
17085 return resultobj;
17086 fail:
17087 return NULL;
17088}
17089
17090
17091static PyObject * IdleEvent_swigregister(PyObject *self, PyObject *args) {
17092 PyObject *obj;
17093 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17094 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj);
17095 Py_INCREF(obj);
17096 return Py_BuildValue((char *)"");
17097}
17098static PyObject *_wrap_new_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17099 PyObject *resultobj;
17100 int arg1 = (int) 0 ;
17101 wxEventType arg2 = (wxEventType) wxEVT_NULL ;
17102 wxPyEvent *result;
17103 char *kwnames[] = {
17104 (char *) "winid",(char *) "commandType", NULL
17105 };
17106
17107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_PyEvent",kwnames,&arg1,&arg2)) goto fail;
17108 {
17109 PyThreadState* __tstate = wxPyBeginAllowThreads();
17110 result = (wxPyEvent *)new wxPyEvent(arg1,arg2);
17111
17112 wxPyEndAllowThreads(__tstate);
17113 if (PyErr_Occurred()) SWIG_fail;
17114 }
17115 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyEvent, 1);
17116 return resultobj;
17117 fail:
17118 return NULL;
17119}
17120
17121
17122static PyObject *_wrap_delete_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17123 PyObject *resultobj;
17124 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
17125 PyObject * obj0 = 0 ;
17126 char *kwnames[] = {
17127 (char *) "self", NULL
17128 };
17129
17130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail;
17131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17132 {
17133 PyThreadState* __tstate = wxPyBeginAllowThreads();
17134 delete arg1;
17135
17136 wxPyEndAllowThreads(__tstate);
17137 if (PyErr_Occurred()) SWIG_fail;
17138 }
17139 Py_INCREF(Py_None); resultobj = Py_None;
17140 return resultobj;
17141 fail:
17142 return NULL;
17143}
17144
17145
17146static PyObject *_wrap_PyEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
17147 PyObject *resultobj;
17148 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
17149 PyObject *arg2 = (PyObject *) 0 ;
17150 PyObject * obj0 = 0 ;
17151 PyObject * obj1 = 0 ;
17152 char *kwnames[] = {
17153 (char *) "self",(char *) "self", NULL
17154 };
17155
17156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
17157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17158 arg2 = obj1;
17159 {
17160 PyThreadState* __tstate = wxPyBeginAllowThreads();
17161 (arg1)->SetSelf(arg2);
17162
17163 wxPyEndAllowThreads(__tstate);
17164 if (PyErr_Occurred()) SWIG_fail;
17165 }
17166 Py_INCREF(Py_None); resultobj = Py_None;
17167 return resultobj;
17168 fail:
17169 return NULL;
17170}
17171
17172
17173static PyObject *_wrap_PyEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
17174 PyObject *resultobj;
17175 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
17176 PyObject *result;
17177 PyObject * obj0 = 0 ;
17178 char *kwnames[] = {
17179 (char *) "self", NULL
17180 };
17181
17182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
17183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17184 {
17185 PyThreadState* __tstate = wxPyBeginAllowThreads();
17186 result = (PyObject *)(arg1)->GetSelf();
17187
17188 wxPyEndAllowThreads(__tstate);
17189 if (PyErr_Occurred()) SWIG_fail;
17190 }
17191 resultobj = result;
17192 return resultobj;
17193 fail:
17194 return NULL;
17195}
17196
17197
17198static PyObject * PyEvent_swigregister(PyObject *self, PyObject *args) {
17199 PyObject *obj;
17200 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17201 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj);
17202 Py_INCREF(obj);
17203 return Py_BuildValue((char *)"");
17204}
17205static PyObject *_wrap_new_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17206 PyObject *resultobj;
17207 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17208 int arg2 = (int) 0 ;
17209 wxPyCommandEvent *result;
17210 char *kwnames[] = {
17211 (char *) "commandType",(char *) "id", NULL
17212 };
17213
17214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_PyCommandEvent",kwnames,&arg1,&arg2)) goto fail;
17215 {
17216 PyThreadState* __tstate = wxPyBeginAllowThreads();
17217 result = (wxPyCommandEvent *)new wxPyCommandEvent(arg1,arg2);
17218
17219 wxPyEndAllowThreads(__tstate);
17220 if (PyErr_Occurred()) SWIG_fail;
17221 }
17222 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyCommandEvent, 1);
17223 return resultobj;
17224 fail:
17225 return NULL;
17226}
17227
17228
17229static PyObject *_wrap_delete_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17230 PyObject *resultobj;
17231 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
17232 PyObject * obj0 = 0 ;
17233 char *kwnames[] = {
17234 (char *) "self", NULL
17235 };
17236
17237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail;
17238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17239 {
17240 PyThreadState* __tstate = wxPyBeginAllowThreads();
17241 delete arg1;
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_PyCommandEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
17254 PyObject *resultobj;
17255 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
17256 PyObject *arg2 = (PyObject *) 0 ;
17257 PyObject * obj0 = 0 ;
17258 PyObject * obj1 = 0 ;
17259 char *kwnames[] = {
17260 (char *) "self",(char *) "self", NULL
17261 };
17262
17263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
17264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17265 arg2 = obj1;
17266 {
17267 PyThreadState* __tstate = wxPyBeginAllowThreads();
17268 (arg1)->SetSelf(arg2);
17269
17270 wxPyEndAllowThreads(__tstate);
17271 if (PyErr_Occurred()) SWIG_fail;
17272 }
17273 Py_INCREF(Py_None); resultobj = Py_None;
17274 return resultobj;
17275 fail:
17276 return NULL;
17277}
17278
17279
17280static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
17281 PyObject *resultobj;
17282 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
17283 PyObject *result;
17284 PyObject * obj0 = 0 ;
17285 char *kwnames[] = {
17286 (char *) "self", NULL
17287 };
17288
17289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
17290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17291 {
17292 PyThreadState* __tstate = wxPyBeginAllowThreads();
17293 result = (PyObject *)(arg1)->GetSelf();
17294
17295 wxPyEndAllowThreads(__tstate);
17296 if (PyErr_Occurred()) SWIG_fail;
17297 }
17298 resultobj = result;
17299 return resultobj;
17300 fail:
17301 return NULL;
17302}
17303
17304
17305static PyObject * PyCommandEvent_swigregister(PyObject *self, PyObject *args) {
17306 PyObject *obj;
17307 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17308 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj);
17309 Py_INCREF(obj);
17310 return Py_BuildValue((char *)"");
17311}
17312static PyObject *_wrap_new_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
17313 PyObject *resultobj;
17314 wxPyApp *result;
17315 char *kwnames[] = {
17316 NULL
17317 };
17318
17319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail;
17320 {
17321 PyThreadState* __tstate = wxPyBeginAllowThreads();
17322 result = (wxPyApp *)new_wxPyApp();
17323
17324 wxPyEndAllowThreads(__tstate);
17325 if (PyErr_Occurred()) SWIG_fail;
17326 }
17327 {
17328 resultobj = wxPyMake_wxObject(result);
17329 }
17330 return resultobj;
17331 fail:
17332 return NULL;
17333}
17334
17335
17336static PyObject *_wrap_delete_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
17337 PyObject *resultobj;
17338 wxPyApp *arg1 = (wxPyApp *) 0 ;
17339 PyObject * obj0 = 0 ;
17340 char *kwnames[] = {
17341 (char *) "self", NULL
17342 };
17343
17344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail;
17345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17346 {
17347 PyThreadState* __tstate = wxPyBeginAllowThreads();
17348 delete arg1;
17349
17350 wxPyEndAllowThreads(__tstate);
17351 if (PyErr_Occurred()) SWIG_fail;
17352 }
17353 Py_INCREF(Py_None); resultobj = Py_None;
17354 return resultobj;
17355 fail:
17356 return NULL;
17357}
17358
17359
17360static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17361 PyObject *resultobj;
17362 wxPyApp *arg1 = (wxPyApp *) 0 ;
17363 PyObject *arg2 = (PyObject *) 0 ;
17364 PyObject *arg3 = (PyObject *) 0 ;
17365 PyObject * obj0 = 0 ;
17366 PyObject * obj1 = 0 ;
17367 PyObject * obj2 = 0 ;
17368 char *kwnames[] = {
17369 (char *) "self",(char *) "self",(char *) "_class", NULL
17370 };
17371
17372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17374 arg2 = obj1;
17375 arg3 = obj2;
17376 {
17377 PyThreadState* __tstate = wxPyBeginAllowThreads();
17378 (arg1)->_setCallbackInfo(arg2,arg3);
17379
17380 wxPyEndAllowThreads(__tstate);
17381 if (PyErr_Occurred()) SWIG_fail;
17382 }
17383 Py_INCREF(Py_None); resultobj = Py_None;
17384 return resultobj;
17385 fail:
17386 return NULL;
17387}
17388
17389
17390static PyObject *_wrap_PyApp_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
17391 PyObject *resultobj;
17392 wxPyApp *arg1 = (wxPyApp *) 0 ;
17393 wxString result;
17394 PyObject * obj0 = 0 ;
17395 char *kwnames[] = {
17396 (char *) "self", NULL
17397 };
17398
17399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail;
17400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17401 {
17402 PyThreadState* __tstate = wxPyBeginAllowThreads();
17403 result = ((wxPyApp const *)arg1)->GetAppName();
17404
17405 wxPyEndAllowThreads(__tstate);
17406 if (PyErr_Occurred()) SWIG_fail;
17407 }
17408 {
17409#if wxUSE_UNICODE
17410 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17411#else
17412 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17413#endif
17414 }
17415 return resultobj;
17416 fail:
17417 return NULL;
17418}
17419
17420
17421static PyObject *_wrap_PyApp_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
17422 PyObject *resultobj;
17423 wxPyApp *arg1 = (wxPyApp *) 0 ;
17424 wxString *arg2 = 0 ;
423f194a 17425 bool temp2 = False ;
d14a1e28
RD
17426 PyObject * obj0 = 0 ;
17427 PyObject * obj1 = 0 ;
17428 char *kwnames[] = {
17429 (char *) "self",(char *) "name", NULL
17430 };
17431
17432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail;
17433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17434 {
17435 arg2 = wxString_in_helper(obj1);
17436 if (arg2 == NULL) SWIG_fail;
423f194a 17437 temp2 = True;
d14a1e28
RD
17438 }
17439 {
17440 PyThreadState* __tstate = wxPyBeginAllowThreads();
17441 (arg1)->SetAppName((wxString const &)*arg2);
17442
17443 wxPyEndAllowThreads(__tstate);
17444 if (PyErr_Occurred()) SWIG_fail;
17445 }
17446 Py_INCREF(Py_None); resultobj = Py_None;
17447 {
17448 if (temp2)
17449 delete arg2;
17450 }
17451 return resultobj;
17452 fail:
17453 {
17454 if (temp2)
17455 delete arg2;
17456 }
17457 return NULL;
17458}
17459
17460
17461static PyObject *_wrap_PyApp_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
17462 PyObject *resultobj;
17463 wxPyApp *arg1 = (wxPyApp *) 0 ;
17464 wxString result;
17465 PyObject * obj0 = 0 ;
17466 char *kwnames[] = {
17467 (char *) "self", NULL
17468 };
17469
17470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail;
17471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17472 {
17473 PyThreadState* __tstate = wxPyBeginAllowThreads();
17474 result = ((wxPyApp const *)arg1)->GetClassName();
17475
17476 wxPyEndAllowThreads(__tstate);
17477 if (PyErr_Occurred()) SWIG_fail;
17478 }
17479 {
17480#if wxUSE_UNICODE
17481 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17482#else
17483 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17484#endif
17485 }
17486 return resultobj;
17487 fail:
17488 return NULL;
17489}
17490
17491
17492static PyObject *_wrap_PyApp_SetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
17493 PyObject *resultobj;
17494 wxPyApp *arg1 = (wxPyApp *) 0 ;
17495 wxString *arg2 = 0 ;
423f194a 17496 bool temp2 = False ;
d14a1e28
RD
17497 PyObject * obj0 = 0 ;
17498 PyObject * obj1 = 0 ;
17499 char *kwnames[] = {
17500 (char *) "self",(char *) "name", NULL
17501 };
17502
17503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail;
17504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17505 {
17506 arg2 = wxString_in_helper(obj1);
17507 if (arg2 == NULL) SWIG_fail;
423f194a 17508 temp2 = True;
d14a1e28
RD
17509 }
17510 {
17511 PyThreadState* __tstate = wxPyBeginAllowThreads();
17512 (arg1)->SetClassName((wxString const &)*arg2);
17513
17514 wxPyEndAllowThreads(__tstate);
17515 if (PyErr_Occurred()) SWIG_fail;
17516 }
17517 Py_INCREF(Py_None); resultobj = Py_None;
17518 {
17519 if (temp2)
17520 delete arg2;
17521 }
17522 return resultobj;
17523 fail:
17524 {
17525 if (temp2)
17526 delete arg2;
17527 }
17528 return NULL;
17529}
17530
17531
17532static PyObject *_wrap_PyApp_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
17533 PyObject *resultobj;
17534 wxPyApp *arg1 = (wxPyApp *) 0 ;
17535 wxString *result;
17536 PyObject * obj0 = 0 ;
17537 char *kwnames[] = {
17538 (char *) "self", NULL
17539 };
17540
17541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail;
17542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17543 {
17544 PyThreadState* __tstate = wxPyBeginAllowThreads();
17545 {
17546 wxString const &_result_ref = ((wxPyApp const *)arg1)->GetVendorName();
17547 result = (wxString *) &_result_ref;
17548 }
17549
17550 wxPyEndAllowThreads(__tstate);
17551 if (PyErr_Occurred()) SWIG_fail;
17552 }
0f774bef
RD
17553 {
17554#if wxUSE_UNICODE
17555 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17556#else
17557 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17558#endif
17559 }
d14a1e28
RD
17560 return resultobj;
17561 fail:
17562 return NULL;
17563}
17564
17565
17566static PyObject *_wrap_PyApp_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
17567 PyObject *resultobj;
17568 wxPyApp *arg1 = (wxPyApp *) 0 ;
17569 wxString *arg2 = 0 ;
423f194a 17570 bool temp2 = False ;
d14a1e28
RD
17571 PyObject * obj0 = 0 ;
17572 PyObject * obj1 = 0 ;
17573 char *kwnames[] = {
17574 (char *) "self",(char *) "name", NULL
17575 };
17576
17577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
17578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17579 {
17580 arg2 = wxString_in_helper(obj1);
17581 if (arg2 == NULL) SWIG_fail;
423f194a 17582 temp2 = True;
d14a1e28
RD
17583 }
17584 {
17585 PyThreadState* __tstate = wxPyBeginAllowThreads();
17586 (arg1)->SetVendorName((wxString const &)*arg2);
17587
17588 wxPyEndAllowThreads(__tstate);
17589 if (PyErr_Occurred()) SWIG_fail;
17590 }
17591 Py_INCREF(Py_None); resultobj = Py_None;
17592 {
17593 if (temp2)
17594 delete arg2;
17595 }
17596 return resultobj;
17597 fail:
17598 {
17599 if (temp2)
17600 delete arg2;
17601 }
17602 return NULL;
17603}
17604
17605
17606static PyObject *_wrap_PyApp_GetTraits(PyObject *self, PyObject *args, PyObject *kwargs) {
17607 PyObject *resultobj;
17608 wxPyApp *arg1 = (wxPyApp *) 0 ;
17609 wxAppTraits *result;
17610 PyObject * obj0 = 0 ;
17611 char *kwnames[] = {
17612 (char *) "self", NULL
17613 };
17614
17615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail;
17616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17617 {
17618 PyThreadState* __tstate = wxPyBeginAllowThreads();
17619 result = (wxAppTraits *)(arg1)->GetTraits();
17620
17621 wxPyEndAllowThreads(__tstate);
17622 if (PyErr_Occurred()) SWIG_fail;
17623 }
17624 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAppTraits, 0);
17625 return resultobj;
17626 fail:
17627 return NULL;
17628}
17629
17630
17631static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
17632 PyObject *resultobj;
17633 wxPyApp *arg1 = (wxPyApp *) 0 ;
17634 PyObject * obj0 = 0 ;
17635 char *kwnames[] = {
17636 (char *) "self", NULL
17637 };
17638
17639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail;
17640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17641 {
17642 PyThreadState* __tstate = wxPyBeginAllowThreads();
17643 (arg1)->ProcessPendingEvents();
17644
17645 wxPyEndAllowThreads(__tstate);
17646 if (PyErr_Occurred()) SWIG_fail;
17647 }
17648 Py_INCREF(Py_None); resultobj = Py_None;
17649 return resultobj;
17650 fail:
17651 return NULL;
17652}
17653
17654
17655static PyObject *_wrap_PyApp_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
17656 PyObject *resultobj;
17657 wxPyApp *arg1 = (wxPyApp *) 0 ;
423f194a 17658 bool arg2 = (bool) False ;
d14a1e28
RD
17659 bool result;
17660 PyObject * obj0 = 0 ;
17661 PyObject * obj1 = 0 ;
17662 char *kwnames[] = {
17663 (char *) "self",(char *) "onlyIfNeeded", NULL
17664 };
17665
17666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail;
17667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17668 if (obj1) {
17669 arg2 = PyInt_AsLong(obj1) ? true : false;
17670 if (PyErr_Occurred()) SWIG_fail;
17671 }
17672 {
17673 PyThreadState* __tstate = wxPyBeginAllowThreads();
17674 result = (bool)(arg1)->Yield(arg2);
17675
17676 wxPyEndAllowThreads(__tstate);
17677 if (PyErr_Occurred()) SWIG_fail;
17678 }
17679 resultobj = PyInt_FromLong((long)result);
17680 return resultobj;
17681 fail:
17682 return NULL;
17683}
17684
17685
17686static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
17687 PyObject *resultobj;
17688 wxPyApp *arg1 = (wxPyApp *) 0 ;
17689 PyObject * obj0 = 0 ;
17690 char *kwnames[] = {
17691 (char *) "self", NULL
17692 };
17693
17694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail;
17695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17696 {
17697 PyThreadState* __tstate = wxPyBeginAllowThreads();
17698 (arg1)->WakeUpIdle();
17699
17700 wxPyEndAllowThreads(__tstate);
17701 if (PyErr_Occurred()) SWIG_fail;
17702 }
17703 Py_INCREF(Py_None); resultobj = Py_None;
17704 return resultobj;
17705 fail:
17706 return NULL;
17707}
17708
17709
17710static PyObject *_wrap_PyApp_MainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
17711 PyObject *resultobj;
17712 wxPyApp *arg1 = (wxPyApp *) 0 ;
17713 int result;
17714 PyObject * obj0 = 0 ;
17715 char *kwnames[] = {
17716 (char *) "self", NULL
17717 };
17718
17719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail;
17720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17721 {
17722 PyThreadState* __tstate = wxPyBeginAllowThreads();
17723 result = (int)(arg1)->MainLoop();
17724
17725 wxPyEndAllowThreads(__tstate);
17726 if (PyErr_Occurred()) SWIG_fail;
17727 }
17728 resultobj = PyInt_FromLong((long)result);
17729 return resultobj;
17730 fail:
17731 return NULL;
17732}
17733
17734
17735static PyObject *_wrap_PyApp_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
17736 PyObject *resultobj;
17737 wxPyApp *arg1 = (wxPyApp *) 0 ;
17738 PyObject * obj0 = 0 ;
17739 char *kwnames[] = {
17740 (char *) "self", NULL
17741 };
17742
17743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail;
17744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17745 {
17746 PyThreadState* __tstate = wxPyBeginAllowThreads();
17747 (arg1)->Exit();
17748
17749 wxPyEndAllowThreads(__tstate);
17750 if (PyErr_Occurred()) SWIG_fail;
17751 }
17752 Py_INCREF(Py_None); resultobj = Py_None;
17753 return resultobj;
17754 fail:
17755 return NULL;
17756}
17757
17758
17759static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
17760 PyObject *resultobj;
17761 wxPyApp *arg1 = (wxPyApp *) 0 ;
17762 PyObject * obj0 = 0 ;
17763 char *kwnames[] = {
17764 (char *) "self", NULL
17765 };
17766
17767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail;
17768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17769 {
17770 PyThreadState* __tstate = wxPyBeginAllowThreads();
17771 (arg1)->ExitMainLoop();
17772
17773 wxPyEndAllowThreads(__tstate);
17774 if (PyErr_Occurred()) SWIG_fail;
17775 }
17776 Py_INCREF(Py_None); resultobj = Py_None;
17777 return resultobj;
17778 fail:
17779 return NULL;
17780}
17781
17782
17783static PyObject *_wrap_PyApp_Pending(PyObject *self, PyObject *args, PyObject *kwargs) {
17784 PyObject *resultobj;
17785 wxPyApp *arg1 = (wxPyApp *) 0 ;
17786 bool result;
17787 PyObject * obj0 = 0 ;
17788 char *kwnames[] = {
17789 (char *) "self", NULL
17790 };
17791
17792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail;
17793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17794 {
17795 PyThreadState* __tstate = wxPyBeginAllowThreads();
17796 result = (bool)(arg1)->Pending();
17797
17798 wxPyEndAllowThreads(__tstate);
17799 if (PyErr_Occurred()) SWIG_fail;
17800 }
17801 resultobj = PyInt_FromLong((long)result);
17802 return resultobj;
17803 fail:
17804 return NULL;
17805}
17806
17807
17808static PyObject *_wrap_PyApp_Dispatch(PyObject *self, PyObject *args, PyObject *kwargs) {
17809 PyObject *resultobj;
17810 wxPyApp *arg1 = (wxPyApp *) 0 ;
17811 bool result;
17812 PyObject * obj0 = 0 ;
17813 char *kwnames[] = {
17814 (char *) "self", NULL
17815 };
17816
17817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",kwnames,&obj0)) goto fail;
17818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17819 {
17820 PyThreadState* __tstate = wxPyBeginAllowThreads();
17821 result = (bool)(arg1)->Dispatch();
17822
17823 wxPyEndAllowThreads(__tstate);
17824 if (PyErr_Occurred()) SWIG_fail;
17825 }
17826 resultobj = PyInt_FromLong((long)result);
17827 return resultobj;
17828 fail:
17829 return NULL;
17830}
17831
17832
17833static PyObject *_wrap_PyApp_ProcessIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
17834 PyObject *resultobj;
17835 wxPyApp *arg1 = (wxPyApp *) 0 ;
17836 bool result;
17837 PyObject * obj0 = 0 ;
17838 char *kwnames[] = {
17839 (char *) "self", NULL
17840 };
17841
17842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail;
17843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17844 {
17845 PyThreadState* __tstate = wxPyBeginAllowThreads();
17846 result = (bool)(arg1)->ProcessIdle();
17847
17848 wxPyEndAllowThreads(__tstate);
17849 if (PyErr_Occurred()) SWIG_fail;
17850 }
17851 resultobj = PyInt_FromLong((long)result);
17852 return resultobj;
17853 fail:
17854 return NULL;
17855}
17856
17857
17858static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
17859 PyObject *resultobj;
17860 wxPyApp *arg1 = (wxPyApp *) 0 ;
17861 wxWindow *arg2 = (wxWindow *) 0 ;
17862 wxIdleEvent *arg3 = 0 ;
17863 bool result;
17864 PyObject * obj0 = 0 ;
17865 PyObject * obj1 = 0 ;
17866 PyObject * obj2 = 0 ;
17867 char *kwnames[] = {
17868 (char *) "self",(char *) "win",(char *) "event", NULL
17869 };
17870
17871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail;
17872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17873 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17874 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxIdleEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17875 if (arg3 == NULL) {
17876 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17877 }
17878 {
17879 PyThreadState* __tstate = wxPyBeginAllowThreads();
17880 result = (bool)(arg1)->SendIdleEvents(arg2,*arg3);
17881
17882 wxPyEndAllowThreads(__tstate);
17883 if (PyErr_Occurred()) SWIG_fail;
17884 }
17885 resultobj = PyInt_FromLong((long)result);
17886 return resultobj;
17887 fail:
17888 return NULL;
17889}
17890
17891
d14a1e28
RD
17892static PyObject *_wrap_PyApp_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
17893 PyObject *resultobj;
17894 wxPyApp *arg1 = (wxPyApp *) 0 ;
17895 bool result;
17896 PyObject * obj0 = 0 ;
17897 char *kwnames[] = {
17898 (char *) "self", NULL
17899 };
17900
17901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
17902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17903 {
17904 PyThreadState* __tstate = wxPyBeginAllowThreads();
17905 result = (bool)((wxPyApp const *)arg1)->IsActive();
17906
17907 wxPyEndAllowThreads(__tstate);
17908 if (PyErr_Occurred()) SWIG_fail;
17909 }
17910 resultobj = PyInt_FromLong((long)result);
17911 return resultobj;
17912 fail:
17913 return NULL;
17914}
17915
17916
17917static PyObject *_wrap_PyApp_SetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17918 PyObject *resultobj;
17919 wxPyApp *arg1 = (wxPyApp *) 0 ;
17920 wxWindow *arg2 = (wxWindow *) 0 ;
17921 PyObject * obj0 = 0 ;
17922 PyObject * obj1 = 0 ;
17923 char *kwnames[] = {
17924 (char *) "self",(char *) "win", NULL
17925 };
17926
17927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
17928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17929 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17930 {
17931 PyThreadState* __tstate = wxPyBeginAllowThreads();
17932 (arg1)->SetTopWindow(arg2);
17933
17934 wxPyEndAllowThreads(__tstate);
17935 if (PyErr_Occurred()) SWIG_fail;
17936 }
17937 Py_INCREF(Py_None); resultobj = Py_None;
17938 return resultobj;
17939 fail:
17940 return NULL;
17941}
17942
17943
17944static PyObject *_wrap_PyApp_GetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17945 PyObject *resultobj;
17946 wxPyApp *arg1 = (wxPyApp *) 0 ;
17947 wxWindow *result;
17948 PyObject * obj0 = 0 ;
17949 char *kwnames[] = {
17950 (char *) "self", NULL
17951 };
17952
17953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
17954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17955 {
17956 PyThreadState* __tstate = wxPyBeginAllowThreads();
17957 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
17958
17959 wxPyEndAllowThreads(__tstate);
17960 if (PyErr_Occurred()) SWIG_fail;
17961 }
17962 {
17963 resultobj = wxPyMake_wxObject(result);
17964 }
17965 return resultobj;
17966 fail:
17967 return NULL;
17968}
17969
17970
17971static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
17972 PyObject *resultobj;
17973 wxPyApp *arg1 = (wxPyApp *) 0 ;
17974 bool arg2 ;
17975 PyObject * obj0 = 0 ;
17976 PyObject * obj1 = 0 ;
17977 char *kwnames[] = {
17978 (char *) "self",(char *) "flag", NULL
17979 };
17980
17981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
17982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17983 arg2 = PyInt_AsLong(obj1) ? true : false;
17984 if (PyErr_Occurred()) SWIG_fail;
17985 {
17986 PyThreadState* __tstate = wxPyBeginAllowThreads();
17987 (arg1)->SetExitOnFrameDelete(arg2);
17988
17989 wxPyEndAllowThreads(__tstate);
17990 if (PyErr_Occurred()) SWIG_fail;
17991 }
17992 Py_INCREF(Py_None); resultobj = Py_None;
17993 return resultobj;
17994 fail:
17995 return NULL;
17996}
17997
17998
17999static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
18000 PyObject *resultobj;
18001 wxPyApp *arg1 = (wxPyApp *) 0 ;
18002 bool result;
18003 PyObject * obj0 = 0 ;
18004 char *kwnames[] = {
18005 (char *) "self", NULL
18006 };
18007
18008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
18009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18010 {
18011 PyThreadState* __tstate = wxPyBeginAllowThreads();
18012 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
18013
18014 wxPyEndAllowThreads(__tstate);
18015 if (PyErr_Occurred()) SWIG_fail;
18016 }
18017 resultobj = PyInt_FromLong((long)result);
18018 return resultobj;
18019 fail:
18020 return NULL;
18021}
18022
18023
18024static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
18025 PyObject *resultobj;
18026 wxPyApp *arg1 = (wxPyApp *) 0 ;
18027 bool arg2 ;
18028 PyObject * obj0 = 0 ;
18029 PyObject * obj1 = 0 ;
18030 char *kwnames[] = {
18031 (char *) "self",(char *) "flag", NULL
18032 };
18033
18034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
18035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18036 arg2 = PyInt_AsLong(obj1) ? true : false;
18037 if (PyErr_Occurred()) SWIG_fail;
18038 {
18039 PyThreadState* __tstate = wxPyBeginAllowThreads();
18040 (arg1)->SetUseBestVisual(arg2);
18041
18042 wxPyEndAllowThreads(__tstate);
18043 if (PyErr_Occurred()) SWIG_fail;
18044 }
18045 Py_INCREF(Py_None); resultobj = Py_None;
18046 return resultobj;
18047 fail:
18048 return NULL;
18049}
18050
18051
18052static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
18053 PyObject *resultobj;
18054 wxPyApp *arg1 = (wxPyApp *) 0 ;
18055 bool result;
18056 PyObject * obj0 = 0 ;
18057 char *kwnames[] = {
18058 (char *) "self", NULL
18059 };
18060
18061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
18062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18063 {
18064 PyThreadState* __tstate = wxPyBeginAllowThreads();
18065 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
18066
18067 wxPyEndAllowThreads(__tstate);
18068 if (PyErr_Occurred()) SWIG_fail;
18069 }
18070 resultobj = PyInt_FromLong((long)result);
18071 return resultobj;
18072 fail:
18073 return NULL;
18074}
18075
18076
18077static PyObject *_wrap_PyApp_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18078 PyObject *resultobj;
18079 wxPyApp *arg1 = (wxPyApp *) 0 ;
18080 int arg2 ;
18081 PyObject * obj0 = 0 ;
18082 char *kwnames[] = {
18083 (char *) "self",(char *) "mode", NULL
18084 };
18085
18086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyApp_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
18087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18088 {
18089 PyThreadState* __tstate = wxPyBeginAllowThreads();
18090 (arg1)->SetPrintMode(arg2);
18091
18092 wxPyEndAllowThreads(__tstate);
18093 if (PyErr_Occurred()) SWIG_fail;
18094 }
18095 Py_INCREF(Py_None); resultobj = Py_None;
18096 return resultobj;
18097 fail:
18098 return NULL;
18099}
18100
18101
18102static PyObject *_wrap_PyApp_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18103 PyObject *resultobj;
18104 wxPyApp *arg1 = (wxPyApp *) 0 ;
18105 int result;
18106 PyObject * obj0 = 0 ;
18107 char *kwnames[] = {
18108 (char *) "self", NULL
18109 };
18110
18111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
18112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18113 {
18114 PyThreadState* __tstate = wxPyBeginAllowThreads();
18115 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
18116
18117 wxPyEndAllowThreads(__tstate);
18118 if (PyErr_Occurred()) SWIG_fail;
18119 }
18120 resultobj = PyInt_FromLong((long)result);
18121 return resultobj;
18122 fail:
18123 return NULL;
18124}
18125
18126
44127b65 18127static PyObject *_wrap_PyApp_SetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18128 PyObject *resultobj;
18129 wxPyApp *arg1 = (wxPyApp *) 0 ;
44127b65 18130 int arg2 ;
d14a1e28
RD
18131 PyObject * obj0 = 0 ;
18132 char *kwnames[] = {
44127b65 18133 (char *) "self",(char *) "mode", NULL
d14a1e28
RD
18134 };
18135
44127b65 18136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyApp_SetAssertMode",kwnames,&obj0,&arg2)) goto fail;
d14a1e28
RD
18137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18138 {
18139 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 18140 (arg1)->SetAssertMode(arg2);
d14a1e28
RD
18141
18142 wxPyEndAllowThreads(__tstate);
18143 if (PyErr_Occurred()) SWIG_fail;
18144 }
44127b65 18145 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
18146 return resultobj;
18147 fail:
18148 return NULL;
18149}
18150
18151
44127b65 18152static PyObject *_wrap_PyApp_GetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18153 PyObject *resultobj;
18154 wxPyApp *arg1 = (wxPyApp *) 0 ;
44127b65 18155 int result;
d14a1e28
RD
18156 PyObject * obj0 = 0 ;
18157 char *kwnames[] = {
44127b65 18158 (char *) "self", NULL
d14a1e28
RD
18159 };
18160
44127b65 18161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
d14a1e28
RD
18162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18163 {
18164 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 18165 result = (int)(arg1)->GetAssertMode();
d14a1e28
RD
18166
18167 wxPyEndAllowThreads(__tstate);
18168 if (PyErr_Occurred()) SWIG_fail;
18169 }
44127b65 18170 resultobj = PyInt_FromLong((long)result);
d14a1e28
RD
18171 return resultobj;
18172 fail:
18173 return NULL;
18174}
18175
18176
18177static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
18178 PyObject *resultobj;
18179 bool result;
18180 char *kwnames[] = {
18181 NULL
18182 };
18183
18184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
18185 {
18186 PyThreadState* __tstate = wxPyBeginAllowThreads();
18187 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
18188
18189 wxPyEndAllowThreads(__tstate);
18190 if (PyErr_Occurred()) SWIG_fail;
18191 }
18192 resultobj = PyInt_FromLong((long)result);
18193 return resultobj;
18194 fail:
18195 return NULL;
18196}
18197
18198
18199static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18200 PyObject *resultobj;
18201 long result;
18202 char *kwnames[] = {
18203 NULL
18204 };
18205
18206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
18207 {
18208 PyThreadState* __tstate = wxPyBeginAllowThreads();
18209 result = (long)wxPyApp::GetMacAboutMenuItemId();
18210
18211 wxPyEndAllowThreads(__tstate);
18212 if (PyErr_Occurred()) SWIG_fail;
18213 }
18214 resultobj = PyInt_FromLong((long)result);
18215 return resultobj;
18216 fail:
18217 return NULL;
18218}
18219
18220
18221static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18222 PyObject *resultobj;
18223 long result;
18224 char *kwnames[] = {
18225 NULL
18226 };
18227
18228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
18229 {
18230 PyThreadState* __tstate = wxPyBeginAllowThreads();
18231 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
18232
18233 wxPyEndAllowThreads(__tstate);
18234 if (PyErr_Occurred()) SWIG_fail;
18235 }
18236 resultobj = PyInt_FromLong((long)result);
18237 return resultobj;
18238 fail:
18239 return NULL;
18240}
18241
18242
18243static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18244 PyObject *resultobj;
18245 long result;
18246 char *kwnames[] = {
18247 NULL
18248 };
18249
18250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
18251 {
18252 PyThreadState* __tstate = wxPyBeginAllowThreads();
18253 result = (long)wxPyApp::GetMacExitMenuItemId();
18254
18255 wxPyEndAllowThreads(__tstate);
18256 if (PyErr_Occurred()) SWIG_fail;
18257 }
18258 resultobj = PyInt_FromLong((long)result);
18259 return resultobj;
18260 fail:
18261 return NULL;
18262}
18263
18264
18265static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
18266 PyObject *resultobj;
18267 wxString result;
18268 char *kwnames[] = {
18269 NULL
18270 };
18271
18272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
18273 {
18274 PyThreadState* __tstate = wxPyBeginAllowThreads();
18275 result = wxPyApp::GetMacHelpMenuTitleName();
18276
18277 wxPyEndAllowThreads(__tstate);
18278 if (PyErr_Occurred()) SWIG_fail;
18279 }
18280 {
18281#if wxUSE_UNICODE
18282 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18283#else
18284 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18285#endif
18286 }
18287 return resultobj;
18288 fail:
18289 return NULL;
18290}
18291
18292
18293static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
18294 PyObject *resultobj;
18295 bool arg1 ;
18296 PyObject * obj0 = 0 ;
18297 char *kwnames[] = {
18298 (char *) "val", NULL
18299 };
18300
18301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
18302 arg1 = PyInt_AsLong(obj0) ? true : false;
18303 if (PyErr_Occurred()) SWIG_fail;
18304 {
18305 PyThreadState* __tstate = wxPyBeginAllowThreads();
18306 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
18307
18308 wxPyEndAllowThreads(__tstate);
18309 if (PyErr_Occurred()) SWIG_fail;
18310 }
18311 Py_INCREF(Py_None); resultobj = Py_None;
18312 return resultobj;
18313 fail:
18314 return NULL;
18315}
18316
18317
18318static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18319 PyObject *resultobj;
18320 long arg1 ;
18321 char *kwnames[] = {
18322 (char *) "val", NULL
18323 };
18324
18325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:PyApp_SetMacAboutMenuItemId",kwnames,&arg1)) goto fail;
18326 {
18327 PyThreadState* __tstate = wxPyBeginAllowThreads();
18328 wxPyApp::SetMacAboutMenuItemId(arg1);
18329
18330 wxPyEndAllowThreads(__tstate);
18331 if (PyErr_Occurred()) SWIG_fail;
18332 }
18333 Py_INCREF(Py_None); resultobj = Py_None;
18334 return resultobj;
18335 fail:
18336 return NULL;
18337}
18338
18339
18340static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18341 PyObject *resultobj;
18342 long arg1 ;
18343 char *kwnames[] = {
18344 (char *) "val", NULL
18345 };
18346
18347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:PyApp_SetMacPreferencesMenuItemId",kwnames,&arg1)) goto fail;
18348 {
18349 PyThreadState* __tstate = wxPyBeginAllowThreads();
18350 wxPyApp::SetMacPreferencesMenuItemId(arg1);
18351
18352 wxPyEndAllowThreads(__tstate);
18353 if (PyErr_Occurred()) SWIG_fail;
18354 }
18355 Py_INCREF(Py_None); resultobj = Py_None;
18356 return resultobj;
18357 fail:
18358 return NULL;
18359}
18360
18361
18362static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18363 PyObject *resultobj;
18364 long arg1 ;
18365 char *kwnames[] = {
18366 (char *) "val", NULL
18367 };
18368
18369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:PyApp_SetMacExitMenuItemId",kwnames,&arg1)) goto fail;
18370 {
18371 PyThreadState* __tstate = wxPyBeginAllowThreads();
18372 wxPyApp::SetMacExitMenuItemId(arg1);
18373
18374 wxPyEndAllowThreads(__tstate);
18375 if (PyErr_Occurred()) SWIG_fail;
18376 }
18377 Py_INCREF(Py_None); resultobj = Py_None;
18378 return resultobj;
18379 fail:
18380 return NULL;
18381}
18382
18383
18384static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
18385 PyObject *resultobj;
18386 wxString *arg1 = 0 ;
423f194a 18387 bool temp1 = False ;
d14a1e28
RD
18388 PyObject * obj0 = 0 ;
18389 char *kwnames[] = {
18390 (char *) "val", NULL
18391 };
18392
18393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
18394 {
18395 arg1 = wxString_in_helper(obj0);
18396 if (arg1 == NULL) SWIG_fail;
423f194a 18397 temp1 = True;
d14a1e28
RD
18398 }
18399 {
18400 PyThreadState* __tstate = wxPyBeginAllowThreads();
18401 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
18402
18403 wxPyEndAllowThreads(__tstate);
18404 if (PyErr_Occurred()) SWIG_fail;
18405 }
18406 Py_INCREF(Py_None); resultobj = Py_None;
18407 {
18408 if (temp1)
18409 delete arg1;
18410 }
18411 return resultobj;
18412 fail:
18413 {
18414 if (temp1)
18415 delete arg1;
18416 }
18417 return NULL;
18418}
18419
18420
18421static PyObject *_wrap_PyApp__BootstrapApp(PyObject *self, PyObject *args, PyObject *kwargs) {
18422 PyObject *resultobj;
18423 wxPyApp *arg1 = (wxPyApp *) 0 ;
18424 PyObject * obj0 = 0 ;
18425 char *kwnames[] = {
18426 (char *) "self", NULL
18427 };
18428
18429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
18430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18431 {
18432 PyThreadState* __tstate = wxPyBeginAllowThreads();
18433 (arg1)->_BootstrapApp();
18434
18435 wxPyEndAllowThreads(__tstate);
18436 if (PyErr_Occurred()) SWIG_fail;
18437 }
18438 Py_INCREF(Py_None); resultobj = Py_None;
18439 return resultobj;
18440 fail:
18441 return NULL;
18442}
18443
18444
18445static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *self, PyObject *args, PyObject *kwargs) {
18446 PyObject *resultobj;
18447 int result;
18448 char *kwnames[] = {
18449 NULL
18450 };
18451
18452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
18453 {
18454 PyThreadState* __tstate = wxPyBeginAllowThreads();
18455 result = (int)PyApp_GetComCtl32Version();
18456
18457 wxPyEndAllowThreads(__tstate);
18458 if (PyErr_Occurred()) SWIG_fail;
18459 }
18460 resultobj = PyInt_FromLong((long)result);
18461 return resultobj;
18462 fail:
18463 return NULL;
18464}
18465
18466
18467static PyObject * PyApp_swigregister(PyObject *self, PyObject *args) {
18468 PyObject *obj;
18469 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18470 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
18471 Py_INCREF(obj);
18472 return Py_BuildValue((char *)"");
18473}
18474static PyObject *_wrap_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
18475 PyObject *resultobj;
18476 char *kwnames[] = {
18477 NULL
18478 };
18479
18480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
18481 {
18482 PyThreadState* __tstate = wxPyBeginAllowThreads();
18483 wxExit();
18484
18485 wxPyEndAllowThreads(__tstate);
18486 if (PyErr_Occurred()) SWIG_fail;
18487 }
18488 Py_INCREF(Py_None); resultobj = Py_None;
18489 return resultobj;
18490 fail:
18491 return NULL;
18492}
18493
18494
18495static PyObject *_wrap_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
18496 PyObject *resultobj;
18497 bool result;
18498 char *kwnames[] = {
18499 NULL
18500 };
18501
18502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
18503 {
18504 PyThreadState* __tstate = wxPyBeginAllowThreads();
18505 result = (bool)wxYield();
18506
18507 wxPyEndAllowThreads(__tstate);
18508 if (PyErr_Occurred()) SWIG_fail;
18509 }
18510 resultobj = PyInt_FromLong((long)result);
18511 return resultobj;
18512 fail:
18513 return NULL;
18514}
18515
18516
18517static PyObject *_wrap_YieldIfNeeded(PyObject *self, PyObject *args, PyObject *kwargs) {
18518 PyObject *resultobj;
18519 bool result;
18520 char *kwnames[] = {
18521 NULL
18522 };
18523
18524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
18525 {
18526 PyThreadState* __tstate = wxPyBeginAllowThreads();
18527 result = (bool)wxYieldIfNeeded();
18528
18529 wxPyEndAllowThreads(__tstate);
18530 if (PyErr_Occurred()) SWIG_fail;
18531 }
18532 resultobj = PyInt_FromLong((long)result);
18533 return resultobj;
18534 fail:
18535 return NULL;
18536}
18537
18538
18539static PyObject *_wrap_SafeYield(PyObject *self, PyObject *args, PyObject *kwargs) {
18540 PyObject *resultobj;
18541 wxWindow *arg1 = (wxWindow *) NULL ;
423f194a 18542 bool arg2 = (bool) False ;
d14a1e28
RD
18543 bool result;
18544 PyObject * obj0 = 0 ;
18545 PyObject * obj1 = 0 ;
18546 char *kwnames[] = {
18547 (char *) "win",(char *) "onlyIfNeeded", NULL
18548 };
18549
18550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
18551 if (obj0) {
18552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18553 }
18554 if (obj1) {
18555 arg2 = PyInt_AsLong(obj1) ? true : false;
18556 if (PyErr_Occurred()) SWIG_fail;
18557 }
18558 {
18559 PyThreadState* __tstate = wxPyBeginAllowThreads();
18560 result = (bool)wxSafeYield(arg1,arg2);
18561
18562 wxPyEndAllowThreads(__tstate);
18563 if (PyErr_Occurred()) SWIG_fail;
18564 }
18565 resultobj = PyInt_FromLong((long)result);
18566 return resultobj;
18567 fail:
18568 return NULL;
18569}
18570
18571
18572static PyObject *_wrap_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
18573 PyObject *resultobj;
18574 char *kwnames[] = {
18575 NULL
18576 };
18577
18578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
18579 {
18580 PyThreadState* __tstate = wxPyBeginAllowThreads();
18581 wxWakeUpIdle();
18582
18583 wxPyEndAllowThreads(__tstate);
18584 if (PyErr_Occurred()) SWIG_fail;
18585 }
18586 Py_INCREF(Py_None); resultobj = Py_None;
18587 return resultobj;
18588 fail:
18589 return NULL;
18590}
18591
18592
18593static PyObject *_wrap_PostEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18594 PyObject *resultobj;
18595 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
18596 wxEvent *arg2 = 0 ;
18597 PyObject * obj0 = 0 ;
18598 PyObject * obj1 = 0 ;
18599 char *kwnames[] = {
18600 (char *) "dest",(char *) "event", NULL
18601 };
18602
18603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
18604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18605 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18606 if (arg2 == NULL) {
18607 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18608 }
18609 {
18610 PyThreadState* __tstate = wxPyBeginAllowThreads();
18611 wxPostEvent(arg1,*arg2);
18612
18613 wxPyEndAllowThreads(__tstate);
18614 if (PyErr_Occurred()) SWIG_fail;
18615 }
18616 Py_INCREF(Py_None); resultobj = Py_None;
18617 return resultobj;
18618 fail:
18619 return NULL;
18620}
18621
18622
18623static PyObject *_wrap_App_CleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
18624 PyObject *resultobj;
18625 char *kwnames[] = {
18626 NULL
18627 };
18628
18629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
18630 {
18631 PyThreadState* __tstate = wxPyBeginAllowThreads();
18632 wxApp_CleanUp();
18633
18634 wxPyEndAllowThreads(__tstate);
18635 if (PyErr_Occurred()) SWIG_fail;
18636 }
18637 Py_INCREF(Py_None); resultobj = Py_None;
18638 return resultobj;
18639 fail:
18640 return NULL;
18641}
18642
18643
18644static PyObject *_wrap_GetApp(PyObject *self, PyObject *args, PyObject *kwargs) {
18645 PyObject *resultobj;
18646 wxPyApp *result;
18647 char *kwnames[] = {
18648 NULL
18649 };
18650
18651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
18652 {
18653 PyThreadState* __tstate = wxPyBeginAllowThreads();
18654 result = (wxPyApp *)wxGetApp();
18655
18656 wxPyEndAllowThreads(__tstate);
18657 if (PyErr_Occurred()) SWIG_fail;
18658 }
18659 {
18660 resultobj = wxPyMake_wxObject(result);
18661 }
18662 return resultobj;
18663 fail:
18664 return NULL;
18665}
18666
18667
41f1cec7
RD
18668static PyObject *_wrap_new_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
18669 PyObject *resultobj;
18670 int arg1 = (int) 0 ;
18671 int arg2 = (int) 0 ;
18672 int arg3 = (int) 0 ;
18673 wxMenuItem *arg4 = (wxMenuItem *) NULL ;
18674 wxAcceleratorEntry *result;
18675 PyObject * obj3 = 0 ;
18676 char *kwnames[] = {
18677 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
18678 };
18679
18680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiiO:new_AcceleratorEntry",kwnames,&arg1,&arg2,&arg3,&obj3)) goto fail;
18681 if (obj3) {
18682 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18683 }
18684 {
18685 PyThreadState* __tstate = wxPyBeginAllowThreads();
18686 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3,arg4);
18687
18688 wxPyEndAllowThreads(__tstate);
18689 if (PyErr_Occurred()) SWIG_fail;
18690 }
18691 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 1);
18692 return resultobj;
18693 fail:
18694 return NULL;
18695}
18696
18697
18698static PyObject *_wrap_delete_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
18699 PyObject *resultobj;
18700 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
18701 PyObject * obj0 = 0 ;
18702 char *kwnames[] = {
18703 (char *) "self", NULL
18704 };
18705
18706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
18707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18708 {
18709 PyThreadState* __tstate = wxPyBeginAllowThreads();
18710 delete arg1;
18711
18712 wxPyEndAllowThreads(__tstate);
18713 if (PyErr_Occurred()) SWIG_fail;
18714 }
18715 Py_INCREF(Py_None); resultobj = Py_None;
18716 return resultobj;
18717 fail:
18718 return NULL;
18719}
18720
18721
18722static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
18723 PyObject *resultobj;
18724 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
18725 int arg2 ;
18726 int arg3 ;
18727 int arg4 ;
18728 wxMenuItem *arg5 = (wxMenuItem *) NULL ;
18729 PyObject * obj0 = 0 ;
18730 PyObject * obj4 = 0 ;
18731 char *kwnames[] = {
18732 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
18733 };
18734
18735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii|O:AcceleratorEntry_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
18736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18737 if (obj4) {
18738 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18739 }
18740 {
18741 PyThreadState* __tstate = wxPyBeginAllowThreads();
18742 (arg1)->Set(arg2,arg3,arg4,arg5);
18743
18744 wxPyEndAllowThreads(__tstate);
18745 if (PyErr_Occurred()) SWIG_fail;
18746 }
18747 Py_INCREF(Py_None); resultobj = Py_None;
18748 return resultobj;
18749 fail:
18750 return NULL;
18751}
18752
18753
18754static PyObject *_wrap_AcceleratorEntry_SetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18755 PyObject *resultobj;
18756 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
18757 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
18758 PyObject * obj0 = 0 ;
18759 PyObject * obj1 = 0 ;
18760 char *kwnames[] = {
18761 (char *) "self",(char *) "item", NULL
18762 };
18763
18764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames,&obj0,&obj1)) goto fail;
18765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18766 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18767 {
18768 PyThreadState* __tstate = wxPyBeginAllowThreads();
18769 (arg1)->SetMenuItem(arg2);
18770
18771 wxPyEndAllowThreads(__tstate);
18772 if (PyErr_Occurred()) SWIG_fail;
18773 }
18774 Py_INCREF(Py_None); resultobj = Py_None;
18775 return resultobj;
18776 fail:
18777 return NULL;
18778}
18779
18780
18781static PyObject *_wrap_AcceleratorEntry_GetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18782 PyObject *resultobj;
18783 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
18784 wxMenuItem *result;
18785 PyObject * obj0 = 0 ;
18786 char *kwnames[] = {
18787 (char *) "self", NULL
18788 };
18789
18790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames,&obj0)) goto fail;
18791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18792 {
18793 PyThreadState* __tstate = wxPyBeginAllowThreads();
18794 result = (wxMenuItem *)((wxAcceleratorEntry const *)arg1)->GetMenuItem();
18795
18796 wxPyEndAllowThreads(__tstate);
18797 if (PyErr_Occurred()) SWIG_fail;
18798 }
18799 {
18800 resultobj = wxPyMake_wxObject(result);
18801 }
18802 return resultobj;
18803 fail:
18804 return NULL;
18805}
18806
18807
18808static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
18809 PyObject *resultobj;
18810 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
18811 int result;
18812 PyObject * obj0 = 0 ;
18813 char *kwnames[] = {
18814 (char *) "self", NULL
18815 };
18816
18817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
18818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18819 {
18820 PyThreadState* __tstate = wxPyBeginAllowThreads();
18821 result = (int)(arg1)->GetFlags();
18822
18823 wxPyEndAllowThreads(__tstate);
18824 if (PyErr_Occurred()) SWIG_fail;
18825 }
18826 resultobj = PyInt_FromLong((long)result);
18827 return resultobj;
18828 fail:
18829 return NULL;
18830}
18831
18832
18833static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
18834 PyObject *resultobj;
18835 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
18836 int result;
18837 PyObject * obj0 = 0 ;
18838 char *kwnames[] = {
18839 (char *) "self", NULL
18840 };
18841
18842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
18843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18844 {
18845 PyThreadState* __tstate = wxPyBeginAllowThreads();
18846 result = (int)(arg1)->GetKeyCode();
18847
18848 wxPyEndAllowThreads(__tstate);
18849 if (PyErr_Occurred()) SWIG_fail;
18850 }
18851 resultobj = PyInt_FromLong((long)result);
18852 return resultobj;
18853 fail:
18854 return NULL;
18855}
18856
18857
18858static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18859 PyObject *resultobj;
18860 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
18861 int result;
18862 PyObject * obj0 = 0 ;
18863 char *kwnames[] = {
18864 (char *) "self", NULL
18865 };
18866
18867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
18868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18869 {
18870 PyThreadState* __tstate = wxPyBeginAllowThreads();
18871 result = (int)(arg1)->GetCommand();
18872
18873 wxPyEndAllowThreads(__tstate);
18874 if (PyErr_Occurred()) SWIG_fail;
18875 }
18876 resultobj = PyInt_FromLong((long)result);
18877 return resultobj;
18878 fail:
18879 return NULL;
18880}
18881
18882
18883static PyObject * AcceleratorEntry_swigregister(PyObject *self, PyObject *args) {
18884 PyObject *obj;
18885 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18886 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
18887 Py_INCREF(obj);
18888 return Py_BuildValue((char *)"");
18889}
18890static PyObject *_wrap_new_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
18891 PyObject *resultobj;
18892 int arg1 ;
18893 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
18894 wxAcceleratorTable *result;
18895 PyObject * obj0 = 0 ;
18896 char *kwnames[] = {
18897 (char *) "n", NULL
18898 };
18899
18900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
18901 {
18902 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
18903 if (arg2) arg1 = PyList_Size(obj0);
18904 else arg1 = 0;
18905 }
18906 {
18907 PyThreadState* __tstate = wxPyBeginAllowThreads();
18908 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
18909
18910 wxPyEndAllowThreads(__tstate);
18911 if (PyErr_Occurred()) SWIG_fail;
18912 }
18913 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorTable, 1);
18914 {
18915 delete [] arg2;
18916 }
18917 return resultobj;
18918 fail:
18919 {
18920 delete [] arg2;
18921 }
18922 return NULL;
18923}
18924
18925
18926static PyObject *_wrap_delete_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
18927 PyObject *resultobj;
18928 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
18929 PyObject * obj0 = 0 ;
18930 char *kwnames[] = {
18931 (char *) "self", NULL
18932 };
18933
18934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
18935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18936 {
18937 PyThreadState* __tstate = wxPyBeginAllowThreads();
18938 delete arg1;
18939
18940 wxPyEndAllowThreads(__tstate);
18941 if (PyErr_Occurred()) SWIG_fail;
18942 }
18943 Py_INCREF(Py_None); resultobj = Py_None;
18944 return resultobj;
18945 fail:
18946 return NULL;
18947}
18948
18949
18950static PyObject *_wrap_AcceleratorTable_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
18951 PyObject *resultobj;
18952 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
18953 bool result;
18954 PyObject * obj0 = 0 ;
18955 char *kwnames[] = {
18956 (char *) "self", NULL
18957 };
18958
18959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
18960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18961 {
18962 PyThreadState* __tstate = wxPyBeginAllowThreads();
18963 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
18964
18965 wxPyEndAllowThreads(__tstate);
18966 if (PyErr_Occurred()) SWIG_fail;
18967 }
18968 resultobj = PyInt_FromLong((long)result);
18969 return resultobj;
18970 fail:
18971 return NULL;
18972}
18973
18974
18975static PyObject * AcceleratorTable_swigregister(PyObject *self, PyObject *args) {
18976 PyObject *obj;
18977 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18978 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
18979 Py_INCREF(obj);
18980 return Py_BuildValue((char *)"");
18981}
18982static int _wrap_NullAcceleratorTable_set(PyObject *_val) {
18983 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
18984 return 1;
18985}
18986
18987
18988static PyObject *_wrap_NullAcceleratorTable_get() {
18989 PyObject *pyobj;
18990
18991 pyobj = SWIG_NewPointerObj((void *) &wxNullAcceleratorTable, SWIGTYPE_p_wxAcceleratorTable, 0);
18992 return pyobj;
18993}
18994
18995
18996static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) {
18997 PyObject *resultobj;
18998 wxString *arg1 = 0 ;
18999 wxAcceleratorEntry *result;
19000 bool temp1 = False ;
19001 PyObject * obj0 = 0 ;
19002 char *kwnames[] = {
19003 (char *) "label", NULL
19004 };
19005
19006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
19007 {
19008 arg1 = wxString_in_helper(obj0);
19009 if (arg1 == NULL) SWIG_fail;
19010 temp1 = True;
19011 }
19012 {
19013 PyThreadState* __tstate = wxPyBeginAllowThreads();
19014 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
19015
19016 wxPyEndAllowThreads(__tstate);
19017 if (PyErr_Occurred()) SWIG_fail;
19018 }
19019 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 0);
19020 {
19021 if (temp1)
19022 delete arg1;
19023 }
19024 return resultobj;
19025 fail:
19026 {
19027 if (temp1)
19028 delete arg1;
19029 }
19030 return NULL;
19031}
19032
19033
423f194a
RD
19034static int _wrap_PanelNameStr_set(PyObject *_val) {
19035 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
19036 return 1;
19037}
19038
19039
19040static PyObject *_wrap_PanelNameStr_get() {
19041 PyObject *pyobj;
19042
19043 {
19044#if wxUSE_UNICODE
19045 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
19046#else
19047 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
19048#endif
19049 }
19050 return pyobj;
19051}
19052
19053
d14a1e28
RD
19054static PyObject *_wrap_new_Window(PyObject *self, PyObject *args, PyObject *kwargs) {
19055 PyObject *resultobj;
19056 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 19057 int arg2 ;
d14a1e28
RD
19058 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19059 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19060 wxSize const &arg4_defvalue = wxDefaultSize ;
19061 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19062 long arg5 = (long) 0 ;
19063 wxString const &arg6_defvalue = wxPyPanelNameStr ;
19064 wxString *arg6 = (wxString *) &arg6_defvalue ;
19065 wxWindow *result;
19066 wxPoint temp3 ;
19067 wxSize temp4 ;
423f194a 19068 bool temp6 = False ;
d14a1e28
RD
19069 PyObject * obj0 = 0 ;
19070 PyObject * obj2 = 0 ;
19071 PyObject * obj3 = 0 ;
19072 PyObject * obj5 = 0 ;
19073 char *kwnames[] = {
19074 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19075 };
19076
19077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Window",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
19078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19079 if (obj2) {
19080 {
19081 arg3 = &temp3;
19082 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19083 }
19084 }
19085 if (obj3) {
19086 {
19087 arg4 = &temp4;
19088 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19089 }
19090 }
19091 if (obj5) {
19092 {
19093 arg6 = wxString_in_helper(obj5);
19094 if (arg6 == NULL) SWIG_fail;
423f194a 19095 temp6 = True;
d14a1e28
RD
19096 }
19097 }
19098 {
19099 PyThreadState* __tstate = wxPyBeginAllowThreads();
19100 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19101
19102 wxPyEndAllowThreads(__tstate);
19103 if (PyErr_Occurred()) SWIG_fail;
19104 }
19105 {
19106 resultobj = wxPyMake_wxObject(result);
19107 }
19108 {
19109 if (temp6)
19110 delete arg6;
19111 }
19112 return resultobj;
19113 fail:
19114 {
19115 if (temp6)
19116 delete arg6;
19117 }
19118 return NULL;
19119}
19120
19121
19122static PyObject *_wrap_new_PreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19123 PyObject *resultobj;
19124 wxWindow *result;
19125 char *kwnames[] = {
19126 NULL
19127 };
19128
19129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
19130 {
19131 PyThreadState* __tstate = wxPyBeginAllowThreads();
19132 result = (wxWindow *)new wxWindow();
19133
19134 wxPyEndAllowThreads(__tstate);
19135 if (PyErr_Occurred()) SWIG_fail;
19136 }
19137 {
19138 resultobj = wxPyMake_wxObject(result);
19139 }
19140 return resultobj;
19141 fail:
19142 return NULL;
19143}
19144
19145
19146static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19147 PyObject *resultobj;
19148 wxWindow *arg1 = (wxWindow *) 0 ;
19149 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 19150 int arg3 ;
d14a1e28
RD
19151 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19152 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19153 wxSize const &arg5_defvalue = wxDefaultSize ;
19154 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19155 long arg6 = (long) 0 ;
19156 wxString const &arg7_defvalue = wxPyPanelNameStr ;
19157 wxString *arg7 = (wxString *) &arg7_defvalue ;
19158 bool result;
19159 wxPoint temp4 ;
19160 wxSize temp5 ;
423f194a 19161 bool temp7 = False ;
d14a1e28
RD
19162 PyObject * obj0 = 0 ;
19163 PyObject * obj1 = 0 ;
19164 PyObject * obj3 = 0 ;
19165 PyObject * obj4 = 0 ;
19166 PyObject * obj6 = 0 ;
19167 char *kwnames[] = {
19168 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19169 };
19170
19171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Window_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
19172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19173 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19174 if (obj3) {
19175 {
19176 arg4 = &temp4;
19177 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19178 }
19179 }
19180 if (obj4) {
19181 {
19182 arg5 = &temp5;
19183 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19184 }
19185 }
19186 if (obj6) {
19187 {
19188 arg7 = wxString_in_helper(obj6);
19189 if (arg7 == NULL) SWIG_fail;
423f194a 19190 temp7 = True;
d14a1e28
RD
19191 }
19192 }
19193 {
19194 PyThreadState* __tstate = wxPyBeginAllowThreads();
19195 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19196
19197 wxPyEndAllowThreads(__tstate);
19198 if (PyErr_Occurred()) SWIG_fail;
19199 }
19200 resultobj = PyInt_FromLong((long)result);
19201 {
19202 if (temp7)
19203 delete arg7;
19204 }
19205 return resultobj;
19206 fail:
19207 {
19208 if (temp7)
19209 delete arg7;
19210 }
19211 return NULL;
19212}
19213
19214
19215static PyObject *_wrap_Window_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
19216 PyObject *resultobj;
19217 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 19218 bool arg2 = (bool) False ;
d14a1e28
RD
19219 bool result;
19220 PyObject * obj0 = 0 ;
19221 PyObject * obj1 = 0 ;
19222 char *kwnames[] = {
19223 (char *) "self",(char *) "force", NULL
19224 };
19225
19226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
19227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19228 if (obj1) {
19229 arg2 = PyInt_AsLong(obj1) ? true : false;
19230 if (PyErr_Occurred()) SWIG_fail;
19231 }
19232 {
19233 PyThreadState* __tstate = wxPyBeginAllowThreads();
19234 result = (bool)(arg1)->Close(arg2);
19235
19236 wxPyEndAllowThreads(__tstate);
19237 if (PyErr_Occurred()) SWIG_fail;
19238 }
19239 resultobj = PyInt_FromLong((long)result);
19240 return resultobj;
19241 fail:
19242 return NULL;
19243}
19244
19245
19246static PyObject *_wrap_Window_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
19247 PyObject *resultobj;
19248 wxWindow *arg1 = (wxWindow *) 0 ;
19249 bool result;
19250 PyObject * obj0 = 0 ;
19251 char *kwnames[] = {
19252 (char *) "self", NULL
19253 };
19254
19255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
19256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19257 {
19258 PyThreadState* __tstate = wxPyBeginAllowThreads();
19259 result = (bool)(arg1)->Destroy();
19260
19261 wxPyEndAllowThreads(__tstate);
19262 if (PyErr_Occurred()) SWIG_fail;
19263 }
19264 resultobj = PyInt_FromLong((long)result);
19265 return resultobj;
19266 fail:
19267 return NULL;
19268}
19269
19270
19271static PyObject *_wrap_Window_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
19272 PyObject *resultobj;
19273 wxWindow *arg1 = (wxWindow *) 0 ;
19274 bool result;
19275 PyObject * obj0 = 0 ;
19276 char *kwnames[] = {
19277 (char *) "self", NULL
19278 };
19279
19280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
19281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19282 {
19283 PyThreadState* __tstate = wxPyBeginAllowThreads();
19284 result = (bool)(arg1)->DestroyChildren();
19285
19286 wxPyEndAllowThreads(__tstate);
19287 if (PyErr_Occurred()) SWIG_fail;
19288 }
19289 resultobj = PyInt_FromLong((long)result);
19290 return resultobj;
19291 fail:
19292 return NULL;
19293}
19294
19295
19296static PyObject *_wrap_Window_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
19297 PyObject *resultobj;
19298 wxWindow *arg1 = (wxWindow *) 0 ;
19299 bool result;
19300 PyObject * obj0 = 0 ;
19301 char *kwnames[] = {
19302 (char *) "self", NULL
19303 };
19304
19305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
19306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19307 {
19308 PyThreadState* __tstate = wxPyBeginAllowThreads();
19309 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
19310
19311 wxPyEndAllowThreads(__tstate);
19312 if (PyErr_Occurred()) SWIG_fail;
19313 }
19314 resultobj = PyInt_FromLong((long)result);
19315 return resultobj;
19316 fail:
19317 return NULL;
19318}
19319
19320
19321static PyObject *_wrap_Window_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
19322 PyObject *resultobj;
19323 wxWindow *arg1 = (wxWindow *) 0 ;
19324 wxString *arg2 = 0 ;
423f194a 19325 bool temp2 = False ;
d14a1e28
RD
19326 PyObject * obj0 = 0 ;
19327 PyObject * obj1 = 0 ;
19328 char *kwnames[] = {
19329 (char *) "self",(char *) "title", NULL
19330 };
19331
19332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
19333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19334 {
19335 arg2 = wxString_in_helper(obj1);
19336 if (arg2 == NULL) SWIG_fail;
423f194a 19337 temp2 = True;
d14a1e28
RD
19338 }
19339 {
19340 PyThreadState* __tstate = wxPyBeginAllowThreads();
19341 (arg1)->SetTitle((wxString const &)*arg2);
19342
19343 wxPyEndAllowThreads(__tstate);
19344 if (PyErr_Occurred()) SWIG_fail;
19345 }
19346 Py_INCREF(Py_None); resultobj = Py_None;
19347 {
19348 if (temp2)
19349 delete arg2;
19350 }
19351 return resultobj;
19352 fail:
19353 {
19354 if (temp2)
19355 delete arg2;
19356 }
19357 return NULL;
19358}
19359
19360
19361static PyObject *_wrap_Window_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
19362 PyObject *resultobj;
19363 wxWindow *arg1 = (wxWindow *) 0 ;
19364 wxString result;
19365 PyObject * obj0 = 0 ;
19366 char *kwnames[] = {
19367 (char *) "self", NULL
19368 };
19369
19370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
19371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19372 {
19373 PyThreadState* __tstate = wxPyBeginAllowThreads();
19374 result = ((wxWindow const *)arg1)->GetTitle();
19375
19376 wxPyEndAllowThreads(__tstate);
19377 if (PyErr_Occurred()) SWIG_fail;
19378 }
19379 {
19380#if wxUSE_UNICODE
19381 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19382#else
19383 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19384#endif
19385 }
19386 return resultobj;
19387 fail:
19388 return NULL;
19389}
19390
19391
19392static PyObject *_wrap_Window_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19393 PyObject *resultobj;
19394 wxWindow *arg1 = (wxWindow *) 0 ;
19395 wxString *arg2 = 0 ;
423f194a 19396 bool temp2 = False ;
d14a1e28
RD
19397 PyObject * obj0 = 0 ;
19398 PyObject * obj1 = 0 ;
19399 char *kwnames[] = {
19400 (char *) "self",(char *) "label", NULL
19401 };
19402
19403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
19404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19405 {
19406 arg2 = wxString_in_helper(obj1);
19407 if (arg2 == NULL) SWIG_fail;
423f194a 19408 temp2 = True;
d14a1e28
RD
19409 }
19410 {
19411 PyThreadState* __tstate = wxPyBeginAllowThreads();
19412 (arg1)->SetLabel((wxString const &)*arg2);
19413
19414 wxPyEndAllowThreads(__tstate);
19415 if (PyErr_Occurred()) SWIG_fail;
19416 }
19417 Py_INCREF(Py_None); resultobj = Py_None;
19418 {
19419 if (temp2)
19420 delete arg2;
19421 }
19422 return resultobj;
19423 fail:
19424 {
19425 if (temp2)
19426 delete arg2;
19427 }
19428 return NULL;
19429}
19430
19431
19432static PyObject *_wrap_Window_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19433 PyObject *resultobj;
19434 wxWindow *arg1 = (wxWindow *) 0 ;
19435 wxString result;
19436 PyObject * obj0 = 0 ;
19437 char *kwnames[] = {
19438 (char *) "self", NULL
19439 };
19440
19441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
19442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19443 {
19444 PyThreadState* __tstate = wxPyBeginAllowThreads();
19445 result = ((wxWindow const *)arg1)->GetLabel();
19446
19447 wxPyEndAllowThreads(__tstate);
19448 if (PyErr_Occurred()) SWIG_fail;
19449 }
19450 {
19451#if wxUSE_UNICODE
19452 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19453#else
19454 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19455#endif
19456 }
19457 return resultobj;
19458 fail:
19459 return NULL;
19460}
19461
19462
19463static PyObject *_wrap_Window_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
19464 PyObject *resultobj;
19465 wxWindow *arg1 = (wxWindow *) 0 ;
19466 wxString *arg2 = 0 ;
423f194a 19467 bool temp2 = False ;
d14a1e28
RD
19468 PyObject * obj0 = 0 ;
19469 PyObject * obj1 = 0 ;
19470 char *kwnames[] = {
19471 (char *) "self",(char *) "name", NULL
19472 };
19473
19474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
19475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19476 {
19477 arg2 = wxString_in_helper(obj1);
19478 if (arg2 == NULL) SWIG_fail;
423f194a 19479 temp2 = True;
d14a1e28
RD
19480 }
19481 {
19482 PyThreadState* __tstate = wxPyBeginAllowThreads();
19483 (arg1)->SetName((wxString const &)*arg2);
19484
19485 wxPyEndAllowThreads(__tstate);
19486 if (PyErr_Occurred()) SWIG_fail;
19487 }
19488 Py_INCREF(Py_None); resultobj = Py_None;
19489 {
19490 if (temp2)
19491 delete arg2;
19492 }
19493 return resultobj;
19494 fail:
19495 {
19496 if (temp2)
19497 delete arg2;
19498 }
19499 return NULL;
19500}
19501
19502
19503static PyObject *_wrap_Window_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
19504 PyObject *resultobj;
19505 wxWindow *arg1 = (wxWindow *) 0 ;
19506 wxString result;
19507 PyObject * obj0 = 0 ;
19508 char *kwnames[] = {
19509 (char *) "self", NULL
19510 };
19511
19512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
19513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19514 {
19515 PyThreadState* __tstate = wxPyBeginAllowThreads();
19516 result = ((wxWindow const *)arg1)->GetName();
19517
19518 wxPyEndAllowThreads(__tstate);
19519 if (PyErr_Occurred()) SWIG_fail;
19520 }
19521 {
19522#if wxUSE_UNICODE
19523 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19524#else
19525 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19526#endif
19527 }
19528 return resultobj;
19529 fail:
19530 return NULL;
19531}
19532
19533
19534static PyObject *_wrap_Window_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19535 PyObject *resultobj;
19536 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 19537 int arg2 ;
d14a1e28
RD
19538 PyObject * obj0 = 0 ;
19539 char *kwnames[] = {
19540 (char *) "self",(char *) "winid", NULL
19541 };
19542
19543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_SetId",kwnames,&obj0,&arg2)) goto fail;
19544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19545 {
19546 PyThreadState* __tstate = wxPyBeginAllowThreads();
19547 (arg1)->SetId(arg2);
19548
19549 wxPyEndAllowThreads(__tstate);
19550 if (PyErr_Occurred()) SWIG_fail;
19551 }
19552 Py_INCREF(Py_None); resultobj = Py_None;
19553 return resultobj;
19554 fail:
19555 return NULL;
19556}
19557
19558
19559static PyObject *_wrap_Window_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19560 PyObject *resultobj;
19561 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 19562 int result;
d14a1e28
RD
19563 PyObject * obj0 = 0 ;
19564 char *kwnames[] = {
19565 (char *) "self", NULL
19566 };
19567
19568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
19569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19570 {
19571 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 19572 result = (int)((wxWindow const *)arg1)->GetId();
d14a1e28
RD
19573
19574 wxPyEndAllowThreads(__tstate);
19575 if (PyErr_Occurred()) SWIG_fail;
19576 }
19577 resultobj = PyInt_FromLong((long)result);
19578 return resultobj;
19579 fail:
19580 return NULL;
19581}
19582
19583
19584static PyObject *_wrap_Window_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
19585 PyObject *resultobj;
19586 int result;
19587 char *kwnames[] = {
19588 NULL
19589 };
19590
19591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
19592 {
19593 PyThreadState* __tstate = wxPyBeginAllowThreads();
19594 result = (int)wxWindow::NewControlId();
19595
19596 wxPyEndAllowThreads(__tstate);
19597 if (PyErr_Occurred()) SWIG_fail;
19598 }
19599 resultobj = PyInt_FromLong((long)result);
19600 return resultobj;
19601 fail:
19602 return NULL;
19603}
19604
19605
19606static PyObject *_wrap_Window_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
19607 PyObject *resultobj;
19608 int arg1 ;
19609 int result;
19610 char *kwnames[] = {
19611 (char *) "winid", NULL
19612 };
19613
19614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Window_NextControlId",kwnames,&arg1)) goto fail;
19615 {
19616 PyThreadState* __tstate = wxPyBeginAllowThreads();
19617 result = (int)wxWindow::NextControlId(arg1);
19618
19619 wxPyEndAllowThreads(__tstate);
19620 if (PyErr_Occurred()) SWIG_fail;
19621 }
19622 resultobj = PyInt_FromLong((long)result);
19623 return resultobj;
19624 fail:
19625 return NULL;
19626}
19627
19628
19629static PyObject *_wrap_Window_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
19630 PyObject *resultobj;
19631 int arg1 ;
19632 int result;
19633 char *kwnames[] = {
19634 (char *) "winid", NULL
19635 };
19636
19637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Window_PrevControlId",kwnames,&arg1)) goto fail;
19638 {
19639 PyThreadState* __tstate = wxPyBeginAllowThreads();
19640 result = (int)wxWindow::PrevControlId(arg1);
19641
19642 wxPyEndAllowThreads(__tstate);
19643 if (PyErr_Occurred()) SWIG_fail;
19644 }
19645 resultobj = PyInt_FromLong((long)result);
19646 return resultobj;
19647 fail:
19648 return NULL;
19649}
19650
19651
19652static PyObject *_wrap_Window_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19653 PyObject *resultobj;
19654 wxWindow *arg1 = (wxWindow *) 0 ;
19655 wxSize *arg2 = 0 ;
19656 wxSize temp2 ;
19657 PyObject * obj0 = 0 ;
19658 PyObject * obj1 = 0 ;
19659 char *kwnames[] = {
19660 (char *) "self",(char *) "size", NULL
19661 };
19662
19663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
19664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19665 {
19666 arg2 = &temp2;
19667 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19668 }
19669 {
19670 PyThreadState* __tstate = wxPyBeginAllowThreads();
19671 (arg1)->SetSize((wxSize const &)*arg2);
19672
19673 wxPyEndAllowThreads(__tstate);
19674 if (PyErr_Occurred()) SWIG_fail;
19675 }
19676 Py_INCREF(Py_None); resultobj = Py_None;
19677 return resultobj;
19678 fail:
19679 return NULL;
19680}
19681
19682
19683static PyObject *_wrap_Window_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
19684 PyObject *resultobj;
19685 wxWindow *arg1 = (wxWindow *) 0 ;
19686 int arg2 ;
19687 int arg3 ;
19688 int arg4 ;
19689 int arg5 ;
19690 int arg6 = (int) wxSIZE_AUTO ;
19691 PyObject * obj0 = 0 ;
19692 char *kwnames[] = {
19693 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19694 };
19695
19696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:Window_SetDimensions",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
19697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19698 {
19699 PyThreadState* __tstate = wxPyBeginAllowThreads();
19700 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
19701
19702 wxPyEndAllowThreads(__tstate);
19703 if (PyErr_Occurred()) SWIG_fail;
19704 }
19705 Py_INCREF(Py_None); resultobj = Py_None;
19706 return resultobj;
19707 fail:
19708 return NULL;
19709}
19710
19711
19712static PyObject *_wrap_Window_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19713 PyObject *resultobj;
19714 wxWindow *arg1 = (wxWindow *) 0 ;
19715 wxRect *arg2 = 0 ;
19716 int arg3 = (int) wxSIZE_AUTO ;
19717 wxRect temp2 ;
19718 PyObject * obj0 = 0 ;
19719 PyObject * obj1 = 0 ;
19720 char *kwnames[] = {
19721 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
19722 };
19723
19724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Window_SetRect",kwnames,&obj0,&obj1,&arg3)) goto fail;
19725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19726 {
19727 arg2 = &temp2;
19728 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
19729 }
19730 {
19731 PyThreadState* __tstate = wxPyBeginAllowThreads();
19732 (arg1)->SetSize((wxRect const &)*arg2,arg3);
19733
19734 wxPyEndAllowThreads(__tstate);
19735 if (PyErr_Occurred()) SWIG_fail;
19736 }
19737 Py_INCREF(Py_None); resultobj = Py_None;
19738 return resultobj;
19739 fail:
19740 return NULL;
19741}
19742
19743
19744static PyObject *_wrap_Window_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
19745 PyObject *resultobj;
19746 wxWindow *arg1 = (wxWindow *) 0 ;
19747 int arg2 ;
19748 int arg3 ;
19749 PyObject * obj0 = 0 ;
19750 char *kwnames[] = {
19751 (char *) "self",(char *) "width",(char *) "height", NULL
19752 };
19753
19754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_SetSizeWH",kwnames,&obj0,&arg2,&arg3)) 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 (arg1)->SetSize(arg2,arg3);
19759
19760 wxPyEndAllowThreads(__tstate);
19761 if (PyErr_Occurred()) SWIG_fail;
19762 }
19763 Py_INCREF(Py_None); resultobj = Py_None;
19764 return resultobj;
19765 fail:
19766 return NULL;
19767}
19768
19769
19770static PyObject *_wrap_Window_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
19771 PyObject *resultobj;
19772 wxWindow *arg1 = (wxWindow *) 0 ;
19773 wxPoint *arg2 = 0 ;
19774 int arg3 = (int) wxSIZE_USE_EXISTING ;
19775 wxPoint temp2 ;
19776 PyObject * obj0 = 0 ;
19777 PyObject * obj1 = 0 ;
19778 char *kwnames[] = {
19779 (char *) "self",(char *) "pt",(char *) "flags", NULL
19780 };
19781
19782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Window_Move",kwnames,&obj0,&obj1,&arg3)) goto fail;
19783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19784 {
19785 arg2 = &temp2;
19786 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19787 }
19788 {
19789 PyThreadState* __tstate = wxPyBeginAllowThreads();
19790 (arg1)->Move((wxPoint const &)*arg2,arg3);
19791
19792 wxPyEndAllowThreads(__tstate);
19793 if (PyErr_Occurred()) SWIG_fail;
19794 }
19795 Py_INCREF(Py_None); resultobj = Py_None;
19796 return resultobj;
19797 fail:
19798 return NULL;
19799}
19800
19801
19802static PyObject *_wrap_Window_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
19803 PyObject *resultobj;
19804 wxWindow *arg1 = (wxWindow *) 0 ;
19805 int arg2 ;
19806 int arg3 ;
19807 int arg4 = (int) wxSIZE_USE_EXISTING ;
19808 PyObject * obj0 = 0 ;
19809 char *kwnames[] = {
19810 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
19811 };
19812
19813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:Window_MoveXY",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
19814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19815 {
19816 PyThreadState* __tstate = wxPyBeginAllowThreads();
19817 (arg1)->Move(arg2,arg3,arg4);
19818
19819 wxPyEndAllowThreads(__tstate);
19820 if (PyErr_Occurred()) SWIG_fail;
19821 }
19822 Py_INCREF(Py_None); resultobj = Py_None;
19823 return resultobj;
19824 fail:
19825 return NULL;
19826}
19827
19828
19829static PyObject *_wrap_Window_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
19830 PyObject *resultobj;
19831 wxWindow *arg1 = (wxWindow *) 0 ;
19832 PyObject * obj0 = 0 ;
19833 char *kwnames[] = {
19834 (char *) "self", NULL
19835 };
19836
19837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail;
19838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19839 {
19840 PyThreadState* __tstate = wxPyBeginAllowThreads();
19841 (arg1)->Raise();
19842
19843 wxPyEndAllowThreads(__tstate);
19844 if (PyErr_Occurred()) SWIG_fail;
19845 }
19846 Py_INCREF(Py_None); resultobj = Py_None;
19847 return resultobj;
19848 fail:
19849 return NULL;
19850}
19851
19852
19853static PyObject *_wrap_Window_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
19854 PyObject *resultobj;
19855 wxWindow *arg1 = (wxWindow *) 0 ;
19856 PyObject * obj0 = 0 ;
19857 char *kwnames[] = {
19858 (char *) "self", NULL
19859 };
19860
19861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
19862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19863 {
19864 PyThreadState* __tstate = wxPyBeginAllowThreads();
19865 (arg1)->Lower();
19866
19867 wxPyEndAllowThreads(__tstate);
19868 if (PyErr_Occurred()) SWIG_fail;
19869 }
19870 Py_INCREF(Py_None); resultobj = Py_None;
19871 return resultobj;
19872 fail:
19873 return NULL;
19874}
19875
19876
19877static PyObject *_wrap_Window_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19878 PyObject *resultobj;
19879 wxWindow *arg1 = (wxWindow *) 0 ;
19880 wxSize *arg2 = 0 ;
19881 wxSize temp2 ;
19882 PyObject * obj0 = 0 ;
19883 PyObject * obj1 = 0 ;
19884 char *kwnames[] = {
19885 (char *) "self",(char *) "size", NULL
19886 };
19887
19888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
19889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19890 {
19891 arg2 = &temp2;
19892 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19893 }
19894 {
19895 PyThreadState* __tstate = wxPyBeginAllowThreads();
19896 (arg1)->SetClientSize((wxSize const &)*arg2);
19897
19898 wxPyEndAllowThreads(__tstate);
19899 if (PyErr_Occurred()) SWIG_fail;
19900 }
19901 Py_INCREF(Py_None); resultobj = Py_None;
19902 return resultobj;
19903 fail:
19904 return NULL;
19905}
19906
19907
19908static PyObject *_wrap_Window_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
19909 PyObject *resultobj;
19910 wxWindow *arg1 = (wxWindow *) 0 ;
19911 int arg2 ;
19912 int arg3 ;
19913 PyObject * obj0 = 0 ;
19914 char *kwnames[] = {
19915 (char *) "self",(char *) "width",(char *) "height", NULL
19916 };
19917
19918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_SetClientSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
19919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19920 {
19921 PyThreadState* __tstate = wxPyBeginAllowThreads();
19922 (arg1)->SetClientSize(arg2,arg3);
19923
19924 wxPyEndAllowThreads(__tstate);
19925 if (PyErr_Occurred()) SWIG_fail;
19926 }
19927 Py_INCREF(Py_None); resultobj = Py_None;
19928 return resultobj;
19929 fail:
19930 return NULL;
19931}
19932
19933
19934static PyObject *_wrap_Window_SetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19935 PyObject *resultobj;
19936 wxWindow *arg1 = (wxWindow *) 0 ;
19937 wxRect *arg2 = 0 ;
19938 wxRect temp2 ;
19939 PyObject * obj0 = 0 ;
19940 PyObject * obj1 = 0 ;
19941 char *kwnames[] = {
19942 (char *) "self",(char *) "rect", NULL
19943 };
19944
19945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
19946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19947 {
19948 arg2 = &temp2;
19949 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
19950 }
19951 {
19952 PyThreadState* __tstate = wxPyBeginAllowThreads();
19953 (arg1)->SetClientSize((wxRect const &)*arg2);
19954
19955 wxPyEndAllowThreads(__tstate);
19956 if (PyErr_Occurred()) SWIG_fail;
19957 }
19958 Py_INCREF(Py_None); resultobj = Py_None;
19959 return resultobj;
19960 fail:
19961 return NULL;
19962}
19963
19964
19965static PyObject *_wrap_Window_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
19966 PyObject *resultobj;
19967 wxWindow *arg1 = (wxWindow *) 0 ;
19968 wxPoint result;
19969 PyObject * obj0 = 0 ;
19970 char *kwnames[] = {
19971 (char *) "self", NULL
19972 };
19973
19974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
19975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19976 {
19977 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 19978 result = (arg1)->GetPosition();
d14a1e28
RD
19979
19980 wxPyEndAllowThreads(__tstate);
19981 if (PyErr_Occurred()) SWIG_fail;
19982 }
19983 {
19984 wxPoint * resultptr;
19985 resultptr = new wxPoint((wxPoint &) result);
19986 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
19987 }
19988 return resultobj;
19989 fail:
19990 return NULL;
19991}
19992
19993
19994static PyObject *_wrap_Window_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19995 PyObject *resultobj;
19996 wxWindow *arg1 = (wxWindow *) 0 ;
19997 int *arg2 = (int *) 0 ;
19998 int *arg3 = (int *) 0 ;
19999 int temp2 ;
20000 int temp3 ;
20001 PyObject * obj0 = 0 ;
20002 char *kwnames[] = {
20003 (char *) "self", NULL
20004 };
20005
20006 arg2 = &temp2;
20007 arg3 = &temp3;
20008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
20009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20010 {
20011 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 20012 (arg1)->GetPosition(arg2,arg3);
d14a1e28
RD
20013
20014 wxPyEndAllowThreads(__tstate);
20015 if (PyErr_Occurred()) SWIG_fail;
20016 }
20017 Py_INCREF(Py_None); resultobj = Py_None;
20018 {
20019 PyObject *o = PyInt_FromLong((long) (*arg2));
20020 resultobj = t_output_helper(resultobj,o);
20021 }
20022 {
20023 PyObject *o = PyInt_FromLong((long) (*arg3));
20024 resultobj = t_output_helper(resultobj,o);
20025 }
20026 return resultobj;
20027 fail:
20028 return NULL;
20029}
20030
20031
20032static PyObject *_wrap_Window_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20033 PyObject *resultobj;
20034 wxWindow *arg1 = (wxWindow *) 0 ;
20035 wxSize result;
20036 PyObject * obj0 = 0 ;
20037 char *kwnames[] = {
20038 (char *) "self", NULL
20039 };
20040
20041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
20042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20043 {
20044 PyThreadState* __tstate = wxPyBeginAllowThreads();
20045 result = ((wxWindow const *)arg1)->GetSize();
20046
20047 wxPyEndAllowThreads(__tstate);
20048 if (PyErr_Occurred()) SWIG_fail;
20049 }
20050 {
20051 wxSize * resultptr;
20052 resultptr = new wxSize((wxSize &) result);
20053 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20054 }
20055 return resultobj;
20056 fail:
20057 return NULL;
20058}
20059
20060
20061static PyObject *_wrap_Window_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
20062 PyObject *resultobj;
20063 wxWindow *arg1 = (wxWindow *) 0 ;
20064 int *arg2 = (int *) 0 ;
20065 int *arg3 = (int *) 0 ;
20066 int temp2 ;
20067 int temp3 ;
20068 PyObject * obj0 = 0 ;
20069 char *kwnames[] = {
20070 (char *) "self", NULL
20071 };
20072
20073 arg2 = &temp2;
20074 arg3 = &temp3;
20075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
20076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20077 {
20078 PyThreadState* __tstate = wxPyBeginAllowThreads();
20079 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
20080
20081 wxPyEndAllowThreads(__tstate);
20082 if (PyErr_Occurred()) SWIG_fail;
20083 }
20084 Py_INCREF(Py_None); resultobj = Py_None;
20085 {
20086 PyObject *o = PyInt_FromLong((long) (*arg2));
20087 resultobj = t_output_helper(resultobj,o);
20088 }
20089 {
20090 PyObject *o = PyInt_FromLong((long) (*arg3));
20091 resultobj = t_output_helper(resultobj,o);
20092 }
20093 return resultobj;
20094 fail:
20095 return NULL;
20096}
20097
20098
20099static PyObject *_wrap_Window_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20100 PyObject *resultobj;
20101 wxWindow *arg1 = (wxWindow *) 0 ;
20102 wxRect result;
20103 PyObject * obj0 = 0 ;
20104 char *kwnames[] = {
20105 (char *) "self", NULL
20106 };
20107
20108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
20109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20110 {
20111 PyThreadState* __tstate = wxPyBeginAllowThreads();
20112 result = ((wxWindow const *)arg1)->GetRect();
20113
20114 wxPyEndAllowThreads(__tstate);
20115 if (PyErr_Occurred()) SWIG_fail;
20116 }
20117 {
20118 wxRect * resultptr;
20119 resultptr = new wxRect((wxRect &) result);
20120 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
20121 }
20122 return resultobj;
20123 fail:
20124 return NULL;
20125}
20126
20127
20128static PyObject *_wrap_Window_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20129 PyObject *resultobj;
20130 wxWindow *arg1 = (wxWindow *) 0 ;
20131 wxSize result;
20132 PyObject * obj0 = 0 ;
20133 char *kwnames[] = {
20134 (char *) "self", NULL
20135 };
20136
20137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
20138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20139 {
20140 PyThreadState* __tstate = wxPyBeginAllowThreads();
20141 result = ((wxWindow const *)arg1)->GetClientSize();
20142
20143 wxPyEndAllowThreads(__tstate);
20144 if (PyErr_Occurred()) SWIG_fail;
20145 }
20146 {
20147 wxSize * resultptr;
20148 resultptr = new wxSize((wxSize &) result);
20149 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20150 }
20151 return resultobj;
20152 fail:
20153 return NULL;
20154}
20155
20156
20157static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
20158 PyObject *resultobj;
20159 wxWindow *arg1 = (wxWindow *) 0 ;
20160 int *arg2 = (int *) 0 ;
20161 int *arg3 = (int *) 0 ;
20162 int temp2 ;
20163 int temp3 ;
20164 PyObject * obj0 = 0 ;
20165 char *kwnames[] = {
20166 (char *) "self", NULL
20167 };
20168
20169 arg2 = &temp2;
20170 arg3 = &temp3;
20171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
20172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20173 {
20174 PyThreadState* __tstate = wxPyBeginAllowThreads();
20175 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
20176
20177 wxPyEndAllowThreads(__tstate);
20178 if (PyErr_Occurred()) SWIG_fail;
20179 }
20180 Py_INCREF(Py_None); resultobj = Py_None;
20181 {
20182 PyObject *o = PyInt_FromLong((long) (*arg2));
20183 resultobj = t_output_helper(resultobj,o);
20184 }
20185 {
20186 PyObject *o = PyInt_FromLong((long) (*arg3));
20187 resultobj = t_output_helper(resultobj,o);
20188 }
20189 return resultobj;
20190 fail:
20191 return NULL;
20192}
20193
20194
20195static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
20196 PyObject *resultobj;
20197 wxWindow *arg1 = (wxWindow *) 0 ;
20198 wxPoint result;
20199 PyObject * obj0 = 0 ;
20200 char *kwnames[] = {
20201 (char *) "self", NULL
20202 };
20203
20204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
20205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20206 {
20207 PyThreadState* __tstate = wxPyBeginAllowThreads();
20208 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
20209
20210 wxPyEndAllowThreads(__tstate);
20211 if (PyErr_Occurred()) SWIG_fail;
20212 }
20213 {
20214 wxPoint * resultptr;
20215 resultptr = new wxPoint((wxPoint &) result);
20216 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20217 }
20218 return resultobj;
20219 fail:
20220 return NULL;
20221}
20222
20223
20224static PyObject *_wrap_Window_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20225 PyObject *resultobj;
20226 wxWindow *arg1 = (wxWindow *) 0 ;
20227 wxRect result;
20228 PyObject * obj0 = 0 ;
20229 char *kwnames[] = {
20230 (char *) "self", NULL
20231 };
20232
20233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
20234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20235 {
20236 PyThreadState* __tstate = wxPyBeginAllowThreads();
20237 result = ((wxWindow const *)arg1)->GetClientRect();
20238
20239 wxPyEndAllowThreads(__tstate);
20240 if (PyErr_Occurred()) SWIG_fail;
20241 }
20242 {
20243 wxRect * resultptr;
20244 resultptr = new wxRect((wxRect &) result);
20245 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
20246 }
20247 return resultobj;
20248 fail:
20249 return NULL;
20250}
20251
20252
20253static PyObject *_wrap_Window_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20254 PyObject *resultobj;
20255 wxWindow *arg1 = (wxWindow *) 0 ;
20256 wxSize result;
20257 PyObject * obj0 = 0 ;
20258 char *kwnames[] = {
20259 (char *) "self", NULL
20260 };
20261
20262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
20263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20264 {
20265 PyThreadState* __tstate = wxPyBeginAllowThreads();
20266 result = ((wxWindow const *)arg1)->GetBestSize();
20267
20268 wxPyEndAllowThreads(__tstate);
20269 if (PyErr_Occurred()) SWIG_fail;
20270 }
20271 {
20272 wxSize * resultptr;
20273 resultptr = new wxSize((wxSize &) result);
20274 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20275 }
20276 return resultobj;
20277 fail:
20278 return NULL;
20279}
20280
20281
20282static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
20283 PyObject *resultobj;
20284 wxWindow *arg1 = (wxWindow *) 0 ;
20285 int *arg2 = (int *) 0 ;
20286 int *arg3 = (int *) 0 ;
20287 int temp2 ;
20288 int temp3 ;
20289 PyObject * obj0 = 0 ;
20290 char *kwnames[] = {
20291 (char *) "self", NULL
20292 };
20293
20294 arg2 = &temp2;
20295 arg3 = &temp3;
20296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
20297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20298 {
20299 PyThreadState* __tstate = wxPyBeginAllowThreads();
20300 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
20301
20302 wxPyEndAllowThreads(__tstate);
20303 if (PyErr_Occurred()) SWIG_fail;
20304 }
20305 Py_INCREF(Py_None); resultobj = Py_None;
20306 {
20307 PyObject *o = PyInt_FromLong((long) (*arg2));
20308 resultobj = t_output_helper(resultobj,o);
20309 }
20310 {
20311 PyObject *o = PyInt_FromLong((long) (*arg3));
20312 resultobj = t_output_helper(resultobj,o);
20313 }
20314 return resultobj;
20315 fail:
20316 return NULL;
20317}
20318
20319
20320static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20321 PyObject *resultobj;
20322 wxWindow *arg1 = (wxWindow *) 0 ;
20323 wxSize result;
20324 PyObject * obj0 = 0 ;
20325 char *kwnames[] = {
20326 (char *) "self", NULL
20327 };
20328
20329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
20330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20331 {
20332 PyThreadState* __tstate = wxPyBeginAllowThreads();
20333 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
20334
20335 wxPyEndAllowThreads(__tstate);
20336 if (PyErr_Occurred()) SWIG_fail;
20337 }
20338 {
20339 wxSize * resultptr;
20340 resultptr = new wxSize((wxSize &) result);
20341 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20342 }
20343 return resultobj;
20344 fail:
20345 return NULL;
20346}
20347
20348
20349static PyObject *_wrap_Window_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
20350 PyObject *resultobj;
20351 wxWindow *arg1 = (wxWindow *) 0 ;
20352 int arg2 = (int) wxBOTH ;
20353 PyObject * obj0 = 0 ;
20354 char *kwnames[] = {
20355 (char *) "self",(char *) "direction", NULL
20356 };
20357
20358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Window_Center",kwnames,&obj0,&arg2)) goto fail;
20359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20360 {
20361 PyThreadState* __tstate = wxPyBeginAllowThreads();
20362 (arg1)->Center(arg2);
20363
20364 wxPyEndAllowThreads(__tstate);
20365 if (PyErr_Occurred()) SWIG_fail;
20366 }
20367 Py_INCREF(Py_None); resultobj = Py_None;
20368 return resultobj;
20369 fail:
20370 return NULL;
20371}
20372
20373
20374static PyObject *_wrap_Window_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
20375 PyObject *resultobj;
20376 wxWindow *arg1 = (wxWindow *) 0 ;
20377 int arg2 = (int) wxBOTH ;
20378 PyObject * obj0 = 0 ;
20379 char *kwnames[] = {
20380 (char *) "self",(char *) "dir", NULL
20381 };
20382
20383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Window_CenterOnScreen",kwnames,&obj0,&arg2)) goto fail;
20384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20385 {
20386 PyThreadState* __tstate = wxPyBeginAllowThreads();
20387 (arg1)->CenterOnScreen(arg2);
20388
20389 wxPyEndAllowThreads(__tstate);
20390 if (PyErr_Occurred()) SWIG_fail;
20391 }
20392 Py_INCREF(Py_None); resultobj = Py_None;
20393 return resultobj;
20394 fail:
20395 return NULL;
20396}
20397
20398
20399static PyObject *_wrap_Window_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
20400 PyObject *resultobj;
20401 wxWindow *arg1 = (wxWindow *) 0 ;
20402 int arg2 = (int) wxBOTH ;
20403 PyObject * obj0 = 0 ;
20404 char *kwnames[] = {
20405 (char *) "self",(char *) "dir", NULL
20406 };
20407
20408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Window_CenterOnParent",kwnames,&obj0,&arg2)) goto fail;
20409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20410 {
20411 PyThreadState* __tstate = wxPyBeginAllowThreads();
20412 (arg1)->CenterOnParent(arg2);
20413
20414 wxPyEndAllowThreads(__tstate);
20415 if (PyErr_Occurred()) SWIG_fail;
20416 }
20417 Py_INCREF(Py_None); resultobj = Py_None;
20418 return resultobj;
20419 fail:
20420 return NULL;
20421}
20422
20423
20424static PyObject *_wrap_Window_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
20425 PyObject *resultobj;
20426 wxWindow *arg1 = (wxWindow *) 0 ;
20427 PyObject * obj0 = 0 ;
20428 char *kwnames[] = {
20429 (char *) "self", NULL
20430 };
20431
20432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
20433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20434 {
20435 PyThreadState* __tstate = wxPyBeginAllowThreads();
20436 (arg1)->Fit();
20437
20438 wxPyEndAllowThreads(__tstate);
20439 if (PyErr_Occurred()) SWIG_fail;
20440 }
20441 Py_INCREF(Py_None); resultobj = Py_None;
20442 return resultobj;
20443 fail:
20444 return NULL;
20445}
20446
20447
20448static PyObject *_wrap_Window_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
20449 PyObject *resultobj;
20450 wxWindow *arg1 = (wxWindow *) 0 ;
20451 PyObject * obj0 = 0 ;
20452 char *kwnames[] = {
20453 (char *) "self", NULL
20454 };
20455
20456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail;
20457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20458 {
20459 PyThreadState* __tstate = wxPyBeginAllowThreads();
20460 (arg1)->FitInside();
20461
20462 wxPyEndAllowThreads(__tstate);
20463 if (PyErr_Occurred()) SWIG_fail;
20464 }
20465 Py_INCREF(Py_None); resultobj = Py_None;
20466 return resultobj;
20467 fail:
20468 return NULL;
20469}
20470
20471
20472static PyObject *_wrap_Window_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
20473 PyObject *resultobj;
20474 wxWindow *arg1 = (wxWindow *) 0 ;
20475 int arg2 ;
20476 int arg3 ;
20477 int arg4 = (int) -1 ;
20478 int arg5 = (int) -1 ;
20479 int arg6 = (int) -1 ;
20480 int arg7 = (int) -1 ;
20481 PyObject * obj0 = 0 ;
20482 char *kwnames[] = {
20483 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
20484 };
20485
20486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|iiii:Window_SetSizeHints",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7)) goto fail;
20487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20488 {
20489 PyThreadState* __tstate = wxPyBeginAllowThreads();
20490 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
20491
20492 wxPyEndAllowThreads(__tstate);
20493 if (PyErr_Occurred()) SWIG_fail;
20494 }
20495 Py_INCREF(Py_None); resultobj = Py_None;
20496 return resultobj;
20497 fail:
20498 return NULL;
20499}
20500
20501
20502static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
20503 PyObject *resultobj;
20504 wxWindow *arg1 = (wxWindow *) 0 ;
20505 int arg2 ;
20506 int arg3 ;
20507 int arg4 = (int) -1 ;
20508 int arg5 = (int) -1 ;
20509 PyObject * obj0 = 0 ;
20510 char *kwnames[] = {
20511 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
20512 };
20513
20514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|ii:Window_SetVirtualSizeHints",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
20515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20516 {
20517 PyThreadState* __tstate = wxPyBeginAllowThreads();
20518 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
20519
20520 wxPyEndAllowThreads(__tstate);
20521 if (PyErr_Occurred()) SWIG_fail;
20522 }
20523 Py_INCREF(Py_None); resultobj = Py_None;
20524 return resultobj;
20525 fail:
20526 return NULL;
20527}
20528
20529
20530static PyObject *_wrap_Window_GetMinWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20531 PyObject *resultobj;
20532 wxWindow *arg1 = (wxWindow *) 0 ;
20533 int result;
20534 PyObject * obj0 = 0 ;
20535 char *kwnames[] = {
20536 (char *) "self", NULL
20537 };
20538
20539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
20540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20541 {
20542 PyThreadState* __tstate = wxPyBeginAllowThreads();
20543 result = (int)((wxWindow const *)arg1)->GetMinWidth();
20544
20545 wxPyEndAllowThreads(__tstate);
20546 if (PyErr_Occurred()) SWIG_fail;
20547 }
20548 resultobj = PyInt_FromLong((long)result);
20549 return resultobj;
20550 fail:
20551 return NULL;
20552}
20553
20554
20555static PyObject *_wrap_Window_GetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
20556 PyObject *resultobj;
20557 wxWindow *arg1 = (wxWindow *) 0 ;
20558 int result;
20559 PyObject * obj0 = 0 ;
20560 char *kwnames[] = {
20561 (char *) "self", NULL
20562 };
20563
20564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
20565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20566 {
20567 PyThreadState* __tstate = wxPyBeginAllowThreads();
20568 result = (int)((wxWindow const *)arg1)->GetMinHeight();
20569
20570 wxPyEndAllowThreads(__tstate);
20571 if (PyErr_Occurred()) SWIG_fail;
20572 }
20573 resultobj = PyInt_FromLong((long)result);
20574 return resultobj;
20575 fail:
20576 return NULL;
20577}
20578
20579
20580static PyObject *_wrap_Window_GetMaxWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20581 PyObject *resultobj;
20582 wxWindow *arg1 = (wxWindow *) 0 ;
20583 int result;
20584 PyObject * obj0 = 0 ;
20585 char *kwnames[] = {
20586 (char *) "self", NULL
20587 };
20588
20589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
20590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20591 {
20592 PyThreadState* __tstate = wxPyBeginAllowThreads();
20593 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
20594
20595 wxPyEndAllowThreads(__tstate);
20596 if (PyErr_Occurred()) SWIG_fail;
20597 }
20598 resultobj = PyInt_FromLong((long)result);
20599 return resultobj;
20600 fail:
20601 return NULL;
20602}
20603
20604
20605static PyObject *_wrap_Window_GetMaxHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
20606 PyObject *resultobj;
20607 wxWindow *arg1 = (wxWindow *) 0 ;
20608 int result;
20609 PyObject * obj0 = 0 ;
20610 char *kwnames[] = {
20611 (char *) "self", NULL
20612 };
20613
20614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
20615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20616 {
20617 PyThreadState* __tstate = wxPyBeginAllowThreads();
20618 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
20619
20620 wxPyEndAllowThreads(__tstate);
20621 if (PyErr_Occurred()) SWIG_fail;
20622 }
20623 resultobj = PyInt_FromLong((long)result);
20624 return resultobj;
20625 fail:
20626 return NULL;
20627}
20628
20629
20630static PyObject *_wrap_Window_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20631 PyObject *resultobj;
20632 wxWindow *arg1 = (wxWindow *) 0 ;
20633 wxSize result;
20634 PyObject * obj0 = 0 ;
20635 char *kwnames[] = {
20636 (char *) "self", NULL
20637 };
20638
20639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
20640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20641 {
20642 PyThreadState* __tstate = wxPyBeginAllowThreads();
20643 result = ((wxWindow const *)arg1)->GetMaxSize();
20644
20645 wxPyEndAllowThreads(__tstate);
20646 if (PyErr_Occurred()) SWIG_fail;
20647 }
20648 {
20649 wxSize * resultptr;
20650 resultptr = new wxSize((wxSize &) result);
20651 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20652 }
20653 return resultobj;
20654 fail:
20655 return NULL;
20656}
20657
20658
20659static PyObject *_wrap_Window_SetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20660 PyObject *resultobj;
20661 wxWindow *arg1 = (wxWindow *) 0 ;
20662 wxSize *arg2 = 0 ;
20663 wxSize temp2 ;
20664 PyObject * obj0 = 0 ;
20665 PyObject * obj1 = 0 ;
20666 char *kwnames[] = {
20667 (char *) "self",(char *) "size", NULL
20668 };
20669
20670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
20671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20672 {
20673 arg2 = &temp2;
20674 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20675 }
20676 {
20677 PyThreadState* __tstate = wxPyBeginAllowThreads();
20678 (arg1)->SetVirtualSize((wxSize const &)*arg2);
20679
20680 wxPyEndAllowThreads(__tstate);
20681 if (PyErr_Occurred()) SWIG_fail;
20682 }
20683 Py_INCREF(Py_None); resultobj = Py_None;
20684 return resultobj;
20685 fail:
20686 return NULL;
20687}
20688
20689
20690static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
20691 PyObject *resultobj;
20692 wxWindow *arg1 = (wxWindow *) 0 ;
20693 int arg2 ;
20694 int arg3 ;
20695 PyObject * obj0 = 0 ;
20696 char *kwnames[] = {
20697 (char *) "self",(char *) "w",(char *) "h", NULL
20698 };
20699
20700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_SetVirtualSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
20701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20702 {
20703 PyThreadState* __tstate = wxPyBeginAllowThreads();
20704 (arg1)->SetVirtualSize(arg2,arg3);
20705
20706 wxPyEndAllowThreads(__tstate);
20707 if (PyErr_Occurred()) SWIG_fail;
20708 }
20709 Py_INCREF(Py_None); resultobj = Py_None;
20710 return resultobj;
20711 fail:
20712 return NULL;
20713}
20714
20715
20716static PyObject *_wrap_Window_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20717 PyObject *resultobj;
20718 wxWindow *arg1 = (wxWindow *) 0 ;
20719 wxSize result;
20720 PyObject * obj0 = 0 ;
20721 char *kwnames[] = {
20722 (char *) "self", NULL
20723 };
20724
20725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
20726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20727 {
20728 PyThreadState* __tstate = wxPyBeginAllowThreads();
20729 result = ((wxWindow const *)arg1)->GetVirtualSize();
20730
20731 wxPyEndAllowThreads(__tstate);
20732 if (PyErr_Occurred()) SWIG_fail;
20733 }
20734 {
20735 wxSize * resultptr;
20736 resultptr = new wxSize((wxSize &) result);
20737 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20738 }
20739 return resultobj;
20740 fail:
20741 return NULL;
20742}
20743
20744
20745static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
20746 PyObject *resultobj;
20747 wxWindow *arg1 = (wxWindow *) 0 ;
20748 int *arg2 = (int *) 0 ;
20749 int *arg3 = (int *) 0 ;
20750 int temp2 ;
20751 int temp3 ;
20752 PyObject * obj0 = 0 ;
20753 char *kwnames[] = {
20754 (char *) "self", NULL
20755 };
20756
20757 arg2 = &temp2;
20758 arg3 = &temp3;
20759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
20760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20761 {
20762 PyThreadState* __tstate = wxPyBeginAllowThreads();
20763 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
20764
20765 wxPyEndAllowThreads(__tstate);
20766 if (PyErr_Occurred()) SWIG_fail;
20767 }
20768 Py_INCREF(Py_None); resultobj = Py_None;
20769 {
20770 PyObject *o = PyInt_FromLong((long) (*arg2));
20771 resultobj = t_output_helper(resultobj,o);
20772 }
20773 {
20774 PyObject *o = PyInt_FromLong((long) (*arg3));
20775 resultobj = t_output_helper(resultobj,o);
20776 }
20777 return resultobj;
20778 fail:
20779 return NULL;
20780}
20781
20782
20783static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20784 PyObject *resultobj;
20785 wxWindow *arg1 = (wxWindow *) 0 ;
20786 wxSize result;
20787 PyObject * obj0 = 0 ;
20788 char *kwnames[] = {
20789 (char *) "self", NULL
20790 };
20791
20792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
20793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20794 {
20795 PyThreadState* __tstate = wxPyBeginAllowThreads();
20796 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
20797
20798 wxPyEndAllowThreads(__tstate);
20799 if (PyErr_Occurred()) SWIG_fail;
20800 }
20801 {
20802 wxSize * resultptr;
20803 resultptr = new wxSize((wxSize &) result);
20804 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20805 }
20806 return resultobj;
20807 fail:
20808 return NULL;
20809}
20810
20811
20812static PyObject *_wrap_Window_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
20813 PyObject *resultobj;
20814 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 20815 bool arg2 = (bool) True ;
d14a1e28
RD
20816 bool result;
20817 PyObject * obj0 = 0 ;
20818 PyObject * obj1 = 0 ;
20819 char *kwnames[] = {
20820 (char *) "self",(char *) "show", NULL
20821 };
20822
20823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
20824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20825 if (obj1) {
20826 arg2 = PyInt_AsLong(obj1) ? true : false;
20827 if (PyErr_Occurred()) SWIG_fail;
20828 }
20829 {
20830 PyThreadState* __tstate = wxPyBeginAllowThreads();
20831 result = (bool)(arg1)->Show(arg2);
20832
20833 wxPyEndAllowThreads(__tstate);
20834 if (PyErr_Occurred()) SWIG_fail;
20835 }
20836 resultobj = PyInt_FromLong((long)result);
20837 return resultobj;
20838 fail:
20839 return NULL;
20840}
20841
20842
20843static PyObject *_wrap_Window_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
20844 PyObject *resultobj;
20845 wxWindow *arg1 = (wxWindow *) 0 ;
20846 bool result;
20847 PyObject * obj0 = 0 ;
20848 char *kwnames[] = {
20849 (char *) "self", NULL
20850 };
20851
20852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
20853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20854 {
20855 PyThreadState* __tstate = wxPyBeginAllowThreads();
20856 result = (bool)(arg1)->Hide();
20857
20858 wxPyEndAllowThreads(__tstate);
20859 if (PyErr_Occurred()) SWIG_fail;
20860 }
20861 resultobj = PyInt_FromLong((long)result);
20862 return resultobj;
20863 fail:
20864 return NULL;
20865}
20866
20867
20868static PyObject *_wrap_Window_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
20869 PyObject *resultobj;
20870 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 20871 bool arg2 = (bool) True ;
d14a1e28
RD
20872 bool result;
20873 PyObject * obj0 = 0 ;
20874 PyObject * obj1 = 0 ;
20875 char *kwnames[] = {
20876 (char *) "self",(char *) "enable", NULL
20877 };
20878
20879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
20880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20881 if (obj1) {
20882 arg2 = PyInt_AsLong(obj1) ? true : false;
20883 if (PyErr_Occurred()) SWIG_fail;
20884 }
20885 {
20886 PyThreadState* __tstate = wxPyBeginAllowThreads();
20887 result = (bool)(arg1)->Enable(arg2);
20888
20889 wxPyEndAllowThreads(__tstate);
20890 if (PyErr_Occurred()) SWIG_fail;
20891 }
20892 resultobj = PyInt_FromLong((long)result);
20893 return resultobj;
20894 fail:
20895 return NULL;
20896}
20897
20898
20899static PyObject *_wrap_Window_Disable(PyObject *self, PyObject *args, PyObject *kwargs) {
20900 PyObject *resultobj;
20901 wxWindow *arg1 = (wxWindow *) 0 ;
20902 bool result;
20903 PyObject * obj0 = 0 ;
20904 char *kwnames[] = {
20905 (char *) "self", NULL
20906 };
20907
20908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
20909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20910 {
20911 PyThreadState* __tstate = wxPyBeginAllowThreads();
20912 result = (bool)(arg1)->Disable();
20913
20914 wxPyEndAllowThreads(__tstate);
20915 if (PyErr_Occurred()) SWIG_fail;
20916 }
20917 resultobj = PyInt_FromLong((long)result);
20918 return resultobj;
20919 fail:
20920 return NULL;
20921}
20922
20923
20924static PyObject *_wrap_Window_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
20925 PyObject *resultobj;
20926 wxWindow *arg1 = (wxWindow *) 0 ;
20927 bool result;
20928 PyObject * obj0 = 0 ;
20929 char *kwnames[] = {
20930 (char *) "self", NULL
20931 };
20932
20933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
20934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20935 {
20936 PyThreadState* __tstate = wxPyBeginAllowThreads();
20937 result = (bool)((wxWindow const *)arg1)->IsShown();
20938
20939 wxPyEndAllowThreads(__tstate);
20940 if (PyErr_Occurred()) SWIG_fail;
20941 }
20942 resultobj = PyInt_FromLong((long)result);
20943 return resultobj;
20944 fail:
20945 return NULL;
20946}
20947
20948
20949static PyObject *_wrap_Window_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
20950 PyObject *resultobj;
20951 wxWindow *arg1 = (wxWindow *) 0 ;
20952 bool result;
20953 PyObject * obj0 = 0 ;
20954 char *kwnames[] = {
20955 (char *) "self", NULL
20956 };
20957
20958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
20959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20960 {
20961 PyThreadState* __tstate = wxPyBeginAllowThreads();
20962 result = (bool)((wxWindow const *)arg1)->IsEnabled();
20963
20964 wxPyEndAllowThreads(__tstate);
20965 if (PyErr_Occurred()) SWIG_fail;
20966 }
20967 resultobj = PyInt_FromLong((long)result);
20968 return resultobj;
20969 fail:
20970 return NULL;
20971}
20972
20973
20974static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20975 PyObject *resultobj;
20976 wxWindow *arg1 = (wxWindow *) 0 ;
20977 long arg2 ;
20978 PyObject * obj0 = 0 ;
20979 char *kwnames[] = {
20980 (char *) "self",(char *) "style", NULL
20981 };
20982
20983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
20984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20985 {
20986 PyThreadState* __tstate = wxPyBeginAllowThreads();
20987 (arg1)->SetWindowStyleFlag(arg2);
20988
20989 wxPyEndAllowThreads(__tstate);
20990 if (PyErr_Occurred()) SWIG_fail;
20991 }
20992 Py_INCREF(Py_None); resultobj = Py_None;
20993 return resultobj;
20994 fail:
20995 return NULL;
20996}
20997
20998
20999static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
21000 PyObject *resultobj;
21001 wxWindow *arg1 = (wxWindow *) 0 ;
21002 long result;
21003 PyObject * obj0 = 0 ;
21004 char *kwnames[] = {
21005 (char *) "self", NULL
21006 };
21007
21008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
21009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21010 {
21011 PyThreadState* __tstate = wxPyBeginAllowThreads();
21012 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
21013
21014 wxPyEndAllowThreads(__tstate);
21015 if (PyErr_Occurred()) SWIG_fail;
21016 }
21017 resultobj = PyInt_FromLong((long)result);
21018 return resultobj;
21019 fail:
21020 return NULL;
21021}
21022
21023
21024static PyObject *_wrap_Window_SetWindowStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
21025 PyObject *resultobj;
21026 wxWindow *arg1 = (wxWindow *) 0 ;
21027 long arg2 ;
21028 PyObject * obj0 = 0 ;
21029 char *kwnames[] = {
21030 (char *) "self",(char *) "style", NULL
21031 };
21032
21033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_SetWindowStyle",kwnames,&obj0,&arg2)) goto fail;
21034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21035 {
21036 PyThreadState* __tstate = wxPyBeginAllowThreads();
21037 (arg1)->SetWindowStyle(arg2);
21038
21039 wxPyEndAllowThreads(__tstate);
21040 if (PyErr_Occurred()) SWIG_fail;
21041 }
21042 Py_INCREF(Py_None); resultobj = Py_None;
21043 return resultobj;
21044 fail:
21045 return NULL;
21046}
21047
21048
21049static PyObject *_wrap_Window_GetWindowStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
21050 PyObject *resultobj;
21051 wxWindow *arg1 = (wxWindow *) 0 ;
21052 long result;
21053 PyObject * obj0 = 0 ;
21054 char *kwnames[] = {
21055 (char *) "self", NULL
21056 };
21057
21058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyle",kwnames,&obj0)) goto fail;
21059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21060 {
21061 PyThreadState* __tstate = wxPyBeginAllowThreads();
21062 result = (long)((wxWindow const *)arg1)->GetWindowStyle();
21063
21064 wxPyEndAllowThreads(__tstate);
21065 if (PyErr_Occurred()) SWIG_fail;
21066 }
21067 resultobj = PyInt_FromLong((long)result);
21068 return resultobj;
21069 fail:
21070 return NULL;
21071}
21072
21073
21074static PyObject *_wrap_Window_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
21075 PyObject *resultobj;
21076 wxWindow *arg1 = (wxWindow *) 0 ;
21077 int arg2 ;
21078 bool result;
21079 PyObject * obj0 = 0 ;
21080 char *kwnames[] = {
21081 (char *) "self",(char *) "flag", NULL
21082 };
21083
21084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_HasFlag",kwnames,&obj0,&arg2)) goto fail;
21085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21086 {
21087 PyThreadState* __tstate = wxPyBeginAllowThreads();
21088 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
21089
21090 wxPyEndAllowThreads(__tstate);
21091 if (PyErr_Occurred()) SWIG_fail;
21092 }
21093 resultobj = PyInt_FromLong((long)result);
21094 return resultobj;
21095 fail:
21096 return NULL;
21097}
21098
21099
21100static PyObject *_wrap_Window_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
21101 PyObject *resultobj;
21102 wxWindow *arg1 = (wxWindow *) 0 ;
21103 bool result;
21104 PyObject * obj0 = 0 ;
21105 char *kwnames[] = {
21106 (char *) "self", NULL
21107 };
21108
21109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
21110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21111 {
21112 PyThreadState* __tstate = wxPyBeginAllowThreads();
21113 result = (bool)((wxWindow const *)arg1)->IsRetained();
21114
21115 wxPyEndAllowThreads(__tstate);
21116 if (PyErr_Occurred()) SWIG_fail;
21117 }
21118 resultobj = PyInt_FromLong((long)result);
21119 return resultobj;
21120 fail:
21121 return NULL;
21122}
21123
21124
21125static PyObject *_wrap_Window_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
21126 PyObject *resultobj;
21127 wxWindow *arg1 = (wxWindow *) 0 ;
21128 long arg2 ;
21129 PyObject * obj0 = 0 ;
21130 char *kwnames[] = {
21131 (char *) "self",(char *) "exStyle", NULL
21132 };
21133
21134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_SetExtraStyle",kwnames,&obj0,&arg2)) goto fail;
21135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21136 {
21137 PyThreadState* __tstate = wxPyBeginAllowThreads();
21138 (arg1)->SetExtraStyle(arg2);
21139
21140 wxPyEndAllowThreads(__tstate);
21141 if (PyErr_Occurred()) SWIG_fail;
21142 }
21143 Py_INCREF(Py_None); resultobj = Py_None;
21144 return resultobj;
21145 fail:
21146 return NULL;
21147}
21148
21149
21150static PyObject *_wrap_Window_GetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
21151 PyObject *resultobj;
21152 wxWindow *arg1 = (wxWindow *) 0 ;
21153 long result;
21154 PyObject * obj0 = 0 ;
21155 char *kwnames[] = {
21156 (char *) "self", NULL
21157 };
21158
21159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
21160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21161 {
21162 PyThreadState* __tstate = wxPyBeginAllowThreads();
21163 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
21164
21165 wxPyEndAllowThreads(__tstate);
21166 if (PyErr_Occurred()) SWIG_fail;
21167 }
21168 resultobj = PyInt_FromLong((long)result);
21169 return resultobj;
21170 fail:
21171 return NULL;
21172}
21173
21174
21175static PyObject *_wrap_Window_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
21176 PyObject *resultobj;
21177 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 21178 bool arg2 = (bool) True ;
d14a1e28
RD
21179 PyObject * obj0 = 0 ;
21180 PyObject * obj1 = 0 ;
21181 char *kwnames[] = {
21182 (char *) "self",(char *) "modal", NULL
21183 };
21184
21185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
21186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21187 if (obj1) {
21188 arg2 = PyInt_AsLong(obj1) ? true : false;
21189 if (PyErr_Occurred()) SWIG_fail;
21190 }
21191 {
21192 PyThreadState* __tstate = wxPyBeginAllowThreads();
21193 (arg1)->MakeModal(arg2);
21194
21195 wxPyEndAllowThreads(__tstate);
21196 if (PyErr_Occurred()) SWIG_fail;
21197 }
21198 Py_INCREF(Py_None); resultobj = Py_None;
21199 return resultobj;
21200 fail:
21201 return NULL;
21202}
21203
21204
21205static PyObject *_wrap_Window_SetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
21206 PyObject *resultobj;
21207 wxWindow *arg1 = (wxWindow *) 0 ;
21208 bool arg2 ;
21209 PyObject * obj0 = 0 ;
21210 PyObject * obj1 = 0 ;
21211 char *kwnames[] = {
21212 (char *) "self",(char *) "enableTheme", NULL
21213 };
21214
21215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
21216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21217 arg2 = PyInt_AsLong(obj1) ? true : false;
21218 if (PyErr_Occurred()) SWIG_fail;
21219 {
21220 PyThreadState* __tstate = wxPyBeginAllowThreads();
21221 (arg1)->SetThemeEnabled(arg2);
21222
21223 wxPyEndAllowThreads(__tstate);
21224 if (PyErr_Occurred()) SWIG_fail;
21225 }
21226 Py_INCREF(Py_None); resultobj = Py_None;
21227 return resultobj;
21228 fail:
21229 return NULL;
21230}
21231
21232
21233static PyObject *_wrap_Window_GetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
21234 PyObject *resultobj;
21235 wxWindow *arg1 = (wxWindow *) 0 ;
21236 bool result;
21237 PyObject * obj0 = 0 ;
21238 char *kwnames[] = {
21239 (char *) "self", NULL
21240 };
21241
21242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
21243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21244 {
21245 PyThreadState* __tstate = wxPyBeginAllowThreads();
21246 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
21247
21248 wxPyEndAllowThreads(__tstate);
21249 if (PyErr_Occurred()) SWIG_fail;
21250 }
21251 resultobj = PyInt_FromLong((long)result);
21252 return resultobj;
21253 fail:
21254 return NULL;
21255}
21256
21257
21258static PyObject *_wrap_Window_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
21259 PyObject *resultobj;
21260 wxWindow *arg1 = (wxWindow *) 0 ;
21261 bool result;
21262 PyObject * obj0 = 0 ;
21263 char *kwnames[] = {
21264 (char *) "self", NULL
21265 };
21266
21267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ShouldInheritColours",kwnames,&obj0)) goto fail;
21268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21269 {
21270 PyThreadState* __tstate = wxPyBeginAllowThreads();
21271 result = (bool)((wxWindow const *)arg1)->ShouldInheritColours();
21272
21273 wxPyEndAllowThreads(__tstate);
21274 if (PyErr_Occurred()) SWIG_fail;
21275 }
21276 resultobj = PyInt_FromLong((long)result);
21277 return resultobj;
21278 fail:
21279 return NULL;
21280}
21281
21282
21283static PyObject *_wrap_Window_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
21284 PyObject *resultobj;
21285 wxWindow *arg1 = (wxWindow *) 0 ;
21286 PyObject * obj0 = 0 ;
21287 char *kwnames[] = {
21288 (char *) "self", NULL
21289 };
21290
21291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
21292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21293 {
21294 PyThreadState* __tstate = wxPyBeginAllowThreads();
21295 (arg1)->SetFocus();
21296
21297 wxPyEndAllowThreads(__tstate);
21298 if (PyErr_Occurred()) SWIG_fail;
21299 }
21300 Py_INCREF(Py_None); resultobj = Py_None;
21301 return resultobj;
21302 fail:
21303 return NULL;
21304}
21305
21306
21307static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *self, PyObject *args, PyObject *kwargs) {
21308 PyObject *resultobj;
21309 wxWindow *arg1 = (wxWindow *) 0 ;
21310 PyObject * obj0 = 0 ;
21311 char *kwnames[] = {
21312 (char *) "self", NULL
21313 };
21314
21315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
21316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21317 {
21318 PyThreadState* __tstate = wxPyBeginAllowThreads();
21319 (arg1)->SetFocusFromKbd();
21320
21321 wxPyEndAllowThreads(__tstate);
21322 if (PyErr_Occurred()) SWIG_fail;
21323 }
21324 Py_INCREF(Py_None); resultobj = Py_None;
21325 return resultobj;
21326 fail:
21327 return NULL;
21328}
21329
21330
21331static PyObject *_wrap_Window_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
21332 PyObject *resultobj;
21333 wxWindow *result;
21334 char *kwnames[] = {
21335 NULL
21336 };
21337
21338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
21339 {
21340 PyThreadState* __tstate = wxPyBeginAllowThreads();
21341 result = (wxWindow *)wxWindow::FindFocus();
21342
21343 wxPyEndAllowThreads(__tstate);
21344 if (PyErr_Occurred()) SWIG_fail;
21345 }
21346 {
21347 resultobj = wxPyMake_wxObject(result);
21348 }
21349 return resultobj;
21350 fail:
21351 return NULL;
21352}
21353
21354
21355static PyObject *_wrap_Window_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
21356 PyObject *resultobj;
21357 wxWindow *arg1 = (wxWindow *) 0 ;
21358 bool result;
21359 PyObject * obj0 = 0 ;
21360 char *kwnames[] = {
21361 (char *) "self", NULL
21362 };
21363
21364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
21365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21366 {
21367 PyThreadState* __tstate = wxPyBeginAllowThreads();
21368 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
21369
21370 wxPyEndAllowThreads(__tstate);
21371 if (PyErr_Occurred()) SWIG_fail;
21372 }
21373 resultobj = PyInt_FromLong((long)result);
21374 return resultobj;
21375 fail:
21376 return NULL;
21377}
21378
21379
21380static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
21381 PyObject *resultobj;
21382 wxWindow *arg1 = (wxWindow *) 0 ;
21383 bool result;
21384 PyObject * obj0 = 0 ;
21385 char *kwnames[] = {
21386 (char *) "self", NULL
21387 };
21388
21389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
21390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21391 {
21392 PyThreadState* __tstate = wxPyBeginAllowThreads();
21393 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
21394
21395 wxPyEndAllowThreads(__tstate);
21396 if (PyErr_Occurred()) SWIG_fail;
21397 }
21398 resultobj = PyInt_FromLong((long)result);
21399 return resultobj;
21400 fail:
21401 return NULL;
21402}
21403
21404
21405static PyObject *_wrap_Window_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21406 PyObject *resultobj;
21407 wxWindow *arg1 = (wxWindow *) 0 ;
21408 wxWindow *result;
21409 PyObject * obj0 = 0 ;
21410 char *kwnames[] = {
21411 (char *) "self", NULL
21412 };
21413
21414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
21415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21416 {
21417 PyThreadState* __tstate = wxPyBeginAllowThreads();
21418 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
21419
21420 wxPyEndAllowThreads(__tstate);
21421 if (PyErr_Occurred()) SWIG_fail;
21422 }
21423 {
21424 resultobj = wxPyMake_wxObject(result);
21425 }
21426 return resultobj;
21427 fail:
21428 return NULL;
21429}
21430
21431
21432static PyObject *_wrap_Window_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21433 PyObject *resultobj;
21434 wxWindow *arg1 = (wxWindow *) 0 ;
21435 wxWindow *arg2 = (wxWindow *) 0 ;
21436 wxWindow *result;
21437 PyObject * obj0 = 0 ;
21438 PyObject * obj1 = 0 ;
21439 char *kwnames[] = {
21440 (char *) "self",(char *) "child", NULL
21441 };
21442
21443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
21444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21445 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21446 {
21447 PyThreadState* __tstate = wxPyBeginAllowThreads();
21448 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
21449
21450 wxPyEndAllowThreads(__tstate);
21451 if (PyErr_Occurred()) SWIG_fail;
21452 }
21453 {
21454 resultobj = wxPyMake_wxObject(result);
21455 }
21456 return resultobj;
21457 fail:
21458 return NULL;
21459}
21460
21461
21462static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21463 PyObject *resultobj;
21464 wxWindow *arg1 = (wxWindow *) 0 ;
21465 wxWindow *arg2 = (wxWindow *) 0 ;
21466 PyObject * obj0 = 0 ;
21467 PyObject * obj1 = 0 ;
21468 char *kwnames[] = {
21469 (char *) "self",(char *) "win", NULL
21470 };
21471
21472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
21473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21474 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21475 {
21476 PyThreadState* __tstate = wxPyBeginAllowThreads();
21477 (arg1)->SetTmpDefaultItem(arg2);
21478
21479 wxPyEndAllowThreads(__tstate);
21480 if (PyErr_Occurred()) SWIG_fail;
21481 }
21482 Py_INCREF(Py_None); resultobj = Py_None;
21483 return resultobj;
21484 fail:
21485 return NULL;
21486}
21487
21488
21489static PyObject *_wrap_Window_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21490 PyObject *resultobj;
21491 wxWindow *arg1 = (wxWindow *) 0 ;
21492 PyObject *result;
21493 PyObject * obj0 = 0 ;
21494 char *kwnames[] = {
21495 (char *) "self", NULL
21496 };
21497
21498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
21499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21500 {
21501 PyThreadState* __tstate = wxPyBeginAllowThreads();
21502 result = (PyObject *)wxWindow_GetChildren(arg1);
21503
21504 wxPyEndAllowThreads(__tstate);
21505 if (PyErr_Occurred()) SWIG_fail;
21506 }
21507 resultobj = result;
21508 return resultobj;
21509 fail:
21510 return NULL;
21511}
21512
21513
21514static PyObject *_wrap_Window_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21515 PyObject *resultobj;
21516 wxWindow *arg1 = (wxWindow *) 0 ;
21517 wxWindow *result;
21518 PyObject * obj0 = 0 ;
21519 char *kwnames[] = {
21520 (char *) "self", NULL
21521 };
21522
21523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
21524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21525 {
21526 PyThreadState* __tstate = wxPyBeginAllowThreads();
21527 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
21528
21529 wxPyEndAllowThreads(__tstate);
21530 if (PyErr_Occurred()) SWIG_fail;
21531 }
21532 {
21533 resultobj = wxPyMake_wxObject(result);
21534 }
21535 return resultobj;
21536 fail:
21537 return NULL;
21538}
21539
21540
21541static PyObject *_wrap_Window_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21542 PyObject *resultobj;
21543 wxWindow *arg1 = (wxWindow *) 0 ;
21544 wxWindow *result;
21545 PyObject * obj0 = 0 ;
21546 char *kwnames[] = {
21547 (char *) "self", NULL
21548 };
21549
21550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
21551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21552 {
21553 PyThreadState* __tstate = wxPyBeginAllowThreads();
21554 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
21555
21556 wxPyEndAllowThreads(__tstate);
21557 if (PyErr_Occurred()) SWIG_fail;
21558 }
21559 {
21560 resultobj = wxPyMake_wxObject(result);
21561 }
21562 return resultobj;
21563 fail:
21564 return NULL;
21565}
21566
21567
21568static PyObject *_wrap_Window_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
21569 PyObject *resultobj;
21570 wxWindow *arg1 = (wxWindow *) 0 ;
21571 bool result;
21572 PyObject * obj0 = 0 ;
21573 char *kwnames[] = {
21574 (char *) "self", NULL
21575 };
21576
21577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
21578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21579 {
21580 PyThreadState* __tstate = wxPyBeginAllowThreads();
21581 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
21582
21583 wxPyEndAllowThreads(__tstate);
21584 if (PyErr_Occurred()) SWIG_fail;
21585 }
21586 resultobj = PyInt_FromLong((long)result);
21587 return resultobj;
21588 fail:
21589 return NULL;
21590}
21591
21592
21593static PyObject *_wrap_Window_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
21594 PyObject *resultobj;
21595 wxWindow *arg1 = (wxWindow *) 0 ;
21596 wxWindow *arg2 = (wxWindow *) 0 ;
21597 bool result;
21598 PyObject * obj0 = 0 ;
21599 PyObject * obj1 = 0 ;
21600 char *kwnames[] = {
21601 (char *) "self",(char *) "newParent", NULL
21602 };
21603
21604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
21605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21606 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21607 {
21608 PyThreadState* __tstate = wxPyBeginAllowThreads();
21609 result = (bool)(arg1)->Reparent(arg2);
21610
21611 wxPyEndAllowThreads(__tstate);
21612 if (PyErr_Occurred()) SWIG_fail;
21613 }
21614 resultobj = PyInt_FromLong((long)result);
21615 return resultobj;
21616 fail:
21617 return NULL;
21618}
21619
21620
21621static PyObject *_wrap_Window_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21622 PyObject *resultobj;
21623 wxWindow *arg1 = (wxWindow *) 0 ;
21624 wxWindow *arg2 = (wxWindow *) 0 ;
21625 PyObject * obj0 = 0 ;
21626 PyObject * obj1 = 0 ;
21627 char *kwnames[] = {
21628 (char *) "self",(char *) "child", NULL
21629 };
21630
21631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
21632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21633 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21634 {
21635 PyThreadState* __tstate = wxPyBeginAllowThreads();
21636 (arg1)->AddChild(arg2);
21637
21638 wxPyEndAllowThreads(__tstate);
21639 if (PyErr_Occurred()) SWIG_fail;
21640 }
21641 Py_INCREF(Py_None); resultobj = Py_None;
21642 return resultobj;
21643 fail:
21644 return NULL;
21645}
21646
21647
21648static PyObject *_wrap_Window_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21649 PyObject *resultobj;
21650 wxWindow *arg1 = (wxWindow *) 0 ;
21651 wxWindow *arg2 = (wxWindow *) 0 ;
21652 PyObject * obj0 = 0 ;
21653 PyObject * obj1 = 0 ;
21654 char *kwnames[] = {
21655 (char *) "self",(char *) "child", NULL
21656 };
21657
21658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
21659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21660 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21661 {
21662 PyThreadState* __tstate = wxPyBeginAllowThreads();
21663 (arg1)->RemoveChild(arg2);
21664
21665 wxPyEndAllowThreads(__tstate);
21666 if (PyErr_Occurred()) SWIG_fail;
21667 }
21668 Py_INCREF(Py_None); resultobj = Py_None;
21669 return resultobj;
21670 fail:
21671 return NULL;
21672}
21673
21674
21675static PyObject *_wrap_Window_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
21676 PyObject *resultobj;
21677 wxWindow *arg1 = (wxWindow *) 0 ;
21678 long arg2 ;
21679 wxWindow *result;
21680 PyObject * obj0 = 0 ;
21681 char *kwnames[] = {
21682 (char *) "self",(char *) "winid", NULL
21683 };
21684
21685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_FindWindowById",kwnames,&obj0,&arg2)) goto fail;
21686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21687 {
21688 PyThreadState* __tstate = wxPyBeginAllowThreads();
21689 result = (wxWindow *)(arg1)->FindWindow(arg2);
21690
21691 wxPyEndAllowThreads(__tstate);
21692 if (PyErr_Occurred()) SWIG_fail;
21693 }
21694 {
21695 resultobj = wxPyMake_wxObject(result);
21696 }
21697 return resultobj;
21698 fail:
21699 return NULL;
21700}
21701
21702
21703static PyObject *_wrap_Window_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
21704 PyObject *resultobj;
21705 wxWindow *arg1 = (wxWindow *) 0 ;
21706 wxString *arg2 = 0 ;
21707 wxWindow *result;
423f194a 21708 bool temp2 = False ;
d14a1e28
RD
21709 PyObject * obj0 = 0 ;
21710 PyObject * obj1 = 0 ;
21711 char *kwnames[] = {
21712 (char *) "self",(char *) "name", NULL
21713 };
21714
21715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
21716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21717 {
21718 arg2 = wxString_in_helper(obj1);
21719 if (arg2 == NULL) SWIG_fail;
423f194a 21720 temp2 = True;
d14a1e28
RD
21721 }
21722 {
21723 PyThreadState* __tstate = wxPyBeginAllowThreads();
21724 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
21725
21726 wxPyEndAllowThreads(__tstate);
21727 if (PyErr_Occurred()) SWIG_fail;
21728 }
21729 {
21730 resultobj = wxPyMake_wxObject(result);
21731 }
21732 {
21733 if (temp2)
21734 delete arg2;
21735 }
21736 return resultobj;
21737 fail:
21738 {
21739 if (temp2)
21740 delete arg2;
21741 }
21742 return NULL;
21743}
21744
21745
21746static PyObject *_wrap_Window_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21747 PyObject *resultobj;
21748 wxWindow *arg1 = (wxWindow *) 0 ;
21749 wxEvtHandler *result;
21750 PyObject * obj0 = 0 ;
21751 char *kwnames[] = {
21752 (char *) "self", NULL
21753 };
21754
21755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
21756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21757 {
21758 PyThreadState* __tstate = wxPyBeginAllowThreads();
21759 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
21760
21761 wxPyEndAllowThreads(__tstate);
21762 if (PyErr_Occurred()) SWIG_fail;
21763 }
21764 {
21765 resultobj = wxPyMake_wxObject(result);
21766 }
21767 return resultobj;
21768 fail:
21769 return NULL;
21770}
21771
21772
21773static PyObject *_wrap_Window_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21774 PyObject *resultobj;
21775 wxWindow *arg1 = (wxWindow *) 0 ;
21776 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
21777 PyObject * obj0 = 0 ;
21778 PyObject * obj1 = 0 ;
21779 char *kwnames[] = {
21780 (char *) "self",(char *) "handler", NULL
21781 };
21782
21783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
21784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21785 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21786 {
21787 PyThreadState* __tstate = wxPyBeginAllowThreads();
21788 (arg1)->SetEventHandler(arg2);
21789
21790 wxPyEndAllowThreads(__tstate);
21791 if (PyErr_Occurred()) SWIG_fail;
21792 }
21793 Py_INCREF(Py_None); resultobj = Py_None;
21794 return resultobj;
21795 fail:
21796 return NULL;
21797}
21798
21799
21800static PyObject *_wrap_Window_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21801 PyObject *resultobj;
21802 wxWindow *arg1 = (wxWindow *) 0 ;
21803 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
21804 PyObject * obj0 = 0 ;
21805 PyObject * obj1 = 0 ;
21806 char *kwnames[] = {
21807 (char *) "self",(char *) "handler", NULL
21808 };
21809
21810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
21811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21812 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21813 {
21814 PyThreadState* __tstate = wxPyBeginAllowThreads();
21815 (arg1)->PushEventHandler(arg2);
21816
21817 wxPyEndAllowThreads(__tstate);
21818 if (PyErr_Occurred()) SWIG_fail;
21819 }
21820 Py_INCREF(Py_None); resultobj = Py_None;
21821 return resultobj;
21822 fail:
21823 return NULL;
21824}
21825
21826
21827static PyObject *_wrap_Window_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21828 PyObject *resultobj;
21829 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 21830 bool arg2 = (bool) False ;
d14a1e28
RD
21831 wxEvtHandler *result;
21832 PyObject * obj0 = 0 ;
21833 PyObject * obj1 = 0 ;
21834 char *kwnames[] = {
21835 (char *) "self",(char *) "deleteHandler", NULL
21836 };
21837
21838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
21839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21840 if (obj1) {
21841 arg2 = PyInt_AsLong(obj1) ? true : false;
21842 if (PyErr_Occurred()) SWIG_fail;
21843 }
21844 {
21845 PyThreadState* __tstate = wxPyBeginAllowThreads();
21846 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
21847
21848 wxPyEndAllowThreads(__tstate);
21849 if (PyErr_Occurred()) SWIG_fail;
21850 }
21851 {
21852 resultobj = wxPyMake_wxObject(result);
21853 }
21854 return resultobj;
21855 fail:
21856 return NULL;
21857}
21858
21859
21860static PyObject *_wrap_Window_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21861 PyObject *resultobj;
21862 wxWindow *arg1 = (wxWindow *) 0 ;
21863 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
21864 bool result;
21865 PyObject * obj0 = 0 ;
21866 PyObject * obj1 = 0 ;
21867 char *kwnames[] = {
21868 (char *) "self",(char *) "handler", NULL
21869 };
21870
21871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
21872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21873 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21874 {
21875 PyThreadState* __tstate = wxPyBeginAllowThreads();
21876 result = (bool)(arg1)->RemoveEventHandler(arg2);
21877
21878 wxPyEndAllowThreads(__tstate);
21879 if (PyErr_Occurred()) SWIG_fail;
21880 }
21881 resultobj = PyInt_FromLong((long)result);
21882 return resultobj;
21883 fail:
21884 return NULL;
21885}
21886
21887
21888static PyObject *_wrap_Window_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
21889 PyObject *resultobj;
21890 wxWindow *arg1 = (wxWindow *) 0 ;
21891 wxValidator *arg2 = 0 ;
21892 PyObject * obj0 = 0 ;
21893 PyObject * obj1 = 0 ;
21894 char *kwnames[] = {
21895 (char *) "self",(char *) "validator", NULL
21896 };
21897
21898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
21899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21900 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21901 if (arg2 == NULL) {
21902 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21903 }
21904 {
21905 PyThreadState* __tstate = wxPyBeginAllowThreads();
21906 (arg1)->SetValidator((wxValidator const &)*arg2);
21907
21908 wxPyEndAllowThreads(__tstate);
21909 if (PyErr_Occurred()) SWIG_fail;
21910 }
21911 Py_INCREF(Py_None); resultobj = Py_None;
21912 return resultobj;
21913 fail:
21914 return NULL;
21915}
21916
21917
21918static PyObject *_wrap_Window_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
21919 PyObject *resultobj;
21920 wxWindow *arg1 = (wxWindow *) 0 ;
21921 wxValidator *result;
21922 PyObject * obj0 = 0 ;
21923 char *kwnames[] = {
21924 (char *) "self", NULL
21925 };
21926
21927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
21928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21929 {
21930 PyThreadState* __tstate = wxPyBeginAllowThreads();
21931 result = (wxValidator *)(arg1)->GetValidator();
21932
21933 wxPyEndAllowThreads(__tstate);
21934 if (PyErr_Occurred()) SWIG_fail;
21935 }
21936 {
21937 resultobj = wxPyMake_wxObject(result);
21938 }
21939 return resultobj;
21940 fail:
21941 return NULL;
21942}
21943
21944
21945static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21946 PyObject *resultobj;
21947 wxWindow *arg1 = (wxWindow *) 0 ;
21948 wxAcceleratorTable *arg2 = 0 ;
21949 PyObject * obj0 = 0 ;
21950 PyObject * obj1 = 0 ;
21951 char *kwnames[] = {
21952 (char *) "self",(char *) "accel", NULL
21953 };
21954
21955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
21956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21957 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21958 if (arg2 == NULL) {
21959 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21960 }
21961 {
21962 PyThreadState* __tstate = wxPyBeginAllowThreads();
21963 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
21964
21965 wxPyEndAllowThreads(__tstate);
21966 if (PyErr_Occurred()) SWIG_fail;
21967 }
21968 Py_INCREF(Py_None); resultobj = Py_None;
21969 return resultobj;
21970 fail:
21971 return NULL;
21972}
21973
21974
21975static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21976 PyObject *resultobj;
21977 wxWindow *arg1 = (wxWindow *) 0 ;
21978 wxAcceleratorTable *result;
21979 PyObject * obj0 = 0 ;
21980 char *kwnames[] = {
21981 (char *) "self", NULL
21982 };
21983
21984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
21985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21986 {
21987 PyThreadState* __tstate = wxPyBeginAllowThreads();
21988 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
21989
21990 wxPyEndAllowThreads(__tstate);
21991 if (PyErr_Occurred()) SWIG_fail;
21992 }
21993 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorTable, 0);
21994 return resultobj;
21995 fail:
21996 return NULL;
21997}
21998
21999
22000static PyObject *_wrap_Window_RegisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
22001 PyObject *resultobj;
22002 wxWindow *arg1 = (wxWindow *) 0 ;
22003 int arg2 ;
22004 int arg3 ;
22005 int arg4 ;
22006 bool result;
22007 PyObject * obj0 = 0 ;
22008 char *kwnames[] = {
22009 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
22010 };
22011
22012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:Window_RegisterHotKey",kwnames,&obj0,&arg2,&arg3,&arg4)) 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 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
22017
22018 wxPyEndAllowThreads(__tstate);
22019 if (PyErr_Occurred()) SWIG_fail;
22020 }
22021 resultobj = PyInt_FromLong((long)result);
22022 return resultobj;
22023 fail:
22024 return NULL;
22025}
22026
22027
22028static PyObject *_wrap_Window_UnregisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
22029 PyObject *resultobj;
22030 wxWindow *arg1 = (wxWindow *) 0 ;
22031 int arg2 ;
22032 bool result;
22033 PyObject * obj0 = 0 ;
22034 char *kwnames[] = {
22035 (char *) "self",(char *) "hotkeyId", NULL
22036 };
22037
22038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_UnregisterHotKey",kwnames,&obj0,&arg2)) goto fail;
22039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22040 {
22041 PyThreadState* __tstate = wxPyBeginAllowThreads();
22042 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
22043
22044 wxPyEndAllowThreads(__tstate);
22045 if (PyErr_Occurred()) SWIG_fail;
22046 }
22047 resultobj = PyInt_FromLong((long)result);
22048 return resultobj;
22049 fail:
22050 return NULL;
22051}
22052
22053
22054static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
22055 PyObject *resultobj;
22056 wxWindow *arg1 = (wxWindow *) 0 ;
22057 wxPoint *arg2 = 0 ;
22058 wxPoint result;
22059 wxPoint temp2 ;
22060 PyObject * obj0 = 0 ;
22061 PyObject * obj1 = 0 ;
22062 char *kwnames[] = {
22063 (char *) "self",(char *) "pt", NULL
22064 };
22065
22066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
22067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22068 {
22069 arg2 = &temp2;
22070 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22071 }
22072 {
22073 PyThreadState* __tstate = wxPyBeginAllowThreads();
22074 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
22075
22076 wxPyEndAllowThreads(__tstate);
22077 if (PyErr_Occurred()) SWIG_fail;
22078 }
22079 {
22080 wxPoint * resultptr;
22081 resultptr = new wxPoint((wxPoint &) result);
22082 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
22083 }
22084 return resultobj;
22085 fail:
22086 return NULL;
22087}
22088
22089
22090static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
22091 PyObject *resultobj;
22092 wxWindow *arg1 = (wxWindow *) 0 ;
22093 wxSize *arg2 = 0 ;
22094 wxSize result;
22095 wxSize temp2 ;
22096 PyObject * obj0 = 0 ;
22097 PyObject * obj1 = 0 ;
22098 char *kwnames[] = {
22099 (char *) "self",(char *) "sz", NULL
22100 };
22101
22102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
22103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22104 {
22105 arg2 = &temp2;
22106 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22107 }
22108 {
22109 PyThreadState* __tstate = wxPyBeginAllowThreads();
22110 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
22111
22112 wxPyEndAllowThreads(__tstate);
22113 if (PyErr_Occurred()) SWIG_fail;
22114 }
22115 {
22116 wxSize * resultptr;
22117 resultptr = new wxSize((wxSize &) result);
22118 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
22119 }
22120 return resultobj;
22121 fail:
22122 return NULL;
22123}
22124
22125
22126static PyObject *_wrap_Window_DLG_PNT(PyObject *self, PyObject *args, PyObject *kwargs) {
22127 PyObject *resultobj;
22128 wxWindow *arg1 = (wxWindow *) 0 ;
22129 wxPoint *arg2 = 0 ;
22130 wxPoint result;
22131 wxPoint temp2 ;
22132 PyObject * obj0 = 0 ;
22133 PyObject * obj1 = 0 ;
22134 char *kwnames[] = {
22135 (char *) "self",(char *) "pt", NULL
22136 };
22137
22138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
22139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22140 {
22141 arg2 = &temp2;
22142 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22143 }
22144 {
22145 PyThreadState* __tstate = wxPyBeginAllowThreads();
22146 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
22147
22148 wxPyEndAllowThreads(__tstate);
22149 if (PyErr_Occurred()) SWIG_fail;
22150 }
22151 {
22152 wxPoint * resultptr;
22153 resultptr = new wxPoint((wxPoint &) result);
22154 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
22155 }
22156 return resultobj;
22157 fail:
22158 return NULL;
22159}
22160
22161
22162static PyObject *_wrap_Window_DLG_SZE(PyObject *self, PyObject *args, PyObject *kwargs) {
22163 PyObject *resultobj;
22164 wxWindow *arg1 = (wxWindow *) 0 ;
22165 wxSize *arg2 = 0 ;
22166 wxSize result;
22167 wxSize temp2 ;
22168 PyObject * obj0 = 0 ;
22169 PyObject * obj1 = 0 ;
22170 char *kwnames[] = {
22171 (char *) "self",(char *) "sz", NULL
22172 };
22173
22174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
22175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22176 {
22177 arg2 = &temp2;
22178 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22179 }
22180 {
22181 PyThreadState* __tstate = wxPyBeginAllowThreads();
22182 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
22183
22184 wxPyEndAllowThreads(__tstate);
22185 if (PyErr_Occurred()) SWIG_fail;
22186 }
22187 {
22188 wxSize * resultptr;
22189 resultptr = new wxSize((wxSize &) result);
22190 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
22191 }
22192 return resultobj;
22193 fail:
22194 return NULL;
22195}
22196
22197
22198static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
22199 PyObject *resultobj;
22200 wxWindow *arg1 = (wxWindow *) 0 ;
22201 wxPoint *arg2 = 0 ;
22202 wxPoint result;
22203 wxPoint temp2 ;
22204 PyObject * obj0 = 0 ;
22205 PyObject * obj1 = 0 ;
22206 char *kwnames[] = {
22207 (char *) "self",(char *) "pt", NULL
22208 };
22209
22210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
22211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22212 {
22213 arg2 = &temp2;
22214 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22215 }
22216 {
22217 PyThreadState* __tstate = wxPyBeginAllowThreads();
22218 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
22219
22220 wxPyEndAllowThreads(__tstate);
22221 if (PyErr_Occurred()) SWIG_fail;
22222 }
22223 {
22224 wxPoint * resultptr;
22225 resultptr = new wxPoint((wxPoint &) result);
22226 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
22227 }
22228 return resultobj;
22229 fail:
22230 return NULL;
22231}
22232
22233
22234static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
22235 PyObject *resultobj;
22236 wxWindow *arg1 = (wxWindow *) 0 ;
22237 wxSize *arg2 = 0 ;
22238 wxSize result;
22239 wxSize temp2 ;
22240 PyObject * obj0 = 0 ;
22241 PyObject * obj1 = 0 ;
22242 char *kwnames[] = {
22243 (char *) "self",(char *) "sz", NULL
22244 };
22245
22246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
22247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22248 {
22249 arg2 = &temp2;
22250 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22251 }
22252 {
22253 PyThreadState* __tstate = wxPyBeginAllowThreads();
22254 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
22255
22256 wxPyEndAllowThreads(__tstate);
22257 if (PyErr_Occurred()) SWIG_fail;
22258 }
22259 {
22260 wxSize * resultptr;
22261 resultptr = new wxSize((wxSize &) result);
22262 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
22263 }
22264 return resultobj;
22265 fail:
22266 return NULL;
22267}
22268
22269
22270static PyObject *_wrap_Window_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
22271 PyObject *resultobj;
22272 wxWindow *arg1 = (wxWindow *) 0 ;
22273 int arg2 ;
22274 int arg3 ;
22275 PyObject * obj0 = 0 ;
22276 char *kwnames[] = {
22277 (char *) "self",(char *) "x",(char *) "y", NULL
22278 };
22279
22280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_WarpPointer",kwnames,&obj0,&arg2,&arg3)) goto fail;
22281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22282 {
22283 PyThreadState* __tstate = wxPyBeginAllowThreads();
22284 (arg1)->WarpPointer(arg2,arg3);
22285
22286 wxPyEndAllowThreads(__tstate);
22287 if (PyErr_Occurred()) SWIG_fail;
22288 }
22289 Py_INCREF(Py_None); resultobj = Py_None;
22290 return resultobj;
22291 fail:
22292 return NULL;
22293}
22294
22295
22296static PyObject *_wrap_Window_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
22297 PyObject *resultobj;
22298 wxWindow *arg1 = (wxWindow *) 0 ;
22299 PyObject * obj0 = 0 ;
22300 char *kwnames[] = {
22301 (char *) "self", NULL
22302 };
22303
22304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
22305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22306 {
22307 PyThreadState* __tstate = wxPyBeginAllowThreads();
22308 (arg1)->CaptureMouse();
22309
22310 wxPyEndAllowThreads(__tstate);
22311 if (PyErr_Occurred()) SWIG_fail;
22312 }
22313 Py_INCREF(Py_None); resultobj = Py_None;
22314 return resultobj;
22315 fail:
22316 return NULL;
22317}
22318
22319
22320static PyObject *_wrap_Window_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
22321 PyObject *resultobj;
22322 wxWindow *arg1 = (wxWindow *) 0 ;
22323 PyObject * obj0 = 0 ;
22324 char *kwnames[] = {
22325 (char *) "self", NULL
22326 };
22327
22328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
22329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22330 {
22331 PyThreadState* __tstate = wxPyBeginAllowThreads();
22332 (arg1)->ReleaseMouse();
22333
22334 wxPyEndAllowThreads(__tstate);
22335 if (PyErr_Occurred()) SWIG_fail;
22336 }
22337 Py_INCREF(Py_None); resultobj = Py_None;
22338 return resultobj;
22339 fail:
22340 return NULL;
22341}
22342
22343
22344static PyObject *_wrap_Window_GetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
22345 PyObject *resultobj;
22346 wxWindow *result;
22347 char *kwnames[] = {
22348 NULL
22349 };
22350
22351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
22352 {
22353 PyThreadState* __tstate = wxPyBeginAllowThreads();
22354 result = (wxWindow *)wxWindow::GetCapture();
22355
22356 wxPyEndAllowThreads(__tstate);
22357 if (PyErr_Occurred()) SWIG_fail;
22358 }
22359 {
22360 resultobj = wxPyMake_wxObject(result);
22361 }
22362 return resultobj;
22363 fail:
22364 return NULL;
22365}
22366
22367
22368static PyObject *_wrap_Window_HasCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
22369 PyObject *resultobj;
22370 wxWindow *arg1 = (wxWindow *) 0 ;
22371 bool result;
22372 PyObject * obj0 = 0 ;
22373 char *kwnames[] = {
22374 (char *) "self", NULL
22375 };
22376
22377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
22378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22379 {
22380 PyThreadState* __tstate = wxPyBeginAllowThreads();
22381 result = (bool)((wxWindow const *)arg1)->HasCapture();
22382
22383 wxPyEndAllowThreads(__tstate);
22384 if (PyErr_Occurred()) SWIG_fail;
22385 }
22386 resultobj = PyInt_FromLong((long)result);
22387 return resultobj;
22388 fail:
22389 return NULL;
22390}
22391
22392
22393static PyObject *_wrap_Window_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
22394 PyObject *resultobj;
22395 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 22396 bool arg2 = (bool) True ;
d14a1e28
RD
22397 wxRect *arg3 = (wxRect *) NULL ;
22398 PyObject * obj0 = 0 ;
22399 PyObject * obj1 = 0 ;
22400 PyObject * obj2 = 0 ;
22401 char *kwnames[] = {
22402 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
22403 };
22404
22405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
22406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22407 if (obj1) {
22408 arg2 = PyInt_AsLong(obj1) ? true : false;
22409 if (PyErr_Occurred()) SWIG_fail;
22410 }
22411 if (obj2) {
22412 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22413 }
22414 {
22415 PyThreadState* __tstate = wxPyBeginAllowThreads();
22416 (arg1)->Refresh(arg2,(wxRect const *)arg3);
22417
22418 wxPyEndAllowThreads(__tstate);
22419 if (PyErr_Occurred()) SWIG_fail;
22420 }
22421 Py_INCREF(Py_None); resultobj = Py_None;
22422 return resultobj;
22423 fail:
22424 return NULL;
22425}
22426
22427
22428static PyObject *_wrap_Window_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22429 PyObject *resultobj;
22430 wxWindow *arg1 = (wxWindow *) 0 ;
22431 wxRect *arg2 = 0 ;
22432 wxRect temp2 ;
22433 PyObject * obj0 = 0 ;
22434 PyObject * obj1 = 0 ;
22435 char *kwnames[] = {
22436 (char *) "self",(char *) "rect", NULL
22437 };
22438
22439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RefreshRect",kwnames,&obj0,&obj1)) goto fail;
22440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22441 {
22442 arg2 = &temp2;
22443 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22444 }
22445 {
22446 PyThreadState* __tstate = wxPyBeginAllowThreads();
22447 (arg1)->RefreshRect((wxRect const &)*arg2);
22448
22449 wxPyEndAllowThreads(__tstate);
22450 if (PyErr_Occurred()) SWIG_fail;
22451 }
22452 Py_INCREF(Py_None); resultobj = Py_None;
22453 return resultobj;
22454 fail:
22455 return NULL;
22456}
22457
22458
22459static PyObject *_wrap_Window_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
22460 PyObject *resultobj;
22461 wxWindow *arg1 = (wxWindow *) 0 ;
22462 PyObject * obj0 = 0 ;
22463 char *kwnames[] = {
22464 (char *) "self", NULL
22465 };
22466
22467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
22468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22469 {
22470 PyThreadState* __tstate = wxPyBeginAllowThreads();
22471 (arg1)->Update();
22472
22473 wxPyEndAllowThreads(__tstate);
22474 if (PyErr_Occurred()) SWIG_fail;
22475 }
22476 Py_INCREF(Py_None); resultobj = Py_None;
22477 return resultobj;
22478 fail:
22479 return NULL;
22480}
22481
22482
22483static PyObject *_wrap_Window_ClearBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
22484 PyObject *resultobj;
22485 wxWindow *arg1 = (wxWindow *) 0 ;
22486 PyObject * obj0 = 0 ;
22487 char *kwnames[] = {
22488 (char *) "self", NULL
22489 };
22490
22491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
22492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22493 {
22494 PyThreadState* __tstate = wxPyBeginAllowThreads();
22495 (arg1)->ClearBackground();
22496
22497 wxPyEndAllowThreads(__tstate);
22498 if (PyErr_Occurred()) SWIG_fail;
22499 }
22500 Py_INCREF(Py_None); resultobj = Py_None;
22501 return resultobj;
22502 fail:
22503 return NULL;
22504}
22505
22506
22507static PyObject *_wrap_Window_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
22508 PyObject *resultobj;
22509 wxWindow *arg1 = (wxWindow *) 0 ;
22510 PyObject * obj0 = 0 ;
22511 char *kwnames[] = {
22512 (char *) "self", NULL
22513 };
22514
22515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
22516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22517 {
22518 PyThreadState* __tstate = wxPyBeginAllowThreads();
22519 (arg1)->Freeze();
22520
22521 wxPyEndAllowThreads(__tstate);
22522 if (PyErr_Occurred()) SWIG_fail;
22523 }
22524 Py_INCREF(Py_None); resultobj = Py_None;
22525 return resultobj;
22526 fail:
22527 return NULL;
22528}
22529
22530
22531static PyObject *_wrap_Window_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
22532 PyObject *resultobj;
22533 wxWindow *arg1 = (wxWindow *) 0 ;
22534 PyObject * obj0 = 0 ;
22535 char *kwnames[] = {
22536 (char *) "self", NULL
22537 };
22538
22539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
22540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22541 {
22542 PyThreadState* __tstate = wxPyBeginAllowThreads();
22543 (arg1)->Thaw();
22544
22545 wxPyEndAllowThreads(__tstate);
22546 if (PyErr_Occurred()) SWIG_fail;
22547 }
22548 Py_INCREF(Py_None); resultobj = Py_None;
22549 return resultobj;
22550 fail:
22551 return NULL;
22552}
22553
22554
22555static PyObject *_wrap_Window_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
22556 PyObject *resultobj;
22557 wxWindow *arg1 = (wxWindow *) 0 ;
22558 wxDC *arg2 = 0 ;
22559 PyObject * obj0 = 0 ;
22560 PyObject * obj1 = 0 ;
22561 char *kwnames[] = {
22562 (char *) "self",(char *) "dc", NULL
22563 };
22564
22565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
22566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22567 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22568 if (arg2 == NULL) {
22569 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22570 }
22571 {
22572 PyThreadState* __tstate = wxPyBeginAllowThreads();
22573 (arg1)->PrepareDC(*arg2);
22574
22575 wxPyEndAllowThreads(__tstate);
22576 if (PyErr_Occurred()) SWIG_fail;
22577 }
22578 Py_INCREF(Py_None); resultobj = Py_None;
22579 return resultobj;
22580 fail:
22581 return NULL;
22582}
22583
22584
22585static PyObject *_wrap_Window_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
22586 PyObject *resultobj;
22587 wxWindow *arg1 = (wxWindow *) 0 ;
22588 wxRegion *result;
22589 PyObject * obj0 = 0 ;
22590 char *kwnames[] = {
22591 (char *) "self", NULL
22592 };
22593
22594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
22595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22596 {
22597 PyThreadState* __tstate = wxPyBeginAllowThreads();
22598 {
22599 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
22600 result = (wxRegion *) &_result_ref;
22601 }
22602
22603 wxPyEndAllowThreads(__tstate);
22604 if (PyErr_Occurred()) SWIG_fail;
22605 }
22606 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRegion, 0);
22607 return resultobj;
22608 fail:
22609 return NULL;
22610}
22611
22612
22613static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22614 PyObject *resultobj;
22615 wxWindow *arg1 = (wxWindow *) 0 ;
22616 wxRect result;
22617 PyObject * obj0 = 0 ;
22618 char *kwnames[] = {
22619 (char *) "self", NULL
22620 };
22621
22622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
22623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22624 {
22625 PyThreadState* __tstate = wxPyBeginAllowThreads();
22626 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
22627
22628 wxPyEndAllowThreads(__tstate);
22629 if (PyErr_Occurred()) SWIG_fail;
22630 }
22631 {
22632 wxRect * resultptr;
22633 resultptr = new wxRect((wxRect &) result);
22634 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
22635 }
22636 return resultobj;
22637 fail:
22638 return NULL;
22639}
22640
22641
22642static PyObject *_wrap_Window_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
22643 PyObject *resultobj;
22644 wxWindow *arg1 = (wxWindow *) 0 ;
22645 int arg2 ;
22646 int arg3 ;
22647 int arg4 = (int) 1 ;
22648 int arg5 = (int) 1 ;
22649 bool result;
22650 PyObject * obj0 = 0 ;
22651 char *kwnames[] = {
22652 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22653 };
22654
22655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|ii:Window_IsExposed",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22657 {
22658 PyThreadState* __tstate = wxPyBeginAllowThreads();
22659 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
22660
22661 wxPyEndAllowThreads(__tstate);
22662 if (PyErr_Occurred()) SWIG_fail;
22663 }
22664 resultobj = PyInt_FromLong((long)result);
22665 return resultobj;
22666 fail:
22667 return NULL;
22668}
22669
22670
22671static PyObject *_wrap_Window_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
22672 PyObject *resultobj;
22673 wxWindow *arg1 = (wxWindow *) 0 ;
22674 wxPoint *arg2 = 0 ;
22675 bool result;
22676 wxPoint temp2 ;
22677 PyObject * obj0 = 0 ;
22678 PyObject * obj1 = 0 ;
22679 char *kwnames[] = {
22680 (char *) "self",(char *) "pt", NULL
22681 };
22682
22683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
22684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22685 {
22686 arg2 = &temp2;
22687 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22688 }
22689 {
22690 PyThreadState* __tstate = wxPyBeginAllowThreads();
22691 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
22692
22693 wxPyEndAllowThreads(__tstate);
22694 if (PyErr_Occurred()) SWIG_fail;
22695 }
22696 resultobj = PyInt_FromLong((long)result);
22697 return resultobj;
22698 fail:
22699 return NULL;
22700}
22701
22702
22703static PyObject *_wrap_Window_isExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22704 PyObject *resultobj;
22705 wxWindow *arg1 = (wxWindow *) 0 ;
22706 wxRect *arg2 = 0 ;
22707 bool result;
22708 wxRect temp2 ;
22709 PyObject * obj0 = 0 ;
22710 PyObject * obj1 = 0 ;
22711 char *kwnames[] = {
22712 (char *) "self",(char *) "rect", NULL
22713 };
22714
22715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_isExposedRect",kwnames,&obj0,&obj1)) goto fail;
22716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22717 {
22718 arg2 = &temp2;
22719 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22720 }
22721 {
22722 PyThreadState* __tstate = wxPyBeginAllowThreads();
22723 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
22724
22725 wxPyEndAllowThreads(__tstate);
22726 if (PyErr_Occurred()) SWIG_fail;
22727 }
22728 resultobj = PyInt_FromLong((long)result);
22729 return resultobj;
22730 fail:
22731 return NULL;
22732}
22733
22734
22735static PyObject *_wrap_Window_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22736 PyObject *resultobj;
22737 wxWindow *arg1 = (wxWindow *) 0 ;
22738 wxColour *arg2 = 0 ;
22739 bool result;
22740 wxColour temp2 ;
22741 PyObject * obj0 = 0 ;
22742 PyObject * obj1 = 0 ;
22743 char *kwnames[] = {
22744 (char *) "self",(char *) "colour", NULL
22745 };
22746
22747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22749 {
22750 arg2 = &temp2;
22751 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22752 }
22753 {
22754 PyThreadState* __tstate = wxPyBeginAllowThreads();
22755 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
22756
22757 wxPyEndAllowThreads(__tstate);
22758 if (PyErr_Occurred()) SWIG_fail;
22759 }
22760 resultobj = PyInt_FromLong((long)result);
22761 return resultobj;
22762 fail:
22763 return NULL;
22764}
22765
22766
22767static PyObject *_wrap_Window_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22768 PyObject *resultobj;
22769 wxWindow *arg1 = (wxWindow *) 0 ;
22770 wxColour *arg2 = 0 ;
22771 bool result;
22772 wxColour temp2 ;
22773 PyObject * obj0 = 0 ;
22774 PyObject * obj1 = 0 ;
22775 char *kwnames[] = {
22776 (char *) "self",(char *) "colour", NULL
22777 };
22778
22779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
22780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22781 {
22782 arg2 = &temp2;
22783 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22784 }
22785 {
22786 PyThreadState* __tstate = wxPyBeginAllowThreads();
22787 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
22788
22789 wxPyEndAllowThreads(__tstate);
22790 if (PyErr_Occurred()) SWIG_fail;
22791 }
22792 resultobj = PyInt_FromLong((long)result);
22793 return resultobj;
22794 fail:
22795 return NULL;
22796}
22797
22798
22799static PyObject *_wrap_Window_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22800 PyObject *resultobj;
22801 wxWindow *arg1 = (wxWindow *) 0 ;
22802 wxColour result;
22803 PyObject * obj0 = 0 ;
22804 char *kwnames[] = {
22805 (char *) "self", NULL
22806 };
22807
22808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
22809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22810 {
22811 PyThreadState* __tstate = wxPyBeginAllowThreads();
22812 result = ((wxWindow const *)arg1)->GetBackgroundColour();
22813
22814 wxPyEndAllowThreads(__tstate);
22815 if (PyErr_Occurred()) SWIG_fail;
22816 }
22817 {
22818 wxColour * resultptr;
22819 resultptr = new wxColour((wxColour &) result);
22820 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22821 }
22822 return resultobj;
22823 fail:
22824 return NULL;
22825}
22826
22827
22828static PyObject *_wrap_Window_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22829 PyObject *resultobj;
22830 wxWindow *arg1 = (wxWindow *) 0 ;
22831 wxColour result;
22832 PyObject * obj0 = 0 ;
22833 char *kwnames[] = {
22834 (char *) "self", NULL
22835 };
22836
22837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
22838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22839 {
22840 PyThreadState* __tstate = wxPyBeginAllowThreads();
22841 result = ((wxWindow const *)arg1)->GetForegroundColour();
22842
22843 wxPyEndAllowThreads(__tstate);
22844 if (PyErr_Occurred()) SWIG_fail;
22845 }
22846 {
22847 wxColour * resultptr;
22848 resultptr = new wxColour((wxColour &) result);
22849 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22850 }
22851 return resultobj;
22852 fail:
22853 return NULL;
22854}
22855
22856
22857static PyObject *_wrap_Window_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
22858 PyObject *resultobj;
22859 wxWindow *arg1 = (wxWindow *) 0 ;
22860 wxCursor *arg2 = 0 ;
22861 bool result;
22862 PyObject * obj0 = 0 ;
22863 PyObject * obj1 = 0 ;
22864 char *kwnames[] = {
22865 (char *) "self",(char *) "cursor", NULL
22866 };
22867
22868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
22869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22870 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22871 if (arg2 == NULL) {
22872 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22873 }
22874 {
22875 PyThreadState* __tstate = wxPyBeginAllowThreads();
22876 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
22877
22878 wxPyEndAllowThreads(__tstate);
22879 if (PyErr_Occurred()) SWIG_fail;
22880 }
22881 resultobj = PyInt_FromLong((long)result);
22882 return resultobj;
22883 fail:
22884 return NULL;
22885}
22886
22887
22888static PyObject *_wrap_Window_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
22889 PyObject *resultobj;
22890 wxWindow *arg1 = (wxWindow *) 0 ;
22891 wxCursor *result;
22892 PyObject * obj0 = 0 ;
22893 char *kwnames[] = {
22894 (char *) "self", NULL
22895 };
22896
22897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
22898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22899 {
22900 PyThreadState* __tstate = wxPyBeginAllowThreads();
22901 {
22902 wxCursor &_result_ref = (arg1)->GetCursor();
22903 result = (wxCursor *) &_result_ref;
22904 }
22905
22906 wxPyEndAllowThreads(__tstate);
22907 if (PyErr_Occurred()) SWIG_fail;
22908 }
22909 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCursor, 0);
22910 return resultobj;
22911 fail:
22912 return NULL;
22913}
22914
22915
22916static PyObject *_wrap_Window_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22917 PyObject *resultobj;
22918 wxWindow *arg1 = (wxWindow *) 0 ;
22919 wxFont *arg2 = 0 ;
22920 bool result;
22921 PyObject * obj0 = 0 ;
22922 PyObject * obj1 = 0 ;
22923 char *kwnames[] = {
22924 (char *) "self",(char *) "font", NULL
22925 };
22926
22927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
22928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22929 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22930 if (arg2 == NULL) {
22931 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22932 }
22933 {
22934 PyThreadState* __tstate = wxPyBeginAllowThreads();
22935 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
22936
22937 wxPyEndAllowThreads(__tstate);
22938 if (PyErr_Occurred()) SWIG_fail;
22939 }
22940 resultobj = PyInt_FromLong((long)result);
22941 return resultobj;
22942 fail:
22943 return NULL;
22944}
22945
22946
22947static PyObject *_wrap_Window_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22948 PyObject *resultobj;
22949 wxWindow *arg1 = (wxWindow *) 0 ;
22950 wxFont *result;
22951 PyObject * obj0 = 0 ;
22952 char *kwnames[] = {
22953 (char *) "self", NULL
22954 };
22955
22956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
22957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22958 {
22959 PyThreadState* __tstate = wxPyBeginAllowThreads();
22960 {
22961 wxFont &_result_ref = (arg1)->GetFont();
22962 result = (wxFont *) &_result_ref;
22963 }
22964
22965 wxPyEndAllowThreads(__tstate);
22966 if (PyErr_Occurred()) SWIG_fail;
22967 }
22968 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
22969 return resultobj;
22970 fail:
22971 return NULL;
22972}
22973
22974
22975static PyObject *_wrap_Window_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
22976 PyObject *resultobj;
22977 wxWindow *arg1 = (wxWindow *) 0 ;
22978 wxCaret *arg2 = (wxCaret *) 0 ;
22979 PyObject * obj0 = 0 ;
22980 PyObject * obj1 = 0 ;
22981 char *kwnames[] = {
22982 (char *) "self",(char *) "caret", NULL
22983 };
22984
22985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
22986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22987 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22988 {
22989 PyThreadState* __tstate = wxPyBeginAllowThreads();
22990 (arg1)->SetCaret(arg2);
22991
22992 wxPyEndAllowThreads(__tstate);
22993 if (PyErr_Occurred()) SWIG_fail;
22994 }
22995 Py_INCREF(Py_None); resultobj = Py_None;
22996 return resultobj;
22997 fail:
22998 return NULL;
22999}
23000
23001
23002static PyObject *_wrap_Window_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
23003 PyObject *resultobj;
23004 wxWindow *arg1 = (wxWindow *) 0 ;
23005 wxCaret *result;
23006 PyObject * obj0 = 0 ;
23007 char *kwnames[] = {
23008 (char *) "self", NULL
23009 };
23010
23011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
23012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23013 {
23014 PyThreadState* __tstate = wxPyBeginAllowThreads();
23015 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
23016
23017 wxPyEndAllowThreads(__tstate);
23018 if (PyErr_Occurred()) SWIG_fail;
23019 }
23020 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 0);
23021 return resultobj;
23022 fail:
23023 return NULL;
23024}
23025
23026
23027static PyObject *_wrap_Window_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
23028 PyObject *resultobj;
23029 wxWindow *arg1 = (wxWindow *) 0 ;
23030 int result;
23031 PyObject * obj0 = 0 ;
23032 char *kwnames[] = {
23033 (char *) "self", NULL
23034 };
23035
23036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
23037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23038 {
23039 PyThreadState* __tstate = wxPyBeginAllowThreads();
23040 result = (int)((wxWindow const *)arg1)->GetCharHeight();
23041
23042 wxPyEndAllowThreads(__tstate);
23043 if (PyErr_Occurred()) SWIG_fail;
23044 }
23045 resultobj = PyInt_FromLong((long)result);
23046 return resultobj;
23047 fail:
23048 return NULL;
23049}
23050
23051
23052static PyObject *_wrap_Window_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
23053 PyObject *resultobj;
23054 wxWindow *arg1 = (wxWindow *) 0 ;
23055 int result;
23056 PyObject * obj0 = 0 ;
23057 char *kwnames[] = {
23058 (char *) "self", NULL
23059 };
23060
23061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
23062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23063 {
23064 PyThreadState* __tstate = wxPyBeginAllowThreads();
23065 result = (int)((wxWindow const *)arg1)->GetCharWidth();
23066
23067 wxPyEndAllowThreads(__tstate);
23068 if (PyErr_Occurred()) SWIG_fail;
23069 }
23070 resultobj = PyInt_FromLong((long)result);
23071 return resultobj;
23072 fail:
23073 return NULL;
23074}
23075
23076
23077static PyObject *_wrap_Window_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
23078 PyObject *resultobj;
23079 wxWindow *arg1 = (wxWindow *) 0 ;
23080 wxString *arg2 = 0 ;
23081 int *arg3 = (int *) 0 ;
23082 int *arg4 = (int *) 0 ;
423f194a 23083 bool temp2 = False ;
d14a1e28
RD
23084 int temp3 ;
23085 int temp4 ;
23086 PyObject * obj0 = 0 ;
23087 PyObject * obj1 = 0 ;
23088 char *kwnames[] = {
23089 (char *) "self",(char *) "string", NULL
23090 };
23091
23092 arg3 = &temp3;
23093 arg4 = &temp4;
23094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
23095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23096 {
23097 arg2 = wxString_in_helper(obj1);
23098 if (arg2 == NULL) SWIG_fail;
423f194a 23099 temp2 = True;
d14a1e28
RD
23100 }
23101 {
23102 PyThreadState* __tstate = wxPyBeginAllowThreads();
23103 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
23104
23105 wxPyEndAllowThreads(__tstate);
23106 if (PyErr_Occurred()) SWIG_fail;
23107 }
23108 Py_INCREF(Py_None); resultobj = Py_None;
23109 {
23110 PyObject *o = PyInt_FromLong((long) (*arg3));
23111 resultobj = t_output_helper(resultobj,o);
23112 }
23113 {
23114 PyObject *o = PyInt_FromLong((long) (*arg4));
23115 resultobj = t_output_helper(resultobj,o);
23116 }
23117 {
23118 if (temp2)
23119 delete arg2;
23120 }
23121 return resultobj;
23122 fail:
23123 {
23124 if (temp2)
23125 delete arg2;
23126 }
23127 return NULL;
23128}
23129
23130
23131static PyObject *_wrap_Window_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
23132 PyObject *resultobj;
23133 wxWindow *arg1 = (wxWindow *) 0 ;
23134 wxString *arg2 = 0 ;
23135 int *arg3 = (int *) 0 ;
23136 int *arg4 = (int *) 0 ;
23137 int *arg5 = (int *) 0 ;
23138 int *arg6 = (int *) 0 ;
23139 wxFont *arg7 = (wxFont *) NULL ;
423f194a 23140 bool temp2 = False ;
d14a1e28
RD
23141 int temp3 ;
23142 int temp4 ;
23143 int temp5 ;
23144 int temp6 ;
23145 PyObject * obj0 = 0 ;
23146 PyObject * obj1 = 0 ;
23147 PyObject * obj2 = 0 ;
23148 char *kwnames[] = {
23149 (char *) "self",(char *) "string",(char *) "font", NULL
23150 };
23151
23152 arg3 = &temp3;
23153 arg4 = &temp4;
23154 arg5 = &temp5;
23155 arg6 = &temp6;
23156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
23157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23158 {
23159 arg2 = wxString_in_helper(obj1);
23160 if (arg2 == NULL) SWIG_fail;
423f194a 23161 temp2 = True;
d14a1e28
RD
23162 }
23163 if (obj2) {
23164 if ((SWIG_ConvertPtr(obj2,(void **) &arg7, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23165 }
23166 {
23167 PyThreadState* __tstate = wxPyBeginAllowThreads();
23168 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
23169
23170 wxPyEndAllowThreads(__tstate);
23171 if (PyErr_Occurred()) SWIG_fail;
23172 }
23173 Py_INCREF(Py_None); resultobj = Py_None;
23174 {
23175 PyObject *o = PyInt_FromLong((long) (*arg3));
23176 resultobj = t_output_helper(resultobj,o);
23177 }
23178 {
23179 PyObject *o = PyInt_FromLong((long) (*arg4));
23180 resultobj = t_output_helper(resultobj,o);
23181 }
23182 {
23183 PyObject *o = PyInt_FromLong((long) (*arg5));
23184 resultobj = t_output_helper(resultobj,o);
23185 }
23186 {
23187 PyObject *o = PyInt_FromLong((long) (*arg6));
23188 resultobj = t_output_helper(resultobj,o);
23189 }
23190 {
23191 if (temp2)
23192 delete arg2;
23193 }
23194 return resultobj;
23195 fail:
23196 {
23197 if (temp2)
23198 delete arg2;
23199 }
23200 return NULL;
23201}
23202
23203
23204static PyObject *_wrap_Window_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
23205 PyObject *resultobj;
23206 wxWindow *arg1 = (wxWindow *) 0 ;
23207 int *arg2 = (int *) 0 ;
23208 int *arg3 = (int *) 0 ;
23209 int temp2 ;
23210 int temp3 ;
23211 PyObject * obj0 = 0 ;
23212 PyObject * obj1 = 0 ;
23213 PyObject * obj2 = 0 ;
23214 char *kwnames[] = {
23215 (char *) "self",(char *) "x",(char *) "y", NULL
23216 };
23217
23218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
23219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23220 {
23221 temp2 = PyInt_AsLong(obj1);
23222 if (PyErr_Occurred()) SWIG_fail;
23223 arg2 = &temp2;
23224 }
23225 {
23226 temp3 = PyInt_AsLong(obj2);
23227 if (PyErr_Occurred()) SWIG_fail;
23228 arg3 = &temp3;
23229 }
23230 {
23231 PyThreadState* __tstate = wxPyBeginAllowThreads();
23232 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
23233
23234 wxPyEndAllowThreads(__tstate);
23235 if (PyErr_Occurred()) SWIG_fail;
23236 }
23237 Py_INCREF(Py_None); resultobj = Py_None;
23238 {
23239 PyObject *o = PyInt_FromLong((long) (*arg2));
23240 resultobj = t_output_helper(resultobj,o);
23241 }
23242 {
23243 PyObject *o = PyInt_FromLong((long) (*arg3));
23244 resultobj = t_output_helper(resultobj,o);
23245 }
23246 return resultobj;
23247 fail:
23248 return NULL;
23249}
23250
23251
23252static PyObject *_wrap_Window_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
23253 PyObject *resultobj;
23254 wxWindow *arg1 = (wxWindow *) 0 ;
23255 int *arg2 = (int *) 0 ;
23256 int *arg3 = (int *) 0 ;
23257 int temp2 ;
23258 int temp3 ;
23259 PyObject * obj0 = 0 ;
23260 PyObject * obj1 = 0 ;
23261 PyObject * obj2 = 0 ;
23262 char *kwnames[] = {
23263 (char *) "self",(char *) "x",(char *) "y", NULL
23264 };
23265
23266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
23267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23268 {
23269 temp2 = PyInt_AsLong(obj1);
23270 if (PyErr_Occurred()) SWIG_fail;
23271 arg2 = &temp2;
23272 }
23273 {
23274 temp3 = PyInt_AsLong(obj2);
23275 if (PyErr_Occurred()) SWIG_fail;
23276 arg3 = &temp3;
23277 }
23278 {
23279 PyThreadState* __tstate = wxPyBeginAllowThreads();
23280 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
23281
23282 wxPyEndAllowThreads(__tstate);
23283 if (PyErr_Occurred()) SWIG_fail;
23284 }
23285 Py_INCREF(Py_None); resultobj = Py_None;
23286 {
23287 PyObject *o = PyInt_FromLong((long) (*arg2));
23288 resultobj = t_output_helper(resultobj,o);
23289 }
23290 {
23291 PyObject *o = PyInt_FromLong((long) (*arg3));
23292 resultobj = t_output_helper(resultobj,o);
23293 }
23294 return resultobj;
23295 fail:
23296 return NULL;
23297}
23298
23299
23300static PyObject *_wrap_Window_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
23301 PyObject *resultobj;
23302 wxWindow *arg1 = (wxWindow *) 0 ;
23303 wxPoint *arg2 = 0 ;
23304 wxPoint result;
23305 wxPoint temp2 ;
23306 PyObject * obj0 = 0 ;
23307 PyObject * obj1 = 0 ;
23308 char *kwnames[] = {
23309 (char *) "self",(char *) "pt", NULL
23310 };
23311
23312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
23313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23314 {
23315 arg2 = &temp2;
23316 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23317 }
23318 {
23319 PyThreadState* __tstate = wxPyBeginAllowThreads();
23320 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
23321
23322 wxPyEndAllowThreads(__tstate);
23323 if (PyErr_Occurred()) SWIG_fail;
23324 }
23325 {
23326 wxPoint * resultptr;
23327 resultptr = new wxPoint((wxPoint &) result);
23328 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
23329 }
23330 return resultobj;
23331 fail:
23332 return NULL;
23333}
23334
23335
23336static PyObject *_wrap_Window_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
23337 PyObject *resultobj;
23338 wxWindow *arg1 = (wxWindow *) 0 ;
23339 wxPoint *arg2 = 0 ;
23340 wxPoint result;
23341 wxPoint temp2 ;
23342 PyObject * obj0 = 0 ;
23343 PyObject * obj1 = 0 ;
23344 char *kwnames[] = {
23345 (char *) "self",(char *) "pt", NULL
23346 };
23347
23348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
23349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23350 {
23351 arg2 = &temp2;
23352 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23353 }
23354 {
23355 PyThreadState* __tstate = wxPyBeginAllowThreads();
23356 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
23357
23358 wxPyEndAllowThreads(__tstate);
23359 if (PyErr_Occurred()) SWIG_fail;
23360 }
23361 {
23362 wxPoint * resultptr;
23363 resultptr = new wxPoint((wxPoint &) result);
23364 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
23365 }
23366 return resultobj;
23367 fail:
23368 return NULL;
23369}
23370
23371
23372static PyObject *_wrap_Window_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
23373 PyObject *resultobj;
23374 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a
RD
23375 int arg2 ;
23376 int arg3 ;
d14a1e28
RD
23377 int result;
23378 PyObject * obj0 = 0 ;
23379 char *kwnames[] = {
23380 (char *) "self",(char *) "x",(char *) "y", NULL
23381 };
23382
23383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
23384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23385 {
23386 PyThreadState* __tstate = wxPyBeginAllowThreads();
23387 result = (int)((wxWindow const *)arg1)->HitTest(arg2,arg3);
23388
23389 wxPyEndAllowThreads(__tstate);
23390 if (PyErr_Occurred()) SWIG_fail;
23391 }
23392 resultobj = PyInt_FromLong((long)result);
23393 return resultobj;
23394 fail:
23395 return NULL;
23396}
23397
23398
23399static PyObject *_wrap_Window_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
23400 PyObject *resultobj;
23401 wxWindow *arg1 = (wxWindow *) 0 ;
23402 wxPoint *arg2 = 0 ;
23403 int result;
23404 wxPoint temp2 ;
23405 PyObject * obj0 = 0 ;
23406 PyObject * obj1 = 0 ;
23407 char *kwnames[] = {
23408 (char *) "self",(char *) "pt", NULL
23409 };
23410
23411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
23412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23413 {
23414 arg2 = &temp2;
23415 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23416 }
23417 {
23418 PyThreadState* __tstate = wxPyBeginAllowThreads();
23419 result = (int)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
23420
23421 wxPyEndAllowThreads(__tstate);
23422 if (PyErr_Occurred()) SWIG_fail;
23423 }
23424 resultobj = PyInt_FromLong((long)result);
23425 return resultobj;
23426 fail:
23427 return NULL;
23428}
23429
23430
23431static PyObject *_wrap_Window_GetBorderFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
23432 PyObject *resultobj;
23433 wxWindow *arg1 = (wxWindow *) 0 ;
23434 long arg2 ;
23435 int result;
23436 PyObject * obj0 = 0 ;
23437 char *kwnames[] = {
23438 (char *) "self",(char *) "flags", NULL
23439 };
23440
23441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_GetBorderFlags",kwnames,&obj0,&arg2)) goto fail;
23442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23443 {
23444 PyThreadState* __tstate = wxPyBeginAllowThreads();
23445 result = (int)((wxWindow const *)arg1)->GetBorder(arg2);
23446
23447 wxPyEndAllowThreads(__tstate);
23448 if (PyErr_Occurred()) SWIG_fail;
23449 }
23450 resultobj = PyInt_FromLong((long)result);
23451 return resultobj;
23452 fail:
23453 return NULL;
23454}
23455
23456
23457static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
23458 PyObject *resultobj;
23459 wxWindow *arg1 = (wxWindow *) 0 ;
23460 int result;
23461 PyObject * obj0 = 0 ;
23462 char *kwnames[] = {
23463 (char *) "self", NULL
23464 };
23465
23466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBorder",kwnames,&obj0)) goto fail;
23467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23468 {
23469 PyThreadState* __tstate = wxPyBeginAllowThreads();
23470 result = (int)((wxWindow const *)arg1)->GetBorder();
23471
23472 wxPyEndAllowThreads(__tstate);
23473 if (PyErr_Occurred()) SWIG_fail;
23474 }
23475 resultobj = PyInt_FromLong((long)result);
23476 return resultobj;
23477 fail:
23478 return NULL;
23479}
23480
23481
23482static PyObject *_wrap_Window_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
23483 PyObject *resultobj;
23484 wxWindow *arg1 = (wxWindow *) 0 ;
23485 long arg2 = (long) wxUPDATE_UI_NONE ;
23486 PyObject * obj0 = 0 ;
23487 char *kwnames[] = {
23488 (char *) "self",(char *) "flags", NULL
23489 };
23490
23491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:Window_UpdateWindowUI",kwnames,&obj0,&arg2)) goto fail;
23492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23493 {
23494 PyThreadState* __tstate = wxPyBeginAllowThreads();
23495 (arg1)->UpdateWindowUI(arg2);
23496
23497 wxPyEndAllowThreads(__tstate);
23498 if (PyErr_Occurred()) SWIG_fail;
23499 }
23500 Py_INCREF(Py_None); resultobj = Py_None;
23501 return resultobj;
23502 fail:
23503 return NULL;
23504}
23505
23506
23507static PyObject *_wrap_Window_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
23508 PyObject *resultobj;
23509 wxWindow *arg1 = (wxWindow *) 0 ;
23510 wxMenu *arg2 = (wxMenu *) 0 ;
23511 int arg3 ;
23512 int arg4 ;
23513 bool result;
23514 PyObject * obj0 = 0 ;
23515 PyObject * obj1 = 0 ;
23516 char *kwnames[] = {
23517 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
23518 };
23519
23520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:Window_PopupMenuXY",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
23521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23522 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23523 {
23524 PyThreadState* __tstate = wxPyBeginAllowThreads();
23525 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
23526
23527 wxPyEndAllowThreads(__tstate);
23528 if (PyErr_Occurred()) SWIG_fail;
23529 }
23530 resultobj = PyInt_FromLong((long)result);
23531 return resultobj;
23532 fail:
23533 return NULL;
23534}
23535
23536
23537static PyObject *_wrap_Window_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
23538 PyObject *resultobj;
23539 wxWindow *arg1 = (wxWindow *) 0 ;
23540 wxMenu *arg2 = (wxMenu *) 0 ;
23541 wxPoint *arg3 = 0 ;
23542 bool result;
23543 wxPoint temp3 ;
23544 PyObject * obj0 = 0 ;
23545 PyObject * obj1 = 0 ;
23546 PyObject * obj2 = 0 ;
23547 char *kwnames[] = {
23548 (char *) "self",(char *) "menu",(char *) "pos", NULL
23549 };
23550
23551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
23552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23553 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23554 {
23555 arg3 = &temp3;
23556 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23557 }
23558 {
23559 PyThreadState* __tstate = wxPyBeginAllowThreads();
23560 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
23561
23562 wxPyEndAllowThreads(__tstate);
23563 if (PyErr_Occurred()) SWIG_fail;
23564 }
23565 resultobj = PyInt_FromLong((long)result);
23566 return resultobj;
23567 fail:
23568 return NULL;
23569}
23570
23571
23572static PyObject *_wrap_Window_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
23573 PyObject *resultobj;
23574 wxWindow *arg1 = (wxWindow *) 0 ;
23575 long result;
23576 PyObject * obj0 = 0 ;
23577 char *kwnames[] = {
23578 (char *) "self", NULL
23579 };
23580
23581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
23582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23583 {
23584 PyThreadState* __tstate = wxPyBeginAllowThreads();
23585 result = (long)wxWindow_GetHandle(arg1);
23586
23587 wxPyEndAllowThreads(__tstate);
23588 if (PyErr_Occurred()) SWIG_fail;
23589 }
23590 resultobj = PyInt_FromLong((long)result);
23591 return resultobj;
23592 fail:
23593 return NULL;
23594}
23595
23596
23597static PyObject *_wrap_Window_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
23598 PyObject *resultobj;
23599 wxWindow *arg1 = (wxWindow *) 0 ;
23600 int arg2 ;
23601 bool result;
23602 PyObject * obj0 = 0 ;
23603 char *kwnames[] = {
23604 (char *) "self",(char *) "orient", NULL
23605 };
23606
23607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_HasScrollbar",kwnames,&obj0,&arg2)) goto fail;
23608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23609 {
23610 PyThreadState* __tstate = wxPyBeginAllowThreads();
23611 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
23612
23613 wxPyEndAllowThreads(__tstate);
23614 if (PyErr_Occurred()) SWIG_fail;
23615 }
23616 resultobj = PyInt_FromLong((long)result);
23617 return resultobj;
23618 fail:
23619 return NULL;
23620}
23621
23622
23623static PyObject *_wrap_Window_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
23624 PyObject *resultobj;
23625 wxWindow *arg1 = (wxWindow *) 0 ;
23626 int arg2 ;
23627 int arg3 ;
23628 int arg4 ;
23629 int arg5 ;
423f194a 23630 bool arg6 = (bool) True ;
d14a1e28
RD
23631 PyObject * obj0 = 0 ;
23632 PyObject * obj5 = 0 ;
23633 char *kwnames[] = {
23634 (char *) "self",(char *) "orient",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
23635 };
23636
23637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:Window_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
23638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23639 if (obj5) {
23640 arg6 = PyInt_AsLong(obj5) ? true : false;
23641 if (PyErr_Occurred()) SWIG_fail;
23642 }
23643 {
23644 PyThreadState* __tstate = wxPyBeginAllowThreads();
23645 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
23646
23647 wxPyEndAllowThreads(__tstate);
23648 if (PyErr_Occurred()) SWIG_fail;
23649 }
23650 Py_INCREF(Py_None); resultobj = Py_None;
23651 return resultobj;
23652 fail:
23653 return NULL;
23654}
23655
23656
23657static PyObject *_wrap_Window_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
23658 PyObject *resultobj;
23659 wxWindow *arg1 = (wxWindow *) 0 ;
23660 int arg2 ;
23661 int arg3 ;
423f194a 23662 bool arg4 = (bool) True ;
d14a1e28
RD
23663 PyObject * obj0 = 0 ;
23664 PyObject * obj3 = 0 ;
23665 char *kwnames[] = {
23666 (char *) "self",(char *) "orient",(char *) "pos",(char *) "refresh", NULL
23667 };
23668
23669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:Window_SetScrollPos",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
23670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23671 if (obj3) {
23672 arg4 = PyInt_AsLong(obj3) ? true : false;
23673 if (PyErr_Occurred()) SWIG_fail;
23674 }
23675 {
23676 PyThreadState* __tstate = wxPyBeginAllowThreads();
23677 (arg1)->SetScrollPos(arg2,arg3,arg4);
23678
23679 wxPyEndAllowThreads(__tstate);
23680 if (PyErr_Occurred()) SWIG_fail;
23681 }
23682 Py_INCREF(Py_None); resultobj = Py_None;
23683 return resultobj;
23684 fail:
23685 return NULL;
23686}
23687
23688
23689static PyObject *_wrap_Window_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
23690 PyObject *resultobj;
23691 wxWindow *arg1 = (wxWindow *) 0 ;
23692 int arg2 ;
23693 int result;
23694 PyObject * obj0 = 0 ;
23695 char *kwnames[] = {
23696 (char *) "self",(char *) "orient", NULL
23697 };
23698
23699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_GetScrollPos",kwnames,&obj0,&arg2)) goto fail;
23700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23701 {
23702 PyThreadState* __tstate = wxPyBeginAllowThreads();
23703 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
23704
23705 wxPyEndAllowThreads(__tstate);
23706 if (PyErr_Occurred()) SWIG_fail;
23707 }
23708 resultobj = PyInt_FromLong((long)result);
23709 return resultobj;
23710 fail:
23711 return NULL;
23712}
23713
23714
23715static PyObject *_wrap_Window_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
23716 PyObject *resultobj;
23717 wxWindow *arg1 = (wxWindow *) 0 ;
23718 int arg2 ;
23719 int result;
23720 PyObject * obj0 = 0 ;
23721 char *kwnames[] = {
23722 (char *) "self",(char *) "orient", NULL
23723 };
23724
23725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_GetScrollThumb",kwnames,&obj0,&arg2)) goto fail;
23726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23727 {
23728 PyThreadState* __tstate = wxPyBeginAllowThreads();
23729 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
23730
23731 wxPyEndAllowThreads(__tstate);
23732 if (PyErr_Occurred()) SWIG_fail;
23733 }
23734 resultobj = PyInt_FromLong((long)result);
23735 return resultobj;
23736 fail:
23737 return NULL;
23738}
23739
23740
23741static PyObject *_wrap_Window_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
23742 PyObject *resultobj;
23743 wxWindow *arg1 = (wxWindow *) 0 ;
23744 int arg2 ;
23745 int result;
23746 PyObject * obj0 = 0 ;
23747 char *kwnames[] = {
23748 (char *) "self",(char *) "orient", NULL
23749 };
23750
23751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_GetScrollRange",kwnames,&obj0,&arg2)) goto fail;
23752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23753 {
23754 PyThreadState* __tstate = wxPyBeginAllowThreads();
23755 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
23756
23757 wxPyEndAllowThreads(__tstate);
23758 if (PyErr_Occurred()) SWIG_fail;
23759 }
23760 resultobj = PyInt_FromLong((long)result);
23761 return resultobj;
23762 fail:
23763 return NULL;
23764}
23765
23766
23767static PyObject *_wrap_Window_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
23768 PyObject *resultobj;
23769 wxWindow *arg1 = (wxWindow *) 0 ;
23770 int arg2 ;
23771 int arg3 ;
23772 wxRect *arg4 = (wxRect *) NULL ;
23773 PyObject * obj0 = 0 ;
23774 PyObject * obj3 = 0 ;
23775 char *kwnames[] = {
23776 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
23777 };
23778
23779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:Window_ScrollWindow",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
23780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23781 if (obj3) {
23782 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23783 }
23784 {
23785 PyThreadState* __tstate = wxPyBeginAllowThreads();
23786 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
23787
23788 wxPyEndAllowThreads(__tstate);
23789 if (PyErr_Occurred()) SWIG_fail;
23790 }
23791 Py_INCREF(Py_None); resultobj = Py_None;
23792 return resultobj;
23793 fail:
23794 return NULL;
23795}
23796
23797
23798static PyObject *_wrap_Window_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
23799 PyObject *resultobj;
23800 wxWindow *arg1 = (wxWindow *) 0 ;
23801 int arg2 ;
23802 bool result;
23803 PyObject * obj0 = 0 ;
23804 char *kwnames[] = {
23805 (char *) "self",(char *) "lines", NULL
23806 };
23807
23808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
23809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23810 {
23811 PyThreadState* __tstate = wxPyBeginAllowThreads();
23812 result = (bool)(arg1)->ScrollLines(arg2);
23813
23814 wxPyEndAllowThreads(__tstate);
23815 if (PyErr_Occurred()) SWIG_fail;
23816 }
23817 resultobj = PyInt_FromLong((long)result);
23818 return resultobj;
23819 fail:
23820 return NULL;
23821}
23822
23823
23824static PyObject *_wrap_Window_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
23825 PyObject *resultobj;
23826 wxWindow *arg1 = (wxWindow *) 0 ;
23827 int arg2 ;
23828 bool result;
23829 PyObject * obj0 = 0 ;
23830 char *kwnames[] = {
23831 (char *) "self",(char *) "pages", NULL
23832 };
23833
23834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
23835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23836 {
23837 PyThreadState* __tstate = wxPyBeginAllowThreads();
23838 result = (bool)(arg1)->ScrollPages(arg2);
23839
23840 wxPyEndAllowThreads(__tstate);
23841 if (PyErr_Occurred()) SWIG_fail;
23842 }
23843 resultobj = PyInt_FromLong((long)result);
23844 return resultobj;
23845 fail:
23846 return NULL;
23847}
23848
23849
23850static PyObject *_wrap_Window_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
23851 PyObject *resultobj;
23852 wxWindow *arg1 = (wxWindow *) 0 ;
23853 bool result;
23854 PyObject * obj0 = 0 ;
23855 char *kwnames[] = {
23856 (char *) "self", NULL
23857 };
23858
23859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
23860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23861 {
23862 PyThreadState* __tstate = wxPyBeginAllowThreads();
23863 result = (bool)(arg1)->LineUp();
23864
23865 wxPyEndAllowThreads(__tstate);
23866 if (PyErr_Occurred()) SWIG_fail;
23867 }
23868 resultobj = PyInt_FromLong((long)result);
23869 return resultobj;
23870 fail:
23871 return NULL;
23872}
23873
23874
23875static PyObject *_wrap_Window_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
23876 PyObject *resultobj;
23877 wxWindow *arg1 = (wxWindow *) 0 ;
23878 bool result;
23879 PyObject * obj0 = 0 ;
23880 char *kwnames[] = {
23881 (char *) "self", NULL
23882 };
23883
23884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
23885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23886 {
23887 PyThreadState* __tstate = wxPyBeginAllowThreads();
23888 result = (bool)(arg1)->LineDown();
23889
23890 wxPyEndAllowThreads(__tstate);
23891 if (PyErr_Occurred()) SWIG_fail;
23892 }
23893 resultobj = PyInt_FromLong((long)result);
23894 return resultobj;
23895 fail:
23896 return NULL;
23897}
23898
23899
23900static PyObject *_wrap_Window_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
23901 PyObject *resultobj;
23902 wxWindow *arg1 = (wxWindow *) 0 ;
23903 bool result;
23904 PyObject * obj0 = 0 ;
23905 char *kwnames[] = {
23906 (char *) "self", NULL
23907 };
23908
23909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
23910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23911 {
23912 PyThreadState* __tstate = wxPyBeginAllowThreads();
23913 result = (bool)(arg1)->PageUp();
23914
23915 wxPyEndAllowThreads(__tstate);
23916 if (PyErr_Occurred()) SWIG_fail;
23917 }
23918 resultobj = PyInt_FromLong((long)result);
23919 return resultobj;
23920 fail:
23921 return NULL;
23922}
23923
23924
23925static PyObject *_wrap_Window_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
23926 PyObject *resultobj;
23927 wxWindow *arg1 = (wxWindow *) 0 ;
23928 bool result;
23929 PyObject * obj0 = 0 ;
23930 char *kwnames[] = {
23931 (char *) "self", NULL
23932 };
23933
23934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
23935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23936 {
23937 PyThreadState* __tstate = wxPyBeginAllowThreads();
23938 result = (bool)(arg1)->PageDown();
23939
23940 wxPyEndAllowThreads(__tstate);
23941 if (PyErr_Occurred()) SWIG_fail;
23942 }
23943 resultobj = PyInt_FromLong((long)result);
23944 return resultobj;
23945 fail:
23946 return NULL;
23947}
23948
23949
23950static PyObject *_wrap_Window_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
23951 PyObject *resultobj;
23952 wxWindow *arg1 = (wxWindow *) 0 ;
23953 wxString *arg2 = 0 ;
423f194a 23954 bool temp2 = False ;
d14a1e28
RD
23955 PyObject * obj0 = 0 ;
23956 PyObject * obj1 = 0 ;
23957 char *kwnames[] = {
23958 (char *) "self",(char *) "text", NULL
23959 };
23960
23961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
23962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23963 {
23964 arg2 = wxString_in_helper(obj1);
23965 if (arg2 == NULL) SWIG_fail;
423f194a 23966 temp2 = True;
d14a1e28
RD
23967 }
23968 {
23969 PyThreadState* __tstate = wxPyBeginAllowThreads();
23970 (arg1)->SetHelpText((wxString const &)*arg2);
23971
23972 wxPyEndAllowThreads(__tstate);
23973 if (PyErr_Occurred()) SWIG_fail;
23974 }
23975 Py_INCREF(Py_None); resultobj = Py_None;
23976 {
23977 if (temp2)
23978 delete arg2;
23979 }
23980 return resultobj;
23981 fail:
23982 {
23983 if (temp2)
23984 delete arg2;
23985 }
23986 return NULL;
23987}
23988
23989
23990static PyObject *_wrap_Window_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
23991 PyObject *resultobj;
23992 wxWindow *arg1 = (wxWindow *) 0 ;
23993 wxString *arg2 = 0 ;
423f194a 23994 bool temp2 = False ;
d14a1e28
RD
23995 PyObject * obj0 = 0 ;
23996 PyObject * obj1 = 0 ;
23997 char *kwnames[] = {
23998 (char *) "self",(char *) "text", NULL
23999 };
24000
24001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
24002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24003 {
24004 arg2 = wxString_in_helper(obj1);
24005 if (arg2 == NULL) SWIG_fail;
423f194a 24006 temp2 = True;
d14a1e28
RD
24007 }
24008 {
24009 PyThreadState* __tstate = wxPyBeginAllowThreads();
24010 (arg1)->SetHelpTextForId((wxString const &)*arg2);
24011
24012 wxPyEndAllowThreads(__tstate);
24013 if (PyErr_Occurred()) SWIG_fail;
24014 }
24015 Py_INCREF(Py_None); resultobj = Py_None;
24016 {
24017 if (temp2)
24018 delete arg2;
24019 }
24020 return resultobj;
24021 fail:
24022 {
24023 if (temp2)
24024 delete arg2;
24025 }
24026 return NULL;
24027}
24028
24029
24030static PyObject *_wrap_Window_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
24031 PyObject *resultobj;
24032 wxWindow *arg1 = (wxWindow *) 0 ;
24033 wxString result;
24034 PyObject * obj0 = 0 ;
24035 char *kwnames[] = {
24036 (char *) "self", NULL
24037 };
24038
24039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
24040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24041 {
24042 PyThreadState* __tstate = wxPyBeginAllowThreads();
24043 result = ((wxWindow const *)arg1)->GetHelpText();
24044
24045 wxPyEndAllowThreads(__tstate);
24046 if (PyErr_Occurred()) SWIG_fail;
24047 }
24048 {
24049#if wxUSE_UNICODE
24050 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24051#else
24052 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24053#endif
24054 }
24055 return resultobj;
24056 fail:
24057 return NULL;
24058}
24059
24060
24061static PyObject *_wrap_Window_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
24062 PyObject *resultobj;
24063 wxWindow *arg1 = (wxWindow *) 0 ;
24064 wxString *arg2 = 0 ;
423f194a 24065 bool temp2 = False ;
d14a1e28
RD
24066 PyObject * obj0 = 0 ;
24067 PyObject * obj1 = 0 ;
24068 char *kwnames[] = {
24069 (char *) "self",(char *) "tip", NULL
24070 };
24071
24072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
24073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24074 {
24075 arg2 = wxString_in_helper(obj1);
24076 if (arg2 == NULL) SWIG_fail;
423f194a 24077 temp2 = True;
d14a1e28
RD
24078 }
24079 {
24080 PyThreadState* __tstate = wxPyBeginAllowThreads();
24081 (arg1)->SetToolTip((wxString const &)*arg2);
24082
24083 wxPyEndAllowThreads(__tstate);
24084 if (PyErr_Occurred()) SWIG_fail;
24085 }
24086 Py_INCREF(Py_None); resultobj = Py_None;
24087 {
24088 if (temp2)
24089 delete arg2;
24090 }
24091 return resultobj;
24092 fail:
24093 {
24094 if (temp2)
24095 delete arg2;
24096 }
24097 return NULL;
24098}
24099
24100
24101static PyObject *_wrap_Window_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
24102 PyObject *resultobj;
24103 wxWindow *arg1 = (wxWindow *) 0 ;
24104 wxToolTip *arg2 = (wxToolTip *) 0 ;
24105 PyObject * obj0 = 0 ;
24106 PyObject * obj1 = 0 ;
24107 char *kwnames[] = {
24108 (char *) "self",(char *) "tip", NULL
24109 };
24110
24111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
24112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24113 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24114 {
24115 PyThreadState* __tstate = wxPyBeginAllowThreads();
24116 (arg1)->SetToolTip(arg2);
24117
24118 wxPyEndAllowThreads(__tstate);
24119 if (PyErr_Occurred()) SWIG_fail;
24120 }
24121 Py_INCREF(Py_None); resultobj = Py_None;
24122 return resultobj;
24123 fail:
24124 return NULL;
24125}
24126
24127
24128static PyObject *_wrap_Window_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
24129 PyObject *resultobj;
24130 wxWindow *arg1 = (wxWindow *) 0 ;
24131 wxToolTip *result;
24132 PyObject * obj0 = 0 ;
24133 char *kwnames[] = {
24134 (char *) "self", NULL
24135 };
24136
24137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
24138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24139 {
24140 PyThreadState* __tstate = wxPyBeginAllowThreads();
24141 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
24142
24143 wxPyEndAllowThreads(__tstate);
24144 if (PyErr_Occurred()) SWIG_fail;
24145 }
24146 {
24147 resultobj = wxPyMake_wxObject(result);
24148 }
24149 return resultobj;
24150 fail:
24151 return NULL;
24152}
24153
24154
24155static PyObject *_wrap_Window_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24156 PyObject *resultobj;
24157 wxWindow *arg1 = (wxWindow *) 0 ;
44127b65 24158 wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ;
d14a1e28
RD
24159 PyObject * obj0 = 0 ;
24160 PyObject * obj1 = 0 ;
24161 char *kwnames[] = {
24162 (char *) "self",(char *) "dropTarget", NULL
24163 };
24164
24165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
24166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
44127b65 24167 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
24168 {
24169 PyThreadState* __tstate = wxPyBeginAllowThreads();
24170 (arg1)->SetDropTarget(arg2);
24171
24172 wxPyEndAllowThreads(__tstate);
24173 if (PyErr_Occurred()) SWIG_fail;
24174 }
24175 Py_INCREF(Py_None); resultobj = Py_None;
24176 return resultobj;
24177 fail:
24178 return NULL;
24179}
24180
24181
24182static PyObject *_wrap_Window_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24183 PyObject *resultobj;
24184 wxWindow *arg1 = (wxWindow *) 0 ;
44127b65 24185 wxPyDropTarget *result;
d14a1e28
RD
24186 PyObject * obj0 = 0 ;
24187 char *kwnames[] = {
24188 (char *) "self", NULL
24189 };
24190
24191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
24192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24193 {
24194 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 24195 result = (wxPyDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
d14a1e28
RD
24196
24197 wxPyEndAllowThreads(__tstate);
24198 if (PyErr_Occurred()) SWIG_fail;
24199 }
44127b65 24200 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropTarget, 0);
d14a1e28
RD
24201 return resultobj;
24202 fail:
24203 return NULL;
24204}
24205
24206
24207static PyObject *_wrap_Window_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
24208 PyObject *resultobj;
24209 wxWindow *arg1 = (wxWindow *) 0 ;
24210 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
24211 PyObject * obj0 = 0 ;
24212 PyObject * obj1 = 0 ;
24213 char *kwnames[] = {
24214 (char *) "self",(char *) "constraints", NULL
24215 };
24216
24217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
24218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24219 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24220 {
24221 PyThreadState* __tstate = wxPyBeginAllowThreads();
24222 (arg1)->SetConstraints(arg2);
24223
24224 wxPyEndAllowThreads(__tstate);
24225 if (PyErr_Occurred()) SWIG_fail;
24226 }
24227 Py_INCREF(Py_None); resultobj = Py_None;
24228 return resultobj;
24229 fail:
24230 return NULL;
24231}
24232
24233
24234static PyObject *_wrap_Window_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
24235 PyObject *resultobj;
24236 wxWindow *arg1 = (wxWindow *) 0 ;
24237 wxLayoutConstraints *result;
24238 PyObject * obj0 = 0 ;
24239 char *kwnames[] = {
24240 (char *) "self", NULL
24241 };
24242
24243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
24244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24245 {
24246 PyThreadState* __tstate = wxPyBeginAllowThreads();
24247 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
24248
24249 wxPyEndAllowThreads(__tstate);
24250 if (PyErr_Occurred()) SWIG_fail;
24251 }
24252 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutConstraints, 0);
24253 return resultobj;
24254 fail:
24255 return NULL;
24256}
24257
24258
24259static PyObject *_wrap_Window_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
24260 PyObject *resultobj;
24261 wxWindow *arg1 = (wxWindow *) 0 ;
24262 bool arg2 ;
24263 PyObject * obj0 = 0 ;
24264 PyObject * obj1 = 0 ;
24265 char *kwnames[] = {
24266 (char *) "self",(char *) "autoLayout", NULL
24267 };
24268
24269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
24270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24271 arg2 = PyInt_AsLong(obj1) ? true : false;
24272 if (PyErr_Occurred()) SWIG_fail;
24273 {
24274 PyThreadState* __tstate = wxPyBeginAllowThreads();
24275 (arg1)->SetAutoLayout(arg2);
24276
24277 wxPyEndAllowThreads(__tstate);
24278 if (PyErr_Occurred()) SWIG_fail;
24279 }
24280 Py_INCREF(Py_None); resultobj = Py_None;
24281 return resultobj;
24282 fail:
24283 return NULL;
24284}
24285
24286
24287static PyObject *_wrap_Window_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
24288 PyObject *resultobj;
24289 wxWindow *arg1 = (wxWindow *) 0 ;
24290 bool result;
24291 PyObject * obj0 = 0 ;
24292 char *kwnames[] = {
24293 (char *) "self", NULL
24294 };
24295
24296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
24297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24298 {
24299 PyThreadState* __tstate = wxPyBeginAllowThreads();
24300 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
24301
24302 wxPyEndAllowThreads(__tstate);
24303 if (PyErr_Occurred()) SWIG_fail;
24304 }
24305 resultobj = PyInt_FromLong((long)result);
24306 return resultobj;
24307 fail:
24308 return NULL;
24309}
24310
24311
24312static PyObject *_wrap_Window_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
24313 PyObject *resultobj;
24314 wxWindow *arg1 = (wxWindow *) 0 ;
24315 bool result;
24316 PyObject * obj0 = 0 ;
24317 char *kwnames[] = {
24318 (char *) "self", NULL
24319 };
24320
24321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
24322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24323 {
24324 PyThreadState* __tstate = wxPyBeginAllowThreads();
24325 result = (bool)(arg1)->Layout();
24326
24327 wxPyEndAllowThreads(__tstate);
24328 if (PyErr_Occurred()) SWIG_fail;
24329 }
24330 resultobj = PyInt_FromLong((long)result);
24331 return resultobj;
24332 fail:
24333 return NULL;
24334}
24335
24336
24337static PyObject *_wrap_Window_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
24338 PyObject *resultobj;
24339 wxWindow *arg1 = (wxWindow *) 0 ;
24340 wxSizer *arg2 = (wxSizer *) 0 ;
423f194a 24341 bool arg3 = (bool) True ;
d14a1e28
RD
24342 PyObject * obj0 = 0 ;
24343 PyObject * obj1 = 0 ;
24344 PyObject * obj2 = 0 ;
24345 char *kwnames[] = {
24346 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
24347 };
24348
24349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
24350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24351 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24352 if (obj2) {
24353 arg3 = PyInt_AsLong(obj2) ? true : false;
24354 if (PyErr_Occurred()) SWIG_fail;
24355 }
24356 {
24357 PyThreadState* __tstate = wxPyBeginAllowThreads();
24358 (arg1)->SetSizer(arg2,arg3);
24359
24360 wxPyEndAllowThreads(__tstate);
24361 if (PyErr_Occurred()) SWIG_fail;
24362 }
24363 Py_INCREF(Py_None); resultobj = Py_None;
24364 return resultobj;
24365 fail:
24366 return NULL;
24367}
24368
24369
24370static PyObject *_wrap_Window_SetSizerAndFit(PyObject *self, PyObject *args, PyObject *kwargs) {
24371 PyObject *resultobj;
24372 wxWindow *arg1 = (wxWindow *) 0 ;
24373 wxSizer *arg2 = (wxSizer *) 0 ;
423f194a 24374 bool arg3 = (bool) True ;
d14a1e28
RD
24375 PyObject * obj0 = 0 ;
24376 PyObject * obj1 = 0 ;
24377 PyObject * obj2 = 0 ;
24378 char *kwnames[] = {
24379 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
24380 };
24381
24382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
24383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24384 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24385 if (obj2) {
24386 arg3 = PyInt_AsLong(obj2) ? true : false;
24387 if (PyErr_Occurred()) SWIG_fail;
24388 }
24389 {
24390 PyThreadState* __tstate = wxPyBeginAllowThreads();
24391 (arg1)->SetSizerAndFit(arg2,arg3);
24392
24393 wxPyEndAllowThreads(__tstate);
24394 if (PyErr_Occurred()) SWIG_fail;
24395 }
24396 Py_INCREF(Py_None); resultobj = Py_None;
24397 return resultobj;
24398 fail:
24399 return NULL;
24400}
24401
24402
24403static PyObject *_wrap_Window_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
24404 PyObject *resultobj;
24405 wxWindow *arg1 = (wxWindow *) 0 ;
24406 wxSizer *result;
24407 PyObject * obj0 = 0 ;
24408 char *kwnames[] = {
24409 (char *) "self", NULL
24410 };
24411
24412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
24413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24414 {
24415 PyThreadState* __tstate = wxPyBeginAllowThreads();
24416 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
24417
24418 wxPyEndAllowThreads(__tstate);
24419 if (PyErr_Occurred()) SWIG_fail;
24420 }
24421 {
24422 resultobj = wxPyMake_wxSizer(result);
24423 }
24424 return resultobj;
24425 fail:
24426 return NULL;
24427}
24428
24429
24430static PyObject *_wrap_Window_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
24431 PyObject *resultobj;
24432 wxWindow *arg1 = (wxWindow *) 0 ;
24433 wxSizer *arg2 = (wxSizer *) 0 ;
24434 PyObject * obj0 = 0 ;
24435 PyObject * obj1 = 0 ;
24436 char *kwnames[] = {
24437 (char *) "self",(char *) "sizer", NULL
24438 };
24439
24440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
24441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24442 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24443 {
24444 PyThreadState* __tstate = wxPyBeginAllowThreads();
24445 (arg1)->SetContainingSizer(arg2);
24446
24447 wxPyEndAllowThreads(__tstate);
24448 if (PyErr_Occurred()) SWIG_fail;
24449 }
24450 Py_INCREF(Py_None); resultobj = Py_None;
24451 return resultobj;
24452 fail:
24453 return NULL;
24454}
24455
24456
24457static PyObject *_wrap_Window_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
24458 PyObject *resultobj;
24459 wxWindow *arg1 = (wxWindow *) 0 ;
24460 wxSizer *result;
24461 PyObject * obj0 = 0 ;
24462 char *kwnames[] = {
24463 (char *) "self", NULL
24464 };
24465
24466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
24467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24468 {
24469 PyThreadState* __tstate = wxPyBeginAllowThreads();
24470 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
24471
24472 wxPyEndAllowThreads(__tstate);
24473 if (PyErr_Occurred()) SWIG_fail;
24474 }
24475 {
24476 resultobj = wxPyMake_wxSizer(result);
24477 }
24478 return resultobj;
24479 fail:
24480 return NULL;
24481}
24482
24483
24484static PyObject * Window_swigregister(PyObject *self, PyObject *args) {
24485 PyObject *obj;
24486 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24487 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
24488 Py_INCREF(obj);
24489 return Py_BuildValue((char *)"");
24490}
24491static PyObject *_wrap_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
24492 PyObject *resultobj;
24493 long arg1 ;
24494 wxWindow *arg2 = (wxWindow *) NULL ;
24495 wxWindow *result;
24496 PyObject * obj1 = 0 ;
24497 char *kwnames[] = {
24498 (char *) "id",(char *) "parent", NULL
24499 };
24500
24501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l|O:FindWindowById",kwnames,&arg1,&obj1)) goto fail;
24502 if (obj1) {
24503 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24504 }
24505 {
24506 PyThreadState* __tstate = wxPyBeginAllowThreads();
24507 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
24508
24509 wxPyEndAllowThreads(__tstate);
24510 if (PyErr_Occurred()) SWIG_fail;
24511 }
24512 {
24513 resultobj = wxPyMake_wxObject(result);
24514 }
24515 return resultobj;
24516 fail:
24517 return NULL;
24518}
24519
24520
24521static PyObject *_wrap_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
24522 PyObject *resultobj;
24523 wxString *arg1 = 0 ;
24524 wxWindow *arg2 = (wxWindow *) NULL ;
24525 wxWindow *result;
423f194a 24526 bool temp1 = False ;
d14a1e28
RD
24527 PyObject * obj0 = 0 ;
24528 PyObject * obj1 = 0 ;
24529 char *kwnames[] = {
24530 (char *) "name",(char *) "parent", NULL
24531 };
24532
24533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
24534 {
24535 arg1 = wxString_in_helper(obj0);
24536 if (arg1 == NULL) SWIG_fail;
423f194a 24537 temp1 = True;
d14a1e28
RD
24538 }
24539 if (obj1) {
24540 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24541 }
24542 {
24543 PyThreadState* __tstate = wxPyBeginAllowThreads();
24544 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
24545
24546 wxPyEndAllowThreads(__tstate);
24547 if (PyErr_Occurred()) SWIG_fail;
24548 }
24549 {
24550 resultobj = wxPyMake_wxObject(result);
24551 }
24552 {
24553 if (temp1)
24554 delete arg1;
24555 }
24556 return resultobj;
24557 fail:
24558 {
24559 if (temp1)
24560 delete arg1;
24561 }
24562 return NULL;
24563}
24564
24565
24566static PyObject *_wrap_FindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24567 PyObject *resultobj;
24568 wxString *arg1 = 0 ;
24569 wxWindow *arg2 = (wxWindow *) NULL ;
24570 wxWindow *result;
423f194a 24571 bool temp1 = False ;
d14a1e28
RD
24572 PyObject * obj0 = 0 ;
24573 PyObject * obj1 = 0 ;
24574 char *kwnames[] = {
24575 (char *) "label",(char *) "parent", NULL
24576 };
24577
24578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
24579 {
24580 arg1 = wxString_in_helper(obj0);
24581 if (arg1 == NULL) SWIG_fail;
423f194a 24582 temp1 = True;
d14a1e28
RD
24583 }
24584 if (obj1) {
24585 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24586 }
24587 {
24588 PyThreadState* __tstate = wxPyBeginAllowThreads();
24589 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
24590
24591 wxPyEndAllowThreads(__tstate);
24592 if (PyErr_Occurred()) SWIG_fail;
24593 }
24594 {
24595 resultobj = wxPyMake_wxObject(result);
24596 }
24597 {
24598 if (temp1)
24599 delete arg1;
24600 }
24601 return resultobj;
24602 fail:
24603 {
24604 if (temp1)
24605 delete arg1;
24606 }
24607 return NULL;
24608}
24609
24610
24611static PyObject *_wrap_Window_FromHWND(PyObject *self, PyObject *args, PyObject *kwargs) {
24612 PyObject *resultobj;
24613 unsigned long arg1 ;
24614 wxWindow *result;
24615 PyObject * obj0 = 0 ;
24616 char *kwnames[] = {
24617 (char *) "hWnd", NULL
24618 };
24619
24620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FromHWND",kwnames,&obj0)) goto fail;
24621 arg1 = (unsigned long) PyInt_AsLong(obj0);
24622 if (PyErr_Occurred()) SWIG_fail;
24623 {
24624 PyThreadState* __tstate = wxPyBeginAllowThreads();
24625 result = (wxWindow *)wxWindow_FromHWND(arg1);
24626
24627 wxPyEndAllowThreads(__tstate);
24628 if (PyErr_Occurred()) SWIG_fail;
24629 }
24630 {
24631 resultobj = wxPyMake_wxObject(result);
24632 }
24633 return resultobj;
24634 fail:
24635 return NULL;
24636}
24637
24638
24639static PyObject *_wrap_new_Validator(PyObject *self, PyObject *args, PyObject *kwargs) {
24640 PyObject *resultobj;
24641 wxValidator *result;
24642 char *kwnames[] = {
24643 NULL
24644 };
24645
24646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
24647 {
24648 PyThreadState* __tstate = wxPyBeginAllowThreads();
24649 result = (wxValidator *)new wxValidator();
24650
24651 wxPyEndAllowThreads(__tstate);
24652 if (PyErr_Occurred()) SWIG_fail;
24653 }
24654 {
24655 resultobj = wxPyMake_wxObject(result);
24656 }
24657 return resultobj;
24658 fail:
24659 return NULL;
24660}
24661
24662
24663static PyObject *_wrap_Validator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
24664 PyObject *resultobj;
24665 wxValidator *arg1 = (wxValidator *) 0 ;
24666 wxValidator *result;
24667 PyObject * obj0 = 0 ;
24668 char *kwnames[] = {
24669 (char *) "self", NULL
24670 };
24671
24672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
24673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24674 {
24675 PyThreadState* __tstate = wxPyBeginAllowThreads();
24676 result = (wxValidator *)(arg1)->Clone();
24677
24678 wxPyEndAllowThreads(__tstate);
24679 if (PyErr_Occurred()) SWIG_fail;
24680 }
24681 {
24682 resultobj = wxPyMake_wxObject(result);
24683 }
24684 return resultobj;
24685 fail:
24686 return NULL;
24687}
24688
24689
24690static PyObject *_wrap_Validator_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24691 PyObject *resultobj;
24692 wxValidator *arg1 = (wxValidator *) 0 ;
24693 wxWindow *arg2 = (wxWindow *) 0 ;
24694 bool result;
24695 PyObject * obj0 = 0 ;
24696 PyObject * obj1 = 0 ;
24697 char *kwnames[] = {
24698 (char *) "self",(char *) "parent", NULL
24699 };
24700
24701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
24702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24703 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24704 {
24705 PyThreadState* __tstate = wxPyBeginAllowThreads();
24706 result = (bool)(arg1)->Validate(arg2);
24707
24708 wxPyEndAllowThreads(__tstate);
24709 if (PyErr_Occurred()) SWIG_fail;
24710 }
24711 resultobj = PyInt_FromLong((long)result);
24712 return resultobj;
24713 fail:
24714 return NULL;
24715}
24716
24717
24718static PyObject *_wrap_Validator_TransferToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24719 PyObject *resultobj;
24720 wxValidator *arg1 = (wxValidator *) 0 ;
24721 bool result;
24722 PyObject * obj0 = 0 ;
24723 char *kwnames[] = {
24724 (char *) "self", NULL
24725 };
24726
24727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
24728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24729 {
24730 PyThreadState* __tstate = wxPyBeginAllowThreads();
24731 result = (bool)(arg1)->TransferToWindow();
24732
24733 wxPyEndAllowThreads(__tstate);
24734 if (PyErr_Occurred()) SWIG_fail;
24735 }
24736 resultobj = PyInt_FromLong((long)result);
24737 return resultobj;
24738 fail:
24739 return NULL;
24740}
24741
24742
24743static PyObject *_wrap_Validator_TransferFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24744 PyObject *resultobj;
24745 wxValidator *arg1 = (wxValidator *) 0 ;
24746 bool result;
24747 PyObject * obj0 = 0 ;
24748 char *kwnames[] = {
24749 (char *) "self", NULL
24750 };
24751
24752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
24753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24754 {
24755 PyThreadState* __tstate = wxPyBeginAllowThreads();
24756 result = (bool)(arg1)->TransferFromWindow();
24757
24758 wxPyEndAllowThreads(__tstate);
24759 if (PyErr_Occurred()) SWIG_fail;
24760 }
24761 resultobj = PyInt_FromLong((long)result);
24762 return resultobj;
24763 fail:
24764 return NULL;
24765}
24766
24767
24768static PyObject *_wrap_Validator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24769 PyObject *resultobj;
24770 wxValidator *arg1 = (wxValidator *) 0 ;
24771 wxWindow *result;
24772 PyObject * obj0 = 0 ;
24773 char *kwnames[] = {
24774 (char *) "self", NULL
24775 };
24776
24777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
24778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24779 {
24780 PyThreadState* __tstate = wxPyBeginAllowThreads();
24781 result = (wxWindow *)(arg1)->GetWindow();
24782
24783 wxPyEndAllowThreads(__tstate);
24784 if (PyErr_Occurred()) SWIG_fail;
24785 }
24786 {
24787 resultobj = wxPyMake_wxObject(result);
24788 }
24789 return resultobj;
24790 fail:
24791 return NULL;
24792}
24793
24794
24795static PyObject *_wrap_Validator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24796 PyObject *resultobj;
24797 wxValidator *arg1 = (wxValidator *) 0 ;
24798 wxWindow *arg2 = (wxWindow *) 0 ;
24799 PyObject * obj0 = 0 ;
24800 PyObject * obj1 = 0 ;
24801 char *kwnames[] = {
24802 (char *) "self",(char *) "window", NULL
24803 };
24804
24805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
24806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24807 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24808 {
24809 PyThreadState* __tstate = wxPyBeginAllowThreads();
24810 (arg1)->SetWindow(arg2);
24811
24812 wxPyEndAllowThreads(__tstate);
24813 if (PyErr_Occurred()) SWIG_fail;
24814 }
24815 Py_INCREF(Py_None); resultobj = Py_None;
24816 return resultobj;
24817 fail:
24818 return NULL;
24819}
24820
24821
24822static PyObject *_wrap_Validator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
24823 PyObject *resultobj;
24824 bool result;
24825 char *kwnames[] = {
24826 NULL
24827 };
24828
24829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
24830 {
24831 PyThreadState* __tstate = wxPyBeginAllowThreads();
24832 result = (bool)wxValidator::IsSilent();
24833
24834 wxPyEndAllowThreads(__tstate);
24835 if (PyErr_Occurred()) SWIG_fail;
24836 }
24837 resultobj = PyInt_FromLong((long)result);
24838 return resultobj;
24839 fail:
24840 return NULL;
24841}
24842
24843
24844static PyObject *_wrap_Validator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
24845 PyObject *resultobj;
423f194a 24846 int arg1 = (int) True ;
d14a1e28
RD
24847 char *kwnames[] = {
24848 (char *) "doIt", NULL
24849 };
24850
24851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:Validator_SetBellOnError",kwnames,&arg1)) goto fail;
24852 {
24853 PyThreadState* __tstate = wxPyBeginAllowThreads();
24854 wxValidator::SetBellOnError(arg1);
24855
24856 wxPyEndAllowThreads(__tstate);
24857 if (PyErr_Occurred()) SWIG_fail;
24858 }
24859 Py_INCREF(Py_None); resultobj = Py_None;
24860 return resultobj;
24861 fail:
24862 return NULL;
24863}
24864
24865
24866static PyObject * Validator_swigregister(PyObject *self, PyObject *args) {
24867 PyObject *obj;
24868 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24869 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
24870 Py_INCREF(obj);
24871 return Py_BuildValue((char *)"");
24872}
24873static PyObject *_wrap_new_PyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
24874 PyObject *resultobj;
24875 wxPyValidator *result;
24876 char *kwnames[] = {
24877 NULL
24878 };
24879
24880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
24881 {
24882 PyThreadState* __tstate = wxPyBeginAllowThreads();
24883 result = (wxPyValidator *)new wxPyValidator();
24884
24885 wxPyEndAllowThreads(__tstate);
24886 if (PyErr_Occurred()) SWIG_fail;
24887 }
24888 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyValidator, 1);
24889 return resultobj;
24890 fail:
24891 return NULL;
24892}
24893
24894
24895static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24896 PyObject *resultobj;
24897 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
24898 PyObject *arg2 = (PyObject *) 0 ;
24899 PyObject *arg3 = (PyObject *) 0 ;
423f194a 24900 int arg4 = (int) True ;
d14a1e28
RD
24901 PyObject * obj0 = 0 ;
24902 PyObject * obj1 = 0 ;
24903 PyObject * obj2 = 0 ;
24904 char *kwnames[] = {
24905 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
24906 };
24907
24908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
24909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24910 arg2 = obj1;
24911 arg3 = obj2;
24912 {
24913 PyThreadState* __tstate = wxPyBeginAllowThreads();
24914 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
24915
24916 wxPyEndAllowThreads(__tstate);
24917 if (PyErr_Occurred()) SWIG_fail;
24918 }
24919 Py_INCREF(Py_None); resultobj = Py_None;
24920 return resultobj;
24921 fail:
24922 return NULL;
24923}
24924
24925
24926static PyObject * PyValidator_swigregister(PyObject *self, PyObject *args) {
24927 PyObject *obj;
24928 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24929 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
24930 Py_INCREF(obj);
24931 return Py_BuildValue((char *)"");
24932}
24933static int _wrap_DefaultValidator_set(PyObject *_val) {
24934 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
24935 return 1;
24936}
24937
24938
24939static PyObject *_wrap_DefaultValidator_get() {
24940 PyObject *pyobj;
24941
24942 pyobj = SWIG_NewPointerObj((void *) &wxDefaultValidator, SWIGTYPE_p_wxValidator, 0);
24943 return pyobj;
24944}
24945
24946
24947static PyObject *_wrap_new_Menu(PyObject *self, PyObject *args, PyObject *kwargs) {
24948 PyObject *resultobj;
24949 wxString const &arg1_defvalue = wxPyEmptyString ;
24950 wxString *arg1 = (wxString *) &arg1_defvalue ;
24951 long arg2 = (long) 0 ;
24952 wxMenu *result;
423f194a 24953 bool temp1 = False ;
d14a1e28
RD
24954 PyObject * obj0 = 0 ;
24955 char *kwnames[] = {
24956 (char *) "title",(char *) "style", NULL
24957 };
24958
24959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Ol:new_Menu",kwnames,&obj0,&arg2)) goto fail;
24960 if (obj0) {
24961 {
24962 arg1 = wxString_in_helper(obj0);
24963 if (arg1 == NULL) SWIG_fail;
423f194a 24964 temp1 = True;
d14a1e28
RD
24965 }
24966 }
24967 {
24968 PyThreadState* __tstate = wxPyBeginAllowThreads();
24969 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
24970
24971 wxPyEndAllowThreads(__tstate);
24972 if (PyErr_Occurred()) SWIG_fail;
24973 }
24974 {
24975 resultobj = wxPyMake_wxObject(result);
24976 }
24977 {
24978 if (temp1)
24979 delete arg1;
24980 }
24981 return resultobj;
24982 fail:
24983 {
24984 if (temp1)
24985 delete arg1;
24986 }
24987 return NULL;
24988}
24989
24990
24991static PyObject *_wrap_Menu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
24992 PyObject *resultobj;
24993 wxMenu *arg1 = (wxMenu *) 0 ;
24994 int arg2 ;
24995 wxString *arg3 = 0 ;
24996 wxString const &arg4_defvalue = wxPyEmptyString ;
24997 wxString *arg4 = (wxString *) &arg4_defvalue ;
24998 int arg5 = (int) wxITEM_NORMAL ;
423f194a
RD
24999 bool temp3 = False ;
25000 bool temp4 = False ;
d14a1e28
RD
25001 PyObject * obj0 = 0 ;
25002 PyObject * obj2 = 0 ;
25003 PyObject * obj3 = 0 ;
25004 char *kwnames[] = {
0f774bef 25005 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
25006 };
25007
25008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|Oi:Menu_Append",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
25009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25010 {
25011 arg3 = wxString_in_helper(obj2);
25012 if (arg3 == NULL) SWIG_fail;
423f194a 25013 temp3 = True;
d14a1e28
RD
25014 }
25015 if (obj3) {
25016 {
25017 arg4 = wxString_in_helper(obj3);
25018 if (arg4 == NULL) SWIG_fail;
423f194a 25019 temp4 = True;
d14a1e28
RD
25020 }
25021 }
25022 {
25023 PyThreadState* __tstate = wxPyBeginAllowThreads();
25024 (arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
25025
25026 wxPyEndAllowThreads(__tstate);
25027 if (PyErr_Occurred()) SWIG_fail;
25028 }
25029 Py_INCREF(Py_None); resultobj = Py_None;
25030 {
25031 if (temp3)
25032 delete arg3;
25033 }
25034 {
25035 if (temp4)
25036 delete arg4;
25037 }
25038 return resultobj;
25039 fail:
25040 {
25041 if (temp3)
25042 delete arg3;
25043 }
25044 {
25045 if (temp4)
25046 delete arg4;
25047 }
25048 return NULL;
25049}
25050
25051
25052static PyObject *_wrap_Menu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
25053 PyObject *resultobj;
25054 wxMenu *arg1 = (wxMenu *) 0 ;
25055 PyObject * obj0 = 0 ;
25056 char *kwnames[] = {
25057 (char *) "self", NULL
25058 };
25059
25060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
25061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25062 {
25063 PyThreadState* __tstate = wxPyBeginAllowThreads();
25064 (arg1)->AppendSeparator();
25065
25066 wxPyEndAllowThreads(__tstate);
25067 if (PyErr_Occurred()) SWIG_fail;
25068 }
25069 Py_INCREF(Py_None); resultobj = Py_None;
25070 return resultobj;
25071 fail:
25072 return NULL;
25073}
25074
25075
25076static PyObject *_wrap_Menu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25077 PyObject *resultobj;
25078 wxMenu *arg1 = (wxMenu *) 0 ;
25079 int arg2 ;
25080 wxString *arg3 = 0 ;
25081 wxString const &arg4_defvalue = wxPyEmptyString ;
25082 wxString *arg4 = (wxString *) &arg4_defvalue ;
423f194a
RD
25083 bool temp3 = False ;
25084 bool temp4 = False ;
d14a1e28
RD
25085 PyObject * obj0 = 0 ;
25086 PyObject * obj2 = 0 ;
25087 PyObject * obj3 = 0 ;
25088 char *kwnames[] = {
0f774bef 25089 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
25090 };
25091
25092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_AppendCheckItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
25093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25094 {
25095 arg3 = wxString_in_helper(obj2);
25096 if (arg3 == NULL) SWIG_fail;
423f194a 25097 temp3 = True;
d14a1e28
RD
25098 }
25099 if (obj3) {
25100 {
25101 arg4 = wxString_in_helper(obj3);
25102 if (arg4 == NULL) SWIG_fail;
423f194a 25103 temp4 = True;
d14a1e28
RD
25104 }
25105 }
25106 {
25107 PyThreadState* __tstate = wxPyBeginAllowThreads();
25108 (arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
25109
25110 wxPyEndAllowThreads(__tstate);
25111 if (PyErr_Occurred()) SWIG_fail;
25112 }
25113 Py_INCREF(Py_None); resultobj = Py_None;
25114 {
25115 if (temp3)
25116 delete arg3;
25117 }
25118 {
25119 if (temp4)
25120 delete arg4;
25121 }
25122 return resultobj;
25123 fail:
25124 {
25125 if (temp3)
25126 delete arg3;
25127 }
25128 {
25129 if (temp4)
25130 delete arg4;
25131 }
25132 return NULL;
25133}
25134
25135
25136static PyObject *_wrap_Menu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25137 PyObject *resultobj;
25138 wxMenu *arg1 = (wxMenu *) 0 ;
25139 int arg2 ;
25140 wxString *arg3 = 0 ;
25141 wxString const &arg4_defvalue = wxPyEmptyString ;
25142 wxString *arg4 = (wxString *) &arg4_defvalue ;
423f194a
RD
25143 bool temp3 = False ;
25144 bool temp4 = False ;
d14a1e28
RD
25145 PyObject * obj0 = 0 ;
25146 PyObject * obj2 = 0 ;
25147 PyObject * obj3 = 0 ;
25148 char *kwnames[] = {
0f774bef 25149 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
25150 };
25151
25152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_AppendRadioItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
25153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25154 {
25155 arg3 = wxString_in_helper(obj2);
25156 if (arg3 == NULL) SWIG_fail;
423f194a 25157 temp3 = True;
d14a1e28
RD
25158 }
25159 if (obj3) {
25160 {
25161 arg4 = wxString_in_helper(obj3);
25162 if (arg4 == NULL) SWIG_fail;
423f194a 25163 temp4 = True;
d14a1e28
RD
25164 }
25165 }
25166 {
25167 PyThreadState* __tstate = wxPyBeginAllowThreads();
25168 (arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
25169
25170 wxPyEndAllowThreads(__tstate);
25171 if (PyErr_Occurred()) SWIG_fail;
25172 }
25173 Py_INCREF(Py_None); resultobj = Py_None;
25174 {
25175 if (temp3)
25176 delete arg3;
25177 }
25178 {
25179 if (temp4)
25180 delete arg4;
25181 }
25182 return resultobj;
25183 fail:
25184 {
25185 if (temp3)
25186 delete arg3;
25187 }
25188 {
25189 if (temp4)
25190 delete arg4;
25191 }
25192 return NULL;
25193}
25194
25195
25196static PyObject *_wrap_Menu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
25197 PyObject *resultobj;
25198 wxMenu *arg1 = (wxMenu *) 0 ;
25199 int arg2 ;
25200 wxString *arg3 = 0 ;
25201 wxMenu *arg4 = (wxMenu *) 0 ;
25202 wxString const &arg5_defvalue = wxPyEmptyString ;
25203 wxString *arg5 = (wxString *) &arg5_defvalue ;
423f194a
RD
25204 bool temp3 = False ;
25205 bool temp5 = False ;
d14a1e28
RD
25206 PyObject * obj0 = 0 ;
25207 PyObject * obj2 = 0 ;
25208 PyObject * obj3 = 0 ;
25209 PyObject * obj4 = 0 ;
25210 char *kwnames[] = {
0f774bef 25211 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
25212 };
25213
25214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|O:Menu_AppendMenu",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4)) goto fail;
25215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25216 {
25217 arg3 = wxString_in_helper(obj2);
25218 if (arg3 == NULL) SWIG_fail;
423f194a 25219 temp3 = True;
d14a1e28
RD
25220 }
25221 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25222 if (obj4) {
25223 {
25224 arg5 = wxString_in_helper(obj4);
25225 if (arg5 == NULL) SWIG_fail;
423f194a 25226 temp5 = True;
d14a1e28
RD
25227 }
25228 }
25229 {
25230 PyThreadState* __tstate = wxPyBeginAllowThreads();
25231 (arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
25232
25233 wxPyEndAllowThreads(__tstate);
25234 if (PyErr_Occurred()) SWIG_fail;
25235 }
25236 Py_INCREF(Py_None); resultobj = Py_None;
25237 {
25238 if (temp3)
25239 delete arg3;
25240 }
25241 {
25242 if (temp5)
25243 delete arg5;
25244 }
25245 return resultobj;
25246 fail:
25247 {
25248 if (temp3)
25249 delete arg3;
25250 }
25251 {
25252 if (temp5)
25253 delete arg5;
25254 }
25255 return NULL;
25256}
25257
25258
25259static PyObject *_wrap_Menu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25260 PyObject *resultobj;
25261 wxMenu *arg1 = (wxMenu *) 0 ;
25262 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25263 PyObject * obj0 = 0 ;
25264 PyObject * obj1 = 0 ;
25265 char *kwnames[] = {
25266 (char *) "self",(char *) "item", NULL
25267 };
25268
25269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
25270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25271 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25272 {
25273 PyThreadState* __tstate = wxPyBeginAllowThreads();
25274 (arg1)->Append(arg2);
25275
25276 wxPyEndAllowThreads(__tstate);
25277 if (PyErr_Occurred()) SWIG_fail;
25278 }
25279 Py_INCREF(Py_None); resultobj = Py_None;
25280 return resultobj;
25281 fail:
25282 return NULL;
25283}
25284
25285
25286static PyObject *_wrap_Menu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
25287 PyObject *resultobj;
25288 wxMenu *arg1 = (wxMenu *) 0 ;
25289 PyObject * obj0 = 0 ;
25290 char *kwnames[] = {
25291 (char *) "self", NULL
25292 };
25293
25294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
25295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25296 {
25297 PyThreadState* __tstate = wxPyBeginAllowThreads();
25298 (arg1)->Break();
25299
25300 wxPyEndAllowThreads(__tstate);
25301 if (PyErr_Occurred()) SWIG_fail;
25302 }
25303 Py_INCREF(Py_None); resultobj = Py_None;
25304 return resultobj;
25305 fail:
25306 return NULL;
25307}
25308
25309
25310static PyObject *_wrap_Menu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25311 PyObject *resultobj;
25312 wxMenu *arg1 = (wxMenu *) 0 ;
25313 size_t arg2 ;
25314 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
25315 bool result;
25316 PyObject * obj0 = 0 ;
25317 PyObject * obj1 = 0 ;
25318 PyObject * obj2 = 0 ;
25319 char *kwnames[] = {
25320 (char *) "self",(char *) "pos",(char *) "item", NULL
25321 };
25322
25323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
25324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25325 arg2 = (size_t) PyInt_AsLong(obj1);
25326 if (PyErr_Occurred()) SWIG_fail;
25327 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25328 {
25329 PyThreadState* __tstate = wxPyBeginAllowThreads();
25330 result = (bool)(arg1)->Insert(arg2,arg3);
25331
25332 wxPyEndAllowThreads(__tstate);
25333 if (PyErr_Occurred()) SWIG_fail;
25334 }
25335 resultobj = PyInt_FromLong((long)result);
25336 return resultobj;
25337 fail:
25338 return NULL;
25339}
25340
25341
25342static PyObject *_wrap_Menu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
25343 PyObject *resultobj;
25344 wxMenu *arg1 = (wxMenu *) 0 ;
25345 size_t arg2 ;
25346 int arg3 ;
25347 wxString *arg4 = 0 ;
25348 wxString const &arg5_defvalue = wxPyEmptyString ;
25349 wxString *arg5 = (wxString *) &arg5_defvalue ;
25350 int arg6 = (int) wxITEM_NORMAL ;
423f194a
RD
25351 bool temp4 = False ;
25352 bool temp5 = False ;
d14a1e28
RD
25353 PyObject * obj0 = 0 ;
25354 PyObject * obj1 = 0 ;
25355 PyObject * obj3 = 0 ;
25356 PyObject * obj4 = 0 ;
25357 char *kwnames[] = {
0f774bef 25358 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
25359 };
25360
25361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|Oi:Menu_Insert",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
25362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25363 arg2 = (size_t) PyInt_AsLong(obj1);
25364 if (PyErr_Occurred()) SWIG_fail;
25365 {
25366 arg4 = wxString_in_helper(obj3);
25367 if (arg4 == NULL) SWIG_fail;
423f194a 25368 temp4 = True;
d14a1e28
RD
25369 }
25370 if (obj4) {
25371 {
25372 arg5 = wxString_in_helper(obj4);
25373 if (arg5 == NULL) SWIG_fail;
423f194a 25374 temp5 = True;
d14a1e28
RD
25375 }
25376 }
25377 {
25378 PyThreadState* __tstate = wxPyBeginAllowThreads();
25379 (arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
25380
25381 wxPyEndAllowThreads(__tstate);
25382 if (PyErr_Occurred()) SWIG_fail;
25383 }
25384 Py_INCREF(Py_None); resultobj = Py_None;
25385 {
25386 if (temp4)
25387 delete arg4;
25388 }
25389 {
25390 if (temp5)
25391 delete arg5;
25392 }
25393 return resultobj;
25394 fail:
25395 {
25396 if (temp4)
25397 delete arg4;
25398 }
25399 {
25400 if (temp5)
25401 delete arg5;
25402 }
25403 return NULL;
25404}
25405
25406
25407static PyObject *_wrap_Menu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
25408 PyObject *resultobj;
25409 wxMenu *arg1 = (wxMenu *) 0 ;
25410 size_t arg2 ;
25411 PyObject * obj0 = 0 ;
25412 PyObject * obj1 = 0 ;
25413 char *kwnames[] = {
25414 (char *) "self",(char *) "pos", NULL
25415 };
25416
25417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
25418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25419 arg2 = (size_t) PyInt_AsLong(obj1);
25420 if (PyErr_Occurred()) SWIG_fail;
25421 {
25422 PyThreadState* __tstate = wxPyBeginAllowThreads();
25423 (arg1)->InsertSeparator(arg2);
25424
25425 wxPyEndAllowThreads(__tstate);
25426 if (PyErr_Occurred()) SWIG_fail;
25427 }
25428 Py_INCREF(Py_None); resultobj = Py_None;
25429 return resultobj;
25430 fail:
25431 return NULL;
25432}
25433
25434
25435static PyObject *_wrap_Menu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25436 PyObject *resultobj;
25437 wxMenu *arg1 = (wxMenu *) 0 ;
25438 size_t arg2 ;
25439 int arg3 ;
25440 wxString *arg4 = 0 ;
25441 wxString const &arg5_defvalue = wxPyEmptyString ;
25442 wxString *arg5 = (wxString *) &arg5_defvalue ;
423f194a
RD
25443 bool temp4 = False ;
25444 bool temp5 = False ;
d14a1e28
RD
25445 PyObject * obj0 = 0 ;
25446 PyObject * obj1 = 0 ;
25447 PyObject * obj3 = 0 ;
25448 PyObject * obj4 = 0 ;
25449 char *kwnames[] = {
0f774bef 25450 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
25451 };
25452
25453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
25454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25455 arg2 = (size_t) PyInt_AsLong(obj1);
25456 if (PyErr_Occurred()) SWIG_fail;
25457 {
25458 arg4 = wxString_in_helper(obj3);
25459 if (arg4 == NULL) SWIG_fail;
423f194a 25460 temp4 = True;
d14a1e28
RD
25461 }
25462 if (obj4) {
25463 {
25464 arg5 = wxString_in_helper(obj4);
25465 if (arg5 == NULL) SWIG_fail;
423f194a 25466 temp5 = True;
d14a1e28
RD
25467 }
25468 }
25469 {
25470 PyThreadState* __tstate = wxPyBeginAllowThreads();
25471 (arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
25472
25473 wxPyEndAllowThreads(__tstate);
25474 if (PyErr_Occurred()) SWIG_fail;
25475 }
25476 Py_INCREF(Py_None); resultobj = Py_None;
25477 {
25478 if (temp4)
25479 delete arg4;
25480 }
25481 {
25482 if (temp5)
25483 delete arg5;
25484 }
25485 return resultobj;
25486 fail:
25487 {
25488 if (temp4)
25489 delete arg4;
25490 }
25491 {
25492 if (temp5)
25493 delete arg5;
25494 }
25495 return NULL;
25496}
25497
25498
25499static PyObject *_wrap_Menu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25500 PyObject *resultobj;
25501 wxMenu *arg1 = (wxMenu *) 0 ;
25502 size_t arg2 ;
25503 int arg3 ;
25504 wxString *arg4 = 0 ;
25505 wxString const &arg5_defvalue = wxPyEmptyString ;
25506 wxString *arg5 = (wxString *) &arg5_defvalue ;
423f194a
RD
25507 bool temp4 = False ;
25508 bool temp5 = False ;
d14a1e28
RD
25509 PyObject * obj0 = 0 ;
25510 PyObject * obj1 = 0 ;
25511 PyObject * obj3 = 0 ;
25512 PyObject * obj4 = 0 ;
25513 char *kwnames[] = {
0f774bef 25514 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
25515 };
25516
25517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
25518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25519 arg2 = (size_t) PyInt_AsLong(obj1);
25520 if (PyErr_Occurred()) SWIG_fail;
25521 {
25522 arg4 = wxString_in_helper(obj3);
25523 if (arg4 == NULL) SWIG_fail;
423f194a 25524 temp4 = True;
d14a1e28
RD
25525 }
25526 if (obj4) {
25527 {
25528 arg5 = wxString_in_helper(obj4);
25529 if (arg5 == NULL) SWIG_fail;
423f194a 25530 temp5 = True;
d14a1e28
RD
25531 }
25532 }
25533 {
25534 PyThreadState* __tstate = wxPyBeginAllowThreads();
25535 (arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
25536
25537 wxPyEndAllowThreads(__tstate);
25538 if (PyErr_Occurred()) SWIG_fail;
25539 }
25540 Py_INCREF(Py_None); resultobj = Py_None;
25541 {
25542 if (temp4)
25543 delete arg4;
25544 }
25545 {
25546 if (temp5)
25547 delete arg5;
25548 }
25549 return resultobj;
25550 fail:
25551 {
25552 if (temp4)
25553 delete arg4;
25554 }
25555 {
25556 if (temp5)
25557 delete arg5;
25558 }
25559 return NULL;
25560}
25561
25562
25563static PyObject *_wrap_Menu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
25564 PyObject *resultobj;
25565 wxMenu *arg1 = (wxMenu *) 0 ;
25566 size_t arg2 ;
25567 int arg3 ;
25568 wxString *arg4 = 0 ;
25569 wxMenu *arg5 = (wxMenu *) 0 ;
25570 wxString const &arg6_defvalue = wxPyEmptyString ;
25571 wxString *arg6 = (wxString *) &arg6_defvalue ;
423f194a
RD
25572 bool temp4 = False ;
25573 bool temp6 = False ;
d14a1e28
RD
25574 PyObject * obj0 = 0 ;
25575 PyObject * obj1 = 0 ;
25576 PyObject * obj3 = 0 ;
25577 PyObject * obj4 = 0 ;
25578 PyObject * obj5 = 0 ;
25579 char *kwnames[] = {
0f774bef 25580 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
25581 };
25582
25583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5)) goto fail;
25584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25585 arg2 = (size_t) PyInt_AsLong(obj1);
25586 if (PyErr_Occurred()) SWIG_fail;
25587 {
25588 arg4 = wxString_in_helper(obj3);
25589 if (arg4 == NULL) SWIG_fail;
423f194a 25590 temp4 = True;
d14a1e28
RD
25591 }
25592 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25593 if (obj5) {
25594 {
25595 arg6 = wxString_in_helper(obj5);
25596 if (arg6 == NULL) SWIG_fail;
423f194a 25597 temp6 = True;
d14a1e28
RD
25598 }
25599 }
25600 {
25601 PyThreadState* __tstate = wxPyBeginAllowThreads();
25602 (arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
25603
25604 wxPyEndAllowThreads(__tstate);
25605 if (PyErr_Occurred()) SWIG_fail;
25606 }
25607 Py_INCREF(Py_None); resultobj = Py_None;
25608 {
25609 if (temp4)
25610 delete arg4;
25611 }
25612 {
25613 if (temp6)
25614 delete arg6;
25615 }
25616 return resultobj;
25617 fail:
25618 {
25619 if (temp4)
25620 delete arg4;
25621 }
25622 {
25623 if (temp6)
25624 delete arg6;
25625 }
25626 return NULL;
25627}
25628
25629
25630static PyObject *_wrap_Menu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25631 PyObject *resultobj;
25632 wxMenu *arg1 = (wxMenu *) 0 ;
25633 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25634 PyObject * obj0 = 0 ;
25635 PyObject * obj1 = 0 ;
25636 char *kwnames[] = {
25637 (char *) "self",(char *) "item", NULL
25638 };
25639
25640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
25641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25642 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25643 {
25644 PyThreadState* __tstate = wxPyBeginAllowThreads();
25645 (arg1)->Prepend(arg2);
25646
25647 wxPyEndAllowThreads(__tstate);
25648 if (PyErr_Occurred()) SWIG_fail;
25649 }
25650 Py_INCREF(Py_None); resultobj = Py_None;
25651 return resultobj;
25652 fail:
25653 return NULL;
25654}
25655
25656
25657static PyObject *_wrap_Menu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
25658 PyObject *resultobj;
25659 wxMenu *arg1 = (wxMenu *) 0 ;
25660 int arg2 ;
25661 wxString *arg3 = 0 ;
25662 wxString const &arg4_defvalue = wxPyEmptyString ;
25663 wxString *arg4 = (wxString *) &arg4_defvalue ;
25664 int arg5 = (int) wxITEM_NORMAL ;
423f194a
RD
25665 bool temp3 = False ;
25666 bool temp4 = False ;
d14a1e28
RD
25667 PyObject * obj0 = 0 ;
25668 PyObject * obj2 = 0 ;
25669 PyObject * obj3 = 0 ;
25670 char *kwnames[] = {
0f774bef 25671 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
25672 };
25673
25674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|Oi:Menu_Prepend",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
25675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25676 {
25677 arg3 = wxString_in_helper(obj2);
25678 if (arg3 == NULL) SWIG_fail;
423f194a 25679 temp3 = True;
d14a1e28
RD
25680 }
25681 if (obj3) {
25682 {
25683 arg4 = wxString_in_helper(obj3);
25684 if (arg4 == NULL) SWIG_fail;
423f194a 25685 temp4 = True;
d14a1e28
RD
25686 }
25687 }
25688 {
25689 PyThreadState* __tstate = wxPyBeginAllowThreads();
25690 (arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
25691
25692 wxPyEndAllowThreads(__tstate);
25693 if (PyErr_Occurred()) SWIG_fail;
25694 }
25695 Py_INCREF(Py_None); resultobj = Py_None;
25696 {
25697 if (temp3)
25698 delete arg3;
25699 }
25700 {
25701 if (temp4)
25702 delete arg4;
25703 }
25704 return resultobj;
25705 fail:
25706 {
25707 if (temp3)
25708 delete arg3;
25709 }
25710 {
25711 if (temp4)
25712 delete arg4;
25713 }
25714 return NULL;
25715}
25716
25717
25718static PyObject *_wrap_Menu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
25719 PyObject *resultobj;
25720 wxMenu *arg1 = (wxMenu *) 0 ;
25721 PyObject * obj0 = 0 ;
25722 char *kwnames[] = {
25723 (char *) "self", NULL
25724 };
25725
25726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
25727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25728 {
25729 PyThreadState* __tstate = wxPyBeginAllowThreads();
25730 (arg1)->PrependSeparator();
25731
25732 wxPyEndAllowThreads(__tstate);
25733 if (PyErr_Occurred()) SWIG_fail;
25734 }
25735 Py_INCREF(Py_None); resultobj = Py_None;
25736 return resultobj;
25737 fail:
25738 return NULL;
25739}
25740
25741
25742static PyObject *_wrap_Menu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25743 PyObject *resultobj;
25744 wxMenu *arg1 = (wxMenu *) 0 ;
25745 int arg2 ;
25746 wxString *arg3 = 0 ;
25747 wxString const &arg4_defvalue = wxPyEmptyString ;
25748 wxString *arg4 = (wxString *) &arg4_defvalue ;
423f194a
RD
25749 bool temp3 = False ;
25750 bool temp4 = False ;
d14a1e28
RD
25751 PyObject * obj0 = 0 ;
25752 PyObject * obj2 = 0 ;
25753 PyObject * obj3 = 0 ;
25754 char *kwnames[] = {
0f774bef 25755 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
25756 };
25757
25758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_PrependCheckItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
25759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25760 {
25761 arg3 = wxString_in_helper(obj2);
25762 if (arg3 == NULL) SWIG_fail;
423f194a 25763 temp3 = True;
d14a1e28
RD
25764 }
25765 if (obj3) {
25766 {
25767 arg4 = wxString_in_helper(obj3);
25768 if (arg4 == NULL) SWIG_fail;
423f194a 25769 temp4 = True;
d14a1e28
RD
25770 }
25771 }
25772 {
25773 PyThreadState* __tstate = wxPyBeginAllowThreads();
25774 (arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
25775
25776 wxPyEndAllowThreads(__tstate);
25777 if (PyErr_Occurred()) SWIG_fail;
25778 }
25779 Py_INCREF(Py_None); resultobj = Py_None;
25780 {
25781 if (temp3)
25782 delete arg3;
25783 }
25784 {
25785 if (temp4)
25786 delete arg4;
25787 }
25788 return resultobj;
25789 fail:
25790 {
25791 if (temp3)
25792 delete arg3;
25793 }
25794 {
25795 if (temp4)
25796 delete arg4;
25797 }
25798 return NULL;
25799}
25800
25801
25802static PyObject *_wrap_Menu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25803 PyObject *resultobj;
25804 wxMenu *arg1 = (wxMenu *) 0 ;
25805 int arg2 ;
25806 wxString *arg3 = 0 ;
25807 wxString const &arg4_defvalue = wxPyEmptyString ;
25808 wxString *arg4 = (wxString *) &arg4_defvalue ;
423f194a
RD
25809 bool temp3 = False ;
25810 bool temp4 = False ;
d14a1e28
RD
25811 PyObject * obj0 = 0 ;
25812 PyObject * obj2 = 0 ;
25813 PyObject * obj3 = 0 ;
25814 char *kwnames[] = {
0f774bef 25815 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
25816 };
25817
25818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_PrependRadioItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
25819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25820 {
25821 arg3 = wxString_in_helper(obj2);
25822 if (arg3 == NULL) SWIG_fail;
423f194a 25823 temp3 = True;
d14a1e28
RD
25824 }
25825 if (obj3) {
25826 {
25827 arg4 = wxString_in_helper(obj3);
25828 if (arg4 == NULL) SWIG_fail;
423f194a 25829 temp4 = True;
d14a1e28
RD
25830 }
25831 }
25832 {
25833 PyThreadState* __tstate = wxPyBeginAllowThreads();
25834 (arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
25835
25836 wxPyEndAllowThreads(__tstate);
25837 if (PyErr_Occurred()) SWIG_fail;
25838 }
25839 Py_INCREF(Py_None); resultobj = Py_None;
25840 {
25841 if (temp3)
25842 delete arg3;
25843 }
25844 {
25845 if (temp4)
25846 delete arg4;
25847 }
25848 return resultobj;
25849 fail:
25850 {
25851 if (temp3)
25852 delete arg3;
25853 }
25854 {
25855 if (temp4)
25856 delete arg4;
25857 }
25858 return NULL;
25859}
25860
25861
25862static PyObject *_wrap_Menu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
25863 PyObject *resultobj;
25864 wxMenu *arg1 = (wxMenu *) 0 ;
25865 int arg2 ;
25866 wxString *arg3 = 0 ;
25867 wxMenu *arg4 = (wxMenu *) 0 ;
25868 wxString const &arg5_defvalue = wxPyEmptyString ;
25869 wxString *arg5 = (wxString *) &arg5_defvalue ;
423f194a
RD
25870 bool temp3 = False ;
25871 bool temp5 = False ;
d14a1e28
RD
25872 PyObject * obj0 = 0 ;
25873 PyObject * obj2 = 0 ;
25874 PyObject * obj3 = 0 ;
25875 PyObject * obj4 = 0 ;
25876 char *kwnames[] = {
0f774bef 25877 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
25878 };
25879
25880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|O:Menu_PrependMenu",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4)) goto fail;
25881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25882 {
25883 arg3 = wxString_in_helper(obj2);
25884 if (arg3 == NULL) SWIG_fail;
423f194a 25885 temp3 = True;
d14a1e28
RD
25886 }
25887 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25888 if (obj4) {
25889 {
25890 arg5 = wxString_in_helper(obj4);
25891 if (arg5 == NULL) SWIG_fail;
423f194a 25892 temp5 = True;
d14a1e28
RD
25893 }
25894 }
25895 {
25896 PyThreadState* __tstate = wxPyBeginAllowThreads();
25897 (arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
25898
25899 wxPyEndAllowThreads(__tstate);
25900 if (PyErr_Occurred()) SWIG_fail;
25901 }
25902 Py_INCREF(Py_None); resultobj = Py_None;
25903 {
25904 if (temp3)
25905 delete arg3;
25906 }
25907 {
25908 if (temp5)
25909 delete arg5;
25910 }
25911 return resultobj;
25912 fail:
25913 {
25914 if (temp3)
25915 delete arg3;
25916 }
25917 {
25918 if (temp5)
25919 delete arg5;
25920 }
25921 return NULL;
25922}
25923
25924
25925static PyObject *_wrap_Menu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
25926 PyObject *resultobj;
25927 wxMenu *arg1 = (wxMenu *) 0 ;
25928 int arg2 ;
25929 wxMenuItem *result;
25930 PyObject * obj0 = 0 ;
25931 char *kwnames[] = {
0f774bef 25932 (char *) "self",(char *) "id", NULL
d14a1e28
RD
25933 };
25934
25935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_Remove",kwnames,&obj0,&arg2)) goto fail;
25936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25937 {
25938 PyThreadState* __tstate = wxPyBeginAllowThreads();
25939 result = (wxMenuItem *)(arg1)->Remove(arg2);
25940
25941 wxPyEndAllowThreads(__tstate);
25942 if (PyErr_Occurred()) SWIG_fail;
25943 }
25944 {
25945 resultobj = wxPyMake_wxObject(result);
25946 }
25947 return resultobj;
25948 fail:
25949 return NULL;
25950}
25951
25952
25953static PyObject *_wrap_Menu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25954 PyObject *resultobj;
25955 wxMenu *arg1 = (wxMenu *) 0 ;
25956 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25957 wxMenuItem *result;
25958 PyObject * obj0 = 0 ;
25959 PyObject * obj1 = 0 ;
25960 char *kwnames[] = {
25961 (char *) "self",(char *) "item", NULL
25962 };
25963
25964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
25965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25966 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25967 {
25968 PyThreadState* __tstate = wxPyBeginAllowThreads();
25969 result = (wxMenuItem *)(arg1)->Remove(arg2);
25970
25971 wxPyEndAllowThreads(__tstate);
25972 if (PyErr_Occurred()) SWIG_fail;
25973 }
25974 {
25975 resultobj = wxPyMake_wxObject(result);
25976 }
25977 return resultobj;
25978 fail:
25979 return NULL;
25980}
25981
25982
25983static PyObject *_wrap_Menu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
25984 PyObject *resultobj;
25985 wxMenu *arg1 = (wxMenu *) 0 ;
25986 int arg2 ;
25987 bool result;
25988 PyObject * obj0 = 0 ;
25989 char *kwnames[] = {
0f774bef 25990 (char *) "self",(char *) "id", NULL
d14a1e28
RD
25991 };
25992
25993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_Delete",kwnames,&obj0,&arg2)) goto fail;
25994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25995 {
25996 PyThreadState* __tstate = wxPyBeginAllowThreads();
25997 result = (bool)(arg1)->Delete(arg2);
25998
25999 wxPyEndAllowThreads(__tstate);
26000 if (PyErr_Occurred()) SWIG_fail;
26001 }
26002 resultobj = PyInt_FromLong((long)result);
26003 return resultobj;
26004 fail:
26005 return NULL;
26006}
26007
26008
26009static PyObject *_wrap_Menu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26010 PyObject *resultobj;
26011 wxMenu *arg1 = (wxMenu *) 0 ;
26012 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
26013 bool result;
26014 PyObject * obj0 = 0 ;
26015 PyObject * obj1 = 0 ;
26016 char *kwnames[] = {
26017 (char *) "self",(char *) "item", NULL
26018 };
26019
26020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
26021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26022 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26023 {
26024 PyThreadState* __tstate = wxPyBeginAllowThreads();
26025 result = (bool)(arg1)->Delete(arg2);
26026
26027 wxPyEndAllowThreads(__tstate);
26028 if (PyErr_Occurred()) SWIG_fail;
26029 }
26030 resultobj = PyInt_FromLong((long)result);
26031 return resultobj;
26032 fail:
26033 return NULL;
26034}
26035
26036
26037static PyObject *_wrap_Menu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
26038 PyObject *resultobj;
26039 wxMenu *arg1 = (wxMenu *) 0 ;
26040 PyObject * obj0 = 0 ;
26041 char *kwnames[] = {
26042 (char *) "self", NULL
26043 };
26044
26045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
26046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26047 {
26048 PyThreadState* __tstate = wxPyBeginAllowThreads();
26049 wxMenu_Destroy(arg1);
26050
26051 wxPyEndAllowThreads(__tstate);
26052 if (PyErr_Occurred()) SWIG_fail;
26053 }
26054 Py_INCREF(Py_None); resultobj = Py_None;
26055 return resultobj;
26056 fail:
26057 return NULL;
26058}
26059
26060
26061static PyObject *_wrap_Menu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
26062 PyObject *resultobj;
26063 wxMenu *arg1 = (wxMenu *) 0 ;
26064 int arg2 ;
26065 bool result;
26066 PyObject * obj0 = 0 ;
26067 char *kwnames[] = {
0f774bef 26068 (char *) "self",(char *) "id", NULL
d14a1e28
RD
26069 };
26070
26071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_DestroyId",kwnames,&obj0,&arg2)) goto fail;
26072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26073 {
26074 PyThreadState* __tstate = wxPyBeginAllowThreads();
26075 result = (bool)(arg1)->Destroy(arg2);
26076
26077 wxPyEndAllowThreads(__tstate);
26078 if (PyErr_Occurred()) SWIG_fail;
26079 }
26080 resultobj = PyInt_FromLong((long)result);
26081 return resultobj;
26082 fail:
26083 return NULL;
26084}
26085
26086
26087static PyObject *_wrap_Menu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26088 PyObject *resultobj;
26089 wxMenu *arg1 = (wxMenu *) 0 ;
26090 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
26091 bool result;
26092 PyObject * obj0 = 0 ;
26093 PyObject * obj1 = 0 ;
26094 char *kwnames[] = {
26095 (char *) "self",(char *) "item", NULL
26096 };
26097
26098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
26099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26100 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26101 {
26102 PyThreadState* __tstate = wxPyBeginAllowThreads();
26103 result = (bool)(arg1)->Destroy(arg2);
26104
26105 wxPyEndAllowThreads(__tstate);
26106 if (PyErr_Occurred()) SWIG_fail;
26107 }
26108 resultobj = PyInt_FromLong((long)result);
26109 return resultobj;
26110 fail:
26111 return NULL;
26112}
26113
26114
26115static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
26116 PyObject *resultobj;
26117 wxMenu *arg1 = (wxMenu *) 0 ;
26118 size_t result;
26119 PyObject * obj0 = 0 ;
26120 char *kwnames[] = {
26121 (char *) "self", NULL
26122 };
26123
26124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
26125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26126 {
26127 PyThreadState* __tstate = wxPyBeginAllowThreads();
26128 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
26129
26130 wxPyEndAllowThreads(__tstate);
26131 if (PyErr_Occurred()) SWIG_fail;
26132 }
26133 resultobj = PyInt_FromLong((long)result);
26134 return resultobj;
26135 fail:
26136 return NULL;
26137}
26138
26139
26140static PyObject *_wrap_Menu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
26141 PyObject *resultobj;
26142 wxMenu *arg1 = (wxMenu *) 0 ;
26143 PyObject *result;
26144 PyObject * obj0 = 0 ;
26145 char *kwnames[] = {
26146 (char *) "self", NULL
26147 };
26148
26149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",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 = (PyObject *)wxMenu_GetMenuItems(arg1);
26154
26155 wxPyEndAllowThreads(__tstate);
26156 if (PyErr_Occurred()) SWIG_fail;
26157 }
26158 resultobj = result;
26159 return resultobj;
26160 fail:
26161 return NULL;
26162}
26163
26164
26165static PyObject *_wrap_Menu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26166 PyObject *resultobj;
26167 wxMenu *arg1 = (wxMenu *) 0 ;
26168 wxString *arg2 = 0 ;
26169 int result;
423f194a 26170 bool temp2 = False ;
d14a1e28
RD
26171 PyObject * obj0 = 0 ;
26172 PyObject * obj1 = 0 ;
26173 char *kwnames[] = {
26174 (char *) "self",(char *) "item", NULL
26175 };
26176
26177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
26178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26179 {
26180 arg2 = wxString_in_helper(obj1);
26181 if (arg2 == NULL) SWIG_fail;
423f194a 26182 temp2 = True;
d14a1e28
RD
26183 }
26184 {
26185 PyThreadState* __tstate = wxPyBeginAllowThreads();
26186 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
26187
26188 wxPyEndAllowThreads(__tstate);
26189 if (PyErr_Occurred()) SWIG_fail;
26190 }
26191 resultobj = PyInt_FromLong((long)result);
26192 {
26193 if (temp2)
26194 delete arg2;
26195 }
26196 return resultobj;
26197 fail:
26198 {
26199 if (temp2)
26200 delete arg2;
26201 }
26202 return NULL;
26203}
26204
26205
26206static PyObject *_wrap_Menu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
26207 PyObject *resultobj;
26208 wxMenu *arg1 = (wxMenu *) 0 ;
26209 int arg2 ;
26210 wxMenuItem *result;
26211 PyObject * obj0 = 0 ;
26212 char *kwnames[] = {
0f774bef 26213 (char *) "self",(char *) "id", NULL
d14a1e28
RD
26214 };
26215
26216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_FindItemById",kwnames,&obj0,&arg2)) goto fail;
26217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26218 {
26219 PyThreadState* __tstate = wxPyBeginAllowThreads();
26220 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
26221
26222 wxPyEndAllowThreads(__tstate);
26223 if (PyErr_Occurred()) SWIG_fail;
26224 }
26225 {
26226 resultobj = wxPyMake_wxObject(result);
26227 }
26228 return resultobj;
26229 fail:
26230 return NULL;
26231}
26232
26233
26234static PyObject *_wrap_Menu_FindItemByPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
26235 PyObject *resultobj;
26236 wxMenu *arg1 = (wxMenu *) 0 ;
26237 size_t arg2 ;
26238 wxMenuItem *result;
26239 PyObject * obj0 = 0 ;
26240 PyObject * obj1 = 0 ;
26241 char *kwnames[] = {
26242 (char *) "self",(char *) "position", NULL
26243 };
26244
26245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
26246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26247 arg2 = (size_t) PyInt_AsLong(obj1);
26248 if (PyErr_Occurred()) SWIG_fail;
26249 {
26250 PyThreadState* __tstate = wxPyBeginAllowThreads();
26251 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
26252
26253 wxPyEndAllowThreads(__tstate);
26254 if (PyErr_Occurred()) SWIG_fail;
26255 }
26256 {
26257 resultobj = wxPyMake_wxObject(result);
26258 }
26259 return resultobj;
26260 fail:
26261 return NULL;
26262}
26263
26264
26265static PyObject *_wrap_Menu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
26266 PyObject *resultobj;
26267 wxMenu *arg1 = (wxMenu *) 0 ;
26268 int arg2 ;
26269 bool arg3 ;
26270 PyObject * obj0 = 0 ;
26271 PyObject * obj2 = 0 ;
26272 char *kwnames[] = {
0f774bef 26273 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
26274 };
26275
26276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_Enable",kwnames,&obj0,&arg2,&obj2)) goto fail;
26277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26278 arg3 = PyInt_AsLong(obj2) ? true : false;
26279 if (PyErr_Occurred()) SWIG_fail;
26280 {
26281 PyThreadState* __tstate = wxPyBeginAllowThreads();
26282 (arg1)->Enable(arg2,arg3);
26283
26284 wxPyEndAllowThreads(__tstate);
26285 if (PyErr_Occurred()) SWIG_fail;
26286 }
26287 Py_INCREF(Py_None); resultobj = Py_None;
26288 return resultobj;
26289 fail:
26290 return NULL;
26291}
26292
26293
26294static PyObject *_wrap_Menu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
26295 PyObject *resultobj;
26296 wxMenu *arg1 = (wxMenu *) 0 ;
26297 int arg2 ;
26298 bool result;
26299 PyObject * obj0 = 0 ;
26300 char *kwnames[] = {
0f774bef 26301 (char *) "self",(char *) "id", NULL
d14a1e28
RD
26302 };
26303
26304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_IsEnabled",kwnames,&obj0,&arg2)) goto fail;
26305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26306 {
26307 PyThreadState* __tstate = wxPyBeginAllowThreads();
26308 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
26309
26310 wxPyEndAllowThreads(__tstate);
26311 if (PyErr_Occurred()) SWIG_fail;
26312 }
26313 resultobj = PyInt_FromLong((long)result);
26314 return resultobj;
26315 fail:
26316 return NULL;
26317}
26318
26319
26320static PyObject *_wrap_Menu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
26321 PyObject *resultobj;
26322 wxMenu *arg1 = (wxMenu *) 0 ;
26323 int arg2 ;
26324 bool arg3 ;
26325 PyObject * obj0 = 0 ;
26326 PyObject * obj2 = 0 ;
26327 char *kwnames[] = {
0f774bef 26328 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
26329 };
26330
26331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_Check",kwnames,&obj0,&arg2,&obj2)) goto fail;
26332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26333 arg3 = PyInt_AsLong(obj2) ? true : false;
26334 if (PyErr_Occurred()) SWIG_fail;
26335 {
26336 PyThreadState* __tstate = wxPyBeginAllowThreads();
26337 (arg1)->Check(arg2,arg3);
26338
26339 wxPyEndAllowThreads(__tstate);
26340 if (PyErr_Occurred()) SWIG_fail;
26341 }
26342 Py_INCREF(Py_None); resultobj = Py_None;
26343 return resultobj;
26344 fail:
26345 return NULL;
26346}
26347
26348
26349static PyObject *_wrap_Menu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
26350 PyObject *resultobj;
26351 wxMenu *arg1 = (wxMenu *) 0 ;
26352 int arg2 ;
26353 bool result;
26354 PyObject * obj0 = 0 ;
26355 char *kwnames[] = {
0f774bef 26356 (char *) "self",(char *) "id", NULL
d14a1e28
RD
26357 };
26358
26359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_IsChecked",kwnames,&obj0,&arg2)) goto fail;
26360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26361 {
26362 PyThreadState* __tstate = wxPyBeginAllowThreads();
26363 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
26364
26365 wxPyEndAllowThreads(__tstate);
26366 if (PyErr_Occurred()) SWIG_fail;
26367 }
26368 resultobj = PyInt_FromLong((long)result);
26369 return resultobj;
26370 fail:
26371 return NULL;
26372}
26373
26374
26375static PyObject *_wrap_Menu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
26376 PyObject *resultobj;
26377 wxMenu *arg1 = (wxMenu *) 0 ;
26378 int arg2 ;
26379 wxString *arg3 = 0 ;
423f194a 26380 bool temp3 = False ;
d14a1e28
RD
26381 PyObject * obj0 = 0 ;
26382 PyObject * obj2 = 0 ;
26383 char *kwnames[] = {
0f774bef 26384 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
26385 };
26386
26387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_SetLabel",kwnames,&obj0,&arg2,&obj2)) goto fail;
26388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26389 {
26390 arg3 = wxString_in_helper(obj2);
26391 if (arg3 == NULL) SWIG_fail;
423f194a 26392 temp3 = True;
d14a1e28
RD
26393 }
26394 {
26395 PyThreadState* __tstate = wxPyBeginAllowThreads();
26396 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
26397
26398 wxPyEndAllowThreads(__tstate);
26399 if (PyErr_Occurred()) SWIG_fail;
26400 }
26401 Py_INCREF(Py_None); resultobj = Py_None;
26402 {
26403 if (temp3)
26404 delete arg3;
26405 }
26406 return resultobj;
26407 fail:
26408 {
26409 if (temp3)
26410 delete arg3;
26411 }
26412 return NULL;
26413}
26414
26415
26416static PyObject *_wrap_Menu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
26417 PyObject *resultobj;
26418 wxMenu *arg1 = (wxMenu *) 0 ;
26419 int arg2 ;
26420 wxString result;
26421 PyObject * obj0 = 0 ;
26422 char *kwnames[] = {
0f774bef 26423 (char *) "self",(char *) "id", NULL
d14a1e28
RD
26424 };
26425
26426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_GetLabel",kwnames,&obj0,&arg2)) goto fail;
26427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26428 {
26429 PyThreadState* __tstate = wxPyBeginAllowThreads();
26430 result = ((wxMenu const *)arg1)->GetLabel(arg2);
26431
26432 wxPyEndAllowThreads(__tstate);
26433 if (PyErr_Occurred()) SWIG_fail;
26434 }
26435 {
26436#if wxUSE_UNICODE
26437 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26438#else
26439 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26440#endif
26441 }
26442 return resultobj;
26443 fail:
26444 return NULL;
26445}
26446
26447
26448static PyObject *_wrap_Menu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
26449 PyObject *resultobj;
26450 wxMenu *arg1 = (wxMenu *) 0 ;
26451 int arg2 ;
26452 wxString *arg3 = 0 ;
423f194a 26453 bool temp3 = False ;
d14a1e28
RD
26454 PyObject * obj0 = 0 ;
26455 PyObject * obj2 = 0 ;
26456 char *kwnames[] = {
0f774bef 26457 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
26458 };
26459
26460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_SetHelpString",kwnames,&obj0,&arg2,&obj2)) goto fail;
26461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26462 {
26463 arg3 = wxString_in_helper(obj2);
26464 if (arg3 == NULL) SWIG_fail;
423f194a 26465 temp3 = True;
d14a1e28
RD
26466 }
26467 {
26468 PyThreadState* __tstate = wxPyBeginAllowThreads();
26469 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
26470
26471 wxPyEndAllowThreads(__tstate);
26472 if (PyErr_Occurred()) SWIG_fail;
26473 }
26474 Py_INCREF(Py_None); resultobj = Py_None;
26475 {
26476 if (temp3)
26477 delete arg3;
26478 }
26479 return resultobj;
26480 fail:
26481 {
26482 if (temp3)
26483 delete arg3;
26484 }
26485 return NULL;
26486}
26487
26488
26489static PyObject *_wrap_Menu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
26490 PyObject *resultobj;
26491 wxMenu *arg1 = (wxMenu *) 0 ;
26492 int arg2 ;
26493 wxString result;
26494 PyObject * obj0 = 0 ;
26495 char *kwnames[] = {
0f774bef 26496 (char *) "self",(char *) "id", NULL
d14a1e28
RD
26497 };
26498
26499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_GetHelpString",kwnames,&obj0,&arg2)) goto fail;
26500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26501 {
26502 PyThreadState* __tstate = wxPyBeginAllowThreads();
26503 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
26504
26505 wxPyEndAllowThreads(__tstate);
26506 if (PyErr_Occurred()) SWIG_fail;
26507 }
26508 {
26509#if wxUSE_UNICODE
26510 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26511#else
26512 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26513#endif
26514 }
26515 return resultobj;
26516 fail:
26517 return NULL;
26518}
26519
26520
26521static PyObject *_wrap_Menu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
26522 PyObject *resultobj;
26523 wxMenu *arg1 = (wxMenu *) 0 ;
26524 wxString *arg2 = 0 ;
423f194a 26525 bool temp2 = False ;
d14a1e28
RD
26526 PyObject * obj0 = 0 ;
26527 PyObject * obj1 = 0 ;
26528 char *kwnames[] = {
26529 (char *) "self",(char *) "title", NULL
26530 };
26531
26532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
26533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26534 {
26535 arg2 = wxString_in_helper(obj1);
26536 if (arg2 == NULL) SWIG_fail;
423f194a 26537 temp2 = True;
d14a1e28
RD
26538 }
26539 {
26540 PyThreadState* __tstate = wxPyBeginAllowThreads();
26541 (arg1)->SetTitle((wxString const &)*arg2);
26542
26543 wxPyEndAllowThreads(__tstate);
26544 if (PyErr_Occurred()) SWIG_fail;
26545 }
26546 Py_INCREF(Py_None); resultobj = Py_None;
26547 {
26548 if (temp2)
26549 delete arg2;
26550 }
26551 return resultobj;
26552 fail:
26553 {
26554 if (temp2)
26555 delete arg2;
26556 }
26557 return NULL;
26558}
26559
26560
26561static PyObject *_wrap_Menu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
26562 PyObject *resultobj;
26563 wxMenu *arg1 = (wxMenu *) 0 ;
26564 wxString result;
26565 PyObject * obj0 = 0 ;
26566 char *kwnames[] = {
26567 (char *) "self", NULL
26568 };
26569
26570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
26571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26572 {
26573 PyThreadState* __tstate = wxPyBeginAllowThreads();
26574 result = ((wxMenu const *)arg1)->GetTitle();
26575
26576 wxPyEndAllowThreads(__tstate);
26577 if (PyErr_Occurred()) SWIG_fail;
26578 }
26579 {
26580#if wxUSE_UNICODE
26581 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26582#else
26583 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26584#endif
26585 }
26586 return resultobj;
26587 fail:
26588 return NULL;
26589}
26590
26591
26592static PyObject *_wrap_Menu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
26593 PyObject *resultobj;
26594 wxMenu *arg1 = (wxMenu *) 0 ;
26595 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
26596 PyObject * obj0 = 0 ;
26597 PyObject * obj1 = 0 ;
26598 char *kwnames[] = {
26599 (char *) "self",(char *) "handler", NULL
26600 };
26601
26602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
26603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26604 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26605 {
26606 PyThreadState* __tstate = wxPyBeginAllowThreads();
26607 (arg1)->SetEventHandler(arg2);
26608
26609 wxPyEndAllowThreads(__tstate);
26610 if (PyErr_Occurred()) SWIG_fail;
26611 }
26612 Py_INCREF(Py_None); resultobj = Py_None;
26613 return resultobj;
26614 fail:
26615 return NULL;
26616}
26617
26618
26619static PyObject *_wrap_Menu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
26620 PyObject *resultobj;
26621 wxMenu *arg1 = (wxMenu *) 0 ;
26622 wxEvtHandler *result;
26623 PyObject * obj0 = 0 ;
26624 char *kwnames[] = {
26625 (char *) "self", NULL
26626 };
26627
26628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
26629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26630 {
26631 PyThreadState* __tstate = wxPyBeginAllowThreads();
26632 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
26633
26634 wxPyEndAllowThreads(__tstate);
26635 if (PyErr_Occurred()) SWIG_fail;
26636 }
26637 {
26638 resultobj = wxPyMake_wxObject(result);
26639 }
26640 return resultobj;
26641 fail:
26642 return NULL;
26643}
26644
26645
26646static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26647 PyObject *resultobj;
26648 wxMenu *arg1 = (wxMenu *) 0 ;
26649 wxWindow *arg2 = (wxWindow *) 0 ;
26650 PyObject * obj0 = 0 ;
26651 PyObject * obj1 = 0 ;
26652 char *kwnames[] = {
26653 (char *) "self",(char *) "win", NULL
26654 };
26655
26656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
26657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26658 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26659 {
26660 PyThreadState* __tstate = wxPyBeginAllowThreads();
26661 (arg1)->SetInvokingWindow(arg2);
26662
26663 wxPyEndAllowThreads(__tstate);
26664 if (PyErr_Occurred()) SWIG_fail;
26665 }
26666 Py_INCREF(Py_None); resultobj = Py_None;
26667 return resultobj;
26668 fail:
26669 return NULL;
26670}
26671
26672
26673static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26674 PyObject *resultobj;
26675 wxMenu *arg1 = (wxMenu *) 0 ;
26676 wxWindow *result;
26677 PyObject * obj0 = 0 ;
26678 char *kwnames[] = {
26679 (char *) "self", NULL
26680 };
26681
26682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
26683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26684 {
26685 PyThreadState* __tstate = wxPyBeginAllowThreads();
26686 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
26687
26688 wxPyEndAllowThreads(__tstate);
26689 if (PyErr_Occurred()) SWIG_fail;
26690 }
26691 {
26692 resultobj = wxPyMake_wxObject(result);
26693 }
26694 return resultobj;
26695 fail:
26696 return NULL;
26697}
26698
26699
26700static PyObject *_wrap_Menu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
26701 PyObject *resultobj;
26702 wxMenu *arg1 = (wxMenu *) 0 ;
26703 long result;
26704 PyObject * obj0 = 0 ;
26705 char *kwnames[] = {
26706 (char *) "self", NULL
26707 };
26708
26709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
26710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26711 {
26712 PyThreadState* __tstate = wxPyBeginAllowThreads();
26713 result = (long)((wxMenu const *)arg1)->GetStyle();
26714
26715 wxPyEndAllowThreads(__tstate);
26716 if (PyErr_Occurred()) SWIG_fail;
26717 }
26718 resultobj = PyInt_FromLong((long)result);
26719 return resultobj;
26720 fail:
26721 return NULL;
26722}
26723
26724
26725static PyObject *_wrap_Menu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
26726 PyObject *resultobj;
26727 wxMenu *arg1 = (wxMenu *) 0 ;
26728 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
26729 PyObject * obj0 = 0 ;
26730 PyObject * obj1 = 0 ;
26731 char *kwnames[] = {
26732 (char *) "self",(char *) "source", NULL
26733 };
26734
26735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
26736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26737 if (obj1) {
26738 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26739 }
26740 {
26741 PyThreadState* __tstate = wxPyBeginAllowThreads();
26742 (arg1)->UpdateUI(arg2);
26743
26744 wxPyEndAllowThreads(__tstate);
26745 if (PyErr_Occurred()) SWIG_fail;
26746 }
26747 Py_INCREF(Py_None); resultobj = Py_None;
26748 return resultobj;
26749 fail:
26750 return NULL;
26751}
26752
26753
26754static PyObject *_wrap_Menu_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
26755 PyObject *resultobj;
26756 wxMenu *arg1 = (wxMenu *) 0 ;
26757 wxMenuBar *result;
26758 PyObject * obj0 = 0 ;
26759 char *kwnames[] = {
26760 (char *) "self", NULL
26761 };
26762
26763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
26764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26765 {
26766 PyThreadState* __tstate = wxPyBeginAllowThreads();
26767 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
26768
26769 wxPyEndAllowThreads(__tstate);
26770 if (PyErr_Occurred()) SWIG_fail;
26771 }
26772 {
26773 resultobj = wxPyMake_wxObject(result);
26774 }
26775 return resultobj;
26776 fail:
26777 return NULL;
26778}
26779
26780
26781static PyObject *_wrap_Menu_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
26782 PyObject *resultobj;
26783 wxMenu *arg1 = (wxMenu *) 0 ;
26784 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
26785 PyObject * obj0 = 0 ;
26786 PyObject * obj1 = 0 ;
26787 char *kwnames[] = {
26788 (char *) "self",(char *) "menubar", NULL
26789 };
26790
26791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
26792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26793 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26794 {
26795 PyThreadState* __tstate = wxPyBeginAllowThreads();
26796 (arg1)->Attach(arg2);
26797
26798 wxPyEndAllowThreads(__tstate);
26799 if (PyErr_Occurred()) SWIG_fail;
26800 }
26801 Py_INCREF(Py_None); resultobj = Py_None;
26802 return resultobj;
26803 fail:
26804 return NULL;
26805}
26806
26807
26808static PyObject *_wrap_Menu_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
26809 PyObject *resultobj;
26810 wxMenu *arg1 = (wxMenu *) 0 ;
26811 PyObject * obj0 = 0 ;
26812 char *kwnames[] = {
26813 (char *) "self", NULL
26814 };
26815
26816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
26817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26818 {
26819 PyThreadState* __tstate = wxPyBeginAllowThreads();
26820 (arg1)->Detach();
26821
26822 wxPyEndAllowThreads(__tstate);
26823 if (PyErr_Occurred()) SWIG_fail;
26824 }
26825 Py_INCREF(Py_None); resultobj = Py_None;
26826 return resultobj;
26827 fail:
26828 return NULL;
26829}
26830
26831
26832static PyObject *_wrap_Menu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
26833 PyObject *resultobj;
26834 wxMenu *arg1 = (wxMenu *) 0 ;
26835 bool result;
26836 PyObject * obj0 = 0 ;
26837 char *kwnames[] = {
26838 (char *) "self", NULL
26839 };
26840
26841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
26842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26843 {
26844 PyThreadState* __tstate = wxPyBeginAllowThreads();
26845 result = (bool)((wxMenu const *)arg1)->IsAttached();
26846
26847 wxPyEndAllowThreads(__tstate);
26848 if (PyErr_Occurred()) SWIG_fail;
26849 }
26850 resultobj = PyInt_FromLong((long)result);
26851 return resultobj;
26852 fail:
26853 return NULL;
26854}
26855
26856
26857static PyObject *_wrap_Menu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
26858 PyObject *resultobj;
26859 wxMenu *arg1 = (wxMenu *) 0 ;
26860 wxMenu *arg2 = (wxMenu *) 0 ;
26861 PyObject * obj0 = 0 ;
26862 PyObject * obj1 = 0 ;
26863 char *kwnames[] = {
26864 (char *) "self",(char *) "parent", NULL
26865 };
26866
26867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
26868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26869 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26870 {
26871 PyThreadState* __tstate = wxPyBeginAllowThreads();
26872 (arg1)->SetParent(arg2);
26873
26874 wxPyEndAllowThreads(__tstate);
26875 if (PyErr_Occurred()) SWIG_fail;
26876 }
26877 Py_INCREF(Py_None); resultobj = Py_None;
26878 return resultobj;
26879 fail:
26880 return NULL;
26881}
26882
26883
26884static PyObject *_wrap_Menu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
26885 PyObject *resultobj;
26886 wxMenu *arg1 = (wxMenu *) 0 ;
26887 wxMenu *result;
26888 PyObject * obj0 = 0 ;
26889 char *kwnames[] = {
26890 (char *) "self", NULL
26891 };
26892
26893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
26894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26895 {
26896 PyThreadState* __tstate = wxPyBeginAllowThreads();
26897 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
26898
26899 wxPyEndAllowThreads(__tstate);
26900 if (PyErr_Occurred()) SWIG_fail;
26901 }
26902 {
26903 resultobj = wxPyMake_wxObject(result);
26904 }
26905 return resultobj;
26906 fail:
26907 return NULL;
26908}
26909
26910
26911static PyObject * Menu_swigregister(PyObject *self, PyObject *args) {
26912 PyObject *obj;
26913 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26914 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
26915 Py_INCREF(obj);
26916 return Py_BuildValue((char *)"");
26917}
26918static PyObject *_wrap_new_MenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
26919 PyObject *resultobj;
26920 long arg1 = (long) 0 ;
26921 wxMenuBar *result;
26922 char *kwnames[] = {
26923 (char *) "style", NULL
26924 };
26925
26926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|l:new_MenuBar",kwnames,&arg1)) goto fail;
26927 {
26928 PyThreadState* __tstate = wxPyBeginAllowThreads();
26929 result = (wxMenuBar *)new wxMenuBar(arg1);
26930
26931 wxPyEndAllowThreads(__tstate);
26932 if (PyErr_Occurred()) SWIG_fail;
26933 }
26934 {
26935 resultobj = wxPyMake_wxObject(result);
26936 }
26937 return resultobj;
26938 fail:
26939 return NULL;
26940}
26941
26942
26943static PyObject *_wrap_MenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
26944 PyObject *resultobj;
26945 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26946 wxMenu *arg2 = (wxMenu *) 0 ;
26947 wxString *arg3 = 0 ;
26948 bool result;
423f194a 26949 bool temp3 = False ;
d14a1e28
RD
26950 PyObject * obj0 = 0 ;
26951 PyObject * obj1 = 0 ;
26952 PyObject * obj2 = 0 ;
26953 char *kwnames[] = {
26954 (char *) "self",(char *) "menu",(char *) "title", NULL
26955 };
26956
26957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
26958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26959 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26960 {
26961 arg3 = wxString_in_helper(obj2);
26962 if (arg3 == NULL) SWIG_fail;
423f194a 26963 temp3 = True;
d14a1e28
RD
26964 }
26965 {
26966 PyThreadState* __tstate = wxPyBeginAllowThreads();
26967 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
26968
26969 wxPyEndAllowThreads(__tstate);
26970 if (PyErr_Occurred()) SWIG_fail;
26971 }
26972 resultobj = PyInt_FromLong((long)result);
26973 {
26974 if (temp3)
26975 delete arg3;
26976 }
26977 return resultobj;
26978 fail:
26979 {
26980 if (temp3)
26981 delete arg3;
26982 }
26983 return NULL;
26984}
26985
26986
26987static PyObject *_wrap_MenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
26988 PyObject *resultobj;
26989 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26990 size_t arg2 ;
26991 wxMenu *arg3 = (wxMenu *) 0 ;
26992 wxString *arg4 = 0 ;
26993 bool result;
423f194a 26994 bool temp4 = False ;
d14a1e28
RD
26995 PyObject * obj0 = 0 ;
26996 PyObject * obj1 = 0 ;
26997 PyObject * obj2 = 0 ;
26998 PyObject * obj3 = 0 ;
26999 char *kwnames[] = {
27000 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
27001 };
27002
27003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27005 arg2 = (size_t) PyInt_AsLong(obj1);
27006 if (PyErr_Occurred()) SWIG_fail;
27007 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27008 {
27009 arg4 = wxString_in_helper(obj3);
27010 if (arg4 == NULL) SWIG_fail;
423f194a 27011 temp4 = True;
d14a1e28
RD
27012 }
27013 {
27014 PyThreadState* __tstate = wxPyBeginAllowThreads();
27015 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
27016
27017 wxPyEndAllowThreads(__tstate);
27018 if (PyErr_Occurred()) SWIG_fail;
27019 }
27020 resultobj = PyInt_FromLong((long)result);
27021 {
27022 if (temp4)
27023 delete arg4;
27024 }
27025 return resultobj;
27026 fail:
27027 {
27028 if (temp4)
27029 delete arg4;
27030 }
27031 return NULL;
27032}
27033
27034
27035static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
27036 PyObject *resultobj;
27037 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27038 size_t result;
27039 PyObject * obj0 = 0 ;
27040 char *kwnames[] = {
27041 (char *) "self", NULL
27042 };
27043
27044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
27045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27046 {
27047 PyThreadState* __tstate = wxPyBeginAllowThreads();
27048 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
27049
27050 wxPyEndAllowThreads(__tstate);
27051 if (PyErr_Occurred()) SWIG_fail;
27052 }
27053 resultobj = PyInt_FromLong((long)result);
27054 return resultobj;
27055 fail:
27056 return NULL;
27057}
27058
27059
27060static PyObject *_wrap_MenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27061 PyObject *resultobj;
27062 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27063 size_t arg2 ;
27064 wxMenu *result;
27065 PyObject * obj0 = 0 ;
27066 PyObject * obj1 = 0 ;
27067 char *kwnames[] = {
27068 (char *) "self",(char *) "pos", NULL
27069 };
27070
27071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
27072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27073 arg2 = (size_t) PyInt_AsLong(obj1);
27074 if (PyErr_Occurred()) SWIG_fail;
27075 {
27076 PyThreadState* __tstate = wxPyBeginAllowThreads();
27077 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
27078
27079 wxPyEndAllowThreads(__tstate);
27080 if (PyErr_Occurred()) SWIG_fail;
27081 }
27082 {
27083 resultobj = wxPyMake_wxObject(result);
27084 }
27085 return resultobj;
27086 fail:
27087 return NULL;
27088}
27089
27090
27091static PyObject *_wrap_MenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
27092 PyObject *resultobj;
27093 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27094 size_t arg2 ;
27095 wxMenu *arg3 = (wxMenu *) 0 ;
27096 wxString *arg4 = 0 ;
27097 wxMenu *result;
423f194a 27098 bool temp4 = False ;
d14a1e28
RD
27099 PyObject * obj0 = 0 ;
27100 PyObject * obj1 = 0 ;
27101 PyObject * obj2 = 0 ;
27102 PyObject * obj3 = 0 ;
27103 char *kwnames[] = {
27104 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
27105 };
27106
27107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27109 arg2 = (size_t) PyInt_AsLong(obj1);
27110 if (PyErr_Occurred()) SWIG_fail;
27111 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27112 {
27113 arg4 = wxString_in_helper(obj3);
27114 if (arg4 == NULL) SWIG_fail;
423f194a 27115 temp4 = True;
d14a1e28
RD
27116 }
27117 {
27118 PyThreadState* __tstate = wxPyBeginAllowThreads();
27119 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
27120
27121 wxPyEndAllowThreads(__tstate);
27122 if (PyErr_Occurred()) SWIG_fail;
27123 }
27124 {
27125 resultobj = wxPyMake_wxObject(result);
27126 }
27127 {
27128 if (temp4)
27129 delete arg4;
27130 }
27131 return resultobj;
27132 fail:
27133 {
27134 if (temp4)
27135 delete arg4;
27136 }
27137 return NULL;
27138}
27139
27140
27141static PyObject *_wrap_MenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
27142 PyObject *resultobj;
27143 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27144 size_t arg2 ;
27145 wxMenu *result;
27146 PyObject * obj0 = 0 ;
27147 PyObject * obj1 = 0 ;
27148 char *kwnames[] = {
27149 (char *) "self",(char *) "pos", NULL
27150 };
27151
27152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
27153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27154 arg2 = (size_t) PyInt_AsLong(obj1);
27155 if (PyErr_Occurred()) SWIG_fail;
27156 {
27157 PyThreadState* __tstate = wxPyBeginAllowThreads();
27158 result = (wxMenu *)(arg1)->Remove(arg2);
27159
27160 wxPyEndAllowThreads(__tstate);
27161 if (PyErr_Occurred()) SWIG_fail;
27162 }
27163 {
27164 resultobj = wxPyMake_wxObject(result);
27165 }
27166 return resultobj;
27167 fail:
27168 return NULL;
27169}
27170
27171
27172static PyObject *_wrap_MenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
27173 PyObject *resultobj;
27174 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27175 size_t arg2 ;
27176 bool arg3 ;
27177 PyObject * obj0 = 0 ;
27178 PyObject * obj1 = 0 ;
27179 PyObject * obj2 = 0 ;
27180 char *kwnames[] = {
27181 (char *) "self",(char *) "pos",(char *) "enable", NULL
27182 };
27183
27184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
27185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27186 arg2 = (size_t) PyInt_AsLong(obj1);
27187 if (PyErr_Occurred()) SWIG_fail;
27188 arg3 = PyInt_AsLong(obj2) ? true : false;
27189 if (PyErr_Occurred()) SWIG_fail;
27190 {
27191 PyThreadState* __tstate = wxPyBeginAllowThreads();
27192 (arg1)->EnableTop(arg2,arg3);
27193
27194 wxPyEndAllowThreads(__tstate);
27195 if (PyErr_Occurred()) SWIG_fail;
27196 }
27197 Py_INCREF(Py_None); resultobj = Py_None;
27198 return resultobj;
27199 fail:
27200 return NULL;
27201}
27202
27203
27204static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *self, PyObject *args, PyObject *kwargs) {
27205 PyObject *resultobj;
27206 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27207 size_t arg2 ;
27208 bool result;
27209 PyObject * obj0 = 0 ;
27210 PyObject * obj1 = 0 ;
27211 char *kwnames[] = {
27212 (char *) "self",(char *) "pos", NULL
27213 };
27214
27215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
27216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27217 arg2 = (size_t) PyInt_AsLong(obj1);
27218 if (PyErr_Occurred()) SWIG_fail;
27219 {
27220 PyThreadState* __tstate = wxPyBeginAllowThreads();
27221 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
27222
27223 wxPyEndAllowThreads(__tstate);
27224 if (PyErr_Occurred()) SWIG_fail;
27225 }
27226 resultobj = PyInt_FromLong((long)result);
27227 return resultobj;
27228 fail:
27229 return NULL;
27230}
27231
27232
27233static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
27234 PyObject *resultobj;
27235 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27236 size_t arg2 ;
27237 wxString *arg3 = 0 ;
423f194a 27238 bool temp3 = False ;
d14a1e28
RD
27239 PyObject * obj0 = 0 ;
27240 PyObject * obj1 = 0 ;
27241 PyObject * obj2 = 0 ;
27242 char *kwnames[] = {
27243 (char *) "self",(char *) "pos",(char *) "label", NULL
27244 };
27245
27246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
27247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27248 arg2 = (size_t) PyInt_AsLong(obj1);
27249 if (PyErr_Occurred()) SWIG_fail;
27250 {
27251 arg3 = wxString_in_helper(obj2);
27252 if (arg3 == NULL) SWIG_fail;
423f194a 27253 temp3 = True;
d14a1e28
RD
27254 }
27255 {
27256 PyThreadState* __tstate = wxPyBeginAllowThreads();
27257 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
27258
27259 wxPyEndAllowThreads(__tstate);
27260 if (PyErr_Occurred()) SWIG_fail;
27261 }
27262 Py_INCREF(Py_None); resultobj = Py_None;
27263 {
27264 if (temp3)
27265 delete arg3;
27266 }
27267 return resultobj;
27268 fail:
27269 {
27270 if (temp3)
27271 delete arg3;
27272 }
27273 return NULL;
27274}
27275
27276
27277static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
27278 PyObject *resultobj;
27279 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27280 size_t arg2 ;
27281 wxString result;
27282 PyObject * obj0 = 0 ;
27283 PyObject * obj1 = 0 ;
27284 char *kwnames[] = {
27285 (char *) "self",(char *) "pos", NULL
27286 };
27287
27288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
27289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27290 arg2 = (size_t) PyInt_AsLong(obj1);
27291 if (PyErr_Occurred()) SWIG_fail;
27292 {
27293 PyThreadState* __tstate = wxPyBeginAllowThreads();
27294 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
27295
27296 wxPyEndAllowThreads(__tstate);
27297 if (PyErr_Occurred()) SWIG_fail;
27298 }
27299 {
27300#if wxUSE_UNICODE
27301 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27302#else
27303 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27304#endif
27305 }
27306 return resultobj;
27307 fail:
27308 return NULL;
27309}
27310
27311
27312static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27313 PyObject *resultobj;
27314 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27315 wxString *arg2 = 0 ;
27316 wxString *arg3 = 0 ;
27317 int result;
423f194a
RD
27318 bool temp2 = False ;
27319 bool temp3 = False ;
d14a1e28
RD
27320 PyObject * obj0 = 0 ;
27321 PyObject * obj1 = 0 ;
27322 PyObject * obj2 = 0 ;
27323 char *kwnames[] = {
27324 (char *) "self",(char *) "menu",(char *) "item", NULL
27325 };
27326
27327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
27328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27329 {
27330 arg2 = wxString_in_helper(obj1);
27331 if (arg2 == NULL) SWIG_fail;
423f194a 27332 temp2 = True;
d14a1e28
RD
27333 }
27334 {
27335 arg3 = wxString_in_helper(obj2);
27336 if (arg3 == NULL) SWIG_fail;
423f194a 27337 temp3 = True;
d14a1e28
RD
27338 }
27339 {
27340 PyThreadState* __tstate = wxPyBeginAllowThreads();
27341 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
27342
27343 wxPyEndAllowThreads(__tstate);
27344 if (PyErr_Occurred()) SWIG_fail;
27345 }
27346 resultobj = PyInt_FromLong((long)result);
27347 {
27348 if (temp2)
27349 delete arg2;
27350 }
27351 {
27352 if (temp3)
27353 delete arg3;
27354 }
27355 return resultobj;
27356 fail:
27357 {
27358 if (temp2)
27359 delete arg2;
27360 }
27361 {
27362 if (temp3)
27363 delete arg3;
27364 }
27365 return NULL;
27366}
27367
27368
27369static PyObject *_wrap_MenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
27370 PyObject *resultobj;
27371 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27372 int arg2 ;
27373 wxMenuItem *result;
27374 PyObject * obj0 = 0 ;
27375 char *kwnames[] = {
0f774bef 27376 (char *) "self",(char *) "id", NULL
d14a1e28
RD
27377 };
27378
27379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_FindItemById",kwnames,&obj0,&arg2)) goto fail;
27380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27381 {
27382 PyThreadState* __tstate = wxPyBeginAllowThreads();
27383 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
27384
27385 wxPyEndAllowThreads(__tstate);
27386 if (PyErr_Occurred()) SWIG_fail;
27387 }
27388 {
27389 resultobj = wxPyMake_wxObject(result);
27390 }
27391 return resultobj;
27392 fail:
27393 return NULL;
27394}
27395
27396
27397static PyObject *_wrap_MenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27398 PyObject *resultobj;
27399 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27400 wxString *arg2 = 0 ;
27401 int result;
423f194a 27402 bool temp2 = False ;
d14a1e28
RD
27403 PyObject * obj0 = 0 ;
27404 PyObject * obj1 = 0 ;
27405 char *kwnames[] = {
27406 (char *) "self",(char *) "title", NULL
27407 };
27408
27409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
27410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27411 {
27412 arg2 = wxString_in_helper(obj1);
27413 if (arg2 == NULL) SWIG_fail;
423f194a 27414 temp2 = True;
d14a1e28
RD
27415 }
27416 {
27417 PyThreadState* __tstate = wxPyBeginAllowThreads();
27418 result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2);
27419
27420 wxPyEndAllowThreads(__tstate);
27421 if (PyErr_Occurred()) SWIG_fail;
27422 }
27423 resultobj = PyInt_FromLong((long)result);
27424 {
27425 if (temp2)
27426 delete arg2;
27427 }
27428 return resultobj;
27429 fail:
27430 {
27431 if (temp2)
27432 delete arg2;
27433 }
27434 return NULL;
27435}
27436
27437
27438static PyObject *_wrap_MenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
27439 PyObject *resultobj;
27440 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27441 int arg2 ;
27442 bool arg3 ;
27443 PyObject * obj0 = 0 ;
27444 PyObject * obj2 = 0 ;
27445 char *kwnames[] = {
0f774bef 27446 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
27447 };
27448
27449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_Enable",kwnames,&obj0,&arg2,&obj2)) goto fail;
27450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27451 arg3 = PyInt_AsLong(obj2) ? true : false;
27452 if (PyErr_Occurred()) SWIG_fail;
27453 {
27454 PyThreadState* __tstate = wxPyBeginAllowThreads();
27455 (arg1)->Enable(arg2,arg3);
27456
27457 wxPyEndAllowThreads(__tstate);
27458 if (PyErr_Occurred()) SWIG_fail;
27459 }
27460 Py_INCREF(Py_None); resultobj = Py_None;
27461 return resultobj;
27462 fail:
27463 return NULL;
27464}
27465
27466
27467static PyObject *_wrap_MenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
27468 PyObject *resultobj;
27469 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27470 int arg2 ;
27471 bool arg3 ;
27472 PyObject * obj0 = 0 ;
27473 PyObject * obj2 = 0 ;
27474 char *kwnames[] = {
0f774bef 27475 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
27476 };
27477
27478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_Check",kwnames,&obj0,&arg2,&obj2)) goto fail;
27479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27480 arg3 = PyInt_AsLong(obj2) ? true : false;
27481 if (PyErr_Occurred()) SWIG_fail;
27482 {
27483 PyThreadState* __tstate = wxPyBeginAllowThreads();
27484 (arg1)->Check(arg2,arg3);
27485
27486 wxPyEndAllowThreads(__tstate);
27487 if (PyErr_Occurred()) SWIG_fail;
27488 }
27489 Py_INCREF(Py_None); resultobj = Py_None;
27490 return resultobj;
27491 fail:
27492 return NULL;
27493}
27494
27495
27496static PyObject *_wrap_MenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
27497 PyObject *resultobj;
27498 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27499 int arg2 ;
27500 bool result;
27501 PyObject * obj0 = 0 ;
27502 char *kwnames[] = {
0f774bef 27503 (char *) "self",(char *) "id", NULL
d14a1e28
RD
27504 };
27505
27506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_IsChecked",kwnames,&obj0,&arg2)) goto fail;
27507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27508 {
27509 PyThreadState* __tstate = wxPyBeginAllowThreads();
27510 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
27511
27512 wxPyEndAllowThreads(__tstate);
27513 if (PyErr_Occurred()) SWIG_fail;
27514 }
27515 resultobj = PyInt_FromLong((long)result);
27516 return resultobj;
27517 fail:
27518 return NULL;
27519}
27520
27521
27522static PyObject *_wrap_MenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
27523 PyObject *resultobj;
27524 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27525 int arg2 ;
27526 bool result;
27527 PyObject * obj0 = 0 ;
27528 char *kwnames[] = {
0f774bef 27529 (char *) "self",(char *) "id", NULL
d14a1e28
RD
27530 };
27531
27532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_IsEnabled",kwnames,&obj0,&arg2)) goto fail;
27533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27534 {
27535 PyThreadState* __tstate = wxPyBeginAllowThreads();
27536 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
27537
27538 wxPyEndAllowThreads(__tstate);
27539 if (PyErr_Occurred()) SWIG_fail;
27540 }
27541 resultobj = PyInt_FromLong((long)result);
27542 return resultobj;
27543 fail:
27544 return NULL;
27545}
27546
27547
27548static PyObject *_wrap_MenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27549 PyObject *resultobj;
27550 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27551 int arg2 ;
27552 wxString *arg3 = 0 ;
423f194a 27553 bool temp3 = False ;
d14a1e28
RD
27554 PyObject * obj0 = 0 ;
27555 PyObject * obj2 = 0 ;
27556 char *kwnames[] = {
0f774bef 27557 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
27558 };
27559
27560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_SetLabel",kwnames,&obj0,&arg2,&obj2)) goto fail;
27561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27562 {
27563 arg3 = wxString_in_helper(obj2);
27564 if (arg3 == NULL) SWIG_fail;
423f194a 27565 temp3 = True;
d14a1e28
RD
27566 }
27567 {
27568 PyThreadState* __tstate = wxPyBeginAllowThreads();
27569 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
27570
27571 wxPyEndAllowThreads(__tstate);
27572 if (PyErr_Occurred()) SWIG_fail;
27573 }
27574 Py_INCREF(Py_None); resultobj = Py_None;
27575 {
27576 if (temp3)
27577 delete arg3;
27578 }
27579 return resultobj;
27580 fail:
27581 {
27582 if (temp3)
27583 delete arg3;
27584 }
27585 return NULL;
27586}
27587
27588
27589static PyObject *_wrap_MenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27590 PyObject *resultobj;
27591 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27592 int arg2 ;
27593 wxString result;
27594 PyObject * obj0 = 0 ;
27595 char *kwnames[] = {
0f774bef 27596 (char *) "self",(char *) "id", NULL
d14a1e28
RD
27597 };
27598
27599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_GetLabel",kwnames,&obj0,&arg2)) goto fail;
27600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27601 {
27602 PyThreadState* __tstate = wxPyBeginAllowThreads();
27603 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
27604
27605 wxPyEndAllowThreads(__tstate);
27606 if (PyErr_Occurred()) SWIG_fail;
27607 }
27608 {
27609#if wxUSE_UNICODE
27610 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27611#else
27612 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27613#endif
27614 }
27615 return resultobj;
27616 fail:
27617 return NULL;
27618}
27619
27620
27621static PyObject *_wrap_MenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
27622 PyObject *resultobj;
27623 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27624 int arg2 ;
27625 wxString *arg3 = 0 ;
423f194a 27626 bool temp3 = False ;
d14a1e28
RD
27627 PyObject * obj0 = 0 ;
27628 PyObject * obj2 = 0 ;
27629 char *kwnames[] = {
0f774bef 27630 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
27631 };
27632
27633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_SetHelpString",kwnames,&obj0,&arg2,&obj2)) goto fail;
27634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27635 {
27636 arg3 = wxString_in_helper(obj2);
27637 if (arg3 == NULL) SWIG_fail;
423f194a 27638 temp3 = True;
d14a1e28
RD
27639 }
27640 {
27641 PyThreadState* __tstate = wxPyBeginAllowThreads();
27642 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
27643
27644 wxPyEndAllowThreads(__tstate);
27645 if (PyErr_Occurred()) SWIG_fail;
27646 }
27647 Py_INCREF(Py_None); resultobj = Py_None;
27648 {
27649 if (temp3)
27650 delete arg3;
27651 }
27652 return resultobj;
27653 fail:
27654 {
27655 if (temp3)
27656 delete arg3;
27657 }
27658 return NULL;
27659}
27660
27661
27662static PyObject *_wrap_MenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
27663 PyObject *resultobj;
27664 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27665 int arg2 ;
27666 wxString result;
27667 PyObject * obj0 = 0 ;
27668 char *kwnames[] = {
0f774bef 27669 (char *) "self",(char *) "id", NULL
d14a1e28
RD
27670 };
27671
27672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_GetHelpString",kwnames,&obj0,&arg2)) goto fail;
27673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27674 {
27675 PyThreadState* __tstate = wxPyBeginAllowThreads();
27676 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
27677
27678 wxPyEndAllowThreads(__tstate);
27679 if (PyErr_Occurred()) SWIG_fail;
27680 }
27681 {
27682#if wxUSE_UNICODE
27683 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27684#else
27685 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27686#endif
27687 }
27688 return resultobj;
27689 fail:
27690 return NULL;
27691}
27692
27693
27694static PyObject *_wrap_MenuBar_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
27695 PyObject *resultobj;
27696 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27697 wxFrame *result;
27698 PyObject * obj0 = 0 ;
27699 char *kwnames[] = {
27700 (char *) "self", NULL
27701 };
27702
27703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
27704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27705 {
27706 PyThreadState* __tstate = wxPyBeginAllowThreads();
27707 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
27708
27709 wxPyEndAllowThreads(__tstate);
27710 if (PyErr_Occurred()) SWIG_fail;
27711 }
27712 {
27713 resultobj = wxPyMake_wxObject(result);
27714 }
27715 return resultobj;
27716 fail:
27717 return NULL;
27718}
27719
27720
27721static PyObject *_wrap_MenuBar_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
27722 PyObject *resultobj;
27723 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27724 bool result;
27725 PyObject * obj0 = 0 ;
27726 char *kwnames[] = {
27727 (char *) "self", NULL
27728 };
27729
27730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
27731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27732 {
27733 PyThreadState* __tstate = wxPyBeginAllowThreads();
27734 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
27735
27736 wxPyEndAllowThreads(__tstate);
27737 if (PyErr_Occurred()) SWIG_fail;
27738 }
27739 resultobj = PyInt_FromLong((long)result);
27740 return resultobj;
27741 fail:
27742 return NULL;
27743}
27744
27745
27746static PyObject *_wrap_MenuBar_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
27747 PyObject *resultobj;
27748 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27749 wxFrame *arg2 = (wxFrame *) 0 ;
27750 PyObject * obj0 = 0 ;
27751 PyObject * obj1 = 0 ;
27752 char *kwnames[] = {
27753 (char *) "self",(char *) "frame", NULL
27754 };
27755
27756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
27757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27758 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27759 {
27760 PyThreadState* __tstate = wxPyBeginAllowThreads();
27761 (arg1)->Attach(arg2);
27762
27763 wxPyEndAllowThreads(__tstate);
27764 if (PyErr_Occurred()) SWIG_fail;
27765 }
27766 Py_INCREF(Py_None); resultobj = Py_None;
27767 return resultobj;
27768 fail:
27769 return NULL;
27770}
27771
27772
27773static PyObject *_wrap_MenuBar_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
27774 PyObject *resultobj;
27775 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27776 PyObject * obj0 = 0 ;
27777 char *kwnames[] = {
27778 (char *) "self", NULL
27779 };
27780
27781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
27782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27783 {
27784 PyThreadState* __tstate = wxPyBeginAllowThreads();
27785 (arg1)->Detach();
27786
27787 wxPyEndAllowThreads(__tstate);
27788 if (PyErr_Occurred()) SWIG_fail;
27789 }
27790 Py_INCREF(Py_None); resultobj = Py_None;
27791 return resultobj;
27792 fail:
27793 return NULL;
27794}
27795
27796
27797static PyObject * MenuBar_swigregister(PyObject *self, PyObject *args) {
27798 PyObject *obj;
27799 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27800 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
27801 Py_INCREF(obj);
27802 return Py_BuildValue((char *)"");
27803}
27804static PyObject *_wrap_new_MenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27805 PyObject *resultobj;
27806 wxMenu *arg1 = (wxMenu *) NULL ;
27807 int arg2 = (int) wxID_SEPARATOR ;
27808 wxString const &arg3_defvalue = wxPyEmptyString ;
27809 wxString *arg3 = (wxString *) &arg3_defvalue ;
27810 wxString const &arg4_defvalue = wxPyEmptyString ;
27811 wxString *arg4 = (wxString *) &arg4_defvalue ;
27812 int arg5 = (int) wxITEM_NORMAL ;
27813 wxMenu *arg6 = (wxMenu *) NULL ;
27814 wxMenuItem *result;
423f194a
RD
27815 bool temp3 = False ;
27816 bool temp4 = False ;
d14a1e28
RD
27817 PyObject * obj0 = 0 ;
27818 PyObject * obj2 = 0 ;
27819 PyObject * obj3 = 0 ;
27820 PyObject * obj5 = 0 ;
27821 char *kwnames[] = {
27822 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
27823 };
27824
27825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OiOOiO:new_MenuItem",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
27826 if (obj0) {
27827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27828 }
27829 if (obj2) {
27830 {
27831 arg3 = wxString_in_helper(obj2);
27832 if (arg3 == NULL) SWIG_fail;
423f194a 27833 temp3 = True;
d14a1e28
RD
27834 }
27835 }
27836 if (obj3) {
27837 {
27838 arg4 = wxString_in_helper(obj3);
27839 if (arg4 == NULL) SWIG_fail;
423f194a 27840 temp4 = True;
d14a1e28
RD
27841 }
27842 }
27843 if (obj5) {
27844 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27845 }
27846 {
27847 PyThreadState* __tstate = wxPyBeginAllowThreads();
27848 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
27849
27850 wxPyEndAllowThreads(__tstate);
27851 if (PyErr_Occurred()) SWIG_fail;
27852 }
27853 {
27854 resultobj = wxPyMake_wxObject(result);
27855 }
27856 {
27857 if (temp3)
27858 delete arg3;
27859 }
27860 {
27861 if (temp4)
27862 delete arg4;
27863 }
27864 return resultobj;
27865 fail:
27866 {
27867 if (temp3)
27868 delete arg3;
27869 }
27870 {
27871 if (temp4)
27872 delete arg4;
27873 }
27874 return NULL;
27875}
27876
27877
27878static PyObject *_wrap_MenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27879 PyObject *resultobj;
27880 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27881 wxMenu *result;
27882 PyObject * obj0 = 0 ;
27883 char *kwnames[] = {
27884 (char *) "self", NULL
27885 };
27886
27887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
27888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27889 {
27890 PyThreadState* __tstate = wxPyBeginAllowThreads();
27891 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
27892
27893 wxPyEndAllowThreads(__tstate);
27894 if (PyErr_Occurred()) SWIG_fail;
27895 }
27896 {
27897 resultobj = wxPyMake_wxObject(result);
27898 }
27899 return resultobj;
27900 fail:
27901 return NULL;
27902}
27903
27904
27905static PyObject *_wrap_MenuItem_SetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27906 PyObject *resultobj;
27907 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27908 wxMenu *arg2 = (wxMenu *) 0 ;
27909 PyObject * obj0 = 0 ;
27910 PyObject * obj1 = 0 ;
27911 char *kwnames[] = {
27912 (char *) "self",(char *) "menu", NULL
27913 };
27914
27915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
27916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27917 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27918 {
27919 PyThreadState* __tstate = wxPyBeginAllowThreads();
27920 (arg1)->SetMenu(arg2);
27921
27922 wxPyEndAllowThreads(__tstate);
27923 if (PyErr_Occurred()) SWIG_fail;
27924 }
27925 Py_INCREF(Py_None); resultobj = Py_None;
27926 return resultobj;
27927 fail:
27928 return NULL;
27929}
27930
27931
27932static PyObject *_wrap_MenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
27933 PyObject *resultobj;
27934 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27935 int arg2 ;
27936 PyObject * obj0 = 0 ;
27937 char *kwnames[] = {
0f774bef 27938 (char *) "self",(char *) "id", NULL
d14a1e28
RD
27939 };
27940
27941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuItem_SetId",kwnames,&obj0,&arg2)) goto fail;
27942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27943 {
27944 PyThreadState* __tstate = wxPyBeginAllowThreads();
27945 (arg1)->SetId(arg2);
27946
27947 wxPyEndAllowThreads(__tstate);
27948 if (PyErr_Occurred()) SWIG_fail;
27949 }
27950 Py_INCREF(Py_None); resultobj = Py_None;
27951 return resultobj;
27952 fail:
27953 return NULL;
27954}
27955
27956
27957static PyObject *_wrap_MenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
27958 PyObject *resultobj;
27959 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27960 int result;
27961 PyObject * obj0 = 0 ;
27962 char *kwnames[] = {
27963 (char *) "self", NULL
27964 };
27965
27966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
27967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27968 {
27969 PyThreadState* __tstate = wxPyBeginAllowThreads();
27970 result = (int)((wxMenuItem const *)arg1)->GetId();
27971
27972 wxPyEndAllowThreads(__tstate);
27973 if (PyErr_Occurred()) SWIG_fail;
27974 }
27975 resultobj = PyInt_FromLong((long)result);
27976 return resultobj;
27977 fail:
27978 return NULL;
27979}
27980
27981
27982static PyObject *_wrap_MenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
27983 PyObject *resultobj;
27984 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27985 bool result;
27986 PyObject * obj0 = 0 ;
27987 char *kwnames[] = {
27988 (char *) "self", NULL
27989 };
27990
27991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
27992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27993 {
27994 PyThreadState* __tstate = wxPyBeginAllowThreads();
27995 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
27996
27997 wxPyEndAllowThreads(__tstate);
27998 if (PyErr_Occurred()) SWIG_fail;
27999 }
28000 resultobj = PyInt_FromLong((long)result);
28001 return resultobj;
28002 fail:
28003 return NULL;
28004}
28005
28006
28007static PyObject *_wrap_MenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
28008 PyObject *resultobj;
28009 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28010 wxString *arg2 = 0 ;
423f194a 28011 bool temp2 = False ;
d14a1e28
RD
28012 PyObject * obj0 = 0 ;
28013 PyObject * obj1 = 0 ;
28014 char *kwnames[] = {
28015 (char *) "self",(char *) "str", NULL
28016 };
28017
28018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
28019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28020 {
28021 arg2 = wxString_in_helper(obj1);
28022 if (arg2 == NULL) SWIG_fail;
423f194a 28023 temp2 = True;
d14a1e28
RD
28024 }
28025 {
28026 PyThreadState* __tstate = wxPyBeginAllowThreads();
28027 (arg1)->SetText((wxString const &)*arg2);
28028
28029 wxPyEndAllowThreads(__tstate);
28030 if (PyErr_Occurred()) SWIG_fail;
28031 }
28032 Py_INCREF(Py_None); resultobj = Py_None;
28033 {
28034 if (temp2)
28035 delete arg2;
28036 }
28037 return resultobj;
28038 fail:
28039 {
28040 if (temp2)
28041 delete arg2;
28042 }
28043 return NULL;
28044}
28045
28046
28047static PyObject *_wrap_MenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28048 PyObject *resultobj;
28049 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28050 wxString result;
28051 PyObject * obj0 = 0 ;
28052 char *kwnames[] = {
28053 (char *) "self", NULL
28054 };
28055
28056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
28057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28058 {
28059 PyThreadState* __tstate = wxPyBeginAllowThreads();
28060 result = ((wxMenuItem const *)arg1)->GetLabel();
28061
28062 wxPyEndAllowThreads(__tstate);
28063 if (PyErr_Occurred()) SWIG_fail;
28064 }
28065 {
28066#if wxUSE_UNICODE
28067 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28068#else
28069 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28070#endif
28071 }
28072 return resultobj;
28073 fail:
28074 return NULL;
28075}
28076
28077
28078static PyObject *_wrap_MenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
28079 PyObject *resultobj;
28080 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28081 wxString *result;
28082 PyObject * obj0 = 0 ;
28083 char *kwnames[] = {
28084 (char *) "self", NULL
28085 };
28086
28087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
28088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28089 {
28090 PyThreadState* __tstate = wxPyBeginAllowThreads();
28091 {
28092 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
28093 result = (wxString *) &_result_ref;
28094 }
28095
28096 wxPyEndAllowThreads(__tstate);
28097 if (PyErr_Occurred()) SWIG_fail;
28098 }
0f774bef
RD
28099 {
28100#if wxUSE_UNICODE
28101 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28102#else
28103 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28104#endif
28105 }
d14a1e28
RD
28106 return resultobj;
28107 fail:
28108 return NULL;
28109}
28110
28111
28112static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
28113 PyObject *resultobj;
28114 wxString *arg1 = 0 ;
28115 wxString result;
423f194a 28116 bool temp1 = False ;
d14a1e28
RD
28117 PyObject * obj0 = 0 ;
28118 char *kwnames[] = {
28119 (char *) "text", NULL
28120 };
28121
28122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
28123 {
28124 arg1 = wxString_in_helper(obj0);
28125 if (arg1 == NULL) SWIG_fail;
423f194a 28126 temp1 = True;
d14a1e28
RD
28127 }
28128 {
28129 PyThreadState* __tstate = wxPyBeginAllowThreads();
28130 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
28131
28132 wxPyEndAllowThreads(__tstate);
28133 if (PyErr_Occurred()) SWIG_fail;
28134 }
28135 {
28136#if wxUSE_UNICODE
28137 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28138#else
28139 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28140#endif
28141 }
28142 {
28143 if (temp1)
28144 delete arg1;
28145 }
28146 return resultobj;
28147 fail:
28148 {
28149 if (temp1)
28150 delete arg1;
28151 }
28152 return NULL;
28153}
28154
28155
28156static PyObject *_wrap_MenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
28157 PyObject *resultobj;
28158 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28159 int result;
28160 PyObject * obj0 = 0 ;
28161 char *kwnames[] = {
28162 (char *) "self", NULL
28163 };
28164
28165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
28166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28167 {
28168 PyThreadState* __tstate = wxPyBeginAllowThreads();
28169 result = (int)((wxMenuItem const *)arg1)->GetKind();
28170
28171 wxPyEndAllowThreads(__tstate);
28172 if (PyErr_Occurred()) SWIG_fail;
28173 }
28174 resultobj = PyInt_FromLong((long)result);
28175 return resultobj;
28176 fail:
28177 return NULL;
28178}
28179
28180
28181static PyObject *_wrap_MenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
28182 PyObject *resultobj;
28183 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28184 bool arg2 ;
28185 PyObject * obj0 = 0 ;
28186 PyObject * obj1 = 0 ;
28187 char *kwnames[] = {
28188 (char *) "self",(char *) "checkable", NULL
28189 };
28190
28191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
28192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28193 arg2 = PyInt_AsLong(obj1) ? true : false;
28194 if (PyErr_Occurred()) SWIG_fail;
28195 {
28196 PyThreadState* __tstate = wxPyBeginAllowThreads();
28197 (arg1)->SetCheckable(arg2);
28198
28199 wxPyEndAllowThreads(__tstate);
28200 if (PyErr_Occurred()) SWIG_fail;
28201 }
28202 Py_INCREF(Py_None); resultobj = Py_None;
28203 return resultobj;
28204 fail:
28205 return NULL;
28206}
28207
28208
28209static PyObject *_wrap_MenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
28210 PyObject *resultobj;
28211 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28212 bool result;
28213 PyObject * obj0 = 0 ;
28214 char *kwnames[] = {
28215 (char *) "self", NULL
28216 };
28217
28218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
28219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28220 {
28221 PyThreadState* __tstate = wxPyBeginAllowThreads();
28222 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
28223
28224 wxPyEndAllowThreads(__tstate);
28225 if (PyErr_Occurred()) SWIG_fail;
28226 }
28227 resultobj = PyInt_FromLong((long)result);
28228 return resultobj;
28229 fail:
28230 return NULL;
28231}
28232
28233
28234static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
28235 PyObject *resultobj;
28236 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28237 bool result;
28238 PyObject * obj0 = 0 ;
28239 char *kwnames[] = {
28240 (char *) "self", NULL
28241 };
28242
28243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
28244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28245 {
28246 PyThreadState* __tstate = wxPyBeginAllowThreads();
28247 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
28248
28249 wxPyEndAllowThreads(__tstate);
28250 if (PyErr_Occurred()) SWIG_fail;
28251 }
28252 resultobj = PyInt_FromLong((long)result);
28253 return resultobj;
28254 fail:
28255 return NULL;
28256}
28257
28258
28259static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
28260 PyObject *resultobj;
28261 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28262 wxMenu *arg2 = (wxMenu *) 0 ;
28263 PyObject * obj0 = 0 ;
28264 PyObject * obj1 = 0 ;
28265 char *kwnames[] = {
28266 (char *) "self",(char *) "menu", NULL
28267 };
28268
28269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
28270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28271 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28272 {
28273 PyThreadState* __tstate = wxPyBeginAllowThreads();
28274 (arg1)->SetSubMenu(arg2);
28275
28276 wxPyEndAllowThreads(__tstate);
28277 if (PyErr_Occurred()) SWIG_fail;
28278 }
28279 Py_INCREF(Py_None); resultobj = Py_None;
28280 return resultobj;
28281 fail:
28282 return NULL;
28283}
28284
28285
28286static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
28287 PyObject *resultobj;
28288 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28289 wxMenu *result;
28290 PyObject * obj0 = 0 ;
28291 char *kwnames[] = {
28292 (char *) "self", NULL
28293 };
28294
28295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
28296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28297 {
28298 PyThreadState* __tstate = wxPyBeginAllowThreads();
28299 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
28300
28301 wxPyEndAllowThreads(__tstate);
28302 if (PyErr_Occurred()) SWIG_fail;
28303 }
28304 {
28305 resultobj = wxPyMake_wxObject(result);
28306 }
28307 return resultobj;
28308 fail:
28309 return NULL;
28310}
28311
28312
28313static PyObject *_wrap_MenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
28314 PyObject *resultobj;
28315 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
423f194a 28316 bool arg2 = (bool) True ;
d14a1e28
RD
28317 PyObject * obj0 = 0 ;
28318 PyObject * obj1 = 0 ;
28319 char *kwnames[] = {
28320 (char *) "self",(char *) "enable", NULL
28321 };
28322
28323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
28324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28325 if (obj1) {
28326 arg2 = PyInt_AsLong(obj1) ? true : false;
28327 if (PyErr_Occurred()) SWIG_fail;
28328 }
28329 {
28330 PyThreadState* __tstate = wxPyBeginAllowThreads();
28331 (arg1)->Enable(arg2);
28332
28333 wxPyEndAllowThreads(__tstate);
28334 if (PyErr_Occurred()) SWIG_fail;
28335 }
28336 Py_INCREF(Py_None); resultobj = Py_None;
28337 return resultobj;
28338 fail:
28339 return NULL;
28340}
28341
28342
28343static PyObject *_wrap_MenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
28344 PyObject *resultobj;
28345 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28346 bool result;
28347 PyObject * obj0 = 0 ;
28348 char *kwnames[] = {
28349 (char *) "self", NULL
28350 };
28351
28352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
28353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28354 {
28355 PyThreadState* __tstate = wxPyBeginAllowThreads();
28356 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
28357
28358 wxPyEndAllowThreads(__tstate);
28359 if (PyErr_Occurred()) SWIG_fail;
28360 }
28361 resultobj = PyInt_FromLong((long)result);
28362 return resultobj;
28363 fail:
28364 return NULL;
28365}
28366
28367
28368static PyObject *_wrap_MenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
28369 PyObject *resultobj;
28370 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
423f194a 28371 bool arg2 = (bool) True ;
d14a1e28
RD
28372 PyObject * obj0 = 0 ;
28373 PyObject * obj1 = 0 ;
28374 char *kwnames[] = {
28375 (char *) "self",(char *) "check", NULL
28376 };
28377
28378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
28379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28380 if (obj1) {
28381 arg2 = PyInt_AsLong(obj1) ? true : false;
28382 if (PyErr_Occurred()) SWIG_fail;
28383 }
28384 {
28385 PyThreadState* __tstate = wxPyBeginAllowThreads();
28386 (arg1)->Check(arg2);
28387
28388 wxPyEndAllowThreads(__tstate);
28389 if (PyErr_Occurred()) SWIG_fail;
28390 }
28391 Py_INCREF(Py_None); resultobj = Py_None;
28392 return resultobj;
28393 fail:
28394 return NULL;
28395}
28396
28397
28398static PyObject *_wrap_MenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
28399 PyObject *resultobj;
28400 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28401 bool result;
28402 PyObject * obj0 = 0 ;
28403 char *kwnames[] = {
28404 (char *) "self", NULL
28405 };
28406
28407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
28408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28409 {
28410 PyThreadState* __tstate = wxPyBeginAllowThreads();
28411 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
28412
28413 wxPyEndAllowThreads(__tstate);
28414 if (PyErr_Occurred()) SWIG_fail;
28415 }
28416 resultobj = PyInt_FromLong((long)result);
28417 return resultobj;
28418 fail:
28419 return NULL;
28420}
28421
28422
28423static PyObject *_wrap_MenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
28424 PyObject *resultobj;
28425 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28426 PyObject * obj0 = 0 ;
28427 char *kwnames[] = {
28428 (char *) "self", NULL
28429 };
28430
28431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
28432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28433 {
28434 PyThreadState* __tstate = wxPyBeginAllowThreads();
28435 (arg1)->Toggle();
28436
28437 wxPyEndAllowThreads(__tstate);
28438 if (PyErr_Occurred()) SWIG_fail;
28439 }
28440 Py_INCREF(Py_None); resultobj = Py_None;
28441 return resultobj;
28442 fail:
28443 return NULL;
28444}
28445
28446
28447static PyObject *_wrap_MenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28448 PyObject *resultobj;
28449 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28450 wxString *arg2 = 0 ;
423f194a 28451 bool temp2 = False ;
d14a1e28
RD
28452 PyObject * obj0 = 0 ;
28453 PyObject * obj1 = 0 ;
28454 char *kwnames[] = {
28455 (char *) "self",(char *) "str", NULL
28456 };
28457
28458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
28459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28460 {
28461 arg2 = wxString_in_helper(obj1);
28462 if (arg2 == NULL) SWIG_fail;
423f194a 28463 temp2 = True;
d14a1e28
RD
28464 }
28465 {
28466 PyThreadState* __tstate = wxPyBeginAllowThreads();
28467 (arg1)->SetHelp((wxString const &)*arg2);
28468
28469 wxPyEndAllowThreads(__tstate);
28470 if (PyErr_Occurred()) SWIG_fail;
28471 }
28472 Py_INCREF(Py_None); resultobj = Py_None;
28473 {
28474 if (temp2)
28475 delete arg2;
28476 }
28477 return resultobj;
28478 fail:
28479 {
28480 if (temp2)
28481 delete arg2;
28482 }
28483 return NULL;
28484}
28485
28486
28487static PyObject *_wrap_MenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28488 PyObject *resultobj;
28489 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28490 wxString *result;
28491 PyObject * obj0 = 0 ;
28492 char *kwnames[] = {
28493 (char *) "self", NULL
28494 };
28495
28496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
28497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28498 {
28499 PyThreadState* __tstate = wxPyBeginAllowThreads();
28500 {
28501 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
28502 result = (wxString *) &_result_ref;
28503 }
28504
28505 wxPyEndAllowThreads(__tstate);
28506 if (PyErr_Occurred()) SWIG_fail;
28507 }
0f774bef
RD
28508 {
28509#if wxUSE_UNICODE
28510 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28511#else
28512 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28513#endif
28514 }
d14a1e28
RD
28515 return resultobj;
28516 fail:
28517 return NULL;
28518}
28519
28520
28521static PyObject *_wrap_MenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
28522 PyObject *resultobj;
28523 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28524 wxAcceleratorEntry *result;
28525 PyObject * obj0 = 0 ;
28526 char *kwnames[] = {
28527 (char *) "self", NULL
28528 };
28529
28530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
28531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28532 {
28533 PyThreadState* __tstate = wxPyBeginAllowThreads();
28534 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
28535
28536 wxPyEndAllowThreads(__tstate);
28537 if (PyErr_Occurred()) SWIG_fail;
28538 }
28539 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 0);
28540 return resultobj;
28541 fail:
28542 return NULL;
28543}
28544
28545
28546static PyObject *_wrap_MenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
28547 PyObject *resultobj;
28548 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28549 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
28550 PyObject * obj0 = 0 ;
28551 PyObject * obj1 = 0 ;
28552 char *kwnames[] = {
28553 (char *) "self",(char *) "accel", NULL
28554 };
28555
28556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
28557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28558 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28559 {
28560 PyThreadState* __tstate = wxPyBeginAllowThreads();
28561 (arg1)->SetAccel(arg2);
28562
28563 wxPyEndAllowThreads(__tstate);
28564 if (PyErr_Occurred()) SWIG_fail;
28565 }
28566 Py_INCREF(Py_None); resultobj = Py_None;
28567 return resultobj;
28568 fail:
28569 return NULL;
28570}
28571
28572
28573static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
28574 PyObject *resultobj;
28575 int result;
28576 char *kwnames[] = {
28577 NULL
28578 };
28579
28580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
28581 {
28582 PyThreadState* __tstate = wxPyBeginAllowThreads();
28583 result = (int)MenuItem_GetDefaultMarginWidth();
28584
28585 wxPyEndAllowThreads(__tstate);
28586 if (PyErr_Occurred()) SWIG_fail;
28587 }
28588 resultobj = PyInt_FromLong((long)result);
28589 return resultobj;
28590 fail:
28591 return NULL;
28592}
28593
28594
28595static PyObject *_wrap_MenuItem_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28596 PyObject *resultobj;
28597 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28598 wxBitmap *arg2 = 0 ;
28599 PyObject * obj0 = 0 ;
28600 PyObject * obj1 = 0 ;
28601 char *kwnames[] = {
28602 (char *) "self",(char *) "bitmap", NULL
28603 };
28604
28605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
28606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28607 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28608 if (arg2 == NULL) {
28609 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28610 }
28611 {
28612 PyThreadState* __tstate = wxPyBeginAllowThreads();
28613 (arg1)->SetBitmap((wxBitmap const &)*arg2);
28614
28615 wxPyEndAllowThreads(__tstate);
28616 if (PyErr_Occurred()) SWIG_fail;
28617 }
28618 Py_INCREF(Py_None); resultobj = Py_None;
28619 return resultobj;
28620 fail:
28621 return NULL;
28622}
28623
28624
28625static PyObject *_wrap_MenuItem_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28626 PyObject *resultobj;
28627 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28628 wxBitmap *result;
28629 PyObject * obj0 = 0 ;
28630 char *kwnames[] = {
28631 (char *) "self", NULL
28632 };
28633
28634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
28635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28636 {
28637 PyThreadState* __tstate = wxPyBeginAllowThreads();
28638 {
28639 wxBitmap const &_result_ref = (arg1)->GetBitmap();
28640 result = (wxBitmap *) &_result_ref;
28641 }
28642
28643 wxPyEndAllowThreads(__tstate);
28644 if (PyErr_Occurred()) SWIG_fail;
28645 }
28646 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
28647 return resultobj;
28648 fail:
28649 return NULL;
28650}
28651
28652
28653static PyObject * MenuItem_swigregister(PyObject *self, PyObject *args) {
28654 PyObject *obj;
28655 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28656 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
28657 Py_INCREF(obj);
28658 return Py_BuildValue((char *)"");
28659}
cbd72d4f
RD
28660static int _wrap_ControlNameStr_set(PyObject *_val) {
28661 PyErr_SetString(PyExc_TypeError,"Variable ControlNameStr is read-only.");
28662 return 1;
28663}
28664
28665
28666static PyObject *_wrap_ControlNameStr_get() {
28667 PyObject *pyobj;
28668
28669 {
28670#if wxUSE_UNICODE
28671 pyobj = PyUnicode_FromWideChar((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
28672#else
28673 pyobj = PyString_FromStringAndSize((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
28674#endif
28675 }
28676 return pyobj;
28677}
28678
28679
d14a1e28
RD
28680static PyObject *_wrap_new_Control(PyObject *self, PyObject *args, PyObject *kwargs) {
28681 PyObject *resultobj;
28682 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 28683 int arg2 ;
d14a1e28
RD
28684 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28685 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28686 wxSize const &arg4_defvalue = wxDefaultSize ;
28687 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28688 long arg5 = (long) 0 ;
28689 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28690 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28691 wxString const &arg7_defvalue = wxPyControlNameStr ;
28692 wxString *arg7 = (wxString *) &arg7_defvalue ;
28693 wxControl *result;
28694 wxPoint temp3 ;
28695 wxSize temp4 ;
423f194a 28696 bool temp7 = False ;
d14a1e28
RD
28697 PyObject * obj0 = 0 ;
28698 PyObject * obj2 = 0 ;
28699 PyObject * obj3 = 0 ;
28700 PyObject * obj5 = 0 ;
28701 PyObject * obj6 = 0 ;
28702 char *kwnames[] = {
28703 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28704 };
28705
28706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_Control",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
28707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28708 if (obj2) {
28709 {
28710 arg3 = &temp3;
28711 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28712 }
28713 }
28714 if (obj3) {
28715 {
28716 arg4 = &temp4;
28717 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28718 }
28719 }
28720 if (obj5) {
28721 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28722 if (arg6 == NULL) {
28723 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28724 }
28725 }
28726 if (obj6) {
28727 {
28728 arg7 = wxString_in_helper(obj6);
28729 if (arg7 == NULL) SWIG_fail;
423f194a 28730 temp7 = True;
d14a1e28
RD
28731 }
28732 }
28733 {
28734 PyThreadState* __tstate = wxPyBeginAllowThreads();
28735 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28736
28737 wxPyEndAllowThreads(__tstate);
28738 if (PyErr_Occurred()) SWIG_fail;
28739 }
28740 {
28741 resultobj = wxPyMake_wxObject(result);
28742 }
28743 {
28744 if (temp7)
28745 delete arg7;
28746 }
28747 return resultobj;
28748 fail:
28749 {
28750 if (temp7)
28751 delete arg7;
28752 }
28753 return NULL;
28754}
28755
28756
28757static PyObject *_wrap_new_PreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
28758 PyObject *resultobj;
28759 wxControl *result;
28760 char *kwnames[] = {
28761 NULL
28762 };
28763
28764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
28765 {
28766 PyThreadState* __tstate = wxPyBeginAllowThreads();
28767 result = (wxControl *)new wxControl();
28768
28769 wxPyEndAllowThreads(__tstate);
28770 if (PyErr_Occurred()) SWIG_fail;
28771 }
28772 {
28773 resultobj = wxPyMake_wxObject(result);
28774 }
28775 return resultobj;
28776 fail:
28777 return NULL;
28778}
28779
28780
28781static PyObject *_wrap_Control_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
28782 PyObject *resultobj;
28783 wxControl *arg1 = (wxControl *) 0 ;
28784 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 28785 int arg3 ;
d14a1e28
RD
28786 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28787 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28788 wxSize const &arg5_defvalue = wxDefaultSize ;
28789 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28790 long arg6 = (long) 0 ;
28791 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28792 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28793 wxString const &arg8_defvalue = wxPyControlNameStr ;
28794 wxString *arg8 = (wxString *) &arg8_defvalue ;
28795 bool result;
28796 wxPoint temp4 ;
28797 wxSize temp5 ;
423f194a 28798 bool temp8 = False ;
d14a1e28
RD
28799 PyObject * obj0 = 0 ;
28800 PyObject * obj1 = 0 ;
28801 PyObject * obj3 = 0 ;
28802 PyObject * obj4 = 0 ;
28803 PyObject * obj6 = 0 ;
28804 PyObject * obj7 = 0 ;
28805 char *kwnames[] = {
28806 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28807 };
28808
28809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlOO:Control_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
28810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28811 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28812 if (obj3) {
28813 {
28814 arg4 = &temp4;
28815 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28816 }
28817 }
28818 if (obj4) {
28819 {
28820 arg5 = &temp5;
28821 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28822 }
28823 }
28824 if (obj6) {
28825 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28826 if (arg7 == NULL) {
28827 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28828 }
28829 }
28830 if (obj7) {
28831 {
28832 arg8 = wxString_in_helper(obj7);
28833 if (arg8 == NULL) SWIG_fail;
423f194a 28834 temp8 = True;
d14a1e28
RD
28835 }
28836 }
28837 {
28838 PyThreadState* __tstate = wxPyBeginAllowThreads();
28839 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28840
28841 wxPyEndAllowThreads(__tstate);
28842 if (PyErr_Occurred()) SWIG_fail;
28843 }
28844 resultobj = PyInt_FromLong((long)result);
28845 {
28846 if (temp8)
28847 delete arg8;
28848 }
28849 return resultobj;
28850 fail:
28851 {
28852 if (temp8)
28853 delete arg8;
28854 }
28855 return NULL;
28856}
28857
28858
28859static PyObject *_wrap_Control_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
28860 PyObject *resultobj;
28861 wxControl *arg1 = (wxControl *) 0 ;
28862 wxCommandEvent *arg2 = 0 ;
28863 PyObject * obj0 = 0 ;
28864 PyObject * obj1 = 0 ;
28865 char *kwnames[] = {
28866 (char *) "self",(char *) "event", NULL
28867 };
28868
28869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
28870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28871 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28872 if (arg2 == NULL) {
28873 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28874 }
28875 {
28876 PyThreadState* __tstate = wxPyBeginAllowThreads();
28877 (arg1)->Command(*arg2);
28878
28879 wxPyEndAllowThreads(__tstate);
28880 if (PyErr_Occurred()) SWIG_fail;
28881 }
28882 Py_INCREF(Py_None); resultobj = Py_None;
28883 return resultobj;
28884 fail:
28885 return NULL;
28886}
28887
28888
28889static PyObject *_wrap_Control_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28890 PyObject *resultobj;
28891 wxControl *arg1 = (wxControl *) 0 ;
28892 wxString result;
28893 PyObject * obj0 = 0 ;
28894 char *kwnames[] = {
28895 (char *) "self", NULL
28896 };
28897
28898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
28899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28900 {
28901 PyThreadState* __tstate = wxPyBeginAllowThreads();
28902 result = (arg1)->GetLabel();
28903
28904 wxPyEndAllowThreads(__tstate);
28905 if (PyErr_Occurred()) SWIG_fail;
28906 }
28907 {
28908#if wxUSE_UNICODE
28909 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28910#else
28911 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28912#endif
28913 }
28914 return resultobj;
28915 fail:
28916 return NULL;
28917}
28918
28919
28920static PyObject *_wrap_Control_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28921 PyObject *resultobj;
28922 wxControl *arg1 = (wxControl *) 0 ;
28923 wxString *arg2 = 0 ;
423f194a 28924 bool temp2 = False ;
d14a1e28
RD
28925 PyObject * obj0 = 0 ;
28926 PyObject * obj1 = 0 ;
28927 char *kwnames[] = {
28928 (char *) "self",(char *) "label", NULL
28929 };
28930
28931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
28932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28933 {
28934 arg2 = wxString_in_helper(obj1);
28935 if (arg2 == NULL) SWIG_fail;
423f194a 28936 temp2 = True;
d14a1e28
RD
28937 }
28938 {
28939 PyThreadState* __tstate = wxPyBeginAllowThreads();
28940 (arg1)->SetLabel((wxString const &)*arg2);
28941
28942 wxPyEndAllowThreads(__tstate);
28943 if (PyErr_Occurred()) SWIG_fail;
28944 }
28945 Py_INCREF(Py_None); resultobj = Py_None;
28946 {
28947 if (temp2)
28948 delete arg2;
28949 }
28950 return resultobj;
28951 fail:
28952 {
28953 if (temp2)
28954 delete arg2;
28955 }
28956 return NULL;
28957}
28958
28959
28960static PyObject * Control_swigregister(PyObject *self, PyObject *args) {
28961 PyObject *obj;
28962 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28963 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
28964 Py_INCREF(obj);
28965 return Py_BuildValue((char *)"");
28966}
28967static PyObject *_wrap_ItemContainer_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
28968 PyObject *resultobj;
28969 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28970 wxString *arg2 = 0 ;
28971 PyObject *arg3 = (PyObject *) NULL ;
28972 int result;
423f194a 28973 bool temp2 = False ;
d14a1e28
RD
28974 PyObject * obj0 = 0 ;
28975 PyObject * obj1 = 0 ;
28976 PyObject * obj2 = 0 ;
28977 char *kwnames[] = {
28978 (char *) "self",(char *) "item",(char *) "clientData", NULL
28979 };
28980
28981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
28982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28983 {
28984 arg2 = wxString_in_helper(obj1);
28985 if (arg2 == NULL) SWIG_fail;
423f194a 28986 temp2 = True;
d14a1e28
RD
28987 }
28988 if (obj2) {
28989 arg3 = obj2;
28990 }
28991 {
28992 PyThreadState* __tstate = wxPyBeginAllowThreads();
28993 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
28994
28995 wxPyEndAllowThreads(__tstate);
28996 if (PyErr_Occurred()) SWIG_fail;
28997 }
28998 resultobj = PyInt_FromLong((long)result);
28999 {
29000 if (temp2)
29001 delete arg2;
29002 }
29003 return resultobj;
29004 fail:
29005 {
29006 if (temp2)
29007 delete arg2;
29008 }
29009 return NULL;
29010}
29011
29012
29013static PyObject *_wrap_ItemContainer_AppendItems(PyObject *self, PyObject *args, PyObject *kwargs) {
29014 PyObject *resultobj;
29015 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29016 wxArrayString *arg2 = 0 ;
29017 PyObject * obj0 = 0 ;
29018 PyObject * obj1 = 0 ;
29019 char *kwnames[] = {
29020 (char *) "self",(char *) "strings", NULL
29021 };
29022
29023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
29024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29025 {
29026 if (! PySequence_Check(obj1)) {
29027 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
29028 SWIG_fail;
29029 }
29030 arg2 = new wxArrayString;
29031 int i, len=PySequence_Length(obj1);
29032 for (i=0; i<len; i++) {
29033 PyObject* item = PySequence_GetItem(obj1, i);
29034#if wxUSE_UNICODE
29035 PyObject* str = PyObject_Unicode(item);
29036#else
29037 PyObject* str = PyObject_Str(item);
29038#endif
29039 arg2->Add(Py2wxString(str));
29040 Py_DECREF(item);
29041 Py_DECREF(str);
29042 }
29043 }
29044 {
29045 PyThreadState* __tstate = wxPyBeginAllowThreads();
29046 (arg1)->Append((wxArrayString const &)*arg2);
29047
29048 wxPyEndAllowThreads(__tstate);
29049 if (PyErr_Occurred()) SWIG_fail;
29050 }
29051 Py_INCREF(Py_None); resultobj = Py_None;
29052 {
29053 if (arg2) delete arg2;
29054 }
29055 return resultobj;
29056 fail:
29057 {
29058 if (arg2) delete arg2;
29059 }
29060 return NULL;
29061}
29062
29063
29064static PyObject *_wrap_ItemContainer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
29065 PyObject *resultobj;
29066 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29067 wxString *arg2 = 0 ;
29068 int arg3 ;
29069 PyObject *arg4 = (PyObject *) NULL ;
29070 int result;
423f194a 29071 bool temp2 = False ;
d14a1e28
RD
29072 PyObject * obj0 = 0 ;
29073 PyObject * obj1 = 0 ;
29074 PyObject * obj3 = 0 ;
29075 char *kwnames[] = {
29076 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
29077 };
29078
29079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
29080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29081 {
29082 arg2 = wxString_in_helper(obj1);
29083 if (arg2 == NULL) SWIG_fail;
423f194a 29084 temp2 = True;
d14a1e28
RD
29085 }
29086 if (obj3) {
29087 arg4 = obj3;
29088 }
29089 {
29090 PyThreadState* __tstate = wxPyBeginAllowThreads();
29091 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
29092
29093 wxPyEndAllowThreads(__tstate);
29094 if (PyErr_Occurred()) SWIG_fail;
29095 }
29096 resultobj = PyInt_FromLong((long)result);
29097 {
29098 if (temp2)
29099 delete arg2;
29100 }
29101 return resultobj;
29102 fail:
29103 {
29104 if (temp2)
29105 delete arg2;
29106 }
29107 return NULL;
29108}
29109
29110
29111static PyObject *_wrap_ItemContainer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
29112 PyObject *resultobj;
29113 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29114 PyObject * obj0 = 0 ;
29115 char *kwnames[] = {
29116 (char *) "self", NULL
29117 };
29118
29119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
29120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29121 {
29122 PyThreadState* __tstate = wxPyBeginAllowThreads();
29123 (arg1)->Clear();
29124
29125 wxPyEndAllowThreads(__tstate);
29126 if (PyErr_Occurred()) SWIG_fail;
29127 }
29128 Py_INCREF(Py_None); resultobj = Py_None;
29129 return resultobj;
29130 fail:
29131 return NULL;
29132}
29133
29134
29135static PyObject *_wrap_ItemContainer_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
29136 PyObject *resultobj;
29137 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29138 int arg2 ;
29139 PyObject * obj0 = 0 ;
29140 char *kwnames[] = {
29141 (char *) "self",(char *) "n", NULL
29142 };
29143
29144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_Delete",kwnames,&obj0,&arg2)) goto fail;
29145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29146 {
29147 PyThreadState* __tstate = wxPyBeginAllowThreads();
29148 (arg1)->Delete(arg2);
29149
29150 wxPyEndAllowThreads(__tstate);
29151 if (PyErr_Occurred()) SWIG_fail;
29152 }
29153 Py_INCREF(Py_None); resultobj = Py_None;
29154 return resultobj;
29155 fail:
29156 return NULL;
29157}
29158
29159
29160static PyObject *_wrap_ItemContainer_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
29161 PyObject *resultobj;
29162 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29163 int result;
29164 PyObject * obj0 = 0 ;
29165 char *kwnames[] = {
29166 (char *) "self", NULL
29167 };
29168
29169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
29170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29171 {
29172 PyThreadState* __tstate = wxPyBeginAllowThreads();
29173 result = (int)((wxItemContainer const *)arg1)->GetCount();
29174
29175 wxPyEndAllowThreads(__tstate);
29176 if (PyErr_Occurred()) SWIG_fail;
29177 }
29178 resultobj = PyInt_FromLong((long)result);
29179 return resultobj;
29180 fail:
29181 return NULL;
29182}
29183
29184
29185static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
29186 PyObject *resultobj;
29187 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29188 bool result;
29189 PyObject * obj0 = 0 ;
29190 char *kwnames[] = {
29191 (char *) "self", NULL
29192 };
29193
29194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
29195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29196 {
29197 PyThreadState* __tstate = wxPyBeginAllowThreads();
29198 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
29199
29200 wxPyEndAllowThreads(__tstate);
29201 if (PyErr_Occurred()) SWIG_fail;
29202 }
29203 resultobj = PyInt_FromLong((long)result);
29204 return resultobj;
29205 fail:
29206 return NULL;
29207}
29208
29209
29210static PyObject *_wrap_ItemContainer_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
29211 PyObject *resultobj;
29212 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29213 int arg2 ;
29214 wxString result;
29215 PyObject * obj0 = 0 ;
29216 char *kwnames[] = {
29217 (char *) "self",(char *) "n", NULL
29218 };
29219
29220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_GetString",kwnames,&obj0,&arg2)) goto fail;
29221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29222 {
29223 PyThreadState* __tstate = wxPyBeginAllowThreads();
29224 result = ((wxItemContainer const *)arg1)->GetString(arg2);
29225
29226 wxPyEndAllowThreads(__tstate);
29227 if (PyErr_Occurred()) SWIG_fail;
29228 }
29229 {
29230#if wxUSE_UNICODE
29231 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29232#else
29233 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29234#endif
29235 }
29236 return resultobj;
29237 fail:
29238 return NULL;
29239}
29240
29241
29242static PyObject *_wrap_ItemContainer_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
29243 PyObject *resultobj;
29244 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29245 wxArrayString result;
29246 PyObject * obj0 = 0 ;
29247 char *kwnames[] = {
29248 (char *) "self", NULL
29249 };
29250
29251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
29252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29253 {
29254 PyThreadState* __tstate = wxPyBeginAllowThreads();
29255 result = ((wxItemContainer const *)arg1)->GetStrings();
29256
29257 wxPyEndAllowThreads(__tstate);
29258 if (PyErr_Occurred()) SWIG_fail;
29259 }
29260 {
29261 resultobj = wxArrayString2PyList_helper(result);
29262 }
29263 return resultobj;
29264 fail:
29265 return NULL;
29266}
29267
29268
29269static PyObject *_wrap_ItemContainer_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
29270 PyObject *resultobj;
29271 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29272 int arg2 ;
29273 wxString *arg3 = 0 ;
423f194a 29274 bool temp3 = False ;
d14a1e28
RD
29275 PyObject * obj0 = 0 ;
29276 PyObject * obj2 = 0 ;
29277 char *kwnames[] = {
29278 (char *) "self",(char *) "n",(char *) "s", NULL
29279 };
29280
29281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ItemContainer_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
29282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29283 {
29284 arg3 = wxString_in_helper(obj2);
29285 if (arg3 == NULL) SWIG_fail;
423f194a 29286 temp3 = True;
d14a1e28
RD
29287 }
29288 {
29289 PyThreadState* __tstate = wxPyBeginAllowThreads();
29290 (arg1)->SetString(arg2,(wxString const &)*arg3);
29291
29292 wxPyEndAllowThreads(__tstate);
29293 if (PyErr_Occurred()) SWIG_fail;
29294 }
29295 Py_INCREF(Py_None); resultobj = Py_None;
29296 {
29297 if (temp3)
29298 delete arg3;
29299 }
29300 return resultobj;
29301 fail:
29302 {
29303 if (temp3)
29304 delete arg3;
29305 }
29306 return NULL;
29307}
29308
29309
29310static PyObject *_wrap_ItemContainer_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
29311 PyObject *resultobj;
29312 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29313 wxString *arg2 = 0 ;
29314 int result;
423f194a 29315 bool temp2 = False ;
d14a1e28
RD
29316 PyObject * obj0 = 0 ;
29317 PyObject * obj1 = 0 ;
29318 char *kwnames[] = {
29319 (char *) "self",(char *) "s", NULL
29320 };
29321
29322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
29323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29324 {
29325 arg2 = wxString_in_helper(obj1);
29326 if (arg2 == NULL) SWIG_fail;
423f194a 29327 temp2 = True;
d14a1e28
RD
29328 }
29329 {
29330 PyThreadState* __tstate = wxPyBeginAllowThreads();
29331 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
29332
29333 wxPyEndAllowThreads(__tstate);
29334 if (PyErr_Occurred()) SWIG_fail;
29335 }
29336 resultobj = PyInt_FromLong((long)result);
29337 {
29338 if (temp2)
29339 delete arg2;
29340 }
29341 return resultobj;
29342 fail:
29343 {
29344 if (temp2)
29345 delete arg2;
29346 }
29347 return NULL;
29348}
29349
29350
29351static PyObject *_wrap_ItemContainer_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
29352 PyObject *resultobj;
29353 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29354 int arg2 ;
29355 PyObject * obj0 = 0 ;
29356 char *kwnames[] = {
29357 (char *) "self",(char *) "n", NULL
29358 };
29359
29360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_Select",kwnames,&obj0,&arg2)) goto fail;
29361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29362 {
29363 PyThreadState* __tstate = wxPyBeginAllowThreads();
29364 (arg1)->Select(arg2);
29365
29366 wxPyEndAllowThreads(__tstate);
29367 if (PyErr_Occurred()) SWIG_fail;
29368 }
29369 Py_INCREF(Py_None); resultobj = Py_None;
29370 return resultobj;
29371 fail:
29372 return NULL;
29373}
29374
29375
29376static PyObject *_wrap_ItemContainer_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
29377 PyObject *resultobj;
29378 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29379 int result;
29380 PyObject * obj0 = 0 ;
29381 char *kwnames[] = {
29382 (char *) "self", NULL
29383 };
29384
29385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
29386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29387 {
29388 PyThreadState* __tstate = wxPyBeginAllowThreads();
29389 result = (int)((wxItemContainer const *)arg1)->GetSelection();
29390
29391 wxPyEndAllowThreads(__tstate);
29392 if (PyErr_Occurred()) SWIG_fail;
29393 }
29394 resultobj = PyInt_FromLong((long)result);
29395 return resultobj;
29396 fail:
29397 return NULL;
29398}
29399
29400
29401static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
29402 PyObject *resultobj;
29403 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29404 wxString result;
29405 PyObject * obj0 = 0 ;
29406 char *kwnames[] = {
29407 (char *) "self", NULL
29408 };
29409
29410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
29411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29412 {
29413 PyThreadState* __tstate = wxPyBeginAllowThreads();
29414 result = ((wxItemContainer const *)arg1)->GetStringSelection();
29415
29416 wxPyEndAllowThreads(__tstate);
29417 if (PyErr_Occurred()) SWIG_fail;
29418 }
29419 {
29420#if wxUSE_UNICODE
29421 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29422#else
29423 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29424#endif
29425 }
29426 return resultobj;
29427 fail:
29428 return NULL;
29429}
29430
29431
29432static PyObject *_wrap_ItemContainer_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
29433 PyObject *resultobj;
29434 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29435 int arg2 ;
29436 PyObject *result;
29437 PyObject * obj0 = 0 ;
29438 char *kwnames[] = {
29439 (char *) "self",(char *) "n", NULL
29440 };
29441
29442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_GetClientData",kwnames,&obj0,&arg2)) goto fail;
29443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29444 {
29445 PyThreadState* __tstate = wxPyBeginAllowThreads();
29446 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
29447
29448 wxPyEndAllowThreads(__tstate);
29449 if (PyErr_Occurred()) SWIG_fail;
29450 }
29451 resultobj = result;
29452 return resultobj;
29453 fail:
29454 return NULL;
29455}
29456
29457
29458static PyObject *_wrap_ItemContainer_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
29459 PyObject *resultobj;
29460 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29461 int arg2 ;
29462 PyObject *arg3 = (PyObject *) 0 ;
29463 PyObject * obj0 = 0 ;
29464 PyObject * obj2 = 0 ;
29465 char *kwnames[] = {
29466 (char *) "self",(char *) "n",(char *) "clientData", NULL
29467 };
29468
29469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ItemContainer_SetClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
29470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29471 arg3 = obj2;
29472 {
29473 PyThreadState* __tstate = wxPyBeginAllowThreads();
29474 wxItemContainer_SetClientData(arg1,arg2,arg3);
29475
29476 wxPyEndAllowThreads(__tstate);
29477 if (PyErr_Occurred()) SWIG_fail;
29478 }
29479 Py_INCREF(Py_None); resultobj = Py_None;
29480 return resultobj;
29481 fail:
29482 return NULL;
29483}
29484
29485
29486static PyObject * ItemContainer_swigregister(PyObject *self, PyObject *args) {
29487 PyObject *obj;
29488 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29489 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
29490 Py_INCREF(obj);
29491 return Py_BuildValue((char *)"");
29492}
29493static PyObject * ControlWithItems_swigregister(PyObject *self, PyObject *args) {
29494 PyObject *obj;
29495 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29496 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
29497 Py_INCREF(obj);
29498 return Py_BuildValue((char *)"");
29499}
29500static PyObject *_wrap_new_SizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29501 PyObject *resultobj;
29502 wxSizerItem *result;
29503 char *kwnames[] = {
29504 NULL
29505 };
29506
29507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
29508 {
29509 PyThreadState* __tstate = wxPyBeginAllowThreads();
29510 result = (wxSizerItem *)new wxSizerItem();
29511
29512 wxPyEndAllowThreads(__tstate);
29513 if (PyErr_Occurred()) SWIG_fail;
29514 }
29515 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29516 return resultobj;
29517 fail:
29518 return NULL;
29519}
29520
29521
29522static PyObject *_wrap_new_SizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
29523 PyObject *resultobj;
29524 int arg1 ;
29525 int arg2 ;
29526 int arg3 ;
29527 int arg4 ;
29528 int arg5 ;
29529 wxObject *arg6 = (wxObject *) 0 ;
29530 wxSizerItem *result;
29531 PyObject * obj5 = 0 ;
29532 char *kwnames[] = {
29533 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29534 };
29535
29536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiiiiO:new_SizerItemSpacer",kwnames,&arg1,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
29537 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29538 {
29539 PyThreadState* __tstate = wxPyBeginAllowThreads();
29540 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
29541
29542 wxPyEndAllowThreads(__tstate);
29543 if (PyErr_Occurred()) SWIG_fail;
29544 }
29545 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29546 return resultobj;
29547 fail:
29548 return NULL;
29549}
29550
29551
29552static PyObject *_wrap_new_SizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29553 PyObject *resultobj;
29554 wxWindow *arg1 = (wxWindow *) 0 ;
29555 int arg2 ;
29556 int arg3 ;
29557 int arg4 ;
29558 wxObject *arg5 = (wxObject *) 0 ;
29559 wxSizerItem *result;
29560 PyObject * obj0 = 0 ;
29561 PyObject * obj4 = 0 ;
29562 char *kwnames[] = {
29563 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29564 };
29565
29566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiiO:new_SizerItemWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
29567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29568 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29569 {
29570 PyThreadState* __tstate = wxPyBeginAllowThreads();
29571 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
29572
29573 wxPyEndAllowThreads(__tstate);
29574 if (PyErr_Occurred()) SWIG_fail;
29575 }
29576 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29577 return resultobj;
29578 fail:
29579 return NULL;
29580}
29581
29582
29583static PyObject *_wrap_new_SizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29584 PyObject *resultobj;
29585 wxSizer *arg1 = (wxSizer *) 0 ;
29586 int arg2 ;
29587 int arg3 ;
29588 int arg4 ;
29589 wxObject *arg5 = (wxObject *) 0 ;
29590 wxSizerItem *result;
29591 PyObject * obj0 = 0 ;
29592 PyObject * obj4 = 0 ;
29593 char *kwnames[] = {
29594 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29595 };
29596
29597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiiO:new_SizerItemSizer",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
29598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29599 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29600 {
29601 PyThreadState* __tstate = wxPyBeginAllowThreads();
29602 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
29603
29604 wxPyEndAllowThreads(__tstate);
29605 if (PyErr_Occurred()) SWIG_fail;
29606 }
29607 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29608 return resultobj;
29609 fail:
29610 return NULL;
29611}
29612
29613
29614static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
29615 PyObject *resultobj;
29616 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29617 PyObject * obj0 = 0 ;
29618 char *kwnames[] = {
29619 (char *) "self", NULL
29620 };
29621
29622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
29623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29624 {
29625 PyThreadState* __tstate = wxPyBeginAllowThreads();
29626 (arg1)->DeleteWindows();
29627
29628 wxPyEndAllowThreads(__tstate);
29629 if (PyErr_Occurred()) SWIG_fail;
29630 }
29631 Py_INCREF(Py_None); resultobj = Py_None;
29632 return resultobj;
29633 fail:
29634 return NULL;
29635}
29636
29637
29638static PyObject *_wrap_SizerItem_DetachSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29639 PyObject *resultobj;
29640 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29641 PyObject * obj0 = 0 ;
29642 char *kwnames[] = {
29643 (char *) "self", NULL
29644 };
29645
29646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
29647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29648 {
29649 PyThreadState* __tstate = wxPyBeginAllowThreads();
29650 (arg1)->DetachSizer();
29651
29652 wxPyEndAllowThreads(__tstate);
29653 if (PyErr_Occurred()) SWIG_fail;
29654 }
29655 Py_INCREF(Py_None); resultobj = Py_None;
29656 return resultobj;
29657 fail:
29658 return NULL;
29659}
29660
29661
29662static PyObject *_wrap_SizerItem_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29663 PyObject *resultobj;
29664 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29665 wxSize result;
29666 PyObject * obj0 = 0 ;
29667 char *kwnames[] = {
29668 (char *) "self", NULL
29669 };
29670
29671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
29672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29673 {
29674 PyThreadState* __tstate = wxPyBeginAllowThreads();
29675 result = (arg1)->GetSize();
29676
29677 wxPyEndAllowThreads(__tstate);
29678 if (PyErr_Occurred()) SWIG_fail;
29679 }
29680 {
29681 wxSize * resultptr;
29682 resultptr = new wxSize((wxSize &) result);
29683 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
29684 }
29685 return resultobj;
29686 fail:
29687 return NULL;
29688}
29689
29690
29691static PyObject *_wrap_SizerItem_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
29692 PyObject *resultobj;
29693 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29694 wxSize result;
29695 PyObject * obj0 = 0 ;
29696 char *kwnames[] = {
29697 (char *) "self", NULL
29698 };
29699
29700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
29701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29702 {
29703 PyThreadState* __tstate = wxPyBeginAllowThreads();
29704 result = (arg1)->CalcMin();
29705
29706 wxPyEndAllowThreads(__tstate);
29707 if (PyErr_Occurred()) SWIG_fail;
29708 }
29709 {
29710 wxSize * resultptr;
29711 resultptr = new wxSize((wxSize &) result);
29712 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
29713 }
29714 return resultobj;
29715 fail:
29716 return NULL;
29717}
29718
29719
29720static PyObject *_wrap_SizerItem_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
29721 PyObject *resultobj;
29722 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29723 wxPoint arg2 ;
29724 wxSize arg3 ;
29725 wxPoint *argp2 ;
29726 wxSize *argp3 ;
29727 PyObject * obj0 = 0 ;
29728 PyObject * obj1 = 0 ;
29729 PyObject * obj2 = 0 ;
29730 char *kwnames[] = {
29731 (char *) "self",(char *) "pos",(char *) "size", NULL
29732 };
29733
29734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
29735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29736 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29737 arg2 = *argp2;
29738 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29739 arg3 = *argp3;
29740 {
29741 PyThreadState* __tstate = wxPyBeginAllowThreads();
29742 (arg1)->SetDimension(arg2,arg3);
29743
29744 wxPyEndAllowThreads(__tstate);
29745 if (PyErr_Occurred()) SWIG_fail;
29746 }
29747 Py_INCREF(Py_None); resultobj = Py_None;
29748 return resultobj;
29749 fail:
29750 return NULL;
29751}
29752
29753
29754static PyObject *_wrap_SizerItem_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29755 PyObject *resultobj;
29756 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29757 wxSize result;
29758 PyObject * obj0 = 0 ;
29759 char *kwnames[] = {
29760 (char *) "self", NULL
29761 };
29762
29763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail;
29764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29765 {
29766 PyThreadState* __tstate = wxPyBeginAllowThreads();
29767 result = (arg1)->GetMinSize();
29768
29769 wxPyEndAllowThreads(__tstate);
29770 if (PyErr_Occurred()) SWIG_fail;
29771 }
29772 {
29773 wxSize * resultptr;
29774 resultptr = new wxSize((wxSize &) result);
29775 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
29776 }
29777 return resultobj;
29778 fail:
29779 return NULL;
29780}
29781
29782
29783static PyObject *_wrap_SizerItem_SetInitSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29784 PyObject *resultobj;
29785 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29786 int arg2 ;
29787 int arg3 ;
29788 PyObject * obj0 = 0 ;
29789 char *kwnames[] = {
29790 (char *) "self",(char *) "x",(char *) "y", NULL
29791 };
29792
29793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SizerItem_SetInitSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
29794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29795 {
29796 PyThreadState* __tstate = wxPyBeginAllowThreads();
29797 (arg1)->SetInitSize(arg2,arg3);
29798
29799 wxPyEndAllowThreads(__tstate);
29800 if (PyErr_Occurred()) SWIG_fail;
29801 }
29802 Py_INCREF(Py_None); resultobj = Py_None;
29803 return resultobj;
29804 fail:
29805 return NULL;
29806}
29807
29808
29809static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *self, PyObject *args, PyObject *kwargs) {
29810 PyObject *resultobj;
29811 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29812 int arg2 ;
29813 int arg3 ;
29814 PyObject * obj0 = 0 ;
29815 char *kwnames[] = {
29816 (char *) "self",(char *) "width",(char *) "height", NULL
29817 };
29818
29819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SizerItem_SetRatioWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
29820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29821 {
29822 PyThreadState* __tstate = wxPyBeginAllowThreads();
29823 (arg1)->SetRatio(arg2,arg3);
29824
29825 wxPyEndAllowThreads(__tstate);
29826 if (PyErr_Occurred()) SWIG_fail;
29827 }
29828 Py_INCREF(Py_None); resultobj = Py_None;
29829 return resultobj;
29830 fail:
29831 return NULL;
29832}
29833
29834
29835static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29836 PyObject *resultobj;
29837 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29838 wxSize arg2 ;
29839 wxSize *argp2 ;
29840 PyObject * obj0 = 0 ;
29841 PyObject * obj1 = 0 ;
29842 char *kwnames[] = {
29843 (char *) "self",(char *) "size", NULL
29844 };
29845
29846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
29847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29848 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29849 arg2 = *argp2;
29850 {
29851 PyThreadState* __tstate = wxPyBeginAllowThreads();
29852 (arg1)->SetRatio(arg2);
29853
29854 wxPyEndAllowThreads(__tstate);
29855 if (PyErr_Occurred()) SWIG_fail;
29856 }
29857 Py_INCREF(Py_None); resultobj = Py_None;
29858 return resultobj;
29859 fail:
29860 return NULL;
29861}
29862
29863
29864static PyObject *_wrap_SizerItem_SetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
29865 PyObject *resultobj;
29866 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29867 float arg2 ;
29868 PyObject * obj0 = 0 ;
29869 char *kwnames[] = {
29870 (char *) "self",(char *) "ratio", NULL
29871 };
29872
29873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Of:SizerItem_SetRatio",kwnames,&obj0,&arg2)) goto fail;
29874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29875 {
29876 PyThreadState* __tstate = wxPyBeginAllowThreads();
29877 (arg1)->SetRatio(arg2);
29878
29879 wxPyEndAllowThreads(__tstate);
29880 if (PyErr_Occurred()) SWIG_fail;
29881 }
29882 Py_INCREF(Py_None); resultobj = Py_None;
29883 return resultobj;
29884 fail:
29885 return NULL;
29886}
29887
29888
29889static PyObject *_wrap_SizerItem_GetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
29890 PyObject *resultobj;
29891 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29892 float result;
29893 PyObject * obj0 = 0 ;
29894 char *kwnames[] = {
29895 (char *) "self", NULL
29896 };
29897
29898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
29899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29900 {
29901 PyThreadState* __tstate = wxPyBeginAllowThreads();
29902 result = (float)(arg1)->GetRatio();
29903
29904 wxPyEndAllowThreads(__tstate);
29905 if (PyErr_Occurred()) SWIG_fail;
29906 }
29907 resultobj = PyFloat_FromDouble(result);
29908 return resultobj;
29909 fail:
29910 return NULL;
29911}
29912
29913
29914static PyObject *_wrap_SizerItem_IsWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29915 PyObject *resultobj;
29916 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29917 bool result;
29918 PyObject * obj0 = 0 ;
29919 char *kwnames[] = {
29920 (char *) "self", NULL
29921 };
29922
29923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
29924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29925 {
29926 PyThreadState* __tstate = wxPyBeginAllowThreads();
29927 result = (bool)(arg1)->IsWindow();
29928
29929 wxPyEndAllowThreads(__tstate);
29930 if (PyErr_Occurred()) SWIG_fail;
29931 }
29932 resultobj = PyInt_FromLong((long)result);
29933 return resultobj;
29934 fail:
29935 return NULL;
29936}
29937
29938
29939static PyObject *_wrap_SizerItem_IsSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29940 PyObject *resultobj;
29941 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29942 bool result;
29943 PyObject * obj0 = 0 ;
29944 char *kwnames[] = {
29945 (char *) "self", NULL
29946 };
29947
29948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
29949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29950 {
29951 PyThreadState* __tstate = wxPyBeginAllowThreads();
29952 result = (bool)(arg1)->IsSizer();
29953
29954 wxPyEndAllowThreads(__tstate);
29955 if (PyErr_Occurred()) SWIG_fail;
29956 }
29957 resultobj = PyInt_FromLong((long)result);
29958 return resultobj;
29959 fail:
29960 return NULL;
29961}
29962
29963
29964static PyObject *_wrap_SizerItem_IsSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
29965 PyObject *resultobj;
29966 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29967 bool result;
29968 PyObject * obj0 = 0 ;
29969 char *kwnames[] = {
29970 (char *) "self", NULL
29971 };
29972
29973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
29974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29975 {
29976 PyThreadState* __tstate = wxPyBeginAllowThreads();
29977 result = (bool)(arg1)->IsSpacer();
29978
29979 wxPyEndAllowThreads(__tstate);
29980 if (PyErr_Occurred()) SWIG_fail;
29981 }
29982 resultobj = PyInt_FromLong((long)result);
29983 return resultobj;
29984 fail:
29985 return NULL;
29986}
29987
29988
29989static PyObject *_wrap_SizerItem_SetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
29990 PyObject *resultobj;
29991 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29992 int arg2 ;
29993 PyObject * obj0 = 0 ;
29994 char *kwnames[] = {
29995 (char *) "self",(char *) "proportion", NULL
29996 };
29997
29998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SizerItem_SetProportion",kwnames,&obj0,&arg2)) goto fail;
29999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30000 {
30001 PyThreadState* __tstate = wxPyBeginAllowThreads();
30002 (arg1)->SetProportion(arg2);
30003
30004 wxPyEndAllowThreads(__tstate);
30005 if (PyErr_Occurred()) SWIG_fail;
30006 }
30007 Py_INCREF(Py_None); resultobj = Py_None;
30008 return resultobj;
30009 fail:
30010 return NULL;
30011}
30012
30013
30014static PyObject *_wrap_SizerItem_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
30015 PyObject *resultobj;
30016 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30017 int result;
30018 PyObject * obj0 = 0 ;
30019 char *kwnames[] = {
30020 (char *) "self", NULL
30021 };
30022
30023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
30024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30025 {
30026 PyThreadState* __tstate = wxPyBeginAllowThreads();
30027 result = (int)(arg1)->GetProportion();
30028
30029 wxPyEndAllowThreads(__tstate);
30030 if (PyErr_Occurred()) SWIG_fail;
30031 }
30032 resultobj = PyInt_FromLong((long)result);
30033 return resultobj;
30034 fail:
30035 return NULL;
30036}
30037
30038
30039static PyObject *_wrap_SizerItem_SetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
30040 PyObject *resultobj;
30041 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30042 int arg2 ;
30043 PyObject * obj0 = 0 ;
30044 char *kwnames[] = {
30045 (char *) "self",(char *) "flag", NULL
30046 };
30047
30048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SizerItem_SetFlag",kwnames,&obj0,&arg2)) goto fail;
30049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30050 {
30051 PyThreadState* __tstate = wxPyBeginAllowThreads();
30052 (arg1)->SetFlag(arg2);
30053
30054 wxPyEndAllowThreads(__tstate);
30055 if (PyErr_Occurred()) SWIG_fail;
30056 }
30057 Py_INCREF(Py_None); resultobj = Py_None;
30058 return resultobj;
30059 fail:
30060 return NULL;
30061}
30062
30063
30064static PyObject *_wrap_SizerItem_GetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
30065 PyObject *resultobj;
30066 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30067 int result;
30068 PyObject * obj0 = 0 ;
30069 char *kwnames[] = {
30070 (char *) "self", NULL
30071 };
30072
30073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
30074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30075 {
30076 PyThreadState* __tstate = wxPyBeginAllowThreads();
30077 result = (int)(arg1)->GetFlag();
30078
30079 wxPyEndAllowThreads(__tstate);
30080 if (PyErr_Occurred()) SWIG_fail;
30081 }
30082 resultobj = PyInt_FromLong((long)result);
30083 return resultobj;
30084 fail:
30085 return NULL;
30086}
30087
30088
30089static PyObject *_wrap_SizerItem_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
30090 PyObject *resultobj;
30091 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30092 int arg2 ;
30093 PyObject * obj0 = 0 ;
30094 char *kwnames[] = {
30095 (char *) "self",(char *) "border", NULL
30096 };
30097
30098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SizerItem_SetBorder",kwnames,&obj0,&arg2)) goto fail;
30099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30100 {
30101 PyThreadState* __tstate = wxPyBeginAllowThreads();
30102 (arg1)->SetBorder(arg2);
30103
30104 wxPyEndAllowThreads(__tstate);
30105 if (PyErr_Occurred()) SWIG_fail;
30106 }
30107 Py_INCREF(Py_None); resultobj = Py_None;
30108 return resultobj;
30109 fail:
30110 return NULL;
30111}
30112
30113
30114static PyObject *_wrap_SizerItem_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
30115 PyObject *resultobj;
30116 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30117 int result;
30118 PyObject * obj0 = 0 ;
30119 char *kwnames[] = {
30120 (char *) "self", NULL
30121 };
30122
30123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
30124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30125 {
30126 PyThreadState* __tstate = wxPyBeginAllowThreads();
30127 result = (int)(arg1)->GetBorder();
30128
30129 wxPyEndAllowThreads(__tstate);
30130 if (PyErr_Occurred()) SWIG_fail;
30131 }
30132 resultobj = PyInt_FromLong((long)result);
30133 return resultobj;
30134 fail:
30135 return NULL;
30136}
30137
30138
30139static PyObject *_wrap_SizerItem_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30140 PyObject *resultobj;
30141 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30142 wxWindow *result;
30143 PyObject * obj0 = 0 ;
30144 char *kwnames[] = {
30145 (char *) "self", NULL
30146 };
30147
30148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
30149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30150 {
30151 PyThreadState* __tstate = wxPyBeginAllowThreads();
30152 result = (wxWindow *)(arg1)->GetWindow();
30153
30154 wxPyEndAllowThreads(__tstate);
30155 if (PyErr_Occurred()) SWIG_fail;
30156 }
30157 {
30158 resultobj = wxPyMake_wxObject(result);
30159 }
30160 return resultobj;
30161 fail:
30162 return NULL;
30163}
30164
30165
30166static PyObject *_wrap_SizerItem_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30167 PyObject *resultobj;
30168 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30169 wxWindow *arg2 = (wxWindow *) 0 ;
30170 PyObject * obj0 = 0 ;
30171 PyObject * obj1 = 0 ;
30172 char *kwnames[] = {
30173 (char *) "self",(char *) "window", NULL
30174 };
30175
30176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
30177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30178 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30179 {
30180 PyThreadState* __tstate = wxPyBeginAllowThreads();
30181 (arg1)->SetWindow(arg2);
30182
30183 wxPyEndAllowThreads(__tstate);
30184 if (PyErr_Occurred()) SWIG_fail;
30185 }
30186 Py_INCREF(Py_None); resultobj = Py_None;
30187 return resultobj;
30188 fail:
30189 return NULL;
30190}
30191
30192
30193static PyObject *_wrap_SizerItem_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
30194 PyObject *resultobj;
30195 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30196 wxSizer *result;
30197 PyObject * obj0 = 0 ;
30198 char *kwnames[] = {
30199 (char *) "self", NULL
30200 };
30201
30202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
30203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30204 {
30205 PyThreadState* __tstate = wxPyBeginAllowThreads();
30206 result = (wxSizer *)(arg1)->GetSizer();
30207
30208 wxPyEndAllowThreads(__tstate);
30209 if (PyErr_Occurred()) SWIG_fail;
30210 }
30211 {
30212 resultobj = wxPyMake_wxSizer(result);
30213 }
30214 return resultobj;
30215 fail:
30216 return NULL;
30217}
30218
30219
30220static PyObject *_wrap_SizerItem_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
30221 PyObject *resultobj;
30222 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30223 wxSizer *arg2 = (wxSizer *) 0 ;
30224 PyObject * obj0 = 0 ;
30225 PyObject * obj1 = 0 ;
30226 char *kwnames[] = {
30227 (char *) "self",(char *) "sizer", NULL
30228 };
30229
30230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
30231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30232 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30233 {
30234 PyThreadState* __tstate = wxPyBeginAllowThreads();
30235 (arg1)->SetSizer(arg2);
30236
30237 wxPyEndAllowThreads(__tstate);
30238 if (PyErr_Occurred()) SWIG_fail;
30239 }
30240 Py_INCREF(Py_None); resultobj = Py_None;
30241 return resultobj;
30242 fail:
30243 return NULL;
30244}
30245
30246
30247static PyObject *_wrap_SizerItem_GetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
30248 PyObject *resultobj;
30249 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30250 wxSize *result;
30251 PyObject * obj0 = 0 ;
30252 char *kwnames[] = {
30253 (char *) "self", NULL
30254 };
30255
30256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
30257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30258 {
30259 PyThreadState* __tstate = wxPyBeginAllowThreads();
30260 {
30261 wxSize const &_result_ref = (arg1)->GetSpacer();
30262 result = (wxSize *) &_result_ref;
30263 }
30264
30265 wxPyEndAllowThreads(__tstate);
30266 if (PyErr_Occurred()) SWIG_fail;
30267 }
30268 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
30269 return resultobj;
30270 fail:
30271 return NULL;
30272}
30273
30274
30275static PyObject *_wrap_SizerItem_SetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
30276 PyObject *resultobj;
30277 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30278 wxSize *arg2 = 0 ;
30279 wxSize temp2 ;
30280 PyObject * obj0 = 0 ;
30281 PyObject * obj1 = 0 ;
30282 char *kwnames[] = {
30283 (char *) "self",(char *) "size", NULL
30284 };
30285
30286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
30287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30288 {
30289 arg2 = &temp2;
30290 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
30291 }
30292 {
30293 PyThreadState* __tstate = wxPyBeginAllowThreads();
30294 (arg1)->SetSpacer((wxSize const &)*arg2);
30295
30296 wxPyEndAllowThreads(__tstate);
30297 if (PyErr_Occurred()) SWIG_fail;
30298 }
30299 Py_INCREF(Py_None); resultobj = Py_None;
30300 return resultobj;
30301 fail:
30302 return NULL;
30303}
30304
30305
30306static PyObject *_wrap_SizerItem_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
30307 PyObject *resultobj;
30308 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30309 bool arg2 ;
30310 PyObject * obj0 = 0 ;
30311 PyObject * obj1 = 0 ;
30312 char *kwnames[] = {
30313 (char *) "self",(char *) "show", NULL
30314 };
30315
30316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
30317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30318 arg2 = PyInt_AsLong(obj1) ? true : false;
30319 if (PyErr_Occurred()) SWIG_fail;
30320 {
30321 PyThreadState* __tstate = wxPyBeginAllowThreads();
30322 (arg1)->Show(arg2);
30323
30324 wxPyEndAllowThreads(__tstate);
30325 if (PyErr_Occurred()) SWIG_fail;
30326 }
30327 Py_INCREF(Py_None); resultobj = Py_None;
30328 return resultobj;
30329 fail:
30330 return NULL;
30331}
30332
30333
30334static PyObject *_wrap_SizerItem_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
30335 PyObject *resultobj;
30336 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30337 bool result;
30338 PyObject * obj0 = 0 ;
30339 char *kwnames[] = {
30340 (char *) "self", NULL
30341 };
30342
30343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
30344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30345 {
30346 PyThreadState* __tstate = wxPyBeginAllowThreads();
30347 result = (bool)(arg1)->IsShown();
30348
30349 wxPyEndAllowThreads(__tstate);
30350 if (PyErr_Occurred()) SWIG_fail;
30351 }
30352 resultobj = PyInt_FromLong((long)result);
30353 return resultobj;
30354 fail:
30355 return NULL;
30356}
30357
30358
30359static PyObject *_wrap_SizerItem_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
30360 PyObject *resultobj;
30361 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30362 wxPoint result;
30363 PyObject * obj0 = 0 ;
30364 char *kwnames[] = {
30365 (char *) "self", NULL
30366 };
30367
30368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
30369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30370 {
30371 PyThreadState* __tstate = wxPyBeginAllowThreads();
30372 result = (arg1)->GetPosition();
30373
30374 wxPyEndAllowThreads(__tstate);
30375 if (PyErr_Occurred()) SWIG_fail;
30376 }
30377 {
30378 wxPoint * resultptr;
30379 resultptr = new wxPoint((wxPoint &) result);
30380 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
30381 }
30382 return resultobj;
30383 fail:
30384 return NULL;
30385}
30386
30387
30388static PyObject *_wrap_SizerItem_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
30389 PyObject *resultobj;
30390 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30391 PyObject *result;
30392 PyObject * obj0 = 0 ;
30393 char *kwnames[] = {
30394 (char *) "self", NULL
30395 };
30396
30397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
30398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30399 {
30400 PyThreadState* __tstate = wxPyBeginAllowThreads();
30401 result = (PyObject *)wxSizerItem_GetUserData(arg1);
30402
30403 wxPyEndAllowThreads(__tstate);
30404 if (PyErr_Occurred()) SWIG_fail;
30405 }
30406 resultobj = result;
30407 return resultobj;
30408 fail:
30409 return NULL;
30410}
30411
30412
30413static PyObject * SizerItem_swigregister(PyObject *self, PyObject *args) {
30414 PyObject *obj;
30415 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30416 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
30417 Py_INCREF(obj);
30418 return Py_BuildValue((char *)"");
30419}
30420static PyObject *_wrap_Sizer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
30421 PyObject *resultobj;
30422 wxSizer *arg1 = (wxSizer *) 0 ;
30423 PyObject *arg2 = (PyObject *) 0 ;
30424 PyObject * obj0 = 0 ;
30425 PyObject * obj1 = 0 ;
30426 char *kwnames[] = {
30427 (char *) "self",(char *) "_self", NULL
30428 };
30429
30430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
30431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30432 arg2 = obj1;
30433 {
30434 PyThreadState* __tstate = wxPyBeginAllowThreads();
30435 wxSizer__setOORInfo(arg1,arg2);
30436
30437 wxPyEndAllowThreads(__tstate);
30438 if (PyErr_Occurred()) SWIG_fail;
30439 }
30440 Py_INCREF(Py_None); resultobj = Py_None;
30441 return resultobj;
30442 fail:
30443 return NULL;
30444}
30445
30446
30447static PyObject *_wrap_Sizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
30448 PyObject *resultobj;
30449 wxSizer *arg1 = (wxSizer *) 0 ;
30450 PyObject *arg2 = (PyObject *) 0 ;
30451 int arg3 = (int) 0 ;
30452 int arg4 = (int) 0 ;
30453 int arg5 = (int) 0 ;
30454 PyObject *arg6 = (PyObject *) NULL ;
30455 PyObject * obj0 = 0 ;
30456 PyObject * obj1 = 0 ;
30457 PyObject * obj5 = 0 ;
30458 char *kwnames[] = {
30459 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30460 };
30461
30462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiiO:Sizer_Add",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&obj5)) goto fail;
30463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30464 arg2 = obj1;
30465 if (obj5) {
30466 arg6 = obj5;
30467 }
30468 {
30469 PyThreadState* __tstate = wxPyBeginAllowThreads();
30470 wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
30471
30472 wxPyEndAllowThreads(__tstate);
30473 if (PyErr_Occurred()) SWIG_fail;
30474 }
30475 Py_INCREF(Py_None); resultobj = Py_None;
30476 return resultobj;
30477 fail:
30478 return NULL;
30479}
30480
30481
30482static PyObject *_wrap_Sizer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
30483 PyObject *resultobj;
30484 wxSizer *arg1 = (wxSizer *) 0 ;
30485 int arg2 ;
30486 PyObject *arg3 = (PyObject *) 0 ;
30487 int arg4 = (int) 0 ;
30488 int arg5 = (int) 0 ;
30489 int arg6 = (int) 0 ;
30490 PyObject *arg7 = (PyObject *) NULL ;
30491 PyObject * obj0 = 0 ;
30492 PyObject * obj2 = 0 ;
30493 PyObject * obj6 = 0 ;
30494 char *kwnames[] = {
30495 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30496 };
30497
30498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|iiiO:Sizer_Insert",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5,&arg6,&obj6)) goto fail;
30499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30500 arg3 = obj2;
30501 if (obj6) {
30502 arg7 = obj6;
30503 }
30504 {
30505 PyThreadState* __tstate = wxPyBeginAllowThreads();
30506 wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
30507
30508 wxPyEndAllowThreads(__tstate);
30509 if (PyErr_Occurred()) SWIG_fail;
30510 }
30511 Py_INCREF(Py_None); resultobj = Py_None;
30512 return resultobj;
30513 fail:
30514 return NULL;
30515}
30516
30517
30518static PyObject *_wrap_Sizer_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
30519 PyObject *resultobj;
30520 wxSizer *arg1 = (wxSizer *) 0 ;
30521 PyObject *arg2 = (PyObject *) 0 ;
30522 int arg3 = (int) 0 ;
30523 int arg4 = (int) 0 ;
30524 int arg5 = (int) 0 ;
30525 PyObject *arg6 = (PyObject *) NULL ;
30526 PyObject * obj0 = 0 ;
30527 PyObject * obj1 = 0 ;
30528 PyObject * obj5 = 0 ;
30529 char *kwnames[] = {
30530 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30531 };
30532
30533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiiO:Sizer_Prepend",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&obj5)) goto fail;
30534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30535 arg2 = obj1;
30536 if (obj5) {
30537 arg6 = obj5;
30538 }
30539 {
30540 PyThreadState* __tstate = wxPyBeginAllowThreads();
30541 wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
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_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
30554 PyObject *resultobj;
30555 wxSizer *arg1 = (wxSizer *) 0 ;
30556 PyObject *arg2 = (PyObject *) 0 ;
30557 bool result;
30558 PyObject * obj0 = 0 ;
30559 PyObject * obj1 = 0 ;
30560 char *kwnames[] = {
30561 (char *) "self",(char *) "item", NULL
30562 };
30563
30564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
30565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30566 arg2 = obj1;
30567 {
30568 PyThreadState* __tstate = wxPyBeginAllowThreads();
30569 result = (bool)wxSizer_Remove(arg1,arg2);
30570
30571 wxPyEndAllowThreads(__tstate);
30572 if (PyErr_Occurred()) SWIG_fail;
30573 }
30574 resultobj = PyInt_FromLong((long)result);
30575 return resultobj;
30576 fail:
30577 return NULL;
30578}
30579
30580
30581static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30582 PyObject *resultobj;
30583 wxSizer *arg1 = (wxSizer *) 0 ;
30584 PyObject *arg2 = (PyObject *) 0 ;
423f194a
RD
30585 wxSize *arg3 = 0 ;
30586 wxSize temp3 ;
d14a1e28
RD
30587 PyObject * obj0 = 0 ;
30588 PyObject * obj1 = 0 ;
30589 PyObject * obj2 = 0 ;
30590 char *kwnames[] = {
30591 (char *) "self",(char *) "item",(char *) "size", NULL
30592 };
30593
30594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
30595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30596 arg2 = obj1;
423f194a
RD
30597 {
30598 arg3 = &temp3;
30599 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
30600 }
d14a1e28
RD
30601 {
30602 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 30603 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
d14a1e28
RD
30604
30605 wxPyEndAllowThreads(__tstate);
30606 if (PyErr_Occurred()) SWIG_fail;
30607 }
30608 Py_INCREF(Py_None); resultobj = Py_None;
30609 return resultobj;
30610 fail:
30611 return NULL;
30612}
30613
30614
30615static PyObject *_wrap_Sizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30616 PyObject *resultobj;
30617 wxSizer *arg1 = (wxSizer *) 0 ;
30618 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
30619 PyObject * obj0 = 0 ;
30620 PyObject * obj1 = 0 ;
30621 char *kwnames[] = {
30622 (char *) "self",(char *) "item", NULL
30623 };
30624
30625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
30626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30627 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30628 {
30629 PyThreadState* __tstate = wxPyBeginAllowThreads();
30630 (arg1)->Add(arg2);
30631
30632 wxPyEndAllowThreads(__tstate);
30633 if (PyErr_Occurred()) SWIG_fail;
30634 }
30635 Py_INCREF(Py_None); resultobj = Py_None;
30636 return resultobj;
30637 fail:
30638 return NULL;
30639}
30640
30641
30642static PyObject *_wrap_Sizer_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30643 PyObject *resultobj;
30644 wxSizer *arg1 = (wxSizer *) 0 ;
30645 size_t arg2 ;
30646 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
30647 PyObject * obj0 = 0 ;
30648 PyObject * obj1 = 0 ;
30649 PyObject * obj2 = 0 ;
30650 char *kwnames[] = {
30651 (char *) "self",(char *) "index",(char *) "item", NULL
30652 };
30653
30654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
30655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30656 arg2 = (size_t) PyInt_AsLong(obj1);
30657 if (PyErr_Occurred()) SWIG_fail;
30658 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30659 {
30660 PyThreadState* __tstate = wxPyBeginAllowThreads();
30661 (arg1)->Insert(arg2,arg3);
30662
30663 wxPyEndAllowThreads(__tstate);
30664 if (PyErr_Occurred()) SWIG_fail;
30665 }
30666 Py_INCREF(Py_None); resultobj = Py_None;
30667 return resultobj;
30668 fail:
30669 return NULL;
30670}
30671
30672
30673static PyObject *_wrap_Sizer_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30674 PyObject *resultobj;
30675 wxSizer *arg1 = (wxSizer *) 0 ;
30676 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
30677 PyObject * obj0 = 0 ;
30678 PyObject * obj1 = 0 ;
30679 char *kwnames[] = {
30680 (char *) "self",(char *) "item", NULL
30681 };
30682
30683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
30684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30685 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30686 {
30687 PyThreadState* __tstate = wxPyBeginAllowThreads();
30688 (arg1)->Prepend(arg2);
30689
30690 wxPyEndAllowThreads(__tstate);
30691 if (PyErr_Occurred()) SWIG_fail;
30692 }
30693 Py_INCREF(Py_None); resultobj = Py_None;
30694 return resultobj;
30695 fail:
30696 return NULL;
30697}
30698
30699
30700static PyObject *_wrap_Sizer_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
30701 PyObject *resultobj;
30702 wxSizer *arg1 = (wxSizer *) 0 ;
30703 int arg2 ;
30704 int arg3 ;
30705 int arg4 ;
30706 int arg5 ;
30707 PyObject * obj0 = 0 ;
30708 char *kwnames[] = {
30709 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
30710 };
30711
30712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:Sizer_SetDimension",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
30713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30714 {
30715 PyThreadState* __tstate = wxPyBeginAllowThreads();
30716 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
30717
30718 wxPyEndAllowThreads(__tstate);
30719 if (PyErr_Occurred()) SWIG_fail;
30720 }
30721 Py_INCREF(Py_None); resultobj = Py_None;
30722 return resultobj;
30723 fail:
30724 return NULL;
30725}
30726
30727
30728static PyObject *_wrap_Sizer_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30729 PyObject *resultobj;
30730 wxSizer *arg1 = (wxSizer *) 0 ;
41f1cec7
RD
30731 wxSize *arg2 = 0 ;
30732 wxSize temp2 ;
d14a1e28
RD
30733 PyObject * obj0 = 0 ;
30734 PyObject * obj1 = 0 ;
30735 char *kwnames[] = {
30736 (char *) "self",(char *) "size", NULL
30737 };
30738
30739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
30740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
41f1cec7
RD
30741 {
30742 arg2 = &temp2;
30743 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
30744 }
d14a1e28
RD
30745 {
30746 PyThreadState* __tstate = wxPyBeginAllowThreads();
41f1cec7 30747 (arg1)->SetMinSize((wxSize const &)*arg2);
d14a1e28
RD
30748
30749 wxPyEndAllowThreads(__tstate);
30750 if (PyErr_Occurred()) SWIG_fail;
30751 }
30752 Py_INCREF(Py_None); resultobj = Py_None;
30753 return resultobj;
30754 fail:
30755 return NULL;
30756}
30757
30758
30759static PyObject *_wrap_Sizer_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30760 PyObject *resultobj;
30761 wxSizer *arg1 = (wxSizer *) 0 ;
30762 wxSize result;
30763 PyObject * obj0 = 0 ;
30764 char *kwnames[] = {
30765 (char *) "self", NULL
30766 };
30767
30768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
30769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30770 {
30771 PyThreadState* __tstate = wxPyBeginAllowThreads();
30772 result = (arg1)->GetSize();
30773
30774 wxPyEndAllowThreads(__tstate);
30775 if (PyErr_Occurred()) SWIG_fail;
30776 }
30777 {
30778 wxSize * resultptr;
30779 resultptr = new wxSize((wxSize &) result);
30780 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30781 }
30782 return resultobj;
30783 fail:
30784 return NULL;
30785}
30786
30787
30788static PyObject *_wrap_Sizer_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
30789 PyObject *resultobj;
30790 wxSizer *arg1 = (wxSizer *) 0 ;
30791 wxPoint result;
30792 PyObject * obj0 = 0 ;
30793 char *kwnames[] = {
30794 (char *) "self", NULL
30795 };
30796
30797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
30798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30799 {
30800 PyThreadState* __tstate = wxPyBeginAllowThreads();
30801 result = (arg1)->GetPosition();
30802
30803 wxPyEndAllowThreads(__tstate);
30804 if (PyErr_Occurred()) SWIG_fail;
30805 }
30806 {
30807 wxPoint * resultptr;
30808 resultptr = new wxPoint((wxPoint &) result);
30809 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
30810 }
30811 return resultobj;
30812 fail:
30813 return NULL;
30814}
30815
30816
30817static PyObject *_wrap_Sizer_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30818 PyObject *resultobj;
30819 wxSizer *arg1 = (wxSizer *) 0 ;
30820 wxSize result;
30821 PyObject * obj0 = 0 ;
30822 char *kwnames[] = {
30823 (char *) "self", NULL
30824 };
30825
30826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
30827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30828 {
30829 PyThreadState* __tstate = wxPyBeginAllowThreads();
30830 result = (arg1)->GetMinSize();
30831
30832 wxPyEndAllowThreads(__tstate);
30833 if (PyErr_Occurred()) SWIG_fail;
30834 }
30835 {
30836 wxSize * resultptr;
30837 resultptr = new wxSize((wxSize &) result);
30838 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30839 }
30840 return resultobj;
30841 fail:
30842 return NULL;
30843}
30844
30845
30846static PyObject *_wrap_Sizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
30847 PyObject *resultobj;
30848 wxSizer *arg1 = (wxSizer *) 0 ;
30849 PyObject * obj0 = 0 ;
30850 char *kwnames[] = {
30851 (char *) "self", NULL
30852 };
30853
30854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
30855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30856 {
30857 PyThreadState* __tstate = wxPyBeginAllowThreads();
30858 (arg1)->RecalcSizes();
30859
30860 wxPyEndAllowThreads(__tstate);
30861 if (PyErr_Occurred()) SWIG_fail;
30862 }
30863 Py_INCREF(Py_None); resultobj = Py_None;
30864 return resultobj;
30865 fail:
30866 return NULL;
30867}
30868
30869
30870static PyObject *_wrap_Sizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
30871 PyObject *resultobj;
30872 wxSizer *arg1 = (wxSizer *) 0 ;
30873 wxSize result;
30874 PyObject * obj0 = 0 ;
30875 char *kwnames[] = {
30876 (char *) "self", NULL
30877 };
30878
30879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
30880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30881 {
30882 PyThreadState* __tstate = wxPyBeginAllowThreads();
30883 result = (arg1)->CalcMin();
30884
30885 wxPyEndAllowThreads(__tstate);
30886 if (PyErr_Occurred()) SWIG_fail;
30887 }
30888 {
30889 wxSize * resultptr;
30890 resultptr = new wxSize((wxSize &) result);
30891 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30892 }
30893 return resultobj;
30894 fail:
30895 return NULL;
30896}
30897
30898
30899static PyObject *_wrap_Sizer_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
30900 PyObject *resultobj;
30901 wxSizer *arg1 = (wxSizer *) 0 ;
30902 PyObject * obj0 = 0 ;
30903 char *kwnames[] = {
30904 (char *) "self", NULL
30905 };
30906
30907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
30908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30909 {
30910 PyThreadState* __tstate = wxPyBeginAllowThreads();
30911 (arg1)->Layout();
30912
30913 wxPyEndAllowThreads(__tstate);
30914 if (PyErr_Occurred()) SWIG_fail;
30915 }
30916 Py_INCREF(Py_None); resultobj = Py_None;
30917 return resultobj;
30918 fail:
30919 return NULL;
30920}
30921
30922
30923static PyObject *_wrap_Sizer_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
30924 PyObject *resultobj;
30925 wxSizer *arg1 = (wxSizer *) 0 ;
30926 wxWindow *arg2 = (wxWindow *) 0 ;
30927 wxSize result;
30928 PyObject * obj0 = 0 ;
30929 PyObject * obj1 = 0 ;
30930 char *kwnames[] = {
30931 (char *) "self",(char *) "window", NULL
30932 };
30933
30934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
30935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30936 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30937 {
30938 PyThreadState* __tstate = wxPyBeginAllowThreads();
30939 result = (arg1)->Fit(arg2);
30940
30941 wxPyEndAllowThreads(__tstate);
30942 if (PyErr_Occurred()) SWIG_fail;
30943 }
30944 {
30945 wxSize * resultptr;
30946 resultptr = new wxSize((wxSize &) result);
30947 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30948 }
30949 return resultobj;
30950 fail:
30951 return NULL;
30952}
30953
30954
30955static PyObject *_wrap_Sizer_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
30956 PyObject *resultobj;
30957 wxSizer *arg1 = (wxSizer *) 0 ;
30958 wxWindow *arg2 = (wxWindow *) 0 ;
30959 PyObject * obj0 = 0 ;
30960 PyObject * obj1 = 0 ;
30961 char *kwnames[] = {
30962 (char *) "self",(char *) "window", NULL
30963 };
30964
30965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
30966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30967 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30968 {
30969 PyThreadState* __tstate = wxPyBeginAllowThreads();
30970 (arg1)->FitInside(arg2);
30971
30972 wxPyEndAllowThreads(__tstate);
30973 if (PyErr_Occurred()) SWIG_fail;
30974 }
30975 Py_INCREF(Py_None); resultobj = Py_None;
30976 return resultobj;
30977 fail:
30978 return NULL;
30979}
30980
30981
30982static PyObject *_wrap_Sizer_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
30983 PyObject *resultobj;
30984 wxSizer *arg1 = (wxSizer *) 0 ;
30985 wxWindow *arg2 = (wxWindow *) 0 ;
30986 PyObject * obj0 = 0 ;
30987 PyObject * obj1 = 0 ;
30988 char *kwnames[] = {
30989 (char *) "self",(char *) "window", NULL
30990 };
30991
30992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
30993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30994 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30995 {
30996 PyThreadState* __tstate = wxPyBeginAllowThreads();
30997 (arg1)->SetSizeHints(arg2);
30998
30999 wxPyEndAllowThreads(__tstate);
31000 if (PyErr_Occurred()) SWIG_fail;
31001 }
31002 Py_INCREF(Py_None); resultobj = Py_None;
31003 return resultobj;
31004 fail:
31005 return NULL;
31006}
31007
31008
31009static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
31010 PyObject *resultobj;
31011 wxSizer *arg1 = (wxSizer *) 0 ;
31012 wxWindow *arg2 = (wxWindow *) 0 ;
31013 PyObject * obj0 = 0 ;
31014 PyObject * obj1 = 0 ;
31015 char *kwnames[] = {
31016 (char *) "self",(char *) "window", NULL
31017 };
31018
31019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
31020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31021 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31022 {
31023 PyThreadState* __tstate = wxPyBeginAllowThreads();
31024 (arg1)->SetVirtualSizeHints(arg2);
31025
31026 wxPyEndAllowThreads(__tstate);
31027 if (PyErr_Occurred()) SWIG_fail;
31028 }
31029 Py_INCREF(Py_None); resultobj = Py_None;
31030 return resultobj;
31031 fail:
31032 return NULL;
31033}
31034
31035
31036static PyObject *_wrap_Sizer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
31037 PyObject *resultobj;
31038 wxSizer *arg1 = (wxSizer *) 0 ;
423f194a 31039 bool arg2 = (bool) False ;
d14a1e28
RD
31040 PyObject * obj0 = 0 ;
31041 PyObject * obj1 = 0 ;
31042 char *kwnames[] = {
31043 (char *) "self",(char *) "delete_windows", NULL
31044 };
31045
31046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
31047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31048 if (obj1) {
31049 arg2 = PyInt_AsLong(obj1) ? true : false;
31050 if (PyErr_Occurred()) SWIG_fail;
31051 }
31052 {
31053 PyThreadState* __tstate = wxPyBeginAllowThreads();
31054 (arg1)->Clear(arg2);
31055
31056 wxPyEndAllowThreads(__tstate);
31057 if (PyErr_Occurred()) SWIG_fail;
31058 }
31059 Py_INCREF(Py_None); resultobj = Py_None;
31060 return resultobj;
31061 fail:
31062 return NULL;
31063}
31064
31065
31066static PyObject *_wrap_Sizer_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
31067 PyObject *resultobj;
31068 wxSizer *arg1 = (wxSizer *) 0 ;
31069 PyObject * obj0 = 0 ;
31070 char *kwnames[] = {
31071 (char *) "self", NULL
31072 };
31073
31074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
31075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31076 {
31077 PyThreadState* __tstate = wxPyBeginAllowThreads();
31078 (arg1)->DeleteWindows();
31079
31080 wxPyEndAllowThreads(__tstate);
31081 if (PyErr_Occurred()) SWIG_fail;
31082 }
31083 Py_INCREF(Py_None); resultobj = Py_None;
31084 return resultobj;
31085 fail:
31086 return NULL;
31087}
31088
31089
31090static PyObject *_wrap_Sizer_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
31091 PyObject *resultobj;
31092 wxSizer *arg1 = (wxSizer *) 0 ;
31093 PyObject *result;
31094 PyObject * obj0 = 0 ;
31095 char *kwnames[] = {
31096 (char *) "self", NULL
31097 };
31098
31099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
31100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31101 {
31102 PyThreadState* __tstate = wxPyBeginAllowThreads();
31103 result = (PyObject *)wxSizer_GetChildren(arg1);
31104
31105 wxPyEndAllowThreads(__tstate);
31106 if (PyErr_Occurred()) SWIG_fail;
31107 }
31108 resultobj = result;
31109 return resultobj;
31110 fail:
31111 return NULL;
31112}
31113
31114
31115static PyObject *_wrap_Sizer_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
31116 PyObject *resultobj;
31117 wxSizer *arg1 = (wxSizer *) 0 ;
31118 PyObject *arg2 = (PyObject *) 0 ;
423f194a 31119 bool arg3 = (bool) True ;
d14a1e28
RD
31120 PyObject * obj0 = 0 ;
31121 PyObject * obj1 = 0 ;
31122 PyObject * obj2 = 0 ;
31123 char *kwnames[] = {
31124 (char *) "self",(char *) "item",(char *) "show", NULL
31125 };
31126
31127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Sizer_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
31128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31129 arg2 = obj1;
31130 if (obj2) {
31131 arg3 = PyInt_AsLong(obj2) ? true : false;
31132 if (PyErr_Occurred()) SWIG_fail;
31133 }
31134 {
31135 PyThreadState* __tstate = wxPyBeginAllowThreads();
31136 wxSizer_Show(arg1,arg2,arg3);
31137
31138 wxPyEndAllowThreads(__tstate);
31139 if (PyErr_Occurred()) SWIG_fail;
31140 }
31141 Py_INCREF(Py_None); resultobj = Py_None;
31142 return resultobj;
31143 fail:
31144 return NULL;
31145}
31146
31147
31148static PyObject *_wrap_Sizer_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
31149 PyObject *resultobj;
31150 wxSizer *arg1 = (wxSizer *) 0 ;
31151 PyObject *arg2 = (PyObject *) 0 ;
31152 PyObject * obj0 = 0 ;
31153 PyObject * obj1 = 0 ;
31154 char *kwnames[] = {
31155 (char *) "self",(char *) "item", NULL
31156 };
31157
31158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Hide",kwnames,&obj0,&obj1)) goto fail;
31159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31160 arg2 = obj1;
31161 {
31162 PyThreadState* __tstate = wxPyBeginAllowThreads();
31163 wxSizer_Hide(arg1,arg2);
31164
31165 wxPyEndAllowThreads(__tstate);
31166 if (PyErr_Occurred()) SWIG_fail;
31167 }
31168 Py_INCREF(Py_None); resultobj = Py_None;
31169 return resultobj;
31170 fail:
31171 return NULL;
31172}
31173
31174
31175static PyObject *_wrap_Sizer_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
31176 PyObject *resultobj;
31177 wxSizer *arg1 = (wxSizer *) 0 ;
31178 PyObject *arg2 = (PyObject *) 0 ;
31179 bool result;
31180 PyObject * obj0 = 0 ;
31181 PyObject * obj1 = 0 ;
31182 char *kwnames[] = {
31183 (char *) "self",(char *) "item", NULL
31184 };
31185
31186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
31187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31188 arg2 = obj1;
31189 {
31190 PyThreadState* __tstate = wxPyBeginAllowThreads();
31191 result = (bool)wxSizer_IsShown(arg1,arg2);
31192
31193 wxPyEndAllowThreads(__tstate);
31194 if (PyErr_Occurred()) SWIG_fail;
31195 }
31196 resultobj = PyInt_FromLong((long)result);
31197 return resultobj;
31198 fail:
31199 return NULL;
31200}
31201
31202
31203static PyObject *_wrap_Sizer_ShowItems(PyObject *self, PyObject *args, PyObject *kwargs) {
31204 PyObject *resultobj;
31205 wxSizer *arg1 = (wxSizer *) 0 ;
31206 bool arg2 ;
31207 PyObject * obj0 = 0 ;
31208 PyObject * obj1 = 0 ;
31209 char *kwnames[] = {
31210 (char *) "self",(char *) "show", NULL
31211 };
31212
31213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
31214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31215 arg2 = PyInt_AsLong(obj1) ? true : false;
31216 if (PyErr_Occurred()) SWIG_fail;
31217 {
31218 PyThreadState* __tstate = wxPyBeginAllowThreads();
31219 (arg1)->ShowItems(arg2);
31220
31221 wxPyEndAllowThreads(__tstate);
31222 if (PyErr_Occurred()) SWIG_fail;
31223 }
31224 Py_INCREF(Py_None); resultobj = Py_None;
31225 return resultobj;
31226 fail:
31227 return NULL;
31228}
31229
31230
31231static PyObject * Sizer_swigregister(PyObject *self, PyObject *args) {
31232 PyObject *obj;
31233 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31234 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
31235 Py_INCREF(obj);
31236 return Py_BuildValue((char *)"");
31237}
31238static PyObject *_wrap_new_PySizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31239 PyObject *resultobj;
31240 wxPySizer *result;
31241 char *kwnames[] = {
31242 NULL
31243 };
31244
31245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
31246 {
31247 PyThreadState* __tstate = wxPyBeginAllowThreads();
31248 result = (wxPySizer *)new wxPySizer();
31249
31250 wxPyEndAllowThreads(__tstate);
31251 if (PyErr_Occurred()) SWIG_fail;
31252 }
31253 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPySizer, 1);
31254 return resultobj;
31255 fail:
31256 return NULL;
31257}
31258
31259
31260static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
31261 PyObject *resultobj;
31262 wxPySizer *arg1 = (wxPySizer *) 0 ;
31263 PyObject *arg2 = (PyObject *) 0 ;
31264 PyObject *arg3 = (PyObject *) 0 ;
31265 PyObject * obj0 = 0 ;
31266 PyObject * obj1 = 0 ;
31267 PyObject * obj2 = 0 ;
31268 char *kwnames[] = {
31269 (char *) "self",(char *) "self",(char *) "_class", NULL
31270 };
31271
31272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
31273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPySizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31274 arg2 = obj1;
31275 arg3 = obj2;
31276 {
31277 PyThreadState* __tstate = wxPyBeginAllowThreads();
31278 (arg1)->_setCallbackInfo(arg2,arg3);
31279
31280 wxPyEndAllowThreads(__tstate);
31281 if (PyErr_Occurred()) SWIG_fail;
31282 }
31283 Py_INCREF(Py_None); resultobj = Py_None;
31284 return resultobj;
31285 fail:
31286 return NULL;
31287}
31288
31289
31290static PyObject * PySizer_swigregister(PyObject *self, PyObject *args) {
31291 PyObject *obj;
31292 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31293 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
31294 Py_INCREF(obj);
31295 return Py_BuildValue((char *)"");
31296}
31297static PyObject *_wrap_new_BoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31298 PyObject *resultobj;
31299 int arg1 = (int) wxHORIZONTAL ;
31300 wxBoxSizer *result;
31301 char *kwnames[] = {
31302 (char *) "orient", NULL
31303 };
31304
31305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_BoxSizer",kwnames,&arg1)) goto fail;
31306 {
31307 PyThreadState* __tstate = wxPyBeginAllowThreads();
31308 result = (wxBoxSizer *)new wxBoxSizer(arg1);
31309
31310 wxPyEndAllowThreads(__tstate);
31311 if (PyErr_Occurred()) SWIG_fail;
31312 }
31313 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBoxSizer, 1);
31314 return resultobj;
31315 fail:
31316 return NULL;
31317}
31318
31319
31320static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
31321 PyObject *resultobj;
31322 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
31323 int result;
31324 PyObject * obj0 = 0 ;
31325 char *kwnames[] = {
31326 (char *) "self", NULL
31327 };
31328
31329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
31330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31331 {
31332 PyThreadState* __tstate = wxPyBeginAllowThreads();
31333 result = (int)(arg1)->GetOrientation();
31334
31335 wxPyEndAllowThreads(__tstate);
31336 if (PyErr_Occurred()) SWIG_fail;
31337 }
31338 resultobj = PyInt_FromLong((long)result);
31339 return resultobj;
31340 fail:
31341 return NULL;
31342}
31343
31344
31345static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
31346 PyObject *resultobj;
31347 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
31348 int arg2 ;
31349 PyObject * obj0 = 0 ;
31350 char *kwnames[] = {
31351 (char *) "self",(char *) "orient", NULL
31352 };
31353
31354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BoxSizer_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
31355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31356 {
31357 PyThreadState* __tstate = wxPyBeginAllowThreads();
31358 (arg1)->SetOrientation(arg2);
31359
31360 wxPyEndAllowThreads(__tstate);
31361 if (PyErr_Occurred()) SWIG_fail;
31362 }
31363 Py_INCREF(Py_None); resultobj = Py_None;
31364 return resultobj;
31365 fail:
31366 return NULL;
31367}
31368
31369
31370static PyObject *_wrap_BoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31371 PyObject *resultobj;
31372 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
31373 PyObject * obj0 = 0 ;
31374 char *kwnames[] = {
31375 (char *) "self", NULL
31376 };
31377
31378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
31379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31380 {
31381 PyThreadState* __tstate = wxPyBeginAllowThreads();
31382 (arg1)->RecalcSizes();
31383
31384 wxPyEndAllowThreads(__tstate);
31385 if (PyErr_Occurred()) SWIG_fail;
31386 }
31387 Py_INCREF(Py_None); resultobj = Py_None;
31388 return resultobj;
31389 fail:
31390 return NULL;
31391}
31392
31393
31394static PyObject *_wrap_BoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31395 PyObject *resultobj;
31396 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
31397 wxSize result;
31398 PyObject * obj0 = 0 ;
31399 char *kwnames[] = {
31400 (char *) "self", NULL
31401 };
31402
31403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_CalcMin",kwnames,&obj0)) goto fail;
31404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31405 {
31406 PyThreadState* __tstate = wxPyBeginAllowThreads();
31407 result = (arg1)->CalcMin();
31408
31409 wxPyEndAllowThreads(__tstate);
31410 if (PyErr_Occurred()) SWIG_fail;
31411 }
31412 {
31413 wxSize * resultptr;
31414 resultptr = new wxSize((wxSize &) result);
31415 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31416 }
31417 return resultobj;
31418 fail:
31419 return NULL;
31420}
31421
31422
31423static PyObject * BoxSizer_swigregister(PyObject *self, PyObject *args) {
31424 PyObject *obj;
31425 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31426 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
31427 Py_INCREF(obj);
31428 return Py_BuildValue((char *)"");
31429}
31430static PyObject *_wrap_new_StaticBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31431 PyObject *resultobj;
31432 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
31433 int arg2 = (int) wxHORIZONTAL ;
31434 wxStaticBoxSizer *result;
31435 PyObject * obj0 = 0 ;
31436 char *kwnames[] = {
31437 (char *) "box",(char *) "orient", NULL
31438 };
31439
31440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_StaticBoxSizer",kwnames,&obj0,&arg2)) goto fail;
31441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31442 {
31443 PyThreadState* __tstate = wxPyBeginAllowThreads();
31444 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
31445
31446 wxPyEndAllowThreads(__tstate);
31447 if (PyErr_Occurred()) SWIG_fail;
31448 }
31449 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBoxSizer, 1);
31450 return resultobj;
31451 fail:
31452 return NULL;
31453}
31454
31455
31456static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
31457 PyObject *resultobj;
31458 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
31459 wxStaticBox *result;
31460 PyObject * obj0 = 0 ;
31461 char *kwnames[] = {
31462 (char *) "self", NULL
31463 };
31464
31465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
31466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31467 {
31468 PyThreadState* __tstate = wxPyBeginAllowThreads();
31469 result = (wxStaticBox *)(arg1)->GetStaticBox();
31470
31471 wxPyEndAllowThreads(__tstate);
31472 if (PyErr_Occurred()) SWIG_fail;
31473 }
31474 {
31475 resultobj = wxPyMake_wxObject(result);
31476 }
31477 return resultobj;
31478 fail:
31479 return NULL;
31480}
31481
31482
31483static PyObject *_wrap_StaticBoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31484 PyObject *resultobj;
31485 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
31486 PyObject * obj0 = 0 ;
31487 char *kwnames[] = {
31488 (char *) "self", NULL
31489 };
31490
31491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
31492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31493 {
31494 PyThreadState* __tstate = wxPyBeginAllowThreads();
31495 (arg1)->RecalcSizes();
31496
31497 wxPyEndAllowThreads(__tstate);
31498 if (PyErr_Occurred()) SWIG_fail;
31499 }
31500 Py_INCREF(Py_None); resultobj = Py_None;
31501 return resultobj;
31502 fail:
31503 return NULL;
31504}
31505
31506
31507static PyObject *_wrap_StaticBoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31508 PyObject *resultobj;
31509 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
31510 wxSize result;
31511 PyObject * obj0 = 0 ;
31512 char *kwnames[] = {
31513 (char *) "self", NULL
31514 };
31515
31516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_CalcMin",kwnames,&obj0)) goto fail;
31517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31518 {
31519 PyThreadState* __tstate = wxPyBeginAllowThreads();
31520 result = (arg1)->CalcMin();
31521
31522 wxPyEndAllowThreads(__tstate);
31523 if (PyErr_Occurred()) SWIG_fail;
31524 }
31525 {
31526 wxSize * resultptr;
31527 resultptr = new wxSize((wxSize &) result);
31528 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31529 }
31530 return resultobj;
31531 fail:
31532 return NULL;
31533}
31534
31535
31536static PyObject * StaticBoxSizer_swigregister(PyObject *self, PyObject *args) {
31537 PyObject *obj;
31538 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31539 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
31540 Py_INCREF(obj);
31541 return Py_BuildValue((char *)"");
31542}
31543static PyObject *_wrap_new_GridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31544 PyObject *resultobj;
31545 int arg1 = (int) 1 ;
31546 int arg2 = (int) 0 ;
31547 int arg3 = (int) 0 ;
31548 int arg4 = (int) 0 ;
31549 wxGridSizer *result;
31550 char *kwnames[] = {
31551 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31552 };
31553
31554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_GridSizer",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
31555 {
31556 PyThreadState* __tstate = wxPyBeginAllowThreads();
31557 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
31558
31559 wxPyEndAllowThreads(__tstate);
31560 if (PyErr_Occurred()) SWIG_fail;
31561 }
31562 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridSizer, 1);
31563 return resultobj;
31564 fail:
31565 return NULL;
31566}
31567
31568
31569static PyObject *_wrap_GridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31570 PyObject *resultobj;
31571 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31572 PyObject * obj0 = 0 ;
31573 char *kwnames[] = {
31574 (char *) "self", NULL
31575 };
31576
31577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
31578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31579 {
31580 PyThreadState* __tstate = wxPyBeginAllowThreads();
31581 (arg1)->RecalcSizes();
31582
31583 wxPyEndAllowThreads(__tstate);
31584 if (PyErr_Occurred()) SWIG_fail;
31585 }
31586 Py_INCREF(Py_None); resultobj = Py_None;
31587 return resultobj;
31588 fail:
31589 return NULL;
31590}
31591
31592
31593static PyObject *_wrap_GridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31594 PyObject *resultobj;
31595 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31596 wxSize result;
31597 PyObject * obj0 = 0 ;
31598 char *kwnames[] = {
31599 (char *) "self", NULL
31600 };
31601
31602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_CalcMin",kwnames,&obj0)) goto fail;
31603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31604 {
31605 PyThreadState* __tstate = wxPyBeginAllowThreads();
31606 result = (arg1)->CalcMin();
31607
31608 wxPyEndAllowThreads(__tstate);
31609 if (PyErr_Occurred()) SWIG_fail;
31610 }
31611 {
31612 wxSize * resultptr;
31613 resultptr = new wxSize((wxSize &) result);
31614 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31615 }
31616 return resultobj;
31617 fail:
31618 return NULL;
31619}
31620
31621
31622static PyObject *_wrap_GridSizer_SetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
31623 PyObject *resultobj;
31624 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31625 int arg2 ;
31626 PyObject * obj0 = 0 ;
31627 char *kwnames[] = {
31628 (char *) "self",(char *) "cols", NULL
31629 };
31630
31631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetCols",kwnames,&obj0,&arg2)) goto fail;
31632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31633 {
31634 PyThreadState* __tstate = wxPyBeginAllowThreads();
31635 (arg1)->SetCols(arg2);
31636
31637 wxPyEndAllowThreads(__tstate);
31638 if (PyErr_Occurred()) SWIG_fail;
31639 }
31640 Py_INCREF(Py_None); resultobj = Py_None;
31641 return resultobj;
31642 fail:
31643 return NULL;
31644}
31645
31646
31647static PyObject *_wrap_GridSizer_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
31648 PyObject *resultobj;
31649 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31650 int arg2 ;
31651 PyObject * obj0 = 0 ;
31652 char *kwnames[] = {
31653 (char *) "self",(char *) "rows", NULL
31654 };
31655
31656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetRows",kwnames,&obj0,&arg2)) goto fail;
31657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31658 {
31659 PyThreadState* __tstate = wxPyBeginAllowThreads();
31660 (arg1)->SetRows(arg2);
31661
31662 wxPyEndAllowThreads(__tstate);
31663 if (PyErr_Occurred()) SWIG_fail;
31664 }
31665 Py_INCREF(Py_None); resultobj = Py_None;
31666 return resultobj;
31667 fail:
31668 return NULL;
31669}
31670
31671
31672static PyObject *_wrap_GridSizer_SetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31673 PyObject *resultobj;
31674 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31675 int arg2 ;
31676 PyObject * obj0 = 0 ;
31677 char *kwnames[] = {
31678 (char *) "self",(char *) "gap", NULL
31679 };
31680
31681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetVGap",kwnames,&obj0,&arg2)) goto fail;
31682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31683 {
31684 PyThreadState* __tstate = wxPyBeginAllowThreads();
31685 (arg1)->SetVGap(arg2);
31686
31687 wxPyEndAllowThreads(__tstate);
31688 if (PyErr_Occurred()) SWIG_fail;
31689 }
31690 Py_INCREF(Py_None); resultobj = Py_None;
31691 return resultobj;
31692 fail:
31693 return NULL;
31694}
31695
31696
31697static PyObject *_wrap_GridSizer_SetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31698 PyObject *resultobj;
31699 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31700 int arg2 ;
31701 PyObject * obj0 = 0 ;
31702 char *kwnames[] = {
31703 (char *) "self",(char *) "gap", NULL
31704 };
31705
31706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetHGap",kwnames,&obj0,&arg2)) goto fail;
31707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31708 {
31709 PyThreadState* __tstate = wxPyBeginAllowThreads();
31710 (arg1)->SetHGap(arg2);
31711
31712 wxPyEndAllowThreads(__tstate);
31713 if (PyErr_Occurred()) SWIG_fail;
31714 }
31715 Py_INCREF(Py_None); resultobj = Py_None;
31716 return resultobj;
31717 fail:
31718 return NULL;
31719}
31720
31721
31722static PyObject *_wrap_GridSizer_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
31723 PyObject *resultobj;
31724 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31725 int result;
31726 PyObject * obj0 = 0 ;
31727 char *kwnames[] = {
31728 (char *) "self", NULL
31729 };
31730
31731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
31732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31733 {
31734 PyThreadState* __tstate = wxPyBeginAllowThreads();
31735 result = (int)(arg1)->GetCols();
31736
31737 wxPyEndAllowThreads(__tstate);
31738 if (PyErr_Occurred()) SWIG_fail;
31739 }
31740 resultobj = PyInt_FromLong((long)result);
31741 return resultobj;
31742 fail:
31743 return NULL;
31744}
31745
31746
31747static PyObject *_wrap_GridSizer_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
31748 PyObject *resultobj;
31749 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31750 int result;
31751 PyObject * obj0 = 0 ;
31752 char *kwnames[] = {
31753 (char *) "self", NULL
31754 };
31755
31756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
31757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31758 {
31759 PyThreadState* __tstate = wxPyBeginAllowThreads();
31760 result = (int)(arg1)->GetRows();
31761
31762 wxPyEndAllowThreads(__tstate);
31763 if (PyErr_Occurred()) SWIG_fail;
31764 }
31765 resultobj = PyInt_FromLong((long)result);
31766 return resultobj;
31767 fail:
31768 return NULL;
31769}
31770
31771
31772static PyObject *_wrap_GridSizer_GetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31773 PyObject *resultobj;
31774 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31775 int result;
31776 PyObject * obj0 = 0 ;
31777 char *kwnames[] = {
31778 (char *) "self", NULL
31779 };
31780
31781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
31782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31783 {
31784 PyThreadState* __tstate = wxPyBeginAllowThreads();
31785 result = (int)(arg1)->GetVGap();
31786
31787 wxPyEndAllowThreads(__tstate);
31788 if (PyErr_Occurred()) SWIG_fail;
31789 }
31790 resultobj = PyInt_FromLong((long)result);
31791 return resultobj;
31792 fail:
31793 return NULL;
31794}
31795
31796
31797static PyObject *_wrap_GridSizer_GetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31798 PyObject *resultobj;
31799 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31800 int result;
31801 PyObject * obj0 = 0 ;
31802 char *kwnames[] = {
31803 (char *) "self", NULL
31804 };
31805
31806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
31807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31808 {
31809 PyThreadState* __tstate = wxPyBeginAllowThreads();
31810 result = (int)(arg1)->GetHGap();
31811
31812 wxPyEndAllowThreads(__tstate);
31813 if (PyErr_Occurred()) SWIG_fail;
31814 }
31815 resultobj = PyInt_FromLong((long)result);
31816 return resultobj;
31817 fail:
31818 return NULL;
31819}
31820
31821
31822static PyObject * GridSizer_swigregister(PyObject *self, PyObject *args) {
31823 PyObject *obj;
31824 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31825 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
31826 Py_INCREF(obj);
31827 return Py_BuildValue((char *)"");
31828}
31829static PyObject *_wrap_new_FlexGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31830 PyObject *resultobj;
31831 int arg1 = (int) 1 ;
31832 int arg2 = (int) 0 ;
31833 int arg3 = (int) 0 ;
31834 int arg4 = (int) 0 ;
31835 wxFlexGridSizer *result;
31836 char *kwnames[] = {
31837 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31838 };
31839
31840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_FlexGridSizer",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
31841 {
31842 PyThreadState* __tstate = wxPyBeginAllowThreads();
31843 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
31844
31845 wxPyEndAllowThreads(__tstate);
31846 if (PyErr_Occurred()) SWIG_fail;
31847 }
31848 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFlexGridSizer, 1);
31849 return resultobj;
31850 fail:
31851 return NULL;
31852}
31853
31854
31855static PyObject *_wrap_FlexGridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31856 PyObject *resultobj;
31857 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31858 PyObject * obj0 = 0 ;
31859 char *kwnames[] = {
31860 (char *) "self", NULL
31861 };
31862
31863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
31864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31865 {
31866 PyThreadState* __tstate = wxPyBeginAllowThreads();
31867 (arg1)->RecalcSizes();
31868
31869 wxPyEndAllowThreads(__tstate);
31870 if (PyErr_Occurred()) SWIG_fail;
31871 }
31872 Py_INCREF(Py_None); resultobj = Py_None;
31873 return resultobj;
31874 fail:
31875 return NULL;
31876}
31877
31878
31879static PyObject *_wrap_FlexGridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31880 PyObject *resultobj;
31881 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31882 wxSize result;
31883 PyObject * obj0 = 0 ;
31884 char *kwnames[] = {
31885 (char *) "self", NULL
31886 };
31887
31888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_CalcMin",kwnames,&obj0)) goto fail;
31889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31890 {
31891 PyThreadState* __tstate = wxPyBeginAllowThreads();
31892 result = (arg1)->CalcMin();
31893
31894 wxPyEndAllowThreads(__tstate);
31895 if (PyErr_Occurred()) SWIG_fail;
31896 }
31897 {
31898 wxSize * resultptr;
31899 resultptr = new wxSize((wxSize &) result);
31900 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31901 }
31902 return resultobj;
31903 fail:
31904 return NULL;
31905}
31906
31907
31908static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
31909 PyObject *resultobj;
31910 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31911 size_t arg2 ;
31912 int arg3 = (int) 0 ;
31913 PyObject * obj0 = 0 ;
31914 PyObject * obj1 = 0 ;
31915 char *kwnames[] = {
31916 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31917 };
31918
31919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&arg3)) goto fail;
31920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31921 arg2 = (size_t) PyInt_AsLong(obj1);
31922 if (PyErr_Occurred()) SWIG_fail;
31923 {
31924 PyThreadState* __tstate = wxPyBeginAllowThreads();
31925 (arg1)->AddGrowableRow(arg2,arg3);
31926
31927 wxPyEndAllowThreads(__tstate);
31928 if (PyErr_Occurred()) SWIG_fail;
31929 }
31930 Py_INCREF(Py_None); resultobj = Py_None;
31931 return resultobj;
31932 fail:
31933 return NULL;
31934}
31935
31936
31937static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
31938 PyObject *resultobj;
31939 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31940 size_t arg2 ;
31941 PyObject * obj0 = 0 ;
31942 PyObject * obj1 = 0 ;
31943 char *kwnames[] = {
31944 (char *) "self",(char *) "idx", NULL
31945 };
31946
31947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
31948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31949 arg2 = (size_t) PyInt_AsLong(obj1);
31950 if (PyErr_Occurred()) SWIG_fail;
31951 {
31952 PyThreadState* __tstate = wxPyBeginAllowThreads();
31953 (arg1)->RemoveGrowableRow(arg2);
31954
31955 wxPyEndAllowThreads(__tstate);
31956 if (PyErr_Occurred()) SWIG_fail;
31957 }
31958 Py_INCREF(Py_None); resultobj = Py_None;
31959 return resultobj;
31960 fail:
31961 return NULL;
31962}
31963
31964
31965static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
31966 PyObject *resultobj;
31967 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31968 size_t arg2 ;
31969 int arg3 = (int) 0 ;
31970 PyObject * obj0 = 0 ;
31971 PyObject * obj1 = 0 ;
31972 char *kwnames[] = {
31973 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31974 };
31975
31976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&arg3)) goto fail;
31977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31978 arg2 = (size_t) PyInt_AsLong(obj1);
31979 if (PyErr_Occurred()) SWIG_fail;
31980 {
31981 PyThreadState* __tstate = wxPyBeginAllowThreads();
31982 (arg1)->AddGrowableCol(arg2,arg3);
31983
31984 wxPyEndAllowThreads(__tstate);
31985 if (PyErr_Occurred()) SWIG_fail;
31986 }
31987 Py_INCREF(Py_None); resultobj = Py_None;
31988 return resultobj;
31989 fail:
31990 return NULL;
31991}
31992
31993
31994static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
31995 PyObject *resultobj;
31996 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31997 size_t arg2 ;
31998 PyObject * obj0 = 0 ;
31999 PyObject * obj1 = 0 ;
32000 char *kwnames[] = {
32001 (char *) "self",(char *) "idx", NULL
32002 };
32003
32004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
32005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32006 arg2 = (size_t) PyInt_AsLong(obj1);
32007 if (PyErr_Occurred()) SWIG_fail;
32008 {
32009 PyThreadState* __tstate = wxPyBeginAllowThreads();
32010 (arg1)->RemoveGrowableCol(arg2);
32011
32012 wxPyEndAllowThreads(__tstate);
32013 if (PyErr_Occurred()) SWIG_fail;
32014 }
32015 Py_INCREF(Py_None); resultobj = Py_None;
32016 return resultobj;
32017 fail:
32018 return NULL;
32019}
32020
32021
32022static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
32023 PyObject *resultobj;
32024 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
32025 int arg2 ;
32026 PyObject * obj0 = 0 ;
32027 char *kwnames[] = {
32028 (char *) "self",(char *) "direction", NULL
32029 };
32030
32031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&arg2)) goto fail;
32032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32033 {
32034 PyThreadState* __tstate = wxPyBeginAllowThreads();
32035 (arg1)->SetFlexibleDirection(arg2);
32036
32037 wxPyEndAllowThreads(__tstate);
32038 if (PyErr_Occurred()) SWIG_fail;
32039 }
32040 Py_INCREF(Py_None); resultobj = Py_None;
32041 return resultobj;
32042 fail:
32043 return NULL;
32044}
32045
32046
32047static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
32048 PyObject *resultobj;
32049 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
32050 int result;
32051 PyObject * obj0 = 0 ;
32052 char *kwnames[] = {
32053 (char *) "self", NULL
32054 };
32055
32056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
32057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32058 {
32059 PyThreadState* __tstate = wxPyBeginAllowThreads();
32060 result = (int)(arg1)->GetFlexibleDirection();
32061
32062 wxPyEndAllowThreads(__tstate);
32063 if (PyErr_Occurred()) SWIG_fail;
32064 }
32065 resultobj = PyInt_FromLong((long)result);
32066 return resultobj;
32067 fail:
32068 return NULL;
32069}
32070
32071
32072static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
32073 PyObject *resultobj;
32074 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
32075 int arg2 ;
32076 PyObject * obj0 = 0 ;
32077 char *kwnames[] = {
32078 (char *) "self",(char *) "mode", NULL
32079 };
32080
32081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&arg2)) goto fail;
32082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32083 {
32084 PyThreadState* __tstate = wxPyBeginAllowThreads();
32085 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
32086
32087 wxPyEndAllowThreads(__tstate);
32088 if (PyErr_Occurred()) SWIG_fail;
32089 }
32090 Py_INCREF(Py_None); resultobj = Py_None;
32091 return resultobj;
32092 fail:
32093 return NULL;
32094}
32095
32096
32097static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
32098 PyObject *resultobj;
32099 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
32100 int result;
32101 PyObject * obj0 = 0 ;
32102 char *kwnames[] = {
32103 (char *) "self", NULL
32104 };
32105
32106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
32107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32108 {
32109 PyThreadState* __tstate = wxPyBeginAllowThreads();
32110 result = (int)(arg1)->GetNonFlexibleGrowMode();
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
423f194a
RD
32122static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *self, PyObject *args, PyObject *kwargs) {
32123 PyObject *resultobj;
32124 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
32125 wxArrayInt *result;
32126 PyObject * obj0 = 0 ;
32127 char *kwnames[] = {
32128 (char *) "self", NULL
32129 };
32130
32131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
32132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32133 {
32134 PyThreadState* __tstate = wxPyBeginAllowThreads();
32135 {
32136 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
32137 result = (wxArrayInt *) &_result_ref;
32138 }
32139
32140 wxPyEndAllowThreads(__tstate);
32141 if (PyErr_Occurred()) SWIG_fail;
32142 }
32143 {
32144 resultobj = PyList_New(0);
32145 size_t idx;
32146 for (idx = 0; idx < result->GetCount(); idx += 1) {
32147 PyObject* val = PyInt_FromLong( result->Item(idx) );
32148 PyList_Append(resultobj, val);
32149 Py_DECREF(val);
32150 }
32151 }
32152 return resultobj;
32153 fail:
32154 return NULL;
32155}
32156
32157
32158static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
32159 PyObject *resultobj;
32160 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
32161 wxArrayInt *result;
32162 PyObject * obj0 = 0 ;
32163 char *kwnames[] = {
32164 (char *) "self", NULL
32165 };
32166
32167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
32168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32169 {
32170 PyThreadState* __tstate = wxPyBeginAllowThreads();
32171 {
32172 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
32173 result = (wxArrayInt *) &_result_ref;
32174 }
32175
32176 wxPyEndAllowThreads(__tstate);
32177 if (PyErr_Occurred()) SWIG_fail;
32178 }
32179 {
32180 resultobj = PyList_New(0);
32181 size_t idx;
32182 for (idx = 0; idx < result->GetCount(); idx += 1) {
32183 PyObject* val = PyInt_FromLong( result->Item(idx) );
32184 PyList_Append(resultobj, val);
32185 Py_DECREF(val);
32186 }
32187 }
32188 return resultobj;
32189 fail:
32190 return NULL;
32191}
32192
32193
d14a1e28
RD
32194static PyObject * FlexGridSizer_swigregister(PyObject *self, PyObject *args) {
32195 PyObject *obj;
32196 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32197 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
32198 Py_INCREF(obj);
32199 return Py_BuildValue((char *)"");
32200}
32201static PyObject *_wrap_new_GBPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
32202 PyObject *resultobj;
32203 int arg1 = (int) 0 ;
32204 int arg2 = (int) 0 ;
32205 wxGBPosition *result;
32206 char *kwnames[] = {
32207 (char *) "row",(char *) "col", NULL
32208 };
32209
32210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GBPosition",kwnames,&arg1,&arg2)) goto fail;
32211 {
32212 PyThreadState* __tstate = wxPyBeginAllowThreads();
32213 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
32214
32215 wxPyEndAllowThreads(__tstate);
32216 if (PyErr_Occurred()) SWIG_fail;
32217 }
32218 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBPosition, 1);
32219 return resultobj;
32220 fail:
32221 return NULL;
32222}
32223
32224
32225static PyObject *_wrap_GBPosition_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
32226 PyObject *resultobj;
32227 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32228 int result;
32229 PyObject * obj0 = 0 ;
32230 char *kwnames[] = {
32231 (char *) "self", NULL
32232 };
32233
32234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
32235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32236 {
32237 PyThreadState* __tstate = wxPyBeginAllowThreads();
32238 result = (int)((wxGBPosition const *)arg1)->GetRow();
32239
32240 wxPyEndAllowThreads(__tstate);
32241 if (PyErr_Occurred()) SWIG_fail;
32242 }
32243 resultobj = PyInt_FromLong((long)result);
32244 return resultobj;
32245 fail:
32246 return NULL;
32247}
32248
32249
32250static PyObject *_wrap_GBPosition_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
32251 PyObject *resultobj;
32252 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32253 int result;
32254 PyObject * obj0 = 0 ;
32255 char *kwnames[] = {
32256 (char *) "self", NULL
32257 };
32258
32259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
32260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32261 {
32262 PyThreadState* __tstate = wxPyBeginAllowThreads();
32263 result = (int)((wxGBPosition const *)arg1)->GetCol();
32264
32265 wxPyEndAllowThreads(__tstate);
32266 if (PyErr_Occurred()) SWIG_fail;
32267 }
32268 resultobj = PyInt_FromLong((long)result);
32269 return resultobj;
32270 fail:
32271 return NULL;
32272}
32273
32274
32275static PyObject *_wrap_GBPosition_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
32276 PyObject *resultobj;
32277 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32278 int arg2 ;
32279 PyObject * obj0 = 0 ;
32280 char *kwnames[] = {
32281 (char *) "self",(char *) "row", NULL
32282 };
32283
32284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBPosition_SetRow",kwnames,&obj0,&arg2)) goto fail;
32285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32286 {
32287 PyThreadState* __tstate = wxPyBeginAllowThreads();
32288 (arg1)->SetRow(arg2);
32289
32290 wxPyEndAllowThreads(__tstate);
32291 if (PyErr_Occurred()) SWIG_fail;
32292 }
32293 Py_INCREF(Py_None); resultobj = Py_None;
32294 return resultobj;
32295 fail:
32296 return NULL;
32297}
32298
32299
32300static PyObject *_wrap_GBPosition_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
32301 PyObject *resultobj;
32302 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32303 int arg2 ;
32304 PyObject * obj0 = 0 ;
32305 char *kwnames[] = {
32306 (char *) "self",(char *) "col", NULL
32307 };
32308
32309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBPosition_SetCol",kwnames,&obj0,&arg2)) goto fail;
32310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32311 {
32312 PyThreadState* __tstate = wxPyBeginAllowThreads();
32313 (arg1)->SetCol(arg2);
32314
32315 wxPyEndAllowThreads(__tstate);
32316 if (PyErr_Occurred()) SWIG_fail;
32317 }
32318 Py_INCREF(Py_None); resultobj = Py_None;
32319 return resultobj;
32320 fail:
32321 return NULL;
32322}
32323
32324
32325static PyObject *_wrap_GBPosition___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
32326 PyObject *resultobj;
32327 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32328 wxGBPosition *arg2 = 0 ;
32329 bool result;
32330 wxGBPosition temp2 ;
32331 PyObject * obj0 = 0 ;
32332 PyObject * obj1 = 0 ;
32333 char *kwnames[] = {
32334 (char *) "self",(char *) "p", NULL
32335 };
32336
32337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
32338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32339 {
32340 arg2 = &temp2;
32341 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32342 }
32343 {
32344 PyThreadState* __tstate = wxPyBeginAllowThreads();
32345 result = (bool)((wxGBPosition const *)arg1)->operator ==((wxGBPosition const &)*arg2);
32346
32347 wxPyEndAllowThreads(__tstate);
32348 if (PyErr_Occurred()) SWIG_fail;
32349 }
32350 resultobj = PyInt_FromLong((long)result);
32351 return resultobj;
32352 fail:
32353 return NULL;
32354}
32355
32356
32357static PyObject *_wrap_GBPosition___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
32358 PyObject *resultobj;
32359 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32360 wxGBPosition *arg2 = 0 ;
32361 bool result;
32362 wxGBPosition temp2 ;
32363 PyObject * obj0 = 0 ;
32364 PyObject * obj1 = 0 ;
32365 char *kwnames[] = {
32366 (char *) "self",(char *) "p", NULL
32367 };
32368
32369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
32370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32371 {
32372 arg2 = &temp2;
32373 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32374 }
32375 {
32376 PyThreadState* __tstate = wxPyBeginAllowThreads();
32377 result = (bool)((wxGBPosition const *)arg1)->operator !=((wxGBPosition const &)*arg2);
32378
32379 wxPyEndAllowThreads(__tstate);
32380 if (PyErr_Occurred()) SWIG_fail;
32381 }
32382 resultobj = PyInt_FromLong((long)result);
32383 return resultobj;
32384 fail:
32385 return NULL;
32386}
32387
32388
423f194a
RD
32389static PyObject *_wrap_GBPosition_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
32390 PyObject *resultobj;
32391 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32392 int arg2 = (int) 0 ;
32393 int arg3 = (int) 0 ;
32394 PyObject * obj0 = 0 ;
32395 char *kwnames[] = {
32396 (char *) "self",(char *) "row",(char *) "col", NULL
32397 };
32398
32399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:GBPosition_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
32400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32401 {
32402 PyThreadState* __tstate = wxPyBeginAllowThreads();
32403 wxGBPosition_Set(arg1,arg2,arg3);
32404
32405 wxPyEndAllowThreads(__tstate);
32406 if (PyErr_Occurred()) SWIG_fail;
32407 }
32408 Py_INCREF(Py_None); resultobj = Py_None;
32409 return resultobj;
32410 fail:
32411 return NULL;
32412}
32413
32414
32415static PyObject *_wrap_GBPosition_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32416 PyObject *resultobj;
32417 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32418 PyObject *result;
32419 PyObject * obj0 = 0 ;
32420 char *kwnames[] = {
32421 (char *) "self", NULL
32422 };
32423
423f194a 32424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
32425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32426 {
32427 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 32428 result = (PyObject *)wxGBPosition_Get(arg1);
d14a1e28
RD
32429
32430 wxPyEndAllowThreads(__tstate);
32431 if (PyErr_Occurred()) SWIG_fail;
32432 }
32433 resultobj = result;
32434 return resultobj;
32435 fail:
32436 return NULL;
32437}
32438
32439
32440static PyObject * GBPosition_swigregister(PyObject *self, PyObject *args) {
32441 PyObject *obj;
32442 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32443 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
32444 Py_INCREF(obj);
32445 return Py_BuildValue((char *)"");
32446}
32447static PyObject *_wrap_new_GBSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
32448 PyObject *resultobj;
32449 int arg1 = (int) 1 ;
32450 int arg2 = (int) 1 ;
32451 wxGBSpan *result;
32452 char *kwnames[] = {
32453 (char *) "rowspan",(char *) "colspan", NULL
32454 };
32455
32456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GBSpan",kwnames,&arg1,&arg2)) goto fail;
32457 {
32458 PyThreadState* __tstate = wxPyBeginAllowThreads();
32459 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
32460
32461 wxPyEndAllowThreads(__tstate);
32462 if (PyErr_Occurred()) SWIG_fail;
32463 }
32464 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSpan, 1);
32465 return resultobj;
32466 fail:
32467 return NULL;
32468}
32469
32470
32471static PyObject *_wrap_GBSpan_GetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
32472 PyObject *resultobj;
32473 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32474 int result;
32475 PyObject * obj0 = 0 ;
32476 char *kwnames[] = {
32477 (char *) "self", NULL
32478 };
32479
32480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
32481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32482 {
32483 PyThreadState* __tstate = wxPyBeginAllowThreads();
32484 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
32485
32486 wxPyEndAllowThreads(__tstate);
32487 if (PyErr_Occurred()) SWIG_fail;
32488 }
32489 resultobj = PyInt_FromLong((long)result);
32490 return resultobj;
32491 fail:
32492 return NULL;
32493}
32494
32495
32496static PyObject *_wrap_GBSpan_GetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
32497 PyObject *resultobj;
32498 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32499 int result;
32500 PyObject * obj0 = 0 ;
32501 char *kwnames[] = {
32502 (char *) "self", NULL
32503 };
32504
32505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
32506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32507 {
32508 PyThreadState* __tstate = wxPyBeginAllowThreads();
32509 result = (int)((wxGBSpan const *)arg1)->GetColspan();
32510
32511 wxPyEndAllowThreads(__tstate);
32512 if (PyErr_Occurred()) SWIG_fail;
32513 }
32514 resultobj = PyInt_FromLong((long)result);
32515 return resultobj;
32516 fail:
32517 return NULL;
32518}
32519
32520
32521static PyObject *_wrap_GBSpan_SetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
32522 PyObject *resultobj;
32523 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32524 int arg2 ;
32525 PyObject * obj0 = 0 ;
32526 char *kwnames[] = {
32527 (char *) "self",(char *) "rowspan", NULL
32528 };
32529
32530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBSpan_SetRowspan",kwnames,&obj0,&arg2)) goto fail;
32531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32532 {
32533 PyThreadState* __tstate = wxPyBeginAllowThreads();
32534 (arg1)->SetRowspan(arg2);
32535
32536 wxPyEndAllowThreads(__tstate);
32537 if (PyErr_Occurred()) SWIG_fail;
32538 }
32539 Py_INCREF(Py_None); resultobj = Py_None;
32540 return resultobj;
32541 fail:
32542 return NULL;
32543}
32544
32545
32546static PyObject *_wrap_GBSpan_SetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
32547 PyObject *resultobj;
32548 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32549 int arg2 ;
32550 PyObject * obj0 = 0 ;
32551 char *kwnames[] = {
32552 (char *) "self",(char *) "colspan", NULL
32553 };
32554
32555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBSpan_SetColspan",kwnames,&obj0,&arg2)) goto fail;
32556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32557 {
32558 PyThreadState* __tstate = wxPyBeginAllowThreads();
32559 (arg1)->SetColspan(arg2);
32560
32561 wxPyEndAllowThreads(__tstate);
32562 if (PyErr_Occurred()) SWIG_fail;
32563 }
32564 Py_INCREF(Py_None); resultobj = Py_None;
32565 return resultobj;
32566 fail:
32567 return NULL;
32568}
32569
32570
32571static PyObject *_wrap_GBSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
32572 PyObject *resultobj;
32573 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32574 wxGBSpan *arg2 = 0 ;
32575 bool result;
32576 wxGBSpan temp2 ;
32577 PyObject * obj0 = 0 ;
32578 PyObject * obj1 = 0 ;
32579 char *kwnames[] = {
32580 (char *) "self",(char *) "o", NULL
32581 };
32582
32583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
32584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32585 {
32586 arg2 = &temp2;
32587 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
32588 }
32589 {
32590 PyThreadState* __tstate = wxPyBeginAllowThreads();
32591 result = (bool)((wxGBSpan const *)arg1)->operator ==((wxGBSpan const &)*arg2);
32592
32593 wxPyEndAllowThreads(__tstate);
32594 if (PyErr_Occurred()) SWIG_fail;
32595 }
32596 resultobj = PyInt_FromLong((long)result);
32597 return resultobj;
32598 fail:
32599 return NULL;
32600}
32601
32602
32603static PyObject *_wrap_GBSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
32604 PyObject *resultobj;
32605 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32606 wxGBSpan *arg2 = 0 ;
32607 bool result;
32608 wxGBSpan temp2 ;
32609 PyObject * obj0 = 0 ;
32610 PyObject * obj1 = 0 ;
32611 char *kwnames[] = {
32612 (char *) "self",(char *) "o", NULL
32613 };
32614
32615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
32616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32617 {
32618 arg2 = &temp2;
32619 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
32620 }
32621 {
32622 PyThreadState* __tstate = wxPyBeginAllowThreads();
32623 result = (bool)((wxGBSpan const *)arg1)->operator !=((wxGBSpan const &)*arg2);
32624
32625 wxPyEndAllowThreads(__tstate);
32626 if (PyErr_Occurred()) SWIG_fail;
32627 }
32628 resultobj = PyInt_FromLong((long)result);
32629 return resultobj;
32630 fail:
32631 return NULL;
32632}
32633
32634
423f194a
RD
32635static PyObject *_wrap_GBSpan_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
32636 PyObject *resultobj;
32637 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32638 int arg2 = (int) 1 ;
32639 int arg3 = (int) 1 ;
32640 PyObject * obj0 = 0 ;
32641 char *kwnames[] = {
32642 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
32643 };
32644
32645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:GBSpan_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
32646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32647 {
32648 PyThreadState* __tstate = wxPyBeginAllowThreads();
32649 wxGBSpan_Set(arg1,arg2,arg3);
32650
32651 wxPyEndAllowThreads(__tstate);
32652 if (PyErr_Occurred()) SWIG_fail;
32653 }
32654 Py_INCREF(Py_None); resultobj = Py_None;
32655 return resultobj;
32656 fail:
32657 return NULL;
32658}
32659
32660
32661static PyObject *_wrap_GBSpan_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32662 PyObject *resultobj;
32663 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32664 PyObject *result;
32665 PyObject * obj0 = 0 ;
32666 char *kwnames[] = {
32667 (char *) "self", NULL
32668 };
32669
423f194a 32670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
32671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32672 {
32673 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 32674 result = (PyObject *)wxGBSpan_Get(arg1);
d14a1e28
RD
32675
32676 wxPyEndAllowThreads(__tstate);
32677 if (PyErr_Occurred()) SWIG_fail;
32678 }
32679 resultobj = result;
32680 return resultobj;
32681 fail:
32682 return NULL;
32683}
32684
32685
32686static PyObject * GBSpan_swigregister(PyObject *self, PyObject *args) {
32687 PyObject *obj;
32688 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32689 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
32690 Py_INCREF(obj);
32691 return Py_BuildValue((char *)"");
32692}
32693static int _wrap_DefaultSpan_set(PyObject *_val) {
32694 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
32695 return 1;
32696}
32697
32698
32699static PyObject *_wrap_DefaultSpan_get() {
32700 PyObject *pyobj;
32701
32702 pyobj = SWIG_NewPointerObj((void *) &wxDefaultSpan, SWIGTYPE_p_wxGBSpan, 0);
32703 return pyobj;
32704}
32705
32706
32707static PyObject *_wrap_new_GBSizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
32708 PyObject *resultobj;
32709 wxGBSizerItem *result;
32710 char *kwnames[] = {
32711 NULL
32712 };
32713
32714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
32715 {
32716 PyThreadState* __tstate = wxPyBeginAllowThreads();
32717 result = (wxGBSizerItem *)new wxGBSizerItem();
32718
32719 wxPyEndAllowThreads(__tstate);
32720 if (PyErr_Occurred()) SWIG_fail;
32721 }
32722 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32723 return resultobj;
32724 fail:
32725 return NULL;
32726}
32727
32728
32729static PyObject *_wrap_new_GBSizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
32730 PyObject *resultobj;
32731 wxWindow *arg1 = (wxWindow *) 0 ;
32732 wxGBPosition *arg2 = 0 ;
32733 wxGBSpan *arg3 = 0 ;
32734 int arg4 ;
32735 int arg5 ;
32736 wxObject *arg6 = (wxObject *) 0 ;
32737 wxGBSizerItem *result;
32738 wxGBPosition temp2 ;
32739 wxGBSpan temp3 ;
32740 PyObject * obj0 = 0 ;
32741 PyObject * obj1 = 0 ;
32742 PyObject * obj2 = 0 ;
32743 PyObject * obj5 = 0 ;
32744 char *kwnames[] = {
32745 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32746 };
32747
32748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiiO:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
32749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32750 {
32751 arg2 = &temp2;
32752 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32753 }
32754 {
32755 arg3 = &temp3;
32756 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
32757 }
32758 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32759 {
32760 PyThreadState* __tstate = wxPyBeginAllowThreads();
32761 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
32762
32763 wxPyEndAllowThreads(__tstate);
32764 if (PyErr_Occurred()) SWIG_fail;
32765 }
32766 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32767 return resultobj;
32768 fail:
32769 return NULL;
32770}
32771
32772
32773static PyObject *_wrap_new_GBSizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32774 PyObject *resultobj;
32775 wxSizer *arg1 = (wxSizer *) 0 ;
32776 wxGBPosition *arg2 = 0 ;
32777 wxGBSpan *arg3 = 0 ;
32778 int arg4 ;
32779 int arg5 ;
32780 wxObject *arg6 = (wxObject *) 0 ;
32781 wxGBSizerItem *result;
32782 wxGBPosition temp2 ;
32783 wxGBSpan temp3 ;
32784 PyObject * obj0 = 0 ;
32785 PyObject * obj1 = 0 ;
32786 PyObject * obj2 = 0 ;
32787 PyObject * obj5 = 0 ;
32788 char *kwnames[] = {
32789 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32790 };
32791
32792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiiO:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
32793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32794 {
32795 arg2 = &temp2;
32796 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32797 }
32798 {
32799 arg3 = &temp3;
32800 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
32801 }
32802 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32803 {
32804 PyThreadState* __tstate = wxPyBeginAllowThreads();
32805 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
32806
32807 wxPyEndAllowThreads(__tstate);
32808 if (PyErr_Occurred()) SWIG_fail;
32809 }
32810 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32811 return resultobj;
32812 fail:
32813 return NULL;
32814}
32815
32816
32817static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
32818 PyObject *resultobj;
32819 int arg1 ;
32820 int arg2 ;
32821 wxGBPosition *arg3 = 0 ;
32822 wxGBSpan *arg4 = 0 ;
32823 int arg5 ;
32824 int arg6 ;
32825 wxObject *arg7 = (wxObject *) 0 ;
32826 wxGBSizerItem *result;
32827 wxGBPosition temp3 ;
32828 wxGBSpan temp4 ;
32829 PyObject * obj2 = 0 ;
32830 PyObject * obj3 = 0 ;
32831 PyObject * obj6 = 0 ;
32832 char *kwnames[] = {
32833 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32834 };
32835
32836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiOOiiO:new_GBSizerItemSpacer",kwnames,&arg1,&arg2,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
32837 {
32838 arg3 = &temp3;
32839 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
32840 }
32841 {
32842 arg4 = &temp4;
32843 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
32844 }
32845 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32846 {
32847 PyThreadState* __tstate = wxPyBeginAllowThreads();
32848 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
32849
32850 wxPyEndAllowThreads(__tstate);
32851 if (PyErr_Occurred()) SWIG_fail;
32852 }
32853 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32854 return resultobj;
32855 fail:
32856 return NULL;
32857}
32858
32859
32860static PyObject *_wrap_GBSizerItem_GetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
32861 PyObject *resultobj;
32862 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32863 wxGBPosition result;
32864 PyObject * obj0 = 0 ;
32865 char *kwnames[] = {
32866 (char *) "self", NULL
32867 };
32868
32869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
32870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32871 {
32872 PyThreadState* __tstate = wxPyBeginAllowThreads();
32873 result = ((wxGBSizerItem const *)arg1)->GetPos();
32874
32875 wxPyEndAllowThreads(__tstate);
32876 if (PyErr_Occurred()) SWIG_fail;
32877 }
32878 {
32879 wxGBPosition * resultptr;
32880 resultptr = new wxGBPosition((wxGBPosition &) result);
32881 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
32882 }
32883 return resultobj;
32884 fail:
32885 return NULL;
32886}
32887
32888
32889static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
32890 PyObject *resultobj;
32891 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32892 wxGBSpan result;
32893 PyObject * obj0 = 0 ;
32894 char *kwnames[] = {
32895 (char *) "self", NULL
32896 };
32897
32898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
32899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32900 {
32901 PyThreadState* __tstate = wxPyBeginAllowThreads();
32902 result = ((wxGBSizerItem const *)arg1)->GetSpan();
32903
32904 wxPyEndAllowThreads(__tstate);
32905 if (PyErr_Occurred()) SWIG_fail;
32906 }
32907 {
32908 wxGBSpan * resultptr;
32909 resultptr = new wxGBSpan((wxGBSpan &) result);
32910 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
32911 }
32912 return resultobj;
32913 fail:
32914 return NULL;
32915}
32916
32917
32918static PyObject *_wrap_GBSizerItem_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
32919 PyObject *resultobj;
32920 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32921 wxGBPosition *arg2 = 0 ;
32922 bool result;
32923 wxGBPosition temp2 ;
32924 PyObject * obj0 = 0 ;
32925 PyObject * obj1 = 0 ;
32926 char *kwnames[] = {
32927 (char *) "self",(char *) "pos", NULL
32928 };
32929
32930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
32931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32932 {
32933 arg2 = &temp2;
32934 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32935 }
32936 {
32937 PyThreadState* __tstate = wxPyBeginAllowThreads();
32938 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
32939
32940 wxPyEndAllowThreads(__tstate);
32941 if (PyErr_Occurred()) SWIG_fail;
32942 }
32943 resultobj = PyInt_FromLong((long)result);
32944 return resultobj;
32945 fail:
32946 return NULL;
32947}
32948
32949
32950static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
32951 PyObject *resultobj;
32952 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32953 wxGBSpan *arg2 = 0 ;
32954 bool result;
32955 wxGBSpan temp2 ;
32956 PyObject * obj0 = 0 ;
32957 PyObject * obj1 = 0 ;
32958 char *kwnames[] = {
32959 (char *) "self",(char *) "span", NULL
32960 };
32961
32962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
32963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32964 {
32965 arg2 = &temp2;
32966 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
32967 }
32968 {
32969 PyThreadState* __tstate = wxPyBeginAllowThreads();
32970 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
32971
32972 wxPyEndAllowThreads(__tstate);
32973 if (PyErr_Occurred()) SWIG_fail;
32974 }
32975 resultobj = PyInt_FromLong((long)result);
32976 return resultobj;
32977 fail:
32978 return NULL;
32979}
32980
32981
32982static PyObject *_wrap_GBSizerItem_Intersects__SWIG_0(PyObject *self, PyObject *args) {
32983 PyObject *resultobj;
32984 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32985 wxGBSizerItem *arg2 = 0 ;
32986 bool result;
32987 PyObject * obj0 = 0 ;
32988 PyObject * obj1 = 0 ;
32989
32990 if(!PyArg_ParseTuple(args,(char *)"OO:GBSizerItem_Intersects",&obj0,&obj1)) goto fail;
32991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32992 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32993 if (arg2 == NULL) {
32994 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
32995 }
32996 {
32997 PyThreadState* __tstate = wxPyBeginAllowThreads();
32998 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
32999
33000 wxPyEndAllowThreads(__tstate);
33001 if (PyErr_Occurred()) SWIG_fail;
33002 }
33003 resultobj = PyInt_FromLong((long)result);
33004 return resultobj;
33005 fail:
33006 return NULL;
33007}
33008
33009
33010static PyObject *_wrap_GBSizerItem_Intersects__SWIG_1(PyObject *self, PyObject *args) {
33011 PyObject *resultobj;
33012 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
33013 wxGBPosition *arg2 = 0 ;
33014 wxGBSpan *arg3 = 0 ;
33015 bool result;
33016 wxGBPosition temp2 ;
33017 wxGBSpan temp3 ;
33018 PyObject * obj0 = 0 ;
33019 PyObject * obj1 = 0 ;
33020 PyObject * obj2 = 0 ;
33021
33022 if(!PyArg_ParseTuple(args,(char *)"OOO:GBSizerItem_Intersects",&obj0,&obj1,&obj2)) goto fail;
33023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33024 {
33025 arg2 = &temp2;
33026 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
33027 }
33028 {
33029 arg3 = &temp3;
33030 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33031 }
33032 {
33033 PyThreadState* __tstate = wxPyBeginAllowThreads();
33034 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
33035
33036 wxPyEndAllowThreads(__tstate);
33037 if (PyErr_Occurred()) SWIG_fail;
33038 }
33039 resultobj = PyInt_FromLong((long)result);
33040 return resultobj;
33041 fail:
33042 return NULL;
33043}
33044
33045
33046static PyObject *_wrap_GBSizerItem_Intersects(PyObject *self, PyObject *args) {
33047 int argc;
33048 PyObject *argv[4];
33049 int ii;
33050
33051 argc = PyObject_Length(args);
33052 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
33053 argv[ii] = PyTuple_GetItem(args,ii);
33054 }
33055 if (argc == 2) {
33056 int _v;
33057 {
33058 void *ptr;
33059 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
33060 _v = 0;
33061 PyErr_Clear();
33062 } else {
33063 _v = 1;
33064 }
33065 }
33066 if (_v) {
33067 {
33068 void *ptr;
33069 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
33070 _v = 0;
33071 PyErr_Clear();
33072 } else {
33073 _v = 1;
33074 }
33075 }
33076 if (_v) {
33077 return _wrap_GBSizerItem_Intersects__SWIG_0(self,args);
33078 }
33079 }
33080 }
33081 if (argc == 3) {
33082 int _v;
33083 {
33084 void *ptr;
33085 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
33086 _v = 0;
33087 PyErr_Clear();
33088 } else {
33089 _v = 1;
33090 }
33091 }
33092 if (_v) {
33093 {
33094 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
33095 }
33096 if (_v) {
33097 {
33098 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
33099 }
33100 if (_v) {
33101 return _wrap_GBSizerItem_Intersects__SWIG_1(self,args);
33102 }
33103 }
33104 }
33105 }
33106
33107 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GBSizerItem_Intersects'");
33108 return NULL;
33109}
33110
33111
33112static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *self, PyObject *args, PyObject *kwargs) {
33113 PyObject *resultobj;
33114 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
33115 int *arg2 = 0 ;
33116 int *arg3 = 0 ;
33117 PyObject * obj0 = 0 ;
33118 PyObject * obj1 = 0 ;
33119 PyObject * obj2 = 0 ;
33120 char *kwnames[] = {
33121 (char *) "self",(char *) "row",(char *) "col", NULL
33122 };
33123
33124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_GetEndPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
33125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33126 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33127 if (arg2 == NULL) {
33128 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
33129 }
33130 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33131 if (arg3 == NULL) {
33132 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
33133 }
33134 {
33135 PyThreadState* __tstate = wxPyBeginAllowThreads();
33136 (arg1)->GetEndPos(*arg2,*arg3);
33137
33138 wxPyEndAllowThreads(__tstate);
33139 if (PyErr_Occurred()) SWIG_fail;
33140 }
33141 Py_INCREF(Py_None); resultobj = Py_None;
33142 return resultobj;
33143 fail:
33144 return NULL;
33145}
33146
33147
33148static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33149 PyObject *resultobj;
33150 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
33151 wxGridBagSizer *result;
33152 PyObject * obj0 = 0 ;
33153 char *kwnames[] = {
33154 (char *) "self", NULL
33155 };
33156
33157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
33158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33159 {
33160 PyThreadState* __tstate = wxPyBeginAllowThreads();
33161 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
33162
33163 wxPyEndAllowThreads(__tstate);
33164 if (PyErr_Occurred()) SWIG_fail;
33165 }
33166 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridBagSizer, 0);
33167 return resultobj;
33168 fail:
33169 return NULL;
33170}
33171
33172
33173static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33174 PyObject *resultobj;
33175 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
33176 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
33177 PyObject * obj0 = 0 ;
33178 PyObject * obj1 = 0 ;
33179 char *kwnames[] = {
33180 (char *) "self",(char *) "sizer", NULL
33181 };
33182
33183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
33184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33185 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33186 {
33187 PyThreadState* __tstate = wxPyBeginAllowThreads();
33188 (arg1)->SetGBSizer(arg2);
33189
33190 wxPyEndAllowThreads(__tstate);
33191 if (PyErr_Occurred()) SWIG_fail;
33192 }
33193 Py_INCREF(Py_None); resultobj = Py_None;
33194 return resultobj;
33195 fail:
33196 return NULL;
33197}
33198
33199
33200static PyObject * GBSizerItem_swigregister(PyObject *self, PyObject *args) {
33201 PyObject *obj;
33202 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33203 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
33204 Py_INCREF(obj);
33205 return Py_BuildValue((char *)"");
33206}
33207static PyObject *_wrap_new_GridBagSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33208 PyObject *resultobj;
33209 int arg1 = (int) 0 ;
33210 int arg2 = (int) 0 ;
33211 wxGridBagSizer *result;
33212 char *kwnames[] = {
33213 (char *) "vgap",(char *) "hgap", NULL
33214 };
33215
33216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GridBagSizer",kwnames,&arg1,&arg2)) goto fail;
33217 {
33218 PyThreadState* __tstate = wxPyBeginAllowThreads();
33219 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
33220
33221 wxPyEndAllowThreads(__tstate);
33222 if (PyErr_Occurred()) SWIG_fail;
33223 }
33224 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridBagSizer, 1);
33225 return resultobj;
33226 fail:
33227 return NULL;
33228}
33229
33230
33231static PyObject *_wrap_GridBagSizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
33232 PyObject *resultobj;
33233 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33234 PyObject *arg2 = (PyObject *) 0 ;
33235 wxGBPosition *arg3 = 0 ;
33236 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
33237 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
33238 int arg5 = (int) 0 ;
33239 int arg6 = (int) 0 ;
33240 PyObject *arg7 = (PyObject *) NULL ;
33241 bool result;
33242 wxGBPosition temp3 ;
33243 wxGBSpan temp4 ;
33244 PyObject * obj0 = 0 ;
33245 PyObject * obj1 = 0 ;
33246 PyObject * obj2 = 0 ;
33247 PyObject * obj3 = 0 ;
33248 PyObject * obj6 = 0 ;
33249 char *kwnames[] = {
33250 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
33251 };
33252
33253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
33254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33255 arg2 = obj1;
33256 {
33257 arg3 = &temp3;
33258 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33259 }
33260 if (obj3) {
33261 {
33262 arg4 = &temp4;
33263 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
33264 }
33265 }
33266 if (obj6) {
33267 arg7 = obj6;
33268 }
33269 {
33270 PyThreadState* __tstate = wxPyBeginAllowThreads();
33271 result = (bool)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
33272
33273 wxPyEndAllowThreads(__tstate);
33274 if (PyErr_Occurred()) SWIG_fail;
33275 }
33276 resultobj = PyInt_FromLong((long)result);
33277 return resultobj;
33278 fail:
33279 return NULL;
33280}
33281
33282
33283static PyObject *_wrap_GridBagSizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
33284 PyObject *resultobj;
33285 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33286 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
33287 bool result;
33288 PyObject * obj0 = 0 ;
33289 PyObject * obj1 = 0 ;
33290 char *kwnames[] = {
33291 (char *) "self",(char *) "item", NULL
33292 };
33293
33294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
33295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33296 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33297 {
33298 PyThreadState* __tstate = wxPyBeginAllowThreads();
33299 result = (bool)(arg1)->Add(arg2);
33300
33301 wxPyEndAllowThreads(__tstate);
33302 if (PyErr_Occurred()) SWIG_fail;
33303 }
33304 resultobj = PyInt_FromLong((long)result);
33305 return resultobj;
33306 fail:
33307 return NULL;
33308}
33309
33310
33311static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33312 PyObject *resultobj;
33313 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33314 wxSize result;
33315 PyObject * obj0 = 0 ;
33316 char *kwnames[] = {
33317 (char *) "self", NULL
33318 };
33319
33320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
33321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33322 {
33323 PyThreadState* __tstate = wxPyBeginAllowThreads();
33324 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
33325
33326 wxPyEndAllowThreads(__tstate);
33327 if (PyErr_Occurred()) SWIG_fail;
33328 }
33329 {
33330 wxSize * resultptr;
33331 resultptr = new wxSize((wxSize &) result);
33332 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
33333 }
33334 return resultobj;
33335 fail:
33336 return NULL;
33337}
33338
33339
33340static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33341 PyObject *resultobj;
33342 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33343 wxSize *arg2 = 0 ;
33344 wxSize temp2 ;
33345 PyObject * obj0 = 0 ;
33346 PyObject * obj1 = 0 ;
33347 char *kwnames[] = {
33348 (char *) "self",(char *) "sz", NULL
33349 };
33350
33351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
33352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33353 {
33354 arg2 = &temp2;
33355 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
33356 }
33357 {
33358 PyThreadState* __tstate = wxPyBeginAllowThreads();
33359 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
33360
33361 wxPyEndAllowThreads(__tstate);
33362 if (PyErr_Occurred()) SWIG_fail;
33363 }
33364 Py_INCREF(Py_None); resultobj = Py_None;
33365 return resultobj;
33366 fail:
33367 return NULL;
33368}
33369
33370
33371static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
33372 PyObject *resultobj;
33373 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33374 wxWindow *arg2 = (wxWindow *) 0 ;
33375 wxGBPosition result;
33376 PyObject * obj0 = 0 ;
33377 PyObject * obj1 = 0 ;
33378
33379 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
33380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33381 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33382 {
33383 PyThreadState* __tstate = wxPyBeginAllowThreads();
33384 result = (arg1)->GetItemPosition(arg2);
33385
33386 wxPyEndAllowThreads(__tstate);
33387 if (PyErr_Occurred()) SWIG_fail;
33388 }
33389 {
33390 wxGBPosition * resultptr;
33391 resultptr = new wxGBPosition((wxGBPosition &) result);
33392 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
33393 }
33394 return resultobj;
33395 fail:
33396 return NULL;
33397}
33398
33399
33400static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
33401 PyObject *resultobj;
33402 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33403 wxSizer *arg2 = (wxSizer *) 0 ;
33404 wxGBPosition result;
33405 PyObject * obj0 = 0 ;
33406 PyObject * obj1 = 0 ;
33407
33408 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
33409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33410 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33411 {
33412 PyThreadState* __tstate = wxPyBeginAllowThreads();
33413 result = (arg1)->GetItemPosition(arg2);
33414
33415 wxPyEndAllowThreads(__tstate);
33416 if (PyErr_Occurred()) SWIG_fail;
33417 }
33418 {
33419 wxGBPosition * resultptr;
33420 resultptr = new wxGBPosition((wxGBPosition &) result);
33421 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
33422 }
33423 return resultobj;
33424 fail:
33425 return NULL;
33426}
33427
33428
33429static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
33430 PyObject *resultobj;
33431 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33432 size_t arg2 ;
33433 wxGBPosition result;
33434 PyObject * obj0 = 0 ;
33435 PyObject * obj1 = 0 ;
33436
33437 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
33438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33439 arg2 = (size_t) PyInt_AsLong(obj1);
33440 if (PyErr_Occurred()) SWIG_fail;
33441 {
33442 PyThreadState* __tstate = wxPyBeginAllowThreads();
33443 result = (arg1)->GetItemPosition(arg2);
33444
33445 wxPyEndAllowThreads(__tstate);
33446 if (PyErr_Occurred()) SWIG_fail;
33447 }
33448 {
33449 wxGBPosition * resultptr;
33450 resultptr = new wxGBPosition((wxGBPosition &) result);
33451 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
33452 }
33453 return resultobj;
33454 fail:
33455 return NULL;
33456}
33457
33458
33459static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
33460 int argc;
33461 PyObject *argv[3];
33462 int ii;
33463
33464 argc = PyObject_Length(args);
33465 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
33466 argv[ii] = PyTuple_GetItem(args,ii);
33467 }
33468 if (argc == 2) {
33469 int _v;
33470 {
33471 void *ptr;
33472 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33473 _v = 0;
33474 PyErr_Clear();
33475 } else {
33476 _v = 1;
33477 }
33478 }
33479 if (_v) {
33480 {
33481 void *ptr;
33482 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33483 _v = 0;
33484 PyErr_Clear();
33485 } else {
33486 _v = 1;
33487 }
33488 }
33489 if (_v) {
33490 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
33491 }
33492 }
33493 }
33494 if (argc == 2) {
33495 int _v;
33496 {
33497 void *ptr;
33498 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33499 _v = 0;
33500 PyErr_Clear();
33501 } else {
33502 _v = 1;
33503 }
33504 }
33505 if (_v) {
33506 {
33507 void *ptr;
33508 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33509 _v = 0;
33510 PyErr_Clear();
33511 } else {
33512 _v = 1;
33513 }
33514 }
33515 if (_v) {
33516 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
33517 }
33518 }
33519 }
33520 if (argc == 2) {
33521 int _v;
33522 {
33523 void *ptr;
33524 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33525 _v = 0;
33526 PyErr_Clear();
33527 } else {
33528 _v = 1;
33529 }
33530 }
33531 if (_v) {
33532 {
33533 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
33534 }
33535 if (_v) {
33536 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
33537 }
33538 }
33539 }
33540
33541 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
33542 return NULL;
33543}
33544
33545
33546static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
33547 PyObject *resultobj;
33548 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33549 wxWindow *arg2 = (wxWindow *) 0 ;
33550 wxGBPosition *arg3 = 0 ;
33551 bool result;
33552 wxGBPosition temp3 ;
33553 PyObject * obj0 = 0 ;
33554 PyObject * obj1 = 0 ;
33555 PyObject * obj2 = 0 ;
33556
33557 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
33558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33559 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33560 {
33561 arg3 = &temp3;
33562 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33563 }
33564 {
33565 PyThreadState* __tstate = wxPyBeginAllowThreads();
33566 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
33567
33568 wxPyEndAllowThreads(__tstate);
33569 if (PyErr_Occurred()) SWIG_fail;
33570 }
33571 resultobj = PyInt_FromLong((long)result);
33572 return resultobj;
33573 fail:
33574 return NULL;
33575}
33576
33577
33578static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
33579 PyObject *resultobj;
33580 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33581 wxSizer *arg2 = (wxSizer *) 0 ;
33582 wxGBPosition *arg3 = 0 ;
33583 bool result;
33584 wxGBPosition temp3 ;
33585 PyObject * obj0 = 0 ;
33586 PyObject * obj1 = 0 ;
33587 PyObject * obj2 = 0 ;
33588
33589 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
33590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33591 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33592 {
33593 arg3 = &temp3;
33594 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33595 }
33596 {
33597 PyThreadState* __tstate = wxPyBeginAllowThreads();
33598 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
33599
33600 wxPyEndAllowThreads(__tstate);
33601 if (PyErr_Occurred()) SWIG_fail;
33602 }
33603 resultobj = PyInt_FromLong((long)result);
33604 return resultobj;
33605 fail:
33606 return NULL;
33607}
33608
33609
33610static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
33611 PyObject *resultobj;
33612 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33613 size_t arg2 ;
33614 wxGBPosition *arg3 = 0 ;
33615 bool result;
33616 wxGBPosition temp3 ;
33617 PyObject * obj0 = 0 ;
33618 PyObject * obj1 = 0 ;
33619 PyObject * obj2 = 0 ;
33620
33621 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
33622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33623 arg2 = (size_t) PyInt_AsLong(obj1);
33624 if (PyErr_Occurred()) SWIG_fail;
33625 {
33626 arg3 = &temp3;
33627 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33628 }
33629 {
33630 PyThreadState* __tstate = wxPyBeginAllowThreads();
33631 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
33632
33633 wxPyEndAllowThreads(__tstate);
33634 if (PyErr_Occurred()) SWIG_fail;
33635 }
33636 resultobj = PyInt_FromLong((long)result);
33637 return resultobj;
33638 fail:
33639 return NULL;
33640}
33641
33642
33643static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
33644 int argc;
33645 PyObject *argv[4];
33646 int ii;
33647
33648 argc = PyObject_Length(args);
33649 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
33650 argv[ii] = PyTuple_GetItem(args,ii);
33651 }
33652 if (argc == 3) {
33653 int _v;
33654 {
33655 void *ptr;
33656 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33657 _v = 0;
33658 PyErr_Clear();
33659 } else {
33660 _v = 1;
33661 }
33662 }
33663 if (_v) {
33664 {
33665 void *ptr;
33666 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33667 _v = 0;
33668 PyErr_Clear();
33669 } else {
33670 _v = 1;
33671 }
33672 }
33673 if (_v) {
33674 {
33675 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
33676 }
33677 if (_v) {
33678 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
33679 }
33680 }
33681 }
33682 }
33683 if (argc == 3) {
33684 int _v;
33685 {
33686 void *ptr;
33687 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33688 _v = 0;
33689 PyErr_Clear();
33690 } else {
33691 _v = 1;
33692 }
33693 }
33694 if (_v) {
33695 {
33696 void *ptr;
33697 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33698 _v = 0;
33699 PyErr_Clear();
33700 } else {
33701 _v = 1;
33702 }
33703 }
33704 if (_v) {
33705 {
33706 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
33707 }
33708 if (_v) {
33709 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
33710 }
33711 }
33712 }
33713 }
33714 if (argc == 3) {
33715 int _v;
33716 {
33717 void *ptr;
33718 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33719 _v = 0;
33720 PyErr_Clear();
33721 } else {
33722 _v = 1;
33723 }
33724 }
33725 if (_v) {
33726 {
33727 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
33728 }
33729 if (_v) {
33730 {
33731 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
33732 }
33733 if (_v) {
33734 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
33735 }
33736 }
33737 }
33738 }
33739
33740 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
33741 return NULL;
33742}
33743
33744
33745static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
33746 PyObject *resultobj;
33747 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33748 wxWindow *arg2 = (wxWindow *) 0 ;
33749 wxGBSpan result;
33750 PyObject * obj0 = 0 ;
33751 PyObject * obj1 = 0 ;
33752
33753 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
33754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33755 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33756 {
33757 PyThreadState* __tstate = wxPyBeginAllowThreads();
33758 result = (arg1)->GetItemSpan(arg2);
33759
33760 wxPyEndAllowThreads(__tstate);
33761 if (PyErr_Occurred()) SWIG_fail;
33762 }
33763 {
33764 wxGBSpan * resultptr;
33765 resultptr = new wxGBSpan((wxGBSpan &) result);
33766 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
33767 }
33768 return resultobj;
33769 fail:
33770 return NULL;
33771}
33772
33773
33774static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
33775 PyObject *resultobj;
33776 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33777 wxSizer *arg2 = (wxSizer *) 0 ;
33778 wxGBSpan result;
33779 PyObject * obj0 = 0 ;
33780 PyObject * obj1 = 0 ;
33781
33782 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
33783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33784 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33785 {
33786 PyThreadState* __tstate = wxPyBeginAllowThreads();
33787 result = (arg1)->GetItemSpan(arg2);
33788
33789 wxPyEndAllowThreads(__tstate);
33790 if (PyErr_Occurred()) SWIG_fail;
33791 }
33792 {
33793 wxGBSpan * resultptr;
33794 resultptr = new wxGBSpan((wxGBSpan &) result);
33795 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
33796 }
33797 return resultobj;
33798 fail:
33799 return NULL;
33800}
33801
33802
33803static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
33804 PyObject *resultobj;
33805 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33806 size_t arg2 ;
33807 wxGBSpan result;
33808 PyObject * obj0 = 0 ;
33809 PyObject * obj1 = 0 ;
33810
33811 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
33812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33813 arg2 = (size_t) PyInt_AsLong(obj1);
33814 if (PyErr_Occurred()) SWIG_fail;
33815 {
33816 PyThreadState* __tstate = wxPyBeginAllowThreads();
33817 result = (arg1)->GetItemSpan(arg2);
33818
33819 wxPyEndAllowThreads(__tstate);
33820 if (PyErr_Occurred()) SWIG_fail;
33821 }
33822 {
33823 wxGBSpan * resultptr;
33824 resultptr = new wxGBSpan((wxGBSpan &) result);
33825 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
33826 }
33827 return resultobj;
33828 fail:
33829 return NULL;
33830}
33831
33832
33833static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
33834 int argc;
33835 PyObject *argv[3];
33836 int ii;
33837
33838 argc = PyObject_Length(args);
33839 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
33840 argv[ii] = PyTuple_GetItem(args,ii);
33841 }
33842 if (argc == 2) {
33843 int _v;
33844 {
33845 void *ptr;
33846 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33847 _v = 0;
33848 PyErr_Clear();
33849 } else {
33850 _v = 1;
33851 }
33852 }
33853 if (_v) {
33854 {
33855 void *ptr;
33856 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33857 _v = 0;
33858 PyErr_Clear();
33859 } else {
33860 _v = 1;
33861 }
33862 }
33863 if (_v) {
33864 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
33865 }
33866 }
33867 }
33868 if (argc == 2) {
33869 int _v;
33870 {
33871 void *ptr;
33872 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33873 _v = 0;
33874 PyErr_Clear();
33875 } else {
33876 _v = 1;
33877 }
33878 }
33879 if (_v) {
33880 {
33881 void *ptr;
33882 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33883 _v = 0;
33884 PyErr_Clear();
33885 } else {
33886 _v = 1;
33887 }
33888 }
33889 if (_v) {
33890 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
33891 }
33892 }
33893 }
33894 if (argc == 2) {
33895 int _v;
33896 {
33897 void *ptr;
33898 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33899 _v = 0;
33900 PyErr_Clear();
33901 } else {
33902 _v = 1;
33903 }
33904 }
33905 if (_v) {
33906 {
33907 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
33908 }
33909 if (_v) {
33910 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
33911 }
33912 }
33913 }
33914
33915 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
33916 return NULL;
33917}
33918
33919
33920static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
33921 PyObject *resultobj;
33922 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33923 wxWindow *arg2 = (wxWindow *) 0 ;
33924 wxGBSpan *arg3 = 0 ;
33925 bool result;
33926 wxGBSpan temp3 ;
33927 PyObject * obj0 = 0 ;
33928 PyObject * obj1 = 0 ;
33929 PyObject * obj2 = 0 ;
33930
33931 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
33932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33933 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33934 {
33935 arg3 = &temp3;
33936 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33937 }
33938 {
33939 PyThreadState* __tstate = wxPyBeginAllowThreads();
33940 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
33941
33942 wxPyEndAllowThreads(__tstate);
33943 if (PyErr_Occurred()) SWIG_fail;
33944 }
33945 resultobj = PyInt_FromLong((long)result);
33946 return resultobj;
33947 fail:
33948 return NULL;
33949}
33950
33951
33952static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
33953 PyObject *resultobj;
33954 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33955 wxSizer *arg2 = (wxSizer *) 0 ;
33956 wxGBSpan *arg3 = 0 ;
33957 bool result;
33958 wxGBSpan temp3 ;
33959 PyObject * obj0 = 0 ;
33960 PyObject * obj1 = 0 ;
33961 PyObject * obj2 = 0 ;
33962
33963 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
33964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33965 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33966 {
33967 arg3 = &temp3;
33968 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33969 }
33970 {
33971 PyThreadState* __tstate = wxPyBeginAllowThreads();
33972 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
33973
33974 wxPyEndAllowThreads(__tstate);
33975 if (PyErr_Occurred()) SWIG_fail;
33976 }
33977 resultobj = PyInt_FromLong((long)result);
33978 return resultobj;
33979 fail:
33980 return NULL;
33981}
33982
33983
33984static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
33985 PyObject *resultobj;
33986 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33987 size_t arg2 ;
33988 wxGBSpan *arg3 = 0 ;
33989 bool result;
33990 wxGBSpan temp3 ;
33991 PyObject * obj0 = 0 ;
33992 PyObject * obj1 = 0 ;
33993 PyObject * obj2 = 0 ;
33994
33995 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
33996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33997 arg2 = (size_t) PyInt_AsLong(obj1);
33998 if (PyErr_Occurred()) SWIG_fail;
33999 {
34000 arg3 = &temp3;
34001 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
34002 }
34003 {
34004 PyThreadState* __tstate = wxPyBeginAllowThreads();
34005 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
34006
34007 wxPyEndAllowThreads(__tstate);
34008 if (PyErr_Occurred()) SWIG_fail;
34009 }
34010 resultobj = PyInt_FromLong((long)result);
34011 return resultobj;
34012 fail:
34013 return NULL;
34014}
34015
34016
34017static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
34018 int argc;
34019 PyObject *argv[4];
34020 int ii;
34021
34022 argc = PyObject_Length(args);
34023 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
34024 argv[ii] = PyTuple_GetItem(args,ii);
34025 }
34026 if (argc == 3) {
34027 int _v;
34028 {
34029 void *ptr;
34030 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34031 _v = 0;
34032 PyErr_Clear();
34033 } else {
34034 _v = 1;
34035 }
34036 }
34037 if (_v) {
34038 {
34039 void *ptr;
34040 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
34041 _v = 0;
34042 PyErr_Clear();
34043 } else {
34044 _v = 1;
34045 }
34046 }
34047 if (_v) {
34048 {
34049 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
34050 }
34051 if (_v) {
34052 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
34053 }
34054 }
34055 }
34056 }
34057 if (argc == 3) {
34058 int _v;
34059 {
34060 void *ptr;
34061 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34062 _v = 0;
34063 PyErr_Clear();
34064 } else {
34065 _v = 1;
34066 }
34067 }
34068 if (_v) {
34069 {
34070 void *ptr;
34071 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
34072 _v = 0;
34073 PyErr_Clear();
34074 } else {
34075 _v = 1;
34076 }
34077 }
34078 if (_v) {
34079 {
34080 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
34081 }
34082 if (_v) {
34083 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
34084 }
34085 }
34086 }
34087 }
34088 if (argc == 3) {
34089 int _v;
34090 {
34091 void *ptr;
34092 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34093 _v = 0;
34094 PyErr_Clear();
34095 } else {
34096 _v = 1;
34097 }
34098 }
34099 if (_v) {
34100 {
34101 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
34102 }
34103 if (_v) {
34104 {
34105 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
34106 }
34107 if (_v) {
34108 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
34109 }
34110 }
34111 }
34112 }
34113
34114 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
34115 return NULL;
34116}
34117
34118
34119static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *self, PyObject *args) {
34120 PyObject *resultobj;
34121 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34122 wxWindow *arg2 = (wxWindow *) 0 ;
34123 wxGBSizerItem *result;
34124 PyObject * obj0 = 0 ;
34125 PyObject * obj1 = 0 ;
34126
34127 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
34128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34129 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34130 {
34131 PyThreadState* __tstate = wxPyBeginAllowThreads();
34132 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
34133
34134 wxPyEndAllowThreads(__tstate);
34135 if (PyErr_Occurred()) SWIG_fail;
34136 }
34137 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
34138 return resultobj;
34139 fail:
34140 return NULL;
34141}
34142
34143
34144static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *self, PyObject *args) {
34145 PyObject *resultobj;
34146 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34147 wxSizer *arg2 = (wxSizer *) 0 ;
34148 wxGBSizerItem *result;
34149 PyObject * obj0 = 0 ;
34150 PyObject * obj1 = 0 ;
34151
34152 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
34153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34154 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34155 {
34156 PyThreadState* __tstate = wxPyBeginAllowThreads();
34157 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
34158
34159 wxPyEndAllowThreads(__tstate);
34160 if (PyErr_Occurred()) SWIG_fail;
34161 }
34162 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
34163 return resultobj;
34164 fail:
34165 return NULL;
34166}
34167
34168
34169static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
34170 int argc;
34171 PyObject *argv[3];
34172 int ii;
34173
34174 argc = PyObject_Length(args);
34175 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
34176 argv[ii] = PyTuple_GetItem(args,ii);
34177 }
34178 if (argc == 2) {
34179 int _v;
34180 {
34181 void *ptr;
34182 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34183 _v = 0;
34184 PyErr_Clear();
34185 } else {
34186 _v = 1;
34187 }
34188 }
34189 if (_v) {
34190 {
34191 void *ptr;
34192 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
34193 _v = 0;
34194 PyErr_Clear();
34195 } else {
34196 _v = 1;
34197 }
34198 }
34199 if (_v) {
34200 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
34201 }
34202 }
34203 }
34204 if (argc == 2) {
34205 int _v;
34206 {
34207 void *ptr;
34208 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34209 _v = 0;
34210 PyErr_Clear();
34211 } else {
34212 _v = 1;
34213 }
34214 }
34215 if (_v) {
34216 {
34217 void *ptr;
34218 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
34219 _v = 0;
34220 PyErr_Clear();
34221 } else {
34222 _v = 1;
34223 }
34224 }
34225 if (_v) {
34226 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
34227 }
34228 }
34229 }
34230
34231 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_FindItem'");
34232 return NULL;
34233}
34234
34235
34236static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
34237 PyObject *resultobj;
34238 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34239 wxGBPosition *arg2 = 0 ;
34240 wxGBSizerItem *result;
34241 wxGBPosition temp2 ;
34242 PyObject * obj0 = 0 ;
34243 PyObject * obj1 = 0 ;
34244 char *kwnames[] = {
34245 (char *) "self",(char *) "pos", NULL
34246 };
34247
34248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
34249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34250 {
34251 arg2 = &temp2;
34252 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
34253 }
34254 {
34255 PyThreadState* __tstate = wxPyBeginAllowThreads();
34256 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
34257
34258 wxPyEndAllowThreads(__tstate);
34259 if (PyErr_Occurred()) SWIG_fail;
34260 }
34261 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
34262 return resultobj;
34263 fail:
34264 return NULL;
34265}
34266
34267
423f194a
RD
34268static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
34269 PyObject *resultobj;
34270 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34271 wxPoint *arg2 = 0 ;
34272 wxGBSizerItem *result;
34273 wxPoint temp2 ;
34274 PyObject * obj0 = 0 ;
34275 PyObject * obj1 = 0 ;
34276 char *kwnames[] = {
34277 (char *) "self",(char *) "pt", NULL
34278 };
34279
34280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
34281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34282 {
34283 arg2 = &temp2;
34284 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34285 }
34286 {
34287 PyThreadState* __tstate = wxPyBeginAllowThreads();
34288 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
34289
34290 wxPyEndAllowThreads(__tstate);
34291 if (PyErr_Occurred()) SWIG_fail;
34292 }
34293 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
34294 return resultobj;
34295 fail:
34296 return NULL;
34297}
34298
34299
d14a1e28
RD
34300static PyObject *_wrap_GridBagSizer_FindItemWithData(PyObject *self, PyObject *args, PyObject *kwargs) {
34301 PyObject *resultobj;
34302 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34303 wxObject *arg2 = (wxObject *) 0 ;
34304 wxGBSizerItem *result;
34305 PyObject * obj0 = 0 ;
34306 PyObject * obj1 = 0 ;
34307 char *kwnames[] = {
34308 (char *) "self",(char *) "userData", NULL
34309 };
34310
34311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemWithData",kwnames,&obj0,&obj1)) goto fail;
34312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34313 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34314 {
34315 PyThreadState* __tstate = wxPyBeginAllowThreads();
34316 result = (wxGBSizerItem *)(arg1)->FindItemWithData((wxObject const *)arg2);
34317
34318 wxPyEndAllowThreads(__tstate);
34319 if (PyErr_Occurred()) SWIG_fail;
34320 }
34321 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
34322 return resultobj;
34323 fail:
34324 return NULL;
34325}
34326
34327
34328static PyObject *_wrap_GridBagSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
34329 PyObject *resultobj;
34330 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34331 PyObject * obj0 = 0 ;
34332 char *kwnames[] = {
34333 (char *) "self", NULL
34334 };
34335
34336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_RecalcSizes",kwnames,&obj0)) goto fail;
34337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34338 {
34339 PyThreadState* __tstate = wxPyBeginAllowThreads();
34340 (arg1)->RecalcSizes();
34341
34342 wxPyEndAllowThreads(__tstate);
34343 if (PyErr_Occurred()) SWIG_fail;
34344 }
34345 Py_INCREF(Py_None); resultobj = Py_None;
34346 return resultobj;
34347 fail:
34348 return NULL;
34349}
34350
34351
34352static PyObject *_wrap_GridBagSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
34353 PyObject *resultobj;
34354 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34355 wxSize result;
34356 PyObject * obj0 = 0 ;
34357 char *kwnames[] = {
34358 (char *) "self", NULL
34359 };
34360
34361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_CalcMin",kwnames,&obj0)) goto fail;
34362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34363 {
34364 PyThreadState* __tstate = wxPyBeginAllowThreads();
34365 result = (arg1)->CalcMin();
34366
34367 wxPyEndAllowThreads(__tstate);
34368 if (PyErr_Occurred()) SWIG_fail;
34369 }
34370 {
34371 wxSize * resultptr;
34372 resultptr = new wxSize((wxSize &) result);
34373 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
34374 }
34375 return resultobj;
34376 fail:
34377 return NULL;
34378}
34379
34380
34381static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject *self, PyObject *args) {
34382 PyObject *resultobj;
34383 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34384 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
34385 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
34386 bool result;
34387 PyObject * obj0 = 0 ;
34388 PyObject * obj1 = 0 ;
34389 PyObject * obj2 = 0 ;
34390
34391 if(!PyArg_ParseTuple(args,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2)) goto fail;
34392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34393 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34394 if (obj2) {
34395 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34396 }
34397 {
34398 PyThreadState* __tstate = wxPyBeginAllowThreads();
34399 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
34400
34401 wxPyEndAllowThreads(__tstate);
34402 if (PyErr_Occurred()) SWIG_fail;
34403 }
34404 resultobj = PyInt_FromLong((long)result);
34405 return resultobj;
34406 fail:
34407 return NULL;
34408}
34409
34410
34411static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject *self, PyObject *args) {
34412 PyObject *resultobj;
34413 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34414 wxGBPosition *arg2 = 0 ;
34415 wxGBSpan *arg3 = 0 ;
34416 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
34417 bool result;
34418 wxGBPosition temp2 ;
34419 wxGBSpan temp3 ;
34420 PyObject * obj0 = 0 ;
34421 PyObject * obj1 = 0 ;
34422 PyObject * obj2 = 0 ;
34423 PyObject * obj3 = 0 ;
34424
34425 if(!PyArg_ParseTuple(args,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2,&obj3)) goto fail;
34426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34427 {
34428 arg2 = &temp2;
34429 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
34430 }
34431 {
34432 arg3 = &temp3;
34433 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
34434 }
34435 if (obj3) {
34436 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34437 }
34438 {
34439 PyThreadState* __tstate = wxPyBeginAllowThreads();
34440 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
34441
34442 wxPyEndAllowThreads(__tstate);
34443 if (PyErr_Occurred()) SWIG_fail;
34444 }
34445 resultobj = PyInt_FromLong((long)result);
34446 return resultobj;
34447 fail:
34448 return NULL;
34449}
34450
34451
34452static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *self, PyObject *args) {
34453 int argc;
34454 PyObject *argv[5];
34455 int ii;
34456
34457 argc = PyObject_Length(args);
34458 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
34459 argv[ii] = PyTuple_GetItem(args,ii);
34460 }
34461 if ((argc >= 2) && (argc <= 3)) {
34462 int _v;
34463 {
34464 void *ptr;
34465 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34466 _v = 0;
34467 PyErr_Clear();
34468 } else {
34469 _v = 1;
34470 }
34471 }
34472 if (_v) {
34473 {
34474 void *ptr;
34475 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
34476 _v = 0;
34477 PyErr_Clear();
34478 } else {
34479 _v = 1;
34480 }
34481 }
34482 if (_v) {
34483 if (argc <= 2) {
34484 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
34485 }
34486 {
34487 void *ptr;
34488 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
34489 _v = 0;
34490 PyErr_Clear();
34491 } else {
34492 _v = 1;
34493 }
34494 }
34495 if (_v) {
34496 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
34497 }
34498 }
34499 }
34500 }
34501 if ((argc >= 3) && (argc <= 4)) {
34502 int _v;
34503 {
34504 void *ptr;
34505 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34506 _v = 0;
34507 PyErr_Clear();
34508 } else {
34509 _v = 1;
34510 }
34511 }
34512 if (_v) {
34513 {
34514 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
34515 }
34516 if (_v) {
34517 {
34518 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
34519 }
34520 if (_v) {
34521 if (argc <= 3) {
34522 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
34523 }
34524 {
34525 void *ptr;
34526 if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
34527 _v = 0;
34528 PyErr_Clear();
34529 } else {
34530 _v = 1;
34531 }
34532 }
34533 if (_v) {
34534 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
34535 }
34536 }
34537 }
34538 }
34539 }
34540
34541 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
34542 return NULL;
34543}
34544
34545
34546static PyObject * GridBagSizer_swigregister(PyObject *self, PyObject *args) {
34547 PyObject *obj;
34548 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34549 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
34550 Py_INCREF(obj);
34551 return Py_BuildValue((char *)"");
34552}
34553static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
34554 PyObject *resultobj;
34555 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34556 int arg2 ;
34557 wxWindow *arg3 = (wxWindow *) 0 ;
34558 int arg4 ;
34559 int arg5 = (int) 0 ;
34560 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
34561 PyObject * obj0 = 0 ;
34562 PyObject * obj2 = 0 ;
34563 char *kwnames[] = {
34564 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
34565 };
34566
34567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOi|ii:IndividualLayoutConstraint_Set",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5,&arg6)) goto fail;
34568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34569 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34570 {
34571 PyThreadState* __tstate = wxPyBeginAllowThreads();
34572 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
34573
34574 wxPyEndAllowThreads(__tstate);
34575 if (PyErr_Occurred()) SWIG_fail;
34576 }
34577 Py_INCREF(Py_None); resultobj = Py_None;
34578 return resultobj;
34579 fail:
34580 return NULL;
34581}
34582
34583
34584static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args, PyObject *kwargs) {
34585 PyObject *resultobj;
34586 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34587 wxWindow *arg2 = (wxWindow *) 0 ;
34588 int arg3 = (int) 0 ;
34589 PyObject * obj0 = 0 ;
34590 PyObject * obj1 = 0 ;
34591 char *kwnames[] = {
34592 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34593 };
34594
34595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&arg3)) goto fail;
34596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34597 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34598 {
34599 PyThreadState* __tstate = wxPyBeginAllowThreads();
34600 (arg1)->LeftOf(arg2,arg3);
34601
34602 wxPyEndAllowThreads(__tstate);
34603 if (PyErr_Occurred()) SWIG_fail;
34604 }
34605 Py_INCREF(Py_None); resultobj = Py_None;
34606 return resultobj;
34607 fail:
34608 return NULL;
34609}
34610
34611
34612static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args, PyObject *kwargs) {
34613 PyObject *resultobj;
34614 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34615 wxWindow *arg2 = (wxWindow *) 0 ;
34616 int arg3 = (int) 0 ;
34617 PyObject * obj0 = 0 ;
34618 PyObject * obj1 = 0 ;
34619 char *kwnames[] = {
34620 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34621 };
34622
34623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&arg3)) goto fail;
34624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34625 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34626 {
34627 PyThreadState* __tstate = wxPyBeginAllowThreads();
34628 (arg1)->RightOf(arg2,arg3);
34629
34630 wxPyEndAllowThreads(__tstate);
34631 if (PyErr_Occurred()) SWIG_fail;
34632 }
34633 Py_INCREF(Py_None); resultobj = Py_None;
34634 return resultobj;
34635 fail:
34636 return NULL;
34637}
34638
34639
34640static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *self, PyObject *args, PyObject *kwargs) {
34641 PyObject *resultobj;
34642 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34643 wxWindow *arg2 = (wxWindow *) 0 ;
34644 int arg3 = (int) 0 ;
34645 PyObject * obj0 = 0 ;
34646 PyObject * obj1 = 0 ;
34647 char *kwnames[] = {
34648 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34649 };
34650
34651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&arg3)) goto fail;
34652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34653 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34654 {
34655 PyThreadState* __tstate = wxPyBeginAllowThreads();
34656 (arg1)->Above(arg2,arg3);
34657
34658 wxPyEndAllowThreads(__tstate);
34659 if (PyErr_Occurred()) SWIG_fail;
34660 }
34661 Py_INCREF(Py_None); resultobj = Py_None;
34662 return resultobj;
34663 fail:
34664 return NULL;
34665}
34666
34667
34668static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *self, PyObject *args, PyObject *kwargs) {
34669 PyObject *resultobj;
34670 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34671 wxWindow *arg2 = (wxWindow *) 0 ;
34672 int arg3 = (int) 0 ;
34673 PyObject * obj0 = 0 ;
34674 PyObject * obj1 = 0 ;
34675 char *kwnames[] = {
34676 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34677 };
34678
34679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&arg3)) goto fail;
34680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34681 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34682 {
34683 PyThreadState* __tstate = wxPyBeginAllowThreads();
34684 (arg1)->Below(arg2,arg3);
34685
34686 wxPyEndAllowThreads(__tstate);
34687 if (PyErr_Occurred()) SWIG_fail;
34688 }
34689 Py_INCREF(Py_None); resultobj = Py_None;
34690 return resultobj;
34691 fail:
34692 return NULL;
34693}
34694
34695
34696static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args, PyObject *kwargs) {
34697 PyObject *resultobj;
34698 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34699 wxWindow *arg2 = (wxWindow *) 0 ;
34700 int arg3 ;
34701 int arg4 = (int) 0 ;
34702 PyObject * obj0 = 0 ;
34703 PyObject * obj1 = 0 ;
34704 char *kwnames[] = {
34705 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
34706 };
34707
34708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
34709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34710 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34711 {
34712 PyThreadState* __tstate = wxPyBeginAllowThreads();
34713 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
34714
34715 wxPyEndAllowThreads(__tstate);
34716 if (PyErr_Occurred()) SWIG_fail;
34717 }
34718 Py_INCREF(Py_None); resultobj = Py_None;
34719 return resultobj;
34720 fail:
34721 return NULL;
34722}
34723
34724
34725static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args, PyObject *kwargs) {
34726 PyObject *resultobj;
34727 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34728 wxWindow *arg2 = (wxWindow *) 0 ;
34729 int arg3 ;
34730 int arg4 ;
34731 PyObject * obj0 = 0 ;
34732 PyObject * obj1 = 0 ;
34733 char *kwnames[] = {
34734 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
34735 };
34736
34737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
34738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34739 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34740 {
34741 PyThreadState* __tstate = wxPyBeginAllowThreads();
34742 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
34743
34744 wxPyEndAllowThreads(__tstate);
34745 if (PyErr_Occurred()) SWIG_fail;
34746 }
34747 Py_INCREF(Py_None); resultobj = Py_None;
34748 return resultobj;
34749 fail:
34750 return NULL;
34751}
34752
34753
34754static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args, PyObject *kwargs) {
34755 PyObject *resultobj;
34756 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34757 int arg2 ;
34758 PyObject * obj0 = 0 ;
34759 char *kwnames[] = {
34760 (char *) "self",(char *) "val", NULL
34761 };
34762
34763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&arg2)) goto fail;
34764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34765 {
34766 PyThreadState* __tstate = wxPyBeginAllowThreads();
34767 (arg1)->Absolute(arg2);
34768
34769 wxPyEndAllowThreads(__tstate);
34770 if (PyErr_Occurred()) SWIG_fail;
34771 }
34772 Py_INCREF(Py_None); resultobj = Py_None;
34773 return resultobj;
34774 fail:
34775 return NULL;
34776}
34777
34778
34779static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args, PyObject *kwargs) {
34780 PyObject *resultobj;
34781 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34782 PyObject * obj0 = 0 ;
34783 char *kwnames[] = {
34784 (char *) "self", NULL
34785 };
34786
34787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
34788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34789 {
34790 PyThreadState* __tstate = wxPyBeginAllowThreads();
34791 (arg1)->Unconstrained();
34792
34793 wxPyEndAllowThreads(__tstate);
34794 if (PyErr_Occurred()) SWIG_fail;
34795 }
34796 Py_INCREF(Py_None); resultobj = Py_None;
34797 return resultobj;
34798 fail:
34799 return NULL;
34800}
34801
34802
34803static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args, PyObject *kwargs) {
34804 PyObject *resultobj;
34805 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34806 PyObject * obj0 = 0 ;
34807 char *kwnames[] = {
34808 (char *) "self", NULL
34809 };
34810
34811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
34812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34813 {
34814 PyThreadState* __tstate = wxPyBeginAllowThreads();
34815 (arg1)->AsIs();
34816
34817 wxPyEndAllowThreads(__tstate);
34818 if (PyErr_Occurred()) SWIG_fail;
34819 }
34820 Py_INCREF(Py_None); resultobj = Py_None;
34821 return resultobj;
34822 fail:
34823 return NULL;
34824}
34825
34826
34827static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34828 PyObject *resultobj;
34829 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34830 wxWindow *result;
34831 PyObject * obj0 = 0 ;
34832 char *kwnames[] = {
34833 (char *) "self", NULL
34834 };
34835
34836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
34837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34838 {
34839 PyThreadState* __tstate = wxPyBeginAllowThreads();
34840 result = (wxWindow *)(arg1)->GetOtherWindow();
34841
34842 wxPyEndAllowThreads(__tstate);
34843 if (PyErr_Occurred()) SWIG_fail;
34844 }
34845 {
34846 resultobj = wxPyMake_wxObject(result);
34847 }
34848 return resultobj;
34849 fail:
34850 return NULL;
34851}
34852
34853
34854static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
34855 PyObject *resultobj;
34856 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34857 int result;
34858 PyObject * obj0 = 0 ;
34859 char *kwnames[] = {
34860 (char *) "self", NULL
34861 };
34862
34863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
34864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34865 {
34866 PyThreadState* __tstate = wxPyBeginAllowThreads();
34867 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
34868
34869 wxPyEndAllowThreads(__tstate);
34870 if (PyErr_Occurred()) SWIG_fail;
34871 }
34872 resultobj = PyInt_FromLong((long)result);
34873 return resultobj;
34874 fail:
34875 return NULL;
34876}
34877
34878
34879static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
34880 PyObject *resultobj;
34881 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34882 int arg2 ;
34883 PyObject * obj0 = 0 ;
34884 char *kwnames[] = {
34885 (char *) "self",(char *) "which", NULL
34886 };
34887
34888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&arg2)) goto fail;
34889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34890 {
34891 PyThreadState* __tstate = wxPyBeginAllowThreads();
34892 (arg1)->SetEdge((wxEdge )arg2);
34893
34894 wxPyEndAllowThreads(__tstate);
34895 if (PyErr_Occurred()) SWIG_fail;
34896 }
34897 Py_INCREF(Py_None); resultobj = Py_None;
34898 return resultobj;
34899 fail:
34900 return NULL;
34901}
34902
34903
34904static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
34905 PyObject *resultobj;
34906 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34907 int arg2 ;
34908 PyObject * obj0 = 0 ;
34909 char *kwnames[] = {
34910 (char *) "self",(char *) "v", NULL
34911 };
34912
34913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&arg2)) goto fail;
34914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34915 {
34916 PyThreadState* __tstate = wxPyBeginAllowThreads();
34917 (arg1)->SetValue(arg2);
34918
34919 wxPyEndAllowThreads(__tstate);
34920 if (PyErr_Occurred()) SWIG_fail;
34921 }
34922 Py_INCREF(Py_None); resultobj = Py_None;
34923 return resultobj;
34924 fail:
34925 return NULL;
34926}
34927
34928
34929static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
34930 PyObject *resultobj;
34931 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34932 int result;
34933 PyObject * obj0 = 0 ;
34934 char *kwnames[] = {
34935 (char *) "self", NULL
34936 };
34937
34938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
34939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34940 {
34941 PyThreadState* __tstate = wxPyBeginAllowThreads();
34942 result = (int)(arg1)->GetMargin();
34943
34944 wxPyEndAllowThreads(__tstate);
34945 if (PyErr_Occurred()) SWIG_fail;
34946 }
34947 resultobj = PyInt_FromLong((long)result);
34948 return resultobj;
34949 fail:
34950 return NULL;
34951}
34952
34953
34954static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
34955 PyObject *resultobj;
34956 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34957 int arg2 ;
34958 PyObject * obj0 = 0 ;
34959 char *kwnames[] = {
34960 (char *) "self",(char *) "m", NULL
34961 };
34962
34963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&arg2)) goto fail;
34964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34965 {
34966 PyThreadState* __tstate = wxPyBeginAllowThreads();
34967 (arg1)->SetMargin(arg2);
34968
34969 wxPyEndAllowThreads(__tstate);
34970 if (PyErr_Occurred()) SWIG_fail;
34971 }
34972 Py_INCREF(Py_None); resultobj = Py_None;
34973 return resultobj;
34974 fail:
34975 return NULL;
34976}
34977
34978
34979static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
34980 PyObject *resultobj;
34981 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34982 int result;
34983 PyObject * obj0 = 0 ;
34984 char *kwnames[] = {
34985 (char *) "self", NULL
34986 };
34987
34988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
34989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34990 {
34991 PyThreadState* __tstate = wxPyBeginAllowThreads();
34992 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
34993
34994 wxPyEndAllowThreads(__tstate);
34995 if (PyErr_Occurred()) SWIG_fail;
34996 }
34997 resultobj = PyInt_FromLong((long)result);
34998 return resultobj;
34999 fail:
35000 return NULL;
35001}
35002
35003
35004static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *self, PyObject *args, PyObject *kwargs) {
35005 PyObject *resultobj;
35006 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35007 int result;
35008 PyObject * obj0 = 0 ;
35009 char *kwnames[] = {
35010 (char *) "self", NULL
35011 };
35012
35013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
35014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35015 {
35016 PyThreadState* __tstate = wxPyBeginAllowThreads();
35017 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
35018
35019 wxPyEndAllowThreads(__tstate);
35020 if (PyErr_Occurred()) SWIG_fail;
35021 }
35022 resultobj = PyInt_FromLong((long)result);
35023 return resultobj;
35024 fail:
35025 return NULL;
35026}
35027
35028
35029static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
35030 PyObject *resultobj;
35031 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35032 int result;
35033 PyObject * obj0 = 0 ;
35034 char *kwnames[] = {
35035 (char *) "self", NULL
35036 };
35037
35038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
35039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35040 {
35041 PyThreadState* __tstate = wxPyBeginAllowThreads();
35042 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
35043
35044 wxPyEndAllowThreads(__tstate);
35045 if (PyErr_Occurred()) SWIG_fail;
35046 }
35047 resultobj = PyInt_FromLong((long)result);
35048 return resultobj;
35049 fail:
35050 return NULL;
35051}
35052
35053
35054static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
35055 PyObject *resultobj;
35056 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35057 bool result;
35058 PyObject * obj0 = 0 ;
35059 char *kwnames[] = {
35060 (char *) "self", NULL
35061 };
35062
35063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
35064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35065 {
35066 PyThreadState* __tstate = wxPyBeginAllowThreads();
35067 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
35068
35069 wxPyEndAllowThreads(__tstate);
35070 if (PyErr_Occurred()) SWIG_fail;
35071 }
35072 resultobj = PyInt_FromLong((long)result);
35073 return resultobj;
35074 fail:
35075 return NULL;
35076}
35077
35078
35079static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
35080 PyObject *resultobj;
35081 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35082 bool arg2 ;
35083 PyObject * obj0 = 0 ;
35084 PyObject * obj1 = 0 ;
35085 char *kwnames[] = {
35086 (char *) "self",(char *) "d", NULL
35087 };
35088
35089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
35090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35091 arg2 = PyInt_AsLong(obj1) ? true : false;
35092 if (PyErr_Occurred()) SWIG_fail;
35093 {
35094 PyThreadState* __tstate = wxPyBeginAllowThreads();
35095 (arg1)->SetDone(arg2);
35096
35097 wxPyEndAllowThreads(__tstate);
35098 if (PyErr_Occurred()) SWIG_fail;
35099 }
35100 Py_INCREF(Py_None); resultobj = Py_None;
35101 return resultobj;
35102 fail:
35103 return NULL;
35104}
35105
35106
35107static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
35108 PyObject *resultobj;
35109 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35110 int result;
35111 PyObject * obj0 = 0 ;
35112 char *kwnames[] = {
35113 (char *) "self", NULL
35114 };
35115
35116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
35117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35118 {
35119 PyThreadState* __tstate = wxPyBeginAllowThreads();
35120 result = (int)(arg1)->GetRelationship();
35121
35122 wxPyEndAllowThreads(__tstate);
35123 if (PyErr_Occurred()) SWIG_fail;
35124 }
35125 resultobj = PyInt_FromLong((long)result);
35126 return resultobj;
35127 fail:
35128 return NULL;
35129}
35130
35131
35132static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
35133 PyObject *resultobj;
35134 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35135 int arg2 ;
35136 PyObject * obj0 = 0 ;
35137 char *kwnames[] = {
35138 (char *) "self",(char *) "r", NULL
35139 };
35140
35141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&arg2)) goto fail;
35142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35143 {
35144 PyThreadState* __tstate = wxPyBeginAllowThreads();
35145 (arg1)->SetRelationship((wxRelationship )arg2);
35146
35147 wxPyEndAllowThreads(__tstate);
35148 if (PyErr_Occurred()) SWIG_fail;
35149 }
35150 Py_INCREF(Py_None); resultobj = Py_None;
35151 return resultobj;
35152 fail:
35153 return NULL;
35154}
35155
35156
35157static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *self, PyObject *args, PyObject *kwargs) {
35158 PyObject *resultobj;
35159 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35160 wxWindow *arg2 = (wxWindow *) 0 ;
35161 bool result;
35162 PyObject * obj0 = 0 ;
35163 PyObject * obj1 = 0 ;
35164 char *kwnames[] = {
35165 (char *) "self",(char *) "otherW", NULL
35166 };
35167
35168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail;
35169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35170 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35171 {
35172 PyThreadState* __tstate = wxPyBeginAllowThreads();
35173 result = (bool)(arg1)->ResetIfWin(arg2);
35174
35175 wxPyEndAllowThreads(__tstate);
35176 if (PyErr_Occurred()) SWIG_fail;
35177 }
35178 resultobj = PyInt_FromLong((long)result);
35179 return resultobj;
35180 fail:
35181 return NULL;
35182}
35183
35184
35185static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
35186 PyObject *resultobj;
35187 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35188 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
35189 wxWindow *arg3 = (wxWindow *) 0 ;
35190 bool result;
35191 PyObject * obj0 = 0 ;
35192 PyObject * obj1 = 0 ;
35193 PyObject * obj2 = 0 ;
35194 char *kwnames[] = {
35195 (char *) "self",(char *) "constraints",(char *) "win", NULL
35196 };
35197
35198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
35199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35200 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35201 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35202 {
35203 PyThreadState* __tstate = wxPyBeginAllowThreads();
35204 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
35205
35206 wxPyEndAllowThreads(__tstate);
35207 if (PyErr_Occurred()) SWIG_fail;
35208 }
35209 resultobj = PyInt_FromLong((long)result);
35210 return resultobj;
35211 fail:
35212 return NULL;
35213}
35214
35215
35216static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
35217 PyObject *resultobj;
35218 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35219 int arg2 ;
35220 wxWindow *arg3 = (wxWindow *) 0 ;
35221 wxWindow *arg4 = (wxWindow *) 0 ;
35222 int result;
35223 PyObject * obj0 = 0 ;
35224 PyObject * obj2 = 0 ;
35225 PyObject * obj3 = 0 ;
35226 char *kwnames[] = {
35227 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
35228 };
35229
35230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
35231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35232 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35233 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35234 {
35235 PyThreadState* __tstate = wxPyBeginAllowThreads();
35236 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
35237
35238 wxPyEndAllowThreads(__tstate);
35239 if (PyErr_Occurred()) SWIG_fail;
35240 }
35241 resultobj = PyInt_FromLong((long)result);
35242 return resultobj;
35243 fail:
35244 return NULL;
35245}
35246
35247
35248static PyObject * IndividualLayoutConstraint_swigregister(PyObject *self, PyObject *args) {
35249 PyObject *obj;
35250 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35251 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
35252 Py_INCREF(obj);
35253 return Py_BuildValue((char *)"");
35254}
35255static PyObject *_wrap_LayoutConstraints_left_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35256 PyObject *resultobj;
35257 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35258 wxIndividualLayoutConstraint *result;
35259 PyObject * obj0 = 0 ;
35260 char *kwnames[] = {
35261 (char *) "self", NULL
35262 };
35263
35264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
35265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35266 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
35267
35268 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35269 return resultobj;
35270 fail:
35271 return NULL;
35272}
35273
35274
35275static PyObject *_wrap_LayoutConstraints_top_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35276 PyObject *resultobj;
35277 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35278 wxIndividualLayoutConstraint *result;
35279 PyObject * obj0 = 0 ;
35280 char *kwnames[] = {
35281 (char *) "self", NULL
35282 };
35283
35284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
35285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35286 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
35287
35288 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35289 return resultobj;
35290 fail:
35291 return NULL;
35292}
35293
35294
35295static PyObject *_wrap_LayoutConstraints_right_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35296 PyObject *resultobj;
35297 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35298 wxIndividualLayoutConstraint *result;
35299 PyObject * obj0 = 0 ;
35300 char *kwnames[] = {
35301 (char *) "self", NULL
35302 };
35303
35304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
35305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35306 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
35307
35308 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35309 return resultobj;
35310 fail:
35311 return NULL;
35312}
35313
35314
35315static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35316 PyObject *resultobj;
35317 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35318 wxIndividualLayoutConstraint *result;
35319 PyObject * obj0 = 0 ;
35320 char *kwnames[] = {
35321 (char *) "self", NULL
35322 };
35323
35324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
35325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35326 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
35327
35328 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35329 return resultobj;
35330 fail:
35331 return NULL;
35332}
35333
35334
35335static PyObject *_wrap_LayoutConstraints_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35336 PyObject *resultobj;
35337 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35338 wxIndividualLayoutConstraint *result;
35339 PyObject * obj0 = 0 ;
35340 char *kwnames[] = {
35341 (char *) "self", NULL
35342 };
35343
35344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
35345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35346 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
35347
35348 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35349 return resultobj;
35350 fail:
35351 return NULL;
35352}
35353
35354
35355static PyObject *_wrap_LayoutConstraints_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35356 PyObject *resultobj;
35357 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35358 wxIndividualLayoutConstraint *result;
35359 PyObject * obj0 = 0 ;
35360 char *kwnames[] = {
35361 (char *) "self", NULL
35362 };
35363
35364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
35365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35366 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
35367
35368 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35369 return resultobj;
35370 fail:
35371 return NULL;
35372}
35373
35374
35375static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35376 PyObject *resultobj;
35377 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35378 wxIndividualLayoutConstraint *result;
35379 PyObject * obj0 = 0 ;
35380 char *kwnames[] = {
35381 (char *) "self", NULL
35382 };
35383
35384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
35385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35386 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
35387
35388 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35389 return resultobj;
35390 fail:
35391 return NULL;
35392}
35393
35394
35395static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35396 PyObject *resultobj;
35397 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35398 wxIndividualLayoutConstraint *result;
35399 PyObject * obj0 = 0 ;
35400 char *kwnames[] = {
35401 (char *) "self", NULL
35402 };
35403
35404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
35405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35406 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
35407
35408 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35409 return resultobj;
35410 fail:
35411 return NULL;
35412}
35413
35414
35415static PyObject *_wrap_new_LayoutConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
35416 PyObject *resultobj;
35417 wxLayoutConstraints *result;
35418 char *kwnames[] = {
35419 NULL
35420 };
35421
35422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
35423 {
35424 PyThreadState* __tstate = wxPyBeginAllowThreads();
35425 result = (wxLayoutConstraints *)new wxLayoutConstraints();
35426
35427 wxPyEndAllowThreads(__tstate);
35428 if (PyErr_Occurred()) SWIG_fail;
35429 }
35430 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutConstraints, 1);
35431 return resultobj;
35432 fail:
35433 return NULL;
35434}
35435
35436
35437static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
35438 PyObject *resultobj;
35439 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35440 wxWindow *arg2 = (wxWindow *) 0 ;
35441 int *arg3 = (int *) 0 ;
35442 bool result;
35443 int temp3 ;
35444 PyObject * obj0 = 0 ;
35445 PyObject * obj1 = 0 ;
35446 char *kwnames[] = {
35447 (char *) "self",(char *) "win", NULL
35448 };
35449
35450 arg3 = &temp3;
35451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
35452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35453 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35454 {
35455 PyThreadState* __tstate = wxPyBeginAllowThreads();
35456 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
35457
35458 wxPyEndAllowThreads(__tstate);
35459 if (PyErr_Occurred()) SWIG_fail;
35460 }
35461 resultobj = PyInt_FromLong((long)result);
35462 {
35463 PyObject *o = PyInt_FromLong((long) (*arg3));
35464 resultobj = t_output_helper(resultobj,o);
35465 }
35466 return resultobj;
35467 fail:
35468 return NULL;
35469}
35470
35471
35472static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *self, PyObject *args, PyObject *kwargs) {
35473 PyObject *resultobj;
35474 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35475 bool result;
35476 PyObject * obj0 = 0 ;
35477 char *kwnames[] = {
35478 (char *) "self", NULL
35479 };
35480
35481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
35482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35483 {
35484 PyThreadState* __tstate = wxPyBeginAllowThreads();
35485 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
35486
35487 wxPyEndAllowThreads(__tstate);
35488 if (PyErr_Occurred()) SWIG_fail;
35489 }
35490 resultobj = PyInt_FromLong((long)result);
35491 return resultobj;
35492 fail:
35493 return NULL;
35494}
35495
35496
35497static PyObject * LayoutConstraints_swigregister(PyObject *self, PyObject *args) {
35498 PyObject *obj;
35499 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35500 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
35501 Py_INCREF(obj);
35502 return Py_BuildValue((char *)"");
35503}
35504static PyMethodDef SwigMethods[] = {
35505 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS },
cbd72d4f 35506 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects, METH_VARARGS },
d14a1e28
RD
35507 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS },
35508 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS },
35509 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS },
35510 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS },
35511 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS },
35512 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS },
35513 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS },
35514 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS },
35515 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS },
35516 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS },
35517 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS },
35518 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS },
35519 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS },
35520 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS },
35521 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS },
35522 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS },
35523 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS },
35524 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS },
35525 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS },
35526 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS },
423f194a 35527 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35528 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS },
35529 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS },
35530 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS },
35531 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS },
35532 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS },
35533 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS },
35534 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35535 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS },
35536 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS },
423f194a
RD
35537 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS },
35538 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS },
d14a1e28 35539 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS },
423f194a 35540 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35541 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS },
35542 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS },
35543 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS },
35544 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS },
35545 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS },
35546 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS },
35547 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS },
35548 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS },
35549 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS },
35550 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS },
35551 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS },
35552 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS },
35553 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS },
35554 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS },
423f194a 35555 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35556 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
35557 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS },
35558 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS },
35559 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS },
35560 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS },
35561 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS },
35562 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS },
35563 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS },
35564 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS },
35565 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS },
35566 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS },
35567 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS },
35568 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS },
35569 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS },
35570 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS },
35571 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS },
35572 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS },
9fd4be55
RD
35573 { (char *)"Rect_GetTopLeft", (PyCFunction) _wrap_Rect_GetTopLeft, METH_VARARGS | METH_KEYWORDS },
35574 { (char *)"Rect_SetTopLeft", (PyCFunction) _wrap_Rect_SetTopLeft, METH_VARARGS | METH_KEYWORDS },
35575 { (char *)"Rect_GetBottomRight", (PyCFunction) _wrap_Rect_GetBottomRight, METH_VARARGS | METH_KEYWORDS },
35576 { (char *)"Rect_SetBottomRight", (PyCFunction) _wrap_Rect_SetBottomRight, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35577 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS },
35578 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS },
35579 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS },
35580 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS },
35581 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS },
35582 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS },
35583 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS },
35584 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS },
35585 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS },
35586 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS },
35587 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS },
35588 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS },
35589 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS },
35590 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS },
35591 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS },
35592 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS },
35593 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS },
35594 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS },
35595 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS },
35596 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS },
35597 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS },
35598 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS },
35599 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS },
35600 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS },
35601 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS },
35602 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS },
35603 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS },
35604 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS },
35605 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS },
423f194a 35606 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35607 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
35608 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS },
35609 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS },
35610 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS },
35611 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS },
35612 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS },
35613 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS },
35614 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS },
35615 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS },
35616 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS },
35617 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS },
35618 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS },
35619 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS },
35620 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS },
35621 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS },
35622 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS },
35623 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS },
35624 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS },
35625 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS },
35626 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS },
35627 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS },
35628 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35629 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS },
35630 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS },
35631 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS },
35632 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS },
35633 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS },
423f194a 35634 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35635 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS },
35636 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS },
35637 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS },
35638 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS },
35639 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS },
35640 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS },
35641 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS },
35642 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS },
35643 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS },
35644 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS },
35645 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS },
35646 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS },
35647 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS },
35648 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS },
35649 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS },
35650 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS },
35651 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS },
35652 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS },
35653 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS },
35654 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS },
35655 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS },
35656 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS },
35657 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS },
35658 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS },
35659 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS },
35660 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS },
35661 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS },
35662 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS },
35663 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS },
35664 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS },
35665 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS },
35666 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
35667 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35668 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35669 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
35670 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
35671 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS },
35672 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS },
35673 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS },
35674 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS },
35675 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS },
35676 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS },
35677 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS },
35678 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS },
35679 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS },
35680 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS },
35681 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS },
35682 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS },
35683 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS },
35684 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS },
35685 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS },
35686 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS },
35687 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS },
35688 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS },
35689 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS },
35690 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35691 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35692 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS },
35693 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS },
35694 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35695 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35696 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
35697 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
35698 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS },
35699 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS },
35700 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS },
35701 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS },
35702 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS },
35703 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS },
35704 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35705 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35706 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
35707 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
35708 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS },
35709 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS },
35710 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS },
35711 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS },
35712 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS },
35713 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS },
35714 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS },
35715 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS },
35716 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS },
35717 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS },
35718 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS },
35719 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS },
35720 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS },
35721 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
35722 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS },
35723 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS },
35724 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS },
35725 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS },
35726 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS },
35727 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS },
35728 { (char *)"new_EmptyImage", (PyCFunction) _wrap_new_EmptyImage, METH_VARARGS | METH_KEYWORDS },
35729 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS },
35730 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS },
35731 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS },
35732 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS },
35733 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS },
35734 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS },
35735 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS },
35736 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS },
35737 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS },
35738 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS },
35739 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS },
35740 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS },
35741 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS },
35742 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS },
35743 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
35744 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS },
35745 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS },
35746 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS },
35747 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS },
35748 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS },
35749 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS },
35750 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS },
35751 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS },
35752 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS },
35753 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS },
35754 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS },
35755 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS },
35756 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS },
35757 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS },
35758 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS },
35759 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS },
35760 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS },
35761 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS },
35762 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS },
35763 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS },
35764 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS },
35765 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS },
35766 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
35767 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
35768 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS },
35769 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS },
35770 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS },
35771 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS },
35772 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS },
35773 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS },
35774 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS },
35775 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS },
35776 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS },
35777 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS },
35778 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS },
35779 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS },
35780 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
35781 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS },
35782 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
35783 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS },
35784 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS },
35785 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS },
35786 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS },
35787 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS },
35788 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS },
35789 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS },
35790 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
35791 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS },
35792 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS },
35793 { (char *)"InitAllImageHandlers", (PyCFunction) _wrap_InitAllImageHandlers, METH_VARARGS | METH_KEYWORDS },
35794 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS },
35795 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS },
35796 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS },
35797 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS },
35798 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS },
35799 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS },
35800 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS },
35801 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS },
35802 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS },
35803 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS },
35804 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS },
35805 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS },
35806 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS },
35807 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS },
35808 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS },
35809 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS },
35810 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS },
35811 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS },
35812 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS },
35813 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS },
35814 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS },
35815 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS },
35816 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS },
35817 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
35818 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
35819 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
35820 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
35821 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
35822 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
35823 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
35824 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
35825 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
35826 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
35827 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
35828 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
35829 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS },
35830 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS },
35831 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS },
35832 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS },
35833 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS },
35834 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS },
35835 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS },
35836 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
35837 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
35838 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS },
35839 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS },
35840 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS },
35841 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS },
35842 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS },
35843 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS },
35844 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS },
35845 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS },
35846 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS },
35847 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS },
35848 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
35849 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
35850 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS },
35851 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
35852 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
35853 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS },
35854 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS },
35855 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
35856 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS },
35857 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS },
35858 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS },
35859 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS },
35860 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS },
35861 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS },
35862 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS },
35863 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS },
35864 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS },
35865 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS },
35866 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS },
35867 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS },
35868 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS },
35869 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS },
35870 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS },
35871 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS },
35872 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
35873 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35874 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
35875 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
35876 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS },
35877 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS },
35878 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
35879 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35880 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
35881 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
35882 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS },
35883 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS },
35884 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
35885 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
35886 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS },
35887 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
35888 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS },
35889 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
35890 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS },
35891 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
35892 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
35893 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
35894 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
35895 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS },
35896 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS },
35897 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS },
35898 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS },
35899 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS },
35900 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS },
35901 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS },
35902 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS },
35903 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS },
35904 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS },
35905 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS },
35906 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS },
35907 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS },
35908 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS },
35909 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS },
35910 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS },
35911 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35912 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
35913 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS },
35914 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS },
35915 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS },
35916 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS },
35917 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS },
35918 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS },
35919 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS },
35920 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
35921 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
35922 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
35923 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
35924 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS },
35925 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS },
35926 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS },
35927 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS },
35928 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS },
35929 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS },
35930 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
35931 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
35932 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
35933 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
35934 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
35935 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
35936 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
35937 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
35938 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS },
35939 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS },
35940 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS },
35941 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS },
35942 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS },
35943 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS },
35944 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS },
35945 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS },
35946 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS },
35947 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS },
35948 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS },
35949 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS },
35950 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS },
35951 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS },
35952 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS },
35953 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
35954 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
35955 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
35956 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
35957 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS },
35958 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
35959 { (char *)"KeyEvent_GetUniChar", (PyCFunction) _wrap_KeyEvent_GetUniChar, METH_VARARGS | METH_KEYWORDS },
35960 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS },
35961 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS },
35962 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35963 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
35964 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS },
35965 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS },
35966 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
35967 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
35968 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
35969 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
35970 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS },
35971 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS },
35972 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
35973 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
35974 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
35975 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
35976 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
35977 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
35978 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
35979 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
35980 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS },
35981 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS },
35982 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS },
35983 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS },
35984 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS },
35985 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS },
35986 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS },
35987 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS },
35988 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
35989 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
35990 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
35991 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
35992 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS },
35993 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS },
35994 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
35995 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
35996 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS },
35997 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS },
35998 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35999 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
36000 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
36001 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
36002 { (char *)"MoveEvent_m_pos_set", (PyCFunction) _wrap_MoveEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
36003 { (char *)"MoveEvent_m_pos_get", (PyCFunction) _wrap_MoveEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
36004 { (char *)"MoveEvent_m_rect_set", (PyCFunction) _wrap_MoveEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
36005 { (char *)"MoveEvent_m_rect_get", (PyCFunction) _wrap_MoveEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
36006 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS },
36007 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS },
36008 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS },
36009 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS },
36010 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS },
36011 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS },
36012 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS },
36013 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS },
36014 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS },
36015 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
36016 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS },
36017 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS },
36018 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS },
36019 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
36020 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS },
36021 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS },
36022 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS },
36023 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS },
36024 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS },
36025 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS },
36026 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS },
36027 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS },
36028 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS },
36029 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS },
36030 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS },
36031 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS },
36032 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS },
36033 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS },
36034 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS },
36035 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS },
36036 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS },
36037 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS },
36038 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS },
36039 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS },
36040 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS },
36041 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS },
36042 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS },
36043 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS },
36044 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS },
36045 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS },
36046 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS },
36047 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS },
36048 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
36049 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS },
36050 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS },
36051 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS },
36052 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS },
36053 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS },
36054 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS },
36055 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS },
36056 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS },
36057 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS },
36058 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS },
36059 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS },
36060 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS },
36061 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS },
36062 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
36063 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
36064 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS },
36065 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS },
36066 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
36067 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
36068 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS },
36069 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS },
36070 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS },
36071 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS },
36072 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS },
36073 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS },
36074 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS },
36075 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS },
36076 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS },
36077 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS },
36078 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS },
36079 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS },
36080 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS },
36081 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
36082 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
36083 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS },
36084 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS },
36085 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS },
36086 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS },
36087 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS },
36088 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS },
36089 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
36090 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
36091 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS },
36092 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS },
36093 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
36094 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS },
36095 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS },
36096 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
36097 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS },
36098 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS },
36099 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
36100 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
36101 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS },
36102 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS },
36103 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS },
36104 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS },
36105 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
36106 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
36107 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS },
36108 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS },
36109 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS },
36110 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS },
36111 { (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
36112 { (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
36113 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS },
36114 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
36115 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
36116 { (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
36117 { (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
36118 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS },
36119 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS },
36120 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS },
36121 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
36122 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS },
36123 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS },
36124 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS },
36125 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS },
36126 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS },
36127 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS },
36128 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS },
36129 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
36130 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS },
36131 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
36132 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS },
36133 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS },
36134 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS },
36135 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS },
36136 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS },
36137 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS },
36138 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
36139 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS },
36140 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS },
36141 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS },
36142 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
36143 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
36144 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
36145 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
36146 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
36147 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
d14a1e28 36148 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS },
44127b65 36149 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
36150 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
36151 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
36152 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
36153 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
36154 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
36155 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
36156 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
36157 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
36158 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
36159 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
36160 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS },
36161 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS },
36162 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS },
36163 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS },
36164 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS },
36165 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS },
36166 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS },
36167 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
36168 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS },
36169 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS },
36170 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS },
41f1cec7
RD
36171 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
36172 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
36173 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS },
36174 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_SetMenuItem, METH_VARARGS | METH_KEYWORDS },
36175 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_GetMenuItem, METH_VARARGS | METH_KEYWORDS },
36176 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS },
36177 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
36178 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS },
36179 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS },
36180 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
36181 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
36182 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS },
36183 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS },
36184 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
36185 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS },
36186 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS },
36187 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS },
36188 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS },
36189 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS },
36190 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
36191 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
36192 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS },
36193 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS },
36194 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS },
36195 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS },
36196 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS },
36197 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS },
36198 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS },
36199 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS },
36200 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS },
36201 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS },
36202 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS },
36203 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS },
36204 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS },
36205 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS },
36206 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
36207 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS },
36208 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS },
36209 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS },
36210 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS },
36211 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS },
36212 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
36213 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS },
36214 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS },
36215 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
36216 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS },
36217 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
36218 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS },
36219 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS },
36220 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
36221 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
36222 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS },
36223 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS },
36224 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS },
36225 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS },
36226 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS },
36227 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
36228 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
36229 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS },
36230 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS },
36231 { (char *)"Window_SetSizeHints", (PyCFunction) _wrap_Window_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
36232 { (char *)"Window_SetVirtualSizeHints", (PyCFunction) _wrap_Window_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
36233 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS },
36234 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS },
36235 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS },
36236 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS },
36237 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
36238 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS },
36239 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS },
36240 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
36241 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS },
36242 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS },
36243 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS },
36244 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS },
36245 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS },
36246 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS },
36247 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS },
36248 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS },
36249 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
36250 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
36251 { (char *)"Window_SetWindowStyle", (PyCFunction) _wrap_Window_SetWindowStyle, METH_VARARGS | METH_KEYWORDS },
36252 { (char *)"Window_GetWindowStyle", (PyCFunction) _wrap_Window_GetWindowStyle, METH_VARARGS | METH_KEYWORDS },
36253 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS },
36254 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS },
36255 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
36256 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS },
36257 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS },
36258 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
36259 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
36260 { (char *)"Window_ShouldInheritColours", (PyCFunction) _wrap_Window_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
36261 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS },
36262 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS },
36263 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS },
36264 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
36265 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
36266 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
36267 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
36268 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS },
36269 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS },
36270 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS },
36271 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
36272 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
36273 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS },
36274 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS },
36275 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS },
36276 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS },
36277 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
36278 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
36279 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
36280 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
36281 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
36282 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
36283 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS },
36284 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS },
36285 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
36286 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
36287 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS },
36288 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS },
36289 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
36290 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
36291 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS },
36292 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS },
36293 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
36294 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
36295 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS },
36296 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
36297 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
36298 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS },
36299 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS },
36300 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS },
36301 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS },
36302 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS },
36303 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS },
36304 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS },
36305 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS },
36306 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS },
36307 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
36308 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS },
36309 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS },
36310 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
36311 { (char *)"Window_isExposedRect", (PyCFunction) _wrap_Window_isExposedRect, METH_VARARGS | METH_KEYWORDS },
36312 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
36313 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
36314 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
36315 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
36316 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS },
36317 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS },
36318 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS },
36319 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS },
36320 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS },
36321 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS },
36322 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
36323 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
36324 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
36325 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
36326 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
36327 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
36328 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
36329 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
36330 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS },
36331 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS },
36332 { (char *)"Window_GetBorderFlags", (PyCFunction) _wrap_Window_GetBorderFlags, METH_VARARGS | METH_KEYWORDS },
36333 { (char *)"Window_GetBorder", (PyCFunction) _wrap_Window_GetBorder, METH_VARARGS | METH_KEYWORDS },
36334 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
36335 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
36336 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS },
36337 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS },
36338 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
36339 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
36340 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
36341 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
36342 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
36343 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
36344 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
36345 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS },
36346 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS },
36347 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS },
36348 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS },
36349 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS },
36350 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS },
36351 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS },
36352 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
36353 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS },
36354 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
36355 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS },
36356 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS },
36357 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
36358 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
36359 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS },
36360 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS },
36361 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
36362 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
36363 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS },
36364 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS },
36365 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS },
36366 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS },
36367 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
36368 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
36369 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS },
36370 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS },
36371 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
36372 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
36373 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS },
36374 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS },
36375 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS },
36376 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS },
36377 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS },
36378 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS },
36379 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS },
36380 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS },
36381 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS },
36382 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
36383 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS },
36384 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS },
36385 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
36386 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS },
36387 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS },
36388 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS },
36389 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
36390 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
36391 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
36392 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
36393 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS },
36394 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS },
36395 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS },
36396 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS },
36397 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
36398 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
36399 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
36400 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
36401 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS },
36402 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS },
36403 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
36404 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
36405 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
36406 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
36407 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS },
36408 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
36409 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS },
36410 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
36411 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS },
36412 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS },
36413 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
36414 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
36415 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
36416 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS },
36417 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS },
36418 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS },
36419 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS },
36420 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
36421 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS },
36422 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS },
36423 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS },
36424 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS },
36425 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
36426 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
36427 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS },
36428 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS },
36429 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
36430 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
36431 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
36432 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
36433 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS },
36434 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
36435 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
36436 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS },
36437 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS },
36438 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS },
36439 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS },
36440 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS },
36441 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS },
36442 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS },
36443 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS },
36444 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
36445 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
36446 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
36447 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
36448 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
36449 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
36450 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS },
36451 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
36452 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
36453 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
36454 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
36455 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
36456 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
36457 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS },
36458 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
36459 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
36460 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
36461 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
36462 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
36463 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
36464 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS },
36465 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS },
36466 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS },
36467 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS },
36468 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS },
36469 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS },
36470 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
36471 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS },
36472 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
36473 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
36474 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
36475 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
36476 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
36477 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
36478 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
36479 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
36480 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
36481 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
36482 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
36483 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
36484 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
36485 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
36486 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
36487 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS },
36488 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
36489 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
36490 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
36491 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
36492 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
36493 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
36494 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS },
36495 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS },
36496 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS },
36497 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS },
36498 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS },
36499 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS },
36500 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS },
36501 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS },
36502 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS },
36503 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS },
36504 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS },
36505 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS },
36506 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS },
36507 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS },
36508 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS },
36509 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS },
36510 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS },
36511 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS },
36512 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS },
36513 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS },
36514 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS },
36515 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS },
36516 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS },
36517 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS },
36518 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
36519 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS },
36520 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS },
36521 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS },
36522 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS },
36523 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS },
36524 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
36525 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS },
36526 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS },
36527 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
36528 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS },
36529 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS },
36530 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
36531 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
36532 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS },
36533 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS },
36534 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS },
36535 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS },
36536 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS },
36537 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS },
36538 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS },
36539 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS },
36540 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS },
36541 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS },
36542 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS },
36543 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS },
36544 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS },
36545 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS },
36546 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS },
36547 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS },
36548 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS },
36549 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS },
36550 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS },
36551 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS },
36552 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS },
36553 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS },
36554 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS },
36555 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS },
36556 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS },
36557 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS },
36558 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
36559 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS },
36560 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS },
36561 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS },
36562 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS },
36563 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS },
36564 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS },
36565 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS },
36566 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS },
36567 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS },
36568 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS },
36569 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS },
36570 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS },
36571 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS },
36572 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36573 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36574 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS },
36575 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS },
36576 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS },
36577 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
36578 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
36579 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS },
36580 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
36581 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS },
36582 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS },
36583 { (char *)"Sizer_Hide", (PyCFunction) _wrap_Sizer_Hide, METH_VARARGS | METH_KEYWORDS },
36584 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS },
36585 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS },
36586 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS },
36587 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS },
36588 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
36589 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS },
36590 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS },
36591 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS },
36592 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS },
36593 { (char *)"BoxSizer_RecalcSizes", (PyCFunction) _wrap_BoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36594 { (char *)"BoxSizer_CalcMin", (PyCFunction) _wrap_BoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36595 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS },
36596 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS },
36597 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS },
36598 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction) _wrap_StaticBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36599 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction) _wrap_StaticBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36600 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS },
36601 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS },
36602 { (char *)"GridSizer_RecalcSizes", (PyCFunction) _wrap_GridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36603 { (char *)"GridSizer_CalcMin", (PyCFunction) _wrap_GridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36604 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS },
36605 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS },
36606 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS },
36607 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS },
36608 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS },
36609 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS },
36610 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS },
36611 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS },
36612 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS },
36613 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS },
36614 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction) _wrap_FlexGridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36615 { (char *)"FlexGridSizer_CalcMin", (PyCFunction) _wrap_FlexGridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36616 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS },
36617 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS },
36618 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS },
36619 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS },
36620 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
36621 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
36622 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
36623 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
423f194a
RD
36624 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS },
36625 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
36626 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS },
36627 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS },
36628 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS },
36629 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS },
36630 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS },
36631 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS },
36632 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS },
36633 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS },
423f194a
RD
36634 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS },
36635 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
36636 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS },
36637 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS },
36638 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS },
36639 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS },
36640 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS },
36641 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS },
36642 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS },
36643 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS },
423f194a
RD
36644 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS },
36645 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
36646 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS },
36647 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS },
36648 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS },
36649 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS },
36650 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
36651 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS },
36652 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS },
36653 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS },
36654 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS },
36655 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects, METH_VARARGS },
36656 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS },
36657 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS },
36658 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS },
36659 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS },
36660 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS },
36661 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS },
36662 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS },
36663 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
36664 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
36665 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS },
36666 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS },
36667 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS },
36668 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS },
36669 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS },
36670 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS },
423f194a 36671 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
36672 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction) _wrap_GridBagSizer_FindItemWithData, METH_VARARGS | METH_KEYWORDS },
36673 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction) _wrap_GridBagSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36674 { (char *)"GridBagSizer_CalcMin", (PyCFunction) _wrap_GridBagSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36675 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS },
36676 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS },
36677 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS },
36678 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS },
36679 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS },
36680 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS },
36681 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS },
36682 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS },
36683 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS },
36684 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS },
36685 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS },
36686 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS },
36687 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS },
36688 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS },
36689 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS },
36690 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS },
36691 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS },
36692 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS },
36693 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS },
36694 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS },
36695 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS },
36696 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS },
36697 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS },
36698 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS },
36699 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS },
36700 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS },
36701 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS },
36702 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS },
36703 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS },
36704 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS },
36705 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS },
36706 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS },
36707 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS },
36708 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS },
36709 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS },
36710 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS },
36711 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS },
36712 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS },
36713 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS },
36714 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS },
36715 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS },
36716 { NULL, NULL }
36717};
36718
36719
36720/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36721
36722static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
36723 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
36724}
36725static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
36726 return (void *)((wxSizer *) ((wxBoxSizer *) x));
36727}
36728static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
36729 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
36730}
36731static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
36732 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36733}
36734static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
36735 return (void *)((wxSizer *) ((wxGridSizer *) x));
36736}
36737static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
36738 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
36739}
36740static void *_p_wxPySizerTo_p_wxSizer(void *x) {
36741 return (void *)((wxSizer *) ((wxPySizer *) x));
36742}
36743static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
36744 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
36745}
36746static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
36747 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
36748}
36749static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
36750 return (void *)((wxEvent *) ((wxMenuEvent *) x));
36751}
36752static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
36753 return (void *)((wxEvent *) ((wxCloseEvent *) x));
36754}
36755static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
36756 return (void *)((wxEvent *) ((wxMouseEvent *) x));
36757}
36758static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
36759 return (void *)((wxEvent *) ((wxEraseEvent *) x));
36760}
36761static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
36762 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
36763}
36764static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
36765 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
36766}
36767static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
36768 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
36769}
36770static void *_p_wxPyEventTo_p_wxEvent(void *x) {
36771 return (void *)((wxEvent *) ((wxPyEvent *) x));
36772}
36773static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
36774 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
36775}
36776static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
36777 return (void *)((wxEvent *) ((wxIdleEvent *) x));
36778}
36779static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
36780 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
36781}
36782static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
36783 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
36784}
36785static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
36786 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
36787}
36788static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
36789 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
36790}
36791static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
36792 return (void *)((wxEvent *) ((wxActivateEvent *) x));
36793}
36794static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
36795 return (void *)((wxEvent *) ((wxSizeEvent *) x));
36796}
36797static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
36798 return (void *)((wxEvent *) ((wxMoveEvent *) x));
36799}
36800static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
36801 return (void *)((wxEvent *) ((wxPaintEvent *) x));
36802}
36803static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
36804 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
36805}
36806static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
36807 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
36808}
36809static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
36810 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
36811}
36812static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
36813 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
36814}
36815static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
36816 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36817}
36818static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
36819 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
36820}
36821static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
36822 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
36823}
36824static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
36825 return (void *)((wxEvent *) ((wxFocusEvent *) x));
36826}
36827static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
36828 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
36829}
36830static void *_p_wxShowEventTo_p_wxEvent(void *x) {
36831 return (void *)((wxEvent *) ((wxShowEvent *) x));
36832}
36833static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
36834 return (void *)((wxEvent *) ((wxCommandEvent *) x));
36835}
36836static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
36837 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
36838}
36839static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
36840 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36841}
36842static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
36843 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
36844}
36845static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
36846 return (void *)((wxEvent *) ((wxKeyEvent *) x));
36847}
36848static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
36849 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
36850}
36851static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
36852 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
36853}
36854static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
36855 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
36856}
36857static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
36858 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
36859}
36860static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
36861 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
36862}
36863static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
36864 return (void *)((wxControl *) ((wxControlWithItems *) x));
36865}
36866static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
36867 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
36868}
36869static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
36870 return (void *)((wxEvtHandler *) ((wxWindow *) x));
36871}
36872static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
36873 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36874}
36875static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
36876 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
36877}
36878static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
36879 return (void *)((wxEvtHandler *) ((wxValidator *) x));
36880}
36881static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
36882 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
36883}
36884static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
36885 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
36886}
36887static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
36888 return (void *)((wxEvtHandler *) ((wxMenu *) x));
36889}
36890static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
36891 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
36892}
36893static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
36894 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
36895}
36896static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
36897 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
36898}
36899static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
36900 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
36901}
36902static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
36903 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
36904}
36905static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
36906 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36907}
36908static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
36909 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
36910}
36911static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
36912 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
36913}
36914static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
36915 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36916}
36917static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
36918 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36919}
36920static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
36921 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
36922}
36923static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
36924 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
36925}
36926static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
36927 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
36928}
36929static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
36930 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
36931}
36932static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
36933 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
36934}
36935static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
36936 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
36937}
36938static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
36939 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
36940}
36941static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
36942 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
36943}
36944static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
36945 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
36946}
36947static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
36948 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
36949}
36950static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
36951 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
36952}
36953static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
36954 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
36955}
36956static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36957 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36958}
36959static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36960 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36961}
36962static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36963 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36964}
36965static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36966 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36967}
36968static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36969 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36970}
36971static void *_p_wxValidatorTo_p_wxObject(void *x) {
36972 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36973}
36974static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36975 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36976}
36977static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36978 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36979}
36980static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
36981 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
36982}
36983static void *_p_wxSizerTo_p_wxObject(void *x) {
36984 return (void *)((wxObject *) ((wxSizer *) x));
36985}
36986static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
36987 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
36988}
36989static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
36990 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
36991}
36992static void *_p_wxMenuTo_p_wxObject(void *x) {
36993 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36994}
36995static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
36996 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
36997}
36998static void *_p_wxImageTo_p_wxObject(void *x) {
36999 return (void *)((wxObject *) ((wxImage *) x));
37000}
37001static void *_p_wxScrollEventTo_p_wxObject(void *x) {
37002 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
37003}
37004static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
37005 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
37006}
37007static void *_p_wxPyEventTo_p_wxObject(void *x) {
37008 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
37009}
37010static void *_p_wxWindowTo_p_wxObject(void *x) {
37011 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
37012}
37013static void *_p_wxControlTo_p_wxObject(void *x) {
37014 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
37015}
41f1cec7
RD
37016static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
37017 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
37018}
d14a1e28
RD
37019static void *_p_wxGridSizerTo_p_wxObject(void *x) {
37020 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
37021}
37022static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
37023 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
37024}
37025static void *_p_wxPyAppTo_p_wxObject(void *x) {
37026 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
37027}
37028static void *_p_wxEventTo_p_wxObject(void *x) {
37029 return (void *)((wxObject *) ((wxEvent *) x));
37030}
37031static void *_p_wxActivateEventTo_p_wxObject(void *x) {
37032 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
37033}
37034static void *_p_wxMoveEventTo_p_wxObject(void *x) {
37035 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
37036}
37037static void *_p_wxSizeEventTo_p_wxObject(void *x) {
37038 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
37039}
37040static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
37041 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
37042}
37043static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
37044 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
37045}
37046static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
37047 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
37048}
37049static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
37050 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
37051}
37052static void *_p_wxIdleEventTo_p_wxObject(void *x) {
37053 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
37054}
37055static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
37056 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
37057}
37058static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
37059 return (void *)((wxObject *) ((wxEvtHandler *) x));
37060}
37061static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
37062 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
37063}
37064static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
37065 return (void *)((wxObject *) ((wxImageHandler *) x));
37066}
37067static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
37068 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
37069}
37070static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
37071 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
37072}
37073static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
37074 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
37075}
37076static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
37077 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
37078}
37079static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
37080 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
37081}
37082static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
37083 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
37084}
37085static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
37086 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
37087}
37088static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
37089 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
37090}
37091static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
37092 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
37093}
37094static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
37095 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
37096}
37097static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
37098 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
37099}
37100static void *_p_wxPaintEventTo_p_wxObject(void *x) {
37101 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
37102}
37103static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
37104 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
37105}
37106static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
37107 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
37108}
37109static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
37110 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
37111}
37112static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
37113 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
37114}
37115static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
37116 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
37117}
37118static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
37119 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
37120}
37121static void *_p_wxFileSystemTo_p_wxObject(void *x) {
37122 return (void *)((wxObject *) ((wxFileSystem *) x));
37123}
37124static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
37125 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
37126}
37127static void *_p_wxFocusEventTo_p_wxObject(void *x) {
37128 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
37129}
37130static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
37131 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
37132}
37133static void *_p_wxSizerItemTo_p_wxObject(void *x) {
37134 return (void *)((wxObject *) ((wxSizerItem *) x));
37135}
37136static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
37137 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
37138}
37139static void *_p_wxShowEventTo_p_wxObject(void *x) {
37140 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
37141}
37142static void *_p_wxFSFileTo_p_wxObject(void *x) {
37143 return (void *)((wxObject *) ((wxFSFile *) x));
37144}
37145static void *_p_wxCommandEventTo_p_wxObject(void *x) {
37146 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
37147}
37148static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
37149 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
37150}
37151static void *_p_wxKeyEventTo_p_wxObject(void *x) {
37152 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
37153}
37154static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
37155 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
37156}
37157static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
37158 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
37159}
37160static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
37161 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
37162}
37163static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
37164 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
37165}
37166static void *_p_wxMenuItemTo_p_wxObject(void *x) {
37167 return (void *)((wxObject *) ((wxMenuItem *) x));
37168}
37169static void *_p_wxPySizerTo_p_wxObject(void *x) {
37170 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
37171}
37172static void *_p_wxControlTo_p_wxWindow(void *x) {
37173 return (void *)((wxWindow *) ((wxControl *) x));
37174}
37175static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
37176 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
37177}
37178static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
37179 return (void *)((wxWindow *) ((wxMenuBar *) x));
37180}
37181static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
37182 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
37183}
37184static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
37185 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
37186}
37187static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
37188 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
37189}
37190static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
37191 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
37192}
37193static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
37194 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
37195}
37196static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
37197 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
37198}
37199static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
37200 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
37201}
37202static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
37203 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
37204}
37205static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
37206 return (void *)((wxValidator *) ((wxPyValidator *) x));
37207}
37208static swig_type_info _swigt__p_wxLayoutConstraints[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0},{"_p_wxLayoutConstraints"},{0}};
37209static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
37210static swig_type_info _swigt__p_wxSizerItem[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0},{"_p_wxSizerItem"},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem},{0}};
37211static swig_type_info _swigt__p_wxGBSizerItem[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0},{"_p_wxGBSizerItem"},{0}};
37212static swig_type_info _swigt__p_wxScrollEvent[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0},{"_p_wxScrollEvent"},{0}};
37213static swig_type_info _swigt__p_wxIndividualLayoutConstraint[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0},{"_p_wxIndividualLayoutConstraint"},{0}};
37214static 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}};
37215static swig_type_info _swigt__p_wxBoxSizer[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0},{"_p_wxBoxSizer"},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer},{0}};
37216static swig_type_info _swigt__p_wxStaticBoxSizer[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0},{"_p_wxStaticBoxSizer"},{0}};
37217static swig_type_info _swigt__p_wxGridBagSizer[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0},{"_p_wxGridBagSizer"},{0}};
37218static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
37219static swig_type_info _swigt__p_wxUpdateUIEvent[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0},{"_p_wxUpdateUIEvent"},{0}};
37220static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
37221static 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}};
37222static 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}};
37223static swig_type_info _swigt__p_wxFlexGridSizer[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer},{"_p_wxFlexGridSizer"},{0}};
37224static swig_type_info _swigt__p_wxInitDialogEvent[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0},{"_p_wxInitDialogEvent"},{0}};
37225static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer},{"_p_wxItemContainer"},{0}};
37226static swig_type_info _swigt__p_wxNcPaintEvent[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0},{"_p_wxNcPaintEvent"},{0}};
37227static swig_type_info _swigt__p_wxPaintEvent[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0},{"_p_wxPaintEvent"},{0}};
37228static swig_type_info _swigt__p_wxSysColourChangedEvent[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0},{"_p_wxSysColourChangedEvent"},{0}};
37229static swig_type_info _swigt__p_wxMouseCaptureChangedEvent[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0},{"_p_wxMouseCaptureChangedEvent"},{0}};
37230static swig_type_info _swigt__p_wxDisplayChangedEvent[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0},{"_p_wxDisplayChangedEvent"},{0}};
37231static swig_type_info _swigt__p_wxPaletteChangedEvent[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0},{"_p_wxPaletteChangedEvent"},{0}};
37232static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl},{0}};
37233static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
37234static swig_type_info _swigt__p_wxMenuBarBase[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0},{"_p_wxMenuBarBase"},{0}};
37235static swig_type_info _swigt__p_wxSetCursorEvent[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0},{"_p_wxSetCursorEvent"},{0}};
37236static swig_type_info _swigt__p_wxFSFile[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0},{"_p_wxFSFile"},{0}};
37237static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
37238static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
37239static swig_type_info _swigt__p_wxPoint2D[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0},{"_p_wxPoint2D"},{0}};
37240static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
37241static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
37242static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
37243static swig_type_info _swigt__p_wxPySizer[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0},{"_p_wxPySizer"},{0}};
37244static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxNotifyEvent"},{0}};
37245static swig_type_info _swigt__p_wxPyEvent[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0},{"_p_wxPyEvent"},{0}};
37246static swig_type_info _swigt__p_wxPropagationDisabler[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0},{"_p_wxPropagationDisabler"},{0}};
37247static swig_type_info _swigt__p_wxAppTraits[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0},{"_p_wxAppTraits"},{0}};
37248static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
37249static swig_type_info _swigt__p_wxShowEvent[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0},{"_p_wxShowEvent"},{0}};
37250static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
37251static swig_type_info _swigt__p_wxMaximizeEvent[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0},{"_p_wxMaximizeEvent"},{0}};
37252static swig_type_info _swigt__p_wxIconizeEvent[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0},{"_p_wxIconizeEvent"},{0}};
37253static swig_type_info _swigt__p_wxActivateEvent[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0},{"_p_wxActivateEvent"},{0}};
37254static swig_type_info _swigt__p_wxMoveEvent[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0},{"_p_wxMoveEvent"},{0}};
37255static swig_type_info _swigt__p_wxSizeEvent[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0},{"_p_wxSizeEvent"},{0}};
37256static swig_type_info _swigt__p_wxQueryNewPaletteEvent[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0},{"_p_wxQueryNewPaletteEvent"},{0}};
37257static swig_type_info _swigt__p_wxWindowCreateEvent[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0},{"_p_wxWindowCreateEvent"},{0}};
37258static swig_type_info _swigt__p_wxIdleEvent[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0},{"_p_wxIdleEvent"},{0}};
37259static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
37260static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
37261static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
37262static swig_type_info _swigt__p_wxTIFFHandler[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0},{"_p_wxTIFFHandler"},{0}};
37263static swig_type_info _swigt__p_wxXPMHandler[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0},{"_p_wxXPMHandler"},{0}};
37264static swig_type_info _swigt__p_wxPNMHandler[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0},{"_p_wxPNMHandler"},{0}};
37265static swig_type_info _swigt__p_wxJPEGHandler[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0},{"_p_wxJPEGHandler"},{0}};
37266static swig_type_info _swigt__p_wxPCXHandler[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0},{"_p_wxPCXHandler"},{0}};
37267static swig_type_info _swigt__p_wxGIFHandler[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0},{"_p_wxGIFHandler"},{0}};
37268static swig_type_info _swigt__p_wxPNGHandler[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0},{"_p_wxPNGHandler"},{0}};
37269static swig_type_info _swigt__p_wxANIHandler[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0},{"_p_wxANIHandler"},{0}};
37270static swig_type_info _swigt__p_wxMemoryFSHandler[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0},{"_p_wxMemoryFSHandler"},{0}};
37271static 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}};
37272static swig_type_info _swigt__p_wxCURHandler[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0},{"_p_wxCURHandler"},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler},{0}};
37273static 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}};
37274static 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}};
37275static 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}};
37276static 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}};
37277static swig_type_info _swigt__p_wxPyFileSystemHandler[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0},{"_p_wxPyFileSystemHandler"},{0}};
37278static swig_type_info _swigt__p_wxInternetFSHandler[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0},{"_p_wxInternetFSHandler"},{0}};
37279static swig_type_info _swigt__p_wxZipFSHandler[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0},{"_p_wxZipFSHandler"},{0}};
37280static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
37281static swig_type_info _swigt__p_wxGBSpan[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0},{"_p_wxGBSpan"},{0}};
37282static swig_type_info _swigt__p_wxPropagateOnce[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0},{"_p_wxPropagateOnce"},{0}};
37283static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
37284static swig_type_info _swigt__p_wxGBPosition[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0},{"_p_wxGBPosition"},{0}};
37285static swig_type_info _swigt__p_wxImage[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
37286static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
37287static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
37288static swig_type_info _swigt__p_wxImageHistogram[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0},{"_p_wxImageHistogram"},{0}};
37289static swig_type_info _swigt__p_byte[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
37290static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
37291static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
41f1cec7 37292static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}};
d14a1e28
RD
37293static swig_type_info _swigt__p_wxPyInputStream[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0},{"_p_wxPyInputStream"},{0}};
37294static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
37295static swig_type_info _swigt__p_wxInputStream[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}};
37296static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
37297static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
37298static swig_type_info _swigt__p_wxNavigationKeyEvent[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0},{"_p_wxNavigationKeyEvent"},{0}};
37299static swig_type_info _swigt__p_wxWindowDestroyEvent[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0},{"_p_wxWindowDestroyEvent"},{0}};
37300static 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}};
37301static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
37302static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
37303static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
37304static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
37305static swig_type_info _swigt__p_wxMenuEvent[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0},{"_p_wxMenuEvent"},{0}};
37306static swig_type_info _swigt__p_wxContextMenuEvent[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0},{"_p_wxContextMenuEvent"},{0}};
37307static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
37308static swig_type_info _swigt__p_wxCloseEvent[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0},{"_p_wxCloseEvent"},{0}};
37309static swig_type_info _swigt__p_wxEraseEvent[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0},{"_p_wxEraseEvent"},{0}};
37310static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
37311static swig_type_info _swigt__p_wxPyApp[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0},{"_p_wxPyApp"},{0}};
37312static 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}};
37313static swig_type_info _swigt__p_wxPyCommandEvent[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0},{"_p_wxPyCommandEvent"},{0}};
44127b65 37314static swig_type_info _swigt__p_wxPyDropTarget[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0},{"_p_wxPyDropTarget"},{0}};
d14a1e28
RD
37315static swig_type_info _swigt__p_wxChildFocusEvent[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0},{"_p_wxChildFocusEvent"},{0}};
37316static swig_type_info _swigt__p_wxFocusEvent[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0},{"_p_wxFocusEvent"},{0}};
37317static swig_type_info _swigt__p_wxDropFilesEvent[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0},{"_p_wxDropFilesEvent"},{0}};
37318static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxControlWithItems"},{0}};
37319static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
37320static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
37321static swig_type_info _swigt__p_wxPyValidator[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0},{"_p_wxPyValidator"},{0}};
37322
37323static swig_type_info *swig_types_initial[] = {
37324_swigt__p_wxLayoutConstraints,
37325_swigt__p_wxRealPoint,
37326_swigt__p_wxSizerItem,
37327_swigt__p_wxGBSizerItem,
37328_swigt__p_wxScrollEvent,
37329_swigt__p_wxIndividualLayoutConstraint,
37330_swigt__p_wxSizer,
37331_swigt__p_wxBoxSizer,
37332_swigt__p_wxStaticBoxSizer,
37333_swigt__p_wxGridBagSizer,
37334_swigt__p_wxAcceleratorEntry,
37335_swigt__p_wxUpdateUIEvent,
37336_swigt__p_wxMenu,
37337_swigt__p_wxEvent,
37338_swigt__p_wxGridSizer,
37339_swigt__p_wxFlexGridSizer,
37340_swigt__p_wxInitDialogEvent,
37341_swigt__p_wxItemContainer,
37342_swigt__p_wxNcPaintEvent,
37343_swigt__p_wxPaintEvent,
37344_swigt__p_wxSysColourChangedEvent,
37345_swigt__p_wxMouseCaptureChangedEvent,
37346_swigt__p_wxDisplayChangedEvent,
37347_swigt__p_wxPaletteChangedEvent,
37348_swigt__p_wxControl,
37349_swigt__p_wxFont,
37350_swigt__p_wxMenuBarBase,
37351_swigt__p_wxSetCursorEvent,
37352_swigt__p_wxFSFile,
37353_swigt__p_wxCaret,
37354_swigt__p_wxRegion,
37355_swigt__p_wxPoint2D,
37356_swigt__p_int,
37357_swigt__p_wxSize,
37358_swigt__p_wxDC,
37359_swigt__p_wxPySizer,
37360_swigt__p_wxNotifyEvent,
37361_swigt__p_wxPyEvent,
37362_swigt__p_wxPropagationDisabler,
37363_swigt__p_wxAppTraits,
37364_swigt__p_wxArrayString,
37365_swigt__p_wxShowEvent,
37366_swigt__p_wxToolTip,
37367_swigt__p_wxMaximizeEvent,
37368_swigt__p_wxIconizeEvent,
37369_swigt__p_wxActivateEvent,
37370_swigt__p_wxMoveEvent,
37371_swigt__p_wxSizeEvent,
37372_swigt__p_wxQueryNewPaletteEvent,
37373_swigt__p_wxWindowCreateEvent,
37374_swigt__p_wxIdleEvent,
37375_swigt__p_wxMenuItem,
37376_swigt__p_wxStaticBox,
37377_swigt__p_long,
37378_swigt__p_wxTIFFHandler,
37379_swigt__p_wxXPMHandler,
37380_swigt__p_wxPNMHandler,
37381_swigt__p_wxJPEGHandler,
37382_swigt__p_wxPCXHandler,
37383_swigt__p_wxGIFHandler,
37384_swigt__p_wxPNGHandler,
37385_swigt__p_wxANIHandler,
37386_swigt__p_wxMemoryFSHandler,
37387_swigt__p_wxEvtHandler,
37388_swigt__p_wxCURHandler,
37389_swigt__p_wxICOHandler,
37390_swigt__p_wxBMPHandler,
37391_swigt__p_wxImageHandler,
37392_swigt__p_wxFileSystemHandler,
37393_swigt__p_wxPyFileSystemHandler,
37394_swigt__p_wxInternetFSHandler,
37395_swigt__p_wxZipFSHandler,
37396_swigt__p_wxRect,
37397_swigt__p_wxGBSpan,
37398_swigt__p_wxPropagateOnce,
37399_swigt__p_wxAcceleratorTable,
37400_swigt__p_wxGBPosition,
37401_swigt__p_wxImage,
37402_swigt__p_wxFrame,
37403_swigt__p_wxScrollWinEvent,
37404_swigt__p_wxImageHistogram,
37405_swigt__p_byte,
37406_swigt__p_wxPoint,
37407_swigt__p_wxCursor,
37408_swigt__p_wxObject,
37409_swigt__p_wxPyInputStream,
37410_swigt__p_wxOutputStream,
37411_swigt__p_wxInputStream,
37412_swigt__p_wxDateTime,
37413_swigt__p_wxKeyEvent,
37414_swigt__p_wxNavigationKeyEvent,
37415_swigt__p_wxWindowDestroyEvent,
37416_swigt__p_wxWindow,
37417_swigt__p_wxMenuBar,
37418_swigt__p_wxString,
37419_swigt__p_wxFileSystem,
37420_swigt__p_wxBitmap,
37421_swigt__p_wxMenuEvent,
37422_swigt__p_wxContextMenuEvent,
37423_swigt__p_unsigned_char,
37424_swigt__p_wxCloseEvent,
37425_swigt__p_wxEraseEvent,
37426_swigt__p_wxMouseEvent,
37427_swigt__p_wxPyApp,
37428_swigt__p_wxCommandEvent,
37429_swigt__p_wxPyCommandEvent,
44127b65 37430_swigt__p_wxPyDropTarget,
d14a1e28
RD
37431_swigt__p_wxChildFocusEvent,
37432_swigt__p_wxFocusEvent,
37433_swigt__p_wxDropFilesEvent,
37434_swigt__p_wxControlWithItems,
37435_swigt__p_wxColour,
37436_swigt__p_wxValidator,
37437_swigt__p_wxPyValidator,
374380
37439};
37440
37441
37442/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37443
37444static swig_const_info swig_const_table[] = {
37445{ SWIG_PY_INT, (char *)"NOT_FOUND", (long) wxNOT_FOUND, 0, 0, 0},
37446{ SWIG_PY_INT, (char *)"VSCROLL", (long) wxVSCROLL, 0, 0, 0},
37447{ SWIG_PY_INT, (char *)"HSCROLL", (long) wxHSCROLL, 0, 0, 0},
37448{ SWIG_PY_INT, (char *)"CAPTION", (long) wxCAPTION, 0, 0, 0},
37449{ SWIG_PY_INT, (char *)"DOUBLE_BORDER", (long) wxDOUBLE_BORDER, 0, 0, 0},
37450{ SWIG_PY_INT, (char *)"SUNKEN_BORDER", (long) wxSUNKEN_BORDER, 0, 0, 0},
37451{ SWIG_PY_INT, (char *)"RAISED_BORDER", (long) wxRAISED_BORDER, 0, 0, 0},
37452{ SWIG_PY_INT, (char *)"BORDER", (long) wxBORDER, 0, 0, 0},
37453{ SWIG_PY_INT, (char *)"SIMPLE_BORDER", (long) wxSIMPLE_BORDER, 0, 0, 0},
37454{ SWIG_PY_INT, (char *)"STATIC_BORDER", (long) wxSTATIC_BORDER, 0, 0, 0},
37455{ SWIG_PY_INT, (char *)"TRANSPARENT_WINDOW", (long) wxTRANSPARENT_WINDOW, 0, 0, 0},
37456{ SWIG_PY_INT, (char *)"NO_BORDER", (long) wxNO_BORDER, 0, 0, 0},
37457{ SWIG_PY_INT, (char *)"USER_COLOURS", (long) wxUSER_COLOURS, 0, 0, 0},
37458{ SWIG_PY_INT, (char *)"NO_3D", (long) wxNO_3D, 0, 0, 0},
37459{ SWIG_PY_INT, (char *)"TAB_TRAVERSAL", (long) wxTAB_TRAVERSAL, 0, 0, 0},
37460{ SWIG_PY_INT, (char *)"WANTS_CHARS", (long) wxWANTS_CHARS, 0, 0, 0},
37461{ SWIG_PY_INT, (char *)"POPUP_WINDOW", (long) wxPOPUP_WINDOW, 0, 0, 0},
37462{ SWIG_PY_INT, (char *)"CENTER_FRAME", (long) wxCENTER_FRAME, 0, 0, 0},
37463{ SWIG_PY_INT, (char *)"CENTRE_ON_SCREEN", (long) wxCENTRE_ON_SCREEN, 0, 0, 0},
37464{ SWIG_PY_INT, (char *)"CENTER_ON_SCREEN", (long) wxCENTER_ON_SCREEN, 0, 0, 0},
37465{ SWIG_PY_INT, (char *)"STAY_ON_TOP", (long) wxSTAY_ON_TOP, 0, 0, 0},
37466{ SWIG_PY_INT, (char *)"ICONIZE", (long) wxICONIZE, 0, 0, 0},
37467{ SWIG_PY_INT, (char *)"MINIMIZE", (long) wxMINIMIZE, 0, 0, 0},
37468{ SWIG_PY_INT, (char *)"MAXIMIZE", (long) wxMAXIMIZE, 0, 0, 0},
37469{ SWIG_PY_INT, (char *)"CLOSE_BOX", (long) wxCLOSE_BOX, 0, 0, 0},
37470{ SWIG_PY_INT, (char *)"THICK_FRAME", (long) wxTHICK_FRAME, 0, 0, 0},
37471{ SWIG_PY_INT, (char *)"SYSTEM_MENU", (long) wxSYSTEM_MENU, 0, 0, 0},
37472{ SWIG_PY_INT, (char *)"MINIMIZE_BOX", (long) wxMINIMIZE_BOX, 0, 0, 0},
37473{ SWIG_PY_INT, (char *)"MAXIMIZE_BOX", (long) wxMAXIMIZE_BOX, 0, 0, 0},
37474{ SWIG_PY_INT, (char *)"TINY_CAPTION_HORIZ", (long) wxTINY_CAPTION_HORIZ, 0, 0, 0},
37475{ SWIG_PY_INT, (char *)"TINY_CAPTION_VERT", (long) wxTINY_CAPTION_VERT, 0, 0, 0},
37476{ SWIG_PY_INT, (char *)"RESIZE_BOX", (long) wxRESIZE_BOX, 0, 0, 0},
37477{ SWIG_PY_INT, (char *)"RESIZE_BORDER", (long) wxRESIZE_BORDER, 0, 0, 0},
37478{ SWIG_PY_INT, (char *)"DIALOG_MODAL", (long) wxDIALOG_MODAL, 0, 0, 0},
37479{ SWIG_PY_INT, (char *)"DIALOG_MODELESS", (long) wxDIALOG_MODELESS, 0, 0, 0},
37480{ SWIG_PY_INT, (char *)"DIALOG_NO_PARENT", (long) wxDIALOG_NO_PARENT, 0, 0, 0},
37481{ SWIG_PY_INT, (char *)"DEFAULT_FRAME_STYLE", (long) wxDEFAULT_FRAME_STYLE, 0, 0, 0},
37482{ SWIG_PY_INT, (char *)"DEFAULT_DIALOG_STYLE", (long) wxDEFAULT_DIALOG_STYLE, 0, 0, 0},
37483{ SWIG_PY_INT, (char *)"FRAME_TOOL_WINDOW", (long) wxFRAME_TOOL_WINDOW, 0, 0, 0},
37484{ SWIG_PY_INT, (char *)"FRAME_FLOAT_ON_PARENT", (long) wxFRAME_FLOAT_ON_PARENT, 0, 0, 0},
37485{ SWIG_PY_INT, (char *)"FRAME_NO_WINDOW_MENU", (long) wxFRAME_NO_WINDOW_MENU, 0, 0, 0},
37486{ SWIG_PY_INT, (char *)"FRAME_NO_TASKBAR", (long) wxFRAME_NO_TASKBAR, 0, 0, 0},
37487{ SWIG_PY_INT, (char *)"FRAME_SHAPED", (long) wxFRAME_SHAPED, 0, 0, 0},
37488{ SWIG_PY_INT, (char *)"ED_CLIENT_MARGIN", (long) wxED_CLIENT_MARGIN, 0, 0, 0},
37489{ SWIG_PY_INT, (char *)"ED_BUTTONS_BOTTOM", (long) wxED_BUTTONS_BOTTOM, 0, 0, 0},
37490{ SWIG_PY_INT, (char *)"ED_BUTTONS_RIGHT", (long) wxED_BUTTONS_RIGHT, 0, 0, 0},
37491{ SWIG_PY_INT, (char *)"ED_STATIC_LINE", (long) wxED_STATIC_LINE, 0, 0, 0},
37492{ SWIG_PY_INT, (char *)"EXT_DIALOG_STYLE", (long) wxEXT_DIALOG_STYLE, 0, 0, 0},
37493{ SWIG_PY_INT, (char *)"CLIP_CHILDREN", (long) wxCLIP_CHILDREN, 0, 0, 0},
37494{ SWIG_PY_INT, (char *)"CLIP_SIBLINGS", (long) wxCLIP_SIBLINGS, 0, 0, 0},
37495{ SWIG_PY_INT, (char *)"RETAINED", (long) wxRETAINED, 0, 0, 0},
37496{ SWIG_PY_INT, (char *)"BACKINGSTORE", (long) wxBACKINGSTORE, 0, 0, 0},
37497{ SWIG_PY_INT, (char *)"COLOURED", (long) wxCOLOURED, 0, 0, 0},
37498{ SWIG_PY_INT, (char *)"FIXED_LENGTH", (long) wxFIXED_LENGTH, 0, 0, 0},
37499{ SWIG_PY_INT, (char *)"LB_NEEDED_SB", (long) wxLB_NEEDED_SB, 0, 0, 0},
37500{ SWIG_PY_INT, (char *)"LB_ALWAYS_SB", (long) wxLB_ALWAYS_SB, 0, 0, 0},
37501{ SWIG_PY_INT, (char *)"LB_SORT", (long) wxLB_SORT, 0, 0, 0},
37502{ SWIG_PY_INT, (char *)"LB_SINGLE", (long) wxLB_SINGLE, 0, 0, 0},
37503{ SWIG_PY_INT, (char *)"LB_MULTIPLE", (long) wxLB_MULTIPLE, 0, 0, 0},
37504{ SWIG_PY_INT, (char *)"LB_EXTENDED", (long) wxLB_EXTENDED, 0, 0, 0},
37505{ SWIG_PY_INT, (char *)"LB_OWNERDRAW", (long) wxLB_OWNERDRAW, 0, 0, 0},
37506{ SWIG_PY_INT, (char *)"LB_HSCROLL", (long) wxLB_HSCROLL, 0, 0, 0},
37507{ SWIG_PY_INT, (char *)"PROCESS_ENTER", (long) wxPROCESS_ENTER, 0, 0, 0},
37508{ SWIG_PY_INT, (char *)"PASSWORD", (long) wxPASSWORD, 0, 0, 0},
37509{ SWIG_PY_INT, (char *)"CB_SIMPLE", (long) wxCB_SIMPLE, 0, 0, 0},
37510{ SWIG_PY_INT, (char *)"CB_DROPDOWN", (long) wxCB_DROPDOWN, 0, 0, 0},
37511{ SWIG_PY_INT, (char *)"CB_SORT", (long) wxCB_SORT, 0, 0, 0},
37512{ SWIG_PY_INT, (char *)"CB_READONLY", (long) wxCB_READONLY, 0, 0, 0},
37513{ SWIG_PY_INT, (char *)"RA_HORIZONTAL", (long) wxRA_HORIZONTAL, 0, 0, 0},
37514{ SWIG_PY_INT, (char *)"RA_VERTICAL", (long) wxRA_VERTICAL, 0, 0, 0},
37515{ SWIG_PY_INT, (char *)"RA_SPECIFY_ROWS", (long) wxRA_SPECIFY_ROWS, 0, 0, 0},
37516{ SWIG_PY_INT, (char *)"RA_SPECIFY_COLS", (long) wxRA_SPECIFY_COLS, 0, 0, 0},
37517{ SWIG_PY_INT, (char *)"RB_GROUP", (long) wxRB_GROUP, 0, 0, 0},
37518{ SWIG_PY_INT, (char *)"RB_SINGLE", (long) wxRB_SINGLE, 0, 0, 0},
37519{ SWIG_PY_INT, (char *)"SL_HORIZONTAL", (long) wxSL_HORIZONTAL, 0, 0, 0},
37520{ SWIG_PY_INT, (char *)"SL_VERTICAL", (long) wxSL_VERTICAL, 0, 0, 0},
37521{ SWIG_PY_INT, (char *)"SL_AUTOTICKS", (long) wxSL_AUTOTICKS, 0, 0, 0},
37522{ SWIG_PY_INT, (char *)"SL_LABELS", (long) wxSL_LABELS, 0, 0, 0},
37523{ SWIG_PY_INT, (char *)"SL_LEFT", (long) wxSL_LEFT, 0, 0, 0},
37524{ SWIG_PY_INT, (char *)"SL_TOP", (long) wxSL_TOP, 0, 0, 0},
37525{ SWIG_PY_INT, (char *)"SL_RIGHT", (long) wxSL_RIGHT, 0, 0, 0},
37526{ SWIG_PY_INT, (char *)"SL_BOTTOM", (long) wxSL_BOTTOM, 0, 0, 0},
37527{ SWIG_PY_INT, (char *)"SL_BOTH", (long) wxSL_BOTH, 0, 0, 0},
37528{ SWIG_PY_INT, (char *)"SL_SELRANGE", (long) wxSL_SELRANGE, 0, 0, 0},
37529{ SWIG_PY_INT, (char *)"SB_HORIZONTAL", (long) wxSB_HORIZONTAL, 0, 0, 0},
37530{ SWIG_PY_INT, (char *)"SB_VERTICAL", (long) wxSB_VERTICAL, 0, 0, 0},
37531{ SWIG_PY_INT, (char *)"ST_SIZEGRIP", (long) wxST_SIZEGRIP, 0, 0, 0},
37532{ SWIG_PY_INT, (char *)"ST_NO_AUTORESIZE", (long) wxST_NO_AUTORESIZE, 0, 0, 0},
37533{ SWIG_PY_INT, (char *)"FLOOD_SURFACE", (long) wxFLOOD_SURFACE, 0, 0, 0},
37534{ SWIG_PY_INT, (char *)"FLOOD_BORDER", (long) wxFLOOD_BORDER, 0, 0, 0},
37535{ SWIG_PY_INT, (char *)"ODDEVEN_RULE", (long) wxODDEVEN_RULE, 0, 0, 0},
37536{ SWIG_PY_INT, (char *)"WINDING_RULE", (long) wxWINDING_RULE, 0, 0, 0},
37537{ SWIG_PY_INT, (char *)"TOOL_TOP", (long) wxTOOL_TOP, 0, 0, 0},
37538{ SWIG_PY_INT, (char *)"TOOL_BOTTOM", (long) wxTOOL_BOTTOM, 0, 0, 0},
37539{ SWIG_PY_INT, (char *)"TOOL_LEFT", (long) wxTOOL_LEFT, 0, 0, 0},
37540{ SWIG_PY_INT, (char *)"TOOL_RIGHT", (long) wxTOOL_RIGHT, 0, 0, 0},
37541{ SWIG_PY_INT, (char *)"OK", (long) wxOK, 0, 0, 0},
37542{ SWIG_PY_INT, (char *)"YES_NO", (long) wxYES_NO, 0, 0, 0},
37543{ SWIG_PY_INT, (char *)"CANCEL", (long) wxCANCEL, 0, 0, 0},
37544{ SWIG_PY_INT, (char *)"YES", (long) wxYES, 0, 0, 0},
37545{ SWIG_PY_INT, (char *)"NO", (long) wxNO, 0, 0, 0},
37546{ SWIG_PY_INT, (char *)"NO_DEFAULT", (long) wxNO_DEFAULT, 0, 0, 0},
37547{ SWIG_PY_INT, (char *)"YES_DEFAULT", (long) wxYES_DEFAULT, 0, 0, 0},
37548{ SWIG_PY_INT, (char *)"ICON_EXCLAMATION", (long) wxICON_EXCLAMATION, 0, 0, 0},
37549{ SWIG_PY_INT, (char *)"ICON_HAND", (long) wxICON_HAND, 0, 0, 0},
37550{ SWIG_PY_INT, (char *)"ICON_QUESTION", (long) wxICON_QUESTION, 0, 0, 0},
37551{ SWIG_PY_INT, (char *)"ICON_INFORMATION", (long) wxICON_INFORMATION, 0, 0, 0},
37552{ SWIG_PY_INT, (char *)"ICON_STOP", (long) wxICON_STOP, 0, 0, 0},
37553{ SWIG_PY_INT, (char *)"ICON_ASTERISK", (long) wxICON_ASTERISK, 0, 0, 0},
37554{ SWIG_PY_INT, (char *)"ICON_MASK", (long) wxICON_MASK, 0, 0, 0},
37555{ SWIG_PY_INT, (char *)"ICON_WARNING", (long) wxICON_WARNING, 0, 0, 0},
37556{ SWIG_PY_INT, (char *)"ICON_ERROR", (long) wxICON_ERROR, 0, 0, 0},
37557{ SWIG_PY_INT, (char *)"FORWARD", (long) wxFORWARD, 0, 0, 0},
37558{ SWIG_PY_INT, (char *)"BACKWARD", (long) wxBACKWARD, 0, 0, 0},
37559{ SWIG_PY_INT, (char *)"RESET", (long) wxRESET, 0, 0, 0},
37560{ SWIG_PY_INT, (char *)"HELP", (long) wxHELP, 0, 0, 0},
37561{ SWIG_PY_INT, (char *)"MORE", (long) wxMORE, 0, 0, 0},
37562{ SWIG_PY_INT, (char *)"SETUP", (long) wxSETUP, 0, 0, 0},
37563{ SWIG_PY_INT, (char *)"SIZE_AUTO_WIDTH", (long) wxSIZE_AUTO_WIDTH, 0, 0, 0},
37564{ SWIG_PY_INT, (char *)"SIZE_AUTO_HEIGHT", (long) wxSIZE_AUTO_HEIGHT, 0, 0, 0},
37565{ SWIG_PY_INT, (char *)"SIZE_AUTO", (long) wxSIZE_AUTO, 0, 0, 0},
37566{ SWIG_PY_INT, (char *)"SIZE_USE_EXISTING", (long) wxSIZE_USE_EXISTING, 0, 0, 0},
37567{ SWIG_PY_INT, (char *)"SIZE_ALLOW_MINUS_ONE", (long) wxSIZE_ALLOW_MINUS_ONE, 0, 0, 0},
37568{ SWIG_PY_INT, (char *)"PORTRAIT", (long) wxPORTRAIT, 0, 0, 0},
37569{ SWIG_PY_INT, (char *)"LANDSCAPE", (long) wxLANDSCAPE, 0, 0, 0},
37570{ SWIG_PY_INT, (char *)"PRINT_QUALITY_HIGH", (long) wxPRINT_QUALITY_HIGH, 0, 0, 0},
37571{ SWIG_PY_INT, (char *)"PRINT_QUALITY_MEDIUM", (long) wxPRINT_QUALITY_MEDIUM, 0, 0, 0},
37572{ SWIG_PY_INT, (char *)"PRINT_QUALITY_LOW", (long) wxPRINT_QUALITY_LOW, 0, 0, 0},
37573{ SWIG_PY_INT, (char *)"PRINT_QUALITY_DRAFT", (long) wxPRINT_QUALITY_DRAFT, 0, 0, 0},
37574{ SWIG_PY_INT, (char *)"ID_ANY", (long) wxID_ANY, 0, 0, 0},
37575{ SWIG_PY_INT, (char *)"ID_SEPARATOR", (long) wxID_SEPARATOR, 0, 0, 0},
37576{ SWIG_PY_INT, (char *)"ID_LOWEST", (long) wxID_LOWEST, 0, 0, 0},
37577{ SWIG_PY_INT, (char *)"ID_OPEN", (long) wxID_OPEN, 0, 0, 0},
37578{ SWIG_PY_INT, (char *)"ID_CLOSE", (long) wxID_CLOSE, 0, 0, 0},
37579{ SWIG_PY_INT, (char *)"ID_NEW", (long) wxID_NEW, 0, 0, 0},
37580{ SWIG_PY_INT, (char *)"ID_SAVE", (long) wxID_SAVE, 0, 0, 0},
37581{ SWIG_PY_INT, (char *)"ID_SAVEAS", (long) wxID_SAVEAS, 0, 0, 0},
37582{ SWIG_PY_INT, (char *)"ID_REVERT", (long) wxID_REVERT, 0, 0, 0},
37583{ SWIG_PY_INT, (char *)"ID_EXIT", (long) wxID_EXIT, 0, 0, 0},
37584{ SWIG_PY_INT, (char *)"ID_UNDO", (long) wxID_UNDO, 0, 0, 0},
37585{ SWIG_PY_INT, (char *)"ID_REDO", (long) wxID_REDO, 0, 0, 0},
37586{ SWIG_PY_INT, (char *)"ID_HELP", (long) wxID_HELP, 0, 0, 0},
37587{ SWIG_PY_INT, (char *)"ID_PRINT", (long) wxID_PRINT, 0, 0, 0},
37588{ SWIG_PY_INT, (char *)"ID_PRINT_SETUP", (long) wxID_PRINT_SETUP, 0, 0, 0},
37589{ SWIG_PY_INT, (char *)"ID_PREVIEW", (long) wxID_PREVIEW, 0, 0, 0},
37590{ SWIG_PY_INT, (char *)"ID_ABOUT", (long) wxID_ABOUT, 0, 0, 0},
37591{ SWIG_PY_INT, (char *)"ID_HELP_CONTENTS", (long) wxID_HELP_CONTENTS, 0, 0, 0},
37592{ SWIG_PY_INT, (char *)"ID_HELP_COMMANDS", (long) wxID_HELP_COMMANDS, 0, 0, 0},
37593{ SWIG_PY_INT, (char *)"ID_HELP_PROCEDURES", (long) wxID_HELP_PROCEDURES, 0, 0, 0},
37594{ SWIG_PY_INT, (char *)"ID_HELP_CONTEXT", (long) wxID_HELP_CONTEXT, 0, 0, 0},
37595{ SWIG_PY_INT, (char *)"ID_CLOSE_ALL", (long) wxID_CLOSE_ALL, 0, 0, 0},
37596{ SWIG_PY_INT, (char *)"ID_PREFERENCES", (long) wxID_PREFERENCES, 0, 0, 0},
37597{ SWIG_PY_INT, (char *)"ID_CUT", (long) wxID_CUT, 0, 0, 0},
37598{ SWIG_PY_INT, (char *)"ID_COPY", (long) wxID_COPY, 0, 0, 0},
37599{ SWIG_PY_INT, (char *)"ID_PASTE", (long) wxID_PASTE, 0, 0, 0},
37600{ SWIG_PY_INT, (char *)"ID_CLEAR", (long) wxID_CLEAR, 0, 0, 0},
37601{ SWIG_PY_INT, (char *)"ID_FIND", (long) wxID_FIND, 0, 0, 0},
37602{ SWIG_PY_INT, (char *)"ID_DUPLICATE", (long) wxID_DUPLICATE, 0, 0, 0},
37603{ SWIG_PY_INT, (char *)"ID_SELECTALL", (long) wxID_SELECTALL, 0, 0, 0},
37604{ SWIG_PY_INT, (char *)"ID_DELETE", (long) wxID_DELETE, 0, 0, 0},
37605{ SWIG_PY_INT, (char *)"ID_REPLACE", (long) wxID_REPLACE, 0, 0, 0},
37606{ SWIG_PY_INT, (char *)"ID_REPLACE_ALL", (long) wxID_REPLACE_ALL, 0, 0, 0},
37607{ SWIG_PY_INT, (char *)"ID_PROPERTIES", (long) wxID_PROPERTIES, 0, 0, 0},
37608{ SWIG_PY_INT, (char *)"ID_VIEW_DETAILS", (long) wxID_VIEW_DETAILS, 0, 0, 0},
37609{ SWIG_PY_INT, (char *)"ID_VIEW_LARGEICONS", (long) wxID_VIEW_LARGEICONS, 0, 0, 0},
37610{ SWIG_PY_INT, (char *)"ID_VIEW_SMALLICONS", (long) wxID_VIEW_SMALLICONS, 0, 0, 0},
37611{ SWIG_PY_INT, (char *)"ID_VIEW_LIST", (long) wxID_VIEW_LIST, 0, 0, 0},
37612{ SWIG_PY_INT, (char *)"ID_VIEW_SORTDATE", (long) wxID_VIEW_SORTDATE, 0, 0, 0},
37613{ SWIG_PY_INT, (char *)"ID_VIEW_SORTNAME", (long) wxID_VIEW_SORTNAME, 0, 0, 0},
37614{ SWIG_PY_INT, (char *)"ID_VIEW_SORTSIZE", (long) wxID_VIEW_SORTSIZE, 0, 0, 0},
37615{ SWIG_PY_INT, (char *)"ID_VIEW_SORTTYPE", (long) wxID_VIEW_SORTTYPE, 0, 0, 0},
37616{ SWIG_PY_INT, (char *)"ID_FILE1", (long) wxID_FILE1, 0, 0, 0},
37617{ SWIG_PY_INT, (char *)"ID_FILE2", (long) wxID_FILE2, 0, 0, 0},
37618{ SWIG_PY_INT, (char *)"ID_FILE3", (long) wxID_FILE3, 0, 0, 0},
37619{ SWIG_PY_INT, (char *)"ID_FILE4", (long) wxID_FILE4, 0, 0, 0},
37620{ SWIG_PY_INT, (char *)"ID_FILE5", (long) wxID_FILE5, 0, 0, 0},
37621{ SWIG_PY_INT, (char *)"ID_FILE6", (long) wxID_FILE6, 0, 0, 0},
37622{ SWIG_PY_INT, (char *)"ID_FILE7", (long) wxID_FILE7, 0, 0, 0},
37623{ SWIG_PY_INT, (char *)"ID_FILE8", (long) wxID_FILE8, 0, 0, 0},
37624{ SWIG_PY_INT, (char *)"ID_FILE9", (long) wxID_FILE9, 0, 0, 0},
37625{ SWIG_PY_INT, (char *)"ID_OK", (long) wxID_OK, 0, 0, 0},
37626{ SWIG_PY_INT, (char *)"ID_CANCEL", (long) wxID_CANCEL, 0, 0, 0},
37627{ SWIG_PY_INT, (char *)"ID_APPLY", (long) wxID_APPLY, 0, 0, 0},
37628{ SWIG_PY_INT, (char *)"ID_YES", (long) wxID_YES, 0, 0, 0},
37629{ SWIG_PY_INT, (char *)"ID_NO", (long) wxID_NO, 0, 0, 0},
37630{ SWIG_PY_INT, (char *)"ID_STATIC", (long) wxID_STATIC, 0, 0, 0},
37631{ SWIG_PY_INT, (char *)"ID_FORWARD", (long) wxID_FORWARD, 0, 0, 0},
37632{ SWIG_PY_INT, (char *)"ID_BACKWARD", (long) wxID_BACKWARD, 0, 0, 0},
37633{ SWIG_PY_INT, (char *)"ID_DEFAULT", (long) wxID_DEFAULT, 0, 0, 0},
37634{ SWIG_PY_INT, (char *)"ID_MORE", (long) wxID_MORE, 0, 0, 0},
37635{ SWIG_PY_INT, (char *)"ID_SETUP", (long) wxID_SETUP, 0, 0, 0},
37636{ SWIG_PY_INT, (char *)"ID_RESET", (long) wxID_RESET, 0, 0, 0},
37637{ SWIG_PY_INT, (char *)"ID_CONTEXT_HELP", (long) wxID_CONTEXT_HELP, 0, 0, 0},
37638{ SWIG_PY_INT, (char *)"ID_YESTOALL", (long) wxID_YESTOALL, 0, 0, 0},
37639{ SWIG_PY_INT, (char *)"ID_NOTOALL", (long) wxID_NOTOALL, 0, 0, 0},
37640{ SWIG_PY_INT, (char *)"ID_ABORT", (long) wxID_ABORT, 0, 0, 0},
37641{ SWIG_PY_INT, (char *)"ID_RETRY", (long) wxID_RETRY, 0, 0, 0},
37642{ SWIG_PY_INT, (char *)"ID_IGNORE", (long) wxID_IGNORE, 0, 0, 0},
37643{ SWIG_PY_INT, (char *)"ID_HIGHEST", (long) wxID_HIGHEST, 0, 0, 0},
37644{ SWIG_PY_INT, (char *)"OPEN", (long) wxOPEN, 0, 0, 0},
37645{ SWIG_PY_INT, (char *)"SAVE", (long) wxSAVE, 0, 0, 0},
37646{ SWIG_PY_INT, (char *)"HIDE_READONLY", (long) wxHIDE_READONLY, 0, 0, 0},
37647{ SWIG_PY_INT, (char *)"OVERWRITE_PROMPT", (long) wxOVERWRITE_PROMPT, 0, 0, 0},
37648{ SWIG_PY_INT, (char *)"FILE_MUST_EXIST", (long) wxFILE_MUST_EXIST, 0, 0, 0},
37649{ SWIG_PY_INT, (char *)"MULTIPLE", (long) wxMULTIPLE, 0, 0, 0},
37650{ SWIG_PY_INT, (char *)"CHANGE_DIR", (long) wxCHANGE_DIR, 0, 0, 0},
37651{ SWIG_PY_INT, (char *)"ACCEL_ALT", (long) wxACCEL_ALT, 0, 0, 0},
37652{ SWIG_PY_INT, (char *)"ACCEL_CTRL", (long) wxACCEL_CTRL, 0, 0, 0},
37653{ SWIG_PY_INT, (char *)"ACCEL_SHIFT", (long) wxACCEL_SHIFT, 0, 0, 0},
37654{ SWIG_PY_INT, (char *)"ACCEL_NORMAL", (long) wxACCEL_NORMAL, 0, 0, 0},
37655{ SWIG_PY_INT, (char *)"PD_AUTO_HIDE", (long) wxPD_AUTO_HIDE, 0, 0, 0},
37656{ SWIG_PY_INT, (char *)"PD_APP_MODAL", (long) wxPD_APP_MODAL, 0, 0, 0},
37657{ SWIG_PY_INT, (char *)"PD_CAN_ABORT", (long) wxPD_CAN_ABORT, 0, 0, 0},
37658{ SWIG_PY_INT, (char *)"PD_ELAPSED_TIME", (long) wxPD_ELAPSED_TIME, 0, 0, 0},
37659{ SWIG_PY_INT, (char *)"PD_ESTIMATED_TIME", (long) wxPD_ESTIMATED_TIME, 0, 0, 0},
37660{ SWIG_PY_INT, (char *)"PD_REMAINING_TIME", (long) wxPD_REMAINING_TIME, 0, 0, 0},
37661{ SWIG_PY_INT, (char *)"DD_NEW_DIR_BUTTON", (long) wxDD_NEW_DIR_BUTTON, 0, 0, 0},
37662{ SWIG_PY_INT, (char *)"DD_DEFAULT_STYLE", (long) wxDD_DEFAULT_STYLE, 0, 0, 0},
37663{ SWIG_PY_INT, (char *)"MENU_TEAROFF", (long) wxMENU_TEAROFF, 0, 0, 0},
37664{ SWIG_PY_INT, (char *)"MB_DOCKABLE", (long) wxMB_DOCKABLE, 0, 0, 0},
37665{ SWIG_PY_INT, (char *)"NO_FULL_REPAINT_ON_RESIZE", (long) wxNO_FULL_REPAINT_ON_RESIZE, 0, 0, 0},
0f774bef 37666{ SWIG_PY_INT, (char *)"FULL_REPAINT_ON_RESIZE", (long) wxFULL_REPAINT_ON_RESIZE, 0, 0, 0},
d14a1e28
RD
37667{ SWIG_PY_INT, (char *)"LI_HORIZONTAL", (long) wxLI_HORIZONTAL, 0, 0, 0},
37668{ SWIG_PY_INT, (char *)"LI_VERTICAL", (long) wxLI_VERTICAL, 0, 0, 0},
37669{ SWIG_PY_INT, (char *)"WS_EX_VALIDATE_RECURSIVELY", (long) wxWS_EX_VALIDATE_RECURSIVELY, 0, 0, 0},
37670{ SWIG_PY_INT, (char *)"WS_EX_BLOCK_EVENTS", (long) wxWS_EX_BLOCK_EVENTS, 0, 0, 0},
37671{ SWIG_PY_INT, (char *)"WS_EX_TRANSIENT", (long) wxWS_EX_TRANSIENT, 0, 0, 0},
37672{ SWIG_PY_INT, (char *)"WS_EX_THEMED_BACKGROUND", (long) wxWS_EX_THEMED_BACKGROUND, 0, 0, 0},
37673{ SWIG_PY_INT, (char *)"WS_EX_PROCESS_IDLE", (long) wxWS_EX_PROCESS_IDLE, 0, 0, 0},
37674{ SWIG_PY_INT, (char *)"WS_EX_PROCESS_UI_UPDATES", (long) wxWS_EX_PROCESS_UI_UPDATES, 0, 0, 0},
37675{ SWIG_PY_INT, (char *)"MM_TEXT", (long) wxMM_TEXT, 0, 0, 0},
37676{ SWIG_PY_INT, (char *)"MM_LOMETRIC", (long) wxMM_LOMETRIC, 0, 0, 0},
37677{ SWIG_PY_INT, (char *)"MM_HIMETRIC", (long) wxMM_HIMETRIC, 0, 0, 0},
37678{ SWIG_PY_INT, (char *)"MM_LOENGLISH", (long) wxMM_LOENGLISH, 0, 0, 0},
37679{ SWIG_PY_INT, (char *)"MM_HIENGLISH", (long) wxMM_HIENGLISH, 0, 0, 0},
37680{ SWIG_PY_INT, (char *)"MM_TWIPS", (long) wxMM_TWIPS, 0, 0, 0},
37681{ SWIG_PY_INT, (char *)"MM_ISOTROPIC", (long) wxMM_ISOTROPIC, 0, 0, 0},
37682{ SWIG_PY_INT, (char *)"MM_ANISOTROPIC", (long) wxMM_ANISOTROPIC, 0, 0, 0},
37683{ SWIG_PY_INT, (char *)"MM_POINTS", (long) wxMM_POINTS, 0, 0, 0},
37684{ SWIG_PY_INT, (char *)"MM_METRIC", (long) wxMM_METRIC, 0, 0, 0},
37685{ SWIG_PY_INT, (char *)"CENTRE", (long) wxCENTRE, 0, 0, 0},
37686{ SWIG_PY_INT, (char *)"CENTER", (long) wxCENTER, 0, 0, 0},
37687{ SWIG_PY_INT, (char *)"HORIZONTAL", (long) wxHORIZONTAL, 0, 0, 0},
37688{ SWIG_PY_INT, (char *)"VERTICAL", (long) wxVERTICAL, 0, 0, 0},
37689{ SWIG_PY_INT, (char *)"BOTH", (long) wxBOTH, 0, 0, 0},
37690{ SWIG_PY_INT, (char *)"LEFT", (long) wxLEFT, 0, 0, 0},
37691{ SWIG_PY_INT, (char *)"RIGHT", (long) wxRIGHT, 0, 0, 0},
37692{ SWIG_PY_INT, (char *)"UP", (long) wxUP, 0, 0, 0},
37693{ SWIG_PY_INT, (char *)"DOWN", (long) wxDOWN, 0, 0, 0},
37694{ SWIG_PY_INT, (char *)"TOP", (long) wxTOP, 0, 0, 0},
37695{ SWIG_PY_INT, (char *)"BOTTOM", (long) wxBOTTOM, 0, 0, 0},
37696{ SWIG_PY_INT, (char *)"NORTH", (long) wxNORTH, 0, 0, 0},
37697{ SWIG_PY_INT, (char *)"SOUTH", (long) wxSOUTH, 0, 0, 0},
37698{ SWIG_PY_INT, (char *)"WEST", (long) wxWEST, 0, 0, 0},
37699{ SWIG_PY_INT, (char *)"EAST", (long) wxEAST, 0, 0, 0},
37700{ SWIG_PY_INT, (char *)"ALL", (long) wxALL, 0, 0, 0},
37701{ SWIG_PY_INT, (char *)"ALIGN_NOT", (long) wxALIGN_NOT, 0, 0, 0},
37702{ SWIG_PY_INT, (char *)"ALIGN_CENTER_HORIZONTAL", (long) wxALIGN_CENTER_HORIZONTAL, 0, 0, 0},
37703{ SWIG_PY_INT, (char *)"ALIGN_CENTRE_HORIZONTAL", (long) wxALIGN_CENTRE_HORIZONTAL, 0, 0, 0},
37704{ SWIG_PY_INT, (char *)"ALIGN_LEFT", (long) wxALIGN_LEFT, 0, 0, 0},
37705{ SWIG_PY_INT, (char *)"ALIGN_TOP", (long) wxALIGN_TOP, 0, 0, 0},
37706{ SWIG_PY_INT, (char *)"ALIGN_RIGHT", (long) wxALIGN_RIGHT, 0, 0, 0},
37707{ SWIG_PY_INT, (char *)"ALIGN_BOTTOM", (long) wxALIGN_BOTTOM, 0, 0, 0},
37708{ SWIG_PY_INT, (char *)"ALIGN_CENTER_VERTICAL", (long) wxALIGN_CENTER_VERTICAL, 0, 0, 0},
37709{ SWIG_PY_INT, (char *)"ALIGN_CENTRE_VERTICAL", (long) wxALIGN_CENTRE_VERTICAL, 0, 0, 0},
37710{ SWIG_PY_INT, (char *)"ALIGN_CENTER", (long) wxALIGN_CENTER, 0, 0, 0},
37711{ SWIG_PY_INT, (char *)"ALIGN_CENTRE", (long) wxALIGN_CENTRE, 0, 0, 0},
37712{ SWIG_PY_INT, (char *)"ALIGN_MASK", (long) wxALIGN_MASK, 0, 0, 0},
37713{ SWIG_PY_INT, (char *)"STRETCH_NOT", (long) wxSTRETCH_NOT, 0, 0, 0},
37714{ SWIG_PY_INT, (char *)"SHRINK", (long) wxSHRINK, 0, 0, 0},
37715{ SWIG_PY_INT, (char *)"GROW", (long) wxGROW, 0, 0, 0},
37716{ SWIG_PY_INT, (char *)"EXPAND", (long) wxEXPAND, 0, 0, 0},
37717{ SWIG_PY_INT, (char *)"SHAPED", (long) wxSHAPED, 0, 0, 0},
37718{ SWIG_PY_INT, (char *)"ADJUST_MINSIZE", (long) wxADJUST_MINSIZE, 0, 0, 0},
37719{ SWIG_PY_INT, (char *)"TILE", (long) wxTILE, 0, 0, 0},
37720{ SWIG_PY_INT, (char *)"BORDER_DEFAULT", (long) wxBORDER_DEFAULT, 0, 0, 0},
37721{ SWIG_PY_INT, (char *)"BORDER_NONE", (long) wxBORDER_NONE, 0, 0, 0},
37722{ SWIG_PY_INT, (char *)"BORDER_STATIC", (long) wxBORDER_STATIC, 0, 0, 0},
37723{ SWIG_PY_INT, (char *)"BORDER_SIMPLE", (long) wxBORDER_SIMPLE, 0, 0, 0},
37724{ SWIG_PY_INT, (char *)"BORDER_RAISED", (long) wxBORDER_RAISED, 0, 0, 0},
37725{ SWIG_PY_INT, (char *)"BORDER_SUNKEN", (long) wxBORDER_SUNKEN, 0, 0, 0},
37726{ SWIG_PY_INT, (char *)"BORDER_DOUBLE", (long) wxBORDER_DOUBLE, 0, 0, 0},
37727{ SWIG_PY_INT, (char *)"BORDER_MASK", (long) wxBORDER_MASK, 0, 0, 0},
37728{ SWIG_PY_INT, (char *)"DEFAULT", (long) wxDEFAULT, 0, 0, 0},
37729{ SWIG_PY_INT, (char *)"DECORATIVE", (long) wxDECORATIVE, 0, 0, 0},
37730{ SWIG_PY_INT, (char *)"ROMAN", (long) wxROMAN, 0, 0, 0},
37731{ SWIG_PY_INT, (char *)"SCRIPT", (long) wxSCRIPT, 0, 0, 0},
37732{ SWIG_PY_INT, (char *)"SWISS", (long) wxSWISS, 0, 0, 0},
37733{ SWIG_PY_INT, (char *)"MODERN", (long) wxMODERN, 0, 0, 0},
37734{ SWIG_PY_INT, (char *)"TELETYPE", (long) wxTELETYPE, 0, 0, 0},
37735{ SWIG_PY_INT, (char *)"VARIABLE", (long) wxVARIABLE, 0, 0, 0},
37736{ SWIG_PY_INT, (char *)"FIXED", (long) wxFIXED, 0, 0, 0},
37737{ SWIG_PY_INT, (char *)"NORMAL", (long) wxNORMAL, 0, 0, 0},
37738{ SWIG_PY_INT, (char *)"LIGHT", (long) wxLIGHT, 0, 0, 0},
37739{ SWIG_PY_INT, (char *)"BOLD", (long) wxBOLD, 0, 0, 0},
37740{ SWIG_PY_INT, (char *)"ITALIC", (long) wxITALIC, 0, 0, 0},
37741{ SWIG_PY_INT, (char *)"SLANT", (long) wxSLANT, 0, 0, 0},
37742{ SWIG_PY_INT, (char *)"SOLID", (long) wxSOLID, 0, 0, 0},
37743{ SWIG_PY_INT, (char *)"DOT", (long) wxDOT, 0, 0, 0},
37744{ SWIG_PY_INT, (char *)"LONG_DASH", (long) wxLONG_DASH, 0, 0, 0},
37745{ SWIG_PY_INT, (char *)"SHORT_DASH", (long) wxSHORT_DASH, 0, 0, 0},
37746{ SWIG_PY_INT, (char *)"DOT_DASH", (long) wxDOT_DASH, 0, 0, 0},
37747{ SWIG_PY_INT, (char *)"USER_DASH", (long) wxUSER_DASH, 0, 0, 0},
37748{ SWIG_PY_INT, (char *)"TRANSPARENT", (long) wxTRANSPARENT, 0, 0, 0},
37749{ SWIG_PY_INT, (char *)"STIPPLE", (long) wxSTIPPLE, 0, 0, 0},
37750{ SWIG_PY_INT, (char *)"BDIAGONAL_HATCH", (long) wxBDIAGONAL_HATCH, 0, 0, 0},
37751{ SWIG_PY_INT, (char *)"CROSSDIAG_HATCH", (long) wxCROSSDIAG_HATCH, 0, 0, 0},
37752{ SWIG_PY_INT, (char *)"FDIAGONAL_HATCH", (long) wxFDIAGONAL_HATCH, 0, 0, 0},
37753{ SWIG_PY_INT, (char *)"CROSS_HATCH", (long) wxCROSS_HATCH, 0, 0, 0},
37754{ SWIG_PY_INT, (char *)"HORIZONTAL_HATCH", (long) wxHORIZONTAL_HATCH, 0, 0, 0},
37755{ SWIG_PY_INT, (char *)"VERTICAL_HATCH", (long) wxVERTICAL_HATCH, 0, 0, 0},
37756{ SWIG_PY_INT, (char *)"JOIN_BEVEL", (long) wxJOIN_BEVEL, 0, 0, 0},
37757{ SWIG_PY_INT, (char *)"JOIN_MITER", (long) wxJOIN_MITER, 0, 0, 0},
37758{ SWIG_PY_INT, (char *)"JOIN_ROUND", (long) wxJOIN_ROUND, 0, 0, 0},
37759{ SWIG_PY_INT, (char *)"CAP_ROUND", (long) wxCAP_ROUND, 0, 0, 0},
37760{ SWIG_PY_INT, (char *)"CAP_PROJECTING", (long) wxCAP_PROJECTING, 0, 0, 0},
37761{ SWIG_PY_INT, (char *)"CAP_BUTT", (long) wxCAP_BUTT, 0, 0, 0},
37762{ SWIG_PY_INT, (char *)"CLEAR", (long) wxCLEAR, 0, 0, 0},
37763{ SWIG_PY_INT, (char *)"XOR", (long) wxXOR, 0, 0, 0},
37764{ SWIG_PY_INT, (char *)"INVERT", (long) wxINVERT, 0, 0, 0},
37765{ SWIG_PY_INT, (char *)"OR_REVERSE", (long) wxOR_REVERSE, 0, 0, 0},
37766{ SWIG_PY_INT, (char *)"AND_REVERSE", (long) wxAND_REVERSE, 0, 0, 0},
37767{ SWIG_PY_INT, (char *)"COPY", (long) wxCOPY, 0, 0, 0},
37768{ SWIG_PY_INT, (char *)"AND", (long) wxAND, 0, 0, 0},
37769{ SWIG_PY_INT, (char *)"AND_INVERT", (long) wxAND_INVERT, 0, 0, 0},
37770{ SWIG_PY_INT, (char *)"NO_OP", (long) wxNO_OP, 0, 0, 0},
37771{ SWIG_PY_INT, (char *)"NOR", (long) wxNOR, 0, 0, 0},
37772{ SWIG_PY_INT, (char *)"EQUIV", (long) wxEQUIV, 0, 0, 0},
37773{ SWIG_PY_INT, (char *)"SRC_INVERT", (long) wxSRC_INVERT, 0, 0, 0},
37774{ SWIG_PY_INT, (char *)"OR_INVERT", (long) wxOR_INVERT, 0, 0, 0},
37775{ SWIG_PY_INT, (char *)"NAND", (long) wxNAND, 0, 0, 0},
37776{ SWIG_PY_INT, (char *)"OR", (long) wxOR, 0, 0, 0},
37777{ SWIG_PY_INT, (char *)"SET", (long) wxSET, 0, 0, 0},
37778{ SWIG_PY_INT, (char *)"WXK_BACK", (long) WXK_BACK, 0, 0, 0},
37779{ SWIG_PY_INT, (char *)"WXK_TAB", (long) WXK_TAB, 0, 0, 0},
37780{ SWIG_PY_INT, (char *)"WXK_RETURN", (long) WXK_RETURN, 0, 0, 0},
37781{ SWIG_PY_INT, (char *)"WXK_ESCAPE", (long) WXK_ESCAPE, 0, 0, 0},
37782{ SWIG_PY_INT, (char *)"WXK_SPACE", (long) WXK_SPACE, 0, 0, 0},
37783{ SWIG_PY_INT, (char *)"WXK_DELETE", (long) WXK_DELETE, 0, 0, 0},
37784{ SWIG_PY_INT, (char *)"WXK_START", (long) WXK_START, 0, 0, 0},
37785{ SWIG_PY_INT, (char *)"WXK_LBUTTON", (long) WXK_LBUTTON, 0, 0, 0},
37786{ SWIG_PY_INT, (char *)"WXK_RBUTTON", (long) WXK_RBUTTON, 0, 0, 0},
37787{ SWIG_PY_INT, (char *)"WXK_CANCEL", (long) WXK_CANCEL, 0, 0, 0},
37788{ SWIG_PY_INT, (char *)"WXK_MBUTTON", (long) WXK_MBUTTON, 0, 0, 0},
37789{ SWIG_PY_INT, (char *)"WXK_CLEAR", (long) WXK_CLEAR, 0, 0, 0},
37790{ SWIG_PY_INT, (char *)"WXK_SHIFT", (long) WXK_SHIFT, 0, 0, 0},
37791{ SWIG_PY_INT, (char *)"WXK_ALT", (long) WXK_ALT, 0, 0, 0},
37792{ SWIG_PY_INT, (char *)"WXK_CONTROL", (long) WXK_CONTROL, 0, 0, 0},
37793{ SWIG_PY_INT, (char *)"WXK_MENU", (long) WXK_MENU, 0, 0, 0},
37794{ SWIG_PY_INT, (char *)"WXK_PAUSE", (long) WXK_PAUSE, 0, 0, 0},
37795{ SWIG_PY_INT, (char *)"WXK_CAPITAL", (long) WXK_CAPITAL, 0, 0, 0},
37796{ SWIG_PY_INT, (char *)"WXK_PRIOR", (long) WXK_PRIOR, 0, 0, 0},
37797{ SWIG_PY_INT, (char *)"WXK_NEXT", (long) WXK_NEXT, 0, 0, 0},
37798{ SWIG_PY_INT, (char *)"WXK_END", (long) WXK_END, 0, 0, 0},
37799{ SWIG_PY_INT, (char *)"WXK_HOME", (long) WXK_HOME, 0, 0, 0},
37800{ SWIG_PY_INT, (char *)"WXK_LEFT", (long) WXK_LEFT, 0, 0, 0},
37801{ SWIG_PY_INT, (char *)"WXK_UP", (long) WXK_UP, 0, 0, 0},
37802{ SWIG_PY_INT, (char *)"WXK_RIGHT", (long) WXK_RIGHT, 0, 0, 0},
37803{ SWIG_PY_INT, (char *)"WXK_DOWN", (long) WXK_DOWN, 0, 0, 0},
37804{ SWIG_PY_INT, (char *)"WXK_SELECT", (long) WXK_SELECT, 0, 0, 0},
37805{ SWIG_PY_INT, (char *)"WXK_PRINT", (long) WXK_PRINT, 0, 0, 0},
37806{ SWIG_PY_INT, (char *)"WXK_EXECUTE", (long) WXK_EXECUTE, 0, 0, 0},
37807{ SWIG_PY_INT, (char *)"WXK_SNAPSHOT", (long) WXK_SNAPSHOT, 0, 0, 0},
37808{ SWIG_PY_INT, (char *)"WXK_INSERT", (long) WXK_INSERT, 0, 0, 0},
37809{ SWIG_PY_INT, (char *)"WXK_HELP", (long) WXK_HELP, 0, 0, 0},
37810{ SWIG_PY_INT, (char *)"WXK_NUMPAD0", (long) WXK_NUMPAD0, 0, 0, 0},
37811{ SWIG_PY_INT, (char *)"WXK_NUMPAD1", (long) WXK_NUMPAD1, 0, 0, 0},
37812{ SWIG_PY_INT, (char *)"WXK_NUMPAD2", (long) WXK_NUMPAD2, 0, 0, 0},
37813{ SWIG_PY_INT, (char *)"WXK_NUMPAD3", (long) WXK_NUMPAD3, 0, 0, 0},
37814{ SWIG_PY_INT, (char *)"WXK_NUMPAD4", (long) WXK_NUMPAD4, 0, 0, 0},
37815{ SWIG_PY_INT, (char *)"WXK_NUMPAD5", (long) WXK_NUMPAD5, 0, 0, 0},
37816{ SWIG_PY_INT, (char *)"WXK_NUMPAD6", (long) WXK_NUMPAD6, 0, 0, 0},
37817{ SWIG_PY_INT, (char *)"WXK_NUMPAD7", (long) WXK_NUMPAD7, 0, 0, 0},
37818{ SWIG_PY_INT, (char *)"WXK_NUMPAD8", (long) WXK_NUMPAD8, 0, 0, 0},
37819{ SWIG_PY_INT, (char *)"WXK_NUMPAD9", (long) WXK_NUMPAD9, 0, 0, 0},
37820{ SWIG_PY_INT, (char *)"WXK_MULTIPLY", (long) WXK_MULTIPLY, 0, 0, 0},
37821{ SWIG_PY_INT, (char *)"WXK_ADD", (long) WXK_ADD, 0, 0, 0},
37822{ SWIG_PY_INT, (char *)"WXK_SEPARATOR", (long) WXK_SEPARATOR, 0, 0, 0},
37823{ SWIG_PY_INT, (char *)"WXK_SUBTRACT", (long) WXK_SUBTRACT, 0, 0, 0},
37824{ SWIG_PY_INT, (char *)"WXK_DECIMAL", (long) WXK_DECIMAL, 0, 0, 0},
37825{ SWIG_PY_INT, (char *)"WXK_DIVIDE", (long) WXK_DIVIDE, 0, 0, 0},
37826{ SWIG_PY_INT, (char *)"WXK_F1", (long) WXK_F1, 0, 0, 0},
37827{ SWIG_PY_INT, (char *)"WXK_F2", (long) WXK_F2, 0, 0, 0},
37828{ SWIG_PY_INT, (char *)"WXK_F3", (long) WXK_F3, 0, 0, 0},
37829{ SWIG_PY_INT, (char *)"WXK_F4", (long) WXK_F4, 0, 0, 0},
37830{ SWIG_PY_INT, (char *)"WXK_F5", (long) WXK_F5, 0, 0, 0},
37831{ SWIG_PY_INT, (char *)"WXK_F6", (long) WXK_F6, 0, 0, 0},
37832{ SWIG_PY_INT, (char *)"WXK_F7", (long) WXK_F7, 0, 0, 0},
37833{ SWIG_PY_INT, (char *)"WXK_F8", (long) WXK_F8, 0, 0, 0},
37834{ SWIG_PY_INT, (char *)"WXK_F9", (long) WXK_F9, 0, 0, 0},
37835{ SWIG_PY_INT, (char *)"WXK_F10", (long) WXK_F10, 0, 0, 0},
37836{ SWIG_PY_INT, (char *)"WXK_F11", (long) WXK_F11, 0, 0, 0},
37837{ SWIG_PY_INT, (char *)"WXK_F12", (long) WXK_F12, 0, 0, 0},
37838{ SWIG_PY_INT, (char *)"WXK_F13", (long) WXK_F13, 0, 0, 0},
37839{ SWIG_PY_INT, (char *)"WXK_F14", (long) WXK_F14, 0, 0, 0},
37840{ SWIG_PY_INT, (char *)"WXK_F15", (long) WXK_F15, 0, 0, 0},
37841{ SWIG_PY_INT, (char *)"WXK_F16", (long) WXK_F16, 0, 0, 0},
37842{ SWIG_PY_INT, (char *)"WXK_F17", (long) WXK_F17, 0, 0, 0},
37843{ SWIG_PY_INT, (char *)"WXK_F18", (long) WXK_F18, 0, 0, 0},
37844{ SWIG_PY_INT, (char *)"WXK_F19", (long) WXK_F19, 0, 0, 0},
37845{ SWIG_PY_INT, (char *)"WXK_F20", (long) WXK_F20, 0, 0, 0},
37846{ SWIG_PY_INT, (char *)"WXK_F21", (long) WXK_F21, 0, 0, 0},
37847{ SWIG_PY_INT, (char *)"WXK_F22", (long) WXK_F22, 0, 0, 0},
37848{ SWIG_PY_INT, (char *)"WXK_F23", (long) WXK_F23, 0, 0, 0},
37849{ SWIG_PY_INT, (char *)"WXK_F24", (long) WXK_F24, 0, 0, 0},
37850{ SWIG_PY_INT, (char *)"WXK_NUMLOCK", (long) WXK_NUMLOCK, 0, 0, 0},
37851{ SWIG_PY_INT, (char *)"WXK_SCROLL", (long) WXK_SCROLL, 0, 0, 0},
37852{ SWIG_PY_INT, (char *)"WXK_PAGEUP", (long) WXK_PAGEUP, 0, 0, 0},
37853{ SWIG_PY_INT, (char *)"WXK_PAGEDOWN", (long) WXK_PAGEDOWN, 0, 0, 0},
37854{ SWIG_PY_INT, (char *)"WXK_NUMPAD_SPACE", (long) WXK_NUMPAD_SPACE, 0, 0, 0},
37855{ SWIG_PY_INT, (char *)"WXK_NUMPAD_TAB", (long) WXK_NUMPAD_TAB, 0, 0, 0},
37856{ SWIG_PY_INT, (char *)"WXK_NUMPAD_ENTER", (long) WXK_NUMPAD_ENTER, 0, 0, 0},
37857{ SWIG_PY_INT, (char *)"WXK_NUMPAD_F1", (long) WXK_NUMPAD_F1, 0, 0, 0},
37858{ SWIG_PY_INT, (char *)"WXK_NUMPAD_F2", (long) WXK_NUMPAD_F2, 0, 0, 0},
37859{ SWIG_PY_INT, (char *)"WXK_NUMPAD_F3", (long) WXK_NUMPAD_F3, 0, 0, 0},
37860{ SWIG_PY_INT, (char *)"WXK_NUMPAD_F4", (long) WXK_NUMPAD_F4, 0, 0, 0},
37861{ SWIG_PY_INT, (char *)"WXK_NUMPAD_HOME", (long) WXK_NUMPAD_HOME, 0, 0, 0},
37862{ SWIG_PY_INT, (char *)"WXK_NUMPAD_LEFT", (long) WXK_NUMPAD_LEFT, 0, 0, 0},
37863{ SWIG_PY_INT, (char *)"WXK_NUMPAD_UP", (long) WXK_NUMPAD_UP, 0, 0, 0},
37864{ SWIG_PY_INT, (char *)"WXK_NUMPAD_RIGHT", (long) WXK_NUMPAD_RIGHT, 0, 0, 0},
37865{ SWIG_PY_INT, (char *)"WXK_NUMPAD_DOWN", (long) WXK_NUMPAD_DOWN, 0, 0, 0},
37866{ SWIG_PY_INT, (char *)"WXK_NUMPAD_PRIOR", (long) WXK_NUMPAD_PRIOR, 0, 0, 0},
37867{ SWIG_PY_INT, (char *)"WXK_NUMPAD_PAGEUP", (long) WXK_NUMPAD_PAGEUP, 0, 0, 0},
37868{ SWIG_PY_INT, (char *)"WXK_NUMPAD_NEXT", (long) WXK_NUMPAD_NEXT, 0, 0, 0},
37869{ SWIG_PY_INT, (char *)"WXK_NUMPAD_PAGEDOWN", (long) WXK_NUMPAD_PAGEDOWN, 0, 0, 0},
37870{ SWIG_PY_INT, (char *)"WXK_NUMPAD_END", (long) WXK_NUMPAD_END, 0, 0, 0},
37871{ SWIG_PY_INT, (char *)"WXK_NUMPAD_BEGIN", (long) WXK_NUMPAD_BEGIN, 0, 0, 0},
37872{ SWIG_PY_INT, (char *)"WXK_NUMPAD_INSERT", (long) WXK_NUMPAD_INSERT, 0, 0, 0},
37873{ SWIG_PY_INT, (char *)"WXK_NUMPAD_DELETE", (long) WXK_NUMPAD_DELETE, 0, 0, 0},
37874{ SWIG_PY_INT, (char *)"WXK_NUMPAD_EQUAL", (long) WXK_NUMPAD_EQUAL, 0, 0, 0},
37875{ SWIG_PY_INT, (char *)"WXK_NUMPAD_MULTIPLY", (long) WXK_NUMPAD_MULTIPLY, 0, 0, 0},
37876{ SWIG_PY_INT, (char *)"WXK_NUMPAD_ADD", (long) WXK_NUMPAD_ADD, 0, 0, 0},
37877{ SWIG_PY_INT, (char *)"WXK_NUMPAD_SEPARATOR", (long) WXK_NUMPAD_SEPARATOR, 0, 0, 0},
37878{ SWIG_PY_INT, (char *)"WXK_NUMPAD_SUBTRACT", (long) WXK_NUMPAD_SUBTRACT, 0, 0, 0},
37879{ SWIG_PY_INT, (char *)"WXK_NUMPAD_DECIMAL", (long) WXK_NUMPAD_DECIMAL, 0, 0, 0},
37880{ SWIG_PY_INT, (char *)"WXK_NUMPAD_DIVIDE", (long) WXK_NUMPAD_DIVIDE, 0, 0, 0},
37881{ SWIG_PY_INT, (char *)"WXK_WINDOWS_LEFT", (long) WXK_WINDOWS_LEFT, 0, 0, 0},
37882{ SWIG_PY_INT, (char *)"WXK_WINDOWS_RIGHT", (long) WXK_WINDOWS_RIGHT, 0, 0, 0},
37883{ SWIG_PY_INT, (char *)"WXK_WINDOWS_MENU", (long) WXK_WINDOWS_MENU, 0, 0, 0},
37884{ SWIG_PY_INT, (char *)"PAPER_NONE", (long) wxPAPER_NONE, 0, 0, 0},
37885{ SWIG_PY_INT, (char *)"PAPER_LETTER", (long) wxPAPER_LETTER, 0, 0, 0},
37886{ SWIG_PY_INT, (char *)"PAPER_LEGAL", (long) wxPAPER_LEGAL, 0, 0, 0},
37887{ SWIG_PY_INT, (char *)"PAPER_A4", (long) wxPAPER_A4, 0, 0, 0},
37888{ SWIG_PY_INT, (char *)"PAPER_CSHEET", (long) wxPAPER_CSHEET, 0, 0, 0},
37889{ SWIG_PY_INT, (char *)"PAPER_DSHEET", (long) wxPAPER_DSHEET, 0, 0, 0},
37890{ SWIG_PY_INT, (char *)"PAPER_ESHEET", (long) wxPAPER_ESHEET, 0, 0, 0},
37891{ SWIG_PY_INT, (char *)"PAPER_LETTERSMALL", (long) wxPAPER_LETTERSMALL, 0, 0, 0},
37892{ SWIG_PY_INT, (char *)"PAPER_TABLOID", (long) wxPAPER_TABLOID, 0, 0, 0},
37893{ SWIG_PY_INT, (char *)"PAPER_LEDGER", (long) wxPAPER_LEDGER, 0, 0, 0},
37894{ SWIG_PY_INT, (char *)"PAPER_STATEMENT", (long) wxPAPER_STATEMENT, 0, 0, 0},
37895{ SWIG_PY_INT, (char *)"PAPER_EXECUTIVE", (long) wxPAPER_EXECUTIVE, 0, 0, 0},
37896{ SWIG_PY_INT, (char *)"PAPER_A3", (long) wxPAPER_A3, 0, 0, 0},
37897{ SWIG_PY_INT, (char *)"PAPER_A4SMALL", (long) wxPAPER_A4SMALL, 0, 0, 0},
37898{ SWIG_PY_INT, (char *)"PAPER_A5", (long) wxPAPER_A5, 0, 0, 0},
37899{ SWIG_PY_INT, (char *)"PAPER_B4", (long) wxPAPER_B4, 0, 0, 0},
37900{ SWIG_PY_INT, (char *)"PAPER_B5", (long) wxPAPER_B5, 0, 0, 0},
37901{ SWIG_PY_INT, (char *)"PAPER_FOLIO", (long) wxPAPER_FOLIO, 0, 0, 0},
37902{ SWIG_PY_INT, (char *)"PAPER_QUARTO", (long) wxPAPER_QUARTO, 0, 0, 0},
37903{ SWIG_PY_INT, (char *)"PAPER_10X14", (long) wxPAPER_10X14, 0, 0, 0},
37904{ SWIG_PY_INT, (char *)"PAPER_11X17", (long) wxPAPER_11X17, 0, 0, 0},
37905{ SWIG_PY_INT, (char *)"PAPER_NOTE", (long) wxPAPER_NOTE, 0, 0, 0},
37906{ SWIG_PY_INT, (char *)"PAPER_ENV_9", (long) wxPAPER_ENV_9, 0, 0, 0},
37907{ SWIG_PY_INT, (char *)"PAPER_ENV_10", (long) wxPAPER_ENV_10, 0, 0, 0},
37908{ SWIG_PY_INT, (char *)"PAPER_ENV_11", (long) wxPAPER_ENV_11, 0, 0, 0},
37909{ SWIG_PY_INT, (char *)"PAPER_ENV_12", (long) wxPAPER_ENV_12, 0, 0, 0},
37910{ SWIG_PY_INT, (char *)"PAPER_ENV_14", (long) wxPAPER_ENV_14, 0, 0, 0},
37911{ SWIG_PY_INT, (char *)"PAPER_ENV_DL", (long) wxPAPER_ENV_DL, 0, 0, 0},
37912{ SWIG_PY_INT, (char *)"PAPER_ENV_C5", (long) wxPAPER_ENV_C5, 0, 0, 0},
37913{ SWIG_PY_INT, (char *)"PAPER_ENV_C3", (long) wxPAPER_ENV_C3, 0, 0, 0},
37914{ SWIG_PY_INT, (char *)"PAPER_ENV_C4", (long) wxPAPER_ENV_C4, 0, 0, 0},
37915{ SWIG_PY_INT, (char *)"PAPER_ENV_C6", (long) wxPAPER_ENV_C6, 0, 0, 0},
37916{ SWIG_PY_INT, (char *)"PAPER_ENV_C65", (long) wxPAPER_ENV_C65, 0, 0, 0},
37917{ SWIG_PY_INT, (char *)"PAPER_ENV_B4", (long) wxPAPER_ENV_B4, 0, 0, 0},
37918{ SWIG_PY_INT, (char *)"PAPER_ENV_B5", (long) wxPAPER_ENV_B5, 0, 0, 0},
37919{ SWIG_PY_INT, (char *)"PAPER_ENV_B6", (long) wxPAPER_ENV_B6, 0, 0, 0},
37920{ SWIG_PY_INT, (char *)"PAPER_ENV_ITALY", (long) wxPAPER_ENV_ITALY, 0, 0, 0},
37921{ SWIG_PY_INT, (char *)"PAPER_ENV_MONARCH", (long) wxPAPER_ENV_MONARCH, 0, 0, 0},
37922{ SWIG_PY_INT, (char *)"PAPER_ENV_PERSONAL", (long) wxPAPER_ENV_PERSONAL, 0, 0, 0},
37923{ SWIG_PY_INT, (char *)"PAPER_FANFOLD_US", (long) wxPAPER_FANFOLD_US, 0, 0, 0},
37924{ SWIG_PY_INT, (char *)"PAPER_FANFOLD_STD_GERMAN", (long) wxPAPER_FANFOLD_STD_GERMAN, 0, 0, 0},
37925{ SWIG_PY_INT, (char *)"PAPER_FANFOLD_LGL_GERMAN", (long) wxPAPER_FANFOLD_LGL_GERMAN, 0, 0, 0},
37926{ SWIG_PY_INT, (char *)"PAPER_ISO_B4", (long) wxPAPER_ISO_B4, 0, 0, 0},
37927{ SWIG_PY_INT, (char *)"PAPER_JAPANESE_POSTCARD", (long) wxPAPER_JAPANESE_POSTCARD, 0, 0, 0},
37928{ SWIG_PY_INT, (char *)"PAPER_9X11", (long) wxPAPER_9X11, 0, 0, 0},
37929{ SWIG_PY_INT, (char *)"PAPER_10X11", (long) wxPAPER_10X11, 0, 0, 0},
37930{ SWIG_PY_INT, (char *)"PAPER_15X11", (long) wxPAPER_15X11, 0, 0, 0},
37931{ SWIG_PY_INT, (char *)"PAPER_ENV_INVITE", (long) wxPAPER_ENV_INVITE, 0, 0, 0},
37932{ SWIG_PY_INT, (char *)"PAPER_LETTER_EXTRA", (long) wxPAPER_LETTER_EXTRA, 0, 0, 0},
37933{ SWIG_PY_INT, (char *)"PAPER_LEGAL_EXTRA", (long) wxPAPER_LEGAL_EXTRA, 0, 0, 0},
37934{ SWIG_PY_INT, (char *)"PAPER_TABLOID_EXTRA", (long) wxPAPER_TABLOID_EXTRA, 0, 0, 0},
37935{ SWIG_PY_INT, (char *)"PAPER_A4_EXTRA", (long) wxPAPER_A4_EXTRA, 0, 0, 0},
37936{ SWIG_PY_INT, (char *)"PAPER_LETTER_TRANSVERSE", (long) wxPAPER_LETTER_TRANSVERSE, 0, 0, 0},
37937{ SWIG_PY_INT, (char *)"PAPER_A4_TRANSVERSE", (long) wxPAPER_A4_TRANSVERSE, 0, 0, 0},
37938{ SWIG_PY_INT, (char *)"PAPER_LETTER_EXTRA_TRANSVERSE", (long) wxPAPER_LETTER_EXTRA_TRANSVERSE, 0, 0, 0},
37939{ SWIG_PY_INT, (char *)"PAPER_A_PLUS", (long) wxPAPER_A_PLUS, 0, 0, 0},
37940{ SWIG_PY_INT, (char *)"PAPER_B_PLUS", (long) wxPAPER_B_PLUS, 0, 0, 0},
37941{ SWIG_PY_INT, (char *)"PAPER_LETTER_PLUS", (long) wxPAPER_LETTER_PLUS, 0, 0, 0},
37942{ SWIG_PY_INT, (char *)"PAPER_A4_PLUS", (long) wxPAPER_A4_PLUS, 0, 0, 0},
37943{ SWIG_PY_INT, (char *)"PAPER_A5_TRANSVERSE", (long) wxPAPER_A5_TRANSVERSE, 0, 0, 0},
37944{ SWIG_PY_INT, (char *)"PAPER_B5_TRANSVERSE", (long) wxPAPER_B5_TRANSVERSE, 0, 0, 0},
37945{ SWIG_PY_INT, (char *)"PAPER_A3_EXTRA", (long) wxPAPER_A3_EXTRA, 0, 0, 0},
37946{ SWIG_PY_INT, (char *)"PAPER_A5_EXTRA", (long) wxPAPER_A5_EXTRA, 0, 0, 0},
37947{ SWIG_PY_INT, (char *)"PAPER_B5_EXTRA", (long) wxPAPER_B5_EXTRA, 0, 0, 0},
37948{ SWIG_PY_INT, (char *)"PAPER_A2", (long) wxPAPER_A2, 0, 0, 0},
37949{ SWIG_PY_INT, (char *)"PAPER_A3_TRANSVERSE", (long) wxPAPER_A3_TRANSVERSE, 0, 0, 0},
37950{ SWIG_PY_INT, (char *)"PAPER_A3_EXTRA_TRANSVERSE", (long) wxPAPER_A3_EXTRA_TRANSVERSE, 0, 0, 0},
37951{ SWIG_PY_INT, (char *)"DUPLEX_SIMPLEX", (long) wxDUPLEX_SIMPLEX, 0, 0, 0},
37952{ SWIG_PY_INT, (char *)"DUPLEX_HORIZONTAL", (long) wxDUPLEX_HORIZONTAL, 0, 0, 0},
37953{ SWIG_PY_INT, (char *)"DUPLEX_VERTICAL", (long) wxDUPLEX_VERTICAL, 0, 0, 0},
37954{ SWIG_PY_INT, (char *)"ITEM_SEPARATOR", (long) wxITEM_SEPARATOR, 0, 0, 0},
37955{ SWIG_PY_INT, (char *)"ITEM_NORMAL", (long) wxITEM_NORMAL, 0, 0, 0},
37956{ SWIG_PY_INT, (char *)"ITEM_CHECK", (long) wxITEM_CHECK, 0, 0, 0},
37957{ SWIG_PY_INT, (char *)"ITEM_RADIO", (long) wxITEM_RADIO, 0, 0, 0},
37958{ SWIG_PY_INT, (char *)"ITEM_MAX", (long) wxITEM_MAX, 0, 0, 0},
37959{ SWIG_PY_INT, (char *)"HT_NOWHERE", (long) wxHT_NOWHERE, 0, 0, 0},
37960{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_FIRST", (long) wxHT_SCROLLBAR_FIRST, 0, 0, 0},
37961{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_LINE_1", (long) wxHT_SCROLLBAR_ARROW_LINE_1, 0, 0, 0},
37962{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_LINE_2", (long) wxHT_SCROLLBAR_ARROW_LINE_2, 0, 0, 0},
37963{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_PAGE_1", (long) wxHT_SCROLLBAR_ARROW_PAGE_1, 0, 0, 0},
37964{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_PAGE_2", (long) wxHT_SCROLLBAR_ARROW_PAGE_2, 0, 0, 0},
37965{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_THUMB", (long) wxHT_SCROLLBAR_THUMB, 0, 0, 0},
37966{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_BAR_1", (long) wxHT_SCROLLBAR_BAR_1, 0, 0, 0},
37967{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_BAR_2", (long) wxHT_SCROLLBAR_BAR_2, 0, 0, 0},
37968{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_LAST", (long) wxHT_SCROLLBAR_LAST, 0, 0, 0},
37969{ SWIG_PY_INT, (char *)"HT_WINDOW_OUTSIDE", (long) wxHT_WINDOW_OUTSIDE, 0, 0, 0},
37970{ SWIG_PY_INT, (char *)"HT_WINDOW_INSIDE", (long) wxHT_WINDOW_INSIDE, 0, 0, 0},
37971{ SWIG_PY_INT, (char *)"HT_WINDOW_VERT_SCROLLBAR", (long) wxHT_WINDOW_VERT_SCROLLBAR, 0, 0, 0},
37972{ SWIG_PY_INT, (char *)"HT_WINDOW_HORZ_SCROLLBAR", (long) wxHT_WINDOW_HORZ_SCROLLBAR, 0, 0, 0},
37973{ SWIG_PY_INT, (char *)"HT_WINDOW_CORNER", (long) wxHT_WINDOW_CORNER, 0, 0, 0},
37974{ SWIG_PY_INT, (char *)"HT_MAX", (long) wxHT_MAX, 0, 0, 0},
37975{ SWIG_PY_INT, (char *)"MOD_NONE", (long) wxMOD_NONE, 0, 0, 0},
37976{ SWIG_PY_INT, (char *)"MOD_ALT", (long) wxMOD_ALT, 0, 0, 0},
37977{ SWIG_PY_INT, (char *)"MOD_CONTROL", (long) wxMOD_CONTROL, 0, 0, 0},
37978{ SWIG_PY_INT, (char *)"MOD_SHIFT", (long) wxMOD_SHIFT, 0, 0, 0},
37979{ SWIG_PY_INT, (char *)"MOD_WIN", (long) wxMOD_WIN, 0, 0, 0},
37980{ SWIG_PY_INT, (char *)"UPDATE_UI_NONE", (long) wxUPDATE_UI_NONE, 0, 0, 0},
37981{ SWIG_PY_INT, (char *)"UPDATE_UI_RECURSE", (long) wxUPDATE_UI_RECURSE, 0, 0, 0},
37982{ SWIG_PY_INT, (char *)"UPDATE_UI_FROMIDLE", (long) wxUPDATE_UI_FROMIDLE, 0, 0, 0},
37983{ SWIG_PY_INT, (char *)"BITMAP_TYPE_INVALID", (long) wxBITMAP_TYPE_INVALID, 0, 0, 0},
37984{ SWIG_PY_INT, (char *)"BITMAP_TYPE_BMP", (long) wxBITMAP_TYPE_BMP, 0, 0, 0},
d14a1e28 37985{ SWIG_PY_INT, (char *)"BITMAP_TYPE_ICO", (long) wxBITMAP_TYPE_ICO, 0, 0, 0},
d14a1e28 37986{ SWIG_PY_INT, (char *)"BITMAP_TYPE_CUR", (long) wxBITMAP_TYPE_CUR, 0, 0, 0},
d14a1e28
RD
37987{ SWIG_PY_INT, (char *)"BITMAP_TYPE_XBM", (long) wxBITMAP_TYPE_XBM, 0, 0, 0},
37988{ SWIG_PY_INT, (char *)"BITMAP_TYPE_XBM_DATA", (long) wxBITMAP_TYPE_XBM_DATA, 0, 0, 0},
37989{ SWIG_PY_INT, (char *)"BITMAP_TYPE_XPM", (long) wxBITMAP_TYPE_XPM, 0, 0, 0},
37990{ SWIG_PY_INT, (char *)"BITMAP_TYPE_XPM_DATA", (long) wxBITMAP_TYPE_XPM_DATA, 0, 0, 0},
37991{ SWIG_PY_INT, (char *)"BITMAP_TYPE_TIF", (long) wxBITMAP_TYPE_TIF, 0, 0, 0},
d14a1e28 37992{ SWIG_PY_INT, (char *)"BITMAP_TYPE_GIF", (long) wxBITMAP_TYPE_GIF, 0, 0, 0},
d14a1e28 37993{ SWIG_PY_INT, (char *)"BITMAP_TYPE_PNG", (long) wxBITMAP_TYPE_PNG, 0, 0, 0},
d14a1e28 37994{ SWIG_PY_INT, (char *)"BITMAP_TYPE_JPEG", (long) wxBITMAP_TYPE_JPEG, 0, 0, 0},
d14a1e28 37995{ SWIG_PY_INT, (char *)"BITMAP_TYPE_PNM", (long) wxBITMAP_TYPE_PNM, 0, 0, 0},
d14a1e28 37996{ SWIG_PY_INT, (char *)"BITMAP_TYPE_PCX", (long) wxBITMAP_TYPE_PCX, 0, 0, 0},
d14a1e28 37997{ SWIG_PY_INT, (char *)"BITMAP_TYPE_PICT", (long) wxBITMAP_TYPE_PICT, 0, 0, 0},
d14a1e28 37998{ SWIG_PY_INT, (char *)"BITMAP_TYPE_ICON", (long) wxBITMAP_TYPE_ICON, 0, 0, 0},
d14a1e28
RD
37999{ SWIG_PY_INT, (char *)"BITMAP_TYPE_ANI", (long) wxBITMAP_TYPE_ANI, 0, 0, 0},
38000{ SWIG_PY_INT, (char *)"BITMAP_TYPE_IFF", (long) wxBITMAP_TYPE_IFF, 0, 0, 0},
38001{ SWIG_PY_INT, (char *)"BITMAP_TYPE_MACCURSOR", (long) wxBITMAP_TYPE_MACCURSOR, 0, 0, 0},
d14a1e28
RD
38002{ SWIG_PY_INT, (char *)"BITMAP_TYPE_ANY", (long) wxBITMAP_TYPE_ANY, 0, 0, 0},
38003{ SWIG_PY_INT, (char *)"CURSOR_NONE", (long) wxCURSOR_NONE, 0, 0, 0},
38004{ SWIG_PY_INT, (char *)"CURSOR_ARROW", (long) wxCURSOR_ARROW, 0, 0, 0},
38005{ SWIG_PY_INT, (char *)"CURSOR_RIGHT_ARROW", (long) wxCURSOR_RIGHT_ARROW, 0, 0, 0},
38006{ SWIG_PY_INT, (char *)"CURSOR_BULLSEYE", (long) wxCURSOR_BULLSEYE, 0, 0, 0},
38007{ SWIG_PY_INT, (char *)"CURSOR_CHAR", (long) wxCURSOR_CHAR, 0, 0, 0},
38008{ SWIG_PY_INT, (char *)"CURSOR_CROSS", (long) wxCURSOR_CROSS, 0, 0, 0},
38009{ SWIG_PY_INT, (char *)"CURSOR_HAND", (long) wxCURSOR_HAND, 0, 0, 0},
38010{ SWIG_PY_INT, (char *)"CURSOR_IBEAM", (long) wxCURSOR_IBEAM, 0, 0, 0},
38011{ SWIG_PY_INT, (char *)"CURSOR_LEFT_BUTTON", (long) wxCURSOR_LEFT_BUTTON, 0, 0, 0},
38012{ SWIG_PY_INT, (char *)"CURSOR_MAGNIFIER", (long) wxCURSOR_MAGNIFIER, 0, 0, 0},
38013{ SWIG_PY_INT, (char *)"CURSOR_MIDDLE_BUTTON", (long) wxCURSOR_MIDDLE_BUTTON, 0, 0, 0},
38014{ SWIG_PY_INT, (char *)"CURSOR_NO_ENTRY", (long) wxCURSOR_NO_ENTRY, 0, 0, 0},
38015{ SWIG_PY_INT, (char *)"CURSOR_PAINT_BRUSH", (long) wxCURSOR_PAINT_BRUSH, 0, 0, 0},
38016{ SWIG_PY_INT, (char *)"CURSOR_PENCIL", (long) wxCURSOR_PENCIL, 0, 0, 0},
38017{ SWIG_PY_INT, (char *)"CURSOR_POINT_LEFT", (long) wxCURSOR_POINT_LEFT, 0, 0, 0},
38018{ SWIG_PY_INT, (char *)"CURSOR_POINT_RIGHT", (long) wxCURSOR_POINT_RIGHT, 0, 0, 0},
38019{ SWIG_PY_INT, (char *)"CURSOR_QUESTION_ARROW", (long) wxCURSOR_QUESTION_ARROW, 0, 0, 0},
38020{ SWIG_PY_INT, (char *)"CURSOR_RIGHT_BUTTON", (long) wxCURSOR_RIGHT_BUTTON, 0, 0, 0},
38021{ SWIG_PY_INT, (char *)"CURSOR_SIZENESW", (long) wxCURSOR_SIZENESW, 0, 0, 0},
38022{ SWIG_PY_INT, (char *)"CURSOR_SIZENS", (long) wxCURSOR_SIZENS, 0, 0, 0},
38023{ SWIG_PY_INT, (char *)"CURSOR_SIZENWSE", (long) wxCURSOR_SIZENWSE, 0, 0, 0},
38024{ SWIG_PY_INT, (char *)"CURSOR_SIZEWE", (long) wxCURSOR_SIZEWE, 0, 0, 0},
38025{ SWIG_PY_INT, (char *)"CURSOR_SIZING", (long) wxCURSOR_SIZING, 0, 0, 0},
38026{ SWIG_PY_INT, (char *)"CURSOR_SPRAYCAN", (long) wxCURSOR_SPRAYCAN, 0, 0, 0},
38027{ SWIG_PY_INT, (char *)"CURSOR_WAIT", (long) wxCURSOR_WAIT, 0, 0, 0},
38028{ SWIG_PY_INT, (char *)"CURSOR_WATCH", (long) wxCURSOR_WATCH, 0, 0, 0},
38029{ SWIG_PY_INT, (char *)"CURSOR_BLANK", (long) wxCURSOR_BLANK, 0, 0, 0},
38030{ SWIG_PY_INT, (char *)"CURSOR_DEFAULT", (long) wxCURSOR_DEFAULT, 0, 0, 0},
38031{ SWIG_PY_INT, (char *)"CURSOR_COPY_ARROW", (long) wxCURSOR_COPY_ARROW, 0, 0, 0},
38032{ SWIG_PY_INT, (char *)"CURSOR_ARROWWAIT", (long) wxCURSOR_ARROWWAIT, 0, 0, 0},
38033{ SWIG_PY_INT, (char *)"CURSOR_MAX", (long) wxCURSOR_MAX, 0, 0, 0},
38034{ SWIG_PY_INT, (char *)"FromStart", (long) wxFromStart, 0, 0, 0},
38035{ SWIG_PY_INT, (char *)"FromCurrent", (long) wxFromCurrent, 0, 0, 0},
38036{ SWIG_PY_INT, (char *)"FromEnd", (long) wxFromEnd, 0, 0, 0},
38037{ SWIG_PY_INT, (char *)"IMAGE_RESOLUTION_INCHES", (long) wxIMAGE_RESOLUTION_INCHES, 0, 0, 0},
38038{ SWIG_PY_INT, (char *)"IMAGE_RESOLUTION_CM", (long) wxIMAGE_RESOLUTION_CM, 0, 0, 0},
38039{ SWIG_PY_INT, (char *)"BMP_24BPP", (long) wxBMP_24BPP, 0, 0, 0},
38040{ SWIG_PY_INT, (char *)"BMP_8BPP", (long) wxBMP_8BPP, 0, 0, 0},
38041{ SWIG_PY_INT, (char *)"BMP_8BPP_GREY", (long) wxBMP_8BPP_GREY, 0, 0, 0},
38042{ SWIG_PY_INT, (char *)"BMP_8BPP_GRAY", (long) wxBMP_8BPP_GRAY, 0, 0, 0},
38043{ SWIG_PY_INT, (char *)"BMP_8BPP_RED", (long) wxBMP_8BPP_RED, 0, 0, 0},
38044{ SWIG_PY_INT, (char *)"BMP_8BPP_PALETTE", (long) wxBMP_8BPP_PALETTE, 0, 0, 0},
38045{ SWIG_PY_INT, (char *)"BMP_4BPP", (long) wxBMP_4BPP, 0, 0, 0},
38046{ SWIG_PY_INT, (char *)"BMP_1BPP", (long) wxBMP_1BPP, 0, 0, 0},
38047{ SWIG_PY_INT, (char *)"BMP_1BPP_BW", (long) wxBMP_1BPP_BW, 0, 0, 0},
38048{ SWIG_PY_INT, (char *)"EVENT_PROPAGATE_NONE", (long) wxEVENT_PROPAGATE_NONE, 0, 0, 0},
38049{ SWIG_PY_INT, (char *)"EVENT_PROPAGATE_MAX", (long) wxEVENT_PROPAGATE_MAX, 0, 0, 0},
38050{ SWIG_PY_INT, (char *)"wxEVT_NULL", (long) wxEVT_NULL, 0, 0, 0},
38051{ SWIG_PY_INT, (char *)"wxEVT_FIRST", (long) wxEVT_FIRST, 0, 0, 0},
38052{ SWIG_PY_INT, (char *)"wxEVT_USER_FIRST", (long) wxEVT_USER_FIRST, 0, 0, 0},
38053{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_BUTTON_CLICKED", (long) wxEVT_COMMAND_BUTTON_CLICKED, 0, 0, 0},
38054{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_CHECKBOX_CLICKED", (long) wxEVT_COMMAND_CHECKBOX_CLICKED, 0, 0, 0},
38055{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_CHOICE_SELECTED", (long) wxEVT_COMMAND_CHOICE_SELECTED, 0, 0, 0},
38056{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOX_SELECTED", (long) wxEVT_COMMAND_LISTBOX_SELECTED, 0, 0, 0},
38057{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", (long) wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, 0, 0, 0},
38058{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", (long) wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, 0, 0, 0},
38059{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_MENU_SELECTED", (long) wxEVT_COMMAND_MENU_SELECTED, 0, 0, 0},
38060{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOOL_CLICKED", (long) wxEVT_COMMAND_TOOL_CLICKED, 0, 0, 0},
38061{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SLIDER_UPDATED", (long) wxEVT_COMMAND_SLIDER_UPDATED, 0, 0, 0},
38062{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_RADIOBOX_SELECTED", (long) wxEVT_COMMAND_RADIOBOX_SELECTED, 0, 0, 0},
38063{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_RADIOBUTTON_SELECTED", (long) wxEVT_COMMAND_RADIOBUTTON_SELECTED, 0, 0, 0},
38064{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SCROLLBAR_UPDATED", (long) wxEVT_COMMAND_SCROLLBAR_UPDATED, 0, 0, 0},
38065{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_VLBOX_SELECTED", (long) wxEVT_COMMAND_VLBOX_SELECTED, 0, 0, 0},
38066{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_COMBOBOX_SELECTED", (long) wxEVT_COMMAND_COMBOBOX_SELECTED, 0, 0, 0},
38067{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOOL_RCLICKED", (long) wxEVT_COMMAND_TOOL_RCLICKED, 0, 0, 0},
38068{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOOL_ENTER", (long) wxEVT_COMMAND_TOOL_ENTER, 0, 0, 0},
38069{ SWIG_PY_INT, (char *)"wxEVT_LEFT_DOWN", (long) wxEVT_LEFT_DOWN, 0, 0, 0},
38070{ SWIG_PY_INT, (char *)"wxEVT_LEFT_UP", (long) wxEVT_LEFT_UP, 0, 0, 0},
38071{ SWIG_PY_INT, (char *)"wxEVT_MIDDLE_DOWN", (long) wxEVT_MIDDLE_DOWN, 0, 0, 0},
38072{ SWIG_PY_INT, (char *)"wxEVT_MIDDLE_UP", (long) wxEVT_MIDDLE_UP, 0, 0, 0},
38073{ SWIG_PY_INT, (char *)"wxEVT_RIGHT_DOWN", (long) wxEVT_RIGHT_DOWN, 0, 0, 0},
38074{ SWIG_PY_INT, (char *)"wxEVT_RIGHT_UP", (long) wxEVT_RIGHT_UP, 0, 0, 0},
38075{ SWIG_PY_INT, (char *)"wxEVT_MOTION", (long) wxEVT_MOTION, 0, 0, 0},
38076{ SWIG_PY_INT, (char *)"wxEVT_ENTER_WINDOW", (long) wxEVT_ENTER_WINDOW, 0, 0, 0},
38077{ SWIG_PY_INT, (char *)"wxEVT_LEAVE_WINDOW", (long) wxEVT_LEAVE_WINDOW, 0, 0, 0},
38078{ SWIG_PY_INT, (char *)"wxEVT_LEFT_DCLICK", (long) wxEVT_LEFT_DCLICK, 0, 0, 0},
38079{ SWIG_PY_INT, (char *)"wxEVT_MIDDLE_DCLICK", (long) wxEVT_MIDDLE_DCLICK, 0, 0, 0},
38080{ SWIG_PY_INT, (char *)"wxEVT_RIGHT_DCLICK", (long) wxEVT_RIGHT_DCLICK, 0, 0, 0},
38081{ SWIG_PY_INT, (char *)"wxEVT_SET_FOCUS", (long) wxEVT_SET_FOCUS, 0, 0, 0},
38082{ SWIG_PY_INT, (char *)"wxEVT_KILL_FOCUS", (long) wxEVT_KILL_FOCUS, 0, 0, 0},
38083{ SWIG_PY_INT, (char *)"wxEVT_CHILD_FOCUS", (long) wxEVT_CHILD_FOCUS, 0, 0, 0},
38084{ SWIG_PY_INT, (char *)"wxEVT_MOUSEWHEEL", (long) wxEVT_MOUSEWHEEL, 0, 0, 0},
38085{ SWIG_PY_INT, (char *)"wxEVT_NC_LEFT_DOWN", (long) wxEVT_NC_LEFT_DOWN, 0, 0, 0},
38086{ SWIG_PY_INT, (char *)"wxEVT_NC_LEFT_UP", (long) wxEVT_NC_LEFT_UP, 0, 0, 0},
38087{ SWIG_PY_INT, (char *)"wxEVT_NC_MIDDLE_DOWN", (long) wxEVT_NC_MIDDLE_DOWN, 0, 0, 0},
38088{ SWIG_PY_INT, (char *)"wxEVT_NC_MIDDLE_UP", (long) wxEVT_NC_MIDDLE_UP, 0, 0, 0},
38089{ SWIG_PY_INT, (char *)"wxEVT_NC_RIGHT_DOWN", (long) wxEVT_NC_RIGHT_DOWN, 0, 0, 0},
38090{ SWIG_PY_INT, (char *)"wxEVT_NC_RIGHT_UP", (long) wxEVT_NC_RIGHT_UP, 0, 0, 0},
38091{ SWIG_PY_INT, (char *)"wxEVT_NC_MOTION", (long) wxEVT_NC_MOTION, 0, 0, 0},
38092{ SWIG_PY_INT, (char *)"wxEVT_NC_ENTER_WINDOW", (long) wxEVT_NC_ENTER_WINDOW, 0, 0, 0},
38093{ SWIG_PY_INT, (char *)"wxEVT_NC_LEAVE_WINDOW", (long) wxEVT_NC_LEAVE_WINDOW, 0, 0, 0},
38094{ SWIG_PY_INT, (char *)"wxEVT_NC_LEFT_DCLICK", (long) wxEVT_NC_LEFT_DCLICK, 0, 0, 0},
38095{ SWIG_PY_INT, (char *)"wxEVT_NC_MIDDLE_DCLICK", (long) wxEVT_NC_MIDDLE_DCLICK, 0, 0, 0},
38096{ SWIG_PY_INT, (char *)"wxEVT_NC_RIGHT_DCLICK", (long) wxEVT_NC_RIGHT_DCLICK, 0, 0, 0},
38097{ SWIG_PY_INT, (char *)"wxEVT_CHAR", (long) wxEVT_CHAR, 0, 0, 0},
38098{ SWIG_PY_INT, (char *)"wxEVT_CHAR_HOOK", (long) wxEVT_CHAR_HOOK, 0, 0, 0},
38099{ SWIG_PY_INT, (char *)"wxEVT_NAVIGATION_KEY", (long) wxEVT_NAVIGATION_KEY, 0, 0, 0},
38100{ SWIG_PY_INT, (char *)"wxEVT_KEY_DOWN", (long) wxEVT_KEY_DOWN, 0, 0, 0},
38101{ SWIG_PY_INT, (char *)"wxEVT_KEY_UP", (long) wxEVT_KEY_UP, 0, 0, 0},
38102{ SWIG_PY_INT, (char *)"wxEVT_HOTKEY", (long) wxEVT_HOTKEY, 0, 0, 0},
38103{ SWIG_PY_INT, (char *)"wxEVT_SET_CURSOR", (long) wxEVT_SET_CURSOR, 0, 0, 0},
38104{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_TOP", (long) wxEVT_SCROLL_TOP, 0, 0, 0},
38105{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_BOTTOM", (long) wxEVT_SCROLL_BOTTOM, 0, 0, 0},
38106{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_LINEUP", (long) wxEVT_SCROLL_LINEUP, 0, 0, 0},
38107{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_LINEDOWN", (long) wxEVT_SCROLL_LINEDOWN, 0, 0, 0},
38108{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_PAGEUP", (long) wxEVT_SCROLL_PAGEUP, 0, 0, 0},
38109{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_PAGEDOWN", (long) wxEVT_SCROLL_PAGEDOWN, 0, 0, 0},
38110{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_THUMBTRACK", (long) wxEVT_SCROLL_THUMBTRACK, 0, 0, 0},
38111{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_THUMBRELEASE", (long) wxEVT_SCROLL_THUMBRELEASE, 0, 0, 0},
38112{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_ENDSCROLL", (long) wxEVT_SCROLL_ENDSCROLL, 0, 0, 0},
38113{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_TOP", (long) wxEVT_SCROLLWIN_TOP, 0, 0, 0},
38114{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_BOTTOM", (long) wxEVT_SCROLLWIN_BOTTOM, 0, 0, 0},
38115{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_LINEUP", (long) wxEVT_SCROLLWIN_LINEUP, 0, 0, 0},
38116{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_LINEDOWN", (long) wxEVT_SCROLLWIN_LINEDOWN, 0, 0, 0},
38117{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_PAGEUP", (long) wxEVT_SCROLLWIN_PAGEUP, 0, 0, 0},
38118{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_PAGEDOWN", (long) wxEVT_SCROLLWIN_PAGEDOWN, 0, 0, 0},
38119{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_THUMBTRACK", (long) wxEVT_SCROLLWIN_THUMBTRACK, 0, 0, 0},
38120{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_THUMBRELEASE", (long) wxEVT_SCROLLWIN_THUMBRELEASE, 0, 0, 0},
38121{ SWIG_PY_INT, (char *)"wxEVT_SIZE", (long) wxEVT_SIZE, 0, 0, 0},
38122{ SWIG_PY_INT, (char *)"wxEVT_MOVE", (long) wxEVT_MOVE, 0, 0, 0},
38123{ SWIG_PY_INT, (char *)"wxEVT_CLOSE_WINDOW", (long) wxEVT_CLOSE_WINDOW, 0, 0, 0},
38124{ SWIG_PY_INT, (char *)"wxEVT_END_SESSION", (long) wxEVT_END_SESSION, 0, 0, 0},
38125{ SWIG_PY_INT, (char *)"wxEVT_QUERY_END_SESSION", (long) wxEVT_QUERY_END_SESSION, 0, 0, 0},
38126{ SWIG_PY_INT, (char *)"wxEVT_ACTIVATE_APP", (long) wxEVT_ACTIVATE_APP, 0, 0, 0},
38127{ SWIG_PY_INT, (char *)"wxEVT_POWER", (long) wxEVT_POWER, 0, 0, 0},
38128{ SWIG_PY_INT, (char *)"wxEVT_ACTIVATE", (long) wxEVT_ACTIVATE, 0, 0, 0},
38129{ SWIG_PY_INT, (char *)"wxEVT_CREATE", (long) wxEVT_CREATE, 0, 0, 0},
38130{ SWIG_PY_INT, (char *)"wxEVT_DESTROY", (long) wxEVT_DESTROY, 0, 0, 0},
38131{ SWIG_PY_INT, (char *)"wxEVT_SHOW", (long) wxEVT_SHOW, 0, 0, 0},
38132{ SWIG_PY_INT, (char *)"wxEVT_ICONIZE", (long) wxEVT_ICONIZE, 0, 0, 0},
38133{ SWIG_PY_INT, (char *)"wxEVT_MAXIMIZE", (long) wxEVT_MAXIMIZE, 0, 0, 0},
38134{ SWIG_PY_INT, (char *)"wxEVT_MOUSE_CAPTURE_CHANGED", (long) wxEVT_MOUSE_CAPTURE_CHANGED, 0, 0, 0},
38135{ SWIG_PY_INT, (char *)"wxEVT_PAINT", (long) wxEVT_PAINT, 0, 0, 0},
38136{ SWIG_PY_INT, (char *)"wxEVT_ERASE_BACKGROUND", (long) wxEVT_ERASE_BACKGROUND, 0, 0, 0},
38137{ SWIG_PY_INT, (char *)"wxEVT_NC_PAINT", (long) wxEVT_NC_PAINT, 0, 0, 0},
38138{ SWIG_PY_INT, (char *)"wxEVT_PAINT_ICON", (long) wxEVT_PAINT_ICON, 0, 0, 0},
38139{ SWIG_PY_INT, (char *)"wxEVT_MENU_OPEN", (long) wxEVT_MENU_OPEN, 0, 0, 0},
38140{ SWIG_PY_INT, (char *)"wxEVT_MENU_CLOSE", (long) wxEVT_MENU_CLOSE, 0, 0, 0},
38141{ SWIG_PY_INT, (char *)"wxEVT_MENU_HIGHLIGHT", (long) wxEVT_MENU_HIGHLIGHT, 0, 0, 0},
38142{ SWIG_PY_INT, (char *)"wxEVT_CONTEXT_MENU", (long) wxEVT_CONTEXT_MENU, 0, 0, 0},
38143{ SWIG_PY_INT, (char *)"wxEVT_SYS_COLOUR_CHANGED", (long) wxEVT_SYS_COLOUR_CHANGED, 0, 0, 0},
38144{ SWIG_PY_INT, (char *)"wxEVT_DISPLAY_CHANGED", (long) wxEVT_DISPLAY_CHANGED, 0, 0, 0},
38145{ SWIG_PY_INT, (char *)"wxEVT_SETTING_CHANGED", (long) wxEVT_SETTING_CHANGED, 0, 0, 0},
38146{ SWIG_PY_INT, (char *)"wxEVT_QUERY_NEW_PALETTE", (long) wxEVT_QUERY_NEW_PALETTE, 0, 0, 0},
38147{ SWIG_PY_INT, (char *)"wxEVT_PALETTE_CHANGED", (long) wxEVT_PALETTE_CHANGED, 0, 0, 0},
38148{ SWIG_PY_INT, (char *)"wxEVT_DROP_FILES", (long) wxEVT_DROP_FILES, 0, 0, 0},
38149{ SWIG_PY_INT, (char *)"wxEVT_DRAW_ITEM", (long) wxEVT_DRAW_ITEM, 0, 0, 0},
38150{ SWIG_PY_INT, (char *)"wxEVT_MEASURE_ITEM", (long) wxEVT_MEASURE_ITEM, 0, 0, 0},
38151{ SWIG_PY_INT, (char *)"wxEVT_COMPARE_ITEM", (long) wxEVT_COMPARE_ITEM, 0, 0, 0},
38152{ SWIG_PY_INT, (char *)"wxEVT_INIT_DIALOG", (long) wxEVT_INIT_DIALOG, 0, 0, 0},
38153{ SWIG_PY_INT, (char *)"wxEVT_IDLE", (long) wxEVT_IDLE, 0, 0, 0},
38154{ SWIG_PY_INT, (char *)"wxEVT_UPDATE_UI", (long) wxEVT_UPDATE_UI, 0, 0, 0},
38155{ SWIG_PY_INT, (char *)"wxEVT_SIZING", (long) wxEVT_SIZING, 0, 0, 0},
38156{ SWIG_PY_INT, (char *)"wxEVT_MOVING", (long) wxEVT_MOVING, 0, 0, 0},
38157{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LEFT_CLICK", (long) wxEVT_COMMAND_LEFT_CLICK, 0, 0, 0},
38158{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LEFT_DCLICK", (long) wxEVT_COMMAND_LEFT_DCLICK, 0, 0, 0},
38159{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_RIGHT_CLICK", (long) wxEVT_COMMAND_RIGHT_CLICK, 0, 0, 0},
38160{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_RIGHT_DCLICK", (long) wxEVT_COMMAND_RIGHT_DCLICK, 0, 0, 0},
38161{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SET_FOCUS", (long) wxEVT_COMMAND_SET_FOCUS, 0, 0, 0},
38162{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_KILL_FOCUS", (long) wxEVT_COMMAND_KILL_FOCUS, 0, 0, 0},
38163{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_ENTER", (long) wxEVT_COMMAND_ENTER, 0, 0, 0},
38164{ SWIG_PY_INT, (char *)"MOUSE_BTN_ANY", (long) wxMOUSE_BTN_ANY, 0, 0, 0},
38165{ SWIG_PY_INT, (char *)"MOUSE_BTN_NONE", (long) wxMOUSE_BTN_NONE, 0, 0, 0},
38166{ SWIG_PY_INT, (char *)"MOUSE_BTN_LEFT", (long) wxMOUSE_BTN_LEFT, 0, 0, 0},
38167{ SWIG_PY_INT, (char *)"MOUSE_BTN_MIDDLE", (long) wxMOUSE_BTN_MIDDLE, 0, 0, 0},
38168{ SWIG_PY_INT, (char *)"MOUSE_BTN_RIGHT", (long) wxMOUSE_BTN_RIGHT, 0, 0, 0},
38169{ SWIG_PY_INT, (char *)"UPDATE_UI_PROCESS_ALL", (long) wxUPDATE_UI_PROCESS_ALL, 0, 0, 0},
38170{ SWIG_PY_INT, (char *)"UPDATE_UI_PROCESS_SPECIFIED", (long) wxUPDATE_UI_PROCESS_SPECIFIED, 0, 0, 0},
38171{ SWIG_PY_INT, (char *)"IDLE_PROCESS_ALL", (long) wxIDLE_PROCESS_ALL, 0, 0, 0},
38172{ SWIG_PY_INT, (char *)"IDLE_PROCESS_SPECIFIED", (long) wxIDLE_PROCESS_SPECIFIED, 0, 0, 0},
38173{ SWIG_PY_INT, (char *)"PYAPP_ASSERT_SUPPRESS", (long) wxPYAPP_ASSERT_SUPPRESS, 0, 0, 0},
38174{ SWIG_PY_INT, (char *)"PYAPP_ASSERT_EXCEPTION", (long) wxPYAPP_ASSERT_EXCEPTION, 0, 0, 0},
38175{ SWIG_PY_INT, (char *)"PYAPP_ASSERT_DIALOG", (long) wxPYAPP_ASSERT_DIALOG, 0, 0, 0},
38176{ SWIG_PY_INT, (char *)"PYAPP_ASSERT_LOG", (long) wxPYAPP_ASSERT_LOG, 0, 0, 0},
38177{ SWIG_PY_INT, (char *)"PRINT_WINDOWS", (long) wxPRINT_WINDOWS, 0, 0, 0},
38178{ SWIG_PY_INT, (char *)"PRINT_POSTSCRIPT", (long) wxPRINT_POSTSCRIPT, 0, 0, 0},
38179{ SWIG_PY_INT, (char *)"FLEX_GROWMODE_NONE", (long) wxFLEX_GROWMODE_NONE, 0, 0, 0},
38180{ SWIG_PY_INT, (char *)"FLEX_GROWMODE_SPECIFIED", (long) wxFLEX_GROWMODE_SPECIFIED, 0, 0, 0},
38181{ SWIG_PY_INT, (char *)"FLEX_GROWMODE_ALL", (long) wxFLEX_GROWMODE_ALL, 0, 0, 0},
38182{ SWIG_PY_INT, (char *)"Left", (long) wxLeft, 0, 0, 0},
38183{ SWIG_PY_INT, (char *)"Top", (long) wxTop, 0, 0, 0},
38184{ SWIG_PY_INT, (char *)"Right", (long) wxRight, 0, 0, 0},
38185{ SWIG_PY_INT, (char *)"Bottom", (long) wxBottom, 0, 0, 0},
38186{ SWIG_PY_INT, (char *)"Width", (long) wxWidth, 0, 0, 0},
38187{ SWIG_PY_INT, (char *)"Height", (long) wxHeight, 0, 0, 0},
38188{ SWIG_PY_INT, (char *)"Centre", (long) wxCentre, 0, 0, 0},
38189{ SWIG_PY_INT, (char *)"Center", (long) wxCenter, 0, 0, 0},
38190{ SWIG_PY_INT, (char *)"CentreX", (long) wxCentreX, 0, 0, 0},
38191{ SWIG_PY_INT, (char *)"CentreY", (long) wxCentreY, 0, 0, 0},
38192{ SWIG_PY_INT, (char *)"Unconstrained", (long) wxUnconstrained, 0, 0, 0},
38193{ SWIG_PY_INT, (char *)"AsIs", (long) wxAsIs, 0, 0, 0},
38194{ SWIG_PY_INT, (char *)"PercentOf", (long) wxPercentOf, 0, 0, 0},
38195{ SWIG_PY_INT, (char *)"Above", (long) wxAbove, 0, 0, 0},
38196{ SWIG_PY_INT, (char *)"Below", (long) wxBelow, 0, 0, 0},
38197{ SWIG_PY_INT, (char *)"LeftOf", (long) wxLeftOf, 0, 0, 0},
38198{ SWIG_PY_INT, (char *)"RightOf", (long) wxRightOf, 0, 0, 0},
38199{ SWIG_PY_INT, (char *)"SameAs", (long) wxSameAs, 0, 0, 0},
38200{ SWIG_PY_INT, (char *)"Absolute", (long) wxAbsolute, 0, 0, 0},
38201{0}};
38202
38203#ifdef __cplusplus
38204}
38205#endif
38206
38207#ifdef __cplusplus
38208extern "C"
38209#endif
38210SWIGEXPORT(void) SWIG_init(void) {
38211 static PyObject *SWIG_globals = 0;
38212 static int typeinit = 0;
38213 PyObject *m, *d;
38214 int i;
38215 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
38216 m = Py_InitModule((char *) SWIG_name, SwigMethods);
38217 d = PyModule_GetDict(m);
38218
38219 if (!typeinit) {
38220 for (i = 0; swig_types_initial[i]; i++) {
38221 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
38222 }
38223 typeinit = 1;
38224 }
38225 SWIG_InstallConstants(d,swig_const_table);
38226
38227
38228#ifndef wxPyUSE_EXPORT
38229 // Make our API structure a CObject so other modules can import it
38230 // from this module.
38231 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
38232 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
38233 Py_XDECREF(cobj);
38234#endif
38235
38236 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
cbd72d4f 38237 SWIG_addvarlink(SWIG_globals,(char*)"EmptyString",_wrap_EmptyString_get, _wrap_EmptyString_set);
d14a1e28
RD
38238 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
38239 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
38240
38241 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
38242
38243
38244 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
38245
38246 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
38247 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
38248 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
38249 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
38250 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
38251 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
38252 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
38253 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
38254 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
38255 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
38256 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
38257 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
38258 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
38259 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
38260 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
38261 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
38262 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
38263 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
38264 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
38265 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
38266 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
38267 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
38268 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
38269 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
38270 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
38271 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
38272 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
38273 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
38274 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
38275 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
38276 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
38277 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
38278 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
38279 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
38280 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
38281 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
38282 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
38283 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
38284 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
38285 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
38286 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
38287 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
38288 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
38289 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
38290 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
38291 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
38292 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
38293 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
38294 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
38295 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
38296 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
38297 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
38298 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
38299 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
38300 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
38301 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
38302 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
38303 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
38304 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
38305 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
38306 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
38307 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
38308 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
38309 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
38310 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
38311 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
38312 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
38313 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
38314 PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
38315 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
38316 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
38317 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
38318 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
38319 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
38320 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
38321 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
38322 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
38323 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
38324 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
38325 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
38326 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
38327 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
38328 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
38329 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
38330 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
38331 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
38332 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
38333 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
38334 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
38335 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
38336 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
38337 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
38338 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
38339 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
38340 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
38341 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
38342 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
38343 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
38344 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
38345 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
38346 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
38347 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
38348 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
38349 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
38350 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
38351 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
38352 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
38353 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
38354 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
38355 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
38356 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
38357 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
38358 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
38359 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
38360 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
38361 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
38362 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
38363 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
38364 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
38365 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
41f1cec7 38366 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
423f194a 38367 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
d14a1e28 38368 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
cbd72d4f 38369 SWIG_addvarlink(SWIG_globals,(char*)"ControlNameStr",_wrap_ControlNameStr_get, _wrap_ControlNameStr_set);
d14a1e28
RD
38370 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
38371
38372 // Initialize threading, some globals and such
38373 __wxPyPreStart(d);
38374
38375
38376 // Although these are defined in __version__ they need to be here too so
38377 // that an assert can be done to ensure that the wxPython and the wxWindows
38378 // versions match.
38379 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
38380 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
38381 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
38382
38383}
38384